/* =========================================================
   Mother.N 2027年の運勢特集
   形はタロット（/tarot/style.css）と同じ。テーマ色は金色（メインビジュアルの「2027」に合わせる）
   ページ背景・ヘッダー・フッターはサイト共通（/common/common.css）
   占いのカードの色は、TOPの「無料で占える6つの占い」と同じ
   ========================================================= */
:root{--theme:#fbf3e0;--accent:#c99a45;--accent-hover:#b5862f;--ink:#4b3a2f;--muted:#6f5c4f;--deep:#8a6424;--line:#ead7ad;--panel:#fffdf9;--btn-ink:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:"Kosugi Maru","Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:18px;line-height:1.95;letter-spacing:.04em}
a{color:var(--deep);text-underline-offset:4px}
a:focus-visible,button:focus-visible{outline:3px solid var(--deep);outline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.6}
h1,h2,h3{font-family:"Zen Antique Soft","Hiragino Mincho ProN","Yu Mincho",serif;font-weight:400}
h1,h2{word-break:auto-phrase}
h2{font-size:27px;letter-spacing:.06em}
h3{font-size:22px;letter-spacing:.04em}
p+p{margin-top:13px}
img{max-width:100%}
section{scroll-margin-top:22px}
.page{max-width:1100px;margin:auto;padding:24px 28px 36px}
.br-pc{display:inline}

/* タイトル：左右にひつじ（手をふる2匹が向かい合わせ） */
.hero{display:grid;grid-template-columns:auto minmax(0,auto) auto;grid-template-areas:"left title right" "left lead right";justify-content:center;align-items:center;column-gap:34px;row-gap:6px;padding:26px 0 30px;text-align:center}
.hero-left{grid-area:left}
.hero-right{grid-area:right}
.hero-title{grid-area:title;align-self:end;min-width:0}
.hero h1{font-size:40px;letter-spacing:.12em}
.hero h1 .title-tail{display:inline}
.hero.is-long h1 .title-tail{display:block}
.hero .lead{grid-area:lead;align-self:start;margin-top:4px;font-size:17px}
.hero-art{display:block;width:170px;max-width:none;height:auto}
.hero-art.is-mirrored{transform:scaleX(-1)}

/* パンくず */
.crumb{margin:0 0 17px;font-size:14px;color:var(--muted)}
.crumb ol{display:flex;flex-wrap:wrap;gap:4px 0;list-style:none;margin:0;padding:0}
.crumb li{display:flex;align-items:center}
.crumb li+li::before{content:"›";margin:0 10px;color:var(--accent)}
.crumb a{color:var(--deep);text-decoration:underline;text-decoration-color:var(--line)}
.crumb a:hover{text-decoration-color:var(--deep)}
.crumb [aria-current]{color:var(--ink)}

/* カード */
.panel{border:1px solid var(--line);border-radius:24px;padding:30px;background:var(--panel);box-shadow:0 5px 22px #8a642414;min-width:0}
.panel.is-main{background:none;border-color:transparent;box-shadow:none;padding-left:0;padding-right:0}
.page>section+section{margin-top:30px}
.kicker{font-family:"Libre Baskerville",Georgia,serif;font-size:14px;letter-spacing:.08em;color:var(--deep);margin-bottom:5px}
.kicker::before{content:"✦";margin-right:8px;color:var(--accent);font-size:13px}
.panel-head{text-align:center}
.section-lead{margin-top:8px;color:var(--muted);font-size:17px}
.section-note{max-width:720px;margin:18px auto 0;color:var(--muted);font-size:14px;line-height:1.8;text-align:center}

/* ボタン（金色・白文字） */
.primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--accent);color:var(--btn-ink);border:0;border-radius:50px;padding:12px 30px;font:inherit;font-size:18px;font-weight:700;text-decoration:none;line-height:1.6;letter-spacing:.08em;text-shadow:0 1px 2px #6b4a1466;background-image:linear-gradient(180deg,#d9ad57,#c08d38)}
.primary:hover{background:var(--accent-hover);background-image:none}
.primary .arrow{font-size:1.2em;line-height:1}

/* ---------------------------------------------------------
   2027年はどんな年？
   --------------------------------------------------------- */
.sign-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.sign-card{padding:24px 24px 26px;border-width:1px;border-top-width:6px}
.sign-card h3{font-size:21px;margin-top:2px;word-break:auto-phrase}
.sign-card h3 .yomi{font-size:.68em;letter-spacing:0}
.sign-card p:not(.sign-method){margin-top:10px;font-size:16px;line-height:1.85}
.sign-method{display:inline-block;padding:1px 12px;border-radius:50px;font-size:14px;letter-spacing:.08em;color:var(--ink)}
.sign--green{border-color:#d4e1c2;border-top-color:#92ac74}.sign--green .sign-method{background:#ebf1df}
.sign--mint{border-color:#c9e4d9;border-top-color:#83b6a6}.sign--mint .sign-method{background:#e8f4ef}
.sign--blue{border-color:#cddcec;border-top-color:#8daed0}.sign--blue .sign-method{background:#e6eef7}

.forecast{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:28px;margin-top:24px;padding:28px 34px;background:var(--theme);border:1px solid var(--line);border-radius:24px}
.forecast-art{width:200px;height:auto}
.forecast-weather{margin:6px 0 4px;font-family:"Zen Antique Soft",serif;font-size:21px;line-height:1.7;color:var(--deep)}
.forecast-body p:not(.kicker):not(.forecast-weather){font-size:16px;line-height:1.9}

/* ---------------------------------------------------------
   占いを選ぶ（TOPの「無料で占える6つの占い」と同じ形・同じ色・同じキャラクター）
   --------------------------------------------------------- */
.fortune-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;margin:24px 0 0;padding:0}
.fortune>a,.fortune>div{display:flex;flex-direction:column;align-items:center;height:100%;padding:16px 20px 20px;border-width:1px;border-style:solid;border-radius:18px;text-align:center;color:var(--ink);text-decoration:none;transition:transform .2s,box-shadow .2s}
.fortune>a:hover{transform:translateY(-4px);box-shadow:0 8px 20px #9a5a241f}
.fortune-img{display:flex;align-items:flex-end;justify-content:center;width:100%;height:150px}
.fortune-img img{display:block;width:auto;height:150px;max-width:100%;object-fit:contain}
.fortune-kicker{margin-top:8px;font-family:"Libre Baskerville",Georgia,serif;font-size:12px;letter-spacing:.1em;color:var(--muted)}
.fortune-title{font-family:"Zen Antique Soft",serif;font-size:25px;letter-spacing:.06em;line-height:1.4}
.fortune-text{flex:1;margin-top:8px;font-size:15px;line-height:1.75;letter-spacing:0}
.fortune-btn{position:relative;display:block;width:100%;margin-top:14px;padding:9px 30px 9px 16px;border-radius:999px;font-size:16px;letter-spacing:.1em;line-height:1.6}
.fortune-btn{color:#fff;text-shadow:0 1px 2px #0000002e}
.fortune-btn::after{content:"";position:absolute;top:50%;right:20px;width:7px;height:7px;border-top:2px solid #fff;border-right:2px solid #fff;transform:translateY(-50%) rotate(45deg);transition:right .2s}
.fortune>a:hover .fortune-btn::after{right:16px}
.fortune--pink>*{background:#fce8e6;border-color:#f3cfca}.fortune--pink .fortune-btn{background:#ec9a92}
.fortune--blue>*{background:#e6eef7;border-color:#cddcec}.fortune--blue .fortune-btn{background:#8daed0}
.fortune--green>*{background:#ebf1df;border-color:#d4e1c2}.fortune--green .fortune-btn{background:#92ac74}
.fortune--mint>*{background:#e8f4ef;border-color:#c9e4d9}.fortune--mint .fortune-btn{background:#83b6a6}
.fortune--orange>*{background:#fdf0da;border-color:#f3dbad}.fortune--orange .fortune-btn{background:#efb05c}
.fortune--yellow>*{background:#fdf1d5;border-color:#f3ddab}.fortune--yellow .fortune-btn{background:#e2b54a}
/* 準備中：カードはそのままの色で、右上に「COMING SOON」のリボン（日付は出さない） */
.fortune>div{position:relative;overflow:hidden;cursor:default}
.fortune.is-soon .fortune-text{margin-bottom:8px}
.ribbon{position:absolute;top:22px;right:-44px;width:170px;padding:4px 0;transform:rotate(45deg);background:linear-gradient(180deg,#d9ad57,#bf8c37);color:#fff;font-family:"Libre Baskerville",Georgia,serif;font-size:11px;letter-spacing:.14em;line-height:1.6;text-align:center;box-shadow:0 2px 6px #6b4a1433;text-shadow:0 1px 1px #6b4a1455}
.ribbon::before,.ribbon::after{content:"";position:absolute;left:0;right:0;height:1px;background:#fff8dd99}
.ribbon::before{top:2px}.ribbon::after{bottom:2px}

/* ---------------------------------------------------------
   新着
   --------------------------------------------------------- */
.news-list{max-width:720px;margin:16px auto 0;padding:0;list-style:none}
.news-list li{display:flex;gap:20px;padding:12px 4px;border-bottom:1px dashed var(--line);font-size:16px}
.news-list time{flex-shrink:0;font-family:"Libre Baskerville",Georgia,serif;font-size:14px;color:var(--muted);padding-top:3px}

/* ---------------------------------------------------------
   個別鑑定
   --------------------------------------------------------- */
.year-kantei{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:30px;padding:28px 38px}
.kantei-art{width:190px;height:auto}
.year-kantei h2{font-size:24px}
.year-kantei p:not(.kicker){margin-top:8px;font-size:16px}
.year-kantei .primary{margin-top:16px;font-size:16px;padding:10px 26px}

/* 締めの文 */
.closing{max-width:760px;margin:38px auto 0;text-align:center}
.closing p{font-size:17px}
.closing .small{font-size:14px;color:var(--muted);margin-top:14px;line-height:1.9}

/* TOPへ戻るボタン */
.to-top{position:fixed;right:24px;bottom:24px;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:64px;height:64px;border-radius:50%;background:var(--accent);color:var(--btn-ink);text-decoration:none;box-shadow:0 6px 18px #6b4a143a;text-shadow:0 1px 2px #6b4a1466;transition:opacity .25s ease,transform .25s ease,background .2s ease}
.to-top:hover{background:var(--accent-hover)}
.to-top-arrow{width:11px;height:11px;border-top:2.5px solid currentColor;border-left:2.5px solid currentColor;transform:rotate(45deg);margin-top:6px}
.to-top-label{font-family:"Libre Baskerville",Georgia,serif;font-size:12px;letter-spacing:.08em;line-height:1}
.to-top.is-hidden{opacity:0;transform:translateY(12px);pointer-events:none}

/* ---------------------------------------------------------
   タブレット・スマホ
   --------------------------------------------------------- */
@media(max-width:900px){
  .sign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sign-grid .sign-card:last-child{grid-column:1/-1}
  .fortune-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body{font-size:16px}
  .page{padding:16px 16px 30px}
  .br-pc{display:none}
  .hero{grid-template-columns:auto 1fr auto;grid-template-areas:"left title right" "lead lead lead";column-gap:8px;padding:18px 0 22px}
  .hero h1{font-size:28px;letter-spacing:.08em}
  .hero h1 .title-tail{display:block}
  .hero .lead{font-size:15px;text-align:center;margin-top:12px}
  .hero-art{width:92px}
  h2{font-size:23px}
  .section-lead{font-size:15px}
  .section-note{text-align:left;font-size:13px}
  .sign-grid{grid-template-columns:1fr;gap:14px}
  .sign-card{padding:20px}
  .forecast{grid-template-columns:1fr;justify-items:center;padding:22px 20px;gap:10px;text-align:center}
  .forecast-art{width:140px}
  .forecast-body p:not(.kicker):not(.forecast-weather){text-align:left}
  .forecast-weather{font-size:18px}
  .fortune-grid{gap:12px}
  .fortune>a,.fortune>div{padding:12px 10px 14px}
  .fortune-img,.fortune-img img{height:100px}
  .fortune-title{font-size:20px}
  .fortune-kicker{font-size:10px}
  .fortune-text{font-size:13px;line-height:1.65}
  .fortune-text br{display:none}
  .fortune-btn{font-size:12px;padding:7px 20px 7px 8px;letter-spacing:0}
  .fortune-btn::after{right:12px}
  .ribbon{top:16px;right:-50px;width:150px;font-size:9px;letter-spacing:.08em}
  .year-kantei{grid-template-columns:1fr;justify-items:center;text-align:center;padding:24px 20px}
  .kantei-art{width:130px}
  .year-kantei h2{font-size:21px}
  .year-kantei p:not(.kicker){text-align:left}
  .news-list li{flex-direction:column;gap:0}
  .to-top{right:14px;bottom:14px;width:56px;height:56px}
}

/* 総合ページ専用：2027年の水彩メインビジュアル */
.year-hero{position:relative;isolation:isolate;width:calc(100% + 96px);margin:4px -48px 24px;aspect-ratio:2/1;display:grid;place-items:center;text-align:center;overflow:hidden;border-radius:28px;background:#fffcf2}
.year-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1}
.year-hero-copy{position:relative;z-index:2;width:64%;padding:38px 0 0}
.year-hero-year{font-family:"Libre Baskerville",Georgia,serif;font-weight:400;font-size:clamp(100px,12.4vw,168px);letter-spacing:-.06em;line-height:1.08;color:#b1832e;background:linear-gradient(115deg,#9f7021 6%,#e1ba62 27%,#b4852d 46%,#f0d28a 64%,#a77824 84%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 0 #fff8dd);margin:0 0 8px}
.year-hero h1{font-size:clamp(27px,3vw,39px);letter-spacing:.08em;line-height:1.5;color:#513719;white-space:nowrap}
.year-hero-divider{display:flex;align-items:center;justify-content:center;gap:12px;color:#b78b39;font-size:19px;margin:12px auto 10px;line-height:1}
.year-hero-divider::before,.year-hero-divider::after{content:"";height:1px;width:66px;background:linear-gradient(90deg,transparent,#b78b39)}
.year-hero-divider::after{transform:scaleX(-1)}
.year-hero-lead{font-size:clamp(13px,1.35vw,16px);line-height:2;color:#59442e;letter-spacing:0;margin:0}
.year-hero-sheep{position:absolute;z-index:1;bottom:17%;width:24%;height:48%;object-fit:contain}
.year-hero-sheep--left{left:3.5%}
.year-hero-sheep--right{right:3.5%;transform:scaleX(-1)}
@media(min-width:1500px){.year-hero{width:calc(100% + 200px);margin-left:-100px;margin-right:-100px}}
@media(max-width:1100px){.year-hero{width:100%;margin-left:0;margin-right:0}.year-hero-copy{width:68%;padding-top:30px}.year-hero-year{font-size:clamp(86px,12vw,132px)}.year-hero h1{font-size:clamp(24px,3vw,34px)}.year-hero-lead{font-size:13px}.year-hero-divider{margin:9px auto}.year-hero-sheep{width:23%;bottom:18%}}
@media(max-width:700px){
 .year-hero{aspect-ratio:auto;min-height:530px;margin-top:0;margin-bottom:20px;border-radius:24px;border:1px solid #dbc28a;background:#fffcf3}
 .year-hero::after{content:"";position:absolute;inset:9px;border:1px solid #d8b977;border-radius:17px;pointer-events:none;z-index:3}
 .year-hero-bg{object-fit:cover;opacity:.65}
 .year-hero-copy{align-self:start;width:100%;padding:59px 19px 0}
 .year-hero-year{font-size:100px;margin-bottom:8px}
 .year-hero h1{font-size:26px;letter-spacing:.025em;white-space:normal}
 .year-hero-divider{margin:15px auto 13px}
 .year-hero-lead{font-size:14px;line-height:1.9;max-width:330px;margin:auto;text-wrap:pretty}
 .year-hero-sheep{width:40%;height:156px;bottom:27px}
 .year-hero-sheep--left{left:8%}.year-hero-sheep--right{right:8%}
}
@media(max-width:360px){.year-hero{min-height:520px}.year-hero-copy{padding:55px 17px 0}.year-hero h1{font-size:23px}.year-hero-year{font-size:86px}.year-hero-lead{font-size:13px}.year-hero-sheep{height:140px}}
