/*
Theme Name: smart-rate-watch
Text Domain: smart-rate-watch
Description: スマホ料金比較・変更監視に特化した画像不要の専門メディアテーマ
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

:root{
  --sr-ink:#25313b;
  --sr-ink-2:#43515d;
  --sr-muted:#727d86;
  --sr-line:#e8e3da;
  --sr-panel:#f6f2eb;
  --sr-white:#fffdf9;
  --sr-cream:#fbf8f2;
  --sr-teal:#176b65;
  --sr-teal-dark:#0f514d;
  --sr-teal-soft:#e8f2ef;
  --sr-coral:#d8794c;
  --sr-coral-soft:#f9ece4;
  --sr-sage:#7d9b8f;
  --sr-radius:26px;
  --sr-shadow:0 18px 50px rgba(68,56,40,.07);
  --sr-shell:1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sr-cream);color:var(--sr-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.78;-webkit-font-smoothing:antialiased}
a{color:var(--sr-teal);text-decoration:none}
a:hover{color:var(--sr-teal-dark)}
img{max-width:100%;height:auto}
.sr-shell{width:min(calc(100% - 40px),var(--sr-shell));margin-inline:auto}

/* Header */
.sr-site-header{position:sticky;top:0;z-index:50;background:rgba(251,248,242,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(232,227,218,.9)}
.sr-utility{background:#f1ece3;color:var(--sr-ink-2);font-size:12px}
.sr-utility .sr-shell{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.sr-live{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.sr-live i{width:7px;height:7px;border-radius:50%;background:var(--sr-coral)}
.sr-utility-note{color:#7f7a72}
.sr-nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.sr-brand{display:flex;align-items:center;gap:12px;color:var(--sr-ink);min-width:max-content}
.sr-brand-mark{width:13px;height:13px;border-radius:50%;background:var(--sr-coral);box-shadow:14px 0 0 var(--sr-sage)}
.sr-brand-copy{display:flex;flex-direction:column;line-height:1.15}
.sr-brand-copy strong{font-size:19px;letter-spacing:-.025em;font-weight:800}
.sr-brand-copy small{margin-top:5px;color:var(--sr-muted);font-size:10px;font-weight:600;letter-spacing:.02em}
.sr-menu{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0}
.sr-menu ul{list-style:none;display:flex;align-items:center;gap:4px;padding:0;margin:0;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.sr-menu ul::-webkit-scrollbar{display:none}
.sr-menu li{margin:0}
.sr-menu a{display:block;padding:9px 11px;color:var(--sr-ink-2);font-size:13px;font-weight:650;border-radius:999px}
.sr-menu a:hover{background:#f1ece3;color:var(--sr-teal)}
.sr-menu .menu-item:first-child a{background:var(--sr-teal);color:#fff;padding-inline:17px}

/* Main */
.sr-site-main{min-height:70vh;background:var(--sr-cream)}
.sr-home,.sr-page-shell{padding:42px 0 92px}
.sr-page-shell{max-width:980px}.sr-page-shell.sr-page-wide{max-width:1160px}
.sr-page-head{padding:38px 40px 34px;border:1px solid var(--sr-line);border-radius:30px;background:var(--sr-white);margin-bottom:28px}
.sr-eyebrow,.sr-kicker,.sr-section-head>span{display:inline-flex;align-items:center;color:var(--sr-coral);font-size:11px;font-weight:800;letter-spacing:.08em}
.sr-page-head h1{font-size:clamp(30px,4vw,46px);line-height:1.18;letter-spacing:-.045em;margin:10px 0 10px}
.sr-page-head p{margin:0;color:var(--sr-muted);font-size:14px}

/* Hero */
.sr-hero,.sr-compare-hero{position:relative;overflow:hidden;border-radius:34px;background:var(--sr-white);color:var(--sr-ink);padding:70px 64px 58px;border:1px solid var(--sr-line);box-shadow:none}
.sr-hero:before,.sr-compare-hero:before{content:"";position:absolute;width:330px;height:330px;right:-110px;top:-150px;border-radius:50%;background:rgba(216,121,76,.10)}
.sr-hero:after,.sr-compare-hero:after{content:"";position:absolute;width:220px;height:220px;right:95px;bottom:-150px;border-radius:50%;background:rgba(125,155,143,.12)}
.sr-hero>*,.sr-compare-hero>*{position:relative;z-index:1}
.sr-hero .sr-kicker,.sr-compare-hero .sr-kicker{color:var(--sr-coral);background:var(--sr-coral-soft);padding:7px 11px;border-radius:999px}
.sr-hero h1,.sr-compare-hero h1{max-width:860px;font-size:clamp(40px,6vw,68px);line-height:1.06;letter-spacing:-.06em;margin:22px 0 20px;color:var(--sr-ink);font-weight:850}
.sr-compare-hero h1{font-size:clamp(34px,5vw,56px)}
.sr-lead{max-width:790px;font-size:clamp(16px,2vw,20px);color:var(--sr-ink-2);margin:0;line-height:1.9}
.sr-lead strong{color:var(--sr-ink)}
.sr-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.sr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 21px;border-radius:999px;font-weight:750;font-size:14px;transition:.18s ease}
.sr-btn-primary{background:var(--sr-teal);color:#fff}
.sr-btn-primary:hover{background:var(--sr-teal-dark);color:#fff;transform:translateY(-1px)}
.sr-btn-sub{background:#f3efe8;color:var(--sr-ink);border:1px solid transparent}
.sr-btn-sub:hover{color:var(--sr-teal);background:#ece6dc}
.sr-note{margin:26px 0 0;color:#8b857e;font-size:12px}

/* Trust */
.sr-trust{display:grid;grid-template-columns:repeat(3,1fr);margin:18px 0 58px;border:1px solid var(--sr-line);border-radius:24px;background:rgba(255,253,249,.74);overflow:hidden}
.sr-trust>div{padding:23px 26px;border-right:1px solid var(--sr-line);display:flex;flex-direction:column;gap:3px}
.sr-trust>div:last-child{border-right:0}
.sr-trust strong{font-size:18px;letter-spacing:-.025em}
.sr-trust span{font-size:12px;color:var(--sr-muted)}

/* Human, consultation-like surfaces */
.sr-home{max-width:1100px}
.sr-home .sr-hero{max-width:1040px;margin:0 auto;background:linear-gradient(135deg,#fffdf9 0%,#fff5ef 100%);padding:62px 58px 48px}
.sr-home .sr-hero h1{max-width:760px;font-size:clamp(38px,5.4vw,58px);line-height:1.12;letter-spacing:-.052em}
.sr-home .sr-lead{max-width:720px;font-size:18px;line-height:1.95}
.sr-welcome-note{max-width:700px;margin-top:28px;padding:18px 20px 18px 22px;background:rgba(255,255,255,.72);border:1px solid #eadfd7;border-radius:18px}
.sr-welcome-note span{display:block;color:var(--sr-coral);font-size:11px;font-weight:800;margin-bottom:4px}
.sr-welcome-note p{margin:0;color:#625b55;font-size:14px;line-height:1.8}
.sr-trust{gap:12px;border:0;background:transparent;overflow:visible}
.sr-trust>div{border:1px solid var(--sr-line)!important;border-radius:20px;background:rgba(255,253,249,.78);padding:20px 22px}
.sr-trust strong{font-size:16px;line-height:1.5}
.sr-worries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sr-worry{position:relative;padding:24px 24px 22px;border-radius:26px;border:1px solid #eadfd7;background:#fffaf6}
.sr-worry:nth-child(2){background:#f7f5ef}
.sr-worry:nth-child(3){background:#f3f7f3}
.sr-worry:after{content:"";position:absolute;left:28px;bottom:-9px;width:18px;height:18px;background:inherit;border-right:1px solid #eadfd7;border-bottom:1px solid #eadfd7;transform:rotate(45deg)}
.sr-worry strong{display:block;font-size:18px;line-height:1.55;letter-spacing:-.02em;color:#403b36}
.sr-worry p{margin:8px 0 0;color:var(--sr-muted);font-size:13px}
.sr-gentle{margin:56px 0;padding:34px 36px;border-radius:30px;background:#f2f6f2;border:1px solid #dce7df}
.sr-gentle strong{display:block;font-size:24px;line-height:1.5;color:#34524a;margin-bottom:8px}
.sr-gentle p{margin:0;color:#61736d;font-size:14px;line-height:1.85}
.sr-home .sr-section-head>span{font-size:12px;letter-spacing:.02em;font-weight:750}
.sr-home .sr-card{padding:28px;border-radius:26px}
.sr-home .sr-card h3{font-size:21px}

/* Sections */
.sr-section{margin:70px 0}
.sr-section-head{margin-bottom:26px;max-width:760px}
.sr-section-head h2{font-size:clamp(28px,4vw,39px);line-height:1.25;letter-spacing:-.045em;margin:9px 0 10px;color:var(--sr-ink)}
.sr-section-head p{margin:0;color:var(--sr-muted);font-size:15px}
.sr-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sr-card,.sr-line,.sr-choice,.sr-point{background:var(--sr-white);border:1px solid var(--sr-line);border-radius:24px;padding:26px;box-shadow:none}
a.sr-card,a.sr-line{display:block;color:var(--sr-ink);transition:.18s ease}
a.sr-card:hover,a.sr-line:hover{border-color:#d7cec0;background:#fff;transform:translateY(-2px);box-shadow:0 14px 34px rgba(68,56,40,.06)}
.sr-card h3,.sr-choice h3,.sr-point h3{font-size:19px;line-height:1.45;margin:13px 0 8px;letter-spacing:-.02em}
.sr-card p,.sr-choice p,.sr-point p{font-size:14px;color:var(--sr-muted);margin:0 0 12px}
.sr-tag{display:inline-flex;padding:5px 10px;border-radius:999px;background:var(--sr-teal-soft);color:var(--sr-teal);font-size:11px;font-weight:800}
.sr-card-link{font-size:13px;font-weight:750;color:var(--sr-teal)}
.sr-line{min-height:116px;display:flex!important;flex-direction:column;justify-content:center}
.sr-line strong{font-size:20px;letter-spacing:-.025em}
.sr-line span{font-size:12px;color:var(--sr-muted);margin-top:5px}
.sr-method{padding:38px;border-radius:30px;background:#f2eee7;border:1px solid var(--sr-line)}
.sr-point{background:rgba(255,253,249,.8)}
.sr-point b{color:var(--sr-coral);font-size:12px;letter-spacing:.08em}
.sr-center{text-align:center;margin-top:26px;font-weight:700;font-size:14px}

/* Comparison */
.sr-jump{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 54px;padding:8px;background:#f1ece4;border:1px solid var(--sr-line);border-radius:999px;width:max-content;max-width:100%}
.sr-jump a{padding:8px 13px;border-radius:999px;color:var(--sr-ink-2);font-size:13px;font-weight:750}
.sr-jump a:hover{background:#fff;color:var(--sr-teal)}
.sr-result{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 30px;border:1px solid #d7e2dd;background:var(--sr-teal-soft);border-radius:24px}
.sr-result-label{display:block;color:var(--sr-teal);font-weight:800;font-size:11px;letter-spacing:.05em;margin-bottom:4px}
.sr-result strong{display:block;font-size:21px;letter-spacing:-.025em}
.sr-result p{margin:7px 0 0;color:#5d7069;font-size:13px}
.sr-choice{position:relative;min-height:220px}
.sr-choice>strong{display:block;font-size:22px;margin:8px 0;color:var(--sr-ink)}
.sr-choice>a{font-size:13px;font-weight:750}
.sr-callout{padding:25px 28px;border-left:4px solid var(--sr-coral);background:var(--sr-coral-soft);border-radius:0 22px 22px 0}
.sr-callout strong{font-size:16px}
.sr-callout p{margin:7px 0 0;color:#735d50;font-size:14px}
.sr-table-wrap{overflow:auto;border:1px solid var(--sr-line);border-radius:24px;background:var(--sr-white)}
.sr-table{width:100%;border-collapse:collapse;min-width:790px;font-size:13px}
.sr-table th{position:sticky;top:0;background:#f2eee7;color:#625d55;text-align:left;padding:14px 16px;border-bottom:1px solid var(--sr-line);font-size:11px;letter-spacing:.03em}
.sr-table td{padding:18px 16px;border-bottom:1px solid #eee8de;vertical-align:top}
.sr-table tbody tr:last-child td{border-bottom:0}
.sr-table tbody tr:hover{background:#fffcf7}
.sr-sources{margin-top:58px;padding-top:30px;border-top:1px solid var(--sr-line)}
.sr-sources h2{font-size:18px;margin:0 0 12px}
.sr-sources ul{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0;margin:0;list-style:none}
.sr-sources a{font-size:12px;font-weight:700}

/* Documents */
.sr-document{background:var(--sr-white);border:1px solid var(--sr-line);border-radius:26px;padding:38px 42px;box-shadow:none}
.sr-document h2{font-size:27px;line-height:1.35;letter-spacing:-.03em;margin:40px 0 14px;padding-top:2px}
.sr-document h2:first-child{margin-top:0}
.sr-document h3{font-size:20px;margin:28px 0 10px}
.sr-document p,.sr-document li{font-size:15px;color:#4a5660}
.sr-document table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.sr-document th,.sr-document td{border:1px solid var(--sr-line);padding:12px 14px;text-align:left;vertical-align:top}
.sr-document th{background:#f4f0e9}.sr-document small{color:var(--sr-muted)}

/* Footer */
.sr-footer{background:#2f3b3a;color:#d7dfdc;margin-top:0}
.sr-footer-main{padding:44px 0 30px;display:grid;grid-template-columns:1.4fr 1fr;gap:50px}
.sr-footer-brand strong{display:block;color:#fff;font-size:18px;margin-bottom:8px}
.sr-footer-brand p{margin:0;max-width:580px;font-size:12px;line-height:1.8;color:#b9c5c1}
.sr-footer-links{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;align-content:flex-start}
.sr-footer-links a{color:#e7eeeb;font-size:12px;font-weight:700}
.sr-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:16px 0 24px;font-size:11px;color:#9faaa6;display:flex;justify-content:space-between;gap:15px}

@media(max-width:900px){
  .sr-nav{min-height:68px;align-items:flex-start;flex-direction:column;padding:13px 0 10px;gap:8px}
  .sr-menu{width:100%;overflow:hidden}.sr-menu ul{width:100%}
  .sr-hero,.sr-compare-hero{padding:50px 38px 44px}.sr-grid-3{grid-template-columns:1fr}
  .sr-trust{grid-template-columns:1fr}.sr-trust>div{border-right:0;border-bottom:1px solid var(--sr-line)}.sr-trust>div:last-child{border-bottom:0}
  .sr-footer-main{grid-template-columns:1fr;gap:26px}.sr-footer-links{justify-content:flex-start}.sr-worries{grid-template-columns:1fr}.sr-home .sr-hero{padding:48px 34px 40px}
}
/* Guided home flow */
.sr-assurance{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:18px 0 62px;background:var(--sr-line);border:1px solid var(--sr-line);border-radius:24px;overflow:hidden}
.sr-assurance>div{background:var(--sr-white);padding:18px 22px;display:flex;align-items:center;gap:11px;font-size:13px;color:var(--sr-ink-2)}
.sr-assurance b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--sr-teal-soft);color:var(--sr-teal);font-size:12px;flex:0 0 auto}
.sr-route{background:var(--sr-white);border:1px solid var(--sr-line);border-radius:32px;padding:34px;margin:34px 0}
.sr-step{padding:10px 0 28px}.sr-step+.sr-step{border-top:1px solid var(--sr-line);padding-top:30px}
.sr-step-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}.sr-step-number{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--sr-coral-soft);color:var(--sr-coral);font-weight:800;font-size:13px;flex:0 0 auto}
.sr-step-head h2{margin:0;font-size:24px;line-height:1.35;letter-spacing:-.03em}.sr-step-head p{margin:4px 0 0;color:var(--sr-muted);font-size:13px}
.sr-carrier-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.sr-carrier-btn{display:flex;align-items:center;justify-content:center;min-height:62px;padding:10px;border:1px solid var(--sr-line);background:#fff;border-radius:18px;color:var(--sr-ink);font-size:14px;font-weight:750;transition:.18s ease}.sr-carrier-btn:hover{border-color:#cdbfac;background:#fffaf3;transform:translateY(-1px)}
.sr-use-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sr-use-card{display:block;padding:22px 20px;border-radius:20px;background:#f8f5ef;border:1px solid transparent;color:var(--sr-ink);transition:.18s ease}.sr-use-card:hover{background:#fff;border-color:var(--sr-line);transform:translateY(-1px)}.sr-use-card small{display:block;color:var(--sr-coral);font-weight:800;margin-bottom:6px}.sr-use-card strong{display:block;font-size:18px;letter-spacing:-.02em}.sr-use-card span{display:block;margin-top:6px;font-size:12px;color:var(--sr-muted)}
.sr-route-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:22px;background:var(--sr-teal-soft);margin-top:4px}.sr-route-footer p{margin:0;color:#536963;font-size:13px}.sr-route-footer a{white-space:nowrap;font-weight:800}
.sr-soft-note{margin:56px 0 0;padding:26px 30px;border-radius:24px;background:#f5eee8;border-left:4px solid var(--sr-coral)}.sr-soft-note strong{display:block;font-size:18px;margin-bottom:5px}.sr-soft-note p{margin:0;color:var(--sr-muted);font-size:14px}

@media(max-width:900px){
  .sr-carrier-grid{grid-template-columns:repeat(3,1fr)}
  .sr-assurance{grid-template-columns:1fr}.sr-assurance>div{border-bottom:1px solid var(--sr-line)}.sr-assurance>div:last-child{border-bottom:0}
}
@media(max-width:620px){
  .sr-shell{width:min(calc(100% - 24px),var(--sr-shell))}.sr-utility-note{display:none}
  .sr-hero,.sr-compare-hero{padding:38px 24px 34px;border-radius:24px}.sr-home,.sr-page-shell{padding:24px 0 60px}
  .sr-page-head{padding:28px 22px}.sr-method,.sr-document{padding:24px 20px}.sr-result{align-items:flex-start;flex-direction:column}
  .sr-actions .sr-btn{width:100%}.sr-footer-bottom{flex-direction:column}.sr-brand-copy small{display:none}
  .sr-route{padding:22px 18px;border-radius:24px}.sr-carrier-grid{grid-template-columns:repeat(2,1fr)}.sr-use-grid{grid-template-columns:1fr}.sr-route-footer{align-items:flex-start;flex-direction:column}.sr-step-head h2{font-size:21px}
}
