/* =====================================================
   共通スタイル - 野湯・秘湯探索マップ
   ===================================================== */

/* リセット & ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #4caf50;
  --green-dark: #388e3c;
  --green-light: #e8f5e9;
  --green-mid: #a5d6a7;
  --text: #212121;
  --text-sub: #616161;
  --bg: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --font: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* =====================================================
   ヘッダー
   ===================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}
.site-header__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.site-header__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header__logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.site-header__nav {
  display: flex;
  gap: 24px;
}
.site-header__nav a {
  font-size: 14px;
  color: var(--text-sub);
}
.site-header__nav a:hover {
  color: var(--green-dark);
  text-decoration: none;
}

/* =====================================================
   フッター
   ===================================================== */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  margin-top: 80px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* =====================================================
   CTAボタン（App Store）
   ===================================================== */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.btn-appstore:hover {
  opacity: 0.85;
}
.btn-appstore svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* =====================================================
   記事共通レイアウト
   ===================================================== */
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* アイキャッチ */
.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* メタ情報 */
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-category {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.article-date {
  font-size: 13px;
  color: var(--text-sub);
}

/* タイトル */
.article-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* リード文 */
.article-lead {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}

/* 本文見出し */
.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--green);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--green-dark);
}

/* 本文段落 */
.article-body p {
  margin-bottom: 20px;
}

/* リスト */
.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li {
  margin-bottom: 8px;
}

/* 画像キャプション付き */
.article-body figure {
  margin: 32px 0;
}
.article-body figure img {
  border-radius: var(--radius);
  width: 100%;
}
.article-body figcaption {
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
  margin-top: 8px;
}

/* 注意ボックス */
.note-box {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
}
.note-box strong {
  display: block;
  margin-bottom: 4px;
}

/* アプリCTAブロック */
.article-cta {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin: 48px 0;
}
.article-cta__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-cta__sub {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

/* =====================================================
   記事一覧ページ
   ===================================================== */
.articles-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.articles-page__heading {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
}
.articles-page__header {
  margin-bottom: 40px;
}
.articles-page__header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.articles-page__header p {
  color: var(--text-light);
  font-size: 15px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none !important;
  color: var(--text);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.article-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-card__thumb--placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.article-card__body {
  padding: 16px;
}
.article-card__category {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.article-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
.article-card__date {
  font-size: 12px;
  color: var(--text-sub);
}

/* =====================================================
   LP（トップページ）
   ===================================================== */
.lp-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1b5e20 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}
.lp-hero__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.lp-hero__sub {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.lp-features {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}
.lp-features__heading {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.lp-feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.lp-feature-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.lp-feature-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-feature-card__text {
  font-size: 14px;
  color: var(--text-sub);
}

.lp-articles {
  background: var(--green-light);
  padding: 64px 24px;
}
.lp-articles__inner {
  max-width: 960px;
  margin: 0 auto;
}
.lp-articles__heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

.lp-cta {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.lp-cta__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}
.lp-cta__sub {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 32px;
}

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width: 600px) {
  .site-header__nav {
    display: none;
  }
  .article-container {
    padding: 32px 16px 60px;
  }
  .articles-page {
    padding: 32px 16px 60px;
  }
}
