@charset "UTF-8";

/* ==========================================================================
   Fonts（Google Fonts の原本からサブセット化してセルフホスト。OFL-*.txt 同梱）
   Noto Sans JP：ASCII・基本約物・常用漢字・かな全字・CJK記号・全角/半角形・ページ使用文字
   Google Sans：ASCII（英数字・基本約物）と一部の欧文約物
   ========================================================================== */
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/NotoSansJP-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/NotoSansJP-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/NotoSansJP-700.woff2") format("woff2");
}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/GoogleSans-400.woff2") format("woff2");
}

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-primary: #af0026;
  --color-text: #000000;
  --color-white: #ffffff;
  --color-menu-bg: #443a4d;
  --color-menu-accent: #88729a;
  --color-footer-bottom: #303b42;
  --color-message-bg: #ece6cb;

  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Google Sans", "Noto Sans JP", sans-serif;

  --content-width: 1000px;
  --gutter: 30px;
  --header-height: 48px;
  --theme-nav-height: 67px;

  --z-theme-nav: 80;
  --z-header: 90;
  --z-drawer: 100;

  /* 下からフェードインの時間（仕様 0.8s → クライアント要望で短縮。0.4s 案もあり） */
  --fade-duration: 0.6s;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.is-drawer-open {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  font-feature-settings: "palt";
  line-height: 1.6;
  line-break: strict;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

small {
  font-size: inherit;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.u-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.u-pc {
  display: none;
}

.icon-external {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 21px 0 14px;
  background: var(--color-white);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo img {
  width: 146px;
}

.header__recruit {
  font-family: var(--font-en);
  font-size: 8px;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.header__entry {
  display: grid;
  transition: color 0.3s ease, background-color 0.3s ease;
  place-items: center;
  width: 94px;
  height: 24px;
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 11px;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  border: 1.3px solid var(--color-primary);
  border-radius: 12px;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8.8px;
  width: 35px;
  height: 40px;
  margin-left: 11px;
}

.header__menu-line {
  display: block;
  width: 35px;
  height: 1.2px;
  background: var(--color-text);
}

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

.header__menu-line:nth-child(3) {
  width: 18px;
}

/* ==========================================================================
   Drawer
   ========================================================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  overflow-y: auto;
  color: var(--color-white);
  visibility: hidden;
  background: var(--color-menu-bg);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.drawer__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 58px var(--gutter) 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer.is-open .drawer__inner {
  opacity: 1;
  transition: opacity 0.4s ease 0.2s;
}

.drawer__close {
  position: absolute;
  top: 6px;
  right: 21px;
  width: 35px;
  height: 36px;
}

.drawer__close::before,
.drawer__close::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--color-white);
  transform: rotate(26deg);
}

.drawer__close::after {
  transform: rotate(-26deg);
}

.drawer__title {
  font-family: var(--font-en);
  font-size: 25.3px;
  line-height: 1.3;
  color: var(--color-menu-accent);
}

.drawer__themes {
  display: grid;
  gap: 15px;
  margin-top: 40px;
}

.drawer__theme {
  display: block;
}

.drawer__theme-num {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  line-height: 1.4;
}

.drawer__theme-text {
  display: block;
  font-size: 15px;
  line-height: 1.6;
}

.drawer__label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 33px;
  font-size: 11px;
}

.drawer__label::after {
  flex: 1;
  height: 1px;
  content: "";
  background: var(--color-white);
}

.drawer__links {
  display: grid;
  grid-template-columns: auto auto;
  gap: 14px 20px;
  margin-top: 22px;
}

.drawer__link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
}

.drawer__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  align-self: flex-end;
  margin-top: auto;
  padding-top: 40px;
}

.drawer__logo img {
  width: 125px;
}

.drawer__recruit {
  font-family: var(--font-en);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* SPは画像の縦横比で表示（英字が切れないよう 100svh にはしない） */
.hero {
  position: relative;
  padding-top: var(--header-height);
}

.hero__img {
  width: 100%;
}

.hero__catch {
  position: absolute;
  top: calc(var(--header-height) + 9.1vw);
  left: 7.2vw;
  font-size: 4vw;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  padding: 30px var(--gutter) 0;
  text-align: center;
}

.intro__heading {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.intro__lead {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.83;
  letter-spacing: 0.05em;
}

.intro__photo {
  display: block;
  margin-top: 22px;
}

.intro__photo img {
  width: 100%;
}

/* ==========================================================================
   Members
   ========================================================================== */
.member--tojo      { --grad: #41cf51, #f3ae47; }
.member--sasaki,
.member--ohira     { --grad: #3187cc, #77c8ad; }
.member--yokota,
.member--mizukami  { --grad: #f7bd27, #f29729 50%, #ea522d; }
.member--kobayashi { --grad: #428cbb, #c692c5 50%, #f494c9; }

.members {
  padding: 45px var(--gutter) 0;
}

.members__heading {
  display: grid;
  place-items: center;
  width: 103px;
  height: 21px;
  margin-inline: auto;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 4px;
}

.members__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 5px;
  margin-top: 30px;
}

.member__photo {
  display: block;
  padding: 0 2px 2px 0;
  background: linear-gradient(to right, var(--grad));
}

.member__photo img {
  width: 100%;
}

.member__name {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.5;
}

.member__info {
  position: relative;
  margin-top: 4px;
  padding-left: 15px;
  font-size: 9px;
  line-height: 1.35;
}

.member__info::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 3px;
  height: 29px;
  content: "";
  background: linear-gradient(to top, var(--grad));
  transform: translateY(-50%);
}

/* ==========================================================================
   Section label / heading（Theme・Message 共通）
   ========================================================================== */
.section-label {
  display: grid;
  place-items: center;
  width: 87px;
  height: 21px;
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: 0.05em;
  word-spacing: 0.15em;
  background: var(--color-primary);
  border-radius: 4px;
}

.section-heading {
  margin-top: 19px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.67;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Theme
   ========================================================================== */
.theme {
  margin-top: 50px;
  padding-inline: var(--gutter);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.theme + .theme {
  margin-top: 60px;
}

/* Question ---------------------------------------------------------------- */
.question {
  margin-top: 25px;
}

.question__title {
  display: flex;
  gap: 10px;
  font-weight: 500;
  color: var(--color-primary);
}

.question__label {
  position: relative;
  flex-shrink: 0;
  align-self: flex-start;
  width: 80px;
  padding-bottom: 4px;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.question__label::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--color-primary);
}

.question__text {
  font-size: 14px;
  line-height: 1.64;
  letter-spacing: 0.05em;
}

.question__photo {
  display: block;
  margin-top: 27px;
}

.question__photo img {
  width: 100%;
}

/* Talk -------------------------------------------------------------------- */
.talk {
  display: grid;
  gap: 30px;
  margin-top: 45px;
}

.talk__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.talk__avatar {
  flex-shrink: 0;
  width: 56px;
  height: 62.5px;
  object-fit: contain;
  object-position: left top;
}

.talk__text {
  flex: 1;
  padding-top: 2px;
  font-size: 12px;
  line-height: 1.67;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Message
   ========================================================================== */
.message {
  margin-top: 60px;
  padding-inline: var(--gutter);
}

/* 背景シェイプ（331×456）を枠にして、人物・吹き出しを％で重ねる */
.message__stage {
  --stage-width: min(331px, 100vw - 20px);
  position: relative;
  width: var(--stage-width);
  aspect-ratio: 331 / 458;
  margin: 14px calc((100% - var(--stage-width)) / 2) 0; /* コンテンツ幅より広いので負のマージンで中央に置く */
}

.message__stage picture {
  position: absolute;
  display: block;
}

.message__stage img {
  width: 100%;
}

.message__back {
  inset: 0 0 auto;
}

.message__persons {
  top: 37.34%;
  left: 1.36%;
  width: 98.49%;
}

.message__bubble--1 {
  top: 24.24%;
  left: 2.42%;
  width: 40.54%;
}

.message__bubble--2 {
  top: 3.71%;
  left: 11.86%;
  width: 55.74%;
}

.message__bubble--3 {
  top: 20.69%;
  left: 50.98%;
  width: 45.65%;
}

/* ==========================================================================
   Theme nav (PC only)
   ========================================================================== */
.theme-nav {
  display: none;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 36px var(--gutter) 0;
  color: var(--color-white);
  text-align: center;
  background: var(--color-primary);
}

.cta__catch {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.cta__sub {
  margin-top: 29px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.cta__btn {
  display: inline-flex;
  transition: color 0.3s ease, background-color 0.3s ease;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 208px;
  height: 51px;
  margin-top: 31px;
  padding-left: 8px;
  font-size: 18.6px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: 0.05em;
  background: var(--color-white);
  border-radius: 999px;
}

.cta__btn::after {
  width: 9px;
  height: 9px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer__inner {
  padding: 65px var(--gutter) 40px 28px;
  color: var(--color-white);
  background: var(--color-primary);
}

.footer__logo img {
  width: 149px;
}

.footer__links {
  display: grid;
  gap: 9px;
  margin-top: 19px;
  padding-left: 2px;
}

.footer__link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.footer__copyright {
  display: grid;
  place-items: center;
  height: 27px;
  font-size: 8px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
  background: var(--color-footer-bottom);
}

/* ==========================================================================
   PC
   ========================================================================== */
@media (min-width: 1024px) {
  .u-sp {
    display: none;
  }

  .u-pc {
    display: revert;
  }

  /* JS無効時はテーマナビが最後まで出たままなので、最下部を隠さないよう余白を取る */
  html:not(.js) body {
    padding-bottom: var(--theme-nav-height);
  }

  /* Header -------------------------------------------------------------- */
  .header {
    align-items: flex-start;
    height: auto;
    padding: 19px 0 0 30px;
    pointer-events: none;
    background: transparent;
  }

  .header > * {
    pointer-events: auto;
  }

  .header__logo {
    gap: 38px;
  }

  .header__logo img {
    width: 304px;
  }

  .header__recruit {
    font-size: 22px;
  }

  .header__entry {
    position: absolute;
    top: 98px;
    right: 30px;
    width: 120px;
    height: 120px;
    font-size: 22px;
    border-width: 2px;
    border-radius: 50%;
  }

  .header__menu-btn {
    position: absolute;
    top: 14px;
    right: 30px;
    justify-content: flex-start;
    gap: 14.5px; /* 線1.5px＋間隔14.5px＝16px周期にして、3本とも整数のpx位置に置く */
    width: 71px;
    height: 60px;
    padding-top: 13px;
    margin: 0;
  }

  .header__menu-line {
    width: 71px;
    height: 1.5px;
  }

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

  .header__menu-line:nth-child(3) {
    width: 38px;
  }

  /* Drawer -------------------------------------------------------------- */
  .drawer__close {
    top: 26px;
    right: 30px;
    width: 71px;
    height: 36px;
  }

  .drawer__close::before,
  .drawer__close::after {
    height: 1.5px;
  }

  .drawer__inner {
    width: min(100%, 975px);
    margin-inline: auto;
    padding: 145px var(--gutter) 60px;
  }

  .drawer__title {
    font-size: 40.7px;
  }

  .drawer__themes {
    gap: 29px;
    margin-top: 32px;
    padding-left: 7px;
  }

  .drawer__theme {
    display: flex;
    align-items: baseline;
  }

  .drawer__theme-num {
    width: 123px;
    font-size: 20px;
  }

  .drawer__theme-text {
    font-size: 20px;
  }

  .drawer__label {
    gap: 18px;
    margin-top: 70px;
    padding-left: 7px;
    font-size: 18px;
  }

  .drawer__links {
    grid-template-columns: 327px auto;
    justify-content: start;
    gap: 18px 0;
    margin-top: 40px;
    padding-left: 50px;
  }

  .drawer__link {
    gap: 8px;
    font-size: 20px;
  }

  .drawer__link .icon-external {
    width: 0.75em;
    height: 0.75em;
  }

  .drawer__logo {
    gap: 22px;
    margin-top: 60px;
    padding-top: 0;
  }

  .drawer__logo img {
    width: 240px;
  }

  .drawer__recruit {
    font-size: 22px;
  }

  /* Hero ---------------------------------------------------------------- */
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    padding-top: 0;
  }

  .hero picture {
    display: block;
    height: 100%;
  }

  .hero__img {
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  .hero__catch {
    top: max(90px, min(18.06svh, calc(30svh - 7.73vw)));
    left: max(20px, min(17.5vw, calc(50vw - 50.2svh)));
    font-size: max(16px, 1.757vw, 2.714svh);
    line-height: 1.6;
  }

  /* Intro --------------------------------------------------------------- */
  .intro {
    padding: 70px 0 0;
  }

  .intro__heading {
    font-size: 38px;
    letter-spacing: 0.1em;
  }

  .intro__lead {
    margin-top: 30px;
    font-size: 20px;
    line-height: 2.2;
  }

  .intro__photo {
    width: 878px;
    max-width: calc(100% - var(--gutter) * 2);
    margin: 60px auto 0;
  }

  /* Members ------------------------------------------------------------- */
  .members {
    max-width: calc(var(--content-width) + var(--gutter) * 2);
    margin-inline: auto;
    padding-top: 118px;
  }

  .members__heading {
    width: 196px;
    height: 39px;
    font-size: 24px;
    border-radius: 6px;
  }

  .members__list {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 50px;
  }

  .member__name {
    margin-top: 16px;
    padding-left: 4px;
    font-size: 18px;
  }

  .member__info {
    margin-top: 6px;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .member__info::before {
    left: 4px;
    width: 5px;
    height: 56px;
  }

  /* Section label / heading ------------------------------------------- */
  .section-label {
    width: 134px;
    height: 27px;
    font-size: 22px;
    border-radius: 5px;
  }

  .section-heading {
    margin-top: 17px;
    font-size: 38px;
    line-height: 1.53;
    letter-spacing: 0.1em;
  }

  /* Theme --------------------------------------------------------------- */
  .theme {
    max-width: calc(var(--content-width) + var(--gutter) * 2);
    margin: 90px auto 0;
    scroll-margin-top: 110px;
  }

  .theme + .theme {
    margin-top: 130px;
  }

  .question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: 43px;
  }

  .question__title {
    gap: 24px;
    padding-top: 50px;
  }

  .question__label {
    width: 111px;
    margin-top: 4px;
    padding-bottom: 6px;
    font-size: 22px;
  }

  .question__text {
    font-size: 24px;
    line-height: 1.58;
    letter-spacing: 0.08em;
    white-space: nowrap; /* 改行位置は <br> で指定済み */
  }

  .question__photo {
    flex: 0 1 424px; /* 狭いPC幅（〜1060px）では縮める */
    min-width: 0;
    margin: 0 35px 0 0;
  }

  /* Theme5：3枚コラージュの写真（幅570px・コンテンツ右端まで） */
  .question--wide {
    gap: 10px;
    margin-top: 33px;
  }

  .question--wide .question__title {
    padding-top: 60px;
  }

  .question--wide .question__photo {
    flex-basis: 570px;
    margin-right: 0;
  }

  .talk {
    gap: 50px;
    margin-top: 24px;
  }

  .talk__item {
    gap: 24px;
    min-height: 124px;
    padding-left: 10px;
  }

  .talk__item--right {
    padding-left: 82px;
  }

  .talk__avatar {
    width: 111px;
    height: 124px;
  }

  .talk__text {
    flex: 0 1 760px;
    padding-top: 9px;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  /* Message ------------------------------------------------------------- */
  .message {
    max-width: calc(var(--content-width) + var(--gutter) * 2);
    margin: 130px auto 0;
  }

  /* 背景シェイプ（1000×437）の左上を基準に、人物の下端（532px）までを枠にする */
  .message__stage {
    --stage-width: 100%;
    aspect-ratio: 1000 / 532;
    margin-top: 55px;
  }

  .message__persons {
    top: 16.17%;
    left: 21.1%;
    width: 50.9%;
  }

  .message__bubble--1 {
    top: 45.02%;
    left: 3.13%;
    width: 19.03%;
  }

  .message__bubble--2 {
    top: 0.09%;
    left: 24.98%;
    width: 29.77%;
  }

  .message__bubble--3 {
    top: 25.09%;
    left: 69.95%;
    width: 28.51%;
  }

  /* Theme nav ----------------------------------------------------------- */
  .theme-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: var(--z-theme-nav);
    display: block;
    width: min(950px, 100% - 40px);
    height: var(--theme-nav-height);
    background: var(--color-white);
    transform: translateX(-50%);
    transition: opacity 0.5s ease, visibility 0s linear 0s;
  }

  /* Theme5 の終わりを過ぎたらふんわり非表示（JSで付与） */
  .theme-nav.is-hidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
  }

  .theme-nav__label {
    position: absolute;
    bottom: 100%;
    left: 23px;
    margin-bottom: -4px;
    font-family: var(--font-en);
    font-size: 20px;
    line-height: 1;
    color: var(--color-primary);
  }

  .theme-nav__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    height: 100%;
  }

  .theme-nav__item {
    display: flex;
    justify-content: center;
  }

  .theme-nav__item + .theme-nav__item {
    border-left: 1px solid var(--color-primary);
  }

  .theme-nav__link {
    padding: 0 8px;
    font-size: 15px;
    line-height: 1.2;
    color: var(--color-primary);
  }

  /* CTA ----------------------------------------------------------------- */
  .cta {
    padding-top: 56px;
  }

  .cta__catch {
    font-size: 38px;
  }

  .cta__sub {
    margin-top: 37px;
    font-size: 23px;
  }

  .cta__btn {
    gap: 20px;
    width: 335px;
    height: 83px;
    margin-top: 12px;
    padding-left: 10px;
    font-size: 30px;
  }

  .cta__btn::after {
    width: 15px;
    height: 15px;
    border-width: 1.5px;
  }

  /* Footer -------------------------------------------------------------- */
  .footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    padding: 87px 20px 84px;
  }

  .footer__logo img {
    width: 205px;
  }

  .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    margin-top: 0;
    padding-left: 0;
  }

  .footer__link {
    gap: 4px;
    font-size: 17px;
  }

  .footer__link .icon-external {
    width: 0.85em;
    height: 0.85em;
  }

  .footer__copyright {
    height: 54px;
    font-size: 17px;
  }
}

/* ==========================================================================
   Hover（マウス等ホバーできる環境のみ）
   ボタン系：color と background-color を反転／リンク・アイコン：透明度を下げる
   ========================================================================== */
.header__logo,
.header__menu-btn,
.drawer__close,
.drawer__theme,
.drawer__link,
.theme-nav__link,
.footer__link {
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .header__entry:hover {
    color: var(--color-white);
    background-color: var(--color-primary);
  }

  .cta__btn:hover {
    color: var(--color-white);
    background-color: var(--color-text);
  }

  .header__logo:hover,
  .drawer__theme:hover,
  .drawer__link:hover,
  .theme-nav__link:hover,
  .footer__link:hover {
    opacity: 0.6;
  }

  .header__menu-btn:hover,
  .drawer__close:hover {
    opacity: 0.5;
  }
}

/* ==========================================================================
   Animation（初期の非表示は JS 有効かつ reduced-motion でないときだけ）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* FV：画像がフェードイン → キャッチが下から出現 */
  html.js .hero__img {
    opacity: 0;
    transition: opacity 1.2s ease-out;
  }

  html.js .hero__catch {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--fade-duration) ease-out 0.6s, transform var(--fade-duration) ease-out 0.6s;
  }

  html.js .hero.is-inview .hero__img,
  html.js .hero.is-inview .hero__catch {
    opacity: 1;
    transform: none;
  }

  /* 下からフェードイン：自身が可視領域に入ったら／親が入ったら */
  html.js :is(.intro__heading, .intro__lead, .intro__photo, .section-heading, .talk, .member, .question__text, .question__photo, .message__bubble) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--fade-duration) ease-out, transform var(--fade-duration) ease-out;
  }

  html.js :is(.intro__heading, .intro__lead, .intro__photo, .section-heading, .talk).is-inview,
  html.js .is-inview :is(.member, .question__text, .question__photo, .message__bubble) {
    opacity: 1;
    transform: none;
  }

  /* メンバー紹介：左から順に 0.1s ずつ（SPの2行目も4〜6番目として連続） */
  html.js .member:nth-child(2) { transition-delay: 0.1s; }
  html.js .member:nth-child(3) { transition-delay: 0.2s; }
  html.js .member:nth-child(4) { transition-delay: 0.3s; }
  html.js .member:nth-child(5) { transition-delay: 0.4s; }
  html.js .member:nth-child(6) { transition-delay: 0.5s; }

  /* Question：下線が左から伸びる → Q本文 → 写真 */
  html.js .question__label::after {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease-out;
  }

  html.js .question.is-inview .question__label::after {
    transform: scaleX(1);
  }

  html.js .question__text {
    transition-delay: 0.3s;
  }

  html.js .question__photo {
    transition-delay: 0.6s;
  }

  /* Message：吹き出しを中央上 → 右 → 左下の順に（人物の上に重なる位置関係のまま） */
  html.js .message__bubble--2 { transition-delay: 0.2s; }
  html.js .message__bubble--3 { transition-delay: 0.4s; }
  html.js .message__bubble--1 { transition-delay: 0.6s; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
  }
}
