/* お知らせ・コラム 共通のデザイン（ヘッダー・フッター・ボタン・本文の部品）
   種類ごとの見た目は /news/style.css と /column/style.css で決めます */
:root{--serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","YuMincho","BIZ UDPMincho","MS PMincho",serif;--sans:"Hiragino Sans","Noto Sans JP","Yu Gothic",sans-serif;--navy:#0e1b33;--ink:#1b2438;--mute:#6b7488;--line:#e1e9f5;--bg:#f3f8fe;--blue:#0f3c8c;--blue2:#0a2e70;--blue3:#1f56c4;--deep:#0b2455;--soft:#eaf2fd;--red:#b3262e}
*{box-sizing:border-box;margin:0;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{color:var(--ink);background:#fff;overflow-x:hidden;line-height:1.85;letter-spacing:.02em}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue3)}
.wrap{max-width:1040px;margin:0 auto;padding:0 18px}

/* ヘッダー（トップページと同じ） */
header{font-family:var(--sans);letter-spacing:0;background:var(--navy);color:#fff;border-bottom:3px solid #b8923a;position:sticky;top:0;z-index:10;padding-top:env(safe-area-inset-top)}
.hin{max-width:1040px;margin:0 auto;padding:11px 18px;display:flex;align-items:center;gap:10px}
.seal{width:30px;height:30px;border:2px solid #e3c878;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#e3c878;font-weight:700;flex:none}
.brand{font-size:18px;font-weight:700;letter-spacing:.12em;text-decoration:none;color:#fff}
header nav{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:13.5px}
header nav a{text-decoration:none;color:#d9e0ee}
header nav a:hover,header nav a[aria-current]{color:#fff}
header nav a[aria-current]{border-bottom:2px solid #e3c878}
.hbtn{background:#b8923a;font-weight:700;font-size:12.5px;padding:9px 14px;text-decoration:none;border-bottom:2px solid #e3c878;white-space:nowrap}
header nav a.hbtn{color:var(--navy)}
@media(max-width:760px){header nav a:not(.hbtn){display:none}}

/* パンくず */
.crumb{font-family:var(--sans);font-size:12px;color:var(--mute);padding:14px 0 0;letter-spacing:0}
.crumb ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:4px}
.crumb li+li::before{content:"›";margin-right:4px;color:#a7b2c6}
.crumb a{color:var(--mute);text-decoration:none}
.crumb a:hover{text-decoration:underline}

/* ラベル（種類） */
.label{display:inline-block;font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.06em;color:var(--blue3);background:var(--soft);border:1px solid #c9dcf6;border-radius:99px;padding:1px 11px;line-height:1.8;white-space:nowrap}
.label.seminar{color:#fff;background:var(--red);border-color:var(--red)}
.label.news{color:#fff;background:var(--blue3);border-color:var(--blue3)}
time{font-family:var(--sans);font-size:13px;color:var(--mute);letter-spacing:.04em}

/* ボタン */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:14px 28px;border-radius:12px;font-family:var(--sans);font-weight:700;font-size:16px;line-height:1.3;text-decoration:none;border:0;cursor:pointer;background:linear-gradient(180deg,#154aa6,var(--blue2));color:#fff;box-shadow:0 10px 22px rgba(11,47,114,.22);letter-spacing:.02em}
.btn.red{background:var(--red);box-shadow:0 10px 22px rgba(179,38,46,.22)}
.btn.outline{background:#fff;color:var(--blue2);border:1px solid #b7c9e6;box-shadow:none}
.btn .ar{font-size:18px}

/* 本文の部品（どのデザインでも使えます） */
.body h2{color:var(--deep);line-height:1.5}
.body h3{color:var(--deep);line-height:1.5}
.body ul,.body ol{padding-left:1.4em}
.body li{margin:.25em 0}
.body strong{color:var(--deep);background:linear-gradient(transparent 62%,#dbe8fb 62%)}
.body figure{margin:1.8em 0}
.body figure img{border-radius:12px;width:100%}
.body figcaption{font-family:var(--sans);font-size:12.5px;color:var(--mute);margin-top:8px;text-align:center}
.box{border-radius:14px;padding:18px 20px;margin:1.6em 0;font-size:.95em}
.box .bt{display:block;font-family:var(--sans);font-weight:700;font-size:13px;letter-spacing:.08em;margin-bottom:4px}
.body .box p{margin:0}
.body .box p+p{margin-top:.5em}
.box.point{background:var(--bg);border:1px solid var(--line);border-left:5px solid var(--blue3)}
.box.point .bt{color:var(--blue3)}
.box.note{background:#fff6f5;border:1px solid #f3cbc6;border-left:5px solid var(--red)}
.box.note .bt{color:var(--red)}
.btnrow{display:flex;flex-wrap:wrap;gap:12px;margin:1.6em 0}
.table{width:100%;border-collapse:collapse;margin:1.4em 0;font-size:.95em}
.table th,.table td{border:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.table th{background:#f8fbff;color:var(--deep);white-space:nowrap}

/* 記事の終わりの案内 */
.cta{margin:48px 0 0;background:linear-gradient(120deg,#f4f9ff,#e6f0fd);border:1px solid var(--line);border-radius:18px;padding:26px 22px;text-align:center;font-family:var(--sans)}
.cta .ct{font-family:var(--serif);font-size:20px;font-weight:700;color:var(--deep);line-height:1.6}
.cta p{font-size:14px;color:#46526b;margin:6px 0 16px}
.cta .btnrow{justify-content:center;margin:0}
.back{margin:28px 0 0;font-family:var(--sans);font-size:14px}

/* 注意書き・フッター */
.disc{font-family:var(--sans);font-size:12px;color:var(--mute);line-height:1.8;max-width:820px;margin:48px auto 0;padding:0 18px;text-align:center;letter-spacing:0}
footer{font-family:var(--sans);background:#fff;border-top:1px solid var(--line);padding:26px 0 28px;margin-top:40px;letter-spacing:0}
footer .fin{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap}
footer .fb{font-weight:700;color:var(--deep);letter-spacing:.1em}
footer .links{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:12.5px}
footer .links a{text-decoration:none;color:#4a5670}
footer .links a:hover{text-decoration:underline}
footer small{font-size:11.5px;color:var(--mute)}
@media(max-width:860px){footer .fin{flex-direction:column;align-items:flex-start}}
@media(max-width:560px){.btnrow .btn{width:100%}}

/* ===== 管理画面で作る部品 ===== */
/* 画像：大きさ（s/m/l/full）・配置（left/center/right）・回り込み（パソコンだけ） */
.body figure.fig{margin:1.8em auto}
.body .fig.size-s{max-width:40%}.body .fig.size-m{max-width:60%}.body .fig.size-l{max-width:80%}.body .fig.size-full{max-width:100%}
.body .fig.align-left{margin-left:0}.body .fig.align-right{margin-right:0}
@media(min-width:761px){
 .body .fig.wrap.align-left{float:left;margin:.4em 1.6em 1em 0}
 .body .fig.wrap.align-right{float:right;margin:.4em 0 1em 1.6em}
}
@media(max-width:760px){.body .fig.size-s,.body .fig.size-m,.body .fig.size-l{max-width:100%}}
.body h2,.body h3,.body .box,.body .gallery,.body .mt,.body .btnrow,.body table,.body hr{clear:both}
.body::after{content:"";display:block;clear:both}
/* 画像の横並び（2〜3枚） */
.body .gallery{margin:1.8em 0}
.body .gimgs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.body .gallery.n-3 .gimgs{grid-template-columns:repeat(3,1fr)}
.body .gallery.n-1 .gimgs{grid-template-columns:1fr}
.body .gimgs img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.body .gcap{font-family:var(--sans);font-size:12.5px;color:var(--mute);text-align:center;margin:8px 0 0!important}
@media(max-width:560px){.body .gallery.n-3 .gimgs{grid-template-columns:1fr 1fr}}
/* 画像と文章の横並び */
.body .mt{display:grid;grid-template-columns:2fr 3fr;gap:24px;align-items:center;margin:1.8em 0}
.body .mt.img-right .mt-img{order:2}
.body .mt-img img{width:100%;border-radius:12px}
.body .mt-body>:first-child{margin-top:0}.body .mt-body>:last-child{margin-bottom:0}
@media(max-width:640px){.body .mt{grid-template-columns:1fr;gap:12px}.body .mt.img-right .mt-img{order:0}}
/* 囲み枠：補足・成功例 */
.box.info{background:#f6f7f9;border:1px solid #dfe3ea;border-left:5px solid #6b7488}
.box.info .bt{color:#4a5670}
.box.success{background:#f0faf3;border:1px solid #c9ead3;border-left:5px solid #2e8b57}
.box.success .bt{color:#2e7d4f}
.body .box .bx>:first-child{margin-top:0}.body .box .bx>:last-child{margin-bottom:0}
.body .box .bx p{margin:.5em 0}
/* ボタン：色・大きさ・配置 */
.btn.green{background:#2e8b57;box-shadow:0 10px 22px rgba(46,139,87,.22)}
.btn.navy{background:var(--deep);box-shadow:0 10px 22px rgba(11,36,85,.22)}
.btn.white{background:#fff;color:var(--blue2);border:1px solid #b7c9e6;box-shadow:none}
.btn.blue{}
.btn.s{min-height:42px;padding:9px 18px;font-size:14px}
.btn.l{min-height:62px;padding:17px 38px;font-size:18px}
.btnrow.align-center{justify-content:center}
/* マーカー・区切り線 */
.body mark{color:inherit;padding:0 .12em;border-radius:2px;background-color:#fff3a3}
.body hr{border:0;border-top:1px solid var(--line);margin:2.2em 0}

/* ===== 2回目の部品 ===== */
/* 吹き出し */
.body .speech{display:flex;gap:14px;align-items:flex-start;margin:1.6em 0}
.body .speech.right{flex-direction:row-reverse}
.body .sp-who{flex:none;width:72px;text-align:center;font-family:var(--sans);font-size:11.5px;color:var(--mute);line-height:1.4}
.body .sp-who img{width:64px;height:64px;border-radius:50%;object-fit:cover;margin:0 auto 4px;border:1px solid var(--line);background:#fff}
.body .sp-say{position:relative;flex:1;min-width:0;background:#f4f7fc;border:1px solid var(--line);border-radius:14px;padding:12px 16px}
.body .sp-say::before{content:"";position:absolute;top:22px;left:-8px;width:14px;height:14px;background:#f4f7fc;border-left:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
.body .speech.right .sp-say{background:#fff8e6;border-color:#f1e0b0}
.body .speech.right .sp-say::before{left:auto;right:-8px;background:#fff8e6;border:0;border-right:1px solid #f1e0b0;border-top:1px solid #f1e0b0}
.body .sp-say p{margin:.3em 0}
@media(max-width:560px){.body .sp-who{width:56px}.body .sp-who img{width:50px;height:50px}}
/* 折りたたみ */
.body details.fold{border:1px solid var(--line);border-radius:12px;margin:1.2em 0;background:#fff;overflow:hidden}
.body details.fold>summary{cursor:pointer;list-style:none;padding:13px 44px 13px 16px;font-weight:700;color:var(--deep);position:relative;background:#f8fbff;font-family:var(--sans)}
.body details.fold>summary::-webkit-details-marker{display:none}
.body details.fold>summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--blue3);font-weight:400}
.body details.fold[open]>summary::after{content:"−"}
.body .fold-body{padding:4px 16px 10px}
/* YouTube */
.body .yt{position:relative;aspect-ratio:16/9;margin:1.8em 0;border-radius:12px;overflow:hidden;background:#000}
.body .yt iframe,.body .yt img{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.body h2,.body h3{clear:both}
/* タグ・カテゴリの絞り込み・検索 */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0;font-family:var(--sans)}
.tags a{font-size:13px;color:var(--blue3);background:var(--soft);border:1px solid #c9dcf6;border-radius:99px;padding:3px 12px;text-decoration:none}
.tags a:hover{background:#dce9fb}
a.label{text-decoration:none}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;font-family:var(--sans)}
.chips a{font-size:13px;color:#33405a;background:#fff;border:1px solid #c9d4e5;border-radius:99px;padding:5px 14px;text-decoration:none}
.chips a.on,.chips a:hover{background:var(--blue3);border-color:var(--blue3);color:#fff}
.sbox{display:flex;gap:6px;margin-top:14px;max-width:420px;font-family:var(--sans)}
.sbox input{flex:1;min-width:0;border:1px solid #c9d4e5;border-radius:8px;padding:9px 12px;font-size:14px;background:#fff}
.sbox button{border:0;border-radius:8px;background:var(--blue3);color:#fff;font-weight:700;padding:0 18px;cursor:pointer;font-size:14px}
.hits{font-family:var(--sans);font-size:14px;color:#4a5670;margin-top:18px}
