/* 全ページ共通の読みやすさと操作設定 */
/* 色を継承任せにせず、明暗それぞれの面と文字を対で定義する。 */
.site-header .brand-jp { color:#fff0dc; opacity:1; }
.site-footer, .site-footer .f-brand span, .site-footer .f-nav a, .site-footer .f-bottom { color:#f6e5d0; opacity:1; }
.site-footer .f-social a { background:#69472f; color:#fff8ee; }
.site-footer .f-social a:hover { background:#f6c453; color:#3b2313; }
.btn-glass { background:#fffaf2; color:#4a2c1a; border-color:#b6956d; backdrop-filter:none; }
.btn-glass:hover { background:#f6e6cd; color:#3b2313; }
.page-head .meta-chip { background:#fff4df; color:#4a321f; border-color:#c5a77e; }
.contact-box .gf-hint { color:#624b33; }
.tag-warn { color:#754600; }
.tag-new { color:#245d87; }
.tag-info { color:#61503f; }
.tag-sport { color:#8a4018; }
.tag-ceremony { color:#69471d; }
.tag-radio { color:#246353; }
.room.kind-wc { background:#dcebf9; color:#234b67; }
input,select,textarea { color:#40311f; background-color:#fffdf8; }
input::placeholder,textarea::placeholder { color:#725d48; opacity:1; }
@media (min-width:1280px) {
 .gnav a[aria-current="page"], .gnav a.is-active { background:#fff0ce; color:#3b2313; }
}
.character-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:24px; margin:32px auto; max-width:1100px; }
.character-card { padding:28px; border:1px solid #dfcfbb; border-radius:24px; background:#fffaf3; text-align:center; }
.character-card img { display:block; width:auto; height:240px; max-width:100%; object-fit:contain; margin:0 auto 24px; }
.character-card h2 { font-size:22px; margin:12px 0; }
.character-card p { text-align:left; line-height:1.9; }
.character-card a { display:inline-block; padding:12px 0; text-decoration:underline; text-underline-offset:4px; }
.character-intro { max-width:65ch; margin:24px auto; line-height:1.9; }
/* 移動レイヤー内で背景ぼかしを再計算しない。原画像の解像度は維持。 */
.map-modal-canvas .cb-hot { backdrop-filter:none; -webkit-backdrop-filter:none; background:#fffaf2; }
.map-modal-canvas { contain:layout style; }
/* 文章に溶け込むリンクだけ下線で示し、操作部品は形で示す。 */
main :is(p,li,dd,td) a[href] { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: currentColor; }
main :is(p,li,dd,td) a[href]:hover { text-decoration-thickness: 2px; }
:is(.site-header,.site-footer,.guide-actions,.bottom-nav) a[href], a.btn, a.brand, .p-title a, .cc-title a, a.hero-scroll { text-decoration: none; }
.policy-content a.btn, main :is(p,li,dd,td) a.btn { text-decoration:none; }
.f-legal a:hover, .f-nav a:hover, .p-title a:hover, .cc-title a:hover { text-decoration:underline; text-underline-offset:.22em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline:3px solid #005fcc; outline-offset:4px; }
.reading-plain-font, .reading-plain-font :is(p,a,button,input,h1,h2,h3,label,span) { font-family: system-ui, 'Yu Gothic', sans-serif !important; }
.reading-large-targets :is(button,.btn,nav a,summary) { min-height:52px; padding:14px 18px; }
.reading-simple :is(.page-head,.hero,.site-header) { background-image:none !important; background-color:#4a2c1a; }
.reading-simple .home-hero { background-image:none !important; background-color:#4a2c1a; }
.reading-simple .wave { display:none; }
.reading-simple :is(.card,.purpose-card,.btn) { box-shadow:none !important; }
@media (max-width:1279px) {
 .gnav.is-active { gap:10px; padding:20px; }
 .gnav.is-active a { border:1px solid #bca78f; border-radius:12px; background:#fffaf2; color:#4a2c1a; min-height:48px; margin:0; padding:14px 18px; }
 .gnav.is-active a[aria-current="page"] { border:3px solid #865213; background:#ffedc3; }
}
@media screen {
  .page-head { padding-inline: clamp(20px, 5vw, 64px); }
  .page-head > :is(h1,h2,p,nav,.ph-badges,.guide-actions,.btn) { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
  .page-head > p { line-height: 1.9; overflow-wrap: anywhere; }
  .page-head > p:not(.ph-en):not(.reference-label) { margin-top: 16px; }
  .page-head .ph-desc { font-size: clamp(16px, 1.5vw, 18px); color: #fff6ea; }
  .page-head .guide-actions { justify-content: center; margin-top: 28px; }
  .page-head .guide-actions a { justify-content: center; text-align: center; }
  .container { width: 100%; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
  .section > .container > .sec-head { text-align: center; }
  .sec-head .sec-desc { max-width: 65ch; margin-inline: auto; }
  .sec-between { justify-content: center; align-items: center; }
  .sec-between > div { flex: 1 1 100%; }
  .sec-between > .sec-more { margin-inline: auto; }
  .section > .container > :is(.sec-title,.sec-desc) { text-align: center; }
  .guide-actions { justify-content: center; }
  .guide-actions a { justify-content: center; text-align: center; }
  .policy-content, .tool-content { width: 100%; max-width: 820px; margin-inline: auto; }
  .policy-content > :is(h2,h3), .tool-content > h2 { text-align: left; }
  .policy-content p, .policy-content dd, .tool-content p { line-height: 1.9; }
  .visitor-guides > article, .first-visit-grid > article, .purpose-card { min-width: 0; }
  .visitor-guides > article > :is(h2,.guide-number), .first-visit-grid > article > h3, .purpose-card > h3 { text-align: center; }
  .first-visit-grid > article > .sec-title { text-align: center; }
  .first-visit-grid > article > a { display: flex; justify-content: center; text-align: center; }
  .sp-recruitment { max-width: 820px; margin-inline: auto; text-align: center; }
  .sp-recruitment > p { max-width: 65ch; margin-inline: auto; }
  #sp-document-actions { justify-content: center; }
  .preparation-note { max-width: 820px; margin-inline: auto; }
  .preparation-note h3 { text-align: center; }
  .section p, .section li, .section dd { font-size: max(1em, 16px); }
  .toolbar { justify-content: center; }
  .tab-row, .ph-badges { justify-content: center; }
  .guide-actions, .toolbar, .sec-head { min-width: 0; }
  .guide-actions a, .sec-more, .btn { overflow-wrap: anywhere; }
  @media (max-width: 600px) {
    .page-head, .home-hero { background:#fff3df; color:#3e2415; border-bottom:1px solid #ddc4a2; }
    .reading-simple .page-head, .reading-simple .home-hero { background-color:#fff3df; }
    .page-head::before { display:none; }
    .page-head .ph-title, .home-hero h1 { color:#3e2415; text-shadow:none; }
    .page-head .ph-en { color:#805016; -webkit-text-fill-color:#805016; }
    .page-head .ph-desc, .page-head > p:not(.ph-en):not(.reference-label),
    .home-hero .hero-lead, .home-hero .hero-status-note, .home-hero .hero-kicker { color:#4a321f; opacity:1; }
    .page-head .meta-chip { background:#fffcf6; color:#4a321f; border-color:#c5a77e; }
    .page-head { padding-top: 44px; padding-bottom: 60px; }
    .page-head .guide-actions { gap: 10px; }
    .page-head .guide-actions a { flex: 0 1 auto; padding: 10px 16px; }
    .section { padding-block: 48px; }
    .sec-head { margin-bottom: 24px; }
    .policy-content, .tool-content { max-width: 100%; }
    .guide-actions { gap: 10px; }
    .guide-actions a { min-height: 48px; }
    .first-visit-grid, .visitor-guides { gap: 24px; }
  }
}

@media(max-width:1279.5px){.site-header .gnav.is-active{padding-top:calc(var(--nav-h,72px) + 16px);padding-bottom:32px}}

.site-footer .footer-more-button{padding:12px 18px;border:1px solid #c9aa80;border-radius:12px;color:#fff6e9;background:#65422c;font:inherit;cursor:pointer;min-height:48px}

@media(max-width:400px){.more-menu details>div{grid-template-columns:minmax(0,1fr)}}

/* 画面外の企画カードは必要になるまで描画を省く。地図には適用しない。 */
@media screen {
  #project-grid > .p-card { content-visibility:auto; contain-intrinsic-size:auto 480px; }
}

/* タップ後のダブルタップ判定待ちを省く。地図操作領域は対象外。 */
:is(.btn,.gnav a,.app-dock a,.app-dock button,.project-favorite,.project-plan,.p-map-link,.tab,.nav-toggle,.more-menu a,.more-menu button){touch-action:manipulation}

/* タッチ端末では全ページの装飾にかかる連続描画を抑える。 */
@media (hover:none) and (pointer:coarse) {
  .deco,.cta-hearts span,.badge .dot { animation:none; filter:none; }
  .btn-glass,.hero-badge,.campus-expand-badge,.map-modal-hint { backdrop-filter:none; -webkit-backdrop-filter:none; }
  :is(.news-card,.rule-card,.guide-card,.pick-card,.p-card,.quick-card,.acc-card,.btn) { transition:none; }
  :is(.news-card,.rule-card,.guide-card,.pick-card,.p-card,.quick-card,.acc-card):hover { transform:none; }
}

.stage-reminder{position:fixed;bottom:calc(var(--bottom-nav-height,0px) + 12px);left:12px;right:12px;max-width:650px;margin:auto;padding:12px 16px;background:#fff5d6;color:#3b2313;border:2px solid #90621f;border-radius:12px;z-index:900}.stage-reminder p{margin:0 0 8px}.stage-reminder button,.stage-reminder a{margin-right:14px;min-height:44px;font:inherit}.modal-open .stage-reminder,.nav-open .stage-reminder{visibility:hidden}@media print{.stage-reminder{display:none}}

.project-change-panel{padding:16px;margin:16px auto;border:1px solid #b99b77;border-radius:12px;background:#fff5df}.project-change-panel li{margin:8px 0}.project-change-badge{padding:8px;background:#fff0c2;color:#502e17;font-weight:700}.saved-card{flex-wrap:wrap}
