/* ===== 全ページ共通の追加スタイル（サイト化・スマホ最適化） ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{overflow-x:clip}
body{-webkit-tap-highlight-color:rgba(115,176,215,.18)}
img{max-width:100%;height:auto}
:focus-visible{outline:2px solid #73B0D7;outline-offset:2px}
@media (hover:none){a:hover{opacity:1!important}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* トップ：応募カード下の規約リンク */
.v2-rules-link{text-align:center;margin:28px 0 0;font-size:14px;font-weight:700}
.v2-rules-link a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 6px;border-bottom:1px solid currentColor;color:#673B2A!important}

/* ===== 下層ページ ===== */
.pg{--hh:72px}
.pg [id]{scroll-margin-top:calc(var(--hh) + 64px)}
.pg .nav a[aria-current]{color:#673B2A}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;font-size:12px;color:#777;letter-spacing:.04em}
.crumbs a{text-decoration:underline;text-underline-offset:3px}
.crumbs [aria-current]{color:#444}

/* 目次チップ（スクロールで追従） */
.qnav{position:sticky;top:var(--hh);z-index:45;background:rgba(255,253,247,.96);border-bottom:1px solid #D8D0C5;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.qnav-in{width:min(1180px,calc(100% - 48px));margin:auto;display:flex;gap:8px;overflow-x:auto;padding:10px 0;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.qnav-in::-webkit-scrollbar{display:none}
.qnav a{flex:0 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;height:34px;padding:0 14px;border:1px solid #D8D0C5;border-radius:999px;background:#fff;font-size:13px;font-weight:600;white-space:nowrap;color:#163244;transition:background .2s,border-color .2s,color .2s}
.qnav a.is-active{background:#163244;border-color:#163244;color:#fff}
.qnav a.qnav-entry{background:#F0DFBA;border-color:#F0DFBA;color:#202020}

/* 要点（日程・参加費） */
.keyfacts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 28px}
.kf{background:#fff;border:1px solid #D8D0C5;padding:16px 18px;display:flex;flex-direction:column;gap:4px}
.kf-l{font-size:12px;font-weight:700;color:#673B2A;letter-spacing:.08em}
.kf-v{font-size:14px;color:#333}
.kf-v b{font-size:24px;font-weight:700;color:#163244;letter-spacing:.02em;margin-right:2px;font-feature-settings:"tnum"}

.other-dept{text-align:center;margin:36px 0 0;font-weight:700}
.other-dept a{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 24px;border:1px solid #D8D0C5;border-radius:999px;background:#fff;color:#163244}

.card-title a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

/* スティッキーCTA・トップへ戻る（スマホのみ） */
.m-cta,.to-top{display:none}

@media(max-width:900px){
  .pg{--hh:60px}
  body.pg{font-size:15px;line-height:1.9}
  .pg .m-burger span{transition:transform .25s,opacity .2s}
  body.pg.m-open .m-burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  body.pg.m-open .m-burger span:nth-child(2){opacity:0}
  body.pg.m-open .m-burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .pg .m-drawer{overscroll-behavior:contain;padding-bottom:calc(32px + env(safe-area-inset-bottom))}
  .pg .m-drawer a[aria-current]{color:#673B2A}
  .pg .m-drawer .sub{justify-content:flex-start}.pg .m-drawer .sub:before{content:"－";margin-right:6px;color:#aaa}.pg .m-drawer .sub:after{margin-left:auto}
  .pg .m-drawer .btn{min-height:56px}
  .qnav-in{width:100%;padding:10px 16px;scroll-padding:0 16px}
  .qnav a{height:36px;font-size:13px}

  .keyfacts{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}
  .kf{padding:12px 14px}
  .kf:nth-child(3){grid-column:1/-1;flex-direction:row;align-items:baseline;gap:12px}
  .kf-v b{font-size:22px}

  /* 募集要項の表：ラベルを帯にして読みやすく */
  .pg .label{font-size:14px;padding:12px 16px!important;letter-spacing:.04em}
  .pg .content{padding:16px 16px 18px!important;font-size:15px}
  .pg .content .sub{margin-top:18px}
  .pg .content ul{padding-left:1.2em}
  .pg .content a[href^="mailto"]{word-break:break-all}
  .pg .entry-form-button{width:100%;min-height:64px}
  .pg .entry-box p{text-align:left}
  .pg .entry-box p br{display:none}
  .pg .download{min-height:56px}

  /* 規約本文 */
  .pg--rules .rules-body{padding:20px 16px!important;line-height:1.95}
  .pg--rules .rules-body .clause{font-size:15px}
  .pg--rules .rules-body .sub-list{padding-left:1.1em}
  .pg--rules .rules-body .article{font-size:15px;margin-top:28px}
  .pg--rules .dl-card{padding:22px 18px}
  .pg--rules .dl-card .card-btn{min-height:48px;width:100%;justify-content:center}
  .pg--rules .rules-note{font-size:13px}

  .m-cta{display:flex;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;height:54px;align-items:center;justify-content:center;gap:10px;border-radius:999px;background:#F0DFBA;color:#202020!important;font-weight:800;font-size:15px;letter-spacing:.06em;box-shadow:0 8px 24px rgba(0,0,0,.18);transition:transform .3s,opacity .3s}
  .m-cta small{font-weight:500;font-size:11px;opacity:.75}
  .m-cta.pre,.m-cta.hide{transform:translateY(90px);opacity:0;pointer-events:none}
  body.m-open .m-cta,body.m-open .to-top{opacity:0;pointer-events:none}
  body.pg{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  .pg footer .footer-inner{padding-bottom:40px}
  .pg .footer-nav{display:grid!important;grid-template-columns:1fr 1fr;gap:14px 20px}
  .pg .footer-nav a{min-height:32px;display:flex;align-items:center}

  .to-top{display:block;position:fixed;right:14px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:39;width:40px;height:40px;border-radius:50%;background:rgba(22,50,68,.82);transition:opacity .3s,transform .3s}
  .to-top:before{content:"";position:absolute;left:50%;top:55%;width:10px;height:10px;border-left:2px solid #fff;border-top:2px solid #fff;transform:translate(-50%,-50%) rotate(45deg)}
  .to-top.pre{opacity:0;transform:translateY(10px);pointer-events:none}
}
@media(max-width:360px){
  .pg .brand{font-size:11px!important}
  .kf-v b{font-size:20px}
}

/* ===== 確認後の微調整 ===== */
.nb{display:inline-block}
.kf-v small{font-size:13px;color:#555}
/* トップ：最新情報「一覧を見る →」を1行に */
#news .v2-textlink{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap;flex-direction:row!important}
/* トップ：応募エリアの装飾がリンクに重ならないように */
.v2-rules-link{position:relative;z-index:2}
/* トップ：統合プランの図は横スクロールで全体を見せる */
@media(max-width:900px){
  .v2-integrated-fig{overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .v2-integrated-fig svg{min-width:720px;width:720px!important;max-width:none!important;height:auto}
  .v2-integrated-fig:before{content:"← 横にスクロールして全体を表示 →";display:block;position:sticky;left:0;font-size:11px;color:#888;letter-spacing:.06em;margin:0 0 8px;text-align:center}
  #guidelines:before{width:56px!important;height:56px!important;left:-30px!important;top:110px!important}
  #requirements:after{width:72px!important;height:72px!important;right:-36px!important;bottom:auto!important;top:24px!important}
  /* 下部の余白はフッター側で確保（フッター下に白帯を出さない） */
  body{padding-bottom:0!important}
  footer>div,.pg footer .footer-inner{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}
  footer nav a:nth-last-child(-n+3){grid-column:1/-1}
  .kf-v small{display:block;font-size:12px;line-height:1.5}
  .kf:nth-child(3) .kf-v{display:flex;align-items:baseline}
}
@media(max-width:900px){
  html body .m-drawer{background:linear-gradient(180deg,#fffdf7 0%,#f1f6f8 100%)!important;z-index:60!important}
  .m-drawer .btn{gap:10px}
}

/* フォント：基本は Inter（英数字）＋ Noto Sans JP（日本語）。明朝体（Noto Serif JP）の指定は個別に残す */
/* フォントは届いたHTMLの指定に従う（ここでは指定しない） */

/* トップ：所在地〜周辺施設（スマホは「項目名｜内容」の2列表にする） */
@media(max-width:680px){
  #overview .ab-info{display:block!important;margin-top:28px!important;padding-top:0!important;border-top:1px solid #D8D0C5!important}
  #overview .ab-info-item{display:grid!important;grid-template-columns:6.5em 1fr;column-gap:12px;align-items:start;padding:14px 0!important;border:0!important;border-bottom:1px solid #D8D0C5!important}
  #overview .ab-info-item:last-child{border-bottom:1px solid #D8D0C5!important;padding-bottom:14px!important}
  #overview .ab-info-head{gap:6px;padding-top:2px}
  #overview .ab-info-ic{width:15px;height:15px}
  #overview .ab-info dt{font-size:13px!important;font-weight:700;letter-spacing:.04em!important;color:#163244;white-space:nowrap}
  #overview .ab-info dd{font-size:15px!important;line-height:1.7!important;letter-spacing:.02em!important;color:#202020}
}

/* ===== ガイドライン対応（2026-10-14） ===== */
/* 見出し：中身は日本語、英字は飾り（英字→線→日本語の見た目は維持） */
h2.sec-h{display:flex!important;flex-direction:column;align-items:center;gap:0;margin:0!important;padding:0!important;letter-spacing:0!important;font-size:inherit!important;font-weight:inherit!important;text-align:center}
h2.sec-h:after{order:1}
.sec-h-en{order:0;display:block;font-weight:500;font-size:clamp(28px,4vw,48px);letter-spacing:.26em;padding-left:.26em;line-height:1.3;color:inherit}
.sec-h-ja{order:2;display:block;margin-top:10px;font-size:16px;font-weight:500;letter-spacing:.04em;line-height:1.5}
@media(max-width:900px){.sec-h-en{font-size:28px;letter-spacing:.16em;padding-left:.16em}}
/* 押せる場所は44px以上 */
.qnav a{min-height:44px;height:auto!important}
footer nav a,.footer-nav a{min-height:44px;display:inline-flex;align-items:center}
.crumbs a{display:inline-flex;align-items:center;min-height:44px}
.v2-apply-links a{min-height:44px}
/* PDFアイコン（英字の飾り 11px） */
.pdf-icon{width:30px!important;height:36px!important;font-size:11px!important}
/* AIO：ヒーロー直後の概要文 */
.summary{max-width:1080px;margin:0 auto;padding:clamp(32px,4vw,48px) clamp(20px,4vw,48px) 0}
.summary p{margin:0;padding:20px 24px;border-left:3px solid #73B0D7;background:#fff;font-size:15px;line-height:1.9;color:#333}
@media(max-width:900px){.summary{padding:28px 20px 0}.summary p{padding:16px 16px;font-size:15px;line-height:1.85}}
/* 要項の項目名は見出し（h2）。見た目は従来どおり */
.pg h2.label{font-size:inherit;margin:0;line-height:1.65;font-weight:700}
/* 品質チェックで見つかった 12px 未満の文字（em・rem・clamp 指定分）。日本語は12px、英字の飾りは11px以上 */
html body .hv3-theme-label,html body .hv3-depts-ttl,html body .hv3-depts-sub,html body .hv3-dept-lead,html body .hv3-dl-ja,html body .hv3-dl-date i,html body .cr-label,html body .m-cta small{font-size:12px!important}
html body .hv3-area,html body .hv3-dept-en,html body .hv3-dl-en,html body .dp-en,html body .cr-dept-en,html body .v2-award-en,html body .v2-eyebrow,html body .v2-apply-en{font-size:11px!important}
html body .hv3-area{font-size:11px!important}html body .hv3-x{font-size:inherit!important}
/* 押せる場所 44px（ロゴ・フッター） */
html body .footer-nav a,html body footer nav a{min-height:44px!important}
html body .brand,html body .v2-logo{min-height:44px;justify-content:center}
/* 本文へスキップ（キーボード操作時だけ表示） */
.skip{position:fixed;left:12px;top:-60px;z-index:100;padding:10px 16px;background:#163244;color:#fff!important;font-size:14px;font-weight:700;border-radius:4px;transition:top .2s}
.skip:focus{top:12px}
.ft-co{text-decoration:underline;text-underline-offset:3px}
/* 明暗差（コントラスト比4.5以上）。axe の指摘箇所 */
html body .hv3-area,html body .hv3-theme-label,html body .hv3-depts-sub,html body .hv3-dl-en,html body .ab-eyebrow-en{color:#5f6870!important}
html body .hv3-dl-date .is-day{color:#7a6440!important}
html body .gl-note,html body .v2-scheme-note{color:#6b6b6b!important}
html body .card-badge.draft{color:#6b5214!important}
/* 黒いフッターの補足文字は明るいグレー */
html body footer .ft-co{color:inherit}
/* お知らせ（トップの新着・一覧・詳細） */
.io-news-list{list-style:none;margin:0;padding:0}
.io-news-list li{border-bottom:1px solid #ccc}
.io-news-list a{display:flex;gap:24px;align-items:baseline;padding:20px 4px;min-height:44px;color:inherit}
.io-news-list time{flex:none;width:96px;font-size:14px;color:#6b6b6b;font-feature-settings:"tnum";letter-spacing:.02em}
.io-news-list span{font-size:16px;line-height:1.7}
.io-news-t{display:flex;flex-direction:column;gap:4px}
.io-news-ex{font-size:14px!important;color:#555}
.io-news-empty{margin:0;padding:24px 4px;border-bottom:1px solid #ccc;color:#6b6b6b;font-size:14px}
.io-news-main .io-news-list{border-top:1px solid #ccc}
.io-news-article{max-width:760px;margin:0 auto}
.io-news-date{display:block;font-size:14px;color:#6b6b6b;letter-spacing:.02em}
.io-news-title{margin:8px 0 24px;font-size:clamp(22px,2.6vw,30px);line-height:1.5;color:#163244}
.io-news-thumb{margin:0 0 24px}.io-news-thumb img{width:100%;height:auto;border-radius:4px}
.io-news-body{font-size:16px;line-height:1.9}
.io-news-body img{max-width:100%;height:auto}
.io-news-body a{text-decoration:underline;color:#673B2A}
.io-news-body h2,.io-news-body h3{color:#163244;line-height:1.5;margin:32px 0 12px}
.io-news-back{max-width:760px;margin:40px auto 0;text-align:center}
.io-news-back a{display:inline-flex;align-items:center;min-height:48px;padding:0 28px;border:1px solid #D8D0C5;border-radius:999px;background:#fff;font-weight:700;color:#163244}
@media(max-width:900px){
  #news .io-news-list a{flex-direction:column;gap:4px;padding:16px 4px}
  .io-news-list a{flex-direction:column;gap:4px;padding:16px 4px}
  .io-news-list time{width:auto;font-size:13px}
  .io-news-list span{font-size:15px}
}
/* 下層ページ：フッターの下に背景色の帯を出さない（追従ボタン分の余白はフッター内で確保） */
@media(max-width:900px){html body.pg{padding-bottom:0!important}}
/* お知らせ一覧：押せる行に見えるように（太字タイトル・矢印・押したときの反応） */
.io-news-list a{position:relative;padding-right:44px!important;transition:background-color .2s}
.io-news-list a:active{background:rgba(115,176,215,.10)}
@media (hover:hover){.io-news-list a:hover{background:rgba(115,176,215,.08);opacity:1!important}}
.io-news-t{display:flex;flex-direction:column;gap:4px;min-width:0}
.io-news-t b{font-weight:400;font-size:16px;line-height:1.6;color:#163244}
.io-news-ex{font-size:14px!important;line-height:1.7;color:#555;font-weight:400}
.io-news-go{position:absolute;right:12px;top:50%;width:9px;height:9px;margin-top:-5px;border-right:2px solid #673B2A;border-top:2px solid #673B2A;transform:rotate(45deg)}
.io-news-main .io-news-list{border-top:1px solid #D8D0C5}
.io-news-list li{border-bottom:1px solid #D8D0C5!important}
/* 一覧の本文：1行で、はみ出す分は「…」 */
.io-news-ex{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* 1行の「…」を確実に効かせる（行の中身を横幅いっぱいに広げ、はみ出しを切る） */
.io-news-list a{align-items:stretch!important}
.io-news-t{flex:1 1 auto;min-width:0;width:100%;overflow:hidden}
@media(min-width:901px){.io-news-list a{align-items:baseline!important}}

/* ===== 2026-10-22 新デザイン対応 ===== */
/* セクションの日本語見出し（p→h2 にした分）。見た目は元の .sec-head-ja のまま */
h2.sec-head-ja{margin:6px 0 0!important;font-size:clamp(20px,2.2vw,26px)!important;font-weight:600!important;letter-spacing:.06em!important;padding:0!important;line-height:1.5}
h2.sec-head-ja:after,h2.sec-head-ja:before{content:none!important;display:none!important}
/* ヘッダーのロゴ（リンク化） */
a.v2-header-logos{min-height:44px}
/* フッターのサイト内リンク（明るいフッター用） */
.ft-nav{display:flex;flex-wrap:wrap;gap:4px 24px;font-size:14px}
.ft-nav a{display:inline-flex;align-items:center;min-height:44px;color:inherit}
@media (hover:hover){.ft-nav a:hover{text-decoration:underline;text-underline-offset:3px;opacity:1}}
@media(max-width:900px){.ft-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.ft-nav a:nth-last-child(-n+3){grid-column:1/-1}}
/* 所在地ブロック：本文と同じ幅で中央に。値は字下げせずラベルの文字の位置にそろえる（2026-10-23 田中さん依頼） */
dl.ab-info-inner{margin:0 auto}
.ab-info-inner dd{margin:0 0 0 24px}
@media(max-width:680px){.ab-info-inner dd{margin:0}}
/* 白文字のボタン：水色（#73B0D7）だと明暗差が2.35で読みにくいため、同じ系統の濃い水色（#3C7BA0・明暗差4.6）に */
html body .hv3-cta,html body .v2-btn--nav,html body header nav a.v2-btn--nav,html body .nav .entry,html body .entry-form-button,html body .m-cta,html body .m-drawer .btn{background:#3C7BA0!important;color:#fff!important}
/* フッター：スマホでは主催・運営を左寄せ（右寄せのままだと行ごとに位置がずれるため） */
@media(max-width:900px){html body footer [style*="align-items:flex-end"]{align-items:flex-start!important;text-align:left!important}}

/* ヘッダーの背景は白（2026-10-22 ユーザー指示） */
html body header{background:#fff!important}
