/* 新しいトップページ（「小さな美術館」風・第1段階の試作）。mainpages.php の mp_top_sections で作る部分だけに効く
   色：白〜アイボリーの地に、教室の青（#2193af）と、差し色の黄土色（#b8792e）を少しだけ
   字：見出しは明朝体、本文はゴシック体。英字の小見出しは字の間を広く */
.hg-t { --hg-blue: #2193af; --hg-blue-d: #17607a; --hg-ochre: #b8792e; --hg-ink: #2e2a27; --hg-sub: #6f665e; --hg-line: #e7dfd3; --hg-ivory: #faf6ef;
  color: var(--hg-ink); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Meiryo", sans-serif; }
.hg-t * { box-sizing: border-box; }
.hg-t img { display: block; max-width: 100%; height: auto; }

/* 見出しなど：元のテーマ（SWELL）の飾りを消す */
.post_content .hg-t h2, .post_content .hg-t h3, .post_content .hg-t h4 { margin: 0; padding: 0; border: 0; background: none; color: inherit; box-shadow: none; }
.post_content .hg-t h2::before, .post_content .hg-t h2::after, .post_content .hg-t h3::before, .post_content .hg-t h3::after,
.post_content .hg-t h4::before, .post_content .hg-t h4::after { display: none !important; content: none !important; }
.post_content .hg-t ul, .post_content .hg-t ol { margin: 0; padding: 0; list-style: none; }
.post_content .hg-t li { margin: 0; }
.post_content .hg-t li::before, .post_content .hg-t li::marker { content: none; }
.post_content .hg-t p { margin: 0; }

/* 区切り（セクション）：広い余白。1つおきに、画面の端までアイボリーの帯 */
.hg-t-sec { max-width: 1080px; margin: 0 auto; padding: 88px 8px; text-align: center; }
.hg-t-band { background: var(--hg-ivory); box-shadow: 0 0 0 100vmax var(--hg-ivory); clip-path: inset(0 -100vmax); }
.hg-t-en { margin-bottom: 8px !important; color: var(--hg-blue); font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: .8rem; font-weight: 600; letter-spacing: .4em; }
.post_content .hg-t .hg-t-h2 { font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: 2rem; font-weight: 600; letter-spacing: .1em; line-height: 1.6; }
.post_content .hg-t .hg-t-h2::after { content: "" !important; display: block !important; width: 36px; height: 2px; margin: 20px auto 0; background: var(--hg-blue); position: static; }
.hg-t-lead { margin-top: 18px !important; font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: 1.15rem; letter-spacing: .12em; color: var(--hg-sub); }
.hg-t-p { max-width: 760px; margin: 24px auto 0 !important; font-size: 1rem; line-height: 2.1; letter-spacing: .04em; color: #4d4640; }
.hg-t-small { margin-top: 18px !important; font-size: .84rem; color: var(--hg-sub); }
.hg-t-small a { color: var(--hg-blue); }
.hg-t-link { margin-top: 28px !important; }
.hg-t-link a { color: var(--hg-blue); font-weight: 700; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ボタン */
.hg-t-cta { margin-top: 34px !important; }
.hg-t-btn { display: inline-block; padding: 16px 44px; border-radius: 999px; background: var(--hg-blue); color: #fff !important; font-weight: 700; letter-spacing: .14em; text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(33, 147, 175, .28); transition: transform .2s, box-shadow .2s, background .2s; }
.hg-t-btn:hover { background: var(--hg-blue-d); transform: translateY(-2px); }
.hg-t-btn.is-light { background: #fff; color: var(--hg-blue-d) !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }

/* はじめのあいさつ */
.hg-t-intro { padding-top: 96px; }
.post_content .hg-t .hg-t-intro .hg-t-h2 { font-size: 2.3rem; }

/* 200人以上：数字・文・写真を横に */
.hg-t-trust { display: grid; grid-template-columns: 1fr 320px; grid-template-areas: "num img" "body img"; align-items: center; column-gap: 56px; row-gap: 8px; text-align: left; }
.hg-t-trust-num { grid-area: num; }
.hg-t-trust-body { grid-area: body; }
.hg-t-trust-img { grid-area: img; }
.hg-t-trust .hg-t-h2::after { margin-left: 0 !important; }
.hg-t-trust .hg-t-p { margin-left: 0 !important; }
.hg-t-trust-num { display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--hg-line); }
.hg-t-trust-num b { display: inline-block; font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: 5.2rem; font-weight: 500; line-height: 1; color: var(--hg-blue); }
.hg-t-trust-num small { font-family: "Yu Mincho", YuMincho, serif; font-size: 1.1rem; margin-left: 4px; color: var(--hg-ink); }
.hg-t-trust-num span { font-size: .82rem; letter-spacing: .16em; color: var(--hg-sub); }
.post_content .hg-t .hg-t-trust .hg-t-h2 { font-size: 1.6rem; }
.hg-t-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px !important; }
.hg-t-chips li { padding: 6px 14px; border: 1px solid var(--hg-line); border-radius: 999px; background: #fff; font-size: .82rem; letter-spacing: .06em; }
.hg-t-trust-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 10px #fff, 0 18px 40px rgba(60, 40, 20, .18); }

/* 年代別：写真と文の大きなカード2つ */
.hg-t-ages { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; text-align: left; }
.hg-t-age { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(60, 40, 20, .08); }
.hg-t-age-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hg-t-age-body { padding: 30px 30px 32px; }
.post_content .hg-t .hg-t-age h3 { font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: 1.7rem; font-weight: 600; letter-spacing: .12em; }
.hg-t-tag { margin-top: 6px !important; color: var(--hg-blue); font-size: .95rem; font-weight: 700; letter-spacing: .06em; }
.hg-t-txt { margin-top: 16px !important; font-size: .92rem; line-height: 2; color: #4d4640; }
.hg-t-mini { margin: 24px 0 12px !important; padding-top: 18px; border-top: 1px dashed var(--hg-line); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--hg-ochre); }
.hg-t-points li { display: flex; gap: 14px; padding: 10px 0; }
.hg-t-no { flex: none; font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: 1.6rem; line-height: 1; color: var(--hg-blue); }
.post_content .hg-t .hg-t-points h4 { font-size: .98rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.hg-t-points p { margin-top: 4px !important; font-size: .86rem; line-height: 1.85; color: var(--hg-sub); }

/* 受講生さんの声 */
.hg-t-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; text-align: left; }
.hg-t-voice { margin: 0; padding: 26px 24px 22px; background: #fff; border-radius: 6px; box-shadow: 0 6px 20px rgba(60, 40, 20, .06); display: flex; flex-direction: column; }
.hg-t-voice img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #f1ece4; }
.hg-t-voice blockquote { position: relative; flex: 1; margin: 16px 0 0; padding: 0; border: 0; background: none; font-size: .9rem; line-height: 1.95; color: #4d4640; quotes: none; }
.hg-t-voice blockquote::before, .hg-t-voice blockquote::after { display: none; }
.hg-t-voice figcaption { margin-top: 14px; font-size: .84rem; font-weight: 700; letter-spacing: .08em; color: var(--hg-blue-d); }

/* 講座：写真つきのカード4つ */
.hg-t-courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.hg-t-course { display: flex; flex-direction: column; gap: 6px; color: var(--hg-ink) !important; text-decoration: none !important; }
.hg-t-course-img { display: block; overflow: hidden; border-radius: 4px; margin-bottom: 10px; box-shadow: 0 10px 24px rgba(60, 40, 20, .12); }
.hg-t-course-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 28% 40%; transition: transform .5s; }
.hg-t-course:hover .hg-t-course-img img { transform: scale(1.05); }
.hg-t-course .hg-t-en { margin: 0 !important; font-size: .7rem; }
.hg-t-course-ttl { font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: .95rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.hg-t-course-sub { font-size: .82rem; color: var(--hg-sub); }
.hg-t-more { margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--hg-blue); letter-spacing: .06em; }

/* 個人・グループ */
.hg-t-styles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; text-align: left; }
.hg-t-style { padding: 34px 32px; background: #fff; border-radius: 6px; border-top: 4px solid var(--hg-blue); box-shadow: 0 8px 24px rgba(60, 40, 20, .06); }
.hg-t-style + .hg-t-style { border-top-color: var(--hg-ochre); }
.post_content .hg-t .hg-t-style h3 { font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: 1.5rem; font-weight: 600; letter-spacing: .1em; }
.hg-t-style dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 24px 0 0; }
.hg-t-style dt { font-weight: 700; font-size: .95rem; letter-spacing: .06em; }
.hg-t-style dd { margin: 4px 0 0; font-size: .84rem; line-height: 1.8; color: var(--hg-sub); }

/* 料金 */
.hg-t-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.hg-t-price { padding: 30px 24px; background: #fff; border: 1px solid var(--hg-line); border-radius: 6px; }
.hg-t-price.is-free { border-color: var(--hg-ochre); background: #fffaf2; }
.hg-t-price-name { font-weight: 700; letter-spacing: .08em; }
.hg-t-price-note { margin-top: 6px !important; font-size: .82rem; line-height: 1.7; color: var(--hg-sub); min-height: 2.8em; }
.hg-t-price-yen { margin-top: 14px !important; font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: 2.2rem; font-weight: 600; color: var(--hg-blue-d); letter-spacing: .02em; }
.hg-t-price.is-free .hg-t-price-yen { color: var(--hg-ochre); }
.hg-t-price-yen s { margin-left: 10px; font-size: 1rem; color: #a89e92; }

/* 始め方 */
.hg-t-needs { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 36px !important; }
.hg-t-needs li { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 180px; padding: 26px 12px; background: #fff; border-radius: 6px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(60, 40, 20, .06); }
.hg-t-needs span { font-size: 2rem; line-height: 1; }

/* 講師 */
.hg-t-teacher { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; text-align: left; }
.hg-t-teacher .hg-t-h2::after { margin-left: 0 !important; }
.hg-t-teacher .hg-t-p { margin-left: 0 !important; }
.hg-t-teacher-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 10px #fff, 0 18px 40px rgba(60, 40, 20, .18); }
.hg-t-name { margin-top: 24px !important; font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: 1.6rem; font-weight: 600; letter-spacing: .14em; }
.hg-t-name small { display: block; margin-top: 4px; font-family: "Yu Mincho", YuMincho, serif; font-size: .9rem; letter-spacing: .16em; color: var(--hg-sub); }
.hg-t-career { margin-top: 20px !important; }
.hg-t-career li { position: relative; padding: 6px 0 6px 20px; font-size: .88rem; color: #4d4640; border-bottom: 1px dashed var(--hg-line); }
.hg-t-career li::after { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 2px; background: var(--hg-blue); }

/* 最後のお誘い：青い帯 */
.hg-t-final { background: #1f84a1; box-shadow: 0 0 0 100vmax #1f84a1; clip-path: inset(0 -100vmax); color: #fff; }
.hg-t-final .hg-t-p { color: rgba(255, 255, 255, .9); }
.post_content .hg-t .hg-t-final .hg-t-h2::after { background: rgba(255, 255, 255, .8); }

/* タブレット・スマホ */
@media (max-width: 960px) {
  .hg-t-trust { grid-template-columns: 1fr; grid-template-areas: "num" "body" "img"; text-align: center; row-gap: 24px; }
  .hg-t-trust-num { justify-content: center; }
  .hg-t-trust .hg-t-h2::after { margin-left: auto !important; }
  .hg-t-trust .hg-t-p { margin-left: auto !important; }
  .hg-t-chips { justify-content: center; }
  .hg-t-trust-img { max-width: 360px; margin: 0 auto; }
  .hg-t-courses { grid-template-columns: 1fr 1fr; }
  .hg-t-voices { grid-template-columns: 1fr 1fr; }
  .hg-t-teacher { grid-template-columns: 1fr; gap: 32px; }
  .hg-t-teacher-img { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .hg-t-sec { padding: 60px 4px; }
  .post_content .hg-t .hg-t-h2 { font-size: 1.45rem; letter-spacing: .06em; }
  .post_content .hg-t .hg-t-intro .hg-t-h2 { font-size: 1.6rem; }
  .hg-t-lead { font-size: 1rem; }
  .hg-t-p { font-size: .92rem; line-height: 2; text-align: left; }
  .hg-t-p br { display: none; }
  .hg-t-ages, .hg-t-styles, .hg-t-prices, .hg-t-voices { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .hg-t-age-body, .hg-t-style { padding: 24px 20px; }
  .hg-t-style dl { grid-template-columns: 1fr; gap: 14px; }
  .hg-t-courses { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
  .hg-t-needs li { width: calc(50% - 10px); }
  .hg-t-trust-num b { font-size: 4rem; }
  .hg-t-btn { padding: 15px 28px; letter-spacing: .08em; }
}

/* 受講生さんの声：長い声は、はじめの5行だけ見せて「続きを読む」（チェックボックスで開閉。文章はページに全部ある） */
.hg-t-voice .hg-v-tg { position: absolute; opacity: 0; pointer-events: none; }
.hg-t-voice blockquote.is-long { flex: none; max-height: 9.75em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hg-t-voice .hg-v-tg:checked + blockquote.is-long { max-height: none; -webkit-mask-image: none; mask-image: none; }
.hg-t-voice .hg-v-more { align-self: flex-start; margin-top: 8px; padding: 4px 0; color: var(--hg-blue, #2193af); font-size: .82rem; font-weight: 700; letter-spacing: .08em; cursor: pointer; border-bottom: 1px solid currentColor; }
.hg-t-voice .hg-v-more::after { content: "続きを読む ▼"; }
.hg-t-voice .hg-v-tg:checked ~ .hg-v-more::after { content: "閉じる ▲"; }
.hg-t-voice .hg-v-tg:focus-visible ~ .hg-v-more { outline: 2px solid var(--hg-blue, #2193af); outline-offset: 2px; }
.hg-t-voice figcaption { margin-top: auto; padding-top: 14px; }
.hg-t-voices { align-items: start; }
/* コース紹介：元の文章の下の、三角の画像にあった1行（明朝体・少し大きめ） */
.hg-t-p-sub { margin-top: 14px !important; font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: 1.05rem; letter-spacing: .1em; color: var(--hg-blue-d, #17607a); }
@media (max-width: 700px) { .hg-t-p-sub { text-align: center; } .hg-t-p-sub br { display: inline !important; } }