@charset "utf-8";

:root {
  --section_margin: 160px;
  --block_margin: 60px;
  --title_margin: 50px;
  --text_margin: 35px;
  --main_text_photo_margin: 10px;
  --brand-color01: #1C1C1C;
  --brand-color02: #B0B2AF;
  --brand-color03: #EEF0F2;
  --brand-color04: #ECEBE4;
  --brand-color05: #D1D1D1;
}

@media screen and (max-width: 768px) {
  :root {
    --section_margin: 60px;
    --block_margin: 50px;
    --title_margin: 40px;
    --text_margin: 20px;
  }
}

@media screen and (max-width: 768px) {
  .btnArea2 {
    width: 100%;
    margin: 30px auto 0;
    text-align: center;
    .base_btn {
      margin: 0 auto;
      width: 100%;
      padding: 17px 32px;
      display: inline;
    }
  }
}

.serif {
  font-family: "Yu Mincho", serif !important;
}

body {
  background: var(--brand-color04);
}

p {
  /* 14px-15px */
  font-size: clamp(0.875rem, 0.852rem + 0.11vw, 0.938rem);
  line-height: 1.7;
  text-align: justify;
}

.page_nav {
  width: 100%;
  max-width: unset;

  .tab-buttons {
    border-bottom: solid 2px var(--brand-color01);
    max-width: unset;

    .tab-button {
      max-width: unset;
      width: auto;
      padding: 8px;
      &:first-of-type {
        margin: 0 0 0 10%;
      } 
    }
  }
  .bottom-tabs {
    border-bottom: none;
    justify-content: center;

    .tab-button {
      border-radius: 5px;
      background: none;
      color: #1c1c1c;
      border: solid 1px #1c1c1c;
      &:first-of-type {
        margin: 0;
      } 
    }

    .tab-button.is-active {
      background: #1c1c1c;
      color: #ffffff;
    }
  }

  &:last-of-type {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 768px) {
  .page_nav {
    .tab-buttons {
      .tab-button {
        &:first-of-type {
          margin: 0;
        } 
      }
    }
  }
}

.top-text,
.mokuji,
.member,
.contents-container,
.sofa_layout,
.comment {
  width: 95%;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .top-text,
  .mokuji,
  .member,
  .contents-container,
  .sofa_layout,
  .comment {
    width: 93%;
    margin: 0 auto;
  }
}

/* コンテンツの表示/非表示の制御 */
.section_wrapper {
  display: none; /* デフォルトで全て非表示 */
  padding: 80px 0 0 0; 
}

.section_wrapper.is-active {
  display: block; /* is-active の要素だけ表示 */
}

.main_wrapper {
  display: flex;
  width: 100%;
  border-top: 1px solid #ffffff;
}

@media screen and (max-width: 768px) {
  .main_wrapper {
    flex-direction: column;
  }
}

.heading-middle {
  margin-bottom: var(--title_margin);
  /* 18px-22px */
  font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem) !important;
  letter-spacing: 0.05em;
}

.photo_pattern1 {
  margin-top: var(--block_margin);

  ul {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    aspect-ratio: 900 / 500;
  }

  li {
    &:nth-of-type(1) {
      max-width: 500px;
      width: 56%;
      aspect-ratio: 1 / 1;

      img {
        aspect-ratio: 1/1;
        width: 100%;
      }
    }

    &:nth-of-type(2) {
      max-width: 390px;
      width: 44%;
      display: flex;
      flex-direction: column;
      gap: 10px;

      img {
        aspect-ratio: 390/245;
        width: 100%;
        display: block;
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .photo_pattern1 {

    ul {
      flex-direction: column;
      gap: 10px;
      align-items: center;

      li {
        &:nth-of-type(1) {
          max-width: 400px;
          width: 100%;
        }

        &:nth-of-type(2) {
          max-width: 400px;
          width: 100%;
        }
      }
    }
  }
}

.sidebar {
  width: 23%;
  margin-top: 50px;
  position: sticky;
  top: 50px;
  display: block;
  height: 100vh;

  .sidebar-photo {
    width: 51%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    img {
      aspect-ratio: 1 / 1;
      width: 100%;
      object-fit: cover;
      max-width: 150px;
    }
  }
  .sidebar-text-wrap {
    display: inline-block;
    width: 100%;
    max-width: 150px;
    font-size: clamp(0.813rem, 0.767rem + 0.23vw, 0.938rem);
    cursor: pointer;

    span {
      margin: 25px 0 5px;
      display: block;
    }
  }

  .sns-share {
    width: 57%;
    margin: 60px auto 0;

    span {
      text-align: center;
      display: block;
      margin-bottom: 10px;
      font-size: clamp(10px, 1.3vw, 16px);
      letter-spacing: 0.1em;
      white-space: nowrap;
    }

    .sns-icon-list {
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    li {
      width: 23px;
    }

    a {
      display: block;
    }

    img {
      width: 100%;
      aspect-ratio: 1 / 1;
    }
  }
}

@media screen and (max-width: 768px) {
  .sidebar {
    width: 100%;
    margin: 0 auto;
    position: static;
    height: auto;

    .sidebar_inner {
      width: 93%;
      margin: 30px auto;
    }

    .sidebar-photo {
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 25px 10px;

      img {
        width: 100%;
        max-width: unset;
      }

      span {
        margin: 0;
        display: inline;
      }
    }

    .sidebar-text-wrap {
      display: inline-block;
      justify-content: space-between;
      max-width: unset;
    }

    .sns-share {
      width: 100%;
      margin: 0 auto;
      padding: 20px 0;
      border-top: solid 1px #ffffff;
      border-bottom: solid 1px #ffffff;

      li {
        width: 20px;
      }
    }
  }
}

.main-text_wrapper {
  width: 77%;
  padding-top: 120px;
  border-left: 1px solid #ffffff;

  .top-text {
    font-size: clamp(14px, 1.8vw, 15px);
    text-align: left;
    margin-bottom: 50px;
    padding: 0;

    &:not(:last-of-type) {
    margin-bottom: 30px;
    }
  }

  .mokuji {
    display: flex;
    gap: 5.5%;
    .mokuji-photo {
      width: 44%;

      img {
        width: 100%;
        aspect-ratio: 131/141;
        object-fit: cover;
      }
    }
    .mokuji-list {
      width: 56%;

      li {
        padding: 6% 0;
        font-size: 15px;
      }

      li:first-of-type {
        font-size: 18px;
        font-weight: bold;
      }
      li:not(:last-of-type) {
        border-bottom: solid 1px var(--brand-color05);
      }
    }
  }
  @media screen and (max-width: 768px) {
    .mokuji {
      .mokuji-photo {
        width: 100%;
      }
      .mokuji-list {
        display: none;
      }
    }
  }
  .member {
    margin: 80px auto;
    .member-title {
      /* 20px-27px */
      font-size: clamp(1.25rem, 1.091rem + 0.8vw, 1.688rem);
      line-height: 1;
      margin-bottom: 35px;
    }
    .member-list {
      display: flex;
      gap: 50px;
      width: 83%;
      margin: 0 auto;
      li {
        width: calc((100% - 150px) / 4);
      }
      img {
        width: 100%;
        object-fit: cover;
      }
      span {
        display: block;
        font-size: 15px;
        text-align: center;
        margin: 20px 0 15px;
      }
      p {
        text-align: justify;
        font-size: 14px;
        line-height: 1.7;
      }
    }
  }
  @media screen and (max-width: 768px) {
    .member {
      .member-list {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px 0;
        max-width: 450px;

        li {
          width: 46%;
        }
      }
    }
  }

  .introduction {
    display: flex;
    justify-content: space-between;

    .introduction-text-wrap {
      margin-top: 10px;
      width: 65%;
    }

    .heading-introduction {
      /* 27px-20px */
      font-size: clamp(1.25rem, 1.091rem + 0.8vw, 1.688rem);
      margin-bottom: 30px;
    }

    p:first-of-type {
      margin-bottom: 25px;
    }

    .introduction-visual {
      width: 30%;
      aspect-ratio: 300/250;

      img {
        width: 100%;
        object-fit: cover;
      }
      p {
        text-align: right;
        font-size: 12px;
      }
    }
  }
  @media screen and (max-width: 768px) {
     .introduction {
      flex-direction: column;
      .introduction-text-wrap {
        margin-top: 0;
      }
      .introduction-visual {
        width: 100%;
        max-width: 300px;
        margin: 35px auto 0;
      }
    }
  }
  .rule {
    margin-bottom: 110px;
    .heading-rule {
      /* 22px-18px */
      font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
      margin: 35px 0 45px;
    }
    ul {
      position: relative;
      &::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 15px;
        width: 1px;
        height: 98%;
        background: var(--brand-color01);
        z-index: -1;
      }
      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 6px;
        display: inline-block; /* インライン要素として扱い、幅と高さを指定できるようにする */
        width: 20px; /* 矢印の全体の幅 */
        height: 20px; /* 矢印の全体の高さ */
        
        border-right: 3px solid var(--brand-color01); /* 右側の線 */
        border-bottom: 3px solid var(--brand-color01); /* 下側の線 */
        
        transform: rotate(45deg); /* 45度回転させて矢印の形にする */
        
        /* オプション: 位置調整など */
        margin-top: -10px; /* 調整用マージン */
        vertical-align: middle; /* テキストとの中央揃え */
      }
    }
    .order-number {
      color: #ffffff;
      width: 30px;
      height: 30px;
      background: var(--brand-color01);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    li .rule-explanation {
      display: flex;
      justify-content: space-between;
      width: 93%;
      margin: 0 0 40px auto;

      &.--mind {
        margin: -30px 0 0 auto;
        align-items: center;
        justify-content: start;
        gap: 4%;

        .rule-explanation-photo {
          width: 23%;
        }
        p {
          margin-top: 0;
        }
      }
    }
    li:nth-of-type(2) .rule-explanation {
      flex-direction: row-reverse;
    }
    .rule-explanation-photo {
      width: 48%;

      img {
        width: 100%;
        object-fit: cover;
        aspect-ratio: 400/300;
      }
    }
    .blokus-rule-text_wrap {
      width: 46%;
      margin-top: 50px;
    }
    p {
      width: 46%;
      margin-top: 50px;

      &.--blokus-rule-text {
        width: 100%;
        margin-top: 0;

        &:not(:last-of-type) {
          margin: 0 0 20px 0;
        }
      }
    }
  }
  @media screen and (max-width: 768px) {
    .rule {
      margin-bottom: 60px;
      .heading-rule {
        margin: 35px 0 15px;
      }
      ul {
        &::before {
          display: none;
        }
        &::after {
          display: none;
        }
      }
      li .rule-explanation {
        width: 100%;
        flex-direction: column;
        margin: 15px 0 35px;

        &.--mind {
          .rule-explanation-photo {
            width: 100%;
            margin: 35px 0 10px;
          }
        }
      }
      li:nth-of-type(2) .rule-explanation {
        flex-direction: column;
      }
      .rule-explanation-photo {
        width: 100%;
      }
      p {
        width: 100%;
        margin-top: 10px;
      }
      .blokus-rule-text_wrap {
        width: 100%;
        margin-top: 10px;
      }
    }
  }
  .text_photo_wrapper {
    padding-bottom: 100px;

    &.--mind_text_photo_wrapper {
      .text_photo:first-of-type, 
      .text_photo:nth-of-type(3),
      .text_photo:nth-of-type(4),
      .text_photo:nth-of-type(5),
      .text_photo:nth-of-type(10){
        .photo_01, 
        .photo_05,
        .photo_06,
        .photo_07,
        .photo_16 {
          width: 100%;
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
          }
        }
      }

      .text_photo:nth-of-type(2) {
        display: flex;
        justify-content: space-between;
        margin-top: var(--block_margin);
        gap: 10px;

        &.--reverse {
          flex-direction: row-reverse;
        }

        .block:first-of-type {
          width: 55%;
        }
        .block:nth-of-type(2) {
          width: calc(45% - 10px);
        }

        .photo_02 {
          width: 100%;

          img {
            aspect-ratio: 500/476;
            width: 100%;
          }
        }

        .photo_03, .photo_04 {
          width: 100%;

          img {
            aspect-ratio: 390/219;
            width: 100%;
          }
        }
      }

      .text_photo:nth-of-type(6) {
        .block {
          display: flex;
          gap: 10px;
        }
        .photo_08,
        .photo_09 {
          width: 100%;
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 445/300;
            object-fit: cover;
          }
        }
      }
      .text_photo:nth-of-type(7),
      .text_photo:nth-of-type(8),
      .text_photo:nth-of-type(9) {
        display: flex;
        gap: 10px;
        .photo_10,
        .photo_11,
        .photo_12,
        .photo_13,
        .photo_14,
        .photo_15 {
          width: 100%;
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 445/300;
            object-fit: cover;
          }
        }
      }
    }

    &.--blokus_text_photo_wrapper {
      .text_photo:first-of-type,
      .text_photo:nth-of-type(7),
      .text_photo:nth-of-type(8) {
        .photo_01,
        .photo_12,
        .photo_13 {
          width: 100%;
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
          }
        }
      }
      .text_photo:nth-of-type(2),
      .text_photo:nth-of-type(3),
      .text_photo:nth-of-type(4),
      .text_photo:nth-of-type(5),
      .text_photo:nth-of-type(6) {
        display: flex;
        gap: 10px;
        .photo_02,
        .photo_03,
        .photo_04,
        .photo_05,
        .photo_06,
        .photo_07,
        .photo_08,
        .photo_09,
        .photo_10,
        .photo_11 {
          width: 100%;
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 445/300;
            object-fit: cover;
          }
        }
      }
    }
    &.--citychase_text_photo_wrapper {

      .text_photo:first-of-type,
      .text_photo:nth-of-type(3) {
        display: flex;
        justify-content: space-between;
        margin-top: var(--block_margin);
        gap: 10px;

        &.--reverse {
          flex-direction: row-reverse;
        }

        .block:first-of-type {
          width: 55%;
        }
        .block:nth-of-type(2) {
          width: calc(45% - 10px);
        }

        .photo_01,
        .photo_05 {
          width: 100%;

          img {
            aspect-ratio: 500/476;
            width: 100%;
          }
        }

        .photo_02, 
        .photo_03,
        .photo_06,
        .photo_07 {
          width: 100%;

          img {
            aspect-ratio: 390/219;
            width: 100%;
          }
        }
      }
       
      .text_photo:nth-of-type(12) {
        .photo_24 {
          width: 100%;
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
          }
        }
      }
      
      .text_photo:nth-of-type(4),
      .text_photo:nth-of-type(5),
      .text_photo:nth-of-type(6),
      .text_photo:nth-of-type(7),
      .text_photo:nth-of-type(8),
      .text_photo:nth-of-type(9),
      .text_photo:nth-of-type(10),
      .text_photo:nth-of-type(11),
      .text_photo:nth-of-type(13) {
        display: flex;
        gap: 10px;
        .photo_08,
        .photo_09,
        .photo_10,
        .photo_11,
        .photo_12,
        .photo_13,
        .photo_14,
        .photo_15,
        .photo_16,
        .photo_17,
        .photo_18,
        .photo_19,
        .photo_20,
        .photo_21,
        .photo_22,
        .photo_23,
        .photo_25 {
          width: 100%;
          /* max-width: 445px; */
          margin-bottom: var(--main_text_photo_margin);
          img {
            width: 100%;
            aspect-ratio: 445/300;
            object-fit: cover;
          }
        }
      }
    }

    .text_photo:not(:last-of-type) {
      margin-bottom: 35px;
    }
  }
  @media screen and (max-width: 768px) {
    .text_photo_wrapper {
      padding-bottom: 30px;
      .text_photo {
        &:not(:last-of-type) {
          margin-bottom: 35px !important;
        }
      }
      .block {
        gap: 0 !important;
        &:first-of-type {
          margin-bottom: 35px;
        }
      }

      &.--mind_text_photo_wrapper {

        .text_photo:nth-of-type(2) {
          flex-direction: column;

          &.--reverse {
            flex-direction: row-reverse;
          }

          .block:first-of-type,
          .block:nth-of-type(2) {
            width: 100%;
          }

          .photo_02 {
            width: 100%;
          }
        }

        .text_photo:nth-of-type(6) {
          .block {
            flex-direction: column;
          }
        }
        .text_photo:nth-of-type(7),
        .text_photo:nth-of-type(8),
        .text_photo:nth-of-type(9) {
          flex-direction: column;
        }
      }
      &.--blokus_text_photo_wrapper {
        .text_photo:nth-of-type(2),
        .text_photo:nth-of-type(3),
        .text_photo:nth-of-type(4),
        .text_photo:nth-of-type(5),
        .text_photo:nth-of-type(6) {
          flex-direction: column;
        }
      }
      &.--citychase_text_photo_wrapper {
        .text_photo:first-of-type,
        .text_photo:nth-of-type(3) {
          flex-direction: column;

          .block:first-of-type,
          .block:nth-of-type(2) {
            width: 100%;
          }
        }

        .text_photo:nth-of-type(4),
        .text_photo:nth-of-type(5),
        .text_photo:nth-of-type(6),
        .text_photo:nth-of-type(7),
        .text_photo:nth-of-type(8),
        .text_photo:nth-of-type(9),
        .text_photo:nth-of-type(10),
        .text_photo:nth-of-type(11),
        .text_photo:nth-of-type(13) {
          flex-direction: column;
        }
      }
    }
  }
  .sofa_layout {
    margin: 60px auto 50px;
    padding-top: 80px;
    border-top: solid 1px #ffffff;

    .box {
      display: flex;
      gap: 20px;
      align-items: center;

      &:first-of-type {
        margin-bottom: 35px;
      }

      p {
        width: 50%;
      }
    }
    .layout-photo {
      width: 50%;

      img {
        width: 100%;
        aspect-ratio: 445/300;
        object-fit: cover;
      }
    }
    .layout-photo-re {
      width: 50%;
      img {
        aspect-ratio: 426/184;
        width: 100%;
        object-fit: cover;
      }
      span {
        font-size: 13px;
        display: block;
        text-align: center;
      }
      p {
        font-size: 11px;
        width: 100%;
        text-align: center;
        margin-top: 5px;
      }
    }
  }
  @media screen and (max-width: 768px) {
    .sofa_layout {
      margin: 60px auto;
      .box {
        flex-direction: column;

        &:first-of-type {
          gap: 10px;
        }

        p {
          width: 100%;
        }
      }
      .layout-photo {
        width: 100%;
      }
      .layout-photo-re {
        width: 100%;
      }
    }
  }
  .comment {
    border-top: solid 1px #ffffff;
    padding: 80px 0 120px;

    /* CSSリセットとコンテナの基本設定 */
    .faq-container {
      margin: 40px auto;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    /* 1. アコーディオンの基本枠 */
    .accordion-item {
      margin-bottom: 10px;
      overflow: hidden;
    }

    /* 2. 質問部分 (ヘッダー) */
    .accordion-header {
      display: block;
      padding: 15px 40px 15px 0;
      color: #333;
      font-weight: 600;
      cursor: pointer;
      position: relative;
      list-style: none; /* デフォルトのマーカーを消す */
      transition: background-color 0.2s;
    }


    /* 質問ヘッダーのデフォルトのマーカー（矢印）を完全に隠す */
    .accordion-header::-webkit-details-marker,
    .accordion-header::marker {
      display: none;
      content: "";
    }

    /* 3. 閉じた状態のアイコン (プラス記号) */
    .accordion-header::after {
      content: '+';
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5em;
      transition: transform 0.2s ease, color 0.2s;
      color: var(--brand-color02)
    }

    /* 4. 開いた状態のアイコンの変更 (マイナス記号) */
    .accordion-item[open] .accordion-header::after {
      content: '-';
      transform: translateY(-50%) rotate(0deg);
      color: var(--brand-color02)
    }

    /* 5. 回答部分（スムーズな開閉の核となる設定） */
    .accordion-content {
      padding: 0 15px;
      
      /* ★開閉どちらにも同じ時間と速度を適用★ */
      transition: 
        max-height 0.5s ease-in-out, 
        opacity 0.4s ease-in-out,    
        padding 0.5s ease-in-out; 

      /* 閉じている状態のデフォルト値 (初期状態) */
      opacity: 0; 
      max-height: 0; 
      overflow: hidden; 

      li {
        display: flex;
        justify-content: space-between;
        height: 100%;

        &:not(:last-of-type) {
          margin-bottom: 60px;
        }
      }

      .commenter-photo {
        width: 17%;
        max-width: 150px;
        img {
          width: 100%;
          aspect-ratio: 1/1;
          object-fit: cover;
        }
      }

      span {
        display: block;
        text-align: center;
        margin-top: 10px;
        font-size: 12px;
      }

      p {
        width: 78%;
        padding: 15px 18px;
        border: solid 1px var(--brand-color02);
        height: 100%;
      }
    }

    /* 6. アコーディオンが開いた状態（open属性が付いた時） */
    .accordion-item[open] .accordion-content {
      /* 開いている時の最終状態 */
      opacity: 1; 
      /* コンテンツの高さをカバーできる十分な値 */
      max-height: 1000px;
      padding: 15px; /* 開いた後、回答部分のパディングを適用 */
    }

  }
  @media screen and (max-width: 768px) {
    .comment {
      padding: 60px 0;

      .accordion-header {
        padding: 0 30px 0 0;

        &:after {
          right: 0;
        }
      }

      .accordion-content {
        li {
          flex-direction: column;
          gap: 20px;
        }
        .commenter-photo {
          width: 100%;
          margin: 0 auto;
        }
        p {
          width: 100%;
        }
      }
      .accordion-item[open] .accordion-content {
        max-height: 1500px;
      }
    }
  }
  .bottom-text {
    margin-top: 60px;
    padding-bottom: 150px;
  }
}

@media screen and (max-width: 768px) {
  .main-text_wrapper {
    width: 100%;
    padding-top: 30px;
    border-left: none;


    .bottom-text {
      margin-top: 0;
      padding-bottom: 60px;
    }
  }
}

.the_sofa_wrapper {
  background: var(--brand-color05);
  padding: 140px 0 110px;

  .the_sofa_inner {
    max-width: 1000px;
    width: 95%;
    margin: 0 auto;
  }

  .heading-the_sofa {
    font-size: clamp(30px, 3.9vw, 40px);
    display: flex;
    align-items: baseline;
    border-bottom: solid 1px var(--brand-color02);
    padding-bottom: 20px;
    margin-bottom: var(--block_margin);

    div {
      letter-spacing: -0.02em;
    }

    span {
      font-size: clamp(13px, 1.69vw, 19px);
      letter-spacing: 0.1em;
      line-height: 1.78;
      display: block;
      margin-left: 30px;
    }
  }

  .text_photo_pattern1 {
    display: flex;
    justify-content: space-between;
    margin-top: var(--block_margin);

    &:nth-of-type(2n) {
      flex-direction: row-reverse;
    }

    .photo {
      width: 40%;
      img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
      }
    }

    .text-wrap {
      width: 55%;
    }

    .product-name {
      margin-bottom: var(--text_margin);

      .en-text {
        font-size: clamp(23px, 2.9vw, 32px);
        letter-spacing: 0.03em;
        line-height: 1.25;
      }

      span {
        font-size: clamp(0.75rem, 0.614rem + 0.68vw, 1.125rem);
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .the_sofa_wrapper {
    padding: 60px 0;

    .heading-the_sofa {
      padding-bottom: 10px;
    }

    .text_photo_pattern1 {
      flex-direction: column;
      margin: 30px 0 45px;

      &:nth-of-type(2n) {
        flex-direction: column;
      }
      .photo {
        width: 100%;
      }
      .text-wrap {
        width: 100%;
      }

      .product-name {
        text-align: center;
        margin: 30px 0;
      }
    }
  }
}