/*
Theme Name: 国際教養振興協会 2026
Theme URI: https://www.icpa.jp/
Description: 一般社団法人 国際教養振興協会（ICPA）の新デザイン。旧サイトの青と申込ボタンのオレンジを引き継ぎ、スマホとPCの両方に対応。東條英利 公式サイトの tojo2026 テーマが土台。
Version: 1.0.0
Requires PHP: 8.0
Text Domain: icpa2026
*/

:root {
  --navy: #173a78; --navy2: #1f4f9c; --navy3: #0f2752;
  --sky: #5fb3e8; --skytint: #eaf5fc;
  --orange: #ee6c12; --orange2: #d85a05;
  --ink: #1d2433; --text: #3a4252; --mute: #5f6776;
  --bg: #ffffff; --pale: #f3f7fb; --line: #dfe6ef;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --r: 14px; --shadow: 0 8px 24px rgba(23, 58, 120, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
html.is-locked { overflow: hidden; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.85; font-size: 16px; padding-bottom: 64px; }
img { max-width: 100%; height: auto; }
a { color: var(--navy2); }
h1, h2, h3, h4 { line-height: 1.5; letter-spacing: .02em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.wrap--narrow { max-width: 860px; padding-top: 24px; padding-bottom: 48px; }
.pc { display: none; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; min-height: 48px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }
.btn--sm { min-height: 42px; padding: 8px 14px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--entry { background: var(--orange); color: #fff; }
.btn--entry::after { content: "›"; font-size: 1.2em; line-height: 1; }
.btn--entry:hover { background: var(--orange2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--white { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.btn-row .btn { flex: 1 1 200px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: block; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.logo img { display: block; width: 220px; height: auto; }
.header-cta { display: none; gap: 8px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 48px; cursor: pointer; color: var(--navy); font-size: 12px; font-weight: 700; gap: 2px; }
.burger i, .burger i::before, .burger i::after { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -7px; } .burger i::after { top: 7px; }
.burger i { margin: 8px 0 5px; }
.nav-toggle:checked ~ .burger i { background: transparent; }
.nav-toggle:checked ~ .burger i::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .burger i::after { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; top: 60px; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 60; transform: translateX(100%); transition: transform .25s; overflow-y: auto; padding: 8px 20px 100px; box-shadow: -8px 0 24px rgba(0, 0, 0, .12); visibility: hidden; }
.nav-toggle:checked ~ .drawer { transform: none; visibility: visible; }
.drawer-bg { position: fixed; inset: 60px 0 0 0; background: rgba(15, 39, 82, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.nav-toggle:checked ~ .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer .menu { list-style: none; margin: 0; padding: 0; }
.drawer .menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.drawer__cta { display: grid; gap: 10px; margin-top: 20px; }
.gnav { display: none; }

/* ---------- トップ ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--skytint) 100%); overflow: hidden; }
.hero__in { position: relative; padding-top: 28px; padding-bottom: 24px; }
.hero__copy { position: relative; z-index: 2; }
.hero__lead { font-size: 14px; color: var(--mute); margin: 0 0 10px; }
.hero__title { font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif; font-weight: 600; font-size: 34px; line-height: 1.4; color: var(--navy3); margin: 0 0 14px; }
.hero__text { font-size: 15px; margin: 0; color: var(--text); }
.hero__visual { position: absolute; right: -40px; top: 10px; width: 260px; z-index: 1; opacity: .22; pointer-events: none; }
.hero__figure { display: block; width: 260px; }
.hero__group { display: none; }
.hero__strip { height: 72px; background-repeat: repeat-x; background-size: auto 100%; border-top: 4px solid var(--sky); border-bottom: 4px solid var(--sky); }

.section { padding: 44px 0; }
.section--tight { padding: 22px 0; }
.section--pale { background: var(--pale); }
.sec-head { margin-bottom: 18px; }
.sec-head__en { margin: 0; color: var(--sky); font-weight: 700; letter-spacing: .12em; font-size: 13px; }
.sec-head__title { margin: 0; font-size: 24px; color: var(--navy3); border-left: 5px solid var(--navy); padding-left: 12px; }
.more { text-align: center; margin: 22px 0 0; }

.bnrs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bnrs a, .bnr-wide { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.bnrs img, .bnr-wide img { display: block; width: 100%; }
.bnr-wide { margin-top: 10px; }

.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.info-list a { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.info-list time { font-size: 13px; color: var(--navy2); font-weight: 700; }
.info-list span { font-weight: 700; }
.info-list a:hover span { color: var(--navy2); text-decoration: underline; }

.acts { display: grid; gap: 16px; }
.act { display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; background: #fff; border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.act img { grid-row: span 2; width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.act__title { font-weight: 700; color: var(--navy); font-size: 17px; }
.act__text { font-size: 14px; line-height: 1.8; }

.cards { display: grid; gap: 14px; }
.card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card__img { background: var(--pale); aspect-ratio: 4 / 3; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__img i { display: block; width: 100%; height: 100%; background: var(--pale) url(assets/img/icon.png) center / 40px no-repeat; opacity: .6; }
.card__body { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 2px; }
.card time { font-size: 13px; color: var(--navy2); font-weight: 700; }
.card__title { font-weight: 700; line-height: 1.6; }

.movies { display: grid; gap: 16px; }
.movie { display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.movie__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.movie__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.movie__thumb i { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; background: #e00; border-radius: 12px; }
.movie__thumb i::after { content: ""; position: absolute; left: 26px; top: 12px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.movie__title { display: block; padding: 12px 14px; font-weight: 700; }

/* ---------- 入会の案内・フッター ---------- */
.join { background: linear-gradient(120deg, var(--navy3), var(--navy2)); color: #fff; padding: 36px 0; }
.join__en { margin: 0; color: var(--sky); font-weight: 700; letter-spacing: .12em; font-size: 13px; }
.join__title { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.join__text { margin: 0; font-size: 15px; opacity: .95; }
.site-footer { background: var(--navy3); color: #d7e1f0; padding: 36px 0 20px; font-size: 14px; }
.site-footer a:not(.btn) { color: #fff; }
.site-footer__in { display: grid; gap: 24px; }
.site-footer__name { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.site-footer__name small { display: block; font-size: 13px; font-weight: 400; color: #b9c6dc; }
.site-footer__brand p { margin: 0 0 6px; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.site-footer__nav ul, .site-footer__links ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav a, .site-footer__links a { display: block; padding: 7px 0; text-decoration: none; }
.site-footer__nav a:hover, .site-footer__links a:hover { text-decoration: underline; }
.site-footer__h { font-weight: 700; color: #fff; margin: 0 0 4px; }
.copyright { text-align: center; font-size: 13px; color: #9fb0cc; margin: 24px 0 0; }

/* スマホの画面下に常に出る申込・問い合わせボタン */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; box-shadow: 0 -4px 14px rgba(0, 0, 0, .12); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
.cta-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 700; font-size: 15px; text-decoration: none; }
.cta-bar__c { background: #fff; color: var(--navy); }
.cta-bar__e { background: var(--orange); color: #fff; }

/* ---------- 固定ページ・記事 ---------- */
.page-head { background: linear-gradient(120deg, var(--navy3), var(--navy2)); color: #fff; padding: 26px 0 24px; }
.page-head__en { margin: 0; color: var(--sky); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.page-head__title { margin: 2px 0 0; font-size: 24px; }
.page-head__meta { margin: 0 0 4px; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.page-head__meta em { font-style: normal; background: var(--sky); color: var(--navy3); border-radius: 4px; padding: 0 8px; font-weight: 700; font-size: 13px; }
.layout { padding-top: 16px; padding-bottom: 48px; }
.layout__main { min-width: 0; }
.crumbs { font-size: 13px; color: var(--mute); margin: 0 0 16px; }
.crumbs a { color: var(--mute); }
.crumbs span { margin: 0 6px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.subnav a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--navy); background: #fff; }
.subnav a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }

.prose { font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.prose h2 { font-size: 22px; color: var(--navy3); border-bottom: 2px solid var(--navy); padding-bottom: 6px; margin: 36px 0 14px; }
.prose h3 { font-size: 19px; color: var(--navy); border-left: 4px solid var(--sky); padding-left: 10px; margin: 30px 0 12px; }
.prose h4 { font-size: 17px; color: var(--navy); margin: 24px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: 6px; display: inline-block; vertical-align: middle; }
.prose p img, .prose > img, .prose figure img { display: block; margin: 12px auto; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--pale); color: var(--navy3); white-space: nowrap; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin: 16px 0; padding: 12px 16px; background: var(--pale); border-left: 4px solid var(--sky); }
.prose iframe { max-width: 100%; }
.prose .wp-video, .prose video { max-width: 100%; }
.prose .alignleft, .prose .alignright { float: none; display: block; margin: 12px auto; }
.prose .aligncenter { display: block; margin: 12px auto; }
.prose .btn { text-decoration: none; }

/* 移行した旧ページの部品 */
.prose .catch { font-size: 18px; font-weight: 700; color: var(--navy); }
.prose .riji { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.prose .riji img { width: 110px; margin: 0; grid-row: 1 / 4; grid-column: 1; }
.prose .riji__role { margin: 0; font-size: 14px; color: var(--mute); grid-column: 2; align-self: end; }
.prose .riji__name { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--navy3); grid-column: 2; line-height: 1.5; }
.prose .riji__name span { display: block; margin-left: 0 !important; }
.prose .riji__name span { font-size: 14px; font-weight: 400; color: var(--mute); margin-left: 6px; }
.prose .riji__prof { grid-column: 1 / -1; grid-row: 4; margin: 8px 0 0; font-size: 15px; }
.prose .cta-box { background: var(--skytint); border: 2px solid var(--sky); border-radius: var(--r); padding: 18px; margin: 24px 0; }
.prose .cta-box p { margin: 0 0 10px; }
.prose .cta-box h4 { margin: 0 0 6px; }
.prose .cta-box ul { margin: 0; }
/* 認定講師制度のご案内: 講師区分（旧サイトの画像を文字の表に） */
.prose .tier { border-radius: var(--r); border: 2px solid; padding: 16px 18px; margin: 16px 0; background: #fff; overflow: hidden; }
.prose .tier h4 { margin: -16px -18px 12px; padding: 10px 18px; color: #fff; font-size: 18px; }
.prose .tier p { margin: 0 0 8px; }
.prose .tier .tier__h { font-weight: 700; margin: 12px 0 4px; }
.prose .tier ol, .prose .tier ul { margin: 0 0 4px; }
.prose .tier--a { border-color: #5b9bd5; } .prose .tier--a h4 { background: #5b9bd5; }
.prose .tier--b { border-color: #7f9e4a; } .prose .tier--b h4 { background: #7f9e4a; }
.prose .tier--c { border-color: #a5463f; } .prose .tier--c h4 { background: #a5463f; }
.prose .note { font-size: 14px; color: var(--mute); }
.prose .photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prose .photo-grid img { margin: 0; width: 100%; }

.post-cta { margin: 32px 0 0; background: var(--skytint); border: 2px solid var(--sky); border-radius: var(--r); padding: 18px; }
.post-cta__lead { margin: 0 0 4px; font-weight: 700; font-size: 18px; color: var(--navy3); }
.post-cta p { margin: 0; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 28px 0 0; font-size: 14px; }
.pager span:last-child { text-align: right; }

.news-list { display: grid; gap: 12px; }
.news-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; text-decoration: none; color: var(--ink); padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.news-row__img { aspect-ratio: 4 / 3; background: var(--pale); border-radius: 8px; overflow: hidden; }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-row__img i { display: block; width: 100%; height: 100%; background: var(--pale) url(assets/img/icon.png) center / 34px no-repeat; opacity: .6; }
.news-row__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.news-row time { font-size: 13px; color: var(--navy2); font-weight: 700; }
.news-row__title { font-weight: 700; line-height: 1.6; }
.news-row__ex { display: none; font-size: 14px; color: var(--mute); line-height: 1.7; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { color: var(--mute); }

.side { display: none; }

/* ---------- お問い合わせフォーム ---------- */
.icpa-form { background: var(--pale); border-radius: var(--r); padding: 18px; margin: 20px 0; }
.icpa-form .f-row { margin: 0 0 16px; border: 0; padding: 0; }
.icpa-form label, .icpa-form legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.icpa-form input[type=text], .icpa-form input[type=tel], .icpa-form input[type=email], .icpa-form select, .icpa-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #b9c4d4; border-radius: 8px; background: #fff; }
.icpa-form .f-check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 6px 0; }
.icpa-form .f-check input { width: 22px; height: 22px; }
.icpa-form .f-req { font-style: normal; font-size: 12px; background: #c0392b; color: #fff; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.icpa-form .f-err { display: block; color: #b42318; font-size: 14px; margin-top: 4px; font-weight: 700; }
.icpa-form .f-alert { background: #fdecea; color: #b42318; padding: 10px 12px; border-radius: 8px; font-weight: 700; }
.icpa-form .f-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sitemap ul { columns: 1; }


/* 文字のボタン（画像のバナーをやめて、どの画面でもくっきり表示） */
.link-btns { display: grid; gap: 10px; margin-top: 12px; }
.link-btn { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 16px; line-height: 1.5; box-shadow: 0 3px 0 rgba(0, 0, 0, .18); transition: transform .15s, filter .15s; }
.link-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.link-btn::after { content: "›"; margin-left: auto; font-size: 24px; line-height: 1; padding-left: 8px; }
.link-btn b { font-weight: 800; }
.link-btn__icon { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.link-btn--red { background: #c0392b; } .link-btn--red .link-btn__icon { color: #c0392b; }
.link-btn--green { background: #2e7d4f; } .link-btn--green .link-btn__icon { color: #2e7d4f; }
.link-btn--orange { background: var(--orange); } .link-btn--orange .link-btn__icon { color: var(--orange); }
.link-btn--fb { background: #1877f2; } .link-btn--fb .link-btn__icon { color: #1877f2; font-family: Arial, sans-serif; font-size: 22px; }
.link-btn--sm { min-height: 48px; font-size: 15px; margin-top: 8px; }
.prose .link-btn { color: #fff; text-decoration: none; margin: 14px 0; }
@media (min-width: 1024px) { .link-btns { grid-template-columns: 1.4fr 1fr; } }

/* ---------- タブレット ---------- */
@media (min-width: 640px) {
  .bnrs { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { grid-template-columns: 1fr; gap: 0; }
  .card__body { padding: 12px 14px 14px; }
  .movies { grid-template-columns: 1fr 1fr; }
  .news-row { grid-template-columns: 180px 1fr; gap: 16px; }
  .news-row__ex { display: block; }
  .hero__title { font-size: 44px; }
  .hero__visual { right: 0; width: 360px; opacity: .35; }
  .hero__figure { width: 360px; }
  .hero__strip { height: 96px; }
  .prose .riji { grid-template-columns: 150px 1fr; }
  .prose .riji img { width: 150px; grid-row: 1 / 4; }
  .prose .riji__prof { grid-column: 2; grid-row: 3; margin: 0; }
  .prose .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .sitemap ul { columns: 2; }
}

/* ---------- PC ---------- */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .pc { display: inline; }
  .cta-bar, .burger, .drawer, .drawer-bg { display: none; }
  .site-header__in { height: 76px; }
  .logo img { width: 300px; }
  .header-cta { display: flex; }
  .gnav { display: block; border-top: 1px solid var(--line); }
  .gnav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
  .gnav .menu li { flex: 1; }
  .gnav .menu a { display: block; text-align: center; padding: 12px 6px; font-weight: 700; color: var(--navy3); text-decoration: none; font-size: 15px; border-bottom: 3px solid transparent; }
  .gnav .menu a:hover, .gnav .current a, .gnav .current-menu-item a { border-bottom-color: var(--orange); color: var(--navy2); }
  .hero__in { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; min-height: 440px; padding-top: 36px; padding-bottom: 36px; }
  .hero__title { font-size: 56px; }
  .hero__text { font-size: 17px; line-height: 2; }
  .hero__lead { font-size: 15px; }
  .hero__copy .btn-row { max-width: 480px; }
  .hero__visual { position: relative; right: auto; top: auto; width: auto; height: 400px; opacity: 1; }
  .hero__figure { position: absolute; right: -10px; top: 0; width: 470px; }
  .hero__group { display: block; position: absolute; left: 10px; bottom: 0; width: 220px; border-radius: 50%; border: 6px solid var(--sky); box-shadow: var(--shadow); }
  .hero__strip { height: 110px; }
  .section { padding: 64px 0; }
  .sec-head__title { font-size: 28px; }
  .info-list a { flex-direction: row; gap: 24px; align-items: baseline; }
  .info-list time { flex: 0 0 140px; }
  .acts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .act { grid-template-columns: 1fr; text-align: left; padding: 20px; }
  .act img { grid-row: auto; width: 100%; height: auto; aspect-ratio: 1; max-width: 200px; margin: 0 auto 8px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .join__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
  .join__title { font-size: 26px; }
  .site-footer__in { grid-template-columns: 1.1fr 1.4fr .9fr; gap: 40px; }
  .page-head { padding: 40px 0 36px; }
  .page-head__title { font-size: 30px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 22px; }
  .side { display: block; }
  .side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 18px; }
  .side-box--entry { background: var(--skytint); border-color: var(--sky); }
  .side-box--entry .btn { margin-top: 8px; }
  .side-box__en { margin: 0; font-size: 13px; color: var(--navy2); letter-spacing: .1em; font-weight: 700; }
  .side-box__title { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--navy3); }
  .side-box__text { margin: 0 0 6px; font-size: 14px; }
  .side-box__h { margin: 0 0 8px; font-weight: 700; color: var(--navy3); border-left: 4px solid var(--navy); padding-left: 8px; }
  .side-news { list-style: none; margin: 0; padding: 0; }
  .side-news a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.6; }
  .side-news time { display: block; font-size: 13px; color: var(--navy2); }
  .side-more { display: block; text-align: right; font-size: 14px; margin-top: 8px; }
  .side-bnrs { margin-bottom: 18px; }
  .side-bnrs img { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--line); }
  .side-link { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; }
  .prose h2 { font-size: 24px; }
}

/* パスワード保護ページの入力欄（WordPress標準のフォームをサイトのデザインに合わせる） */
.post-password-form { background: #f3f7fb; border-radius: 14px; padding: 16px; }
.post-password-form p { margin: 0 0 10px; }
.post-password-form label { display: block; font-weight: 700; }
.post-password-form input[type=password] { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #b9c4d4; border-radius: 8px; background: #fff; }
.post-password-form input[type=submit] { display: block; width: 100%; min-height: 48px; margin-top: 10px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
/* 認定講師専用ページ（旧ページの表組みを使った配置）: 表の線を消して、スマホでは縦に並べる */
.page-shimenawa-instructor-materials table, .page-shimenawa-instructor-materials th, .page-shimenawa-instructor-materials td { border: 0 !important; background: none !important; }
.page-shimenawa-instructor-materials table { width: 100% !important; }
.page-shimenawa-instructor-materials td { padding: 6px 0 !important; }
.page-shimenawa-instructor-materials img { max-width: 100%; height: auto; }
@media (max-width: 639px) { .page-shimenawa-instructor-materials table, .page-shimenawa-instructor-materials tbody, .page-shimenawa-instructor-materials tr, .page-shimenawa-instructor-materials td { display: block; width: 100% !important; } }
