/* Styles for the Cocoro Terrace facility sample.
   2026-11-30 修正：既存テーマ（nbc_cocoro）へ組み込んでも崩れないようにした。
   - 文字サイズ等の単位を rem から px に変更（テーマは html{font-size:62.5%} のため、rem のままだと全体が 0.625 倍になる）
   - セレクタの先頭に .ct-page を重ね、テーマの .single.single-facility h1/h2/h3/p 指定より優先されるようにした
   - 本文リンクの下線と h1 の左寄せを明示（テーマの a{text-decoration:none}、h1{text-align:center} 対策）
   上の @font-face は、テーマ側で「M PLUS Rounded 1c」を読み込んでいる場合は削除できる。 */
.ct-page.ct-page.ct-page {
  --ink: #444;
  --green: #2f5f3d;
  --accent: #6db27d;
  --pale: #e8f4eb;
  --surface: #f7fbf8;
  --line: #d7e3da;
  --muted: #555;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", Meiryo, sans-serif;
  margin: 0;
  /* 固定ヘッダー130px + ナビ40px + 余白 */
  padding-top: 190px;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.8 var(--font);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
@media only screen and (max-width: 1100px) {
  .ct-page.ct-page.ct-page {
    /* SP固定ヘッダー65px + 余白 */
    padding-top: 90px;
  }
}
.ct-page.ct-page.ct-page *, .ct-page.ct-page.ct-page *::before, .ct-page.ct-page.ct-page *::after { box-sizing: border-box; }
.ct-page.ct-page.ct-page h1, .ct-page.ct-page.ct-page h2, .ct-page.ct-page.ct-page h3, .ct-page.ct-page.ct-page p, .ct-page.ct-page.ct-page figure, .ct-page.ct-page.ct-page dl, .ct-page.ct-page.ct-page dd { margin: 0; }
.ct-page.ct-page.ct-page img { max-width: 100%; display: block; }
.ct-page.ct-page.ct-page a { color: inherit; text-decoration: underline; text-underline-offset: .25em; }
.ct-page.ct-page.ct-page button { font: inherit; }
.ct-page.ct-page.ct-page :focus-visible { outline: 3px solid #2f5f3d; outline-offset: 4px; }
.ct-page.ct-page.ct-page section[id] { scroll-margin-top: 190px; }
@media only screen and (max-width: 1100px) {
  .ct-page.ct-page.ct-page section[id] { scroll-margin-top: 90px; }
}
.ct-page.ct-page .ct-wrap { width: min(1180px, 89%); margin-inline: auto; }
.ct-page.ct-page .ct-skip { position: absolute; left: 16px; top: -128px; z-index: 5; background: white; padding: 8px 16px; }
.ct-page.ct-page .ct-skip:focus { top: 8px; }
.ct-page.ct-page .ct-header { background: #fef6e4; }
.ct-page.ct-page .ct-head-inner { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; }
.ct-page.ct-page .ct-brand { display: inline-block; text-decoration: none; justify-self: start; padding-block: 12px; }
.ct-page.ct-page .ct-brand img { width: 246px; height: auto; }

.ct-page.ct-page .ct-headnav { grid-column: 1 / -1; grid-row: 2; position: relative; isolation: isolate; display: flex; align-items: center; gap: 40px; min-height: 42px; }
.ct-page.ct-page .ct-headnav::before { content: ""; position: absolute; inset: 0 calc((100vw - 100%) / -2); background: #ff919e; z-index: -1; }
.ct-page.ct-page .ct-headnav a, .ct-page.ct-page .ct-header-cta { text-decoration: none; font-size: 14.56px; font-weight: 700; }
.ct-page.ct-page .ct-headnav a { color: #3d3640; padding-block: 8px; }
.ct-page.ct-page .ct-headnav a:hover, .ct-page.ct-page .ct-footer a:hover { text-decoration: underline; }
.ct-page.ct-page .ct-header .ct-header-cta { grid-column: 2; grid-row: 1; text-decoration: none; border: 1px solid var(--green); background: #fff; color: var(--green); border-radius: 5px; padding: 8px 21.6px; }
.ct-page.ct-page .ct-header .ct-header-cta:hover, .ct-page.ct-page .ct-contact-box .ct-button:hover { background: var(--green); color: #fff; }
.ct-page.ct-page .ct-top { position: relative; overflow: hidden; isolation: isolate; background: #fff; }

.ct-page.ct-page .ct-top::after { content: ""; position: absolute; width: 41vw; height: 41vw; border: 1px solid #d7e3da; border-radius: 50%; right: -25vw; bottom: -31vw; box-shadow: 0 0 0 13px #fff0, 0 0 0 14px #d7e3da66, 0 0 0 35px #fff0, 0 0 0 36px #d7e3da33; z-index: -1; }
.ct-page.ct-page .ct-breadcrumb { padding-top: 15px; color: #555; font-size: 12.8px; display: flex; align-items: center; gap: 12.8px; }
.ct-page.ct-page .ct-breadcrumb a { text-decoration: none; }
.ct-page.ct-page .ct-breadcrumb a:hover { text-decoration: underline; }
.ct-page.ct-page .ct-breadcrumb i { color: #767676; font-style: normal; }
.ct-page.ct-page .ct-hero { display: grid; grid-template-columns: .98fr 1.02fr; gap: 2.4%; align-items: center; min-height: clamp(468px,40.5vw,568px); padding: 23px 0 40px; }
.ct-page.ct-page .ct-hero-copy { position: relative; z-index: 2; }
.ct-page.ct-page .ct-kicker, .ct-page.ct-page .ct-overline { color: var(--green); font-size: 16px; font-weight: 700; }
.ct-page.ct-page .ct-kicker { display: flex; align-items: center; gap: 12px; }
.ct-page.ct-page .ct-kicker span { width: 31px; height: 2px; background: var(--accent); }
.ct-page.ct-page.ct-page h1 { font: 700 clamp(34px,3.75vw,52px)/1.5 var(--font); color: var(--ink); margin: 8px 0 14px; white-space: nowrap; text-align: start; }

.ct-page.ct-page .ct-tagline { font: 700 24px/1.65 var(--font); color: var(--green); }
.ct-page.ct-page .ct-hero-intro { margin-top: 15px !important; font-size: inherit; line-height: 1.8; }
.ct-page.ct-page .ct-opening { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px !important; border: 1px solid var(--line); background: var(--pale); border-radius: 50px; padding: 7px 17px 7px 16px; color: var(--green); line-height: 1.5; }
.ct-page.ct-page .ct-opening strong { font-size: 16px; }
.ct-page.ct-page .ct-opening-state { border-left: 1px solid #b9d3bf; padding-left: 11px; font-size: 13.44px; color: var(--green); }
.ct-page.ct-page .ct-sun-icon { width: 17px; height: 17px; border-radius: 100%; background: #f1ca6b; border: 3px solid var(--pale); outline: 1px dashed #9a771c; }
.ct-page.ct-page .ct-hero-art { height: clamp(355px,31.5vw,451px); position: relative; margin-right: 2%; }
.ct-page.ct-page .ct-hero-photo { overflow: hidden; position: absolute; inset: 0 0 0 0; border-radius: 43% 28px 22% 26px / 45% 28px 29% 26px; background: var(--pale); box-shadow: 0 6px 0 #d7e3da99; }
.ct-page.ct-page .ct-hero-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center 55%; }
.ct-page.ct-page .ct-sun-disc { position: absolute; width: 43%; aspect-ratio: 1; top: -4.4%; left: -4%; border-radius: 50%; background: #f6dfa0; }
.ct-page.ct-page .ct-sun-disc::before, .ct-page.ct-page .ct-sun-disc::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid #e7ce84ac; }
.ct-page.ct-page .ct-sun-disc::after { inset: -19px; border-color: #efe1bd; }
.ct-page.ct-page .ct-inset { position: absolute; right: -3.7%; bottom: -7%; width: 31%; aspect-ratio: 1; border: 7px solid #fff; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: 0 4px 15px #344b3624; }
.ct-page.ct-page .ct-inset img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.ct-page.ct-page .ct-story { display: grid; grid-template-columns: .42fr 1.05fr 1.9fr; gap: 3.8%; align-items: center; padding-block: clamp(51px,5vw,78px); }
.ct-page.ct-page .ct-story-tree { position: relative; padding-bottom: 7px; }
.ct-page.ct-page .ct-story-tree::after { content: ""; position: absolute; height: 3px; width: 88%; left: 7%; bottom: 6px; border-radius: 100%; background: #d5ab73; transform: rotate(-2deg); }
.ct-page.ct-page .ct-story-tree img { width: 100%; height: auto; }
.ct-page.ct-page .ct-overline { font-size: 15.04px; }
.ct-page.ct-page .ct-story h2, .ct-page.ct-page .ct-section-heading h2, .ct-page.ct-page .ct-contact-box h2 { font: 700 26px/1.6 var(--font); color: var(--green); }
.ct-page.ct-page .ct-story h2 { margin-top: 6px; }
.ct-page.ct-page .ct-story-text { max-width: 656px; }
.ct-page.ct-page .ct-story-text p+p { margin-top: .65em; }
.ct-page.ct-page .ct-section { padding-block: clamp(52px,5.6vw,86px); }
.ct-page.ct-page .ct-section-heading { margin-bottom: 30px; }
.ct-page.ct-page .ct-section-heading h2 { display: flex; align-items: center; gap: 15px; }
.ct-page.ct-page .ct-section-heading h2::before { content: ""; width: 4px; height: 1.1em; background: var(--accent); flex: 0 0 auto; }
.ct-page.ct-page .ct-section-heading p { margin-top: 7px; color: var(--muted); }
.ct-page.ct-page .ct-rooms { background: var(--surface); }
.ct-page.ct-page .ct-gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(13px,2vw,27px); }
.ct-page.ct-page .ct-image-link { display: block; text-decoration: none; position: relative; border-radius: 22px 22px 5px 5px; overflow: hidden; }
.ct-page.ct-page .ct-image-link img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: 50% 54%; transition: transform .25s ease; }
.ct-page.ct-page .ct-image-link img.ct-crop-low { object-position: 50% 100%; }
.ct-page.ct-page .ct-image-link:hover img { transform: scale(1.025); }
.ct-page.ct-page .ct-image-link span { display: grid; place-items: center; color: var(--green); font: 400 21px/1 var(--font); position: absolute; bottom: 9px; right: 9px; width: 30px; height: 30px; border-radius: 50%; background: #ffffffed; }
.ct-page.ct-page .ct-gallery figcaption { padding-top: 13px; }
.ct-page.ct-page .ct-gallery h3, .ct-page.ct-page .ct-timeline-panel h3, .ct-page.ct-page .ct-place h3 { font: 700 20px/1.6 var(--font); color: var(--green); }
.ct-page.ct-page .ct-gallery figcaption p { margin-top: 4px; line-height: 1.8; }
.ct-page.ct-page .ct-day-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(26px,5.5vw,80px); align-items: start; }
.ct-page.ct-page .ct-timeline-panel { background: var(--surface); border-left: 4px solid var(--accent); padding: clamp(23px,2.7vw,40px); }
.ct-page.ct-page .ct-timeline-panel h3 { font-size: 23.2px; }
.ct-page.ct-page .ct-timeline { list-style: none; padding: 0; margin: 24px 0 0; }
.ct-page.ct-page .ct-timeline li { display: grid; grid-template-columns: 47px 1fr; gap: 23px; position: relative; padding: 0 0 22px; }
.ct-page.ct-page .ct-timeline li::before { content: ""; position: absolute; top: .72em; bottom: -.72em; left: 55px; width: 1px; background: #bfd8c4; }
.ct-page.ct-page .ct-timeline li::after { content: ""; position: absolute; top: .68em; left: 52px; width: 7px; height: 7px; border: 1px solid var(--green); background: var(--accent); border-radius: 50%; }
.ct-page.ct-page .ct-timeline li:last-child { padding-bottom: 0; }
.ct-page.ct-page .ct-timeline li:last-child::before { display: none; }
.ct-page.ct-page .ct-timeline time { font: 700 16px/1.8 var(--font); font-variant-numeric: tabular-nums; color: var(--green); }
.ct-page.ct-page .ct-timeline b, .ct-page.ct-page .ct-timeline span { display: block; }
.ct-page.ct-page .ct-timeline span { margin-top: .15em; line-height: 1.7; }
.ct-page.ct-page .ct-support { padding: 12px 0; }
.ct-page.ct-page .ct-support h3 { font: 700 24px/1.6 var(--font); color: var(--green); margin: .4em 0 .8em; }
.ct-page.ct-page .ct-support dt { font-weight: 700; padding: 18px 0 3px; border-top: 1px solid var(--line); }
.ct-page.ct-page .ct-support dd { margin-bottom: 17px; }
.ct-page.ct-page .ct-guide { background: #fff; }
.ct-page.ct-page .ct-guide-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 6.5%; align-items: start; }
.ct-page.ct-page .ct-facts>div { display: grid; grid-template-columns: 8.4em 1fr; padding: 15px 16px; gap: 14px; background: var(--pale); border-top: 1px solid var(--line); }
.ct-page.ct-page .ct-facts>div:nth-child(even) { background: var(--surface); }
.ct-page.ct-page .ct-facts>div:last-child { border-bottom: 1px solid var(--line); }
.ct-page.ct-page .ct-facts dt { font-weight: 700; color: var(--green); }
.ct-page.ct-page .ct-facts dd { line-height: 1.8; }
.ct-page.ct-page .ct-facts small { color: var(--muted); font-size: 14.4px; }
.ct-page.ct-page .ct-place { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ct-page.ct-page .ct-place>img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; object-position: 50% 34%; }
.ct-page.ct-page .ct-place>div { padding: 20px 24px 24px; }
.ct-page.ct-page .ct-place h3 { margin: 3px 0 8px; }
.ct-page.ct-page .ct-textlink { display: inline-block; font-weight: 700; color: var(--green) !important; text-decoration: underline; text-decoration-thickness: 1px; }
.ct-page.ct-page .ct-place .ct-textlink { margin-top: 10px; }
.ct-page.ct-page .ct-contact { padding-block: clamp(36px,4vw,56px) clamp(28px,3vw,40px); }
.ct-page.ct-page .ct-contact-box { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 6%; border: 1px solid var(--line); padding: clamp(25px,4vw,58px); background: var(--pale); }
.ct-page.ct-page .ct-contact-box h2 { font-size: clamp(24.8px,2.2vw,32px); }
.ct-page.ct-page .ct-contact-box p { margin: 8px 0; }
.ct-page.ct-page .ct-contact-links { text-align: center; border-left: 1px solid #c3d8c8; padding-left: 9%; }
.ct-page.ct-page .ct-contact-box .ct-button { display: inline-block; text-decoration: none; color: #173421; background: var(--accent); padding: 12px 23px; border-radius: 4px; font-weight: 700; }
.ct-page.ct-page .ct-contact-box .ct-phone { display: block; margin-top: 12px; font: 700 clamp(22.4px,2vw,29.6px)/1.5 var(--font); color: var(--green); text-decoration: underline; }
.ct-page.ct-page .ct-phone:hover { text-decoration: underline; }
.ct-page.ct-page .ct-contact-box .ct-mail { display: block; margin-top: 8px; margin-bottom: 10px; font: 700 clamp(16px,1.35vw,18.5px)/1.5 var(--font); color: var(--green); text-decoration: underline; word-break: break-all; }
.ct-page.ct-page .ct-mail:hover { text-decoration: underline; }
.ct-page.ct-page .ct-contact-links p { font-size: 13.6px; color: var(--muted); margin: 3px 0 0; }
.ct-page.ct-page .ct-footer { background: #aaecef; color: var(--ink); border-bottom: 7px solid #79c4e8; }
.ct-page.ct-page .ct-footer>div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 23px; }
.ct-page.ct-page .ct-footer a { font-size: 14.56px; text-decoration: none; }
.ct-page.ct-page .ct-footer a:first-child { font-weight: 700; }
.ct-page.ct-page .ct-dialog { max-width: min(90vw,900px); max-height: 93vh; max-height: 93dvh; padding: 13px; border: 0; border-radius: 18px; color: var(--ink); background: #fff; }
.ct-page.ct-page .ct-dialog::backdrop { background: #202b23e3; }
.ct-page.ct-page .ct-dialog-head { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 0 3px 10px; }
.ct-page.ct-page .ct-dialog-head h2 { font-size: 16px; }
.ct-page.ct-page .ct-close { border: 1px solid #91b49a; background: #fff; padding: 4px 14px; border-radius: 30px; cursor: pointer; color: var(--green); }
.ct-page.ct-page .ct-enlarged { max-height: 77vh; max-height: 77dvh; width: auto; margin: auto; object-fit: contain; border-radius: 5px; }
@media (max-width: 1024px) {
  .ct-page.ct-page.ct-page { font-size: 16px; }
}
@media (max-width: 1000px) {
  .ct-page.ct-page .ct-wrap { width: 90%; }
  .ct-page.ct-page .ct-story { grid-template-columns: .38fr 1.07fr 1.8fr; gap: 3%; }
  .ct-page.ct-page .ct-gallery { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ct-page.ct-page .ct-image-link img { aspect-ratio: 1.65; }
  .ct-page.ct-page .ct-guide-layout { gap: 4%; }
  .ct-page.ct-page .ct-facts>div { grid-template-columns: 7.4em 1fr; }
}
@media (max-width: 760px) {
  .ct-page.ct-page .ct-head-inner { padding-top: 0; }
  .ct-page.ct-page .ct-headnav { justify-content: space-around; gap: 8px; min-height: 38px; }
  .ct-page.ct-page .ct-headnav a { padding: 7px 0; font-size: 13.76px; }
  .ct-page.ct-page .ct-brand img { width: min(43vw,200px); }

  .ct-page.ct-page .ct-header-cta { grid-column: 2; grid-row: 1; font-size: 13.6px; padding: 7.68px 17.92px; }
  .ct-page.ct-page .ct-breadcrumb { padding-top: 10px; gap: 8px; font-size: 12.32px; }
  .ct-page.ct-page .ct-hero { grid-template-columns: 1fr; padding: 23px 0 33px; gap: 25px; }
  .ct-page.ct-page .ct-hero-copy { max-width: 544px; }
  .ct-page.ct-page .ct-kicker { font-size: 13.44px; }
  .ct-page.ct-page.ct-page h1 { font-size: 34px; margin: 6px 0 9px; }
  .ct-page.ct-page .ct-tagline { font-size: clamp(21.76px,4.8vw,28.48px); letter-spacing: .035em; }
  .ct-page.ct-page .ct-tagline br { display: none; }
  .ct-page.ct-page .ct-hero-intro { margin-top: 7px !important; }
  .ct-page.ct-page .ct-opening { margin-top: 15px !important; gap: 9px; }
  .ct-page.ct-page .ct-hero-art { margin: 0 3% 0 4%; height: auto; aspect-ratio: 1.67; }
  .ct-page.ct-page .ct-hero-photo { border-radius: 33% 18px 20% 16px / 50% 18px 29% 16px; }
  .ct-page.ct-page .ct-sun-disc { top: 0; left: -2%; width: 33%; }
  .ct-page.ct-page .ct-inset { width: 24%; right: -3%; border-width: 4px; }
  .ct-page.ct-page .ct-story { grid-template-columns: 65px 1fr; gap: 18px; padding-block: 36px; align-items: center; }
  .ct-page.ct-page .ct-story-text { grid-column: 1/-1; }
  .ct-page.ct-page .ct-story h2 { font-size: 23.84px; margin-top: 2px; }
  .ct-page.ct-page .ct-story h2 br { display: none; }
  .ct-page.ct-page .ct-story .ct-overline { font-size: 12.96px; }
  .ct-page.ct-page .ct-section { padding-block: 42px; }
  .ct-page.ct-page .ct-section-heading { margin-bottom: 22px; }
  .ct-page.ct-page .ct-section-heading h2 { font-size: clamp(23.2px,5vw,30.4px); gap: 9px; }
  .ct-page.ct-page .ct-day-layout, .ct-page.ct-page .ct-guide-layout, .ct-page.ct-page .ct-contact-box { grid-template-columns: 1fr; gap: 25px; }
  .ct-page.ct-page .ct-support { padding: 0; }
  .ct-page.ct-page .ct-support h3 br { display: none; }
  .ct-page.ct-page .ct-support dd:last-child { margin-bottom: 0; }
  .ct-page.ct-page .ct-gallery { gap: 22px 14px; }
  .ct-page.ct-page .ct-image-link { border-radius: 15px 15px 3px 3px; }
  .ct-page.ct-page .ct-image-link img { aspect-ratio: 1.08; }
  .ct-page.ct-page .ct-gallery h3 { font-size: 17.44px; }
  .ct-page.ct-page .ct-gallery figcaption { padding-top: 8px; }
  .ct-page.ct-page .ct-place { display: grid; grid-template-columns: .8fr 1fr; border-radius: 23px 5px 5px 5px; }
  .ct-page.ct-page .ct-place>img { height: 100%; aspect-ratio: auto; }
  .ct-page.ct-page .ct-place>div { padding: 15px; }
  .ct-page.ct-page .ct-place h3 { font-size: 17.92px; }
  .ct-page.ct-page .ct-contact-box { gap: 18px; }
  .ct-page.ct-page .ct-contact-links { border: 0; border-top: 1px solid #c3d8c8; padding: 20px 0 0; }
}
@media (max-width: 490px) {
  .ct-page.ct-page .ct-tagline br { display: inline; }
  .ct-page.ct-page .ct-story h2 br { display: inline; }
  .ct-page.ct-page .ct-hero-art { aspect-ratio: 1.55; }
  .ct-page.ct-page .ct-gallery figcaption p { line-height: 1.65; }
  .ct-page.ct-page .ct-facts>div { grid-template-columns: 1fr; gap: 3px; padding: 12px 14px; }
  .ct-page.ct-page .ct-place { grid-template-columns: 1fr; }
  .ct-page.ct-page .ct-place>img { height: auto; aspect-ratio: 1.8; object-position: 50% 32%; }
  .ct-page.ct-page .ct-timeline-panel { padding: 23px 18px; }
  .ct-page.ct-page .ct-footer>div { flex-wrap: wrap; }
}
@media (max-width: 345px) {
  .ct-page.ct-page .ct-opening { gap: 8px; padding-inline: 10px; }
  .ct-page.ct-page .ct-gallery { grid-template-columns: 1fr; }
  .ct-page.ct-page .ct-image-link img { aspect-ratio: 1.6; }
}
@media (prefers-reduced-motion: reduce) { .ct-page.ct-page .ct-image-link img { transition: none; } }
@media print {
  .ct-page.ct-page.ct-page { font-size: 10pt; color: #222; background: white; }
  .ct-page.ct-page .ct-wrap { width: 100%; }
  .ct-page.ct-page .ct-header, .ct-page.ct-page .ct-breadcrumb, .ct-page.ct-page .ct-footer, .ct-page.ct-page .ct-image-link span, .ct-page.ct-page .ct-dialog, .ct-page.ct-page .ct-skip { display: none; }
  .ct-page.ct-page .ct-top, .ct-page.ct-page .ct-rooms, .ct-page.ct-page .ct-guide, .ct-page.ct-page .ct-timeline-panel, .ct-page.ct-page .ct-contact-box { background: white; }
  .ct-page.ct-page .ct-hero { grid-template-columns: 1fr 1fr; min-height: 0; padding: 0 12px 20px; }
  .ct-page.ct-page .ct-hero-art { height: 195px; }
  .ct-page.ct-page.ct-page h1 { font-size: 32pt; }
  .ct-page.ct-page .ct-story, .ct-page.ct-page .ct-section, .ct-page.ct-page .ct-contact { padding-block: 16px; }
  .ct-page.ct-page .ct-gallery { grid-template-columns: repeat(4, 1fr); }
  .ct-page.ct-page .ct-day-layout, .ct-page.ct-page .ct-guide-layout { display: block; }
  .ct-page.ct-page .ct-place { display: flex; margin-top: 12px; align-items: center; }
  .ct-page.ct-page .ct-place>img { width: 140px; height: 100px; object-fit: cover; }
  .ct-page.ct-page .ct-section-heading, .ct-page.ct-page .ct-support dt { break-after: avoid; }
  .ct-page.ct-page .ct-gallery figure, .ct-page.ct-page .ct-timeline li, .ct-page.ct-page .ct-facts>div, .ct-page.ct-page .ct-place, .ct-page.ct-page .ct-contact-box { break-inside: avoid; }
}

/* よくある質問（2026-11-30 追加） */
.ct-page.ct-page .ct-faq { background: var(--surface); }
.ct-page.ct-page .ct-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 24px; }
.ct-page.ct-page .ct-faq-list>div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px 22px; }
.ct-page.ct-page .ct-faq-list dt { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-weight: 700; line-height: 1.6; color: var(--green); }
.ct-page.ct-page .ct-faq-list dt::before { content: "Q"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font: 700 14px/1 var(--font); }
.ct-page.ct-page .ct-faq-list dd { margin: 8px 0 0 40px; line-height: 1.8; }
@media (max-width: 760px) {
  .ct-page.ct-page .ct-faq-list { grid-template-columns: 1fr; gap: 12px; }
  .ct-page.ct-page .ct-faq-list>div { padding: 16px 16px 18px; }
  .ct-page.ct-page .ct-faq-list dd { margin-left: 0; }
}
@media print {
  .ct-page.ct-page .ct-faq { background: white; }
  .ct-page.ct-page .ct-faq-list>div { break-inside: avoid; }
}


/* Theme integration: CMS facility-info under full-width terrace layout.
   body には single-facility-cocoro-terrace クラスが付かないため、.ct-facility-meta で上書きする。
   既存 .single.single-facility .inner の padding-top:230px / bottom:200px と
   .facility-info の margin-top:120px / padding-top:80px が重なり空きすぎるのを防ぐ。 */
.single.single-facility .md-page-content.ct-facility-meta {
  padding: 0;
}
.single.single-facility .md-page-content.ct-facility-meta .inner {
  max-width: 1180px;
  width: min(1180px, 89%);
  margin: 0 auto;
  padding: 24px 0 80px;
  background: #fff;
}
.single.single-facility .ct-facility-meta .facility-info {
  margin-top: 32px;
  padding-top: 48px;
}
/* 他施設 .inner(≈840px) 前提の dt180+dd280 2列組。1180px だと dl が横に2組並ぶので幅を合わせる */
.single.single-facility .ct-facility-meta .facility-info .facility-content {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.ct-page .ct-footer-note {
  display: none;
}
