/*
Theme Name: 占いどこにする？
Version: 1.0.0
Description: スマートフォンから相談先を選ぶための専用テーマ。
*/
:root{--ink:#302737;--plum:#714966;--soft:#f2eaf0;--paper:#fcfaf7;--muted:#6d6470;--line:#e7dee5;--gold:#a87a43}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:17px;line-height:1.9}a{color:var(--plum);text-underline-offset:4px}img{max-width:100%;height:auto}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a87a43;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.5}h1{font-size:clamp(32px,6vw,54px);letter-spacing:.025em}h2{font-size:clamp(25px,4vw,34px)}h3{font-size:21px}.wrap{max-width:1160px;margin:auto;padding:0 24px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}.brand{text-decoration:none;font-size:23px;font-weight:800;letter-spacing:.02em;white-space:nowrap}.brand span{color:var(--gold)}.desktop-nav{display:flex;gap:12px}.desktop-nav a,.mobile-nav a{font-size:16px;text-decoration:none;border:1px solid var(--line);border-radius:10px;padding:10px 16px;font-weight:700}.mobile-menu{display:none}.eyebrow{font-size:15px;font-weight:700;color:var(--plum);letter-spacing:.08em}.hero{position:relative;padding:64px 0 0;background:radial-gradient(ellipse at 85% 60%,#e8dce9,transparent 62%),#f7f1f3;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:30px}.hero p{max-width:590px}.hero-art{height:470px;align-self:end;display:flex;align-items:flex-end;justify-content:center}.hero-art img{max-height:100%;width:auto;object-fit:contain}.hero-label{display:inline-block;padding:5px 14px;border:1px solid #dccbd9;border-radius:30px;background:#ffffffa8;font-size:15px;margin-bottom:18px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 40px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-align:center;text-decoration:none;font-size:17px;font-weight:700;min-height:54px;padding:13px 24px;border-radius:12px;border:1px solid var(--plum);background:var(--plum);color:#fff;line-height:1.6}.btn.secondary{background:#fff;color:var(--plum)}.btn:hover{filter:brightness(.94)}.section{padding:72px 0}.section.white{background:#fff}.section-heading{max-width:720px;margin-bottom:30px}.section-heading p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.choice-card{display:flex;flex-direction:column;align-items:flex-start;padding:28px;background:#fff;border:1px solid var(--line);border-radius:18px;color:var(--ink);text-decoration:none;transition:transform .15s,box-shadow .15s}.choice-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #3027370c}.choice-card .icon{width:52px;height:52px;display:grid;place-items:center;background:var(--soft);border-radius:16px;color:var(--plum);margin-bottom:20px}.icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.choice-card p{color:var(--muted);margin-bottom:20px}.text-link{color:var(--plum);font-weight:700;text-decoration:underline;margin-top:auto}.guide-box{display:grid;grid-template-columns:165px 1fr;align-items:center;gap:25px;background:var(--soft);border-radius:20px;padding:24px 32px;margin-top:32px}.guide-box img{max-height:200px;width:auto;justify-self:center;align-self:end}.guide-box p{margin-bottom:0}.small-label{font-size:15px;font-weight:700;color:var(--plum);display:block;margin-bottom:8px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service{padding:26px;background:var(--paper);border-radius:16px;border:1px solid var(--line);display:flex;flex-direction:column}.service h3{margin-bottom:12px}.service p{color:var(--muted)}.service .badge{font-size:15px;background:#fff;border-radius:6px;padding:3px 9px;align-self:flex-start;margin-bottom:16px;color:var(--plum)}.service .text-link{display:block}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.step-no{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid #d8c7d3;border-radius:50%;color:var(--plum);font-weight:800;margin-bottom:15px}.article{max-width:800px;margin:auto;padding:48px 24px 80px}.article h2{padding-left:16px;border-left:4px solid var(--plum);margin-top:46px}.article h3{color:var(--plum);margin-top:30px}.article p,.article li{line-height:1.95}.article li{margin-bottom:10px}.article .guide-box{grid-template-columns:95px 1fr;padding:20px;gap:18px}.article .guide-box img{max-height:130px}.article table{border-collapse:collapse;width:100%;font-size:16px}.article td,.article th{border:1px solid var(--line);padding:14px;text-align:left}.article th{background:var(--soft)}.notice{padding:20px;background:#fff8ea;border-left:3px solid var(--gold);border-radius:0 12px 12px 0}.post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.post-list a{padding:24px;background:white;border:1px solid var(--line);border-radius:14px}.site-footer{background:#302737;color:#eee7ed;padding:44px 0 28px;font-size:16px}.site-footer a{color:#fff}.footer-links{display:flex;flex-wrap:wrap;gap:14px 24px;margin:22px 0}.footer-note{max-width:850px;color:#d4c7d2;font-size:15px}.copyright{font-size:14px;margin-bottom:0}.page-heading{background:var(--soft);padding:42px 0}.page-heading h1{font-size:34px;margin-bottom:0}.empty-state{padding:25px;background:white;border:1px solid var(--line);border-radius:12px}
@media(max-width:780px){.wrap{padding:0 20px}.header-inner{min-height:72px;gap:12px}.brand{font-size:21px}.desktop-nav{display:none}.mobile-menu{display:block;position:relative}.mobile-menu summary{list-style:none;width:46px;height:46px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary i{display:block;width:21px;height:2px;background:var(--plum)}.mobile-nav{position:absolute;right:0;top:54px;width:min(320px,calc(100vw - 40px));z-index:5;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 35px #30273720;padding:14px;display:grid;gap:8px}.hero{padding-top:32px}.hero-grid{grid-template-columns:1fr;gap:0}.hero h1{font-size:34px;margin-bottom:18px}.hero p{margin-bottom:18px}.hero-actions{display:grid;grid-template-columns:1fr;margin:22px 0 12px;gap:10px}.hero-art{height:265px;margin-top:8px;justify-content:flex-end;padding-right:12px}.hero-art img{max-width:90%}.hero-label{font-size:14px}.section{padding:44px 0}.cards,.service-grid,.steps,.post-list{grid-template-columns:1fr;gap:14px}.choice-card{padding:22px;display:grid;grid-template-columns:50px 1fr;gap:0 16px;align-items:start}.choice-card .icon{grid-row:1/4;width:48px;height:48px;margin:0}.choice-card h3{margin-bottom:8px}.choice-card p{margin-bottom:12px}.choice-card .text-link{grid-column:2}.guide-box{grid-template-columns:85px 1fr;padding:20px 16px;gap:14px;margin-top:24px}.guide-box img{max-height:150px}.guide-box p{font-size:16px}.service{padding:22px}.steps>div{padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px}.article{padding:30px 20px 56px}.article h1{font-size:30px}.article h2{font-size:25px}.article .guide-box{grid-template-columns:65px 1fr;padding:16px;gap:12px}.page-heading h1{font-size:30px}.site-footer{padding-top:32px}.footer-links{display:grid;gap:12px}.btn{width:100%;padding:13px 16px}body{font-size:17px}h2{font-size:27px}}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.screen-reader-text:focus{clip:auto;overflow:visible;width:auto;height:auto;padding:12px;background:white;z-index:1000}.build-note{padding:9px 20px;background:#eee5ee;text-align:center;font-size:15px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Larger guide characters across homepage and articles. */
.guide-box,.article .guide-box{grid-template-columns:210px 1fr;gap:28px}.guide-box img,.article .guide-box img{width:210px;max-height:none;height:auto}.guide-box .small-label{font-size:18px}.guide-box p,.article .guide-box p{font-size:17px}
@media(max-width:780px){.guide-box,.article .guide-box{grid-template-columns:1fr;gap:16px;padding:24px 20px}.guide-box img,.article .guide-box img{width:200px;max-width:100%;max-height:none;justify-self:center}.guide-box .small-label{font-size:18px}.guide-box p,.article .guide-box p{font-size:17px}}

.article h2.ud-step-heading{display:flex;align-items:flex-start;gap:14px;border:0;padding:0 0 14px;margin-top:42px;border-bottom:2px solid #e7dee5;color:#714966;font-size:25px;font-weight:800;line-height:1.6}.ud-step-number{display:inline-flex;flex:0 0 44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#714966;color:white;font-size:20px;line-height:1}.ud-step-title{padding-top:2px}@media(max-width:780px){.article h2.ud-step-heading{gap:12px;font-size:23px;line-height:1.55}.ud-step-number{flex-basis:40px;height:40px;font-size:18px}}

/* Prominent service introduction cards, without implying a ranking. */
.service{position:relative;overflow:hidden;min-height:240px;padding:30px 26px;border:1px solid #ded0dc;border-top:5px solid var(--service-accent,#714966);background:linear-gradient(145deg,#fff 58%,#f2eaf0);box-shadow:0 6px 20px #3027370b}.service:nth-child(1){--service-accent:#b14b67}.service:nth-child(2){--service-accent:#714c96}.service:nth-child(3){--service-accent:#347d83}.service:nth-child(4){--service-accent:#98653b}.service:nth-child(5){--service-accent:#53689b}.service h3{font-size:25px;font-weight:800;color:var(--service-accent,#714966);margin-bottom:16px;line-height:1.5;position:relative}.service .badge{font-size:15px;border:1px solid #ded0dc;color:#645668;background:#fff;padding:4px 11px;margin-bottom:22px}.service p{font-size:17px;color:#514654;line-height:1.85;margin-bottom:0}.service:after{content:"";width:72px;height:72px;border:14px solid var(--service-accent,#714966);opacity:.07;position:absolute;right:-18px;bottom:-18px;border-radius:50%;pointer-events:none}@media(max-width:780px){.service-grid{gap:20px}.service{min-height:0;padding:26px 24px}.service h3{font-size:25px}.service .badge{margin-bottom:18px}.service p{font-size:17px}}
.article h1{text-wrap:balance}

/* Service comparison */
.ud-meta,.ud-source{font-size:15px;color:#645b67;line-height:1.8}.ud-facts{margin:20px 0}.ud-facts>div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:18px 0;border-bottom:1px solid #e7dfe5}.ud-facts dt{font-weight:700;color:#714966}.ud-facts dd{margin:0;min-width:0}.ud-compare-card{margin:28px 0;padding:26px;background:#fff;border-top:4px solid #714966;box-shadow:0 6px 24px #3027370a}.article .ud-compare-card h3{font-size:25px;color:#714966;margin:0 0 12px}.ud-jumps{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.ud-jumps a{padding:12px 18px;border:1px solid #714966;border-radius:30px;font-weight:700;font-size:16px;text-decoration:none}.ud-related{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:36px}.ud-advice{border-left:4px solid #a87a43;padding-left:24px}.article a:not(.btn){text-underline-offset:4px}.service .text-link{display:inline-block;margin-top:12px;text-decoration:underline;font-weight:700}.ud-compare-card .text-link{display:inline-block;padding:8px 0;font-size:17px}.article h2[id]{scroll-margin-top:100px}@media(max-width:600px){.ud-facts>div{grid-template-columns:1fr;gap:5px;padding:16px 0}.ud-compare-card{padding:22px 18px}.article .ud-compare-card h3{font-size:23px}.ud-jumps{display:grid}.ud-jumps a{text-align:center}.ud-related{display:grid}.ud-source{overflow-wrap:anywhere}}
