:root {
    --bg: #FAF4F0;
    --bg-alt: #F4ECE5;
    --brown: #8a5a2b;
    --brown-3: #6f4720;
    --brown-cta: #97580B;
    --brown-soft: #B89B7A;
    --line: #E5D8C9;
    --ink: #1C1C1C;
    --ink-soft: #3A3530;
    --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --serif-display: "Shippori Mincho B1", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --serif-body: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  }
  * { box-sizing: border-box; }
  html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--serif-body);
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }

  /* ===== Header ===== */
  header.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    max-width: 1180px;
    margin: 0 auto;
    height: 74px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .logo {
    font-family: var(--serif-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--brown-3);
    text-decoration: none;
    white-space: nowrap;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.08em;
  }
  .nav-links a {
    white-space: nowrap;
    color: #3A2A1C;
    text-decoration: none;
    transition: color .2s ease;
  }
  .nav-links a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }
  .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid var(--brown-cta);
    border-radius: 7px;
    color: var(--brown-cta);
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.04em;
    background: #fff;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
  }
  .cta-button:hover { background: var(--brown-cta); color: #fff; }
  .cta-button .cal { width: 16px; height: 16px; stroke: currentColor; fill: none; }
  .cta-button .chev { width: 14px; height: 14px; stroke: currentColor; fill: none; margin-left: 2px; }

  /* ===== Mobile hamburger + menu (hidden on desktop) ===== */
  .hamburger {
    display: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  .hamburger svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 2; }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 20px 28px;
    overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    flex-shrink: 0;
  }
  .mobile-menu-head .logo { font-size: 19px; }
  .menu-close {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-close svg { width: 28px; height: 28px; stroke: var(--ink); stroke-width: 2; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
  }
  .mobile-nav a {
    display: block;
    padding: 28px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 26px;
    letter-spacing: 0.04em;
    color: var(--brown-3);
    text-decoration: none;
  }
  .mobile-cta {
    margin-top: 28px;
    width: 100%;
    justify-content: center;
    padding: 22px 16px;
    font-size: 16px;
    border-radius: 10px;
  }
  .mobile-cta .cal { width: 20px; height: 20px; }
  .mobile-cta .chev { width: 18px; height: 18px; }

  /* ===== Main ===== */
  main {
    max-width: 880px;
    margin: 0 auto;
    padding: 80px 32px 40px;
  }
  .page-title {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 38px;
    letter-spacing: 0.12em;
    text-align: center;
    margin: 0 0 18px;
    color: var(--ink);
  }
  .page-title-sub {
    font-family: var(--serif-display);
    font-size: 13px;
    letter-spacing: 0.32em;
    text-align: center;
    color: var(--brown);
    margin: 0 0 56px;
    text-transform: uppercase;
  }
  .lead {
    font-size: 15px;
    line-height: 2.1;
    color: var(--ink-soft);
    margin: 0 0 64px;
  }
  .divider {
    width: 56px;
    height: 1px;
    background: var(--brown-soft);
    margin: 0 auto 56px;
  }

  section.article {
    margin: 0 0 48px;
  }
  section.article h2 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin: 0 0 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
  }
  section.article h2 .num {
    color: var(--brown);
    font-size: 14px;
    letter-spacing: 0.24em;
    display: block;
    margin-bottom: 6px;
  }
  section.article p {
    font-size: 15px;
    line-height: 2.1;
    color: var(--ink-soft);
    margin: 0 0 16px;
  }
  section.article ol, section.article ul {
    margin: 8px 0 16px;
    padding-left: 1.4em;
  }
  section.article li {
    font-size: 15px;
    line-height: 2.1;
    color: var(--ink-soft);
    margin-bottom: 10px;
  }
  section.article ol { list-style: none; counter-reset: item; padding-left: 0; }
  section.article ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 2.2em;
  }
  section.article ol > li::before {
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brown);
    font-family: var(--serif-display);
    font-size: 13px;
    letter-spacing: 0.12em;
    line-height: 2.4;
  }

  .meta-box {
    margin-top: 16px;
    padding: 28px 32px;
    background: var(--bg-alt);
    border: 1px solid var(--brown-soft);
  }
  .meta-box dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; row-gap: 14px; }
  .meta-box dt {
    font-family: var(--serif-display);
    color: var(--brown);
    font-size: 14px;
    letter-spacing: 0.12em;
  }
  .meta-box dd {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
  }

  /* ===== Footer ===== */
  footer.site-footer {
    background: var(--bg);
    padding: 32px 48px 56px;
    margin-top: 0;
  }
  .footer-inner {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 64px;
  }
  .footer-col h3 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.12em;
    color: var(--brown);
    margin: 0 0 32px;
  }
  .footer-col h3 a {
    text-decoration: none;
    color: var(--brown);
  }
  .footer-col h3 a:hover {
    opacity: 0.8;
  }
  .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .footer-col li a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.06em;
  }
  .footer-col li a:hover { color: var(--brown); }
  .footer-col.services ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
  }
  .footer-bottom {
    max-width: 1480px;
    margin: 64px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-family: var(--serif-display);
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
  }

  /* ===== Desktop / laptop & tablet landscape (1024–1280px) ===== */
  @media (max-width: 1320px) {
    .footer-inner, .footer-bottom { max-width: 100%; }
    .footer-inner { gap: 48px; }
  }

  /* ===== Tablet portrait & below ===== */
  @media (max-width: 900px) {
    .header-inner { height: 64px; padding: 0 20px; gap: 16px; }
    .header-right { gap: 20px; }
    .nav-links { gap: 22px; }
    .cta-button { padding: 10px 12px; }
    main { padding: 56px 24px 28px; }
    .page-title { font-size: 30px; }
    .meta-box dl { grid-template-columns: 1fr; row-gap: 4px; }
    .meta-box dd { margin-bottom: 12px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
    .footer-col.services ul { grid-template-columns: 1fr; }
    footer.site-footer { padding: 24px 24px 40px; }
  }

  /* ===== Smartphone portrait (360–430px, top priority) ===== */
  @media (max-width: 600px) {
    html {
      scroll-padding-top: 80px;
    }
    .header-inner {
      height: 64px;
      padding: 0 20px;
      gap: 14px;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
    .logo { font-size: 19px; }
    .header-right { display: none; }
    .hamburger { display: flex; }

    main { padding: 40px 20px 24px; }
    .page-title { font-size: 24px; letter-spacing: 0.08em; }
    .page-title-sub { font-size: 11px; letter-spacing: 0.24em; margin-bottom: 36px; }
    .divider { margin-bottom: 40px; }
    .lead { font-size: 14px; line-height: 2.0; margin-bottom: 44px; }

    section.article { margin-bottom: 40px; }
    section.article h2 { font-size: 17px; letter-spacing: 0.04em; line-height: 1.6; }
    section.article h2 .num { font-size: 12px; letter-spacing: 0.18em; }
    section.article p,
    section.article li { font-size: 14px; line-height: 2.0; }
    section.article ol > li { padding-left: 1.9em; }

    .meta-box { padding: 20px 20px; }
    .meta-box dt { font-size: 13px; }
    .meta-box dd { font-size: 14px; }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-col { grid-column: 1 / -1; }
    .footer-col:nth-child(3) { grid-column: 1 / 2; }
    .footer-col:nth-child(4) { grid-column: 2 / 3; }
    .footer-col h3 { margin-bottom: 18px; font-size: 16px; }
    .footer-col ul { gap: 14px; }
    .footer-col.services ul { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
    .footer-col li a { font-size: 14px; }
    .footer-bottom { margin-top: 40px; font-size: 12px; letter-spacing: 0.1em; }
  }

  /* ===== Very narrow phones (≤360px) ===== */
  @media (max-width: 360px) {
    .nav-links { font-size: 13px; }
    .page-title { font-size: 22px; }
    .footer-col.services ul { grid-template-columns: 1fr; }
  }