
:root{
  --bg:#f7f8fa;--surface:#fff;--ink:#14171a;--muted:#616971;--line:#e3e7eb;
  --accent:#111827;--accent2:#2563eb;--buy:#e53935;--buy-dark:#c62828;--buy-soft:#fff1f1;--soft:#eef4ff;--ok:#0f766e;--warn:#a16207;--danger:#b42318;
  --radius:20px;--shadow:0 12px 32px rgba(17,24,39,.08);--max:1160px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Yu Gothic","YuGothic","Meiryo","Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.65}
a{color:inherit}
img{max-width:100%}
.container{width:min(var(--max),calc(100% - 32px));margin:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{height:70px;display:flex;align-items:center;gap:24px}
.brand{font-weight:900;letter-spacing:-.04em;text-decoration:none;font-size:1.24rem;white-space:nowrap}
.brand small{font-weight:700;color:var(--muted);font-size:.72rem;margin-left:6px}
.nav-links{display:flex;gap:18px;margin-left:auto;align-items:center}
.nav-links a{text-decoration:none;font-size:.92rem;color:#343a40;font-weight:700}
.langs{display:flex;gap:6px}
.langs a{font-size:.76rem;padding:7px 9px;border:1px solid var(--line);border-radius:999px;background:white;text-decoration:none}
.menu-btn{display:none;border:0;background:#fff;font-size:1.5rem}
.hero{padding:82px 0 54px;background:radial-gradient(circle at 80% 0,#dce9ff 0,transparent 34%),linear-gradient(180deg,#fff,transparent)}
.eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid #dbe5f3;background:#f7fbff;padding:7px 11px;border-radius:999px;font-size:.82rem;font-weight:800;color:#36516e}
h1{font-size:clamp(2.4rem,6vw,5.1rem);line-height:1.05;letter-spacing:-.065em;margin:18px 0 20px;max-width:850px}
.hero p{font-size:1.14rem;color:var(--muted);max-width:720px;margin:0 0 26px}
.ctas{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;border-radius:12px;border:1px solid var(--accent);font-weight:850;text-decoration:none;cursor:pointer;background:var(--accent);color:white}
.btn.secondary{background:white;color:var(--accent);border-color:var(--line)}
.btn.small{padding:9px 12px;font-size:.88rem}
.trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:42px}
.trust{padding:17px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.72)}
.trust strong{display:block;font-size:.94rem}.trust span{font-size:.81rem;color:var(--muted)}
.section{padding:72px 0}
.section.white{background:white}
.section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}
.section-head h2{font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.045em;margin:0}
.section-head p{margin:0;max-width:570px;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 1px 0 rgba(0,0,0,.01)}
.card h3{margin:0 0 8px;font-size:1.12rem}.card p{margin:0;color:var(--muted);font-size:.94rem}
.stepno{font-weight:900;color:var(--accent2);font-size:.8rem;margin-bottom:18px}
.sites{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.site-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;text-decoration:none;transition:.18s transform,.18s box-shadow}
.site-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.site-card .tag{font-size:.72rem;color:#4b5563;background:#f1f4f7;border-radius:999px;padding:5px 8px;display:inline-block;margin-bottom:12px}
.site-card strong{display:block;margin-bottom:5px}.site-card span{font-size:.82rem;color:var(--muted)}
.calculator{display:grid;grid-template-columns:1.02fr .98fr;gap:18px}
.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
label{font-size:.85rem;font-weight:800}
input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d5dbe1;background:#fff;border-radius:11px;font:inherit;color:inherit}
input:focus,select:focus,textarea:focus{outline:2px solid #bfdbfe;border-color:#60a5fa}
.help{font-size:.78rem;color:var(--muted)}
.result-box{background:#111827;color:#fff;border-radius:18px;padding:22px;margin-bottom:12px}
.result-box small{color:#cbd5e1}.result-big{font-size:2.3rem;font-weight:900;letter-spacing:-.04em;margin:2px 0 7px}
.result-list{display:grid;gap:10px;margin:18px 0}
.result-line{display:flex;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:1px solid #eef0f2}
.result-line span{color:var(--muted)}
.notice{font-size:.82rem;color:var(--muted);background:#f5f7f9;border-radius:12px;padding:12px 14px}
.notice.warn{background:#fff7ed;color:#8a4b08}
.notice.danger{background:#fff1f2;color:#9f1239}
.badge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:900}
.badge.ok{background:#ecfdf5;color:var(--ok)}.badge.warn{background:#fffbeb;color:var(--warn)}.badge.danger{background:#fff1f2;color:var(--danger)}
.restrictions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.checkitem{border:1px solid var(--line);border-radius:16px;padding:17px;background:#fff}
.checkitem b{display:block;margin-bottom:5px}
.quote-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px}
.quote-copy{padding:8px 0}.quote-copy h2{font-size:2.5rem;letter-spacing:-.05em;margin:0 0 10px}.quote-copy p{color:var(--muted)}
.form-status{min-height:24px;font-size:.86rem;margin-top:9px}
.faq{display:grid;gap:10px}
details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 17px}
summary{font-weight:850;cursor:pointer}
details p{color:var(--muted);margin:10px 0 0}
.footer{padding:36px 0 48px;border-top:1px solid var(--line);background:#fff}
.footer-grid{display:flex;justify-content:space-between;gap:24px}
.footer small,.footer p{color:var(--muted);font-size:.82rem;margin:.3em 0}
.footer a{color:#374151}
.page-hero{padding:60px 0 34px;background:#fff;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(2.1rem,5vw,4rem);max-width:950px}
.article{padding:48px 0 80px}.article .content{max-width:820px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px}
.article h2{margin-top:2em;letter-spacing:-.03em}.article li{margin:.55em 0}.article .source{font-size:.82rem;color:var(--muted)}
.kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kpi .card strong{font-size:1.5rem}
.table-wrap{overflow:auto}.rate-table{width:100%;border-collapse:collapse}.rate-table th,.rate-table td{border-bottom:1px solid var(--line);padding:10px;text-align:left;white-space:nowrap}
.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:100}
@media(max-width:900px){
  .nav-links{display:none}.menu-btn{display:block;margin-left:auto}.langs{margin-left:0}
  .trust-row{grid-template-columns:1fr 1fr}.grid,.restrictions{grid-template-columns:1fr 1fr}.sites{grid-template-columns:1fr 1fr}
  .calculator,.quote-wrap{grid-template-columns:1fr}
}
@media(max-width:600px){
  .container{width:min(100% - 22px,var(--max))}.hero{padding-top:54px}.section{padding:54px 0}
  .brand small{display:none}.langs a{padding:6px 7px;font-size:.7rem}
  .trust-row,.grid,.restrictions,.sites,.form-grid,.kpi{grid-template-columns:1fr}
  .field.full{grid-column:auto}.section-head{display:block}.section-head p{margin-top:8px}
  .footer-grid{display:block}.quote-copy h2{font-size:2rem}
}

/* Shopping directory v11 */
.shopping-directory{background:#f5f7fa}
.shop-directory-toolbar{display:grid;gap:14px;margin:0 0 14px}
.shop-search-wrap{position:relative;max-width:560px}
.shop-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:1.15rem;color:#7b8490;pointer-events:none}
.shop-search{padding-left:42px;height:48px;background:#fff;border-color:#d9e0e7;border-radius:14px}
.shop-filters{display:flex;gap:8px;flex-wrap:wrap}
.shop-filter{appearance:none;border:1px solid #dce3ea;background:#fff;color:#3a4653;border-radius:999px;padding:8px 12px;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;transition:.16s ease}
.shop-filter:hover{border-color:#aebdce;background:#f9fbfd}
.shop-filter.active{background:#111827;border-color:#111827;color:#fff}
.shop-directory-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0 18px}
.shop-count{font-size:.82rem;font-weight:800;color:#627083}
.shop-guide-link{appearance:none;border:0;background:transparent;color:#2563eb;font:inherit;font-size:.78rem;font-weight:900;letter-spacing:.02em;cursor:pointer;padding:4px 0}
.shop-guide-link::after{content:''}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.shop-card{min-height:292px;background:#fff;border:1px solid #dde3ea;border-radius:20px;padding:18px;display:flex;flex-direction:column;box-shadow:0 1px 0 rgba(17,24,39,.01);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.shop-card:hover{transform:translateY(-2px);border-color:#cad5e1;box-shadow:0 12px 26px rgba(17,24,39,.07)}
.shop-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.shop-logo-box{min-width:128px;max-width:150px;height:58px;display:flex;align-items:center;justify-content:flex-start;gap:8px;border:1px solid #dfe6ed;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 4px #fafbfd;overflow:hidden;padding:8px 11px}
.shop-logo{width:30px;height:30px;object-fit:contain;display:block;flex:0 0 auto}
.shop-brand-word{display:block;min-width:0;font-size:.76rem;line-height:1.1;font-weight:950;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-logo-fallback{display:none}
.shop-category{flex:0 0 auto;max-width:118px;border-radius:999px;background:#f3f5f8;color:#576273;font-size:.68rem;font-weight:900;padding:6px 8px;line-height:1.2;text-align:center}
.shop-card h3{margin:0 0 7px;font-size:1.08rem;letter-spacing:-.025em;line-height:1.35}
.shop-card p{margin:0;color:#667085;font-size:.82rem;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.shop-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px;border-top:1px solid #edf0f3}
.shop-official{color:#2f66d0;font-size:.76rem;font-weight:900;text-decoration:none;white-space:nowrap}
.shop-official:hover{text-decoration:underline}
.shop-ask{appearance:none;border:0;border-radius:11px;background:#ffe0df;color:#ce1d20;padding:10px 11px;font:inherit;font-size:.74rem;font-weight:900;cursor:pointer;white-space:nowrap;transition:.16s ease}
.shop-ask:hover{background:#ffd3d1}
.shop-logo-note{margin:18px 0 0;font-size:.74rem;color:#828b98}

@media(max-width:1050px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-directory-meta{align-items:flex-start}
  .shop-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  .shop-filters::-webkit-scrollbar{display:none}
  .shop-filter{white-space:nowrap}
}
@media(max-width:520px){
  .shop-grid{grid-template-columns:1fr}
  .shop-card{min-height:260px}
  .shop-logo-box{width:104px;height:56px}
  .shop-search-wrap{max-width:none}
}


/* Conversion hierarchy v12: restore strong purchase CTA while keeping v11 brand marks */
.header-actions{display:flex;align-items:center;gap:8px}
.nav-partner,.nav-buy{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 13px;border-radius:11px;text-decoration:none;font-size:.82rem;font-weight:900;white-space:nowrap;transition:.16s ease}
.nav-partner{border:1px solid #d7dde5;background:#fff;color:#303844}
.nav-partner:hover{border-color:#aeb8c5;background:#f8fafc}
.nav-buy{border:1px solid var(--buy);background:var(--buy);color:#fff;box-shadow:0 7px 18px rgba(229,57,53,.20)}
.nav-buy:hover{background:var(--buy-dark);border-color:var(--buy-dark);transform:translateY(-1px)}
.hero{background:radial-gradient(circle at 78% 7%,#feeceb 0,transparent 26%),radial-gradient(circle at 92% 35%,#e8f0ff 0,transparent 27%),linear-gradient(180deg,#fff,transparent)}
.hero-ctas{align-items:center}
.btn.buy{background:var(--buy);border-color:var(--buy);color:#fff;min-width:148px;box-shadow:0 12px 24px rgba(229,57,53,.22)}
.btn.buy:hover{background:var(--buy-dark);border-color:var(--buy-dark);transform:translateY(-1px)}
.btn.ghost{background:transparent;color:#4b5563;border-color:transparent;padding-left:12px;padding-right:12px}
.btn.ghost:hover{background:#fff;border-color:#e2e7ec;color:#111827}

/* Shop purchase buttons: solid red, deliberately higher priority than external-site links */
.shop-ask{background:var(--buy);color:#fff;box-shadow:0 6px 14px rgba(229,57,53,.16)}
.shop-ask:hover{background:var(--buy-dark);color:#fff;transform:translateY(-1px)}
.shop-official{color:#4b67a4}

/* Partnership block restored */
.partner-section{padding-top:20px;background:#fff}
.partner-card{display:grid;grid-template-columns:minmax(0,1.6fr) auto;align-items:center;gap:30px;padding:34px 36px;border-radius:24px;background:linear-gradient(120deg,#111827 0%,#182235 68%,#242b38 100%);color:#fff;box-shadow:0 18px 46px rgba(17,24,39,.14)}
.partner-copy h2{margin:12px 0 8px;font-size:clamp(1.65rem,3.2vw,2.55rem);line-height:1.18;letter-spacing:-.045em}
.partner-copy p{margin:0;max-width:760px;color:#cbd5e1;font-size:.96rem}
.partner-eyebrow{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#f3f4f6}
.partner-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:190px}
.partner-btn{background:#fff;border-color:#fff;color:#111827}
.partner-btn:hover{background:#f3f4f6;border-color:#f3f4f6}
.partner-email{color:#dbe4ef;font-size:.8rem;font-weight:800;text-align:center;text-decoration:none}
.partner-email:hover{text-decoration:underline}

@media(max-width:980px){
  .nav-links{gap:12px}.nav-links a{font-size:.84rem}
  .nav-partner{display:none}
}
@media(max-width:900px){
  .header-actions{margin-left:auto}
  .nav-buy{height:36px;padding:0 11px;font-size:.78rem}
  .partner-card{grid-template-columns:1fr}.partner-actions{min-width:0;flex-direction:row;align-items:center}.partner-btn{min-width:180px}.partner-email{text-align:left}
}
@media(max-width:600px){
  .nav{gap:8px}.langs{gap:3px}.langs a{padding:5px 6px}
  .header-actions{margin-left:0}.nav-buy{padding:0 10px}
  .hero-ctas .btn{width:100%}.hero-ctas .btn.ghost{width:auto;padding-left:4px}
  .partner-card{padding:26px 22px;border-radius:20px}.partner-actions{flex-direction:column;align-items:stretch}.partner-btn{min-width:0}.partner-email{text-align:center}
}


/* Calculator v13 — keep v12 visual system, restore rich FX/category experience */
.calculator-section{background:linear-gradient(180deg,#f7f8fa 0%,#f3f6fa 100%)}
.calculator-head h2{max-width:620px}
.fx-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:-2px 0 16px;padding:16px 18px;border:1px solid #dce3ec;border-radius:17px;background:#fff;box-shadow:0 6px 18px rgba(17,24,39,.04)}
.fx-strip>div{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:13px;row-gap:1px}
.fx-kicker{font-size:.72rem;font-weight:950;letter-spacing:.08em;color:#64748b}
.fx-strip strong{font-size:1.28rem;letter-spacing:-.035em;color:#111827}
.fx-strip small{grid-column:2;color:#7b8490;font-size:.74rem}
.fx-manual{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#5b6573;font-size:.8rem;font-weight:800}
.fx-manual input{width:86px;padding:8px 9px;border-radius:9px;text-align:right;font-size:.86rem;font-weight:850}
.calculator-rich{grid-template-columns:1.04fr .96fr;gap:18px}
.calc-input-panel,.calc-result-panel{box-shadow:0 10px 28px rgba(17,24,39,.045)}
.calc-input-panel select optgroup{font-weight:900;color:#475569}
.calc-input-panel select option{font-weight:500;color:#111827}
.dimension-label{gap:2px;margin-bottom:-4px}
.category-notice{margin-top:16px;padding:12px 14px;border-radius:12px;background:#f1f5f9;color:#536072;font-size:.8rem;border-left:3px solid #94a3b8}
.category-notice.warning{background:#fff7ed;color:#8a4b08;border-left-color:#f59e0b}
.category-notice.danger{background:#fff1f2;color:#9f1239;border-left-color:#e11d48}
.result-box-rich{padding:22px 24px 20px;margin-bottom:14px;background:linear-gradient(135deg,#101827,#171f33)}
.result-topline{display:flex;align-items:center;justify-content:space-between;gap:14px}
.result-box-rich .result-big{font-size:2.65rem;line-height:1.05;margin:9px 0 2px}
.result-krw{color:#dbe5f3;font-size:.93rem;font-weight:800}
.total-card{display:flex;flex-direction:column;gap:2px;padding:18px 20px;margin-bottom:14px;border-radius:16px;background:var(--buy-soft);border:1px solid #ffd9d8}
.total-card span{font-size:.78rem;font-weight:850;color:#9f2c2a}
.total-card strong{font-size:2rem;line-height:1.15;letter-spacing:-.04em;color:#b91c1c}
.total-card small{font-size:.78rem;color:#7f4a48;font-weight:750}
.result-list-rich .result-line b{font-size:.83rem;text-align:right}
.calc-buy{width:100%;margin-top:4px;min-height:48px;font-size:.94rem}
@media(max-width:900px){.calculator-rich{grid-template-columns:1fr}.fx-strip{align-items:flex-start}}
@media(max-width:600px){.fx-strip{display:grid}.fx-strip>div{grid-template-columns:1fr}.fx-strip small{grid-column:1}.fx-manual{justify-content:space-between}.calculator-head h2{font-size:2.1rem}.result-box-rich .result-big{font-size:2.35rem}.total-card strong{font-size:1.75rem}}

/* v14 brand lock: merchant brand marks must stay visible even if external icon loading fails */
.shop-logo-box:has(.shop-logo[style*=\"display: none\"]) .shop-brand-word{font-size:.82rem}
@media(max-width:600px){.shop-logo-box{min-width:118px;max-width:136px}.shop-brand-word{font-size:.72rem}}

/* v15 — restore the original My Japan Friend visual identity while keeping v14 features */
:root{
  --bg:#f7f9fb;
  --surface:#ffffff;
  --ink:#17213b;
  --muted:#687489;
  --line:#dfe5ec;
  --accent:#17213b;
  --accent2:#476789;
  --buy:#ef5650;
  --buy-dark:#db433e;
  --buy-soft:#fff1ef;
  --soft:#edf5fb;
  --ok:#32b48a;
  --warn:#a16207;
  --danger:#b42318;
}
body{color:var(--ink);background:#fff}
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-top:1px solid #f4d8d5;border-bottom:1px solid #e6e9ee;backdrop-filter:blur(16px)}
.brand-nav{height:82px;gap:22px}
.brand-lockup{display:inline-flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap;font-weight:950;font-size:1.18rem;letter-spacing:-.035em;color:#17213b}
.brand-lockup img{width:46px;height:46px;display:block;filter:drop-shadow(0 4px 8px rgba(23,33,59,.10))}
.nav-links{margin-left:auto;gap:18px}
.nav-links a{color:#637086;font-size:.82rem;letter-spacing:-.01em}
.nav-links a:hover{color:#17213b}
.lang-switch{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #dce2e9;border-radius:999px;background:#fff;box-shadow:0 2px 8px rgba(23,33,59,.04)}
.lang-switch a{display:flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:999px;text-decoration:none;color:#667286;font-size:.76rem;font-weight:900}
.lang-switch a.active{background:#17213b;color:#fff;box-shadow:0 5px 12px rgba(23,33,59,.16)}
.header-buy{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:12px;background:#ef5650;color:#fff;text-decoration:none;font-size:.82rem;font-weight:950;box-shadow:0 9px 22px rgba(239,86,80,.20)}
.header-buy:hover{background:#db433e;transform:translateY(-1px)}

.hero.hero-brand{padding:0 0 72px;background:linear-gradient(180deg,#fffaf5 0,#ffffff 76%);overflow:hidden}
.hero-status{border-bottom:1px solid #eee7df;background:rgba(255,252,248,.9)}
.hero-status .container{min-height:42px;display:flex;align-items:center;gap:10px;color:#617086;font-size:.86rem;letter-spacing:-.01em}
.status-dot{width:11px;height:11px;border-radius:50%;background:#37b58a;box-shadow:0 0 0 7px rgba(55,181,138,.11);flex:0 0 auto}
.hero-layout{display:grid;grid-template-columns:minmax(0,.84fr) minmax(470px,1.16fr);gap:58px;align-items:center;padding-top:64px}
.hero-copy{max-width:520px}
.hero-kicker{display:inline-flex;color:#ef5650;font-size:.78rem;font-weight:950;letter-spacing:.13em;margin-bottom:16px}
.hero-copy h1{font-size:clamp(2.5rem,4.8vw,4.7rem);line-height:1.04;letter-spacing:-.065em;margin:0 0 22px;color:#17213b}
.hero-copy p{font-size:1.05rem;line-height:1.75;color:#6d788b;margin:0 0 28px;max-width:500px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:10px}
.hero-ctas .btn{border-radius:14px;min-height:48px}
.hero-ctas .btn.buy{background:#ef5650;border-color:#ef5650;box-shadow:0 12px 28px rgba(239,86,80,.24)}
.hero-ctas .btn.buy:hover{background:#db433e;border-color:#db433e}
.hero-ctas .btn.secondary{background:#fff;color:#17213b;border-color:#dce3eb}
.hero-ctas .btn.ghost{color:#69758a}

.hero-visual-wrap{position:relative;padding:28px 22px 0}
.hero-visual-wrap::before{content:"";position:absolute;right:-88px;top:-18px;width:300px;height:300px;border-radius:50%;background:#ef5650;z-index:0}
.hero-visual-wrap::after{content:"";position:absolute;left:-16px;bottom:55px;width:150px;height:150px;border-radius:50%;background:#eef5fb;z-index:0}
.route-card{position:relative;z-index:2;padding:28px 28px 26px;border:1px solid #dfe4e9;border-radius:34px 34px 34px 20px;background:rgba(255,255,255,.97);box-shadow:0 28px 48px rgba(23,33,59,.13);transform:rotate(.35deg)}
.route-brand-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:34px}
.route-brand{display:flex;align-items:center;gap:13px;font-weight:950;letter-spacing:.16em;font-size:.83rem;color:#17213b}
.route-brand img{width:50px;height:50px;display:block}
.route-code{color:#ef5650;font-weight:950;letter-spacing:.12em;font-size:.87rem;white-space:nowrap}
.route-flow{display:grid;grid-template-columns:140px minmax(70px,1fr) 155px;align-items:center;gap:0;margin:0 0 34px}
.route-node{min-height:108px;border:1px solid #e7ded2;border-radius:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 3px 8px rgba(23,33,59,.03)}
.route-node span{font-size:.72rem;font-weight:950;letter-spacing:.18em;color:#6f7a8d;margin-bottom:5px}
.route-node strong{font-size:1.28rem;letter-spacing:-.04em;color:#17213b}
.shop-node{background:#fffaf3}
.delivery-node{background:#eaf4fc;border-color:#d1e3f3}
.route-line{position:relative;height:4px;background:#d1d8e0;margin:0 4px}
.route-line i{position:absolute;width:15px;height:15px;border-radius:50%;background:#ef5650;border:4px solid #fff;box-shadow:0 0 0 5px rgba(239,86,80,.12);left:49%;top:50%;transform:translate(-50%,-50%)}
.route-line b{position:absolute;right:-4px;top:50%;transform:translateY(-56%);font-size:2.7rem;line-height:1;color:#ef5650;font-weight:500}
.featured-brands{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.featured-brand{height:62px;display:flex;align-items:center;gap:12px;padding:0 16px;border:1px solid #dce3eb;border-radius:17px;background:#fff;color:#17213b;box-shadow:0 2px 7px rgba(23,33,59,.025)}
.featured-brand b{font-size:.9rem;letter-spacing:-.025em}
.mini-logo{width:31px;height:31px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:.7rem;font-weight:950;flex:0 0 auto}
.mini-logo.mercari{background:#2fc2cd}.mini-logo.isetan{background:#929aa4}.mini-logo.asics{background:#2639a5}.mini-logo.bic{background:#d91828;font-size:.55rem}
.hero-category-chips{position:relative;z-index:3;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:46px -10px 0}
.hero-chip{appearance:none;border:1px solid #dde3eb;background:#fff;color:#536176;border-radius:999px;padding:12px 18px;font:inherit;font-size:.88rem;font-weight:900;cursor:pointer;box-shadow:0 2px 7px rgba(23,33,59,.025);transition:.16s ease}
.hero-chip:hover{border-color:#b8c4d1;color:#17213b;transform:translateY(-1px)}

/* Bring the restored palette through the existing sections without removing any v14 function */
.eyebrow{border-color:#dce5ee;background:#f7fbff;color:#47627f}
.section-head h2,.card h3,.shop-card h3{color:#17213b}
.shopping-directory{background:#f7f9fb}
.shop-filter.active{background:#17213b;border-color:#17213b}
.shop-card{border-color:#e0e5eb}
.partner-card{background:linear-gradient(120deg,#17213b 0%,#202d4a 70%,#263451 100%)}
.result-box-rich{background:linear-gradient(135deg,#17213b,#202d4a)}
.total-card{background:#fff2ef;border-color:#ffd6d1}
.total-card strong{color:#d9443f}
.total-card span{color:#a63c38}

@media(max-width:1050px){
  .hero-layout{grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);gap:34px}
  .nav-links{display:none}
}
@media(max-width:820px){
  .brand-nav{height:76px;gap:10px}
  .brand-lockup img{width:42px;height:42px}.brand-lockup{font-size:1.05rem}
  .header-buy{display:none}
  .lang-switch{margin-left:auto}
  .hero.hero-brand{padding-bottom:62px}
  .hero-layout{grid-template-columns:1fr;padding-top:24px;gap:34px}
  .hero-visual-wrap{order:1;padding:18px 0 0}
  .hero-copy{order:2;max-width:none;text-align:center}
  .hero-copy h1{font-size:clamp(2.2rem,9vw,3.2rem)}
  .hero-copy p{margin-left:auto;margin-right:auto}
  .hero-ctas{justify-content:center}
  .hero-visual-wrap::before{right:-95px;top:-5px;width:270px;height:270px}
  .route-card{max-width:620px;margin:auto}
}
@media(max-width:600px){
  .container{width:min(100% - 22px,var(--max))}
  .brand-nav{height:74px}
  .brand-lockup{gap:9px;font-size:1.02rem}.brand-lockup img{width:40px;height:40px}
  .lang-switch{gap:2px;padding:3px}.lang-switch a{min-width:32px;height:34px;padding:0 8px;font-size:.72rem}
  .hero-status .container{min-height:42px;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hero-layout{padding-top:18px}
  .hero-visual-wrap{padding-top:12px}
  .hero-visual-wrap::before{right:-118px;top:6px;width:265px;height:265px}
  .route-card{padding:25px 22px 23px;border-radius:28px 28px 28px 18px;box-shadow:0 23px 40px rgba(23,33,59,.14)}
  .route-brand-row{margin-bottom:32px}.route-brand{gap:10px;font-size:.72rem;letter-spacing:.13em}.route-brand img{width:43px;height:43px}.route-code{font-size:.75rem}
  .route-flow{grid-template-columns:112px minmax(46px,1fr) 124px;margin-bottom:30px}
  .route-node{min-height:103px;border-radius:24px}.route-node span{font-size:.65rem}.route-node strong{font-size:1.12rem}
  .featured-brands{gap:10px}.featured-brand{height:58px;padding:0 13px;border-radius:16px;gap:10px}.featured-brand b{font-size:.82rem}.mini-logo{width:29px;height:29px}
  .hero-category-chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;margin:38px -11px 0;padding:0 11px 6px;scrollbar-width:none}.hero-category-chips::-webkit-scrollbar{display:none}.hero-chip{white-space:nowrap;padding:11px 16px;font-size:.82rem}
  .hero-copy{padding:0 6px}.hero-kicker{margin-bottom:12px}.hero-copy h1{font-size:2.25rem;margin-bottom:16px}.hero-copy p{font-size:.94rem;line-height:1.7;margin-bottom:22px}
  .hero-ctas{display:grid;grid-template-columns:1fr 1fr;width:100%}.hero-ctas .btn{width:100%;min-width:0}.hero-ctas .btn.ghost{grid-column:1/-1;width:auto;justify-self:center}
}
@media(max-width:420px){
  .brand-lockup span{font-size:.94rem}
  .route-card{padding-left:18px;padding-right:18px}
  .route-brand{letter-spacing:.08em}.route-code{letter-spacing:.08em}
  .route-flow{grid-template-columns:102px minmax(40px,1fr) 112px}
  .route-node{min-height:96px}.route-node strong{font-size:1.02rem}
  .featured-brand{padding:0 10px}.featured-brand b{font-size:.76rem}
}

/* v16 total landed-cost estimator */
.total-estimator{align-items:stretch}.simple-quote-panel,.landed-panel{padding:28px}.simple-quote-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}.simple-quote-head b{display:block;font-size:18px;color:var(--ink)}.simple-quote-head p{margin:3px 0 0;color:var(--muted);font-size:13px}.step-badge{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:900}.step-badge.coral{background:var(--coral)}.hero-price-field{margin-top:2px}.price-input-wrap{display:flex;align-items:center;border:2px solid #dfe5ee;border-radius:16px;background:white;overflow:hidden}.price-input-wrap:focus-within{border-color:var(--coral);box-shadow:0 0 0 4px rgba(232,79,72,.08)}.price-input-wrap span{font-size:28px;font-weight:900;padding:0 0 0 16px;color:var(--coral)}.price-input-wrap input{border:0!important;box-shadow:none!important;font-size:28px!important;font-weight:900!important;padding:17px 14px!important;background:transparent!important}.advanced-costs{margin-top:18px;border-top:1px solid #e6e9ef;padding-top:14px}.advanced-costs summary{cursor:pointer;font-weight:800;color:var(--navy);display:flex;justify-content:space-between;align-items:center}.advanced-costs summary span{font-size:11px;color:var(--muted);background:#f2f4f7;border-radius:99px;padding:4px 8px}.advanced-grid{margin-top:16px}.micro-note{font-size:11px;line-height:1.6;color:var(--muted);margin:12px 0 0}.micro-note.center{text-align:center}.landed-total-card{background:linear-gradient(145deg,#10192e,#18233f);border-radius:24px;padding:28px;color:#fff;box-shadow:0 18px 36px rgba(16,25,46,.15)}.landed-label{font-size:13px;opacity:.78;letter-spacing:.04em}.landed-total-card strong{display:block;font-size:46px;line-height:1.05;margin:10px 0 7px;letter-spacing:-.04em}.landed-total-card small{opacity:.72}.total-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.mini-badge{font-size:11px;font-weight:800;padding:6px 9px;border-radius:99px;background:rgba(255,255,255,.12);color:#fff}.mini-badge.free{background:#daf8eb;color:#08795c}.mini-badge.taxed{background:#ffe4d6;color:#a84817}.cost-breakdown{margin-top:18px;border:1px solid #e5e8ef;border-radius:18px;overflow:hidden;background:#fff}.cost-breakdown>div{display:flex;justify-content:space-between;gap:18px;padding:13px 15px;border-bottom:1px solid #edf0f4}.cost-breakdown>div:last-child{border-bottom:0}.cost-breakdown span{color:var(--muted);font-size:13px}.cost-breakdown b{text-align:right;font-size:13px;color:var(--ink)}.ems-mini-row{display:flex;justify-content:space-between;align-items:center;padding:14px 2px 0;color:var(--muted);font-size:12px}.ems-mini-row b{color:var(--ink)}.total-notice{margin-top:16px!important}.prominent-buy{width:100%;justify-content:center;font-size:16px!important;padding:16px 20px!important;margin-top:14px!important;box-shadow:0 10px 20px rgba(232,79,72,.22)}
@media(max-width:760px){.simple-quote-panel,.landed-panel{padding:20px}.landed-total-card{padding:22px}.landed-total-card strong{font-size:38px}.price-input-wrap input{font-size:24px!important}.advanced-grid{grid-template-columns:1fr}.cost-breakdown>div{align-items:flex-start}.cost-breakdown b{max-width:55%}}


/* v17 — total cost first, daily realistic FX, customs separate */
.fx-strip-v17{display:grid;grid-template-columns:minmax(230px,1.1fr) minmax(330px,1.5fr) auto;gap:18px;align-items:center}
.fx-main{display:flex;flex-direction:column;gap:4px}.fx-main strong{font-size:23px;color:var(--navy,#111a35)}
.fx-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fx-pair>div{padding:12px 14px;border:1px solid #d9e1ec;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:3px}.fx-pair span{font-size:12px;color:#64748b}.fx-pair b{font-size:17px}.fx-applied-box{background:#fff5f1!important;border-color:#f3c7bf!important}.fx-applied-box b{color:#e24d48}.fx-applied-box small{font-size:10px;color:#8a5d57}.fx-adjust summary{cursor:pointer;font-size:12px;font-weight:800;color:#475569}.fx-adjust label{display:block;margin-top:8px;font-size:12px}.fx-adjust input{width:76px;padding:8px;border:1px solid #cfd8e5;border-radius:10px}
.fee-policy{margin:16px 0 12px;padding:14px 16px;border-radius:15px;background:#fff5f1;border:1px solid #f1d1ca;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;align-items:center}.fee-policy span{font-size:12px;color:#64748b;font-weight:700}.fee-policy b{color:#e24d48}.fee-policy small{grid-column:2;font-size:11px;color:#7b8798}
.cost-breakdown small{font-size:11px;color:#7b8798;font-weight:600}.customs-reference-card{margin-top:16px;border:1px solid #dce4ef;background:#f8fafc;border-radius:18px;padding:16px}.customs-ref-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.customs-ref-head>div{display:flex;flex-direction:column}.customs-kicker{font-size:10px;letter-spacing:.13em;color:#64748b;font-weight:900}.customs-ref-head b{font-size:17px}.customs-ref-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customs-ref-grid>div{background:#fff;border:1px solid #e3e8ef;border-radius:14px;padding:12px}.customs-ref-grid span{display:block;font-size:11px;color:#64748b;margin-bottom:4px}.customs-ref-grid strong{font-size:16px}.customs-reference-card p{margin:12px 0 0;font-size:12px;line-height:1.6;color:#64748b}
@media(max-width:860px){.fx-strip-v17{grid-template-columns:1fr}.fx-pair{grid-template-columns:1fr 1fr}.customs-ref-grid{grid-template-columns:1fr}.fee-policy{grid-template-columns:1fr}.fee-policy small{grid-column:1}.fx-adjust{justify-self:start}}
@media(max-width:520px){.fx-pair{grid-template-columns:1fr}.fx-main strong{font-size:20px}}
