/*
Theme Name: Komagata Kodomonomori
Theme URI: https://komagata-kodomonomori.com
Author: 社会福祉法人駒形会
Description: 幼保連携型認定こども園 駒形こどもの杜 公式サイト用オリジナルテーマ
Version: 1.0.0
Text Domain: komagata-kodomonomori
*/

@charset "UTF-8";
/* ==========================================================================
   駒形こどもの杜 - 共通スタイルシート
   ========================================================================== */

:root {
  --color-bg-cream: #f5ead6;
  --color-bg-cream-dark: #eeddbe;
  --color-wave-green: #7cb342;
  --color-text-brown: #6b4a2f;
  --color-text-brown-dark: #4a3319;
  --color-pink: #e8897e;
  --color-pink-light: #f4b8ae;
  --color-teal: #4fb3ac;
  --color-yellow: #f0c34e;
  --color-white: #ffffff;
  --font-heading: "Yomogi", "Zen Maru Gothic", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --content-max-width: 1160px;
  --header-max-width: 1020px;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-brown-dark);
  background-color: var(--color-bg-cream);
  background-image: url("images/common/body-bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 1056px;
}

/* ---------- PC/スマホ表示切り替え ---------- */
.is-pc-only {
  display: none !important;
}

.is-sp-only {
  display: block !important;
}

/* 法人の方針〜園の沿革(Adobe Fonts 小塚ゴシック) */
.section-kozuka {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: relative;
}

.site-header__top {
  position: relative;
}

.site-header__bg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.header-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* max-width: var(--header-max-width); */
  margin: 0 auto;
  padding: 6px 16px;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.header-logo__sub {
  display: block;
  font-size: 0.55rem;
  color: var(--color-text-brown-dark);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  white-space: nowrap;
}

.header-logo__main {
  display: inline-block;
}

.header-logo__main img {
  height: 38px;
  width: auto;
}

/* 左右アイコンナビ(デスクトップのみ表示) */
.header-nav {
  width: auto;
  display: none;
}

.header-nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.header-nav__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-brown-dark);
  white-space: nowrap;
  transition: transform 0.3s ease-out;
}

.header-nav__item a:hover {
  transform: translateY(-8px);
}

.header-nav__item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* ハンバーガーメニューボタン(モバイルのみ表示) */
.header-menu-btn {
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  top: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.header-menu-btn__bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-text-brown-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-menu-btn__label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-text-brown-dark);
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn__bar--1 {
  transform: translateY(8px) rotate(45deg);
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn__bar--2 {
  opacity: 0;
}

.header-menu-btn[aria-expanded="true"] .header-menu-btn__bar--3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* テキストのみのモバイルナビゲーション */
.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 2px solid var(--color-wave-green);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__list {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 6px 20px 10px;
}

.mobile-nav__item {
  border-bottom: 1px dashed #d9c6a3;
}

.mobile-nav__item a {
  display: block;
  padding: 14px 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-brown-dark);
}

/* ---------- メインビジュアル(トップページ) ---------- */
.hero {
  position: relative;
  padding: 30px 0 10px;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-deco img {
  width: 100%;
  height: auto;
}

.song-hero-deco {
  display: none;
}

.song-deco-flags {
  width: 16%;
  max-width: 541px;
  left: 0;
  top: 10%;
}

.song-deco-birds {
  width: 18%;
  right: 0;
  top: 30%;
}

.song-deco-piano {
  width: 20%;
  left: 2%;
  bottom: 0;
}

.hero-copy {
  text-align: center;
  margin-top: 40px;
  padding: 0 32px;
}

.hero-copy img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
}

/* ---------- 下層ページ用ヒーロー(png画像そのまま使用) ---------- */
.png-hero {
  padding: 30px 0 50px;
}

.png-hero-figure {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.png-hero-figure--wide {
  max-width: 1778px;
}

.png-hero-figure--xl {
  max-width: 2075px;
}

.png-hero-figure--lg {
  max-width: 1500px;
}

.png-hero-figure--md {
  max-width: 1385px;
}

.png-hero-figure--nontan {
  max-width: 1780px;
}

.png-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- のんたん広場ヒーロー(旗＋4枚グリッド) ---------- */
.nontan-hero-flags {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto 20px;
}

.nontan-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.nontan-hero-grid__item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- メインコンテンツ白背景パネル(上下波形) ---------- */
.main-panel {
  position: relative;
}

.main-panel__wave {
  display: block;
  width: 100%;
  height: auto;
}

.main-panel__wave--top {
  margin-bottom: -1px;
}

.main-panel__wave--bottom {
  margin-top: -1px;
}

.main-panel__body {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
}

/* ---------- キャッチコピー(下層ページ用) ---------- */
.page-catch {
  position: relative;
  max-width: 1780px;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-text-brown-dark);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 24px auto;
  padding: 0 32px;
}

.page-catch--img img:not(.nontan-hero-deco-birds) {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}

.nontan-hero-deco-birds {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
  margin: 12px auto 0;
}

@keyframes nontan-birds-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- 丸リンクボタン(園歌・情報公開) ---------- */
.outline-round-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px auto;
  padding: 0 16px;
}

.outline-round-links__item {
  display: block;
  width: 100px;
}

.outline-round-links__item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- お知らせリスト(トップページ・お知らせ一覧共通) ---------- */
.news-section {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 16px;
}

.news-section .section-heading {
  margin: 0 0 10px;
}

.news-list {
  margin: 0;
}

.news-list--page {
  max-width: 800px;
  margin: 30px auto 50px;
}

.news-list__item {
  border-bottom: 1px dashed #d9c6a3;
}

.news-list__item a,
.news-list__item .news-list__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 4px;
  color: var(--color-text-brown-dark);
}

.news-list__item a {
  transition: opacity 0.2s ease;
}

.news-list__item a:hover {
  opacity: 0.65;
}

.news-list__date {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-brown);
}

.news-list__title {
  font-size: 0.92rem;
  line-height: 1.6;
}

.news-list__more {
  text-align: center;
  margin-top: 24px;
}

.news-list__more-link {
  display: inline-block;
  padding: 10px 32px;
  border: 2px solid var(--color-text-brown);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-brown-dark);
  transition: opacity 0.2s ease;
}

.news-list__more-link:hover {
  opacity: 0.7;
}

.news-list__excerpt {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-brown);
  margin-top: 4px;
}

/* ---------- お知らせ記事ページ(2カラム) ---------- */
.article-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.article-main {
  min-width: 0;
}

.article-header {
  border-bottom: 2px solid #e6d9c0;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.article-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-brown);
  margin-bottom: 8px;
}

.article-title {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-text-brown-dark);
}

.article-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text-brown-dark);
}

.article-body p {
  margin: 0 0 1.3em;
}

.article-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e6d9c0;
}

.article-nav__link {
  flex: 1 1 0;
  padding: 14px 16px;
  border: 2px solid var(--color-text-brown);
  border-radius: 12px;
  color: var(--color-text-brown-dark);
  font-size: 0.82rem;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.article-nav__link:hover {
  opacity: 0.65;
}

.article-nav__link--next {
  text-align: right;
  margin-left: auto;
}

.article-nav__label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
  margin-bottom: 4px;
}

.article-sidebar {
  width: 100%;
}

.widget {
  background: var(--color-white);
  border: 1px solid #e6d9c0;
  border-radius: 14px;
  padding: 20px;
}

.widget__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-brown-dark);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-pink-light);
}

.widget__list {
  margin: 0;
}

.widget__list li {
  border-bottom: 1px dashed #d9c6a3;
}

.widget__list li:last-child {
  border-bottom: none;
}

.widget__list a {
  display: block;
  padding: 10px 2px;
  color: var(--color-text-brown-dark);
  font-size: 0.82rem;
  line-height: 1.6;
  transition: opacity 0.2s ease;
}

.widget__list a:hover {
  opacity: 0.65;
}

.widget__date {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-brown);
  margin-bottom: 2px;
}

/* ---------- 情報定義リスト(園の概要) ---------- */
.info-list {
  max-width: 680px;
  margin: 30px auto;
  padding: 0 16px;
}

.info-list__row {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #ee86a8;
  font-size: 0.84rem;
}

.info-list__row:first-child {
  border-top: 1px solid #ee86a8;
}

.info-list__row dt {
  flex: 0 0 84px;
  color: #ee86a8;
  font-weight: 700;
}

.info-list__row dd {
  flex: 1;
  margin: 0;
}

.info-list__row dd span {
  display: block;
}

/* ---------- 丸写真ギャラリー ---------- */
.photo-circle-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 30px auto;
  padding: 0 16px;
}

.photo-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(74, 51, 25, 0.15);
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 丸数字リスト ---------- */
.numbered-list {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.numbered-list--md {
  font-size: 16px;
  max-width: 1056px;
  padding: 0 1em;
}

.numbered-list.numbered-list--md li {
  font-size: 16px;
}

.numbered-list__num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- 沿革(年表) ---------- */
.history-list {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 0.8rem;
}

.history-list__row {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.history-list__date {
  display: flex;
  flex: 0 0 auto;
  color: var(--color-text-brown);
  font-weight: 700;
}

.history-list__year {
  flex: 0 1 auto;
  min-width: 4.6em;
  text-align: left;
  white-space: nowrap;
}

.history-list__month {
  flex: 0 1 auto;
  min-width: 3.2em;
  text-align: right;
  white-space: nowrap;
}

.history-list__day {
  flex: 0 1 auto;
  min-width: 3.2em;
  text-align: right;
  white-space: nowrap;
}

.history-list__text {
  flex: 1 1 200px;
  font-size: 15px;
}

/* ---------- アクセスカード ---------- */
.access-logo {
  max-width: 480px;
  margin: 20px auto;
  padding: 0 16px;
}

.access-address {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-brown-dark);
  margin: 20px 0 30px;
  line-height: 1.9;
}

.access-cards {
  max-width: 640px;
  margin: 0 auto 30px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.access-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-text-brown);
  border-radius: 26px;
  overflow: hidden;
}

.access-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 35px;
  color: var(--color-text-brown-dark);
  background: #dcd0c3;
  padding: 14px 22px;
  white-space: nowrap;
}

.access-card__text {
  font-size: 16px;
  line-height: 1.5;
  padding: 14px 22px;
}

.map-area {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 0 16px;
  text-align: center;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-pink);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
}

/* ---------- 見取図(沿革セクションでも汎用的に使用) ---------- */
.floorplan-diagram {
  max-width: 560px;
  margin: 40px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- 園の沿革の写真(outline.html) ---------- */
.history-section {
  position: relative;
}

.history-photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 30px auto 0;
  padding: 0 16px;
}

.history-photo {
  width: 220px;
  height: 220px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(74, 51, 25, 0.15);
}

.history-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 見取図マップ(svg画像) ---------- */
.floorplan-map {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: -10px auto 40px;
  padding: 0 16px;
}

.floorplan-map img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .floorplan-map {
    margin-top: -50px;
  }
}

/* ---------- のんたんひろば通信 ---------- */
.flyer-gallery {
  max-width: 960px;
  margin: 20px auto 50px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.flyer-gallery img {
  width: 100%;
  border: 1px solid #d9c6a3;
  box-shadow: 0 4px 10px rgba(74, 51, 25, 0.1);
}

/* ---------- 園歌 ---------- */
.song-page-title {
  text-align: center;
  margin: 40px 0 50px;
}

.song-page-title img {
  display: inline-block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.song-lyrics {
  max-width: 460px;
  margin: 0 auto 50px;
  padding: 0 16px;
}

.song-lyrics img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- セクション見出し ---------- */
.page-title {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-text-brown-dark);
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  margin: 40px 0 30px;
}

.page-title img {
  display: inline-block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 50px 0 18px;
}

.section-heading__dots {
  flex: 0 0 auto;
  width: 34px;
  height: 14px;
  background-image: radial-gradient(circle, var(--color-pink-light) 2px, transparent 2.4px);
  background-size: 8px 8px;
  opacity: 0.8;
}

.section-heading__dots--right {
  transform: scaleX(-1);
}

.section-heading__text {
  font-family: var(--font-heading);
  color: var(--color-pink);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.section-heading__text--img {
  white-space: normal;
  width: 100%;
}

.section-heading__text--img img {
  display: block;
  width: 100%;
  max-width: 1056px;
  height: auto;
  margin: 0 auto;
}

.section-lead {
  text-align: center;
  color: var(--color-text-brown-dark);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-lead--img {
  max-width: 720px;
}

.section-lead--img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.section-lead--lg {
  font-size: 16px;
  max-width: 1056px;
  padding: 0 1em;
}

.section-lead--md {
  font-size: 16px;
  max-width: 1056px;
  padding: 0 1em;
}

/* ---------- 星印リスト ---------- */
.star-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.star-list--md {
  font-size: 16px;
  max-width: 1056px;
  padding: 0 1em;
}

.star-list.star-list--md li {
  font-size: 16px;
}

.star-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--color-text-brown-dark);
}

.star-list li::before {
  content: "\2733";
  position: absolute;
  left: 0;
  color: var(--color-pink);
}

/* ---------- クラス名テーブル ---------- */
.class-table-wrap {
  max-width: 760px;
  margin: 30px auto 50px;
  padding: 0 16px;
  overflow-x: auto;
}

.class-table-wrap--img {
  max-width: 1056px;
  padding: 0 1em;
}

.class-table-wrap--img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.class-table-caption {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-teal);
  background: #d7ecea;
  border-radius: 20px;
  padding: 6px 0;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.class-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 0.78rem;
  text-align: center;
}

.class-table caption {
  caption-side: top;
  font-size: 0.7rem;
  text-align: right;
  padding: 4px 6px 0;
  color: var(--color-text-brown);
}

.class-table th,
.class-table td {
  border: 1px solid #cbb99a;
  padding: 6px 4px;
  vertical-align: middle;
}

.class-table thead th {
  background: #f4e3c9;
}

.class-table tbody th {
  background: #f9f1e2;
  font-weight: 700;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-white);
  text-align: center;
  padding: 34px 16px 50px;
  margin-top: 40px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 0.82rem;
  color: #8c6239;
}

.site-footer__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.site-footer__line {
  margin: 2px 0;
}

/* フッター波形画像バージョン(トップページ) */
.site-footer--wave {
  background: transparent;
  padding: 0;
  margin-top: 0;
}

.footer-wave {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__inner {
  background: var(--color-white);
  padding: 20px 16px 50px;
}

/* ---------- ページトップへ戻るボタン ---------- */
.pagetop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(74, 51, 25, 0.25);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
  border: none;
  background: none;
  cursor: pointer;
}

.pagetop img {
  display: block;
  width: 100%;
  height: 100%;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- レスポンシブ(タブレット以上) ---------- */
@media (min-width: 768px) {
  .header-inner {
    max-width: 1700px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(8px, 1.18vw, 20px);
    padding: 20px clamp(8px, 1.4vw, 24px) 0;
  }

  .header-logo {
    position: static;
    transform: none;
    order: 0;
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 1.51vw;
    text-align: center;
  }

  .header-logo__sub {
    font-size: 0.7rem;
    white-space: normal;
  }

  .header-logo__main img {
    width: clamp(220px, 34.12vw, 580px);
    height: auto;
  }

  .header-nav {
    width: auto;
    display: block;
  }

  .header-nav--left {
    order: -1;
  }

  .header-nav--right {
    order: 1;
  }

  .song-hero-deco {
    display: block;
  }

  .song-deco-flags {
    width: 24%;
    max-width: 811.5px;
    left: -220px;
  }

  .song-deco-birds {
    width: 27%;
    right: -200px;
  }

  .song-deco-piano {
    left: -8%;
  }

  .header-nav__list {
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .header-nav__item img {
    width: auto;
    height: auto;
  }

  .header-nav__item img[src*="icon-news"] {
    width: clamp(64px, 8.65vw, 147px);
  }

  .header-nav__item img[src*="icon-policy"] {
    width: clamp(59px, 8vw, 136px);
  }

  .header-nav__item img[src*="icon-outline"] {
    width: clamp(59px, 7.94vw, 135px);
  }

  .header-nav__item img[src*="icon-nontan"] {
    width: clamp(74px, 9.94vw, 169px);
  }

  .header-nav__item img[src*="icon-floorplan"] {
    width: clamp(76px, 10.29vw, 175px);
  }

  .header-nav__item img[src*="icon-access"] {
    width: clamp(53px, 7.24vw, 123px);
  }

  .header-nav__label {
    display: none;
  }

  .header-menu-btn {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .is-pc-only {
    display: block !important;
  }

  .is-sp-only {
    display: none !important;
  }

  .page-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .section-heading__text {
    font-size: 1.4rem;
  }

  .hero-copy {
    padding-left: 11.1979%;
    padding-right: 11.1979%;
  }

  .hero-copy img {
    max-width: 680px;
  }

  .class-table {
    font-size: 0.9rem;
  }

  .section-lead--lg {
    font-size: 25px;
  }

  .section-lead--md {
    font-size: 16px;
  }

  .star-list--md {
    font-size: 23px;
  }

  .star-list.star-list--md li {
    font-size: 23px;
  }

  .numbered-list--md {
    font-size: 16px;
  }

  .numbered-list.numbered-list--md li {
    font-size: 16px;
  }

  .history-list {
    font-size: 16px;
    max-width: 522px;
  }

  .photo-circle-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1056px;
  }

  .photo-circle-row .photo-circle:nth-child(1),
  .photo-circle-row .photo-circle:nth-child(3) {
    flex: 1 1 308px;
    width: auto;
    max-width: 308px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .photo-circle-row .photo-circle:nth-child(2) {
    flex: 1 1 275px;
    width: auto;
    max-width: 275px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .outline-round-links {
    position: absolute;
    top: 10px;
    right: 20px;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .outline-round-links__item {
    width: 140px;
  }

  .section-heading--mt100 {
    margin-top: 100px;
  }

  .nontan-hero-flags {
    width: 67.416%;
  }

  .nontan-hero-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1780px;
    gap: 24px;
    justify-content: center;
  }

  .nontan-hero-grid__item {
    max-width: 560px;
    margin: 0 auto;
  }

  .page-catch {
    padding: 0 16px;
  }

  .page-catch--img img:not(.nontan-hero-deco-birds) {
    width: 49.199%;
  }

  .nontan-hero-deco-birds {
    display: block;
    position: absolute;
    top: 0px;
    right: 4px;
    width: 18.371%;
    max-width: 327px;
    height: auto;
    margin: 0;
    animation: nontan-birds-float 3s ease-in-out infinite;
  }

  .access-logo {
    max-width: 670px;
  }

  .access-cards {
    max-width: 872px;
    gap: 22px;
  }

  .access-card {
    width: 840px;
    max-width: 100%;
    margin: 0 auto;
    min-height: 114px;
    border-radius: 999px;
    flex-direction: row;
    align-items: stretch;
  }

  .access-card__label {
    flex: 0 0 auto;
    width: 150px;
  }

  .access-card__text {
    flex: 1 1 auto;
    font-size: 24px;
    display: flex;
    align-items: center;
  }

  .map-area {
    max-width: 872px;
  }

  .info-list__row {
    font-size: 0.92rem;
  }

  .info-list__row dt {
    flex-basis: 110px;
  }

  .news-list__item a,
  .news-list__item .news-list__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .news-list__date {
    width: 110px;
  }

  .article-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .article-main {
    flex: 1 1 auto;
  }

  .article-sidebar {
    flex: 0 0 280px;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .floorplan-diagram {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
  }

  .floorplan-diagram > div {
    flex: 1;
    max-width: 420px;
  }

  .history-photos {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    max-width: 1500px;
    height: 100%;
    transform: translateX(-50%);
    padding: 0;
    pointer-events: none;
  }

  .history-photo {
    position: absolute;
    pointer-events: auto;
  }

  .history-photo--1 {
    top: -20px;
    right: calc((min(100vw, 1500px) - 560px) / 2 * 0.26);
    width: 100%;
    max-width: calc((min(100vw, 1500px) - 560px) / 2 * 0.6);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .history-photo--2 {
    bottom: 0;
    left: calc((min(100vw, 1500px) - 560px) / 2 * 0.22);
    width: 100%;
    max-width: calc((min(100vw, 1500px) - 560px) / 2 * 0.55);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .history-photo--3 {
    bottom: 0;
    right: calc((min(100vw, 1500px) - 560px) / 2 * 0.06);
    width: 100%;
    max-width: calc((min(100vw, 1500px) - 560px) / 2 * 0.6);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .site-footer {
    margin-top: 80px;
  }

  .site-footer--wave {
    margin-top: 0;
  }

  .site-footer__name {
    font-size: 20px;
  }

  .site-footer__line {
    font-size: 15px;
  }

}

@media (min-width: 1701px) {
  .header-inner {
    padding-top: 1.5vw;
  }
}


/* ===================================
   WordPress移行に伴う追加スタイル
   （お知らせ一覧のページネーション）
=================================== */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid var(--color-text-brown);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-brown-dark);
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.news-pagination a.page-numbers:hover {
  opacity: 0.7;
}

.news-pagination .page-numbers.current {
  background: var(--color-text-brown);
  color: var(--color-white);
}

.news-pagination .page-numbers.dots {
  border: none;
}
