@charset "UTF-8";
/* ==========================================================
   raty2 テーマ
   会計士UP（カオナビ風）の骨格・モーション × studioのブロンズ配色
   カラートークンは現行studioを踏襲。
   見出しJP: Noto Sans JP / 英字大見出し: Instrument Sans
   ========================================================== */
:root {
  /* studio 由来のブロンズ配色 */
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #16213a;
  --sub: #5d6b85;
  --line: #dbe2f0;
  --accent: #2f5eff;      /* 落ち着いたブロンズ */
  --accent-d: #1e3fd8;
  --dark: #0d1526;
  /* 会計士UP骨格用のエイリアス（役割名→ブロンズ配色に置換） */
  --c-text: var(--ink);
  --c-sub: var(--sub);
  --c-gray: #e9eefb;
  --c-gray2: #dbe2f0;
  --c-line: var(--line);
  --c-accent: var(--accent);
  --font-en: "Instrument Sans", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-kv: cubic-bezier(0.44, 0, 0.19, 0.95);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
body {
  font-family: var(--font-jp);
  font-weight: 400;
  font-feature-settings: "palt";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.center { text-align: center; }

/* フォーカス可視化 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.inner { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
@media (min-width: 1300px) { .inner { padding: 0 48px; } }

/* ==========================================================
   共通: フェードイン
   ========================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo);
}
.fade-in.is-active { opacity: 1; transform: translateY(0); }

/* ==========================================================
   共通: 見出し（巨大EN + JPサブ + 三角デコ）
   ========================================================== */
.heading { position: relative; padding-top: 22px; }
.heading::before {
  content: "";
  position: absolute;
  top: 0; left: 2px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 15px solid var(--accent);
  opacity: 0;
  transform: translateY(14px) rotate(90deg);
  transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.heading__title {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo) 0.05s, transform 1s var(--ease-out-expo) 0.05s;
}
.heading__subtitle {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent-d);
  margin-top: 18px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo) 0.15s, transform 1s var(--ease-out-expo) 0.15s;
}
.heading__text {
  margin-top: 26px;
  letter-spacing: 0.06em;
  line-height: 2;
  color: var(--sub);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo) 0.25s, transform 1s var(--ease-out-expo) 0.25s;
}
.heading.is-active::before { opacity: 1; transform: translateY(0) rotate(180deg); }
.heading.is-active .heading__title,
.heading.is-active .heading__subtitle,
.heading.is-active .heading__text { opacity: 1; transform: translateY(0); }

/* ==========================================================
   共通: ボタン（テキスト + 円形アイコン・矢印スライド）
   ========================================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: var(--ink);
}
.c-btn__text { font-weight: 700; font-size: 15px; letter-spacing: 0.08em; }
.c-btn__icon {
  position: relative;
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  transition: background-color 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}
.c-btn__arrow,
.c-btn__arrow--copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform 0.45s var(--ease-out-expo);
}
.c-btn__arrow--copy { transform: translateX(-160%); }
.c-btn:hover .c-btn__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.c-btn:hover .c-btn__arrow { transform: translateX(160%); }
.c-btn:hover .c-btn__arrow--copy { transform: translateX(0); }
/* 塗りつぶし（主要CTA） */
.c-btn--fill {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px 10px 32px;
  transition: background-color 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo);
}
.c-btn--fill .c-btn__icon { border-color: #fff; width: 46px; height: 46px; }
.c-btn--fill:hover { background: var(--accent); color: #fff; }
.c-btn--fill:hover .c-btn__icon { background: #fff; border-color: #fff; color: var(--ink); }

/* ==========================================================
   ヘッダー（フローティング・ピル型）
   ========================================================== */
.l-header {
  position: fixed;
  top: min(2.2vw, 32px);
  left: 0; right: 0;
  z-index: 100;
  padding: 0 min(2.2vw, 32px);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.l-header.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 10px 12px 10px 28px;
  box-shadow: 0 8px 32px rgba(33, 29, 25, 0.08);
}
/* ロゴを左端に固定し、ナビ＋CTAを右へ寄せる */
.l-header__logo { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.l-header__logo .name {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.l-header__logo .tag { font-size: 10px; color: var(--accent); letter-spacing: 0.2em; }
.l-header__nav { margin-right: 26px; }
.l-header__nav ul { display: flex; gap: 30px; }
.l-header__nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}
.l-header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}
.l-header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.l-header__cta {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background-color 0.3s, transform 0.3s;
}
.l-header__cta:hover { background: var(--ink); color: #fff; transform: scale(1.04); }

/* ハンバーガー */
.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}
.menu-toggle span { width: 20px; height: 2px; background: #fff; transition: 0.35s var(--ease-out-expo); }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1023px) {
  .l-header__nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    margin-right: 0;
    padding: 110px 8vw 40px;
    background: var(--bg);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 20px 60px rgba(33, 29, 25, 0.15);
    transform: translateY(-110%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
  }
  .l-header__nav.open { transform: translateY(0); }
  .l-header__nav ul { flex-direction: column; gap: 8px; }
  .l-header__nav a { display: block; font-size: 16px; padding: 12px 0; }
  .menu-toggle { display: flex; }
  .l-header__cta { display: none; }
}

/* ==========================================================
   KV（100svh・三角形パネル + 巨大タイトル）
   ブロンズ〜ダークブラウンのグラデに置換
   ========================================================== */
.kv {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 72% 8%, #16244c 0%, #0d1526 58%);
}
.kv__bg { position: absolute; inset: 0; pointer-events: none; }
/* 細いグリッド(夜景の設計図) */
.kv__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(107, 140, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(107, 140, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 40%, transparent 90%);
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 40%, transparent 90%);
  opacity: 0;
  transition: opacity 1.4s var(--ease-kv) 0.2s;
}
/* にじむ光 */
.kv__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0;
  transition: opacity 1.6s var(--ease-kv);
  animation: kvFloat 16s ease-in-out infinite alternate;
}
.kv__glow--a {
  width: 520px; height: 520px;
  right: -120px; top: -140px;
  background: radial-gradient(closest-side, rgba(47, 94, 255, 0.32), transparent 72%);
  transition-delay: 0.4s;
}
.kv__glow--b {
  width: 380px; height: 380px;
  left: -100px; bottom: -80px;
  background: radial-gradient(closest-side, rgba(30, 63, 216, 0.26), transparent 72%);
  animation-delay: -8s;
  transition-delay: 0.6s;
}
@keyframes kvFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(-28px, 24px); }
}
/* 伴走の軌跡ライン(左下から右上へ描画) */
.kv__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.kv__route-line {
  stroke: #4a72ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(74, 114, 255, 0.55));
  transition: stroke-dashoffset 2.4s var(--ease-kv) 0.6s;
}
.kv__node {
  fill: #8aa4ff;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(122, 152, 255, 0.9));
  transition: opacity 0.6s var(--ease-kv);
}
.kv__node--1 { transition-delay: 1.4s; }
.kv__node--2 { transition-delay: 1.9s; }
.kv__node--3 { transition-delay: 2.4s; }
body.is-loaded .kv__grid { opacity: 1; }
body.is-loaded .kv__glow { opacity: 1; }
body.is-loaded .kv__route-line { stroke-dashoffset: 0; }
body.is-loaded .kv__node { opacity: 1; }

.kv__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kv__title {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(42px, 8.6vw, 118px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #ffffff;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-kv) 0.5s;
}
.kv__title em { font-style: italic; color: #6b8cff; }
.kv__subtitle {
  margin-top: 24px;
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 19px);
  letter-spacing: 0.14em;
  color: #b9c6e8;
  text-align: center;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s var(--ease-kv) 0.9s;
}
body.is-loaded .kv__title,
body.is-loaded .kv__subtitle { clip-path: inset(0 0 0 0); }

.kv__scroll {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.kv__scroll-text {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}
.kv__scroll-line {
  position: relative;
  width: 1px; height: 72px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.kv__scroll-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--accent);
  animation: scrollDown 2s var(--ease-out-expo) infinite;
}
@keyframes scrollDown {
  0% { top: -12px; }
  60%, 100% { top: 76px; }
}

/* ==========================================================
   イントロ（ステートメント）
   ========================================================== */
.intro { padding: clamp(90px, 12vw, 170px) 0; }
.intro__lead { max-width: 900px; margin: 0 auto; padding: 0 6vw; }
.intro__line {
  display: block;
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 30px);
  line-height: 2.1;
  letter-spacing: 0.1em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.intro__line.is-active { opacity: 1; transform: translateY(0); }
.intro__line--em {
  margin-top: 0.4em;
  background: linear-gradient(transparent 68%, rgba(168, 127, 83, 0.35) 68%, rgba(168, 127, 83, 0.35) 94%, transparent 94%);
  display: inline-block;
}

/* ==========================================================
   About（数字カウント・多角形背景）
   ========================================================== */
.about { position: relative; padding: clamp(70px, 9vw, 140px) 0; }
.about__bg {
  position: absolute;
  top: clamp(30px, 6vw, 90px);
  left: 0;
  width: 62%;
  height: 78%;
  background: var(--c-gray);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  z-index: -1;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about__stats { display: grid; gap: 14px; padding-top: 30px; }
.stat {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 32px 22px;
  display: flex;
  align-items: baseline;
  gap: 22px;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 14px solid var(--accent);
  border-right: 14px solid transparent;
}
.stat__value {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  min-width: 2.6em;
}
.stat__value small { font-size: 0.38em; font-weight: 700; margin-left: 2px; font-family: var(--font-jp); color: var(--sub); }
.stat__label { font-weight: 700; font-size: 15px; letter-spacing: 0.08em; color: var(--ink); }
.stat__note { font-size: 11px; color: var(--sub); display: block; margin-top: 2px; font-weight: 400; }

/* ==========================================================
   Service（3カード・三角切り欠きサムネ）
   ========================================================== */
.service { padding: clamp(70px, 9vw, 140px) 0; }
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(40px, 6vw, 70px);
}
.svc-card { display: block; }
.svc-card__thumb {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform 0.5s var(--ease-out-expo);
}
.svc-card:hover .svc-card__thumb { transform: translateY(-8px); }
.svc-card__thumb--a { background: linear-gradient(130deg, #0d1526, #1e3fd8); }
.svc-card__thumb--b { background: linear-gradient(130deg, #0d1526, #1e3fd8 60%, #2f5eff 130%); }
.svc-card__thumb--c { background: linear-gradient(130deg, #1e3fd8, #2f5eff); }
.svc-card__thumb .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.85;
  margin-bottom: 8px;
}
.svc-card__thumb .copy { font-size: 26px; font-weight: 900; line-height: 1.4; }
.svc-card__text { color: var(--sub); font-size: 14px; margin-top: 18px; letter-spacing: 0.04em; }

/* ==========================================================
   Reason（選ばれる理由・カードグリッド）
   ========================================================== */
.reason { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.reason__bg {
  position: absolute;
  top: clamp(140px, 16vw, 240px);
  right: 0;
  width: 74%;
  height: calc(100% - clamp(180px, 20vw, 300px));
  background: var(--c-gray);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
/* 5枚を 3+2 で並べる。最終行（2枚）は中央寄せで崩れないようにする */
.reason__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(40px, 6vw, 70px);
}
.reason-card {
  /* 3列想定の1枚幅（gapを差し引いた1/3）。折り返して 3+2 になる */
  flex: 1 1 calc((100% - clamp(20px, 3vw, 36px) * 2) / 3);
  max-width: calc((100% - clamp(20px, 3vw, 36px) * 2) / 3);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 44px);
  position: relative;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}
.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(33, 29, 25, 0.10);
}
.reason-card__num {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  color: var(--c-gray2);
  transition: color 0.4s;
}
.reason-card:hover .reason-card__num { color: var(--accent); }
.reason-card__title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ink);
  margin: 18px 0 12px;
}
.reason-card__text { color: var(--sub); font-size: 14px; letter-spacing: 0.04em; }
.reason__viewall { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.reason__viewall .c-btn { justify-content: center; }

/* ==========================================================
   Column（コラム・カード型グリッド）
   ========================================================== */
.column-sec { padding: clamp(70px, 9vw, 140px) 0; }
.column-sec .heading { margin-bottom: clamp(40px, 6vw, 70px); }
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.column-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
  position: relative;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}
.column-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 14px solid var(--accent);
  border-right: 14px solid transparent;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.column-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(33, 29, 25, 0.10);
}
.column-card:hover::before { opacity: 1; }
.column-card__date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--sub);
  letter-spacing: 0.06em;
}
.column-card__title {
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 12px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.column-card:hover .column-card__title { color: var(--accent-d); }
.column-card__excerpt {
  font-size: 14px;
  color: var(--sub);
  letter-spacing: 0.04em;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.column-sec__viewall { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.column-sec__viewall .c-btn { justify-content: center; }
/* カテゴリアーカイブでの余白調整 */
.column-grid--archive { margin-bottom: clamp(20px, 3vw, 40px); }

/* ==========================================================
   選ばれる理由 詳細ページ（page-reason.php）
   ========================================================== */
.reason-detail { padding: clamp(30px, 4vw, 60px) 0 clamp(60px, 8vw, 110px); }
.reason-detail .inner { max-width: 900px; }
.reason-detail__item {
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.reason-detail__item:first-child { padding-top: 0; }
.reason-detail__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 28px);
}
.reason-detail__num {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}
.reason-detail__titles { padding-top: 4px; }
.reason-detail__title {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--ink);
}
.reason-detail__lead {
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  color: var(--accent-d);
  letter-spacing: 0.04em;
  margin-top: 8px;
}
.reason-detail__body {
  margin-top: clamp(16px, 2vw, 22px);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ==========================================================
   Works（事例カルーセル）
   ========================================================== */
.works { padding: clamp(70px, 9vw, 140px) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.carousel-nav { display: flex; gap: 12px; }
.carousel-nav button {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--panel);
  cursor: pointer;
  font-size: 17px;
  color: var(--ink);
  transition: background-color 0.35s var(--ease-out-expo), color 0.35s;
}
.carousel-nav button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.carousel {
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 5vw 20px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.works-card {
  flex: 0 0 min(400px, 80vw);
  scroll-snap-align: start;
  display: block;
}
.works-card__thumb {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform 0.5s var(--ease-out-expo);
}
.works-card:hover .works-card__thumb { transform: translateY(-8px); }
.works-card__thumb--a { background: linear-gradient(130deg, #0d1526, #1e3fd8); }
.works-card__thumb--b { background: linear-gradient(130deg, #0d1526, #1e3fd8 60%, #2f5eff 130%); }
.works-card__thumb--c { background: linear-gradient(130deg, #1e3fd8, #2f5eff); }
.works-card__thumb .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.85;
  margin-bottom: 8px;
}
.works-card__thumb .copy {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.works-card__excerpt {
  margin-top: 16px;
  font-size: 14px;
  color: var(--sub);
  letter-spacing: 0.04em;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.works-card__meta {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--sub);
  letter-spacing: 0.06em;
}
.works__viewall { text-align: center; padding: clamp(30px, 4vw, 50px) 0 0; }
.works__viewall .c-btn { justify-content: center; }

/* ==========================================================
   News
   ========================================================== */
.news-sec { padding: clamp(70px, 9vw, 140px) 0; }
.news-sec .heading { margin-bottom: clamp(40px, 6vw, 70px); }
.news-sec__viewall { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.news-sec__viewall .c-btn { justify-content: center; }

/* お知らせ等 投稿一覧（共通） */
.postlist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.postlist__item { border-bottom: 1px solid var(--line); }
.postlist__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 26px;
  padding: clamp(22px, 3vw, 32px) 4px;
  transition: background-color 0.3s;
}
.postlist__link:hover { background: var(--c-gray); }
.postlist__date {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--sub);
  letter-spacing: 0.06em;
  min-width: 8em;
}
.postlist__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-d);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 12px;
}
.postlist__title { font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; letter-spacing: 0.04em; flex: 1; color: var(--ink); }
.postlist__link:hover .postlist__title { color: var(--accent-d); }

/* ==========================================================
   Contact CTA帯（会計士UPのentry相当・ブロンズ）
   ========================================================== */
.entry-cta-band {
  position: relative;
  padding: clamp(90px, 12vw, 180px) 0;
  background: var(--dark);
  color: #fff;
  clip-path: polygon(0 clamp(30px, 4vw, 60px), 55% 0, 100% clamp(40px, 5.5vw, 84px), 100% 100%, 0 100%);
  text-align: center;
  overflow: hidden;
}
.entry-cta-band__deco {
  position: absolute;
  right: -6%; top: 12%;
  width: 0; height: 0;
  border-left: clamp(90px, 12vw, 180px) solid transparent;
  border-right: clamp(90px, 12vw, 180px) solid transparent;
  border-bottom: clamp(150px, 20vw, 300px) solid rgba(168, 127, 83, 0.16);
  transform: rotate(24deg);
}
.entry-cta-band__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 110px);
  line-height: 1;
  color: #fff;
}
.entry-cta-band__copy {
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: 0.08em;
  margin-top: clamp(24px, 4vw, 40px);
  color: #fff;
}
.entry-cta-band__text { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-top: 14px; letter-spacing: 0.05em; }
.entry-cta-band__buttons {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(36px, 5vw, 56px);
  flex-wrap: wrap;
}
.entry-cta-band .c-btn--fill { background: var(--accent); }
.entry-cta-band .c-btn--fill:hover { background: #fff; color: var(--ink); }
.entry-cta-band .c-btn--fill:hover .c-btn__icon { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ==========================================================
   フッター
   ========================================================== */
.l-footer { background: var(--dark); color: #fff; padding: clamp(60px, 8vw, 100px) 0 0; }
.l-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.l-footer__logo .name { font-weight: 900; font-size: 26px; letter-spacing: 0.06em; }
.l-footer__logo .tag { display: block; font-size: 11px; color: var(--accent); margin-top: 6px; letter-spacing: 0.14em; }
.l-footer__about { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-top: 22px; max-width: 380px; }
.l-footer__col h4 {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}
.l-footer__col li { margin-bottom: 12px; }
.l-footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.l-footer__col a:hover { color: var(--accent); }
.l-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.l-footer__copy { font-family: var(--font-en); font-size: 12px; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.06em; }

/* ==========================================================
   下層: ページヒーロー / 本文 / 一覧
   ========================================================== */
.page-hero { padding: clamp(150px, 18vw, 240px) 0 clamp(50px, 7vw, 90px); position: relative; }
.page-hero__bg {
  position: absolute;
  top: 0; right: 0;
  width: 46%;
  height: 82%;
  background: var(--c-gray);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.page-hero__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.page-hero__title { font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: 0.06em; margin-top: 14px; color: var(--ink); }
.breadcrumb {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sub);
  margin-top: 26px;
}
.breadcrumb a:hover { color: var(--accent); }

.entry-page { padding: clamp(20px, 3vw, 40px) 0 clamp(90px, 11vw, 160px); }
.entry-page .inner { max-width: 880px; }
.entry-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.entry-detail__date {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--sub);
}
.entry-detail__cats a { font-size: 12px; font-weight: 700; color: var(--accent-d); }
.entry-detail__cats a:hover { text-decoration: underline; }
.entry-detail__thumb { margin-bottom: clamp(30px, 4vw, 50px); }
.entry-detail__thumb img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

/* 本文（記事・固定ページ共通） */
.entry-body {
  line-height: 2;
  letter-spacing: 0.04em;
  font-size: 15.5px;
  color: var(--ink);
}
.entry-body h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: clamp(36px, 4vw, 56px) 0 18px;
  padding-left: 16px;
  border-left: 6px solid var(--accent);
}
.entry-body h3 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: clamp(28px, 3vw, 40px) 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.entry-body p { margin-bottom: 1.4em; }
.entry-body ul, .entry-body ol { margin: 0 0 1.4em 1.4em; }
.entry-body ul { list-style: none; }
.entry-body ol { list-style: decimal; }
.entry-body ol::marker,
.entry-body ol li::marker { color: var(--accent); font-weight: 700; }
/* ul は点の色を青トークンに（擬似要素で描画） */
.entry-body ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
}
.entry-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.entry-body ol li { margin-bottom: 6px; }
.entry-body a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 2px; }
.entry-body a:hover { color: var(--accent); }
.entry-body img { margin: 20px 0; border-radius: 2px; }
.entry-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--c-gray);
  padding: 16px 22px;
  color: var(--sub);
  margin: 0 0 1.4em;
}
.entry-body blockquote p:last-child { margin-bottom: 0; }

/* --- 定義リスト（会社概要・プロフィール等） 2カラムグリッド --- */
.entry-body dl {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  margin: 0 0 1.6em;
  border-top: 1px solid var(--line);
}
.entry-body dl dt {
  padding: 16px 18px 16px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--c-gray);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.entry-body dl dd {
  padding: 16px 8px 16px 24px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  color: var(--ink);
}

/* --- テーブル（会社概要・料金表等） --- */
.entry-body .table-wrap,
.entry-body figure.wp-block-table {
  overflow-x: auto;
  margin: 0 0 1.6em;
  -webkit-overflow-scrolling: touch;
}
.entry-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}
.entry-body th,
.entry-body td {
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  letter-spacing: 0.03em;
}
.entry-body thead th { background: #e9eefb; color: var(--ink); font-weight: 700; }
/* 行頭見出しセル（縦見出し）にも淡ブルー */
.entry-body tbody th { background: #e9eefb; font-weight: 700; white-space: nowrap; }
.entry-body tbody tr:nth-child(even) td { background: rgba(233, 238, 251, 0.35); }
.entry-body caption { text-align: left; color: var(--sub); font-size: 13px; margin-bottom: 8px; }

@media (max-width: 600px) {
  /* dl はスマホで縦積み */
  .entry-body dl { grid-template-columns: 1fr; }
  .entry-body dl dt { border-bottom: none; }
  .entry-body dl dd { padding-left: 16px; }
}
.entry-back { margin-top: clamp(40px, 5vw, 64px); }
.entry-back.center { display: flex; justify-content: center; }

/* 一覧（アーカイブ） */
.seminar-list { padding: clamp(20px, 3vw, 40px) 0 clamp(90px, 11vw, 160px); }
.archive-search { display: flex; gap: 8px; max-width: 460px; margin: 0 0 clamp(40px, 5vw, 60px); }
.archive-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-family: inherit;
  font-size: 14px;
}
.archive-search input:focus { outline: none; border-color: var(--accent); }
.archive-search button {
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s;
}
.archive-search button:hover { background: var(--accent); }
.archive-empty { color: var(--sub); text-align: center; padding: 40px 0; }

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(48px, 6vw, 80px);
  font-family: var(--font-en);
}
.pagination a, .pagination span {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: 0.3s;
}
.pagination a:hover { border-color: var(--ink); background: var(--accent); color: #fff; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 404 */
.notfound-text { color: var(--sub); margin-bottom: 30px; }

/* ==========================================================
   お問い合わせフォーム
   ========================================================== */
.contact-inner { max-width: 640px !important; }
.contact-lead { color: var(--sub); text-align: center; margin: 0 0 clamp(30px, 4vw, 48px); letter-spacing: 0.04em; }
.contact-thanks { font-size: 18px; font-weight: 700; text-align: center; line-height: 2; margin-bottom: 40px; }
.form-errors {
  background: #fbecec;
  border: 1px solid #e6c9c9;
  color: #9a3b3b;
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 26px;
}
.hp-field { position: absolute; left: -9999px; }
.f-field { margin-bottom: 22px; }
.f-field label { display: block; font-size: 13px; letter-spacing: 0.06em; color: var(--ink); font-weight: 700; margin-bottom: 7px; }
.f-field .req { color: var(--accent); }
.f-field input, .f-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  font-size: 15px;
  font-family: inherit;
}
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--accent); }
.contact-submit { margin-top: 34px; }
.contact-submit .c-btn { justify-content: center; }

/* ==========================================================
   スマホ用 固定お問い合わせバー
   ========================================================== */
.m-cta { display: none; }
@media (max-width: 820px) {
  .m-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    gap: 1px;
    background: var(--line);
    box-shadow: 0 -2px 14px rgba(33, 29, 25, 0.18);
  }
  .m-cta a { flex: 1; text-align: center; padding: 16px 0; font-size: 14px; letter-spacing: 0.1em; font-weight: 700; }
  .m-cta .m-tel { background: var(--ink); color: #fff; }
  .m-cta .m-contact { background: var(--accent); color: #fff; }
  body { padding-bottom: 54px; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__bg { width: 86%; }
  .service__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  /* Reason は flex。中間幅では2列、狭幅では1列に */
  .reason-card {
    flex: 1 1 calc((100% - clamp(20px, 3vw, 36px)) / 2);
    max-width: calc((100% - clamp(20px, 3vw, 36px)) / 2);
  }
  .column-grid { grid-template-columns: 1fr 1fr; }
  .l-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .reason-card { flex-basis: 100%; max-width: 100%; }
  .column-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .works__head { flex-direction: column; align-items: flex-start; }
  .carousel-nav { display: none; }
  .kv__title { font-size: 12.5vw; }
}

/* ============================================================
   相談の流れ（page-flow.php）ジグザグレイアウト
   ============================================================ */
.flow-zig { padding: 30px 0 110px; }
.flow-zig__lead {
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 64px;
}
.flow-zig__track {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
/* 中央を貫く軌跡ライン（KVの「伴走の軌跡」と呼応） */
.flow-zig__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent) 70px,
    var(--accent) calc(100% - 70px),
    transparent
  );
  opacity: 0.3;
}
.flow-zig__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  margin-bottom: 56px;
}
.flow-zig__item:last-child { margin-bottom: 0; }
.flow-zig__node {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 8px var(--bg), 0 12px 26px rgba(47, 94, 255, 0.22);
  position: relative;
  z-index: 1;
}
.flow-zig__card {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 34px;
  box-shadow: 0 14px 34px rgba(13, 21, 38, 0.05);
}
.flow-zig__item:nth-child(even) .flow-zig__card { grid-column: 3; }
/* カードと中央ノードをつなぐ接続線 */
.flow-zig__card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -34px;
  width: 34px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}
.flow-zig__item:nth-child(even) .flow-zig__card::after {
  right: auto;
  left: -34px;
}
.flow-zig__step {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--accent-d);
  margin-bottom: 8px;
}
.flow-zig__title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.flow-zig__text {
  font-size: 0.94rem;
  line-height: 1.9;
  color: rgba(22, 33, 58, 0.78);
}

@media (max-width: 768px) {
  .flow-zig { padding-bottom: 80px; }
  .flow-zig__lead { margin-bottom: 44px; }
  /* SPは左寄せ1本ラインの縦タイムラインに切り替え */
  .flow-zig__track::before { left: 28px; }
  .flow-zig__item {
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    margin-bottom: 36px;
    align-items: flex-start;
  }
  .flow-zig__node {
    grid-column: 1;
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
    box-shadow: 0 0 0 6px var(--bg), 0 10px 20px rgba(47, 94, 255, 0.2);
  }
  .flow-zig__card,
  .flow-zig__item:nth-child(even) .flow-zig__card {
    grid-column: 2;
    padding: 22px 22px;
  }
  .flow-zig__card::after,
  .flow-zig__item:nth-child(even) .flow-zig__card::after {
    right: auto;
    left: -18px;
    width: 18px;
  }
}

/* ============================================================
   お客様の声（page-voice.php）カード3列グリッド
   ============================================================ */
.voice-sec { padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 9vw, 120px); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}
.voice-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 38px) clamp(24px, 2.6vw, 32px);
  box-shadow: 0 14px 34px rgba(13, 21, 38, 0.05);
}
.voice-card__avatar {
  display: inline-flex;
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin-bottom: 20px;
}
/* 4人分で色みに少し変化をつける */
.voice-card--a .voice-card__avatar { color: var(--accent); }
.voice-card--b .voice-card__avatar { color: var(--accent-d); }
.voice-card--c .voice-card__avatar { color: #4b74ff; }
.voice-card--d .voice-card__avatar { color: #2743a8; }
.voice-card__avatar svg { width: 56px; height: 56px; }
.voice-card__quote {
  position: relative;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 22px;
  padding-top: 8px;
}
.voice-card__quote::before {
  content: "\201C";
  font-family: var(--font-en);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: -14px;
  left: -4px;
}
.voice-card__cite {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--sub);
}
.voice-card__name { font-weight: 700; color: var(--ink); }
.voice-card__meta { color: var(--sub); }
.voice-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--sub);
  margin-top: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .voice-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   コンセプト（page-concept.php）
   ============================================================ */
/* 導入 */
.concept-intro { padding: clamp(30px, 4vw, 56px) 0 clamp(20px, 3vw, 40px); }
.concept-intro .inner { max-width: 860px; }
.concept-intro__catch {
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
}
.concept-intro__lead {
  font-size: 1rem;
  line-height: 2;
  color: rgba(22, 33, 58, 0.82);
}

/* メディアブロック（テキスト×SVG交互） */
.concept-media { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 70px); }
.media-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(32px, 4vw, 56px) 0;
}
.media-block + .media-block { border-top: 1px solid var(--line); }
/* 奇数ブロックは画像を右、偶数は画像を左に */
.media-block:nth-child(even) .media-block__text { order: 2; }
.media-block:nth-child(even) .media-block__figure { order: 1; }
.media-block__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}
.media-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.media-block__text p {
  font-size: 0.98rem;
  line-height: 2;
  color: rgba(22, 33, 58, 0.82);
  margin-bottom: 1.2em;
}
.media-block__text p:last-child { margin-bottom: 0; }
.media-block__figure {
  display: flex;
  justify-content: center;
}
.media-block__figure svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* 距離が近い 4項目リスト（太字見出し＋説明） */
.concept-points { margin-top: 8px; }
.concept-points li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px dashed var(--line);
}
.concept-points li:last-child { border-bottom: none; }
.concept-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.concept-points__head {
  display: block;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.concept-points__desc {
  display: block;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(22, 33, 58, 0.78);
}

/* 大切にしている3つのこと（3枚カード） */
.concept-values { padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 8vw, 110px); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  margin-top: clamp(30px, 4vw, 50px);
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(30px, 3.4vw, 42px) clamp(24px, 2.6vw, 32px);
  text-align: center;
  box-shadow: 0 14px 34px rgba(13, 21, 38, 0.05);
}
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--c-gray);
  margin-bottom: 20px;
}
.value-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.value-card__text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(22, 33, 58, 0.78);
}
@media (max-width: 860px) {
  .media-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* SPは縦積み：テキストを上、図を下に統一 */
  .media-block:nth-child(even) .media-block__text,
  .media-block:nth-child(even) .media-block__figure { order: initial; }
  .media-block__figure { order: 2; }
  .media-block__figure svg { max-width: 300px; }
  .values-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   プロフィール（page-company.php）プロフィールカード
   ============================================================ */
.company-sec { padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 9vw, 120px); }
.company-sec .inner { max-width: 780px; }
.profile-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(14px, 2vw, 26px) clamp(24px, 3vw, 44px);
  box-shadow: 0 18px 40px rgba(13, 21, 38, 0.06);
  overflow: hidden;
}
/* 上辺のアクセントライン */
.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-d));
}
.profile-card__row {
  display: grid;
  grid-template-columns: 44px 130px 1fr;
  align-items: center;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.profile-card__row:last-child { border-bottom: none; }
.profile-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-gray);
}
.profile-card__label {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--sub);
}
.profile-card__value {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
}
@media (max-width: 600px) {
  .profile-card__row {
    grid-template-columns: 40px 1fr;
    row-gap: 4px;
  }
  .profile-card__label { grid-column: 2; }
  .profile-card__value { grid-column: 2; }
  .profile-card__icon { grid-row: 1 / span 2; align-self: start; }
}

/* ============================================================
   お問い合わせフォーム（Contact Form 7）
   .entry-body .wpcf7 配下でフォーム項目を整形する
   ============================================================ */
.entry-body .wpcf7 {
  max-width: 760px;
  margin: 0 auto;
}
.entry-body .wpcf7 p { margin-bottom: 22px; }
.entry-body .wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 8px;
}
/* 項目名の後ろに付ける「※必須」バッジ */
.entry-body .wpcf7 .cf-req {
  color: #d43c3c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.entry-body .wpcf7 input[type="text"],
.entry-body .wpcf7 input[type="email"],
.entry-body .wpcf7 input[type="tel"],
.entry-body .wpcf7 input[type="url"],
.entry-body .wpcf7 input[type="number"],
.entry-body .wpcf7 select,
.entry-body .wpcf7 textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s;
}
.entry-body .wpcf7 textarea { min-height: 160px; resize: vertical; }
.entry-body .wpcf7 input:focus,
.entry-body .wpcf7 select:focus,
.entry-body .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 94, 255, 0.12);
}
/* 送信ボタン（青背景ピル・ホバーで濃色） */
.entry-body .wpcf7 input[type="submit"] {
  display: inline-block;
  min-width: 220px;
  margin-top: 10px;
  padding: 15px 40px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s;
}
.entry-body .wpcf7 input[type="submit"]:hover { background: var(--accent-d); }
/* CF7 のバリデーション表示 */
.entry-body .wpcf7 .wpcf7-not-valid-tip {
  color: #d43c3c;
  font-size: 12.5px;
  margin-top: 6px;
}
.entry-body .wpcf7-response-output {
  border-radius: 4px !important;
  font-size: 13.5px;
  padding: 12px 16px !important;
}

/* ============================================================
   サービス（page-service.php）3事業のジグザグ（左右交互）
   ビジュアル面（大番号＋抽象SVG）とテキスト面を01→02→03で交互配置。
   .flow-zig / .concept-media のトーンを踏襲。
   ============================================================ */
.service-zig { padding: clamp(20px, 3vw, 40px) 0 clamp(50px, 7vw, 90px); }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 4.5vw, 68px);
  padding: clamp(40px, 5vw, 72px) 0;
}
.service-block + .service-block { border-top: 1px solid var(--line); }
/* 偶数（02）はビジュアルを右、テキストを左に入れ替え */
.service-block:nth-child(even) .service-block__visual { order: 2; }
.service-block:nth-child(even) .service-block__text { order: 1; }

/* ビジュアル面：大番号＋抽象SVG */
.service-block__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 4px;
  background: linear-gradient(150deg, var(--c-gray) 0%, #fff 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.service-block__num {
  position: absolute;
  top: clamp(8px, 1.4vw, 18px);
  left: clamp(12px, 1.8vw, 24px);
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(56px, 10vw, 118px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
  opacity: 0.14;
  pointer-events: none;
}
.service-block__figure {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}
.service-block__figure svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* テキスト面 */
.service-block__cat {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.service-block__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
}
.service-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.service-block__lead {
  font-size: 0.98rem;
  line-height: 2;
  color: rgba(22, 33, 58, 0.82);
  margin-bottom: 1em;
}
.service-block__note {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(22, 33, 58, 0.7);
  background: var(--c-gray);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 1.4em;
}
.service-block__label {
  font-family: "Instrument Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 22px 0 10px;
  padding-left: 14px;
  position: relative;
}
.service-block__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ラベル＋説明のリスト（.concept-points 準拠） */
.service-points { margin: 0; }
.service-points li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px dashed var(--line);
}
.service-points li:last-child { border-bottom: none; }
.service-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.service-points__head {
  display: block;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.service-points__desc {
  display: block;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(22, 33, 58, 0.78);
}

/* チェックマーク付きリスト（こんな方におすすめ / 事例） */
.service-check { margin: 0; }
.service-check li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(22, 33, 58, 0.82);
}
.service-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.14;
}
.service-check li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent-d);
  border-bottom: 2px solid var(--accent-d);
  transform: rotate(-45deg);
}

/* 制作事例への控えめなテキストリンク */
.service-block__morelink {
  margin-top: 24px;
}
.service-block__morelink a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-d);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.service-block__morelink a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.service-block__morearrow { transition: transform 0.25s; }
.service-block__morelink a:hover .service-block__morearrow { transform: translateX(4px); }

@media (max-width: 860px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0;
  }
  /* SPは縦積み：ビジュアル→テキストの順に統一 */
  .service-block:nth-child(even) .service-block__visual,
  .service-block:nth-child(even) .service-block__text { order: initial; }
  .service-block__visual { order: 1; }
  .service-block__text { order: 2; }
  .service-block__figure svg { max-width: 260px; }
  .service-block__num { font-size: clamp(52px, 16vw, 88px); }
}
