/* マヤ暦トップ（index.php）の下半分だけで使う見た目（2026-11-05）
   色は style.css のクリーム色とオレンジ（--accent・--line・--soft）をそのまま使います */

.hub-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* 冒頭：「今日のマヤ暦」と「20の太陽の紋章」を横並びにせず、上下に並べる（2026-11-05） */
@media(min-width:981px){
  .entry-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"today" "seals" "birth"}
  .today{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);column-gap:36px;align-items:start}
  .today-read>.cycle{padding-top:4px}
  .seal-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
  .seal-tile img{width:118px}
}
.hub-pagenav{margin:0 0 24px}
.hub-section{margin-top:26px}
.hub-head{margin-bottom:18px}
.hub-head h2{font-size:27px}
.hub-head .section-lead{margin:8px 0 0}
.hub-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.hub-head-row .hub-head{flex:1;min-width:0}
.hub-fox{display:block;height:auto}
.hub-fox.is-flip{transform:scaleX(-1)}
.hub-head-fox{width:120px;flex-shrink:0;margin-bottom:12px}
.hub-small{font-size:15px!important;color:var(--muted);margin-top:12px!important}
.hub-note{font-size:16px;color:var(--muted);margin-top:18px;line-height:1.9}

/* ボタン（「生年月日を入力する」） */
.hub-cta{max-width:340px;margin:24px auto 0}
.hub-cta span{padding-left:6px}

/* A. 占い方（STEP） */
.hub-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hub-steps li{background:#fff5e5;border:1px solid var(--line);border-radius:20px;padding:20px 20px 22px;text-align:center}
.hub-step-art{height:104px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.hub-step-art img{width:auto;max-width:100%;max-height:104px}
.hub-step-art .hub-step-fox{width:130px;max-height:none}
.hub-step-art img:not(.hub-fox){width:96px;border-radius:12px}
.hub-step-no{display:inline-block;font-family:"Kosugi Maru","Yu Gothic",sans-serif;font-size:14px;letter-spacing:.08em;background:var(--accent);color:var(--ink);border-radius:50px;padding:1px 14px}
.hub-steps h3{font-size:20px;margin:9px 0 6px}
.hub-steps p{font-size:16px;text-align:left;line-height:1.9}

/* B. この占いでわかること＋見本 */
.hub-see{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.hub-see-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hub-see-list li{display:flex;align-items:center;gap:14px;background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:10px 14px}
.hub-see-icon{width:64px;height:64px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.hub-see-icon>img{width:64px;border-radius:9px}
.hub-see-icon .tone-art{width:62px;height:62px;margin:0;border-radius:14px}
.hub-see-icon .tone-art .number{font-size:28px}
.hub-see-icon .tone-art .dots{font-size:11px;letter-spacing:2px;padding-left:2px}
.hub-see-icon .tone-art .bar{width:24px;height:3px}
.hub-see-icon .black-badge{font-size:13px;padding:4px 9px}
.hub-see-pair{position:relative;width:64px;height:64px}
.hub-see-pair img{position:absolute;width:44px;border-radius:7px;box-shadow:0 2px 6px #a86a1622}
.hub-see-pair img:first-child{left:0;top:0}
.hub-see-pair img:last-child{right:0;bottom:0}
.hub-see-text{font-size:16px;line-height:1.75}
.hub-see-text strong{display:block;font-size:18px;color:var(--blue)}

.hub-sample{background:linear-gradient(135deg,#fff5e3,#fffcf6 70%);border:2px dashed var(--accent);border-radius:22px;padding:22px 22px 24px;text-align:center}
.hub-sample-label{display:inline-block;font-family:"Kosugi Maru","Yu Gothic",sans-serif;font-size:14px;background:var(--accent);border-radius:50px;padding:2px 14px;letter-spacing:.06em}
.hub-sample-date{font-size:16px;color:var(--muted);margin-top:8px!important}
.hub-sample .kin-row{margin:4px 0 12px}
.hub-sample .kin{font-size:52px}
.hub-sample .kin small{font-size:19px}
.hub-sample-sig{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.hub-sample-sig>div{background:#fffdf8;border:1px solid #efd2a6;border-radius:13px;padding:9px 4px 10px}
.hub-sample-sig dt{font-size:13px;color:var(--muted);line-height:1.5}
.hub-sample-sig dd{margin:6px 0 0;font-size:15px;font-weight:700;line-height:1.5}
.hub-sample-sig dd img,.hub-sample-sig dd .tone-art{width:70px;height:70px;margin:0 auto 5px;border-radius:10px}
.hub-sample-sig dd .tone-art{border-radius:16px}
.hub-sample-sig dd .tone-art .number{font-size:32px}
.hub-sample-sig dd .tone-art .dots{font-size:12px;letter-spacing:3px}
.hub-sample-sig dd .tone-art .bar{width:26px;height:3px}
.hub-sample-sig dd span{display:block}
.hub-sample-text{margin-top:16px;text-align:left;background:#fffdf8;border-left:3px solid var(--accent);border-radius:12px;padding:14px 16px}
.hub-sample-text p{font-size:16px;line-height:1.9}
.hub-sample-theme{font-weight:700;color:var(--blue);font-size:18px!important}
.hub-sample-btn{display:block;width:100%;margin-top:16px;background:#fffaf0;border:2px solid var(--accent);color:var(--ink);border-radius:50px;padding:10px 16px;font:inherit;font-size:17px;font-weight:700;cursor:pointer}
.hub-sample-btn:hover{background:var(--accent)}
.hub-sample-btn span{padding-left:6px}

/* C. ガイド */
.hub-toc{max-width:560px;margin:0 auto 6px;padding:14px 24px;background:#fff5e5;border:1px solid var(--line);border-radius:18px}
.hub-toc ol{list-style:none;margin:0;padding:0}
.hub-toc li+li{border-top:1px dashed var(--line)}
.hub-toc a{display:flex;gap:12px;align-items:baseline;padding:8px 2px;color:var(--ink);text-decoration:none;font-size:17px}
.hub-toc a:hover{color:var(--blue)}
.hub-toc-no,.hub-guide-no{font-family:"Libre Baskerville",Georgia,serif;font-style:italic;color:#c8873a}
.hub-guide-part{padding-top:30px;margin-top:28px;border-top:1px dashed var(--line)}
.hub-guide-h{display:flex;align-items:baseline;gap:12px;font-size:23px;margin-bottom:14px}
.hub-guide-no{font-size:20px}
.hub-guide-text>p{font-size:18px;line-height:1.95}
.hub-guide-text>p+p,.hub-guide-text>*+p{margin-top:14px}
.hub-guide-text>*+div,.hub-guide-text>*+ul{margin-top:16px}

.hub-def{display:flex;gap:18px;align-items:center;background:#fffdf8;border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.hub-def+.hub-def{margin-top:12px}
.hub-def-art{width:132px;flex-shrink:0;text-align:center}
.hub-def-art img{width:100px;margin:0 auto;border-radius:12px}
.hub-def-art span{display:block;font-size:13px;color:var(--muted);line-height:1.55;margin-top:5px}
.hub-def h4{font-size:20px;color:var(--blue);margin:0 0 4px}
.hub-def p{font-size:17px;line-height:1.9}

.hub-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hub-list li{position:relative;padding:12px 16px 12px 40px;background:#fffdf8;border-radius:14px;font-size:17px;line-height:1.85}
.hub-list li:before{content:"";position:absolute;left:17px;top:22px;width:8px;height:8px;background:var(--accent);transform:rotate(45deg)}
.hub-list strong{display:block;color:var(--blue)}

.hub-table-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:16px;background:#fffdf8}
.hub-tones{width:100%;border-collapse:collapse;font-size:16px;line-height:1.6}
.hub-tones th,.hub-tones td{padding:8px 12px;border-top:1px dashed var(--line);text-align:left;vertical-align:middle}
.hub-tones thead th{border-top:0;background:#fbe9cc;font-size:15px;color:var(--blue);white-space:nowrap}
.hub-tones thead th:first-child{text-align:center}
.hub-tones tbody th{width:74px;text-align:center}
.hub-tone-name{width:180px;white-space:nowrap;font-weight:700}
.hub-tones tr.is-today{background:#fff1da}
.hub-today-tag{display:inline-block;margin-left:8px;font-size:12px;font-weight:400;background:var(--accent);border-radius:50px;padding:0 9px;vertical-align:2px}
.hub-tone-mini{display:block}
.hub-tone-mini .tone-art{width:50px;height:50px;margin:0 auto;border-radius:12px}
.hub-tone-mini .tone-art .number{font-size:22px}
.hub-tone-mini .tone-art .dots{font-size:9px;letter-spacing:2px;padding-left:2px;line-height:1.2}
.hub-tone-mini .tone-art .bar{width:20px;height:3px;margin-top:2px}

.hub-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hub-color{--c:#e57f6f;--bg:#fff3ef;background:var(--bg);border:1px solid color-mix(in srgb,var(--c) 35%,#fff);border-radius:18px;padding:14px 14px 16px}
.hub-color.is-white{--c:#a59f95;--bg:#fbfaf7}
.hub-color.is-blue{--c:#6f9fd3;--bg:#f2f7fd}
.hub-color.is-yellow{--c:#e3b23c;--bg:#fff9e6}
.hub-color h4{display:flex;align-items:center;gap:9px;font-size:20px;margin:0 0 10px}
.hub-color h4 small{font-size:14px;font-weight:400;color:var(--muted);background:#fff;border-radius:50px;padding:0 11px}
.hub-color-dot{width:16px;height:16px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 2px #ffffff99}
.hub-color ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.hub-color-seal{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%;appearance:none;background:#fff;border:1px solid transparent;border-radius:12px;padding:6px 2px 7px;font:inherit;color:var(--ink);cursor:pointer}
.hub-color-seal:hover{border-color:var(--c)}
.hub-color-seal img{width:100%;max-width:62px;border-radius:8px}
.hub-color-seal span{font-size:11px;line-height:1.45;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.hub-color-seal.is-today{border:2px solid var(--accent);padding:5px 1px 6px}

.hub-today{background:#fff5e5;border:1px solid var(--accent);border-radius:18px;padding:16px 18px}
.hub-today-title{font-family:"Kosugi Maru","Yu Gothic",sans-serif;font-size:15px!important;color:var(--blue);margin-bottom:6px}
.hub-today-row+.hub-today-row{margin-top:12px}
.hub-today-row p{font-size:16px;line-height:1.7}
.hub-today-row strong{margin-right:10px}
.hub-dots{list-style:none;display:flex;gap:5px;margin:8px 0 0;padding:0}
.hub-dots li{flex:1;max-width:28px;height:12px;border-radius:50px;background:#fff;border:1px solid var(--line)}
.hub-dots li.is-past{background:#f6d6a6;border-color:#f6d6a6}
.hub-dots li.is-now{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 3px #eeb05b44}
.hub-bar{height:12px;background:#fff;border:1px solid var(--line);border-radius:50px;margin-top:8px;overflow:hidden}
.hub-bar span{display:block;height:100%;background:var(--accent);border-radius:50px}

/* D. 関係する6つのKIN */
.hub-rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hub-rel-card{position:relative;background:#fffdf8;border:1px solid var(--line);border-radius:18px;padding:18px 18px 16px}
.hub-rel-no{position:absolute;top:-10px;left:16px;width:28px;height:28px;border-radius:50%;background:var(--accent);font-family:"Kosugi Maru","Yu Gothic",sans-serif;font-size:15px;display:flex;align-items:center;justify-content:center}
.hub-rel-card h3{font-size:19px;color:var(--blue);margin:4px 0 6px}
.hub-rel-card p{font-size:16px;line-height:1.85}
.hub-rel-how{margin-top:10px!important;padding-top:10px;border-top:1px dashed var(--line);font-size:14px!important;color:var(--muted)}
.hub-rel-how span{display:inline-block;font-size:12px;background:#fbe9cc;color:var(--blue);border-radius:50px;padding:0 9px;margin-right:6px}

/* F. 結果の活かし方 */
.hub-use{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hub-use li{background:#fff5e5;border-radius:18px;padding:18px 20px}
.hub-use-no{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#fffdf8;border:2px solid var(--accent);font-family:"Libre Baskerville",Georgia,serif;font-style:italic;font-weight:700;color:#c8873a;margin-bottom:6px}
.hub-use h3{font-size:19px;margin-bottom:5px}
.hub-use p{font-size:16px;line-height:1.9}

/* G. よくある質問 */
.hub-faq{display:grid;gap:12px}
.hub-faq-item{background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.hub-faq-q,.hub-faq-a{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.85}
.hub-faq-q{font-weight:700}
.hub-faq-a{margin-top:8px!important}
.hub-faq-q span,.hub-faq-a span{flex-shrink:0;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:"Libre Baskerville",Georgia,serif;font-size:15px;margin-top:1px}
.hub-faq-q span{background:var(--accent)}
.hub-faq-a span{background:#fbe9cc;color:var(--blue)}

/* H. 注意書き */
.hub-caution{max-width:850px;margin:26px auto 0;font-size:16px;line-height:1.9;color:var(--muted);background:#fffaf0;border:1px dashed var(--accent);border-radius:14px;padding:14px 18px}

/* I. ほかの占い */
.hub-others{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hub-others a{display:flex;align-items:center;gap:14px;height:100%;background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:14px 18px;color:var(--ink);text-decoration:none}
.hub-others a:hover{border-color:var(--accent);background:#fff5e5}
.hub-others-art{width:96px;height:72px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.hub-others-art img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.hub-others-text{flex:1;min-width:0;font-size:15px;line-height:1.75}
.hub-others-text strong{display:block;font-size:18px;color:var(--blue)}
.hub-others-arrow{font-size:24px;color:var(--accent);flex-shrink:0}

@media(max-width:980px){
  .hub-see{grid-template-columns:minmax(0,1fr)}
  .hub-rel{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .hub-head h2{font-size:24px}
  .hub-head-fox{width:64px;margin-bottom:6px}
  .hub-steps{grid-template-columns:minmax(0,1fr);gap:12px}
  .hub-steps li{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:"art no" "art title" "text text";column-gap:14px;text-align:left;padding:16px}
  .hub-step-art{grid-area:art;height:86px;margin:0}
  .hub-step-art .hub-step-fox{width:96px}
  .hub-step-art img:not(.hub-fox){width:80px}
  .hub-step-no{grid-area:no;justify-self:start;align-self:end}
  .hub-steps h3{grid-area:title;margin:4px 0 0;align-self:start}
  .hub-steps p{grid-area:text;margin-top:10px}
  .hub-guide-h{font-size:21px}
  .hub-guide-text>p{font-size:17px}
  .hub-def{flex-direction:column;align-items:stretch;text-align:left}
  .hub-def-art{display:flex;align-items:center;gap:12px;width:auto;text-align:left}
  .hub-def-art img{width:76px;margin:0}
  .hub-def-art span{margin:0}
  .hub-colors{grid-template-columns:minmax(0,1fr)}
  .hub-rel,.hub-use,.hub-others{grid-template-columns:minmax(0,1fr)}
  .hub-others a{gap:10px;padding:12px 14px}
  .hub-others-art{width:76px;height:60px}
  .hub-tones{font-size:15px}
  .hub-tones th,.hub-tones td{padding:7px 8px}
  .hub-tones tbody th{width:60px}
  .hub-tone-name{width:auto}
  .hub-sample{padding:18px 14px 20px}
  .hub-sample-sig dd{font-size:13px}
  .hub-sample-sig dd img,.hub-sample-sig dd .tone-art{width:58px;height:58px}
}
@media(max-width:360px){
  .hub-color ul{gap:4px}
  .hub-color-seal span{font-size:10px}
  .hub-sample-sig dt{font-size:11px}
  .hub-sample-sig dd{font-size:12px}
}
@media print{.hub-fox,.hub-pagenav,.hub-sample form{display:none}}
