/* 承認済みの配置を保ち、配色・文字・罫線を整える。旧About本文用CSSは先に残す。 */
:root { scrollbar-gutter:stable; --cycride-paper:#fff; --cycride-soft:#f3f6f5; --cycride-ink:#293638; --cycride-muted:#57686a; --cycride-brand:#0b7180; --cycride-line:#d8e2df; --cycride-header-height:76px; --cycride-admin-offset:0px; }
body.cycride-theme { padding:0; margin:0; background:var(--cycride-paper); color:var(--cycride-ink); text-align:left; font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; font-size:16px; line-height:1.85; letter-spacing:.025em; }
.cycride-theme *, .cycride-theme *::before, .cycride-theme *::after { box-sizing:border-box; }
.cycride-theme span { font-weight:inherit; }
.cycride-theme a { color:var(--cycride-brand); text-underline-offset:.2em; }
.cycride-theme a:hover { text-decoration-thickness:2px; }
.cycride-theme button, .cycride-theme input, .cycride-theme textarea { font:inherit; }
.cycride-theme [hidden] { display:none !important; }
.cycride-theme img { max-width:100%; height:auto; }
.cycride-theme .inner { width:1460px; max-width:100%; padding:0 30px; margin:0 auto; }
.cycride-theme #container { text-align:left; }
.cycride-inner #container { padding-top:var(--cycride-header-height); }
.cycride-theme .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.cycride-theme .skip-link:focus { position:fixed; top:8px; left:12px; width:auto; height:auto; margin:0; padding:8px 14px; clip:auto; background:#fff; z-index:100000; }
body.cycride-theme.menu-open { overflow:hidden; }
html.cycride-menu-open { overflow:hidden !important; }

/* トップの初期表示は写真に重ねる。下層と通過後はfixedにする（いずれも本文の高さに影響しない）。 */
.cycride-theme .site-header { position:absolute; top:var(--cycride-admin-offset); left:0; right:0; z-index:1001; background:transparent; border-bottom:1px solid transparent; }
.cycride-theme .site-header.is-solid { position:fixed; background:#fff; border-bottom-color:var(--cycride-line); box-shadow:0 2px 8px rgb(22 45 49 / 5%); }
.cycride-theme .site-header__inner { height:var(--cycride-header-height); display:flex; align-items:center; justify-content:space-between; gap:32px; }
.cycride-theme .site-logo { display:block; width:200px; flex:0 0 200px; }
.cycride-theme .site-logo img { display:block; width:100%; height:auto; }
.cycride-theme .site-nav { min-width:0; }
.cycride-theme .site-nav ul { display:flex; align-items:center; gap:clamp(16px,2.4vw,40px); list-style:none; margin:0; padding:0; }
.cycride-theme .site-nav li { min-width:0; text-align:center; list-style:none; margin:0; padding:0; background:none; }
.cycride-theme .site-nav a { display:block; color:#173f4b; font-size:14px; font-weight:600; line-height:1.6; text-decoration:none; text-underline-offset:7px; }
.cycride-theme .site-header.is-solid .site-nav a { color:var(--cycride-ink); }
.cycride-theme .site-nav a:hover, .cycride-theme .site-header.is-solid .site-nav a:hover { color:var(--cycride-brand); text-decoration:underline; }
.cycride-theme .site-nav a[aria-current="page"], .cycride-theme .site-nav .current-menu-item > a { text-decoration:underline; text-decoration-thickness:2px; }
.cycride-theme .menu-toggle { display:none; width:44px; height:44px; flex:0 0 44px; align-items:center; justify-content:center; padding:0; color:var(--cycride-ink); background:transparent; border:0; cursor:pointer; }
.cycride-theme .menu-toggle:focus-visible { outline:2px solid var(--cycride-brand); outline-offset:2px; }
.cycride-theme .menu-toggle__icon { position:relative; display:block; width:20px; height:16px; }
.cycride-theme .menu-toggle__icon > span { position:absolute; left:0; width:100%; height:1px; background:currentColor; transition:transform .4s ease,opacity .4s ease; }
.cycride-theme .menu-toggle__icon > span:nth-child(1) { top:0; }
.cycride-theme .menu-toggle__icon > span:nth-child(2) { top:7.5px; }
.cycride-theme .menu-toggle__icon > span:nth-child(3) { top:15px; }
.cycride-theme .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(1) { transform:translateY(7.5px) rotate(-45deg); }
.cycride-theme .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(2) { opacity:0; }
.cycride-theme .menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(3) { transform:translateY(-7.5px) rotate(45deg); }

.cycride-theme #mainVisual { height:100vh; height:100svh; min-height:360px; margin:0; position:relative; background-image:url('../img/mainvisual_bg.jpg'); background-size:cover; background-position:center; background-repeat:no-repeat; }
.cycride-theme #mainVisual.js-parallax { background-attachment:fixed; }
.cycride-theme #mainVisual::before { display:none; }
.cycride-theme #mainVisual #mainVisual-caption { position:absolute; right:15%; bottom:40%; left:15%; margin:0 20px; padding:20px 16px; color:#fff; background:rgb(14 39 43 / 45%); text-align:center; }
.cycride-theme #mainVisual #mainVisual-caption :is(dt,h1) { margin:0; font-size:46px; font-weight:500; line-height:1.3; letter-spacing:.04em; }
.cycride-theme #mainVisual #mainVisual-caption :is(dd,p) { margin:6px 0 0; font-size:22px; line-height:1.6; letter-spacing:.025em; }
.cycride-theme .home-content { padding-top:30px; }
.cycride-theme #main h2 { margin:40px 0 24px; padding:0; font-size:26px; font-weight:600; line-height:1.5; letter-spacing:.035em; }
.cycride-theme #main h3 { font-weight:600; }
.cycride-theme .content-section { margin:0 0 70px; }
.cycride-theme #main .course-list { display:flex; flex-wrap:wrap; gap:36px 20px; margin:20px 0 0; }
.cycride-theme #main .course-list.horizontal article { width:calc((100% - 40px)/3); min-width:0; margin:0; }
.cycride-theme #main .course-list article .course-img { line-height:0; border-radius:2px; background:var(--cycride-soft); }
.cycride-theme #main .course-list article .course-img a { display:block; position:relative; overflow:hidden; opacity:1; aspect-ratio:3/2; }
/* 旧効果を復元。画像だけを暗くし、文字は白のまま保つ。キーボードでも同じ状態を表示する。 */
.cycride-theme #main .course-list article .course-img a::before { content:""; position:absolute; inset:0; margin:0; transform:none; background:rgb(14 39 43 / 48%); opacity:0; z-index:1; transition:opacity .25s ease; pointer-events:none; }
.cycride-theme #main .course-list article .course-img a::after { content:"Read More"; position:absolute; top:50%; left:50%; transform:translate(-50%,-35%); opacity:0; z-index:2; color:#fff; font-size:14px; font-weight:600; line-height:1.5; letter-spacing:.1em; white-space:nowrap; transition:opacity .25s ease,transform .25s ease; pointer-events:none; }
.cycride-theme #main .course-list article .course-img a:is(:hover,:focus-visible)::before { opacity:1; }
.cycride-theme #main .course-list article .course-img a:is(:hover,:focus-visible)::after { opacity:1; transform:translate(-50%,-50%); }
.cycride-theme #main .course-list article .course-img a:focus-visible { outline:3px solid var(--cycride-brand); outline-offset:3px; }
.cycride-theme #main .course-list article .course-img img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.cycride-theme #main .course-list article .course-img a:is(:hover,:focus-visible) img { transform:scale(1.025); }
.cycride-theme #main .course-list article .course-detail .course-data { margin:16px 0 14px; padding:0 0 14px; border-bottom:1px solid var(--cycride-line); }
.cycride-theme #main .course-list article .course-detail .course-data dt { min-height:3.2em; margin:0 0 7px; font-size:19px; font-weight:600; line-height:1.6; }
.cycride-theme #main .course-list article .course-detail .course-data dt > a { color:var(--cycride-ink); white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; text-decoration:none; }
.cycride-theme #main .course-list article .course-detail .course-data dt > a:hover { color:var(--cycride-brand); text-decoration:underline; }
.cycride-theme #main .course-list article .course-detail .course-data dd { color:var(--cycride-muted); font-size:14px; line-height:1.8; white-space:normal; overflow:visible; }
.cycride-theme #main .course-data strong { color:var(--cycride-brand); font-weight:600; }
.cycride-theme #main .course-list article .course-comment p.comment { margin:0; font-size:15px; line-height:1.9; }
.cycride-theme #main .course-list.vertical article { width:100%; display:flex; gap:28px; margin:0; padding:0 0 34px; border-bottom:1px solid var(--cycride-line); }
.cycride-theme #main .course-list.vertical article .course-img { width:375px; height:auto; flex:0 0 375px; float:none; align-self:flex-start; }
.cycride-theme #main .course-list.vertical article .course-detail { width:auto; min-width:0; flex:1; float:none; }
.cycride-theme #main .course-list.vertical .course-data { margin-top:0; }
.cycride-theme #main .course-list.vertical .course-data dt { min-height:0; font-size:23px; }
.cycride-theme #main .news-list { margin:0; padding:0; list-style:none; border-top:1px solid var(--cycride-line); }
.cycride-theme #main #information-section .news-list li { display:flex; align-items:baseline; gap:24px; margin:0; padding:20px 0; list-style:none; background:none; border-bottom:1px solid var(--cycride-line); }
.cycride-theme #main .news-list time { color:var(--cycride-muted); font-size:14px; }
.cycride-theme #main .news-list a { color:var(--cycride-ink); text-decoration:none; }
.cycride-theme #main .news-list a:hover { color:var(--cycride-brand); text-decoration:underline; }
.cycride-theme #headline { padding:56px 20px 52px; background:var(--cycride-soft); }
.cycride-theme #headline h1 { margin:0; padding:0; font-size:30px; font-weight:600; line-height:1.6; }
body#contents.cycride-theme .cycride-breadcrumbs ol#topicpath { display:flex; flex-wrap:wrap; gap:12px; margin:0; padding:24px 0; font-size:13px; color:var(--cycride-muted); }
body#contents.cycride-theme .cycride-breadcrumbs ol#topicpath li { display:block; margin:0; padding:0; list-style:none; }
body#contents.cycride-theme .cycride-breadcrumbs ol#topicpath li + li::before { content:'/'; padding-right:12px; color:#849494; }
body#contents.cycride-theme .cycride-breadcrumbs ol#topicpath li a { padding:0; margin:0; background:none; color:var(--cycride-brand); }
.cycride-theme .entry-article { padding:0 0 32px; margin:0 0 32px; border-bottom:1px solid var(--cycride-line); }
.cycride-theme .navigation.pagination, .cycride-theme .wp-pagenavi { margin:36px 0; }
.cycride-theme .page-numbers { display:inline-block; padding:6px 12px; }
.cycride-theme .page-numbers.current { color:#fff; background:var(--cycride-brand); }

/* 地図・動画・VRは既存と同じ位置に置き、アクティブ表示を文字と下線で示す。 */
.cycride-theme #main #tab { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin:0 0 24px; padding:0; border-bottom:1px solid var(--cycride-line); }
.cycride-theme #tab button { min-height:44px; padding:10px 24px; margin:0 0 -1px; border:0; border-bottom:3px solid transparent; background:transparent; color:var(--cycride-muted); cursor:pointer; }
.cycride-theme #tab button[aria-selected="true"] { color:var(--cycride-brand); border-bottom-color:var(--cycride-brand); font-weight:600; }
.cycride-theme #main .tabContents { width:100%; margin:24px 0 60px; clear:both; overflow:visible; }
.cycride-theme #main .courseMovie, .cycride-theme #main .courseVR { position:relative; width:100%; padding-top:56.25%; }
.cycride-theme .courseMovie iframe, .cycride-theme .courseVR iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:0; }
.cycride-theme #course-map { width:100%; height:600px; z-index:1; }
/* 点の中心が実際の座標。周回コースではラベルを左右へ分け、座標自体は動かさない。 */
.cycride-theme .map-endpoint { --endpoint-color:#237d48; background:none; border:0; overflow:visible; }
.cycride-theme .map-endpoint--finish { --endpoint-color:#9d3f36; }
.cycride-theme .map-endpoint__dot { position:absolute; left:-8px; top:-8px; width:16px; height:16px; border:3px solid #fff; border-radius:50%; background:var(--endpoint-color); box-shadow:0 1px 5px rgb(0 0 0 / 35%); }
.cycride-theme .map-endpoint__label { position:absolute; left:0; bottom:14px; transform:translateX(-50%); padding:5px 9px; border:2px solid #fff; border-radius:3px; background:var(--endpoint-color); color:#fff; box-shadow:0 1px 5px rgb(0 0 0 / 25%); font:600 12px/1.4 "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; white-space:nowrap; }
.cycride-theme .map-endpoint--near.map-endpoint--start .map-endpoint__label { left:auto; right:10px; transform:none; }
.cycride-theme .map-endpoint--near.map-endpoint--finish .map-endpoint__label { left:10px; transform:none; }
.cycride-theme .cycride-notice { padding:14px 16px; color:var(--cycride-ink); background:var(--cycride-soft); border-left:3px solid var(--cycride-brand); }
.cycride-theme .courseMovie .cycride-notice, .cycride-theme .courseVR .cycride-notice { position:absolute; top:0; left:0; right:0; }
.cycride-theme .course-profile { width:100%; padding-top:12px; scroll-margin-top:calc(var(--cycride-header-height) + 16px); }
.cycride-theme .profile-svg { display:block; width:100%; height:220px; overflow:visible; }
.cycride-theme .profile-svg text { fill:var(--cycride-muted); font-family:inherit; font-size:12px; }
.cycride-theme .profile-grid { stroke:var(--cycride-line); stroke-width:1; }
.cycride-theme .profile-line { stroke:var(--cycride-brand); stroke-width:2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.cycride-theme .profile-cursor { stroke:var(--cycride-muted); stroke-width:1; stroke-dasharray:4 3; }
.cycride-theme .profile-readout { margin:4px 0 0; color:var(--cycride-muted); text-align:center; font-size:14px; font-variant-numeric:tabular-nums; }
.cycride-theme .profile-note { margin:2px 0 0; color:var(--cycride-muted); text-align:center; font-size:12px; }
.cycride-theme #main .courseDate-section { margin-bottom:44px; }
.cycride-theme #main .courseDate-section dl { margin:0; border-bottom:1px solid var(--cycride-line); }
.cycride-theme #main .courseDate-section dl dt { width:125px; padding:12px; color:var(--cycride-muted); background:var(--cycride-soft); }
.cycride-theme #main .courseDate-section dl dd { padding:12px; }
.cycride-theme #main .coursPhoto-section .photo-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 20px; margin:20px 0 0; position:relative; }
.cycride-theme #main .coursPhoto-section .photo-list article { width:auto; min-width:0; margin:0; scroll-margin-top:calc(var(--cycride-header-height) + 20px); }
.cycride-theme #main .coursPhoto-section .photo-list article h3 { font-size:17px; line-height:1.6; margin:0 0 10px; }
.cycride-theme .point-img img { width:100%; height:auto; border-radius:2px; }
.cycride-theme .coursPhoto-section { scroll-margin-top:calc(var(--cycride-header-height) + var(--cycride-admin-offset) + 20px); }
.cycride-theme .photo-controls { display:flex; justify-content:space-between; gap:16px; margin-top:16px; }
.cycride-theme .photo-controls button { padding:8px 14px; border:1px solid var(--cycride-line); border-radius:2px; background:#fff; color:var(--cycride-brand); cursor:pointer; }
.cycride-theme .photo-controls button:disabled { opacity:.45; cursor:default; }
.cycride-theme .comment-form label { display:block; }
.cycride-theme .comment-form input:not([type='checkbox']), .cycride-theme .comment-form textarea { max-width:100%; }

.cycride-theme .site-footer { padding:40px 0 24px; background:#fff; border-top:1px solid var(--cycride-line); text-align:left; }
.cycride-theme .footer-content { display:flex; align-items:flex-start; justify-content:space-between; gap:28px; }
.cycride-theme .footer-brand { flex:0 0 220px; }
.cycride-theme .footer-brand img { width:200px; display:block; }
.cycride-theme .footer-brand p { margin:12px 0 0; font-size:13px; }
.cycride-theme .footer-links { display:flex; flex:1; flex-wrap:wrap; gap:40px; }
.cycride-theme .footer-links ul { margin:0; padding:0; list-style:none; }
.cycride-theme .footer-links li { list-style:none; margin:0 0 8px; padding:0; background:none; }
.cycride-theme .footer-links a, .cycride-theme .footer-social a { color:var(--cycride-muted); font-size:13px; text-decoration:none; }
.cycride-theme .footer-links a:hover, .cycride-theme .footer-social a:hover { color:var(--cycride-brand); text-decoration:underline; }
.cycride-theme .footer-social { width:300px; max-width:100%; }
.cycride-theme .footer-social iframe { width:300px; max-width:100%; height:180px; border:0; }
.cycride-theme .footer-social p { margin:0 0 8px; font-size:14px; }
.cycride-theme .copyright { margin:48px 0 12px; text-align:center; font-size:12px; color:var(--cycride-muted); }
/* 旧topcontrolの文言と表示位置を引き継ぎ、キーボードで押せるbuttonにする。 */
.cycride-theme #topcontrol.back-to-top { position:fixed; right:20px; bottom:calc(var(--cycride-back-bottom,20px) + env(safe-area-inset-bottom)); z-index:1000; display:flex; align-items:center; gap:7px; min-height:44px; max-width:calc(100vw - 40px); padding:10px 12px; border:1px solid var(--cycride-line); border-radius:2px; background:rgb(243 246 245 / 94%); color:var(--cycride-ink); font-size:13px; line-height:1.5; cursor:pointer; opacity:0; visibility:hidden; pointer-events:none; }
.cycride-theme #topcontrol.back-to-top.is-visible { pointer-events:auto; }
.cycride-theme .back-to-top svg { flex:0 0 16px; }
.cycride-theme #topcontrol.back-to-top:is(:hover,:focus-visible) { background:var(--cycride-brand); color:#fff; border-color:var(--cycride-brand); }
.cycride-theme #topcontrol.back-to-top:focus-visible { outline:2px solid var(--cycride-brand); outline-offset:3px; }

@media (max-width:1100px) {
  .cycride-theme .site-header__inner { gap:22px; }
  .cycride-theme .site-logo { width:170px; flex-basis:170px; }
  .cycride-theme .site-nav ul { gap:20px; }
  .cycride-theme .site-nav a { font-size:13px; }
  .cycride-theme .footer-content { flex-wrap:wrap; }
}
@media (max-width:999px) {
  .cycride-theme #main .coursPhoto-section .photo-list { display:flex; flex-wrap:nowrap; gap:0; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; }
  .cycride-theme #main .coursPhoto-section .photo-list article { flex:0 0 100%; scroll-snap-align:start; }
}
@media (max-width:800px) {
  .cycride-theme .site-header__inner { gap:16px; }
  .cycride-theme .site-logo { width:146px; flex-basis:146px; }
  .cycride-theme .site-nav ul { gap:12px; }
  .cycride-theme .site-nav a { font-size:12px; }
  .cycride-theme #mainVisual #mainVisual-caption :is(dd,p) { font-size:19px; }
  .cycride-theme #main .course-list.vertical article .course-img { width:42%; flex-basis:42%; }
  .cycride-theme #main .course-list.vertical .course-data dt { font-size:21px; }
}
@media (max-width:749px) {
  .cycride-theme #mainVisual.js-parallax { background-attachment:scroll; background-position:center calc(50% + var(--cycride-parallax-shift,0px)); }
}
@media (max-width:640px) {
  body.cycride-theme.menu-open { position:fixed; top:var(--cycride-locked-scroll,0px); width:100%; }
  :root { --cycride-header-height:64px; }
  .cycride-theme .inner { padding-left:20px; padding-right:20px; }
  .cycride-theme #content { padding-top:0; }
  .cycride-theme .site-logo { width:150px; flex-basis:150px; }
  .cycride-theme .menu-toggle { display:inline-flex; }
  /* 開閉はjQueryのslideDown/slideUpが担当し、CSSの二重アニメーションを避ける。 */
  .cycride-theme .site-nav { display:none; position:fixed; top:calc(var(--cycride-header-height) + var(--cycride-admin-offset)); left:0; right:0; max-height:calc(100vh - var(--cycride-header-height) - var(--cycride-admin-offset)); max-height:calc(100dvh - var(--cycride-header-height) - var(--cycride-admin-offset)); overflow-y:auto; padding:14px 20px 24px; background:#fff; border-bottom:1px solid var(--cycride-line); }
  .cycride-theme .site-nav ul { display:block; }
  .cycride-theme .site-nav li { text-align:left; border-bottom:1px solid var(--cycride-line); }
  .cycride-theme .site-nav a { color:var(--cycride-ink); padding:15px 4px; font-size:15px; }
  .cycride-theme #mainVisual #mainVisual-caption { left:8%; right:8%; margin:0; padding:20px 14px; }
  .cycride-theme #mainVisual #mainVisual-caption :is(dt,h1) { font-size:38px; }
  .cycride-theme #mainVisual #mainVisual-caption :is(dd,p) { font-size:17px; }
  .cycride-theme .home-content { padding-top:20px; }
  .cycride-theme .content-section { margin-bottom:54px; }
  .cycride-theme #main h2 { margin-top:32px; font-size:24px; }
  .cycride-theme #main .course-list.horizontal article { width:100%; margin:0; }
  .cycride-theme #main .course-list .course-data dt { min-height:0; font-size:20px; }
  .cycride-theme #main .course-list article .course-comment p.comment { font-size:16px; }
  .cycride-theme #main .course-list.vertical article { display:block; }
  .cycride-theme #main .course-list.vertical article .course-img, .cycride-theme #main .course-list.vertical article .course-detail { float:none; width:100%; }
  .cycride-theme #main .course-list.vertical article .course-img { margin-bottom:20px; }
  .cycride-theme #main #information-section .news-list li { gap:14px; flex-wrap:wrap; }
  .cycride-theme #headline { padding:38px 20px; }
  .cycride-theme #headline h1 { font-size:25px; }
  .cycride-theme #course-map { height:420px; }
  .cycride-theme #tab button { padding-left:18px; padding-right:18px; }
  .cycride-theme #main .courseDate-detail { float:none; width:100%; }
  .cycride-theme #main .courseDate-section dl { display:table; width:100%; }
  .cycride-theme #main .courseDate-section dl dt { display:table-cell; width:125px; }
  .cycride-theme #main .courseDate-section dl dd { display:table-cell; }
  .cycride-theme .footer-content { display:block; }
  .cycride-theme .footer-brand { margin-bottom:28px; }
  .cycride-theme .footer-links { gap:24px 36px; margin-bottom:22px; }
  .cycride-theme .copyright { margin-top:32px; }
}
/* 動作設定はsite.jsが同じ基準で解釈する。fullは元テーマの時間、systemはOS設定に追従。 */
html.cycride-reduce-motion .cycride-theme #mainVisual.js-parallax { background-attachment:scroll; background-position:center; }
html.cycride-reduce-motion .cycride-theme .menu-toggle__icon > span,
html.cycride-reduce-motion .cycride-theme #main .course-list article .course-img a::before,
html.cycride-reduce-motion .cycride-theme #main .course-list article .course-img a::after,
html.cycride-reduce-motion .cycride-theme #main .course-list article .course-img img { transition:none; }
