/* higuri_style.css — 日繰り表ページ専用スタイル (UTF-8)
   ------------------------------------------------
   Design system: Charcoal × Teal × Cream
   ------------------------------------------------ */

:root {
  --h-teal:      #2a8a7e;
  --h-teal-dark: #1f6b61;
  --h-charcoal:  #2d2d2d;
  --h-cream:     #faf8f4;
  --h-light-bg:  #edf5f4;
  --h-warn-red:  #b22222;
}

/* ── Hero ───────────────────────────────────── */
.h-hero {
  background: linear-gradient(135deg, #2d2d2d 0%, #2a8a7e 100%);
  color: white;
  padding: 2.2em 1.8em;
  margin-bottom: 1.8em;
  border-radius: 4px;
  text-align: center;
}
.h-hero h2 {
  font-size: 1.4em;
  color: white;
  margin: 0 0 0.6em;
  line-height: 1.5;
}
.h-hero .h-hero-sub {
  font-size: 1.3em;
  line-height: 1.85;
  color: white;
  margin: 0;
}

/* ── Free-form CTA box ───────────────────────── */
.h-form-cta {
  text-align: center;
  background: var(--h-cream);
  border: 2px dashed var(--h-teal);
  border-radius: 6px;
  padding: 1.2em 1.5em;
  margin-bottom: 2em;
}
.h-form-cta p {
  margin: 0.3em 0;
}

/* ── Section title bar ───────────────────────── */
.h-section {
  margin-bottom: 1.8em;
}
.h-section-title {
  font-size: 1.05em;
  font-weight: bold;
  color: white;
  background-color: var(--h-teal);
  padding: 0.45em 1em;
  margin-bottom: 0.8em;
  margin-top: 1.5em;
}

/* ── 3-card layout (鉄則) ────────────────────── */
.h-cards {
  display: flex;
  flex-direction: column;
  gap: 1.6em;
  margin-bottom: 2em;
}
.h-card {
  border: 2px solid var(--h-teal);
  border-radius: 6px;
  overflow: hidden;
}
.h-card-header {
  background: var(--h-charcoal);
  color: white;
  padding: 0.65em 1em;
  font-size: 1.45em;
  font-weight: bold;
  line-height: 1.5;
}
.h-card-rule {
  display: block;
  font-size: 0.75em;
  font-weight: normal;
  color: #9be3dc;
  margin-bottom: 0.2em;
}
.h-card-body {
  background: var(--h-cream);
  padding: 1em 1.3em;
  line-height: 1.9;
  font-size: 1.3em;
  color: var(--h-charcoal);
}
.h-card-body p {
  font-size: 1em; /* reset global p{135%} */
  color: var(--h-charcoal);
  margin: 0.5em 0;
}

/* ── Info/highlight box ──────────────────────── */
.h-infobox {
  background: var(--h-light-bg);
  border-left: 4px solid var(--h-teal);
  padding: 0.8em 1.1em;
  margin: 0.9em 0;
  line-height: 1.85;
}

/* ── Inline text helpers ─────────────────────── */
.h-point {
  color: var(--h-teal-dark);
  font-weight: bold;
}
.h-warn {
  color: var(--h-warn-red);
  font-weight: bold;
}

/* ── Brief section block ─────────────────────── */
.h-brief {
  background: #f5f5f0;
  border-radius: 4px;
  padding: 0.9em 1.2em;
  margin-bottom: 1.4em;
  line-height: 1.9;
}

/* ── Responsive images ───────────────────────── */
.h-img-block {
  text-align: center;
  margin: 0.8em 0;
}
.h-img-block img {
  max-width: 100%;
  height: auto;
}
.h-img-caption {
  font-size: 0.82em;
  color: #777;
  margin-top: 0.3em;
}

/* ── Hero announce banner (新サービス告知) ────────────── */
.h-hero-announce {
  display: block;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 8px;
  padding: 0.75em 1.4em;
  margin-top: 1.2em;
  line-height: 1.85;
  text-align: center;
}
.h-new-badge {
  display: inline-block;
  font-size: 1.5em;
  font-weight: 900;
  color: white;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 3px;
  padding: 0 0.35em;
  margin-right: 0.45em;
  letter-spacing: 0.05em;
  vertical-align: middle;
  line-height: 1.4;
}
.h-announce-text {
  color: #ffe082;
  font-size: 1.1em;
  font-weight: bold;
  vertical-align: middle;
}
.h-announce-link {
  color: white;
  font-size: 0.92em;
  text-decoration: underline;
}
.h-announce-link:hover {
  color: #ffe082;
}

/* ── モバイル対応（higuri固有要素） ─────────────────── */
@media screen and (max-width: 768px) {

  /* Hero: パディング縮小・文字サイズ調整 */
  .h-hero {
    padding: 1.5em 1em;
    margin-bottom: 1.2em;
    border-radius: 0;
  }
  .h-hero h2 {
    font-size: 1.15em;
  }
  .h-hero .h-hero-sub {
    font-size: 1.05em;
  }
  .h-new-badge {
    font-size: 1.2em;
  }
  .h-announce-text {
    font-size: 0.95em;
  }

  /* Cards: パディング調整 */
  .h-card-header {
    font-size: 1.15em;
    padding: 0.6em 0.8em;
  }
  .h-card-body {
    font-size: 1.05em;
    padding: 0.8em 1em;
  }

  /* Form CTA */
  .h-form-cta {
    padding: 1em;
    margin-bottom: 1.2em;
  }

  /* Section title */
  .h-section-title {
    font-size: 0.95em;
  }

  /* Brief */
  .h-brief {
    padding: 0.8em 1em;
    font-size: 0.95em;
  }

  /* Info box */
  .h-infobox {
    padding: 0.7em 0.9em;
    font-size: 0.95em;
  }

  /* 画像キャプション */
  .h-img-caption {
    font-size: 0.78em;
  }
}

@media screen and (max-width: 480px) {
  .h-hero h2 {
    font-size: 1.05em;
    line-height: 1.6;
  }
  .h-hero .h-hero-sub {
    font-size: 0.95em;
  }
  .h-card-header {
    font-size: 1.05em;
  }
  .h-card-body {
    font-size: 1.0em;
  }
  .h-hero-announce {
    padding: 0.6em 0.8em;
  }
  .h-announce-text {
    font-size: 0.88em;
  }
}
