/*
Theme Name: StackLog
Description: StackLog SaaS比較・導入ガイドメディア
Author: StackLog
Version: 1.0.0
Text Domain: stacklog
*/

:root {
  --navy:     #0D1B3E;
  --navy-mid: #162447;
  --navy-lt:  #1E3A5F;
  --teal:     #00B4A6;
  --teal-dim: #007B75;
  --teal-lt:  #E0F7FA;
  --gold:     #C9933A;
  --gold-lt:  #FFF8EC;
  --green:    #1E9B6B;
  --red:      #E5534B;
  --orange:   #E07030;
  --white:    #FFFFFF;
  --snow:     #F5F7FA;
  --gray100:  #F1F3F7;
  --gray200:  #E2E6EE;
  --gray400:  #9AAABF;
  --gray600:  #5C6E88;
  --gray800:  #2D3A4A;
  --sh1: 0 1px 3px rgba(13,27,62,.07);
  --sh2: 0 4px 16px rgba(13,27,62,.10);
  --sh3: 0 12px 40px rgba(13,27,62,.13);
  --fs:  'Sora', 'Noto Sans JP', sans-serif;
  --fj:  'Noto Sans JP', sans-serif;
  --fm:  'JetBrains Mono', monospace;
  --r4:  4px; --r8: 8px; --r12: 12px;
  --t:   .2s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--fj);
  background: var(--snow);
  color: var(--gray800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  height: 62px;
  background: var(--white);
  border-bottom: 1px solid var(--gray200);
  position: sticky;
  top: 0;
  z-index: 200;
}
.hdr {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--fs);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1;
}
.logo-sub {
  font-size: 9px;
  color: var(--gray400);
  letter-spacing: 0.06em;
  margin-top: 3px;
}
.hdr-nav {
  display: flex;
  gap: 2px;
  flex: 1;
}
.hdr-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.hdr-nav li { margin: 0; padding: 0; }
.hdr-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray600);
  padding: 6px 9px;
  border-radius: var(--r8);
  transition: var(--t);
  white-space: nowrap;
}
.hdr-nav a:hover {
  color: var(--teal-dim);
  background: var(--teal-lt);
}
.hdr-cta {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r8);
  transition: var(--t);
}
.hdr-cta:hover {
  background: var(--navy-lt);
  transform: translateY(-1px);
}

.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 76px 24px 64px;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .05;
  background-image: linear-gradient(var(--teal) 1px, transparent 1px),
                    linear-gradient(90deg, var(--teal) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-glow {
  position: absolute; top: -100px; right: -100px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,166,.15) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px;
  gap: 52px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,180,166,.13); border: 1px solid rgba(0,180,166,.28);
  color: var(--teal); padding: 4px 12px; border-radius: 20px;
  font-family: var(--fm); font-size: 10px; letter-spacing: .1em;
  margin-bottom: 22px;
}
.hero-h1 {
  font-family: var(--fs); font-size: 42px; font-weight: 800;
  color: var(--white); line-height: 1.18; letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-h1 em { color: var(--teal); font-style: normal; }
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.65);
  line-height: 1.8; max-width: 520px; margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sl-btn-teal {
  background: var(--teal); color: var(--navy);
  font-family: var(--fs); font-size: 14px; font-weight: 700;
  padding: 13px 28px; border-radius: var(--r8);
  border: none; transition: var(--t); display: inline-block;
}
.sl-btn-teal:hover {
  background: #00c9b3; transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,180,166,.35);
}
.sl-btn-outline {
  background: transparent; color: rgba(255,255,255,.72);
  font-family: var(--fs); font-size: 14px; font-weight: 500;
  padding: 12px 22px; border-radius: var(--r8);
  border: 1px solid rgba(255,255,255,.2); transition: var(--t);
  display: inline-block;
}
.sl-btn-outline:hover {
  border-color: rgba(255,255,255,.5); color: var(--white);
}
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r12); padding: 26px; backdrop-filter: blur(8px);
}
.hero-card-title {
  font-family: var(--fm); font-size: 10px; letter-spacing: .12em;
  color: var(--teal); margin-bottom: 18px; text-transform: uppercase;
}
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kpi-num {
  font-family: var(--fs); font-size: 30px; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.kpi-num sup { font-size: 14px; color: var(--teal); }
.kpi-label { font-size: 11px; color: rgba(255,255,255,.45); }
.kpi-divider { grid-column: 1/-1; height: 1px; background: rgba(255,255,255,.08); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeUp .55s ease both; }
.hero-card    { animation: fadeUp .55s ease both; animation-delay: .18s; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .hero-h1    { font-size: 28px; }
}

.trust-strip {
  background: var(--gold-lt);
  border-bottom: 1px solid #e8d3a8;
  padding: 11px 24px;
}
.trust-in {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.trust-label {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  color: var(--gold); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.trust-list { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item {
  font-size: 12px; color: var(--gray600);
  display: flex; align-items: center; gap: 5px;
}
.trust-item::before { content: '✓'; color: var(--gold); font-weight: 700; }

.site-footer {
  background: var(--navy);
  padding: 48px 24px 22px;
  margin-top: 80px;
}
.ft-in { max-width: 1140px; margin: 0 auto; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.ft-copy { font-size: 11px; color: rgba(255,255,255,.35); }
.logo--light .logo-name { color: var(--white); }
.logo--light .logo-sub  { color: rgba(255,255,255,.45); }
.ft-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 36px;
}
.ft-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.75; margin-top: 10px; }
.ft-col-title {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  color: var(--teal); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.ft-links { list-style: none; }
.ft-links li { margin-bottom: 7px; }
.ft-links a { font-size: 12px; color: rgba(255,255,255,.5); transition: var(--t); }
.ft-links a:hover { color: var(--white); }
.ft-policy { display: flex; gap: 14px; }
.ft-policy a { font-size: 11px; color: rgba(255,255,255,.35); }
.ft-policy a:hover { color: rgba(255,255,255,.65); }

@media (max-width: 768px) {
  .trust-in  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-list { gap: 10px; }
  .ft-top    { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.section { padding: 64px 24px; }
.sec-in { max-width: 1140px; margin: 0 auto; }
.sec-hd { margin-bottom: 36px; }
.eyebrow {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; color: var(--teal); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 9px;
}
.eyebrow::after { content: ''; flex: 0 0 20px; height: 1px; background: var(--teal); }
.sec-title {
  font-family: var(--fs); font-size: 28px; font-weight: 700;
  color: var(--navy); letter-spacing: -.5px;
}
.layout-sb {
  display: grid; grid-template-columns: 1fr 288px; gap: 32px;
}
.cat-nav { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-btn {
  padding: 7px 15px; border-radius: 20px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--gray200); background: var(--white);
  color: var(--gray600); cursor: pointer; transition: var(--t);
}
.cat-btn:hover, .cat-btn.on {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--gray200);
  border-radius: var(--r12); overflow: hidden; transition: var(--t); cursor: pointer;
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--sh3); border-color: var(--teal);
}
.card-vis {
  height: 150px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; position: relative;
}
.card-cat-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--fm); font-size: 9px; font-weight: 600;
  padding: 2px 7px; border-radius: 3px; letter-spacing: .05em;
}
.badge-compare { background: var(--teal); color: var(--navy); }
.badge-rank    { background: #7C3AED; color: #fff; }
.badge-how     { background: var(--green); color: #fff; }
.badge-review  { background: var(--orange); color: #fff; }
.card-vis--contract   { background: linear-gradient(145deg, var(--navy), var(--teal)); }
.card-vis--hr         { background: linear-gradient(145deg, var(--navy-mid), var(--navy-lt)); }
.card-vis--accounting { background: linear-gradient(145deg, #1B3A2A, var(--green)); }
.author-dot--teal     { background: var(--teal);    color: var(--navy); }
.author-dot--navy-lt  { background: var(--navy-lt); color: var(--white); }
.author-dot--green    { background: var(--green);   color: var(--white); }
.card-icon { font-size: 34px; }
.card-vis-sub {
  font-family: var(--fm); font-size: 9px;
  color: rgba(255,255,255,.3); letter-spacing: .07em;
}
.card-body { padding: 18px; }
.card-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.tag {
  font-family: var(--fm); font-size: 9px; font-weight: 500;
  padding: 2px 8px; border-radius: 3px; letter-spacing: .04em;
}
.tag-compare { background: #E0F7F4; color: #007A69; }
.tag-rank    { background: #EDE9FE; color: #5B21B6; }
.tag-how     { background: #DCFCE7; color: #15803D; }
.tag-review  { background: #FFF1E0; color: #9A4D00; }
.card-date { font-family: var(--fm); font-size: 10px; color: var(--gray400); margin-left: auto; }
.card-title {
  font-family: var(--fs); font-size: 15px; font-weight: 600;
  color: var(--navy); line-height: 1.5; letter-spacing: -.2px; margin-bottom: 8px;
}
.card-excerpt { font-size: 12px; color: var(--gray600); line-height: 1.65; }
.card-foot {
  padding: 11px 18px; border-top: 1px solid var(--gray100);
  display: flex; align-items: center; gap: 9px;
}
.author-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fs); font-size: 9px; font-weight: 700; flex-shrink: 0;
}
.card-author { font-size: 11px; color: var(--gray600); flex: 1; }
.card-time { font-family: var(--fm); font-size: 10px; color: var(--gray400); }

/* サイドバー */
.sw {
  background: var(--white); border: 1px solid var(--gray200);
  border-radius: var(--r12); overflow: hidden; margin-bottom: 18px;
}
.sw-hd {
  padding: 12px 16px; background: var(--navy); color: var(--white);
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.sw-body { padding: 16px; }
.rank-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--gray100);
}
.rank-item:last-child { border-bottom: none; padding-bottom: 0; }
.rank-n {
  font-family: var(--fs); font-size: 20px; font-weight: 700;
  color: var(--gray200); line-height: 1; flex-shrink: 0; width: 22px; text-align: center;
}
.rn1 { color: var(--gold); }
.rn2 { color: var(--gray400); }
.rn3 { color: #B87333; }
.rank-title { font-size: 12px; color: var(--navy); font-weight: 500; line-height: 1.4; }
.rank-pv { font-family: var(--fm); font-size: 10px; color: var(--gray400); margin-top: 2px; }
.cta-sw {
  background: linear-gradient(145deg, var(--navy), var(--navy-lt));
  border-radius: var(--r12); padding: 22px;
  border: 1px solid rgba(255,255,255,.07);
}
.cta-sw-title {
  font-family: var(--fs); font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 7px; letter-spacing: -.2px;
}
.cta-sw-body { font-size: 12px; color: rgba(255,255,255,.58); line-height: 1.65; margin-bottom: 14px; }
.cta-sw-btn {
  display: block; text-align: center; padding: 10px;
  background: var(--teal); color: var(--navy);
  font-family: var(--fs); font-weight: 700; font-size: 12px;
  border-radius: var(--r8); transition: var(--t);
}
.cta-sw-btn:hover { background: #00c9b3; }

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

.page-hero {
  background: var(--navy); padding: 44px 24px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 18px,
    rgba(0,180,166,.04) 18px, rgba(0,180,166,.04) 19px
  );
}
.ph-in { max-width: 1140px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb-sep { opacity: .35; }
.ph-title {
  font-family: var(--fs); font-size: 32px; font-weight: 800;
  color: var(--white); letter-spacing: -1px; margin-bottom: 6px;
}
.ph-desc { font-size: 13px; color: rgba(255,255,255,.55); }

.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--gray200);
  position: sticky; top: 62px; z-index: 100; padding: 0 24px;
}
.fb-in {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; height: 50px;
}
.fb-label {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  color: var(--gray600); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.fb-chips { display: flex; gap: 5px; overflow-x: auto; }
.chip {
  padding: 5px 13px; border-radius: 20px; font-size: 11px; font-weight: 500;
  border: 1px solid var(--gray200); background: transparent;
  color: var(--gray600); cursor: pointer; white-space: nowrap; transition: var(--t);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.on { background: var(--teal); color: var(--navy); border-color: var(--teal); font-weight: 600; }
.fb-count {
  margin-left: auto; font-family: var(--fm);
  font-size: 10px; color: var(--gray400); white-space: nowrap;
}

.list-cards { display: flex; flex-direction: column; gap: 14px; }
.lc {
  background: var(--white); border: 1px solid var(--gray200);
  border-radius: var(--r12);
  display: grid; grid-template-columns: 190px 1fr 80px;
  overflow: hidden; transition: var(--t); cursor: pointer;
}
.lc:hover { border-color: var(--teal); box-shadow: var(--sh2); }
.lc-vis {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px; min-height: 120px;
}
.lc-vis-icon { font-size: 28px; }
.lc-vis-sub {
  font-family: var(--fm); font-size: 9px;
  color: rgba(255,255,255,.3); letter-spacing: .07em;
}
.lc-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.lc-title {
  font-family: var(--fs); font-size: 16px; font-weight: 600;
  color: var(--navy); letter-spacing: -.2px; line-height: 1.4; margin-bottom: 7px;
}
.lc-title a { color: inherit; }
.lc-title a:hover { color: var(--teal); }
.lc-excerpt { font-size: 12px; color: var(--gray600); line-height: 1.6; margin-bottom: 10px; }
.lc-tags { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.lc-date { font-family: var(--fm); font-size: 10px; color: var(--gray400); }
.lc-side {
  padding: 16px; display: flex; flex-direction: column;
  align-items: flex-end; justify-content: center;
  border-left: 1px solid var(--gray100);
}
.lc-arr {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

.cat-count-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--gray100);
  font-size: 12px;
}
.cat-count-item:last-child { border-bottom: none; }
.cat-count-item a { color: var(--navy); transition: var(--t); }
.cat-count-item a:hover { color: var(--teal); }
.cat-count-num { font-family: var(--fm); font-size: 10px; color: var(--teal); }

.pagination {
  display: flex; justify-content: center; gap: 5px; padding: 36px 0;
}
.pagination a, .pagination span {
  width: 34px; height: 34px; border-radius: var(--r8);
  border: 1px solid var(--gray200); background: var(--white);
  font-size: 13px; color: var(--gray600);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

@media (max-width: 768px) {
  .lc { grid-template-columns: 1fr; }
  .lc-vis { min-height: 80px; }
  .lc-side { border-left: none; border-top: 1px solid var(--gray100); flex-direction: row; justify-content: flex-end; }
  .filter-bar { top: 62px; }
}

.art-layout {
  max-width: 1140px; margin: 0 auto;
  padding: 36px 24px;
  display: grid; grid-template-columns: 1fr 270px; gap: 36px;
}
.art-main { min-width: 0; }
.art-cats { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.art-updated { font-size: 11px; color: var(--gray400); font-family: var(--fm); }
.art-title {
  font-family: var(--fs); font-size: 30px; font-weight: 800;
  color: var(--navy); line-height: 1.3; letter-spacing: -1px; margin-bottom: 14px;
}
.art-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px; background: var(--gray100); border-radius: var(--r8); margin-bottom: 20px;
}
.author-info { display: flex; align-items: center; gap: 9px; }
.author-av {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fs); font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.author-name { font-size: 13px; font-weight: 500; color: var(--navy); }
.author-role { font-size: 10px; color: var(--gray400); font-family: var(--fm); }
.meta-sep { width: 1px; height: 26px; background: var(--gray200); }
.meta-it { font-family: var(--fm); font-size: 11px; color: var(--gray400); display: flex; align-items: center; gap: 4px; }

.sl-pr-box {
  background: var(--gold-lt); border: 1px solid #e0c492;
  border-left: 4px solid var(--gold); border-radius: var(--r8);
  padding: 11px 14px; font-size: 12px; color: #7A5C20;
  margin-bottom: 24px; display: flex; align-items: flex-start; gap: 7px; line-height: 1.5;
}
.sl-summary {
  background: var(--teal-lt); border: 1px solid rgba(0,180,166,.25);
  border-left: 4px solid var(--teal); border-radius: var(--r8);
  padding: 18px 20px; margin-bottom: 28px;
}
.sl-summary-title {
  font-family: var(--fm); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; color: var(--teal-dim);
  text-transform: uppercase; margin-bottom: 9px;
}
.sl-summary ul { padding-left: 16px; }
.sl-summary li { font-size: 13px; color: var(--gray800); line-height: 1.75; }

.art-body h2 {
  font-family: var(--fs); font-size: 21px; font-weight: 700;
  color: var(--navy); border-left: 4px solid var(--teal);
  padding-left: 12px; margin: 36px 0 16px; letter-spacing: -.3px;
}
.art-body h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 24px 0 10px; }
.art-body p { font-size: 14px; color: var(--gray800); line-height: 1.9; margin-bottom: 14px; }
.art-body a { color: var(--teal); text-decoration: underline; }
.art-body ul, .art-body ol { padding-left: 20px; margin-bottom: 14px; }
.art-body li { font-size: 14px; color: var(--gray800); line-height: 1.8; }

.art-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gray200);
}
.art-nav a { font-size: 13px; color: var(--teal); transition: var(--t); }
.art-nav a:hover { color: var(--teal-dim); }
.art-nav-next { text-align: right; }

.sticky-toc { position: sticky; top: 116px; }
.toc-card {
  background: var(--white); border: 1px solid var(--gray200);
  border-radius: var(--r12); overflow: hidden; margin-bottom: 16px;
}
.toc-hd {
  padding: 11px 14px; background: var(--gray100);
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  color: var(--gray600); letter-spacing: .1em; text-transform: uppercase;
}
.toc-list { padding: 8px 0; }
.toc-item {
  padding: 7px 14px; font-size: 12px; color: var(--gray600);
  cursor: pointer; transition: var(--t);
  display: flex; align-items: center; gap: 7px;
  border-left: 2px solid transparent;
}
.toc-item:hover, .toc-item.on {
  color: var(--teal); background: var(--teal-lt); border-left-color: var(--teal);
}
.toc-item.on { font-weight: 500; }
.toc-num { font-family: var(--fm); font-size: 9px; color: var(--teal); }

@media (max-width: 768px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-title  { font-size: 22px; }
  .sticky-toc { position: static; }
}

.cmp-table-wrap {
  border: 1px solid var(--gray200); border-radius: var(--r12);
  overflow: hidden; margin: 24px 0; box-shadow: var(--sh1);
  overflow-x: auto;
}
.cmp-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.cmp-table th {
  background: var(--navy); color: var(--white);
  font-family: var(--fs); font-size: 12px; font-weight: 600;
  padding: 13px 15px; text-align: left; letter-spacing: -.1px;
}
.cmp-table th.hl { background: var(--teal); color: var(--navy); }
.cmp-table td {
  padding: 12px 15px; font-size: 12px; color: var(--gray800);
  border-bottom: 1px solid var(--gray100); vertical-align: top;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:nth-child(even) td { background: var(--gray100); }
.cmp-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.ck  { color: var(--green); font-weight: 700; }
.cr  { color: var(--red); }
.tri { color: var(--orange); }
.best-badge {
  display: inline-block; background: var(--teal); color: var(--navy);
  font-family: var(--fm); font-size: 8px; font-weight: 600;
  padding: 1px 5px; border-radius: 2px; margin-left: 5px;
  vertical-align: middle; letter-spacing: .04em;
}

.page-layout {
  max-width: 860px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.page-main { min-width: 0; }
.page-title {
  font-family: var(--fs); font-size: 28px; font-weight: 800;
  color: var(--navy); letter-spacing: -1px;
  margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 2px solid var(--teal);
}
.page-body h2 {
  font-family: var(--fs); font-size: 18px; font-weight: 700;
  color: var(--navy); border-left: 4px solid var(--teal);
  padding-left: 12px; margin: 32px 0 14px;
}
.page-body h3 {
  font-size: 15px; font-weight: 600; color: var(--navy); margin: 20px 0 8px;
}
.page-body p {
  font-size: 14px; color: var(--gray800);
  line-height: 1.9; margin-bottom: 14px;
}
.page-body ul { padding-left: 20px; margin-bottom: 14px; }
.page-body li { font-size: 14px; color: var(--gray800); line-height: 1.8; }
.page-body table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 24px; font-size: 14px;
}
.page-body table th {
  background: var(--navy); color: var(--white);
  padding: 10px 14px; text-align: left; font-weight: 600;
  width: 160px;
}
.page-body table td {
  padding: 10px 14px; border-bottom: 1px solid var(--gray200);
  color: var(--gray800);
}
.page-body a { color: var(--teal); text-decoration: underline; }

@media (max-width: 768px) {
  .page-layout { padding: 24px 16px 60px; }
  .page-title  { font-size: 22px; }
}

.eeat-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px;
}
.eeat-item {
  background: rgba(255,255,255,.06);
  border: 0.5px solid rgba(255,255,255,.12);
  border-radius: var(--r8); padding: 14px;
}
.eeat-badge {
  font-family: var(--fm);
  font-size: 9px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.eeat-main {
  font-family: var(--fs);
  font-size: 17px; font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 5px;
}
.eeat-main em {
  font-style: normal; font-size: 11px; color: var(--teal);
}
.eeat-sub {
  font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.5;
}

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

@media (min-width: 769px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.search-form-wrap { margin-bottom: 28px; }
.search-form-inner {
  display: flex; gap: 0;
  border: 1px solid var(--gray200); border-radius: var(--r8);
  overflow: hidden; box-shadow: var(--sh1);
}
.search-input {
  flex: 1; padding: 12px 16px; font-size: 14px;
  border: none; outline: none; color: var(--gray800);
  font-family: var(--fj); background: var(--white);
}
.search-input::placeholder { color: var(--gray400); }
.search-btn {
  padding: 12px 20px; background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--fs); transition: var(--t); white-space: nowrap;
}
.search-btn:hover { background: var(--navy-lt); }

.no-results {
  text-align: center; padding: 60px 24px;
  background: var(--white); border-radius: var(--r12);
  border: 1px solid var(--gray200);
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; }
.no-results-title {
  font-family: var(--fs); font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.no-results-desc {
  font-size: 14px; color: var(--gray600);
  line-height: 1.7; margin-bottom: 24px;
}
.no-results-cats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.hdr-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--snow); border: 1px solid var(--gray200);
  border-radius: var(--r8); padding: 6px 12px;
  flex: 0 1 140px;
}
.hdr-search svg { width: 14px; height: 14px; color: var(--gray400); flex-shrink: 0; }
.hdr-search input {
  border: none; outline: none; background: transparent;
  font-size: 13px; color: var(--gray800); font-family: var(--fj);
  width: 100%;
}
.hdr-search input::placeholder { color: var(--gray400); }

@media (max-width: 768px) {
  .hdr-search { display: none; }
}

.error404-wrap {
  min-height: 70vh; display: flex;
  align-items: center; justify-content: center;
  padding: 60px 24px;
}
.error404-inner {
  max-width: 640px; width: 100%; text-align: center;
}
.error404-code {
  font-family: var(--fs); font-size: 120px; font-weight: 800;
  color: var(--gray200); line-height: 1; margin-bottom: 16px;
  letter-spacing: -4px;
}
.error404-title {
  font-family: var(--fs); font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 14px; letter-spacing: -.5px;
}
.error404-desc {
  font-size: 14px; color: var(--gray600);
  line-height: 1.8; margin-bottom: 32px;
}
.error404-search {
  display: flex; gap: 0; margin-bottom: 40px;
  border: 1px solid var(--gray200); border-radius: var(--r8);
  overflow: hidden; box-shadow: var(--sh1);
}
.error404-input {
  flex: 1; padding: 12px 16px; font-size: 14px;
  border: none; outline: none; color: var(--gray800);
  font-family: var(--fj);
}
.error404-input::placeholder { color: var(--gray400); }
.error404-cats-title {
  font-family: var(--fm); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.error404-cats-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 10px; margin-bottom: 36px; text-align: left;
}
.error404-cat-card {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--white);
  border: 1px solid var(--gray200); border-radius: var(--r8);
  text-decoration: none; transition: var(--t);
}
.error404-cat-card:hover {
  border-color: var(--teal); box-shadow: var(--sh2);
  transform: translateY(-2px);
}
.e404-cat-icon { font-size: 20px; }
.e404-cat-name { font-size: 13px; color: var(--navy); font-weight: 500; flex: 1; }
.e404-cat-arr { font-size: 14px; color: var(--teal); }
.error404-recent { margin-bottom: 8px; }
.error404-recent-list {
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
}
.error404-recent-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--white);
  border: 1px solid var(--gray200); border-radius: var(--r8);
  text-decoration: none; transition: var(--t); gap: 12px;
}
.error404-recent-item:hover { border-color: var(--teal); box-shadow: var(--sh1); }
.error404-recent-title { font-size: 13px; color: var(--navy); font-weight: 500; flex: 1; line-height: 1.4; }
.error404-recent-date { font-family: var(--fm); font-size: 11px; color: var(--gray400); white-space: nowrap; }

@media (max-width: 768px) {
  .error404-code { font-size: 80px; }
  .error404-cats-grid { grid-template-columns: 1fr; }
}

.related-posts {
  margin: 48px 0 32px;
  padding-top: 36px;
  border-top: 2px solid var(--gray100);
}
.related-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.related-title-text {
  font-family: var(--fs); font-size: 16px; font-weight: 700;
  color: var(--navy); letter-spacing: -.2px;
}
.related-title::after {
  content: ''; flex: 1; height: 1px; background: var(--gray200);
}
.related-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.related-card {
  background: var(--white); border: 1px solid var(--gray200);
  border-radius: var(--r12); overflow: hidden;
  text-decoration: none; transition: var(--t); display: block;
}
.related-card:hover {
  transform: translateY(-3px); box-shadow: var(--sh2);
  border-color: var(--teal);
}
.related-card-vis {
  height: 80px; display: flex; align-items: flex-end;
  padding: 10px 12px; position: relative; overflow: hidden;
}
.related-card-cat {
  font-family: var(--fm); font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,.8); letter-spacing: .06em;
  background: rgba(0,0,0,.2); padding: 2px 7px; border-radius: 3px;
}
.related-card-body { padding: 12px 14px; }
.related-card-date {
  font-family: var(--fm); font-size: 10px;
  color: var(--gray400); margin-bottom: 5px;
}
.related-card-title {
  font-family: var(--fs); font-size: 13px; font-weight: 600;
  color: var(--navy); line-height: 1.5; letter-spacing: -.1px;
}

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

.sl-related-links {
  background: var(--teal-lt);
  border: 1px solid rgba(0,180,166,.2);
  border-left: 4px solid var(--teal);
  border-radius: var(--r8);
  padding: 16px 20px;
  margin: 32px 0;
}
.sl-related-links-title {
  font-family: var(--fm);
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-dim); margin-bottom: 10px;
}
.sl-related-links ul { padding-left: 18px; margin: 0; }
.sl-related-links li { margin-bottom: 5px; }
.sl-related-links a {
  font-size: 13px; color: var(--navy);
  text-decoration: none; transition: var(--t);
}
.sl-related-links a:hover { color: var(--teal); text-decoration: underline; }

.sl-affiliate-cta {
  background: var(--white);
  border-radius: var(--r12); padding: 28px;
  margin: 36px 0; text-align: center;
  border: 2px solid var(--teal);
  box-shadow: var(--sh2);
}
.sl-affiliate-cta-title {
  font-family: var(--fs); font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; letter-spacing: -.3px;
}
.sl-affiliate-cta-desc {
  font-size: 13px; color: var(--gray600);
  margin-bottom: 20px; line-height: 1.6;
}
.sl-affiliate-note {
  font-size: 11px; color: var(--gray400);
  margin-top: 12px; font-family: var(--fm);
}
.sl-affiliate-cta .sl-btn-teal {
  color: var(--white);
  font-size: 15px;
  padding: 14px 36px;
  display: inline-block;
  width: auto;
  min-width: 320px;
}

.author-layout {
  max-width: 860px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.author-profile-card {
  background: var(--white); border-radius: var(--r12);
  border: 1px solid var(--gray200); padding: 32px;
  margin-bottom: 32px; box-shadow: var(--sh1);
}
.author-profile-head {
  display: flex; align-items: flex-start; gap: 24px;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--gray100);
}
.author-profile-avatar img {
  width: 100px; height: 100px; border-radius: 50%;
  border: 3px solid var(--teal); object-fit: cover;
}
.author-profile-name {
  font-family: var(--fs); font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.author-profile-role {
  font-size: 13px; color: var(--gray600); margin-bottom: 12px;
}
.author-profile-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.author-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 20px;
  background: var(--teal-lt); color: var(--teal-dim);
  font-weight: 500;
}
.author-profile-bio {
  font-size: 14px; color: var(--gray800); line-height: 1.85;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--gray100);
}
.author-eeat {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--gray100);
}
.author-eeat-item { text-align: center; }
.author-eeat-num {
  font-family: var(--fs); font-size: 26px; font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: 6px;
}
.author-eeat-num span { font-size: 13px; color: var(--teal); }
.author-eeat-label { font-size: 11px; color: var(--gray600); line-height: 1.5; }
.author-policy-title {
  font-family: var(--fs); font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}
.author-policy ul { padding-left: 18px; }
.author-policy li {
  font-size: 13px; color: var(--gray600); line-height: 1.8;
}
.author-posts-title {
  font-family: var(--fs); font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 16px; letter-spacing: -.3px;
}

@media (max-width: 768px) {
  .author-profile-head { flex-direction: column; align-items: center; text-align: center; }
  .author-profile-tags { justify-content: center; }
  .author-eeat { grid-template-columns: 1fr; }
}
.ranking-page-layout {
  max-width: 860px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.ranking-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ranking-tab {
  padding: 10px 20px; border-radius: 24px; font-size: 13px; font-weight: 600;
  border: 2px solid var(--gray200); background: var(--white);
  color: var(--gray600); cursor: pointer; transition: var(--t);
  font-family: var(--fj);
}
.ranking-tab:hover { border-color: var(--teal); color: var(--teal); }
.ranking-tab.on {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.ranking-section { display: none; }
.ranking-section.on { display: block; }
.ranking-section-title {
  font-family: var(--fs); font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px; letter-spacing: -.3px;
}
.ranking-section-desc {
  font-size: 13px; color: var(--gray600); margin-bottom: 24px; line-height: 1.6;
}
.ranking-list { display: flex; flex-direction: column; gap: 16px; }
.ranking-card {
  background: var(--white); border: 1px solid var(--gray200);
  border-radius: var(--r12); padding: 24px;
  display: flex; gap: 20px; align-items: flex-start;
  box-shadow: var(--sh1); transition: var(--t);
}
.ranking-card:hover { box-shadow: var(--sh2); }
.ranking-card.rank-1 { border-left: 4px solid var(--gold); }
.ranking-card.rank-2 { border-left: 4px solid var(--gray400); }
.ranking-card.rank-3 { border-left: 4px solid #B87333; }
.ranking-num {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; flex-shrink: 0; width: 52px;
}
.rank-medal { font-size: 28px; line-height: 1; }
.rank-label {
  font-family: var(--fm); font-size: 9px; font-weight: 600;
  color: var(--gray400); letter-spacing: .04em; white-space: nowrap;
}
.ranking-body { flex: 1; min-width: 0; }
.ranking-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.ranking-service-name {
  font-family: var(--fs); font-size: 18px; font-weight: 700;
  color: var(--navy); letter-spacing: -.3px;
}
.ranking-score { display: flex; align-items: center; gap: 5px; }
.score-stars { color: var(--gold); font-size: 13px; }
.score-num {
  font-family: var(--fm); font-size: 13px; font-weight: 600; color: var(--gold);
}
.ranking-reason {
  font-size: 13px; color: var(--gray800); line-height: 1.75;
  margin-bottom: 14px; padding: 12px 14px;
  background: var(--gray100); border-radius: var(--r8);
}
.ranking-reason-label {
  display: inline-block; font-family: var(--fm); font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-dim); background: var(--teal-lt);
  padding: 2px 7px; border-radius: 3px; margin-right: 8px; margin-bottom: 4px;
}
.ranking-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.rtag {
  font-size: 11px; padding: 3px 10px; border-radius: 20px;
  background: var(--snow); border: 1px solid var(--gray200);
  color: var(--gray600); font-weight: 500;
}
.sl-btn-navy {
  background: var(--navy); color: var(--white);
  font-family: var(--fs); font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: var(--r8);
  border: none; transition: var(--t); display: inline-block;
}
.sl-btn-navy:hover {
  background: var(--navy-lt); transform: translateY(-1px);
  box-shadow: var(--sh2);
}
.ranking-detail-btn { font-size: 13px; }

@media (max-width: 768px) {
  .ranking-card { flex-direction: column; gap: 12px; }
  .ranking-num { flex-direction: row; width: auto; }
  .ranking-tabs { gap: 6px; }
  .ranking-tab { padding: 8px 14px; font-size: 12px; }
}
.freshness-badge {
  display: inline-block;
  font-size: 10px; font-weight: 500;
  padding: 2px 8px; border-radius: 20px;
  background: var(--teal-lt); color: var(--teal-dim);
  margin-left: 8px; font-family: var(--fm);
  vertical-align: middle;
}
.freshness-badge.fresh {
  background: #E8F5E9; color: #2E7D32;
}
.ft-sns { display: flex; gap: 12px; }
.ft-sns-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.5);
  text-decoration: none; transition: var(--t);
}
.ft-sns-link:hover { color: var(--white); }
.art-thumbnail {
  margin-bottom: 28px;
  border-radius: var(--r12);
  overflow: hidden;
  box-shadow: var(--sh2);
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.art-thumbnail-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.card-thumbnail-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  position: absolute; top: 0; left: 0;
}
.card-vis { position: relative; }
.lc-thumbnail-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy);
  border-top: 2px solid var(--teal);
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(13,27,62,.18);
  animation: slideUp .4s ease both;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner--hide {
  animation: slideDown .4s ease both;
}
@keyframes slideDown {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}
.cookie-banner-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-title {
  font-family: var(--fs); font-size: 14px; font-weight: 700;
  color: var(--white); display: block; margin-bottom: 4px;
}
.cookie-banner-text p {
  font-size: 12px; color: rgba(255,255,255,.65);
  line-height: 1.6; margin: 0;
}
.cookie-banner-text a {
  color: var(--teal); text-decoration: underline;
}
.cookie-banner-actions {
  display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap;
}
.cookie-btn-accept {
  padding: 9px 20px; background: var(--teal); color: var(--navy);
  font-family: var(--fs); font-size: 13px; font-weight: 700;
  border: none; border-radius: var(--r8); cursor: pointer;
  transition: var(--t); white-space: nowrap;
}
.cookie-btn-accept:hover { background: #00c9b3; }
.cookie-btn-decline {
  padding: 9px 20px; background: transparent;
  color: rgba(255,255,255,.6);
  font-family: var(--fs); font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r8);
  cursor: pointer; transition: var(--t); white-space: nowrap;
}
.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,.5); color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

.cta-sw .ml-embedded .ml-form-embedContainer {
  min-width: unset !important;
}
.cta-sw .ml-embedded .ml-form-embedWrapper {
  background: transparent !important;
  padding: 0 !important;
}
.cta-sw .ml-embedded .ml-form-embedBody {
  padding: 0 !important;
}
.cta-sw .ml-embedded input[type="email"] {
  border-radius: var(--r8) !important;
  font-family: var(--fj) !important;
  font-size: 13px !important;
  margin-bottom: 8px !important;
}
.cta-sw .ml-embedded .ml-form-embedSubmit button {
  background: var(--teal) !important;
  color: var(--navy) !important;
  font-family: var(--fs) !important;
  font-weight: 700 !important;
  border-radius: var(--r8) !important;
  width: 100% !important;
  font-size: 13px !important;
}
.cta-sw .ml-embedded .ml-form-embedSubmit button:hover {
  background: #00c9b3 !important;
}

.related-thumbnail-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  position: absolute; top: 0; left: 0;
}
.related-card-icon { font-size: 24px; position: relative; z-index: 1; }
.related-card-cat  { position: relative; z-index: 1; }

/* ─── ハンバーガーボタン ─── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: transparent; border: none;
  cursor: pointer; padding: 4px;
  margin-left: auto; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--t); transform-origin: center;
}
.hamburger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.on span:nth-child(2) { opacity: 0; }
.hamburger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── モバイルメニュー ─── */
.mobile-menu {
  display: none;
  position: fixed; top: 62px; left: 0; right: 0;
  background: var(--white); z-index: 190;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray200);
  box-shadow: var(--sh3);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--t);
}
.mobile-menu.on {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-list {
  list-style: none; padding: 0; margin: 0 0 16px;
}
.mobile-nav-list li { border-bottom: 1px solid var(--gray100); }
.mobile-nav-list li a {
  display: block; padding: 13px 4px;
  font-size: 14px; font-weight: 500; color: var(--gray800);
  transition: var(--t);
}
.mobile-nav-list li a:hover { color: var(--teal); }
.mobile-cta {
  display: block; text-align: center;
  padding: 12px; background: var(--navy); color: var(--white);
  font-family: var(--fs); font-weight: 600; font-size: 14px;
  border-radius: var(--r8); transition: var(--t);
}
.mobile-cta:hover { background: var(--navy-lt); }
.mobile-overlay {
  display: none; position: fixed;
  inset: 0; background: rgba(0,0,0,.3);
  z-index: 180;
}
.mobile-overlay.on { display: block; }

@media (max-width: 768px) {
  .hamburger  { display: flex; }
  .hdr-nav    { display: none; }
  .hdr-search { display: none; }
  .hdr-cta    { display: none; }
}
