  /* ============================================================
   * 京都の教科書。デザインシステム v2
   * 「朱と緑を大胆に、写真を主役に、動きで魅せる」
   * ============================================================ */

  :root {
    /* 京都の色 */
    --paper: #FAF6EC;
    --paper-warm: #F4EEDD;
    --paper-deep: #EBE1C4;
    --matcha: #4A6B4A;
    --matcha-deep: #2E4530;
    --matcha-soft: #97AC97;
    --matcha-bright: #6B8F6B;
    --sumi: #1E1B18;
    --sumi-soft: #4A453D;
    --sumi-mute: #8A8378;
    --shu: #A63D2A;
    --shu-bright: #C74B32;
    --shu-deep: #7C2B1E;
    --gold: #B8955F;
    --line: #D6CDB5;

    --serif: 'Noto Serif JP', 'Shippori Mincho', 'Yu Mincho', serif;
    --sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --latin: 'Cormorant Garamond', 'Garamond', serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--serif);
    background: var(--paper);
    color: var(--sumi);
    font-weight: 400;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "palt";
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.11 0 0 0 0 0.09 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 100;
    opacity: 0.5;
    mix-blend-mode: multiply;
  }

  /* ============================================================
   * ヘッダー
   * ============================================================ */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 18px 40px;
    background: rgba(250, 246, 236, 0);
    backdrop-filter: blur(0);
    z-index: 50;
    transition: all 0.4s ease;
  }
  header.scrolled {
    background: rgba(250, 246, 236, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 40px;
  }
  .nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }
  .brand-jp {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--paper);
    transition: color 0.4s ease;
  }
  .brand-en {
    font-family: var(--latin);
    font-style: italic;
    font-size: 11px;
    letter-spacing: 0.25em;
    color: rgba(250, 246, 236, 0.75);
    margin-top: 4px;
    transition: color 0.4s ease;
  }
  header.scrolled .brand-jp { color: var(--sumi); }
  header.scrolled .brand-en { color: var(--sumi-mute); }

  nav ul {
    list-style: none;
    display: flex;
    gap: 34px;
    align-items: center;
  }
  nav a {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--paper);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
  }
  header.scrolled nav a { color: var(--sumi-soft); }
  nav a::before {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -6px;
    height: 2px;
    background: var(--shu);
    transition: left 0.3s ease, right 0.3s ease;
  }
  nav a:hover::before { left: 0; right: 0; }
  nav a:hover { color: var(--shu); }
  header.scrolled nav a:hover { color: var(--shu); }

  .search-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(250, 246, 236, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    transition: all 0.3s ease;
  }
  header.scrolled .search-btn {
    border-color: var(--line);
    color: var(--sumi-soft);
  }
  .search-btn:hover {
    background: var(--shu);
    color: var(--paper);
    border-color: var(--shu);
  }

  /* ============================================================
   * ヒーロー — 写真前提の大胆な設計
   * ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 100px 40px 80px;
  }

  /* 京都の写真（先斗町の夜） */
  .hero-photo {
    position: absolute;
    inset: 0;
    background:
      url('images/hero.jpg') center center / cover no-repeat;
    z-index: 0;
    animation: heroBreath 20s ease-in-out infinite;
    transform-origin: center;
  }
  /* 写真の上に色調整レイヤー */
  .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      /* 上部：わずかに朱を差す */
      linear-gradient(180deg,
        rgba(199, 75, 50, 0.08) 0%,
        transparent 25%,
        transparent 65%,
        rgba(30, 27, 24, 0.35) 100%);
  }

  /* 霧の膜（ヒーロー全体を包む詩情レイヤー） */
  .hero-fog {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      /* 中央にほんのり明るい光 */
      radial-gradient(ellipse at 50% 40%,
        rgba(250, 240, 220, 0.08) 0%,
        transparent 45%),
      /* 全体を薄く覆う霧 */
      linear-gradient(180deg,
        rgba(250, 246, 236, 0.06) 0%,
        rgba(250, 246, 236, 0.03) 40%,
        transparent 70%);
    animation: fogDrift 25s ease-in-out infinite alternate;
  }
  @keyframes fogDrift {
    0%   { opacity: 0.8; transform: translateX(0); }
    100% { opacity: 1; transform: translateX(20px); }
  }

  /* ビネット（四隅を暗く落として中央に視線を集める） */
  .hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
      radial-gradient(ellipse at center,
        transparent 40%,
        rgba(30, 27, 24, 0.25) 75%,
        rgba(30, 27, 24, 0.55) 100%);
  }
  @keyframes heroBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }

  /* 靄の層 */
  .hero-mist {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 20% 70%, rgba(250, 246, 236, 0.15) 0%, transparent 40%),
      radial-gradient(ellipse at 80% 50%, rgba(250, 246, 236, 0.1) 0%, transparent 45%);
    animation: mistFloat 15s ease-in-out infinite alternate;
  }
  @keyframes mistFloat {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(30px) translateY(-15px); }
  }

  /* 山のシルエット（三重の遠近感） */
  .hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    z-index: 2;
    pointer-events: none;
  }

  /* 鳥居 */
  .hero-torii {
    position: absolute;
    right: 10%;
    bottom: 22%;
    width: 200px;
    z-index: 3;
    animation: toriiFadeIn 2s ease-out 0.5s both;
  }
  @keyframes toriiFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 0.9; transform: translateY(0); }
  }

  /* 朱色のグラデーションオーバーレイ */
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
      linear-gradient(180deg,
        rgba(30, 27, 24, 0.35) 0%,
        rgba(30, 27, 24, 0.1) 25%,
        rgba(30, 27, 24, 0.3) 55%,
        rgba(30, 27, 24, 0.85) 100%);
    pointer-events: none;
  }

  /* 縦書きの装飾 */
  .hero-vertical {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.6em;
    color: rgba(250, 246, 236, 0.5);
    z-index: 4;
    animation: verticalFadeIn 1.5s ease-out 1s both;
  }
  @keyframes verticalFadeIn {
    from { opacity: 0; transform: translateY(-40%); }
    to { opacity: 1; transform: translateY(-50%); }
  }

  .hero-inner {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    animation: heroContentFadeIn 1.5s ease-out both;
  }
  @keyframes heroContentFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-date {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--latin);
    font-style: italic;
    font-size: 13px;
    color: var(--paper);
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    opacity: 0.9;
  }
  .hero-date::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--shu-bright);
  }

  .hero-title {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--paper);
    font-size: clamp(56px, 9vw, 108px);
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 30px rgba(30, 27, 24, 0.3);
  }
  .hero-title .dot {
    color: var(--shu-bright);
    display: inline-block;
    animation: dotPulse 3s ease-in-out infinite;
  }
  @keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }

  .hero-sub {
    font-family: var(--serif);
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--paper);
    margin-bottom: 60px;
    opacity: 0.95;
  }

  .hero-numbers {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(250, 246, 236, 0.3);
    max-width: 800px;
    position: relative;
  }
  .hero-numbers::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--shu-bright);
  }
  .hero-num-item {
    color: var(--paper);
  }
  .hero-num-item .val {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 3px;
  }
  .hero-num-item .val small {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    color: var(--matcha-soft);
  }
  .hero-num-item .lbl {
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.15em;
    margin-top: 8px;
    opacity: 0.85;
  }

  .hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--paper);
    opacity: 0.85;
  }
  .hero-scroll .label {
    font-family: var(--latin);
    font-style: italic;
    font-size: 11px;
    letter-spacing: 0.25em;
  }
  .hero-scroll .line {
    width: 1px;
    height: 40px;
    background: var(--paper);
    animation: scrollLine 2.4s ease-in-out infinite;
    transform-origin: top;
  }
  @keyframes scrollLine {
    0%, 100% { transform: scaleY(0.2); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
  }

  /* ============================================================
   * 共通セクション
   * ============================================================ */
  .section {
    padding: 130px 40px;
    position: relative;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* セクションヘッド：朱の縦線を左に */
  .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 80px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .section-head::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 80px;
    height: 3px;
    background: var(--shu);
  }
  .section-head h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--sumi);
  }
  .section-head .en {
    font-family: var(--latin);
    font-style: italic;
    font-size: 14px;
    color: var(--matcha);
    letter-spacing: 0.25em;
  }

  /* ============================================================
   * イントロ
   * ============================================================ */
  .intro {
    background: var(--paper-warm);
    position: relative;
    overflow: hidden;
  }
  .intro::before {
    content: "書";
    position: absolute;
    right: -80px;
    top: 20px;
    font-family: var(--serif);
    font-size: 440px;
    font-weight: 900;
    color: var(--matcha);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
    animation: floatUp 8s ease-in-out infinite;
  }
  @keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }

  .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .intro-label {
    font-family: var(--latin);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--shu);
    margin-bottom: 20px;
  }
  .intro-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: var(--sumi);
    margin-bottom: 32px;
  }
  .intro-title em {
    font-style: normal;
    color: var(--shu);
    position: relative;
    display: inline-block;
  }
  .intro-title em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: var(--shu);
    opacity: 0.4;
    animation: underlineDraw 2s ease-out 0.8s both;
    transform-origin: left;
  }
  @keyframes underlineDraw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  .intro-lead p {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 2.2;
    color: var(--sumi-soft);
    margin-bottom: 22px;
  }
  .intro-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 32px;
    background: var(--shu);
    color: var(--paper);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    border: 1px solid var(--shu);
  }
  .intro-cta:hover {
    background: var(--sumi);
    border-color: var(--sumi);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 27, 24, 0.2);
  }
  .intro-cta .arrow {
    transition: transform 0.3s ease;
  }
  .intro-cta:hover .arrow {
    transform: translateX(6px);
  }

  /* ============================================================
   * カテゴリ（章立て）— 写真前提のグリッド
   * ============================================================ */
  .categories {
    background: var(--paper);
  }
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .cat-item {
    position: relative;
    background: var(--paper-warm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s ease;
  }
  .cat-item:hover {
    transform: translateY(-8px);
  }

  /* カテゴリごとの色分けされた写真エリア（本番は京都写真） */
  .cat-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.8s ease;
  }
  .cat-item:hover .cat-photo {
    transform: scale(1.08);
  }
  .cat-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(30, 27, 24, 0.1) 0%,
      rgba(30, 27, 24, 0.5) 60%,
      rgba(30, 27, 24, 0.85) 100%);
  }

  /* 各カテゴリ用の色調 */
  .cat-item:nth-child(1) .cat-photo {
    background: linear-gradient(135deg, #B84A3B 0%, #7C2B1E 60%, #4A1A10 100%);
  }
  .cat-item:nth-child(2) .cat-photo {
    background: linear-gradient(135deg, #8A6F55 0%, #5A4A3A 60%, #2A2418 100%);
  }
  .cat-item:nth-child(3) .cat-photo {
    background: linear-gradient(135deg, #B8955F 0%, #7C6440 60%, #4A3D25 100%);
  }
  .cat-item:nth-child(4) .cat-photo {
    background: linear-gradient(135deg, #4A6B4A 0%, #2E4530 60%, #1A2A1C 100%);
  }
  .cat-item:nth-child(5) .cat-photo {
    background: linear-gradient(135deg, #97AC97 0%, #4A6B4A 60%, #2E4530 100%);
  }
  .cat-item:nth-child(6) .cat-photo {
    background: linear-gradient(135deg, #6B5D4A 0%, #4A3D30 60%, #2A2418 100%);
  }

  /* 装飾漢字 */
  .cat-photo-kanji {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--serif);
    font-size: 130px;
    font-weight: 900;
    color: rgba(250, 246, 236, 0.15);
    line-height: 1;
    z-index: 2;
  }

  .cat-content {
    position: relative;
    z-index: 3;
    padding: 40px 32px;
    color: var(--paper);
  }
  .cat-num {
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--matcha-soft);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cat-num::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--matcha-soft);
  }
  .cat-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    line-height: 1.4;
  }
  .cat-desc {
    font-family: var(--serif);
    font-size: 13px;
    color: rgba(250, 246, 236, 0.85);
    line-height: 1.9;
    margin-bottom: 20px;
  }
  .cat-arrow {
    font-family: var(--latin);
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.25em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    color: var(--shu-bright);
  }
  .cat-item:hover .cat-arrow { gap: 16px; }

  /* ============================================================
   * 最新記事 — 雑誌風
   * ============================================================ */
  .articles {
    background: var(--paper-warm);
    position: relative;
    overflow: hidden;
  }
  .articles::before {
    content: "";
    position: absolute;
    top: 60px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(166, 61, 42, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .art-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
  }
  .art-main {
    position: relative;
    cursor: pointer;
  }
  .art-main-image {
    aspect-ratio: 4/3;
    background:
      linear-gradient(135deg, rgba(30, 27, 24, 0.3) 0%, transparent 60%),
      linear-gradient(180deg, transparent 40%, rgba(30, 27, 24, 0.75) 100%),
      linear-gradient(145deg, #C74B32 0%, #7C2B1E 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.5s ease;
  }
  .art-main:hover .art-main-image {
    transform: scale(1.02);
  }
  .art-main-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(250, 246, 236, 0.2) 0%, transparent 30%),
      radial-gradient(circle at 80% 70%, rgba(184, 149, 95, 0.15) 0%, transparent 40%);
  }
  .art-main-image::after {
    content: "京";
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: var(--serif);
    font-size: 160px;
    font-weight: 900;
    color: rgba(250, 246, 236, 0.1);
    line-height: 1;
  }
  .art-main-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--shu);
    color: var(--paper);
    padding: 8px 18px;
    font-family: var(--serif);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    z-index: 3;
  }
  .art-main-meta {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: var(--paper);
    z-index: 3;
  }
  .art-main-cat {
    font-family: var(--latin);
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.3em;
    margin-bottom: 12px;
    color: var(--matcha-soft);
  }
  .art-main-title {
    font-family: var(--serif);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }
  .art-main-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--serif);
    font-size: 12px;
    color: var(--sumi-mute);
    letter-spacing: 0.1em;
    margin-top: 20px;
  }
  .art-main-info .dot {
    width: 3px;
    height: 3px;
    background: var(--shu);
    border-radius: 50%;
  }

  .art-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .art-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .art-item:hover {
    transform: translateX(6px);
  }
  .art-item:last-child { border-bottom: none; }
  .art-item-num {
    font-family: var(--latin);
    font-style: italic;
    font-size: 46px;
    font-weight: 300;
    color: var(--matcha);
    line-height: 1;
    letter-spacing: 0.02em;
  }
  .art-item:hover .art-item-num { color: var(--shu); }
  .art-item-cat {
    font-family: var(--serif);
    font-size: 11px;
    color: var(--shu);
    letter-spacing: 0.25em;
    margin-bottom: 10px;
  }
  .art-item-title {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.7;
    color: var(--sumi);
    margin-bottom: 12px;
    transition: color 0.3s ease;
  }
  .art-item:hover .art-item-title { color: var(--matcha); }
  .art-item-info {
    font-family: var(--serif);
    font-size: 11px;
    color: var(--sumi-mute);
    letter-spacing: 0.1em;
  }

  /* ============================================================
   * 書き手について — 墨色の劇的なセクション
   * ============================================================ */
  .author {
    background: var(--sumi);
    color: var(--paper);
    padding: 160px 40px;
    position: relative;
    overflow: hidden;
  }

  /* 朱と緑の光の帯 */
  .author::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
      transparent 0%,
      var(--shu) 30%,
      var(--matcha-bright) 70%,
      transparent 100%);
  }
  .author::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 900px;
    height: 900px;
    border: 1px solid rgba(166, 61, 42, 0.12);
    border-radius: 50%;
    animation: circleRotate 60s linear infinite;
  }
  @keyframes circleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  /* 巨大な漢字装飾 */
  .author-kanji {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: 480px;
    font-weight: 900;
    color: rgba(166, 61, 42, 0.06);
    line-height: 0.9;
    pointer-events: none;
    letter-spacing: -0.05em;
  }

  .author-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .author-label {
    font-family: var(--latin);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--shu-bright);
    margin-bottom: 24px;
  }
  .author-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 780px;
  }
  .author-title em {
    font-style: normal;
    color: var(--shu-bright);
    display: inline-block;
    position: relative;
  }
  .author-nums {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid rgba(250, 246, 236, 0.15);
    position: relative;
  }
  .author-nums::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--shu);
  }
  .an-item .an-val {
    font-family: var(--serif);
    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 700;
    color: var(--paper);
    line-height: 1;
    letter-spacing: 0.02em;
    display: flex;
    align-items: baseline;
    gap: 3px;
  }
  .an-item .an-val small {
    font-size: 0.35em;
    color: var(--shu-bright);
    font-weight: 400;
  }
  .an-item .an-lbl {
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: 0.15em;
    margin-top: 16px;
    color: var(--paper);
    opacity: 0.9;
  }
  .an-item .an-desc {
    font-family: var(--serif);
    font-size: 11px;
    color: var(--matcha-soft);
    margin-top: 6px;
    letter-spacing: 0.1em;
  }

  /* ============================================================
   * 交通コラム
   * ============================================================ */
  .transport {
    background: var(--paper);
    position: relative;
    overflow: hidden;
  }
  .transport::before {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 107, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .transport-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .transport-visual {
    aspect-ratio: 5/4;
    position: relative;
    overflow: hidden;
    background:
      linear-gradient(180deg,
        rgba(74, 107, 74, 0.2) 0%,
        transparent 50%),
      linear-gradient(145deg, #97AC97 0%, #4A6B4A 60%, #2E4530 100%);
    transition: transform 0.5s ease;
    cursor: pointer;
  }
  .transport-visual:hover {
    transform: scale(1.02);
  }
  .transport-visual::before {
    content: "路";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-size: 320px;
    font-weight: 900;
    color: rgba(250, 246, 236, 0.15);
    line-height: 1;
  }
  .transport-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, transparent 50%, rgba(30, 27, 24, 0.5) 100%);
  }
  .transport-visual-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    color: var(--paper);
  }
  .transport-visual-badge span {
    font-family: var(--latin);
    font-style: italic;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--shu-bright);
    display: block;
    margin-bottom: 8px;
  }
  .transport-visual-badge strong {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--paper);
  }
  .transport-visual-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: var(--paper);
    font-family: var(--serif);
    font-size: 12px;
    letter-spacing: 0.15em;
    opacity: 0.9;
  }
  .transport-label {
    font-family: var(--latin);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--shu);
    margin-bottom: 20px;
  }
  .transport-title {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: var(--sumi);
    margin-bottom: 28px;
  }
  .transport-title em {
    font-style: normal;
    color: var(--matcha);
  }
  .transport-desc {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 2.1;
    color: var(--sumi-soft);
    margin-bottom: 20px;
  }
  .transport-quote {
    padding: 28px 32px;
    border-left: 4px solid var(--shu);
    background: var(--paper-warm);
    font-family: var(--serif);
    font-size: 14px;
    line-height: 2;
    color: var(--sumi-soft);
    margin-top: 32px;
    font-style: italic;
    position: relative;
  }
  .transport-quote::before {
    content: "\201C";
    position: absolute;
    top: 5px;
    left: 20px;
    font-family: var(--latin);
    font-size: 60px;
    color: var(--shu);
    opacity: 0.3;
    line-height: 1;
  }

  /* ============================================================
   * フッター
   * ============================================================ */
  footer {
    background: var(--matcha-deep);
    color: var(--paper);
    padding: 100px 40px 40px;
    position: relative;
    overflow: hidden;
  }
  footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
      var(--shu) 0%,
      var(--matcha-bright) 50%,
      var(--gold) 100%);
  }
  .foot-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .foot-brand {
    text-align: center;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250, 246, 236, 0.15);
    margin-bottom: 40px;
  }
  .foot-brand .brand-jp {
    color: var(--paper);
    font-size: 30px;
    letter-spacing: 0.2em;
  }
  .foot-brand .brand-en {
    color: rgba(250, 246, 236, 0.6);
    font-size: 12px;
    letter-spacing: 0.35em;
    margin-top: 10px;
  }
  .foot-message {
    font-family: var(--serif);
    font-size: 14px;
    color: rgba(250, 246, 236, 0.8);
    margin-top: 20px;
    letter-spacing: 0.15em;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
  }
  .foot-col h4 {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: var(--paper);
    position: relative;
    padding-left: 14px;
  }
  .foot-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 12px;
    background: var(--shu-bright);
  }
  .foot-col ul {
    list-style: none;
  }
  .foot-col li {
    margin-bottom: 12px;
  }
  .foot-col a {
    font-family: var(--serif);
    font-size: 13px;
    color: rgba(250, 246, 236, 0.7);
    transition: color 0.3s ease, padding-left 0.3s ease;
    letter-spacing: 0.05em;
    display: inline-block;
  }
  .foot-col a:hover {
    color: var(--shu-bright);
    padding-left: 6px;
  }
  .foot-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(250, 246, 236, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--serif);
    font-size: 11px;
    color: rgba(250, 246, 236, 0.5);
    letter-spacing: 0.08em;
  }
  .foot-disclaimer {
    font-family: var(--serif);
    font-size: 11px;
    color: rgba(250, 246, 236, 0.5);
    line-height: 1.8;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 24px 0;
    margin-top: 24px;
    border-top: 1px solid rgba(250, 246, 236, 0.1);
  }

  /* ============================================================
   * Reveal
   * ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal, .hero-scroll .line, .hero-photo, .hero-mist, .hero-fog,
    .hero-title .dot, .author::after, .intro::before {
      animation: none !important;
      transition: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }

  /* ============================================================
   * レスポンシブ
   * ============================================================ */
  @media (max-width: 960px) {
    header { padding: 14px 20px; }
    header.scrolled { padding: 10px 20px; }
    nav ul { display: none; }
    .hero { padding: 90px 24px 100px; }
    .hero-vertical { display: none; }
    .hero-numbers { gap: 24px; flex-wrap: wrap; }
    .hero-torii { width: 100px; right: 5%; }
    .section { padding: 90px 24px; }
    .section-head { flex-direction: column; gap: 8px; align-items: flex-start; margin-bottom: 48px; }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .intro::before { font-size: 260px; right: -40px; }
    .cat-grid { grid-template-columns: 1fr; gap: 24px; }
    .cat-item { aspect-ratio: 5/4; }
    .art-grid { grid-template-columns: 1fr; gap: 48px; }
    .author { padding: 100px 24px; }
    .author-kanji { font-size: 260px; }
    .author-nums { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .transport-inner { grid-template-columns: 1fr; gap: 40px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  }
  @media (max-width: 500px) {
    .hero-num-item { flex-basis: 45%; }
    .foot-grid { grid-template-columns: 1fr; }
  }

  /* ============================================================
   * WordPress 組み込み時の追加分
   * ============================================================ */

  /* ヘッダーの検索（アイコンを押すと入力欄が開く） */
  .search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .search-form {
    width: 0;
    overflow: hidden;
    transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .search-wrap.open .search-form { width: 220px; }
  .search-field {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid rgba(250, 246, 236, 0.5);
    background: transparent;
    color: var(--paper);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.04em;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }
  .search-field::placeholder { color: rgba(250, 246, 236, 0.5); }
  header.scrolled .search-field {
    color: var(--sumi);
    border-bottom-color: var(--line);
  }
  header.scrolled .search-field::placeholder { color: var(--sumi-mute); }
  .search-btn { flex: none; }

  /* 記事カードをリンクにしたぶんの調整 */
  .art-main a { display: block; color: inherit; }
  a.art-item { color: inherit; }
  a.transport-visual { display: block; color: inherit; }

  /* 管理バーが出ているときにヒーローが隠れないように */
  body.admin-bar .hero { min-height: calc(100vh - 32px); }
  @media (max-width: 782px) {
    body.admin-bar .hero { min-height: calc(100vh - 46px); }
  }

  @media (max-width: 860px) {
    .search-wrap.open .search-form { width: 140px; }
  }

  /* スマホでは軽いヒーロー画像に差し替える */
  @media (max-width: 960px) {
    .hero-photo {
      background-image: url('images/hero-mobile.jpg');
    }
  }

  /* ============================================================
   * スマホ対応 — ハンバーガーメニュー・検索・ヒーローの高さ
   * ============================================================ */

  /* ハンバーガーのボタン（スマホでのみ表示） */
  .nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: none;
    z-index: 2;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--paper);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 0.25s ease,
                background-color 0.4s ease;
  }
  header.scrolled .nav-toggle span { background: var(--sumi); }

  /* 開いているあいだは × に変わる */
  body.kt-menu-open .nav-toggle span { background: var(--sumi); }
  body.kt-menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.kt-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.kt-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* 開いているあいだのヘッダー */
  body.kt-menu-open #site-header {
    z-index: 90;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.kt-menu-open .brand-jp { color: var(--sumi); }
  body.kt-menu-open .brand-en { color: var(--sumi-mute); }
  body.kt-menu-open { overflow: hidden; }

  /* メニュー本体 */
  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--paper);
    padding: 96px 24px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
  }
  .nav-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  /* 上部に朱の細い帯（ブランドの差し色） */
  .nav-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--shu) 0%, var(--shu-bright) 45%, var(--matcha) 100%);
  }
  .nav-panel-inner {
    max-width: 560px;
    margin: 0 auto;
  }

  /* メニュー内の検索 */
  .panel-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    margin-bottom: 40px;
  }
  .panel-search-field {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--sumi);
    padding: 6px 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }
  .panel-search-field::placeholder { color: var(--sumi-mute); }
  .panel-search-btn {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    background: var(--shu);
    transition: background-color 0.3s ease;
  }
  .panel-search-btn:hover { background: var(--shu-deep); }

  .panel-label {
    font-family: var(--latin);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--shu);
    margin-bottom: 16px;
  }

  .panel-nav {
    list-style: none;
    margin-bottom: 40px;
  }
  .panel-nav li { border-bottom: 1px solid var(--line); }
  .panel-nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 4px;
    position: relative;
  }
  .panel-num {
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--sumi-mute);
    flex: none;
  }
  .panel-title {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--sumi);
  }
  .panel-kanji {
    margin-left: auto;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: var(--paper-deep);
  }
  .panel-nav a:active .panel-title { color: var(--shu); }

  .panel-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .panel-sub a {
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--sumi-soft);
    padding: 12px 4px;
    border-bottom: 1px dotted var(--line);
  }

  /* メニューの中身を少しずつ出す */
  .nav-panel .panel-search,
  .nav-panel .panel-label,
  .nav-panel .panel-nav li,
  .nav-panel .panel-sub {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav-panel.open .panel-search,
  .nav-panel.open .panel-label,
  .nav-panel.open .panel-nav li,
  .nav-panel.open .panel-sub {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-panel.open .panel-search { transition-delay: 0.10s; }
  .nav-panel.open .panel-label { transition-delay: 0.14s; }
  .nav-panel.open .panel-nav li:nth-child(1) { transition-delay: 0.18s; }
  .nav-panel.open .panel-nav li:nth-child(2) { transition-delay: 0.22s; }
  .nav-panel.open .panel-nav li:nth-child(3) { transition-delay: 0.26s; }
  .nav-panel.open .panel-nav li:nth-child(4) { transition-delay: 0.30s; }
  .nav-panel.open .panel-nav li:nth-child(5) { transition-delay: 0.34s; }
  .nav-panel.open .panel-nav li:nth-child(6) { transition-delay: 0.38s; }
  .nav-panel.open .panel-sub { transition-delay: 0.42s; }

  @media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .search-wrap { display: none; }

    /* 写真の下から次の気配が見えるくらいに詰める */
    .hero { min-height: 86vh; }
    body.admin-bar .hero { min-height: calc(86vh - 46px); }
  }

  @supports (height: 100svh) {
    @media (max-width: 960px) {
      .hero { min-height: 86svh; }
      body.admin-bar .hero { min-height: calc(86svh - 46px); }
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-panel,
    .nav-panel .panel-search,
    .nav-panel .panel-label,
    .nav-panel .panel-nav li,
    .nav-panel .panel-sub,
    .nav-toggle span {
      transition: none !important;
      transform: none !important;
    }
  }
