/* =========================
   リセット & ベース
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  color: #222;
  background-color: #e8e7e6;
  background-image:
    linear-gradient(rgba(255,255,255,0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.55) 1px, transparent 1px);
  background-size: 18px 18px;
  font-family:
    "source-han-sans-japanese",
    "hiragino-kaku-gothic-pron",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
  overscroll-behavior: none;
}

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

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

.page-wrap {
  width: 100%;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100svh;
}

/* =========================
   幅の基準 PC = 1280px
========================= */
.hero-inner,
.main-content {
  width: 1280px;
  max-width: calc(100% - 80px);
  margin: 0 auto;
}

/* =========================
   HERO  高さ 700px
========================= */
.hero {
  position: relative;
  padding-top: 24px;
  scroll-snap-align: start;
}

.hero-inner {
  position: relative;
  height: 100svh;
  min-height: 600px;   /* 極端に小さいウィンドウの保険 */
  max-height: 1080px;  /* 大きすぎるモニターの保険 */
}

.hero-center-logo {
  position: absolute;
  top: clamp(40px, 8svh, 100px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(400px, 45vw, 720px); /* 画面幅に追従 */
  z-index: 1;
  pointer-events: none;
}

.hero-center-logo-fill,
.hero-center-logo-line {
  position: absolute;
  inset: 0;
}

.hero-center-logo-fill { opacity: 0.50; }
.hero-center-logo-line { opacity: 0.65; }

.hero-center-logo-fill img,
.hero-center-logo-line img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-copy-wrap {
  position: absolute;
  top: 30svh;
  transform: translateY(-50%);
  left: clamp(40px, 6vw, 100px);
  display: flex;
  gap: 32px;                         /* 50px → 32px */
  align-items: flex-start;
  z-index: 5;
}

.hero-copy {
  position: relative;
}

.hero-copy-right,
.hero-copy-left {
  width: clamp(52px, 5vw, 76px);     /* 画面幅に追従 */
}

.hero-copy img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy-bg {
  position: absolute;
  top: -8px;
  right: 2px;
  width: 42px;
  height: calc(100% + 16px);
  z-index: 1;
}

.hero-copy-bg-right { background: #bfc0c0; }
.hero-copy-bg-left  { background: #ffffff; }

.hero-right-logo {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  right: clamp(30px, 5vw, 80px);     /* 右端も画面幅基準 */
  width: clamp(220px, 26vw, 400px);  /* 画面幅に追従 */
  z-index: 6;
}

.hero-right-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   ∨ セクションナビボタン（全セクション共通）
========================= */
.section-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.section-nav-chevron {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 1.5px solid #888;
  border-bottom: 1.5px solid #888;
  transform: rotate(45deg);
  animation: scrollChevron 2s ease-in-out infinite;
}

@keyframes scrollChevron {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(-4px); }
  50%       { opacity: 1;   transform: rotate(45deg) translateY(4px); }
}

/* hero以外のセクションはposition:relativeが必要 */
.structure-section,
.thought-section,
.form-section {
  position: relative;
}

/* hero-scrollは非表示（section-nav-btnに統一） */
.hero-scroll {
  display: none;
}


/* =========================
   オープニングオーバーレイ
========================= */
.hero-opening-overlay {
  position: absolute;
  inset: 0;
  background: #e8e7e6;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-opening-logo {
  width: clamp(160px, 20vw, 260px);  /* 縮小 */
  opacity: 0;
}

/* ---- アニメーションクラス ---- */

.anim-hidden {
  opacity: 0 !important;
  visibility: hidden;
}

.anim-fade-in {
  animation: animFadeIn 0.7s ease forwards;
  visibility: visible !important;
}

.anim-fade-in-slow {
  animation: animFadeIn 2.8s ease forwards;
}

@keyframes animFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-out {
  animation: animFadeOut 0.9s ease forwards;
}

@keyframes animFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* 上からスライドダウン（コピー用） */
.anim-clip-in {
  animation: animClipDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  visibility: visible !important;
}

@keyframes animClipDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ロゴ用：下からスライドアップ */
.anim-slide-up {
  animation: animSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  visibility: visible !important;
}

@keyframes animSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* fillコンテナ */
.hero-center-logo-fills {
  position: absolute;
  inset: 0;
}

/* fill画像の重ね合わせ */
.hero-fill-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-fill-active {
  opacity: 1;
}

.hero-fill-next {
  opacity: 0;
}

.hero-fill-out {
  opacity: 0;
  transition: opacity 1.4s ease;
}

/* =========================
   フェードイン（JS連動）
========================= */
.js-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

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

/* =========================
   STRUCTURE  高さ 700px
========================= */
.structure-section {
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}

.structure-grid {
  display: grid;
  grid-template-columns: 700px 1fr;
  align-items: center;
  column-gap: 32px;
  width: 100%;
  padding-left: 50px;  /* 全体を50px右へ */
}

.structure-graphic-col {
  position: relative;
  width: 700px;
  height: 480px;
}

.structure-graphic {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  width: 610px;
}

/* diagram連番画像の重ね合わせ */
#structureDiagram {
  position: relative;
}

.s-diagram-img {
  display: block;
  width: 100%;
  height: auto;
}

/* テキスト行ごとに縦積み */
.s-text-line {
  display: block;
}

/* Thought テキスト行 */
.t-text-line {
  display: block;
}

/* カリグラフィー画像：左→右アニメーション用 */
.structure-title img,
.thought-title img {
  display: block;
  width: 100%;
}

.structure-title {
  position: absolute;
  right: -70px;
  bottom: -50px;
  width: 260px;
}

.structure-text-col {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 28px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  font-family:
    "fot-tsukuaoldmin-pr6n",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  justify-self: center;
}

.structure-text-col p {
  margin: 0;
}

/* =========================
   THOUGHT  高さ 700px
========================= */
.thought-section {
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}

.thought-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  column-gap: 0;
  width: 100%;
}

.thought-copy-col {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 28px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  padding-top: 40px;
  font-family:
    "fot-tsukuaoldmin-pr6n",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  justify-self: flex-end;
  padding-right: 20px;
}

.thought-copy-col p {
  margin: 0;
}

.thought-photo-col {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.thought-title {
  position: absolute;
  top: 50px;
  left: 0;
  width: 251px;
  z-index: 2;
}

.thought-photo {
  width: 88%;
  max-width: 960px;
}

.thought-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   FORM  高さ 700px
========================= */
.form-section {
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 100svh;
  scroll-snap-align: start;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  width: 100%;
  gap: 0;
}

.form-title-wrap {
  width: 480px;
}

.form-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.form-anniversary-logo {
  width: 110px;
}

.form-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-family:
    "fot-tsukuaoldmin-pr6n",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.work-card {
  display: block;
  text-align: center;
}

.work-image {
  width: 100%;
  overflow: hidden; /* scale時にはみ出さないよう */
}

.work-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-card:hover .work-image img {
  opacity: 0.85;
  transform: scale(1.04);
}

.work-title {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-family:
    "fot-tsukuaoldmin-pr6n",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
}

/* =========================
   CONTACT
========================= */
.contact-section {
  padding: 0;
  text-align: center;
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-link {
  position: relative;
  display: inline-block;
}

/* ::beforeの白帯を無効化（contact-bandで代替） */
.contact-link::before {
  display: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  padding: 12px 28px;
  transition: opacity 0.3s ease;
}

.contact-link:hover .contact-inner {
  opacity: 1; /* bandの色変化で表現するのでopacityは変えない */
}

/* 白帯：アニメーションで左から右へ表示 */
.contact-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 22px;
  background: #ffffff;
  transform: translateY(-50%);
  z-index: 1;
  transition: background 0.4s ease;
}

/* ホバー時：チャコールグレーに */
.contact-link:hover .contact-band {
  background: #4a4a4a;
}

/* =========================
   work-card アニメーション初期状態
========================= */
.work-card-anim {
  opacity: 0;
  transform: translate(-18px, -18px);
}

.contact-wtd-logo {
  width: 180px;
}

.contact-logo {
  width: 320px;
}


/* =========================
   SITE FOOTER LINK
   contact-section内の最下部に固定
========================= */
.site-footer-link {
  position: absolute;
  bottom: 0;
  /* main-contentの幅制限を突き破って画面端まで伸ばす */
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  display: block;
  padding: 14px 24px;
  font-size: clamp(11px, 1.1vw, 14px);
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #222;
  text-decoration: none;
  text-align: center;
  background: #ffffff;
  font-family:
    "fot-tsukuaoldmin-pr6n",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  transition: background 0.3s ease, color 0.3s ease;
}

.site-footer-link:hover {
  background: #858586;
  color: #ffffff;
}

/* =========================
   Tablet（〜1024px）
========================= */
@media (max-width: 1024px) {
  .hero-inner,
  .main-content {
    width: auto;
    max-width: calc(100% - 48px);
  }

  .hero-inner {
    height: 100svh;
    min-height: 500px;
    padding-bottom: 0;
  }

  .hero-copy-wrap {
    top: 30svh;
    transform: translateY(-50%);
    left: 40px;
  }

  .hero-copy-right,
  .hero-copy-left { width: 60px; }

  .hero-right-logo {
    top: 55%;
    transform: translateY(-50%);
    right: 24px;
    width: 240px;
  }

  .hero-center-logo {
    width: clamp(500px, 72vw, 820px); /* iPad12.9"→約737px */
    top: clamp(40px, 8svh, 100px);
  }

  .structure-section {
    min-height: 100svh;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .structure-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .structure-graphic-col {
    width: 100%;
    height: auto;
    min-height: 320px;
  }

  .structure-graphic,
  .structure-title {
    position: static;
    transform: none;
  }

  .structure-graphic {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 16px;
  }

  .structure-title {
    width: 220px;
    margin-left: auto;
    margin-right: 40px;
  }

  .structure-text-col {
    writing-mode: horizontal-tb;
    text-align: center;
    font-size: 17px;
    line-height: 2.0;
    justify-self: auto;
  }

  .thought-section {
    min-height: 100svh;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .thought-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .thought-copy-col {
    writing-mode: horizontal-tb;
    text-align: center;
    padding-top: 0;
    padding-right: 0;
    font-size: 17px;
    justify-self: auto;
  }

  .thought-photo-col {
    width: 100%;
    justify-content: center;
  }

  .thought-title {
    top: -10px;
    left: 8px;
    width: 160px;
  }

  .thought-photo {
    width: 100%;
    max-width: 100%;
  }

  .form-section {
    min-height: 100svh;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .form-head {
    flex-wrap: wrap;
    gap: 16px;
  }

  .form-title-wrap { width: 340px; }

  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* =========================
   Mobile（〜767px）
   幅480px・各セクション900px目安・可変
========================= */
@media (max-width: 767px) {
  body {
    background-size: 14px 14px;
  }

  .hero-inner,
  .main-content {
    max-width: calc(100% - 32px);
  }

  /* ---- HERO ---- */
  .hero {
    padding-top: 16px;
  }

  .hero-inner {
    height: 100svh;
    min-height: 500px;
    max-height: 900px;
  }

  /* hero copy・right-logo：元の値に戻す */
  .hero-copy-wrap {
    top: 32px;
    transform: none;
    left: 16px;
    gap: 21px;
  }

  .hero-copy-right,
  .hero-copy-left { width: 44px; }

  .hero-copy-bg {
    width: 28px;
    top: -5px;
    right: 1px;
    height: calc(100% + 10px);
  }

  .hero-right-logo {
    top: auto;
    bottom: 80px;
    transform: none;
    right: 16px;
    width: 237px;
  }

  .hero-scroll { bottom: 20px; }

  /* 中央ロゴ */
  .hero-center-logo {
    width: 85vw;
    max-width: 380px;
    top: calc(50% - 200px);
    left: 50%;
    transform: translateX(-50%);
  }

  /* ---- STRUCTURE ----
     表示順：① コピー（縦書き・中央）→ ② 構成図＋カリグラフィー
  */
  .structure-section {
    min-height: 100svh;
    padding: 60px 0 80px;
    display: block;
  }

  .structure-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 0;   /* PC用padding-leftをリセット */
  }

  /* ① コピーを先頭・縦書き・中央・行頭上揃え */
  .structure-text-col {
    order: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: start;               /* 上揃え */
    font-size: 19px;
    line-height: 2.2;
    letter-spacing: 0.08em;
    justify-self: auto;
    align-self: center;
    padding: 0 0 40px 0;
    font-family:
      "fot-tsukuaoldmin-pr6n",
      "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;
  }

  .structure-text-col p { margin: 0; }

  /* ② 構成図エリア */
  .structure-graphic-col {
    order: 2;
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 50px;
  }

  .structure-graphic {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* SP用：diagram重ね合わせコンテナ */
  #structureDiagram {
    position: relative !important;
    width: 100% !important;
    left: auto !important;
  }

  /* SP：s-diagram-imgはJSで制御するためCSSは最小限 */
  .s-diagram-img {
    width: 100% !important;
  }

  .structure-title {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
    width: 160px !important;
    margin: 0 !important;
  }

  /* ---- THOUGHT ----
     表示順：① コピー（縦書き・中央）→ ② 写真＋Thoughtカリグラフィー
  */
  .thought-section {
    min-height: 100svh;
    padding: 60px 0 80px;
    display: block;
  }

  .thought-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* ① コピーを先頭・縦書き・中央・行頭上揃え */
  .thought-copy-col {
    order: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: start;               /* 上揃え */
    padding: 0 0 40px 0;
    padding-right: 0;
    font-size: 19px;
    line-height: 2.2;
    letter-spacing: 0.08em;
    justify-self: auto;
    align-self: center;
    font-family:
      "fot-tsukuaoldmin-pr6n",
      "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;
  }

  .thought-copy-col p { margin: 0; }

  /* ② 写真エリア */
  .thought-photo-col {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    position: relative;
    /* 左右のpadding分を打ち消して端まで広げる */
    margin-left: calc(-1 * (100vw - 100%) / 2);
    width: 100vw;
  }

  /* 写真：画面幅いっぱい・均等拡大 */
  .thought-photo {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* カリグラフィー：写真の下端に被せる・15%拡大 */
  .thought-title {
    top: auto;
    bottom: -20px;
    left: 12px;
    width: 178px;   /* 155px × 1.15 ≈ 178px */
    z-index: 2;
  }

  /* ---- FORM ----
     表示順：① 20thロゴ → ② 「代表的な〜」→ ③ Formロゴ → ④ 画像
  */
  .form-section {
    min-height: auto;
    padding: 60px 0 80px;
  }

  .form-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
  }

  /* form-sideの子を直接form-headに展開 */
  .form-side {
    display: contents;
  }

  /* ① 20thロゴ */
  .form-anniversary-logo {
    order: 1;
    width: 80px;
    margin: 0 auto;
  }

  /* ② 「代表的な〜」テキスト */
  .form-lead {
    order: 2;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    font-family:
      "fot-tsukuaoldmin-pr6n",
      "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;
  }

  /* ③ Formロゴ：30%拡大（311px × 1.30 ≈ 360px） */
  .form-title-wrap {
    order: 3;
    width: 100%;
    max-width: 360px;
  }

  /* ④ 画像：縦1列 */
  .works-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-card {
    max-width: 100%;
    margin: 0;
  }

  .work-image { width: 100%; }

  .work-title {
    font-size: 15px;
    line-height: 1.85;
    text-align: center;
    font-family:
      "fot-tsukuaoldmin-pr6n",
      "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;
  }

  /* ---- CONTACT ---- */
  .contact-section {
    padding: 60px 0 70px;
  }

  /* ::beforeをリセット */
  .contact-link::before {
    display: none;
  }

  /* JS制御の白帯はSPでは非表示（contact-logo::beforeで代替） */
  .contact-band {
    display: none;
  }

  .contact-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 10px 16px;
    background: none;
  }

  .contact-wtd-logo {
    width: 110px;
    position: relative;
    z-index: 1;
  }

  /* ContactロゴSP：白帯をlogo::beforeで表現 */
  .contact-logo {
    width: 200px;
    position: relative;
  }

  .contact-logo::before {
    content: '';
    position: absolute;
    left: -40px;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    background: #ffffff;
    z-index: 0;
    transition: background 0.4s ease;
  }

  /* SPホバー時：contact-logo::beforeをチャコールグレーに */
  .contact-link:hover .contact-logo::before {
    background: #4a4a4a;
  }

  .contact-logo img {
    position: relative;
    z-index: 1;
  }
}

/* =========================
   27インチ大型モニター（≥1800px）のみ適用
   他サイズ（13インチノート・iPad12.9横等）には影響しない
========================= */
@media (min-width: 1800px) {

  /* center-logo：小幅拡大 */
  .hero-center-logo {
    width: clamp(720px, 44vw, 820px);
  }

  /* hero-copy-wrap：画像1の青枠位置に合わせ、より左へ */
  .hero-copy-wrap {
    left: clamp(40px, 3.5vw, 80px);
  }

  /* hero-copy：少し大きく */
  .hero-copy-right,
  .hero-copy-left {
    width: clamp(76px, 5vw, 92px);
  }

  /* right-logo：画像1の青枠位置に合わせ、より右へ・少し大きく */
  .hero-right-logo {
    right: clamp(40px, 3.5vw, 80px);
    width: clamp(400px, 24vw, 460px);
  }

  /* thought-title：写真左端に追従 */
  .thought-title {
    left: calc(12% - 20px);
    top: 40px;
    width: 280px;
  }

  /* form-section：コンテンツを縦中央に */
  .form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* site-footer：27インチでも適切なサイズ */
  .site-footer-link {
    font-size: clamp(13px, 1vw, 16px);
  }
}


/* =========================
   27インチ大型モニター（≥1800px）のみ適用
   他サイズ（13インチノート・iPad12.9横等）には影響しない
========================= */
@media (min-width: 1800px) {

  /* center-logo：上限を720px→820px程度に小幅拡大 */
  .hero-center-logo {
    width: clamp(720px, 44vw, 820px);
  }

  /* hero-copy-wrap：左端へ少し寄せる */
  .hero-copy-wrap {
    left: clamp(100px, 6.5vw, 160px);
  }

  /* hero-copy：少し大きく */
  .hero-copy-right,
  .hero-copy-left {
    width: clamp(76px, 5vw, 92px);
  }

  /* right-logo：右端へ少し寄せて少し大きく */
  .hero-right-logo {
    right: clamp(80px, 6vw, 140px);
    width: clamp(400px, 24vw, 460px);
  }

  /* thought-title：写真が右寄せで広がる分、leftを写真の左端に追従させる */
  /* thought-photo は width:88% / justify-content:flex-end
     → 写真の左端は約 12% の位置になる */
  .thought-title {
    left: calc(12% - 20px);
    top: 40px;
    width: 280px;
  }
}


/* =========================
   iPhone12mini など小型端末（〜375px）のみ適用
========================= */
@media (max-width: 375px) {

  /* ---- HERO：コピー・背景帯・right-logoを約30%縮小 ---- */
  .hero-copy-wrap {
    top: 24px;
    left: 16px;
    gap: 15px;        /* 21px × 0.70 */
  }

  .hero-copy-right,
  .hero-copy-left {
    width: 31px;      /* 44px × 0.70 */
  }

  .hero-copy-bg {
    width: 20px;      /* 28px × 0.70 */
    top: -4px;
    right: 1px;
    height: calc(100% + 8px);
  }

  .hero-right-logo {
    width: 166px;     /* 237px × 0.70 */
    bottom: 72px;
    right: 16px;
  }

  /* center-logo：15px下げ */
  .hero-center-logo {
    top: calc(50% - 185px); /* 元の -200px から +15px */
  }

  /* ---- STRUCTURE（2ページ目）：全体を縮小 ---- */
  .structure-section {
    padding: 40px 0 60px;
  }

  .structure-text-col {
    font-size: 15px;
    line-height: 2.0;
    padding: 0 0 28px 0;
  }

  .structure-graphic-col {
    padding-bottom: 36px;
  }

  .structure-title {
    width: 120px !important;
  }

  /* ---- THOUGHT（3ページ目）：全体を縮小 ---- */
  .thought-section {
    padding: 40px 0 60px;
  }

  .thought-copy-col {
    font-size: 15px;
    line-height: 2.0;
    padding: 0 0 28px 0;
  }

  .thought-title {
    width: 138px;
    bottom: -14px;
    left: 10px;
  }
}
