/* =====================================================
   Base
===================================================== */

html {
  scroll-behavior: smooth;
}

:root {
  --article-cat-color: #b08a45;
  --article-title-color: #0e3a32;
  --site-content-width: min(1080px, calc(100% - clamp(3rem, 12vw, 8rem)));
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #222;
  font-weight: 300;
  background: #f2efea;
  line-height: 1.8;
  transition: opacity 0.35s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
.front-magazine {
  background: #f2efea;
}

#main-content {
  opacity: 0;
}

body.is-ready #main-content {
  opacity: 1;
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1);
}

body.is-leaving #main-content {
  opacity: 0;
  transition: opacity 0.25s ease;
}

h2 {
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  margin: 3.5rem 0 1.2rem;
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button {
  font-family: -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* =====================================================
   Top Navigation - Mobile First
===================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 1.2rem 1.25rem 0;
  pointer-events: none;
  background: transparent;
}

body.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.72);
  pointer-events: auto;
  width: calc(100% - 58px);
  white-space: nowrap;
}

.site-brand a {
  display: inline-flex;
  align-items: center;
}

body.home .site-brand {
  color: rgba(0,0,0,0.86);
}

.menu-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  left: auto;
  z-index: 100;
  pointer-events: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  border: none;
  background: transparent;

  color: rgba(0,0,0,0.72);
  font-size: 1.4rem;
  line-height: 1;

  cursor: pointer;
  opacity: 0.6;

  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}

.menu-toggle .icon-close {
  display: none;
}

body.menu-open .menu-toggle .icon-open {
  display: none;
}

body.menu-open .menu-toggle .icon-close {
  display: inline;
}

.top-nav-list {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 18vh 1.25rem 2rem;
  margin: 0;
  list-style: none;
  background: #f2efea;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 520ms cubic-bezier(.22,1,.36,1),
    visibility 260ms ease,
    background-color 420ms ease,
    backdrop-filter 420ms ease;
}

body.menu-open .top-nav-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.top-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.72);
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity .2s ease, color .2s ease;
}

.top-nav-list li {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(.22,1,.36,1);
}

.top-nav-list a:hover {
  opacity: .7;
}

.top-nav-list .current-menu-item > a,
.top-nav-list .current-menu-ancestor > a,
.top-nav-list .current_page_item > a {
  font-weight: 500;
  opacity: 1;
}

.top-nav-list .current-menu-item > a::after,
.top-nav-list .current-menu-ancestor > a::after,
.top-nav-list .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  opacity: 0.48;
}

.nav-contact a,
.top-nav-list li:last-child a {
  padding: 0 1.2rem;
  background: #0e2722;
  color: rgba(255,255,255,0.92);
}

body.menu-open .top-nav-list {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.menu-open .top-nav-list li {
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

body.menu-open .top-nav-list li:nth-child(1) {
  transition-delay: 60ms;
}

body.menu-open .top-nav-list li:nth-child(2) {
  transition-delay: 120ms;
}

body.menu-open .top-nav-list li:nth-child(3) {
  transition-delay: 180ms;
}

body.menu-open .top-nav-list li:nth-child(4) {
  transition-delay: 240ms;
}

body.menu-open .top-nav-list li:nth-child(5) {
  transition-delay: 300ms;
}

body.scrolled .menu-toggle {
  opacity: 0.3;
  transform: translateY(-0.4rem);
}


/* =====================================================
   Top Navigation - Tablet
===================================================== */

@media (min-width: 1024px) {
  .site-header {
    padding: 1.4rem 4vw 0;
  }

  .site-header-inner {
    align-items: center;
    gap: 2rem;
  }

  .site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 0.86rem;
    opacity: 0.72;
    width: auto;
  }

  .menu-toggle {
    display: none;
  }

  .top-nav-list {
    position: static;
    inset: auto;
    z-index: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .top-nav-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .top-nav-list a {
    justify-content: center;
    min-height: 40px;
    padding: 0 0.9rem;
    background: transparent;
    border: none;
  }

  .top-nav-list .current-menu-item > a::after,
  .top-nav-list .current-menu-ancestor > a::after,
  .top-nav-list .current_page_item > a::after {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
  }
}

/* =====================================================
   Layout Adjustment
===================================================== */

#main-content {
  margin-left: 0;
}

/* =====================================================
   Front Magazine Layout
===================================================== */

.front-magazine {
  background: #f2efea;
  color: rgba(20,20,20,0.82);
}

/* =========================
   Magazine Hero
========================= */

.mag-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(100svh, auto) auto;
  gap: 0;
  background: #f2efea;
}

.mag-hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 18%;
  background: #0e2722;
  pointer-events: none;
}

body.admin-bar .menu-toggle {
  top: calc(var(--wp-admin--admin-bar--height) + 1.2rem);
}

/* コピー：SPは縦書き */

.mag-hero-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 5;
  padding: 5.2rem 1.25rem 2.5rem;
  background: transparent;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  align-content: start;
  justify-content: end;
}

.mag-hero-eyebrow {
  display: none;
}

.mag-hero-title {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  font-family: "Noto Serif JP", "Source Serif 4", "Yu Mincho", serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.84);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 520px;
}

.mag-hero-lead {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  padding-top: 6rem;
  font-size: 0.95rem;
  line-height: 2.1;
  color: rgba(0,0,0,0.58);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 420px;
}

.mag-hero-link {
  grid-column: 1 / 4;
  grid-row: 2;
  justify-self: end;
  margin: 2rem 0 0;
}

.mag-hero-link a,
.mag-panel-more a,
.mag-philosophy-link a {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.72);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding-bottom: 0.18em;
  transition: opacity .2s ease, border-color .2s ease;
}

.mag-hero-link a:hover,
.mag-panel-more a:hover,
.mag-philosophy-link a:hover {
  opacity: .65;
  border-color: rgba(0,0,0,0.38);
}

/* 左下：小テーマ */

.mag-topic-mini {
  display: none;
}

/* 中央〜右：画像 */

.mag-hero-visual {
  grid-column: 1;
  grid-row: 1;
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #f2efea;
  box-shadow: none;
}

.mag-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(242,239,234,0.26);
  pointer-events: none;
}

@media (min-width: 768px) {
  body.home .site-brand {
    color: rgba(0,0,0,0.72);
  }

  .mag-hero-visual::after {
    background: rgba(242,239,234,0.1);
  }
}

.mag-hero-visual .hero-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* 右：Latest Articles */

.mag-latest-panel {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 6;
  padding: 3rem 1.25rem 4rem;
}

.mag-panel-title {
  margin: 0.5rem 0;
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  color: rgba(0,0,0,0.55);
}

.mag-latest-list {
  position: relative;
  z-index: 2;
  background: #f2efea;
  padding: 0.4rem 1.2rem 0;
  margin: 0;
  list-style: none;
}

.mag-latest-list li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
}

.mag-latest-list li + li {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.mag-latest-list a {
  padding: 0;
}

.mag-latest-list a:hover {
  opacity: 0.7;
}

.mag-latest-cat {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--article-cat-color);
}

.mag-latest-title {
  display: block;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--article-title-color);
}

.mag-latest-text time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: rgba(0,0,0,0.42);
}

.mag-panel-more {
  position: relative;
  z-index: 2;
  background: #f2efea;
  padding: 0 1.2rem 0.8rem;
  margin: 0;
}

/* PC hero composition */

@media (min-width: 768px) {
  .mag-hero {
    min-height: 100vh;
    padding: 4.4rem 0 10rem 2vw;
    display: grid;
    grid-template-columns: 320px 1fr 36vw;
    grid-template-rows: 1fr;
    align-items: stretch;
    gap: 0;
  }

  .mag-hero::before {
    left: 0;
    bottom: 10rem;
    width: 100%;
    height: calc(34% - 1.5rem);
  }

  .mag-hero-copy {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 5;
    width: 320px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 6vh 1.2rem 13rem 1rem;
    margin-bottom: 9rem;
    background: #f2efea;

    display: grid;
    grid-template-columns: 4.2rem 7.6rem 2rem;
    grid-template-rows: auto;
    column-gap: 0.55rem;
    align-content: start;
    justify-content: start;
  }

  .mag-hero-eyebrow {
    display: block;
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    font-size: 0.72rem;
    line-height: 2;
  }

  .mag-hero-title {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.32;
    letter-spacing: 0.035em;
    max-height: 520px;
  }

  .mag-hero-lead {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin: 0;
    padding-top: 2rem;
    font-size: 0.88rem;
    line-height: 2.1;
    max-height: 420px;
    align-self: start;
  }

  .mag-hero-link {
    position: absolute;
    left: 2.8rem;
    bottom: 11rem;
    margin: 0 0 2rem;
    z-index: 7;
    justify-self: auto;
  }

  .mag-topic-mini {
    position: absolute;
    left: 1.2rem;
    bottom: 1.4rem;
    width: calc(100% - 2.4rem);
    margin: 0;
    z-index: 6;
    display: grid;
    gap: 0.5rem;
  }

  .mag-topic-mini-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .mag-topic-mini-main,
  .mag-topic-mini-article {
    display: inline-block;
    text-decoration: none;
    transition:
      color .22s ease,
      opacity .22s ease,
      transform .22s ease;
  }

  .mag-topic-mini-main {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(0,0,0,0.72);
    padding: 0.28rem 0;
  }

  .mag-topic-mini-article {
    font-size: 0.68rem;
    line-height: 1.45;
    color: rgba(0,0,0,0.42);
    padding: 0.28rem 0;
    letter-spacing: 0.04em;
  }

  .mag-topic-mini-main:hover {
    color: rgba(0,0,0,0.95);
    transform: translateX(3px);
  }

  .mag-topic-mini-article:hover {
    color: rgba(0,0,0,0.78);
    transform: translateX(2px);
  }

  .mag-hero-visual {
    position: relative;
    inset: auto;
    grid-column: 2 / 4;
    grid-row: 1;
    z-index: 3;
    height: calc(100vh - 16rem);
    min-height: 420px;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 2px;
    overflow: hidden;
    background: #f2efea;
    box-shadow: none;
  }

  .mag-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
  }

  .mag-latest-panel {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin: 0 0 -4rem 0;
    width: min(100%, 520px);
  }

  .mag-latest-list {
    padding: 0.4rem 2.2rem 0 1.2rem;
  }
}

/* =========================
   Common Magazine Sections
========================= */

.mag-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.mag-section-head {
  margin-bottom: 2rem;
}

.mag-section-kicker {
  margin: 0 0 0.45rem;
  font-family: "Source Serif 4", serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: rgba(0,0,0,0.38);
  text-transform: uppercase;
}

.mag-section-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =========================
   Hero Message
========================= */

.mag-hero-message {
  position: relative;
  overflow: hidden;
  background-color: #0e2722;
  background-image:
    linear-gradient(
      to bottom,
      rgba(14,39,34,1) 0%,
      rgba(14,39,34,0.92) 14%,
      rgba(14,39,34,0.72) 34%,
      rgba(14,39,34,0.45) 100%
    ),
    linear-gradient(
      90deg,
      rgba(14,39,34,0.94) 0%,
      rgba(14,39,34,0.82) 28%,
      rgba(14,39,34,0.58) 56%,
      rgba(14,39,34,0.38) 100%
    ),
    url("../img/message-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: rgba(255,255,255,0.86);
  padding: 2rem 1.25rem 4rem;
}

.mag-hero-message-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.mag-hero-message p {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  letter-spacing: 0.04em;
}

.mag-hero-message p + p {
  margin-top: 1.2rem;
}

.msg-1 {
  font-size: 1.25rem;
  line-height: 2;
  opacity: 0.72;
}

.msg-2 {
  margin-top: 3rem;
  font-size: 1.45rem;
  line-height: 2;
  opacity: 0.92;
}

.msg-3 {
  margin-top: 2rem;
  font-size: 1.3rem;
  line-height: 2;
}

.msg-3 span {
  display: block;
  margin-top: 0.2em;
  font-size: 1.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.96);
}

.mag-hero-message-link {
  margin-top: 2rem;
}

.mag-hero-message-link a {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.26);
  padding-bottom: 0.18em;
}

.mag-hero-message-link a:hover{
  opacity: 0.7;
}

@media (min-width: 768px) {
  .mag-hero-message {
    margin-top: -10rem;
    padding: 2.5rem 4vw 5.5rem calc(2vw + 2rem);
  }

  .mag-hero-message-inner {
    padding-left: 50px;
  }
}

/* =========================
   Use Guide
========================= */

.mag-use {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.36), rgba(255,255,255,0.08)),
    #f2efea;
  padding: 3.8rem 1.25rem 2.6rem;
}

.mag-use-inner {
  max-width: 960px;
  margin: 0 auto;
}

.mag-use-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
}

.mag-use-head span {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(0,0,0,0.14);
}

.mag-use-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.76);
}

.mag-use-grid {
  display: grid;
  align-items: stretch;
  gap: 1rem;
}

.mag-use-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  height: 100%;
  min-height: 0;
  padding: clamp(1.6rem, 3.2vw, 2.35rem);
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(0,0,0,0.075);
  box-sizing: border-box;
  text-align: center;
}

.mag-use-icon {
  position: relative;
  width: clamp(86px, 9vw, 118px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e8e1d7;
  color: #0e2722;
  flex: 0 0 auto;
}

.mag-use-icon::before,
.mag-use-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.mag-use-icon-book::before {
  width: 42%;
  height: 34%;
  left: 28%;
  top: 32%;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mag-use-icon-book::after {
  width: 2px;
  height: 34%;
  left: 50%;
  top: 32%;
  background: currentColor;
}

.mag-use-icon-person::before {
  width: 20%;
  height: 20%;
  left: 40%;
  top: 26%;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mag-use-icon-person::after {
  width: 40%;
  height: 30%;
  left: 30%;
  bottom: 25%;
  border: 2px solid currentColor;
  border-top: none;
  border-radius: 0 0 26px 26px;
  box-shadow: 19px 5px 0 -12px currentColor;
}

.mag-use-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mag-use-body h3 {
  margin: 0 0 0.7rem;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  min-height: 0;
}

.mag-use-body p {
  margin: 0 0 1.4rem;
  color: rgba(0,0,0,0.66);
  font-size: 0.92rem;
  line-height: 1.85;
}

.mag-use-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: auto;
  min-width: min(100%, 280px);
  min-height: 48px;
  width: 100%;
  padding: 0 1.3rem;
  border: 1px solid rgba(14,39,34,0.62);
  color: #0e2722;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  transition:
    background-color .22s ease,
    color .22s ease,
    opacity .22s ease,
    transform .22s ease;
}

.mag-use-button::after {
  content: "→";
}

.mag-use-button-primary {
  background: #0e2722;
  border-color: #0e2722;
  color: rgba(255,255,255,0.92);
}

.mag-use-button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .mag-use {
    padding: 4.2rem 4vw 3rem;
  }

  .mag-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }
}

@media (min-width: 641px) {
  .mag-use-card {
    grid-template-columns: auto 1fr;
    justify-items: stretch;
    min-height: 250px;
    text-align: left;
  }

  .mag-use-body {
    min-height: 174px;
  }

  .mag-use-body h3 {
    min-height: 3.1em;
  }

  .mag-use-button {
    width: auto;
  }
}

/* =========================
   Topics
========================= */

.mag-topics {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.mag-topic-grid {
  display: grid;
  gap: 1rem;
}

.mag-topic-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  min-height: 150px;
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(0,0,0,0.055);
  overflow: hidden;
  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease;
}

.mag-topic-card:hover {
  background: rgba(255,255,255,0.86);
  border-color: rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.mag-topic-image {
  position: relative;
  display: block;
  min-height: 150px;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: rgba(255,255,255,0.35);
}

.mag-topic-image {
  position: relative;
}

.mag-topic-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.18) 42%,
      rgba(0,0,0,0.46) 100%
    );
  pointer-events: none;
}

.mag-topic-cover-text {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
  width: 78%;
  color: rgba(255,255,255,0.94);
  transform: translate(-50%, -50%);
  text-align: center;
}

.mag-topic-slug {
  position: static;
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.mag-topic-copy {
  display: block;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 0.92rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.32);
}

.mag-topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.82) contrast(0.96);
  transform: scale(1.01);
  transition: transform .55s cubic-bezier(.22,1,.36,1), filter .4s ease;
}

.mag-topic-card:hover .mag-topic-image img {
  transform: scale(1.045);
  filter: saturate(0.92) contrast(1);
}

.mag-topic-body {
  display: flex;
  flex-direction: column;
  min-height: 80px;
  padding: 1.05rem 1.05rem 0.95rem;
  box-sizing: border-box;
}

.mag-topic-card strong {
  display: block;
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mag-topic-card em {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.52);
}

.mag-topic-card {
  color: inherit;
  text-decoration: none;
}

.mag-topic-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.mag-topic-more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(0,0,0,0.72);
  text-decoration: none;
  transition:
    color .22s ease,
    transform .22s ease,
    opacity .22s ease;
}

.mag-topic-more:hover {
  color: rgba(0,0,0,0.38);
}

.mag-topic-more-primary {
  color: rgba(0,0,0,0.72);
}

@media (min-width: 768px) {
  .mag-topic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .mag-topic-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mag-topic-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 2.35;
  }

  .mag-topic-cover-text {
    left: auto;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: min(58%, 220px);
    text-align: left;
  }

  .mag-topic-body {
    padding: 1.35rem 1.35rem 1.25rem;
  }
}

@media (min-width: 1120px) {
  .mag-topic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .mag-topic-card {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .mag-topic-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 2.25;
  }

  .mag-topic-body {
    padding: 1.3rem 1.25rem 1.2rem;
  }

  .mag-topic-card strong {
    font-size: 1rem;
  }

  .mag-topic-card em {
    font-size: 0.74rem;
  }
}

/* =========================
   Featured
========================= */

.mag-featured {
  padding-top: 3rem;
}

.featured-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 1.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.featured-tabs a:hover{
  opacity: 0.7;
}


.featured-tab {
  border: none;
  background: transparent;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.62);
  cursor: pointer;
}

.featured-tab a:hover {
  color: rgba(0,0,0,0.38);;
}

.featured-tab.is-active {
  background: #0e2722;
  color: rgba(255,255,255,0.92);
}

.featured-all-link {
  margin-left: auto;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.16);
}

.featured-pane {
  display: none;
}

.featured-pane.is-active {
  display: block;
}

.featured-layout {
  display: grid;
  gap: 1.5rem;
}

.featured-visual {
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
  background: rgba(255,255,255,0.4);
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88);
}

.featured-list {
  display: grid;
  gap: 0;
}

.featured-list a:hover{
  opacity: 0.7;
}


.featured-card {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.featured-num {
  font-family: "Source Serif 4", serif;
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(0,0,0,0.34);
}

.featured-card-body {
  min-width: 0;
}

.featured-cat {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: var(--article-cat-color);
}

.featured-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--article-title-color);
}

.featured-card time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(0,0,0,0.42);
}

.featured-thumb {
  display: none;
}

.featured-more {
  margin: 1.4rem 0 0;
  text-align: right;
}

.featured-more a {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 0.18em;
}

.featured-more a:hover{
  opacity: 0.7;
}

@media (min-width: 768px) {
  .featured-layout {
    grid-template-columns: 42% 1fr;
    align-items: stretch;
    gap: 2.2rem;
  }

  .featured-visual {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .featured-card {
    grid-template-columns: 4rem 1fr 92px;
    align-items: center;
    min-height: 112px;
  }

  .featured-thumb {
    display: block;
    width: 92px;
    height: 62px;
    overflow: hidden;
  }

  .featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
  }
}

/* =========================
   Current Affairs
========================= */

.mag-current-affairs {
  padding-top: 4rem;
  padding-bottom: 4.6rem;
}

.mag-current-affairs-layout {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mag-current-affairs-head {
  position: relative;
  padding-left: 1rem;
}

.mag-current-affairs-head::before {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0;
  width: 2px;
  height: 4.4rem;
  background: #c9a260;
}

.mag-current-affairs-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #0e2722;
}

.mag-current-affairs-head > p:not(.mag-section-kicker) {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(0,0,0,0.58);
}

.mag-current-affairs-body {
  min-width: 0;
}

.mag-current-affairs-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.mag-current-affairs-card {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mag-current-affairs-num {
  font-family: "Source Serif 4", serif;
  font-size: 1.45rem;
  line-height: 1;
  color: rgba(0,0,0,0.34);
}

.mag-current-affairs-text {
  min-width: 0;
}

.mag-current-affairs-cat {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: var(--article-cat-color);
}

.mag-current-affairs-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.72;
  color: var(--article-title-color);
}

.mag-current-affairs-card h3 a:hover,
.mag-current-affairs-cat:hover {
  opacity: 0.68;
}

.mag-current-affairs-card time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(0,0,0,0.42);
}

.mag-current-affairs-empty {
  display: grid;
  min-height: 9rem;
  place-items: center;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.32);
}

.mag-current-affairs-empty p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.48);
}

.mag-current-affairs-more {
  margin: 1.3rem 0 0;
  text-align: right;
}

.mag-current-affairs-more a {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 0.18em;
}

.mag-current-affairs-more a:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .mag-current-affairs-layout {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.24fr);
    gap: 3rem;
    align-items: start;
    padding: 2.4rem 0;
  }

  .mag-current-affairs-card {
    grid-template-columns: 2.8rem 1fr;
    gap: 1rem;
    padding: 1.1rem 0;
  }
}

/* =========================
   Latest Rows
========================= */

.mag-latest {
  padding-top: 4rem;
}

.mag-news-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.mag-news-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mag-news-row time,
.mag-news-cat {
  font-size: 0.75rem;
}

.mag-news-row time {
  color: rgba(0,0,0,0.42);
}

.mag-news-cat {
  color: var(--article-cat-color);
}

.mag-news-title {
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--article-title-color);
}

.mag-news-title:hover,
.mag-news-cat:hover {
  opacity: .68;
}

.mag-latest-more {
  margin: 1.4rem 0 0;
  text-align: right;
}

.mag-latest-more a {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 0.18em;
}

.mag-latest-more a:hover {
  opacity: 0.7;
}


@media (min-width: 768px) {
  .mag-news-row {
    grid-template-columns: 7rem 8rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

/* =========================
   News Strip
========================= */

.mag-news-strip {
  background: #0e2722;
  color: rgba(255,255,255,0.82);
  padding: 1rem 1.25rem;
}

.mag-news-strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.mag-news-strip-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.mag-news-strip .mag-section-kicker {
  color: rgba(255,255,255,0.45);
}

.mag-news-strip-list {
  display: grid;
  gap: 0;
}

.mag-news-strip-list a:hover {
  opacity: 0.7;
}

.mag-news-strip-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.mag-news-strip-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.mag-news-strip-item time {
  color: rgba(255,255,255,0.5);
}

.mag-news-strip-item span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mag-news-strip-more {
  margin: 0;
}

.mag-news-strip-more a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 0.18em;
}

.mag-news-strip-more a:hover {
  opacity: 0.7;
}

/* PC：900px以上は日付上・タイトル下 */
@media (min-width: 900px) {
  .mag-news-strip {
    padding: 0.95rem 4vw;
  }

  .mag-news-strip-inner {
    grid-template-columns: 11rem 1fr auto;
    align-items: center;
    gap: 1rem;
  }

  .mag-news-strip-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mag-news-strip-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0 0.9rem;
    min-height: 44px;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid rgba(255,255,255,0.16);
  }

  .mag-news-strip-item:last-child {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.16);
  }

  .mag-news-strip-item time {
    font-size: 0.74rem;
  }

  .mag-news-strip-item span {
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
  }

  .mag-news-strip-more {
    white-space: nowrap;
  }
}

/* =========================
   Profile Hero
========================= */

.mag-profile-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: #0e2722;
}

.mag-profile-hero-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.85) contrast(0.96);
}

.mag-profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(14,39,34,0.88) 0%,
      rgba(14,39,34,0.68) 34%,
      rgba(14,39,34,0.18) 72%,
      rgba(14,39,34,0.04) 100%
    );
  pointer-events: none;
}

.mag-profile-hero-overlay {
  position: absolute;
  left: 1.5rem;
  bottom: 3rem;
  z-index: 2;
  max-width: 420px;
  color: rgba(255,255,255,0.86);
}

.mag-profile-hero-overlay h2 {
  margin: 0 0 1.35rem;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.mag-profile-hero-overlay p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255,255,255,0.72);
}

.mag-profile-hero-overlay a {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.18em;
}

.mag-profile-hero-overlay a:hover {
  opacity: 0.7;
}

.mag-profile-hero .mag-section-kicker {
  color: rgba(255,255,255,0.5);
}

@media (min-width: 768px) {
  .mag-profile-hero {
    max-height: 400px;
  }
}

/* =========================
   Access
========================= */

.mag-access-section {
  background: #f2efea;
  padding: 4rem 1.25rem;
}

.mag-access-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.mag-access-body {
  min-width: 0;
}

.mag-access-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
}

.mag-access-copy {
  min-width: 0;
}

.mag-access-building {
  display: grid;
  gap: 0.95rem;
  align-items: center;
  max-width: 18rem;
  margin-top: auto;
}

.mag-access-body h2 {
  margin: 0 0 1.4rem;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.mag-access-body p {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 2;
  color: rgba(0,0,0,0.58);
}

.mag-access-body a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.68);
  border-bottom: 1px solid rgba(0,0,0,0.22);
  padding-bottom: 0.18em;
}

.mag-access-body a:hover {
  opacity: 0.7;
}

.mag-access-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.5);
  overflow: hidden;
}

.mag-access-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}

.mag-access-building-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(0,0,0,0.62);
}

.mag-access-building-note span {
  position: relative;
  display: block;
  width: 3.4rem;
  height: 1px;
  background: rgba(0,0,0,0.28);
  flex: 0 0 auto;
}

.mag-access-building-note span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 1px solid rgba(0,0,0,0.38);
  border-right: 1px solid rgba(0,0,0,0.38);
  transform: translateY(-50%) rotate(45deg);
}

.mag-access-building-note p {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.mag-access-map {
  min-height: 280px;
  background: rgba(255,255,255,0.5);
  overflow: hidden;
}

.mag-access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  border: 0;
  filter: grayscale(0.45) contrast(0.95) brightness(1.02);
}

@media (min-width: 768px) {
  .mag-access-inner {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    gap: 3rem;
  }

  .mag-access-body {
    display: block;
  }

  .mag-access-info {
    height: 100%;
    gap: 2rem;
  }

  .mag-access-building {
    grid-template-columns: minmax(9.5rem, 42%) minmax(0, 1fr);
    gap: 1.25rem;
    max-width: none;
  }

  .mag-access-building-note {
    align-self: center;
  }

  .mag-access-building-note p {
    font-size: 0.92rem;
  }

  .mag-access-map {
    height: 100%;
    min-height: 520px;
  }

  .mag-access-map iframe {
    min-height: 0;
  }
}

/* =========================
   Motion
========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Reduced Motion
========================= */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
   Footer
========================= */

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  color: #333;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- 共通カラム --- */

.footer-column {
  margin-bottom: 2.5rem;
}

/* --- 左：書き手の立ち位置 --- */

.footer-office-name {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.footer-office-meta {
  margin: 0.25rem 0;
  color: #555;
}

/* 「宣言文」は少しだけ間を空ける */
.footer-office-meta:last-of-type {
  margin-top: 0.75rem;
}

/* --- 中・右：ナビ・制度（沈める） --- */

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin: 0.25rem 0;
}

.footer-menu a {
  color: #666;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-office-address {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.6;
}

.footer-office-address a {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0,0,0,0.22);
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-office-address a:hover {
  opacity: 0.78;
  text-decoration-color: rgba(0,0,0,0.42);
}

/* --- フッターボトム --- */

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #999;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer{
    margin-left: var(--side-nav-width);
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 3rem;

    padding: 0 8vw;   /* ← ここがキモ */
  }

  .footer-column {
    margin-bottom: 0;
  }

  .footer-office {
    flex: 2;
  }

  .footer-nav,
  .footer-legal {
    flex: 1;
  }
}

/* =====================================================
   カテゴリー別トップページ
===================================================== */

.category-page {
  background: #f7f7f5;
  padding: 6.5rem 1.25rem 4rem;
}

.category-page .section {
  max-width: 1080px;
  margin: 0 auto;
}

.category-page .section + .section {
  margin-top: 3.5rem;
}

.category-title {
  max-width: 820px;
  margin: 0 0 1.8rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.category-lead {
  max-width: 48em;
  margin: 0 0 1.3rem;
  font-size: 1rem;
  line-height: 2;
  color: rgba(0,0,0,0.68);
}

.category-about-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: rgba(0,0,0,0.58);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding-bottom: 0.15em;
}

.category-about-link:hover {
  color: rgba(0,0,0,0.9);
}

/* 見出し */
.category-page .section-title {
  margin: 0 0 1.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.6;
}

/* 代表記事 */
.post-grid {
  display: grid;
  gap: 1rem;
}

.category-page .post-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(14,39,34,0.10);
  border-radius: 0 14px 14px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.035);
}

.category-page .post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(14,39,34,0.68);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.category-page .post-card a {
  display: block;
  padding: 2.4rem 1.5rem 1.5rem;
}

.category-page .post-card h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.75;
}

/* まずはここから */
.category-philosophy {
  padding: 2rem;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(14,39,34,0.10);
  border-left: 3px solid rgba(14,39,34,0.45);
  border-radius: 0 14px 14px 0;
}

.category-philosophy p {
  max-width: 46em;
  margin: 0 0 1.2rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.66);
}

.btn-entry,
.latest-more a {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(14,39,34,0.78);
  border-bottom: 1px solid rgba(14,39,34,0.28);
  padding-bottom: 0.15em;
}

/* シリーズ */
.category-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.category-item {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(14,39,34,0.10);
  border-radius: 10px;
}

.category-item strong {
  font-size: 1.05rem;
  font-weight: 500;
  color: #163b34;
}

.category-desc {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.58);
}

/* 最近の記事 */
.category-latest .post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-latest .post-list li {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.category-latest .post-list li:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.category-latest .post-list a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--article-title-color);
}

.category-latest .post-list a:hover,
.post-card a:hover,
.category-links a:hover {
  opacity: 0.72;
}

.latest-more {
  margin: 1.4rem 0 0;
}

/* PC */
@media (min-width: 768px) {
  .category-page {
    padding: 8rem 8vw 5rem;
  }

  .category-page .section + .section {
    margin-top: 4.5rem;
  }

  .category-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =====================================================
   カテゴリー別ページ：リニューアル版
===================================================== */

.category-page.category-modern {
  padding: 0;
  background: #f2efea;
  color: #0e2722;
}

.category-modern,
.category-modern * {
  box-sizing: border-box;
}

.category-modern-hero {
  position: relative;
  min-height: 24rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0e2722;
}

.category-modern-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.86);
}

.category-modern-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(242,239,234,0.98) 0%,
      rgba(242,239,234,0.88) 58%,
      rgba(242,239,234,0.3) 100%
    );
}

.category-modern-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 42rem);
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
}

.category-modern-hero h1 {
  margin: 0.55rem 0 1rem;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.04em;
  color: var(--article-title-color);
}

.category-modern-hero__inner > p:not(.mag-section-kicker) {
  max-width: 42rem;
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 2.05;
  letter-spacing: 0.03em;
  color: rgba(14,39,34,0.72);
}

.category-modern-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.7rem;
}

.category-modern-hero__links a {
  color: var(--article-title-color);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(14,39,34,0.25);
  padding-bottom: 0.18em;
}

.category-modern a {
  transition: color 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.category-modern a:hover {
  opacity: 0.62;
}

.category-modern-layout {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 42rem);
  margin: -2rem auto 0;
  padding-bottom: 4.5rem;
  display: grid;
  gap: 2.4rem;
}

.category-modern-main {
  display: grid;
  gap: 4rem;
}

.category-modern-section,
.category-modern-sidebox,
.category-modern-cta {
  border: 1px solid rgba(14,39,34,0.11);
  box-shadow: 0 22px 50px rgba(14,39,34,0.055);
}

.category-modern-section {
  padding: clamp(1.5rem, 3vw, 2.65rem);
  background: rgba(250,248,244,0.95);
}

.category-modern-section__head {
  margin-bottom: 1.65rem;
}

.category-modern-section__link {
  margin: 1.25rem 0 0;
}

.category-modern-section__link a {
  color: var(--article-title-color);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(14,39,34,0.25);
  padding-bottom: 0.18em;
}

.category-modern-section__head h2,
.category-modern-sidebox h2,
.category-modern-cta h2 {
  margin: 0.35rem 0 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--article-title-color);
}

.category-modern-guide__grid {
  display: grid;
  gap: 1rem;
}

.category-modern-guide__block {
  padding: 1.35rem;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(14,39,34,0.1);
}

.category-modern-guide__block h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--article-title-color);
}

.category-modern-guide__block > p {
  margin: 0.7rem 0 1.1rem;
  color: rgba(14,39,34,0.62);
  font-size: 0.9rem;
  line-height: 1.85;
}

.category-modern-guide__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(14,39,34,0.1);
}

.category-modern-guide__block li {
  border-bottom: 1px solid rgba(14,39,34,0.1);
}

.category-modern-guide__block li:last-child {
  border-bottom: 0;
}

.category-modern-guide__block li a {
  display: block;
  padding: 0.85rem 0;
  color: var(--article-title-color);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.75;
}

.category-modern-featured__list,
.category-modern-list {
  border-top: 1px solid rgba(14,39,34,0.1);
}

.category-modern-featured__card {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(14,39,34,0.1);
}

.category-modern-num {
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 1.65rem;
  line-height: 1.2;
  color: rgba(14,39,34,0.34);
}

.category-modern-cat {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--article-cat-color);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.category-modern-featured__card h3,
.category-modern-row h3,
.category-modern-series__item h3 {
  margin: 0;
  color: var(--article-title-color);
  font-weight: 600;
  line-height: 1.65;
}

.category-modern-featured__card h3 {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.category-modern-featured__card h3 a,
.category-modern-row h3 a,
.category-modern-series__item a {
  color: inherit;
}

.category-modern-featured__card p,
.category-modern-row p,
.category-modern-series__item p {
  color: rgba(14,39,34,0.62);
  font-size: 0.9rem;
  line-height: 1.85;
}

.category-modern-featured__card p {
  margin: 0.45rem 0 0.7rem;
}

.category-modern-featured__card time,
.category-modern-row time {
  color: rgba(14,39,34,0.44);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.category-modern-series {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.category-modern-series__item {
  min-width: 0;
}

.category-modern-series__item a {
  display: block;
  height: 100%;
  width: 100%;
  padding: 1.25rem;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(14,39,34,0.1);
}

.category-modern-series__icon {
  position: relative;
  display: block;
  width: 2.05rem;
  height: 2.05rem;
  margin-bottom: 0.9rem;
  color: var(--article-title-color);
}

.category-modern-series__icon::before,
.category-modern-series__icon::after {
  content: "";
  position: absolute;
  border: 1.5px solid currentColor;
}

.category-modern-series__item:nth-child(1) .category-modern-series__icon::before {
  left: 0.42rem;
  top: 0.22rem;
  width: 0.95rem;
  height: 1.62rem;
  border-width: 1.5px 0 1.5px 1.5px;
  border-radius: 0.08rem 0 0 0.08rem;
}

.category-modern-series__item:nth-child(1) .category-modern-series__icon::after {
  left: 0.96rem;
  top: 0.38rem;
  width: 0.62rem;
  height: 1.28rem;
  background: rgba(250,248,244,0.95);
  border-radius: 0.04rem;
  transform: skewY(-8deg);
}

.category-modern-series__item:nth-child(2) .category-modern-series__icon::before {
  inset: 0.2rem 0.45rem;
}

.category-modern-series__item:nth-child(2) .category-modern-series__icon::after {
  left: 0.76rem;
  top: 0.2rem;
  width: 0;
  height: 1.65rem;
  border-width: 0 0 0 1.5px;
}

.category-modern-series__item:nth-child(3) .category-modern-series__icon::before {
  inset: 0.26rem;
  border-radius: 0.15rem;
}

.category-modern-series__item:nth-child(3) .category-modern-series__icon::after {
  width: 0.72rem;
  height: 0.72rem;
  right: 0.06rem;
  top: 0.06rem;
  background: rgba(250,248,244,0.95);
  border-width: 0 0 1.5px 1.5px;
}

.category-modern-series__item h3 {
  font-size: 1.02rem;
}

.category-modern-series__item p {
  margin: 0.5rem 0 0;
}

.category-modern-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(14,39,34,0.1);
}

.category-modern-row__body p {
  margin: 0.35rem 0 0;
}

.category-modern-arrow {
  color: var(--article-title-color);
}

.category-modern-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  font-size: 0.88rem;
}

.category-modern-pagination a {
  color: var(--article-title-color);
  border-bottom: 1px solid rgba(14,39,34,0.25);
  padding-bottom: 0.18em;
}

.category-modern-sidebar {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.category-modern-sidebox,
.category-modern-cta {
  padding: 1.35rem;
}

.category-modern-sidebox {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.68)),
    rgba(255,255,255,0.58);
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.55) inset,
    0 18px 44px rgba(14,39,34,0.07);
  backdrop-filter: blur(3px);
}

.category-modern-sidebox h2 {
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
  white-space: nowrap;
}

.category-modern-cta h2 {
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
  white-space: nowrap;
}

.category-modern-sidebox ol {
  list-style: none;
  counter-reset: popular;
  margin: 1rem 0 0;
  padding: 0;
}

.category-modern-sidebox li {
  counter-increment: popular;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(14,39,34,0.1);
}

.category-modern-sidebox li::before {
  content: counter(popular, decimal-leading-zero);
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  color: rgba(14,39,34,0.38);
  line-height: 1.6;
}

.category-modern-sidebox a {
  color: var(--article-title-color);
  font-size: 0.9rem;
  line-height: 1.7;
}

.category-modern-sidebox__empty,
.category-modern-empty {
  color: rgba(14,39,34,0.56);
  line-height: 1.8;
}

.category-modern-cta {
  background: #0e2722;
  color: rgba(255,255,255,0.9);
}

.category-modern-cta .mag-section-kicker {
  color: rgba(255,255,255,0.5);
}

.category-modern-cta h2 {
  color: #fff;
}

.category-modern-cta p {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.category-modern-cta a {
  display: block;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  text-align: center;
}

@media (min-width: 700px) {
  .category-modern-series {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-modern-guide__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 780px) {
  .category-modern-row {
    grid-template-columns: 7rem 8rem minmax(0, 1fr) 1.5rem;
    align-items: start;
  }

  .category-modern-arrow {
    align-self: center;
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .category-modern-hero {
    min-height: clamp(24rem, 44vw, 34rem);
  }

  .category-modern-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(242,239,234,0.98) 0%,
        rgba(242,239,234,0.9) 42%,
        rgba(242,239,234,0.22) 72%,
        rgba(14,39,34,0.42) 100%
      );
  }

  .category-modern-hero__inner {
    width: var(--site-content-width);
    padding: 7rem 0 6rem;
  }

  .category-modern-layout {
    width: var(--site-content-width);
    margin-top: -3.8rem;
    padding-bottom: 6rem;
  }

  .category-modern-featured__card {
    grid-template-columns: 3rem minmax(0, 1fr);
  }
}

@media (min-width: 980px) {
  .category-modern-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 28%);
    align-items: start;
  }

  .category-modern-sidebar {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 6.5rem);
  }

  body.admin-bar .category-modern-sidebar {
    top: calc(var(--wp-admin--admin-bar--height) + 4.25rem);
    max-height: calc(100vh - var(--wp-admin--admin-bar--height) - 5.25rem);
  }

  .category-modern-sidebox ol {
    max-height: clamp(12rem, 34vh, 19.25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
  }

  .category-modern-sidebox li {
    padding: 0.82rem 0;
  }
}

/* =====================================================
   カテゴリ別記事一覧ページ
===================================================== */

.article-list-page .page-header{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: left; /* 念のため */
}

@media (min-width: 768px){
  .article-list-page .page-header{
    padding: 0 8vw;
  }
}

.article-list-page .page-title{
  text-align: left;
  margin: 2.5rem 0 1.2rem; /* 好みで */
}

.article-list-page .page-content{
  text-align: left;
}

/* 記事一覧ページ：リード文を“左揃えのまま”幅だけ絞る */
.article-list-page .page-header .page-content{
  max-width: 680px;   /* ここは好みで */
  margin: 0;          /* ← 0 auto を殺す（これが本丸） */
}

/* 全記事（インターネット問題の全記事）も、シリーズ内と同じ“左ライン＋インデント”に */
.article-list-page .post-list-all{
  list-style: none;
  margin: .6rem 0 0;
  padding-left: 1.25rem;                 /* ←シリーズと揃える */
  border-left: 1px solid rgba(0,0,0,0.06);/* ←シリーズと揃える */
}

/* 行間は今のまま */
.article-list-page .post-list-all li + li{
  margin-top: .4rem;
}

/* リンクは行全体クリック＋左ズレを増やしすぎない */
.article-list-page .post-list-all a{
  display: block;
  padding: 0;                            /* ←ここは基本0 */
  color: rgba(0,0,0,0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.035);
  transition: color 0.15s ease;
}

.article-list-page .post-list-all a:hover{
  color: rgba(0,0,0,0.62);
}

.category-links li > ul > li:last-child > a,
.category-page .category-latest .post-list li:last-child > a,
.article-list-page .post-list-all li:last-child > a{
  border-bottom: none;
}

.article-list-modern {
  width: min(100% - 1.5rem, 42rem);
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.article-list-hero {
  padding: 0 0 3.25rem;
  text-align: left;
}

.article-list-hero__inner {
  width: min(100%, 58rem);
  margin-inline: 0;
}

.article-list-kicker {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(20, 68, 56, 0.44);
}

.article-list-title {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.95rem, 3.1vw, 2.65rem);
  font-weight: 500;
  line-height: 1.25;
}

.article-list-lead {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: rgba(20, 68, 56, 0.68);
  font-size: 1rem;
  line-height: 2;
}

.article-list-back {
  display: inline-flex;
  margin-top: 1.7rem;
  color: rgba(20, 68, 56, 0.68);
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 68, 56, 0.24);
  transition: opacity 0.18s ease;
}

.article-list-back:hover {
  opacity: 0.62;
}

.article-list-panel,
.article-list-results-section {
  box-sizing: border-box;
  border: 1px solid rgba(20, 68, 56, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.article-list-panel {
  width: min(100%, 58rem);
  margin-inline: 0;
  padding: 1.4rem;
  box-shadow: 0 1.4rem 3rem rgba(20, 68, 56, 0.05);
}

.article-list-panel__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.article-list-panel__head h2,
.article-list-section-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-list-count {
  margin: 0;
  padding-top: 0.3rem;
  color: rgba(20, 68, 56, 0.52);
  font-size: 0.86rem;
  white-space: nowrap;
}

.article-list-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.article-list-search,
.article-list-sort {
  display: grid;
  gap: 0.55rem;
}

.article-list-search span,
.article-list-sort span {
  color: rgba(20, 68, 56, 0.5);
  font-size: 0.78rem;
}

.article-list-search input,
.article-list-sort select {
  box-sizing: border-box;
  min-height: 3.1rem;
  width: 100%;
  border: 1px solid rgba(20, 68, 56, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green);
  font: inherit;
}

.article-list-search input {
  padding: 0 1rem;
}

.article-list-sort select {
  padding: 0 0.9rem;
}

.article-list-search input:focus,
.article-list-sort select:focus {
  outline: 1px solid rgba(20, 68, 56, 0.42);
  outline-offset: 2px;
}

.article-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(20, 68, 56, 0.08);
}

.article-list-filter {
  appearance: none;
  border: 1px solid rgba(20, 68, 56, 0.16);
  background: rgba(255, 255, 255, 0.64);
  color: rgba(20, 68, 56, 0.68);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  padding: 0.5rem 0.85rem;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.article-list-filter:hover {
  opacity: 0.72;
}

.article-list-filter.is-active {
  background: rgba(20, 68, 56, 0.94);
  border-color: rgba(20, 68, 56, 0.94);
  color: #ffffff;
}

.article-list-results-section {
  width: min(100%, 58rem);
  margin-inline: 0;
  margin-top: 2rem;
  padding: 1.4rem;
}

.article-list-section-head {
  margin-bottom: 1.1rem;
}

.article-list-results {
  border-top: 1px solid rgba(20, 68, 56, 0.1);
}

.article-list-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(20, 68, 56, 0.1);
}

.article-list-row[hidden] {
  display: none;
}

.article-list-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: rgba(20, 68, 56, 0.42);
  font-size: 0.78rem;
  line-height: 1.6;
}

.article-list-row__series a {
  color: rgba(154, 116, 40, 0.82);
  text-decoration: none;
}

.article-list-row__series a:hover {
  opacity: 0.65;
}

.article-list-row__body h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.75;
}

.article-list-row__body h3 a {
  color: inherit;
  text-decoration: none;
}

.article-list-row__body h3 a:hover {
  opacity: 0.68;
}

.article-list-row__body p {
  margin: 0.45rem 0 0;
  color: rgba(20, 68, 56, 0.58);
  font-size: 0.9rem;
  line-height: 1.9;
}

.article-list-empty {
  padding: 2rem 0;
  color: rgba(20, 68, 56, 0.62);
  line-height: 1.8;
}

.article-list-empty p {
  margin: 0 0 1rem;
}

.article-list-empty button {
  appearance: none;
  border: 1px solid rgba(20, 68, 56, 0.18);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  padding: 0.65rem 1rem;
}

.article-list-empty button:hover {
  opacity: 0.68;
}

@media (min-width: 761px) {
  .article-list-modern {
    width: var(--site-content-width);
    padding-top: 5.5rem;
  }

  .article-list-panel,
  .article-list-results-section {
    padding: 2.1rem 3rem;
  }

  .article-list-results-section {
    padding-bottom: 0.85rem;
  }

  .article-list-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .article-list-controls {
    grid-template-columns: minmax(0, 1fr) 11rem;
  }

  .article-list-row {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 1.7rem;
  }

  .article-list-row__meta {
    display: grid;
    gap: 0.65rem;
  }
}

/* =====================================================
   広告の存在感消し
===================================================== */

.adsense {
  margin: 3rem 0;
  text-align: center;
}

.adsense-label {
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: rgba(0,0,0,0.42);
}

.adsense-mid {
  margin: 3.5rem 0;
}

.adsense-bottom {
  margin-top: 4rem;
}

.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

/* =====================================================
   Single Article (Content)
===================================================== */

.single-body {
  padding: 6rem 8vw;
  background-color: #f7f7f5;
}

.single-header {
  max-width: 1080px;
  margin: 0 auto 4rem;
}

.single-header--no-image {
  max-width: 42rem;
}

.single-header-text {

  position: relative;

  z-index: 2;

}

.single-title {

  font-size: 1.6rem;

  font-weight: 500;

  line-height: 1.45;

  margin: 0;

}

.single-header-image {

  margin: 2.4rem 0 0;

}

.single-header-image img {

  width: 100%;

  height: 240px;

  display: block;

  object-fit: cover;

  object-position: center 80%;

}

.single-content .paper{
  max-width: 46rem;
  margin: 1.2rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
}

.single-content .paper p{
  margin: 0 0 0.85rem;
}

.single-content .paper-meta{
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.single-content .paper-block{
  padding-left: 0.9rem;
  margin: 0.9rem 0;
}

.single-content .paper-sign{
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.single-content .paper-end{
  text-align: right;
  margin-top: 0.6rem;
}

/* =========================
   Title Meta Line（カテゴリ・シリーズ）
========================= */

.single-meta-line {

  margin: 0 0 1.2rem;

  font-size: 0.75rem;

  color: #777;

}

.single-meta-line a {
  color: #666;
  text-decoration: none;
  transition: color 0.15s ease;
}

.single-meta-line a:hover {
  color: #000;
}

.single-meta-sep {
  margin: 0 0.25rem;
  color: #aaa;
}

/* タブレット以上：タイトル左、画像右 */

@media (min-width: 768px) {
  .single-header--has-image {
    max-width: 1080px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36%;
    gap: 3rem;
    align-items: center;
  }

  .single-header-image {
    margin: 0;
  }

  .single-header-image img {
    aspect-ratio: 4 / 3;
    height: 100%;
  }

  .single-title {
    font-size: 2rem;
  }

}

/* =====================================================
   Article Presentation Parts
   判断カード・要約・比較・図解
===================================================== */

/* 共通：記事内カード */
.article-point-card,
.article-flow-box,
.article-conclusion-box,
.article-ng-list,
.article-faq,
.article-next-list {
  margin: 2rem 0;
  box-sizing: border-box;
}

/* ラベル */
.article-card-label {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14,39,34,0.58);
}

/* 判断ポイントカード */
.article-point-card {
  width: min(100%, 38rem);
  margin: 2rem auto;
  padding: 1.35rem 1.35rem 1.25rem;
  background: rgba(14,39,34,0.045);
  border-left: 3px solid rgba(14,39,34,0.55);
}

.article-point-card p {
  margin: 0;
}

.article-point-card p + p {
  margin-top: 0.75rem;
}

.article-point-card strong {
  color: #163b34;
}

/* 冒頭：この記事のポイント */
.article-key-points {
  padding: 1.7rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,239,234,0.76));
  border: 1px solid rgba(14,39,34,0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.045);
}

.article-key-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.35rem;
}

.article-key-illust {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0.9;
  flex: 0 0 auto;
}

.article-card-heading {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.article-card-heading::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  margin-top: 0.65rem;
  background: rgba(14,39,34,0.35);
}

.article-key-point {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  padding: 0.85rem 0;
  align-items: start;
}

.article-key-point + .article-key-point {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.article-key-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(14,39,34,0.07);
  color: rgba(14,39,34,0.62);
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 0.82rem;
  line-height: 1;
}

.article-key-text {
  min-width: 0;
  line-height: 1.75;
}

.article-key-main {
  font-weight: 500;
  color: #163b34;
}

.article-key-sub {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.62);
}

@media (min-width: 768px) {
  .article-key-points {
    padding: 2rem 2rem 1.8rem;
  }

  .article-key-head {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .article-key-illust {
    width: 120px;
    height: 120px;
  }

  .article-key-point {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }

  .article-key-icon {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 0.9rem;
  }
}

/* 注意カード */
.article-point-card.is-warning {
  background: rgba(145,105,40,0.07);
  border-left-color: rgba(145,105,40,0.52);
}

.article-point-card.is-warning .article-card-label {
  color: rgba(110,78,30,0.72);
}

.article-warning-list {
  counter-reset: warning;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-warning-list li {
  counter-increment: warning;
  position: relative;
  padding-left: 2rem;
  margin: 0.55rem 0;
  line-height: 1.75;
}

.article-warning-list li::before {
  content: counter(warning, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 0.86rem;
  color: rgba(145,105,40,0.72);
}

/* 結論ボックス */
.article-conclusion-box {
  width: min(100%, 38rem);
  margin: 2.4rem auto;
  padding: 1.35rem 1.5rem;
  background: #0e2722;
  color: rgba(255,255,255,0.84);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.article-conclusion-box p {
  margin: 0;
  line-height: 1.9;
}

.single-content .article-conclusion-box strong {
  color: #fff;
  font-weight: 500;
}

/* 汎用カードグリッド */
.article-card-grid {
  display: grid;
  gap: 1rem;
  margin: 2.4rem 0;
}

.article-card-grid .article-card-label {
  margin: 0;
}

.article-card-item {
  padding: 1.35rem;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(14,39,34,0.10);
  border-radius: 10px;
}

@media (min-width: 768px) {
  .article-card-grid.is-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-card-grid.is-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-card-grid .article-card-label {
    grid-column: 1 / -1;
  }
}


/* フロー */
.article-card-grid.is-flow .article-card-item {
  position: relative;
}

.article-card-grid.is-flow .article-card-item + .article-card-item::before {
    content: "↓";
    position: absolute;
    left: 50%;
    top: -1.05rem;
    transform: translateX(-50%);
    color: rgba(14,39,34,0.42);
    font-size: 1rem;
    line-height: 1;
    z-index: 2;
  }

@media (min-width: 768px) {
  .article-card-grid.is-flow .article-card-item + .article-card-item::before {
    content: "→";
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(14,39,34,0.42);
    font-size: 1.1rem;
    line-height: 1;
    z-index: 2;
  }
}

/* FAQ */
.article-faq {
  margin: 0.8rem 0 2.8rem;
}

.article-faq-item {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.article-faq-item:first-child {
  padding-top: 0.4rem;
  border-top: none;
}

.article-faq h3 {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.75rem;
  margin: 0 0 0.8rem;
  font-size: 1rem;
  line-height: 1.65;
  align-items: baseline;
  color: #222;
}

.article-faq-q {
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 1.45rem;
  line-height: 1;
  color: rgba(14,39,34,0.52);
}

.article-faq p {
  margin: 0 0 0 3.55rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.68);
}

/* 次に読む記事 */
.article-next-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.6rem 0 3rem;
}

.article-next-list a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 2.4rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(14,39,34,0.10);
  border-radius: 0 14px 14px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.035);
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.78);
}

.article-next-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(14,39,34,0.68);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.article-next-list a::after {
  content: none;
}

.article-next-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(14,39,34,0.22);
  box-shadow: 0 14px 30px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .article-next-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.8rem -0.5rem 3.2rem;
  }
}

/* --- 本文（最重要） --- */

/* 初期 */
.article-body {
  opacity: 0;
}

/* タイトル表示後に付与 */
.article-body.is-visible {
  opacity: 1;
  transition: opacity 1s ease;
}

.single-content {
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.05rem;
}

.single-content > p {
  margin: 1.2rem 0;
}

.single-content a {
  color: #555;
  text-decoration: none;
  transition: color 0.15s ease;
}

.single-content a:hover {
  color: #000;
}

/* 本文の中で “リンクっぽさ” を上げたいリンクだけに class 付ける運用 */
a.link-line {
  display: block;
  margin: 1.6rem 0;
  padding: 0.5rem 1rem 0.5rem 1rem;
  background: #fff;
  border: 1px solid rgba(14,39,34,0.12);
  border-left: 4px solid rgba(14,39,34,0.55);
  color: rgba(0,0,0,0.78);
  font-size: 0.95rem;
  line-height: 1.7;
  box-shadow: 0 10px 26px rgba(0,0,0,0.035);
}

a.link-line::before {
  content: "関連記事";
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(14,39,34,0.55);
}

a.link-line::after {
  content: " →";
  color: rgba(14,39,34,0.55);
}

a.link-line:hover {
  color: rgba(0,0,0,0.92);
  border-left-color: rgba(14,39,34,0.78);
  transform: translateY(-1px);
}



.single-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 4.5rem 0 1.8rem;
  padding-top: 1.5rem;

  color: #111;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.single-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 2.5rem 0 .6rem;
  color: #444;
}

.single-content h2 + p,
.single-content h3 + p {
  margin-top: 0.8em;
}

.single-content > ul {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0 0 0 1.4rem;
  line-height: 1.75;
}

.single-content > ul > li {
  position: relative;
  margin: 0.25rem 0 0.5rem;
  line-height: 1.8;
}

.single-content > ul > li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
}

.single-content strong {
  font-weight: 500;
  color: #222;
}

.single-content em {
  font-style: italic;
  color: #444;
}

.single-content small {
  font-size: 0.85em;
  color: #666;
}

.single-content sup {
  font-size: 0.7em;
  color: #777;
  vertical-align: super;
}

.single-content code {
  font-family: monospace;
  font-size: 0.9em;
  background: rgba(0,0,0,.04);
  padding: 0 .25em;
  border-radius: 2px;
}

.single-content > ul > li {
  margin-bottom: .5rem;
  line-height: 1.8;
}

.single-content li p {
  margin: .4rem 0;
}

.single-content blockquote {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 3px solid #ddd;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
}

.single-content .stage-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.2rem;
}

.single-content ul.stage-list,
.single-content .stage-list ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.single-content ul.stage-list > li,
.single-content .stage-list li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.single-content ul.stage-list > li::marker,
.single-content .stage-list li::marker {
  content: "";
}

.single-content .stage-list li::before {
  content: none;
  display: none;
}

.single-content .stage-list li + li {
  margin-top: 0.8rem;
}

.single-content .stage-list a {
  border-bottom: 1px solid #aaa;
  padding-bottom: 2px;
}

.single-content .flow-cards {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.single-content .flow-cards li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0.95rem;
}

.single-content .flow-cards li + li {
  margin-top: 0.3rem;
}

/* ここがポイント：矢印は li ではなく丸に付ける */
.single-content .flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 2px solid #aaa;
  font-size: 0.9rem;
  line-height: 1;
  flex: 0 0 auto;
  position: relative; /* 追加 */
}

/* 2個目以降の丸の上に矢印を出す */
.single-content .flow-cards li + li .flow-num::before {
  content: "↓";
  position: absolute;
  left: 50%;
  top: -1.4rem;            /* 縦位置はここだけ調整 */
  transform: translateX(-50%);
  color: #777;
}

.single-content .flow-text {
  line-height: 1.65;
}

/* 目次 */
.article-structure {
  box-sizing: border-box;
  width: min(100%, 34rem);
  max-width: 100%;
  margin: 2.6rem auto;
  padding: 1.25rem 1.35rem;
  background: rgba(14,39,34,0.035);
  border: 1px solid rgba(14,39,34,0.08);
  border-radius: 10px;
  font-size: 0.9rem;
}

.single-content .article-structure-title {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(14,39,34,0.62);
}

.article-structure ul {
  counter-reset: article-structure;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-structure li {
  counter-increment: article-structure;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.6rem;
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(0,0,0,0.055);
  line-height: 1.65;
}

.article-structure li::before {
  content: counter(article-structure, decimal-leading-zero);
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 0.85rem;
  color: rgba(14,39,34,0.48);
}

.article-structure a {
  color: rgba(0,0,0,0.66);
}

.article-structure a:hover {
  color: rgba(0,0,0,0.95);
}

@media (min-width: 768px) {
  .article-structure {
    width: min(100%, 34rem);
    margin: 3rem auto;
    padding: 1.35rem 1.5rem;
  }
}

/*  テーブル  */

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.25rem; /* スクロールバーの圧迫感を軽減 */
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 640px; /* スマホは横スクロール前提で崩れを防ぐ */
  background: transparent;
}

.table-wrap th,
.table-wrap td {
  padding: 0.85rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.65;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #333;
}

.table-wrap thead th {
  font-weight: 600;
  color: #222;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.02);
}

.table-wrap tbody tr:hover td {
  background: rgba(0,0,0,0.015);
}

/* 角を少しだけ（ミニマル寄り） */
.table-wrap table {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden; /* 角丸を効かせる */
}

/* 文字量が多いセルを読みやすく */
.table-wrap td br {
  line-height: 1.7;
}

/* 横スクロールのヒント（任意） */
.table-wrap::after {
  content: "横にスクロールできます";
  display: block;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.45);
  margin-top: 0.55rem;
}

.table-note{
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .single-content {
    font-size: 1rem;
    line-height: 1.85;
  }

  .single-content h2 {
    margin-top: 3.5rem;
  }

  .single-content h3 {
    margin-top: 2.5rem;
  }

  .table-wrap {
    margin: 2.6rem 0 1.3rem;
  }
  .table-wrap table {
    min-width: 0; /* PCは横幅に合わせる */
  }
  .table-wrap::after {
    display: none;
  }
  .table-wrap th,
  .table-wrap td {
    font-size: 0.9rem;
  }
}

/* --- Single Bottom Ad --- */

.single-bottom-ad {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  opacity: 0.85;
}

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

.single-footer {
  max-width: 720px;
  margin: 5rem auto 0;
  font-size: 0.85rem;
  color: #666;
}

.single-header time,
.single-footer time {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: .5rem;
}

/* --- フッター直後の広告枠 --- */

.post-footer-space {
  padding: 3rem 0 4rem;
}

.single-bottom-ad {
  text-align: center;
}

/* =========================
   Series Navigation（この道の前後）
========================= */

.series-nav {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.series-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .series-nav-links {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
  }
}

.series-nav-prev,
.series-nav-next {
  flex: 1;
}

.series-label {
  display: block;
  font-size: 0.75rem;
  color: #777;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.series-nav a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.series-nav a:hover {
  opacity: 0.8;
}

.series-nav a {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #222;
}

/* =========================
   Article Series Meta（カテゴリ・シリーズ表示）
========================= */

.article-series-meta {
  max-width: 720px;
  margin: 2.5rem auto 0;
  font-size: 0.8rem;
  color: #777;
}

.article-series-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-series-meta a {
  color: #666;
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-series-meta a:hover {
  color: #000;
}

.article-sep {
  color: #aaa;
}

/* =========================
   固定ページ共通（page.php）
   ========================= */

/* ページ全体の器 */
.page-body {
  padding: 4rem 1.25rem 4rem;
}

/* タイトル周り */
.page-header {
  max-width: 680px;
  margin: 0 auto;
}

.page-title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 2.5rem 0 2rem;
}

/* 本文エリア */
.page-content {
  max-width: 680px;
  margin: 0 auto;
}

/* 段落 */
.page-content p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #222;
  margin: 0 0 1.6em;
}

.page-content .table-note {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #222;
  margin: 0 0 1.6em;
}

/* 見出し（h2：章の区切り） */
.page-content h2 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 3.2rem 0 1.2rem;
}

/* 見出し（h3：補助） */
.page-content h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 2.2rem 0 0.8rem;
}

/* リスト */
.page-content ul,
.page-content ol {
  margin: 0 0 1.8em 1.2em;
  padding: 0;
}

.page-content li {
  line-height: 1.8;
  margin-bottom: 0.6em;
}

/* リンク（本文と一体） */
.page-content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0,0,0,0.22);
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.page-content a:hover {
  opacity: 0.78;
  text-decoration-color: rgba(0,0,0,0.42);
}

/* 強調 */
.page-content strong {
  font-weight: 500;
}

.page-content em {
  font-style: italic;
}

/* =========================
   このサイトの考え方
   ========================= */

.page-site-policy .site-policy-body,
.page-profile .profile-body {
  padding: clamp(6.4rem, 10vw, 8rem) 1.25rem 6rem;
  background:
    radial-gradient(circle at 78% 8%, rgba(14,58,50,0.055), transparent 26rem),
    #f2efea;
}

.site-policy-header,
.site-policy-content,
.profile-header,
.profile-content {
  max-width: 680px;
}

.site-policy-header,
.profile-header {
  margin-bottom: 3rem;
}

.site-policy-kicker {
  margin: 0 0 0.85rem;
  color: rgba(14,58,50,0.42);
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.page-site-policy .page-title,
.page-profile .page-title {
  margin: 0;
  color: #0e3a32;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.site-policy-content h2,
.profile-content h2 {
  margin: 4rem 0 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(14,58,50,0.12);
  color: #0e3a32;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.65;
}

.site-policy-content h2:first-child,
.profile-content h2:first-of-type {
  margin-top: 0;
}

.site-policy-content h2:first-child + p {
  color: rgba(14,58,50,0.76);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  line-height: 2.05;
}

.site-policy-content p,
.profile-content p {
  color: rgba(20,20,20,0.76);
  font-size: 0.98rem;
  line-height: 2.05;
  margin-bottom: 1.55em;
}

.profile-content .profile-photo + p {
  color: rgba(14,58,50,0.76);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  line-height: 2.05;
}

.site-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 4.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(14,58,50,0.12);
}

.site-policy-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(14,58,50,0.16);
  color: rgba(14,58,50,0.82);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255,255,255,0.26);
  transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.site-policy-links a::after {
  content: "→";
  margin-left: 0.55rem;
}

.site-policy-links a:hover {
  border-color: rgba(14,58,50,0.32);
  background: rgba(255,255,255,0.42);
  opacity: 1;
}

/* =====================================================
   初回相談の予約ページ
===================================================== */

.consultation-page {
  --consultation-green: #0e3a32;
  --consultation-muted: rgba(14,58,50,0.62);
  --consultation-line: rgba(14,58,50,0.11);
  --consultation-content-gutter: 0;

  background: #f2efea;
  color: rgba(20,20,20,0.82);
  padding: 0;
}

.consultation-page,
.consultation-page * {
  box-sizing: border-box;
}

.consultation-hero,
.consultation-details__inner,
.consultation-final-cta__inner {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.consultation-hero {
  padding: 6.2rem 1rem 3rem;
  border-bottom: 1px solid rgba(14,58,50,0.08);
}

.consultation-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 5vw, 5.8rem);
  align-items: start;
}

.consultation-hero__copy {
  max-width: none;
}

.consultation-kicker {
  margin: 0 0 0.8rem;
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(14,58,50,0.42);
  text-transform: uppercase;
}

.consultation-hero h1 {
  margin: 0;
  color: var(--consultation-green);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.08em;
}

.consultation-hero__copy > p {
  max-width: 44rem;
  margin: 1.55rem 0 0;
  color: rgba(20,20,20,0.74);
  font-size: 1.03rem;
  line-height: 2;
}

.consultation-hero-points {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}

.consultation-hero-points article {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 1rem;
  min-height: 5rem;
  padding: 1rem 0;
  border-left: none;
  border-top: 1px solid rgba(14,58,50,0.12);
}

.consultation-hero-points article:first-child {
  padding-left: 0;
  border-left: none;
}

.consultation-hero-points h2,
.consultation-topic-grid h3,
.consultation-check h3 {
  margin: 0;
  color: var(--consultation-green);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.consultation-hero-points p,
.consultation-topic-grid p,
.consultation-check p,
.consultation-final-cta p {
  margin: 0.25rem 0 0;
  color: rgba(20,20,20,0.62);
  font-size: 0.85rem;
  line-height: 1.8;
}

.consultation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  width: 100%;
  padding: 0 2rem;
  border: 1px solid rgba(14,58,50,0.2);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.consultation-button:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.consultation-button--primary {
  background: var(--consultation-green);
  border-color: var(--consultation-green);
  color: rgba(255,255,255,0.94);
  width: 100%;
  min-height: 3.5rem;
}

.consultation-button--primary::after,
.consultation-button--ghost::after {
  content: "→";
  margin-left: 1.25rem;
}

.consultation-flow-card {
  border: 1px solid var(--consultation-line);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 1.4rem 3rem rgba(14,58,50,0.05);
  max-width: 34rem;
  width: 100%;
  margin-inline: auto;
  padding: 1.35rem 1.25rem 1.1rem;
}

@media (min-width: 1081px) {
  .consultation-flow-card {
    max-width: none;
    width: auto;
    margin-inline: 0;
    margin-top: 2.1rem;
  }
}

.consultation-flow-card h2 {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(14,58,50,0.13);
  color: var(--consultation-green);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.06em;
}

.consultation-flow-card ol {
  display: grid;
  gap: 1.05rem;
  margin: 0;
  padding: 1.25rem 0 1.35rem;
  list-style: none;
}

.consultation-flow-card li {
  display: grid;
  grid-template-columns: 2.6rem 2.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.consultation-flow-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(14,58,50,0.08);
  color: var(--consultation-green);
  font-family: "Source Serif 4", serif;
  font-size: 1.05rem;
}

.consultation-flow-card h3 {
  margin: 0;
  color: var(--consultation-green);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
}

.consultation-flow-card p {
  margin: 0.1rem 0 0;
  color: rgba(20,20,20,0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}

.consultation-flow-card__note {
  margin: 0.75rem 0 0;
  color: rgba(20,20,20,0.62);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
}

.consultation-icon {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  aspect-ratio: 1;
  color: var(--consultation-green);
}

.consultation-icon::before,
.consultation-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-color: currentColor;
}

.consultation-icon--memo::before,
.consultation-icon--clipboard::before {
  inset: 0.14rem;
  border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 7h20l6 6v28H11z'/%3E%3Cpath d='M31 7v8h8'/%3E%3Cpath d='M17 20h10'/%3E%3Cpath d='M17 27h14'/%3E%3Cpath d='M17 34h8'/%3E%3Cpath d='M35 22h5'/%3E%3Cpath d='M37.5 19.5v5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 7h20l6 6v28H11z'/%3E%3Cpath d='M31 7v8h8'/%3E%3Cpath d='M17 20h10'/%3E%3Cpath d='M17 27h14'/%3E%3Cpath d='M17 34h8'/%3E%3Cpath d='M35 22h5'/%3E%3Cpath d='M37.5 19.5v5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.consultation-icon--memo::after,
.consultation-icon--clipboard::after {
  display: none;
}

.consultation-flow-card .consultation-icon--clipboard::before {
  inset: 0.18rem;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 11h20v30H14z'/%3E%3Cpath d='M19 11c0-3 2-5 5-5s5 2 5 5'/%3E%3Cpath d='M20 18h8'/%3E%3Cpath d='M20 25h8'/%3E%3Cpath d='M20 32h8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 11h20v30H14z'/%3E%3Cpath d='M19 11c0-3 2-5 5-5s5 2 5 5'/%3E%3Cpath d='M20 18h8'/%3E%3Cpath d='M20 25h8'/%3E%3Cpath d='M20 32h8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.consultation-icon--scale::before {
  inset: 0.14rem;
  border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 8v30'/%3E%3Cpath d='M13 15h22'/%3E%3Cpath d='M24 38h-8'/%3E%3Cpath d='M24 38h8'/%3E%3Cpath d='M13 15 7 28h12L13 15Z'/%3E%3Cpath d='M35 15 29 28h12L35 15Z'/%3E%3Cpath d='M7 28h12'/%3E%3Cpath d='M29 28h12'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 8v30'/%3E%3Cpath d='M13 15h22'/%3E%3Cpath d='M24 38h-8'/%3E%3Cpath d='M24 38h8'/%3E%3Cpath d='M13 15 7 28h12L13 15Z'/%3E%3Cpath d='M35 15 29 28h12L35 15Z'/%3E%3Cpath d='M7 28h12'/%3E%3Cpath d='M29 28h12'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.consultation-icon--scale::after {
  display: none;
}

.consultation-icon--compass::before {
  inset: 0.18rem;
  border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M31 14 20 26l-3 8 8-3 9-14-3-3Z'/%3E%3Cpath d='M20 26l5 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M31 14 20 26l-3 8 8-3 9-14-3-3Z'/%3E%3Cpath d='M20 26l5 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.consultation-icon--compass::after {
  display: none;
}

.consultation-icon--calendar::before {
  inset: 0.52rem 0.3rem 0.32rem;
  border: 1.5px solid;
}

.consultation-icon--calendar::after {
  left: 0.3rem;
  right: 0.3rem;
  top: 0.95rem;
  border-top: 1.5px solid;
}

.consultation-icon--person::before {
  left: 0.83rem;
  top: 0.22rem;
  width: 0.72rem;
  aspect-ratio: 1;
  border: 1.5px solid;
  border-radius: 50%;
}

.consultation-icon--person::after {
  left: 0.52rem;
  bottom: 0.32rem;
  width: 1.35rem;
  height: 0.9rem;
  border: 1.5px solid;
  border-radius: 1rem 1rem 0.2rem 0.2rem;
}

.consultation-icon--screen::before {
  left: 0.28rem;
  top: 0.38rem;
  width: 1.85rem;
  height: 1.26rem;
  border: 1.5px solid;
}

.consultation-icon--screen::after {
  left: 0.82rem;
  bottom: 0.42rem;
  width: 0.86rem;
  border-top: 1.5px solid;
}

.consultation-icon--yen::before {
  left: 0.32rem;
  top: 0.32rem;
  width: 1.75rem;
  aspect-ratio: 1;
  border: 1.5px solid;
  border-radius: 50%;
}

.consultation-icon--yen::after {
  content: "¥";
  left: 0.32rem;
  top: 0.32rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: none;
  font-size: 0.92rem;
  line-height: 1;
  text-align: center;
}

.consultation-icon--people::before {
  inset: 0.12rem;
  border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='14' r='3.2'/%3E%3Ccircle cx='14' cy='17' r='2.8'/%3E%3Ccircle cx='34' cy='17' r='2.8'/%3E%3Cpath d='M15 33v-4.4c0-4.8 3.8-8.6 9-8.6s9 3.8 9 8.6V33'/%3E%3Cpath d='M7.5 33v-3.3c0-4.1 2.8-7.2 6.5-7.2'/%3E%3Cpath d='M40.5 33v-3.3c0-4.1-2.8-7.2-6.5-7.2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='14' r='3.2'/%3E%3Ccircle cx='14' cy='17' r='2.8'/%3E%3Ccircle cx='34' cy='17' r='2.8'/%3E%3Cpath d='M15 33v-4.4c0-4.8 3.8-8.6 9-8.6s9 3.8 9 8.6V33'/%3E%3Cpath d='M7.5 33v-3.3c0-4.1 2.8-7.2 6.5-7.2'/%3E%3Cpath d='M40.5 33v-3.3c0-4.1-2.8-7.2-6.5-7.2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.consultation-icon--people::after {
  display: none;
}

.consultation-icon--heart::before {
  content: "♡";
  inset: 0;
  border: none;
  font-family: "Source Serif 4", "Noto Serif JP", serif;
  font-size: 2.25rem;
  line-height: 1;
  text-align: center;
}

.consultation-icon--heart::after {
  display: none;
}

.consultation-icon--building::before {
  left: 0.58rem;
  top: 0.28rem;
  width: 1.18rem;
  height: 1.78rem;
  border: 1.5px solid;
}

.consultation-icon--building::after {
  left: 0.92rem;
  top: 0.64rem;
  width: 0.5rem;
  height: 0.88rem;
  border-top: 1.5px solid;
  border-bottom: 1.5px solid;
}

.consultation-icon--document::before {
  inset: 0.22rem 0.48rem;
  border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 6h15l7 7v29H13z'/%3E%3Cpath d='M28 6v8h8'/%3E%3Cpath d='M18 22h10'/%3E%3Cpath d='M18 29h14'/%3E%3Cpath d='M18 36h8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 6h15l7 7v29H13z'/%3E%3Cpath d='M28 6v8h8'/%3E%3Cpath d='M18 22h10'/%3E%3Cpath d='M18 29h14'/%3E%3Cpath d='M18 36h8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.consultation-icon--document::after {
  display: none;
}

.consultation-icon--check::before {
  inset: 0.38rem;
  border: 1.5px solid;
  border-radius: 50%;
}

.consultation-icon--check::after {
  left: 0.88rem;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.88rem;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(42deg);
}

.consultation-section__head {
  margin-bottom: 1.2rem;
}

.consultation-section__head h2 {
  margin: 0;
  color: var(--consultation-green);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.consultation-details {
  padding: 2.2rem 1.5rem 2.8rem;
  background: rgba(255,255,255,0.18);
}

.consultation-details__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.4rem);
  align-items: start;
  padding-inline: var(--consultation-content-gutter);
}

.consultation-practice {
  padding-right: 0;
  border-right: none;
}

.consultation-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.consultation-topic-grid article {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  min-height: 6rem;
  padding: 1.05rem;
  border: 1px solid rgba(14,58,50,0.12);
  background: rgba(255,255,255,0.52);
}

.consultation-practice__note {
  margin: 1.2rem 0 0;
  color: rgba(20,20,20,0.62);
  font-size: 0.9rem;
  line-height: 1.8;
}

.consultation-check__items {
  display: grid;
  gap: 0.55rem;
}

.consultation-check article {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(14,58,50,0.12);
  background: rgba(255,255,255,0.54);
}

.consultation-check article p {
  grid-column: 2;
}

.consultation-room {
  padding: 0 1rem 2.8rem;
  background: rgba(255,255,255,0.18);
}

.consultation-room__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: var(--consultation-content-gutter);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(14,58,50,0.1);
}

.consultation-room__copy h2 {
  margin: 0;
  color: var(--consultation-green);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.consultation-room__copy {
  max-width: 42rem;
}

.consultation-room__copy > p:not(.consultation-kicker) {
  margin: 1rem 0 0;
  color: rgba(20,20,20,0.62);
  font-size: 0.92rem;
  line-height: 1.95;
}

.consultation-room__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.consultation-room__photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(14,58,50,0.12);
  background: rgba(255,255,255,0.52);
}

.consultation-room__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation-room__photo--main,
.consultation-room__photo--sub {
  aspect-ratio: 4 / 3;
}

.consultation-access {
  padding: 0 1rem 2.6rem;
  background: rgba(255,255,255,0.18);
}

.consultation-access__inner {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: var(--consultation-content-gutter);
  padding-top: 1.55rem;
  border-top: 1px solid rgba(14,58,50,0.1);
}

.consultation-access__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(14,58,50,0.12);
  background: rgba(255,255,255,0.5);
}

.consultation-access__address p {
  margin: 0;
  color: rgba(20,20,20,0.64);
  font-size: 0.9rem;
  line-height: 1.85;
}

.consultation-access__address p + p {
  margin-top: 0.35rem;
}

.consultation-access__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(14,58,50,0.22);
  color: var(--consultation-green);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  justify-self: start;
  transition: opacity 0.18s ease;
}

.consultation-access__link::after {
  content: "→";
  margin-left: 0.8rem;
}

.consultation-access__link:hover {
  opacity: 0.68;
}

.consultation-final-cta {
  padding: 2.7rem 1.5rem;
  background:
    linear-gradient(90deg, rgba(14,58,50,0.98), rgba(14,58,50,0.9)),
    var(--consultation-green);
  color: rgba(255,255,255,0.9);
}

.consultation-final-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.consultation-final-cta__icon {
  width: 4.6rem;
  aspect-ratio: 1;
  color: rgba(255,255,255,0.72);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consultation-final-cta__icon path {
  vector-effect: non-scaling-stroke;
}

.consultation-final-cta h2 {
  margin: 0;
  color: rgba(255,255,255,0.96);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.consultation-final-cta p {
  color: rgba(255,255,255,0.78);
}

.consultation-button--ghost {
  min-height: 4rem;
  border-color: rgba(255,255,255,0.62);
  color: rgba(255,255,255,0.94);
  background: transparent;
}

@media (min-width: 561px) {
  .consultation-hero h1 {
    font-size: clamp(2.65rem, 5vw, 4.15rem);
  }

  .consultation-check article {
    grid-template-columns: 2.7rem 7rem minmax(0, 1fr);
  }

  .consultation-check article p {
    grid-column: auto;
  }

  .consultation-access {
    padding-inline: 1.5rem;
  }

  .consultation-room {
    padding-inline: 1.5rem;
  }

  .consultation-access__body {
    padding: 1.15rem 1.25rem;
  }

  .consultation-button:not(.consultation-button--primary) {
    width: auto;
  }
}

@media (min-width: 861px) {
  .consultation-page {
    --consultation-content-gutter: 1.5rem;
  }

  .consultation-hero {
    padding: 7.8rem 1.5rem 3.6rem;
  }

  .consultation-final-cta__inner {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(16rem, 23rem);
  }

  .consultation-hero-points,
  .consultation-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .consultation-hero-points article {
    padding: 0 1.6rem;
    border-left: 1px solid rgba(14,58,50,0.14);
    border-top: none;
  }

  .consultation-hero-points article:first-child {
    padding-left: 0;
    border-left: none;
  }

  .consultation-room__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1081px) {
  .consultation-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 28rem);
  }

  .consultation-details__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  }

  .consultation-hero__copy {
    max-width: 53rem;
  }

  .consultation-practice {
    padding-right: clamp(0rem, 3vw, 2.2rem);
    border-right: 1px solid rgba(14,58,50,0.12);
  }

  .consultation-room__inner {
    grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 0.58fr);
  }

  .consultation-access__body {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .consultation-room__copy {
    max-width: none;
  }

  .consultation-access__link {
    justify-self: auto;
  }
}

/* =========================
   PCサイズ（768px以上）
   ========================= */

@media (min-width: 768px) {
  .page-body {
    padding: 4rem 2rem 5rem;
  }

  .page-title {
    margin-top: 3.5rem;
  }

  .page-content p {
    font-size: 1rem;
  }

  .page-site-policy .page-title,
  .page-profile .page-title {
    margin-top: 0;
  }
}

/* 相談の流れ：ステップUI */
.flow-steps{
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  counter-reset: step;
}

.flow-steps li{
  position: relative;
  counter-increment: step;

  padding: 0.95rem 1rem 0.95rem 3.2rem;
  margin: 0.55rem 0;
  align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
  transition: transform .15s ease, border-color .15s ease;
}

.flow-steps li + li { 
  margin-top: 1.2rem; 
}

/* 丸い数字バッジ */
.flow-steps li::before{
  content: counter(step);
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;

  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;

  display: grid;
  place-items: center;

  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
}

/* タイトル部分 */
.flow-steps li strong{
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 本文 */
.flow-steps .flow-text{
  color: rgba(0,0,0,0.72);
}

/* リンク（控えめ） */
.flow-steps a{
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}
.flow-steps a:hover{
  opacity: .75;
}

/* ほんのり浮く（うるさくしない） */
@media (hover:hover){
  .flow-steps li:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.72);
    border-color: rgba(0,0,0,0.08);
  }
}

/* PCで少し横に余白を出して“整理感” */
@media (min-width: 768px){
  .flow-steps li{
    padding: 1.05rem 1.2rem 1.05rem 3.35rem;
    margin: 0.65rem 0;
  }
}

/* =========================
   articlesページ
   ========================= */

.articles-page {
  --articles-content-width: var(--site-content-width);
  background: #f2efea;
  color: #0e2722;
}

.articles-inner {
  width: var(--articles-content-width);
  margin: 0 auto;
}

.articles-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 21rem;
  padding: 5.4rem 0 5.2rem;
  overflow: hidden;
  background-color: #f2efea;
  background-image:
    linear-gradient(
      90deg,
      rgba(242,239,234,0.99) 0%,
      rgba(242,239,234,0.92) 58%,
      rgba(242,239,234,0.54) 100%
    ),
    url("../img/articles-hero.png");
  background-position: center right 28%;
  background-repeat: no-repeat;
  background-size: cover;
}

.articles-hero .articles-inner {
  position: relative;
  z-index: 1;
  width: var(--articles-content-width);
}

.articles-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.05em;
}

.articles-hero > .articles-inner > p:last-child {
  margin: 1.4rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 2;
  color: rgba(0,0,0,0.58);
}

.articles-current,
.articles-themes,
.articles-latest {
  padding: 4rem 0;
}

.articles-current {
  position: relative;
  z-index: 2;
  margin-top: -2.6rem;
  padding-top: 0;
}

.articles-current .articles-inner {
  width: var(--articles-content-width);
}

.articles-themes .articles-inner,
.articles-latest .articles-inner {
  width: var(--articles-content-width);
}

.articles-current-layout {
  display: grid;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(250,248,244,0.94);
  box-shadow: 0 1.4rem 3rem rgba(14,39,34,0.08);
}

.articles-current-head {
  position: relative;
  padding-left: 1rem;
}

.articles-current-head::before {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0;
  width: 2px;
  height: 4.4rem;
  background: #c9a260;
}

.articles-current-head h2,
.articles-section-head h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.articles-current-head > p:not(.mag-section-kicker) {
  margin: 1rem 0 0;
  max-width: 30rem;
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(0,0,0,0.58);
}

.articles-current-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.articles-current-card {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.articles-current-num {
  font-family: "Source Serif 4", serif;
  font-size: 1.42rem;
  line-height: 1;
  color: rgba(0,0,0,0.34);
}

.articles-current-cat,
.articles-latest-cat {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--article-cat-color);
}

.articles-current-cat {
  margin-bottom: 0.35rem;
}

.articles-current-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.72;
  color: var(--article-title-color);
}

.articles-current-card time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(0,0,0,0.42);
}

.articles-current-card a:hover,
.articles-section-more a:hover,
.articles-theme-card a:hover,
.articles-latest-row a:hover,
.articles-filter button:hover,
.articles-latest-more a:hover {
  opacity: 0.68;
}

.articles-current-empty {
  display: grid;
  min-height: 9rem;
  place-items: center;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.32);
}

.articles-current-empty p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.48);
}

.articles-section-more {
  margin: 1.3rem 0 0;
  text-align: right;
}

.articles-section-more a {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 0.18em;
}

.articles-section-head {
  margin-bottom: 1.8rem;
}

.articles-theme-grid {
  display: grid;
  gap: 1rem;
}

.articles-theme-card {
  min-height: 13rem;
  padding: 1.35rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.34);
}

.articles-theme-card-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.articles-theme-icon {
  flex: 0 0 auto;
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.42rem;
  color: #0e3a32;
}

.articles-theme-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.articles-theme-card p {
  margin: 0 0 0.22rem;
  font-family: "Source Serif 4", serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--article-cat-color);
}

.articles-theme-card h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--article-title-color);
}

.articles-theme-card > div:not(.articles-theme-card-head) {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.58);
}

.articles-theme-card a {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--article-title-color);
  border-bottom: 1px solid rgba(14,58,50,0.22);
  padding-bottom: 0.18em;
}

.articles-latest-head {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

.articles-search {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}

.articles-search input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 0.7rem 0;
  font: inherit;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.68);
}

.articles-search input:focus {
  outline: none;
}

.articles-search button {
  border: 0;
  background: transparent;
  padding: 0.7rem 0 0.7rem 1rem;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.58);
  cursor: pointer;
}

.articles-latest-head .articles-search input {
  padding-left: 1rem;
}

.articles-latest-head .articles-search button {
  padding-right: 1rem;
}

.articles-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 1.8rem;
}

.articles-filter button {
  display: inline-block;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.28);
  font-size: 0.78rem;
  color: rgba(0,0,0,0.58);
  cursor: pointer;
}

.articles-filter button.is-active {
  background: #0e2722;
  border-color: #0e2722;
  color: rgba(255,255,255,0.92);
}

.articles-latest-pane {
  display: none;
}

.articles-latest-pane.is-active {
  display: block;
}

.articles-latest-list {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.articles-latest-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.articles-latest-row time {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.42);
}

.articles-latest-title {
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--article-title-color);
}

.articles-latest-more {
  margin: 1.4rem 0 0;
  text-align: right;
}

.articles-latest-more a {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.62);
  border-bottom: 1px solid rgba(0,0,0,0.16);
  padding-bottom: 0.18em;
}

@media (min-width: 640px) {
  .articles-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .articles-hero {
    min-height: clamp(18.5rem, 33vw, 26.5rem);
    padding: 5.8rem 0 7rem;
    background-image:
      linear-gradient(
        90deg,
        rgba(242,239,234,0.99) 0%,
        rgba(242,239,234,0.94) 38%,
        rgba(242,239,234,0.56) 62%,
        rgba(242,239,234,0.08) 100%
      ),
      url("../img/articles-hero.png");
    background-position: center right;
  }

  .articles-current {
    margin-top: -4.8rem;
  }
}

@media (min-width: 768px) {
  .articles-current-layout {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.24fr);
    gap: 3rem;
  }

  .articles-latest-head {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 28%);
  }

  .articles-latest-row {
    grid-template-columns: 7rem 8rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

@media (min-width: 980px) {
  .articles-theme-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================
   search results
   ========================= */

.search-page {
  min-height: 100vh;
}

.search-hero {
  padding: 6.5rem 0 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background:
    linear-gradient(90deg, rgba(242,239,234,0.98), rgba(242,239,234,0.74)),
    url("../img/articles-hero.png") center right / cover no-repeat;
}

.search-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.search-hero > .articles-inner > p:not(.mag-section-kicker) {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 0.96rem;
  line-height: 2;
  color: rgba(0,0,0,0.58);
}

.search-page-form {
  max-width: 34rem;
  margin-top: 2rem;
  background: rgba(250,248,244,0.72);
}

.search-page-form input {
  padding-left: 1rem;
}

.search-page-form button {
  padding-right: 1rem;
}

.search-results-section {
  padding: 4rem 0 6rem;
}

.search-result-row {
  grid-template-columns: 1fr;
}

.search-result-main {
  min-width: 0;
}

.search-result-excerpt {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.85;
  color: rgba(0,0,0,0.54);
}

.search-result-excerpt p {
  margin: 0;
}

.search-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.86rem;
}

.search-pagination a,
.search-empty a {
  color: rgba(0,0,0,0.68);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding-bottom: 0.18em;
}

.search-empty {
  padding: 3rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.32);
  text-align: center;
}

.search-empty p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(0,0,0,0.58);
}

.search-empty p + p {
  margin-top: 0.35rem;
}

.search-empty a {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.86rem;
}

@media (min-width: 768px) {
  .search-result-row {
    grid-template-columns: 7rem 8rem 1fr;
  }
}

/* =========================
   servicesページ
   ========================= */

/* 分野ごとの「記事を読む」リンク */

.service-link {
  margin-top: 0.2rem;      /* 本文直後として自然な間 */
  margin-bottom: 2.2rem;   /* 次の分野との区切り */
}

.service-link a {
  font-size: 0.85rem;
  color: #444;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.service-link a:hover {
  opacity: 1;
}

/* service-link直前の本文pの下余白を詰める */
.page-content p:has(+ .service-link) {
  margin-bottom: 0.3rem;
}

/* =========================
   404.php
========================= */
.error-404 {
  padding: 5rem 0 6rem;
  text-align: left;
}

.error-404-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .error-404 {
    margin-left: var(--side-nav-width);
  }

  .error-404-inner {
    padding: 0 8vw;
  }
}


/* =========================
   プロフィールページの画像
========================= */
.profile-photo {
  max-width: 18rem;
  margin: 0 0 2.4rem;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(14,58,50,0.12);
  filter: saturate(0.9) brightness(0.97) contrast(0.98);
}


/* =========================
   archive
========================= */
.archive {
  background: #f7f7f3;
}

.archive-header{
  width: var(--site-content-width);
  max-width: none;
  margin: 0 auto;
  text-align: left;
  padding: 6vh 0 0;
  text-align: left;
}

@media (min-width: 768px){
  .archive-header{
    padding: 8vh 0 0;
  }
}

/* tag.php：本文もカテゴリ（.section）と同じ器に揃える */
.archive-body{
  width: var(--site-content-width);
  max-width: none;
  margin: 0 auto;
  padding: 8vh 0 12vh;
}

@media (min-width: 768px){
  .archive-body{
    padding: 10vw 0 14vh;
  }
}

.archive-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.archive-box {
  padding: 0 0 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 3.5rem;
}

.archive-box:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.archive-box h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.archive-excerpt {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.75;
}

.archive-box a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.archive-box a:hover h2 {
  text-decoration: underline;
}

.archive-meta {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

.archive-tags span {
  margin-right: 0.4em;
}

.archive-empty {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.6;
  margin: 6rem 0;
  line-height: 1.8;
}

.archive-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 0.8rem;
}

.archive-description {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* =========================
   コンタクトフォーム
========================= */

.page-body:has(:is(.cf7-consultation, .cf7-contact)) {
  padding: 5.5rem 1rem 4.5rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(20, 68, 56, 0.06), transparent 26rem),
    #f2efea;
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) .page-header,
.page-body:has(:is(.cf7-consultation, .cf7-contact)) .page-content {
  max-width: 760px;
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) .page-title {
  margin: 0 0 1.8rem;
  color: var(--green);
  font-family: "Noto Serif JP", "Source Serif 4", "Yu Mincho", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

:is(.cf7-consultation, .cf7-contact) {
  box-sizing: border-box;
  border: 1px solid rgba(20, 68, 56, 0.12);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.35rem;
  box-shadow: 0 1.4rem 3.2rem rgba(20, 68, 56, 0.06);
}

:is(.cf7-consultation, .cf7-contact) .cf7-note {
  margin: 0 0 2.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(20, 68, 56, 0.1);
  color: rgba(20, 68, 56, 0.72);
  font-size: 0.92rem;
  line-height: 2;
}

:is(.cf7-consultation, .cf7-contact) .cf7-section {
  margin: 0 0 2.4rem;
}

:is(.cf7-consultation, .cf7-contact) .cf7-section:last-of-type {
  margin-bottom: 0;
}

:is(.cf7-consultation, .cf7-contact) .cf7-section-title {
  margin: 0 0 1.2rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(20, 68, 56, 0.12);
  color: var(--green);
  font-family: "Noto Serif JP", "Source Serif 4", "Yu Mincho", serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

:is(.cf7-consultation, .cf7-contact) .cf7-row {
  margin: 0 0 1.45rem;
}

:is(.cf7-consultation, .cf7-contact) .cf7-row:has(.cf7-help) {
  margin-bottom: 1.7rem;
}

:is(.cf7-consultation, .cf7-contact) .cf7-row > p {
  margin: 0;
}

:is(.cf7-consultation, .cf7-contact) .cf7-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

:is(.cf7-consultation, .cf7-contact) label {
  display: block;
  color: rgba(20, 68, 56, 0.86);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

:is(.cf7-consultation, .cf7-contact) label > br {
  display: none;
}

:is(.cf7-consultation, .cf7-contact) .cf7-required,
:is(.cf7-consultation, .cf7-contact) .cf7-optional {
  color: rgba(20, 68, 56, 0.55);
  font-size: 0.84em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

:is(.cf7-consultation, .cf7-contact) .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.55rem;
}

:is(.cf7-consultation, .cf7-contact) input[type="text"],
:is(.cf7-consultation, .cf7-contact) input[type="email"],
:is(.cf7-consultation, .cf7-contact) input[type="tel"],
:is(.cf7-consultation, .cf7-contact) select,
:is(.cf7-consultation, .cf7-contact) textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(20, 68, 56, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.7;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

:is(.cf7-consultation, .cf7-contact) input[type="text"],
:is(.cf7-consultation, .cf7-contact) input[type="email"],
:is(.cf7-consultation, .cf7-contact) input[type="tel"],
:is(.cf7-consultation, .cf7-contact) select {
  min-height: 3.1rem;
  padding: 0 0.95rem;
}

:is(.cf7-consultation, .cf7-contact) textarea {
  min-height: 8.8rem;
  padding: 0.85rem 0.95rem;
  resize: vertical;
}

:is(.cf7-consultation, .cf7-contact) input::placeholder,
:is(.cf7-consultation, .cf7-contact) textarea::placeholder {
  color: rgba(20, 68, 56, 0.38);
}

:is(.cf7-consultation, .cf7-contact) input:focus,
:is(.cf7-consultation, .cf7-contact) select:focus,
:is(.cf7-consultation, .cf7-contact) textarea:focus {
  outline: none;
  border-color: rgba(20, 68, 56, 0.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 68, 56, 0.08);
}

:is(.cf7-consultation, .cf7-contact) .cf7-submit {
  margin: 2rem 0 0;
}

:is(.cf7-consultation, .cf7-contact) input.wpcf7-submit {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  min-height: 3.4rem;
  min-width: 13rem;
  width: 100%;
  border: 1px solid #0e3a32;
  border-radius: 0;
  background-color: #0e3a32;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0 2rem;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

:is(.cf7-consultation, .cf7-contact) input.wpcf7-submit:hover {
  opacity: 0.82;
}

:is(.cf7-consultation, .cf7-contact) input.wpcf7-submit:active {
  transform: translateY(1px);
}

:is(.cf7-consultation, .cf7-contact) .wpcf7-not-valid-tip {
  margin-top: 0.45rem;
  color: #9a4a36;
  font-size: 0.8rem;
  line-height: 1.6;
}

:is(.cf7-consultation, .cf7-contact) .wpcf7-spinner {
  margin-left: 0.9rem;
}

:is(.cf7-consultation, .cf7-contact) .cf7-help {
  display: block;
  margin: 0.45rem 0 0;
  color: rgba(20, 68, 56, 0.62);
  font-size: 0.84rem;
  line-height: 1.8;
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) :is(.cf7-consultation, .cf7-contact) p.cf7-help {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

:is(.cf7-consultation, .cf7-contact) .cf7-submit-note {
  margin: 0.65rem 0 0;
  color: rgba(20, 68, 56, 0.62);
  font-size: 0.84rem;
  line-height: 1.7;
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) .wpcf7-response-output,
:is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output {
  border: 1px solid rgba(20, 68, 56, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(20, 68, 56, 0.82);
  padding: 1rem 1.15rem;
  margin: 2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) form.invalid .wpcf7-response-output,
.page-body:has(:is(.cf7-consultation, .cf7-contact)) form.unaccepted .wpcf7-response-output,
.wpcf7-form.invalid :is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output,
.wpcf7-form.unaccepted :is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output,
.wpcf7-form.payment-required :is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output {
  border-color: rgba(154, 74, 54, 0.34);
  background: rgba(154, 74, 54, 0.07);
  color: #7c3f31;
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) form.sent .wpcf7-response-output,
.wpcf7-form.sent :is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output {
  border-color: rgba(20, 68, 56, 0.22);
  background: rgba(20, 68, 56, 0.08);
  color: rgba(20, 68, 56, 0.86);
}

.page-body:has(:is(.cf7-consultation, .cf7-contact)) form.spam .wpcf7-response-output,
.page-body:has(:is(.cf7-consultation, .cf7-contact)) form.failed .wpcf7-response-output,
.wpcf7-form.spam :is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output,
.wpcf7-form.failed :is(.cf7-consultation, .cf7-contact) ~ .wpcf7-response-output {
  border-color: rgba(176, 138, 69, 0.38);
  background: rgba(176, 138, 69, 0.08);
  color: #74592a;
}

@media (min-width: 701px) {
  .page-body:has(:is(.cf7-consultation, .cf7-contact)) {
    padding: clamp(6rem, 10vw, 7.5rem) 1.25rem 5.5rem;
  }

  :is(.cf7-consultation, .cf7-contact) {
    padding: clamp(1.5rem, 4vw, 3rem);
  }

  :is(.cf7-consultation, .cf7-contact) .cf7-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  :is(.cf7-consultation, .cf7-contact) .wpcf7-submit {
    width: auto;
  }
}

/* =====================================================
   Business LP
===================================================== */

body.page-template-business-lp,
body.page-template-business-lp-php,
body.page-template-internet-lp,
body.page-template-internet-lp-php,
body.page-template-inheritance-lp,
body.page-template-inheritance-lp-php,
body.page-template-business-lp .front-magazine,
body.page-template-business-lp-php .front-magazine,
body.page-template-internet-lp .front-magazine,
body.page-template-internet-lp-php .front-magazine,
body.page-template-inheritance-lp .front-magazine,
body.page-template-inheritance-lp-php .front-magazine {
  background: #f2efea;
}

body.page-template-business-lp .site-brand,
body.page-template-business-lp-php .site-brand,
body.page-template-internet-lp .site-brand,
body.page-template-internet-lp-php .site-brand,
body.page-template-inheritance-lp .site-brand,
body.page-template-inheritance-lp-php .site-brand,
body.page-template-business-lp .menu-toggle,
body.page-template-business-lp-php .menu-toggle,
body.page-template-internet-lp .menu-toggle,
body.page-template-internet-lp-php .menu-toggle,
body.page-template-inheritance-lp .menu-toggle,
body.page-template-inheritance-lp-php .menu-toggle,
body.page-template-business-lp .top-nav-list a,
body.page-template-business-lp-php .top-nav-list a,
body.page-template-internet-lp .top-nav-list a,
body.page-template-internet-lp-php .top-nav-list a,
body.page-template-inheritance-lp .top-nav-list a,
body.page-template-inheritance-lp-php .top-nav-list a {
  color: rgba(255,255,255,0.88);
}

body.page-template-business-lp.menu-open .top-nav-list,
body.page-template-business-lp-php.menu-open .top-nav-list,
body.page-template-internet-lp.menu-open .top-nav-list,
body.page-template-internet-lp-php.menu-open .top-nav-list,
body.page-template-inheritance-lp.menu-open .top-nav-list,
body.page-template-inheritance-lp-php.menu-open .top-nav-list {
  background: #0e2722;
}

body.page-template-business-lp .top-nav-list li:last-child a,
body.page-template-business-lp-php .top-nav-list li:last-child a,
body.page-template-internet-lp .top-nav-list li:last-child a,
body.page-template-internet-lp-php .top-nav-list li:last-child a,
body.page-template-inheritance-lp .top-nav-list li:last-child a,
body.page-template-inheritance-lp-php .top-nav-list li:last-child a,
body.page-template-business-lp .nav-contact a,
body.page-template-business-lp-php .nav-contact a,
body.page-template-internet-lp .nav-contact a,
body.page-template-internet-lp-php .nav-contact a,
body.page-template-inheritance-lp .nav-contact a,
body.page-template-inheritance-lp-php .nav-contact a {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.36);
  color: rgba(255,255,255,0.94);
}

body.nav-light .menu-toggle {
  color: rgba(255,255,255,0.9);
}

body.home.nav-light:not(.scrolled):not(.menu-open) .menu-toggle,
body.home.nav-light.menu-open .menu-toggle {
  color: rgba(0,0,0,0.78);
  opacity: 0.72;
}

body.page-template-business-lp:not(.nav-light):not(.menu-open) .menu-toggle,
body.page-template-business-lp-php:not(.nav-light):not(.menu-open) .menu-toggle,
body.page-template-internet-lp:not(.nav-light):not(.menu-open) .menu-toggle,
body.page-template-internet-lp-php:not(.nav-light):not(.menu-open) .menu-toggle,
body.page-template-inheritance-lp:not(.nav-light):not(.menu-open) .menu-toggle,
body.page-template-inheritance-lp-php:not(.nav-light):not(.menu-open) .menu-toggle {
  color: rgba(0,0,0,0.72);
}

.business-lp {
  --lp-bg: #f2efea;
  --lp-bg-soft: #ebe5dc;
  --lp-green: #0e2722;
  --lp-green-2: #12352f;
  --lp-text: #1f2723;
  --lp-muted: rgba(31,39,35,0.68);
  --lp-line: rgba(31,39,35,0.14);
  --lp-white: rgba(255,255,255,0.92);
  --lp-gold: #c8a166;
  --lp-serif: "Noto Serif JP", "Source Serif 4", serif;
  background: var(--lp-bg);
  color: var(--lp-text);
  overflow: hidden;
}

.business-lp h1,
.business-lp h2,
.business-lp h3,
.business-lp p {
  margin-top: 0;
}

.business-lp-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 9.5rem clamp(1.4rem, 5vw, 5.5rem) 6rem;
  background: var(--lp-green);
  isolation: isolate;
}

.business-lp-hero__image,
.business-lp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.business-lp-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.88) contrast(0.94);
}

.business-lp-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,34,28,0.96) 0%, rgba(8,40,33,0.88) 34%, rgba(8,40,33,0.34) 67%, rgba(8,40,33,0.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.12));
}

.business-lp-hero__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.business-lp-kicker {
  color: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 1.15rem;
}

.business-lp-hero h1 {
  color: var(--lp-white);
  font-family: var(--lp-serif);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
}

.business-lp-hero__lead {
  color: rgba(255,255,255,0.82);
  font-family: var(--lp-serif);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 2.4rem;
}

.business-lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.business-lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 210px;
  min-height: 56px;
  padding: 0 1.4rem;
  border: 1px solid currentColor;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition:
    opacity 0.2s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.business-lp-button::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.business-lp-button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.business-lp-button--gold {
  background: var(--lp-gold);
  border-color: var(--lp-gold);
  color: #fff;
}

.business-lp-button--ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
}

.business-lp-section {
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5.5rem);
}

.business-lp-section__head {
  width: min(100%, 1080px);
  margin: 0 auto clamp(2.4rem, 4vw, 3.8rem);
  text-align: center;
}

.business-lp-section__head h2,
.business-lp-green h2,
.business-lp-final-cta h2 {
  font-family: var(--lp-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.business-lp-section__head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 1rem auto 0;
  background: rgba(14,39,34,0.32);
}

.business-lp-section__head p {
  color: var(--lp-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 0;
}

.business-lp-problems {
  padding-top: clamp(3.7rem, 6vw, 5.4rem);
  padding-bottom: clamp(3.8rem, 6vw, 5.6rem);
}

.business-lp-problem-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.business-lp-problem-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 1.8rem 1rem;
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--lp-line);
}

.business-lp-problem-card h3 {
  font-family: var(--lp-serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 0;
}

.business-lp-icon {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 50px;
  color: var(--lp-green);
}

.business-lp-icon::before,
.business-lp-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.business-lp-icon--people::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: 9px;
  top: 5px;
  box-shadow: 18px 0 0 -2px var(--lp-bg), 18px 0 0 0 currentColor;
}

.business-lp-icon--people::after {
  width: 42px;
  height: 22px;
  border: 2px solid currentColor;
  border-top: none;
  border-radius: 0 0 20px 20px;
  left: 4px;
  bottom: 5px;
}

.business-lp-icon--chat::before {
  width: 39px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 22px;
  left: 4px;
  top: 8px;
}

.business-lp-icon--chat::after {
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-24deg);
  left: 15px;
  top: 31px;
}

.business-lp-icon--building::before {
  width: 30px;
  height: 42px;
  border: 2px solid currentColor;
  left: 10px;
  top: 4px;
}

.business-lp-icon--building::after {
  width: 4px;
  height: 4px;
  left: 18px;
  top: 12px;
  background: currentColor;
  box-shadow: 10px 0 currentColor, 0 10px currentColor, 10px 10px currentColor, 0 20px currentColor, 10px 20px currentColor;
}

.business-lp-icon--person::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: 16px;
  top: 5px;
}

.business-lp-icon--person::after {
  width: 35px;
  height: 24px;
  border: 2px solid currentColor;
  border-top: none;
  border-radius: 0 0 20px 20px;
  left: 7px;
  bottom: 5px;
}

.business-lp-icon--document::before {
  width: 32px;
  height: 40px;
  border: 2px solid currentColor;
  left: 10px;
  top: 4px;
}

.business-lp-icon--document::after {
  width: 16px;
  height: 2px;
  background: currentColor;
  left: 18px;
  top: 17px;
  box-shadow: 0 8px currentColor, 0 16px currentColor;
}

.business-lp-green {
  position: relative;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5.5rem);
  background:
    radial-gradient(circle at 88% 8%, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(120deg, #08251f 0%, var(--lp-green) 48%, var(--lp-green-2) 100%);
  color: rgba(255,255,255,0.92);
  overflow: hidden;
}

.business-lp-green__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04), transparent 34%),
    radial-gradient(circle at 78% 48%, rgba(200,161,102,0.14), transparent 28%);
  opacity: 0.8;
  pointer-events: none;
}

.business-lp-green__inner {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: center;
}

.business-lp-positioning__copy h2 {
  margin-bottom: 1.5rem;
}

.business-lp-positioning__copy p {
  color: rgba(255,255,255,0.76);
  font-size: 0.95rem;
  line-height: 2.05;
  margin-bottom: 1.2rem;
}

.business-lp-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.business-lp-process li {
  position: relative;
  padding: 1.5rem 1.4rem;
  border-left: 1px solid rgba(255,255,255,0.22);
}

.business-lp-process li:last-child {
  border-right: 1px solid rgba(255,255,255,0.22);
}

.business-lp-process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 1.4rem;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  color: rgba(255,255,255,0.82);
  font-family: var(--lp-serif);
  font-size: 0.9rem;
}

.business-lp-process h3 {
  font-family: var(--lp-serif);
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.business-lp-process p {
  color: rgba(255,255,255,0.68);
  font-size: 0.82rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.business-lp-values {
  background: var(--lp-bg);
}

.business-lp-value-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.business-lp-value-card {
  padding: 0 2.4rem;
  border-right: 1px solid var(--lp-line);
  text-align: center;
}

.business-lp-value-card:last-child {
  border-right: none;
}

.business-lp-value-card h3,
.business-lp-support-card h3,
.business-lp-plan-card h3 {
  font-family: var(--lp-serif);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.business-lp-value-card h3 {
  font-size: 1.24rem;
  margin-bottom: 1rem;
}

.business-lp-value-card p {
  color: var(--lp-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 0;
  text-align: left;
}

.business-lp-supports {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent),
    var(--lp-bg-soft);
}

.business-lp-support-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.business-lp-support-card,
.business-lp-plan-card {
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--lp-line);
}

.business-lp-support-card {
  padding: 1.6rem 1.35rem;
}

.business-lp-support-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.business-lp-support-card ul,
.business-lp-plan-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.business-lp-support-card li,
.business-lp-plan-card li {
  position: relative;
  padding-left: 1em;
  color: var(--lp-muted);
  font-size: 0.84rem;
  line-height: 1.85;
}

.business-lp-support-card li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.business-lp-plans {
  background: var(--lp-bg);
  padding-top: clamp(4.2rem, 7vw, 6.5rem);
}

.business-lp-plan-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.business-lp-plan-card {
  position: relative;
  padding: 2.2rem 2rem 2rem;
  text-align: center;
}

.business-lp-plan-card.is-featured {
  border-color: rgba(14,39,34,0.28);
  box-shadow: 0 20px 50px rgba(14,39,34,0.08);
}

.business-lp-plan-card__badge {
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  transform: translateY(-100%);
  margin: 0;
  padding: 0.45rem;
  background: var(--lp-green);
  color: rgba(255,255,255,0.9);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.business-lp-plan-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.business-lp-plan-card__price {
  color: var(--lp-green);
  font-family: var(--lp-serif);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.business-lp-plan-card > p:not(.business-lp-plan-card__badge):not(.business-lp-plan-card__price):not(.business-lp-plan-card__note) {
  color: var(--lp-muted);
  font-size: 0.86rem;
  line-height: 1.9;
  min-height: 4.9rem;
  margin-bottom: 1.2rem;
}

.business-lp-plan-card li {
  padding-left: 1.35em;
  text-align: left;
}

.business-lp-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-green);
}

.business-lp-plan-card__note {
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--lp-line);
  color: rgba(31,39,35,0.78);
  font-size: 0.84rem;
  line-height: 1.7;
}

.business-lp-final-cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  background: var(--lp-green);
  color: rgba(255,255,255,0.92);
}

.business-lp-final-cta__image {
  min-height: 300px;
}

.business-lp-final-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.92);
}

.business-lp-final-cta__copy {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.4rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(14,39,34,0.76), rgba(14,39,34,1)),
    var(--lp-green);
}

.business-lp-final-cta h2 {
  margin-bottom: 1.15rem;
}

.business-lp-final-cta p {
  color: rgba(255,255,255,0.74);
  font-size: 0.94rem;
  line-height: 2;
  margin-bottom: 2rem;
}

@media (max-width: 980px) {
  .business-lp-hero {
    min-height: 660px;
  }

  .business-lp-hero__overlay {
    background:
      linear-gradient(90deg, rgba(6,34,28,0.95), rgba(6,34,28,0.72)),
      linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.16));
  }

  .business-lp-problem-grid,
  .business-lp-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-lp-green__inner,
  .business-lp-final-cta {
    grid-template-columns: 1fr;
  }

  .business-lp-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-lp-value-grid,
  .business-lp-plan-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .business-lp-value-card {
    padding: 1.6rem 0;
    border-right: none;
    border-bottom: 1px solid var(--lp-line);
  }

  .business-lp-value-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  body.page-template-business-lp .site-brand,
  body.page-template-business-lp-php .site-brand,
  body.page-template-internet-lp .site-brand,
  body.page-template-internet-lp-php .site-brand,
  body.page-template-inheritance-lp .site-brand,
  body.page-template-inheritance-lp-php .site-brand,
  body.page-template-business-lp .menu-toggle,
  body.page-template-business-lp-php .menu-toggle,
  body.page-template-internet-lp .menu-toggle,
  body.page-template-internet-lp-php .menu-toggle,
  body.page-template-inheritance-lp .menu-toggle,
  body.page-template-inheritance-lp-php .menu-toggle {
    color: rgba(255,255,255,0.9);
  }

  .business-lp-hero {
    min-height: 620px;
    padding-top: 7.5rem;
  }

  .business-lp-hero__image img {
    object-position: 68% center;
  }

  .business-lp-actions,
  .business-lp-button {
    width: 100%;
  }

  .business-lp-problem-grid,
  .business-lp-support-grid,
  .business-lp-process {
    grid-template-columns: 1fr;
  }

  .business-lp-process li,
  .business-lp-process li:last-child {
    border-right: none;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-left: 0;
    padding-right: 0;
  }

  .business-lp-final-cta__image {
    min-height: 210px;
  }
}

/* =====================================================
   Internet LP
===================================================== */

.internet-lp-hero .business-lp-hero__image img {
  object-position: 58% center;
}

.internet-lp-problem-grid,
.internet-lp-support-grid,
.internet-lp-fee-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.internet-lp-problem-grid .business-lp-problem-card {
  min-height: 168px;
}

.internet-lp-problem-note {
  width: min(100%, 900px);
  margin: 1.7rem auto 0;
  color: rgba(31,39,35,0.68);
  font-size: 0.92rem;
  line-height: 1.9;
  text-align: center;
}

.business-lp-icon--yen::before {
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: 8px;
  top: 8px;
}

.business-lp-icon--yen::after {
  content: "¥";
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lp-serif);
  font-size: 1.2rem;
  line-height: 1;
}

.business-lp-icon--mail::before {
  width: 38px;
  height: 28px;
  border: 2px solid currentColor;
  left: 6px;
  top: 11px;
}

.business-lp-icon--mail::after {
  width: 25px;
  height: 25px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  left: 12px;
  top: 5px;
  transform: rotate(-45deg);
}

.internet-lp-media {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5.5rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32), transparent 58%),
    var(--lp-bg-soft);
  color: var(--lp-green);
}

.internet-lp-media__inner {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.internet-lp-media h2 {
  margin: 0 0 1.1rem;
  font-family: var(--lp-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.internet-lp-media__copy p:not(.business-lp-kicker) {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.94rem;
  line-height: 2;
}

.internet-lp-media__body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--lp-line);
  background: rgba(255,255,255,0.42);
}

.internet-lp-media__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.internet-lp-media__card {
  position: relative;
  min-height: 116px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--lp-line);
  background: rgba(255,255,255,0.7);
  overflow: hidden;
}

.internet-lp-media__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 30px;
  height: 30px;
  background: rgba(200,161,102,0.72);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.internet-lp-media__card a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  grid-template-areas:
    "num cat"
    "num title"
    "num date";
  align-content: start;
  column-gap: 0.55rem;
  height: 100%;
}

.internet-lp-media__num {
  grid-area: num;
  color: rgba(14,39,34,0.32);
  font-family: var(--lp-serif);
  font-size: 1.34rem;
  line-height: 1;
}

.internet-lp-media__cat,
.internet-lp-media__card time {
  display: block;
  font-family: var(--lp-serif);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.internet-lp-media__cat {
  grid-area: cat;
  margin-top: 0.08rem;
  color: var(--article-cat-color);
}

.internet-lp-media__card time {
  color: rgba(31,39,35,0.46);
}

.internet-lp-media__card h3 {
  grid-area: title;
  margin: 0.26rem 0 0;
  font-family: var(--lp-serif);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--article-title-color);
}

.internet-lp-media__card time {
  grid-area: date;
  margin-top: 0.35rem;
}

.internet-lp-media__card a:hover {
  opacity: 0.72;
}

.internet-lp-media__empty {
  margin: 0;
  padding: 2.5rem 1rem;
  color: var(--lp-muted);
  font-family: var(--lp-serif);
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.internet-lp-media__more {
  margin: 1.35rem 0 0;
  text-align: right;
}

.internet-lp-media__more a {
  color: var(--lp-green);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(14,39,34,0.28);
  padding-bottom: 0.18em;
}

.internet-lp-media__more a:hover {
  opacity: 0.72;
}

.internet-lp-flow {
  background: var(--lp-bg);
}

.internet-lp-flow-list {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.internet-lp-flow-list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 24px;
  height: 1px;
  background: rgba(14,39,34,0.24);
}

.internet-lp-flow-list li {
  position: relative;
  padding: 0 1.5rem;
  text-align: center;
}

.internet-lp-flow-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--lp-green);
  color: rgba(255,255,255,0.94);
  font-family: var(--lp-serif);
  font-size: 0.82rem;
}

.internet-lp-flow-list h3 {
  margin: 0 0 0.7rem;
  font-family: var(--lp-serif);
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.internet-lp-flow-list p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.internet-lp-fees {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent),
    var(--lp-bg-soft);
}

.internet-lp-fee-card {
  min-height: 150px;
  padding: 1.6rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: rgba(255,255,255,0.48);
  border: 1px solid var(--lp-line);
}

.internet-lp-fee-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--lp-serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.internet-lp-fee-card p {
  margin: 0;
  color: var(--lp-green);
  font-family: var(--lp-serif);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

@media (max-width: 980px) {
  .internet-lp-problem-grid,
  .internet-lp-support-grid,
  .internet-lp-fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internet-lp-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .internet-lp-media__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .internet-lp-media__grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .internet-lp-media__body {
    padding: 1.25rem;
  }

  .internet-lp-media__card {
    min-height: auto;
    padding: 0.95rem 1rem 0.9rem;
  }

  .internet-lp-media__card::before {
    width: 20px;
    height: 20px;
  }

  .internet-lp-media__card h3 {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .internet-lp-flow-list::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .internet-lp-problem-grid,
  .internet-lp-support-grid,
  .internet-lp-fee-grid,
  .internet-lp-flow-list {
    grid-template-columns: 1fr;
  }

  .internet-lp-media {
    padding: 3.25rem 1.25rem;
  }

  .internet-lp-media__body {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .internet-lp-media__card {
    padding: 0.95rem 1rem 0.85rem;
    background: rgba(255,255,255,0.72);
  }

  .internet-lp-media__card::before {
    width: 24px;
    height: 24px;
  }

  .internet-lp-media__more {
    margin-top: 1rem;
  }
}

/* =====================================================
   Inheritance LP
===================================================== */

.inheritance-lp-hero .business-lp-hero__image img {
  object-position: 58% center;
}

.inheritance-lp-problem-grid,
.inheritance-lp-support-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.inheritance-lp-problem-grid .business-lp-problem-card {
  min-height: 168px;
}

.inheritance-lp-problem-note {
  width: min(100%, 900px);
  margin: 1.7rem auto 0;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.9;
  text-align: center;
}

.inheritance-lp-message {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5.5rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26), transparent),
    var(--lp-bg);
}

.inheritance-lp-message__inner {
  position: relative;
  width: min(100%, 920px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--lp-line);
  border-left: 4px solid var(--lp-gold);
  background: rgba(255,255,255,0.5);
}

.inheritance-lp-message h2 {
  margin: 0 0 1.2rem;
  color: var(--lp-green);
  font-family: var(--lp-serif);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.inheritance-lp-message p:not(.business-lp-kicker) {
  margin: 0 0 1rem;
  color: var(--lp-muted);
  font-size: 0.95rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

.inheritance-lp-message p:last-child {
  margin-bottom: 0;
}

.inheritance-lp-media {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5.5rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32), transparent 58%),
    var(--lp-bg-soft);
  color: var(--lp-green);
}

.inheritance-lp-media .internet-lp-media__copy,
.inheritance-lp-media .internet-lp-media__body {
  font-family: var(--lp-serif);
}

.inheritance-lp-flow {
  background: var(--lp-bg);
}

.inheritance-lp-fees {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent),
    var(--lp-bg-soft);
}

.inheritance-lp-fee-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.inheritance-lp-fee-grid .internet-lp-fee-card {
  min-height: 176px;
}

.inheritance-lp-fee-grid .internet-lp-fee-card p {
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .inheritance-lp-problem-grid,
  .inheritance-lp-support-grid,
  .inheritance-lp-fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .inheritance-lp-problem-grid,
  .inheritance-lp-support-grid,
  .inheritance-lp-fee-grid {
    grid-template-columns: 1fr;
  }

  .inheritance-lp-message {
    padding: 3.25rem 1.25rem;
  }

  .inheritance-lp-message__inner {
    padding: 1.6rem 1.25rem;
  }

  .inheritance-lp-media {
    padding: 3.25rem 1.25rem;
  }
}
