@charset "UTF-8";

/* =========================================================
   Base Settings (Variables & Typography)
========================================================= */
:root {
  --color-primary: #388c84;
  --color-secondary: #eef5f3;
  --color-accent: #4b928f;
  --color-text: #333333;
  --color-text-light: #5c736b;
  --color-bg: #ffffff;
  --color-white: #ffffff;
  --border-radius: 8px;
  --inner-width: 1100px;
  --bg-light: #fcfbf9;
}

body {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--color-text);
  background-color: var(--bg-light);
  font-size: 18px; 
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* =========================================================
   Layout & Common Components
========================================================= */
.l-inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 20px;
}

.c-section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 40px;
  color: var(--color-primary);
  font-weight: bold;
}

/* 汎用ボタンコンポーネント */
.c-btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

/* =========================================================
   Section 1: Hero (First View)
========================================================= */
.p-hero {
  background-color: var(--color-secondary);
  padding: 60px 0;
}

.p-hero__columns {
  display: flex;
  align-items: center;
  gap: 40px;
}

.p-hero__content {
  flex: 1.2;
}

.p-hero__sub {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.p-hero__title {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--color-primary);
  word-break: keep-all;
}

.p-hero__catch {
  font-size: 20px;
  margin-bottom: 0;
}

.p-hero__image {
  flex: 1;
}

.p-hero__image img {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .p-hero {
    padding: 40px 0;
  }
  .p-hero__columns {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .p-hero__title {
    font-size: 28px;
  }
}

/* =========================================================
   Section 2: History
========================================================= */
.p-history {
  padding: 80px 0;
background-color: var(--color-bg);
}

.p-history__cards {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.c-card {
  background: var(--color-white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  border: 1px solid #e1ebe8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.c-card__badge {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
  margin: 0 0 10px 0;
}

.c-card__image {
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  width: 100%;
}

.c-card__date {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-primary);
  margin: 0;
  text-align: center;
}

@media (max-width: 820px) {
  .p-history__cards {
    flex-direction: column;
  }
  .c-card {
    padding: 40px;
  }
}

/* =========================================================
   Section 3: Story & Gallery
========================================================= */
.p-story {
  padding: 80px 0;
  background-color: #d5efee; /* セクション全体の背景色 */
}

/* ストーリーのテキストボックス */
.p-story__box {
  background: var(--color-white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 40px; /* 下のノート販売ブロックとの余白 */
}

.p-story__block {
  margin-bottom: 40px;
}

.p-story__block:last-child {
  margin-bottom: 0;
}

.p-story__title {
  font-size: 22px;
  margin: 0 0 20px 0;
  color: var(--color-primary);
  border-bottom: 2px solid #e1ebe8;
  padding-bottom: 10px;
}

.p-story__block p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.p-story__block p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   ギャラリーエリアの調整（見出し・説明文）
========================================================= */
.p-story__gallery-wrapper {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px dashed #e1ebe8;
}

.p-story__gallery-title {
  font-size: 22px;
  color: var(--color-primary);
  margin: 0 0 15px 0;
  text-align: center;
  font-weight: bold;
}

/* サンプルの説明文 */
.p-story__gallery-desc {
  text-align: center;
  font-size: 15px;
  color: var(--color-text);
  margin: 0 0 30px 0;
  line-height: 1.8;
}

.p-story__gallery-desc strong {
  color: #d9534f; /* 強調のための控えめな赤（サイトに合わせて変更可） */
}

/* ギャラリー本体 (CSS Grid) */
.p-story__gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.p-story__gallery a {
  display: block;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.p-story__gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.p-story__gallery a:hover img {
  transform: scale(1.05);
}

/* =========================================================
   最下部のアクション（購入・免責事項）エリア
========================================================= */
.p-story__action {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #e1ebe8; 
}

/* 免責事項ブロック（厳格さを出しつつ読みやすく） */
.p-story__disclaimer {
  background-color: #f9f9f9;
  border: 1px solid #dcdde1;
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 40px;
}

.p-story__disclaimer-title {
  font-size: 18px;
  color: #c0392b; /* 注意喚起の赤色 */
  margin: 0 0 20px 0;
  text-align: center;
  font-weight: bold;
}

.p-story__disclaimer-list {
  margin: 0 0 20px 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.p-story__disclaimer-list li {
  margin-bottom: 10px;
}

.p-story__disclaimer-list li:last-child {
  margin-bottom: 0;
}

.p-story__disclaimer-list strong {
  color: #c0392b;
}

.p-story__disclaimer-agree {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: var(--color-text);
  margin: 0;
  padding-top: 15px;
  border-top: 1px dashed #dcdde1;
}

/* 購入ボタンエリア */
.p-story__buy {
  text-align: center;
}

.p-story__buy-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.p-story__buy-price span {
  font-size: 28px;
  color: #c0392b;
  display: inline-block;
  margin-top: 5px;
}

.c-btn--large {
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 40px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .p-story__action {
    margin-top: 40px;
    padding-top: 40px;
  }
  
  .p-story__disclaimer {
    padding: 20px 15px;
  }

  .p-story__disclaimer-title {
    font-size: 16px;
  }

  .p-story__disclaimer-list {
    font-size: 14px;
    padding-left: 1.2em;
  }
  
  .p-story__disclaimer-agree {
    font-size: 14px;
  }

  .p-story__buy-price {
    font-size: 16px;
  }

  .p-story__buy-price span {
    font-size: 24px;
  }

  .c-btn--large {
    display: block;
    width: 100%;
    padding: 18px 10px;
    font-size: 16px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .p-story__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}