@charset "utf-8";

/* ==========================================================================
   ChapterSun LLC — Editorial Stylesheet
   方向性A: 寂と余白の編集デザイン
   ========================================================================== */

/* --- Reset (sanitize.css) ------------------------------------------------- */
@import url("https://unpkg.com/sanitize.css");

/* --- Font Awesome --------------------------------------------------------- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* --- Google Fonts --------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500;700;800&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,600;9..144,700&family=JetBrains+Mono:wght@300;400&display=swap');

/* --- Existing inline anims (kept for compatibility) ----------------------- */
@import url("animation.css");
@import url("inview.css");


/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  /* Color: Paper Palette */
  --paper:        #f5f1e8;
  --paper-deep:   #ebe6d6;
  --paper-edge:   #e0d9c4;
  --ink:          #1a1a1a;
  --ink-soft:     #3a3a37;
  --ink-quiet:    #6a6a64;
  --hairline:     #c8bfa6;
  --hairline-soft:#dcd4bd;
  --vermilion:    #c8503d;   /* 朱 — used very sparingly */
  --night:        #0e0e10;   /* reverse sections */
  --night-soft:   #1c1c1f;
  --moon:         #ebe4d4;   /* paper text on night */

  /* Type */
  --font-mincho:   "Shippori Mincho B1", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif;
  --font-gothic:   "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic", sans-serif;
  --font-serif:    "Fraunces", "Times New Roman", serif;
  --font-mono:     "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;

  /* Rhythm */
  --rh-1: 0.5rem;
  --rh-2: 1rem;
  --rh-3: 1.75rem;
  --rh-4: 3rem;
  --rh-5: 5rem;
  --rh-6: 8rem;

  /* Container */
  --content-max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}


/* ==========================================================================
   Base
   ========================================================================== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.95;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Reset */
figure { margin: 0; }
dd { margin: 0; }
nav { margin: 0; padding: 0; }
table { border-collapse: collapse; }
img { border: none; max-width: 100%; height: auto; vertical-align: middle; display: block; }
video { max-width: 100%; }
iframe { width: 100%; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* Links */
a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.4s ease, color 0.4s ease;
}
a:hover {
  opacity: 0.75;
}

/* Selection */
::selection {
  background: var(--ink);
  color: var(--paper);
}


/* ==========================================================================
   Layout Primitives
   ========================================================================== */
#container {
  min-height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

main { flex: 1; }

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}


/* ==========================================================================
   Header
   ========================================================================== */
.home header {
  background: transparent;
  color: var(--ink);
  position: relative;
}

/* Top bar — logo image */
.topbar {
  position: relative;
  z-index: 5;
  padding: 22px var(--gutter) 0;
  display: flex;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.topbar .mark a,
.topbar .mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.topbar .logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: opacity 0.4s ease;
}
.topbar a:hover .logo-img {
  opacity: 0.75;
}

/* 旧要素は非表示 */
.topbar .seal,
.topbar .brand,
.topbar .meta {
  display: none !important;
}


/* ==========================================================================
   Navigation
   ========================================================================== */
#menubar {
  display: none;
}

@media (min-width: 800px) {
  #menubar {
    display: block;
    position: relative;
    z-index: 5;
    margin: 18px var(--gutter) 0;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
  }
  #menubar ul {
    display: flex;
    justify-content: flex-end;
    gap: 38px;
    margin: 0;
  }
  #menubar ul li {
    position: relative;
  }
  #menubar ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--paper);
    border: 1px solid var(--hairline);
    padding: 16px 22px;
    min-width: 220px;
    width: max-content;
    gap: 10px;
    flex-direction: column;
    margin-top: 14px;
    z-index: 10;
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.06);
  }
  /* ドロップダウンを離してもhover維持するためのバッファ */
  #menubar ul li > a {
    padding-bottom: 14px;
  }
  #menubar ul ul::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }
  #menubar ul li:hover > ul,
  #menubar ul li.is-open > ul {
    display: flex;
  }
  #menubar a {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--font-serif);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--ink);
    text-transform: lowercase;
    position: relative;
  }
  #menubar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  }
  #menubar a:hover {
    opacity: 1;
  }
  #menubar a:hover::after {
    transform: scaleX(1);
  }
  #menubar ul ul a {
    padding: 4px 0;
    letter-spacing: 0.08em;
    font-family: var(--font-gothic);
    font-size: 13px;
    text-transform: none;
  }
}


/* ==========================================================================
   Hamburger (mobile)
   ========================================================================== */
#menubar_hdr {
  position: fixed;
  z-index: 101;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
}
#menubar_hdr.dn { display: none; }
#menubar_hdr.db { display: flex; }

#menubar_hdr span {
  display: block;
  border-top: 1px solid var(--ink);
  transition: 0.3s;
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
  transform-origin: center center;
  width: 22px;
}
#menubar_hdr.ham span:nth-of-type(1) {
  border-color: var(--paper);
  transform: rotate(45deg) translate(5px, 6px);
}
#menubar_hdr.ham span:nth-of-type(3) {
  border-color: var(--paper);
  transform: rotate(-45deg) translate(5px, -6px);
}
#menubar_hdr.ham span:nth-of-type(2) { display: none; }
#menubar_hdr.ham { background: var(--ink); }

.s #menubar.db {
  display: block;
  position: fixed;
  z-index: 100;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 100px 32px 60px;
  overflow-y: auto;
  animation: menuIn 0.35s ease both;
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

.s #menubar.db ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.s #menubar.db a {
  display: block;
  padding: 14px 0;
  color: var(--paper);
  font-family: var(--font-mincho);
  font-size: 22px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(235, 228, 212, 0.18);
}
.s #menubar.db ul ul a {
  font-family: var(--font-gothic);
  font-size: 14px;
  padding: 8px 0 8px 18px;
  border: 0;
  color: rgba(235, 228, 212, 0.7);
}

@media (min-width: 800px) {
  #menubar_hdr { display: none !important; }
}


/* ==========================================================================
   Hero
   ========================================================================== */
#mainimg {
  position: relative;
  width: 100%;
  height: clamp(560px, 90vh, 860px);
  overflow: hidden;
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(0.95) brightness(0.92);
  z-index: 0;
}

/* Paper-toned overlay (NOT navy) */
#mainimg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(245, 241, 232, 0.55) 0%,
      rgba(245, 241, 232, 0.35) 40%,
      rgba(245, 241, 232, 0.85) 100%);
}

/* Vertical hairline grid lines */
#mainimg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(26,26,26,0.08) calc(50% - 0.5px), rgba(26,26,26,0.08) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}

.hero-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: var(--content-max);
  margin: 0 auto;
  box-sizing: border-box;
}

/* 章マーカーは非表示（要望により削除） */
.hero-chapter,
.subpage-chapter {
  display: none !important;
}

/* Center hero title */
.hero-body {
  align-self: center;
  display: grid;
  gap: clamp(20px, 3vh, 36px);
  padding-left: clamp(0px, 4vw, 64px);
}

.hero-company {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14px, 1.5vw, 17px);
  letter-spacing: 0.32em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}
.hero-company::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--ink);
  margin-left: 18px;
  vertical-align: middle;
}

.hero-title {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
  max-width: 14em;
  position: relative;
}

.hero-title em {
  font-style: normal;
  color: var(--vermilion);
}

.hero-description {
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 2.1;
  color: var(--ink-soft);
  margin: 0;
  max-width: 36em;
}

/* Bottom hero meta — scroll表示のみ残す */
.hero-foot {
  align-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 22px;
}
.hero-foot .meta-date {
  display: none !important; /* 日付表示は削除 */
}
.hero-foot .scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-foot .scroll::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--ink);
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.35); }
  50% { transform: scaleX(1); }
}


/* ==========================================================================
   Main Sections — Editorial
   ========================================================================== */
main {
  padding: var(--rh-6) 0 0;
}

.editorial-section {
  padding: 0 var(--gutter);
  margin-bottom: var(--rh-6);
}
.editorial-section.inverse {
  background: var(--night);
  color: var(--moon);
  padding-top: var(--rh-6);
  padding-bottom: var(--rh-6);
  margin: 0 0 0;
}
.editorial-section.inverse a { color: var(--moon); }

.section-head {
  display: grid;
  grid-template-columns: minmax(120px, 18%) 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  max-width: var(--content-max);
  margin: 0 auto var(--rh-4);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}
.inverse .section-head { border-bottom-color: rgba(235, 228, 212, 0.18); }

.section-head .index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-quiet);
  text-transform: uppercase;
  font-weight: 400;
}
.inverse .section-head .index { color: rgba(235, 228, 212, 0.5); }

.section-head .title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.inverse .section-head .title { color: var(--moon); }

.section-head .en {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-quiet);
  text-transform: lowercase;
  margin-top: 6px;
}
.inverse .section-head .en { color: rgba(235, 228, 212, 0.5); }

.section-body {
  display: grid;
  grid-template-columns: minmax(120px, 18%) 1fr;
  gap: clamp(20px, 4vw, 56px);
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-body .aside {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  padding-top: 6px;
}

@media (max-width: 720px) {
  .section-head,
  .section-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-body .aside {
    border-top: 1px solid var(--hairline);
    padding-top: 12px;
  }
}


/* ==========================================================================
   News List
   ========================================================================== */
.news-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.news-list dt,
.news-list dd {
  margin: 0;
  padding: 22px 0;
}

.news-list dt {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
  border-top: 1px solid var(--hairline-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  padding-bottom: 0;
}
.news-list dt > span {
  flex-shrink: 0;
}

.news-list dt span {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--hairline);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.news-list dt span.icon-bg1 {
  border-color: var(--ink);
  color: var(--ink);
}

.news-list dd {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink);
  padding-top: 8px;
  padding-bottom: 26px;
}

.news-list dt:last-of-type ~ dd {
  border-bottom: 1px solid var(--hairline-soft);
}
.news-list dd:last-of-type {
  border-bottom: 1px solid var(--hairline-soft);
}

@media (min-width: 720px) {
  .news-list {
    grid-template-columns: 1fr 3fr;
    column-gap: 36px;
  }
  .news-list dt {
    padding: 22px 0 22px;
    border-bottom: 0;
  }
  .news-list dd {
    border-top: 1px solid var(--hairline-soft);
    padding: 22px 0;
  }
  .news-list dd:last-of-type {
    border-bottom: 1px solid var(--hairline-soft);
  }
  .news-list dt:last-of-type {
    border-bottom: 1px solid var(--hairline-soft);
  }
}


/* ==========================================================================
   Flow Steps
   ========================================================================== */
.flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.flow-steps li {
  position: relative;
  padding: 32px 0 32px 88px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: padding 0.4s ease;
}
.flow-steps li:last-child {
  border-bottom: 1px solid var(--hairline-soft);
}

.flow-steps li::before {
  content: counter(item, decimal-leading-zero);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
  width: 72px;
}

.flow-steps {
  counter-reset: item;
}

.flow-steps li p {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  flex: 1;
}

.flow-steps .step-title {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--ink);
  letter-spacing: 0.05em;
}

.flow-steps .step-desc {
  font-family: var(--font-gothic);
  font-size: 0.92rem;
  color: var(--ink-quiet);
  letter-spacing: 0.04em;
}

.flow-steps li:hover {
  padding-left: 100px;
}


/* ==========================================================================
   Reason Cards (column rules, no boxes)
   ========================================================================== */
.reason-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-card {
  background: transparent;
  border: 0;
  padding: 36px 0;
  border-top: 1px solid var(--hairline-soft);
  position: relative;
  text-align: left;
  counter-increment: reason;
}
.reason-cards { counter-reset: reason; }

.reason-card::before {
  content: counter(reason, upper-roman) " ·";
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--vermilion);
  margin-bottom: 14px;
}

.reason-card h3 {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: 0.06em;
}

.reason-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--ink-soft);
}

.reason-card:last-child {
  border-bottom: 1px solid var(--hairline-soft);
}

@media (min-width: 800px) {
  .reason-cards {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0;
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
  }
  .reason-card {
    padding: 40px clamp(20px, 3vw, 36px);
    border-top: 0;
    border-left: 1px solid var(--hairline-soft);
  }
  .reason-card:first-child { border-left: 0; padding-left: 0; }
  .reason-card:last-child { padding-right: 0; border-bottom: 0; }
}


/* ==========================================================================
   Note Section (reversed — night)
   ========================================================================== */
.note-list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(235, 228, 212, 0.18);
  border-bottom: 1px solid rgba(235, 228, 212, 0.18);
}

.note-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 28px;
  background: transparent;
  color: var(--moon);
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(235, 228, 212, 0.18);
  transition: background 0.4s ease, padding 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  text-decoration: none;
}
.note-card:first-child { border-top: 0; }

.note-card:hover {
  background: rgba(235, 228, 212, 0.04);
  padding-top: 40px;
  opacity: 1;
}

.note-card__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(235, 228, 212, 0.55);
  display: block;
  margin-bottom: 22px;
}

.note-card__title {
  margin: 0;
  padding: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--moon);
  flex-grow: 1;
}

.note-card__read {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--moon);
  text-transform: lowercase;
}
.note-card__read::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--moon);
  transition: width 0.4s ease;
}
.note-card:hover .note-card__read::after {
  width: 56px;
}

.note-loading,
.note-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(235, 228, 212, 0.6);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.note-loading::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 18px;
  border: 1px solid rgba(235, 228, 212, 0.2);
  border-top-color: var(--moon);
  border-radius: 50%;
  animation: noteSpinner 1.1s linear infinite;
}
@keyframes noteSpinner { to { transform: rotate(360deg); } }
.note-error a {
  display: inline-block;
  margin-top: 14px;
  color: var(--moon);
  border-bottom: 1px solid rgba(235, 228, 212, 0.4);
  padding-bottom: 2px;
}

@media (min-width: 800px) {
  .note-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .note-card {
    border-top: 0;
    border-left: 1px solid rgba(235, 228, 212, 0.18);
    padding: 44px 36px;
  }
  .note-card:first-child { border-left: 0; }
}


/* ==========================================================================
   Button (CTA)
   ========================================================================== */
.btn {
  text-align: center;
  margin: 0;
}

.btn a,
.btn input {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px 16px 36px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.4s ease, color 0.4s ease, padding 0.4s ease;
  cursor: pointer;
  margin: 0;
}

.btn a::after,
.btn input::after {
  content: "→";
  font-style: normal;
  letter-spacing: 0;
  transition: transform 0.4s ease;
}

.btn a:hover,
.btn input:hover {
  background: var(--ink);
  color: var(--paper);
  filter: none;
  transform: none;
  opacity: 1;
  padding-right: 38px;
  padding-left: 30px;
}

.btn a:hover::after,
.btn input:hover::after {
  transform: translateX(4px);
}

/* Button on dark sections */
.inverse .btn a,
.inverse .btn input {
  border-color: var(--moon);
  color: var(--moon);
}
.inverse .btn a:hover,
.inverse .btn input:hover {
  background: var(--moon);
  color: var(--night);
}

.btn .btn-disabled {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--ink-quiet);
  color: var(--ink-quiet);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  background: transparent;
  pointer-events: none;
}

.mt30 { margin-top: 56px !important; text-align: center; }


/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding: 70px var(--gutter) 30px;
  font-family: var(--font-gothic);
  font-size: 13px;
  text-align: left;
}

footer .footer-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer .footer-brand .logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
footer .footer-brand small {
  display: none !important; /* 「合同会社 章陽・est.2025」削除 */
}

#footermenu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline-soft);
}

#footermenu li {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--hairline-soft);
  padding: 0;
  font-size: 13px;
}
#footermenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: lowercase;
}
#footermenu li a::after {
  content: "→";
  font-style: normal;
  color: var(--ink-quiet);
}

.footer-line-banner {
  margin: 8px 0;
}
.footer-line-banner img {
  display: inline-block;
}

.copy {
  margin-top: 50px;
  padding: 22px 0 0;
  border-top: 1px solid var(--hairline-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

@media (min-width: 800px) {
  footer .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
  }
  #footermenu {
    border: 0;
  }
}


/* ==========================================================================
   Page Top button
   ========================================================================== */
.pagetop-show { display: block; }
.pagetop a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 48px;
  height: 48px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  border-radius: 0;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.pagetop a:hover {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
  transform: translateY(-3px);
}


/* ==========================================================================
   Sub navigation (sidebar in 2-col pages)
   ========================================================================== */
.c2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0 var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 900px) {
  .c2 {
    grid-template-columns: 220px 1fr;
    gap: 64px;
  }
  .sub {
    position: sticky;
    top: 40px;
    align-self: start;
  }
}

.sub h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink-quiet);
  text-transform: lowercase;
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  background: transparent;
}

ul.submenu {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  border: 0;
}
ul.submenu li {
  display: block;
  margin: 0;
  border-bottom: 1px solid var(--hairline-soft);
}
ul.submenu li a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}
ul.submenu li a:hover {
  background: transparent;
  color: var(--vermilion);
  opacity: 1;
}


/* ==========================================================================
   Generic section content (legacy)
   ========================================================================== */
main p {
  margin: 0 0 1.5em;
  font-size: 0.97rem;
  line-height: 2.05;
  color: var(--ink-soft);
}

main h2 {
  margin: 0 0 1em;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 0;
}

main h3 {
  margin: 0 0 1em;
  padding: 0;
  border-bottom: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}


/* ==========================================================================
   Scroll Fade-in (IntersectionObserver により .is-visible 付与)
   ========================================================================== */
.fadein {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 順次出現用のディレイ */
.fadein.delay-1 { transition-delay: 0.12s; }
.fadein.delay-2 { transition-delay: 0.24s; }
.fadein.delay-3 { transition-delay: 0.36s; }
.fadein.delay-4 { transition-delay: 0.48s; }

/* モーション低減環境 */
@media (prefers-reduced-motion: reduce) {
  .fadein {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lineslide {
  position: relative;
  overflow: hidden;
}

@keyframes heroReveal {
  0%   { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-chapter,
.hero-body > *,
.hero-foot {
  opacity: 0;
  animation: heroReveal 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-chapter { animation-delay: 0.15s; }
.hero-company { animation-delay: 0.4s; }
.hero-title   { animation-delay: 0.55s; }
.hero-description { animation-delay: 0.85s; }
.hero-foot    { animation-delay: 1.15s; }


/* ==========================================================================
   Utilities
   ========================================================================== */
.ws { width: 100%; display: block; }
.wl { width: 100%; display: block; }
.color-theme, .color-theme a { color: var(--vermilion) !important; }
.color-check, .color-check a { color: var(--vermilion) !important; }
.c { text-align: center !important; }
.mb30 { margin-bottom: 56px !important; }
.small { font-size: 0.82em; }
.sh { display: block; }
.pc { display: none; }

@media (min-width: 800px) {
  .sh { display: none; }
  .pc { display: block; }
}


/* ==========================================================================
   Responsive (typography uplift on wider screens)
   ========================================================================== */
@media screen and (min-width: 1100px) {
  body { font-size: 16px; }
}


/* ==========================================================================
   Subpage Hero (company / service / faq / contact など下層ページ)
   ========================================================================== */
.subpage-header {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(60px, 12vw, 160px) var(--gutter) clamp(50px, 9vw, 110px);
  margin-top: 28px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200, 80, 61, 0.04) 0%, transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}

.subpage-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(26,26,26,0.06) calc(50% - 0.5px), rgba(26,26,26,0.06) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  pointer-events: none;
}

.subpage-header-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(24px, 4vw, 56px);
}

/* .subpage-chapter は上で非表示化済み */

.subpage-title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--ink);
  max-width: 14em;
}
.subpage-title em {
  font-style: normal;
  color: var(--vermilion);
}

.subpage-en {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.22em;
  color: var(--ink-quiet);
  text-transform: lowercase;
  margin-top: 14px;
}

.subpage-lead {
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 2.05;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38em;
}

/* サブページのメタ情報（日付/番号）は非表示 */
.subpage-meta {
  display: none !important;
}


/* ==========================================================================
   Subpage content frame
   ========================================================================== */
.subpage-body {
  padding: clamp(60px, 9vw, 120px) var(--gutter) var(--rh-5);
}

.subpage-body-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
}
@media (min-width: 900px) {
  .subpage-body-inner {
    grid-template-columns: minmax(160px, 18%) 1fr;
  }
}

.subpage-aside {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  align-self: start;
  position: sticky;
  top: 30px;
}

.subpage-content > section + section {
  margin-top: var(--rh-5);
}


/* ==========================================================================
   Section header (within subpage)
   ========================================================================== */
.section-header {
  margin: 0 0 var(--rh-4);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  gap: 28px;
}
.section-header h3 {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: 0.08em;
  color: var(--ink);
}
.section-header .en {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-quiet);
  text-transform: lowercase;
}


/* ==========================================================================
   Table .ta1 — editorial overhaul
   ========================================================================== */
.ta1 {
  width: 100%;
  margin: 0 0 var(--rh-4);
  border: 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-gothic);
}
.ta1 tr {
  border-bottom: 1px solid var(--hairline-soft);
}
.ta1 caption {
  text-align: left;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 24px 0;
  background: transparent;
  margin: 0;
  border-bottom: 1px solid var(--hairline);
}
.ta1 th, .ta1 td {
  padding: 22px 8px;
  vertical-align: top;
  word-break: break-all;
  font-size: 0.95rem;
  line-height: 1.95;
}
.ta1 th {
  width: 28%;
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  font-size: 0.85rem;
}
.ta1 td {
  color: var(--ink-soft);
}
.ta1 th.ta1-full {
  width: 100%;
  font-family: var(--font-mincho);
  font-style: normal;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: none;
  padding: 26px 8px;
  line-height: 1.95;
}
.ta1 td a {
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.08em;
}
.ta1 td a:hover {
  border-bottom-color: var(--vermilion);
  color: var(--vermilion);
  opacity: 1;
}


/* ==========================================================================
   Ruby (ふりがな)
   ========================================================================== */
ruby {
  ruby-position: over;
}
ruby rt {
  font-family: var(--font-gothic);
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
  margin-bottom: 2px;
}


/* ==========================================================================
   LINE chip (control / subtle inline CTA)
   ========================================================================== */
.line-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--hairline);
  background: transparent;
  text-decoration: none;
  vertical-align: middle;
  transition: border-color 0.3s ease, background 0.3s ease;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: none;
}
.line-chip__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  transition: background 0.3s ease;
}
.line-chip__text {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0.14em;
  font-style: italic;
}
.line-chip:hover {
  border-color: var(--ink);
  background: var(--paper-deep);
  opacity: 1;
}
.line-chip:hover .line-chip__mark {
  background: var(--vermilion);
}


/* ==========================================================================
   Greeting / Profile (company.html)
   ========================================================================== */
.greeting {
  margin: 0 0 var(--rh-4);
}
.greeting .lead {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 1.5em;
  padding-left: 22px;
  border-left: 1px solid var(--ink);
}
.greeting p {
  margin: 0 0 1.4em;
  font-size: 0.96rem;
  line-height: 2.1;
  color: var(--ink-soft);
  text-align: justify;
}
.greeting .sign {
  margin-top: 2em;
  font-family: var(--font-mincho);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-align: right;
}

.profile {
  margin: var(--rh-4) 0 var(--rh-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
@media (min-width: 720px) {
  .profile {
    grid-template-columns: 2fr 1fr;
    gap: 60px;
  }
}
.profile-text .name {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 0.6em;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--hairline-soft);
}
.profile-text p {
  margin: 0 0 1em;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--ink-soft);
}
.profile-image {
  width: 100%;
  max-width: 260px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--hairline);
  background: var(--paper-deep);
}
.profile-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* ==========================================================================
   Service Cards (.list-container / .list)
   ========================================================================== */
.list-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 var(--rh-4);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .list-container {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }
}

.list {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-soft);
  box-shadow: none;
  padding: 36px 0;
  margin: 0;
  color: var(--ink-soft);
  position: relative;
  transition: background 0.4s ease;
  counter-increment: service;
}
.list-container { counter-reset: service; }

@media (min-width: 900px) {
  .list {
    border-bottom: 0;
    border-right: 1px solid var(--hairline-soft);
    padding: 0 32px 40px;
  }
  .list:first-child { padding-left: 0; }
  .list:last-child { border-right: 0; padding-right: 0; }
}

.list::before {
  content: counter(service, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--vermilion);
  display: block;
  margin-bottom: 18px;
}

.list figure {
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  position: relative;
  background: var(--paper-deep);
  border: 1px solid var(--hairline-soft);
}
.list figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(0.25) contrast(0.96);
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.list:hover figure img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.list .text {
  flex: 1;
  margin: 0;
}
.list h4 {
  margin: 0 0 14px;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.55;
}
.list h4 a {
  color: var(--ink);
}
.list p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--ink-soft);
}
.list .btn {
  margin: 20px 0 0;
  text-align: left;
}
.list .btn a {
  display: inline-flex;
  margin: 0;
  padding: 12px 22px;
}

.list .new {
  display: none; /* legacy "NEW" decoration removed */
}


/* ==========================================================================
   FAQ (editorial)
   ========================================================================== */
.faq {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.faq dt {
  padding: 22px 0 22px 56px;
  position: relative;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-soft);
  border-radius: 0;
  letter-spacing: 0.05em;
  text-indent: 0;
  transition: padding 0.35s ease, background 0.35s ease;
}
.faq dt::before {
  content: "Q";
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  color: var(--vermilion);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--vermilion);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.35s ease, color 0.35s ease;
}
.faq dt.openclose:hover {
  padding-left: 64px;
  background: var(--paper-deep);
}
.faq dt.openclose:hover::before {
  background: var(--vermilion);
  color: var(--paper);
}
.faq dt.openclose::after {
  content: "+";
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--ink-quiet);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.35s ease, color 0.35s ease;
}
.faq dt.openclose.is-open::after {
  content: "−";
  color: var(--vermilion);
}

.faq dd {
  padding: 26px 0 32px 56px;
  margin: 0;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--hairline-soft);
  font-family: var(--font-gothic);
  font-size: 0.95rem;
  line-height: 2.05;
  color: var(--ink-soft);
  position: relative;
}
.faq dd::before {
  content: "A";
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  position: absolute;
  left: 0;
  top: 22px;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq dt span { text-indent: 0; }


/* ==========================================================================
   Back link
   ========================================================================== */
.back-link {
  margin: var(--rh-4) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
}
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: lowercase;
}
.back-link a::before {
  content: "←";
  font-style: normal;
}
.back-link a:hover {
  color: var(--vermilion);
  opacity: 1;
}


/* ==========================================================================
   Form inputs (editorial)
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-gothic);
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0;
}
textarea {
  min-height: 180px;
  border: 1px solid var(--hairline);
  padding: 16px;
  line-height: 1.8;
  resize: vertical;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: 0;
  border-color: var(--ink);
  background: var(--paper-deep);
}

input[type="reset"] {
  background: transparent;
  border: 1px solid var(--ink-quiet);
  color: var(--ink-quiet);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  padding: 16px 32px;
  margin-left: 14px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.3s ease, color 0.3s ease;
}
input[type="reset"]:hover {
  background: var(--ink-quiet);
  color: var(--paper);
}


/* ==========================================================================
   Finish page (送信完了)
   ========================================================================== */
.finish-message {
  text-align: center;
  padding: var(--rh-5) 0;
}
.finish-message p {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 36px;
}


/* ==========================================================================
   #logo（旧サブページ用、現在はtopbarに統合済み）
   ========================================================================== */
#logo {
  display: none; /* topbar に置き換え */
}
