@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600&display=swap');
body{margin: 0px !important;}
h1,h2,h3,h4,h5,h6{margin: 0;}
ul {
    display: block;
    list-stslideyle-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}
*{
    min-height: 0;
    min-width : 0;
}

#by{
	width: 100%;
	position: relative;
    margin: 0 auto;
    box-sizing: border-box;  
    font-family: helvetica-lt-pro, sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 11px;
	color: #49342B;
	line-height: 2.0; 
	letter-spacing: 1px;
}
#by a {
	text-decoration: none;
	color: #49342B;
}
#by p {
    margin: 0;
}
#by a:hover {
	opacity: 1;
}
#by .clear{
	clear: both;
}
#by img{
    width: 100%;
    line-height: 0 !important;
}
#by ul,#by li {
	list-style: none;
	padding: 0;
	margin: 0;
}


/*  #main_visual
**************************************************/
#by #ttl {
    width: 92%;
    top: 4%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 99;
	position: sticky;
}
#by #ttl {
	pointer-events: none;
	transition: opacity .8s ease;
}
#by #ttl img {
	transition: opacity .6s ease;
}
#by #ttl .ttl2 {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}
#by #ttl.is-dark img:not(.ttl2) {
	opacity: 0;
}
#by #ttl.is-dark .ttl2 {
	opacity: 1;
}
#by #ttl.is-hidden {
	opacity: 0;
}
#by #by_header {
	width: 100%;
	position: relative;
	margin: -117px 0 0;
}
#by #by_header .logo {
	position: absolute;
	width: 40%;
	margin: 0 auto;
	bottom: 7%;
	left: 0;
	right: 0;
}


@media only screen and (min-width: 769px)  {
	#by::before {
		content: "";
		position: fixed;
		inset: 0;
		z-index: -1;
		background: url(../img/back.jpg) center center / cover no-repeat;
		pointer-events: none;
	}
	#by #by_header {
		width: 64%;
		max-width: 810px;
		background: #fff;
		margin: -30vw auto 0;
	}
	#by #ttl {
		width: 56%;
		max-width: 780px;
	}
}

/*  contents
**************************************************/
#by #contents {
	
}
#by #contents section {
	width: 100%;
	margin: 0;
	overflow: clip;
}
#by #contents section .pic {
	position: relative;
	line-height: 0;
}
#by #contents section .more {
	position: absolute;
    width: 36px;
    top: 3%;
    right: 3%;
}
#by #contents section .credit {
	font-size: 8px;
    line-height: 1.4;
    letter-spacing: .4px;
}
@media only screen and (min-width: 769px)  {
	#by #contents {
		width: 64%;
		max-width: 810px;
		background: #fff;
		margin: 0 auto;
	}
}
/* change
**************************************************/
#by .change {
	height: 170vh;
}
#by .change__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
#by .change__frame {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	width: min(100%, calc((100vh - var(--ttl-h, 30vw) - 32px) * 2 / 3));
}
#by .change__frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#by .change__frame .next {
	opacity: 0;
	will-change: opacity;
	transition: opacity 2s ease;
}
 

@media (prefers-reduced-motion: reduce) {
	#by .change { height: auto; }
	#by .change__stage { position: static; height: auto; display: block; padding-top: 0; }
	#by .change__frame { width: 100%; aspect-ratio: auto; overflow: visible; }
	#by .change__frame img { position: static; height: auto; }
	#by .change__frame .next { opacity: 1; margin-top: 4%; transition: none; }
}


@media only screen and (min-width: 769px)  {
	#by #contents section .flex {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#by #contents section .more {
		width: 46px;
		top: 14px;
        right: 14px;
	}
	#by #contents section .credit {
		font-size: 9px;
    }
}

/* 1
**************************************************/
#by #contents section:nth-of-type(1) {
    padding-top: 20%;
}
#by #contents section:nth-of-type(1) .pic:nth-of-type(1) {
    width: 70%;
	margin: 0 auto;
}
#by #contents section:nth-of-type(1) .pic:nth-of-type(1) .change__frame {
    width: 70%;
	margin: 0 auto;
	border: solid 1px #49342b;
}
#by #contents section:nth-of-type(1) .pic:nth-of-type(2) {
    width: 82%;
    margin: 12% auto 0;
}
#by #contents section:nth-of-type(1) .credit {
	position: relative;
    width: 65%;
    margin: 3% 0 0 9%;
}

@media only screen and (min-width: 769px)  {
	#by #contents section:nth-of-type(1) {
		padding-top: 140px;
	}
	#by #contents section:nth-of-type(1) .flex {
		width: 94%;
		max-width: 1200px;
		margin: 0 auto;
	}
	#by #contents section:nth-of-type(1) .flex .pic:nth-of-type(1) {
		width: 36%;
		margin: 0;
	}
	#by #contents section:nth-of-type(1) .flex .pic:nth-of-type(2) {
		width: 50%;
		margin: 0;
	}
	#by #contents section:nth-of-type(1) .text-1 {
		width: 40%;
		margin: 110px auto 0;
		max-width: 400px;
	}
}

/* 2
**************************************************/
#by #contents section:nth-of-type(2) {
	position: relative;
	margin: 18% 0 0 0;
}
#by #contents section:nth-of-type(2) .pic:nth-of-type(1) {
    width: 76%;
    border: solid 1px #49342b;
    margin: 0 auto 0 -1px;
}
#by #contents section:nth-of-type(2) .pic:nth-of-type(2) {
	position: absolute;
    width: 60%;
    top: 38%;
    right: 4%;
}


@media only screen and (min-width: 769px)  {
	#by #contents section:nth-of-type(2) {
		margin-top: 180px;
	}
	#by #contents section:nth-of-type(2) .pic:nth-of-type(1) {
		width: 60%;
	}
	#by #contents section:nth-of-type(2) .pic:nth-of-type(2) {
		width: 30%;
		margin: 80px auto 0;
	}
	
}


/* 3
**************************************************/
#by #contents section:nth-of-type(3) {
    
}
#by #contents section:nth-of-type(3) .pic:nth-of-type(1) {
    width: 92%;
	margin: 0 0 0 auto;
}
#by #contents section:nth-of-type(3) .pic:nth-of-type(2) {
    width: 62%;
    margin: 0% auto 0;
}
#by #contents section:nth-of-type(3) .credit {
    width: 62%;
    margin: 3% auto 0;
}

@media only screen and (min-width: 769px)  {
	#by #contents section:nth-of-type(3) {
		padding-top: 340px;
	}
	#by #contents section:nth-of-type(3) .flex {
		width: 99%;
        max-width: 1400px;
        margin: 0 auto;
	}
	#by #contents section:nth-of-type(3) .flex .pic:nth-of-type(1) {
        width: 36%;
    }
	#by #contents section:nth-of-type(3) .flex .pic:nth-of-type(2) {
		width: 55%;
		margin: 0 2% 0 0;
	}
}


/* 4
**************************************************/
#by #contents section:nth-of-type(4) {
    
}
#by #contents section:nth-of-type(4) .flex {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 22% auto 12%;
}
#by #contents section:nth-of-type(4) .flex .pic {
	width: 49.8%;
	margin: 0;
}
#by #contents section:nth-of-type(4) .pic {
	position: relative;
}
#by #contents section:nth-of-type(4) .pic .credit {
	position: absolute;
    color: #fff;
    text-align: right;
    right: 3%;
    bottom: 4%;
}

@media only screen and (min-width: 769px)  {
	
}

/* 5
**************************************************/
#by #contents section:nth-of-type(5) {
    
}
#by #contents section:nth-of-type(5) .flex {
	width: 78%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 22% auto 12%;
}
#by #contents section:nth-of-type(5) .flex .pic {
	width: 47.5%;
	margin: 0;
	border: solid 1px #49342b;
}

@media only screen and (min-width: 769px)  {
	
}


/* 6
**************************************************/
#by #contents section:nth-of-type(6) {
    margin: 23% 0 30%;
}
#by #contents section:nth-of-type(6) .pic {
    width: 94%;
	margin: 0 auto;
	position: relative;
}
#by #contents section:nth-of-type(6) .pic .credit {
	position: absolute;
    width: 79%;
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: 2%;
}
#by #contents section:nth-of-type(6) .flex {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 22% auto 3%;
}
#by #contents section:nth-of-type(6) .flex .pic {
	width: 49%;
	margin: 0;
}
#by #contents section:nth-of-type(6) .text-2 {
	width: 80%;
    margin: 0 auto 0 3%;
}

@media only screen and (min-width: 769px)  {
	#by #contents section:nth-of-type(6) {
		margin: 23% 0px 0;
        padding-bottom: 200px;
	}
}


/* #footer
**************************************************/
#by #footer {
	color: #fff;
	background: #49342B;
	padding: 28% 0 1%;
	position: relative;
}
#by #footer .logo {
	width: 60%;
	margin: 0 auto;
}
#by #footer .links {
	width: 52%;
    margin: 2% auto 17%;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}
#by #footer .links a {
	color: #fff;
}
#by #footer .copy {
	font-size: 8px;
	text-align: center;
}

@media only screen and (min-width: 769px)  {
	#by #footer {
		width: 64%;
        max-width: 810px;
        margin: 0 auto;
        padding: 200px 0 10px;
	}
	#by #footer .logo {
		width: 36%;
	}
	#by #footer .links {
		width: 30%;
        max-width: 200px;
        margin: 20px auto 140px;
        font-size: 11px;
	}
}


/* js
**************************************************/
#by .anim {
	opacity: 0;
	transition: 1s all 0s;
}
#by .anim.ac {
	opacity: 1;
	transform: translate(0);
}
#by.anim.ac {
	transform: none;
}

strong {
	position: absolute;
    top: 2%;
    right: 5%;
    display: block;
    overflow: visible;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    -webkit-transition: color 0.2s;
    text-decoration: none;
    z-index: 999;
}
.remodal .modal-container {
	width: 84%;
    margin: 8% auto;
}
.remodal .modal-container .modal-body .modal-content .modal-content-inner .modal-content-inner-box .modal-look {
	width: 100%;
}
.remodal .modal-container .modal-body .modal-content .modal-content-inner .modal-content-inner-box .modal-look img {
	width: 100%;
}
.remodal .modal-container .modal-body .modal-content .modal-credit {
	margin: 8% auto 0;
}

.remodal .modal-container .modal-body .modal-content .modal-credit .modal-credit-text {
	width: 92%;
}
.remodal .modal-container .modal-body .modal-content .modal-credit .modal-credit-text .modal-credit-child {
	display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
	margin: 0 0 4%;
}
.remodal .modal-container .modal-body .modal-content .modal-credit .modal-credit-text .modal-credit-child a{
	display: block;
    border: solid 1px #49342b;
    width: 24%;
    line-height: 2;
}
.remodal .modal-container .modal-body .modal-content .modal-credit .modal-credit-text .modal-credit-child a.cms {
	width: 32%;
    border: none;
    color: #676767;
    text-align: right;
}

@media only screen and (min-width: 769px)  {
	.remodal-wrapper {
		overflow: hidden;
	}
	.remodal .modal-container .modal-body .modal-content .modal-content-inner {
		width: 84%;
		max-width: 960px;
		margin: 0 auto;
	}
	.remodal .modal-container .modal-body .modal-content .modal-content-inner .modal-content-inner-box {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.remodal .modal-container .modal-body .modal-content .modal-content-inner .modal-content-inner-box .modal-look {
		width: 50%;
	}
	.remodal .modal-container .modal-body .modal-content .modal-content-inner .modal-content-inner-box .modal-credit {
		width: 38%;
		margin: 0;
	}
	strong {
		top: 6%;
		right: 6%;
		width: 80px;
		height: 80px;
	}
}
/* fade
**************************************************/
#by .fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s ease, transform 1.3s ease;
	will-change: opacity, transform;
}
#by .fade.is-show {
	opacity: 1;
	transform: translateY(0);
}
#by .flex .fade:nth-child(2) {
	transition-delay: .6s;
}

@media (prefers-reduced-motion: reduce) {
	#by .fade {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
/* view 
**************************************************/
#by .spview {
	display: block;
}
#by .pcview {
	display: none;
}
@media only screen and (min-width: 768px)  {
     #by .spview {
		display: none;
	}	
	#by .pcview {
		display: block;
	}
}