/* とんとん リニューアル — 温かみのあるモダン案内 */
@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;500&display=swap");

:root {
  --cream: #ffffff;
  --paper: #ffffff;
  --ink: #2c241c;
  --muted: #5e5349;
  --accent: #b8523d;
  --accent-soft: #e5a090;
  --leaf: #4f7a5c;
  --leaf-soft: #9bbfa5;
  --line: rgba(90, 72, 58, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 36px rgba(74, 54, 40, 0.09);
  --warm-radial: none;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic UI",
    "Yu Gothic Medium", "Yu Gothic", sans-serif;
  --max: 1080px;
  --prose-width: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: only light;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--ink);
  background-color: #fff;
  background-image: none;
  padding-bottom: 5.75rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #9a3d28;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(74, 54, 40, 0.07);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.site-header .logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-tel {
  margin-left: auto;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #f4f6f5;
  border: 1px solid rgba(79, 122, 92, 0.22);
}

.header-tel:hover {
  background: #e8eeea;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  justify-content: center;
}

@media (min-width: 960px) {
  .site-nav ul {
    flex-wrap: nowrap;
  }
}

.site-nav {
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 0.65rem 0 0.75rem;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(168, 201, 179, 0.35);
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    padding-bottom: 0.85rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
  }

  .site-nav a {
    font-size: 1rem;
    padding: 0.6rem 0.85rem;
  }

  .header-tel {
    order: 0;
    font-size: 0.95rem;
  }

  .nav-toggle {
    order: 1;
  }

  .logo {
    order: -1;
  }
}

/* —— Hero home */
.hero {
  position: relative;
  min-height: min(58vh, 520px);
  overflow: hidden;
  background: #4a3830;
}

.hero-slides {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-slides li {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 18s infinite;
}

.hero-slides li:nth-child(1) {
  animation-delay: 0s;
}
.hero-slides li:nth-child(2) {
  animation-delay: 6s;
}
.hero-slides li:nth-child(3) {
  animation-delay: 12s;
}

.hero-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

@keyframes heroFade {
  0%,
  3% {
    opacity: 0;
  }
  12%,
  28% {
    opacity: 1;
  }
  33%,
  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(62, 48, 40, 0.72) 0%,
    rgba(90, 70, 58, 0.2) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 3rem 0 4rem;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-content h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.55;
  max-width: 22em;
  margin-inline: auto;
}

.hero-content p.lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  line-height: 1.75;
  opacity: 0.96;
  max-width: 32em;
  margin-inline: auto;
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-hint a {
  color: inherit;
  text-decoration: none;
}

/* —— Breadcrumb */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  background: #fff;
  border-bottom: 1px solid rgba(90, 72, 58, 0.1);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.45;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* —— Page band */
.page-hero {
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 1.75rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(72, 56, 48, 0.78),
    rgba(120, 90, 72, 0.28)
  );
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 18em;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* —— Sections */
main {
  padding-bottom: 3rem;
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: #fff;
  border-block: 1px solid rgba(90, 72, 58, 0.08);
}

.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 auto 0.5rem;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 42rem;
  font-weight: 700;
}

.section-head .sub {
  margin: 0;
  color: #3d6b4f;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(58, 51, 46, 0.12);
}

.card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eeecea;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.35rem 1.45rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
}

.card-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* —— Two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 2.75rem;
  align-items: center;
}

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

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.split-text {
  font-size: 1.0625rem;
  line-height: 1.82;
}

.split-text h2 {
  margin-top: 0;
  font-size: 1.35rem;
  line-height: 1.5;
}

.split-text h3 {
  color: #3d6b4f;
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
}

/* 2カラム内は記事幅制限しない（左詰めで読みやすく） */
.split-text.prose {
  max-width: none;
  margin-inline: 0;
}

/* 施設管理者挨拶：画像下約25%を見せない＋テキスト量のバランス */
.split--greeting {
  align-items: start;
}

.split-img--crop-b25 {
  position: relative;
  overflow: hidden;
  /* 枠をやや低めにして object-position: top で下端側が載りにくくする（下約1/4相当のカット感） */
  aspect-ratio: 4 / 3;
  max-height: min(19rem, 72vw);
}

.split-img--crop-b25 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.split-text--greeting {
  font-size: 1rem;
  line-height: 1.78;
}

.split-text--greeting p {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.split-text--greeting p:last-child {
  margin-bottom: 0;
}

.greeting-role {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--leaf);
  letter-spacing: 0.04em;
  margin-bottom: 1rem !important;
}

@media (max-width: 720px) {
  .split-img--crop-b25 {
    max-height: none;
    aspect-ratio: 16 / 9;
  }
}

/* —— Info list（連絡先・白＋ごく薄いドット模様） */
.info-dl-heading {
  line-height: 1.5;
  font-size: clamp(1.1rem, 2.2vw, 1.42rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 22em;
  margin-inline: auto;
  text-wrap: balance;
}

.info-dl-heading .nobreak-name {
  white-space: nowrap;
}

.info-dl {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(90, 72, 58, 0.1);
  box-shadow: 0 8px 28px rgba(74, 54, 40, 0.06);
}

.info-dl dl {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem 1.15rem;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 520px) {
  .info-dl dl {
    grid-template-columns: 1fr;
  }
}

.info-dl dt {
  font-weight: 700;
  color: var(--ink);
}

.info-dl dd {
  margin: 0;
}

/* —— Map */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: min(420px, 55vw);
  border: 0;
}

/* —— FAQ */
.faq-list {
  max-width: 40rem;
  margin-inline: auto;
}

.faq-list details {
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  padding: 0.15rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.faq-list p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* —— Blog list */
.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
  margin-inline: auto;
}

.blog-list li {
  border-bottom: 1px solid var(--line);
}

.blog-list a {
  display: block;
  padding: 1.1rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 500;
}

.blog-list a:hover {
  color: var(--accent);
}

.blog-list time {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.blog-band {
  background: linear-gradient(
      rgba(255, 255, 255, 0.93),
      rgba(255, 255, 255, 0.93)
    ),
    var(--img, none);
  background-size: cover;
  background-position: center;
}

/* —— Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s, transform 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a84830);
  color: #fff;
  box-shadow: 0 6px 20px rgba(196, 92, 62, 0.35);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--leaf);
  color: var(--leaf);
}

.btn-ghost:hover {
  background: rgba(92, 143, 110, 0.12);
  color: var(--leaf);
}

.actions {
  text-align: center;
  margin-top: 1.75rem;
}

/* —— Snap / embed */
.embed-wrap {
  max-width: 525px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* —— Lunch grid */
.lunch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.lunch-item {
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.lunch-item p {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* —— Contact */
.contact-tel-big {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--leaf);
  text-align: center;
  margin: 1rem 0;
}

.contact-tel-big a {
  color: inherit;
  text-decoration: none;
}

.contact-form-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 34rem;
  margin-inline: auto;
}

.contact-form {
  max-width: 480px;
  margin-inline: auto;
  text-align: left;
}

.contact-form .form-field {
  margin-bottom: 1.15rem;
}

.contact-form .form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.contact-form .form-field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form .form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-form .form-check input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.contact-form .form-actions {
  margin-top: 1.35rem;
  text-align: center;
}

.contact-form .form-actions .btn-submit {
  min-width: 12rem;
}

.contact-form-foot {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 1rem;
  text-align: center;
}

.contact-thanks {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(79, 122, 92, 0.12);
  border: 1px solid var(--leaf-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-thanks:focus {
  outline: none;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-error[aria-live="polite"] {
  min-height: 0;
}

.privacy-box {
  max-height: 320px;
  overflow: auto;
  padding: 1.15rem 1.35rem;
  background: #fafafa;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}

/* —— Footer */
.site-footer {
  background: linear-gradient(165deg, #6b5345 0%, #4d3d34 48%, #42332c 100%);
  color: #f5e8dc;
  padding: 2.25rem 0 1.35rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 220, 195, 0.12);
}

.site-footer a {
  color: #ffd4bc;
}

.site-footer a:hover {
  color: #ffe8dc;
}

.site-footer nav ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer .footer-logo {
  text-align: center;
  margin-bottom: 0.85rem;
}

/* フッターの「もりもと塾」は画像の細い筆文字をやめ、丸みのある字体で統一 */
.footer-brand {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  color: #fff9f0;
}

.footer-brand-text {
  font-family: "Kiwi Maru", "Zen Maru Gothic", "Hiragino Maru Gothic ProN",
    "Yu Gothic", sans-serif;
  font-size: clamp(1.4rem, 3.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #fff5e8;
  text-shadow: 0 2px 12px rgba(40, 28, 22, 0.35);
  line-height: 1.3;
}

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245, 228, 212, 0.72);
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 200, 170, 0.2);
}

/* —— Sticky CTA */
.fixcta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(90, 72, 58, 0.12);
  box-shadow: 0 -8px 28px rgba(74, 54, 40, 0.08);
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.fixcta .tel {
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
}

.fixcta .btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

/* —— Utility */
.prose {
  max-width: var(--prose-width);
  margin-inline: auto;
}

.prose.text-center {
  text-align: center;
}

.prose.text-center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose h2 {
  line-height: 1.45;
}

.prose h3 {
  color: #3d6b4f;
  font-size: 1.15rem;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* —— 作業内容タブ */
.work-tabs {
  max-width: 44rem;
  margin-inline: auto;
}

.work-tabs [role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.work-tabs [role="tablist"] > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-tabs [role="tab"] {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.work-tabs [role="tab"]:hover {
  border-color: var(--leaf-soft);
  background: rgba(168, 201, 179, 0.2);
}

.work-tabs [role="tab"][aria-selected="true"] {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}

.work-tabs [role="tabpanel"] {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}

.work-tabs [role="tabpanel"][hidden] {
  display: none;
}

.work-tabs [role="tabpanel"] .tab-panel-heading {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.work-tabs [role="tabpanel"] .leather-spot-heading {
  font-size: 1.08rem;
  font-weight: 700;
}

.work-tabs [role="tabpanel"] .tab-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.work-tabs [role="tabpanel"] .tab-visual img {
  width: 100%;
  display: block;
}

/* —— ブログ（移設記事・CMS抜き本文） */
.page-hero--compact {
  min-height: unset;
  padding: 2.25rem 0 2.5rem;
}

.page-hero--compact h1 {
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  line-height: 1.45;
  max-width: 48rem;
  margin-inline: auto;
}

.blog-post-head {
  margin-bottom: 1.25rem;
}

.blog-post-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.blog-post-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: var(--prose-width);
  margin-inline: auto;
}

.blog-post-body .content_wrapper,
.blog-post-body .wrapper_item {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-body section.width_fixed,
.blog-post-body .mb {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.blog-post-body .inner_item_img,
.blog-post-body .inner_item_img a {
  display: block;
  margin: 1rem 0;
}

.blog-post-body .inner_item_img img,
.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

.blog-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.blog-post-body table td,
.blog-post-body table th {
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
  vertical-align: top;
}

.blog-post-body .table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
}

.blog-post-body h2.h,
.blog-post-body h3 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}

.blog-post-body .info.box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.blog-post-body .info.box .title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.blog-post-body .info.box .contents {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.blog-post-body .info.box .contents .image img {
  max-width: 160px;
}

.blog-post-body iframe {
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius-sm);
}

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: var(--prose-width);
  margin-inline: auto;
}

.blog-pager a {
  font-weight: 600;
  color: var(--leaf);
  text-decoration: none;
}

.blog-pager a:hover {
  text-decoration: underline;
}

.blog-pager .is-disabled {
  opacity: 0.42;
  cursor: default;
  font-weight: 500;
  color: var(--muted);
}

.blog-pager-index {
  flex: 1 1 auto;
  text-align: center;
}

.blog-list--static time {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

/* —— A11y・表示の安定化 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.site-trust {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.85);
}

.page-hero[role="img"] {
  background-size: cover;
  background-position: center;
}

@media print {
  .site-header,
  .fixcta,
  .nav-toggle,
  .scroll-hint,
  .embed-wrap,
  iframe {
    display: none !important;
  }
  body {
    padding-bottom: 0;
    font-size: 11pt;
    color: #000;
    background: #fff;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .page-hero {
    min-height: auto !important;
    padding: 1rem 0 !important;
  }
}
