/* Omiyage Editorial 2026 — visual-only layer; preserves every existing selector and flow. */
:root{
  --omi-forest:#214E43;--omi-ink:#18372F;--omi-terracotta:#B84E3D;
  --omi-cream:#F6F0E4;--omi-border:#E5D9C6;
}
html,body{background-color:var(--omi-cream)}
body{color:var(--omi-ink);background-image:none;position:relative;isolation:isolate}
body::before{content:""!important;display:block!important;position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.24;
 background-image:radial-gradient(ellipse at 6% 16%,rgba(205,112,91,.16),transparent 28%),radial-gradient(ellipse at 92% 30%,rgba(68,123,91,.15),transparent 29%),radial-gradient(rgba(96,71,43,.13) .65px,transparent .75px);background-size:auto,auto,18px 18px}
.wrap{max-width:1320px}
.hdr{background:rgba(255,253,248,.94);border-bottom-color:rgba(101,87,65,.17);box-shadow:0 5px 22px rgba(46,57,41,.045)}
.brand-name{color:var(--omi-forest)}
.nav a{transition:background .18s,color .18s,transform .18s}
.nav a:hover{transform:translateY(-1px)}
.search input,.ibtn{background:rgba(255,255,255,.88);border-color:#E6DDCF}
.ibtn:hover{border-color:#8CA896;background:#EDF2E8}

/* Hero has a layered paper-and-garden wash rather than a flat fill. */
#page-home .hero{position:relative;isolation:isolate;overflow:hidden;border:0;border-bottom:1px solid rgba(33,78,67,.15);background:linear-gradient(112deg,#E9EBDD 0%,#F4EFDF 47%,#F6E8D9 100%)}
#page-home .hero::before{content:"";display:block!important;position:absolute;z-index:-1;inset:0;opacity:.6;background:radial-gradient(ellipse at 80% 8%,rgba(255,255,255,.9),transparent 33%),radial-gradient(ellipse at 18% 86%,rgba(196,149,82,.16),transparent 28%),repeating-linear-gradient(132deg,transparent 0 27px,rgba(75,103,76,.035) 28px,transparent 29px 52px)}
#page-home .hero::after{content:"";display:block!important;position:absolute;z-index:-1;width:390px;height:390px;right:-155px;top:-210px;border:1px solid rgba(61,105,76,.19);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.14),0 0 0 48px rgba(255,255,255,.1)}
#page-home .hero-in{position:relative;padding-top:76px;padding-bottom:79px;gap:clamp(38px,5.4vw,88px)}
#page-home .hero-flag{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(43,92,71,.2);border-radius:99px;background:rgba(255,255,255,.43);color:#326650;letter-spacing:.14em}
#page-home .hero-flag::before{content:"";width:7px;height:7px;border-radius:50%;background:#B14E3E;box-shadow:0 0 0 4px rgba(177,78,62,.12)}
#page-home .hero h1{max-width:680px;margin:22px 0 18px;color:#193A32;font-size:clamp(46px,5.15vw,74px);line-height:1.09;letter-spacing:-.063em}
#page-home .hero h1::after{height:3px;width:58px;margin-top:20px;border-radius:3px;background:linear-gradient(90deg,#B84E3D,#D29859)}
#page-home .hero #heroSubtitle{max-width:520px;color:#465D51;font-size:16px;line-height:1.78}
#page-home .hero-cta .btn{border-radius:9px}
#page-home .hero-cta .btn-red{background:linear-gradient(135deg,#B64B39,#963D34);border:0;box-shadow:0 10px 21px rgba(157,62,49,.2)}
#page-home .hero-cta .btn-red:hover{background:linear-gradient(135deg,#A64233,#85362F);box-shadow:0 13px 27px rgba(157,62,49,.27);transform:translateY(-2px)}
#page-home .hero-cta .btn-ghost{background:rgba(255,253,248,.55);border-color:rgba(55,84,64,.22)}
#page-home .hero-proof{color:#53665A!important}
#page-home .hero-side{max-width:590px}
#page-home .hero-art{position:relative;height:455px;padding:9px;border:1px solid rgba(255,255,255,.9);border-radius:18px;background:rgba(255,253,248,.68);box-shadow:0 26px 55px rgba(40,66,49,.18),0 3px 8px rgba(40,66,49,.08);transform:rotate(1deg)}
#page-home .hero-art img{width:100%;height:100%;border-radius:11px;object-fit:cover}
#page-home .hero-side::before{content:"日本から、あなたへ";position:absolute;z-index:2;right:-18px;top:25px;padding:10px 14px;border:1px solid rgba(255,255,255,.8);border-radius:7px;background:rgba(255,253,248,.92);box-shadow:0 9px 24px rgba(35,57,43,.12);color:#486858;font-family:var(--ff-display);font-size:13px;letter-spacing:.1em;transform:rotate(3deg);pointer-events:none}
#page-home .hero-card{z-index:3;max-width:345px;margin:-155px -20px 0 auto;border:1px solid rgba(224,211,190,.85);border-radius:13px;background:rgba(255,253,248,.97);box-shadow:0 17px 42px rgba(39,57,42,.18)}
#page-home .hero-art{height:420px}
#page-home .hero-card-head span{color:#A24A39}
#page-home .hero-calc .out{color:#A84536}
#page-home .hero-more{color:#285A48}

/* Section rhythm, Japanese editorial stamps and richer product surfaces. */
#page-home .sec{position:relative;padding-top:48px;padding-bottom:45px}
#page-home .sec-head h2{color:#1D4035}
#page-home .sec-head[data-kanji]::after{content:attr(data-kanji);position:absolute;right:0;top:-13px;width:39px;height:39px;display:grid;place-items:center;border:1px solid rgba(62,100,73,.16);border-radius:50%;background:rgba(239,239,222,.84);color:rgba(48,93,66,.65);font-family:var(--ff-display);font-size:12px}
#page-home .sec-head>a{color:#326650}
.pcard,.ctile,.tile-stat{min-width:0;border-color:#E7DCCB;background:#FFFEFA;box-shadow:0 5px 18px rgba(50,60,42,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.pcard{overflow:hidden;border-radius:12px}
.pcard:hover,.ctile:hover{transform:translateY(-4px);border-color:#C9B797;box-shadow:0 17px 34px rgba(48,65,47,.14)}
.pcard-img{background:linear-gradient(145deg,#F3EFE4,#E9E7D8)}
.pcard-img img{transition:transform .35s ease}
.pcard:hover .pcard-img img{transform:scale(1.045)}
.pcard-body{padding:15px 16px 17px}
.pcard-price{color:#254D3F}
.ctile{border-radius:12px;background:linear-gradient(150deg,#FFFEFA,#F6F1E6)}
.ctile i{background:#E9EEE3;color:#315B47}
#page-catalog .cat-hero{padding:28px 0 23px;border-bottom:1px solid rgba(84,91,66,.15)}
#page-catalog .cat-hero h2{color:#1D4035}
.card,.fbox,.step,.faq-item{border-color:#E8DECF;border-radius:12px;box-shadow:0 4px 15px rgba(43,55,40,.045)}
.btn{border-radius:9px}
:focus-visible{outline:3px solid rgba(184,78,61,.4)!important;outline-offset:3px}
input,select,textarea{accent-color:#315E49}

/* Dark mode retains the garden/terracotta identity without glare. */
[data-theme="dark"] body{background:#151E1A}
[data-theme="dark"] body::before{opacity:.15}
[data-theme="dark"] .hdr{background:rgba(25,36,30,.95);border-color:#34473B}
[data-theme="dark"] #page-home .hero{background:linear-gradient(115deg,#202F26 0%,#2C3529 54%,#3A3028 100%);border-color:#3E5144}
[data-theme="dark"] #page-home .hero::before{opacity:.23}
[data-theme="dark"] #page-home .hero h1{color:#F0F1E8;-webkit-text-fill-color:#F0F1E8}
[data-theme="dark"] #page-home .hero #heroSubtitle,[data-theme="dark"] #page-home .hero .hero-proof{color:#C4D0C4!important}
[data-theme="dark"] #page-home .hero-flag{background:rgba(34,57,43,.72);border-color:#4B6652;color:#BCD3BC}
[data-theme="dark"] #page-home .hero-card{background:#202C25;border-color:#435447}
[data-theme="dark"] #page-home .hero-card h4,[data-theme="dark"] #page-home .hero-calc .lbl,[data-theme="dark"] #page-home .hero-card .small{color:#CDD8CF}
[data-theme="dark"] #page-home .hero-side::before{background:#243229;border-color:#425646;color:#C3D7C4}
[data-theme="dark"] #page-home .sec-head h2,[data-theme="dark"] #page-catalog .cat-hero h2{color:#E4EDE5}
[data-theme="dark"] .pcard,[data-theme="dark"] .ctile,[data-theme="dark"] .tile-stat,[data-theme="dark"] .card,[data-theme="dark"] .fbox,[data-theme="dark"] .step,[data-theme="dark"] .faq-item{background:#202A24;border-color:#394B40}
[data-theme="dark"] .pcard-price{color:#D3E1D2}
[data-theme="dark"] .ctile i{background:#2B3A30;color:#D2E2D0}
[data-theme="dark"] #page-home .hero-calc .inp{background:#2A3930;border-color:#536357;color:#EEF2E9}
[data-theme="dark"] #page-home .hero-more{border-color:#435447;color:#B8D2BD}
[data-theme="dark"] #page-home .sec-head[data-kanji]::after{background:#29382F;border-color:#415548;color:#C6D6C7}
[data-theme="light"] .muted,[data-theme="light"] .small.muted{color:#5B675D}

@media(max-width:1080px){#page-home .hero-in{padding-top:60px;padding-bottom:62px}#page-home .hero-side::before{right:7px}}
@media(min-width:700px) and (max-width:1080px){#page-home .hero-in{grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:24px;padding-top:43px;padding-bottom:45px}#page-home .hero-side{display:block;width:100%;max-width:none}#page-home .hero-art{height:300px}#page-home .hero-card{max-width:320px;margin:-84px -10px 0 auto}#page-home .hero h1{font-size:clamp(38px,4.6vw,51px)}}
@media(max-width:820px){#page-home .hero-in{gap:30px;padding-top:45px;padding-bottom:47px}#page-home .hero-side{grid-template-columns:1fr minmax(240px,.88fr);gap:13px}#page-home .hero-art{height:330px}#page-home .hero-card{margin:0;align-self:end}#page-home .sec{padding-top:37px;padding-bottom:35px}}
@media(min-width:700px) and (max-width:820px){#page-home .hero-in{padding-top:40px;padding-bottom:42px;gap:20px}#page-home .hero-side{display:block}#page-home .hero-art{height:260px}#page-home .hero-card{max-width:290px;margin:-76px -8px 0 auto}#page-home .hero h1{font-size:clamp(36px,4.4vw,44px)}}
@media(max-width:560px){#page-home .hero-in{gap:17px;padding-top:28px;padding-bottom:25px}}
@media(max-width:560px){
 .hdr{backdrop-filter:blur(18px)}.hdr-main .wrap{height:58px}
 #page-home .hero-in{gap:17px;padding-top:28px;padding-bottom:25px}
 #page-home .hero-flag{display:inline-flex;font-size:9px!important;padding:6px 9px;letter-spacing:.1em}
 #page-home .hero h1{font-size:clamp(31px,8.7vw,38px);line-height:1.15;margin:9px 0 7px;letter-spacing:-.055em}
 #page-home .hero h1::after{display:block;width:40px;height:2px;margin:10px 0 0}
 #page-home .hero #heroSubtitle{font-size:13.5px;line-height:1.55}
 #page-home .hero-cta{margin-top:15px;gap:5px}
 #page-home .hero-cta .btn-red{height:44px;box-shadow:0 7px 15px rgba(157,62,49,.18)}
 #page-home .hero-cta .btn-ghost{height:34px}
 #page-home .hero-proof{margin-top:8px!important;font-size:10.5px!important}
 #page-home .hero-art{height:156px;padding:5px;border-radius:13px;transform:rotate(.5deg);box-shadow:0 13px 25px rgba(40,66,49,.16)}
 #page-home .hero-art img{border-radius:9px}
 #page-home .hero-side::before{right:8px;top:12px;padding:6px 9px;font-size:10px}
 #page-home .hero-card{margin:8px 0 0;padding:11px 14px;border-radius:11px;box-shadow:0 10px 24px rgba(39,57,42,.12)}
 @media(min-width:381px){#page-home .hero-side{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:9px}#page-home .hero-art{height:auto;min-height:166px;transform:none}#page-home .hero-card{margin:0;max-width:none;padding:10px 11px;display:flex;flex-direction:column;justify-content:center}#page-home .hero-card h4{font-size:14px;line-height:1.2}#page-home .hero-card .hero-calc{margin-top:7px}#page-home .hero-card .lbl{font-size:10px}#page-home .hero-card .inp{height:34px;padding-inline:8px;font-size:13px}#page-home .hero-card .out{font-size:19px}#page-home .hero-more{font-size:10.5px;line-height:1.25;min-height:31px}}
 @media(max-width:380px){#page-home .hero-side{display:block}#page-home .hero-art{height:120px}}
 #page-home .hero-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
 #page-home .hero-card h4{font-size:16px;line-height:1.25;margin:0}
 #page-home .hero-card .small{display:none}
 #page-home .hero-calc{margin-top:5px}
 #page-home .hero-calc .lbl{margin-bottom:3px;font-size:11px}
 #page-home .hero-calc .inp{height:35px}
 #page-home .hero-calc .out{font-size:20px;margin-top:2px;line-height:1.2}
 #page-home .hero-more{min-height:30px;margin-top:4px;font-size:11.5px}
 #page-home .hero-art{height:132px}
 #page-home .hero-proof{font-size:10px!important}
 #page-home .sec{padding-top:29px;padding-bottom:27px}
 #page-home .sec-head{padding-bottom:11px;margin-bottom:15px}
 #page-home .sec-head h2{font-size:21px}
 #page-home .sec-head .sub{max-width:280px;font-size:12px;line-height:1.45}
 #page-home .sec-head[data-kanji]::after{top:-5px;width:31px;height:31px;font-size:10px}
 .pcard{border-radius:10px}.pcard-body{padding:10px 11px 12px}
 .pcard:hover,.ctile:hover{transform:none}
}
@media(max-width:360px){#page-home .hero h1{font-size:29px}#page-home .hero-art{height:120px}.hero-cta .btn-l{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(forced-colors:active){.hero,.pcard,.ctile,.btn{forced-color-adjust:auto}}
html,body{overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
#app{min-width:0}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
::selection{background:#315E49;color:#fff}
[data-theme="light"]{color-scheme:light}
[data-theme="dark"]{color-scheme:dark}
footer{background:linear-gradient(180deg,#244B40,#18382F);color:#F7F2E7}
footer a{color:#F7F2E7}
[data-theme="dark"] footer{background:linear-gradient(180deg,#1D2B23,#14201A)}
[data-theme="dark"] #page-home .hero-card .hero-more{color:#B8D2BD}
[data-theme="light"] #page-home .hero-card .hero-more{color:#285A48}
[data-theme="dark"] #page-home .hero-flag{color:#C4DCC7}
[data-theme="light"] #page-home .hero h1{color:#193A32}
[data-theme="light"] #page-home .hero #heroSubtitle{color:#465D51}
@media(max-width:820px){body::before{opacity:.18}}
@media(max-width:560px){.wrap,.wrap-sm{padding-inline:17px}}
@media(max-width:560px){.pcard button,.pcard .btn{min-height:38px}}
@media(min-width:561px) and (max-width:820px){#page-home .hero-side{display:grid}#page-home .hero-card{margin:0}}
[data-theme="dark"] .page:not(#page-home){background:linear-gradient(180deg,rgba(35,49,40,.45),rgba(35,49,40,0) 250px)}
[data-theme="light"] .page:not(#page-home){background:linear-gradient(180deg,rgba(255,253,248,.48),rgba(255,253,248,0) 250px)}
.faq-item[open],.card:focus-within,.fbox:focus-within{border-color:#A9BBA7;box-shadow:0 10px 26px rgba(44,68,47,.09)}
#page-home .hero h1{text-wrap:balance}
#page-home .hero-art img{width:100%;height:100%}
#page-home .hero-in{z-index:1}
#page-home .hero{isolation:isolate}
#page-home .hero::before,#page-home .hero::after{pointer-events:none}
.nav a.on{color:#A74636;background:rgba(184,78,61,.075)}
[data-theme="dark"] footer{color:#F7F2E7}
/* End Omiyage Editorial layer */

/* Correct tablet cascade: modern.css uses a single-column hero below 1080px;
   editorial uses two columns through tablet widths, then stacks on phones. */
@media(min-width:700px) and (max-width:820px){
 #page-home .hero-in{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:18px;padding-top:36px;padding-bottom:38px}
 #page-home .hero-side{display:block;max-width:none;width:100%}
 #page-home .hero-art{height:245px;transform:none}
 #page-home .hero-card{max-width:285px;margin:-74px 0 0 auto}
 #page-home .hero h1{font-size:clamp(36px,4.3vw,43px)}
}
@media(min-width:821px) and (max-width:1080px){
 #page-home .hero-art{transform:none}
 #page-home .hero-card{margin-right:0}
}

/* ===== Konverter dua arah (hero + kalkulator) — 2026-10-17 =====
   Hero card sempit, jadi kolom ditumpuk dengan garis pemisah tipis;
   di kalkulator dipakai grid 1fr / ikon tukar / 1fr. */
.hero-conv{display:flex;flex-direction:column;margin-top:7px}
.hero-conv .lbl{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;margin:4px 0 2px;color:#5C6B64}
.hero-conv .inp{height:36px;font-size:14.5px;font-weight:700}
.hero-swap{display:flex;align-items:center;gap:8px;color:#A24A39;font-size:12px;line-height:1;margin:4px 0}
.hero-swap::before,.hero-swap::after{content:"";height:1px;flex:1;background:rgba(162,74,57,.22)}
.hero-rate{margin-top:8px;font-size:11px;color:#5C6B64}
.hero-rate b{color:#285A48}
[data-theme="dark"] .hero-conv .lbl{color:#B9C7BC}
[data-theme="dark"] .hero-rate{color:#B9C7BC}
[data-theme="dark"] .hero-rate b{color:#DCE7DE}
[data-theme="dark"] .hero-swap{color:#E0A08F}
[data-theme="dark"] .hero-swap::before,[data-theme="dark"] .hero-swap::after{background:rgba(224,160,143,.26)}

.conv2{display:grid;grid-template-columns:1fr 34px 1fr;align-items:end;gap:10px}
.conv2-swap{justify-self:center;align-self:center;width:30px;height:30px;margin-bottom:8px;border-radius:50%;display:grid;place-items:center;background:rgba(39,76,71,.08);color:#285A48;font-size:14px;line-height:1}
[data-theme="dark"] .conv2-swap{background:rgba(255,255,255,.08);color:#CFE0D2}

/* Produk langsung di beranda: rapatkan jarak setelah hero. */
#page-home .sec-products{padding-top:26px}
@media(max-width:560px){
  .hero-conv .inp{height:34px;font-size:13.5px}
  .hero-rate{font-size:10.5px;margin-top:6px}
  .conv2{grid-template-columns:1fr;gap:8px}
  .conv2-swap{margin:0 auto;transform:rotate(90deg)}
  #page-home .sec-products{padding-top:20px}
}

/* ===== HP: ilustrasi hero tidak dipakai (2026-10-17) =====
   Di layar HP gambar gunung/torii membuat kartu konverter sempit, jadi
   ilustrasi dan label ornamen 日本から、あなたへ disembunyikan dan kartu
   konverter memakai lebar penuh. Desktop dan tablet tetap memakai ilustrasi. */
@media(max-width:560px){
  #page-home .hero-art{display:none!important}
  #page-home .hero-side{display:block!important}
  #page-home .hero-side::before{display:none!important}
  #page-home .hero-card{margin:0!important;max-width:none!important;width:100%;padding:14px 15px;border-radius:13px}
  #page-home .hero-conv .inp{height:38px;font-size:15px}
  #page-home .hero-card h4{font-size:17px}
}
