/*
Theme Name: Hotell Child
Template: hotell
*/

/* ここからcss */

.custom-footer {
  background: #055133 !important;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.custom-footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  opacity: 0.8;
}

.custom-footer a:hover {
  opacity: 1;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.site-title a {
	color: #055133;
}
.site-footer {
	background-color: #005133;
}

/* --- 固定ヘッダー（sticky header）設定 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff; /* 背景色（透明だと下の内容が透ける場合がある） */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* スクロール時の軽い影 */
}

/* ===== 固定ナビバー（常に上に固定） ===== */
.sticky-nav {
  position: fixed; /* ← 追随固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #ffffff;
  border-bottom: 2px solid #055133;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 10px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ヘッダーと被らないように上に余白を追加 */
body {
  padding-top: 60px; /* ヘッダー＋ナビ高さに合わせて調整 */
}

/* ナビバーの中身 */
.sticky-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.sticky-nav a {
  text-decoration: none;
  color: #055133;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sticky-nav a:hover {
  color: #009966;
}

.reserve-btn {
  background-color: #055133;
  color: white !important;
  padding: 8px 18px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.reserve-btn:hover {
  background-color: #007a55;
}

/* ===== スクロール時の軽いアニメーション ===== */
.sticky-nav.scrolled {
  background-color: rgba(255,255,255,0.9);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .sticky-nav ul {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
  }

  body {
    padding-top: 80px;
  }
}
/* ===== 疑似ヘッダー（固定） ===== */
.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 2px solid #055133;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 10px 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== サイトタイトル ===== */
.site-title a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #055133;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.site-title a:hover {
  color: #007a55;
}

/* ===== ナビゲーション ===== */
.site-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #055133;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #009966;
}

/* ===== 予約ボタン ===== */
.reserve-btn {
  background-color: #055133;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.reserve-btn:hover {
  background-color: #007a55;
}

/* ===== スクロール時（背景半透明） ===== */
.custom-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== コンテンツの上に被らないように余白 ===== */
body {
  padding-top: 70px; /* ヘッダー高さに合わせて調整 */
}

.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}


/* ===== スマホ対応 ===== */
@media (max-width: 767px) {
	.site-title a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw; /* 必要に応じて調整 */
    display: block;
	}
	
   .header-inner {
	   display: flex;
	   flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
 .site-nav {
    overflow-x: auto;
    white-space: nowrap;
    flex-grow: 1;
  }
  .site-nav ul {
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    margin: 0;
  }

  /* メニュー文字サイズ */
  .site-nav a {
    font-size: 0.9rem;
  }
	.site-title {
    flex-shrink: 0;
  }
  .site-title a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 45vw; /* タイトルが長いときは調整 */
  }
	/* ハンバーガーアイコン */
  .hamburger {
    font-size: 32px;
    cursor: pointer;
    display: block;
    z-index: 1002;
    padding: 4px 10px;
  }

  /* 初期はナビ非表示 */
  .mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    z-index: 1001;
    text-align: center;
  }

  /* ✅ チェックON時に表示 */
  .nav-toggle:checked ~ .mobile-nav {
    display: block;
  }

  /* メニュー縦並び */
  .mobile-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
  }
}

/* スクロール時のスムーズな表示補正 */
body {
  scroll-padding-top: 80px; /* ヘッダーの高さ分（調整可） */
}


/* --- パンくずリストを非表示 --- */
.breadcrumb-wrapper {
  display: none !important;
}

/* ===== メイン画像エリア ===== */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin-bottom: 80px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; と同じ */
  background: linear-gradient(
    rgba(0, 0, 0, 0.10), /* 上部を少し暗く */
    rgba(0, 0, 0, 0.30)  /* 下部をより暗く */
  );
  z-index: 1;
}

.hero-image-wrapper {
  width: 100%;
  max-height: 100vh; /* 高さは画面いっぱいまで */
  overflow: hidden;
}

.hero-bg {
  width: 100%;        /* 横幅に合わせて自動調整 */
  height: auto;       /* アスペクト比を保持 */
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  width: 90%;
  max-width: 600px;
}

.hero-overlay h1 {
  font-size: 3em;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
	color: whitesmoke;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .hero-overlay h1 {
    font-size: 1.6em;
  }
}

.pseudo-footer {
  width: 100vw !important; /* 画面幅いっぱい */
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  box-sizing: border-box;
  background: #055133;
  color: #fff;
  text-align: center;
  margin-top: 80px;
}

.pseudo-footer .footer-inner {
  max-width:900px;
  margin:auto;
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
}

.pseudo-footer img {
  max-width:150px;
  margin-bottom:20px;
}

.pseudo-footer a {
  color:#fff;
  margin:0 10px;
  text-decoration:none;
  font-weight:600;
}

.pseudo-footer a:hover {
  opacity:0.7;
}

.footer-copy {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.8;
}
.footer-sns a {
  display: inline-block;
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.footer-sns svg {
  width: 30px;
  height: 30px;
  transition: 0.3s ease;
}

.footer-sns a:hover svg {
  opacity: 0.7;
  transform: scale(1.1);
}

.footer-nav a {
  color: #fff;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.footer-nav a:hover {
  opacity: 0.7;
}
@media (max-width: 768px) {
  .pseudo-footer {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-section h2 {
	margin-bottom: 90px;
	text-align: center;
}

.faq-section h3 {
	position: relative;
	padding: 0 65px;
	text-align: center;
	color: #055133
}

.faq-section h3:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: #055133;
}

.faq-section h3 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: #f8f8f8;
  border: none;
  padding: 15px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
  color: #055133;
}
.faq-question:hover{
	background-color: #055133;
	color: white;
}

.faq-question.active {
  background: #055133;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 10px 15px;
  margin: 0;
}

.page-grid {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.custom-facilities p{
	margin-bottom: 0px !important;
}

/* front-page */
.custom-facilities {
  --main-green: #055133;
  position: relative;
  padding: 30px 20px;
  text-align: center;
  color: #333;
  background: linear-gradient(180deg, #f8f9f8 0%, #eef2ef 100%);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  isolation: isolate;
  z-index: 0;
  margin-top: 20px; /* custom-facilitiesとの間に余白 */
  border-top: 4px solid var(--main-green); /* 視覚的に区切る */
}

.custom-facilities::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(5,81,51,0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(5,81,51,0.04) 0%, transparent 40%);
  z-index: -1;
}
.custom-facilities + .custom-facilities {
  margin-top: 40px;
  border-top: 3px solid var(--main-green);
}

.custom-facilities__title {
  color: var(--main-green);
  font-size: 2.8rem;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

.custom-facilities__category {
margin-bottom: 60px;
}

.custom-facilities__category-title {
  font-size: 1.6em;
  color: var(--main-green);
  margin: 20px 0 20px;
  display: inline-block;
  border-bottom: 2px solid var(--main-green);
  padding-bottom: 6px;
}

/* === カード === */
.custom-facilities__item {
background: #fff;
border-radius: 10px;
display: flex;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-facilities__item:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.container-a {
  --item-width: 600px;
  --item-height: 400px;
  width: var(--item-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  /* 各パーツ配置をグリッドでレイアウト */
  display: grid;
  grid-template-areas: "item item item" "left markers right";
  grid-template-columns: 1fr 2fr 1fr;
}

/* ----------------------*
 * カルーセル
 * ----------------------*/
.carousel-a {
  width: 100%;
  display: grid;
  /* アイテムを横並びにする */
  grid-auto-flow: column;
  grid-area: item;
  /* 次のスライドとの間隔 */
  gap: 120px;
  overflow-x: auto;
  /* X方向にスナップ */
  scroll-snap-type: x mandatory;
  /* 1度に1枚ずつ移動 */
  scroll-snap-stop: always;
  /* スムーズにスクロールさせる */
  scroll-behavior: smooth;
  /* インジケーターの表示 */
  scroll-marker-group: after;
  /* スクロールバー非表示 */
  scrollbar-width: none;

  /* 前へ・次へボタン */
  &::scroll-button(*) {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    padding: 0;
    border: 1px solid #055133;
    transition: background-color 0.2s, color 0.2s;
  }

  /* ホバー時スタイル */
  @media (any-hover: hover) {
    &::scroll-button(*):not(:disabled):hover {
      background-color: #055133;
      color: #055133;
      cursor: pointer;
    }
  }
  /* 非活性時スタイル */
  &::scroll-button(*):disabled {
    color: darkgray;
    border: 1px solid lightgray;
  }

  /* 前へボタン */
  &::scroll-button(left) {
    /* コンテンツ / 代替テキスト */
    content: "◀" / "前へ";
    grid-area: left;
    justify-self: end;
  }

  /* 次へボタン */
  &::scroll-button(right) {
    /* コンテンツ / 代替テキスト */
    content: "▶" / "次へ";
    grid-area: right;
  }

  /* インジケーター（コンテナー） */
  &::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    grid-area: markers;
    align-items: center;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
}

/* カルーセルを少し左に寄せて中央に見せる */
.carousel-a {
  position: relative;
  left: -45px; /* ← 調整値。10〜30pxの間でお好みで調整 */
}

/* ----------------------*
 * カルーセルの画像アイテム
 * ----------------------*/
.item-ca { 
  width: var(--item-width); 
  min-width: var(--item-width); 
  height: var(--item-height); 
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: calc((100% - 4 * 40px) / 5);   /* 5枚並び用 */
  aspect-ratio: 4 / 3;

  /* インジケーター */
  &::scroll-marker {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    color: #055133;
    background-color: lightgray;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
  }

  /* インジケーターのカレントスタイル */
  &::scroll-marker:target-current {
    background-color: #055133;
  }

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

@media (max-width: 768px) {
  .section__title {
    font-size: 2em;
  }
.custom-facilities__title { 
font-size: 2em;
 }
  .container-a {
    --item-width: 100vw;
    --item-height: 65vw;
    width: 100%;
    overflow: hidden;
    display: block;
  }

  .carousel-a {
    display: flex;
    gap: 0 !important;
    width: 100vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .item-ca {
    width: 100vw !important;
    min-width: 100vw !important;
    height: 65vw !important;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .item-ca img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}
.amenities {
  --main-green: #055133;
  background: #f8f8f8;
  padding: 30px 20px;
  text-align: center;
  color: #333;
  position: relative;
  isolation: isolate;
  margin-top: 40px; /* custom-facilitiesとの間に余白 */
  border-top: 4px solid var(--main-green); /* 視覚的に区切る */
}

.amenities__title {
  color: var(--main-green);
  font-size: 2.8em;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.amenities__intro {
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
  font-size: 1.1em;
}

.amenities__category {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.amenities__category-title {
  color: var(--main-green);
  font-size: 1.6em;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--main-green);
  display: inline-block;
  padding-bottom: 6px;
}

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

.amenities__category li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.amenities__category li::before {
  content: "・";
  color: var(--main-green);
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== アメニティセクション内：テーマの矢印を完全除去 ===== */
.amenities ul,
.amenities ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.amenities li {
  position: relative !important;
  padding-left: 20px !important;
  margin-bottom: 10px !important;
  line-height: 1.6 !important;
}

/* テーマが擬似要素で矢印を付けている場合 */
.amenities li::before,
.amenities li::after,
.amenities li::marker {
  content: none !important;
  background: none !important;
  border: none !important;
}

/* 新しい装飾（緑のドット）を追加 */
.amenities li::before {
  content: "•" !important;
  color: var(--main-green, #055133) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  font-size: 1.2em !important;
  line-height: 1 !important;
}


/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .amenities__title { font-size: 2em; }
  .amenities__intro { font-size: 1em; padding: 0 10px; }
  .amenities__category { padding: 20px; }
}

.access {
  max-width: 900px;
  margin: 0px auto;
  padding: 0 20px;
  text-align: center;
}

.map {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 比率 */
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-text p {
  margin: 1em 0;
}