@charset "utf-8";

/* mv_area */
.mv {  
  width: 100%;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 750 / 1100;
}
.mv_title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(2rem, 8vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.mv_copy {
  color: #fff;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 0.2rem;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.35),
    0 6px 12px rgba(0,0,0,0.2);
}
.mv_year {
  position: relative;
  width: min(58vw, 260px);
}
.mv_year h2 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.3);
}
/* タブレット */
@media screen and (min-width: 600px) and (max-width: 899px) {
    }
/* PC */
@media screen and (min-width: 900px) {
    .mv {
        aspect-ratio: 16 / 9;
    }
    .mv_title {
        top: 50%;
        bottom: auto;
        right: 10%;
        left: auto;
        transform: translateY(-50%);
        gap: 4rem;
    }
    .mv_copy {
        color: #222;
        text-align: center;
        line-height: 1.4;
        font-size: 1.6rem;
        letter-spacing: 0.1em;
        text-shadow: none;
    }
    .mv_year {
        width: min(22vw, 340px);
    }
    .mv_year h2 {
        font-size: 1.4rem;
        color: #222;
        text-shadow:none;    
    }   
}


/* model style */
.style {
  margin-top: 5rem;
}
.style_intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.style_badge {
  width: fit-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.style_badge img {
  width: 40px;
  height: auto;
}
.style_badge span {
  font-size: 1rem;
  letter-spacing: 0.2em;
}
.style_badge strong {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
}
.style_content {
    margin-top: 1.2rem;
    width: calc(100% - 6rem);
    margin-inline: auto;
}
.style_title {
    font-size: 2rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-align: center;
}
.style_text {
    margin-top: 3rem;
    line-height: 1.8;
}


.style_gallery {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.model02 .style_gallery {
  padding-bottom: 6rem;
}
.style_gallery img {
    width: 100%;
}
.model01 .style_gallery img {
    width: 75%;
}
.model03 .style_gallery img {
    width: 90%;
}
.model03 .style_gallery .small img {
  width: 70%;
}

.gallery_item:nth-child(2) {
    text-align: center;
}
.model03 .gallery_item:nth-child(2) {
    text-align: right;
}

.gallery_item:nth-child(3) {
    text-align: right;
}


/* other style */
.otherstyle {
  position: relative;
  margin-top: 6rem;
}

.otherstyle_photo_box {
  position: relative;
}
.otherstyle_photo {
  width: 100%;
  display: block;
  line-height: 0;
}

/* 三角帯 */
.otherstyle_panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  bottom: -1px;
  height: 80px;
  z-index: 3;
}
.otherstyle_panel.normal {
  clip-path: polygon(
    0 80px,
    100% 0,
    100% 100%,
    0 100%
  );
}
.otherstyle_panel.reverse {
  clip-path: polygon(
    0 0,
    100% 80px,
    100% 100%,
    0 100%
  );
}
.model01 .otherstyle_panel {
    background: #BE95A8;    
}
.model02 .otherstyle_panel {
    background: #ECDACB;
}
.model03 .otherstyle_panel {
    background: #DFA999;
}
.model04 .otherstyle_panel {
    background: #872D39;
}


.model01 .otherstyle_text_box {
  background: #BE95A8;
}
.model02 .otherstyle_text_box {
  background: #ECDACB;
}
.model03 .otherstyle_text_box {
  background: #DFA999;
}
.model04 .otherstyle_text_box {
  background: #872D39;
  color: #fff;
}
.otherstyle_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem 6rem;
}
.model03 .otherstyle_text {
  padding-top: 4rem;
}
.otherstyle_text_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.otherstyle_title {
  width: min(45vw, 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.otherstyle_title img {
  width: 100%;
  height: auto;
  display: block;
}

.model02_inner_photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  text-align: center;
  padding-top: 1.5rem;
}
.model02_inner_photo > div:first-child {
  width: 80%;
}
.model03 .window {
  width: 55%;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(70%);
  z-index: 6;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 90%,
    0 100%
  );
}



/* タブレット */
@media screen and (min-width: 600px) and (max-width: 899px) {
    }
/* PC */
@media screen and (min-width: 900px) {

    /* model style */
    .style_intro {
        flex-direction: row;
        position: relative;
        width: 100%;
        max-width: 1400px;
        aspect-ratio: 16 / 9;
        margin-inline: auto;
    }
    .model03 .style_intro,
    .model04 .style_intro {
        flex-direction: row-reverse;     
    }

    /* 左側 */
    .style_left {
        width: 40%;
        position: relative;
        z-index: 2;
        top: 6rem;
        left: 6rem;
    }
    .model03 .style_left,
    .model04 .style_left {
      right: 6rem;
      left: auto;
    }

    .style_badge {
        margin-inline: 0 auto;
    }
    .model03 .style_badge,
    .model04 .style_badge {
      margin-inline: auto 0;
    }

    /* テキスト */
    .style_content {
        margin-top: 2rem;
        width: 100%;
    }
    .style_title {
        text-align: left;
    }
    .model03 .style_title,
    .model04 .style_title {
      text-align: right;
    }

    /* 画像 */
    .style_main_visual {
        width: 80%;
        position: absolute;
        right: 0;
        z-index: 1;
    }
    .model02 .style_main_visual,
    .model04 .style_main_visual {
      width: 100%;
    }
    .model03 .style_main_visual {
      position: absolute;
        left: 0;
        z-index: 1;
    }

    .style_gallery {
      width: 100%;
      max-width: 1400px;
      padding-inline: 6rem;
      margin-inline: auto;
    }
    .model01 .style_gallery {
      margin-top: 0;
    }
    .model01 .style_gallery img {
      width: 100%;
    }
    .model03 .style_gallery img {
      width: 100%;
    }
    .model03 .style_gallery .small img {
      width: 80%;
    }

    .model01 .style_gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.1rem;
    }
    
    .model02 .style_gallery,
    .model04 .style_gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.1rem;
    }
    .model03 .style_gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.1rem;
    }

    .gallery_item:nth-child(2) {
        margin-top: 6rem;
    }

    .gallery_item:nth-child(3) {
        margin-top: 10rem;
    }
    .model03 .gallery_item:nth-child(2) {
      margin-top: -22rem;
      z-index: 5;
    }
    .model04 .gallery_item:nth-child(2) {
      margin-top: 0;
    }


    .otherstyle_text {
      width: 50%;
      margin-left: auto;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding: 0 6rem 5rem;
    }
    .model03 .otherstyle_text {
      margin: 0 auto 0 0;
    }
    .otherstyle_title {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }
    .otherstyle_title img {
        width: 120px;
    }

    .model02 .otherstyle_text {
      width: 100%;
      margin-left: auto;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding: 0 5rem 5rem;
    }

    .otherstyle_text_wrapper {
      padding: 0 6rem;
    }

    .model02_inner_photo > div:first-child {
      width: 100%;
    }
    .model02 .otherstyle_text {
      display: grid;
      grid-template-columns: 45% 55%;
      gap: 2rem;
      align-items: start;
      padding: 6rem;
    }

    .model02_inner_photo {
      display: contents;
    }
    .model02_inner_photo > div:first-child {
      grid-column: 1;
      grid-row: 1 / 3;
    }

    .model02_inner_photo > div:last-child {
      grid-column: 2;
      grid-row: 1;
    }

    .model02 .otherstyle_text_wrapper {
      grid-column: 2;
      grid-row: 2;
    }
    .model03 .otherstyle_text {
      padding-bottom: 6rem;
    }
    .model03 .window {
      width: 45%;
      right: 6rem;
      transform: translateY(50%);
    }
}



/************ back number **********/
.backnumber {
  display: block;
  height: 120px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0; 
}
.upsdown {
  transform: scaleY(-1);
  
}
.btn {
  background-color: #DCD5C0;
  color: #8c7126;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 80%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    letter-spacing: 0.2rem;
    font-optical-sizing: auto;
    font-size: clamp(1.6rem, calc(1.0rem + 0.625vw), 2.2rem);
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: background-color 1s ease, color 1s ease;
}

/* タブレット */
@media screen and (min-width: 600px) and (max-width: 899px) {
    }
/* PC */
@media screen and (min-width: 900px) {
  .backnumber {
    margin: 3rem 0;
  }
}

/* animation */

.fadeup {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fadeup.show {
  opacity: 1;
  transform: translateY(0);
}
.fadeup:nth-child(1) {
  transition-delay: 0s;
}

.fadeup:nth-child(2) {
  transition-delay: 0.2s;
}

.fadeup:nth-child(3) {
  transition-delay: 0.4s;
}

.fadein {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.fadein.show {
  opacity: 1;
}

.fadein:nth-child(1) {
  transition-delay: 0s;
}

.fadein:nth-child(2) {
  transition-delay: 0.2s;
}

.fadein:nth-child(3) {
  transition-delay: 0.4s;
}

 
.blurin {
  opacity: 0;
  filter: blur(10px);

  transition:
    opacity 1.2s ease,
    filter 1.2s ease;
}

.blurin.show {
  opacity: 1;
  filter: blur(0);
}

.blurin:nth-child(1) {
  transition-delay: 0s;
}

.blurin:nth-child(2) {
  transition-delay: 0.2s;
}

.blurin:nth-child(3) {
  transition-delay: 0.4s;
}
