@charset "utf-8";

/**
 * @file
 * メインCSSファイル
 */

/* global */
* {
  /* scroll-margin-top: var(--size-80); */
}

@media (max-width: 768px) {
  * {
    scroll-margin-top: var(--size-40);
  }
}

html {
  position: relative;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.is-overflow-hidden {
  overflow: hidden;
}
body {
  font-family: "shippori-mincho", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* component */
.c-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  z-index: 1000;
  transition: opacity var(--transition), visibility var(--transition);
}
.c-loading.is-loaded {
  opacity: 0;
  visibility: hidden;
}
.c-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #FFF;
  color: #000;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease-in-out;
}
.c-skip-link:focus {
  top: 10px;
  z-index: 302;
}
.c-bold {
  font-weight: 700;
}
.c-only-pc {
  display: block;
}
.c-only-sp {
  display: none;
}
.c-bg-primary {
  background: #F9F5F3;
}
.c-text-center {
  text-align: center;
}
.c-bg-color {
  background: #F9F5F3;
}

@media (max-width: 768px) {
  .c-only-pc {
    display: none;
  }
  .c-only-sp {
    display: block;
  }
}

.c-inner {
  max-width: calc(1200px + var(--size-80) * 2);
  margin: 0 auto;
  padding: 0 var(--size-80);
}

@media (max-width: 768px) {
  .c-inner {
    padding: 0 var(--size-10);
  }
}

.c-button {
  display: block;
  text-align: center;
  font-size: var(--size-18);
  letter-spacing: 0.18em;
  line-height: 1.66;
  color: #fff;
  background: #A2662E;
  padding: var(--size-22);
  border-radius: 100vmax;
  transition: opacity var(--transition);
  width: 100%;
  max-width: var(--size-594);
  margin: 0 auto;
}
.c-button:hover {
  opacity: 0.5;
}

@media (max-width: 1512px) {
  .c-button {
    max-width: var(--size-500);
  }
}

.c-swiper-pagination {
  display: flex;
  gap: var(--size-10);
  justify-content: flex-end;
}
.c-swiper-pagination .swiper-pagination-bullet {
  width: var(--size-40);
  height: var(--size-5);
  margin: 0!important;
  border-radius: 0;
  opacity: 1;
  background: #D9D9D9;
}
.c-swiper-pagination .swiper-pagination-bullet-active {
  background: #272727;
}
.c-swiper-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--size-10);
}
.c-swiper-button-prev,
.c-swiper-button-next {
  height: var(--size-40);
  width: var(--size-40);
  background: url(../img/common/slider-arrow-left.webp) no-repeat center center / contain;
  position: unset;
  display: block;
  margin-top: 0;
}
.l-case .c-swiper-button-prev,
.l-case .c-swiper-button-next {
  position: absolute;
  background: url(../img/common/slider-arrow-left-wh.webp) no-repeat center center / contain;
}
.l-case .c-swiper-button-prev {
  transform: scaleX(-1);
  left: 10px;
}
.l-case .c-swiper-button-next {
  transform: scaleX(1);
}
.c-swiper-button-prev::after,
.c-swiper-button-next::after {
  display: none;
}
.c-swiper-button-prev {
  left: 0;
}
.c-swiper-button-next {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .c-swiper-pagination {
    gap: var(--size-6);
  }
  .c-swiper-pagination .swiper-pagination-bullet {
    width: var(--size-20);
    height: var(--size-3);
  }
}

/* section title */
.c-section-title {
  position: relative;
  padding-bottom: var(--size-20);
}
.c-section-title::before {
  content: "";
  display: block;
  width: var(--size-62);
  height: var(--size-1);
  background: #000;
  position: absolute;
  bottom: 0;
  left: 0;
}
.c-section-title__title {
  font-size: var(--size-24);
}
.c-section-title__sub {
  font-size: var(--size-12);
  margin-bottom: var(--size-10);
}

@media (max-width: 768px) {
  .c-section-title__title {
    font-size: var(--size-20);
  }
  .c-section-title__sub {
    font-size: var(--size-10);
  }
}

/* header */
.l-header {
  background: #FFF;
  padding: var(--size-10) var(--size-48);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l-header__logo {
  width: fit-content;
}
.l-header__logo-link {
  display: block;
}
.l-header__logo-img {
  height: auto;
  width: var(--size-265);
  object-fit: contain;
}
.l-header__nav {
  flex: 1;
}
.l-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--size-18);
}
.l-header__buttons {
  display: flex;
  align-items: center;
  gap: var(--size-12);
  margin-left: var(--size-44);
}
.l-header__button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-6);
  background: #4B3017;
  color: #FFF;
  padding: var(--size-4) var(--size-15);
  border-radius: 100vmax;
  font-size: var(--size-21);
  letter-spacing: 0.1em;
  transition: opacity var(--transition);
  width: var(--size-210);
  text-align: center;
  min-height: var(--size-32);
}
.l-header__button-link:hover {
  opacity: 0.5;
}
.l-header__button-link.u-gold {
  background: #A2662E;
  letter-spacing: 0em;
  font-size: var(--size-16);
}
.l-header__nav-link {
  font-size: var(--size-14);
  transition: opacity var(--transition);
}
.l-header__nav-link:hover {
  opacity: 0.5;
}
.l-header__hamburger {
  display: none;
}

@media (max-width: 1850px) {
  .l-header__nav {
    display: none;
  }
  .l-header__hamburger {
    display: block;
    position: relative;
  }
  .l-header__buttons {
    flex: 1;
    justify-content: flex-end;
  }
  .l-header__hamburger-button {
    width: var(--size-40);
    height: var(--size-40);
    margin-left: var(--size-24);
  }
  .l-header__hamburger-open,
  .l-header__hamburger-close {
    display: none;
  }
  .l-header__hamburger-open.is-active,
  .l-header__hamburger-close.is-active {
    display: block;
  }
  .l-header__hamburger-menu {
    position: fixed;
    top: var(--size-61);
    right: 0;
    width: var(--size-375);
    height: calc(100lvh - var(--size-61));
    background: #FFF;
    z-index: 100;
    overflow-y: auto;
    padding-bottom: 40px;
  }
  .l-header__hamburger-list {
    display: flex;
    flex-wrap: wrap;
    background: #F9F5F3;
  }
  .l-header__hamburger-item {
    width: 50%;
    border-top: 1px solid #DADADA;
    border-bottom: 1px solid #DADADA;
  }
  .l-header__hamburger-item:nth-child(n+3) {
    border-top: none;
  }
  .l-header__hamburger-item:nth-child(2n-1) {
    border-right: 1px solid #DADADA;
  }
  .l-header__hamburger-link {
    display: block;
    padding: var(--size-12) var(--size-15);
    font-size: var(--size-12);
    line-height: 2;
  }
  .l-header__hamburger-menu-buttons {
    display: flex;
  }
  .l-header__hamburger-menu-button {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-10);
    padding: var(--size-10);
    background: #4B3017;
    color: #FFF;
    font-size: var(--size-17);
    letter-spacing: 0.1em;
  }
  .l-header__hamburger-menu-button.u-gold {
    background: #A2662E;
    font-size: var(--size-12);
    line-height: 1.66;
  }
  .l-header__hamburger-menu-button-icon {
    display: block;
    width: var(--size-30);
    height: var(--size-30);
  }
  .l-header__hamburger-menu-reservation {
    display: block;
    border: 1px solid #000;
    border-radius: 100vmax;
    font-size: var(--size-10);
    line-height: 1.5;
    padding: var(--size-4) var(--size-10);
    margin: var(--size-20) var(--size-16) var(--size-35);
    text-align: center;
    transition: opacity var(--transition);
  }
  .l-header__hamburger-menu-reservation:hover {
    opacity: 0.5;
  }
  .l-header__hamburger-menu-line-guide-text {
    font-size: var(--size-14);
    line-height: 1.5;
    margin-bottom: var(--size-10);
    text-align: center;
  }
  .l-header__hamburger-menu-line-guide-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-10);
    width: var(--size-250);
    margin: 0 auto;
    padding: var(--size-10) var(--size-15);
    background: #000;
    color: #FFF;
    font-size: var(--size-14);
    line-height: 1.66;
    transition: opacity var(--transition);
  }
  .l-header__hamburger-menu-line-guide-button:hover {
    opacity: 0.5;
  }
  .l-header__hamburger-footer-inner-sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-36);
    margin: var(--size-35) 0;
  }
  .l-header__hamburger-footer-inner-sns-link {
    display: block;
    width: var(--size-24);
    height: var(--size-24);
    transition: opacity var(--transition);
  }
  .l-header__hamburger-footer-inner-sns-link:hover {
    opacity: 0.5;
  }
  .l-header .p-footer__contents-logo {
    margin: 0 auto;
  }
  .l-header__hamburger-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), visibility 0.3s;
  }
  .l-header__hamburger-menu.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .l-header__hamburger-menu-inner {
    display: none;
    margin-bottom: var(--size-40);
  }
  .l-header__hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), visibility 0.3s;
  }
  .l-header__hamburger-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .l-header__hamburger-menu-inner {
    display: block;
  }
  .l-header__buttons {
    display: none;
  }
}

@media (max-width: 768px) {
  .l-header {
    padding: var(--size-14) var(--size-8);
  }
  .l-header__hamburger-menu {
    top: var(--size-69);
  }
}

@media (max-width: 480px) {
  .l-header__hamburger-menu {
    width: 100%;
    padding-bottom: var(--size-120);
  }
}

/* mv */
.p-mv__swiper {
  height: 100%;
}
.swiper-wrapper.p-mv__slider-wrapper {
  height: 100%;
}
.p-mv__inner {
  display: flex;
  gap: var(--size-98);
}
.p-mv__slider-container {
  flex: 1;
  min-width: var(--size-500);
}
.p-mv__content {
  padding: var(--size-48) 0 var(--size-48);
  margin-right: var(--size-95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--size-594);
}
.p-mv__title {
  font-size: var(--size-39);
  color: #8D5938;
  margin-bottom: var(--size-18);
  line-height: 1.66;
}
.p-mv__read {
  font-size: var(--size-17);
  line-height: 2.41;
  text-decoration: underline;
  text-underline-offset: 0.75em;
  margin-bottom: var(--size-80);
}
.p-mv__text {
  font-size: var(--size-16);
  line-height: 2;
  letter-spacing: 0.1em;
  margin-bottom: var(--size-10);
  color: #8D5938;
}
.p-mv__labels {
  margin: 0 auto var(--size-10);
  width: 100%;
  max-width: var(--size-463);
  height: auto;
  object-fit: contain;
}
.p-mv__slider-container {
  position: relative;
}
.p-mv__slider-pagination-wrapper {
  position: absolute;
  bottom: var(--size-24);
  right: var(--size-31);
  width: calc(100% - var(--size-62));
}
.p-mv__slider-slide {
  aspect-ratio: 567 / 396;
  height: 100%;
  overflow: hidden;
}
.p-mv__slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-mv__button:not(.c-button) {
  display: block;
  padding: var(--size-2) var(--size-25);
  text-align: center;
  font-size: var(--size-14);
  line-height: 2.2;
  border: 1px solid #000;
  border-radius: 100vmax;
  margin: 0 auto;
  width: fit-content;
  margin-top: var(--size-46);
  transition: opacity var(--transition);
}
.p-mv__button:hover {
  opacity: 0.5;
}
.p-mv__area {
  padding: var(--size-10) var(--size-16);
  background: #fff;
  width: 100%;
  max-width: var(--size-463);
  margin: 0 auto var(--size-54);
  text-align: left;
  color: #000
}
.p-mv__area-text {
  font-size: var(--size-12);
  line-height: 1.5;
}
.p-mv__area-text-title {
  display: inline-block;
  height: fit-content;
  background: #F9F5F3;
  padding: var(--size-2) var(--size-6);
  border-radius: var(--size-3);
  font-size: var(--size-12);
  line-height: 1.5;
}
.p-mv__area-text-text {
  margin-top: var(--size-2);
  font-size: var(--size-12);
  line-height: 1.5;
  flex: 1;
}
.p-mv__area-text-small {
  font-size: var(--size-10);
  margin-bottom: var(--size-5);
  display: inline-block;
}
.p-mv__area-text-title-wrapper {
  display: flex;
  gap: var(--size-6);
  margin-top: var(--size-5);
}

@media (max-width: 1512px) {
  .p-mv__inner {
    gap: var(--size-64);
  }
  .p-mv__content {
    margin-right: var(--size-64);
  }
  .p-mv__read {
    margin-bottom: var(--size-32);
  }
  .p-mv__button:not(.c-button) {
    margin-top: var(--size-24);
  }
  .p-mv__area {
    margin-bottom: var(--size-32);
  }
}

@media (max-width: 1200px) {
  .p-mv__inner {
    flex-direction: column;
    gap: 0;
  }
  .p-mv__slider-container {
    width: 100%;
  }
  .p-mv__slider-slide {
    aspect-ratio: 2 / 1;
  }
  .p-mv__content {
    max-width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .p-mv__slider-container {
    min-width: unset;
  }
  .p-mv__slider-slide {
    aspect-ratio: 1134 / 794;
  }
  .p-mv__content {
    padding: 0 var(--size-10);
  }
  .p-mv__title {
    margin-top: var(--size-15);
    font-size: var(--size-24);
    line-height: 1.5;
  }
  .p-mv__read {
    font-size: var(--size-14);
    margin-bottom: var(--size-24);
  }
  .p-mv__text {
    font-size: var(--size-13);
    font-weight: 500;
    margin-bottom: var(--size-5);
  }
  .p-mv__labels {
    margin-bottom: var(--size-33);
  }
  .p-mv__button.c-only-pc {
    display: none;
  }
  .p-mv__button.c-only-sp {
    display: block;
  }
  .p-mv__slider-pagination-wrapper {
    bottom: var(--size-14);
    right: var(--size-12);
  }
  .p-mv__area {
    padding: var(--size-8) var(--size-10);
  }
  .p-mv__area-text {
    font-size: var(--size-11);
  }
  .p-mv__area-sp {
    padding: var(--size-10) var(--size-10) var(--size-20);
  }
}

/* problems */
.p-problems {
  padding: var(--size-135) 0 var(--size-160);
}
.p-problems__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--size-10);
  row-gap: var(--size-10);
  justify-content: space-between;
  margin-bottom: var(--size-10);
}
.p-problems__item:nth-child(3n-2) {
  width: var(--size-370);
}
.p-problems__item:nth-child(3n-1) {
  width: var(--size-485);
}
.p-problems__item:nth-child(3n) {
  width: var(--size-310);
}
.p-problems__text {
  font-size: var(--size-16);
  line-height: 2.4;
  display: flex;
  align-items: center;
  gap: var(--size-8);
}
.p-problems__text::before {
  content: "";
  display: inline-block;
  width: var(--size-26);
  height: var(--size-26);
  background: url(../img/common/icon-baloon.svg) no-repeat center center / cover;
}
.p-problems__content {
  display: block;
  width: var(--size-584);
  height: var(--size-79);
  margin: var(--size-35) auto 0;
}

@media (max-width: 1400px) {
  .p-problems__list {
    justify-content: flex-start;
  }
  .p-problems__item {
    width: calc(50% - var(--size-10) / 2)!important;
  }
}

@media (max-width: 768px) {
  .p-problems {
    padding: var(--size-45) 0 var(--size-60);
  }
  .p-problems__text {
    font-size: var(--size-12);
    line-height: 1.5;
  }
  .p-problems__list {
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
    gap: var(--size-24);
  }
  .p-problems__item {
    width: fit-content!important;
  }
  .p-problems__content {
    width: 100%;
    max-width: var(--size-355);
    margin: var(--size-24) auto 0;

  }
}

/* logos */
.p-logos {
  padding: var(--size-34) 0;
  overflow: hidden;
  background: #F4ECE6;
}
/* ロゴスライダー Swiper用 */
.p-logos__swiper {
  width: 100%;
  overflow: hidden;
}
.p-logos__swiper:not(:first-child) {
  margin-top: var(--size-20);
}
.p-logos__swiper3 {
  padding-left: var(--size-100);
}
.p-logos__slider {
  display: flex;
  transition-timing-function: linear;
}
.p-logos__slide {
  width: var(--size-181);
  height: var(--size-99);
  padding: var(--size-30);
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-logos__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .p-logos {
    padding: var(--size-27) 0;
  }
  .p-logos__slide {
    width: var(--size-123);
    height: var(--size-67);
    padding: var(--size-10);
  }
  .p-logos__swiper:not(:first-child) {
    margin-top: var(--size-14);
  }
  .p-logos__swiper3 {
    padding-left: var(--size-75);
  }
}

/* about */
.l-about {
  padding: var(--size-160) 0 var(--size-150);
}
.p-about__content-inner {
  display: flex;
  justify-content: center;
  gap: var(--size-30);
}
.p-about__content-text {
  width: 100%;
  max-width: var(--size-430);
}
.p-about__content-movie {
  flex: 1;
}
.p-about__content-movie iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.p-about__content-text-about {
  font-size: var(--size-12);
  margin-bottom: var(--size-10);
}
.p-about__content-text-name {
  font-size: var(--size-24);
  margin-bottom: var(--size-44);
}
.p-about__content-text-text {
  font-size: var(--size-14);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .p-about__content-inner {
    flex-direction: column;
  }
  .p-about__content-movie {
    width: 100%;
  }
  .p-about__content-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .l-about {
    padding: var(--size-65) 0 var(--size-65);
  }
  .p-about__content-text-about {
    font-size: var(--size-10);
  }
  .p-about__content-inner {
    gap: var(--size-34);
  }
  .p-about__content-text-name {
    font-size: var(--size-20);
    margin-bottom: var(--size-34);
  }
  .p-about__content-text-text {
    font-size: var(--size-14);
    line-height: 1.4;
  }
}


/* service */
.l-service {
  padding: var(--size-160) 0 var(--size-150);
}
.p-service__content-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: var(--size-20);
  row-gap: var(--size-90);
}
.p-service__content-item {
  width: calc(50% - var(--size-20) / 2);
  display: flex;
  flex-direction: column;
}
.p-service__content-item-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-26);
  margin-bottom: var(--size-25);
}
.p-service__content-item-title-num {
  display: inline-block;
  font-size: var(--size-40);
  letter-spacing: 0.12em;
  color: #8D5938;
}
.p-service__content-item-title-text {
  font-size: var(--size-20);
  margin-bottom: var(--size-5);
}
.p-service__content-item-inner {
  flex: 1;
  border: 1px solid #C6C6C6;
  display: flex;
  flex-direction: column;
}
.p-service__content-item-image {
  border-bottom: 1px solid #C6C6C6;
}
.p-service__content-item-image img {
  width: 100%;
  height: auto;
}
.p-service__content-item-text {
  flex: 1;
  background: #F9F5F3;
  padding: var(--size-20) var(--size-25);
}
.p-service__content-item-text-title {
  text-align: center;
  font-size: var(--size-20);
  margin-bottom: var(--size-17);
  line-height: 1.8;
}
.p-service__content-item-text-text {
  font-size: var(--size-14);
  line-height: 2;
}

@media (max-width: 768px) {
  .l-service {
    padding: var(--size-70) 0 var(--size-70);
  }
  .p-service__content-item {
    width: var(--size-329);
    height: 100%;
  }
  .p-service__content-item-title {
    justify-content: flex-start;
    gap: var(--size-10);
    margin-bottom: var(--size-10);
  }
  .p-service__content-item-title-num {
    font-size: var(--size-30);
  }
  .p-service__content-item-title-text {
    font-size: var(--size-18);
  }
  .p-service__content-item-text {
    padding: var(--size-15) var(--size-16);
  }
  .p-service__content-item-text-title {
    font-size: var(--size-16);
    margin-bottom: var(--size-21);
  }
  .p-service__content-item-text-text {
    font-size: var(--size-14);
  }
  .p-service__content-list-sp-pagination {
    position: unset;
  }
  
}

/* case */
.l-case {
  padding: var(--size-160) 0 var(--size-150);
}
.p-case__content-item-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--size-20);
  row-gap: var(--size-90);
}
.p-case__category-inner,
.p-referral__category-inner {
  display: flex;
  gap: var(--size-27);
  padding: var(--size-16) var(--size-45);
  background: #FFF;
  border-radius: 100vmax;
  width: fit-content;
}
.p-case__title-wrapper,
.p-referral__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-case__category-title,
.p-referral__category-title {
  margin-left: var(--size-20);
  margin-bottom: var(--size-10);
  font-size: var(--size-10);
}
.p-case__category-input,
.p-referral__category-input {
  display: block;
  border: 1px solid #000;
  width: var(--size-16);
  height: var(--size-16);
  position: relative;
  border-radius: var(--size-5);
}
.p-case__category-input:checked::before,
.p-referral__category-input:checked::before {
  content: "レ";
  display: block;
  position: absolute;
  top: -16px;
  left: -7px;
  font-size: var(--size-26);
  transform: rotate(-24deg);
}
.p-case__category-label,
.p-referral__category-label {
  display: flex;
  gap: var(--size-10);
  align-items: center;
}
.p-case__category-label-text {
  font-size: var(--size-14);
  line-height: 1.5;
}
.p-case__content-item-list {
  margin-top: var(--size-33);
}
.p-case__content-item-list-item {
  display: flex;
  gap: var(--size-60);
}
.p-case__content-item-list-item-image {
  flex: 1;
}
.p-case__content-item-list-item-swiper {
  border: 1px solid #ddd;
}
.p-case__content-item-list-item-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
}
.p-case__content-item-list-item-text {
  width: 100%;
  max-width: var(--size-446);
}
.p-case__content-item-list-item-swiper-pagination {
  position: unset;
  margin-top: var(--size-26);
}
.p-case__content-item-list-item-swiper-pagination.c-swiper-pagination .swiper-pagination-bullet-active {
  background: #838383;
}
.p-case__content-item-list-item-text-tags {
  display: flex;
  gap: var(--size-12);
  flex-wrap: wrap;
  padding-bottom: var(--size-25);
  border-bottom: 1px solid #000;
}
.p-case__content-item-list-item-text-tags-tag {
  font-size: var(--size-14);
  padding: var(--size-8) var(--size-12);
  border-radius: 100vmax;
  border: 1px solid #000;
}
.p-case__content-item-list-item-text-title {
  padding: var(--size-12) 0;
  font-size: var(--size-24);
  line-height: 1.5;
  border-bottom: 1px solid #000;
}
.p-case__content-item-list-item-text-list {
  display: flex;
  align-items: center;
  gap: var(--size-20);
  padding: var(--size-8) 0;
  border-bottom: 1px solid #000;
}
.p-case__content-item-list-item-text-list-title {
  width: var(--size-100);
  font-size: var(--size-14);
}
.p-case__content-item-list-item-text-list-text {
  width: calc(100% - var(--size-100));
  font-size: var(--size-14);
  line-height: 1.5;
}
.p-case__content-item {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.4,0,0.2,1),
    visibility 0s linear 0.5s;
}
.p-case__content-item.is-active {
  max-height: 5000px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.4,0,0.2,1),
    visibility 0s;
}

@media (max-width: 1024px) {
  .p-case__content-item-list-item {
    flex-direction: column;
    gap: var(--size-20);
  }
  .p-case__content-item-list-item-text {
    max-width: 100%;
  }
  .p-case__content-item-list-item-image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .l-case {
    padding: var(--size-70) 0 var(--size-70);
  }
  .p-case__title-wrapper {
    flex-direction: column;
    gap: var(--size-20);
    align-items: flex-start;
  }
  .p-case__category {
    margin-top: var(--size-20);
  }
  .p-case__content-item-list {
    margin-top: var(--size-43);
  }
  .p-case__content-item-list-item-swiper-pagination {
    margin-top: var(--size-14);
  }
  .p-case__content-item-list-item {
    gap: var(--size-16);
  }
  .p-case__content-item-list-item-text-tags {
    padding-bottom: var(--size-13);
  }
  .p-case__content-item-list-item-text-tags-tag {
    font-size: var(--size-12);
  }
  .p-case__content-item-list-item-text-title {
    font-size: var(--size-20);
    line-height: 1.6;
  }
  .p-case__content-item-list-item-text-list {
    padding: var(--size-18) 0;
  }
  .p-case__content-item-list-item-text-list-title {
    width: 4em;
  }
}

/* selected */
.l-selected {
  padding: var(--size-150) 0 var(--size-126);
  overflow: hidden;
}
.p-selected__contents-swiper {
  overflow: visible;
}
.p-selected__contents-swiper-slide {
  width: 100%;
  max-width: var(--size-576);
}
.p-selected__contents-item-title-text {
  font-size: var(--size-18);
  margin-bottom: var(--size-23);
  text-align: center;
  line-height: 1.5;
}
.p-selected__contents-item {
  overflow: hidden;
  border: 1px solid #000;
  border-radius: var(--size-24);
}
.p-selected__contents-item-header {
  padding: var(--size-20) var(--size-32) var(--size-25);
}
.p-selected__contents-item-header-inner {
  display: flex;
  align-items: center;
  gap: var(--size-20);
}
.p-selected__contents-item-header-image {
  width: var(--size-118);
  height: var(--size-118);
}
.p-selected__contents-item-header-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.p-selected__contents-item-header-text-wrapper {
  flex: 1;
}
.p-selected__contents-item-header-name {
  font-size: var(--size-14);
  line-height: 1.5;
  margin-bottom: var(--size-12);
}
.p-selected__contents-item-header-text {
  font-size: var(--size-14);
  line-height: 1.8;
}
.p-selected__contents-item-content {
  padding: var(--size-20) var(--size-32) var(--size-25);
  background: #F4ECE6;
}
.p-selected__contents-item-content-text-title {
  font-size: var(--size-14);
  padding-bottom: var(--size-16);
  margin-bottom: var(--size-21);
  border-bottom: 1px solid #A7A7A7;
  text-align: center;
}
.p-selected__contents-item-content-text-text {
  font-size: var(--size-14);
  line-height: 1.8;
}
.p-selected__contents-pagination {
  margin-top: var(--size-45);
}

@media (max-width: 768px) {
  .l-selected {
    padding: var(--size-70) 0 var(--size-70);
  }
  .p-selected__contents-swiper-slide {
    max-width: var(--size-331);
  }
  .p-selected__contents-item-title-text {
    font-size: var(--size-16);
    margin-bottom: var(--size-12);
    min-height: calc(3em * 1.5);
  }
  .p-selected__contents-item {
    border-radius: var(--size-12);
  }
  .p-selected__contents-item-header {
    padding: var(--size-14) var(--size-16) var(--size-34);
  }
  .p-selected__contents-item-header-image {
    width: var(--size-69);
    height: var(--size-69);
  }
  .p-selected__contents-item-header-text-wrapper {
    padding-left: var(--size-10);
  }
  .p-selected__contents-item-header-name {
    margin-bottom: 0;
    font-size: var(--size-12);
  }
  .p-selected__contents-item-header-inner {
    margin-bottom: var(--size-14);
  }
  .p-selected__contents-item-header-text {
    font-size: var(--size-14);
  }
  .p-selected__contents-item-content {
    padding: var(--size-14) var(--size-16);
  }
  .p-selected__contents-item-content-text-text {
    min-height: calc(4em * 1.8);
  }
  .p-selected__contents-pagination {
    margin-top: var(--size-26);
  }
  .p-selected__contents-item-content-text-title {
    padding-bottom: var(--size-8);
    margin-bottom: var(--size-8);
  }
}

/* not recommended */
.l-not-recommended {
  padding: var(--size-130) 0;
  background: #F0EFEF;
}
.p-not-recommended__title {
  max-width: var(--size-584);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-not-recommended__contents-item-list {
  display: flex;
  gap: var(--size-30);
}
.p-not-recommended__contents-item-list-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #000;
  border-radius: var(--size-12);
  overflow: hidden;
  width: calc(33.33% - var(--size-30) * 2 / 3);
}
.p-not-recommended__contents-item-list-item-header {
  padding: var(--size-35) var(--size-20) var(--size-20);
  background: #fff;
}
.p-not-recommended__contents-item-list-item-header-image {
  display: flex;
  gap: var(--size-10);
  margin-bottom: var(--size-20);
}
.p-not-recommended__contents-item-list-item-header-image img {
  width: var(--size-90);
  height: var(--size-90);
  object-fit: contain;
}
.p-not-recommended__contents-item-list-item-header-title {
  font-size: var(--size-18);
  color: #8D5938;
  line-height: 1.8;
  margin-bottom: var(--size-10);
}
.p-not-recommended__contents-item-list-item-header-text {
  font-size: var(--size-14);
  line-height: 1.8;
}
.p-not-recommended__contents-item-list-item-header-text-title {
  min-height:calc(4em * 1.8);
}
.p-not-recommended__contents-item-list-item-content {
  padding: var(--size-24) var(--size-20);
  background: #F4ECE6;
  flex: 1;
}
.p-not-recommended__contents-item-list-item-content-text-title {
  font-size: var(--size-14);
  line-height: 1.8;
  border-bottom: 1px solid #44403E;
  padding-bottom: var(--size-14);
  margin-bottom: var(--size-14);
}
.p-not-recommended__contents-item-list-item-content-text-text {
  font-size: var(--size-14);
  line-height: 1.8;
}

@media (max-width: 1200px) {
  .p-not-recommended__contents-item-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .p-not-recommended__contents-item-list-item {
    width: calc(50% - var(--size-30) / 2)!important;
  }
}

@media (max-width: 768px) {
  .l-not-recommended {
    padding: var(--size-70) 0;
  }
  .p-not-recommended__contents-item-list-item {
    width: var(--size-331)!important;
  }
  .p-not-recommended__contents-item-list-item-header {
    padding: var(--size-20);
  }
  .p-not-recommended__contents-item-list-item-header-image {
    align-items: center;
  }
  .p-not-recommended__contents-item-list-item-header-title {
    flex: 1;
    font-size: var(--size-15);
    line-height: 1.5;
  }
  .p-not-recommended__contents-item-list-item-header-text-title {
    font-size: var(--size-12);
  }
  .p-not-recommended__contents-item-list-item-content-text-title {
    font-size: var(--size-12);
    text-align: center;
  }
  .p-not-recommended__contents-item-list-item-content-text-text {
    font-size: var(--size-12);
    min-height: calc(5em * 1.8);
  }
  .p-not-recommended__contents-item-list-item-content {
    padding: var(--size-14) var(--size-16);
  }
}

/* voice */
.l-voice {
  padding: var(--size-150) 0 var(--size-90);
}
.p-voice__swiper-contents {
  display: flex;
  gap: var(--size-18);
}
.p-voice__image {
  flex: 1;
}
.p-voice__image-name {
  font-size: var(--size-18);
  line-height: 1.5;
  margin-bottom: var(--size-25);
}
.p-voice__image-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.p-voice__swiper {
  width: var(--size-581);
}
.p-voice__swiper-slide-text {
  display: flex;
  align-items: center;
  gap: var(--size-20);
  margin-bottom: var(--size-28);
}
.p-voice__swiper-slide-text-num {
  color: #8D5938;
  font-size: var(--size-29);
  letter-spacing: 0.12em;
  margin-right: var(--size-10);
}
.p-voice__swiper-slide-text-text {
  font-size: var(--size-20);
  line-height: 1.2;
  margin-bottom: var(--size-7);
}
.p-voice__swiper-slide-list-item-title {
  padding: var(--size-8) var(--size-20);
  background: #F4ECE6;
  font-size: var(--size-16);
  line-height: 1.5;
  margin: var(--size-15) 0;
}
.p-voice__swiper-slide-list-item-text {
  font-size: var(--size-16);
  line-height: 1.5;
  padding-left: var(--size-20);
  min-height: calc(4em * 1.5);
}

@media (max-width: 1024px) {
  .p-voice__swiper-contents {
    flex-direction: column;
  }
  .p-voice__image {
    width: 100%;
  }
  .p-voice__image-img {
    aspect-ratio: 355 / 185;
    object-fit: cover;
  }
  .p-voice__swiper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .l-voice {
    padding: var(--size-70) 0;
  }
  .p-voice__swiper-slide-text {
    margin-bottom: var(--size-20);
  }
  .p-voice__image-name {
    font-size: var(--size-16);
  }
  .p-voice__swiper-slide-list-item-text {
    font-size: var(--size-14);
    min-height: 0;
  }
  .p-voice__swiper-pagination {
    margin-top: var(--size-26);
  }
}

@media (max-width: 420px) {
  .p-voice__contents {
    position: relative;
  }
  .p-voice__image {
    margin-bottom: var(--size-100);
  }
  .p-voice__swiper-nav {
    position: absolute;
    top: 33%;
    right: 0;
  }
}

/* merit */
.l-merit {
  padding: var(--size-150) 0;
}
.p-merit__text {
  font-size: var(--size-20);
  line-height: 1.8;
  margin-bottom: var(--size-90);
}
.p-merit__contents-item {
  margin-bottom: var(--size-80);
  overflow: auto;
}
.p-merit__feature {
  position: relative;
  border: var(--size-8) solid #A18052;
  padding: var(--size-66) var(--size-30);
  margin-left: var(--size-40);
}
.p-merit__feature-icon {
  position: absolute;
  top: -40px;
  left: -40px;
  width: var(--size-80);
  height: var(--size-80);
  background: #A18052;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-merit__feature-icon-text {
  font-size: var(--size-14);
  line-height: 1.5;
  color: #fff;
  letter-spacing: 0.1em;
  text-align: center;
}
.p-merit__feature-item-text {
  text-align: center;
  font-size: var(--size-16);
  line-height: 1.5;
  margin-bottom: var(--size-30);
}
.p-merit__feature-item-button-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--size-18);
}
.p-merit__feature-item-button {
  width: 100%;
  max-width: var(--size-400);
  height: 100%;
  padding: var(--size-10) var(--size-20);
  font-size: var(--size-20);
  background: #725C4E;
  color: #fff;
  text-align: center;
}
.p-merit__feature-item-button.u-light {
  background: #8D5938;
}
.p-merit__feature-item-button-text {
  position: relative;
  display: block;
}
.p-merit__feature-item-button-text::before {
  content: "";
  display: block;
  width: var(--size-17);
  height: var(--size-17);
  background: url(../img/common/icon-question.svg) no-repeat center center / contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.p-merit__feature-item-button-small {
  font-size: var(--size-14);
  line-height: 1.5;
  letter-spacing: 0.1em;
  display: block;
}
.p-merit__feature-item-button-item {
  position: relative;
  width: var(--size-400);
}
.p-merit__feature-item-button-item-modal {
  position: absolute;
  top: calc(100% + var(--size-7));
  right: 0;
  width: var(--size-450);
  height: auto;
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), visibility .3s;
}
.p-merit__feature-item-button-item-modal.is-fadein {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.p-merit__feature-item-button-item-modal-inner {
  position: relative;
  background: #F2E7DF;
  padding: var(--size-40) var(--size-20);
  border-radius: var(--size-12);
}
.p-merit__feature-item-button-item-modal-inner::before {
  content: "";
  display: block;
  width: var(--size-24);
  height: var(--size-24);
  background: url(../img/common/triangle.svg) no-repeat center center / contain;
  position: absolute;
  bottom: 100%;
  right: var(--size-17);
}
.p-merit__feature-item-button-item-modal-title {
  font-size: var(--size-18);
  font-weight: 500;
  line-height: 1.5;
  padding-bottom: var(--size-12);
  margin-bottom: var(--size-12);
  border-bottom: 1px solid #000;
}
.p-merit__feature-item-button-item-modal-read {
  font-size: var(--size-16);
  line-height: 1.5;
  margin-bottom: var(--size-25);
}
.p-merit__feature-item-button-item-modal-text {
  font-size: var(--size-12);
  line-height: 1.8;
}
.p-merit__feature-item-button-or {
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-merit__contents-item-image {
  min-width: var(--size-550);
}

@media (max-width: 768px) {
  .l-merit {
    padding: var(--size-70) 0;
  }
  .p-merit__text {
    font-size: var(--size-14);
    margin-bottom: var(--size-16);
  }
  .p-merit__feature {
    padding: var(--size-40) var(--size-20);
    margin-left: 0;
  }
  .p-merit__feature-icon {
    left: -8px;
  }
  .p-merit__feature {
    padding: var(--size-66) var(--size-20) var(--size-40);
  }
  .p-merit__feature-item-text {
    font-size: var(--size-15);
  }
  .p-merit__feature-item-button-wrapper {
    flex-direction: column;
    gap: var(--size-20);
    align-items: center;
    justify-content: center;
  }
  .p-merit__feature-item-button-item {
    width: 100%;
    text-align: center;
  }
  .p-merit__feature-item-button {
    padding: var(--size-25) var(--size-16);
  }
  .p-merit__feature-item-button-item-modal {
    width: var(--size-300);
    right: -4px; 
  }
  .p-merit__feature-item-button-item-modal-inner {
    padding: var(--size-16) var(--size-10);
    text-align: left;
  }
  .p-merit__feature-item-button-item-modal-title {
    font-size: var(--size-14);
    padding-bottom: var(--size-10);
    margin-bottom: var(--size-10);
  }
  .p-merit__feature-item-button-item-modal-read {
    font-size: var(--size-14);
  }
  .p-merit__feature-item-button-item-modal-text {
    font-size: var(--size-12);
  }
  .p-merit__feature-item-button-or {
    font-size: var(--size-12);
  }
  .p-merit__contents-item-image {}
}

/* what's */
.l-whats {
  padding: var(--size-150) 0 var(--size-180);
}
.p-whats__contents {
  display: flex;
  gap: var(--size-47);
}
.p-whats__contents-item {
  display: flex;
  gap: var(--size-10);
}
.p-whats__contents-item-text {
  flex: 1;
  min-width: var(--size-350);
  margin-right: var(--size-50);
}
.p-whats__contents-item-image {
  width: 100%;
  max-width: var(--size-590);
  height: auto;
  object-fit: contain;
}
.p-whats__contents-item-text-title {
  padding: var(--size-6) var(--size-14);
  background: #fff;
  font-size: var(--size-20);
  line-height: 1.8;
  margin-bottom: var(--size-15);
}
.p-whats__contents-item-text-text {
  font-size: var(--size-16);
  line-height: 2;
  margin-bottom: var(--size-28);
}
.p-whats__contents-item-text-read {
  font-size: var(--size-18);
  line-height: 2;
  margin-bottom: var(--size-15);
  text-decoration: underline;
}
.p-whats__contents-item-text-small {
  font-size: var(--size-14);
  line-height: 1.8;
}
.p-whats__contents-movie-title {
  font-size: var(--size-21);
  max-width: var(--size-763);
  margin: 0 auto;
  margin-bottom: var(--size-33);
  line-height: 1.5;
}
.p-whats__contents-movie {
  padding: var(--size-80) var(--size-20);
  background: #fff;
  margin-top: var(--size-80);
}
.p-whats__contents-movie iframe {
  display: block;
  width: 100%;
  max-width: var(--size-763);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 1024px) {
  .p-whats__contents-item {
    flex-direction: column;
    gap: var(--size-20);
  }
  .p-whats__contents-item-text {
    max-width: 100%;
    margin-right: 0;
  }
  .p-whats__contents-item-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .l-whats {
    padding: var(--size-70) 0;
  }
  .p-whats__contents-item-text-title {
    font-size: var(--size-18);
    text-align: center;
    margin-bottom: var(--size-23);
  }
  .p-whats__contents-item-text-text {
    font-size: var(--size-14);
    line-height: 1.5;
    margin-bottom: var(--size-20);
  }
  .p-whats__contents-item-text-read {
    font-size: var(--size-16);
  }
  .p-whats__contents-item-text-small {
    font-size: var(--size-10);
  }
  .p-whats__contents-movie {
    margin-top: var(--size-20);
    padding: var(--size-16) var(--size-10);
  }
  .p-whats__contents-movie-title {
    font-size: var(--size-15);
    margin-bottom: var(--size-10);
  }
}

/* separate */
.l-separate {
  padding: var(--size-150) 0;
}
.p-separate__contents-text {
  font-size: var(--size-20);
  line-height: 1.8;
  margin-bottom: var(--size-54);
}
.p-separate__contents-title {
  font-size: var(--size-24);
  line-height: 1.8;
  margin-bottom: var(--size-55);
  color: #8D5938;
  text-align: center;
}
.p-separate__contents-list {
  display: flex;
  justify-content: space-between;
  gap: var(--size-20);
  margin-bottom: var(--size-52);
}
.p-separate__contents-list-item {
  position: relative;
  width: 100%;
  max-width: var(--size-500);
  padding: var(--size-40) var(--size-50);
  background: #F4ECE6;
}
.p-separate__contents-list-item.u-dark {
  background: #E0CEC3;
}
.p-separate__contents-list-title {
  position: absolute;
  bottom: calc(100% - var(--size-18));
  left: var(--size-25);
  font-size: var(--size-29);
  color: #8D5938;
  z-index: 1;
}
.p-separate__contents-list-item-text {
  list-style: disc;
  font-size: var(--size-16);
  line-height: 2;
  margin-left: var(--size-20);
}
.p-separate__contents-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto var(--size-100);
}
.p-separate__contents-image.u-footer {
  max-width: var(--size-584);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .l-separate {
    padding: var(--size-70) 0;
  }
  .p-separate__contents-text {
    font-size: var(--size-14);
    margin-bottom: var(--size-48);
  }
  .p-separate__contents-image {
    margin: 0 auto var(--size-58);
  }
  .p-separate__contents-title {
    font-size: var(--size-20);
    margin-bottom: var(--size-58);
  }
  .p-separate__contents-list {
    flex-direction: column;
    gap: var(--size-40);
    margin-bottom: var(--size-48);
    align-items: center;
  }
  .p-separate__contents-list-item {
    padding: var(--size-20) var(--size-10);
  }
  .p-separate__contents-list-item-text {
    font-size: var(--size-14);
  }
  .p-separate__contents-title {
    font-size: var(--size-20);
  }
  .p-separate__contents-image.u-footer {
    max-width: var(--size-355);
  }
}

/* role */
.l-role {
  padding: var(--size-150) 0;
}
.p-role__contents-text {
  font-size: var(--size-20);
  line-height: 1.4;
  margin-bottom: var(--size-73);
}
.p-role__contents-item {
  display: flex;
  justify-content: space-between;
  gap: var(--size-20);
}
.p-role__contents-item-image {
  width: 100%;
  max-width: var(--size-596);
  height: auto;
}
.p-role__contents-item-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.p-role__contents-item-text {
  flex: 1;
  min-width: var(--size-350);
  max-width: var(--size-472);
}
.p-role__contents-item-text-title {
  font-size: var(--size-18);
  line-height: 1.4;
  margin-bottom: var(--size-8);
}
.p-role__contents-item-text-text {
  padding: var(--size-26) var(--size-20);
  font-size: var(--size-14);
  line-height: 1.8;
  margin-bottom: var(--size-20);
  background: #F4ECE6;
}

@media (max-width: 1024px) {
  .p-role__contents-item {
    flex-direction: column;
    gap: var(--size-40);
  }
  .p-role__contents-item-image {
    max-width: 100%;
  }
  .p-role__contents-item-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .l-role {
    padding: var(--size-70) 0;
  }
  .p-role__contents-text {
    font-size: var(--size-14);
    margin-bottom: var(--size-34);
  }
  .p-role__contents-item {
    gap: var(--size-64);
  }
  .p-role__contents-item-text-text {
    padding: var(--size-26) var(--size-18);
  }
}

/* free */
.l-free {
  padding: var(--size-150) 0;
}
.p-free__contents-item-text-text {
  font-size: var(--size-16);
  line-height: 2;
  margin-bottom: var(--size-26);
}
.p-free__contents-item-text-read {
  font-size: var(--size-16);
  line-height: 2;
  margin-bottom: var(--size-20);
  padding: var(--size-6) var(--size-20);
  background: #F4ECE6;
}
.p-free__contents-item-text-attention {
  font-size: var(--size-14);
  line-height: 1.8;
  margin-bottom: var(--size-20);
}
.p-free__contents-item-text-attention-small {
  display: block;
  margin-bottom: var(--size-10);
}
.p-free__contents-item {
  display: flex;
  gap: var(--size-30);
}

@media (max-width: 1024px) {
  .p-free__contents-item {
    flex-direction: column;
    gap: var(--size-20);
  }
  .p-free__contents-item-text {
    max-width: 100%;
    margin-right: 0;
  }
  .p-free__contents-item-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .l-free {
    padding: var(--size-70) 0;
  }
  .p-free__contents-item-text-text {
    font-size: var(--size-14);
    margin-bottom: var(--size-20);
  }
}

/* referral */
.l-referral {
  padding: var(--size-150) 0;
}
.p-referral__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--size-43);
}
.p-referral__header-text {
  font-size: var(--size-16);
  line-height: 1.5;
}
.p-referral__contents-item {
  display: flex;
  padding: 0;
  background: #fff;
}
.p-referral__contents-item {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.4,0,0.2,1),
    visibility 0s linear 0.5s;
}
.p-referral__contents-item.is-active {
  padding: var(--size-50) var(--size-40);
  max-height: 5000px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.4,0,0.2,1),
    visibility 0s;
}
.p-referral__contents-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-28);
}
.p-referral__contents-item-list-item {
  width: calc(25% - var(--size-28) * 3 / 4);
}
.p-referral__contents-item-list-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--size-141);
  padding: var(--size-40);
  border: solid 1px #DCDCDC;
}
.p-referral__contents-item-list-item-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.p-referral__contents-item-list-item-title {
  font-size: var(--size-14);
  line-height: 1.5;
  margin-top: var(--size-8);
}
.p-referral__contents-item-notice {
  font-size: var(--size-14);
  line-height: 1.8;
  margin-top: var(--size-37);
}

@media (max-width: 1024px) {
  .p-referral__header {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .l-referral {
    padding: var(--size-70) 0;
  }
  .p-referral__header {
    align-items: flex-start;
  }
  .p-referral__header-text {
    font-size: var(--size-14);
    margin-bottom: var(--size-40);
  }
  .p-case__category-inner, .p-referral__category-inner {
    flex-wrap: wrap;
    gap: var(--size-16);
    padding: var(--size-20) var(--size-30);
    border-radius: var(--size-18);
  }
  .p-referral__category-label {
    font-size: var(--size-14);
    width: calc(50% - var(--size-16) / 2);
  }
  .p-referral__contents-item-list {
    column-gap: var(--size-16);
    row-gap: var(--size-30);
  }
  .p-referral__contents-item-list-item {
    width: calc(50% - var(--size-16) / 2);
  }
  .p-referral__contents-item.is-active {
    padding: var(--size-32) var(--size-18);
  }
  .p-referral__contents-item-list-item-image {
    height: auto;
    aspect-ratio: 150 / 81;
    padding: var(--size-10);
  }
  .p-referral__contents-item-list-item-title {
    font-size: var(--size-12);
  }
}

/* faq */
.l-faq {
  padding: var(--size-150) 0;
}
.p-faq__contents-item {
  position: relative;
  margin-top: var(--size-20);
}
.p-faq__contents-item {
  display: none;
}
.p-faq__contents-item:nth-child(-n+5) {
  display: block;
}
.p-faq__contents-item.is-active {
  display: block;
}
.p-faq__contents-item-more.is-hidden {
  display: none;
}
.p-faq__contents-item-title:after {
  content: "＋";
  display: block;
  position: absolute;
  top: 50%;
  right: var(--size-30);
  transform: translateY(-50%);
  font-size: var(--size-31);
  transition: transform 0.3s ease;
}
.p-faq__contents-item-title.is-active:after {
  content: "－";
  transform: translateY(-50%) rotate(180deg);
}
.p-faq__contents-item-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--size-10);
  padding: var(--size-24) var(--size-82) var(--size-24) var(--size-30);
  background: #F2E7DF;
  cursor: pointer;
}
.p-faq__contents-item-title-text {
  position: relative;
  display: flex;
  font-weight: 400;
  gap: var(--size-44);
  font-size: var(--size-18);
  line-height: 1.5;
  padding-left: var(--size-74);
}
.p-faq__contents-item-title-text:before {
  position: absolute;
  top: -12px;
  left: 0;
  content: "Q";
  font-size: var(--size-30);
}
.p-faq__contents-item-answer {
  display: none;
  padding: var(--size-24) var(--size-30);
  background: #E0CEC3;
}
.p-faq__contents-item-answer-text {
  position: relative;
  padding-left: var(--size-74);
  font-size: var(--size-16);
  line-height: 2;
  display: block;
}
.p-faq__contents-item-answer-text:before {
  position: absolute;
  top: -12px;
  left: 0;
  content: "A";
  font-size: var(--size-30);
}
.p-faq__contents-item-more {
  font-size: var(--size-18);
  line-height: 1.5;
  margin-top: var(--size-66);
  padding: var(--size-15) var(--size-77);
  background: #fff;
  border: solid 1px #8D5938;
  color: #8D5938;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border-radius: 100vmax;
  margin: var(--size-66) auto 0;
  display: block;
  width: fit-content;
}
.p-faq__contents-item-more:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .l-faq {
    padding: var(--size-70) 0;
  }
  .p-faq__contents-item-title {
    padding: var(--size-28) var(--size-56) var(--size-28) var(--size-16);
  }
  .p-faq__contents-item-title-text {
    font-size: var(--size-16);
    padding-left: var(--size-37);
  }
  .p-faq__contents-item-title-text:before {
    font-size: var(--size-26);
  }
  .p-faq__contents-item-title:after {
    right: var(--size-16);
    font-size: var(--size-26);
  }
  .p-faq__contents-item-answer-text {
    font-size: var(--size-14);
    padding-left: var(--size-37);
  }
  .p-faq__contents-item-answer {
    padding: var(--size-28) var(--size-16);
  }
  .p-faq__contents-item-more {
    font-size: var(--size-14);
    padding: var(--size-14);
    width: 100%;
    text-align: center;
    max-width: var(--size-355);
    margin: var(--size-28) auto 0;
  }
}

/* banner */
.l-banner {
  position: fixed;
  top: 50%;
  right: calc(-1 * var(--size-157));
  transform: translateY(-50%);
  z-index: 99;
}
.p-banner__list {
  display: flex;
  flex-direction: column;
}
.p-banner__list-item-link {
  display: block;
  width: var(--size-232);
  height: var(--size-203);
  transition: transform 0.3s ease;
}
.p-banner__list-item-link:hover {
  transform: translateX(calc(-1 * var(--size-157)));
}

@media (max-width: 768px) {
  .l-banner {
    transform: unset;
    top: unset;
    right: unset;
    bottom: 0;
    left: 0;
    transform: unset;
    width: 100%;
    max-width: 100%;
  }
  .p-banner__list-sp {
    display: flex;
  }
  .p-banner__list-item-link {
    display: block;
    width: 50%;
    height: auto;
  }
  .p-banner__list-item-link img {
    width: 100%;
    height: auto;
    object-fit: cover;
    scale: 1.01;
  }
}

/* cta */
.l-cta {
  position: relative;
  padding: var(--size-140) 0;
}
.p-cta__contents-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-cta__contents-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-cta__contents-bg-inner {
  position: relative;
  z-index: 1;
  height: 100%;
}
.p-cta__contents-bg-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
}
.p-cta__contents {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}
.p-cta__contents-read {
  font-size: var(--size-19);
  line-height: 2.2;
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-bottom: var(--size-62);
}
.p-cta__contents-text {
  font-size: var(--size-16);
  line-height: 2;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: var(--size-4);
}
.p-cta__contents-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: var(--size-463);
}
.p-cta__contents-buttons {
  display: flex;
  gap: var(--size-40);
}
.p-cta__contents-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-16);
  max-height: var(--size-74);
  height: var(--size-100);
  width: 50%;
  border-radius: 100vmax;
  background: #fff;
  color: #000;
  font-size: var(--size-18);
  line-height: 1.5;
  transition: opacity 0.3s ease;
  min-width: var(--size-420);
}
.p-cta__contents-button.u-gold {
  background: #a2662e;
  color: #fff;
}
.p-cta__contents-button:hover {
  opacity: 0.7;
}
.p-cta__contents-button-text {
  position: relative;
}
.p-cta__contents-button-icon {
  width: var(--size-32);
  height: var(--size-32);
}

@media (max-width: 1024px) {
  .p-cta__contents-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .l-cta {
    padding: var(--size-52) 0;
  }
  .p-cta__contents-read {
    font-size: var(--size-14);
    margin-bottom: var(--size-20);
  }
  .p-cta__contents-text {
    font-size: var(--size-13);
    margin-bottom: var(--size-10);
  }
  .p-cta__contents-image {
    max-width: var(--size-355);
  }
  .p-cta__contents-buttons.c-only-pc {
    display: none;
  }
}

/* footer */
.l-footer {
  padding: var(--size-46) 0 var(--size-157);
  overflow: hidden;
}
.p-footer__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-36);
  margin-bottom: var(--size-80);
}
.p-footer__sns-item {
  width: var(--size-24);
  height: var(--size-24);
  transition: opacity 0.3s ease;
}
.p-footer__sns-item:hover {
  opacity: 0.5;
}
.p-footer__contents-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--size-100);
}
.p-footer__contents-logo {
  display: flex;
  flex-direction: column;
  gap: var(--size-20);
  max-width: var(--size-220);
}
.p-footer__banner {
  max-width: var(--size-196);
}
.p-footer__nav-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-footer__nav-item {
  margin-bottom: 16px;
}
.p-footer__nav-link {
  display: block;
  font-size: var(--size-14);
  line-height: 1.5;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.p-footer__nav-link:hover {
  opacity: 0.7;
}
.p-footer__contents-buttons {
  display: flex;
  gap: var(--size-10);
  flex-direction: column;
}
.p-footer__contents-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-8);
  font-size: var(--size-14);
  line-height: 1.5;
  white-space: nowrap;
  padding: var(--size-4) var(--size-14);
  color: #fff;
  font-size: var(--size-21);
  line-height: 1.5;
  border-radius: 100vmax;
  background: #4B3017;
  transition: opacity 0.3s ease;
  height: var(--size-32);
  letter-spacing: 0.1em;
}
.p-footer__contents-button:hover {
  opacity: 0.5;
}
.p-footer__contents-button-icon {
  width: var(--size-24);
  height: var(--size-24);
}
.p-footer__contents-button.u-gold {
  background: #a2662e;
  font-size: var(--size-16);
  letter-spacing: 0;
}
.p-footer__contents-policy {
  display: flex;
  font-size: var(--size-12);
  align-items: center;
  justify-content: center;
}
.p-footer__contents-policy-item:not(:first-child) {
  margin-left: var(--size-10);
  padding-left: var(--size-10);
  border-left: solid 1px #000;
}
.p-footer__contents-policy-item {
  display: inline-block;
  transition: opacity 0.3s ease;
}
.p-footer__contents-policy-item:hover {
  opacity: 0.5;
}
.p-footer__banner-link {
  display: block;
  transition: opacity 0.3s ease;
}
.p-footer__banner-link:hover {
  opacity: 0.5;
}
@media (max-width: 1300px) {
  .p-footer__contents-inner {
    gap: var(--size-40);
  }
  .p-footer__nav {
    flex: 1;
  }
  .p-footer__nav-list {
    display: flex;
    column-gap: var(--size-20);
    flex-wrap: wrap;
  }
  .p-footer__nav-item {
    width: calc(50% - var(--size-20) / 2)!important;
  }
}

@media (max-width: 1080px) {
  .p-footer__nav-item {
    width: 100%!important;
  }
}

@media (max-width: 768px) {
  .l-footer {
    padding: var(--size-48) 0 var(--size-80);
  }
  .p-footer__sns {
    margin-bottom: var(--size-34);
  }
  .p-footer__contents-inner {
    flex-direction: column;
    align-items: center;
  }
  .p-footer__banner {
    max-width: 100%;
  }
  .p-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--size-13);
    margin-bottom: var(--size-55);
  }
  .p-footer__inner-text {
    font-size: var(--size-14);
    line-height: 1.5;
  }
  .p-footer__inner-button {
    width: var(--size-250);
    height: var(--size-53);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--size-10);
    background: #000;
    color: #fff;
  }
  .p-footer__inner-button-text {
    font-size: var(--size-14);
  }
}

/* page */
.l-page {
  padding: var(--size-130) 0;
  background: #F4ECE6;
}
.p-page__contents p {
  font-size: var(--size-14);
  line-height: 1.5;
  margin-bottom: var(--size-46);
}
.p-page__contents-container {
  max-width: calc(912px + var(--size-40) * 2);
  margin: 0 auto;
  padding: var(--size-20) var(--size-40);
  background: #fff;
}
.p-page__contents-container.u-wide {
  max-width: calc(1200px + var(--size-100) * 2);
  margin: 0 auto;
  padding: var(--size-100);
}
.p-form__group p {
  margin-bottom: 0;
  display: flex;
}
.p-form__group br {
  display: none;
}
.p-form__group {
  background: #F4ECE6;
  border-bottom: solid 1px #FFF;
}
.p-form__group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--size-320);
  border-right: solid 1px #FFF;
  padding: var(--size-20) var(--size-30);
  font-size: var(--size-18);
}
.p-form__group label:after {
  content: "※";
  font-size: var(--size-18);
  line-height: 1.5;
  color: #FE3232;
  font-weight: 500;
}
.p-form__group input,
.p-form__group textarea {
  width: 100%;
  font-size: var(--size-16);
  line-height: 1.5;
  background: #fff;
  padding: var(--size-15) var(--size-28);
}
.p-form__group input::placeholder,
.p-form__group textarea::placeholder {
  opacity: 0.3;
  color: #000;
}
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
  padding: var(--size-20) var(--size-30);
}
.wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-18);
  line-height: 1.5;
  letter-spacing: 0.18em;
  color: #fff;
  background: #A2662E;
  border-radius: 100vmax;
  padding: var(--size-20);
  width: 100%;
  max-width: var(--size-594);
  transition: opacity 0.3s var(--transition);
  margin: var(--size-75) auto 0;
  text-align: center;
}
.wpcf7-submit:hover {
  opacity: 0.5;
}
.p-page__contents-container a {
  text-decoration: underline;
  color: #000;
  transition: opacity 0.3s var(--transition);
}
.p-page__contents-container a:hover {
  opacity: 0.5;
}
.p-page__contents-container h2 {
  font-size: var(--size-18);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #000;
  margin-bottom: var(--size-20);
}
.p-page__contents-container ol {
  list-style: decimal;
  padding-left: var(--size-20);
}
.wpcf7-turnstile {
  text-align: center;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .p-page__contents-container.u-wide {
    padding: var(--size-20);
  }
  .p-page__contents-container {
    padding: var(--size-20) var(--size-10);
  }
  .p-form__group label {
    font-size: var(--size-16);
  }
  .wpcf7-submit {
    font-size: var(--size-16);
    padding: var(--size-15) var(--size-20);
  }
}

@media (max-width: 768px) {
  .l-page {
    padding: var(--size-70) 0;
  }
  .p-page__contents p {
    font-size: var(--size-14);
    margin-bottom: var(--size-20);
  }
  .p-form__group label {
    padding: var(--size-10);
    width: 100%;
    border-right: 0;
    justify-content: flex-start;
    gap: var(--size-10);
  }
  .p-form__group input,
  .p-form__group textarea {
    padding: var(--size-10) var(--size-20);
  }
  .p-form__group p {
    margin-bottom: 0;
    flex-direction: column;
  }
  .wpcf7-submit {
    font-size: var(--size-14);
  }
  .wpcf7-form-control-wrap {
    padding: var(--size-10);
  }
  .wpcf7-submit {
    margin: var(--size-30) auto 0;
  }
  .p-page__contents-container h2 {
    font-size: var(--size-18);
    margin-bottom: var(--size-10);
  }
  .p-page__contents-container ol {
    padding-left: var(--size-10);
  }
}