/*
Theme Name: TSUGIKAE
Theme URI: https://tsugikae.com/
Author: TSUGIKAE
Description: AI買い替え・暮らし診断「ツギカエ / TSUGIKAE」専用の軽量WordPressテーマ。
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tsugikae
License: GPL-2.0-or-later
*/

:root{
  --tg-bg:#f2f0eb;--tg-paper:#fbfaf7;--tg-card:#fff;--tg-ink:#16191d;--tg-muted:#6f747b;
  --tg-line:#deddd8;--tg-blue:#2457e6;--tg-dark:#173aa4;--tg-lime:#c7f05b;--tg-soft:#eef2ff;
  --tg-shadow:0 18px 50px rgba(24,30,42,.08);--tg-radius:30px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tg-bg);color:var(--tg-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",sans-serif;letter-spacing:.01em}
a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.tg-container{width:min(1120px,calc(100% - 36px));margin:auto}
.tg-header{padding:18px 0}.tg-header-inner{display:flex;justify-content:space-between;align-items:center;gap:22px}
.tg-wordmark{display:inline-flex;align-items:center;gap:9px;line-height:1}.tg-brand-ja{font-size:24px;font-weight:900;letter-spacing:.04em}.tg-brand-en{font-size:9px;font-weight:850;letter-spacing:.14em;color:var(--tg-muted);position:relative;padding-right:9px}.tg-brand-en:after{content:"";position:absolute;right:0;top:-2px;width:6px;height:6px;background:var(--tg-lime);border-radius:50%}
.tg-nav{display:flex;align-items:center;gap:22px;font-size:13px;color:#454a50}.tg-nav .menu{display:flex;gap:20px;list-style:none;margin:0;padding:0}.tg-nav-cta{background:var(--tg-ink);color:#fff;padding:10px 15px;border-radius:999px;font-weight:800}
.tg-hero{background:var(--tg-paper);border:1px solid var(--tg-line);border-radius:36px;padding:50px 46px;display:grid;grid-template-columns:1.2fr .8fr;gap:30px;box-shadow:var(--tg-shadow);position:relative;overflow:hidden}
.tg-hero:after{content:"";position:absolute;right:-90px;bottom:-125px;width:330px;height:330px;border-radius:50%;background:var(--tg-lime);opacity:.55}
.tg-hero-copy,.tg-hero-side{position:relative;z-index:1}.tg-eyebrow{font-size:12px;font-weight:850;letter-spacing:.14em;color:var(--tg-blue);text-transform:uppercase}
.tg-hero h1{font-size:clamp(42px,7vw,76px);line-height:1.03;letter-spacing:-.045em;margin:14px 0 20px}.tg-hero h1 em{font-style:normal;color:var(--tg-blue)}
.tg-hero p{max-width:660px;line-height:1.9;color:#484e56;font-size:15px}.tg-hero-side{display:flex;align-items:flex-end}.tg-trust-quote{background:var(--tg-ink);color:#fff;border-radius:24px;padding:24px;width:100%;max-width:310px;margin-left:auto}.tg-trust-quote:before{content:"";display:block;width:10px;height:10px;border-radius:50%;background:var(--tg-lime);margin-bottom:16px}.tg-trust-quote b{font-size:19px;line-height:1.55}.tg-trust-quote p{font-size:12px;color:#c7ccd2;line-height:1.75;margin-bottom:0}
.tg-trustrow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 42px}.tg-trust{background:rgba(255,255,255,.65);border:1px solid var(--tg-line);border-radius:17px;padding:15px 17px}.tg-trust b{display:block;font-size:13px}.tg-trust span{display:block;font-size:11px;color:var(--tg-muted);line-height:1.6;margin-top:4px}
.tg-section{padding:34px 0}.tg-section-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:18px}.tg-section-head h2{font-size:clamp(28px,4vw,42px);letter-spacing:-.03em;margin:0}.tg-section-head p{color:var(--tg-muted);max-width:500px;line-height:1.8;margin:0;font-size:13px}
.tg-diagnosis-wrap{background:transparent}.tg-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tg-feature{background:var(--tg-card);border:1px solid var(--tg-line);border-radius:20px;padding:20px}.tg-feature strong{font-size:28px;color:var(--tg-blue);display:block;margin-bottom:8px}.tg-feature h3{font-size:15px;margin:0 0 7px}.tg-feature p{font-size:12px;color:var(--tg-muted);line-height:1.75;margin:0}
.tg-method{background:var(--tg-ink);color:#fff;border-radius:30px;padding:34px;display:grid;grid-template-columns:1fr 1fr;gap:30px}.tg-method h2{font-size:30px;margin:0 0 12px}.tg-method p{color:#c8ccd1;line-height:1.85;font-size:13px}.tg-method-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tg-method-list div{background:#24282e;border-radius:14px;padding:14px;font-size:12px}.tg-method-list b{color:var(--tg-lime);display:block;font-size:16px;margin-bottom:4px}
.tg-page{background:var(--tg-paper);border:1px solid var(--tg-line);border-radius:28px;padding:clamp(24px,5vw,54px);margin:20px auto 50px}.tg-page h1{font-size:clamp(34px,5vw,52px);letter-spacing:-.03em}.tg-content{line-height:1.9}.tg-content h2{margin-top:2em}.tg-content a{text-decoration:underline;text-decoration-color:#9eb2f6;text-underline-offset:3px}
.tg-footer{padding:42px 0 28px;color:var(--tg-muted);font-size:12px}.tg-footer-inner{display:flex;justify-content:space-between;gap:25px;border-top:1px solid var(--tg-line);padding-top:28px}.tg-footer-links{display:flex;gap:16px;flex-wrap:wrap}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:820px){.tg-nav .menu{display:none}.tg-hero{grid-template-columns:1fr;padding:34px 26px;border-radius:28px}.tg-trust-quote{max-width:none;margin:0}.tg-trustrow,.tg-feature-grid{grid-template-columns:1fr}.tg-method{grid-template-columns:1fr}.tg-section-head{display:block}.tg-section-head p{margin-top:8px}.tg-footer-inner{flex-direction:column}.tg-container{width:min(100% - 24px,1120px)}}

@media(max-width:520px){.tg-brand-en{display:none}.tg-brand-ja{font-size:22px}}
