@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{
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0 auto;
    line-height: 2.0;
    font-size: 11px;
    letter-spacing: 1px;
	width: 100%;
    box-sizing: border-box;
    color: #2b2b2b;
    -webkit-text-size-adjust: 100%;
	overflow: hidden;
}
#by a {
	text-decoration: none;
	color: #2b2b2b;
}
#by p {
    margin: 0;
}
#by　a:hover {
	opacity: 1;
}
#by .clear{
	clear: both;
}
#by img{
    width: 100%;
    line-height: 0;
}
#by ul,#by li {
	list-style: none;
	padding: 0;
	margin: 0;
}
/*  #main_visual
**************************************************/
#by #main_visual {
	width: 100%;
	display: block;
	margin: 0 auto 10%;
	position: relative;
}
#by #main_visual .main_ttl {
	width: 72%;
	 position: absolute;	
    left: 0;
    right: 0;
    bottom: 7%;
   margin: 0 auto;
}

@media only screen and (min-width: 769px)  {
	#by #main_visual {
		max-width: 1400px;
		margin: 0 auto;
	}
	#by #main_visual .main_ttl {
		width: 36%;
        max-width: 440px;
        left: 13%;
        right: auto;
        bottom: 36%;
	}
	
}
/*  content
**************************************************/
#by #content {
	margin: 0 auto;
}

@media only screen and (min-width: 769px)  {
	#by #content {
		width: 1200px;
        margin: 0 auto;
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
	}
}
/*  section
**************************************************/
#by #content section {
	width: 100%;
    margin: 20% auto 25%; 
}
#by #content section .flex .flex-main {
	width: 100%;
	display: flex;
	justify-content: space-between;
	    align-items: flex-start;
}
#by #content section .flex .flex-main .main-text {
	width: 15%;
    padding: 0px 0 0 4%;
}
#by #content section:nth-of-type(2) .flex .flex-main .main-text {
	padding: 0px 4% 0 0% !important;
}
#by #content section .flex .flex-main .main-text .buy {
	display: block;
    width: 58%;
    margin: 4% 0 0 7%;
}
#by #content section .flex .flex-main .main-pic {
	width: 76%;
}
@media only screen and (min-width: 769px)  {
	#by #content section  {
		width: 44%;
        margin: 180px 0 80px;
	}
}
#by #content section .flex .flex-sub {
	position: relative;
	margin: 18% 0;
	height: 156vw;
}
#by #content section .flex .flex-sub div {
	position: absolute;
}
#by #content section .flex .sub-text {
	opacity: .6;
}
#by #content section:nth-of-type(1) .flex .flex-sub div:nth-of-type(1) {
	position: relative;
	width: 64%;
}
#by #content section:nth-of-type(1) .flex .flex-sub div:nth-of-type(2) {
    width: 35%;
    top: 6%;
    right: 0;
}
#by #content section:nth-of-type(1) .flex .flex-sub div:nth-of-type(3) {
    width: 44%;
    bottom: 10%;
    right: 0;
}
#by #content section:nth-of-type(1) .flex .flex-sub .credit {
	width: 40%;
    bottom: 0;
    left: 8%;
}


#by #content section:nth-of-type(2) .flex .flex-sub div:nth-of-type(1) {
	position: absolute;
    width: 64%;
    bottom: 0;
}
#by #content section:nth-of-type(2) .flex .flex-sub div:nth-of-type(2) {
    width: 35%;
    top: -6%;
    left: 5%;
}
#by #content section:nth-of-type(2) .flex .flex-sub div:nth-of-type(3) {
    width: 48%;
    top: 0;
    right: 8%;
}
#by #content section:nth-of-type(2) .flex .flex-sub .credit {
	width: 40%;
    bottom: 10%;
    right: 8%;
}

#by #content section .flex .flex-sub .credit-box {
    width: 100% !important;
    line-height: 1.7;
    display: flex;
    align-items: center;
    justify-content: space-between;
	position: relative;
	margin-bottom: 2%;
	font-family: "nimbus-roman", serif;
	font-weight: 400;
	font-style: normal;
	top: auto !important;
	bottom: auto !important;
    right: auto !important;
	left: auto !important;
}
#by #content section .flex .flex-sub .credit-box a {
    text-decoration: underline;
}


@media only screen and (min-width: 769px)  {
	#by #content section .flex {
		width: 100%;
		justify-content: space-between;
	}
	#by #content section .flex .flex-main .main-text {
		width: 14%;
		padding: 0px 0 0 4%;
	}
	
	#by #content section .flex .flex-sub {
		height: 820px;
	}
	#by #content section:nth-of-type(1) .flex .flex-sub .credit {
		width: 38%;
		bottom: 5%;
		left: 7%;
	}
}


#by #content section .features {
	width: 88%;
    border: solid 1px #111;
    border-radius: 20px;
    margin: 0 auto;
}
#by #content section h3 {
	font-size: 24px;
    letter-spacing: .5px;
    text-align: center;
    font-family: "nimbus-roman", serif;
    font-weight: 400;
    font-style: normal;
}

#by #content section .features .features-flex {
	width: 80%;
    margin: 0% auto 10%;
}
#by #content section:nth-of-type(2) .flex .flex-main {
	flex-direction: row-reverse;
}
#by #content section .features .features-flex-pic {
	width: 100%;
    margin: 0 auto 6%;
    height: 104vw;
}


/* スライド（CSSのみで自動フェード切り替え） */
#by #content section .slide {
	--slide-time: 4s;	/* 1枚あたりの表示時間 */
	display: grid;
	overflow: hidden;
}
#by #content section .slide img {
	grid-area: 1 / 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 833 / 1250;
	object-fit: cover;
	opacity: 0;
	animation: features-fade calc(var(--slide-time) * 3) linear infinite;
}
#by #content section .slide img:nth-child(1) {
	animation-delay: calc(var(--slide-time) * -0.25);
}
#by #content section .slide img:nth-child(2) {
	animation-delay: calc(var(--slide-time) * 0.75);
}
#by #content section .slide img:nth-child(3) {
	animation-delay: calc(var(--slide-time) * 1.75);
}
/* 1周 = 3枚分。1/12 でフェードイン → 1/3 まで表示 → 5/12 でフェードアウト */
@keyframes features-fade {
	0%      { opacity: 0; }
	8.333%  { opacity: 1; }
	33.333% { opacity: 1; }
	41.666% { opacity: 0; }
	100%    { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	#by #content section .slide img {
		animation: none;
	}
	#by #content section .slide img:first-child {
		opacity: 1;
	}
}

@media only screen and (min-width: 769px) {
	#by #content section .features {
		width: 90%;
        margin: 0 auto 0;
	}
	#by #content section h3 {
		font-size: 32px;
		margin-bottom: 14px;
	}
	#by #content section .features .features-flex {
		display: flex;
		align-items: center;
		gap: 40px;
		margin: 0 auto 36px;
		font-size: 11px;
	}
	#by #content section .features .features-flex-pic {
		flex: 0 0 42%;
		margin: 0;
		height: 238px;
	}
	#by #content section .features .features-flex-text {
		flex: 1;
		
	}
}



/* slide
**************************************************/
#by #content section .slide {
	position: relative;
	overflow: hidden;
	height: 114vw;
}
#by #content section .slide img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
   animation  : slideAnime 9s ease infinite;
}
#by #content section .slide img:nth-of-type(1) { animation-delay: 0s }
#by #content section .slide img:nth-of-type(2) { animation-delay: 3s }
#by #content section .slide img:nth-of-type(3) { animation-delay: 6s }
 
@keyframes slideAnime {
    0% { opacity: 0 }
   8% { opacity: 1 }
  33% { opacity: 1 }
  41% { opacity: 0 }
 100% { opacity: 0 }
}
@media only screen and (min-width: 769px)  {
	#by #content section .slide {
		height: 600px;
	}
}

/* item
**************************************************/
#by #content section .color-variations {
	margin: 12% 0 0 0;
}
.item {
  --slide-width: 56%;          /* 中央画像の幅（.item に対する割合） */
  --gap: 6%;                   /* 画像同士の間隔（画像幅に対する割合） */
  --step: calc(100% + var(--gap));
  --side-opacity: 0.4;         /* 左右の画像の薄さ */
  --duration: 0.6s;
  --easing: cubic-bezier(0.65, 0, 0.35, 1);

  position: relative;
  overflow: hidden;
}

.item-radio {
  display: none;
}
#item-color-1:checked ~ .item-body,
#item-color-1-next:checked ~ .item-body,
#item-color-1-prev:checked ~ .item-body {
  --p1: 0;
  --p2: 1;
  --p3: -1;
}

#item-color-2-next:checked ~ .item-body,
#item-color-2-prev:checked ~ .item-body {
  --p1: -1;
  --p2: 0;
  --p3: 1;
}

#item-color-3-next:checked ~ .item-body,
#item-color-3-prev:checked ~ .item-body {
  --p1: 1;
  --p2: -1;
  --p3: 0;
}

/* 2つ目の color-variations 用（2色） */
#item2-color-1:checked ~ .item-body,
#item2-color-1-next:checked ~ .item-body,
#item2-color-1-prev:checked ~ .item-body {
  --p1: 0;
  --p2: 1;
}

#item2-color-2-next:checked ~ .item-body,
#item2-color-2-prev:checked ~ .item-body {
  --p1: -1;
  --p2: 0;
}

.item-slider > :nth-child(1),
.item-names > :nth-child(1) { --pos: var(--p1); }
.item-slider > :nth-child(2),
.item-names > :nth-child(2) { --pos: var(--p2); }
.item-slider > :nth-child(3),
.item-names > :nth-child(3) { --pos: var(--p3); }

/* ----------------------------------------------------------
   スライド本体
   ---------------------------------------------------------- */
.item-stage {
  position: relative;
}

.item-slider {
  display: grid;
  width: var(--slide-width);
  margin-inline: auto;
}

.item-slider > * {
  grid-area: 1 / 1;
  display: block;
  opacity: calc(1 - (1 - var(--side-opacity)) * var(--pos) * var(--pos));
  transform: translateX(calc(var(--pos) * var(--step)));
  transition:
    transform var(--duration) var(--easing),
    opacity var(--duration) var(--easing);
  user-select: none;
  -webkit-user-drag: none;
}

.item-slider > * > img {
  display: block;
  width: 100%;
  height: auto;
}
#item-color-1-next:checked ~ .item-body .item-slider > :nth-child(2),
#item-color-2-next:checked ~ .item-body .item-slider > :nth-child(3),
#item-color-3-next:checked ~ .item-body .item-slider > :nth-child(1) {
  transition: none;
  animation: item-wrap-next var(--duration) var(--easing);
}

#item-color-1-prev:checked ~ .item-body .item-slider > :nth-child(3),
#item-color-2-prev:checked ~ .item-body .item-slider > :nth-child(1),
#item-color-3-prev:checked ~ .item-body .item-slider > :nth-child(2) {
  transition: none;
  animation: item-wrap-prev var(--duration) var(--easing);
}
@keyframes item-wrap-next {
  0%   { transform: translateX(calc(-1 * var(--step))); opacity: var(--side-opacity); }
  45%  { transform: translateX(calc(-2 * var(--step))); opacity: 0; }
  55%  { transform: translateX(calc(2 * var(--step)));  opacity: 0; }
  100% { transform: translateX(var(--step));            opacity: var(--side-opacity); }
}

/* 右端 → 右へ退場 → 左から登場 → 左端 */
@keyframes item-wrap-prev {
  0%   { transform: translateX(var(--step));            opacity: var(--side-opacity); }
  45%  { transform: translateX(calc(2 * var(--step)));  opacity: 0; }
  55%  { transform: translateX(calc(-2 * var(--step))); opacity: 0; }
  100% { transform: translateX(calc(-1 * var(--step))); opacity: var(--side-opacity); }
}

.item-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: none;
  place-items: center;
  width: 48px;
  height: 64px;
  translate: 0 -50%;
  cursor: pointer;
  transition: opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.item-arrow:hover {
  opacity: 0.6;
}

.item-arrow img {
  display: block;
  width: 20px !important;
  height: auto;
}

.item-arrow-prev { left: 12px; }
.item-arrow-next { right: 12px; }

#item-color-1:checked ~ .item-body .item-arrow[for="item-color-3-prev"],
#item-color-1:checked ~ .item-body .item-arrow[for="item-color-2-next"],
#item-color-1-next:checked ~ .item-body .item-arrow[for="item-color-3-prev"],
#item-color-1-next:checked ~ .item-body .item-arrow[for="item-color-2-next"],
#item-color-1-prev:checked ~ .item-body .item-arrow[for="item-color-3-prev"],
#item-color-1-prev:checked ~ .item-body .item-arrow[for="item-color-2-next"],
#item-color-2-next:checked ~ .item-body .item-arrow[for="item-color-1-prev"],
#item-color-2-next:checked ~ .item-body .item-arrow[for="item-color-3-next"],
#item-color-2-prev:checked ~ .item-body .item-arrow[for="item-color-1-prev"],
#item-color-2-prev:checked ~ .item-body .item-arrow[for="item-color-3-next"],
#item-color-3-next:checked ~ .item-body .item-arrow[for="item-color-2-prev"],
#item-color-3-next:checked ~ .item-body .item-arrow[for="item-color-1-next"],
#item-color-3-prev:checked ~ .item-body .item-arrow[for="item-color-2-prev"],
#item-color-3-prev:checked ~ .item-body .item-arrow[for="item-color-1-next"] {
  display: grid;
}

#item2-color-1:checked ~ .item-body .item-arrow[for="item2-color-2-prev"],
#item2-color-1:checked ~ .item-body .item-arrow[for="item2-color-2-next"],
#item2-color-1-next:checked ~ .item-body .item-arrow[for="item2-color-2-prev"],
#item2-color-1-next:checked ~ .item-body .item-arrow[for="item2-color-2-next"],
#item2-color-1-prev:checked ~ .item-body .item-arrow[for="item2-color-2-prev"],
#item2-color-1-prev:checked ~ .item-body .item-arrow[for="item2-color-2-next"],
#item2-color-2-next:checked ~ .item-body .item-arrow[for="item2-color-1-prev"],
#item2-color-2-next:checked ~ .item-body .item-arrow[for="item2-color-1-next"],
#item2-color-2-prev:checked ~ .item-body .item-arrow[for="item2-color-1-prev"],
#item2-color-2-prev:checked ~ .item-body .item-arrow[for="item2-color-1-next"] {
  display: grid;
}

/* ----------------------------------------------------------
   カラー名
   ---------------------------------------------------------- */
.item-names {
      display: grid;
    justify-items: center;
    margin: 10px 0 0 !important;
    font-size: 16px;
    letter-spacing: .5px;
    line-height: 1.3;
    font-family: "nimbus-roman", serif;
    font-weight: 400;
    font-style: normal;
	text-align: center;
}

.item-names > span {
  grid-area: 1 / 1;
  opacity: calc(1 - var(--pos) * var(--pos));
  transition: opacity var(--duration) var(--easing);
}

.item-pc-name {
  display: none;
}

.item-pc-name small {
  display: block;
  font-size: 0.82em;
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .item-slider > *,
  .item-names > span {
    transition: none !important;
    animation: none !important;
  }
}

@media only screen and (min-width: 769px) {
  .item {
    overflow: visible;
  }

  .item-slider {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3%;
  }
	#by #content section:nth-of-type(2) .item-slider {
		width: 66%;
  }

  .item-slider > * {
    flex: 1;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    text-align: center;
  }

  .item-slider > :nth-child(1) {
    order: 2;
  }

  .item-slider > :nth-child(2) {
    order: 3;
  }

  .item-slider > :nth-child(3) {
    order: 1;
  }

  .item-slider > * > img {
    width: 100%;
  }

  .item-arrow,
  .item-names {
    display: none !important;
  }

  .item-pc-name {
    display: block;
    margin-top: 12px;
    font-family: "nimbus-roman", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1.05;
  }

  .item-pc-name small {
    font-size: 70%;
    margin-top: 8px;
  }
}


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

/* view 
**************************************************/
#by .spview {
	display: block;
}
#by .pcview {
	display: none;
}
@media only screen and (min-width: 768px)  {
     #by .spview {
		display: none;
	}	
	#by .pcview {
		display: block;
	}
}