@charset "UTF-8";

/* =========================================================
   ALL コーポレートサイト  style.css
   ========================================================= */

/* ---------- 1. デザイントークン（色・フォント・角丸） ---------- */
:root {
  --color-base: #f5f5f4;   /* ベース背景色 */
  --color-main: #4a433f;   /* メインカラー（茶色） */
  --color-text: #131110;   /* テキスト（墨色） */
  --color-placeholder: #e4e1de;

  --font-en: "Cormorant Garamond", "Times New Roman", serif;          /* 見出し・英字 */
  --font-mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif; /* 見出し・日本語 */
  --font-body: "Noto Sans CJK JP", "Noto Sans JP", "Hiragino Sans", sans-serif; /* 本文 */

  --radius: 4px;
  --header-h: 96px; /* 上35px＋中身＋下20px */
  --content-w: 1200px;
  --gutter: 40px;
}

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  padding-top: var(--header-h); /* 固定ヘッダー分の余白 */
  background: var(--color-base);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300; /* Noto Sans CJK JP は細め（Light）で統一 */
  font-size: 16px; /* 本文の基本サイズ */
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt"; /* プロポーショナルメトリクス：かなや句読点の余白を詰める */
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- 3. 共通パーツ ---------- */

/* ボタン：ホバーで背景色の透明度が滑らかに変化 */
.btn {
  display: inline-block;
  padding: 14px 44px;
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--solid {
  background-color: rgba(74, 67, 63, 1);
  color: var(--color-base);
}
.btn--solid:hover,
.btn--solid:focus-visible {
  background-color: rgba(74, 67, 63, 0.75);
}
.btn--line {
  position: relative;
  padding: 14px 48px;
  border: 1px solid var(--color-base);
  background-color: rgba(255, 255, 255, 0);
  color: var(--color-base);
  font-family: var(--font-body);
  font-size: 17px;
}
/* ボタン右側に伸びる線 */
.btn--line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  width: 60px;
  height: 1px;
  background: var(--color-base);
}
.btn--line:hover,
.btn--line:focus-visible {
  background-color: rgba(255, 255, 255, 0.18);
}
.btn--small { padding: 8px 22px; font-size: 16px; }

/* セクション */
.section {
  width: min(100% - var(--gutter) * 2, var(--content-w));
  margin: 0 auto;
  padding-bottom: 140px;
}
.section-title { margin-bottom: 48px; }
.section-title--center { text-align: center; }
.section-title__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.section-title__ja {
  margin-top: 6px;
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-main);
}
/* 「Work Style」のWの書き出しと「私」の左端をそろえる微調整 */
#work .section-title__ja { padding-left: 3px; }

/* 画像ダミー枠（プレースホルダー）
   実際の写真に差し替える場合は <img> に置き換えてください */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--color-placeholder);
  color: var(--color-main);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.placeholder--portrait { aspect-ratio: 3 / 4; }
.placeholder--white { background: #fff; aspect-ratio: 1 / 1; }

/* 写真に差し替えたときも同じ比率・角丸で収まるように */
.work-card img, .careers__photo img, .hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.work-card img { aspect-ratio: 3 / 4; }
.careers__photo img { aspect-ratio: 3 / 2; }

/* ---------- 4. ヘッダー（固定追従） ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: rgba(245, 245, 244, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
  padding: 35px 56px 0; /* 画面上端からロゴ・メニューまで35px */
}
.header__logo { display: block; }
.header__logo img { height: 40px; width: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font-en);
  font-size: 17px;
  letter-spacing: 0.04em;
}
.nav__list a:not(.btn) { transition: opacity 0.3s ease; }
.nav__list a:not(.btn):hover { opacity: 0.6; }

.nav-toggle, .nav-toggle__btn { display: none; }
.nav__sp-only { display: none; } /* PCのヘッダーでは非表示 */

/* ---------- 5. メインビジュアル ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(280px, 30%) 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0 0 56px;
}
.hero__logo { display: flex; justify-content: center; }
.hero__logo img { width: min(300px, 80%); }
.hero__visual .placeholder,
.hero__visual img {
  aspect-ratio: auto;
  height: min(560px, 62vh); /* スクロール表示が最初の画面に少し見える高さ */
  border-radius: var(--radius) 0 0 var(--radius);
}
.hero__visual img { width: 100%; object-fit: cover; object-position: 40% center; }

/* ---------- 6. Who We Are ---------- */
.who {
  padding-top: 160px;
  text-align: center;
}
.who__lead {
  margin-bottom: 48px;
  font-family: var(--font-body); /* Noto Sans CJK JP */
  font-weight: 300;
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

/* ---------- 7. Work Style ---------- */
.work-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.work-card a { display: block; text-align: center; }
.work-card a:hover .placeholder,
.work-card a:hover img { opacity: 0.85; }
.work-card .placeholder, .work-card img { transition: opacity 0.25s ease; }
.work-card__no {
  margin-top: 16px;
  font-family: var(--font-body); /* Noto Sans CJK JP */
  font-size: 15px;
}
.work-card__name {
  font-family: var(--font-body); /* Noto Sans CJK JP */
  font-size: 15px;
  letter-spacing: 0.08em;
}


/* ---------- 9. Careers ---------- */
.careers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.careers .placeholder { aspect-ratio: 3 / 2; }
.careers__body p { line-height: 1.8; }
.careers__body .btn { display: table; margin: 40px 0 0 auto; }

/* ---------- 10. Contact ---------- */
.contact {
  display: flex;
  align-items: center;
  gap: 96px;
  padding: 56px 144px;
  border-radius: var(--radius);
  background: var(--color-main);
  color: var(--color-base);
}
.contact__qr { flex-shrink: 0; width: 190px; }
.contact__qr img { width: 100%; padding: 8px; border-radius: var(--radius); background: #fff; }
.contact__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.08em;
}

/* ---------- 11. フッター ---------- */
.footer {
  background: var(--color-main);
  color: var(--color-base);
}
.footer__inner {
  width: min(100% - var(--gutter) * 2, var(--content-w));
  margin: 0 auto;
  padding: 72px 0 32px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer__logo img { width: 120px; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 96px;
  row-gap: 24px;
  font-family: var(--font-en);
  font-size: 20px;
}
.footer__nav li:first-child { grid-column: 1 / -1; } /* TOPは1段目に単独、2段目から Who We Are | Work Style */
.footer__nav a { transition: opacity 0.3s ease; }
.footer__nav a:hover { opacity: 0.6; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 245, 244, 0.4);
  font-size: 12px;
}
.footer__legal { display: flex; gap: 24px; }

/* ページトップへ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  padding: 10px 14px;
  border-radius: var(--radius);
  background-color: rgba(74, 67, 63, 0.9);
  color: var(--color-base);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease;
}
.to-top:hover { background-color: rgba(74, 67, 63, 0.65); }

/* =========================================================
   レスポンシブ（画面幅900px以下）
   ========================================================= */
@media (max-width: 900px) {
  :root {
    --header-h: 80px; /* 上20px＋ボタン44px＋下16px */
    --gutter: 20px;
  }
  body { font-size: 16px; } /* スマホも本文の基本は16px */

  /* ヘッダー：ハンバーガーメニュー */
  .header__inner { padding: 20px 20px 0; } /* 画面上端からロゴ・ボタンまで20px */
  .header__logo img { height: 36px; }
  .nav-toggle__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--color-main);
    cursor: pointer;
  }
  .nav-toggle__btn span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--color-base);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--color-base);
    border-bottom: 1px solid rgba(74, 67, 63, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__list {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px 40px;
    font-size: 20px;
  }
  .nav__sp-only { display: list-item; }
  .nav-toggle:checked ~ .nav { max-height: 480px; }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* メインビジュアル：縦並び */
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 0;
  }
  .hero__logo img { width: 200px; }
  .hero__visual .placeholder,
  .hero__visual img {
    height: 360px;
    border-radius: var(--radius);
    object-position: 42% center;
  }

  .section { padding-bottom: 88px; }
  .section-title { margin-bottom: 32px; }
  .section-title__en { font-size: 36px; }
  .section-title__ja { font-size: 12px; }
  #work .section-title__ja { padding-left: 2px; }

  .who { padding-top: 96px; }
  .who__lead { font-size: 17px; line-height: 1.8; letter-spacing: 0.08em; margin-bottom: 32px; }

  .work-list { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 28px; }
  .work-card__no { margin-top: 12px; font-size: 13px; }
  .work-card__name { font-size: 12px; line-height: 1.8; }

  .careers { grid-template-columns: 1fr; gap: 32px; }
  .careers__body br { display: none; }
  .careers__body .btn { margin: 32px auto 0; }

  .contact {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
  }
  .contact__qr { display: none; } /* スマホではQRを非表示（ボタンから直接追加） */
  .contact__body { font-size: 14px; gap: 24px; }
  .btn--line { font-size: 15px; padding: 13px 40px; }

  .footer__inner { padding: 48px 0 24px; }
  .footer__top { flex-direction: column; }
  .footer__logo img { width: 96px; }
  .footer__nav { width: 100%; grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 20px; font-size: 18px; }
  .footer__bottom { margin-top: 40px; font-size: 12px; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .footer__legal { flex-wrap: wrap; column-gap: 16px; row-gap: 8px; }

  .to-top { right: 16px; bottom: 16px; }
}

/* =========================================================
   Who We Are ページ（who-we-are.html）
   ========================================================= */
.page-hero { padding-top: 64px; }
.page-hero__title {
  width: min(100% - var(--gutter) * 2, var(--content-w));
  margin: 0 auto 32px;
}
.page-hero__photo .placeholder,
.page-hero__photo img {
  width: 100%;
  height: 560px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: center 55%;
}

.about-future {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding-top: 160px;
}
.about-future__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.06em;
}
.about-future__text {
  margin-top: 64px;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

/* Our Promise */
.promise {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: center;
}
.promise__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-base);
  font-family: var(--font-mincho);
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
}
.promise__list li {
  display: flex;
  align-items: center;
  gap: 96px;
  padding: 30px 40px;
  border-bottom: 1px solid rgba(74, 67, 63, 0.25);
  font-size: 16px;
  letter-spacing: 0.06em;
}
.promise__list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 8px;
  margin-top: -4px;
  border-left: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: rotate(-45deg);
}

/* Message */
.message {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.message__body { display: flex; flex-direction: column; gap: 28px; line-height: 1.8; }
.message__sign {
  display: flex;
  align-items: baseline;
  gap: 20px;
  align-self: flex-end;
  font-family: var(--font-body); /* Noto Sans CJK JP */
  font-size: 20px;
  letter-spacing: 0.2em;
}
.message__sign span { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.04em; color: var(--color-main); }
.placeholder--wide { aspect-ratio: 3 / 2; }
.placeholder--16x9 { aspect-ratio: 16 / 9; }
/* 代表写真：縦長の写真を、写真と同じグレーの横長枠に下揃えで収める */
.message__photo img { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: contain; object-position: center bottom; border-radius: var(--radius); background: #d4d4d4; }
.mvv__photo img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius); }

/* MVV */
.mvv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mvv__list { display: flex; flex-direction: column; gap: 40px; margin: 0; }
.mvv__list dt {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 24px;
  letter-spacing: 0.08em;
}
.mvv__list dt::after { content: ""; width: 48px; height: 1px; background: var(--color-text); }
.mvv__list dd { margin: 12px 0 0; padding-left: 40px; letter-spacing: 0.06em; }

/* Values */
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 72px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 1080px;
}
.values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 360px;
  padding: 8px 24px;
  border-left: 1px solid rgba(74, 67, 63, 0.3);
  text-align: center;
}
/* 1段目2つ・2段目3つの並びで、各段の右端にも線を引く */
.values__item:nth-child(2),
.values__item:nth-child(5) { border-right: 1px solid rgba(74, 67, 63, 0.3); }
.values__item:first-child { margin-left: 180px; }
.values__item:nth-child(2) { margin-right: 180px; }
.values__no { font-size: 18px; color: var(--color-main); }
.values__title {
  font-family: var(--font-body); /* Noto Sans CJK JP */
  font-weight: 300; /* Light：細めの字形 */
  font-size: 22px;
  letter-spacing: 0.08em;
}
.values__icon { display: block; width: 100px; height: 100px; }
.values__text { font-size: 14px; line-height: 1.8; color: var(--color-main); }

/* Overview */
.overview { margin: 0 0 0 280px; }
.overview > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  padding: 32px 40px;
  border-bottom: 1px solid rgba(74, 67, 63, 0.25);
}
.overview dt { color: var(--color-main); }
.overview dd { margin: 0; }
.overview__map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--color-main);
  transition: opacity 0.3s ease;
}
.overview__map:hover { opacity: 0.6; }
.overview__map svg { width: 14px; height: 18px; fill: var(--color-main); }

@media (max-width: 1180px) {
  /* 画面が少し狭いときはValuesを自然に折り返す */
  .values__item:first-child,
  .values__item:nth-child(2) { margin: 0; }
  .values__item { border-right: 1px solid rgba(74, 67, 63, 0.3); }
  .overview { margin-left: 0; }
}

@media (max-width: 900px) {
  .page-hero { padding-top: 40px; }
  .page-hero__title { margin-bottom: 24px; }
  .page-hero__photo .placeholder,
  .page-hero__photo img { height: 260px; }

  .about-future { grid-template-columns: 1fr; gap: 24px; padding-top: 88px; }
  .about-future__title { font-size: 28px; }
  .about-future__text { margin-top: 0; font-size: 15px; line-height: 1.8; letter-spacing: 0.04em; }
  .about-future__text br { display: none; }

  .promise { grid-template-columns: 1fr; gap: 32px; }
  .promise__circle { width: 240px; height: 240px; font-size: 16px; letter-spacing: 0.08em; }
  .promise__list li { gap: 24px; padding: 20px 12px; font-size: 16px; letter-spacing: 0.04em; }

  .message { grid-template-columns: 1fr; gap: 32px; }
  .message__photo { order: -1; }
  .message__body { gap: 20px; line-height: 1.8; }
  .message__sign { font-size: 18px; }

  .mvv { grid-template-columns: 1fr; gap: 32px; }
  .mvv__list { gap: 28px; }
  .mvv__list dt { font-size: 20px; gap: 12px; }
  .mvv__list dt::after { width: 40px; }
  .mvv__list dd { margin-top: 8px; padding-left: 16px; line-height: 1.8; }

  /* Values：スマホはアイコン左・文章右の縦並び */
  .values { display: block; }
  .values__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 6px;
    align-items: center;
    width: auto;
    padding: 24px 4px;
    border: 0;
    border-top: 1px solid rgba(74, 67, 63, 0.25);
    text-align: left;
  }
  .values__item:last-child { border-bottom: 1px solid rgba(74, 67, 63, 0.25); }
  .values__item:nth-child(2), .values__item:nth-child(5) { border-right: 0; }
  .values__icon { grid-column: 1; grid-row: 1 / 4; width: 72px; height: 72px; }
  .values__no { grid-column: 2; font-size: 13px; }
  .values__title { grid-column: 2; font-size: 18px; letter-spacing: 0.04em; }
  .values__text { grid-column: 2; font-size: 13px; line-height: 1.8; }
  .values__text br { display: none; }

  .overview { border-top: 1px solid rgba(74, 67, 63, 0.25); }
  .overview > div { grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; column-gap: 12px; padding: 18px 4px; } /* 項目名の横に内容 */
  .overview dt { font-size: 12px; }
}

/* =========================================================
   モーション（ボタン等の反応は200〜300ms、スクロール表示は0.8秒でふわっと）
   スクロール表示は各ページ末尾の短いスクリプトで制御（外部ファイルなし）
   ========================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.header { animation: fadeIn 0.3s ease both; }
.page-ws .header { animation: none; } /* Work Styleはコース切り替え時に上部を固定 */
.rv-first { animation: fadeUp 0.8s cubic-bezier(.22,.61,.36,1) 0.1s both; }
html.motion .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.22,.61,.36,1); }
html.motion .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .header, .rv-first, .faq[open] .faq__a { animation: none; }
  html.motion .rv { opacity: 1; transform: none; transition: none; }
}

/* 下の余白なしのセクション（Work Style・Careersなどで上余白を個別に指定） */
.section--flush { padding-bottom: 0; }
.section--end { padding-bottom: 160px; }
.pt-120 { padding-top: 120px; }
.pt-160 { padding-top: 160px; }
.pt-200 { padding-top: 200px; }
.section-title__ja--indent { padding-left: 3px; }

@media (max-width: 1180px) {
  .contact { padding: 56px 64px; gap: 56px; }
}

/* =========================================================
   Work Style ページ（workstyle-01〜04.html）
   ========================================================= */
.page-hero__photo--ws img { object-position: center 40%; }

/* コース切り替えタブ：選択中のタブだけ下線なしで枠を開く */
.course-tabs {
  display: grid;
  grid-template-columns: 40px repeat(4, minmax(0, 1fr)) 40px;
  align-items: end;
  width: min(100% - var(--gutter) * 2, var(--content-w));
  margin: 120px auto 0;
  scroll-margin-top: 24px; /* 固定ヘッダーの下に少し余白をあけて表示 */
}
.course-tabs__edge { align-self: stretch; border-bottom: 1px solid var(--color-text); }
.course-tabs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px 12px;
  border: 1px solid transparent;
  border-bottom: 1px solid var(--color-text);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--color-main);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-align: center;
  transition: background-color 0.25s ease;
}
.course-tabs__item:hover { background-color: rgba(74, 67, 63, 0.06); }
main:not(:has(.course-panel:target)) .course-tabs__item[data-course="1"],
main:has(#course-1:target) .course-tabs__item[data-course="1"],
main:has(#course-2:target) .course-tabs__item[data-course="2"],
main:has(#course-3:target) .course-tabs__item[data-course="3"],
main:has(#course-4:target) .course-tabs__item[data-course="4"] {
  padding-bottom: 13px;
  border: 1px solid var(--color-text);
  border-bottom: 0;
  color: var(--color-text);
}

/* リード文 */
.course-lead { padding-top: 120px; text-align: center; }
.course-lead h2 { margin-bottom: 40px; font-weight: 300; font-size: 22px; letter-spacing: 0.1em; }
.course-lead p { font-size: 20px; line-height: 1.8; letter-spacing: 0.08em; }
.course-lead p + p { margin-top: 44px; }

/* Features：縦線で区切ったアイコン＋文字 */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 64px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.features--2 { max-width: 720px; }
.features--3, .features--2-3 { max-width: 1080px; }
.features--2-3 .features__item:nth-child(1) { margin-left: 180px; }
.features--2-3 .features__item:nth-child(2) { margin-right: 180px; }
.features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 360px;
  padding: 16px 24px 24px;
  border-left: 1px solid rgba(74, 67, 63, 0.3);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-align: center;
}
.features__item.is-end { border-right: 1px solid rgba(74, 67, 63, 0.3); } /* 各段の右端 */
.features__item img { width: 100px; height: 100px; }

/* 1日のスケジュール */
.schedule {
  display: flex;
  flex-direction: column;
  gap: 88px;
  margin: 0 0 0 240px;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--color-main);
}
.schedule__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.schedule__head::before { content: ""; flex-shrink: 0; width: 44px; height: 1px; background: var(--color-main); }
.schedule__sep { flex-shrink: 0; width: 1px; height: 12px; background: var(--color-main); }
.schedule__text {
  margin-top: 20px;
  padding-left: 56px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-main);
}

@media (max-width: 1180px) {
  .features__item { width: 270px; }
  .features--2 { max-width: 540px; }
  .features--2-3 .features__item:nth-child(1) { margin-left: 135px; }
  .features--2-3 .features__item:nth-child(2) { margin-right: 135px; }
  .schedule { margin-left: 80px; }
}

/* =========================================================
   Careers ページ（careers.html）
   ========================================================= */
.join {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 76px;
  align-items: center;
  padding-top: 160px;
}
.join__photo img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.join__title { font-weight: 400; font-size: 32px; letter-spacing: 0.02em; line-height: 1.5; }
.join__title-en { font-family: var(--font-en); font-weight: 500; }
.join__title-ja { font-family: var(--font-mincho); font-size: 28px; }
.join__text { max-width: 490px; margin-top: 48px; line-height: 1.8; color: var(--color-main); }

.recruit { margin: 0 0 0 280px; }
.recruit > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  padding: 34px 0 34px 36px;
  border-bottom: 1px solid rgba(74, 67, 63, 0.3);
}
.recruit > div.is-top { align-items: start; }
.recruit > div:last-child { padding-bottom: 0; border-bottom: 0; }
.recruit dd { margin: 0; line-height: 1.8; }
.recruit__note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--color-main); }
.recruit__apply { color: var(--color-main); }

/* 選考フロー：縦線と丸印 */
.flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 0 0 12px;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(74, 67, 63, 0.3);
}
.flow li { position: relative; padding-left: 28px; }
.flow li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--color-text);
}

/* 茶色の案内ボックス（FAQへの誘導など） */
.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 88px 96px;
  border-radius: var(--radius);
  background: var(--color-main);
  color: var(--color-base);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-width: 1180px) {
  .join { grid-template-columns: 1fr 1fr; gap: 48px; }
  .recruit { margin-left: 0; }
}

/* =========================================================
   FAQ ページ（faq.html）
   開閉はHTML標準の <details> を使用（スクリプト不要）
   ========================================================= */
.faq-group__title {
  margin-bottom: 48px;
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.12em;
}
.faq-list { display: flex; flex-direction: column; gap: 32px; }
.faq { border-radius: var(--radius); background: var(--color-main); color: var(--color-base); }
.faq__q {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 16px;
  align-items: center;
  column-gap: 8px;
  padding: 18px 44px 18px 32px;
  cursor: pointer;
  list-style: none;
  transition: opacity 0.25s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { opacity: 0.8; }
.faq__mark { font-family: var(--font-en); font-size: 20px; line-height: 1.4; }
.faq__q-text { line-height: 1.8; }
/* ＋／－アイコン */
.faq__icon { position: relative; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-base);
}
.faq__icon::after { transform: rotate(90deg); transition: transform 0.3s ease; }
.faq[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  column-gap: 8px;
  padding: 0 44px 40px 32px;
  line-height: 1.8;
}
.faq[open] .faq__a { animation: fadeIn 0.3s ease; }

/* =========================================================
   規約・ポリシーページ（terms / privacy / harassment）
   ========================================================= */
.legal { display: flex; flex-direction: column; gap: 64px; padding-top: 160px; }
.legal__lead { font-size: 15px; line-height: 1.8; text-align: center; }
.legal__block { display: flex; flex-direction: column; gap: 24px; }
.legal__block h2 { font-weight: 300; font-size: 22px; letter-spacing: 0.04em; }
.legal__block p { font-size: 14px; line-height: 1.8; letter-spacing: 0.03em; }

/* =========================================================
   追加ページのスマホ表示（画面幅900px以下）
   ========================================================= */
@media (max-width: 900px) {
  .section--end { padding-bottom: 88px; }
  .pt-120 { padding-top: 72px; }
  .pt-160 { padding-top: 88px; }
  .pt-200 { padding-top: 96px; }
  .section-title__ja--indent { padding-left: 2px; }
  br.pc { display: none; } /* PCだけの改行 */

  .contact { padding: 40px 24px; gap: 24px; }
  .contact__body { font-size: 14px; letter-spacing: 0.04em; }
  .btn--line { padding: 13px 40px; }

  /* コース切り替え：2×2のボタン */
  .course-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 56px; }
  .course-tabs__edge { display: none; }
  .course-tabs__item,
  main:not(:has(.course-panel:target)) .course-tabs__item[data-course="1"],
  main:has(#course-1:target) .course-tabs__item[data-course="1"],
  main:has(#course-2:target) .course-tabs__item[data-course="2"],
  main:has(#course-3:target) .course-tabs__item[data-course="3"],
  main:has(#course-4:target) .course-tabs__item[data-course="4"] {
    justify-content: center;
    gap: 2px;
    min-height: 60px;
    padding: 8px;
    border: 1px solid rgba(74, 67, 63, 0.4);
    border-radius: var(--radius);
    padding: 8px 4px;
    font-size: 14px;
    letter-spacing: 0;
  }
  main:not(:has(.course-panel:target)) .course-tabs__item[data-course="1"],
  main:has(#course-1:target) .course-tabs__item[data-course="1"],
  main:has(#course-2:target) .course-tabs__item[data-course="2"],
  main:has(#course-3:target) .course-tabs__item[data-course="3"],
  main:has(#course-4:target) .course-tabs__item[data-course="4"] { border-color: var(--color-main); background: var(--color-main); color: var(--color-base); }

  .course-lead { padding-top: 72px; }
  .course-lead h2 { margin-bottom: 24px; font-size: 17px; line-height: 1.8; letter-spacing: 0.06em; }
  .course-lead p { font-size: 14px; line-height: 1.8; letter-spacing: 0.04em; }
  .course-lead p + p { margin-top: 28px; }

  .features,
  .features--2, .features--3, .features--2-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
    max-width: none;
  }
  .features__item,
  .features--2-3 .features__item:nth-child(1),
  .features--2-3 .features__item:nth-child(2) {
    width: auto;
    margin: 0;
    gap: 16px;
    padding: 8px 8px 12px;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }
  .features__item.is-end { border-right: 0; }
  .features__item:nth-child(2n) { border-right: 1px solid rgba(74, 67, 63, 0.3); }
  /* 奇数個のときは最後の1つを中央に */
  .features__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
    border-right: 1px solid rgba(74, 67, 63, 0.3);
  }
  .features__item img { width: 72px; height: 72px; }

  .schedule { gap: 40px; margin-left: 0; }
  .schedule__head { gap: 10px; font-size: 15px; letter-spacing: 0; }
  .schedule__head::before { width: 20px; }
  .schedule__sep { height: 11px; }
  .schedule__text { margin-top: 10px; padding-left: 30px; font-size: 13px; line-height: 1.8; }
  .schedule__text br { display: none; }

  .join { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .join__photo img { height: auto; aspect-ratio: 3 / 2; }
  .join__title-en, .join__title-ja { display: block; }
  .join__title-en { font-size: 28px; }
  .join__title-ja { font-size: 20px; }
  .join__text { margin-top: 0; }

  .recruit > div { grid-template-columns: 96px minmax(0, 1fr); padding: 20px 0; font-size: 13px; }
  .recruit dd { line-height: 1.8; }
  .recruit__note { font-size: 12px; }
  .flow { gap: 24px; margin-left: 6px; }

  .cta-box { gap: 24px; padding: 40px 24px; font-size: 14px; line-height: 1.8; letter-spacing: 0.04em; }

  .faq-group__title { margin-bottom: 24px; font-size: 22px; letter-spacing: 0.1em; }
  .faq-list { gap: 16px; }
  .faq__q { grid-template-columns: 28px minmax(0, 1fr) 12px; padding: 14px 16px; font-size: 13px; }
  .faq__mark { font-size: 17px; }
  .faq__icon { width: 12px; height: 12px; }
  .faq__a { grid-template-columns: 28px minmax(0, 1fr); padding: 0 16px 24px; font-size: 13px; }

  .legal { gap: 40px; padding-top: 56px; }
  .legal__lead { font-size: 14px; line-height: 1.8; text-align: left; }
  .legal__block { gap: 14px; }
  .legal__block h2 { font-weight: 400; font-size: 17px; line-height: 1.8; letter-spacing: 0; }
  .legal__block p { font-size: 13px; line-height: 1.8; }
}

/* キャッチコピー：1行ずつ少し時間差（ディレイ）を付けてふわっと表示
   各行の <span class="ln" style="--d: 0.2s;"> の数字が表示開始までの遅れ */
.ln { display: block; }
.join__title .ln { display: inline-block; }
html.motion .rv .ln {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
}
html.motion .rv.in .ln { opacity: 1; transform: none; }
.rv-first .ln { animation: fadeUp 0.8s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(var(--d, 0s) + 0.1s); }
@media (max-width: 900px) { .join__title .ln { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .rv-first .ln { animation: none; }
  html.motion .rv .ln { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   ローディング（トップページのみ・CSSだけで動作）
   ロゴがふわっと現れて消えたあと、画面全体がフェードアウトしてページが表示される
   ========================================================= */
.loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-base);
  animation: loadingOut 0.6s ease 2.4s forwards;
}
.loading__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; opacity: 0; animation: loadingLogo 2.4s ease forwards; }
.loading img { width: 180px; }
/* ロゴの下の進捗バー：左から右へ伸びる */
.loading__bar { position: relative; width: 120px; height: 1px; overflow: hidden; background: rgba(74, 67, 63, 0.2); }
.loading__bar::after { content: ""; position: absolute; inset: 0; background: var(--color-main); transform: scaleX(0); transform-origin: left center; animation: loadingBar 1.6s cubic-bezier(.65,0,.35,1) 0.3s forwards; }
@keyframes loadingBar { to { transform: scaleX(1); } }
@keyframes loadingLogo {
  0%   { opacity: 0; transform: translateY(8px); }
  40%  { opacity: 1; transform: none; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes loadingOut { to { opacity: 0; visibility: hidden; } }
/* ローディング中はページの表示アニメーションを待たせる */
.has-loading .header { animation-delay: 2.8s; }
.has-loading .rv-first { animation-delay: 3s; }
@media (max-width: 900px) { .loading img { width: 140px; } .loading__bar { width: 93px; } }
@media (prefers-reduced-motion: reduce) { .loading { display: none; } }

/* =========================================================
   スクロールダウン（縦線が上から伸びて下へ消える・CSSのみ）
   ========================================================= */
.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.scroll-down__text { writing-mode: vertical-lr; }
.scroll-down__line { position: relative; width: 1px; height: 72px; }
.scroll-down__line::before { content: ""; position: absolute; inset: 0; background: rgba(74, 67, 63, 0.15); } /* うっすらガイド線 */
.scroll-down__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-main);
  animation: scrollLine 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes scrollLine {
  0%   { transform: scale(1, 0); transform-origin: 0 0; }
  30%  { transform: scale(1, 1); transform-origin: 0 0; }
  70%  { transform: scale(1, 1); transform-origin: 0 100%; }
  100% { transform: scale(1, 0); transform-origin: 0 100%; }
}
.scroll-down-wrap { display: flex; justify-content: center; padding-top: 32px; }
.scroll-down-wrap + .who { padding-top: 64px; }
@media (max-width: 900px) {
  .scroll-down-wrap { padding-top: 32px; }
  .scroll-down-wrap + .who { padding-top: 40px; }
  .scroll-down__line { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .scroll-down__line::after { animation: none; } }

.text-link { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { opacity: 0.6; }

/* コース切り替え：選んだコースだけ表示（URLの #course-1〜4 で切り替え、スクリプト不要） */
.course-panel { display: none; scroll-margin-top: calc(var(--header-h) + 120px); } /* タブが見える位置で止める */
.course-panel:target,
main:not(:has(.course-panel:target)) #course-1 { display: block; }
.course-panel:target .course-lead { animation: fadeIn 0.5s ease; }
@media (max-width: 900px) { .course-panel { scroll-margin-top: calc(var(--header-h) + 160px); } }

/* =========================================================
   ハンバーガーメニュー（ミニマル）※画面幅900px以下
   細い1pxの三本線＋MENUの文字。開くと全画面にふわっと重なり、
   項目がドット付きで上から順に表示される（スクリプト不要）
   ========================================================= */
@media (max-width: 900px) {
  .nav-toggle__btn {
    position: relative;
    z-index: 2;
    flex-direction: column;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding-top: 2px;
    border-radius: 0;
    background: none;
  }
  .nav-toggle__btn span { width: 28px; height: 1px; background: var(--color-main); transition: transform 0.3s ease, opacity 0.25s ease; }
  .nav-toggle__btn::after {
    content: "MENU";
    margin-top: 1px;
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.2em;
    line-height: 1;
    color: var(--color-main);
  }
  .nav-toggle:checked + .nav-toggle__btn::after { content: "CLOSE"; }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(1) { transform: translateY(8px) rotate(30deg); }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(3) { transform: translateY(-8px) rotate(-30deg); }
  .header__logo { position: relative; z-index: 2; }

  /* 全画面のオーバーレイ */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start; /* 画面の上寄せ */
    justify-content: flex-start;
    padding: 96px 20px 0;
    width: 100%; right: 0; box-sizing: border-box;
    height: auto; /* 内容の高さだけ（下に余白を作らない） */
    max-height: 100dvh;
    box-shadow: 0 8px 24px rgba(19, 17, 16, 0.08);
    overflow: auto;
    border: 0;
    background: #ebe9e7; /* メニュー全体を薄いグレーに */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-toggle:checked ~ .nav { max-height: none; opacity: 1; visibility: visible; }
  .nav__list { align-items: flex-start; gap: 28px; width: 100%; padding: 24px 12px 40px; font-size: 22px; line-height: 1.8; letter-spacing: 0.08em; }
  .nav__list li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-toggle:checked ~ .nav .nav__list li { opacity: 1; transform: none; }
  .nav-toggle:checked ~ .nav .nav__list li:nth-child(2) { transition-delay: 0.05s; }
  .nav-toggle:checked ~ .nav .nav__list li:nth-child(3) { transition-delay: 0.1s; }
  .nav-toggle:checked ~ .nav .nav__list li:nth-child(4) { transition-delay: 0.15s; }
  .nav-toggle:checked ~ .nav .nav__list li:nth-child(5) { transition-delay: 0.2s; }
  /* Contactボタンだけ中央・横幅広め */
  .nav__list li:last-child { align-self: center; width: 80%; margin-top: 16px; }
  .nav__list .btn { display: block; padding: 14px 0; font-size: 16px; text-align: center; }
}

/* トップページ：ヘッダーのロゴは最初は隠し、スクロールしたら表示（メインビジュアルに大きなロゴがあるため） */
.js-logo .page-top .header__logo { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.js-logo.is-scrolled .page-top .header__logo { opacity: 1; pointer-events: auto; }
/* メニューを開いている間はロゴを表示 */
.js-logo .page-top .nav-toggle:checked ~ .nav ~ *, .js-logo .page-top .header__inner:has(.nav-toggle:checked) .header__logo { opacity: 1; pointer-events: auto; }

/* =========================================================
   ページトップボタン（縦書きテキスト＋線が下から上へ流れる）
   スクロールすると右下にふわっと表示。背景色に合わせて色が反転（茶色のフッター上でも見える）
   ========================================================= */
.to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #f5f5f4;
  mix-blend-mode: difference;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.to-top:hover { background: none; opacity: 0.6; }
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top.is-show:hover { opacity: 0.6; }
.to-top__text { writing-mode: vertical-rl; }
.to-top__line { position: relative; width: 1px; height: 64px; overflow: hidden; }
.to-top__line::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0.25; }
.to-top__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  animation: lineUp 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes lineUp {
  0%   { transform: scale(1, 0); transform-origin: 0 100%; }
  30%  { transform: scale(1, 1); transform-origin: 0 100%; }
  70%  { transform: scale(1, 1); transform-origin: 0 0; }
  100% { transform: scale(1, 0); transform-origin: 0 0; }
}
@media (max-width: 900px) { .to-top { right: 14px; bottom: 16px; font-size: 12px; } .to-top__line { height: 48px; } }
@media (prefers-reduced-motion: reduce) { .to-top__line::after { animation: none; } }

/* 小見出し（各セクションの英字見出し）は24px。ページタイトル（h1）は大きいまま */
h2.section-title__en { font-size: 24px; }

/* Work Styleカード：マウスを合わせると写真が少しふわっと拡大（枠からははみ出さない） */
.work-card__img { display: block; overflow: hidden; border-radius: var(--radius); }
.work-card__img img { border-radius: 0; transition: transform 1.4s cubic-bezier(.45,0,.2,1); }
.work-card a:hover .work-card__img img { opacity: 1; transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .work-card__img img { transition: none; } }

/* ---------- 文字サイズの統一（見出し・小見出し・本文） ---------- */
/* 英字の見出し：PC 32px／スマホ 24px */
h2.section-title__en { font-size: 32px; }
/* 英字見出しの下の日本語（私たちの働き方 など）：20px */
.section-title__ja { font-size: 20px; }
/* 本文：PC・スマホとも16px */
.work-card__name, .features__item, .schedule__text, .values__text,
.legal__lead, .legal__block p, .course-lead p, .contact__body,
.cta-box, .faq__q, .faq__a, .about-future__text, .recruit > div { font-size: 16px; }
@media (max-width: 900px) {
  h2.section-title__en { font-size: 24px; }
  .section-title__ja { font-size: 16px; }
  .work-card__name, .features__item, .schedule__text, .values__text,
  .legal__lead, .legal__block p, .course-lead p, .contact__body,
  .cta-box, .faq__q, .faq__a, .about-future__text, .recruit > div,
  .features--2-3 .features__item:nth-child(1), .features--2-3 .features__item:nth-child(2) { font-size: 16px; }
}

/* FAQ：回答を少しゆっくり表示 */
.faq[open] .faq__a { animation: faqOpen 0.7s cubic-bezier(.22,.61,.36,1); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* トップの最初の画面：スクロールもロゴ・写真と同じタイミング・速さで表示 */
.scroll-down-wrap { animation: fadeUp 0.8s cubic-bezier(.22,.61,.36,1) 0.1s both; }
.has-loading .scroll-down-wrap { animation-delay: 3s; }
@media (prefers-reduced-motion: reduce) {
  .faq[open] .faq__a, .scroll-down-wrap { animation: none; }
}

/* ---------- 文字バランス・余白の統一（第2弾） ---------- */
/* スケジュールの時刻・項目名：本文と同じ16pxで少し太く */
.schedule__head { font-size: 16px; font-weight: 400; letter-spacing: 0.04em; }
/* 本文の字間を0.04emに統一 */
.careers__body p, .contact__body, .work-card__name, .features__item, .schedule__text, .values__text,
.legal__lead, .legal__block p, .course-lead p, .cta-box, .faq__q, .faq__a, .about-future__text,
.recruit > div, .message__text, .message__body p, .promise__list li { letter-spacing: 0.04em; }
/* セクション間の余白：PC 160px */
.section { padding-bottom: 160px; }
.section--flush { padding-bottom: 0; }
.section--end { padding-bottom: 160px; }
.pt-160, .pt-200 { padding-top: 160px; }
@media (max-width: 900px) {
  .schedule__head { font-size: 16px; letter-spacing: 0.04em; }
  /* トップのキャッチコピー */
  .who__lead { font-size: 20px; }
  /* CHOOSE YOUR FUTURE */
  .about-future__title { font-size: 24px; }
  /* セクション間の余白：スマホ 96px */
  .section { padding-bottom: 96px; }
  .section--flush { padding-bottom: 0; }
  .section--end { padding-bottom: 96px; }
  .pt-160, .pt-200 { padding-top: 96px; }
  .legal { padding-top: 96px; }
  .about-future { padding-top: 96px; }
}

/* ローディング：2回目以降は表示せず、すぐにふわっと表示 */
.no-loading .loading { display: none; }
.no-loading .has-loading .header, .no-loading .has-loading .rv-first, .no-loading .has-loading .scroll-down-wrap { animation-delay: 0.1s; }
/* コースタブ：「ハイブリッド／業務委託コース」をきれいに改行 */
.course-tabs__item .nb { display: inline-block; }
/* Work Styleカード：英字のコース名（EMPLOYEE など）＋下に日本語 */
.work-card__no { font-family: var(--font-en); font-weight: 500; font-size: 24px; letter-spacing: 0.06em; line-height: 1.2; }
@media (max-width: 900px) { .work-card__no { font-size: 20px; } }
/* コースタブの英字（EMPLOYEE など） */
.course-tabs__en { font-family: var(--font-en); font-weight: 500; font-size: 16px; letter-spacing: 0.06em; }

/* ハンバーガーメニュー：開くときに上からふわっと降りてくる（ボタンは同じ位置のまま×印に変化） */
@media (max-width: 900px) {
  .nav { transform: translateY(-12px); transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(.22,.61,.36,1); }
  .nav-toggle:checked ~ .nav { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .loading__bar::after { animation: none; transform: none; } .nav { transition: none; transform: none; } }

/* =========================================================
   2026-10 追加：デザイン（キャンバス）に合わせた更新
   ========================================================= */
/* ---------- 改行の出し分け ---------- */
@media (max-width: 900px) { .pc-only { display: none; } }

/* ---------- MVV（見出し＋本文） ---------- */
.mvv__head { display: block; margin-bottom: 8px; font-size: 22px; line-height: 1.6; letter-spacing: 0.06em; }
.mvv__list dd { font-size: 16px; line-height: 1.8; }
@media (max-width: 900px) { .mvv__head { margin-bottom: 6px; font-size: 18px; letter-spacing: 0.04em; } }

/* ---------- 文字サイズの統一（デザインと同じ値） ---------- */
.footer__bottom small { font-size: 12px; }
.course-tabs__item > span:not(.course-tabs__en), .course-tabs__item .nb { font-size: 12px; }
@media (min-width: 901px) {
  .section-title__ja { font-size: 16px; }
  .contact__body > p, .cta-box > p { font-size: 20px; }
  .btn--line { font-size: 18px; }
  .header .btn--small { font-size: 17px; }
  .about-future__text .ln { font-size: 18px; }
  .course-lead > p { font-size: 20px; }
  .features__item > p { font-size: 15px; }
}
@media (max-width: 900px) {
  .recruit dt, .recruit > div > dt { font-size: 13px; }
  .flow li { font-size: 13px; }
  .page-legal h1.section-title__en { font-size: 32px; }
}

/* ---------- ポップアップ（お問い合わせ・Googleマップ共通） ---------- */
.modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; animation: fadeIn .35s ease both; }
.modal[hidden] { display: none; }
html.is-modal { overflow: hidden; }
.modal__backdrop { position: absolute; inset: 0; padding: 0; border: 0; background: rgba(235, 233, 231, 0.92); cursor: default; }
.modal__panel { position: relative; box-sizing: border-box; width: 100%; max-width: 960px; max-height: calc(100vh - 48px); overflow: auto; padding: 96px 80px 80px; border: 1px solid var(--color-main); background: var(--color-base); animation: modalIn .45s cubic-bezier(.22,.61,.36,1) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 0; right: 0; width: 64px; height: 64px; padding: 0; overflow: hidden; border: 0; border-left: 1px solid var(--color-main); border-bottom: 1px solid var(--color-main); background: none; cursor: pointer; }
.modal__close span { position: absolute; top: 50%; left: 50%; width: 90px; height: 1px; background: var(--color-main); transform: translate(-50%, -50%) rotate(45deg); }
.modal__close span + span { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__close:hover { background: rgba(74, 67, 63, 0.06); }
.modal__title { text-align: center; }
.modal__en { margin: 0; font-family: var(--font-en); font-weight: 500; font-size: 32px; line-height: 1.2; letter-spacing: 0.04em; color: var(--color-text); }
.modal__ja { margin: 4px 0 0; font-family: var(--font-mincho); font-size: 16px; line-height: 1.6; letter-spacing: 0.2em; color: var(--color-main); }
.modal__contact { display: flex; align-items: center; justify-content: center; gap: 72px; margin-top: 56px; }
.modal__qr { width: 190px; height: 190px; flex-shrink: 0; box-sizing: border-box; padding: 8px; border: 1px solid rgba(74, 67, 63, 0.3); border-radius: var(--radius); background: #fff; }
.modal__body { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.modal__body p { margin: 0; font-size: 16px; line-height: 1.8; letter-spacing: 0.04em; }
.btn--outline { position: relative; padding: 14px 48px; border: 1px solid var(--color-main); border-radius: var(--radius); background: transparent; color: var(--color-main); font-family: var(--font-body); font-size: 18px; letter-spacing: 0.1em; transition: background-color .25s ease; }
.btn--outline::after { content: ""; position: absolute; top: 50%; right: -40px; width: 60px; height: 1px; background: var(--color-main); }
.btn--outline:hover { background-color: rgba(74, 67, 63, 0.08); color: var(--color-main); }
.modal__map { margin-top: 48px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(74, 67, 63, 0.3); border-radius: var(--radius); background: #ebe9e7; }
.modal__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal__address { margin: 16px 0 0; font-size: 16px; line-height: 1.8; text-align: center; }
@media (max-width: 900px) {
  .modal { padding: 16px; }
  .modal__panel { max-height: calc(100vh - 32px); padding: 72px 24px 48px; }
  .modal__close { width: 48px; height: 48px; }
  .modal__close span { width: 68px; }
  .modal__en { font-size: 24px; }
  .modal__contact { margin-top: 32px; }
  .modal__qr { display: none; }
  .modal__body { gap: 24px; }
  .btn--outline { padding: 13px 40px; font-size: 15px; }
  .modal__map { margin-top: 32px; aspect-ratio: 4 / 3; }
  .modal__address { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .modal, .modal__panel { animation: none; } }
@media (min-width: 901px) { .sp-only { display: none; } }
/* マップの下：左に駅からの距離、右に「大きい地図で見る」 */
.modal__map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.modal__map-foot p { margin: 0; font-size: 16px; line-height: 1.6; letter-spacing: 0.04em; }
.modal__map-btn { flex-shrink: 0; padding: 12px 28px; border: 1px solid var(--color-main); border-radius: var(--radius); background: transparent; color: var(--color-main); font-family: var(--font-body); font-size: 15px; letter-spacing: 0.06em; white-space: nowrap; transition: background-color .25s ease; }
.modal__map-btn:hover { background-color: rgba(74, 67, 63, 0.08); color: var(--color-main); }
@media (max-width: 900px) { .modal__map-foot p { font-size: 13px; } .modal__map-btn { padding: 10px 14px; font-size: 13px; } }
/* ×ボタン：枠なし・小さめの細い斜線 */
.modal__close { top: 20px; right: 20px; width: 44px; height: 44px; border: 0; transition: opacity .25s ease; }
.modal__close span { width: 28px; }
.modal__close:hover { background: none; opacity: .6; }
@media (max-width: 900px) { .modal__close { top: 12px; right: 12px; width: 36px; height: 36px; } .modal__close span { width: 22px; } }
/* 検索エンジン向けの見出し文（画面には表示しない） */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1.hero__logo { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
/* 会社概要の電話番号（スマホではタップで発信） */
.overview__tel { color: inherit; text-decoration: none; }
.overview__tel:hover { opacity: .6; }
/* 会社概要：所在地の店舗ごとの表示（渋谷店・原宿店） */
.overview__shop + .overview__shop { margin-top: 20px; padding-top: 20px; border-top: 1px dashed rgba(74, 67, 63, 0.25); }
.overview__shop-name { display: block; margin-bottom: 4px; font-family: var(--font-body); font-weight: 300; font-size: 14px; letter-spacing: 0.04em; color: var(--color-main); }
/* ヘッダーメニュー：英語の横に日本語を小さく添える */
.nav__ja { margin-left: 8px; font-family: var(--font-body); font-weight: 300; font-size: 11px; letter-spacing: 0.08em; color: var(--color-main); vertical-align: 0.1em; }
@media (max-width: 900px) { .nav__ja { margin-left: 12px; font-size: 12px; vertical-align: 0.2em; } }
/* 英語と日本語の間に「/」を入れる（例：Who We Are / 私たちについて） */
.nav__ja::before { content: "/"; margin-right: 8px; opacity: .6; }
/* PCのヘッダーでは日本語を出さない（ハンバーガーメニューの時だけ表示） */
@media (min-width: 901px) { .nav__ja { display: none; } }
