/* リセットとベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.pc_none{
  display:none;
}

.mb-sm { margin-bottom: 0.5rem !important; }
.mb-md { margin-bottom: 1rem !important; }
.mb-lg { margin-bottom: 2rem !important; }
.mb-xl { margin-bottom: 3rem !important; }
.mt-sm { margin-top: 0.5rem !important; }
.mt-md { margin-top: 1rem !important; }
.mt-lg { margin-top: 2rem !important; }
.mt-xl { margin-top: 3rem !important; }

.ta-left   { text-align: left !important; }
.ta-center { text-align: center !important; }
.ta-right  { text-align: right !important; }
.ta-justify { text-align: justify !important; }

.list-wide li{
  margin-bottom: 1.5em; /* 通常より広め */
}

.text-small{
  font-size: 0.8em;
}

.fs-12 { font-size: 12px !important; }  /* 注釈・補足 */
.fs-14 { font-size: 14px !important; }  /* 小さめの本文 */
.fs-16 { font-size: 16px !important; }  /* 標準本文 */
.fs-20 { font-size: 20px !important; }  /* 小見出し */
.fs-24 { font-size: 24px !important; }  /* 見出し */
.fs-32 { font-size: 32px !important; }  /* 大見出し */
.fs-48 { font-size: 48px !important; }  /* 特大見出し */

.link-underline {
  text-decoration: underline !important;
  text-decoration-thickness: 2px; /* 線の太さ */
  text-underline-offset: 3px;     /* 文字との距離 */
  text-decoration-color: red;     /* 線の色 */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Mono', sans-serif;
  color: #000;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

.bold {
  font-weight: bold;
}

.notice{
  color: #C80000;
  font-weight: bold;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 95px;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

.site-title img {
  height: 50px;
  min-width: 118px;
}

.nav ul {
  display: flex;
  justify-content: center;
  /* 中央揃え */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul li:not(:last-child)::after {
  content: "|";
  margin-left: 20px;
  /* 区切り線の左スペース */
  color: #fff;
  opacity: 0.6;
}


.nav ul li {
  display: inline-block;
  padding: 0 10px;
  /* 左右の余白を均等に */
  white-space: nowrap;
}

.nav a,
.nav button{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Noto Sans Mono', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
  display: inline-block;
  padding-bottom: 5px;
}

.nav a:hover,
.nav button:hover {
    text-decoration: underline;
    text-underline-offset: 7px;
}

/* ドロップダウンメニューのスタイル */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    z-index: 1000;
}

.dropdown-content a {
    padding: 3px 45px;
    font-size:12px;
    text-decoration: none;
    display: block;
    position: relative;
    transition: background-color 0.3s ease;
}

/* L字デザインの実装 */
.dropdown-content a::before {
    content: "└";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: white;
}

/* ホバー時にドロップダウンを表示 */
.dropdown:hover .dropdown-content {
    display: block;
}

.btn-contact {
  background: #fff;
  color: #458C27;
  padding: 5px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Noto Sans Mono', sans-serif;
  transition: all 0.3s;
  min-width: 140px;
  text-align: center;

}

.btn-contact:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* main内の共通コンテンツ幅 */
main {
  max-width: 1200px;
  /* PC幅上限 */
  width: 90%;
  /* 画面幅に応じた余白 */
  margin: 0 auto 30px;
  /* 中央寄せ */
}

/* セクションごとに必要であれば上下マージン */
main section {
  max-width: 1200px;
  margin-bottom: 60px;
}

/* ヒーローセクション - レスポンシブ対応 */
.hero {
  height: 800px;
  min-height: 300px;
  /* 400px → 300pxに調整 */
  background-image: url('/images/header_bg.jpg');
  background-size: cover;
  /* 横幅・縦幅ともに埋める */
  background-position-y: center;
  /* 中央に配置 */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero.plan {
  height: 400px;
}

.hero.terms,
.hero.gallery {
  height: 150px;
  min-height: 150px;
}

/* 背景画像のオーバーレイ */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* ヒーローロゴ */
.hero-logo {
  position: relative;
  max-width: 350px;
  width: 100%;
  height: auto;
  margin-bottom: 200px;
  transform: translateY(140px);
  /* 20px下へ移動 */
}

/* ヒーローテキスト */
.hero h2 {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 0.15em;
  max-width: 600px;
  z-index: 2;
}

/* タブレット用の調整 */
@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll;
    /* モバイルではfixedを無効化 */
    min-height: 600px;
  }

  .hero-logo {
    max-width: 300px;
  }

  .hero h2 {
    font-size: 16px;
    max-width: 500px;
  }
}

.whats-chacara {
  width: 90%;
  min-width:800px;
  position: relative;
  height: 420px;
  margin: 80px auto;
  font-size:64px;
}

/* 左側テキスト */
.whats-chacara .content {
  position: absolute;
  top: 50px;
  width: 752px;
  z-index: 2;
  background-color: #ffffff;
  padding: 15px 62px 35px 0px;
}

/* 右側画像 */
.whats-chacara .image {
  position: absolute;
  top: 0;
  right: 0px;
  z-index: 1;
}

.whats-chacara .image img {
  width: 600px;
}

.whats-chacara h2 {
  margin:20px 10px;
  font-family: 'Rozha One', serif;
  font-size: 64px;
  color: #458C27;
  line-height: 100%;
  font-weight: bold;
}

.whats-chacara p {
  font-family: 'Noto Sans Mono', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 38px;
  color: #333;
}

/* Event/Partyセクション */
.event-party {
  position: relative;
  padding: 50px 0px;
  display: flex;
  justify-content: center;
  gap: 120px;
}

.event-party::before {
  content: "";
  position: absolute;
  top: 0;
  left: -200%;
  width: 400%;
  height: 40%;
  /* 上半分 */
  background-color: #458C27;
  z-index: -1;
  /* 背景にする */
}

.event,
.party {
  background: #fff;
  max-width: 450px;

}

.terms_doc,
.plan_doc {
  padding: 25px 0px;
  background: #fff;
  width: 90%;
  margin: auto
}

.plan_doc h2,
.terms_doc h2,
.gallery_doc h2,
.policy_doc h2
{
  font-family: 'Rozha One', serif;
  font-size: 128px;
  color: #000;
  text-align: center;
  line-height: 100%;
  padding: 27px;
}

.plan_doc .btn-plan {
  width: 600px;
  margin: 0px auto 20px;
  font-size: 20px;
  padding:10px 24px;
}

.party-page .plan_doc .btn-plan.btn-plan-price{
  max-width:1023px;
  width:100%;
}

.plan_doc p,
.terms_doc p,
.policy_doc p{
  font-family: 'Noto Sans Mono', sans-serif;
  font-size: 20px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 25px;
  text-align: center;
}

.plan-gallery {
  position: relative;
  padding: 50px 0px 0px;
  display: flex;
  flex-wrap: wrap;
  /* ← これで折り返し有効 */
  justify-content: center;
  gap: 20px;
  margin-bottom:80px;
}

.plan-gallery img {
  width: 30%;
}

.plan-point {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 60px;
  width: 90%;
  margin: 0px auto 10px;
}

.plan-point .point-wrap {
  padding: 50px 0px;
  background: #fff;
  width: 50%;
}

.plan-point .point-wrap.note ul{
  margin-bottom: 60px;
}

.event-page .plan-point .point-wrap {
  width: 100%;
}

.plan-point .point-wrap h3 {
  width: 100%;
  margin-bottom: 30px;
}

.event-page .plan-point .point-wrap h3 {
  width: 60%;
  margin:auto;
}

.plan-point .point-wrap h4 {
  width: 100%;
  text-decoration: none;
  /* デフォルト下線を消す */
  border-bottom: 2px solid #999;
  /* 下線色と太さ */
  padding-bottom: 10px;
  /* 文字との間隔 */
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.plan-point .point-wrap h4.no_border {
  border: none;
}

.plan-point .point-wrap ul {
  margin-bottom: 20px;
}

.plan-point .point-wrap p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.plan-point .point-wrap p.point{
  font-weight:bold;
}


.plan-point .point-wrap.note p {
  font-size: inherit;
}

.plan-point .point-wrap .example {
  background-color: #458C27;
  color: #fff;
  text-align: left;
  padding: 10px 0px 10px 0px;
  margin-bottom: 10px;
}

.plan-point .point-wrap .example .example_box{
  width:300px;
  margin:auto;
} 

.party-page .plan-point .point-wrap .example .example_box{
  width:400px;
  margin:auto;
} 


.plan-point .point-wrap .total_price{
  font-weight:bold;
  margin-bottom: 40px;
}

.plan-point .point-wrap dl {
  margin-bottom: 10px;
}

.plan-point .point-wrap dl dt {
  margin-top: 20px;
  font-weight: bold;
}

.plan-point .point-wrap dl dd {
  margin-bottom: 10px;
}

.event-page .plan-price-wrap{
  width: 700px;
  margin:auto;
}

.event-page .plan-price-wrap{
  margin:auto;
}

.event-page .plan-price-wrap .point{
  font-family: sans-serif;
  font-size: 32px;
  margin:3rem auto 3rem;
  text-align:center;
}

.party-page .plan-price-wrap{
  width: 95%;
  margin:auto;
}

.party-page .plan-price-wrap ul.point{
  margin:60px auto;
  font-size:24px;
  list-style: none;
  padding: 0;
}

.party-page .plan-price-wrap ul li {
  display: flex;
  margin-bottom: 0.5em;
}
.party-page .plan-price-wrap ul .label {
  font-weight: bold;
  margin-right: 1em;
}

.party-page .point-wrap ul.point{
  margin:20px auto;
  font-size:18px;
  list-style: none;
  padding: 0;
}

.party-page .point-wrap ul.point .label {
  margin-right: 1em;
}

.party-page .point-wrap ul.point li{
  line-height:2rem;
}

.plan-price-wrap p{
  font-family: sans-serif;
  text-align:left;
  font-size:12px;
  margin-bottom:0px;
}


.plan-point .point-wrap td {
  padding-right: 10px;
}

.term_alert {
  width: 90%;
  text-align: center;
  margin: 60px auto 60px  ;
}

.term_alert .alert_button {
  display: block;
  margin-top: 10px;
  padding: 5px;
  background-color: #DFC4A6;
  width: 100%;
  font-weight:bold;
}

.term-wrap,
.policy-wrap
{
  width: 90%;
  margin: 0px auto 60px;
}

.term-wrap h3 {
  margin-top: 40px;
  color: #458C27;
  font-weight: bold;
  margin-bottom: 20px;
}

.term-wrap h4 {
  margin-top: 10px;
  font-weight: bold;
}

.term-wrap ul,
.term-wrap p {
  margin-bottom: 10px;
}

.policy-wrap dl dt{
  font-size: 17px;
  margin-bottom: 5px;
  color: #458C27;
  font-weight: bold;
}

.policy-wrap dl dd{
  margin-bottom:20px;
}

.event img:hover,
.party img:hover{
  opacity: 0.5;
}


.event img,
.party img {
  width: 100%;
  object-fit: cover;
}

.event-party h2 {
  font-family: 'Rozha One', serif;
  font-size: 36px;
  color: #333;
  text-align: center;
}

.event-party p {
  font-family: 'Noto Sans Mono', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
}

.event-party p.btn-plan  {
  color:#fff;
}

.photo-gallery {
  width: 90%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
  margin: 0 auto;
  margin-bottom: 2rem; /* ギャラリー全体の下に余白 */
}
.photo-item {
  position: relative;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}
.photo-item.tall {
  grid-row: span 2;
}

.photo-item .tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tag.event{
  background: #4CAF50;
}

.tag.party{
  background: #DFC4A6;
}


ul.photo-gallery-pagination{
  display: flex;                 /* 横並び */
  justify-content: center; /* 横方向中央寄せ */
  gap: 8px;                 /* ボックス間の余白 */
  align-items: center;           /* 垂直方向中央 */
  margin:auto;
}

.photo-gallery-pagination li {
  border:1px solid #ccc;
  width:30px;
  height:30px;
  text-align:center;
  color:#ccc;
  border-radius:2px;
}

.layout-gallery{
  width: 90%;
  margin:auto;
}

.layout-gallery img{
  width:100%;
  margin-bottom:20px;
}

.btn-plan {
  display: block;
  background: #458C27;
  color: #fff;
  padding: 7px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Noto Sans Mono', sans-serif;
  font-size: 16px;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

a .btn-plan:hover {
  background: #3a7622;
  transform: translateY(-2px);
}

a.alert_button:hover {
  transform: translateY(-2px);
}

/* Contactセクション */
.contact {
  padding: 0px;
  background: #fff;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}

.contact h2 {
  background: #314531;
  color: #fff;
  border-radius: 50px;
  font-family: "Rozha One", serif;
  margin-bottom: 20px;
  width: 100%;
  font-size: 40px;
}

.contact>p {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
}

/* 2カラムの親要素 */
.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
  /* 左カラム */
}

.contact .tel{
  min-width: 300px;
  max-width: 378px;
  font-family: 'Noto Sans Mono', sans-serif;
  text-align:left;
  margin-left: 30px;
}

.contact .tel .number {
  font-size: 32px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 10px;
  color: #333;
}

.contact .tel .time {
  font-size: 16px;
  font-family:sans-serif;
  color: #333;
}

/* 右側：フォーム */
.contact-form {
  width: 100%;
  max-width: 578px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 横並び&下線を1本 */
.form-group {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 4px;
  margin-bottom: 20px;
}

/* ラベルの幅固定 */
.form-group label {
  font-size: 16px;
  width: 100px;
  min-width: 100px;
  text-align: left;
}

/* 入力欄を残り幅いっぱい */
.form-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 4px 0;
  font-size: 1rem;
  outline: none;
}

/* textarea専用 */
.textarea-group {
  flex-direction: column;
  align-items: stretch;
  border-bottom: none;
  /* 下線不要 */
  margin-top: 20px;
}

.textarea-group label {
  width: auto;
  /* 固定幅解除 */
  text-align: left;
  margin-bottom: 8px;
}

.textarea-group textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid #000000;
  padding: 8px;
  font-size: 1rem;
  resize: vertical;
  outline: none;
  height: 200px;
}

/* 送信ボタン */
.contact-form button {
  background: #314531;
  color: #fff;
  padding: 8px 20px;
  border-radius: 35px;
  font-weight: bold;
  cursor: pointer;
  margin-left: auto;
}

.contact-form button:hover {
  background: #458C27;
}

.contact-form p{
  font-family: 'Noto Sans Mono', sans-serif;
  font-size:16px;
  text-align:right;
}


.contact button {
  background: #314531;
  color: #fff;
  padding: 5px 40px;
  border-radius: 25px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
}

.contact button:hover {
  background: #2a3a2a;
  transform: translateY(-2px);
}

.send-message{
  margin: 0px auto 20px;
}

/* Accessセクション */
.access {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  /* 左右の間隔 */
  max-width: 1200px;
  /* Contact と同様に中央寄せ */
  margin: 0 auto;
  padding: 80px 60px;
  font-size: 30px;
}

/* 横並び */
.access-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.access-map {
  order: 2;
  /* 地図を右 */
  width:600px;
}

.access-text {
  width: 378px;
  min-width:300px;
  order: 1;
  /* テキストを左 */
}

/* 左側（テキストブロック） */
.access .access-text h2 {
  font-family: "Rozha One", serif;
  /* FIGMA指定に合わせる */
}

.access p {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.access p.note{
  text-decoration:underline;
}

/* 右側（地図） */
.access map {
  width: 600px;
  min-width:600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.access-train p{
  font-size:12px;
}

.access-train h3 {
  font-size: 14px;
  font-weight: normal;
  background-color: #ccc;
  background: #D9D9D9;
  /* 背景付き */
  display: inline-block;
  /* タイトル分だけ背景 */
  margin-bottom: 10px;
  padding: 5px;
}

.item-name {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
}

.calculation {
    font-size: 0.9rem;
    margin-bottom: 5px;
}


.total {
    border-radius: 12px;
    margin: 20px 0 0 0;
    padding: 25px 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

footer {
  background: #314531;
  color: #fff;
  padding: 60px 40px 30px;
  margin: 0 auto;
}

footer .footer-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

footer .footer-logo img {
  height: 80px;
  width: auto;
}

footer .footer-info {
  text-align: left;
}

footer .footer-info .menu {
  display: flex;
  flex-wrap: wrap;
  width: 550px;
  gap: 0px 30px;
  padding: 0 0 20px 0px;
  list-style: disc;
  list-style-position: inside;
}

footer .footer-info .menu li::marker {
  font-size: 0.3em;  /* サイズ変更 */
  line-height: 0.5;     /* 中央寄せに近づく */
}


footer .footer-info .menu li {
  margin: 0;
}

footer .footer-info .menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Noto Sans Mono', sans-serif;
  opacity: 0.9;
  transition: opacity 0.3s;
}

footer .footer-info .menu a:hover {
  opacity: 1;
}

footer .footer-info .site-name {
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

footer .footer-info .address {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  text-align: left;
  white-space: nowrap;
}

footer .footer-info .address,
footer .footer-info .tel {
    display: inline;
    margin: 0;
    text-align: left;
  }

footer .footer-info .tel::before {
    content: "　";
}


footer .copyright {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 20px;
  text-align: center;
}

/* ハンバーガーアイコン */
.nav-toggle {
  display: none;
}

.to-top-btn {
  display: none; /* PCでは非表示 */
}

/* ================================
   モバイル対応（440px以下）
================================ */
@media (max-width: 440px) {
  .sp_none{
    display:none;
  }
  .pc_none{
    display:block;
  }

  html,
  body {
    width: 100%;
    scroll-behavior: smooth;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  main section {
    max-width: inherit;
    margin-bottom: 0px;
  }

  /* 全体の横幅調整 */
  .container,
  main,
  section {
    width: 100%;
    padding: 0px;
    box-sizing: border-box;
  }

  .header {
    position: relative;
    /* header自体をrelativeに */
    padding: 0px;
  }

  /* ナビゲーションメニュー非表示 */
  .hero-logo {
    display: none;
  }

  .btn-contact{
    position: absolute;
    top: 20px;
    right: 65px;
    min-width:inherit;
    font-size:12px;
    padding: 5px 15px;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    display: block;
    background: #ccc;
    height: 3px;
    border-radius: 2px;
    position: absolute;
    width: 100%;
    transition: all 0.3s ease;
  }

  .nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-toggle-label span::before {
    top: -8px;
  }

  .nav-toggle-label span::after {
    top: 8px;
  }

  /* チェックボックスがONのときに.navを表示 */
  .nav-toggle:checked~.nav {
    display: block;
    right: 0;
    /* 表示 */
  }

  .nav-toggle-label {
    display: block;
  }

  /* ハンバーガーアイコン最前面 */
  .nav-toggle-label {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 3000;
  }

  /* チェックON時のアイコン変形 */
  .nav-toggle:checked+.nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked+.nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .nav-toggle:checked+.nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* navを画面外に隠す */
  .nav {
    position: fixed;
    /* ページ全体基準 */
    top: 0;
    right: -100%;
    width: 100%;
    /* 全幅 */
    height: 100%;
    background: #458C27;
    padding: 80px 20px 20px;
    transition: right 0.6s ease-in-out;
    /* 少し遅め */
    z-index: 2000;
  }

  /* メニューを中央寄せ */
  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav ul li{
    height:40px;
  }

  .nav ul li a,
  .nav ul li button,
  {
    border-bottom: solid 1px #e2e8ea;
  }

  .nav ul li:not(:last-child)::after {
    content: none;
  }

  .nav ul li button{
    display:block;
  }

  .nav ul li.dropdown{
    height: 100px;
    margin: auto;
    position: relative;
  }

  .nav ul li.dropdown button{
    visibility: hidden;
    height: 0px;
  }

  .nav .dropdown-content{
    top:0px;
    display:block;
  }

  .nav .dropdown-content a {
      padding: 0px;
      font-size: 12px;
      text-decoration: none;
      display: block;
      position: static;
      margin-bottom: 50px;
      transition: inherit;
  }

  .dropdown-content a::before{
     content: none; 
  }

  /* site-titleをheroにかぶせる */
  .top-page .site-title {
    position: absolute;
    top: 325px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 1.8rem;
    /* スマホ用に調整 */
    color: #fff;
    /* 白文字 */
    text-align: center;
    padding: 0.5em 1em;
    border-radius: 8px;
  }

  .top-page .site-title img {
    height: auto;
    width: 200px;
    max-width: 200px;
  }

  .top-page .hero{
    min-height: 800px;
  }

  .site-title{
    position: absolute;
    top: 10px;
    left: 20px;    
  }

  .site-title img{
    min-width:100px;
  }

  /* hero */
  .hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
  }

  .hero.plan,
  .hero.gallery,
  .hero.terms{
    height: 75px;
    min-height:75px;
  }

  .hero-logo {
    width: 80%;
    max-width: 250px;
    margin: 0 auto;
  }

  /* hero h2（キャッチコピーなど） */
  .hero h2 {
    color: #fff;
    text-align: center;
    font-size: 18px;
    margin-top: 124px;
    z-index: 100;
  }

  /* hero自体にrelativeをつけると重ねやすい */
  .hero {
    position: relative;
  }

  /* ナビゲーション */
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  /* Whats CHACARA */
  .whats-chacara {
    display: block;
    padding: 0px;
    margin: 0px;
    width: 100%;
    min-width:100%;
    height: 750px;
  }

  .whats-chacara h2 {
    font-size: 32px;
    padding: 25px 0px 10px;
    line-height: 3rem;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
  }

  .whats-chacara p {
    font-size: 16px;
    letter-spacing: inherit;
    line-height: 28px;
    margin-bottom: 1rem;
  }


  .whats-chacara .image {
    position: static !important;
    width: 100% !important;
    margin-bottom: 20px;
  }

  .whats-chacara .content {
    position: static !important;
    width: 100%;
    padding: 15px;
    background: #fff;
  }

  .plan_doc,
  .terms_doc,
  .photo-gallery{
    padding:0px;
    width:100%;
  }

  .plan_doc h2,
  .terms_doc h2{
    font-size:64px;
  }
  .gallery-page .plan_doc h2, 
  .policy_doc h2{
    font-size:54px;
    padding:27px 10px;
  }


  .plan_doc h3,
  .plan_doc h3.btn-plan,
  .terms_doc h3{
    font-size:20px;
  }

  .party-page .plan_doc h3.btn-plan{
    font-size:18px;
    border-radius: 35px;
  }

  .party-page .plan-price-wrap ul{
    margin-bottom:40px;
  }

  .party-page .plan-price-wrap ul{
    font-size:14px;
  }

  .party-page .plan-price-wrap ul.point {
    margin:0px auto 20px;
  }

  .party-page .plan-price-wrap ul.point li{
    display:inherit;
    font-size:17px;
  }

  .party-page .plan-price-wrap ul.point .label{
    display:block;
  }

  .party-page .plan-price-wrap ul.point .price{
    padding-left:20px;
  }


  .plan_doc .btn-plan{
    width:100%;
  }

  .plan_doc p{
    text-align:left;
    font-size:16px;
    margin:0px;
  }

  .plan-gallery img {
    width: 45%;
  }

  .plan-point{
    display:block;
    width:100%;
  }

  .plan-point .point-wrap,
  .term-wrap,
  .policy-wrap{
    width:100%;
    padding:0px;
    margin-bottom: 3rem;
  }

  .point-wrap.note{
    margin-bottom: 50px;
  }

  .plan-point .point-wrap h4{
    font-size:18px;
  }

  .plan-point .point-wrap p,
  .plan-point .point-wrap.note p,
  .plan-point .point-wrap ul li,
  .plan-point .point-wrap dl,
  .plan-point .point-wrap table,
  .term-wrap ul li,
  .term-wrap h4,
  .term-wrap p,
  .policy-wrap{
    font-size:14px;
  }

  .plan-point table{
    margin-bottom:2rem;
  }

  .example_box{
    padding-left:10px;
  }

  .party-page .plan-point .point-wrap .example .example_box{
    width:100%;
  }

  .term_alert p{
    font-size:14px;
  }

  .plan_doc .btn-plan{
    font-size:12px;
  }

  .term_alert{
    width:100%;
  }

  .term-wrap h3{
    margin-bottom:10px;
  }

  .terms_doc p{
    margin-bottom:0px;
  }

  .photo-gallery {
    grid-auto-rows:inherit;
    grid-template-columns: repeat(2, 1fr); /* 2列に固定 */
  }

  /*
  .photo-gallery img{
    grid-column:inherit !important;
    grid-row:inherit !important;
  }
  */

  /* Event / Party */
  .event-party {
    flex-direction: column;
    gap: 30px;
  }

  .event-party::before {
    content:none;
  }

  .event-party-image-wrap {
    position: relative;
    margin: auto;
    height: 380px;
  }

  /* 背景用（上半分だけ色） */
  .event-party-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: #458C27;
    z-index: 0;
  }

  .event-party-image {
    position: relative;
    z-index: 1; /* 背景より前 */
    top:50px;
    width: 330px;
    height: 330px;
    margin: auto;

    /* 背景色を全体に */
    background-color: #458C27;

    display: flex;
    align-items: flex-end; /* 画像を下側に寄せる */
    justify-content: center;
  }

  .event-party-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* 枠いっぱいに表示 & 中央を基準にトリミング */
    object-position: center; /* 中央寄せ（デフォルト） */
  }

  .event-party h2,
  .event-party p{
    padding:10px;
  }

  .event-party-doc-wrap{
    padding: 10px;
    margin: auto;
}

  .event-party>div {
    max-width: inherit;
    margin: auto;
    width: 87%;
  }

  .event-party p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0px;
  }

  .event-party p.btn-plan{
    font-size: 20px;
    width: 340px;
    margin: auto;
  }

  .event-party h2 {
    font-size: 64px;
  }

  /* Contact */
  .contact {
    padding-left:10px;
    padding-right:10px;
    margin-bottom: 30px;
    width:100%;
  }

  .contact h2 {
    width: 100%;
    margin:auto;
    font-size:30px;
    width: 340px;
  }

  .contact p {
    padding: 0px 15px 0px;
    margin: 20px auto;
    font-size:16px;
  }

  .contact .tel {
      min-width: 380px;
      max-width: 380px;
      font-family: 'Noto Sans Mono', sans-serif;
      text-align: left;
      margin-left: 0px;
      text-align: center;
  }

  .contact .tel .number {
    margin-bottom: 0px;
  }

  .contact .tel .time {
      font-size: 16px;
      font-family: sans-serif;
      color: #333;
      text-align: center;
      margin: 0px auto;
  }

  .contact-content {
    width: 340px;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .contact-content>div {
    width: 100%;
  }

  .contact button {
    width: 100%;
  }

  .contact-form {
    margin-bottom: 20px;

  }

  /* Access */
  .access {
    padding: 0px;
  }

  .access h2{
    font-size:48px;
  }

  .access p {
    margin-bottom: 0px;
    font-size:16px;
  }

  .access-content {
    width:100%;
    flex-direction: column;
    gap:0px;
    /* ← スマホは強制的に縦 */
  }

  .access-map,
  .access-text {
    width: 100%;
    /* ← 横幅固定を解除 */
    order: initial;
    /* ← PC用orderをリセット */
  }

  .access-content iframe {
    max-width: 100%;
    margin: 0 auto;
  }

  .access-train {
    width: auto;
    display: inline-block;
    margin: 10px auto;
  }

  .access-train h3 {
    width: 100%;
    padding: 5px;
  }

  .access-train .note {
    margin-top: 10px;
    text-decoration: underline;
  }

  .access-text {
    text-align: center;
  }

  .event-page .plan_doc,
  .event-page section,
  .party-page .plan_doc,
  .party-page section,
  .terms-page .plan_doc,
  .terms-page section{
    padding-left:10px;
    padding-right:10px;
  }

  .event-page .plan-price-wrap{
    width:100%;
    margin-bottom: 50px;
  }

  .event-page .plan-price-wrap .point{
    font-size:16px;
    margin: 1rem auto 2rem;
  }

  .term-wrap h3{
    font-size:18px;
    margin-bottom:1rem;
  }
  .term-wrap ul{
    margin-bottom:1rem;
  }

  .photo-item.tall,
  .photo-item.wide{
    grid-row: span 1;
    grid-column: span 1;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 30px 20px;
  }

  footer .footer-top {
    display: flex;
    justify-content: space-between; /* 左右に分散配置 */
    align-items: flex-start;
    gap:0px;
  }
  footer .footer-logo {
    margin-right: auto; /* 左寄せ */
    margin-left:auto;
  }
    footer .footer-info {
    text-align: left;
  }

  footer .footer-info .site-name {
    display: block;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:16px;
  }

  footer .footer-info .menu {
    list-style: none;
    padding: 0;
    margin: 30px auto 30px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 24px;
    width: 330px;
    justify-content: center;
  }

  footer .menu li {
    text-align:left;
    position: relative;
    padding-left: 1.2em;
    line-height: 1.5; /* テキスト行間を確保 */
  }

  footer .menu li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;                /* 高さの中央基準 */
    transform: translateY(-50%); /* 上下中央に */
    color: #fff;             /* 色を指定 */
    font-size: 0.9em;        /* 必要に応じて調整 */
  }

  footer .footer-info {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .to-top-btn {
    position: fixed;
    bottom: 5%;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #458C27;
    opacity: 0.8;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 100000;
  }

  .to-top-btn::before {
    content: "";
    border: solid #fff;
    border-width: 0 3px 3px 0;
    padding: 8px;
    transform: rotate(-135deg); /* 上矢印 */
  }
}

.modal-image{
  cursor:pointer;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  margin: auto;
}

/* 閉じる・次・前 */
.close-btn,
.prev-btn,
.next-btn {
  position: absolute;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

.close-btn { top: 20px; right: 35px; }
.prev-btn { top: 50%; left: 30px; transform: translateY(-50%); }
.next-btn { top: 50%; right: 30px; transform: translateY(-50%); }

.close-btn:hover,
.prev-btn:hover,
.next-btn:hover {
  color: #ccc;
}
