/* 本命星・生まれ日の数 早見表（/hayami/）。site.css の色・書体・ボタンをそのまま使い、この頁の分だけ足す
   勝負どころ: 答えの文字。選ぶと、星の名前が大きな明朝で出る。50〜70代が読める大きさを最優先 */

/* ---------- 上: 見出しと入力（夜の紫） ---------- */
.hy-top { padding: 132px 0 96px; }
.hy-top__in {
  width: min(1200px, 100% - 8vw); margin-inline: auto;
  display: grid; grid-template-columns: 5fr 7fr; column-gap: 6vw; row-gap: 40px; align-items: start;
}
.hy-top__head { grid-row: 1 / 3; padding-top: 8px; position: sticky; top: 104px; }
.hy-h1 { font-family: var(--f-min); font-weight: 500; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.4; letter-spacing: 0.04em; margin: 0 0 24px; }
.hy-h1 span { display: block; }
.hy-h1__s { font-size: 0.62em; color: var(--gold-light); letter-spacing: 0.3em; margin-top: 6px; }
.hy-lead { font-size: 18px; line-height: 2; max-width: 26em; }

.hy-form { display: grid; grid-template-columns: 2.1fr 1fr 1fr; gap: 16px 14px; align-items: end; }
.hy-sel label { display: block; font-size: 16px; margin: 0 0 6px; color: var(--gold-light); letter-spacing: 0.06em; }
.hy-sel select {
  width: 100%; height: 62px; padding: 0 40px 0 16px;
  font: 500 21px/1.2 var(--f-go); color: var(--ink); background: var(--cream);
  border: 1px solid var(--gold); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--night) 50%), linear-gradient(135deg, var(--night) 50%, transparent 50%);
  background-position: calc(100% - 22px) 28px, calc(100% - 16px) 28px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  cursor: pointer;
}
.hy-sel select:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.hy-go { grid-column: 1 / -1; justify-self: start; min-width: 240px; height: 60px; font-size: 19px; cursor: pointer; }
.hy-privacy { grid-column: 1 / -1; font-size: 14px; color: rgba(243, 235, 221, 0.7); margin: 0; }

/* 答え: 金の細い線で区切るだけ。箱にしない */
.hy-result { outline: none; border-top: 1px solid var(--gold); }
.hy-wait { font-size: 17px; color: rgba(243, 235, 221, 0.75); margin: 22px 0 0; }
.hy-for { font-size: 17px; margin: 22px 0 4px; color: rgba(243, 235, 221, 0.85); }
.hy-item { padding: 22px 0 26px; border-bottom: 1px solid rgba(176, 138, 46, 0.45); }
.hy-item__label { font-size: 15px; letter-spacing: 0.12em; color: var(--gold-light); margin: 0 0 4px; }
.hy-name { font-family: var(--f-min); font-weight: 500; font-size: clamp(46px, 5vw, 72px); line-height: 1.25; letter-spacing: 0.06em; margin: 0 0 10px; }
.hy-name rt { font-family: var(--f-go); font-size: 16px; letter-spacing: 0.14em; color: var(--gold-light); }
.hy-name--num { line-height: 1; margin: 6px 0 14px; }
.hy-name--num .hy-digit { display: block; font-variant-numeric: lining-nums; }
.hy-digit { font-family: var(--f-en); font-weight: 500; font-size: 1.4em; line-height: 1; color: var(--gold-light); }
.hy-desc { font-size: 18px; line-height: 1.9; margin: 0 0 8px; }
.hy-note { font-size: 15px; line-height: 1.8; color: rgba(243, 235, 221, 0.8); margin: 0 0 8px; }
.hy-item__link { display: inline-block; font-size: 16px; color: var(--gold-light); margin-top: 4px; background-size: 100% 1px; }

/* ---------- 中: LINE とアプリ ---------- */
.hy-cta { padding: 80px 0; border-top: 1px solid var(--gold); }
.hy-cta__in { max-width: 920px; }
.hy-cta__in > p { font-size: 18px; }
.hy-cta__row { display: flex; flex-wrap: wrap; gap: 16px 20px; margin: 26px 0 18px; }
.hy-cta__row .btn--l { max-width: 400px; }
.hy-cta__note { font-size: 15px; color: rgba(243, 235, 221, 0.75); margin: 0; }

/* ---------- 下: 早見表（生成りの便箋） ---------- */
.hy-tables { padding: 96px 0 104px; }
.hy-t-lead { font-size: 17px; max-width: 46em; }
.hy-t-lead strong { font-weight: 500; background: linear-gradient(transparent 62%, rgba(176, 138, 46, 0.28) 62%); }
.hy-gap { margin-top: 88px; }
.hy-scroll { overflow-x: auto; margin: 22px 0 0; }
.hy-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.7; }
.hy-table thead th { font-weight: 500; font-size: 14px; letter-spacing: 0.1em; color: var(--mist); text-align: left; padding: 0 16px 10px 0; border-bottom: 1px solid var(--night); }
.hy-table tbody th, .hy-table tbody td { padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(38, 48, 90, 0.16); vertical-align: top; text-align: left; }
.hy-table tbody th { font-family: var(--f-min); font-weight: 500; font-size: 22px; white-space: nowrap; }
.hy-table rt { font-family: var(--f-go); font-size: 12px; color: var(--mist); letter-spacing: 0.08em; }
.yl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.yl li { white-space: nowrap; }
.yl .y { font-family: var(--f-en); font-weight: 500; font-size: 22px; letter-spacing: 0.02em; }
.yl .w { font-size: 14px; color: var(--mist); margin-left: 0.35em; }
.hy-digit--s { color: var(--gold); font-size: 34px; font-variant-numeric: lining-nums; }
.hy-table--num { table-layout: fixed; }
.hy-table--num th:first-child { width: 4.5em; }
.hy-table--num th:nth-child(2), .hy-table--num .dd { width: 16em; }
.hy-table--num .dd { white-space: nowrap; font-size: 18px; }
.hy-top ruby, .hy-table ruby { ruby-align: center; }
.hy-table--zod { max-width: 560px; }

.hy-honest { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--gold); max-width: 46em; }
.hy-honest p { font-size: 16px; color: var(--mist); }

/* =================================================== タブレット・スマホ */
@media (max-width: 1023px) {
  .hy-top { padding: 96px 0 72px; }
  .hy-top__in { grid-template-columns: 1fr; }
  .hy-top__head { grid-row: auto; position: static; }
}
@media (max-width: 899px) {
  .hy-top__in { width: calc(100% - 32px); row-gap: 28px; }
  .hy-h1 { font-size: 31px; margin-bottom: 18px; }
  .hy-lead { font-size: 17px; }
  .hy-form { grid-template-columns: 1fr 1fr; }
  .hy-sel--y { grid-column: 1 / -1; }
  .hy-sel select { height: 58px; font-size: 20px; }
  .hy-go { width: 100%; }
  .hy-name { font-size: 46px; }
  .hy-cta { padding: 64px 0; }
  .hy-cta__row .btn--l { max-width: none; }
  .hy-tables { padding: 72px 0 80px; }
  .hy-gap { margin-top: 64px; }
  .hy-table tbody th { font-size: 20px; }
  .hy-table--star tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid rgba(38, 48, 90, 0.16); }
  .hy-table--star tbody th, .hy-table--star tbody td { display: block; border: 0; padding: 0; }
  .hy-table--star tbody th { margin-bottom: 8px; }
  .hy-table--star thead { display: none; }
  .hy-table--num { table-layout: auto; }
  .hy-table--num thead { display: none; }
  .hy-table--num tbody tr { display: grid; grid-template-columns: 2.6em 1fr; column-gap: 8px; padding: 14px 0; border-bottom: 1px solid rgba(38, 48, 90, 0.16); }
  .hy-table--num tbody th, .hy-table--num tbody td { border: 0; padding: 0; }
  .hy-table--num tbody th { grid-row: 1 / 3; width: auto; }
  .hy-table--num .dd { font-size: 18px; white-space: normal; }
  .hy-table--num td:last-child { font-size: 16px; color: var(--mist); }
  .ftr { padding-bottom: 36px; }
}
