/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベーススタイル */
:root {
    --primary-color: #534741;
    --secondary-color: #69ba5a;
    --accent-color: #f2942a;
    --text-color: #333;
    --bg-light: #fdf8f1;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    max-width: 100%;        /* ← ここで全幅にする */
    margin: 0;              /* ← margin: 0 auto; を打ち消す */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.header__logo {
    margin: 0;
}

/* ロゴ全体（h1内のリンク） */
.header__logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* ロゴ画像のサイズ調整 */
.header__logo img {
    display: block;
    height: 40px;
    width: auto;
}

.header__nav {
    margin-left: auto;
}

.header__nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.header__nav a:hover {
    color: var(--primary-color);
}

/* MV */
.mv {
    position: relative;
    height: 600px;
    overflow: hidden;
    padding: 0;
}

.mv__image {
    width: 100%;
    height: 100%;
    background: url('../images/mv.jpg') center/cover no-repeat;
    position: relative;
}

.mv__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.08);
}

.mv__overlay {
    position: absolute;
    bottom: 40px;
    right: 100px;
    text-align: right;
    color: var(--white);
    z-index: 2;
}

.mv__title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mv__subtitle {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 0;
    padding: 10px 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.mv__subtitle-text {
    display: inline-block;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* 施設紹介テキストセクション */
.about {
    background: #ffffff; /* 背景を白で固定して、他セクションとのメリハリを出す */
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
    color: #666;
}

.about__content p + p {
    margin-top: 1em;
}

.about__points {
    list-style: none;
    padding-left: 0;
    margin-top: 24px;
}

.about__points li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 0.6em;
}

.about__points li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 0.8em;
    color: var(--secondary-color);
}

.about__points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about__point {
    text-align: center;
}

.about__circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(105, 186, 90, 0.15);  /* var(--secondary-color) を薄く */
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__circle span {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
}

.about__text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 300px;
    margin: 0 auto;
}

/* about ポイント：丸背景デザイン */
.about__points {
    display: grid;
    gap: 40px;
    margin: 60px auto;
}

/* ◯の背景 */
.about__circle {
    width: 320px;  /* ◯のサイズ（好みで調整OK） */
    height: 320px;
    border-radius: 50%;
    background: rgba(105, 186, 90, 0.15); /* ← 現在の緑（secondary）を薄めた丸背景 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
}

/* タイトル */
.about__point-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* 説明文 */
.about__point-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.about__point-item {
    display: flex;
    justify-content: center;
}

/* 新着情報 */
.news__list {
    display: grid;
    gap: 30px;

    /* カードサイズを指定（好みで調整可） */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    /* カード群を中央寄せ */
    justify-content: center;

    /* 枠の最大幅を決めて中央に配置 */
    max-width: 1200px;
    margin: 0 auto;
    
}

.news__item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.news__date {
    display: block;
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.news__label {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.news__title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news__text {
    line-height: 1.8;
    color: #666;
    white-space: pre-wrap; /* ← 改行・スペースをそのまま表示 */
}

.news__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;       /* ← 4行に制限 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.news__item--expanded .news__text {
    -webkit-line-clamp: unset;   /* ← 全文表示 */
    max-height: none;
}

.news__text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.news__text a:hover {
    text-decoration: none;
}

.news__readmore {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.news__readmore:hover {
    opacity: 0.7;
}

/* 施設・サークル紹介 */
.facility--guide {
    background: var(--white);
}

.facility__list {
    display: grid;
    gap: 24px;
}

.facility--guide .facility__list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.facility--circle .facility__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.facility__item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.facility__item h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.facility__item p {
    color: #666;
    line-height: 1.8;
    text-align: left;
}

.facility--circle .facility__item {
    padding: 20px;
    border-left: none;
    border-top: 4px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

/* 施設写真枠 */
.facility__photo {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0 10px;
    display: block;
}

/* 施設写真内の画像をカード幅にフィットさせる */
.facility__photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.facility__photo .photo-note {
    color: #888;
    font-size: 14px;
}

.facility--circle .facility__photo {
    margin: 0 auto 12px;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    width: 100%;
}

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

/* サークル活動の詳細情報を左寄せ */
.circle__details {
    text-align: left;
    margin-top: 12px;
}

.circle__details dt {
    display: inline-block;
    font-weight: 700;
    color: var(--white);
    background: var(--secondary-color);
    margin: 0;
    margin-right: 12px;
    margin-bottom: 12px;
    min-width: 160px;
    text-align: center;
    vertical-align: top;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
}

.circle__details dd {
    display: inline-block;
    margin: 0;
    margin-bottom: 12px;
    color: #666;
    line-height: 1.8;
    vertical-align: top;
    padding: 8px 0;
    position: relative;
}

.circle__details .circle__datetime,
.circle__details .circle__place {
    display: inline;
}

.circle__details .circle__place::before {
    content: " / ";
}

@media (max-width: 768px) {
    .circle__details dt {
        text-align: center;
        min-width: auto;
        width: 100%;
        margin-right: 0;
    }

    .circle__details dd {
        display: block;
        text-align: center;
    }

    .circle__details .circle__datetime,
    .circle__details .circle__place {
        display: block;
    }

    .circle__details .circle__place::before {
        content: "";
    }

    .circle__details br.dl-sep {
        margin: 12px 0;
    }
}

/* 各項目の行全体に罫線を追加 */
.circle__details br.dl-sep {
    display: block;
    margin: 0;
    line-height: 0;
    height: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 12px;
}

/* 最後の項目のbrには罫線を表示しない */
.circle__details br.dl-sep:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* 最後の項目のdtとddのマージンを削除 */
.circle__details dt:last-of-type,
.circle__details dd:last-of-type {
    margin-bottom: 0;
}

/* =========================
   PC版：dt（左）/ dd（右）を2カラム固定
   ========================= */
   @media (min-width: 769px) {

    /* dl を2列グリッドにする */
    .circle__details {
      display: grid;
      grid-template-columns: 160px 1fr; /* ← dt幅 / ddは残り */
      column-gap: 12px;
      row-gap: 12px;
      align-items: stretch;
    }
  
    .circle__details dt,
    .circle__details dd {
      margin: 0;
    }
  
    /* 右側(dd)は折り返し前提でOK（連絡先長文対応） */
    .circle__details dd {
      padding: 8px 0;
      color: #666;
      line-height: 1.8;
    }
  
    /* dt：dd の高さに追従する背景 */
    .circle__details dt {
      display: flex;              
      align-items: center;        /* 縦中央 */
      justify-content: center;    /* 横中央 */
      height: 100%;               /* ★ row 高さいっぱい */
      min-width: 0;          /* gridでは不要なので解除 */
      padding: 8px 12px;
      white-space: nowrap;
    }
  
    /* dd：内容に応じて高さが決まる（基準になる） */
    .circle__details dd {
        padding: 8px 0;
        line-height: 1.8;
    }
    
    /* 罫線：PCは br でなく dt/dd に付ける */
    .circle__details br.dl-sep {
      display: none;
    }
  
    .circle__details dt,
    .circle__details dd {
      border-bottom: 1px solid transparent;
    }
  
    /* 最後のdt/ddは罫線なし */
    .circle__details dt:last-of-type,
    .circle__details dd:last-of-type {
      border-bottom: none;
    }
  }

  /* 注意書きだけ小さく */
.circle__details .circle__note {
    font-size: 13px;   /* 好みで 12px〜14px */
    line-height: 1.6;
    display: inline-block;
    margin-top: 2px;
  }
 
 /* SP版：注意書きだけ左揃えにする */
@media (max-width: 768px) {
    .circle__details .circle__note {
      display: block;
      text-align: left;
      margin-top: 6px;
    }
  }

/* =========================
   PC(2列)で：<dl>開始位置を「低い方」に揃える
   ========================= */
   @media (min-width: 1024px) {

    /* 2列グリッドの各カードは同じ行内で高さが揃う前提 */
    .facility--circle .facility__list {
      /* 同じ行の中で一番高いカードに揃えて“伸ばす” */
      align-items: stretch;
      grid-auto-rows: auto;
    }
  
    /* カード内を“縦に伸びる”構造にする */
    .facility--circle .facility__item {
      height: 100%;
      display: flex;
      flex-direction: column;
    }
  
    /* PCは常時展開（hiddenをJSで解除） */
    .facility--circle .circle__panel {
      display: block;
    }
  
    /* 説明文<p>：高さ揃えはJSで行ごとに min-height を付与する */
    .facility--circle .circle__panel > p {
      line-height: 1.8;
      margin-bottom: 12px;  /* dl との最低限の間隔 */
    }
    
    /* 詳細(dl) */
    .facility--circle .circle__panel > .circle__details {
      margin-top: 0;
    }
  }
    
/* ▼▼ 備品一覧（facility__equipment） ▼▼ */
.facility__equipment {
    margin-top: 40px;
}

.facility__equipment-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
}

.facility__equipment-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* SP〜タブレットは2列 */
}

/* PC（1024px〜）で4列×2段レイアウト */
@media (min-width: 1024px) {
    .facility__equipment-grid {
        grid-template-columns: repeat(4, 1fr); /* 4列 */
        max-width: 1200px;
        margin: 0 auto;
    }
}

.facility__equipment-item {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* 写真枠 */
.facility__equipment-photo {
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

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

.facility__equipment-photo .photo-note {
    color: #888;
    font-size: 14px;
}

.facility__equipment-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-size: 15px;
}

.facility__equipment-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* 施設案内の注釈リスト */
.facility__notes {
    margin-top: 20px;
    padding-left: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.facility__notes li {
    list-style: disc;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .facility--guide .facility__list {
        grid-template-columns: 1fr;
    }
}

/* 利用方法・利用規約 */
.usage__content {
    display: grid;
    flex-direction: column;   /* 縦1列に並べる */
    gap: 40px;
    margin: 0 auto;           /* 中央寄せ */
}

/* PC版：usage を2列にする */
@media (min-width: 1024px) {
    .usage__content {
        grid-template-columns: 1fr 1fr; /* ← 2列レイアウトに固定 */
    }

    .facility--guide .facility__list {
        grid-template-columns: repeat(3, 1fr); /* ← 3列固定 */
        max-width: 1200px; /* ← 枠も広げる（任意） */
        margin: 0 auto;
        gap: 30px;
    }

    .facility--circle .facility__list {
        grid-template-columns: repeat(2, 1fr); /* ← PC版で2列固定 */
        max-width: 1200px;
        margin: 0 auto;
        gap: 30px;
    }
}

.usage__section {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.usage__section h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.usage__section p {
    color: #666;
    line-height: 2;
}

.usage__section ul {
    list-style: none;
    padding-left: 0;
}

.usage__section li {
    color: #666;
    line-height: 2;
    padding-left: 25px;
    position: relative;
}

.usage__section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 予約方法 */
.reservation__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* 利用時間・利用料金の表画像 */
.usage__figure {
    margin: 10px auto 0;   /* 上だけ少し余白＆中央寄せ */
}

.usage__figure img {
    display: block;
    max-width: 100%;
    height: auto;
}

.reservation__step {
    text-align: center;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.reservation__number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.reservation__step h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reservation__step p {
    color: #666;
    line-height: 1.8;
}

.reservation__note {
    max-width: 800px;
    margin: 0 auto;
    background: #fff3cd;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.reservation__note p {
    margin-bottom: 10px;
    color: #856404;
}

.reservation__note p:last-child {
    margin-bottom: 0;
}

/* アクセス・マップ */
.access__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}

.access__upper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* アクセス：外観写真など実画像用 */
.access__photo {
    flex: 0 0 50%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: none;
    border: none;
    display: block;
}

/* アクセス写真内の画像 */
.access__photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* address の中身を横並びに */
.access__address-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 左のテキスト部分 */
.access__address-text {
    flex: 1;
}

/* 交通アクセスカード内の駐輪場写真 */
.access__transport-photo {
    margin-top: 12px;
    width: 100%;
    max-width: 260px;
    overflow: visible;
}

.access__transport-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0;
    display: block !important;
    border-radius: 8px;
}

.access__transport-caption {
    font-size: 13px;
    text-align: center;
    color: #666;
    padding: 0px 8px;
    justify-self: center !important;
}

.access__address,
.access__transport,
.access__contact {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.access__address h3,
.access__transport h3,
.access__contact h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.access__address p,
.access__transport p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.access__transport strong {
    color: var(--primary-color);
}

.access__map {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

/* アクセス：受付時間 行頭そろえ */
.access__address-text .access-day {
    display: inline-block;
    width: 3em;
    text-align: left;
}

@media (min-width: 1024px) {
    .access__transport {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0;
        
    }

    /* h3 を横幅いっぱいにする */
    .access__transport h3 {
        grid-column: 1 / 3;
    }

    /* 写真とキャプションを 2 列目に配置 */
    .access__transport-photo,
    .access__transport-caption {
        grid-column: 2;
        margin-top: 0px;

    }

    /* ★ 写真の下の余白をゼロに */
    .access__transport-photo {
        margin-top: 0px;
        margin-bottom: 0;
    }

    /* ★ キャプションを写真にほぼくっつける */
    .access__transport-caption {
        margin: 2px 0 0;   /* 上だけ 2px、左右・下は 0 */
        padding: 0;        /* 内側の余白もなし */
        max-width: 260px;
        justify-self: start;
        line-height: 1.4;  /* 行間も少しだけ詰める */
        text-align: center;
    }
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0f6 0%, #d0e0ed 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-placeholder p {
    margin-bottom: 10px;
    font-size: 18px;
}

.map-note {
    font-size: 14px;
    color: #888;
}

/* フッター */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer__note {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ロゴをスマホで少し小さめに */
    .header__logo img {
        height: 24px;
        width: auto;
    }

    .mv__title {
        font-size: 32px;
    }

    .mv__image {
        background: url('../images/mv_sp.jpg') center/cover no-repeat;
    }

    .mv__subtitle {
        font-size: 16px;
    }

    /* オーバーレイの位置をSPでは右下に寄せる */
    .mv__overlay {
        bottom: 16px;     /* 画像の下からの距離（お好みで調整OK） */
        right: 16px;      /* 画像の右からの距離（お好みで調整OK） */
        left: auto;       /* 念のため左方向の制約を解除 */
        text-align: right;/* テキストを右揃え */
    }

    /* オレンジ帯そのものも右揃えされるように */
    .mv__subtitle {
        display: inline-block;
        text-align: right;
        max-width: 100%;   /* 長くなりすぎたときのために少しだけ余白を残す */
    }

    .about__circle {
        width: 90px;
        height: 90px;
        margin-bottom: 16px;
    }

    .about__circle {
        width: 90%;
        max-width: 350px;
        height: auto;
        padding: 40px 24px;
        border-radius: 30px;
    }

    .about__circle span {
        font-size: 26px;
    }

    .about__text {
        font-size: 15px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .news__list {
        grid-template-columns: 1fr;
    }

    .facility__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .facility__main .facility__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facility__equipment-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* SP〜タブレットは2列 */
    }

/* PC（1024px〜）で4列×2段レイアウト */
@media (min-width: 1024px) {
    .facility__equipment-grid {
        grid-template-columns: repeat(4, 1fr); /* 4列 */
        max-width: 1200px;
        margin: 0 auto;
        }
    }

    .reservation__steps {
        grid-template-columns: 1fr;
    }

    .access__address-body {
        flex-direction: column;
    }

    .access__photo {
        width: 100%;
        flex: none;
    }
    
    .access__transport-photo {
        margin: 12px auto 0;
    }

    .usage__figure img {
        content: url("../images/ryokin2601.svg"); /* ← スマホ用画像に変更 */
        max-width: 100%;  /* 枠いっぱい */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .mv {
        height: 450px;
    }

    .mv__title {
        font-size: 24px;
    }

    .mv__subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .news__item,
    .facility__item,
    .usage__section {
        padding: 20px;
    }

    .circle__download {
        margin-top: 40px;
        padding-top: 30px;
    }

    .circle__download-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .circle__download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .circle__download-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* アクセシビリティ改善 */
a:focus,
button:focus {
    outline: none;
    outline-offset: 2px;
}

/* PC版では改行を無効化（非表示） */
.sp-br {
    display: none;
}

/* スマホ版では改行を有効化 */
@media (max-width: 768px) {
    .sp-br {
        display: block;
    }
}

/* PC専用スペースはスマホでは非表示 */
.pc-space {
    display: none;
}

/* PC版で表示（全角スペースが効く） */
@media (min-width: 769px) {
    .pc-space {
        display: inline;
    }
}

/* 一時的に非表示にするセクション用 */
.section--hidden {
    display: block;     /* 枠は存在させる */
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    opacity: 0;         /* 見えないように */
}

/* メニュー開閉ボタン（固定サイズ） */
.global-menu-toggle {
    display: none;            /* デフォルトはPC非表示 → SPメディアクエリで表示 */
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* 三本線 */
.global-menu-toggle__line {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--text-color);
    border-radius: 999px;
    transition: transform 0.3s, opacity 0.3s;
}

/* 上・中・下のライン位置 */
.global-menu-toggle__line:nth-child(1) { top: 12px; }
.global-menu-toggle__line:nth-child(2) { top: 19px; }
.global-menu-toggle__line:nth-child(3) { top: 26px; }

/* メニューオープン時：×印に変形 */
.global-menu-toggle.is-open .global-menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.global-menu-toggle.is-open .global-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.global-menu-toggle.is-open .global-menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* PC：3カラム */
@media (min-width: 1024px) {
    .about__points {
        grid-template-columns: repeat(3, 1fr);
    }

/* 交通アクセス並び順 */
    .access__transport {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 40px;

        grid-template-areas:
            "title title"
            "train bike"
            "car   photo";
    }

    .access__transport h3 {
        grid-area: title;
    }

    .train { grid-area: train; }
    .bike { grid-area: bike; }
    .car { grid-area: car; }
    .access__transport-photo { grid-area: photo; }
}

/* =========================
   Circle accordion (SP only)
   ========================= */

/* 見出しボタン（サークル名・ジャンル） */
.circle__summary {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* サークル名 */
  .circle__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  /* ジャンル（タグ） */
  .circle__genre {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
  }
  
  /* 右端の矢印 */
  .circle__icon {
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    transition: transform 0.25s;
  }
  
  /* 開いたとき */
  .circle-item.is-open .circle__icon {
    transform: rotate(-135deg);
  }
  
  /* パネル（開閉部分） */
  .circle__panel {
    margin-top: 12px;
  }

/* ホームページ掲載要望書ダウンロード */
.circle__download {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.circle__download-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.circle__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.circle__download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--white);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circle__download-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.circle__download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circle__download-icon {
    font-size: 20px;
}

.circle__download-text {
    font-size: 16px;
}

.circle__download-btn--excel {
    border-color: #217346;
    color: #217346;
}

.circle__download-btn--excel:hover {
    background: #217346;
    color: var(--white);
}

.circle__download-btn--pdf {
    border-color: #dc3545;
    color: #dc3545;
}

.circle__download-btn--pdf:hover {
    background: #dc3545;
    color: var(--white);
}
  
/* SP＋タブレット：アコーディオン有効 */
@media (max-width: 1023px) {
    /* ヘッダー：スマホ時はロゴ + ボタンを横並び */
    .header .container {
        max-width: 100%;
        margin: 0;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    /* ナビゲーションはデフォルト非表示（ボタンで開閉） */
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        display: none;
    }

    /* 開いているとき */
    .header__nav.is-open {
        display: block;
    }

    .header__nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 10px 20px;
        gap: 0;
    }

    .header__nav li + li {
        border-top: 1px solid #f0f0f0;
    }

    .header__nav a {
        display: block;
        padding: 10px 0;
    }

    /* メニューボタンを表示 */
    .global-menu-toggle {
        display: inline-block;
        flex-shrink: 0;   /* ロゴとのバランスで縮まないように */
    }
    
    /* --- ハンバーガーが「×」に変形するスタイル --- */
    .header__toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .header__toggle.is-open span:nth-child(2) {
        opacity: 0;
    }
    
    .header__toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .circle__summary {
        cursor: pointer;
      }
    
    .circle__icon {
        display: inline-block;
      }

    .circle__panel[hidden] {
        display: none;
    }
}

/* PC：常時展開（アコーディオン無効） */
@media (min-width: 1024px) {
    .circle__panel {
        display: block;
    }

    .circle__summary {
        cursor: default;
    }

    .circle__icon {
        display: none;
    }
}
  