/*
 Theme Name: Chokogrowdan Theme
 Theme URI: https://chokogrowdan.com/
 Author: Your Name
 Author URI: https://soralinklab.com/
 Description: チョコグロウ団用のシンプルなオリジナルテーマ
 Version: 1.0
*/

/* ========== ベース ========== */

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background-color: #ffffff;   /* 全体白。縦の色の境目をなくす */
}

.site-container {
  max-width: 960px;
  margin: 40px auto 80px;
  padding: 0 16px 40px;
  box-sizing: border-box;
}

.site-header {
  margin-bottom: 24px;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: #222;
}

.site-title:hover {
  opacity: 0.8;
}

.site-description {
  font-size: 0.9rem;
  color: #777;
  margin: 4px 0 12px;
}

.site-main {
  margin-top: 24px;
}

.site-footer {
  margin-top: 40px;
  font-size: 0.8rem;
  color: #777;
  text-align: center;
}

/* ========== タイポ・余白 ========== */

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
  color: #222;
}

h2 {
  font-size: 1.6rem;
  margin: 56px 0 16px;  /* セクション間の余白 */
}

h3 {
  font-size: 1.2rem;
  margin: 24px 0 8px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

li {
  margin-bottom: 6px;
}

/* ========== ボタン ========== */

.button-link,
.wp-block-button__link {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background-color: #f48b3a;  /* オレンジ */
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
}

/* ========== セクション共通 ========== */

.hero-section,
.pricing-section,
.contact-section {
  margin: 56px 0;
  padding: 40px 24px;
  border-radius: 16px;
}

/* ========== TOPヒーロー（背景画像＋コピーだけ） ========== */

.hero-section {
  /* 横いっぱいに背景を広げるテクニック */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* 上下の余白（好みで調整） */
  margin-top: 0;
  margin-bottom: 56px;

  padding: 80px 16px;
  min-height: 80vh;/* 画面の高さの8割を最低高さにする */

  /* 背景画像 */
  background-image: url('https://chokogrowdan.com/wp-content/uploads/2025/12/top3.png'); /* ←あなたの画像URLに変更 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;      /* 上に乗る文字を白に */
}

/* ヒーロー内のテキスト幅を少し絞るとそれっぽくなる */
.hero-section > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}


@media (min-width: 768px) {
  .hero-section {
    padding: 80px 40px;
  }
}

/* ========== 料金セクション ========== */

.pricing-section {
  background-color: #f7f7f7;
}

.pricing-section h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.pricing-section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

/* ========== お問い合わせセクション ========== */

.contact-section {
  background-color: #fdf7ec;
  text-align: left;
}

.contact-section ul {
  display: block;     /* inline-block をやめる */
  text-align: left;
  margin-left: 20px;  /* 少しだけインデント */
}

.contact-section .wp-block-buttons {
  margin-top: 16px;
}

/* すべてのボタンブロックを中央寄せ */
.wp-block-buttons {
  display: flex;
  justify-content: center;
}

/* Gutenberg が付ける左右寄せクラスを強制上書き */
.wp-block-buttons.is-content-justification-left,
.wp-block-buttons.is-content-justification-right,
.wp-block-buttons.is-content-justification-space-between {
  justify-content: center;
}

.site-logo img {
  display: block;
  height: 40px;   /* 好きな高さに調整 */
  width: auto;
}

/* ==== ヘッダーの余白を soralinklab 風に絞る ==== */

/* コンテンツ全体の上の余白を少し減らす */
.site-container {
  margin-top: 16px;    /* 元は 40px だった */
  padding-top: 8px;    /* 上の内側余白も少しだけ */
}

/* ヘッダー全体の上下をぎゅっと */
.site-header {
  padding-top: 4px;
  padding-bottom: 4px;
}

/* =========================
   ヘッダーまわりの余白を詰める
   ========================= */

/* ページ全体の上の余白をなくす */
body {
  margin: 0;
  padding: 0;
}

/* コンテンツの箱の上マージンをカット */
.site-container {
  max-width: 960px;
  margin: 0 auto 60px !important;   /* 上 0 にする */
  padding: 8px 16px 32px !important;/* 上 padding も少なめに */
  box-sizing: border-box;
}

/* ヘッダー自体の余白を小さく */
.site-header {
  margin: 0 !important;
  padding: 4px 0 !important;
}

/* ロゴまわりの余計な余白を潰す */
.site-branding {
  margin: 0 !important;
  padding: 0 !important;
}

.site-header img {
  display: block;
  margin: 0;
}

/* ロゴ下の横線とのスキマを詰める */
.site-header hr {
  margin: 4px 0 0 !important;
}

margin: 0 auto 60px !important;
padding: 8px 16px 32px !important;


/* ロゴ（サイトタイトル）の上下マージンを消す */
.site-title {
  margin: 0;           /* h1 の標準マージンを殺す */
  font-size: 1.4rem;   /* 好みで 1.2〜1.5rem の範囲で調整OK */
}

/* 説明文も詰める */
.site-description {
  margin: 2px 0 0;     /* 上だけ 2px、下は 0 */
  font-size: 0.85rem;
  color: #777;
}

/* 区切り線の余白も小さく */
.site-header hr {
  margin-top: 8px;
  margin-bottom: 0;
}

/* ヘッダーまわりの余白調整（上のスカスカを減らす） */
.site-container {
  max-width: 960px;
  margin: 8px auto 60px;   /* 上 8px にしてギュッと詰める（元は 40px） */
  padding: 8px 16px 32px;  /* 上の padding も少なめに */
  box-sizing: border-box;
}

.site-header {
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ロゴ画像まわりの余計な余白を殺す */
.site-header img {
  display: block;
  margin: 0;
}

.site-description {
  margin: 2px 0 0;   /* 上だけ 2px、下は 0 */
  font-size: 0.85rem;
}

