@charset "utf-8";
/*
 * =========================================================
 *  FLICO LAB v3 — Midnight Studio Design System
 *  "Midnight Studio" — Deep Navy × Warm Coral-Gold
 * =========================================================
 */

/* ================================
   TOKENS
================================ */
:root {
  --bg:    #07090e;
  --bg2:   #0d1118;
  --bg3:   #131820;
  --cream: #f4f1eb;
  --cream2:#e8e4dc;
  --text:  #eae6de;
  --text2: #6e6b64;
  --gold:  #e07d5e;
  --blue:  #5ab4e8;
  --border: rgba(234,230,222,.07);
  --border-cream: rgba(0,0,0,.08);

  --ff-display: 'PT+Serif','Noto Serif JP',serif;
  --ff-jp:      'Noto Serif JP',serif;
  --ff-body:    'Noto Sans JP',sans-serif;
  --ff-mono:    'DM Mono',monospace;

  --ease:  cubic-bezier(.22,1,.36,1);
  --ease2: cubic-bezier(.4,0,.2,1);
}

/* ================================
   BASE RESET
================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  background: var(--bg);
  font-family: var(--ff-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
ul, ol { list-style: none; padding: 0; margin: 0 }
button { font-family: var(--ff-body); cursor: pointer }

/* ================================
   SCROLL REVEAL
================================ */
/* JSが有効な時だけ「隠してから出す」演出。
   インスタ/X等のアプリ内ブラウザでJSが動かなくてもコンテンツは表示される。 */
.js [data-r] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-r].vis { opacity: 1; transform: translateY(0) }
[data-r][data-d="1"] { transition-delay: .1s }
[data-r][data-d="2"] { transition-delay: .2s }
[data-r][data-d="3"] { transition-delay: .3s }
[data-r][data-d="4"] { transition-delay: .4s }
[data-r][data-d="5"] { transition-delay: .5s }
[data-r][data-d="6"] { transition-delay: .6s }

/* ================================
   UTILS
================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.ms-label {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.ms-sec-num {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.ms-sec-num::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--text2);
}
.ms-heading {
  font-family: var(--ff-jp);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
}

/* Buttons */
.ms-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  border-radius: 2px;
  transition: all .3s var(--ease2);
}
.ms-btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.ms-btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,125,94,.35);
}
.ms-btn-outline {
  border: 1px solid rgba(234,230,222,.25);
  color: var(--text);
}
.ms-btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}
.ms-btn-gold-o {
  border: 1px solid rgba(224,125,94,.45);
  color: var(--gold);
}
.ms-btn-gold-o:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}
.ms-btn-dark-o {
  border: 1px solid rgba(0,0,0,.2);
  color: #1a1714;
}
.ms-btn-dark-o:hover {
  background: #1a1714;
  color: var(--cream);
  transform: translateY(-2px);
}

@media (max-width: 768px) { .container { padding: 0 24px } }

/* ================================
   PRELOADER
================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity .7s var(--ease), visibility .7s;
}
#preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* JSが動かない環境ではプリローダーが画面を覆い続けないようにする */
html.no-js #preloader { display: none; }
.preloader-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--text);
  margin-bottom: 0;
}
.preloader-bar {
  width: 96px;
  height: 1px;
  background: rgba(234,230,222,.1);
  overflow: hidden;
  border-radius: 0;
}
.preloader-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: plFill .85s var(--ease) forwards;
}
@keyframes plFill { from { width: 0 } to { width: 100% } }

/* ================================
   BACK TO TOP
================================ */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: rgba(13,17,24,.85);
  border: 1px solid rgba(224,125,94,.35);
  border-radius: 2px;
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: .55rem;
  letter-spacing: .1em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
  backdrop-filter: blur(8px);
}
#backToTop.is-visible { opacity: 1; visibility: visible }
#backToTop:hover { transform: translateY(-3px) }

/* ================================
   LINE FLOAT BUTTON
================================ */
.float-line-btn {
  position: fixed;
  bottom: 84px;
  right: 32px;
  z-index: 500;
  background: #06C755;
  border-radius: 2px;
  color: #fff;
  font-family: var(--ff-mono);
  font-size: .55rem;
  letter-spacing: .1em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 44px;
  height: 44px;
  text-decoration: none;
  transition: transform .3s;
  backdrop-filter: blur(8px);
}
.float-line-btn svg { width: 22px; height: 22px; }
.float-line-btn span { font-size: .55rem; }
.float-line-btn:hover { transform: translateY(-3px); opacity: 1; }

/* ================================
   HEADER
================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 26px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header-inner { display: contents }
.site-header.is-scrolled {
  background: rgba(7,9,14,.88);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
  border-bottom-color: var(--border);
}
.logo img {
  height: 30px;
  filter: brightness(0) invert(1);
}
.gnav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.gnav a {
  font-size: .78rem;
  letter-spacing: .07em;
  color: rgba(234,230,222,.65);
  transition: color .2s;
}
.gnav a:hover { color: var(--text) }
.gnav .cta-nav {
  padding: 8px 20px;
  border: 1px solid rgba(224,125,94,.4);
  border-radius: 2px;
  color: var(--gold);
  transition: all .2s;
}
.gnav .cta-nav:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg) }
.hamburger.is-open span:nth-child(2) { opacity: 0 }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }
.gnav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 900;
  opacity: 0;
  transition: opacity .3s;
  cursor: pointer;
}
.gnav-overlay.is-open { opacity: 1 }

@media (max-width: 900px) {
  .site-header { padding: 20px 24px }
  .site-header.is-scrolled { padding: 14px 24px }
  .hamburger { display: flex }
  .gnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    z-index: 1100;
    padding: 80px 32px 40px;
    transition: right .4s var(--ease);
    overflow-y: auto;
  }
  .gnav.is-open { right: 0 }
  .gnav-overlay.is-open { display: block }
  .gnav ul { flex-direction: column; align-items: flex-start; gap: 0 }
  .gnav ul li { width: 100%; border-bottom: 1px solid var(--border) }
  .gnav a { display: block; padding: 16px 0; font-size: .9rem; color: rgba(234,230,222,.75) }
  .gnav .cta-nav { border: none; padding: 16px 0; border-radius: 0; color: var(--gold) }
  .gnav .cta-nav:hover { background: none; color: var(--gold) }
}

/* ================================
   HERO
================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -8%;
  will-change: transform;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(7,9,14,.88) 0%, rgba(7,9,14,.55) 55%, rgba(7,9,14,.78) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  opacity: .25;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 48px 100px;
  max-width: 960px;
}
.hero-eyecatch {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: rUp .6s var(--ease) .8s forwards;
}
.hero-title {
  font-family: var(--ff-jp);
  color: var(--text);
  font-size: clamp(2.8rem, 7.5vw, 6.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 30px;
}
.hero-title .hl { display: block; overflow: hidden }
.hero-title .hl em {
  display: block;
  font-style: normal;
  opacity: 0;
  transform: translateY(105%);
}
.hero-title .hl:nth-child(1) em { animation: rLine .85s var(--ease) 1.0s forwards }
.hero-title .hl:nth-child(2) em { animation: rLine .85s var(--ease) 1.2s forwards }
.hero-title .hl:nth-child(3) em { animation: rLine .85s var(--ease) 1.4s forwards }
@keyframes rLine { to { opacity: 1; transform: translateY(0) } }
@keyframes rUp { to { opacity: 1; transform: translateY(0) } }
.hero-sub {
  font-size: .9rem;
  color: rgba(234,230,222,.6);
  max-width: 500px;
  line-height: 1.9;
  margin-bottom: 44px;
  opacity: 0;
  animation: rUp .7s var(--ease) 1.65s forwards;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rUp .7s var(--ease) 1.85s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: rUp .6s var(--ease) 2.3s forwards;
}
.hero-scroll-text {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .22em;
  color: rgba(234,230,222,.35);
  writing-mode: vertical-lr;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(234,230,222,.12);
  overflow: hidden;
  position: relative;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: sDrop 1.8s ease-in-out 2.6s infinite;
}
@keyframes sDrop { 0% { top: -100% } 100% { top: 110% } }
.hero-line {
  position: absolute;
  right: 48px;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-line span {
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  color: rgba(234,230,222,.2);
  writing-mode: vertical-lr;
}
.hero-line::before {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(224,125,94,.3));
}
.hero-line::after {
  content: '';
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(to top, transparent, rgba(224,125,94,.3));
}
@media (max-width: 768px) {
  .hero-content { padding: 120px 24px 80px }
  /* CTAボタンと被るため、モバイルでは反対側（右下）に設置 */
  .hero-scroll { left: auto; right: 24px }
  .hero-line { display: none }
}

/* ================================
   TRUST STRIP
================================ */
.trust-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
      align-items: end;

}
.trust-item {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none }
.trust-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.trust-num {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.03em;
}
.trust-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.trust-label {
  font-size: .72rem;
  color: var(--text2);
  letter-spacing: .08em;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .trust-items { grid-template-columns: 1fr }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 0 }
  .trust-item:last-child { border-bottom: none }
}

/* ================================
   ABOUT
================================ */
.about-summary {
  background: var(--cream);
  color: #1a1714;
  padding: 120px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-summary .ms-sec-num { color: #9a9590 }
.about-summary .ms-sec-num::after { background: #9a9590 }
.about-mission {
  font-family: var(--ff-jp);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.6;
  color: #1a1714;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.about-desc {
  font-size: .88rem;
  line-height: 1.95;
  color: #555148;
  margin-bottom: 36px;
}
.about-img-wrap2 {
  position: relative;
  display: flex;
  gap: 1rem;
  border-radius: 2px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  rotate: calc(4/5);
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.about-img-wrap2 img {
  width: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.about-img-wrap:hover img { transform: scale(1.04) }
.about-img-wrap2:hover img { transform: scale(1.04) }
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px }
  .about-summary { padding: 80px 0 }
}

/* ================================
   SERVICE
================================ */
.service-grid {
  background: var(--bg);
  padding: 120px 0;
}
.service-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.svc-card {
  background: var(--bg2);
  padding: 48px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .4s, border-color .4s;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover { background: var(--bg3); border-color: rgba(224,125,94,.18) }
.svc-card:hover::before { transform: scaleX(1) }
.svc-big-num {
  position: absolute;
  top: 12px; right: 20px;
  font-family: var(--ff-display);
  font-size: 5.5rem;
  font-weight: 600;
  color: rgba(234,230,222,.03);
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
  transition: color .4s;
}
.svc-card:hover .svc-big-num { color: rgba(224,125,94,.06) }
.svc-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: border-color .4s, background .4s;
  overflow: hidden;
}
.svc-card:hover .svc-icon { border-color: var(--gold); background: rgba(224,125,94,.08) }
.svc-icon img {
  width: 44px; height: 44px;
  opacity: .6;
  transition: opacity .3s;
}
.svc-card:hover .svc-icon img { opacity: .9 }
.svc-title {
  font-family: var(--ff-jp);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.svc-desc {
  font-size: .84rem;
  line-height: 1.85;
  color: var(--text2);
}
@media (max-width: 768px) {
  .service-cards { grid-template-columns: 1fr }
  .service-head { flex-direction: column; align-items: flex-start }
  .service-grid { padding: 80px 0 }
  .svc-card { padding: 36px 28px }
}

/* ================================
   WORKS
================================ */
.works {
  background: var(--bg2);
  padding: 120px 0;
}
.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
  border-color: rgba(224,125,94,.25);
}
.work-card a { display: block; color: inherit }
.wk-thumb { overflow: hidden; aspect-ratio: 16/9 }
.wk-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-card:hover .wk-thumb img { transform: scale(1.08) }
.wk-body { padding: 20px 22px 24px }
.wk-cat {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 8px;
}
.wk-title {
  font-family: var(--ff-jp);
  font-size: .98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.wk-exc { font-size: .8rem; line-height: 1.75; color: var(--text2) }
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto }
  .works { padding: 80px 0 }
  .works-head { flex-direction: column; align-items: flex-start; gap: 12px }
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials {
  background: var(--cream2);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.testimonials .ms-heading {
  color: #07090e;
}

.testi-head { margin-bottom: 56px }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 36px 28px 28px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s;
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(224,125,94,.2) }
.tc-qm {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: 10px;
}
.testimonial-body {
  font-size: .86rem;
  color: #07090e;
  line-height: 1.9;;
  margin-bottom: 24px;
  font-style: normal;
  border: none;
  padding: 0;
}
.testimonial-body p { margin: 0 }
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(224,125,94,.25), rgba(224,125,94,.08));
  border: 1px solid rgba(224,125,94,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: .95rem;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-name { font-size: .83rem; font-weight: 700; color: var(--gold)}
.testimonial-meta { font-size: .72rem; color: #07090e; margin-top: 2px }
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto }
  .testimonials { padding: 80px 0 }
}

/* ================================
   NOTE / BLOG
================================ */
.note-section {
  background: var(--cream);
  color: #1a1714;
  padding: 120px 0;
}
.note-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.note-section .ms-sec-num { color: #9a9590 }
.note-section .ms-sec-num::after { background: #9a9590 }
.note-section .ms-heading { color: #1a1714 }
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.note-card {
  background: #fff;
  border: 1px solid var(--cream2);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
  display: block;
  color: #1a1714;
}
.note-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.08) }
.nc-thumb {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nc-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.note-card:hover .nc-thumb img { transform: scale(1.06) }
.nc-body { padding: 18px 20px 22px }
.nc-date { font-family: var(--ff-mono); font-size: .68rem; color: #aaa; margin-bottom: 8px; letter-spacing: .08em }
.nc-title { font-size: .9rem; font-weight: 700; color: #1a1714; line-height: 1.55 }
@media (max-width: 900px) {
  .note-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto }
  .note-head { flex-direction: column; align-items: flex-start; gap: 12px }
  .note-section { padding: 80px 0 }
}

/* ================================
   FAQ
================================ */
.faq-section {
  background: var(--bg2);
  padding: 120px 0;
}
.faq-inner { max-width: 800px; margin: 0 auto; padding: 0 48px }
.faq-head { margin-bottom: 52px }
.faq-item { border-bottom: 1px solid var(--border) }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.6;
  transition: color .2s;
}
.faq-q:hover { color: var(--gold) }
.fq-mark { font-family: var(--ff-display); font-size: 1.15rem; color: var(--gold); flex-shrink: 0; margin-top: 1px }
.fq-text { flex: 1 }
.fq-ico { flex-shrink: 0; width: 18px; height: 18px; position: relative; margin-top: 4px }
.fq-ico::before, .fq-ico::after {
  content: '';
  position: absolute;
  background: var(--text2);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s;
}
.fq-ico::before { width: 12px; height: 1px; top: 50%; left: 3px; transform: translateY(-50%) }
.fq-ico::after { width: 1px; height: 12px; left: 8.5px; top: 3px }
.faq-item.is-open .fq-ico::after { transform: rotate(90deg); opacity: 0 }
.faq-item.is-open .faq-q { color: var(--gold) }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease2) }
.faq-a-in {
  padding: 0 0 22px 28px;
  font-size: .86rem;
  line-height: 1.9;
  color: var(--text2);
  border-left: 1px solid rgba(224,125,94,.25);
  margin-left: 14px;
}
@media (max-width: 768px) {
  .faq-inner { padding: 0 24px }
  .faq-section { padding: 80px 0 }
}

/* ================================
   CTA
================================ */
.cta-section {
  position: relative;
  padding: 160px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/footer-bg01.jpg') center/cover no-repeat;
}
.cta-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,9,14,.93) 0%, rgba(7,9,14,.8) 100%);
}
.cta-body { position: relative; z-index: 1; max-width: 640px; margin: 0 auto }
.cta-section .ms-label { margin-bottom: 20px; display: block }
.cta-title {
  font-family: var(--ff-jp);
  font-size: clamp(1.8rem, 4vw, 2.755rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}
.cta-sub {
  font-size: .88rem;
  color: rgba(234,230,222,.6);
  line-height: 1.9;
  margin-bottom: 40px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }
@media (max-width: 768px) { .cta-section { padding: 100px 24px } }

/* ================================
   FOOTER
================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 48px 28px;
}
.footer-in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.f-logo { display: flex; flex-direction: column; gap: 16px }
.f-logo img { height: 26px; filter: brightness(0) invert(1); opacity: .6 }
.f-nav ul { display: flex; gap: 22px; flex-wrap: wrap }
.f-nav a { font-size: .75rem; color: var(--text2); letter-spacing: .05em; transition: color .2s }
.f-nav a:hover { color: var(--text) }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.f-copy { font-size: .72rem; color: var(--text2); font-family: var(--ff-mono) }
.f-nap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.f-nap-name {
  font-family: var(--ff-display);
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--text);
  opacity: .85;
  margin: 0 0 12px;
}
.f-nap-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px }
.f-nap-row { display: flex; gap: 12px; font-size: .75rem; line-height: 1.6 }
.f-nap-row dt { color: var(--text2); min-width: 72px; letter-spacing: .05em }
.f-nap-row dd { margin: 0; color: var(--text); opacity: .85 }
.f-nap-row dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--border); transition: opacity .2s }
.f-nap-row dd a:hover { opacity: 1; color: var(--text) }
@media (max-width: 768px) {
  .site-footer { padding: 40px 24px 24px }
  .footer-in { flex-direction: column; align-items: flex-start }
  .f-nap-list { grid-template-columns: 1fr }
  .f-nap-row { flex-direction: column; gap: 2px }
  .f-nap-row dt { min-width: 0 }
}

/* ================================
   INNER PAGE — PAGE HERO
================================ */
.page-hero {
  padding: 140px 48px 80px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, transparent 100%);
  opacity: .4;
}
.page-hero .container { max-width: 900px }
.page-hero-eyecatch {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.page-hero h1 {
  font-family: var(--ff-jp);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--text);
  margin-bottom: 20px;
}
.page-hero p {
  font-size: .9rem;
  color: rgba(234,230,222,.55);
  line-height: 1.9;
  max-width: 580px;
}
.page-hero p + p { margin-top: 10px }
@media (max-width: 768px) { .page-hero { padding: 100px 24px 60px } }

/* ================================
   BREADCRUMB
================================ */
.breadcrumb { margin-bottom: 20px }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center }
.breadcrumb li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .65rem;
  letter-spacing: .08em; color: var(--text2);
}
.breadcrumb li + li::before { content: '/'; color: var(--text2); opacity: .4 }
.breadcrumb a { color: var(--text2); transition: color .2s }
.breadcrumb a:hover { color: var(--text) }
.breadcrumb [aria-current="page"] { color: rgba(234,230,222,.45) }

/* ================================
   FILTER CHIPS
================================ */
.works-filter {
  background: var(--bg);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.filter-list { display: flex; flex-wrap: wrap; gap: 10px }
.filter-chip {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .75rem; font-family: var(--ff-mono);
  letter-spacing: .06em; color: var(--text2);
  transition: all .25s var(--ease2);
}
.filter-chip:hover { border-color: rgba(234,230,222,.3); color: var(--text) }
.filter-chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg) }

/* ================================
   WORKS ARCHIVE
================================ */
.works-index { background: var(--bg); padding: 80px 0 120px }

/* ================================
   SKILL BADGES
================================ */
.skill-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 }
.skill-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--ff-mono); font-size: .7rem;
  letter-spacing: .06em; color: rgba(234,230,222,.65);
}

/* ================================
   CHIPS (works detail meta)
================================ */
.chip {
  display: inline-block; padding: 4px 14px;
  border-radius: 999px; font-family: var(--ff-mono);
  font-size: .68rem; letter-spacing: .08em;
}
.chip.cat { background: rgba(90,180,232,.12); color: var(--blue); border: 1px solid rgba(90,180,232,.25) }
.chip.tag { background: var(--bg2); color: rgba(234,230,222,.55); border: 1px solid var(--border) }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px }

/* ================================
   PROFILE SECTION
================================ */
.profile-section { background: var(--bg2); padding: 100px 0 }
.profile-flex {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 64px; align-items: start; margin-top: 52px;
}
.profile-img { border-radius: 2px; overflow: hidden }
.profile-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block }
.profile-text ul { list-style: disc; padding-left: 1.4em; margin-bottom: 20px }
.profile-text ul li { font-size: .86rem; color: var(--text2); margin-bottom: 6px }
.profile-text p { font-size: .88rem; line-height: 1.9; color: rgba(234,230,222,.65); margin-bottom: 24px }
.profile-text h3 {
  font-family: var(--ff-jp); font-size: .9rem; font-weight: 700;
  color: var(--text); margin-bottom: 12px; letter-spacing: .05em;
}
@media (max-width: 900px) {
  .profile-flex { grid-template-columns: 1fr; gap: 36px }
  .profile-img img { aspect-ratio: 16/9 }
  .profile-section { padding: 64px 0 }
}

/* ================================
   VALUE / AREA SECTIONS
================================ */
.value-section { background: var(--bg); padding: 100px 0 }
.catch-title {
  font-family: var(--ff-jp);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700; line-height: 1.65; color: var(--text); margin-bottom: 16px;
}
.catch-text, .service-description {
  font-size: .88rem; line-height: 1.95; color: var(--text2); margin-bottom: 24px; max-width: 700px;
}
.mission {
  font-family: var(--ff-jp); font-size: 1rem; font-weight: 700;
  color: var(--gold); margin-bottom: 28px; letter-spacing: .06em;
}
.value-points { margin-top: 36px }
.value-points h3 {
  font-family: var(--ff-jp); font-size: 1rem; font-weight: 700;
  color: var(--gold); margin-bottom: 16px; letter-spacing: .06em;
}
.value-points ul { list-style: none; display: grid; gap: 12px }
.value-points li {
  padding: 18px 22px;
  border: 1px solid var(--border); border-left: 2px solid var(--gold);
  font-size: .86rem; line-height: 1.75; color: rgba(234,230,222,.7);
  border-radius: 0 2px 2px 0;
}
.value-points li strong { color: var(--text); font-weight: 700 }
/* ================================
   SERVICE SECTIONS
================================ */
.service-section {
  padding: 80px 0; border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.service-section:nth-child(even) { background: var(--bg2) }
.service-section-icon { width: 48px; height: 48px; margin-bottom: 12px; filter: invert(1) opacity(.35) }

/* ================================
   PROCESS STEPS
================================ */
.process { background: var(--bg2); padding: 100px 0 }
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 52px;
}
.process-steps li {
  background: var(--bg); border: 1px solid var(--border);
  padding: 36px 28px; position: relative;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .3s, border-color .3s;
  font-size: .82rem; line-height: 1.75; color: var(--text2);
}
.process-steps li:hover { background: var(--bg3); border-color: rgba(224,125,94,.2) }
.process-step-num {
  font-family: var(--ff-display); font-size: 3rem; font-weight: 600;
  color: var(--gold); line-height: 1; letter-spacing: -.04em;
}
.process-steps img { width: 300px; height: 100px;}
.process-steps strong {
  font-family: var(--ff-jp); font-size: .92rem; font-weight: 700;
  color: var(--text); display: block;
}
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr 1fr }; .process { padding: 64px 0 } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr } }

/* ================================
   CONTACT
================================ */
.contact-section { background: var(--bg); padding: 100px 0 }
.contact-reassurance {
  margin-bottom: 56px; padding: 28px 32px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 2px;
}
.contact-reassurance-list {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.contact-reassurance-item {
  font-size: .82rem; color: var(--text2); letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px;
}
.contact-reassurance-item::before { content: '✓'; color: var(--gold); font-size: .75rem }
.contact-reassurance-item strong { color: var(--text) }
.contact-form { max-width: 680px; margin: 40px auto 0 }
.contact-form .wpcf7-form { display: grid; gap: 20px }
.contact-form label {
  display: block; font-family: var(--ff-mono); font-size: .68rem;
  letter-spacing: .14em; color: var(--text2);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 2px; padding: 14px 16px; color: var(--text);
  font-family: var(--ff-body); font-size: .9rem; transition: border-color .2s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(224,125,94,.45) }
.contact-form textarea { resize: vertical; min-height: 140px }
.contact-form input[type="submit"], .contact-form .wpcf7-submit {
  display: inline-block; padding: 14px 40px; background: var(--gold);
  color: var(--bg); font-size: .84rem; font-weight: 700; letter-spacing: .08em;
  border: none; border-radius: 2px; cursor: pointer; transition: filter .2s, transform .2s;
}
.contact-form input[type="submit"]:hover,
.contact-form .wpcf7-submit:hover { filter: brightness(1.1); transform: translateY(-2px) }
@media (max-width: 768px) {
  .contact-section { padding: 64px 0 }
  .contact-reassurance-list { gap: 20px; flex-direction: column; align-items: center }
}

/* ================================
   WORK PAGE HERO & DETAIL
================================ */
.work-page-hero {
  padding: 140px 48px 80px;
  background: var(--bg);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.work-page-title {
  font-family: var(--ff-jp); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.3; color: var(--text); margin: 16px 0 20px;
}
.work-hero-media {
  margin-top: 8px; border-radius: 2px; overflow: hidden; border: 1px solid var(--border);
}
.work-hero-media img { width: 100%; height: auto; display: block}
@media (max-width: 768px) { .work-page-hero { padding: 100px 24px 60px } }

.work-detail { background: var(--bg2); padding: 100px 0 }
.work-content {
  font-size: .9rem; line-height: 2; color: rgba(234,230,222,.7); margin-bottom: 48px; max-width: 720px;
}
.work-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px;
}
.work-detail-grid section {
  background: var(--bg); border: 1px solid var(--border); border-radius: 2px; padding: 28px;
}
.work-detail-grid h3 {
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .16em;
  color: var(--gold); margin-bottom: 14px;
}
.work-detail-grid ul { list-style: none; display: grid; gap: 8px }
.work-detail-grid li {
  font-size: .84rem; line-height: 1.7; color: var(--text2);
  padding-left: 14px; position: relative;
}
.work-detail-grid li::before {
  content: '—'; position: absolute; left: 0; color: rgba(224,125,94,.4); font-size: .75rem;
}
.kpi { font-family: var(--ff-jp); font-size: .9rem; line-height: 1.8; color: var(--text) }
.kpi strong { color: var(--gold); font-weight: 700 }
.work-detail-grid .meta table { width: 100%; border-collapse: collapse; font-size: .83rem }
.work-detail-grid .meta th,
.work-detail-grid .meta td { padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top }
.work-detail-grid .meta th {
  color: var(--text2); font-weight: 500; width: 40%;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .1em;
}
.work-detail-grid .meta td { color: rgba(234,230,222,.7) }
@media (max-width: 768px) {
  .work-detail-grid { grid-template-columns: 1fr }
  .work-detail { padding: 64px 0 }
}

/* Gallery */
.work-gallery { background: var(--bg); padding: 80px 0 }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px }
.before-after figure { border-radius: 2px; overflow: hidden; border: 1px solid var(--border) }
.before-after figcaption {
  font-family: var(--ff-mono); font-size: .65rem; letter-spacing: .1em;
  color: var(--text2); padding: 8px 12px; background: var(--bg2);
}
.before-after img { width: 100%; height: auto; display: block }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px }
.gallery-grid figure { border-radius: 2px; overflow: hidden; border: 1px solid var(--border) }
.gallery-grid img { width: 100%;  height: auto; display: block; transition: transform .5s var(--ease) }
.gallery-grid figure:hover img { transform: scale(1.04) }
.video-thumb { position: relative; cursor: pointer }
.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(7,9,14,.5); color: var(--text); font-size: 2rem; transition: background .2s;
}
.video-thumb:hover .play-badge { background: rgba(7,9,14,.7) }
@media (max-width: 768px) {
  .before-after { grid-template-columns: 1fr }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) }
  .work-gallery { padding: 56px 0 }
}

.related-works { background: var(--bg2); padding: 80px 0 }
.more-button-wrap { text-align: center; margin-top: 40px }

/* ================================
   POLICY
================================ */
.policy { background: var(--bg); padding: 80px 0 }
.policy .container { max-width: 800px }
.policy-intro {
  margin-bottom: 40px;
}
.policy-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border) }
.policy-section:last-of-type { border-bottom: none }
.policy-section h3,
.policy-section h4 {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--gold); margin: 1rem 0;
}
.policy-intro p,
.policy-section p { font-size: .88rem; line-height: 1.9; color: var(--text2) }
.policy-list { list-style: disc; padding-left: 1.6em; display: grid; gap: 6px }
.policy-list li { font-size: .88rem; line-height: 1.9; color: var(--text2) }
.policy-table { font-size: .88rem; line-height: 1.9; color: var(--text2); text-align: center;}
.policy-table th,
.policy-table td { padding: 0.5rem;}
.policy-dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: .86rem }
.policy-dl dt { color: var(--text2); font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .1em }
.policy-dl dd { color: rgba(234,230,222,.7) }
.policy-updated { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .1em; color: var(--text2); margin-top: 48px }

/* ================================
   404 / NOT FOUND
================================ */
.notfound {
  min-height: 70vh; display: flex; align-items: center; padding: 120px 0;
}
.error-code {
  font-family: var(--ff-display); font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 600; line-height: .9; letter-spacing: -.04em;
  color: rgba(224,125,94,.08); margin-bottom: 12px; display: block;
}
.notfound-title {
  font-family: var(--ff-jp); font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700; color: var(--text); margin-bottom: 16px; line-height: 1.5;
}
.notfound-text { font-size: .88rem; color: var(--text2); line-height: 1.9; margin-bottom: 40px }
.notfound-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 600px }
.notfound-nav-link {
    align-items: center;
    gap: 10px;
    color: rgba(234, 230, 222, .65);
    font-size: .84rem;
    transition: all .25s var(--ease2);
}
.notfound-nav-link:hover { color: var(--text) }
@media (max-width: 600px) {
  .notfound-nav ul { grid-template-columns: 1fr }
  .notfound { padding: 80px 0 }
}

/* ================================
   BLOG INDEX
================================ */
.blog-index { background: var(--cream); padding: 80px 0 120px }
.blog-list { display: grid; gap: 0; border-top: 1px solid var(--border) }
.blog-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 2rem 1rem; border-bottom: 1px solid var(--bg); transition: background .2s;
}
.blog-item:hover { background: var(--cream2) }
.blog-item-thumb {
  width: 120px; height: 72px; flex-shrink: 0;
  border-radius: 2px; overflow: hidden; background: var(--bg2);
}
.blog-item-thumb img { width: 100%; height: 100%; object-fit: cover }
.blog-item-body { flex: 1 }
.blog-item-date { font-family: var(--ff-mono); font-size: .65rem; color: var(--text2); margin-bottom: 6px; letter-spacing: .08em }
.blog-item-title { font-size: .92rem; font-weight: 700; color: var(--bg); line-height: 1.5 }
.blog-item-exc { font-size: .8rem; color: var(--text2); line-height: 1.7; margin-top: 6px }

/* ================================
   BLOG SINGLE CONTENT
================================ */
.blog-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--sec-text2);
  font-size: .95rem;
  line-height: 2;
  word-break: break-word;
}
.blog-content > * + * { margin-top: 1.6em }

.blog-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sec-text);
  line-height: 1.5;
  margin-top: 2.8em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--gold);
}
.blog-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sec-text);
  line-height: 1.5;
  margin-top: 2.2em;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.blog-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sec-text);
  margin-top: 1.8em;
}
.blog-content p { margin-top: 1.2em }
.blog-content p:first-child { margin-top: 0 }

.blog-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px }
.blog-content a:hover { opacity: .7 }

.blog-content ul,
.blog-content ol {
  padding-left: 1.5em;
  margin-top: 1.2em;
  display: grid;
  gap: .5em;
}
.blog-content ul { list-style: disc }
.blog-content ol { list-style: decimal }
.blog-content li { line-height: 1.8; color: var(--sec-text2) }

.blog-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1em 1.5em;
  background: var(--sec-off);
  border-radius: 2px;
  color: var(--sec-text2);
  font-style: italic;
  margin-top: 1.6em;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-top: 1.6em;
}
.blog-content th,
.blog-content td {
  padding: 12px 14px;
  border: 1px solid var(--sec-border);
  vertical-align: top;
  line-height: 1.7;
  text-align: left;
}
.blog-content th {
  background: var(--sec-off);
  font-weight: 700;
  color: var(--sec-text);
  font-size: .82rem;
  letter-spacing: .05em;
}
.blog-content td { color: var(--sec-text2) }

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 1.6em auto;
}

.blog-content figure { margin-top: 1.6em }
.blog-content figcaption {
  font-size: .78rem;
  color: var(--sec-text2);
  text-align: center;
  margin-top: .5em;
}

.blog-content strong { font-weight: 700; color: var(--sec-text) }
.blog-content em { font-style: italic }

.blog-content code {
  font-family: var(--ff-mono);
  font-size: .85em;
  background: var(--sec-off);
  padding: .15em .4em;
  border-radius: 3px;
  color: var(--gold);
  border: 1px solid var(--sec-border);
}
.blog-content pre {
  background: var(--sec-off);
  border: 1px solid var(--sec-border);
  border-radius: 4px;
  padding: 1.2em 1.4em;
  overflow-x: auto;
  font-size: .84rem;
  line-height: 1.8;
}
.blog-content pre code { background: none; border: none; padding: 0; color: var(--sec-text) }

.blog-content hr {
  border: none;
  border-top: 1px solid var(--sec-border);
  margin: 2.4em 0;
}

.blog-content .wp-block-image { margin-top: 1.6em }
.blog-content .wp-block-table { margin-top: 1.6em; overflow-x: auto }
.blog-content .wp-block-quote { margin-top: 1.6em }
.blog-content .wp-block-separator { margin: 2.4em 0; opacity: .3 }

@media (max-width: 768px) {
  .blog-content { font-size: .9rem }
  .blog-content h2 { font-size: 1.15rem }
  .blog-content h3 { font-size: 1rem }
  .blog-content table { font-size: .8rem }
  .blog-content th,
  .blog-content td { padding: 8px 10px }
}

/* ================================
   OVERRIDE OLD STYLES
================================ */
section { padding: 0 }
.section-title,
.section-title__underline,
.section-title__sub { display: none }

/* Disable AOS transforms in favour of data-r */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

/* ================================================================
   LIGHT SECTION OVERRIDES
   header / footer / hero / cta は変更しない
================================================================ */
:root {
  --sec-white:  #ffffff;
  --sec-off:    #f6f5f1;
  --sec-border: #e4e0d8;
  --sec-text:   #1a1714;
  --sec-text2:  #6e6b64;
}

/* ── About Summary ───────────────────────────────────────────── */
.about-summary {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}

/* ── Service Grid ────────────────────────────────────────────── */
.service-grid {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
}
.service-grid .ms-heading { color: var(--sec-text) }
.svc-card {
  background: var(--sec-white);
  border-color: var(--sec-border);
}
.svc-card:hover { background: #faf9f6; border-color: rgba(224,125,94,.3) }
.svc-big-num { color: rgba(26,23,20,.03) }
.svc-card:hover .svc-big-num { color: rgba(224,125,94,.08) }
.svc-title { color: var(--sec-text) }
.svc-desc  { color: var(--sec-text2) }

/* ── Works ───────────────────────────────────────────────────── */
.works {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}
.works .ms-heading { color: var(--sec-text) }
.work-card {
  background: var(--sec-off);
  border-color: var(--sec-border);
}
.work-card:hover { box-shadow: 0 24px 56px rgba(0,0,0,.08) }
.wk-title { color: var(--sec-text) }
.wk-exc   { color: var(--sec-text2) }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
  color: var(--sec-text);
}
.testimonials::before { color: rgba(26,23,20,.05) }
.testimonials .ms-heading { color: var(--sec-text) }
.testimonials .ms-sec-num { color: var(--sec-text2) }
.testimonials .ms-sec-num::after { background: var(--sec-text2) }
.testimonial-card {
  background: var(--sec-white);
  border-color: var(--sec-border);
}
.testimonial-footer { border-top-color: var(--sec-border) }
.testimonial-body { color: var(--sec-text) }
.testimonial-meta { color: var(--sec-text2) }

/* ── Note Section ────────────────────────────────────────────── */
.note-section {
  background: var(--sec-white);
  color: var(--sec-text);
  border-top: 1px solid var(--sec-border);
}
.note-section .ms-sec-num { color: var(--sec-text2) }
.note-section .ms-sec-num::after { background: var(--sec-text2) }
.note-section .ms-heading { color: var(--sec-text) }

/* ── FAQ Section ─────────────────────────────────────────────── */
.faq-section {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
}
.faq-item { border-bottom-color: var(--sec-border) }
.faq-q { color: var(--sec-text) }
.faq-item.is-open .faq-q { color: var(--gold) }
.fq-ico::before,
.fq-ico::after { background: var(--sec-text2) }
.faq-a-in { color: var(--sec-text2) }

/* ── Value Section（About）──────────────────────────────────── */
.value-section {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}
.value-section .ms-heading { color: var(--sec-text) }
.value-section .ms-sec-num { color: var(--sec-text2) }
.value-section .ms-sec-num::after { background: var(--sec-text2) }
.catch-title { color: var(--sec-text) }
.value-points li {
  border-left-color: var(--gold);
  color: var(--sec-text2);
}
.value-points li strong { color: var(--sec-text) }

/* ── Profile Section（About）────────────────────────────────── */
.profile-section {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
}
.profile-section .ms-heading { color: var(--sec-text) }
.profile-section .ms-sec-num { color: var(--sec-text2) }
.profile-section .ms-sec-num::after { background: var(--sec-text2) }
.profile-text p  { color: var(--sec-text2) }
.profile-text h3 { color: var(--gold)};
.profile-text ul li { color: var(--sec-text2) }
.skill-badge { border-color: var(--sec-border); color: var(--gold) }

/* ── Works Archive ───────────────────────────────────────────── */
.works-filter {
  background: var(--sec-white);
  border-bottom-color: var(--sec-border);
}
.filter-chip { border-color: var(--sec-border); color: var(--sec-text2) }
.filter-chip:hover { border-color: #aaa; color: var(--sec-text) }
.works-index { background: var(--sec-off) }

/* ── Service Page Sections ───────────────────────────────────── */
.service-section {
  background: var(--sec-white);
  border-bottom-color: var(--sec-border);
}
.service-section:nth-child(even) { background: var(--sec-off) }
.service-section .ms-heading { color: var(--sec-text) }
.service-section .ms-sec-num { color: var(--sec-text2) }
.service-section .ms-sec-num::after { background: var(--sec-text2) }
.service-description { color: var(--sec-text2) }
.pricing-table { border-color: var(--sec-border) }
.pricing-table th {
  background: var(--sec-off);
  color: var(--sec-text2);
  border-bottom-color: var(--sec-border);
}
.pricing-table td {
  color: var(--sec-text2);
  border-bottom-color: var(--sec-border);
}
.pricing-table tr:hover td { background: #faf9f6 }
.chip.tag { background: var(--sec-off); color: var(--sec-text2); border-color: var(--sec-border) }

/* ── Single Works ────────────────────────────────────────────── */
.work-page-hero {
  background: var(--sec-off);
  border-bottom-color: var(--sec-border);
}
.work-page-title { color: var(--sec-text) }
.work-hero-media { border-color: var(--sec-border) }
.work-detail {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}
.work-content { color: var(--sec-text2) }
.work-detail-grid section {
  background: var(--sec-off);
  border-color: var(--sec-border);
}
.work-detail-grid li { color: var(--sec-text2) }
.work-detail-grid .meta th { color: var(--sec-text2) }
.work-detail-grid .meta td { color: var(--sec-text2) }
.work-detail-grid .meta th,
.work-detail-grid .meta td { border-bottom-color: var(--sec-border) }
.kpi { color: var(--sec-text) }
.work-gallery {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
}
.before-after figure { border-color: var(--sec-border) }
.before-after figcaption { color: var(--sec-text2); background: var(--sec-white) }
.gallery-grid figure { border-color: var(--sec-border) }
/* ── SNS Follow Buttons ──────────────────────────────────────── */
/* ── Footer SNS Icons ────────────────────────────────────────── */
.f-sns {
  display: flex;
  align-items: center;
  gap: 20px;
}
.f-sns a {
  color: var(--text2);
  display: flex;
  align-items: center;
  transition: color .2s, opacity .2s;
  opacity: .7;
}
.f-sns a:hover { color: var(--text); opacity: 1 }

.related-works {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}
.related-works .ms-heading { color: var(--sec-text) }

/* ── Policy Page ─────────────────────────────────────────────── */
.policy {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}
.policy-section { border-bottom-color: var(--sec-border) }
.policy-section p  { color: var(--sec-text2) }
.policy-list li    { color: var(--sec-text2) }
.policy-dl dt      { color: var(--sec-text2) }
.policy-dl dd      { color: var(--sec-text) }
.policy-updated    { color: var(--sec-text2) }

/* ── Process Steps ───────────────────────────────────────────── */
.process {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
}
.process .ms-heading { color: var(--sec-text) }
.process .ms-sec-num { color: var(--sec-text2) }
.process .ms-sec-num::after { background: var(--sec-text2) }
.process-steps li {
  background: var(--sec-white);
  border-color: var(--sec-border);
  color: var(--sec-text2);
}
.process-steps li:hover { background: #faf9f6; border-color: rgba(224,125,94,.3) }
.process-steps strong { color: var(--sec-text) }

/* ── School Features ─────────────────────────────────────────── */
.school-features {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
}
.school-features .ms-heading { color: var(--sec-text) }
.school-features .ms-sec-num { color: var(--sec-text2) }
.school-features .ms-sec-num::after { background: var(--sec-text2) }
.school-feature-item {
  background: var(--sec-off);
  border-color: var(--sec-border);
}
.school-feature-item:hover { background: #faf9f6; border-color: rgba(224,125,94,.3) }
.school-feature-item strong { color: var(--sec-text) }
.school-feature-item p { color: var(--sec-text2) }

/* ── Contact Section ─────────────────────────────────────────── */
.contact-section {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
}
.contact-section .ms-heading { color: var(--sec-text) }
.contact-section .ms-sec-num { color: var(--sec-text2) }
.contact-section .ms-sec-num::after { background: var(--sec-text2) }
.contact-reassurance {
  background: var(--sec-white);
  border-color: var(--sec-border);
}
.contact-reassurance-item { color: var(--sec-text2) }
.contact-reassurance-item strong { color: var(--sec-text) }
.contact-form label { color: var(--sec-text2) }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  background: var(--sec-white);
  border-color: var(--sec-border);
  color: var(--sec-text);
}

/* ================================================================
   ADDITIONAL COMPONENTS (v3 remake: pricing, vision/mission, SNS, school banner)
================================================================ */

/* ── Plan Cards ───────────────────────────────────────────────── */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 40px;
}
.plan-card {
  background: var(--sec-white);
  border: 1px solid var(--sec-border);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease2), box-shadow .3s var(--ease2), border-color .3s var(--ease2);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224,125,94,.35);
  box-shadow: 0 14px 36px rgba(0,0,0,.06);
}
.plan-card-label {
  font-family: var(--ff-mono);
  font-size: 1.555rem;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}
.plan-card-price {
  font-family: var(--ff-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--sec-text);
  line-height: 1.1;
  margin: 4px 0 2px;
}
.plan-card-target {
  font-size: .78rem;
  color: var(--sec-text2);
  margin-bottom: 8px;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--sec-border);
  padding-top: 14px;
}
.plan-card ul li {
  font-size: .85rem;
  color: var(--sec-text2);
  padding-left: 18px;
  position: relative;
}
.plan-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.plan-card-note {
  font-size: .78rem;
  color: var(--sec-text2);
  line-height: 1.7;
  margin-top: auto;
}
.plan-card-featured {
  border-color: rgba(224,125,94,.4);
  background: #fffaf7;
  position: relative;
}
.plan-card-featured::before {
  content: 'Recommended';
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--gold);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 2px;
}

@media (max-width: 768px) { .plan-cards  { grid-template-columns: 1fr 1fr }; .plan-card { padding: 64px 0 } }
@media (max-width: 480px) { .plan-cards  { grid-template-columns: 1fr } }

/* ── Service Notes ────────────────────────────────────────────── */
.service-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-notes ul li {
  background: var(--sec-white);
  border: 1px solid var(--sec-border);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--sec-text2);
  border-radius: 2px;
  line-height: 1.8;
}
.service-notes ul li strong {
  color: var(--sec-text);
  margin-right: 4px;
}
.service-note {
  margin-top: 18px;
  font-size: .78rem;
  color: var(--sec-text2);
}

/* ── Vision Section (About) ───────────────────────────────────── */
.vision-section {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
  padding: 100px 0;
}
.vision-section .ms-heading { color: var(--sec-text) }
.vision-section .ms-sec-num { color: var(--sec-text2) }
.vision-section .ms-sec-num::after { background: var(--sec-text2) }
.vision-section .catch-title {
  color: var(--sec-text);
  font-family: var(--ff-jp);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.7;
  margin: 30px 0 36px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 768px) { .vision-inner { grid-template-columns: 1fr}; }

/* ── Mission Section (About) ──────────────────────────────────── */
.mission-section {
  background: var(--sec-off);
  border-top: 1px solid var(--sec-border);
  padding: 100px 0;
}
.mission-section .ms-heading { color: var(--sec-text) }
.mission-section .ms-sec-num { color: var(--sec-text2) }
.mission-section .ms-sec-num::after { background: var(--sec-text2) }
.mission-lead {
  color: var(--sec-text);
  font-family: var(--ff-jp);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.7;
  margin: 26px 0 24px;
}
.mission-text {
  color: var(--sec-text2);
  line-height: 1.9;
  margin-bottom: 28px;
}
.mission-issues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.issue-card {
  background: var(--sec-white);
  border: 1px solid var(--sec-border);
  padding: 24px 22px;
  border-radius: 3px;
}
.issue-label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(224,125,94,.3);
  padding-bottom: 4px;
}
.issue-card p {
  color: var(--sec-text2);
  font-size: .9rem;
  line-height: 1.9;
  margin: 0;
}
.mission-closing {
  color: var(--sec-text);
  line-height: 1.9;
  padding: 20px 24px;
  background: var(--sec-white);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}

/* ── School Banner (Front) ────────────────────────────────────── */
.school-banner {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
  padding: 80px 0;
}
.school-banner-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 48px;
  background: linear-gradient(135deg, #fff7f3 0%, #fff 100%);
  border: 1px solid rgba(224,125,94,.25);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.school-banner-body { position: relative; z-index: 1 }
.school-banner-title {
  font-family: var(--ff-jp);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--sec-text);
  margin: 14px 0 16px;
}
.school-banner-text {
  color: var(--sec-text2);
  font-size: .94rem;
  line-height: 1.9;
  margin-bottom: 24px;
}
.school-banner-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .88;
}
.school-banner-visual img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(224,125,94,.18));
}

/* ── Wide Pricing Table (Options) ─────────────────────────────── */
.pricing-table-wide {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table-wide table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}
.pricing-table-wide th,
.pricing-table-wide td {
  font-size: .84rem;
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.pricing-table-wide th {
  white-space: nowrap;
  font-size: .74rem;
  letter-spacing: .05em;
}
.pricing-table-wide td strong { color: var(--sec-text) }
.pricing-table-wide tbody tr + tr { border-top: 1px solid var(--sec-border) }

/* ── SP breaks ────────────────────────────────────────────────── */
.sp-br { display: none }
@media (max-width: 768px) {
  .sp-br { display: inline }
  .school-banner-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
  .school-banner-visual img { width: 140px }
  .plan-card-featured::before { right: 12px }
  .vision-section,
  .mission-section,
  .sns-section { padding: 72px 0 }
  .pricing-table-wide th,
  .pricing-table-wide td { padding: 10px 8px; font-size: .78rem }
}

/* ================================
   BLOG SINGLE
================================ */

/* Hero */
.blog-single-hero { padding-bottom: 0 }

/* Meta row */
.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 20px;
}
.blog-cat-tag {
  display: inline-block;
  padding: 3px 14px;
  background: var(--gold);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: .04em;
}
.blog-single-date {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--sec-text2);
  letter-spacing: .08em;
}
.blog-tag-item {
  font-size: .72rem;
  color: var(--sec-text2);
  transition: color .2s;
}
.blog-tag-item:hover { color: var(--gold) }
.blog-single-author {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--sec-text2);
  margin-left: auto;
}

/* Title */
.blog-single-title {
  font-family: var(--ff-jp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--sec-text);
  margin-bottom: 40px;
}

/* Featured image */
.blog-single-eyecatch {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0;
}
.blog-single-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body */
.blog-single-body {
  background: var(--sec-white);
  border-top: 1px solid var(--sec-border);
  padding: 72px 0 100px;
}

/* 2-column layout */
.blog-single-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}

/* Sidebar */
.blog-sidebar-sticky {
  position: sticky;
  top: 100px;
}
.blog-cat-nav ul { display: grid; gap: 2px }
.blog-cat-nav li a {
  display: block;
  padding: 9px 14px;
  font-size: .82rem;
  color: var(--sec-text2);
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.blog-cat-nav li a:hover {
  background: var(--sec-off);
  color: var(--sec-text);
}

/* Author box */
.blog-author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--sec-off);
  border: 1px solid var(--sec-border);
  border-radius: 8px;
  margin-bottom: 36px;
}
.blog-author-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  flex-shrink: 0;
}
.blog-author-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sec-text);
  margin-bottom: 4px;
}
.blog-author-bio {
  font-size: .8rem;
  color: var(--sec-text2);
  line-height: 1.7;
}

/* TOC */
.blog-toc {
  background: var(--sec-off);
  border: 1px solid var(--sec-border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 48px;
}
.blog-toc-toggle {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sec-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-toc-toggle::-webkit-details-marker { display: none }
.blog-toc-toggle::before {
  content: '▲';
  font-size: .65rem;
  color: var(--gold);
  transition: transform .2s;
}
details:not([open]) .blog-toc-toggle::before { transform: rotate(180deg) }
.blog-toc-list {
  margin-top: 16px;
  display: grid;
  gap: 0;
  counter-reset: toc-counter;
  list-style: none;
}
.blog-toc-list > li { counter-increment: toc-counter }
.blog-toc-list > li > a {
  display: block;
  padding: 8px 0;
  font-size: .84rem;
  color: var(--sec-text2);
  border-bottom: 1px solid var(--sec-border);
  transition: color .2s;
}
.blog-toc-list > li > a::before {
  content: counter(toc-counter) '. ';
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: .75rem;
  margin-right: 4px;
}
.blog-toc-list > li > a:hover { color: var(--gold) }
.blog-toc-list > li.toc-h3 > a {
  padding-left: 20px;
  font-size: .8rem;
}
.blog-toc-list > li.toc-h3 > a::before { content: none }
.blog-toc-list > li:last-child > a { border-bottom: none }

/* Responsive */
@media (max-width: 960px) {
  .blog-single-layout { grid-template-columns: 1fr }
  .blog-sidebar { display: none }
}
@media (max-width: 768px) {
  .blog-single-title { font-size: 1.7rem }
  .blog-single-body { padding: 48px 0 72px }
  .blog-single-author { margin-left: 0 }
}
