:root{--p:#e8a317;--s:#fff4d6;--a:#c4412b;--t:#3a2e26;--bg:#fcfaf5;--line:#e8dcc0;--mute:#6b5a4c}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:var(--bg);color:var(--t);font-family:"Noto Sans JP",sans-serif;font-size:17px;line-height:1.9}
h1,h2,h3{font-family:"Zen Kaku Gothic New",sans-serif;font-weight:700;line-height:1.45}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:16px;background:#fff;padding:8px 12px;z-index:10}
:focus-visible{outline:3px solid var(--a);outline-offset:3px;border-radius:8px}

/* header */
header{position:sticky;top:0;z-index:5;background:rgba(252,250,245,.92);backdrop-filter:blur(6px);border-bottom:1px solid transparent}
header .in{display:flex;align-items:center;justify-content:space-between;height:72px;max-width:1200px;margin:0 auto;padding:0 24px}
header img{height:48px;display:block}
header .gnav ul{display:flex;gap:28px;list-style:none;font-size:15px}
header .gnav a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;transition:border-color .2s}
header .gnav a:hover{border-color:var(--p)}
.menu-btn{display:none;background:none;border:0;font:inherit;font-size:15px;color:var(--t);padding:8px 4px;cursor:pointer}
section{scroll-margin-top:80px}

/* hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--bg) 0%,var(--s) 100%);padding:120px 0 160px}
.hero h1{font-size:clamp(40px,6vw,76px);letter-spacing:.02em}
.hero p{font-size:clamp(17px,1.8vw,21px);max-width:30em;margin-top:28px}
.sun{position:absolute;right:6%;bottom:-210px;width:440px;height:440px;pointer-events:none}
.sun .disc{position:absolute;inset:0;border-radius:50%;background:var(--p)}
.sun .ray{position:absolute;height:20px;border-radius:10px;background:var(--p);transform-origin:left center}
.sun .r1{width:120px;left:300px;top:-20px;transform:rotate(-70deg)}
.sun .r2{width:96px;left:390px;top:40px;transform:rotate(-45deg)}
.sun .r3{width:70px;left:440px;top:130px;transform:rotate(-20deg)}
@media (prefers-reduced-motion:no-preference){
 .sun{animation:rise 1.6s cubic-bezier(.2,.7,.2,1) .2s both}
 .sun .ray{animation:glow 1s ease-out 1.2s both}
}
@keyframes rise{from{transform:translateY(90px)}to{transform:translateY(0)}}
@keyframes glow{from{opacity:0}to{opacity:1}}

/* common */
.sec{padding:112px 0}
.cream{background:var(--s)}
.eyebrow{font-family:Outfit,sans-serif;font-size:14px;letter-spacing:.18em;color:var(--mute);display:block;margin-bottom:12px}
.sec h2{font-size:clamp(26px,3vw,38px)}
.lead{margin-top:16px;max-width:36em}

/* flag */
.flag{display:grid;grid-template-columns:1fr 72px 1.25fr;gap:16px;align-items:stretch;margin-top:48px}
.box{border-radius:24px;padding:36px}
.box small{display:block;font-size:14px;color:var(--mute);margin-bottom:8px}
.from{background:#fff;border:2px solid var(--line)}
.from p{font-size:20px}
.to{background:var(--p)}
.to small{color:var(--t)}
.to p{font-size:22px;font-weight:700;font-family:"Zen Kaku Gothic New",sans-serif}
.arrow{align-self:center;justify-self:center;width:56px;height:56px}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:end;margin-top:56px}
.step{border-radius:24px;padding:32px;background:#fff}
.step:nth-child(1){min-height:240px}.step:nth-child(2){min-height:300px}.step:nth-child(3){min-height:360px;background:var(--p)}
.step .n{font-family:Outfit,sans-serif;font-size:15px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--p);margin-bottom:20px}
.step:nth-child(3) .n{background:var(--bg)}
.step h3{font-size:28px}
.step p{margin-top:8px;font-size:16px}

/* services */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px;align-items:start}
.card{background:#fff;border:2px solid var(--line);border-radius:24px;transition:transform .2s,border-color .2s}
.card:hover{transform:translateY(-4px);border-color:var(--p)}
.card button{all:unset;box-sizing:border-box;display:flex;width:100%;justify-content:space-between;align-items:center;gap:16px;padding:28px;cursor:pointer;border-radius:22px}
.card button:focus-visible{outline:3px solid var(--a);outline-offset:3px}
.card h3{font-size:22px}
.card .one{display:block;font-size:15px;color:var(--mute);margin-top:4px;font-family:"Noto Sans JP",sans-serif;font-weight:400}
.plus{flex:none;width:36px;height:36px;border-radius:50%;background:var(--s);display:grid;place-items:center;font-size:22px;line-height:1;transition:transform .2s,background .2s}
.card[data-open="true"] .plus{transform:rotate(45deg);background:var(--p)}
.card .more{padding:0 28px 28px;font-size:16px}
.card .more[hidden]{display:none}
.card .more .go{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.card .more .go a{font-size:14px;font-weight:700;text-decoration:none;padding:10px 16px;border-radius:999px;background:var(--s)}
.card .more .go a:hover{background:var(--p)}
.card.other{border-style:dashed}

/* story */
.story{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.ladder{list-style:none;display:flex;flex-direction:column-reverse;gap:10px;margin-top:36px}
.ladder li{background:#fff;border-radius:16px;padding:14px 20px;border-left:6px solid var(--p);font-size:16px}
.ladder li:nth-child(2){margin-left:28px}.ladder li:nth-child(3){margin-left:56px}.ladder li:nth-child(4){margin-left:84px}
.ladder b{font-family:Outfit,sans-serif;font-weight:500;color:var(--mute);margin-right:10px;font-size:14px}
.photo{background:#fff;border-radius:28px;overflow:hidden;aspect-ratio:940/788}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo-cap{font-size:14px;color:var(--mute);margin-top:12px;text-align:right}
.books{margin-top:72px}
.books h3{font-size:22px}
.shelf{display:grid;grid-template-columns:repeat(8,1fr);gap:16px;margin-top:24px}
.shelf a{display:block;border-radius:8px;overflow:hidden;box-shadow:0 6px 16px rgba(58,46,38,.12);transition:transform .2s}
.shelf a:hover{transform:translateY(-4px)}
.shelf img{width:100%;aspect-ratio:5/8;object-fit:cover;display:block}

/* cta */
.cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:40px}
.cta{display:block;text-align:center;text-decoration:none;background:var(--a);color:#fff;border-radius:999px;padding:26px 24px;font-size:20px;font-weight:700;transition:transform .2s,box-shadow .2s}
.cta:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(196,65,43,.25)}
.cta small{display:block;font-size:14px;font-weight:400;opacity:.9}

footer{background:var(--t);color:#fcfaf5;padding:56px 0 40px;font-size:14px}
footer ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px}
footer img{height:44px}
.proto-unused{position:fixed;left:16px;bottom:16px;z-index:9;background:var(--t);color:#fff;font-size:12px;padding:6px 10px;border-radius:6px;opacity:.85}

@media (max-width:860px){
 
 .hero{padding:72px 0 220px}.sun{width:280px;height:280px;right:-30px;bottom:-130px}
 .sun .r1{width:80px;left:190px;top:-14px}.sun .r2{width:64px;left:250px;top:26px}.sun .r3{display:none}
 .sec{padding:80px 0}
 .flag{grid-template-columns:1fr}.arrow{transform:rotate(90deg)}
 .steps{grid-template-columns:1fr;align-items:stretch}.step{min-height:0!important}
 .step:nth-child(2){margin-left:20px}.step:nth-child(3){margin-left:40px}
 .cards{grid-template-columns:1fr}
 .story{grid-template-columns:1fr;gap:40px}
 .ladder li:nth-child(2){margin-left:16px}.ladder li:nth-child(3){margin-left:32px}.ladder li:nth-child(4){margin-left:48px}
 .shelf{grid-template-columns:repeat(4,1fr);gap:12px}
 .cta-grid{grid-template-columns:1fr}
}

.card summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:28px;cursor:pointer;border-radius:22px}
.card summary::-webkit-details-marker{display:none}
.card[open] .plus{transform:rotate(45deg);background:var(--p)}
.mnav{display:none;position:relative}
.mnav summary{list-style:none;cursor:pointer;padding:8px 4px;font-size:15px}
.mnav summary::-webkit-details-marker{display:none}
.mnav nav{position:fixed;left:0;right:0;top:72px;background:var(--bg);border:1px solid var(--line);border-radius:0 0 16px 16px;padding:8px 24px 16px}
.mnav ul{list-style:none}.mnav a{display:block;padding:12px 0;text-decoration:none}
@media (max-width:860px){header .gnav{display:none}.mnav{display:block}}

.page-head{background:linear-gradient(180deg,var(--bg),var(--s));padding:88px 0 56px}
.page-head h1{font-size:clamp(30px,4vw,44px)}
.doc{padding:64px 0 112px}
.doc .wrap{max-width:860px}
.doc h2{font-size:22px;margin:48px 0 12px}
.doc p,.doc li{font-size:16px}
.doc ul{padding-left:1.4em;margin:8px 0}
.dl{display:grid;grid-template-columns:12em 1fr;border-top:1px solid var(--line);margin-top:8px}
.dl dt,.dl dd{padding:18px 8px;border-bottom:1px solid var(--line);font-size:16px}
.dl dt{font-weight:700}
.note{font-size:14px;color:var(--mute);margin-top:24px}
.back{display:inline-block;margin-top:40px;text-decoration:none;font-weight:700;padding:14px 24px;border-radius:999px;background:var(--s)}
.back:hover{background:var(--p)}
.cosmii{display:inline-block;margin-top:16px;font-weight:700;text-decoration:none;padding:12px 20px;border-radius:999px;background:var(--p)}
@media (max-width:860px){.dl{grid-template-columns:1fr}.dl dt{border-bottom:0;padding-bottom:0}.dl dd{padding-top:6px}}

.cos-hero{background:linear-gradient(180deg,#fcfaf5 0%,#fbe9e4 100%);padding:80px 0 96px}
.cos-hero .in2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.cos-hero img.logo{width:min(320px,80%);aspect-ratio:3/2;object-fit:cover;object-position:center 42%;display:block}
.cos-hero h1{font-size:clamp(28px,3.6vw,42px);margin-top:16px}
.cos-hero p{margin-top:16px;max-width:30em}
.cos-hero .lead-phone{justify-self:center}
.phones{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 32px;margin-top:48px}
.phone{margin:0}
.phone .screen{border:8px solid #f1d9cc;border-radius:36px;overflow:hidden;aspect-ratio:9/16;background:#fff;box-shadow:0 10px 28px rgba(196,140,110,.22);max-width:280px;margin:0 auto}
.phone .screen img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.phone figcaption{text-align:center;margin-top:18px}
.phone h3{font-size:20px}
.phone p{font-size:15px;color:var(--mute);margin-top:4px}
.live{margin-top:56px;background:#fff;border:2px solid var(--line);border-radius:24px;padding:28px 32px}
.live h3{font-size:20px}
.dev{display:grid;grid-template-columns:200px 1fr;gap:32px;align-items:center}
.dev img{width:200px;height:200px;border-radius:50%;object-fit:cover;display:block}
@media (max-width:860px){.cos-hero .in2{grid-template-columns:1fr}.phones{grid-template-columns:repeat(2,1fr);gap:28px 16px}.phone .screen{border-width:6px;border-radius:24px}.dev{grid-template-columns:1fr;justify-items:center;text-align:center}}
