@charset "UTF-8";

:root {
  --primary: #0f2c59;
  --primary-light: #1e427a;
  --accent: #e65c00;
  --accent-hover: #cc5200;
  --bg-light: #f4f7fa;
  --text-main: #222222;
  --text-muted: #555555;
  --border: #dce3ec;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  background-color: var(--white);
  padding-bottom: 60px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.25s;
}

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

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

/* サイトヘッダー（白抜きロゴ対応の濃紺ベース） */
.site-header {
  background: rgba(26, 76, 150, 0.95);
  border-bottom: 1px solid rgba(52, 108, 190, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
}
.global-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}
.global-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.global-nav a:hover {
  color: #f3d266;
}
.global-nav .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
}
.global-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  margin: 5px 0;
  border-radius: 2px;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

/* ヒーローセクション（スライドショー対応） */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b2244;
  color: var(--white);
  padding: 170px 20px 80px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11, 34, 68, 0.38) 0%, rgba(29, 78, 137, 0.28) 100%);
  pointer-events: none;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}
.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.92;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 共通ボタン */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230, 92, 0, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  width: 100%;
}

.btn-secondary:hover {
  background: var(--primary-light);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

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

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.en-sub {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--primary);
  font-weight: 800;
}

/* 2校比較カード */
.school-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.school-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 44, 89, 0.05);
  display: flex;
  flex-direction: column;
}
.school-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}
.school-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.school-card:hover .school-card-img img {
  transform: scale(1.04);
}
.school-card-body {
  padding: 26px 28px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.school-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.school-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.school-tag.tag-accent {
  background: var(--accent);
}

.school-card h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.school-place {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.school-desc {
  margin-bottom: 24px;
  flex-grow: 1;
}
/* お知らせアコーディオン */
.news-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.news-summary {
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  transition: background 0.2s;
}

.news-summary::-webkit-details-marker {
  display: none;
}

.news-summary:hover {
  background: var(--bg-light);
}

.news-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.news-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.news-title {
  flex-grow: 1;
}

.news-summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}

.news-item[open] .news-summary::after {
  content: "−";
}

.news-content {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  background: #fafbfd;
  font-size: 0.95rem;
  color: var(--text-main);
}
/* お知らせ もっと見る開閉 */
.news-item.is-hidden-news {
  display: none;
}
.news-more-wrap {
  text-align: center;
  margin-top: 24px;
}

/* 予約CTAバナー */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* フッター */
.site-footer {
  background: #091b36;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 32px 20px;
  font-size: 0.88rem;
}

/* スマホ下部固定予約バー */
.mobile-fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.mobile-fixed-bar a {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.fixed-btn-book {
  background: var(--accent);
}

.fixed-btn-contact {
  background: var(--primary);
}

@media (min-width: 769px) {
  .mobile-fixed-bar {
    display: none;
  }
}

/* インストラクター募集（下部セクション） */
.recruit-banner {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 50px 0;
}

.recruit-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.recruit-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}

.recruit-text h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.recruit-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: var(--white);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

/* フッターリンク */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 選ばれる3つの理由 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(15, 44, 89, 0.05);
}
.feature-num {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.feature-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.93rem;
}
/* お知らせ添付画像 */
.news-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.news-images a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-images a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.12);
}
.news-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* 紹介動画・特別イベント */
.media-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 6px 20px rgba(15, 44, 89, 0.08);
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 44, 89, 0.06);
  display: flex;
  flex-direction: column;
}
.event-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.event-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.event-card-body {
  padding: 20px 22px;
}
.event-card-body h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 10px 0 8px;
}
.event-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
}
/* 各校連絡先カード・SNS */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 4px 16px rgba(15, 44, 89, 0.05);
}
.contact-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.contact-card h3 a:hover {
  color: var(--accent);
}
.contact-card p {
  font-size: 0.94rem;
  margin-bottom: 6px;
}
.contact-tel {
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
}
.contact-open {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .feature-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* 画像拡大モーダル */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 12, 24, 0.88);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.image-modal.is-open {
  display: flex;
}
.image-modal-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.image-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.image-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* トップページ バッジテスト案内カード */
.badge-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(15, 44, 89, 0.05);
}
.badge-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 16px;
  font-size: 0.96rem;
  margin-bottom: 22px;
}
.badge-dl dt {
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
}
.badge-dl dd {
  padding: 6px 0;
  font-weight: 600;
}
.badge-actions {
  text-align: center;
}

/* 八ヶ岳山麓スキー学校の特徴 背景画像 */
#features {
  background: url(../_img/features_bg.jpg) center bottom/cover no-repeat;
}
#features .en-sub {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(11, 34, 68, 0.5);
}
#features .section-header h2 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(11, 34, 68, 0.6);
}
#features .feature-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

/* フッターロゴ（CSSのみで挿入） */
.site-footer .container::before {
  content: "";
  display: block;
  width: 300px;
  height: 100px;
  margin: 0 auto 20px;
  background: url(../_img/footer_logo.png) center/contain no-repeat;
}


/* レスポンシブ（スマホ・タブレット対応） */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-inner {
    padding: 10px 16px;
  }
  .logo-link img {
    height: 34px;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 76, 150, 0.98);
    border-bottom: 1px solid rgba(52, 108, 190, 0.9);;
    padding: 16px 20px 24px;
  }
  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .global-nav .nav-cta {
    text-align: center;
    display: block;
  }

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

  .news-summary {
    flex-wrap: wrap;
    padding: 16px;
  }

  .news-title {
    width: 100%;
    margin-top: 4px;
  }

  .badge-summary-card {
    padding: 22px 18px;
  }
  .badge-dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .badge-dl dt {
    text-align: left;
    margin-top: 8px;
  }
  .badge-dl dt:first-child {
    margin-top: 0;
  }
}
