/* ==========================================================
   下層ページの共通スタイル（page-new）
   予約・ご利用ガイド・販促ツール・会社概要など、
   メイン写真のないページで使う。共通部分は site-new.css にある。
   ========================================================== */

/* ---------- ページの見出し帯 ---------- */
.pg-hero { background: var(--wall); padding-block: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 60px); }
.pg-crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.82rem; color: var(--ink-soft); }
.pg-crumbs a { color: inherit; text-decoration: none; }
.pg-crumbs a:hover { text-decoration: underline; }
.pg-hero__title { margin-top: 16px; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.4; letter-spacing: 0.05em; }
.pg-hero__lead { margin-top: 12px; max-width: 40em; color: var(--ink-soft); }

.pg-section { padding-block: clamp(40px, 6vw, 80px); }
.pg-section--leaf { background: var(--leaf); }
.pg-h2 { margin: clamp(40px, 6vw, 64px) 0 20px; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.pg-small { font-size: 0.85rem; color: var(--ink-soft); word-break: break-all; }
.pg-small a, .pg-note a, .pg-prose a { color: var(--blue); font-weight: 700; }
.pg-after { margin-top: 28px; text-align: center; font-weight: 700; }

/* ---------- カード ---------- */
.pg-cards { display: grid; gap: 24px; }
.pg-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.pg-card { padding: clamp(22px, 3vw, 34px); background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.pg-card__title { font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.pg-card > p { margin-top: 10px; color: var(--ink-soft); }
.pg-card > .tn-btn { margin-top: 18px; }

/* ---------- コピー用の枠 ---------- */
.pg-copybox { margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pg-copybox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--leaf); font-size: 0.88rem; font-weight: 700; }
.pg-copybox__status { margin-right: 10px; font-weight: 500; color: #3f5a49; }
.pg-copybox__btn { padding: 0.4em 1.2em; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-family: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; }
.pg-copybox__btn:hover { background: var(--blue-deep); }
.pg-copybox__body { padding: 16px 18px; font-size: 0.92rem; line-height: 1.8; }
.pg-copybox__body li + li { margin-top: 14px; }
.pg-copybox__body strong { display: block; }

/* ---------- ご利用ガイド（画像を縦に並べる） ---------- */
.pg-guide { max-width: 960px; margin-inline: auto; display: grid; gap: 20px; }
.pg-guide img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.pg-next { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 手順（番号つき） ---------- */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.pg-steps li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--leaf); border-radius: 8px; font-weight: 700; line-height: 1.5; counter-increment: step; }
.pg-steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.95rem; }

/* ---------- ダウンロードの一覧 ---------- */
.pg-dls { display: grid; gap: 20px; }
.pg-dls--poster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-dls--pop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-dl { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
/* 画像は切り抜かず、元の縦横比のまま全体を見せる（A5ポップは横長） */
.pg-dl img { width: 100%; height: auto; }
.pg-dl__btns { display: flex; gap: 8px; padding: 12px; }
.pg-dl__btns a { flex: 1; padding: 8px 6px; border-radius: 8px; background: var(--blue); color: #fff; text-align: center; text-decoration: none; font-weight: 700; line-height: 1.4; transition: background-color 0.3s; }
.pg-dl__btns a:hover { background: var(--blue-deep); }
.pg-dl__btns small { display: block; font-size: 0.72rem; font-weight: 500; opacity: 0.92; }

/* ---------- 注意書きの枠 ---------- */
.pg-note { margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 30px); background: var(--leaf); border-radius: 10px; }
.pg-note h2 { font-size: 1.1rem; font-weight: 700; }
.pg-note ul { margin-top: 10px; }
.pg-note li { position: relative; padding-left: 1.2em; color: var(--ink-soft); }
.pg-note li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* ---------- 文章ページ（会社概要・プライバシーポリシーなど） ---------- */
.pg-prose { max-width: 820px; }
.pg-prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); font-weight: 700; line-height: 1.5; padding-bottom: 0.4em; border-bottom: 2px solid var(--sage); }
.pg-prose h3 { margin: 1.8em 0 0.5em; font-size: 1.15rem; font-weight: 700; }
.pg-prose > :first-child { margin-top: 0; }
.pg-prose p + p { margin-top: 1em; }
.pg-prose ul, .pg-prose ol { margin: 0.8em 0; padding-left: 1.4em; }
.pg-prose ul { list-style: disc; }
.pg-prose li + li { margin-top: 0.4em; }
.pg-prose img { border-radius: 8px; margin-block: 1.2em; }
.pg-marks { margin-top: 24px; display: grid; gap: 16px; }
.pg-mark { display: flex; gap: 20px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.pg-prose .pg-mark img { flex: none; width: 84px; height: 84px; object-fit: contain; margin: 0; }
.pg-prose .pg-mark h3 { margin: 0; font-size: 1.05rem; }
.pg-mark p { margin-top: 6px; font-size: 0.92rem; color: var(--ink-soft); }
.pg-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.pg-table th, .pg-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pg-table th { width: 9em; font-weight: 700; }

/* ---------- お知らせの一覧と記事 ---------- */
.pg-hero__lead time { font-variant-numeric: tabular-nums; }
.pg-newslist { border-top: 1px solid var(--line); max-width: 900px; }
.pg-newslist a { display: flex; gap: 28px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 0.3s, padding-left 0.3s; }
.pg-newslist a:hover { color: var(--blue); padding-left: 10px; }
.pg-newslist time { flex: none; color: var(--ink-soft); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.pg-newslist span { font-weight: 500; }
.pg-article h4, .pg-article h5 { margin: 1.6em 0 0.5em; font-size: 1.05rem; font-weight: 700; }
.pg-article p { margin-top: 1em; }
.pg-article table { width: 100%; margin-block: 1.4em; border-collapse: collapse; font-size: 0.95rem; }
.pg-article th, .pg-article td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.pg-article th { background: var(--leaf); font-weight: 700; }
.pg-article blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--leaf); border-radius: 8px; }
.pg-article iframe { max-width: 100%; }
.pg-article img { max-width: 100%; height: auto; }
.pg-article a { word-break: break-all; }
.pg-back { margin-top: clamp(40px, 6vw, 64px); }

.pg-catch { text-align: center; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); color: var(--blue); margin-block: 0.4em 0.8em; }
.pg-map { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }

/* ---------- よくある質問 ---------- */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips a { display: block; padding: 0.5em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 0.92rem; font-weight: 700; transition: background-color 0.3s, color 0.3s; }
.pg-chips a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg-faq { max-width: 860px; scroll-margin-top: 80px; }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq details:first-of-type { border-top: 1px solid var(--line); }
.pg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 700; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.3s; }
.pg-faq details[open] summary::after { transform: rotate(-135deg); }
.pg-faq summary:hover { color: var(--blue); }
.pg-faq details > div { padding: 0 4px 22px; color: var(--ink-soft); }
.pg-faq details a { color: var(--blue); font-weight: 700; }
.pg-cta { margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 44px); background: var(--leaf); border-radius: 10px; text-align: center; }
.pg-cta p { font-weight: 700; font-size: 1.1rem; }
.pg-cta .tn-btn { margin-top: 18px; }

/* ---------- お問い合わせ ---------- */
.pg-contact { max-width: 720px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.pg-contact__lead { font-weight: 700; }
.pg-contact__ways { margin-block: 24px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pg-contact__way { display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; border-radius: 10px; background: var(--leaf); text-decoration: none; transition: background-color 0.3s; }
.pg-contact__way:hover { background: #d9e6d9; }
.pg-contact__way span { font-size: 0.85rem; font-weight: 700; color: #5a7663; }
.pg-contact__way strong { font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem); color: var(--blue); word-break: break-all; }
.pg-contact__way small { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 860px) {
  .pg-cards--2 { grid-template-columns: 1fr; }
  .pg-dls--poster, .pg-dls--pop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-table th, .pg-table td { display: block; width: auto; }
  .pg-table th { padding-bottom: 0; border-bottom: 0; }
  .pg-table td { padding-top: 4px; }
  .pg-next .tn-btn { width: 100%; justify-content: space-between; }
  .pg-contact__ways { grid-template-columns: 1fr; }
  .pg-newslist a { flex-direction: column; gap: 2px; }
  .pg-article table { display: block; overflow-x: auto; }
}
