@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --color-base-ivory: #F7F3EA;
  --color-base-sand: #E9DDC6;
  --color-accent-yellow: #F4C542;
  --color-accent-orange: #E4A647;
  --color-sub-leaf: #7E9A62;
  --color-sub-deep: #5E7F59;
  --color-text-main: #2F2A25;
  --color-text-muted: #8A857D;
  --color-white: #FFFFFF;
  --color-notice-bg: #F5EFEB;
  --color-notice-text: #B25A50;

  /* Typography */
  --font-family: 'Noto Sans JP', sans-serif;
  
  /* UI elements */
  --border-radius-card: 16px;
  --border-radius-button: 28px;
  
  /* Spacing (8px based) */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: var(--color-base-sand); 
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Mobile Wrapper */
.app-container {
  max-width: 430px;
  margin: 0 auto;
  background-color: var(--color-base-ivory);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  padding-bottom: 120px; /* space for fixed footer */
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--color-text-main);
  line-height: 1.4;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-sub-deep);
}
.section-title::before, .section-title::after {
  content: "";
  width: 16px;
  height: 2px;
  background-color: var(--color-sub-leaf);
  display: inline-block;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: -16px;
  margin-bottom: var(--spacing-lg);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 var(--spacing-lg);
  border-radius: var(--border-radius-button);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  width: 100%;
}
.btn:active {
  opacity: 0.8;
}

.btn-primary {
  background-color: var(--color-accent-yellow);
  color: var(--color-text-main);
  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.4);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text-main);
  border: 1px solid var(--color-text-main);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-text-main);
  height: auto;
  font-size: 14px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  text-decoration: none;
}
.btn-tertiary .material-symbols-outlined {
  font-size: 18px;
}

/* Sections */
section {
  padding: var(--spacing-xl) var(--spacing-md);
}

/* Placeholder Images */
.placeholder-img {
  background-color: var(--color-base-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.placeholder-img .material-symbols-outlined {
  font-size: 32px;
  opacity: 0.5;
}

/* 1. First View (Hero) */
.hero {
  position: relative;
  height: 45vh; /* 40-50% height */
  min-height: 380px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Hero Image with Dark Gradient Overlay */
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%), url('../assets/images/hero.png');
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-md);
  text-align: center;
  width: 100%;
}
.hero-logo {
  max-width: 220px;
  height: auto;
  margin: 0 auto var(--spacing-md);
  display: block;
  filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.45));
}
.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* 営業時間・定休日情報 (Top Business Info) */
.top-business-info {
  background-color: var(--color-white);
  margin: -24px var(--spacing-md) var(--spacing-sm);
  padding: 16px 12px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  z-index: 10;
  text-align: center;
}
.top-business-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
  line-height: 1.4;
}
.top-business-hours .material-symbols-outlined {
  font-size: 15px;
  color: var(--color-sub-deep);
  vertical-align: middle;
  margin-top: -2px;
  margin-right: 2px;
}
.top-business-holiday {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}
.top-business-notice {
  font-size: 10px;
  color: var(--color-text-muted);
}

/* 2. 亀岡ベースでできること */
.service-desc {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}
.service-item {
  background: #FCFBF9; /* 白寄りにする */
  border-radius: var(--border-radius-card);
  padding: 0;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s;
  /* 柔らかい影 */
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  border: 1px solid #FAF8F5;
}
.service-item:active {
  transform: scale(0.98);
}
.service-small-img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}
.service-item .material-symbols-outlined {
  font-size: 32px;
  color: var(--color-sub-deep);
  margin-top: 12px;
  margin-bottom: 4px;
}
.service-item-content {
  padding: 0 12px 16px;
}
.service-item-content h3 {
  font-size: 16px;
  color: var(--color-sub-deep);
  margin-bottom: 2px;
}
.service-item-content span {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-sub-leaf);
  display: block;
  margin-bottom: 6px;
}
.service-item-content p {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* 大浜ベース (横長カード) */
.service-large-card {
  display: block;
  margin-top: 16px;
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  border: 1px solid #FAF8F5;
}
.service-large-card:active {
  transform: scale(0.98);
}
.service-large-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.service-large-body {
  padding: 16px;
}
.service-large-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.service-large-title-box h3 {
  font-size: 18px;
  color: var(--color-sub-deep);
  margin-bottom: 2px;
}
.service-large-title-box span {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-sub-leaf);
  display: block;
}
.icon-camp {
  font-size: 32px;
  color: var(--color-sub-deep);
}
.service-large-body p {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.service-large-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.service-large-link .material-symbols-outlined {
  font-size: 18px;
  margin-left: 4px;
}

/* 3. 新規のお客様へ */
.first-timer-box {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  padding: var(--spacing-lg) var(--spacing-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.first-timer-box > p {
  margin-bottom: var(--spacing-md);
  font-size: 14px;
}
.first-timer-list {
  list-style: none;
  margin-bottom: var(--spacing-md);
}
.first-timer-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.first-timer-list li .material-symbols-outlined {
  color: var(--color-sub-leaf);
  font-size: 20px;
}
.first-timer-list li:last-child {
  border-bottom: none;
}

/* 4. Instagram / 最新情報 */
#instagram-info {
  background-color: var(--color-white);
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-xl) var(--spacing-md);
}
.instagram-card {
  text-align: center;
}
.instagram-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-main);
}
.instagram-icon {
  font-size: 28px;
}
.instagram-header h3 {
  font-size: 18px;
}
.instagram-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}
.instagram-posts-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: var(--spacing-lg);
}
.insta-post {
  aspect-ratio: 1;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.btn-instagram {
  background-color: transparent;
  border: 1px solid var(--color-text-main);
  color: var(--color-text-main);
  box-shadow: none;
}

/* 5. 今日どう過ごす？ */
.model-course-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.course-card {
  display: flex;
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.course-img {
  width: 100px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.course-body {
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.course-body h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
.course-body p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 6. 楽しみ方を選ぶ */
.detail-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
.detail-card {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.detail-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.detail-body {
  padding: var(--spacing-md);
}
.detail-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.detail-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

/* マリンアクティビティ詳細カード用 (控えめな表現) */
.detail-card.marine-card {
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
}
.detail-card.marine-card .detail-img {
  height: 140px;
}
.detail-card.marine-card .detail-body {
  padding-bottom: var(--spacing-lg);
}

/* 7. 写真ギャラリー */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* 8. ACCESS */
.access-box {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  padding: var(--spacing-md);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.access-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}
.access-info {
  font-size: 14px;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}
.access-info span {
  display: block;
}
.access-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

/* 9. 最終CTA */
.final-cta {
  background-color: var(--color-sub-deep);
  color: var(--color-white);
  text-align: center;
  border-radius: var(--border-radius-card) var(--border-radius-card) 0 0;
  margin: 0 calc(var(--spacing-md) * -1);
  padding: var(--spacing-xl) var(--spacing-md);
  padding-bottom: calc(var(--spacing-xl) + 20px);
}
.final-cta .section-title {
  color: var(--color-white);
}
.final-cta .section-title::before, .final-cta .section-title::after {
  background-color: var(--color-accent-yellow);
}
.final-cta .btn-primary {
  margin-bottom: var(--spacing-md);
}

/* マリンスポーツ休止のお知らせ (控えめ) */
.notice-bar {
  background-color: var(--color-notice-bg);
  padding: 12px 16px;
  margin: var(--spacing-xl) var(--spacing-md);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-notice-text);
}
.notice-icon {
  font-size: 20px;
  margin-top: 2px;
}
.notice-bar p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* 10. フッター固定ナビ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #eee;
  padding: 8px 16px 16px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.nav-icons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-main);
  font-size: 9px;
  font-weight: 500;
  gap: 3px;
  flex: 1;
  position: relative;
}
.nav-item .material-symbols-outlined {
  font-size: 22px;
  color: var(--color-sub-deep);
}
.nav-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(0);
  background-color: var(--color-notice-bg);
  color: var(--color-notice-text);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid var(--color-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.nav-cta .btn {
  height: 48px;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.6);
}
