/* ベース設定 */
:root {
  --color-bg: #F0E7D2;
  --color-bg-alt: #F8F7EC;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-accent: #c0b9a9;
  --color-border: #e5e2dd;
  --color-button: #839A7F;
  --font-main: "Shippori Mincho", serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --container-width: 1200px;
}

/* ベーススタイル */
.page {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-bg-alt);
  font-weight: 300;
  overflow-x: hidden;
}
main {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}


/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.4;
}

.only-pc {
  display: block;
}
.only-sp {
  display: none;
}

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

/* コンテナ */
[class$="__container"] {
  width: 100%;
  max-width: calc(1520px + 80px * 2);
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 1024px) {
  [class$="__container"] {
    padding: 0 20px;
  }
}

/* リスト */
ul {
  list-style: none;
}

/* ボタン */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-main);
}

.button {
  display: inline-block;
  padding: 25px 68px;
  background-color: var(--color-button);
  border: 1px solid var(--color-accent);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  opacity: 1;
  border-radius: 100vmax;
  line-height: 1;
}
.button:hover {
  background-color: var(--color-button);
  opacity: 0.9;
}
.button--large {
  padding: 1rem 3rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .button {
    padding: 23px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ヘッダー */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 左右に要素を配置 */
  padding: 20px 50px;
  background-color:var(--color-bg);
}

/* ロゴは左に */
.header__logo img {
  height: 60px; /* ロゴの高さ調整 */
  padding-top: 10px;
}

/* ハンバーガーメニューはデフォルト非表示（PC時） */
.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ハンバーガーメニューの線 */
.header__menu-line {
  display: block;
  width: 25px;
  height: 1px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
  margin-left: auto;
}

.header__menu-line:nth-child(1) {
  width: 16px;
}

.header__menu-line:nth-child(2) {
  width: 25px;
}

/* ナビゲーションは横並び（PC時） */
.header__nav {
  display: block;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 50px;
}

.nav__link {
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.05em;
}

/* モバイル用フルスクリーンメニュー */
@media screen and (max-width: 1024px) {
  .header__inner {
    padding: 10px 20px 10px 10px;
  }
  /* ハンバーガーメニューボタンを右上に固定 */
  .header__menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100; /* メニューより上に */
    background: none;
    border: none;
    cursor: pointer;
  }

  /* メニュー本体は全画面 */
  .header__nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
  }
  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    background-color: #F0E7D2;
  }

  .header__nav-logo {
    display: block;
    margin-bottom: 40px;
    text-align: center;
  }
  .header__nav-logo img {
    width: 120px;
    height: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .nav__item {
    text-align: center;
  }
}

/* PC時はメニュー内ロゴ非表示 */
@media screen and (min-width: 901px) {
  .header__nav-logo {
    display: none;
  }
}

/* ヒーローセクション */
.hero {
  padding-top: 100px;
  background-color: var(--color-bg);
  padding-left: 100px;
}
.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.hero__inner {
  display: flex;
  gap: 50px;
}
.hero__content {
  position: relative;
  width: 550px;
}
.hero__title {
  font-size: 32px;
  letter-spacing: 0.1em;
  font-weight: 400;
  line-height: 1.75;
  display: inline;
  background: #839A7F;
  color: #fff;
  padding-bottom: 3px;
}
.hero__title::after {
  content:"";
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, 80%);
  padding-left: 20px;
  width: 27%;
  height: 50%;
  background-image: url('../images/ashiato.svg');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}
.hero__title-text {
  padding-left: 8px;
}
.hero__subtitle {
  margin-top: 80px;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 2;
}
.hero__copy {
  margin-top: 50px;
  margin-bottom: 230px;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 2;
}
.hero__copy-text {
  display: inline;
  background: linear-gradient(to right, rgba(131, 154, 127, 0.5) 100%, rgba(131, 154, 127, 0.5) 100%);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-bottom:3px; /* 下線と文字の間隔調整 */
}
.l-guide {
  background: var(--off-white);
  overflow: hidden;
}
.l-guide__inner {
  position: relative;
  display: flex;
  margin-left: calc((100vw - 1280px) / 2);
  padding-bottom: var(--size-2);
  gap: var(--size-160);
}
.l-guide__inner:before {
  content: "";
  position: absolute;
  bottom: 0%;
  left: 15.5%;
  width: var(--size-488);
  height: var(--size-488);
  aspect-ratio: 1 / 1;
  background: radial-gradient(
    circle,
    rgb(225, 127, 36, 0.16),
    rgb(225, 127, 36, 0)
  );
  border-radius: 50%;
  filter: blur(var(--size-50));
}
.l-guide__description {
  width: fit-content;
}
.l-guide__imagekv {
  display: flex;
  position: relative;
  margin-top: 70px;
}
.l-guide__imagekv .kv1 {
  top: 0;
  right: 0;
  position: absolute;
  transform: translate(-100%, -20%);
  width: 50%;
  z-index: 1;
}
.l-guide__imagekv .kv2 {
  transform: translate(90%, 10%);
  width: 50%;
}
.l-guide__title {
  padding-top: 10px;
  margin-bottom: 30px;
}
.l-guide__swiper .swiper-wrapper {
  display: flex;
  transition-timing-function: ease;
}
.l-case__list-time {
  display: block;
  margin-top: var(--size-8);
  color: #c7c6c6;
  font-size: 11px;
  font-size: var(--size-11);
  letter-spacing: 0.0025em;
}
.l-guide__swiper {
  width: 100%;
}
.l-guide__swiper-wrapper {
  transition-timing-function: linear!important; 
}
.l-guide__image-item {
  width: 566px;
  pointer-events: none;
  aspect-ratio: 566 / 420;
}
.l-guide__image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1200px) {
  .hero {
    padding-top: 30px;
    padding-left: 0;
  }
  .hero__inner {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: center;
  }
  .hero__title {
    background-color: transparent;
  }
  .hero__title::after {
    content:"";
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-20%, 65%);
    padding-left: 20px;
    width: 20%;
    height: 30%;
    background-image: url('../images/ashiato.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
  }
  .l-guide__imagekv {
    margin-top: 100px;
  }
  .l-guide__image-item {
    width: 316px;
    aspect-ratio: 316 / 205;
  }
  .hero__copy {
    margin-bottom: 0;
  }
  .hero__content {
    display: contents; /* 子要素を親の直下に昇格 */
  }
  .hero__title {
    order: 1;
  }
  .l-guide__image {
    order: 2;
  }
  .hero__subtitle {
    order: 3;
  }
  .hero__copy {
    order: 4;
    margin-bottom: 100px;
  }
  .hero__title-text {
    background: #839A7F;
    padding-bottom: 2.5px;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    margin-left: 0;
    padding-left: 0;
  }
  .hero__content {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 20px;
    letter-spacing: 0.05em;
    margin-left: -50px;
    display: inline!important;
  }
  .hero__title::after {
    content:"";
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-20%, 80%);
    padding-left: 20px;
    width: 20%;
    height: 23%;
    background-image: url('../images/ashiato.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
  }
  .hero__subtitle {
    margin-top: 0px;
    font-size: 13px;
  }
  .hero__copy {
    margin-top: 0;
    font-size: 16px;
    padding: 0 20px;
  }
  .l-guide__imagekv {
    margin-left: 10px;
    margin-top: 20px;
  }
}

/* メッセージセクション */
.message {
  position: relative;
  padding-top: 200px;
  text-align: center;
}
.message__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 50px;
}
.message__text {
  font-size: 24px;
  letter-spacing: 0.1em;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .message {
    padding-top: 70px;
  }
  .message__symbol {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    filter: blur(30px);
    pointer-events: none;
  }
  .message__symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .message__title {
    font-size: 23px;
    letter-spacing: 0.05em;
    max-width: 346px;
    margin: 0 auto 38px;
  }
  .message__title-text {
    display: block;
    font-size: 21px;
  }
  .message__title-text:nth-child(1) {
    text-align: left;
  }
  .message__title-text:nth-child(2) {
    text-align: right;
  }
  .message__text {
    font-size: 13px;
    line-height: 2.5;
    text-align: left;
    width: fit-content;
    margin: 0 auto;
  }
}

/* ライフスタイルセクション */
.lifestyle {
  padding-top: 200px;
  position: relative;
  overflow-x: hidden;
  margin-bottom: 200px;
}
.lifestyle__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 75px;
}
.lifestyle__title::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 0px;
}
.lifestyle__swiper {
  width: 100%;
  overflow: visible;
}
.lifestyle__item {
  display: flex;
  flex-direction: column;
  width: 400px
}
.lifestyle__image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.lifestyle__caption {
  text-align: left;
  font-size: 14px;
  margin-bottom: 20px;
}
.lifestyle__swiper-wrapper {
  display: flex;
}
.c-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}
.c-controls__navigation {
  position: relative;
  display: flex;
  gap: 15px;
  flex-direction: row-reverse;
}
.c-controls__button-next,
.c-controls__button-prev {
  position: relative;
  width: 40px;
  height: 40px;
  top: 0;
  right: 0;
  left: unset;
  margin-top: 0;
}
.c-controls__button-next:after,
.c-controls__button-prev:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: url("../images/slide-arrow-gray.png") no-repeat center center;
  background-size: contain;
}
.c-controls__button-prev:after {
  transform: scaleX(-1);
}
.c-controls__bullet {
  display: flex;
}
.c-controls__pagination {
  flex: 1;
}
.c-controls__pagination .c-controls__bullet .swiper-pagination-bullet {
  margin: 0;
  background: #E8E7E7;
  height: 1px;
  width: 100%;
  border-radius: 0;
  opacity: 1;
}
.c-controls__pagination .c-controls__bullet .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #707070;
}

@media (max-width: 768px) {
  .lifestyle {
    padding-top: 75px;
    margin-bottom: 92px;
  }
  .lifestyle__title {
    font-size: 20px;
    letter-spacing: 0.1em;
    margin-bottom: 75px;
  }
  .lifestyle__title {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  
  .lifestyle__title::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
  }
  .lifestyle__item {
    width: 310px;
  }
  .lifestyle__image {
    margin-bottom: 10px;
  }
  .lifestyle__caption {
    font-size: 16px;
    margin-bottom: 0;
    letter-spacing: 0.1em;
  }
}

/* ギャラリー */
.gallery {
  padding: 100px 0;
  background: var(--color-bg);
}
.gallery__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 75px;
}
.gallery__title::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 8px;
}
.gallery__grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  column-gap: 38px;
}
.gallery__item {
  width: calc(25% - 38px * 3 / 4);
}
.gallery__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}
.gallery__item__caption {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .gallery__item {
    width: calc(33.33% - 38px * 2 / 3);
  }
}

@media (max-width: 768px) {
  .gallery {
    padding: 72px 0;
  }
  .gallery__title {
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .gallery__title {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  
  .gallery__title::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
    margin-top: -3px;
    margin-right: 3px;
  }
  .gallery__grid {
    gap: 18px;
  }
  .gallery__item {
    width: calc(50% - 18px * 1 / 2);
  }
  .gallery__item__caption {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
  }
}

/* チャンス */
.chance {
  padding-top: 200px;
}
.chance__inner {
  display: flex;
  gap: 32px;
  justify-content: space-between;
}
.chance__content {
  width: 465px;
}
.chance__images {
  flex: 1;
  max-width: 556px;
}
.chance__read {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.chance__title {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 100px;
}
.chance__title::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 0px;
}
.chance__description {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.chance__description:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .chance {
    padding-top: 58px;
  }
  .chance__inner {
    flex-direction: column;
    gap: 75px;
  }
  .chance__content {
    width: 100%;
  }
  .chance__read {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
  }
  .chance__title {
    font-size: 21px;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    text-align: center;
  }
  .chance__title {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  .chance__title::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
    margin-top: -3px;
    margin-right: 3px;
  }
  .chance__image-group {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
  .chance__description {
    font-size: 14px;
    width: fit-content;
    margin: 0 auto;
    line-height: 2.25;
  }
}

.features {
  padding-top: 150px;
  padding-bottom: 200px;
}
.features__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features__item {
  width: calc(33.33% - 20px * 2 / 3);
}
.features__title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}
.features__description {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (max-width: 1650px) {
  .features__title {
    font-size: 16px;
  }
}

@media (max-width: 1240px) {
  .features__grid {
    justify-content: center;
    row-gap: 75px;
  }
  .features__item {
    width: calc(50% - 20px * 1 / 2);
  }
}

@media (max-width: 768px) {
  .features {
    padding-top: 75px;
    padding-bottom: 100px;
  }
  .features__grid {
    flex-direction: column;
  }
  .features__item {
    width: 100%;
  }
  .features__title {
    width: fit-content;
    margin: 0 auto 20px;
    text-align: left;
    font-size: 22px;
  }
  .features__description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.75;
  }
}

/* 特徴 */
.diary {
  padding: 100px 0;
  background: var(--color-bg);
}
.diary__title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 20px;
}
.diary__title::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 0px;
}
.diary__subtitle {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 75px;
}
.diary__grid {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 65px;
}
.diary__item {
  width: calc(50% - 20px * 1 / 2);
}
.diary__caption {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .diary {
    padding: 75px 0;
  }
  .diary__title {
    font-size: 21px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
  .diary__title {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  .diary__title::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
    margin-top: -3px;
    margin-right: 3px;
  }
  .diary__swiper-container {
    margin-top: 30px;
  }
  .diary__subtitle {
    font-size: 13px;
    line-height: 1.75;
  }
  .diary__grid {
    margin-top: 30px;
  }
  .diary__swiper {
    overflow: visible;
  }
  .diary__item {
    width: 311px;
  }
}

/* 事例 */
.examples {
  padding-top: 200px;
  padding-bottom: 200px;
}
.examples__heading {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 18px;
}
.examples__heading::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 8px;
}
.examples__subheading {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.examples__swiper {
  margin-top: 45px;
  overflow: visible;
}
.examples__item {
  display: block;
  width: 350px;
  transition: all 0.3s ease;
}
.examples__item:hover {
  opacity: 0.8;
}
.examples__image-container {
  position: relative;
  border: 1px solid #eee;
}
.examples__image-container:after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  right: 10px;
  left: auto;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}
.examples__caption {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.examples__item:hover .examples__caption {
  color: inherit;
}

@media (max-width: 768px) {
  .examples {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .examples__item {
    width: 303px;
  }
  .examples__heading {
    font-size: 21px;
    letter-spacing: 0.1em;
  }
  .examples__heading {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  .examples__heading::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
    margin-top: -3px;
    margin-right: 6px;
  }
  .examples__subheading {
    font-size: 12px;
  }
}

/* お客様の声 */
.testimonials {
  padding: 100px 0;
  background: var(--color-bg);
}
.testimonials__heading {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 75px;
}
.testimonials__heading::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 8px;
}
.testimonials__icon {
  padding: 25px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonials__icon img {
  width: 100%;
  height: 100%;
}
.testimonials__grid {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.testimonials__item {
  width: calc(50% - 40px * 1 / 2);
  display: flex;
  padding: 30px 24px;
  gap: 10px;
  align-items: center;
  background: #FFF;
  border-radius: 30px;
}
.testimonials__title {
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
.testimonials__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .testimonials__icon {
    width: 50px;
    height: 50px;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 75px 0;
  }
  .testimonials__heading {
    font-size: 21px;
    letter-spacing: 0.1em;
    }
  .testimonials__heading {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  .testimonials__heading::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
    margin-top: -3px;
    margin-right: 3px;
  }
  .testimonials__swiper {
    overflow: visible;
  }
  .testimonials__item {
    width: 310px;
    height: 100%;
    padding: 25px 15px;
  }
  .testimonials__title {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #CBC8C8;
  }
  .testimonials__image {
    display: block;
    width: 30px;
    height: 30px;
  }
  .testimonials__title-text {
    flex: 1;
    font-size: 16px;
  }
  .testimonials__text {
    font-size: 14px;
    margin-top: 0;
    line-height: 2.25;
  }
}
/* FAQセクション */

.testimonials__container {
  position: relative;
}

.testimonials__container::after {
  content: "";
  width: 10%;
  height: 22%;
  background-image: url('../images/ashiato.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(-5%, 30%);
  z-index: 1;
}

.faq {
  padding: 200px 0;
}

.faq__heading {
  font-size: 1.5rem;
  background-color: rgb(218, 153, 58, 0.5);
  padding-top: 28px;
  padding-bottom: 28px;
  padding-left: 30px;
}

.faq__list {
  max-width: 1500px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.faq__question-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: var(--spacing-sm) 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq__question-button:hover {
  background-color: rgb(218, 153, 58, 0.2);
}

.faq__question {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
}

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  margin-right: 30px;
  color: #442C1D;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background-color: #442C1D;
  transition: all 0.3s ease;
}

.faq__icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq__icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq__item--active .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__answer-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgb(218, 153, 58, 0.2);
}

.faq__item--active .faq__answer-container {
  max-height: 200px;
  padding-bottom: var(--spacing-sm);
}

.faq__answer {
  font-size: 0.9rem;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 40px;
}
.faq__item {
  margin-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.faq__question-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: var(--spacing-sm) 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq__answer-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item--active .faq__answer-container {
  max-height: 200px; /* 適切な高さに調整 */
  padding-bottom: var(--spacing-sm);
}

.faq__item--active .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

@media (max-width: 768px) {
  .testimonials__container::after {
    content: "";
    width: 30%!important;
    height: 40%!important;
    background-image: url('../images/ashiato.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-5%, 30%);
    z-index: 1;
  }
  .faq {
    padding: 100px 0;
  }
  .faq__heading {
    font-size: 23px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-align: center;
    padding: 14px;
  }
  .faq__question,
  .faq__answer {
    padding: 16px 20px;
  }
  .faq__question,
  .faq__answer {
    display: flex;
    gap: 8px;
  }
  .faq__question-text,
  .faq__answer-text {
    flex: 1;
  }
   .faq__question-icon,
   .faq__answer-icon {
    font-size: 20px;
    color: #442C1D;
   }
}

/* 料金表 */
.pricing {
  padding: 100px 0;
  background: var(--color-bg);
}
.pricing__heading {
  margin-bottom: 75px;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
}
.pricing__heading::before {
  content: url(../images/nikukyuu-icon.svg);
  padding-right: 8px;
}
.pricing__grid {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 100px;
}
.pricing__grid:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 1px;
  height: calc(100% - 80px);
  background: #707070;
  opacity: 0.5;
}
.pricing__item {
  width: calc(50% - 100px * 1 / 2);
}
.pricing__item {
  background: #FFF;
  padding: 100px 70px;
  border-radius: 30px;
}
.pricing__title-wrapper {
  width: fit-content;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-center;
  align-items: baseline;
  gap: 20px
}
.pricing__title {
  font-size: 22px;
  color: #839A7F;
}
.pricing__title-sub {
font-size: 14px;
}
.pricing__price {
  display: flex;
  align-items: baseline;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.75;
}
.pricing__price-suffix {
  font-size: 16px;
  color: #717070;
}
.pricing__note {
  margin-top: 50px;
  text-align: center;
}
.pricing__cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .pricing__grid {
    gap: 32px;
  }
  .pricing__item {
    padding: 32px;
    width: calc(100% - 32px * 1 / 2);
  }
  .pricing__title-wrapper {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 75px 0;
  }
  .pricing__heading {
    font-size: 23px;
    letter-spacing: 0.1em;
  }
  .pricing__heading {
    position: relative; /* 擬似要素の絶対配置の基準に */
  }
  .pricing__heading::before {
    content: "";
    display: inline-block;         /* サイズ指定のため */
    width: 20px;                   /* 画像の幅 */
    height: 20px;                  /* 画像の高さ */
    background-image: url(../images/nikukyuu-icon.svg);
    background-repeat: no-repeat;  /* 繰り返し防止 */
    background-size: contain;      /* 枠内に収めてアスペクト比維持 */
    background-position: center;   /* 中央寄せ */
    vertical-align: middle;        /* テキストとの縦位置調整 */
    margin-top: -3px;
    margin-right: 6px;
  }
  .pricing__grid {
    flex-direction: column;
    gap: 100px;
  }
  .pricing__grid:before {
    height: 1px;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
  }
  .pricing__item {
    padding: 20px 10px;
    width: calc(100% + 20px);
    margin-left: -10px;
  }
  .pricing__title-wrapper {
    margin-bottom: 20px;
    flex-direction: row;
  }
  .pricing__title-wrapper {
    margin-bottom: 20px;
    gap: 14px;
    align-items: center;
  }
  .pricing__title-wrapper {
    margin-left: 10%;
  }
  .pricing__title {
    font-size: 19px;
    text-align: center;
    line-height: 0.8;
  }
  .pricing__price {
    font-size: 28px;
  }
  .pricing__title-sub {
    font-size: 11px;
    }
  .pricing__price-suffix {
    font-size: 14px;
  }
  .pricing__description {
    font-size: 14px;
    line-height: 1.8;
    width: fit-content;
    margin-left: 10%;
  }
  .pricing__note {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    width: fit-content;
    margin: 50px auto;
  }
}

/* メッセージボトムセクション */
.message-bottom__container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.message-bottom__container-text {
  width: 101%;
  text-align: left;
  margin-right: 50px;
}
.message-bottom {
  position: relative;
  padding-top: 200px;
  text-align: center;
  overflow: hidden;
}
.message-bottom__title {
  font-size: 16px;
  margin-bottom: 50px;
  font-weight: 400;
}
.message-bottom__text1 {
  font-size: 16px;
  margin-bottom: 100px;
}
.message-bottom__text2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 100px;
  color: #fff;
  display: inline;
}
.message-bottom__text2::after {
  content:"";
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-120%, 250%);
  width: 29%;
  height: 28%;
  background-image: url('../images/ashiato.svg');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}
.message-bottom__text-bg {
  background: #839A7F;
  padding-bottom: 3px;
  padding-left: 8px;

}
.message-bottom__button {
  padding: 1rem 2.3rem;
}
.message-bottom__cta {
  margin-top: 50px;
}

@media (max-width: 768px) {
  .message-bottom__text-bg {
    padding-bottom: 2px;
  }
  .message-bottom {
    padding-top: 100px;
  }
  .message-bottom__title {
    font-size: 14px;
    margin-bottom: 26px;
    text-align: left;
    margin-left: -70px;
    line-height: 1.7;
  }
  .message-bottom__text1 {
    text-align: left;
    font-size: 14px;
    margin-bottom: 50px;
    line-height: 1.7;
  }
  .message-bottom__text2 {
    font-size: 22px;
    display: inline!important;
    margin-bottom: 0;
  }
  .message-bottom__container {
    display: flex;
    flex-direction: column;
  }
  .message-bottom__container-text {
    display: contents; /* 子要素を親の直下に昇格 */
    margin-right: 0;
  }
  .message-bottom__title { order: 1; }
  .message-bottom__img { order: 3; }
  .message-bottom__text1 { order: 2; }
  .message-bottom__text2 { order: 4; }
  .message-bottom__cta { order: 5; }

  .message-bottom__img img {
    margin-bottom: 60px;
  }
  .message-bottom__text2::after {
    content:"";
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-40%, 30%);
    width: 20%;
    height: 28%;
    background-image: url('../images/ashiato.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
  }
}


/* フッター */
.footer {
  margin-top: 200px;
  background-color: var(--color-bg);
  background-size: cover; /* 画面幅に合わせて背景画像を拡大 */
  background-repeat: no-repeat; /* リピートしない設定 */
  background-position: center; /* 画像の位置を中央に設定 */
  width: 100%; /* 幅を100%に設定 */
  height: auto; /* 高さはコンテンツに合わせる（必要に応じて調整） */
}

.footer__container {
  padding-bottom: 0;
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  padding-top: 131px;
  align-items: center;
  gap: 50px;
}

.footer__logo img {
  width: 100px;
}

.footer__logo-text {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.footer__nav-list {
  display: flex;
  column-gap: 50px;
  row-gap: 20px;
  flex-wrap: wrap;
}

.footer__nav-link {
  font-size: 0.9rem;
}

.footer__copyright {
  text-align: center;
  padding-bottom: 10px;
}

.footer__copyright-text {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .footer {
    margin-top: 100px;
  }
  .footer__grid {
    padding-top: 50px;
    margin-bottom: 70px;
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }
  .footer__logo {
    display: block;
    margin: 0 auto;
  }
  .footer__nav-list {
    flex-direction: column;
    align-items: center;
  }
  .footer__nav-list {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer__nav-link {
    font-size: 14px;
  }
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 追従バナー */
.l-fixed-banner {
  position: fixed;
  bottom: 15px;
  right: 30px;
  width: 200px;
  height: 200px;
  visibility: hidden;
  opacity: 0;
  transition: visibility var(--transition), opacity var(--transition);
  z-index: 2;
}
.l-fixed-banner__link {
  position: relative;
  z-index: -1;
  display: block;
  transition: opacity var(--transition);
}
.l-fixed-banner__link:hover {
  opacity: 0.64;
}
.l-fixed-banner.is-active {
  visibility: visible;
  opacity: 1;
}
.l-fixed-banner__close {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  transition: opacity var(--transition);
}
.l-fixed-banner__close:hover {
  opacity: 0.64;
}

.l-fixed-banner__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  background: #fff;
}
.l-fixed-banner__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.l-fixed-banner__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .l-fixed-banner {
    bottom: 10px;
    right: 10px;
    width: 150px;
    height: 150px;
  }
  .l-fixed-banner__close {
    top: -3px;
    right: -2px;
    height: 24px;
    width: 24px;
  }
}

body.loading {
  background: #fff;
  transition: opacity 0.3s, filter 0.3s;
  opacity: 0;
  filter: blur(20px);
  pointer-events: none;
}
body.loaded {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
}

#global-loading-overlay {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: #fff;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
  filter: blur(0);
}
#global-loading-overlay.is-hide {
  opacity: 0;
  pointer-events: none;
  filter: blur(0);
}
