.firstview_slide{
	margin-bottom: 80px;
}

@media screen and (max-width: 767px){
	.firstview_slide{
		margin-bottom: 30px;
	}
}

.firstview_slide .swiper-slide a{
	display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.firstview_slide .swiper-slide a::before {
	content: "";
	display: block;
	padding-top: 75%;
}

.firstview_slide .swiper-slide a img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 50;
}

.firstview_slide-prev {
	display: inline-block;
	vertical-align: middle;
	color: #000;
	line-height: 1;
	position: relative;
	width: 40px;
	height: 40px;
	transform: translateX(25%) rotate(-135deg);
}

.firstview_slide-prev::before, .firstview_slide-prev::after {
  content: '';
  position: absolute;
  background: #000;
  border-radius: 0.1em;
}

.firstview_slide-prev::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

.firstview_slide-prev::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

@media screen and (max-width: 767px){
	#news{
		padding-bottom: 30px;
	}
}

h2{
	font-family: "Bungee Shade";
	font-weight: 400;
	color: #fff;
	font-display: swap;
	text-align: center;
	font-size: 4rem;
	margin-bottom: 60px;
}

@media screen and (max-width: 767px){
	h2{
		font-size: 3.2rem;
		margin-bottom: 20px;
	}
}

h2 span{
	font-size: 1.3rem;
	font-family: "M PLUS 1 B";
	font-weight: normal;
	display: block;
	margin: 5px 0;
}

#news{
	padding-bottom: 50px;
}

#story h4{
	font-family: 'M PLUS 1 B';
	color: #fff;
	padding: 0.3em 1em;
	position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
    width: 100px;
}

#story h4::before{
    transform: skewX(-15deg);
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    z-index: -1;
    background-color:var(--font-color);
}

#story p{
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 1em;
}


.story_map img{
	max-width: 392px;
	width: 100%;
	margin: 1.5em auto;
	animation: anime_map 0.5s ease 0s infinite alternate;
	transform-origin:center;
}

@keyframes anime_map {
  from {
    transform: scale(0.95,0.95);
  }
  to {
    transform: scale(1,1);
  }
}

#story{
	background-color: #f15a24;
	padding: 0 0 100px;
	position: relative;
	z-index: 10;
}

@media(max-width:820px) {
	#story{
		padding: 0 0 160px;
	}
}

@media(max-width:599px) {
	#story{
		padding: 0 0 220px;
	}
}

#story::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 700px;
	background-image: url("../img/story_bg.webp");
	background-position: top;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: -1;
}

@media screen and (max-width: 767px){
	#story::before{
		height: 40%;
	}
}

#story::after{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	background-image: url("../img/noise.webp");
}

#story h2{
	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,8,30,.8) 80%);
	padding: 130px 10px 50px;
	margin-bottom: 100px;
}

#story > .law{
	margin-bottom: 50px;
}

.story_text{
	background-color: #fff;
	position: relative;
	border-radius: 10px;
	padding: 130px 20px 20px;
	width: min(850px, 100%);
	margin: 0 auto;
	z-index: 10;
}

@media screen and (max-width: 767px){
	.story_text{
		padding: 100px 13px 30px;
	}
}

@media screen and (max-width: 599px){
	.story_text{
		padding: 80px 13px 30px;
	}
}

.story_text > div{
	width: min(700px, 100%);
	margin: 0 auto;
}

.story_text section{
	display: flex;
	justify-content: space-around;
	flex-direction: row;
	margin-bottom: 30px;
}

@media screen and (max-width: 767px){
	.story_text section{
		flex-direction: column;
		margin-bottom: 20px;
	}
}

.story_text section div:first-of-type{
	width: 110px;
}

.story_text section div:nth-of-type(2){
	width: calc(100% - 150px);
}

@media screen and (max-width: 767px){
	.story_text section div:first-of-type,
	.story_text section div:nth-of-type(2){
		width: 100%;
	}
	
	.story_text section div:first-of-type{
		margin-bottom: 20px;
	}
}

.story_map{
	position: absolute;
    top: -140px;
    right: 0;
    left: 0;
    margin: 0 auto;
}

@media screen and (max-width: 767px){
	.story_map{
		width: 90%;
	}
}

#gallery{
	background-image: url("../img/gallery_bg.webp");
	background-repeat: no-repeat;
	background-position: center 40%;
	padding: 80px 0 60px;
}

@media screen and (max-width: 767px){
	#gallery{
		padding: 30px 0 30px;
	}
}

#gallery .swiper-wrapper {
	transition-timing-function: linear;
	margin-bottom: 30px;
}

#gallery .swiper-wrapper img{
	height: auto;
	width: 100%;
}

@media screen and (max-width: 767px){
	#gallery .slide img{
		max-height: 170px;
	}
}

.gallery_img{
	position: relative;
	width: 100%;
	overflow: hidden;
}

.gallery_img::before {
	content: "";
	display: block;
	padding-top: 70%;
}

.gallery_img img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#menu{
	
	background-image: url(../img/menu_bg.webp);
	background-size: cover;
    background-repeat: repeat-x;
    position: relative;
    background-attachment: fixed;
    z-index: 50;
    overflow: hidden;
	padding-top: 80px;
    padding-bottom: 70px;
}

@media(max-width:1180px) {

	#menu{
		background-size: cover;
		background-attachment: inherit;
	    padding-top: 60px;
		padding-bottom: 30px;
	}
}

#menu::before{
	content: '';
	width: 100%;
	height: 100%;
	background-image: url("../img/menu_bgimage.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: absolute;
	z-index: -1;
}

#menu .card_wrapper{
	padding-bottom: 150px;
	justify-content: space-around;
}

@media screen and (max-width: 767px){

	#menu::before{
		background-repeat: repeat-y;
		background-size: contain;
	}

	#menu .card_wrapper{
		padding-bottom: 0;
	}
}

#menu h4{
	font-family: 'M PLUS 1 B';
	padding-bottom: 0.7em;
	margin-bottom: 0.7em;
	border-bottom: 1px solid #cda35f;
	overflow: hidden;
	font-size: 1.6rem;
	padding-right: 0.3em;
    padding-left: 0.3em;
}

#menu .card a{
	position: relative;
	display:block;
}

.card a div.sup-wrapper{
	background: none;
	position: absolute;
	top: 0;
    right: -2em;
	min-height: inherit;
	height: 0;
	transform-origin:left top;
}

.card a div.sup-wrapper sup{
	color: #fff;
	display: flex;
	white-space: nowrap;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
}

@media screen and (max-width: 1180px){
	.card a div.sup-wrapper{
		display: none;
	}
}

#access{
	background-color: #e59900;
	position: relative;
	z-index: 50;
	padding-bottom: 100px;
	padding-top: 100px;
}

#access::before,
#access::after{
	content: '';
	display: inline-block;
	width: min(38%, 537px);
	height: min(100%, 1036px);
	position: absolute;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}

@media screen and (max-width: 767px){

	#access{
		padding-bottom: 50px;
		padding-top: 50px;
	}
	
	#access::before,
	#access::after{
		opacity: 0.4;
	}
}

#access::before{
	left: 0;
	bottom: 0;
	background-image: url("../img/access_bgimage01.webp");
}

#access::after{
	right: 0;
	top: 0;
	background-image: url("../img/access_bgimage02.webp");
}

#access h2{
	color: var(--font-color);
}

.accessinfo{
	background-color: #fff;
	border-radius: 10px;
	padding: 20px 20px 20px 30px;
}

#instagram{
	z-index: 50;
	padding-top: 80px;
	padding-bottom: 50px;
}

#instagram h2 img:first-of-type{
	margin-bottom: 12px;
}

#goods .card{
	text-align: center;
}

#goods h4{
	font-family: 'M PLUS 1 B';
	font-size: 1.8rem;
	margin-bottom: 1em;
}

@media screen and (max-width: 767px){
	#goods h4{
		font-size: 1.6rem;
	}
}
.price{
	margin-top: 1em;
	font-weight: 700;
}

.price span{
	font-size: 80%;
}

#goods{
	position: relative;
	z-index: 50;
	padding-top: 80px;
}

.owners_comment{
	position: relative;
	z-index: 30;
}

.owner{
	width: 70%;
	height: 560px;
	border-radius: 0 10px 10px 0;
	overflow: hidden;
}

@media(max-width:820px) {
	.owner{
		width: 90%;
		height: 300px;
	}
}

.owner img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.comment{
	background-color: #fff;
	border-radius: 10px;
	width: min(600px, 100%);
	position: absolute;
	top: 55%;
	left: 50%;
	padding: 80px 30px 20px;
}

@media(max-width:1300px) {
	.comment{
		left: 40%;
	}
}

@media(max-width:1100px) {
	.comment{
		left: 30%;
	}
}

@media(max-width:950px) {
	.comment{
		left: 20%;
	}
}

@media(max-width:820px) {
	.comment{
		left: 20px;
		width: calc(100% - 40px);
	}
}

.alignright{
	text-align: right;
}

.comment::before{
	content: '';
	width: 300px;
	height: 97px;
	background-image: url("../img/owbers_heading.webp");
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	position: absolute;
	top: -13%;
	right: 20px;
}

@media(max-width:599px) {
	.comment::before{
		width: 230px;
		height: 75px;
		top: -5%;
	}
}

.accessinfo + .card_wrapper{justify-content:space-around;}