/* Layout / Company / Page Header / FAQ / Footer / CTA
 * レスポンシブ指定は各セクションの直後。ファイルの読み込み順はfunctions.phpで管理。
 */

/* =========================================
   Company Profile
   会社情報ページ
========================================= */

.company-creative {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));

  align-items: center;
  margin-bottom: calc(var(--space-60) * 2);
}

.company-creative__content {
  grid-column: 1 / 7;
  grid-row: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  padding: var(--space-40) 0;
}

/* 見出し：company-creative / company-studio 共通 */
.company-creative__title,
.company-studio__heading {
  margin: 0 0 var(--space-40);
 font-size: clamp(1.5rem, 1.32rem + 0.6vw, 1.6875rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

/* 装飾バー（平行四辺形）：page-lead / company-creative / company-studio 共通 */
.page-lead__mark,
.company-creative__title::after,
.company-studio__heading::before {
  width: 80px;
  height: 8px;
  background: var(--color-blue);
  transform: skewX(-28deg);
}

.company-creative__title::after,
.company-studio__heading::before {
  content: "";
  display: block;
}

.company-creative__title::after {
  margin-top: var(--space-20);
}

.company-studio__heading::before {
  margin: 0 auto var(--space-20);
}

.company-creative__text,
.company-studio__text,
.company-studio__card-text {
 margin: 0;
  line-height: 2;
  letter-spacing: var(--letter-spacing-base);
  overflow-wrap: anywhere;
}

.company-studio__card-text {
  font-size: var(--font-size-caption);
}

.company-creative__photo {
  grid-column: 5 / -1;
  grid-row: 1;
  min-width: 0;
  position: relative;
  margin: 0;
}

.company-creative__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-white) 0%, rgba(var(--color-white-rgb), 0.92) 15%, rgba(var(--color-white-rgb), 0) 55%);
  pointer-events: none;
}

.company-creative__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.company-creative--text-only .company-creative__content {
  grid-column: 1 / -1;
}

.company-studio {
  margin-bottom: calc(var(--space-60) * 2);
  color: var(--color-base);
  font-family: var(--font-base);
}

/* サイズ・装飾バーは company-creative__title と共通定義 */
.company-studio__heading {
  text-align: center;
}

.company-studio__logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto var(--space-40);
}

.company-studio__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-40) var(--space-60);
  margin-top: var(--space-60);
}

.company-studio__card {
  min-width: 0;
}

.company-studio__card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: var(--space-20);
}

.company-studio__card-title {
  margin: 0 0 var(--space-10);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

/* 共通Lightbox：既存Lightboxブロックを置換 */
.company-studio__image-link,
a[data-lightbox] { cursor: zoom-in; }
.company-lightbox {
  box-sizing: border-box;
  width: min(var(--content-readable), calc(100% - var(--space-40)));
  max-width: none;
  max-height: 90vh;
  margin: auto;
  padding: var(--space-30);
  border: 0;
  overflow: auto;
  background: var(--color-white);
  color: var(--color-base);
  font-family: var(--font-base);
  opacity: 0;
  transform: translateY(var(--space-20)) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.company-lightbox.is-open { opacity: 1; transform: translateY(0) scale(1); }
.company-lightbox::backdrop { background: rgba(var(--color-black-rgb), 0); transition: background 0.3s ease; }
.company-lightbox.is-open::backdrop { background: rgba(var(--color-black-rgb), 0.85); }
.company-lightbox__close {
  position: relative;
  display: block;
  width: var(--space-60);
  height: var(--space-60);
  margin: 0 0 var(--space-40) auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-blue);
  cursor: pointer;
}
.company-lightbox__close::before,
.company-lightbox__close::after {
  content: '';
  position: absolute;
  top: 50%; left: 25%;
  width: 50%; height: 3px;
  background: var(--color-white);
  transform: translateY(-50%) rotate(45deg);
}
.company-lightbox__close::after { transform: translateY(-50%) rotate(-45deg); }
.company-lightbox__figure { margin: 0; }
.company-lightbox__stage { position: relative; min-height: var(--space-60); }
.company-lightbox__image { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.company-lightbox__arrow {
  position: absolute;
  top: 50%;
  width: 48px; height: 60px;
  transform: translateY(-50%);
  border: 0; padding: 0;
  background: transparent;
  cursor: pointer;
}
.company-lightbox__arrow--prev { left: calc(var(--space-30) * -1); }
.company-lightbox__arrow--next { right: calc(var(--space-30) * -1); }
/* .message-flow__image::afterの三角形・色を流用 */
.company-lightbox__arrow::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 28px solid rgba(var(--color-blue-rgb), 0.6);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.company-lightbox__arrow--prev::after { transform: translate(-50%, -50%) rotate(180deg); }
.company-lightbox__close:hover,
.company-lightbox__arrow:hover { opacity: 0.8; }
.company-lightbox__close:focus-visible,
.company-lightbox__arrow:focus-visible,
a[data-lightbox]:focus-visible,
.company-studio__image-link:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }
.company-lightbox__image[hidden],
.company-lightbox__arrow[hidden],
.company-lightbox__error[hidden] { display: none; }
.company-lightbox__title,
.company-lightbox__error {
  margin: var(--space-30) 0 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  text-align: center;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 700px) {
  .company-lightbox { padding: var(--space-20); }
  .company-lightbox__close { margin-bottom: var(--space-30); }
  .company-lightbox__arrow--prev { left: calc(var(--space-20) * -1); }
  .company-lightbox__arrow--next { right: calc(var(--space-20) * -1); }
}
@media (prefers-reduced-motion: reduce) {
  .company-lightbox,
  .company-lightbox::backdrop { transition: none; }
}
/* 980px以下：重なりを減らし、文章の可読性を確保 */
@media screen and (max-width: 980px) {
  .company-creative__content {
    grid-column: 1 / 8;
  }

  .company-creative__photo {
    grid-column: 6 / -1;
  }

  .company-studio__cards {
    gap: var(--space-40) var(--space-30);
  }
}

/* 700px以下：写真・設備紹介を1列で表示 */
@media screen and (max-width: 700px) {
  .company-creative {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-30);
    margin-bottom: var(--space-60);
  }

  .company-creative__content {
    padding: 0;
  }

  .company-creative__title {
    margin-bottom: var(--space-30);
  }

  .company-creative__photo::after {
    display: none;
  }

  .company-studio {
    margin-bottom: var(--space-60);
  }

  .company-studio__cards {
    grid-template-columns: minmax(0, 1fr);
    margin-top: var(--space-40);
  }
}

.company-profile {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.company-profile__panel + .company-profile__panel {
  margin-top: 64px;
}

.company-profile__panel {
  position: relative;
}

.company-profile__heading {
  position: relative;
  margin: 0 0 28px;
  padding-left: 22px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-blue);
}

.company-profile__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 5px;
  height: 1.25em;
  background: var(--color-gold);
  border-radius: 999px;
}

/* -----------------------------------------
   定義リスト型テーブル
   会社概要 / 事務所情報 / お問い合わせフォーム 共通
   ※ .cf7__* の定義もここに集約
----------------------------------------- */

.company-profile__list,
.cf7__list {
  width: 100%;
  border-top: 1px solid var(--color-border);
}

.cf7__list {
  margin: 0;
  padding: 0;
}

.company-profile__row,
.cf7__row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--color-border);
}

.company-profile__label,
.company-profile__value,
.cf7__label,
.cf7__field {
  min-width: 0;
  margin: 0;
  padding: 22px 26px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.company-profile__label,
.cf7__label {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  color: var(--color-base);
  font-weight: 700;
}

.cf7__label {
  gap: 10px;
}

.company-profile__value,
.cf7__field {
  background: var(--color-white);
  color: var(--color-base);
  font-weight: 500;
}

.company-profile__value a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.company-profile__value a:hover {
  color: var(--color-gold);
}

.company-profile__address {
  margin: 0;
  font-style: normal;
}

/* =========================================
   事務所情報
========================================= */

.company-branch-list {
  display: grid;
  gap: 36px;
}

.company-branch {
  position: relative;
}

.company-branch__name {
  position: relative;
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: clamp(1.125rem, 1.021rem + 0.14vw, 1.188rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-blue);
}

.company-branch__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.company-branch__detail {
  background: var(--color-white);
}

.company-branch__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  width: fit-content;
  font-weight: 700;
}

.company-branch__map-link i {
  color: var(--color-gold);
}

/* =========================================
   700px以下
========================================= */

@media screen and (max-width: 700px) {
  .company-profile {
    max-width: 100%;
  }

  .company-profile__panel + .company-profile__panel {
    margin-top: 48px;
  }

  .company-profile__heading {
    margin-bottom: 20px;
    padding-left: 18px;
    font-size: 30px;
  }

  /* 定義リスト型テーブル（会社概要 / 事務所情報 / フォーム 共通） */
  .company-profile__row,
  .cf7__row {
    display: block;
  }

  .company-profile__label,
  .company-profile__value,
  .cf7__label,
  .cf7__field {
    padding: 16px 18px;
  }

  .company-profile__label,
  .cf7__label {
    border-bottom: 1px solid rgba(var(--color-border-rgb), 0.8);
  }

  .company-profile__value,
  .cf7__field {
    font-size: clamp(0.875rem, 0.77rem + 0.53vw, 1rem);
    line-height: 1.9;
  }

  .company-branch-list {
    gap: 32px;
  }

  .company-branch__name {
    margin-bottom: 12px;
    font-size: 24px;
  }
}

/* =========================================
   480px以下
========================================= */

@media screen and (max-width: 480px) {
  /* 定義リスト型テーブル（会社概要 / 事務所情報 / フォーム 共通） */
  .company-profile__label,
  .company-profile__value,
  .cf7__label,
  .cf7__field {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================================
   共通：ページ文書レイアウト
   プライバシーポリシー・利用規約・免責事項など
========================================= */

.page-document {
  width: 100%;
}

/* 全体リスト */
.page-document__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* 1ブロック */
.page-document__item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 80px;
  align-items: start;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--color-border);
}

/* 左側：番号＋タイトル */
.page-document__head {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
}

.page-document__number {
  font-family: var(--font-en);
  font-size: clamp(3.25rem, 3.042rem + 0.28vw, 3.375rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(var(--color-blue-rgb), 0.16);
}

.page-document__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.146rem + 0.14vw, 1.313rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: var(--color-blue);
}

/* 右側：本文 */
.page-document__body {
  line-height: 2;
  letter-spacing: 0.045em;
}

.page-document__body p {
  margin: 0 0 1.5em;
}

.page-document__body p:last-child {
  margin-bottom: 0;
}

.page-document__body a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.page-document__body ul,
.page-document__body ol {
  margin: 1.2em 0 1.2em 1.4em;
  padding: 0;
}

.page-document__body ul {
  list-style: disc;
}

.page-document__body ol {
  list-style: decimal;
}

.page-document__body li {
  margin-bottom: 0.45em;
}

.page-document__body strong {
  font-weight: 700;
  color: var(--color-base);
}

/* =========================================
   1199px以下
========================================= */

@media screen and (max-width: 1199px) {
  .page-document__item {
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: 56px;
  }

  .page-document__list {
    gap: 64px;
  }
}

/* =========================================
   700px以下
========================================= */

@media screen and (max-width: 700px) {
  .page-document__list {
    gap: 52px;
  }

  .page-document__item {
    display: block;
  }

  .page-document__head {
    margin-bottom: 20px;
    row-gap: 8px;
  }

  .page-document__number {
    font-size: 3.75rem;
  }

  .page-document__title {
    font-size: 1.35rem;
    line-height: 1.55;
  }

  .page-document__body {
    font-size: clamp(0.875rem, 0.77rem + 0.53vw, 1rem);
    line-height: 2;
  }
}

/* =========================================
   480px以下
========================================= */

@media screen and (max-width: 480px) {
  .page-document__number {
    font-size: 3.25rem;
  }

  .page-document__title {
    font-size: 1.25rem;
  }
}

/* =========================================
   フッター
========================================= */

/* CTA */
.sp-cta-btn {
  position: fixed;
  z-index: 9999;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* スクロール表示用 */
.sp-cta-btn.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sp-cta-btn__btn-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}

/* =========================================
   PC・タブレット版 (701px 〜)
========================================= */
@media all and (min-width: 701px) {
  .sp-cta-btn {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .sp-cta-btn__btn {
    width: 60px;
    height: 60px;
    margin-bottom: 6px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    border-radius: 7px 0 0 7px;
    box-shadow: var(--cta-shadow);
  }

  .sp-cta-btn__btn:hover {
    width: 280px;
  }

  .sp-cta-btn__btn-link {
    width: 280px;
    height: 100%;
    white-space: nowrap;
  }

  .sp-cta-btn__btn-ico {
    width: 60px;
    min-width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
  }

  /* テキスト共通 */
  .sp-cta-btn__btn-txt,
  .sp-cta-btn__btn-tel {
    font-weight: bold;
    font-size: 16px;
  }

  .sp-cta-btn__btn-tel {
    padding-left: 65px;
  }

  /* 電話番号（指定フォント適用） */
  .sp-cta-btn__btn-tel-num {
    font-family: var(--font-en); /* Bebas Neue適用 */
    font-size: 26px; /* 欧文フォントに合わせてサイズ調整 */
    letter-spacing: 0.08em;
    line-height: 1;
    margin-top: 2px;
  }

  .u-sp-only { display: none; }
  .u-pc-only { display: inline; }

  /* 配色 */
  .is-tel .sp-cta-btn__btn-link {
    background-color: var(--color-white);
    color: var(--color-blue);
	 flex-direction: column;
        align-items: flex-start;
		position: relative;
		border: 1px solid var(--color-blue);
		border-radius: 7px 0 0 7px;
  }
  .is-line .sp-cta-btn__btn-link {
    background-color: var(--cta-line-color);
    color: var(--color-white);
  }
  .is-contact .sp-cta-btn__btn-link {
    background-color: var(--cta-mail-color);
    color: var(--color-white);
  }

   .sp-cta-btn__btn-tel-num i{
   font-size: 21px;
   position: absolute;
   display: block;
   top: 50%;
    left:20px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
   }

  .sp-cta-btn__btn-support{
font-size: 9px;
background: var(--color-gold);
text-align: center;
border-radius: 20px;
padding: 0.05em 1em;
color: var(--color-white);
margin: 0.7em 70px 0.3em;
}
}

/* =========================================
   スマホ版 (〜700px)
========================================= */
@media screen and (max-width: 700px) {
 .sp-cta-btn {
    /* 中央配置の設定 */
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 480px; /* 必要に応じて最大幅を調整 */

    /* 初期状態：横中央を維持しつつ、縦に100%下げて隠す */
    transform: translateX(-50%) translateY(100%);
    -webkit-transform: translateX(-50%) translateY(100%);

    display: flex;
    position: fixed;
    z-index: 9999;

    /* 上部の角を丸くする設定 */
    border-radius: 8px 8px 0 0;
    overflow: hidden; /* 子要素がはみ出して角丸が消えないように */

    /* 影と背景 */
    box-shadow: 0 -2px 10px rgba(var(--color-black-rgb), 0.1);
    transition: transform 0.5s ease-in-out, opacity 0.5s;
    background: var(--color-white); /* 下地の白 */
  }

  /* JavaScriptで付与されるクラス */
  .sp-cta-btn.is-active {
    /* 横中央を維持したまま表示状態へ */
    transform: translateX(-50%) translateY(0);
    -webkit-transform: translateX(-50%) translateY(0);
  }

  /* ボタン同士の境界線の調整 */
  .sp-cta-btn__btn + .sp-cta-btn__btn {
    border-left: 1px solid rgba(var(--color-black-rgb), 0.05);
  }
  .sp-cta-btn__btn.is-tel { width: 50%; }
  .sp-cta-btn__btn.is-line { width: 25%; }
  .sp-cta-btn__btn.is-contact { width: 25%; }

  .sp-cta-btn__btn-link {
    flex-direction: column;
    justify-content: center;
    height: 60px;
  }

.sp-cta-btn__btn-support{
font-size: 9px;
background: var(--color-gold);
text-align: center;
border-radius: 20px;
padding: 0.05em 1em;
color: var(--color-white);
margin-bottom: 0.3em;
}

.sp-cta-btn__btn-support span{
color: var(--color-red);
}

  .sp-cta-btn__btn-ico {
    font-size: 24px;
	line-height: 1em;
  }

  /* 電話番号（スマホ・指定フォント適用） */
  .sp-cta-btn__btn-tel-num {
    font-family: var(--font-en);
    font-size: 26px;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  .sp-cta-btn__btn-tel-num i{
  margin-right: 0.25em;
  }

  .sp-cta-btn__btn-txt {
    font-size: 12px;
    font-weight: bold;
    transform: scale(0.9); /* 狭い幅への微調整 */
  }

  .u-pc-only { display: none; }
  .u-sp-only { display: inline; }

  /* 境界線 */
  .sp-cta-btn__btn + .sp-cta-btn__btn {
    border-left: 1px solid rgba(var(--color-white-rgb), 0.2);
  }
  .is-tel + .is-line {
    border-left: 1px solid var(--color-grey);
  }

  .is-tel .sp-cta-btn__btn-link { background-color: var(--color-white); color: var(--color-base); }
  .is-line .sp-cta-btn__btn-link { background-color: var(--cta-line-color); color: var(--color-white); }
  .is-contact .sp-cta-btn__btn-link { background-color: var(--cta-mail-color); color: var(--color-white); }
}

@media screen and (max-width: 480px) {
.sp-cta-btn__btn-tel-num {
    font-size:clamp(1.5rem, 1.25rem + 1.25vw, 1.625rem);
  }
}

/* =========================================
   ページヘッダー
========================================= */

.page-header {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--color-surface-cyan);
}

/* 背景画像 */
.page-header__bg {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  bottom: -80px;
  z-index: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 文字を読みやすくする薄いレイヤー */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 65%;
  background: linear-gradient(
    90deg,
          rgba(var(--color-white-rgb), 0.98) 0%,
      rgba(var(--color-white-rgb), 0.96) 18%,
      rgba(var(--color-white-rgb), 0.90) 35%,
      rgba(var(--color-white-rgb), 0.72) 50%,
      rgba(var(--color-white-rgb), 0.42) 64%,
      rgba(var(--color-white-rgb), 0.14) 78%,
      rgba(var(--color-white-rgb), 0.00) 92%
  );
  pointer-events: none;
}

/* タイトルの横幅 */
.page-header__inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

/* タイトルエリア */
.page-header__text {
  max-width: 620px;
  font-size: clamp(2rem, 1.583rem + 0.56vw, 2.25rem);
      background: rgba(var(--color-white-rgb), 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 20px;
}

.page-header__title {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-shadow: 0 1px 3px rgba(var(--color-white-rgb), 0.8);
}

.page-header__subtitle {
  margin: 10px 0 0;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
}

/* =========================================
   Responsive
========================================= */

@media screen and (max-width: 1199px) {
  .page-header__inner {
    max-width: 100%;
    padding: 0 40px;
  }
}

@media screen and (max-width: 700px) {
  .page-header {
    height: 280px;
  }

  .page-header__bg {
    top: -100px;
    bottom: -100px;
  }

  .page-header__bg img {
    object-position: center center;
  }

 @media screen and (max-width: 700px) {
  .page-header::before {
    background: linear-gradient(
      90deg,
      rgba(var(--color-white-rgb), 0.84) 0%,
      rgba(var(--color-white-rgb), 0.74) 30%,
      rgba(var(--color-white-rgb), 0.52) 55%,
      rgba(var(--color-white-rgb), 0.20) 76%,
      rgba(var(--color-white-rgb), 0.04) 100%
    );
  }
}

  .page-header__inner {
    padding: 0 24px;
    align-items: center;
  }

  .page-header__text {
    max-width: 100%;
	font-size: clamp(1.75rem, 1.329rem + 2.11vw, 2.25rem);

  }

  .page-header__title {
    line-height: 1.35;
	word-break: keep-all;
  overflow-wrap: anywhere;
  }

  .page-header__subtitle {
    margin-top: clamp(0.188rem, 0.082rem + 0.53vw, 0.313rem);
    font-size: 0.8em;
  }
}

/* =========================================
   メインページ
========================================= */
@media screen and (max-width: 1199px) {
.main--header-offset{
padding-top: 60px;
}
}

/* =========================================
  共通リード文
========================================= */

.page-lead {
  width: 100%;
  max-width: var(--content-readable);
  margin: 0 auto 60px;
  text-align: center;
}

/* 上部の平行四辺形（サイズ・色は Company Profile の共通定義） */
.page-lead__mark {
  margin: 0 auto 20px;
}

/* タイトル */
.page-lead__title {
     margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    font-size: clamp(1.625rem, 1.313rem + 0.42vw, 1.875rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    color: var(--color-base);
    text-align: left;
    overflow-wrap: anywhere;
}

/* 説明文 */
.page-lead__description {
  max-width: var(--content-readable);
  margin: 40px auto 0;
  text-align: center;
  line-height: 2.1;
  letter-spacing: 0.045em;
}

.page-lead__description p {
  margin: 0;
  display: inline-block;
    text-align: left;
}

/* 色変更用 共通クラス */
.u-text-blue {
  color: var(--color-blue);
}

.u-text-red {
  color: var(--color-red);
}

.u-text-gold {
  color: var(--color-gold);
}

/* 980px以下は100% */
@media screen and (max-width: 980px) {
  .page-lead,
  .page-lead__description {
    max-width: 100%;
  }

  .page-lead {
    margin-bottom: 40px;
  }

  /* 980px→27px / 480px→24px を連続変化させ、701〜979pxの専用指定を不要にする */
  .page-lead__title {
    width: 100%;
    margin: 0;
    font-size: clamp(1.5rem, 1.32rem + 0.6vw, 1.6875rem);
    letter-spacing: 0.06em;
    text-align: left;
  }

  .page-lead__title br {
    display: none;
  }

  .page-lead__description {
    margin-top: 40px;
    line-height: 2;
  }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  .page-lead {
    margin-bottom: 40px;
  }

  .page-lead__mark {
    width: 60px;
    margin-bottom: 20px;
  }

  .page-lead__title {
    letter-spacing: 0.05em;
  }
}

/* =========================================
   FAQ
   よくあるご質問
========================================= */

.faq-page {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.faq-category + .faq-category {
  margin-top: 72px;
}

.faq-category__title {
  position: relative;
  margin: 0 0 28px;
  padding-left: 22px;
  font-size: clamp(1.5rem, 1.292rem + 0.28vw, 1.625rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-blue);
}

.faq-category__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 5px;
  height: 1.25em;
  background: var(--color-gold);
  border-radius: 999px;
}

.faq-category__description {
  margin: -12px 0 28px;
  line-height: 1.9;
  color: var(--color-text-mute);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion__item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(var(--color-blue-rgb), 0.06);
}

.faq-accordion__heading {
  margin: 0;
}

.faq-accordion__question {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 0;
  background: var(--color-surface);
  color: var(--color-base);
  font-family: inherit;
  font-size: clamp(1rem, 0.948rem + 0.07vw, 1.031rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-accordion__question:hover {
  background: var(--color-surface);
  color: var(--color-blue);
}

.faq-accordion__item.is-open .faq-accordion__question {
  background: var(--color-blue);
  color: var(--color-white);
}

.faq-accordion__mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.faq-accordion__mark--q {
  background: var(--color-blue);
  color: var(--color-white);
}

.faq-accordion__item.is-open .faq-accordion__mark--q {
  background: var(--color-white);
  color: var(--color-blue);
}

.faq-accordion__mark--a {
  background: var(--color-gold);
  color: var(--color-white);
}

.faq-accordion__question-text {
  min-width: 0;
}

.faq-accordion__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  border-radius: 50%;
  background: var(--color-white);
  font-size: 14px;
  transition: transform 0.3s ease;
}

.faq-accordion__item.is-open .faq-accordion__icon {
  color: var(--color-blue);
  transform: rotate(180deg);
}

.faq-accordion__icon .fa-minus {
  display: none;
}

.faq-accordion__item.is-open .faq-accordion__icon .fa-plus {
  display: none;
}

.faq-accordion__item.is-open .faq-accordion__icon .fa-minus {
  display: inline-block;
}

.faq-accordion__answer {
  background: var(--color-surface-green);
}

.faq-accordion__answer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px 24px 30px;
}

.faq-accordion__answer-body {
  min-width: 0;
  line-height: 2;
  letter-spacing: 0.045em;
}

.faq-accordion__answer-body p {
  margin: 0 0 1.4em;
}

.faq-accordion__answer-body p:last-child {
  margin-bottom: 0;
}

.faq-accordion__answer-body ul,
.faq-accordion__answer-body ol {
  margin: 1.2em 0 1.2em 1.4em;
  padding: 0;
}

.faq-accordion__answer-body ul {
  list-style: disc;
}

.faq-accordion__answer-body ol {
  list-style: decimal;
}

.faq-accordion__answer-body li {
  margin-bottom: 0.45em;
}

.faq-accordion__answer-body a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.faq-page__empty {
  text-align: center;
  color: var(--color-text-mute);
}

/* =========================================
   700px以下
========================================= */

@media screen and (max-width: 700px) {
  .faq-page {
    max-width: 100%;
  }

  .faq-category + .faq-category {
    margin-top: 56px;
  }

  .faq-category__title {
    margin-bottom: 20px;
    padding-left: 18px;
    font-size: 1.45rem;
  }

  .faq-accordion {
    gap: 14px;
  }

  .faq-accordion__item {
    border-radius: 14px;
  }

  .faq-accordion__question {
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px 16px;
    font-size: clamp(0.938rem, 0.832rem + 0.53vw, 1.063rem);
    line-height: 1.65;
  }

  .faq-accordion__mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .faq-accordion__icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .faq-accordion__answer-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 22px 16px 24px;
  }

  .faq-accordion__answer-body {
    font-size: clamp(0.875rem, 0.77rem + 0.53vw, 1rem);
    line-height: 1.95;
  }
}

/* =========================================
   480px以下
========================================= */

@media screen and (max-width: 480px) {
  .faq-accordion__question {
    padding: 16px 14px;
  }

  .faq-accordion__answer-inner {
    padding: 20px 14px 22px;
  }

  .faq-accordion__mark {
    width: 32px;
    height: 32px;
  }
}

/* =========================================
   フッターCTA
========================================= */

.footer-cta {
  width: 100%;
  min-height: 640px;
  padding: 80px 40px;
  background-color: var(--color-surface-cream);
  background-image:
    linear-gradient(
      90deg,
      rgba(var(--color-white-rgb), 0.12) 0%,
      rgba(var(--color-white-rgb), 0.02) 45%,
      rgba(var(--color-white-rgb), 0.18) 100%
    ),
    var(--footer-cta-bg, url("../images/cta-bg.webp"));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.footer-cta__inner {
  width: 100%;
  max-width: var(--width980);
  margin: 0 auto;
}

.footer-cta__card {
  width: 100%;
  max-width: 980px;
  min-height: 330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  background: rgba(var(--color-white-rgb), 0.94);
  border: 12px solid rgba(var(--color-white-rgb), 0.88);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(var(--color-blue-rgb), 0.24);
}

/* 写真エリア */
.footer-cta__photo {
  position: relative;
  min-height: 330px;
  background: rgba(var(--color-white-rgb), 0.96);
}

/* 人物写真：右端だけ自然にフェード */
.footer-cta__photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% center;

  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 78%,
    rgba(var(--color-black-rgb), 0.85) 88%,
    rgba(var(--color-black-rgb), 0.35) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 78%,
    rgba(var(--color-black-rgb), 0.85) 88%,
    rgba(var(--color-black-rgb), 0.35) 96%,
    transparent 100%
  );
}

/* 念のため、右端に白のなじませレイヤー */
/* 右端だけ白になじませる */
.footer-cta__photo::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  z-index: 1;
  width: 18%;
  background: linear-gradient(
    90deg,
    rgba(var(--color-white-rgb), 0) 0%,
    rgba(var(--color-white-rgb), 0.35) 62%,
    rgba(var(--color-white-rgb), 0.9) 100%
  );
  pointer-events: none;
}

/* 写真内キャッチコピー */
.footer-cta__photo-copy {
  position: absolute;
    top: 42px;
    right: -60px;
    z-index: 3;
    margin: 0;
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: -0.03em;
    color: var(--color-blue);
    text-align: center;
    transform: rotate(-4deg);
    text-shadow: 0 1px 3px rgba(var(--color-white-rgb), 0.9);
}

/* 下のくるっとしたライン */
.footer-cta__photo-copy::after {
  content: "";
  display: block;
  width: 130px;
  height: 22px;
  margin: 4px auto 0;
  border-bottom: 2px solid rgba(var(--color-gold-rgb), 0.65);
  border-radius: 0 0 70% 45%;
  transform: rotate(-5deg) skewX(-18deg);
}

/* くるっと感を少し足す */
.footer-cta__photo-copy::before {
  content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 30px;
    height: 10px;
    border-bottom: 2px solid rgba(var(--color-gold-rgb), 0.55);
    border-radius: 50%;
    transform: translateX(36px) rotate(-18deg);
}

/* 付箋はフェードより前面 */
/* 付箋 */
.footer-cta__note {
  position: absolute;
  left: -50px;
  bottom: 24px;
  z-index: 2;
  min-width: 220px;
  padding: 10px 14px;
  background: rgba(var(--color-white-rgb), 0.94);
  color: var(--color-blue);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 8px 20px rgba(var(--color-black-rgb), 0.14);
  transform: rotate(-1.5deg);
  text-align: center;
}

.footer-cta__note::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 24px;
  width: 72px;
  height: 20px;
  background: rgba(255, 230, 150, 0.6);
  transform: rotate(-3deg);
}

/* 付箋：会社名 */
.footer-cta__note-company {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 7px;
}

/* 付箋：肩書き */
.footer-cta__note-position {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: rgba(var(--color-blue-rgb), 0.78);
  line-height: 1;
}

/* 付箋：名前 */
.footer-cta__note-name {
  display: block;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-blue);
}

/* テキストエリア */
.footer-cta__body {
  padding: 42px 42px 36px;
  color: var(--color-blue);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-cta__copy {
  margin: 0 0 8px;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-blue);
}

.footer-cta__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 20px;
  padding: 28px 0 20px;
  font-size: clamp(1.563rem, 1.25rem + 0.42vw, 1.875rem);
  line-height: 1.45;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-blue);
  text-align: center;
}

/* 上の小さな光の装飾 */
.footer-cta__title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 70px;
  height: 20px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(50deg, transparent 42%, rgba(var(--color-gold-rgb), 1) 43% 57%, transparent 58%),
    linear-gradient(rgba(var(--color-gold-rgb), 1), rgba(var(--color-gold-rgb), 1)),
    linear-gradient(-50deg, transparent 42%, rgba(var(--color-gold-rgb), 1) 43% 57%, transparent 58%);
  background-size:
    12px 16px,
    2px 18px,
    12px 16px;
  background-position:
    left 5px top 4px,
    center top,
    right 5px top 4px;
  background-repeat: no-repeat;
}

/* 下の短いゴールドライン */
.footer-cta__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0.8;
}

.footer-cta__lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--color-ink-mute);
}

.footer-cta__tel {
  width: fit-content;
  margin: 0 auto 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-blue);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-cta__tel i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-cta__buttons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
}

.footer-cta__button-item {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ボタン上の小さな案内文 */
.footer-cta__button-guide {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-cta__button-guide::before,
.footer-cta__button-guide::after {
  position: relative;
  top: -1px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

.footer-cta__button-guide::before {
  content: "＼";
  margin-right: 7px;
}

.footer-cta__button-guide::after {
  content: "／";
  margin-left: 7px;
}

.footer-cta__button-item--line .footer-cta__button-guide {
  color: var(--cta-line-color);
}

.footer-cta__button-item--form .footer-cta__button-guide {
  color: var(--color-blue);
}

.footer-cta__button {
  width: 100%;
  min-width: 200px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 18px rgba(var(--color-black-rgb), 0.13);
}

.footer-cta__button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer-cta__button--line {
  background: var(--cta-line-color);
}

.footer-cta__button--form {
  background: var(--color-blue);
}

.footer-cta__button i {
  font-size: 18px;
}

.footer-cta__button-arrow {
  margin-left: 4px;
  font-size: 12px !important;
}

.footer-cta__button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer-cta__button--line {
  background: var(--cta-line-color);
}

.footer-cta__button--form {
  background: var(--cta-mail-color);
}

.footer-cta__button i {
  font-size: 18px;
}

.footer-cta__small {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #6a5520;
}

/* =========================================
   1199px以下
========================================= */

@media screen and (max-width: 1199px) {
  .footer-cta {
    min-height: 600px;
    padding: 70px 40px;
  }

  .footer-cta__card {
    max-width: 900px;
  }

    .footer-cta__body {
    padding: 34px 30px;
  }

  .footer-cta__tel {
  font-size: clamp(2rem, 1.122rem + 2vw, 2.625rem);
}

}

/* =========================================
   980px以下：タブレット
========================================= */

@media screen and (max-width: 980px) {
  .footer-cta {
    min-height: 560px;
    padding: 60px 32px;
  }

  .footer-cta__card {
    max-width: 700px;
    min-height: 310px;
    grid-template-columns: 38% 62%;
  }

  .footer-cta__photo {
    min-height: 310px;
  }

  .footer-cta__copy {
    font-size: 22px;
  }

  .footer-cta__title {
    padding: 26px 0 18px;
    font-size: 26px;
  }

  .footer-cta__lead {
    font-size: 13px;
  }

  .footer-cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-cta__button {
    width: 100%;
    max-width: 290px;
  }

  .footer-cta__note {
    left: 16px;
    bottom: 18px;
    min-width: 185px;
    padding: 12px 14px;
  }

  .footer-cta__note strong {
    font-size: 16px;
  }

  .footer-cta__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-cta__button-item {
    width: 100%;
    max-width: 290px;
  }

  .footer-cta__button {
    width: 100%;
    max-width: none;
  }

  .footer-cta__photo-copy {
    top: 180px;
    right: -100px;
}
}

/* =========================================
   700px以下：スマホ
========================================= */

@media screen and (max-width: 700px) {
  .footer-cta {
    min-height: auto;
    padding: 44px 20px 88px;
    background-position: center top;
  }

  .footer-cta__card {
    max-width: 480px;
    grid-template-columns: 1fr;
    border-width: 6px;
    border-radius: 18px;
  }

  .footer-cta__photo {
    min-height: 300px;
  }

  .footer-cta__photo img {
    object-position: center 24%;
  }

  .footer-cta__note {
    left: 18px;
    bottom: 16px;
    min-width: 210px;
  }

  .footer-cta__body {
    padding: 34px 22px 32px;

  }
    .footer-cta__photo-copy {
        top: 50px;
        right: 0px;
    }

  .footer-cta__copy {
    font-size: 22px;
  }

  .footer-cta__title {
    font-size: 24px;
    line-height: 1.5;
	padding: 26px 0 18px;
  }

  .footer-cta__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .footer-cta__tel {
    font-size: 24px;
        gap: 10px;
        border: solid 1px;
        padding: 0.5em;
        display: flex;
        width: 100%;
        border-radius: 999px;
  }

  .footer-cta__tel i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .footer-cta__buttons {
    width: 100%;
  }

  .footer-cta__button {
    width: 100%;
    max-width: none;
    min-height: 52px;
  }

  .footer-cta__small {
    font-size: 12px;
  }

   .footer-cta__photo img {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .footer-cta__photo::after {
    display: none;
  }

  .footer-cta__buttons {
    width: 100%;
    gap: 14px;
  }

  .footer-cta__button-item {
    width: 100%;
    max-width: none;
  }

  .footer-cta__button-guide {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .footer-cta__button {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 52px;

  }
}

/* =========================================
   480px以下
========================================= */

@media screen and (max-width: 480px) {
  .footer-cta {
    padding: 36px 14px 84px;
  }

  .footer-cta__photo {
    min-height: 260px;
  }

  .footer-cta__photo-copy {
  top: 0;
  right: 0;
  transform: scale(0.7) rotate(-4deg);
  transform-origin: center center;
}

  .footer-cta__body {
    padding: 30px 18px 28px;
  }

  .footer-cta__copy {
    font-size: 20px;
  }

  .footer-cta__title {
   padding: 24px 0 17px;
    font-size: 23px;
  }

  .footer-cta__tel {
    font-size: clamp(1.188rem, 0.563rem + 3.13vw, 1.5rem);
  }

  .footer-cta__note {
    min-width: 190px;
    padding: 11px 13px;
  }

  .footer-cta__note-company {
  font-size: 12px;
}

.footer-cta__note-position {
  font-size: 9px;
}

.footer-cta__note-name {
  font-size: 17px;
}
}

/* =========================================
   フッター
========================================= */

.footer {
  position: relative;
  width: 100%;
  padding: 80px 0 0;
  color: var(--color-white);
  overflow: hidden;

  background:
    radial-gradient(
      circle at 78% 42%,
      rgba(41, 118, 190, 0.65) 0%,
      rgba(var(--color-blue-rgb), 0.45) 38%,
      transparent 68%
    ),
    radial-gradient(
      circle at 92% 78%,
      rgba(58, 160, 190, 0.45) 0%,
      rgba(20, 82, 155, 0.35) 35%,
      transparent 65%
    ),
    radial-gradient(
      circle at 0% 50%,
      rgba(0, 10, 45, 0.96) 0%,
      rgba(0, 22, 80, 0.88) 42%,
      transparent 72%
    ),
    linear-gradient(
      120deg,
      #000b2f 0%,
      #001753 28%,
      var(--color-blue) 55%,
      #00358f 78%,
      #144fa3 100%
    );
}

.footer-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding-pc);
  padding-right: var(--container-padding-pc);
}

/* コメント */
.site-footer__comment {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 18px 24px;
  border: 1px solid rgba(var(--color-white-rgb), 0.24);
  background: rgba(var(--color-white-rgb), 0.06);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-align: center;
}

/* 会社ロゴ */
.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.site-footer__logo {
  width: 70px;
  flex-shrink: 0;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__company-name {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.site-footer__company-style {
  font-size: 16px;
}

.site-footer__company-main {
  font-size: 30px;
}

/* 事務所 */
.site-footer__branches {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 56px;
  display: grid;
  gap: 22px;
}

.site-footer__branch {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
}

.site-footer__branch-name {
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-align: right;
}

.site-footer__branch-body {
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.site-footer__branch-address,
.site-footer__branch-contact {
  margin: 0;
}

.site-footer__branch-zip {
  margin-right: 0.45em;
}

.site-footer__branch-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9em 1.6em;
}

.site-footer__branch-contact a {
  color: var(--color-white);
}

.site-footer__branch-contact a:hover {
  color: var(--color-gold);
}

/* メニュー */
.site-footer__menus {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 88px;
}

.site-footer__menu-heading {
  margin: 0;
}

.site-footer__menu-head {
  width: 100%;
  padding: 26px 0 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-family: inherit;
  text-align: left;
  cursor: default;
}

.site-footer__menu-title {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer__menu-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  width: 36px;
  height: 3px;
  background: var(--color-gold);
}

.site-footer__menu-icon {
  display: none;
}

.site-footer__menu-body {
  margin-top: 22px;
}

.site-footer__menu-list {
  display: grid;
  gap: 12px;
}

.site-footer__menu-list a {
  display: inline-block;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer__menu-list a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

/* SNS */
.site-footer__sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto 36px;
}

.site-footer__sns a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(var(--color-black-rgb), 0.18);
}

.site-footer__sns a:hover {
  transform: translateY(-3px);
  opacity: 0.86;
}

.site-footer__sns img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-footer__sns span {
  color: var(--color-blue);
  font-size: 10px;
  font-weight: 700;
}

/* 黒帯メニュー */
.site-footer__legal {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--color-footer);
}

.site-footer__legal-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
}

.site-footer__legal-list a {
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer__legal-list a:hover {
  color: var(--color-gold);
}

/* コピーライト */
.site-footer__copy-wrap {
  text-align: center;
  padding: 18px 0 22px;
}

.site-footer__copy {
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* =========================================
   1199px以下
========================================= */

@media screen and (max-width: 1199px) {
  .footer-inner {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }

  .site-footer__menus {
    column-gap: 56px;
  }

  .site-footer__legal-list {
    gap: 44px;
  }
}

/* =========================================
   700px以下
========================================= */

@media screen and (max-width: 700px) {
  .footer {
    padding: 48px 0 60px;

    background:
      radial-gradient(
        circle at 85% 35%,
        rgba(41, 118, 190, 0.6) 0%,
        rgba(var(--color-blue-rgb), 0.45) 42%,
        transparent 70%
      ),
      radial-gradient(
        circle at 0% 50%,
        rgba(0, 10, 45, 0.96) 0%,
        rgba(0, 22, 80, 0.9) 48%,
        transparent 76%
      ),
      linear-gradient(
        145deg,
        #000b2f 0%,
        #001753 35%,
        var(--color-blue) 68%,
        #123f96 100%
      );
  }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer__comment {
    margin-bottom: 32px;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
  }

  .site-footer__brand {
    gap: 14px;
    margin-bottom: 28px;
  }

  .site-footer__logo {
    width: 50px;
  }

  .site-footer__company-name {
    gap: 16px;
	align-items: center;
  }

  .site-footer__company-style {
    font-size: 21px;
        margin-top: 4px;
  }

  .site-footer__company-main {
    font-size: 36px;
  }

  .site-footer__branches {
    margin-bottom: 30px;
    gap: 30px;
  }

  .site-footer__branch {
    display: block;
    text-align: center;
  }

  .site-footer__branch-name {
    margin-bottom: 0.25em;
    text-align: center;
    font-size: clamp(1.188rem, 1.082rem + 0.53vw, 1.313rem);
  }

  .site-footer__branch-body {
    font-size: clamp(0.875rem, 0.77rem + 0.53vw, 1rem);
    line-height: 1.75;
    letter-spacing: 0.04em;
  }

  .site-footer__branch-address {
    margin-bottom: 2px;
  }

  .site-footer__branch-zip {
    display: block;
    margin-right: 0;
  }

  .site-footer__branch-address-text {
    display: block;
  }

  .site-footer__branch-contact {
    justify-content: center;
    gap: 0.4em 1em;
  }

  .site-footer__menus {
    display: block;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .site-footer__menu {
    margin-bottom: 14px;
  }

  .site-footer__menu-head {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(var(--color-white-rgb), 0.85);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .site-footer__menu-title {
    padding-left: 14px;
    font-size: 14px;
  }

  .site-footer__menu-title::before {
    top: 50%;
    left: 0;
    width: 3px;
    height: 16px;
    transform: translateY(-50%);
  }

  .site-footer__menu-icon {
    display: block;
    font-size: 14px;
    color: var(--color-white);
  }

  .site-footer__menu-body {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.35s ease;
  }

  .site-footer__menu.is-open .site-footer__menu-body {
    max-height: 420px;
  }

  .site-footer__menu-list {
    padding: 14px 18px 4px 32px;
    gap: 10px;
  }

  .site-footer__menu-list a {
    font-size: 14px;
  }

  .site-footer__sns {
    gap: 18px;
    margin-bottom: 28px;
  }

  .site-footer__sns a {
    width: 38px;
    height: 38px;
  }

  .site-footer__legal-list {
    padding: 14px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    text-align: center;
  }

  .site-footer__legal-list a {
    font-size: 14px;
    line-height: 1.6;
  }

  .site-footer__copy-wrap {
    padding: 16px 0 18px;
  }

  .site-footer__copy {
    font-size: 12px;
  }
}

/* =========================================
   480px以下
========================================= */

@media screen and (max-width: 480px) {
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

 .site-footer__company-style {
    font-size: clamp(1.125rem, 0.75rem + 1.88vw, 1.313rem);
        margin-top: 4px;
  }

  .site-footer__company-main {
    font-size: clamp(1.75rem, 0.75rem + 5vw, 2.25rem);
  }

  .site-footer__legal-list {
    gap: 6px 12px;
  }

   .site-footer__legal-list a {
    font-size: clamp(0.625rem, 0.125rem + 2.5vw, 0.875rem);
  }

}

@media screen and (min-width: 701px) {
  .site-footer__branches {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__branch {
    grid-template-columns: 92px max-content;
    column-gap: 30px;
  }

  .site-footer__branch-name {
    text-align: right;
  }

  .site-footer__branch-body {
    white-space: nowrap;
  }

    .site-footer__menu-icon,
  .site-footer__menu-head .fa-plus,
  .site-footer__menu-head .fa-minus {
    display: none !important;
  }

  .site-footer__menu-head {
    pointer-events: none;
  }

  .site-footer__menus {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;

    grid-template-columns: repeat(3, max-content);
    column-gap: clamp(80px, 10.5vw, 150px);
    justify-content: center;
  }

  .site-footer__menu {
    width: max-content;
  }

  .site-footer__menu-head {
    width: auto;
  }

  .site-footer__menu-body {
    width: max-content;
  }
}

/* 事務所名リンク */
.company-branch__name a {
  color: inherit;
  text-decoration: none;
}

.company-branch__name a:hover {
  color: var(--color-gold);
}
