  :root {
    --ground: #F7F7F5;
    --surface: #FFFFFF;
    --ink: #1D2530;
    --muted: #5C6672;
    --line: #E3E2DC;
    --heading: #062B5C;
    --brand: #062B5C;
    --on-brand: #EEF2F6;
    --yellow: #FFB000;
    --yellow-ink: #7A5307;
    --ph-bg: #FDF6E8;
    --ph-line: #DFB04A;
    --ph-ink: #7A5307;
    --shadow: 0 1px 2px rgba(26, 46, 68, .05);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ground: #10141A;
      --surface: #181D25;
      --ink: #E5E9EE;
      --muted: #9AA4B0;
      --line: #29303A;
      --heading: #E5E9EE;
      --brand: #141C27;
      --on-brand: #E5E9EE;
      --yellow: #F5B53C;
      --yellow-ink: #F5B53C;
      --ph-bg: #221D11;
      --ph-line: #6B571F;
      --ph-ink: #D8AE55;
      --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    }
  }
  :root[data-theme="dark"] {
    --ground: #10141A;
    --surface: #181D25;
    --ink: #E5E9EE;
    --muted: #9AA4B0;
    --line: #29303A;
    --heading: #E5E9EE;
    --brand: #141C27;
    --on-brand: #E5E9EE;
    --yellow: #F5B53C;
    --yellow-ink: #F5B53C;
    --ph-bg: #221D11;
    --ph-line: #6B571F;
    --ph-ink: #D8AE55;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 15px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .disp {
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    color: var(--heading);
    text-wrap: balance;
    margin: 0;
  }
  a { color: inherit; }
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
  }
  .lat { font-family: Archivo, sans-serif; font-weight: 600; letter-spacing: .16em; }
  .wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

  /* ---- 注意バー ---- */
  .notice {
    background: var(--yellow);
    color: #241A02;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.6;
    padding: 9px 16px;
    text-align: center;
  }

  /* ---- ヘッダー ---- */
  header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .bar { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
  .logo { display: flex; align-items: center; gap: 11px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--heading); }
  .logo svg { display: block; flex-shrink: 0; }
  .logo .nm { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; font-size: 21px; letter-spacing: .05em; color: var(--heading); line-height: 1; }
  .logo .rm { font-family: Archivo, sans-serif; font-weight: 600; font-size: 7.5px; letter-spacing: .24em; color: var(--muted); margin-top: 4px; }
  .tel { margin-left: auto; text-align: right; flex-shrink: 0; }
  .tel .lab { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
  .tel .num { font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; color: var(--heading); letter-spacing: .02em; }

  nav { border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  .navrow { display: flex; gap: 4px; }
  nav a {
    background: none; border: 0; cursor: pointer;
    font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: 13.5px;
    color: var(--muted); padding: 13px 16px; white-space: nowrap;
    border-bottom: 3px solid transparent; margin-bottom: -1px;
  }
  nav a:hover { color: var(--heading); }
  nav a[aria-current="page"] { color: var(--heading); border-bottom-color: var(--yellow); }

  /* ---- セクション ---- */
  section { padding: 60px 0; }
  .eyebrow { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
  .eyebrow .en { font-family: Archivo, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .2em; color: var(--yellow-ink); }
  .eyebrow h2 { font-size: 25px; font-weight: 900; letter-spacing: .03em; }
  .rule { height: 3px; width: 40px; background: var(--yellow); margin-bottom: 22px; }
  .lead { max-width: 62ch; color: var(--ink); }

  /* ---- ヒーロー ---- */
  .hero { background: var(--brand); color: var(--on-brand); padding: 76px 0 70px; }
  .hero h1 { color: #fff; font-size: clamp(28px, 6.2vw, 46px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
  .hero h1 em { font-style: normal; color: var(--yellow); }
  .hero p { max-width: 44ch; margin: 22px 0 0; color: #C9D4E0; font-size: 15px; }
  .hero .meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
  .pill { border: 1px solid rgba(255,255,255,.28); color: #DCE5EE; font-size: 12px; padding: 6px 13px; border-radius: 999px; }

  /* ---- カード ---- */
  .grid { display: grid; gap: 16px; }
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { background: var(--surface); border: 1px solid var(--line); padding: 26px 24px; box-shadow: var(--shadow); }
  .card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
  .card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
  .card .ico { color: var(--yellow); margin-bottom: 14px; display: block; }

  /* ---- プレースホルダ ---- */
  .ph {
    background: var(--ph-bg);
    border: 1px dashed var(--ph-line);
    color: var(--ph-ink);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.7;
    padding: 4px 9px;
    display: inline-block;
  }
  /* たたき台の文章（要確認） */
  .ph2 {
    background: linear-gradient(transparent 60%, rgba(255,176,0,.30) 60%);
    font-weight: 700;
  }

  .phbox {
    background: var(--ph-bg);
    border: 1px dashed var(--ph-line);
    color: var(--ph-ink);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    aspect-ratio: 4 / 3;
    font-size: 12.5px; font-weight: 700; text-align: center; padding: 16px;
  }

  /* ---- 事例 ---- */
  .case { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .case .body { padding: 18px 20px 22px; }
  .case h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
  .case .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .tag { font-size: 11px; letter-spacing: .04em; background: var(--ground); border: 1px solid var(--line); color: var(--muted); padding: 3px 9px; }

  /* ---- 表 ---- */
  .tablewrap { overflow-x: auto; }
  table { border-collapse: collapse; width: 100%; background: var(--surface); border: 1px solid var(--line); }
  th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
  th { width: 190px; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; color: var(--heading); background: var(--ground); white-space: nowrap; }
  tr:last-child th, tr:last-child td { border-bottom: 0; }

  /* ---- CTA ---- */
  .cta { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--yellow); padding: 38px 32px; text-align: center; }
  .cta h2 { font-size: 22px; font-weight: 900; }
  .cta p { color: var(--muted); font-size: 13.5px; max-width: 50ch; margin: 12px auto 26px; }
  .btnrow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .btn {
    font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: 15px;
    padding: 15px 34px; border: 0; cursor: pointer; text-decoration: none; display: inline-block;
    background: var(--yellow); color: #241A02;
  }

  .btn { text-decoration: none; display: inline-block; }
  .btn.ghost { background: none; border: 1px solid var(--heading); color: var(--heading); }

  /* ---- フォーム見た目 ---- */
  .field { margin-bottom: 18px; }
  .field label { display: block; font-weight: 700; font-size: 13px; color: var(--heading); margin-bottom: 7px; }
  .field .box { background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; color: var(--muted); font-size: 13.5px; }
  .field .box.tall { min-height: 96px; }
  .req { font-size: 10.5px; background: var(--yellow); color: #241A02; padding: 2px 7px; margin-left: 8px; font-weight: 700; vertical-align: 2px; }

  /* ---- フッター ---- */
  footer { background: var(--brand); color: #B9C6D4; padding: 44px 0 30px; font-size: 12.5px; }
  footer .fnm { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; font-size: 19px; color: #fff; letter-spacing: .05em; }
  footer a { color: #B9C6D4; }
  .fbar { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
  .copy { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-family: Archivo, sans-serif; font-size: 11px; letter-spacing: .08em; }

  .stack { display: flex; flex-direction: column; gap: 14px; }
  .note { font-size: 12.5px; color: var(--muted); }

  /* ---- 動き ---- */
  .hero { position: relative; overflow: hidden; }
  .hero canvas.flow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
  .hero .wrap { position: relative; z-index: 1; }
  .hero .line { width: 96px; height: 3px; background: var(--yellow); margin-top: 26px; }

  header { transition: box-shadow .25s ease; }
  .bar { transition: padding .25s ease; }
  header.scrolled { box-shadow: 0 3px 16px rgba(16, 26, 40, .12); }
  header.scrolled .bar { padding: 8px 0; }
  .prog { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--yellow); z-index: 5; }

  .navrow { position: relative; }
  .navink { position: absolute; bottom: -1px; left: 0; width: 0; height: 3px; background: var(--yellow); }
  nav a[aria-current="page"] { border-bottom-color: transparent; }
  nav a { transition: color .2s ease; }

  main { transition: opacity .2s ease; }
  main.swap { opacity: 0; }

  .card, .case { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
  .card:hover, .case:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 0 8px 20px rgba(16, 26, 40, .10); }
  .case { overflow: hidden; }
  .card .ico { transition: transform .3s cubic-bezier(.2, .7, .3, 1); }
  .btn { transition: filter .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
  .btn:hover { filter: brightness(1.07); }
  .btn.ghost:hover { background: var(--heading); color: var(--ground); }

  .eyebrow { min-width: 0; }
  .eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; }

  @media (prefers-reduced-motion: no-preference) {
    .rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1); }
    .rv.in { opacity: 1; transform: none; }

    .hero.anim p, .hero.anim .meta { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
    .hero.anim .line { width: 0; transition: width .7s cubic-bezier(.2, .7, .3, 1) .22s; }
    .hero.in .line { width: 96px; }
    .hero.in p { opacity: 1; transform: none; transition-delay: .34s; }
    .hero.in .meta { opacity: 1; transform: none; transition-delay: .46s; }

    /* ヒーロー写真：わずかに寄った状態から等倍へ静かに収まる（最終フレームが最も鮮明） */
    .hero.anim.has-photo .hero-ph { opacity: 0; transform: scale(1.055); }
    .hero.in.has-photo .hero-ph {
      opacity: 1; transform: scale(1);
      transition: opacity 1.1s ease, transform 2.6s cubic-bezier(.18, .7, .28, 1);
    }

    /* 空気が流れていくような光のゆらぎ（写真を拡大しないので画質に影響しない） */
    .hero.has-photo .hero-ov::after {
      content: ""; position: absolute; inset: -20% -34%;
      background: linear-gradient(104deg,
        transparent 38%,
        rgba(255,255,255,.055) 50%,
        transparent 62%);
      animation: heroSheen 15s linear infinite;
      pointer-events: none;
    }
    @keyframes heroSheen { from { transform: translateX(-26%); } to { transform: translateX(26%); } }

    .hero.anim h1 .ch { display: inline-block; opacity: 0; transform: translateY(.42em); }
    .hero.in h1 .ch { animation: chIn .42s cubic-bezier(.2, .7, .3, 1) forwards; }
    @keyframes chIn { to { opacity: 1; transform: none; } }

    .logo svg g path { stroke-dasharray: 42; stroke-dashoffset: 42; animation: draw .8s cubic-bezier(.3, .8, .3, 1) .15s forwards; }
    .logo svg > path, .logo svg > rect { opacity: 0; animation: pop .45s ease .75s forwards; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    @keyframes pop { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

    .navink { transition: transform .32s cubic-bezier(.2, .7, .3, 1), width .32s cubic-bezier(.2, .7, .3, 1); }
    .eyebrow::after { transition: transform .8s cubic-bezier(.2, .7, .3, 1) .15s; }
    .eyebrow.in::after { transform: scaleX(1); }
    .card:hover .ico { transform: translateX(3px) rotate(-5deg); }
    .case .phbox { transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
    .case:hover .phbox { transform: scale(1.045); }
    .btn:hover { transform: translateY(-1px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .eyebrow::after { transform: scaleX(1); }
  }

  @media (max-width: 820px) {
    .g3, .g2 { grid-template-columns: 1fr; }
    .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    section { padding: 44px 0; }
    .tel { display: none; }
    th { width: auto; }
    table, tbody, tr, th, td { display: block; }
    th { border-bottom: 0; padding-bottom: 6px; }
    td { padding-top: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

  /* ---- WordPress 移植用の追記 ---- */
  nav a { text-decoration: none; display: inline-block; }
  .logo { text-decoration: none; }
  .admin-bar header { top: 32px; }
  @media screen and (max-width: 782px) { .admin-bar header { top: 46px; } }
  .wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line);
    background: var(--ground); font-family: inherit; font-size: 15px; color: var(--body);
  }
  .wpcf7 textarea { min-height: 160px; }
  .wpcf7 label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--heading); }
  .wpcf7 .wpcf7-submit {
    background: var(--yellow); color: #241A02; border: 0; font-weight: 700;
    padding: 15px 44px; font-size: 15px; cursor: pointer; font-family: inherit;
  }
  .wpcf7 .wpcf7-submit:hover { filter: brightness(1.07); }

  /* ---- 施工事例の個別ページ ---- */
  /* ページ全体を1つの幅に揃える（見出しも記事も同じ列に乗せる） */
  .work-page .wrap { width: min(840px, 100% - 40px); }
  .work-single { margin-top: 34px; }
  .work-single .ttl { font-size: 27px; font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
  .work-single .tags { margin-bottom: 24px; }

  .work-single .wbody { font-size: 16.5px; line-height: 2.05; color: var(--ink); }
  .work-single .wbody p { margin: 0 0 1.3em; }
  .work-single .wbody p:last-child { margin-bottom: 0; }
  .work-single .wbody table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
  .work-single .wbody th, .work-single .wbody td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
  .work-single .wbody th { background: var(--surface); width: 9em; white-space: nowrap; }

  @media (max-width: 600px) {
    .work-single { margin-top: 24px; }
    .work-single .ttl { font-size: 21px; }

    .work-single .wbody { font-size: 15.5px; line-height: 1.95; }
    .work-single .wbody th { width: auto; }
  }

  /* ---- ヒーロー：写真を主役にする（案B） ---- */
  .hero.has-photo {
    background: #0E1A26;
    padding: clamp(60px, 7vw, 104px) 0 clamp(56px, 6.4vw, 96px);
    min-height: clamp(420px, 34vw, 560px);
    display: flex; align-items: center;
  }
  .hero.has-photo .hero-ph {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover;
    background-position: center 46%;
    transform-origin: 62% 50%;
    will-change: transform, opacity;
  }
  .hero.has-photo .hero-ov {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg,
      rgba(26,46,68,.96) 0%,
      rgba(26,46,68,.88) 38%,
      rgba(26,46,68,.52) 72%,
      rgba(26,46,68,.36) 100%);
  }
  .hero.has-photo .wrap { z-index: 2; width: min(1080px, 100% - 40px); }

  @media (max-width: 760px) {
    /* スマホは横幅が狭く、文字が写真に重なるので縦方向のグラデーションにする */
    .hero.has-photo .hero-ov {
      background: linear-gradient(180deg,
        rgba(26,46,68,.80) 0%,
        rgba(26,46,68,.92) 46%,
        rgba(26,46,68,.97) 100%);
    }
  }

  /* ---- 施工事例の写真：縦長・横長どちらでも同じ大きさに揃える ---- */
  .case .shot,
  .work-single .shot-main {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center 45%;   /* 機器は画面の上寄りに写ることが多いので少し上を残す */
    background: var(--surface);
  }
  .case .shot { aspect-ratio: 4 / 3; }
  .work-single .shot-main {
    aspect-ratio: 3 / 2;
    margin: 0 0 32px;
    border: 1px solid var(--line);
  }

  @media (max-width: 600px) {
    /* スマホは縦に積むので、少し横長にして1件あたりの高さを抑える */
    .case .shot { aspect-ratio: 3 / 2; }
    .work-single .shot-main { aspect-ratio: 4 / 3; margin-bottom: 24px; }
  }

  /* ---- 採用：コルクボードに写真を貼る ---- */
  .rec-board {
    margin-top: 34px;
    padding: 14px;
    border-radius: 6px;
    background: linear-gradient(180deg, #9A7346 0%, #7E5C37 100%);
    box-shadow: 0 10px 26px rgba(26, 46, 68, .16);
  }
  .rec-board-in {
    padding: clamp(22px, 3.4vw, 44px) clamp(16px, 3vw, 38px);
    border-radius: 3px;
    background-color: #CBA876;
    background-image:
      radial-gradient(rgba(122, 82, 42, .26) 1px, transparent 1.3px),
      radial-gradient(rgba(255, 234, 198, .22) 1px, transparent 1.3px),
      radial-gradient(rgba(122, 82, 42, .14) 1.6px, transparent 1.9px);
    background-size: 7px 7px, 11px 11px, 19px 19px;
    background-position: 0 0, 3px 4px, 9px 2px;
    box-shadow: inset 0 2px 10px rgba(80, 52, 24, .34);
  }

  /* ギャラリーブロックも、同梱写真も、同じ見た目にする */
  .rec-board .wp-block-gallery {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 3vw, 34px) clamp(14px, 2.4vw, 26px);
    margin: 0;
    padding: 0;
  }
  .rec-board .wp-block-gallery .wp-block-image {
    position: relative;
    width: clamp(136px, 19vw, 186px) !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 9px 9px 30px;
    background: #FDFCF8;
    box-shadow: 0 6px 14px rgba(58, 38, 16, .3);
    transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease;
  }
  .rec-board .wp-block-gallery .wp-block-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 42%;
    margin: 0;
  }
  .rec-board .wp-block-gallery .wp-block-image figcaption {
    display: none;
  }

  /* 画びょう */
  .rec-board .wp-block-gallery .wp-block-image::before {
    content: "";
    position: absolute;
    top: -7px; left: 50%;
    width: 14px; height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #FFF 0%, #E8553F 42%, #A8301F 100%);
    box-shadow: 0 2px 4px rgba(50, 20, 10, .45);
    z-index: 2;
  }

  /* 貼り方をすこしずつ変えて、手で貼った感じにする */
  .rec-board .wp-block-gallery .wp-block-image:nth-child(6n+1) { transform: rotate(-2.6deg); }
  .rec-board .wp-block-gallery .wp-block-image:nth-child(6n+2) { transform: rotate(1.9deg)  translateY(12px); }
  .rec-board .wp-block-gallery .wp-block-image:nth-child(6n+3) { transform: rotate(-1.2deg) translateY(-6px); }
  .rec-board .wp-block-gallery .wp-block-image:nth-child(6n+4) { transform: rotate(3.1deg); }
  .rec-board .wp-block-gallery .wp-block-image:nth-child(6n+5) { transform: rotate(-3.4deg) translateY(8px); }
  .rec-board .wp-block-gallery .wp-block-image:nth-child(6n+6) { transform: rotate(.8deg)   translateY(-10px); }

  .rec-board .wp-block-gallery .wp-block-image:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 14px 26px rgba(58, 38, 16, .38);
    z-index: 3;
  }

  .rec-notice {
    margin-top: 40px;
    border-top: 3px solid var(--yellow);
  }
  .rec-notice p { font-size: 14px; margin-top: 8px; }

  @media (max-width: 600px) {
    .rec-board { padding: 10px; margin-top: 26px; }
    .rec-board .wp-block-gallery .wp-block-image {
      width: calc(50% - 14px) !important;
      padding: 7px 7px 24px;
    }
    .rec-notice { margin-top: 30px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .rec-board .wp-block-gallery .wp-block-image { transition: none; }
  }

  /* ---- 会社概要：ごあいさつ（代表写真なし） ---- */
  .greeting {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(150px, 17vw, 215px);
    align-items: center;
    gap: clamp(20px, 3.5vw, 52px);
    margin: 34px 0 54px;
    padding: clamp(26px, 3.4vw, 42px) clamp(22px, 3vw, 46px);
    background: var(--surface);
    border-left: 4px solid var(--yellow);
  }
  .greeting-mark { display: flex; justify-content: center; }
  .greeting-mark svg {
    width: 100%;
    max-width: 200px;
    height: auto;
    color: var(--heading);
    opacity: .13;
  }
  .greeting h3 {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .04em;
    margin: 0 0 20px;
    color: var(--heading);
  }
  .greeting .lead { max-width: 60ch; }
  .greeting .lead p { font-size: 15.5px; line-height: 2.05; }
  .greeting .lead strong { font-weight: 700; color: var(--heading); }
  .greeting .sign {
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    text-align: right;
    font-weight: 700;
    color: var(--heading);
    font-size: 14.5px;
  }

  @media (max-width: 820px) {
    /* 横幅が足りなくなったらロゴは引っ込める */
    .greeting { grid-template-columns: 1fr; }
    .greeting-mark { display: none; }
  }

  @media (max-width: 600px) {
    .greeting { margin: 26px 0 38px; border-left-width: 3px; }
    .greeting h3 { font-size: 17px; margin-bottom: 16px; }
    .greeting .lead p { font-size: 15px; line-height: 1.95; }
    .greeting .sign { text-align: left; font-size: 13.5px; }
  }
