@charset "UTF-8";

/* ==========================================================================
   common.css
   全ページ共通：デザイントークン／共通パーツ／ヘッダー／フッター
   命名は BEM（block__element--modifier・すべて小文字ハイフン区切り）。
   レスポンシブは 1440px デザインを基準にしたデスクトップファースト。
   ブレークポイントは 1199px（タブレット以下）／767px（スマホ）で統一する。
   ※ ガイドライン 3.11 はモバイルファーストを推奨しているが、本案件は
   　 1440px の PC デザインが唯一の基準であるため max-width で記述している。
   ========================================================================== */

/* --------------------------------------------------------------------------
   デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* ブランドカラー（Figma 変数） */
  --color-navy: #05254e;
  --color-blue: #1a6bd5;
  --color-orange: #ffa336;
  --color-green: #1ec764;
  --color-yellow: #f9f871;
  --color-white: #fff;

  /* 背景・補助 */
  --color-bg-light: #e8efff;
  --color-bg-cream: #fff1e2;

  /* ホバー時の共通アクセント（Figma の各ボタン「バリアント2」で統一されている色） */
  --color-orange-hover: #fa7500;

  /* フォント */
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-en: "Outfit", sans-serif;
  --font-script: "Caveat", cursive;
  --tracking: 0.05em;

  /* レイアウト */
  --container: 1200px;
  --gutter: 20px;
  --header-height: 120px;

  /* ドロワーが開き切るまでの時間。script.js も transitionend でこれを待つ */
  --drawer-duration: 0.55s;

  /* 重なり順（場当たりな値を避け、段階で管理する） */
  --z-float: 90;
  --z-header: 100;
  --z-drawer-overlay: 150;
  --z-drawer: 200;

  /* スマホ固定フッターの高さ。バナーの位置と本文下の逃げに共用する */
  --sp-footer-height: 56px;
}

body {
  font-family: var(--font-jp);
  color: var(--color-navy);
  background: var(--color-white);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   ユーティリティ
   -------------------------------------------------------------------------- */
/* 目には見せずスクリーンリーダーにだけ残す見出しなどに使う */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

/* ==========================================================================
   section-heading ― 英字＋日本語の共通見出し
   ========================================================================== */
.section-heading {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  color: var(--color-blue);
}

.section-heading__en {
  /* 1440px で 104px。狭い画面でも container からはみ出さないよう可変にする */
  font-family: var(--font-en);
  font-size: clamp(80px, 7.2vw, 104px);
  line-height: 0.92;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}

.section-heading__accent {
  color: var(--color-orange);
}

.section-heading__ja {
  font-family: var(--font-jp);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .section-heading__en {
    font-size: 56px;
    line-height: 1;
  }

  .section-heading__ja {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .section-heading {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .section-heading__en {
    font-size: 36px;
  }

  .section-heading__ja {
    font-size: 16px;
    white-space: normal;
  }
}

/* ==========================================================================
   btn-pill ― 角丸の共通ボタン
   ========================================================================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 100%;
  height: 68px;
  padding: 10px 10px 10px 37px;
  color: var(--color-white);
  background: var(--color-blue);
  /* ホバーで枠線が出てもサイズが動かないよう、通常時から透明の枠線を持たせる */
  border: 1px solid transparent;
  border-radius: 40px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Figma の btn バリアント2（ホバー）＝ 白地・青文字・青枠に反転する */
.btn-pill:hover,
.btn-pill:focus-visible {
  color: var(--color-blue);
  background: var(--color-white);
  border-color: var(--color-blue);
}

.btn-pill__label {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}

.btn-pill__arrow {
  flex-shrink: 0;
  width: 48px;
  height: auto;
  /* 反転した矢印（青丸＋白矢印）を背景に敷き、上のデフォルト矢印を
     フェードアウトさせて入れ替える。画像2枚を重ねずに済む */
  background: url("../../img/common/arrow-pill-hover.webp") center / contain no-repeat;
  border-radius: 50%;
}

.btn-pill__arrow img {
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.btn-pill:hover .btn-pill__arrow img,
.btn-pill:focus-visible .btn-pill__arrow img {
  opacity: 0;
}

.btn-pill--outline {
  color: var(--color-blue);
  background: transparent;
  border: 1px solid var(--color-blue);
}

@media (max-width: 1199px) {
  .btn-pill {
    gap: 24px;
    height: 60px;
    padding: 8px 8px 8px 26px;
  }

  .btn-pill__label {
    font-size: 16px;
  }

  .btn-pill__arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 767px) {
  .btn-pill {
    gap: 16px;
    height: 56px;
    padding: 6px 6px 6px 22px;
  }

  .btn-pill__label {
    font-size: 14px;
  }
}

/* ==========================================================================
   global-header ― 画面幅いっぱいの固定ヘッダー
   ========================================================================== */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
}

/* Figma は右端で CTA 3つとハンバーガーが隙間なく並ぶため、
   inner には一律の gap を置かず、ロゴ〜ナビの間だけ margin で空ける */
.global-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 24px;
}

.global-header__brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 4px;
}

.global-header__logo {
  width: 263px;
}

.global-header__logo-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.global-header__logo-link img {
  width: 100%;
  height: auto;
}

.global-header__catch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 263px;
  height: 23px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  white-space: nowrap;
  border: 1px solid var(--color-blue);
}

.global-header__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  height: 116px;
  margin-left: auto;
}

.global-header__action {
  display: flex;
}

/* ==========================================================================
   global-nav ― PC のグローバルナビ
   ========================================================================== */
.global-nav {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 24px;
}

.global-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.global-nav__link {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
  white-space: nowrap;
}

/* ==========================================================================
   action-btn ― ヘッダー／ドロワー共通の CTA ボタン
   ========================================================================== */
.action-btn {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 100px;
  height: 100%;
  padding-bottom: 16px;
  text-align: center;
  color: var(--color-white);
  transition: background-color 0.3s ease;
}

/* Figma のバリアント2：3色とも共通のオレンジに変わる（文字・アイコンは白のまま） */
.action-btn:hover,
.action-btn:focus-visible {
  background: var(--color-orange-hover);
}

.action-btn__icon {
  width: 30px;
  height: auto;
  margin-bottom: 10px;
}

.action-btn__icon--entry {
  width: 24px;
}

.action-btn__icon--line {
  width: 28px;
}

.action-btn__label {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: var(--tracking);
}

.action-btn--casual {
  background: var(--color-blue);
}

.action-btn--entry {
  background: var(--color-orange);
}

.action-btn--line {
  background: var(--color-green);
}

.action-btn--drawer {
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 4px;
}

.action-btn--drawer .action-btn__icon {
  width: 26px;
  margin-bottom: 0;
}

.action-btn--drawer .action-btn__label {
  font-size: 13px;
  line-height: 1.4;
}

/* ==========================================================================
   hamburger ― ドロワー開閉ボタン
   ========================================================================== */
.hamburger {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 72px;
  height: 100%;
  background: transparent;
}

/* 2本線のメニューアイコン（上下2本を疑似要素で描く） */
.hamburger__bars {
  position: relative;
  display: block;
  width: 40px;
  height: 9px;
}

.hamburger__bars::before,
.hamburger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-blue);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.hamburger__bars::before {
  top: 0;
}

.hamburger__bars::after {
  top: 7px;
}

/* 開いている間は2本線をバツ印に変形する */
.hamburger[aria-expanded="true"] .hamburger__bars::before {
  transform: translateY(3.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__bars::after {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hamburger__label {
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--color-blue);
}

/* ==========================================================================
   drawer ― グローバルメニューを開いたときのパネル
   Figma「GM展開後」。右から 402px のパネルが出る。
   中身はフッターと同じ階層（親＝太字 18px／子＝16px ＋ オレンジの横線）。
   ========================================================================== */
.drawer {
  position: fixed;
  top: var(--header-height);
  right: 20px;
  z-index: var(--z-drawer);
  width: 432px;
  max-width: 100%;
  max-height: calc(100vh - var(--header-height));
  /* スマホのブラウザは下にアドレスバーやタブのバーが出る。dvh はその
     バーを除いた高さなので、メニューの下がバーの裏に回り込まない。
     dvh が使えないブラウザは上の 100vh がそのまま残る */
  max-height: calc(100dvh - var(--header-height));
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
  box-shadow: -8px 8px 24px rgba(5, 37, 78, 0.12);
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  overflow: hidden;
  transition: grid-template-rows var(--drawer-duration) ease;
}

.drawer.is-open {
  grid-template-rows: minmax(0, 1fr);
}

/* 動きを減らす設定の人には一瞬で出す。
   0s にすると transitionend が来なくなり、閉じたあとの hidden が付かない */
@media (prefers-reduced-motion: reduce) {
  .drawer {
    transition-duration: 1ms;
  }
}

/* メニューの後ろに敷く膜。押すと閉じる。
   ヘッダーは覆わないので、MENU ボタンはそのまま押せる */
.drawer-overlay {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-drawer-overlay);
}

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

/* 開いている間は後ろのページを動かさない。
   消えたスクロールバーのぶんだけ余白を足して、ガタつかないようにする
   （--scrollbar-width は script.js が入れる） */
html.is-drawer-open,
body.is-drawer-open {
  overflow: hidden;
}

body.is-drawer-open {
  padding-right: var(--scrollbar-width, 0px);
}

body.is-drawer-open .global-header {
  width: calc(100% - var(--scrollbar-width, 0px));
}

/* right を書き換えると、パネルの位置指定（0 や 20px）を上書きしてしまうので、
   ずらす分だけ translate で左へ戻す */
body.is-drawer-open .drawer,
body.is-drawer-open .float-banner {
  translate: calc(var(--scrollbar-width, 0px) * -1) 0;
}

/* display を指定しているので、hidden 属性を明示的に効かせる */
.drawer[hidden] {
  display: none;
}

.drawer__inner {
  padding: 33px 16px 48px 35px;

  /* 伸び縮みするのは外側。中身が入りきらないときは、ここがスクロールする */
  min-height: 0;
  overflow-y: auto;
  /* 端まで来ても、後ろのページに送らない */
  overscroll-behavior: contain;
  /* スクロールバーは出さない（中身はスクロールできる） */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.drawer__inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* 2 列。かたまりごとに列を決めておくと、左右の見出しの高さがそろう。
   左列は Figma と同じ 164px。「数字で見る丸石グループ」だけは
   その幅を超えるが、右側は同じ行が空なのでぶつからない */
.drawer__nav {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  row-gap: 12px;
  align-items: start;
  font-family: var(--font-jp);
}

.drawer__group--col1 {
  grid-column: 1;
}

.drawer__group--col2 {
  grid-column: 2;
}

.drawer__link {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: var(--tracking);
  white-space: nowrap;
  color: var(--color-blue);
  transition: color 0.3s ease;
}

.drawer__link:hover,
.drawer__link:focus-visible {
  color: var(--color-orange-hover);
}

.drawer__link--head {
  font-size: 18px;
  font-weight: 700;
}

/* 階層を示す先頭の線。フッターと同じで、第1階層が 10px・第2階層が 40px */
.drawer__link--sub,
.drawer__link--sub2 {
  padding-left: 16px;
}

.drawer__link--sub2 {
  padding-left: 48px;
}

.drawer__link--sub::before,
.drawer__link--sub2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--color-orange);
}

.drawer__link--sub2::before {
  width: 40px;
}

/* ---- パネル下のロゴ ---- */
.drawer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.drawer__logo {
  width: 260px;
  max-width: 100%;
  height: auto;
}

.drawer__catch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  max-width: 100%;
  min-height: 26px;
  margin-top: 14px;
  padding: 2px 18px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

.drawer__corp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.drawer__corp-icon {
  width: 14px;
  height: 14px;
}

/* ---- タブレット以下 ---- */
@media (max-width: 1199px) {
  .drawer__inner {
    padding: 28px 24px 36px;
  }

  .drawer__link {
    line-height: 42px;
  }
}

/* ---- スマホ：画面いっぱいに出して 1 列に積む ---- */
@media (max-width: 767px) {
  .drawer {
    width: 100%;
    right: 0;

    /* スマホではアニメーションさせず、そのまま出す。
       画面の高さいっぱいに長いメニューを 1 列で並べるため、開く途中の
       毎フレームの組み直しが重く、かくついて見えることがある。
       0s にすると transitionend が来なくなり、閉じたあとの hidden が
       付かなくなるので 1ms にしている */
    transition-duration: 1ms;
  }

  .drawer__inner {
    /* 下はブラウザのバーやホームバーと重なりやすいので、
       その分だけ余分に空ける */
    padding: 20px 24px calc(40px + env(safe-area-inset-bottom, 0px));
  }

  .drawer__nav {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }

  .drawer__group--col1,
  .drawer__group--col2 {
    grid-column: 1;
  }

  .drawer__link {
    font-size: 15px;
    line-height: 38px;
    white-space: normal;
  }

  .drawer__link--head {
    font-size: 16px;
  }

  .drawer__brand {
    margin-top: 32px;
  }

  /* 指で押す的が文字の高さ（15px）しかなかったので 44px まで広げる。
     見た目の位置は変えたくないので、広げた分だけ margin-top を詰める */
  .drawer__corp-link {
    min-height: 44px;
    margin-top: 10px;
    padding: 0 8px;
  }
}

/* ---- 1440px 未満：ヘッダーの各要素を詰める ---------------------------- */
@media (max-width: 1439px) {
  .global-header__inner {
    padding-left: 16px;
  }

  .global-nav {
    margin-left: 16px;
  }

  .global-header__logo,
  .global-header__catch {
    width: 220px;
  }

  .global-header__catch {
    font-size: 13px;
  }

  .global-nav__list {
    gap: 12px;
  }

  .global-nav__link {
    font-size: 14px;
  }

  .action-btn {
    width: 84px;
  }

  .action-btn__label {
    font-size: 14px;
    line-height: 19px;
  }

  .hamburger {
    width: 60px;
  }
}

/* ---- タブレット以下：ナビを畳んでドロワーへ --------------------------- */
@media (max-width: 1199px) {
  /* ロゴ（ロゴ＋キャッチで約 67px）の上下に余白が取れる高さにする */
  :root {
    --header-height: 86px;
  }

  .global-header__inner {
    padding-left: 16px;
  }

  .global-header__brand {
    gap: 4px;
  }

  .global-header__logo,
  .global-header__catch {
    width: 175px;
  }

  .global-header__catch {
    height: 20px;
    font-size: 11px;
  }

  .global-nav,
  .global-header__actions {
    display: none;
  }

  .hamburger {
    width: 64px;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  .global-header__logo,
  .global-header__catch {
    width: 160px;
  }

  .global-header__catch {
    font-size: 10px;
  }

  .hamburger {
    width: 56px;
  }

  .hamburger__bars,
  .hamburger__bars::before,
  .hamburger__bars::after {
    width: 30px;
  }
}

/* ==========================================================================
   site-footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 32px;
  background: linear-gradient(180deg, #fff 0%, #e8efff 100%);
}

/* 右から左へ流れ続ける英字 */
.site-footer__marquee {
  display: flex;
  overflow: hidden;
  font-family: var(--font-en);
  font-size: 64px;
  line-height: 1;
  letter-spacing: var(--tracking);
  color: rgba(255, 163, 54, 0.28);
  white-space: nowrap;
  pointer-events: none;
}

.site-footer__marquee-text {
  /* 画面幅に合わせて縮まないようにする */
  flex: 0 0 auto;
  padding-right: 40px;
  animation: footer-marquee 20s linear infinite;
}

@keyframes footer-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* 動きを減らす設定にしている人には流さない */
@media (prefers-reduced-motion: reduce) {
  .site-footer__marquee-text {
    animation: none;
  }
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: calc(var(--container) + var(--gutter) * 2);
  max-width: 100%;
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}

.site-footer__brand {
  display: flex;
  flex: 0 0 300px;
  flex-direction: column;
  align-items: flex-start;
}

/* ロゴとキャッチをまとめてトップへのリンクにする。
   並びは .site-footer__brand が持っていたものをそのまま引き継ぐ */
.site-footer__brand-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__logo {
  width: 260px;
  height: auto;
}

.site-footer__catch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  min-height: 26px;
  margin-top: 14px;
  padding: 2px 18px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

.site-footer__corp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.site-footer__corp-icon {
  width: 14px;
  height: 14px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0 48px;
  align-items: start;
  font-family: var(--font-jp);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__link {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
  white-space: nowrap;
}

.site-footer__link--head {
  font-size: 18px;
  font-weight: 700;
}

/* 階層を示す先頭の線 */
.site-footer__link--sub,
.site-footer__link--sub2 {
  padding-left: 16px;
}

.site-footer__link--sub2 {
  padding-left: 48px;
}

.site-footer__link--sub::before,
.site-footer__link--sub2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--color-orange);
}

.site-footer__link--sub2::before {
  width: 40px;
}

.site-footer__copy {
  width: calc(var(--container) + var(--gutter) * 2);
  max-width: 100%;
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  font-family: var(--font-jp);
  font-size: 14px;
  letter-spacing: var(--tracking);
  color: var(--color-navy);
}

@media (max-width: 1199px) {
  .site-footer {
    padding: 60px 0 28px;
  }

  .site-footer__marquee {
    font-size: 44px;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 40px;
    margin-top: 36px;
    padding: 0 24px;
  }

  .site-footer__brand {
    flex-basis: auto;
  }

  .site-footer__nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 20px;
  }

  .site-footer__link {
    font-size: 15px;
    line-height: 40px;
    white-space: normal;
  }

  .site-footer__link--sub,
  .site-footer__link--sub2 {
    padding-left: 14px;
  }

  .site-footer__link--sub2 {
    padding-left: 36px;
  }

  .site-footer__link--sub2::before {
    width: 28px;
  }

  .site-footer__copy {
    margin-top: 36px;
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 44px 0 24px;
  }

  .site-footer__marquee {
    font-size: 30px;
  }

  .site-footer__inner {
    gap: 32px;
    padding: 0 20px;
  }

  .site-footer__logo {
    width: 220px;
  }

  .site-footer__corp-link {
    margin-top: 24px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .site-footer__link {
    font-size: 14px;
    line-height: 32px;
  }

  .site-footer__link--sub,
  .site-footer__link--sub2 {
    padding-left: 12px;
  }

  .site-footer__link--sub2 {
    padding-left: 28px;
  }

  .site-footer__link--sub2::before {
    width: 20px;
  }

  .site-footer__copy {
    margin-top: 28px;
    padding: 0 20px;
    font-size: 12px;
  }
}

/* ==========================================================================
   float-banner ― 画面右下に追従するバナー
   ========================================================================== */
.float-banner {
  position: fixed;
  right: 0;
  /* Figma：800px のファーストビューでカジュアル面談の下端が 768px = 下から 32px */
  bottom: 32px;
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* display: flex を指定しているので、hidden 属性を明示的に効かせる */
.float-banner[hidden],
.float-banner__bonus[hidden],
.float-banner__close[hidden] {
  display: none;
}

/* 閉じるボタン。バナーの右上角に重ねる */
.float-banner__close {
  position: absolute;
  top: -10px;
  right: 6px;
  z-index: 1;
  width: 32px;
  height: 32px;
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.float-banner__close:hover,
.float-banner__close:focus-visible {
  background: var(--color-bg-light);
}

/* ×印。2 本の線を交差させて描く */
.float-banner__close::before,
.float-banner__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--color-blue);
}

.float-banner__close::before {
  transform: rotate(45deg);
}

.float-banner__close::after {
  transform: rotate(-45deg);
}

.float-banner__bonus {
  display: block;
  width: 300px;
  filter: drop-shadow(0 4px 4px rgba(5, 37, 78, 0.3));
  transition: opacity 0.3s ease;
}

.float-banner__bonus img {
  width: 100%;
  height: auto;
}

/* Figma のバリアント2（ホバー）＝ 透過 90% */
.float-banner__bonus:hover,
.float-banner__bonus:focus-visible {
  opacity: 0.9;
}

.float-banner__casual {
  display: flex;
  align-items: center;
  gap: 27px;
  width: 300px;
  height: 80px;
  padding-left: 21px;
  color: var(--color-blue);
  background: var(--color-white);
  /* 右端に接するので角丸は左側だけ */
  border-radius: 40px 0 0 40px;
  filter: drop-shadow(0 4px 2px rgba(5, 37, 78, 0.3));
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Figma のバリアント2（ホバー）＝ 青ベタ・白文字・白アイコンに反転 */
.float-banner__casual:hover,
.float-banner__casual:focus-visible {
  color: var(--color-white);
  background: var(--color-blue);
}

.float-banner__casual-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: url("../../img/common/float-casual-icon.webp") center / contain no-repeat;
}

.float-banner__casual:hover .float-banner__casual-icon,
.float-banner__casual:focus-visible .float-banner__casual-icon {
  background-image: url("../../img/common/float-casual-icon-hover.webp");
}

.float-banner__casual-label {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .float-banner {
    bottom: 20px;
    gap: 8px;
  }

  .float-banner__bonus {
    width: 240px;
  }

  .float-banner__close {
    top: -8px;
    width: 28px;
    height: 28px;
  }

  .float-banner__close::before,
  .float-banner__close::after {
    width: 12px;
    margin: -1px 0 0 -6px;
  }

  .float-banner__casual {
    gap: 20px;
    width: 240px;
    height: 64px;
    padding-left: 16px;
    border-radius: 32px 0 0 32px;
  }

  .float-banner__casual-icon {
    width: 44px;
    height: 44px;
  }

  .float-banner__casual-label {
    font-size: 16px;
  }
}

/* スマホはカジュアル面談を sp-fixed-footer 側に持つため、バナーだけを
   固定フッターの 19px 上に出す（Figma スマホTOP：150×100・右端揃え） */
@media (max-width: 767px) {
  .float-banner {
    bottom: calc(var(--sp-footer-height) + 19px);
  }

  .float-banner__bonus {
    width: 150px;
  }

  .float-banner__close {
    top: -7px;
    right: 4px;
    width: 24px;
    height: 24px;
  }

  .float-banner__close::before,
  .float-banner__close::after {
    width: 10px;
    margin: -1px 0 0 -5px;
  }

  .float-banner__casual {
    display: none;
  }
}

/* ==========================================================================
   sp-fixed-footer ― スマホで画面下部に固定するメニュー
   タブレット以上はヘッダーの追従ボタン／float-banner が担うため出さない。
   ========================================================================== */
.sp-fixed-footer {
  display: none;
}

@media (max-width: 767px) {
  /* 固定フッターに隠れる分だけページ末尾に逃げを作る */
  body {
    padding-bottom: var(--sp-footer-height);
  }

  .sp-fixed-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-header);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: var(--sp-footer-height);
  }

  .sp-fixed-footer__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    color: var(--color-white);
    transition: background-color 0.3s ease;
  }

  /* ヘッダーの追従ボタンと同じ扱い */
  .sp-fixed-footer__item:hover,
  .sp-fixed-footer__item:focus-visible {
    background: var(--color-orange-hover);
  }

  .sp-fixed-footer__icon {
    flex-shrink: 0;
  }

  .sp-fixed-footer__item--casual {
    background: var(--color-blue);
  }

  .sp-fixed-footer__item--entry {
    background: var(--color-orange);
  }

  .sp-fixed-footer__item--line {
    background: var(--color-green);
  }
}

/* 320px 級の端末で 3 列に収まらなくなるため、文字とアイコン間隔だけ詰める */
@media (max-width: 359px) {
  .sp-fixed-footer__item {
    gap: 6px;
    font-size: 14px;
  }
}

/* ==========================================================================
   cta ― エントリー導線
   ========================================================================== */
.cta {
  position: relative;
  margin: 0 auto;
  padding: 64px 32px;
  overflow: hidden;
}

.cta__texture {
  position: absolute;
  top: 97px;
  left: 0;
  width: 100%;
  height: 480px;
  object-fit: cover;
  opacity: 0.49;
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1376px;
  margin: 0 auto;
  padding: 94px 88px 88px;
  overflow: hidden;
  background: linear-gradient(71deg, rgba(99, 167, 255, 0.2) 1.4%, rgba(43, 114, 205, 0.2) 99.7%), #2b72cd;
  border-radius: 4px;
}

.cta__watermark {
  position: absolute;
  top: 45%;
  left: -180px;
  font-family: var(--font-en);
  font-size: 104px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-white);
  white-space: nowrap;
  opacity: 0.2;
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg);
}

.cta__catch {
  margin-bottom: 55px;
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-yellow);
}

.cta__catch-mark {
  margin: 0 8px;
  font-weight: 400;
  opacity: 0.85;
}

.cta__buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.cta__buttons-item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  max-width: 380px;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 106px;
  transition: background-color 0.3s ease;
}

.cta-button__icon {
  width: 56px;
  height: 56px;
}

.cta-button__label {
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: var(--tracking);
}

.cta-button--casual {
  background: var(--color-yellow);
}

.cta-button--casual .cta-button__label {
  font-size: 32px;
  color: var(--color-blue);
}

.cta-button--entry {
  background: var(--color-orange);
}

.cta-button--entry .cta-button__label {
  font-size: 40px;
  color: var(--color-white);
}

.cta-button--line {
  background: var(--color-green);
}

.cta-button--line .cta-button__label {
  font-size: 36px;
  color: var(--color-white);
}

/* Figma のバリアント2：3種ともオレンジ地・白文字・白アイコンに揃う。
   アイコンは単色のため画像を差し替えず filter で白へ落とす */
.cta-button:hover,
.cta-button:focus-visible {
  background: var(--color-orange-hover);
}

.cta-button:hover .cta-button__label,
.cta-button:focus-visible .cta-button__label {
  color: var(--color-white);
}

.cta-button:hover .cta-button__icon,
.cta-button:focus-visible .cta-button__icon {
  filter: brightness(0) invert(1);
}

.cta__tel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.cta__tel-label {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-white);
}

.cta__tel-icon {
  width: 60px;
  height: 60px;
}

.cta__tel-number {
  font-family: var(--font-en);
  font-size: 58px;
  font-weight: 700;
  letter-spacing: var(--tracking);
  color: var(--color-white);
}

.cta__tel-meta {
  margin-left: 20px;
  font-family: var(--font-jp);
  color: var(--color-white);
}

.cta__tel-person {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
}

.cta__tel-hours {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: var(--tracking);
}

@media (max-width: 1199px) {
  /* ---- cta ---- */
  .cta {
    padding: 50px 24px;
  }

  .cta__inner {
    padding: 48px 32px 32px;
  }

  .cta__watermark {
    display: none;
  }

  .cta__catch {
    margin-bottom: 32px;
    font-size: 22px;
    line-height: 36px;
  }

  .cta__buttons {
    gap: 12px;
    margin-bottom: 28px;
  }

  .cta-button {
    gap: 10px;
    height: 88px;
  }

  .cta-button__icon {
    width: 40px;
    height: 40px;
  }

  .cta-button--casual .cta-button__label {
    font-size: 20px;
  }

  .cta-button--entry .cta-button__label {
    font-size: 26px;
  }

  .cta-button--line .cta-button__label {
    font-size: 22px;
  }

  .cta__tel {
    justify-content: center;
    gap: 12px;
  }

  .cta__tel-label {
    font-size: 18px;
    letter-spacing: 0.15em;
  }

  .cta__tel-icon {
    width: 44px;
    height: 44px;
  }

  .cta__tel-number {
    font-size: 40px;
  }

  .cta__tel-meta {
    margin-left: 0;
  }

  .cta__tel-hours {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  /* ---- cta ---- */
  .cta {
    padding: 40px 20px;
  }

  .cta__inner {
    padding: 32px 16px 24px;
  }

  .cta__catch {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 30px;
  }

  .cta__catch-mark {
    margin: 0 4px;
  }

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

  .cta__buttons-item {
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  .cta-button {
    height: 72px;
  }

  .cta__tel {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta__tel-label {
    font-size: 16px;
  }

  .cta__tel-icon {
    width: 38px;
    height: 38px;
  }

  .cta__tel-number {
    font-size: 32px;
  }

  .cta__tel-hours {
    font-size: 16px;
  }
}

/* ==========================================================================
   stat-card ― 数字カード（トップの ABOUT US／数字で見る丸石で共用）
   ========================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 380px));
  justify-content: center;
  gap: 40px 30px;
  margin-top: 60px;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* aspect-ratio: 1 / 1; */
  min-height: 380px;
  padding-top: 20px;
  overflow: hidden;
  /* 1層目＝斜めストライプ（Figma「斜めパターン6px」）、2層目＝角丸ベース #E8EFFF */
  background-image: url("../../img/top/about-stripe.webp"), url("../../img/top/about-card-base.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  border-radius: 20px;
}


.stat-card__title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: var(--tracking);
  color: var(--color-blue);
}

.stat-card__icon {
  width: auto;
  height: 92px;
  margin-top: 16px;
}

.stat-card__number {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 145px;
  line-height: 1;
  color: var(--color-orange);
}

/* 単位はカードの中央寄せに数えない。Figma でも数字だけがカードの中心にあり、
   「人」「歳」などは右へはみ出して置かれている */
.stat-card__unit {
  position: absolute;
  bottom: 6px;
  left: 100%;
  margin-left: 6px;
  font-family: "Noto Sans JP", var(--font-jp);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.058em;
  white-space: nowrap;
  color: var(--color-orange);
}

.home .stat-card__unit {
  position: initial;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
  margin-left: 6px;
}

/* さらに横が長いカード用（「2,000社超」など） */
.stat-card__number--xs {
  font-size: 96px;
}

/* 4 桁の数字や長い単位で横幅に収まらないカード用 */
.stat-card__number--sm {
  font-size: 120px;
}

/* 単位が長いときは、ぶら下げずに数字の右へ並べる。
   「年創業」「分の1」のような単位はぶら下げるとカードからはみ出して切れるため */
.stat-card__number--inline .stat-card__unit {
  position: static;
  bottom: auto;
  left: auto;
  padding-bottom: 8px;
}

/* 見出しが 2 行になる項目用。36px のままだと数字や注釈が入りきらない */
.stat-card__title--sm {
  padding: 0 16px;
  font-size: 26px;
  line-height: 40px;
  text-align: center;
}

/* 折り返すときは語のまとまりごとに改行させる（「社／員」のように切らない） */
.stat-card__phrase {
  display: inline-block;
}

.stat-card__note {
  width: 100%;
  margin-top: auto;
  margin-bottom: 24px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: var(--tracking);
  text-align: center;
  color: var(--color-navy);
  padding: 0 10px;
}

@media (max-width: 1199px) {
  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
    margin-top: 40px;
  }

  .stat-card {
    padding-top: 16px;
    min-height: initial;
  }

  .stat-card__title {
    font-size: 24px;
    line-height: 36px;
  }

  .stat-card__icon {
    height: min(72/1200*100vw,72px);
    margin-top: 10px;
  }

  .stat-card__number {
    font-size: min(140/1200*100vw,140px);
  }

  .stat-card__number--sm {
    font-size: min(105/1200*100vw,105px);
  }

  .stat-card__number--xs {
    font-size: min(84/1200*100vw,84px);
  }

  .stat-card__unit {
    font-size: 20px;
  }

  .stat-card__note {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 20px;
  }

  .stat-card__title--sm {
    font-size: 19px;
    line-height: 30px;
  }
}

@media (max-width: 767px) {
  .stat-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px 12px;
    margin-top: 28px;
  }

  .stat-card {
    padding-top: initial;
    aspect-ratio: initial;
    border-radius: 15px;
    padding: 15px 10px;
  }

  .stat-card__title {
    font-size: 18px;
    line-height: 28px;
  }

  .stat-card__icon {
    height: min(84/767*100vw,84px);
    min-height: 44px;
    margin-top: 6px;
  }

  .stat-card__number {
    font-size: min(100/767*100vw,100px);
  }

  .stat-card__number--sm {
    font-size: min(72/767*100vw,72px);
  }

  .stat-card__number--xs {
    font-size: min(58/767*100vw,58px);
  }

  .stat-card__unit {
    margin-left: 4px;
    font-size: 15px;
  }

  .home .stat-card__unit {
    margin-bottom: 10px;
    margin-left: 3px;
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
  }

  .stat-card__note {
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 16px;
  }

  .stat-card__title--sm {
    font-size: 15px;
    line-height: 24px;
  }
}
