/* ===== ベースリセット ===== */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 念のため横スクロールを抑止 */
  color: #333;
  font-feature-settings: "palt";
}

img {
  display: block;
  max-width: none;
  height: auto;
}
ul{
  padding-left:1.25em;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 1280px;        /* PC固定幅 */
  margin: 0 auto;       /* 中央寄せ */
}

.hero-picture { display: block; }

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

.hero-logo {
  position: absolute;
  top: 48px;
  left: 40px;
  width: 260px;
  height: auto;
  z-index: 2;
}

@media (max-width: 767px){
  .hero {
    width: 100%;
  }
  .hero-logo {
    top: 24px;
    left: 16px;
    width: min(42vw, 200px);
  }
}

/* ===== Intro Section ===== */
.intro {
  width: 800px;
  margin: 120px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.intro-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
  color: #333;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: left;
  color: #333;
}

@media (max-width: 767px){
  .intro {
    width: 100%;
    margin: 48px auto;
    padding: 0 16px;
  }
  .intro-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  .intro-text {
    font-size: 1rem;
  }
}

/* ===== 箸休め画像セクション ===== */
.full-image {
  width: 100%;
  max-width: 1280px;
  margin: 60px auto;
  display: flex;
  justify-content: center;
}

.full-image-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 767px){
  .full-image {
    width: 100%;
    margin: 40px auto;
  }
}

/* ===== Feature Section ===== */
.feature {
  width: 100%;
  max-width: 980px;
  margin: 80px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.feature-title {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: left; /* 左寄せ */
  margin: 0 0 28px;
  line-height: 1.4;
}

.feature-cols {
  display: grid;
  grid-template-columns: 60% 40%; /* 左60% / 右40% */
  gap: 28px;
  align-items: start;
}

.feature-col--text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin: 0 0 1.1em;
}

.feature-col--image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 767px){
  .feature {
    margin: 48px auto;
    padding: 0 16px;
  }
  .feature-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .feature-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== Info Section ===== */
.info-section {
  background: #f1f0ea; /* 背景はウインドウ全体に */
  padding: 60px 0;
}

.info-inner {
  width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  position: relative;
}

.info-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 50px 0 16px 390px; /* PCは左・下に移動 */
  position: relative;
  z-index: 2;
}

.info-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 0 28px 390px; /* タイトルと揃えて移動 */
  position: relative;
  z-index: 2;
}

.info-image {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  margin-bottom: 32px;
}

.info-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.info-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

@media (max-width: 767px){
  .info-inner {
    width: 100%;
    padding: 0 16px;
  }
  .info-title {
    font-size: 1.5rem;
    margin: 0 0 12px 0; /* スマホでは位置リセット */
  }
  .info-lead {
    margin: 0 0 20px 0; /* スマホでは位置リセット */
  }
  .info-image {
    margin-top: 0; /* 重なり解除 */
  }
}

/* ===== Gallery Section ===== */
.gallery{
  width: 100%;
  margin: 80px 0;
}

.gallery-inner{
  width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.gallery-title{
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px; /* 少し下に余白 */
  position: relative;
  padding-bottom: 12px; /* 線との間隔を確保 */
}

.gallery-title::after{
  content: "";
  display: block;
  width: 60px;             /* 線の長さ */
  height: 2px;             /* 線の太さ */
  background: #333;        /* 線の色（変更可） */
  margin: 12px auto 0;     /* 上下余白と中央寄せ */
  border-radius: 2px;
}

/* 大きい画像 */
.gallery-hero{
  margin: 0 0 24px;
}
.gallery-hero img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* サムネ：デフォルトはPCで3列 */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  gap: 16px;
}

.gallery-grid .thumb{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* タブレット：2列 */
@media (max-width: 1024px){
  .gallery-inner{
    width: 100%;
  }
  .gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SP：1列 */
@media (max-width: 767px){
  .gallery{
    margin: 48px 0;
  }
  .gallery-title{
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .gallery-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* ===== Lightbox 強制サイズ＆重なり順の修正 ===== */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
}

.lightbox.open{ display: flex; }

/* グローバル img { max-width:none } を確実に打ち消す */
.lightbox .lb-image{
  max-width: 96vw !important;
  max-height: 92vh !important;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  z-index: 1; /* 画像をボタンより下、背景より上に */
}

.lb-btn{
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: none; border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff; font-size: 28px; line-height: 48px;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  z-index: 2; /* 画像の上に */
}
.lb-prev{ left: 24px; }
.lb-next{ right: 24px; }
.lb-close{
  top: 24px; right: 24px; left: auto; transform: none;
  font-size: 24px; width: 40px; height: 40px; line-height: 40px;
  z-index: 3; /* 最前 */
}

/* ===== 共通：背景付きセクション（幅980px中央） ===== */
.section-bg{
  background: #f1f0ea;     /* 画面幅いっぱい */
  padding: 60px 0;
}
.section-inner{
  width: 980px;            /* 本文幅 */
  margin: 0 auto;
  padding: 0 16px;         /* 端の保険 */
  box-sizing: border-box;
}

/* 見出し（Galleryと同じ下線） */
.section-title{
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after{
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #333;        /* 必要ならブランドカラーに変更可 */
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== Overview（3×3） ===== */
.overview-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  gap: 16px 20px;
}
.overview-box{
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦中央 */
  align-items: center;     /* 横中央 */
  text-align: center;      /* テキスト中央寄せ */
  gap: 8px;                /* 見出しと本文の間隔 */
  padding: 16px;
  min-height: 140px;       /* お好みで調整。行の高さをある程度そろえる */
  box-sizing: border-box;
  background-color: #fff;
}
.overview-box h3{
  font-size: 1.2rem;
  margin: 0 0 8px;
  margin: 0;
}
.overview-box p{
  margin: 0;
  line-height: 1.5;
  color: #333;
  margin: 0;
}
/* SPは少しコンパクトに */
@media (max-width: 767px){
  .overview-box{
    min-height: 120px;
    padding: 14px;
  }
}

/* タブレット：2列 */
@media (max-width: 1024px){
  .section-inner{ width: 100%; }
  .overview-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* SP：1列 */
@media (max-width: 767px){
  .section-title{ font-size: 1.5rem; margin-bottom: 16px; }
  .overview-grid{ grid-template-columns: 1fr; gap: 12px; }
}

/* ===== Access ===== */
/* 以前の .map-wrap { aspect-ratio: 16 / 9; } は削除してください */
.map-wrap{
  width: 100%;
  height: 420px;        /* PCデフォルト */
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;     /* 読み込み中のプレースホルダ */
  margin-top: 8px;
}
.map-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* タブレット */
@media (max-width: 1024px){
  .map-wrap{ height: 340px; }
}

/* スマホ（～767px） */
@media (max-width: 767px){
  .map-wrap{ height: 260px; }
}

/* 「GoogleMapで見る」リンク */
.map-link{
  margin: 12px 0 0;
  text-align: right;
}
.map-link a{
  color: #177cba;
  text-decoration: underline;
}


/* ===== Footer (Simple Centered) ===== */
.site-footer{
  background: #f1f0ea;     /* 背景色 */
  color: #333;              /* 文字色 */
  padding: 24px 0;
}

.footer-container{
  max-width: 980px;         /* 中身は980px */
  margin: 0 auto;           /* 中央配置 */
  padding: 0 16px;
  box-sizing: border-box;
}

.footer-core{
  display: flex;
  flex-direction: column;
  align-items: center;      /* 横中央 */
  justify-content: center;  /* 縦中央（高さに依存） */
  text-align: center;       /* テキストも中央 */
  gap: 4px;                 /* 行間（詰め気味） */
}

.footer-company{
  margin: 0;
  line-height: 1.2;
  font-size: 1.25rem;
  font-weight: 800;
}
.footer-phone{
  font-size: 1.6em;
}


.footer-phone, .footer-website{
  margin: 0;
  line-height: 1.2;
}

/* 電話：PCはクリック不可、SPはクリック可 */
.tel-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  pointer-events: none;     /* PC/タブレット既定：クリック無効 */
  cursor: default;
}
.tel-ic{ width: 16px; height: 16px; opacity: .9; }
.site-link{ color: inherit; text-decoration: underline; }

@media (max-width: 767px){
  .footer-container{ max-width: 100%; }      /* SP時は全幅 */
  .tel-link{
    pointer-events: auto;                     /* SP：クリック有効 */
    text-decoration: underline;
  }
}


/* 見出しを明朝体に */
.feature-title,
.info-title,
.gallery-title,
.section-title{
  font-family:
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Yu Mincho",
    YuMincho,
    "游明朝",
    "MS PMincho",
    "Noto Serif JP",
    serif;
  font-weight: 400; /* 太さはお好みで 600/700 */
}

/* ================================
 * Contact Section（完全版）
 * ================================ */

/* 背景とレイアウト（背景は全幅、中身は中央） */
.contact-section{
  background: #f1f0ea;
  padding: 60px 0;
}
.contact-section .section-inner{
  width: 800px;                 /* ← ご要望で狭める */
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* リード文＆フリーダイヤル */
.contact-lead{
  margin: 4px 0 16px;
  line-height: 1.8;
  text-align: center;
  color: #333;
}
/* フリーダイヤル：PCはクリック不可、SPは可 */
.contact-lead .cf-tel{
  color: inherit;
  text-decoration: underline;
  pointer-events: none;         /* 既定：クリック不可 */
  cursor: default;
}
@media (max-width: 767px){
  .contact-section .section-inner{ width: 100%; }
  .contact-lead .cf-tel{ pointer-events: auto; }
}

/* フォーム全体 */
.contact-form{ margin-top: 10px; }
/* Contact：常に1カラム */
.contact-form .cf-grid{
  display: grid;
  grid-template-columns: 1fr;  /* ← ここを1カラム固定に */
  gap: 14px;                    /* お好みで 12〜20px */
}


/* 各フィールド */
.contact-form .cf-field{
  display: grid;
  gap: 6px;
}
.contact-form .cf-field--full{
  grid-column: 1 / -1;
}

/* フィールド見出し（強調）＋ バッジ */
.contact-form .cf-title{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;           /* 日付legendより大きくして主役に */
  margin: 4px 0 8px;
  color: #222;
}
.contact-form .cf-badge{
  font-size: .75rem;
  line-height: 1;
  border-radius: 999px;
  padding: 2px 8px;
}
.contact-form .cf-badge.req{ background: #d94a4a; color: #fff; } /* 必須：赤 */
.contact-form .cf-badge.opt{ background: #e6e6e6; color: #555; } /* 任意：灰 */

/* 入力要素の共通デザイン */
.contact-form .cf-field input,
.contact-form .cf-field select,
.contact-form .cf-field textarea{
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  font-size: 1rem;
}
.contact-form .cf-field textarea{
  height: auto;
  padding: 10px 12px;
  resize: vertical;
  min-height: 140px;
}

/* 日付ブロック（見出しは控えめ） */
.contact-form .slot-days{ margin-top: 2px; }
.contact-form .slot-day{
  border: none;
  padding: 0;
  margin: 0 0 14px;
}
.contact-form .slot-day:last-child{ margin-bottom: 0; }
.contact-form .slot-day > legend{
  font-size: .9rem;             /* フィールド見出しより小さく */
  font-weight: 600;
  color: #666;                  /* 控えめな色で脇役に */
  margin: 0 0 6px;
  padding: 0;
  cursor: default;
  user-select: text;
}

/* 時間ボタン：PCは4列固定、Tabは3列、SPは2列 */
.contact-form .slot-grid--times{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));  /* PC：4列で1行に並ぶ */
  gap: 10px;
}

/* ラジオ本体はフローから外す（クリックはラベルに委譲） */
.contact-form .slot-grid--times input[type="radio"]{
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ラベルをボタン化 */
.contact-form .slot-grid--times label{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  cursor: pointer;
  user-select: none;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;          /* 「10:00」を改行させない */
}

/* 選択時・フォーカス時 */
.contact-form .slot-grid--times input[type="radio"]:checked + label{
  background: #177cba;
  border-color: #177cba;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(23,124,186,.12) inset;
}
.contact-form .slot-grid--times input[type="radio"]:focus-visible + label{
  outline: 2px solid #177cba;
  outline-offset: 2px;
}

/* レスポンシブ列数 */
@media (max-width: 1024px){
  .contact-form .slot-grid--times{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px){
  .contact-form .slot-grid--times{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 送信ボタン＆注記 */
.contact-form .contact-submit{
  margin-top: 8px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #177cba;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.contact-form .contact-submit:hover{ opacity: .95; }
.contact-form .contact-note{
  font-size: .9rem;
  color: #666;
  margin-top: 8px;
  text-align: center;
}
/* 送信メッセージ */
.contact-msg{ margin-top: 10px; text-align: center; color:#333; font-weight:700; }
.contact-msg.is-ok{ color: #177c70; }   /* 成功：緑系 */
.contact-msg.is-error{ color: #d94a4a;} /* エラー：赤 */

/* ハニーポット（目視不可・スクリーンリーダ無視） */
.hp-field{
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}
/* === 確認モーダル === */
.confirm-layer{
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.6);
  display: none;
  place-items: center;
  padding: 16px;
}
.confirm-layer.open{ display: grid; }

.confirm-box{
  width: 100%;
  max-width: 720px;
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}
.confirm-title{
  margin: 0 0 12px;
  font-size: 1.25rem; font-weight: 700;
}

/* 確認リスト */
.confirm-list{
  margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.confirm-list > div{
  display: grid; grid-template-columns: 8em 1fr; gap: 10px;
  align-items: start;
}
.confirm-list dt{
  margin: 0; font-weight: 700; color: #222;
}
.confirm-list dd{
  margin: 0; white-space: pre-wrap; word-break: break-word;
}

/* ボタン */
.confirm-actions{
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 16px;
}
.btn-primary, .btn-secondary{
  min-height: 40px; padding: 0 16px;
  border-radius: 8px; border: 0; cursor: pointer;
  font-weight: 700;
}
.btn-primary { background:#177cba; color:#fff; }
.btn-secondary{ background:#e9e9e9; color:#333; }

@media (max-width: 767px){
  .confirm-list > div{ grid-template-columns: 6.5em 1fr; }
  .confirm-actions{ justify-content: stretch; }
  .confirm-actions .btn-primary,
  .confirm-actions .btn-secondary{ flex:1; }
}

/* ===== campaign Section ===== */
  .campaign_img{
    width: 900px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
  }
  .campaign_txt{
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    background-color: #fafafa;
    padding: 1em;
    margin-top: 1em;

  }
  @media (max-width: 768px) {
  .campaign_txt{
    width: 90%;
    padding-right: 1em;
  }
}

/*
body{font-family:sans-serif;max-width:600px;margin:2rem auto;}
*/
label{display:block;margin-top:1rem;font-weight:bold;}
input,textarea,select{width:95%;padding:0.5rem;margin-top:0.3rem;}
button{margin-top:1rem;padding:0.5rem 1rem;}
/* --- honeypot --- */
.hp-wrap{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
/* スクリーンリーダーにも基本は読ませない（aria-hidden）。キーボードフォーカスも不可 */
.hp-wrap input{tabindex:-1;}

/**/

/* ラジオボタンを非表示 */
.slot-day input[type="radio"] {
  display: none;
}

/* ラベルをボタン風に */
.slot-day {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1rem 0;
}

.slot-day label {
  padding: 0.5em 1em;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}

/* ホバー時の効果 */
.slot-day label:hover {
  border-color: #666;
  background: #f7f7f7;
}

/* 選択されているラジオに対応するラベルを強調 */
.slot-day input[type="radio"]:checked + label {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}
/* 共通：ボタン風 */
.slot-day input[type="radio"],
.slot-time input[type="radio"] {
  display: none;
}

.slot-day, .slot-time {
  display: flex;
  flex-wrap: wrap;   /* 幅が狭いと折り返し */
  gap: 1rem 1.5rem;
  margin: 1rem 0;
}

.slot-day label,
.slot-time label {
  padding: 0.5em 1em;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
  transition: background .2s, border-color .2s;
  user-select: none;
  white-space: nowrap;
      margin-top: 0.5em;
    margin-bottom: 0.75em;
}

.slot-day label:hover,
.slot-time label:hover {
  border-color: #666;
  background: #f7f7f7;
}

.slot-day input[type="radio"]:checked + label,
.slot-time input[type="radio"]:checked + label {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}

/* 見出し */
.slot-day > legend,
.slot-time > legend {
  width: 100%;
  margin-bottom: .25rem;
  font-weight: 600;
}


/*----------------------------------------------------------------------------------*/
.slot-group{
  border: none;
  padding: 0em;
}
.slot-group > legend{
  font-weight: 600;
  margin-bottom: .5rem;
}

.slot-date-display{
  margin-top: 1rem;
  margin-bottom: .25rem;
  font-size: 1.05em;
}

.slot-time{
  display: flex;
  flex-wrap: wrap;          /* 画面幅が狭いと折り返し */
  gap: .75rem 1rem;
  margin: .25rem 0 0.5rem;
  border: 0;
  padding: 0;
  border: none;
}

/* ラジオを隠してラベルをボタン風に */
.slot-time input[type="radio"]{ display: none; }

.slot-time label{
  padding: .5em 1em;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}

.slot-time label:hover{
  background: #f7f7f7;
  border-color: #666;
}

.slot-time input[type="radio"]:checked + label{
  background: #007bff;
  border-color: #007bff;
  color: #fff;
  font-weight: 700;
}
.req{
    background: #d94a4a;
    color: #fff;
    font-size: 0.75em;
    padding: 0.25em 0.5em;
    margin-left: 1em;
  }