/* ============================================
   風の谷メディカル — style.css
   配色: 生成り / 濃藍 / 深緑 / 芥子(差し色)
   ============================================ */

:root {
  --kinari: #F6F2E7;        /* 生成り: 基調背景 */
  --kinari-dark: #ECE5D3;   /* 生成り濃: 区切り・カード枠 */
  --ai: #1B3556;            /* 藍: 見出し・主色 */
  --ai-dark: #13283F;       /* 濃藍: 濃色セクション背景 */
  --midori: #2F5D50;        /* 深緑: 副色 */
  --karashi: #C49A3C;       /* 芥子: 差し色(少量) */
  --sumi: #2B2E2C;          /* 墨: 本文 */
  --sumi-soft: #55594F;     /* 墨薄: 補足文 */

  --font-display: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  --max-width: 1080px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--sumi);
  background: var(--kinari);
  -webkit-font-smoothing: antialiased;
}

section,
#top {
  scroll-margin-top: var(--header-h);
}

a:focus-visible {
  outline: 2px solid var(--karashi);
  outline-offset: 3px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(246, 242, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 53, 86, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  height: 32px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ai-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ai);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.site-nav a:hover {
  border-bottom-color: var(--karashi);
}

.nav-db {
  color: var(--sumi-soft) !important;
  pointer-events: none;
}

.nav-soon {
  font-size: 0.68rem;
  color: var(--kinari);
  background: var(--sumi-soft);
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 5px;
  vertical-align: 2px;
}

/* ---------- 共通セクション ---------- */

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) clamp(20px, 5vw, 40px);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: 0.05em;
  color: var(--ai-dark);
  margin-bottom: 0.6em;
}

.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--ai), var(--midori));
}

.section-lead {
  color: var(--sumi-soft);
  margin-bottom: 2.2em;
}

.section-title.inverted { color: var(--kinari); }
.section-lead.inverted { color: rgba(246, 242, 231, 0.75); }

/* ---------- ファーストビュー ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(155deg, rgba(19, 40, 63, 0.82) 0%, rgba(19, 40, 63, 0.58) 45%, rgba(19, 40, 63, 0.42) 100%),
    var(--kinari) url("images/hero.jpg") center 62% / cover no-repeat;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) clamp(20px, 5vw, 40px) clamp(180px, 27vw, 360px);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--kinari);
  border: 1px solid rgba(246, 242, 231, 0.55);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 6.5vw, 4rem);
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--kinari);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.7em;
}

.hero-lead {
  max-width: 40em;
  color: rgba(246, 242, 231, 0.85);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

/* 風の流線 + 下部のフェード */

.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(80px, 14vw, 180px);
  background: linear-gradient(to bottom, rgba(19, 40, 63, 0) 0%, var(--ai-dark) 100%);
  pointer-events: none;
}

.wind {
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  width: 100%;
  height: clamp(50px, 8vw, 100px);
  pointer-events: none;
}

.wind path {
  stroke: var(--karashi);
  stroke-width: 1.5;
  opacity: 0.55;
  stroke-dasharray: 6 10;
  animation: wind-drift 26s linear infinite;
}

.wind path:last-child {
  opacity: 0.3;
  animation-duration: 38s;
}

@keyframes wind-drift {
  to { stroke-dashoffset: -640; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wind path { animation: none; }
  .card { transition: none; }
}

/* ---------- サービス ---------- */

.services {
  background: var(--ai-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--kinari);
  border-radius: 6px;
  padding: 28px 24px 30px;
  border-top: 3px solid var(--midori);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 3px;
  padding: 2px 9px;
}

.tag-free { background: var(--midori); color: var(--kinari); }
.tag-paid { background: var(--ai); color: var(--kinari); }
.tag-soon { background: transparent; color: var(--sumi-soft); border: 1px solid rgba(85, 89, 79, 0.5); }

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--ai-dark);
  margin-bottom: 0.5em;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--sumi-soft);
}

/* ---------- 理念 ---------- */

.philosophy {
  background: var(--kinari);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.tategaki {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.42em;
  color: rgba(27, 53, 86, 0.38);
  border-right: 1px solid rgba(27, 53, 86, 0.25);
  padding-right: 22px;
  min-height: 15em;
}

.philosophy-text {
  max-width: 42em;
  margin-bottom: 1.4em;
}

.note-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--ai);
  text-decoration: none;
  border: 1px solid var(--ai);
  border-radius: 4px;
  padding: 10px 26px;
  transition: background 0.2s, color 0.2s;
}

.note-link[aria-disabled="true"] {
  color: var(--sumi-soft);
  border-color: rgba(85, 89, 79, 0.5);
  pointer-events: none;
}

.note-link:hover {
  background: var(--ai);
  color: var(--kinari);
}

.note-link-small {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sumi-soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(85, 89, 79, 0.6);
}

.note-link-small[aria-disabled="true"] {
  pointer-events: none;
}

.note-link-small:hover {
  color: var(--ai);
  border-bottom-color: var(--ai);
}

/* ---------- 運営者 ---------- */

.operator {
  background: var(--kinari-dark);
}

.operator-card {
  background: var(--kinari);
  border: 1px solid rgba(27, 53, 86, 0.18);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 40px);
  max-width: 640px;
}

.operator-card > p {
  margin-bottom: 1.2em;
}

.operator-list div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
  font-size: 0.92rem;
}

.operator-list dt {
  font-weight: 700;
  color: var(--midori);
}

.operator-list dd {
  color: var(--sumi-soft);
}

/* ---------- お問い合わせ ---------- */

.contact {
  background: var(--kinari);
  text-align: center;
}

.contact .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--ai-dark);
  color: var(--kinari);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 40px) 40px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(246, 242, 231, 0.65);
  margin-top: 6px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(246, 242, 231, 0.45);
  margin-top: 28px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(246, 242, 231, 0.75);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--kinari);
  border-bottom-color: var(--karashi);
}

/* ---------- フッター:SNS ---------- */

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(246, 242, 231, 0.35);
  color: rgba(246, 242, 231, 0.85);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--karashi);
  color: var(--karashi);
}

.footer-social a[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ---------- お問い合わせページ / プライバシーポリシーページ(共通) ---------- */

.policy {
  background: var(--kinari);
  min-height: calc(100vh - var(--header-h) - 220px);
}

.policy-inner {
  max-width: 760px;
}

/* ---------- お問い合わせフォーム ---------- */

.contact-form {
  margin-top: 8px;
  max-width: 560px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
  margin-bottom: 8px;
}

.required {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--kinari);
  background: var(--karashi);
  border-radius: 3px;
  padding: 1px 7px;
  margin-left: 4px;
  vertical-align: 2px;
}

/* display の指定がブラウザ標準の [hidden] { display: none } を上書きしてしまうため、
   JSで hidden を切り替える「必須」バッジが消えなくなるのを防ぐ */
.required[hidden] {
  display: none;
}

.form-field-legend {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
  margin-bottom: 10px;
}

.inquiry-type-toggle {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inquiry-type-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--sumi);
  background: var(--kinari-dark);
  border: 1px solid rgba(27, 53, 86, 0.18);
  border-radius: 4px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.inquiry-type-option:has(input:checked) {
  border-color: var(--midori);
  background: rgba(47, 93, 80, 0.08);
}

.inquiry-type-option input {
  margin-top: 3px;
  accent-color: var(--midori);
}

#doctor-fields {
  padding: 4px 18px 4px;
  margin: 4px 0 24px;
  border-left: 2px solid rgba(47, 93, 80, 0.3);
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--sumi);
  background: var(--kinari);
  border: 1px solid rgba(27, 53, 86, 0.22);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.option-item:has(input:checked) {
  border-color: var(--midori);
  background: rgba(47, 93, 80, 0.1);
}

.option-item input {
  accent-color: var(--midori);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--sumi);
  background: var(--kinari);
  border: 1px solid rgba(27, 53, 86, 0.28);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea {
  resize: vertical;
  min-height: 9em;
  line-height: 1.7;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--midori);
  box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.15);
}

/* ハニーポット: 画面上には表示しないが、スクリーンリーダーの読み上げ順にも
   影響を与えないよう画面外へ配置する(display:noneより検知回避に有効) */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  left: -9999px;
}

.btn-submit {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--kinari);
  background: var(--ai-dark);
  border: none;
  border-radius: 4px;
  padding: 13px 40px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--midori);
}

.btn-submit:disabled {
  background: var(--sumi-soft);
  cursor: not-allowed;
}

.form-status {
  margin-top: 18px;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: var(--midori);
  font-weight: 500;
}

.form-status.is-error {
  color: #A3352A;
  font-weight: 500;
}

/* ---------- プライバシーポリシー本文 ---------- */

.policy-body {
  margin-top: 2.2em;
}

.policy-section {
  padding: 1.6em 0;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.policy-section:first-child {
  border-top: none;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
  margin-bottom: 0.8em;
}

.policy-section p {
  color: var(--sumi-soft);
  margin-bottom: 0.9em;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  list-style: none;
  color: var(--sumi-soft);
}

.policy-section ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.6em;
}

.policy-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--midori);
  border-radius: 50%;
}

.policy-section a {
  color: var(--ai);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-section a:hover {
  color: var(--midori);
}

.policy-date {
  margin-top: 2.4em;
  font-size: 0.85rem;
  color: var(--sumi-soft);
  text-align: right;
}

/* ---------- 自治体・医師会の方へ ---------- */

.for-partners-page .policy-inner {
  max-width: 900px;
}

.partners-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2em;
}

.partners-audience-card {
  background: var(--kinari-dark);
  border-radius: 6px;
  border-top: 3px solid var(--midori);
  padding: clamp(22px, 3vw, 32px);
}

.partners-audience-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ai-dark);
  margin-bottom: 0.7em;
}

.partners-lead-text {
  color: var(--sumi-soft);
  font-size: 0.92rem;
  margin-bottom: 1.2em;
}

.partners-audience-card ul {
  list-style: none;
  color: var(--sumi-soft);
  font-size: 0.9rem;
}

.partners-audience-card ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.7em;
}

.partners-audience-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--midori);
  border-radius: 50%;
}

.partners-menu {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.partners-menu-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ai-dark);
  margin-bottom: 0.9em;
}

.partners-menu ul {
  list-style: none;
  color: var(--sumi-soft);
  margin-bottom: 1.4em;
}

.partners-menu ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.6em;
}

.partners-menu ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--karashi);
  border-radius: 50%;
}

.partners-note {
  color: var(--sumi-soft);
  font-size: 0.88rem;
}

.partners-cta {
  margin-top: 3em;
  padding-top: 2.4em;
  border-top: 1px solid rgba(27, 53, 86, 0.15);
  text-align: center;
}

.partners-cta-lead {
  color: var(--sumi-soft);
  margin-bottom: 1.2em;
}

.btn-link {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--kinari);
  background: var(--ai-dark);
  border-radius: 4px;
  padding: 13px 40px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-link:hover {
  background: var(--midori);
}

/* ---------- ページ内フォト ---------- */

.section-photo {
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 2.6em;
  aspect-ratio: 16 / 9;
  background: var(--kinari-dark);
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
  display: block;
}

.philosophy-photo {
  margin: 2.4em 0 0;
}

/* ---------- サービス:対象者・パートナー連携 ---------- */

.services-audience {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  margin-bottom: 2.6em;
}

.services-audience li {
  position: relative;
  padding-left: 1.3em;
  font-size: 0.92rem;
  color: rgba(246, 242, 231, 0.82);
}

.services-audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--karashi);
}

.services-partner-note {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid rgba(246, 242, 231, 0.25);
  border-left: 3px solid var(--karashi);
  border-radius: 4px;
  background: rgba(246, 242, 231, 0.05);
}

.services-partner-note h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--kinari);
  margin-bottom: 0.6em;
}

.services-partner-note p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(246, 242, 231, 0.78);
}

/* ---------- 汎用ページ見出し(オーナー・地域枠等) ---------- */

.page-audience-note {
  margin-top: 2.6em;
  padding-top: 2em;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.page-audience-note h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ai-dark);
  margin-bottom: 0.8em;
}

/* ---------- 開業の流れ ---------- */

.flow-steps {
  list-style: none;
  counter-reset: flow-step;
  margin-top: 2.2em;
}

.flow-step {
  position: relative;
  padding: 26px 0 26px 64px;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.flow-step:first-child {
  border-top: none;
}

.flow-step::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  left: 0;
  top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ai-dark);
  color: var(--kinari);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.flow-step h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
  margin-bottom: 0.6em;
}

.flow-step p {
  color: var(--sumi-soft);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 0.6em;
}

.flow-step p:last-child {
  margin-bottom: 0;
}

.status-banner {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ai-dark);
  background: rgba(196, 154, 60, 0.18);
  border: 1px solid rgba(196, 154, 60, 0.5);
  border-radius: 4px;
  padding: 6px 14px;
  margin-bottom: 1.6em;
}

/* ---------- 料金 ---------- */

.pricing-box {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.pricing-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 1.4em;
}

.pricing-item {
  background: var(--kinari-dark);
  border-radius: 8px;
  padding: 22px 24px;
}

.pricing-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
  margin-bottom: 0.5em;
}

.pricing-item-price {
  font-family: var(--font-display);
  color: var(--ai);
  margin-bottom: 0.7em;
  line-height: 1.3;
}

.pricing-item-price strong {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-item-price span {
  font-size: 0.92rem;
  color: var(--sumi-soft);
  margin-left: 2px;
}

.pricing-item-note {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--sumi-soft);
}

/* ---------- 納品レポートの紹介 ---------- */

.report-sample {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.report-contents {
  list-style: none;
  color: var(--sumi-soft);
  margin: 1.4em 0 0;
}

.report-contents li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.6em;
}

.report-contents li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--midori);
  border-radius: 2px;
}

.report-sample-figure {
  margin: 2.2em 0 0;
}

.report-sample-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(27, 53, 86, 0.35);
  border-radius: 8px;
  background: var(--kinari-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--sumi-soft);
}

.report-sample-placeholder span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ai-dark);
  background: rgba(196, 154, 60, 0.18);
  border: 1px solid rgba(196, 154, 60, 0.5);
  border-radius: 4px;
  padding: 4px 10px;
}

.report-sample-figure img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--kinari-dark);
  display: block;
}

.report-sample-figure figcaption {
  font-size: 0.8rem;
  color: var(--sumi-soft);
  margin-top: 0.8em;
  text-align: center;
}

/* ---------- 発注ページ ---------- */

.order-flow {
  margin-bottom: 3em;
  padding-bottom: 2em;
  border-bottom: 1px dashed rgba(27, 53, 86, 0.2);
}

.order-flow-steps {
  list-style: none;
  counter-reset: order-step;
  display: grid;
  gap: 14px;
}

.order-flow-steps li {
  counter-increment: order-step;
  position: relative;
  padding-left: 2.6em;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--sumi-soft);
}

.order-flow-steps li::before {
  content: counter(order-step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.7em;
  height: 1.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--kinari);
  background: var(--midori);
  border-radius: 50%;
}

.order-flow-steps li span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
}

.form-help {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--sumi-soft);
  margin-top: 0.5em;
}

/* ---------- キャンセル規定 ---------- */

.cancel-policy {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.cancel-terms,
.legal-terms {
  margin: 1.4em 0;
  border-top: 1px solid var(--kinari-dark);
}

.cancel-terms > div,
.legal-terms > div {
  display: grid;
  grid-template-columns: 15em 1fr;
  gap: 8px 20px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--kinari-dark);
}

.cancel-terms dt,
.legal-terms dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ai-dark);
}

.cancel-terms dd,
.legal-terms dd {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--sumi-soft);
}

/* ---------- お支払い ---------- */

.payment-section {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px dashed rgba(27, 53, 86, 0.2);
}

.payment-lead {
  color: var(--sumi-soft);
  font-size: 0.92rem;
  margin-bottom: 1.6em;
}

.payment-links {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 1.4em;
}

.payment-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--kinari-dark);
  border: 1px solid rgba(27, 53, 86, 0.15);
  border-radius: 6px;
  padding: 16px 22px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.payment-link:hover {
  background: #E4DBC4;
  border-color: rgba(27, 53, 86, 0.3);
}

.payment-link[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.payment-link-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--ai-dark);
}

.payment-link-price {
  font-size: 0.88rem;
  color: var(--sumi-soft);
  white-space: nowrap;
}

.partners-cta-sub {
  font-size: 0.85rem;
  color: var(--sumi-soft);
  margin-top: 1.4em;
}

.partners-cta-sub a {
  color: var(--ai);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 53, 86, 0.4);
}

.partners-cta-sub a:hover {
  color: var(--midori);
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 720px) {
  .pc-only { display: none; }

  .site-header {
    flex-direction: column;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 6px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .site-nav a {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .nav-soon {
    font-size: 0.62rem;
    padding: 1px 4px;
    margin-left: 3px;
  }

  section,
  #top { scroll-margin-top: 110px; }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .tategaki {
    writing-mode: horizontal-tb;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid rgba(27, 53, 86, 0.25);
    padding: 0 0 14px;
    letter-spacing: 0.3em;
  }

  .operator-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .contact-form,
  .policy-inner {
    max-width: 100%;
  }

  .btn-submit {
    width: 100%;
  }

  .partners-audience-grid {
    grid-template-columns: 1fr;
  }

  .btn-link {
    width: 100%;
    text-align: center;
  }

  .services-audience {
    grid-template-columns: 1fr;
  }

  .section-photo {
    aspect-ratio: 4 / 3;
  }

  .pricing-items {
    grid-template-columns: 1fr;
  }

  .payment-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .report-sample-placeholder {
    aspect-ratio: 4 / 3;
    flex-direction: column;
  }

  .cancel-terms > div,
  .legal-terms > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
