/* CSS Variables */
:root {
  /* Colors - HSL format */
  --primary: 142 76% 36%;
  --primary-glow: 142 68% 45%;
  --purple: 258 90% 66%;
  --purple-deep: 258 90% 50%;
  --sky-light: 197 71% 73%;
  --mountain-light: 142 33% 82%;
  --foreground: 222 84% 5%;
  --background: 0 0% 100%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 197 71% 73%;
  --accent-foreground: 222 84% 5%;
  --border: 214 32% 91%;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-purple: linear-gradient(135deg, hsl(var(--purple)), hsl(var(--purple-deep)));
  --gradient-sky: linear-gradient(180deg, hsl(var(--sky-light)), hsl(var(--mountain-light)));

  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
  --shadow-glow: 0 0 40px hsl(var(--primary-glow) / 0.4);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* === ページ全体のスクロールバーを非表示（スクロールは有効のまま） === */
html, body{
  -ms-overflow-style: none;   /* IE/旧Edge */
  scrollbar-width: none;      /* Firefox */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;              /* Chrome/Safari/新Edge */
}

/* 任意：特定の要素だけ隠したい時用 */
.scrollbar-none{
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar{
  display: none;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  transition: var(--transition-smooth);
  background: transparent;
}

.header {
  height: 80px; /* ←実際の高さに合わせて */
}

main {
  padding-top: 80px; /* ヘッダー高さと一致させる */
}

@media (max-width: 600px) {
  header {
    height: 80px;
  }
  main {
    padding-top: 80px;
  }
}


/* === Header menu: never wrap labels (JP/CJK safe) === */
.header .logo,
.header .nav-item,
.header .nav-item span,
.header-actions .btn,
.header .lang-current {
  white-space: nowrap;
  word-break: keep-all;      /* 日本語/中国語などでも自動改行させない */
}
.nav, .header-actions { flex-wrap: nowrap; }
.nav-item { flex: 0 0 auto; min-width: max-content; }
.header-actions .btn { flex: 0 0 auto; min-width: max-content; }


.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  transition: var(--transition-smooth);
}

.header.scrolled .logo {
  color: hsl(var(--foreground));
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  transition: var(--transition-smooth);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-item:hover {
  color: hsl(var(--accent));
}

.header.scrolled .nav-item {
  color: hsl(var(--foreground));
}

.nav-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* アイコンを重ねる箱 */
.nav-icon-box { display: inline-grid; place-items: center; }

/* 初期（スクロール前）：白だけ表示、黒は隠す */
.nav-item .icon--light { display: inline-block; }
.nav-item .icon--dark  { display: none; }

/* スクロール後（header.scrolled）：黒だけ表示、白は隠す */
.header.scrolled .nav-item .icon--light { display: none; }
.header.scrolled .nav-item .icon--dark  { display: inline-block; }

/* 既存サイズにフィット（必要なら微調整） */
.nav-icon { width: 1.25rem; height: 1.25rem; }


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.0rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 750px以下で「営業・運行状況」ボタンだけに適用 */
@media (max-width: 750px) {
  a.btn.btn-primary[href$="#status"] {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}
@media (min-width: 750px) {
  .btn-primary {
    padding: 0.5rem 1rem !important;
  }
}
/* スマホサイズ（540px以下）のとき */
@media screen and (max-width: 540px) {
  /* ロゴ */
  .header .logo {
    font-size: 20px;   /* 通常より少し小さめ */
  }

  /* 言語切替ボタン */
  .lang-dropdown {
    font-size: 0.9rem;   /* テキストサイズを少し小さく */
    padding: 6px 12px;   /* ボタンの余白も少し縮める */
  }

  /* 営業・運行状況ボタン */
  .btn btn-primary{
    font-size: 0.9rem;
    padding: 6px 14px;
  }

  /* ハンバーガーメニュー */
  .hamburger-btn {
    width: 39px;     /* アイコンの幅を少し小さめ */
    height: 39px;    /* 高さも小さめ */
  }

  /* アイコン（例：FontAwesomeやSVG）を使っている場合 */
  .header i,
  .header svg {
    font-size: 24px; /* アイコンサイズを少し縮小 */
  }
  .header-content{
    column-gap: 10px !important;
  }
}


.header.scrolled .btn-outline {
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}

.header.scrolled .btn-outline:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.header.scrolled .btn-primary {
  background: hsl(var(--primary));
  color: white;
}

.header.scrolled .btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

/* ==== Header layout tweaks ==== */

/* ボタンの共通幅（必要なら数値だけ変えてOK） */
:root{
  --hdr-btn-w: 160px;
}

/* ヘッダー内の3カラム：左=ロゴ / 中央=アイコンメニュー / 右=アクション */
.header-content{
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 40px; /* お好みで調整 */
}

/* ロゴ全体 */
.logo {
  position: relative;
  width: 180px;  /* 元の文字と同じくらいの幅に調整 */
  height: auto;
  display: inline-block;
}

/* ロゴ画像を重ねて配置 */
.logo__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

/* 初期状態：白ロゴ表示、黒ロゴ非表示 */
.logo--white {
  opacity: 1;
  z-index: 2;
}
.logo--black {
  opacity: 0;
  z-index: 1;
}

/* スクロール後：黒ロゴ表示、白ロゴ非表示 */
.header.scrolled .logo--white {
  opacity: 0;
}
.header.scrolled .logo--black {
  opacity: 1;
}

/* アイコンメニュー（.nav）を左寄せに配置 */
.nav{
  /* 左のロゴの直後に配置（中央寄せしない） */
  justify-self: auto;
  display: flex;
  align-items: center;
  gap: 33px;                 /* アイコン間隔：右側画像に寄せた間隔 */
  margin: 0;                 /* 中央寄せを解除 */
  margin-left: 50px;         /* ロゴからの距離 */
  flex-wrap: nowrap;         /* 2行に折り返さない */
}

/* no-wrap labels */
.nav-item, .nav-item span{ white-space: nowrap; }


/* 右端寄せのアクション領域（Language / 運行状況） */
.header-actions{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 50px; /* 2ボタンの間隔 */
}

/* 2ボタンの幅を近づける（=そろえる） */
.header-actions .btn{
  width: var(--hdr-btn-w);
  justify-content: center;
}

/* Language ドロップダウンのボタン幅も合わせる */
.lang-dropdown{ width: var(--hdr-btn-w); }
.lang-btn{ width: 100%; }  /* .lang-dropdown 内のボタンを親幅にフィット */

/* ドロップメニューは“ボタン幅”のまま */
.lang-menu{ width: 100%; }

/* （任意）狭い画面で窮屈な場合の縮小ブレークポイント */
@media (max-width: 390px){
  :root{ --hdr-btn-w: 140px; }
}

/* === Mobile menu base === */
.mobile-menu{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8);          /* 黒・80% */
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transform: translateX(10%);          /* 右→左へ出てくる感じ */
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  display: flex; flex-direction: column;
}
.mobile-menu.is-open{
  opacity: 1; visibility: visible;
  transform: translateX(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

/* 閉じるボタン（右上） */
.mobile-menu__close{
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer;
}

/* 縦並び・白アイコン＋白文字（横並びのレイアウトは維持） */
.mobile-menu__list{
  list-style: none; margin: 72px 20px 24px; padding: 0;
  display: grid; gap: 16px;
}
/* Defensive: hide list unless overlay is open */
.mobile-menu:not(.is-open) .mobile-menu__list { display: none; }

.mobile-item{
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 12px 8px; border-radius: 12px;
}
.mobile-item:hover{ background: rgba(255,255,255,.08); }
.mobile-item__icon{ width: 22px; height: 22px; color: #fff; }

/* ハンバーガーボタン */
.hamburger-btn{
  display: none; /* PCでは非表示 */
  background: transparent; border: 1px solid rgb(55 53 53 / 40%);
  color: currentColor; border-radius: 10px; padding: 8px 10px; cursor: pointer;
}

/* モバイル：中央ナビを消して、アクション右寄せ＋ハンバーガー表示 */
@media (max-width: 1024px){
  .nav{ display: none !important; }            /* デザイン継承を削除 */
  .header-actions{ justify-self: end; display: flex; gap: 10px; }
  .hamburger-btn{ display: inline-flex; align-items: center; }
}


.btn-hero {
  background: hsl(var(--purple));
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: var(--shadow-elegant);
  transform: translateY(0);
}

.btn-hero:hover {
  background: hsl(var(--purple-deep));
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px) scale(1.05);
}

.btn-outline-white {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  background: white;
  color: hsl(var(--foreground));
}

.btn-ghost {
  color: hsl(var(--accent));
  background: transparent;
}

.btn-ghost:hover {
  color: hsl(var(--accent-foreground));
  background: hsl(var(--accent));
}

/* ▼ 言語ドロップ専用（既存スタイルは変更しない） */
.lang-dropdown{ position: relative; display: inline-block; }
.lang-btn{ display:inline-flex; align-items:center; gap:.5rem; }

/* 開閉アニメ＆レイヤー。メニュー幅=ボタン（親）幅 */
.lang-menu{
  position:absolute; left:0; top:calc(100% + 8px);
  width:100%;
  background:#fff; color:#111;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px; box-shadow:0 10px 24px rgba(0,0,0,.15);
  overflow:hidden;
  opacity:0; transform:translateY(-4px);
  pointer-events:none;
  transition:opacity .15s ease, transform .15s ease;
  z-index:1100; /* ヘッダーより上に */
}
.lang-dropdown.open .lang-menu{
  opacity:1; transform:translateY(0); pointer-events:auto;
}

.lang-item{
  display:block; width:100%;
  padding:10px 12px;
  color:#111; text-decoration:none;
}
.lang-item:hover, .lang-item:focus{ background:#f2f5ff; outline:none; }

/* 選択中 */
.lang-item.is-active{ background:#2563eb; color:#fff; }

/* 矢印を回転（任意） */
.lang-dropdown.open .btn-icon{ transform:rotate(180deg); transition:transform .15s ease; }


/* Dot Navigation */
.dot-navigation {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.25);
}

.dot.active {
  background: white;
  transform: scale(1.25);
  box-shadow: var(--shadow-card);
}

/* 右下に3つを横並び配置 */
.sns-fixed-container {
  position: fixed;
  right: max(16px, env(safe-area-inset-right)); /* 右端固定 */
  bottom: max(16px, env(safe-area-inset-bottom)); /* 下端固定 */
  display: flex;          /* 横並びにする */
  gap: 12px;              /* ボタンの間隔 */
  z-index: 3000;
}

/* 各ボタン共通スタイル */
.sns-fixed-btn {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  text-decoration: none;
  border-radius: 35px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.sns-fixed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* アイコン画像 */
.sns-fixed-btn__icon {
  width: 50px;
  height: 50px;
  pointer-events: none;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .sns-fixed-container {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }
  .sns-fixed-btn {
    width: 52px;
    height: 52px;
  }
  .sns-fixed-btn__icon {
    width: 40px;
    height: 40px;
  }
}

/* 1024px以下：ヘッダーの言語/営業・運行状況ボタンを非表示に */
@media (max-width: 1024px) {
  .header .lang-dropdown { display: none !important; }
  .header .btn.btn-primary { display: none !important; }

  .mobile-lang-dropdown.lang-dropdown{
    display: block;      /* inline-block → block に上書き */
    width: 100%;
  }
  /* ボタン自体も全幅＆中央寄せ */
  .mobile-lang-dropdown .lang-btn{
    width: 100%;
    justify-content: space-between;
    display: block;
     /* アイコンと文字に余裕を作る（任意） */
  }
  /* ドロップメニューも同幅で左端揃え */
  .mobile-lang-dropdown .lang-menu{
    width: 100% !important;
    left: 0;
  }
  .header-content {padding: 1.25rem;}
  .header-container {display: block; background: none;}
  .btn-outline {color: #fff;
  font-size: 0.85rem !important;}
  /* 例: hover時に色変化しない */
.btn-outline:hover {
  background: inherit !important;
  color: i#fff !important;
  transform: none !important;
  box-shadow: none !important;
}

  }


/* ================================================
   1350px 以下：ヘッダーを詰めてコンパクト表示
   （1024px以下は既存どおりハンバーガーに切替）
   ================================================ */
@media (max-width: 1350px) and (min-width: 1025px){

  /* 余白を詰める */
  .header-container{ padding: 0 1rem; }
  .header-content{ padding: .75rem 0; column-gap: 20px; }

  /* ロゴ少し縮小 */
  .header .logo{ font-size: 1.25rem; }

  /* ナビの詰め */
  .nav{
    gap: 18px;          /* 33px → 18px */
    margin-left: 20px;  /* 50px → 20px */
  }

  /* ナビ文言とアイコンを少しコンパクトに */
  .nav-item{ font-size: .82rem; gap: .4rem; }
  .nav-icon{ width: 1.05rem; height: 1.05rem; } /* 16.8px相当 */

  /* 右側アクション（言語/運行状況）も詰める */
  .header-actions{ gap: 16px; }

  /* 共通ボタンの内側余白を少しだけ減らす */
  .btn{ padding: .45rem .6rem; }

  /* 可変幅にしてはみ出しにくくする — きっちり揃えたいならコメントアウト */
  :root{ --hdr-btn-w: 148px; }
  .header-actions .btn{ width: auto; min-width: 132px; }

  /* Language ドロップの幅も可変寄りに */
  .lang-dropdown{ width: auto; min-width: 132px; }
  .lang-menu{ width: 100%; }  /* ボタン幅に追従 */

  /* さらに狭まった時の最終調整（任意） */
  @media (max-width: 1180px){
    .nav{ gap: 14px; }
    .nav-item{ font-size: .78rem; }
    .nav-icon{ width: 1rem; height: 1rem; }
    .header-actions .btn,
    .lang-dropdown{ min-width: 120px; }
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4));
}

.bg-cover{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;   /* 新しいモバイル環境での正確なビューポート高さ */
  object-fit: cover;        /* 余白なしでフィット */
  object-position: center;  /* 中央基準でトリミング */
  z-index: -1;
}


.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-details {
  margin-bottom: 2rem;
}

.hero-date {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-date {
    font-size: 1.875rem;
  }
}

.hero-subtitle-2 {
  font-size: 1.25rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero-subtitle-2 {
    font-size: 1.5rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 0.25rem;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.125rem;
  margin-top: 0.5rem;
  animation: pulse 2s infinite;
}


/* News Section */
.news-section {
  min-height: 100vh;
  padding: 5rem 0;

    /* 背景画像を指定 */
  background-image: url("./image/other/News.jpg");

  /* 背景をきれいに表示する設定 */
  background-size: cover;      /* 画面いっぱいに広げる */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat;/* 繰り返さない */
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 2.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.75rem;
  }
}

/*.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 112rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}*/

.news-card {
  overflow: hidden;
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.news-card:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-0.5rem);
}

.news-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.news-date-icon {
  width: 1rem;
  height: 1rem;
}

.news-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-category {
  display: inline-block;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-footer {
  padding: 0 1.5rem 1.5rem;
}

.news-footer .btn {
  width: 100%;
}
/* 旧グリッドを無効化（残している場合） 
.news-grid{ display:none !important; }*/

/* セクション余白・背景（任意で既存を活用） */
.news-section{ min-height: 100vh;     
  position: relative;
    color: #fff;
    overflow: hidden;
    padding: 80px 0; }
/* =========================================================
   NEWS — 基本レイアウト（共通）
   ========================================================= */
.news-carousel{
  position: relative;
  width: 100%;
  margin: 0 auto;
  --gap: 40px;
  --peek: 120px;
  --card-w: 360px;     /* ← ①のレイアウト画像と完全一致 */
}

.news-carousel-full {  /* ← 新規追加 */
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.news-viewport{
  overflow: hidden;
  padding-inline: var(--peek);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.news-track{
  display: flex;
  gap: var(--gap);
  align-items: flex-start;  /* ← カードを“必ず上揃え” */
  transition: transform .6s ease;
  will-change: transform;
}

/* カード（PC） */
@media (min-width: 1024px){
  .news-card{
    flex: 0 0 var(--card-w);
    max-width: var(--card-w);
  }
}

/* 表示崩れ防止 */
.news-card{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: .3s;
  height: 480px;
}
.news-card:hover{
  transform: translateY(-6px);
}

/* 画像比率を合わせる（①と同じ16:9） */
.news-image{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.news-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   ドット
   ========================================================= */
.news-dots{
  display:flex; justify-content:center; gap:10px; margin-top:22px;
}
.news-dot{
  width: 8px; height: 8px; border-radius: 9999px; border:none; cursor:pointer;
  background: rgba(255,255,255,.45); transition: transform .2s ease, background-color .2s ease;
}
.news-dot.active{ background:#fff; transform: scale(1.2); }



/* =========================================================
   矢印（PC はホバー表示）
   ========================================================= */
.news-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

/* chira 見せ位置 */
.news-arrow.prev{ left: -80px; }
.news-arrow.next{ right: -80px; }

/* PC：ホバーで表示 */
@media (min-width: 1024px){
  .news-carousel:hover .news-arrow{
    opacity: 1;
    pointer-events: auto;
  }
}
/* =========================================================
   PC（3枚表示＋中央揃え＋ホバーで矢印表示）
   ========================================================= */
@media (min-width: 768px) {

  .news-carousel{
    --gap: 40px;          /* カード間隔 */
    --peek: 120px;        /* 左右のチラ見せ */
       --card-w: calc((1400px - (var(--peek)*2) - (var(--gap)*2)) / 3);
  }

  /* カード幅（3枚キッチリ） */
  .news-card{
    flex: 0 0 var(--card-w);
    max-width: var(--card-w);
  }

  /* ====== 矢印（PC：ホバー時のみ表示） ====== */
  .news-arrow{
    opacity: 0;
    pointer-events: none;
    transition: .3s;
  }

  .news-carousel:hover .news-arrow{
    opacity: 1;
    pointer-events: auto;
  }

  /* PC の矢印位置（左右） */
  .news-arrow.prev{
    left: -80px;
  }
  .news-arrow.next{
    right: -80px;
  }
}

/* =========================================================
   モバイル（1枚表示＋矢印常時表示）
   ========================================================= */
@media (max-width: 768px){
  .news-carousel{
    --gap: 20px;
    --peek: 40px;
    --card-w: calc(100% - (var(--peek) * 2));
  }
  .news-card{
    flex: 0 0 var(--card-w);
    max-width: var(--card-w);
    height: 400px !important;
  }

  /* モバイルは矢印を「常に表示」 */
  .news-arrow{
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .news-arrow.prev{ left: 4px; }
  .news-arrow.next{ right: 4px; }
}



/* ------------- 全画面セクション（スノーランド） ------------- */
.snow-land {
  position: relative;
  color: #000;
  overflow: hidden;
  height: 100vh;
  background-color: #fff;
  min-height: 100vh;

  /* 中央配置（縦並び） */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* 背景画像 */
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.20),
      rgba(0, 0, 0, 0.20)
    ), url("../image/other/snow-land-backgrand.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* コンテナ（縦方向に中央揃え） */
.snow-land__container {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* 適度な間隔 */
}

/* タイトル */
.snow-land__title {
  font-size: 50px;
  color: #fff;
}

/* ロゴ画像 */
.snow-land__logo {
  width: 335px;
  max-width: 70%;
}

/* 日付 */
.snow-land__date {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
}

/* ボタン */
.snow-land__btn {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 28px;
  background: #a9b8ff;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.25s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}
.snow-land__btn:hover {
  opacity: 0.9;
}

/* SP */
@media (max-width: 480px) {
  .snow-land__title {
    font-size: 26px;
  }
  .snow-land__date {
    font-size: 18px;
  }
  .snow-land__btn {
    font-size: 18px;
    padding: 16px 50px;
  }
}

/* PC */
@media (min-width: 760px) {
  .snow-land__btn {
    font-size: 23px;
    padding: 24px 52px;
    border-radius: 90px;
  }
}


/*/*<section id="course-guide" class="course-guide" aria-label="course guide">
<div class="course-guide__container">
  <a href="./course-price/courses-pricing.html" class="course-guide__btn">
    コースガイドはこちら →
  </a>
</div>
</section>
 .course-guide { position: relative; color: #000; overflow: hidden; height: 100vh; background-color: #fff; min-height: 100vh; display: flex; justify-content: center; align-items: center; background-image: linear-gradient( rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35) ),url("../image/other/course-3.jpg"); background-size: cover;background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: {center; text-align: center; } .course-guide__btn { display: inline-block; padding: 12px 28px; border-radius: 28px; background: #a9b8ff; color: #fff; text-decoration: none; font-weight: 700; transition: opacity 0.25s; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); display: flex; justify-content: center; align-items: center; } .course-guide__btn:hover { opacity: 0.9; } .course-guide__container { z-index: 1; text-align: center; } @media (max-width: 480px) { .course-guide__btn { font-size: 20px; padding: 17px 70px; } } @media (min-width: 760px) { .course-guide__btn{font-size: 23px; padding: 24px 52px; border-radius: 90px;} }*/



/* イベントセクション全体（ヒーローブロック扱い） */
.events-section {
  padding: 80px 0;  /* ← ホームのスクロール位置ズレ防止指定 */
  background-image: url("../image/other/News.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

/* 複数コンテナ（1つ目：レディースデー / 2つ目：こどもの日） */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
  margin-top: 50px;
}

/* セクション見出し */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
  margin-bottom: 32px;
  margin-top: 40px;
}

/* カードを並べるラッパー */
.events-grid {
  display: flex;              /* 横に並べる */
  overflow-x: auto;           /* 横スクロール */
  gap: 32px;                  /* カラム間の隙間 */
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  width: 100%;
}

/* 縦2枚セット（無名のdiv） */
.events-grid > div {
  display: flex;
  flex-direction: column;
  gap: 24px;

  /* ★ 画面にピッタリ1ブロックだけ見せるポイント */
  flex: 0 0 100%;        
  max-width: 100%;
  scroll-snap-align: start;
}

/* 各カード */
.event-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  text-align: center;
  width: 100%;
}


/* カード内テキスト */
.event-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

.event-description {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.event-price {
  background: rgba(0, 174, 12, 1);
  color: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  line-height: 1.4;
}

/* 日付メモ等を入れるとき用（今は未使用だけど残してOK） */
.event-dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.date-item {
  background: #e3f2fd;
  color: #1976d2;
  padding: 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

.event-note {
  color: #666;
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* レスポンシブ（スマホ） */
@media (max-width: 768px) {

  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .events-grid {
    gap: 24px;
  }

  .event-card {
    padding: 24px;
    border-radius: 14px;
  }

  .event-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .event-description {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .event-price {
    font-size: 14px;
  }

  .date-item {
    font-size: 12px;
    padding: 6px;
  }
  .events-grid::-webkit-scrollbar {
  display: none;                    /* スクロールバー非表示（スマホ風） */
}
}
@media (max-width: 768px) {
  .container {    margin-top: 47px;}
  .events-section .section-title {    margin-top: 60px; font-size: 24px;
}}



/* --- ベース: PC用 / 既存の見た目をキープしつつ安全化 --- */

/* セクション全体 */
.winter-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;        /* 中身を縦方向中央寄せ */
  justify-content: center;    /* 横方向中央寄せ */
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-sizing: border-box;
  color: #fff;
  padding: 80px 0;
}

/* 背景オーバーレイ（黒グラデ＋画像） */
.winter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4),
      transparent 40%,
      rgba(0, 0, 0, 0.6)
  );
  z-index: 0;
}
.winter-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  /* 画像に少し暗さが欲しければfilterを使える
     filter: brightness(0.9); */
}

/* 中身 */
.winter-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
  max-width: 66rem;     /* ~1056px */
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;  /* すべて中央に */
}

/* 上の "Contact ✦ ✦" 行 */
.winter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

.winter-icon {
  width: 2rem;
  height: 2rem;
  color: #fff;
}

/* 見出し お問い合わせ */
.winter-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

/* 説明テキスト */
.winter-description {
  font-size: 1.125rem;
  margin-bottom: 2.8rem;
  max-width: 32rem;
  line-height: 1.7;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

/* 3カードコンテナ */
.contact-cards {
  width: 100%;
  max-width: 1100px;       /* PC時の最大横幅 */
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* 各カード */
.contact-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  font-family: inherit;
  color: #1a1a1a;
  line-height: 1.5;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

/* カード内 各テキスト */
.contact-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.contact-card__address {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-card__tel {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  line-height: 1.5;
}
.contact-card__tel .label {
  color: #1a1a1a;
}
.tel-link {
  color: #059669;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #059669;
}
.open-hours {
  font-weight: 400;
  color: #666;
  white-space: nowrap;
  line-height: 1.4;
}

/* 小さな注記などが来る場合 */
.winter-date {
  font-size: 1.875rem;
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

/* 浮遊スノーパーティクル（必要なら使う） */
.floating-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.snow-particle {
  position: absolute;
  color: rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

/* -------------------------------------------------------
   ブレイクポイント1: 大きめ画面(>=1200px)
   PCでの見栄えを強化
   ------------------------------------------------------- */
@media (min-width: 1200px) {
  .winter-title {
    font-size: 3.5rem;
  }
  .winter-description {
    font-size: 1.25rem;
    max-width: 36rem;
  }
}

/* -------------------------------------------------------
   ブレイクポイント2: 1000px以下 (タブレット域)
   - タイトル少し小さく
   - カード3枚を横並びキープできる場合はそのまま
     ただし余白を少し圧縮
   ------------------------------------------------------- */
@media (max-width: 1000px) {
  .winter-section {
    background-attachment: scroll; /* 一部端末の固定バグ回避 */
    min-height: 100vh;
    position: relative;
    color: #fff;
    overflow: hidden;
    padding: 80px 0;
  }

  .winter-header {
    font-size: 1.1rem;
    gap: 0.5rem;
  }
  .winter-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .winter-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .winter-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 30rem;
  }

  .contact-cards {
    max-width: 900px;
    gap: 16px;
  }

  .contact-card {
    max-width: 280px;
    padding: 20px 20px;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.45);
  }

  .contact-card__title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .contact-card__address {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .contact-card__tel {
    font-size: 13px;
    gap: 4px;
  }

  .open-hours {
    font-size: 12px;
  }
}




/* Animations */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40%, 43% {
    transform: translateX(-50%) translateY(-10px);
  }
  70% {
    transform: translateX(-50%) translateY(-5px);
  }
  90% {
    transform: translateX(-50%) translateY(-2px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinning {
  animation: spin-slow 3s linear infinite;
}


/* Responsive Design */
@media (max-width: 767px) {
  .header-actions {
    gap: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .btn-hero {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .gondola-title,
  .winter-title {
    font-size: 2.5rem;
  }

  @media screen and (max-width: 540px) {
  .lady-tiket-title {
    font-size: 36px ;
  }

  .child-day-title {
    font-size: 36px ;
  }

  .child-day-description-detail {
    padding: 0px 14px 40px 14px ;
    font-size: 20px ;
  }

  .lady-tiket-description-detail {
    padding: 40px ;
    font-size: 20px ;
  }

  .hero-title {
    font-size: 25px ;
  }

  .btn-hero {
    font-size: 15px ;
  }

  .hero-subtitle {
    font-size: 16px ;
    margin-bottom: 0.65rem;
  }

  .section-title {
    font-size: 35px ;
  }

  .winter-title {
    font-size: 30px 
  } }
}


/* ==============================
   モバイル最小化 (ヘッダー考慮版)
   ============================== */
@media (max-width: 640px) {
  .p.winter-section {
    padding-top: 60px;  /* ← ヘッダー分を空ける */
    padding-bottom: 40px;
    min-height: calc(100vh - 60px); /* ← ヘッダー高さを引いて調整 */
    align-items: flex-start;
    justify-content: flex-start;
  }

  .winter-content {
    max-width: 320px;
    width: 100%;
    padding: 0 0.5rem;
    text-align: center;
  }

  .winter-header {
    font-size: 0.8rem;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    margin-top: 2.8rem;
  }

  .winter-icon {
    width: 1rem;
    height: 1rem;
  }

  .winter-title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
  }

  .winter-description {
    font-size: 0.7rem;
    line-height: 2;
    max-width: 16rem;
    margin: 0 auto 1.4rem;
  }

  /* カードをさらに小型化して3枚収まるように */
  .contact-cards {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.5rem;
  }

  .contact-card {
    width: 100%;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }

  .contact-card__title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .contact-card__address {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .contact-card__tel {
    font-size: 12px;
    flex-direction: column;
    gap: 3px;
  }

  .tel-link {
    font-size: 12px;
  }

  .open-hours {
    font-size: 11px;
  }

  /* 背景画像も暗めにしてテキストが見やすく */
  .winter-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.75));
  }
}