/*----------------------------
基本設定
----------------------------*/

:root {
  --zenkaku: 'Zen Kaku Gothic New', sans-serif;
  --jost: 'Jost', sans-serif;
  --main-color: #59412a;
  --font-main: #59412a;
  --font-sub: #726358;
  --border-color: #787878;
  --bg-color: #ece5dc;
  --drawer-bar-gap: 8px;
  --duration: 300ms;
  --easing: ease;
}

.pc-visible {
  display: block;
}
.sp-visible {
  display: none;
}
@media (max-width: 767px) {
  .pc-visible {
    display: none;
  }
  .sp-visible {
    display: block;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.container--s {
  max-inline-size: 1080px;
  margin-inline: auto;
}

.container--l {
  max-inline-size: 1280px;
  margin-inline: auto;
}

@media only screen and (max-width: 767px) {
  .container--s {
    padding-inline: 5vw;
  }

  .container--l {
    padding-inline: 5vw;
  }
}

/*----------------------------
汎用
----------------------------*/

@media only screen and (min-width: 768px) {
  body {
    width: 100%;
    min-width: 1280px;
  }
}

body {
  background: #ece5dc;
  color: var(--font-main);
  font-family: var(--zenkaku);
  letter-spacing: 0.08em;
}

.title__group {
  display: flex;
  flex-direction: column-reverse;
  color: var(--font-main);
  gap: 10px;
  p {
    font-family: var(--jost);
    font-size: 85px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
  }
  h2 {
    font-size: 30px;
    letter-spacing: 0.25em;
  }
}

.title__main {
  font-size: 40px;
  letter-spacing: 0.3em;
  margin-block-end: 30px;
  line-height: 1.5;
}

.text__area {
  margin-block-end: 40px;
}

.text__main {
  letter-spacing: 0.08em;
  line-height: 2;
  & + & {
    margin-block-start: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .title__group {
    p {
      font-size: 40px;
    }
    h2 {
      font-size: 20px;
    }
  }
  .title__main {
    font-size: 8vw;
    letter-spacing: 0.2em;
    margin-block-end: 30px;
  }
}

.c-button {
  a {
    inline-size: 320px;
    border: 1px solid var(--border-color);
    border-radius: 50vw;
    display: block;
    text-align: center;
    padding: 15px 10px;
    transition: all 0.3s ease;
    span {
      position: relative;
      &::before {
        content: '';
        display: inline-block;
        mask-image: url('../img/common/arrow.svg');
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: contain;
        background-color: var(--main-color);
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        inline-size: 10px;
        block-size: 9px;
        transition: all 0.3s ease;
      }
    }
    &:hover {
      opacity: 0.7;
      background-color: var(--main-color);
      color: #fff;
      span {
        &::before {
          background-color: #fff;
        }
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .c-button {
    a {
      inline-size: 100%;
    }
  }
}

.c-button-line {
  position: relative;
  z-index: 5;
  a {
    margin-left: auto;
    inline-size: fit-content;
    border-bottom: 1px solid var(--border-color);
    display: block;
    padding: 15px 50px 15px 10px;
    &:hover {
      opacity: 0.7;
    }
    span {
      position: relative;
      &::before {
        content: '';
        display: inline-block;
        mask-image: url('../img/common/arrow.svg');
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: contain;
        background-color: var(--main-color);
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        inline-size: 10px;
        block-size: 9px;
      }
    }
  }
}

.buy__btn {
  a {
    inline-size: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 50vw;
    padding: 20px 10px;
    &:hover {
      opacity: 0.6;
    }
  }
}

@media only screen and (max-width: 767px) {
  .buy__btn {
    a {
      inline-size: 100%;
    }
  }
}

/*----------------------------
header
----------------------------*/

.header {
  padding: 20px 2vw 0;
}

.header__logo {
  inline-size: 150px;
  a {
    &:hover {
      opacity: 0.6;
    }
  }
}

.header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-block-start: 10px;
  ul {
    display: flex;
    align-items: center;
    gap: 20px;
    li {
      a {
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}

.header__mail {
  a {
    &:hover {
      opacity: 0.6;
    }
  }
}

.header__online {
  a {
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    height: 55px;
    border-radius: 50vw;
    padding: 20px 0 20px 20px;
    font-weight: 500;
    span {
      border: 1px solid var(--border-color);
      padding: 10px;
      border-radius: 50vw;
      width: 55px;
      aspect-ratio: 1 / 1;
      margin-inline-start: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      img {
        inline-size: 20px;
      }
    }
    &:hover {
      opacity: 0.6;
    }
  }
}

@media screen and (max-width: 767px) {
  .header {
    padding: 20px 5vw 0;
  }
  .header__logo {
    inline-size: 100px;
  }
  .header__nav {
    display: none;
  }

  .drawer-button {
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    touch-action: manipulation;
    cursor: pointer;
    background-color: transparent;
    border: none;
    position: fixed;
    right: 4%;
    top: 27px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50vw;
    inline-size: 65px;
    aspect-ratio: 1 / 1;
    box-shadow: 0px 8px 4px -6px rgba(0, 0, 0, 0.5);
    transition: top 0.3s ease;
  }
  .drawer-button.scrolled {
    top: 2%;
  }

  .drawer-button:where(.is-open *) {
    background: #fff;
    color: var(--font-main);
  }

  .drawer-button__icon {
    position: relative;
    width: 30px;
    height: auto;
    aspect-ratio: 1;
  }

  .drawer-button__bar {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 9999px;
  }

  .drawer-button__bar:where(.is-open *) {
    background-color: var(--main-color);
  }

  .drawer-button__bar:nth-child(1) {
    transform: translate(-50%, calc(-50% - var(--drawer-bar-gap)));
    transition: transform var(--duration) var(--easing);
  }

  .drawer-button__bar:nth-child(2) {
    transform: translate(-50%, -50%);
    transition: opacity var(--duration) var(--easing);
  }

  .drawer-button__bar:nth-child(3) {
    transform: translate(-50%, calc(-50% + var(--drawer-bar-gap)));
    transition: transform var(--duration) var(--easing);
  }

  .drawer-button__bar:nth-child(1):where(.is-open *) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .drawer-button__bar:nth-child(2):where(.is-open *) {
    opacity: 0;
  }

  .drawer-button__bar:nth-child(3):where(.is-open *) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .drawer-button__text {
    font-size: 10px;
    line-height: 1;
  }

  .drawer-nav[hidden] {
    display: none;
  }

  .drawer-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: transparent;
  }

  .drawer-nav__inner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 48px 24px;
    background-color: var(--main-color);
    opacity: 1;
    transform: translate3d(100%, 0, 0);
    transition: transform var(--duration) var(--easing), opacity var(--duration) var(--easing);
    overflow-y: scroll;
  }

  .drawer-nav__inner:where(.is-open *) {
    transform: unset;
    opacity: 1;
  }
  .drawer-nav__contents {
    padding-block-start: 70px;
  }
  .drawer-nav__menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .drawer-nav__item {
    border-bottom: 1px solid #fff;
    &:first-child {
      border-top: 1px solid #fff;
    }
  }

  .drawer-nav__link {
    display: block;
    padding: 20px 10px;
    line-height: 1.4;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    &::before {
      content: '';
      width: 6px;
      height: 6px;
      border: 0;
      border-top: solid 2px #fff;
      border-right: solid 2px #fff;
      transform: rotate(45deg);
      position: absolute;
      top: 0;
      right: 10px;
      bottom: 0;
      margin: auto;
    }
    &:focus {
      outline: none;
    }
  }

  .drawer__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    cursor: pointer;
    background-color: rgb(0 0 0 / 32%);
    opacity: 0;
    transition: opacity var(--duration) var(--easing);
  }

  .is-open :where(.drawer__overlay) {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .drawer-button__bar,
    .drawer-nav__inner,
    .drawer__overlay {
      transition: none !important;
    }
  }

  .is-open :where(.drawer__overlay) {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .drawer-button__bar,
    .drawer-nav__inner,
    .drawer__overlay {
      transition: none !important;
    }
  }
}

/*----------------------------
main
----------------------------*/
@media only screen and (max-width: 767px) {
  .main {
    overflow: hidden;
  }
}

/*----------------------------
ぱんくず
----------------------------*/
.pankuzu {
  padding-block: 10px;
}
.pankuzu__list {
  display: flex;
  align-items: center;
  gap: 20px;
  li {
    position: relative;
    &::after {
      content: '';
      position: absolute;
      top: 0;
      right: -10px;
      width: 1px;
      height: 100%;
      border-right: 1px solid var(--main-color);
    }
    &:last-child {
      &::after {
        display: none;
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .pankuzu {
    padding-block: 20px;
  }
  .pankuzu__list {
    li {
      font-size: 14px;
    }
  }
}

/*----------------------------
kv
----------------------------*/
.kv {
  padding-left: 210px;
  margin-block-start: -30px;
}

@media only screen and (max-width: 767px) {
  .kv {
    inline-size: 100%;
    padding-left: 5vw;
    margin-block-start: 20px;
  }
}

/*----------------------------
about
----------------------------*/
.about {
  margin-bottom: 100px;
}

.about__label {
  font-family: var(--jost);
  font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
  color: #fff;
  font-weight: 300;
  text-align: right;
  padding-right: 2.5vw;
}

.about__inner {
  margin-block-start: 50px;
}

@media only screen and (max-width: 767px) {
  .about {
    margin-bottom: 20vw;
  }
  .about__label {
    font-size: 12vw;
    padding-right: 2.5vw;
  }
}

/*----------------------------
item
----------------------------*/
.item {
  position: relative;
}

.item__label {
  position: absolute;
  font-family: var(--jost);
  font-size: 200px;
  color: #fff;
  font-weight: 300;
  transform: rotate(90deg);
  top: 10%;
  right: -3%;
  text-transform: uppercase;
}

.item__inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.item__img {
  inline-size: 55%;
  position: relative;
  z-index: 5;
}

.item__main {
  inline-size: calc(100% - 55% - 30px);
  position: relative;
  z-index: 5;
}

@media only screen and (max-width: 767px) {
  .item__label {
    font-size: 15vw;
    transform: none;
    top: -7%;
    left: 5vw;
    right: auto;
  }
  .item__inner {
    flex-direction: column;
    gap: 30px;
  }
  .item__main {
    inline-size: 100%;
  }
}

/*----------------------------
voice
----------------------------*/
.voice {
  position: relative;
  padding-block-start: 250px;
}

.voice__label {
  position: absolute;
  font-family: var(--jost);
  font-size: 200px;
  color: #fff;
  font-weight: 300;
  top: 5px;
  left: 0;
  text-transform: uppercase;
}

.voice__inner {
  position: relative;
  &::before {
    content: '';
    background: #fff;
    position: absolute;
    inline-size: 55%;
    height: 110%;
    border-radius: 0 50px 50px 0;
    left: 0;
    bottom: 0;
    z-index: 0;
  }
}

.voice__flex {
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.voice__img {
  inline-size: 55%;
}

.voice__main {
  inline-size: calc(100% - 55% - 30px);
}

@media only screen and (max-width: 767px) {
  .voice {
    padding-block: 10vw;
  }
  .voice__label {
    position: static;
    font-size: 15vw;
    padding-left: 5vw;
    text-transform: uppercase;
  }
  .voice__inner {
    position: relative;
    &::before {
      display: none;
    }
  }
  .voice__flex {
    gap: 30px;
    flex-direction: column;
  }

  .voice__img {
    inline-size: 100%;
  }

  .voice__main {
    inline-size: 100%;
  }
}

/*----------------------------
bnr
----------------------------*/
.bnr {
  margin-block: 100px;
}

.bnr__inner {
  display: flex;
}

.bnr__img {
  inline-size: 480px;
}

.bnr__body {
  inline-size: calc(100% - 480px);
  background: #fff;
  border-radius: 0 30px 30px 0;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.bnr__label {
  position: absolute;
  left: 0;
  bottom: -20px;
  color: #f9f7f5;
  font-family: var(--jost);
  font-size: 130px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
}

.bnr__title {
  font-size: 28px;
  letter-spacing: 0.25em;
  position: relative;
  z-index: 5;
}

.bnr__text {
  letter-spacing: 0.08em;
  line-height: 1.5;
  position: relative;
  z-index: 5;
}

@media only screen and (max-width: 767px) {
  .bnr {
    margin-block: 5vw 15vw;
  }
  .bnr__inner {
    flex-direction: column;
  }
  .bnr__img {
    inline-size: 100%;
    img {
      border-radius: 30px 30px 0 0;
    }
  }
  .bnr__body {
    inline-size: 100%;
    border-radius: 0 0 30px 30px;
    gap: 30px;
  }
  .bnr__label {
    display: none;
  }
}

/*----------------------------
column
----------------------------*/

.column__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/*----------------------------
card
----------------------------*/
.column {
  margin-block-end: 120px;
  padding-block-end: 120px;
  border-bottom: 1px solid #fff;
}
.column__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-block-start: 40px;
}
.card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0;
  &:hover {
    opacity: 0.6;
  }
}
.card__date {
  margin-block-start: 20px;
  font-weight: 500;
  font-family: var(--jost);
}
.card__title {
  font-weight: 500;
  margin-block-start: 10px;
  margin-block-end: 20px;
  padding-block-end: 20px;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.5;
}
.card__text {
  font-size: 12px;
  line-height: 1.5;
}

@media only screen and (max-width: 767px) {
  .column {
    margin-block-end: 15vw;
    padding-block-end: 15vw;
  }
  .column__body {
    margin-block-end: 40px;
  }
}

/*----------------------------
news
----------------------------*/
.news {
  margin-block-end: 100px;
}
.news__inner {
  display: flex;
  gap: 50px;
}
.news__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  inline-size: 250px;
  .c-button-line {
    a {
      margin-left: 0;
    }
  }
}
.news__body {
  inline-size: calc(100% - 50px - 250px);
}
.news__list {
  display: flex;
  flex-wrap: wrap;
  .news__item {
    inline-size: 100%;
    border-bottom: 1px solid var(--border-color);
    a {
      display: flex;
      gap: 20px;
      padding-block: 30px;
      time {
        font-family: var(--jost);
        font-weight: 500;
      }
      &:hover {
        opacity: 0.6;
      }
    }
    &:first-child {
      a {
        padding-block-start: 0;
      }
    }
  }
}

@media only screen and (max-width: 767px) {
  .news {
    margin-block-end: 15vw;
  }
  .news__inner {
    flex-direction: column;
    gap: 50px;
  }
  .news__head {
    inline-size: 100%;
    .c-button-line {
      display: none;
    }
  }
  .news__body {
    inline-size: 100%;
  }
  .news__list {
    flex-direction: column;
    .news__item {
      a {
        display: flex;
        gap: 20px;
        padding-block: 30px;
        flex-direction: column;
      }
    }
  }
}

/*----------------------------
footer__info
----------------------------*/
.footer__info {
  display: flex;
  justify-content: center;
  gap: 80px;
  background: #726358;
  padding-block: 50px;
  letter-spacing: 0.08em;
}
.footer__infoItem {
  inline-size: 370px;
  &:last-of-type {
    position: relative;
    &::before {
      content: '';
      background: #fff;
      width: 1px;
      height: 100%;
      position: absolute;
      top: 50%;
      left: -40px;
      transform: translateY(-50%);
    }
  }
}
.footer__infoItemEn {
  font-family: var(--jost);
  font-size: 45px;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  margin-block-end: 10px;
  padding-block-end: 10px;
  text-align: center;
}
.footer__infoItemJp {
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;
}
.footer__btn {
  margin-block-start: 25px;
  a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 50vw;
    padding: 20px 10px;
    &:hover {
      opacity: 0.6;
    }
  }
}

@media only screen and (max-width: 767px) {
  .footer__info {
    flex-direction: column;
    gap: 80px;
    padding-block: 50px;
    align-items: center;
  }
  .footer__infoItem {
    inline-size: 80%;
    &:last-of-type {
      position: relative;
      &::before {
        content: '';
        background: #fff;
        width: 100%;
        height: 1px;
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }
}

.footer {
  padding-block: 80px 30px;
  letter-spacing: 0.08em;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  margin-block-end: 50px;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  p {
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
}
.footer__logo {
  a {
    &:hover {
      opacity: 0.6;
    }
  }
}
.footer__flex {
  display: flex;
  align-items: center;
  gap: 30px;
  ul {
    display: flex;
    gap: 15px;
  }
}
.footer__nav {
  display: flex;
  gap: 80px;
  ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
    li {
      a {
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}
.footer__copyright {
  text-align: center;
  small {
    font-size: 12px;
  }
}

@media only screen and (max-width: 767px) {
  .footer {
    padding-block: 10vw 30px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }
  .footer__nav {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    ul {
      gap: 20px;
    }
  }
}

/*----------------------------
page__kv
----------------------------*/
.page__kv {
  display: flex;
  align-items: center;
  gap: 5%;
}

.page__title {
  display: flex;
  flex-direction: column-reverse;
  inline-size: 45%;
  padding-left: 5%;
  .eng {
    font-size: 40px;
    border-top: 1px solid var(--main-color);
    font-weight: normal;
    letter-spacing: 0.08em;
    margin-block-start: 10px;
    padding-block-start: 10px;
  }
  .ja {
    font-size: 90px;
  }
}

.kv__img {
  inline-size: 55%;
}

.page__label {
  font-family: var(--jost);
  font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
  color: #fff;
  font-weight: 300;
  text-align: right;
  padding-right: 2.5vw;
}

@media only screen and (max-width: 767px) {
  .page__kv {
    flex-direction: column;
    gap: 20px;
    margin-block-start: 5vw;
  }
  .page__title {
    inline-size: 100%;
    padding-left: 5vw;
    .eng {
      font-size: 5vw;
    }
    .ja {
      font-size: 15vw;
    }
  }
  .kv__img {
    inline-size: 100%;
    padding-left: 5vw;
  }
  .page__label {
    font-size: 12vw;
    padding-right: 2.5vw;
  }
}

/*----------------------------
page__about
----------------------------*/
.page-about-contents {
  padding-block: calc(clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem) + 4rem) 60px;
  position: relative;
  &::before {
    content: 'ABOUT My Eria';
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
    font-weight: 300;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    z-index: -1;
  }
}
.page-about-contents__body {
  display: flex;
  justify-content: space-between;
}

.page-about-contents__maintitle {
  font-size: 30px;
  letter-spacing: 0.3em;
  flex-shrink: 0;
}
.page-about-contents__subtitle {
  font-size: 36px;
  letter-spacing: 0.3em;
  margin-block-end: 30px;
}

.page-about-contents__text {
  letter-spacing: 0.08em;
  line-height: 2;
}

.page-about-contents__textMain {
  border-bottom: 1px solid var(--border-color);
  margin-block-end: 60px;
  padding-block-end: 60px;
  inline-size: 68%;
}

.page-about-contents__textSub {
  & + & {
    margin-block-start: 50px;
  }
}

@media (max-width: 767px) {
  .page-about-contents {
    padding-block: 20vw 0;
    &::before {
      font-size: 12vw;
    }
  }
  .page-about-contents__body {
    flex-direction: column;
    justify-content: space-between;
  }
  .page-about-contents__textMain {
    margin-block-end: 60px;
    padding-block-end: 60px;
    inline-size: 100%;
  }
  .page-about-contents__maintitle {
    font-size: 28px;
    margin-block-end: 40px;
    font-weight: 500;
  }
  .page-about-contents__subtitle {
    font-size: 26px;
  }
}

/*----------------------------
page__voice
----------------------------*/
.page-voice-contents {
  padding-block: calc(clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem) + 4rem) 100px;
  position: relative;
  &::before {
    content: 'VOICE';
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
    font-weight: 300;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    z-index: -1;
  }
}
.page-voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.voice__card {
  background: #fff;
  border-radius: 30px;
  padding: 30px;
}

.voice__cardHead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-block-end: 15px;
}

.voice__cardIcon {
  flex-shrink: 0;
}

.voice__cardHeadTitle {
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.voice__cardHeadText {
  margin-bottom: 15px;
  line-height: 1.5;
}

.voice__cardText {
  margin-block-end: 20px;
  line-height: 1.5;
}

.voice__cardThumbnail {
  inline-size: 80%;
  margin-inline: auto;
  img {
    inline-size: 100%;
  }
}
@media (max-width: 767px) {
  .page-voice-contents {
    padding-block: 20vw 50px;
    &::before {
      font-size: 12vw;
    }
  }
}
/*----------------------------
page__guide
----------------------------*/
.page-guide-contents {
  padding-block: calc(clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem) + 4rem) 60px;
  position: relative;
  &::before {
    content: 'GUIDE';
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
    font-weight: 300;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    z-index: -1;
  }
}

.faq__nav {
  margin-block: 40px 80px;
  background: #fff;
  border-radius: 30px;
  padding: 40px 10px;
  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    li {
      inline-size: calc(100% / 4);
      position: relative;
      &::before {
        content: '';
        position: absolute;
        background: var(--border-color);
        inline-size: 1px;
        block-size: 100%;
        top: 0;
        right: 0;
      }
      &:nth-child(4),
      &:nth-child(8) {
        &::before {
          display: none;
        }
      }
      a {
        display: block;
        padding: 10px 20px;
        position: relative;
        transition: all 0.3s ease;
        &::before {
          content: '';
          position: absolute;
          top: 50%;
          right: 20px;
          transform: translateY(-50%);
          background-image: url('../img/common/arrow.svg');
          background-size: contain;
          inline-size: 10px;
          aspect-ratio: 1 / 1;
        }
        &:hover {
          opacity: 0.6;
        }
      }
    }
  }
}

.faq__contents {
  display: flex;
  gap: 70px;
  & + & {
    margin-block-start: 50px;
  }
}

.faq__mainTitle {
  inline-size: 25%;
  h3 {
    font-size: 30px;
    letter-spacing: 0.08em;
  }
}

.faq__body {
  inline-size: calc(100% - 70px - 25%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-block-end: 50px;
}

.faq__bodyTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  p {
    line-height: 1.5;
    letter-spacing: 0.08em;
    font-size: 18px;
    font-weight: 600;
  }
}

.faq__bodyTitleIcon {
  flex-shrink: 0;
}

.faq__text {
  padding-left: 40px;
  line-height: 1.5;
}

@media only screen and (max-width: 767px) {
  .page-guide-contents {
    padding-block: 15vw 50px;
    &::before {
      font-size: 12vw;
    }
  }
  .faq__nav {
    margin-block: 40px;
    padding: 20px 10px;
    ul {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 0;
      li {
        inline-size: calc(100% / 2);
        &::before {
          display: none;
        }
        a {
          padding: 10px;
          font-size: 14px;
          &::before {
            right: 10px;
          }
        }
      }
    }
  }
  .faq__contents {
    flex-wrap: wrap;
    gap: 20px;
    & + & {
      margin-block-start: 50px;
    }
  }
  .faq__mainTitle {
    inline-size: 100%;
    h3 {
      font-size: 30px;
      letter-spacing: 0.08em;
    }
  }
  .faq__body {
    inline-size: 100%;
    padding-block-end: 30px;
    gap: 20px;
  }
  .faq__contents {
    & + & {
      margin-block-start: 30px;
    }
  }
}

/*----------------------------
page__item
----------------------------*/
.page-sofa-contents {
  padding-block: calc(clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem) + 4rem) 80px;
  position: relative;
  &::before {
    content: 'ITEM';
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
    font-weight: 300;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    z-index: -1;
  }
}

.sofa__thumbnailWrap {
  display: flex;
  gap: 30px;
  margin-block-start: 30px;
}
.sofa__thumbnail {
  inline-size: 55%;
}
.sofa__colorWrap {
  inline-size: calc(100% - 30px - 55%);
  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
    margin-block-start: 10px;
    li {
      inline-size: calc((100% - 10px * 4) / 5);
      cursor: pointer;
      .sofa-color {
        inline-size: 100%;
        aspect-ratio: 1 / 1;
        position: relative;
        border-radius: 8px;
        &::before {
          content: '';
          position: absolute;
          background-image: url('../img/item/search.svg');
          background-size: contain;
          top: 3px;
          right: 3px;
          inline-size: 15px;
          aspect-ratio: 1 / 1;
        }
      }
      p {
        font-size: 11px;
        margin-block-start: 5px;
        text-align: center;
      }
    }
  }
}

.sofa__detailWrap {
  display: flex;
  justify-content: space-between;
  margin-block-start: 20px;
}
.sofa__detailLinks {
  a {
    text-decoration: underline;
    position: relative;
    display: block;
    font-size: 14px;
    padding-inline-end: 18px;
    & + & {
      margin-block-start: 10px;
    }
    &::before {
      content: '';
      position: absolute;
      background-image: url('../img/item/link.svg');
      background-size: contain;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      inline-size: 15px;
      aspect-ratio: 1 / 1;
    }
    &:hover {
      opacity: 0.7;
    }
  }
}

.sofa__priceWrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-block-start: 20px;
}
.sofa__price {
  font-size: 14px;
  span {
    font-size: 32px;
    font-weight: 500;
  }
}

.sofa__specificationWrap {
  margin-block-start: 40px;
}
.sofa__specificationTitle {
  font-size: 18px;
  margin-block-end: 30px;
}
.sofa__specificationFlex {
  display: flex;
  gap: 40px;
}
.sofa__specificationTable {
  inline-size: 30%;
  dl {
    display: flex;
    flex-wrap: wrap;
    dt,
    dd {
      border-bottom: 1px solid var(--border-color);
      margin-block-end: 20px;
      padding-block-end: 20px;
      &:last-of-type {
        border-bottom: none;
        margin-block-end: 0;
        padding-block-end: 0;
      }
    }
    dt {
      inline-size: 30%;
      font-weight: normal;
    }
    dd {
      inline-size: 70%;
    }
  }
}
.sofa__specificationOther {
  inline-size: calc(100% - 40px - 30%);
  display: flex;
  gap: 20px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.sofa__specificationOtherText {
  p {
    & + & {
      margin-block-start: 1em;
    }
  }
}

.sofa__btnWrap {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-block-start: 50px;
}

.sofa__cardWrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-block-start: 80px;
}

.sofa__cardThumbnail {
  img {
    inline-size: 100%;
  }
}

.sofa__cardTitle {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  margin-block: 20px;
  padding-block-end: 20px;
}

.page-other-contents {
  padding-block: calc(clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem) + 4rem) 80px;
  position: relative;
  &::before {
    content: 'OTHER';
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(9.375rem, -13.542rem + 27.778vi, 12.5rem);
    font-weight: 300;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    z-index: -1;
  }
}

.other__cardWrap {
  margin-block-start: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.othre__cardThumbnail {
  img {
    inline-size: 100%;
  }
}
.other__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 20px;
  p {
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
}

.other__cardBtn {
  a {
    inline-size: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 50vw;
    padding: 20px 10px;
    &:hover {
      opacity: 0.6;
    }
  }
}

@media only screen and (max-width: 767px) {
  .page-sofa-contents {
    padding-block: 15vw 30px;
    &::before {
      font-size: 12vw;
    }
  }
  .sofa__thumbnailWrap {
    flex-direction: column;
    gap: 30px;
    margin-block-start: 30px;
  }
  .sofa__thumbnail {
    inline-size: 100%;
  }
  .sofa__colorWrap {
    inline-size: 100%;
  }
  .sofa__detailWrap {
    margin-block-start: 30px;
  }
  .sofa__specificationFlex {
    flex-direction: column;
    gap: 40px;
  }
  .sofa__specificationTable {
    inline-size: 100%;
  }
  .sofa__specificationOther {
    inline-size: 100%;
    gap: 20px;
    flex-direction: column;
  }
  .sofa__btnWrap {
    flex-direction: column;
    gap: 20px;
    margin-block-start: 50px;
  }
  .page-other-contents {
    padding-block: 15vw 30px;
    &::before {
      font-size: 12vw;
    }
  }
}
