@charset "UTF-8";

/* ============================================================================
 * style.css — ekonpas.jp ルート ランディングページ
 * ============================================================================
 *
 * 設計方針：
 *   - デザイントークンは参加登録フォーム標準
 *     （_shared/common.css 配色案B：紺 #0C73B2 + ティール #26a69a）に準拠
 *   - レイアウトはランディングページ型（全幅グラデーションヒーロー＋
 *     英字ラベル付きセンター見出し＋CTAカード）
 *   - 自己完結（Bootstrap 不使用・アイコンはインラインSVG）
 *   - Webフォントはフォールバック前提のプログレッシブエンハンスメント
 *
 * ============================================================================ */

/* ── Webフォント ─────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanjp.min.css");

/* ============================================================================
 * 1. デザイントークン
 * ============================================================================ */
:root {
  --primary:        #0C73B2;
  --primary-light:  #1a8acd;
  --primary-dark:   #08527e;
  --primary-pale:   #e3f1f9;

  --accent:         #26a69a;
  --accent-light:   #d3ede9;
  --accent-dark:    #1d8079;

  --text-color:     #1c1c2e;
  --text-muted:     #484d5a;

  --border-color:   #d0d8e4;
  --border-pale:    #d8dfe9;
  --bg-color:       #fcfdfe;
  --bg-soft:        #fafbfd;
  --white:          #ffffff;

  --label-bg:       #eef1f6;
  --label-color:    #4a5260;

  --shadow-card:    0 2px 16px rgba(12, 115, 178, 0.10);
  --shadow-card-hv: 0 8px 26px rgba(12, 115, 178, 0.16);

  --radius:         6px;
  --radius-lg:      8px;

  --footer-gap:     22vh;
}

/* ============================================================================
 * 2. body / リセット
 * ============================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: YakuHanJP, "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", "Yu Gothic", YuGothic, "メイリオ", meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-color);
  margin: 0;
  padding: 0;
}

dl, dt, dd,
ul, ol, li,
h1, h2, h3, h4, h5, h6,
p {
  margin: 0;
  padding: 0;
}

ul, ol, li {
  list-style: none;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-light);
}

.pc-only {
  display: inline;
}

@media (max-width: 767.98px) {
  .pc-only {
    display: none;
  }
}

/* ============================================================================
 * 3. ヘッダー（ヒーローと同色で連続させる）
 * ============================================================================ */
header {
  background: var(--primary-dark);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px 12px;
  display: flex;
  align-items: center;
}

h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(0.82rem, 0.74rem + 0.4vw, 0.95rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

h1 span {
  display: inline-block;
}

h1 .header-domain {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .header-inner {
    padding: 12px 16px 10px;
  }
}

/* ============================================================================
 * 4. ヒーロー（全幅グラデーションバンド）
 * ============================================================================ */
.hero {
  position: relative;
  background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  overflow: hidden;
}

/* 装飾：右上の大きな輪 ＋ 左下のティールグロー */
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.05);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -220px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 166, 154, 0.30) 0%, rgba(38, 166, 154, 0) 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 58px 24px 64px;
  text-align: center;
}

.hero-en {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 14px;
}

.hero-heading {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 1.15rem + 1.5vw, 2.15rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0 0 18px;
  text-shadow: 0 2px 12px rgba(8, 82, 126, 0.35);
}

.hero-heading span {
  display: inline-block;
}

.hero-lead {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 2.05;
  margin: 0 auto 30px;
  max-width: 700px;
}

/* 各公式サイトからの誘導案内（白カード） */
.hero-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(8, 82, 126, 0.28);
  padding: 15px 22px;
  max-width: 640px;
  margin: 0 auto;
}

.hero-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

.hero-notice-icon svg {
  width: 100%;
  height: 100%;
}

.hero-notice-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
  flex: 1;
}

.hero-notice-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* 文節単位で改行させて「い。」等の孤立改行（段落ち）を防ぐ */
.hero-notice-text span {
  display: inline-block;
}

@media (max-width: 575.98px) {
  .hero-inner {
    padding: 40px 16px 46px;
  }
  .hero-en {
    letter-spacing: 0.2em;
  }
  .hero-lead {
    font-size: 13px;
    text-align: left;
    line-height: 1.95;
    margin-bottom: 22px;
  }
  .hero-notice {
    padding: 12px 14px;
    gap: 10px;
  }
  .hero-notice-text {
    font-size: 13px;
  }
}

/* ============================================================================
 * 5. メインコンテナ／セクション見出し（英字ラベル＋センター型）
 * ============================================================================ */
.container {
  max-width: 960px;
  margin: 0 auto var(--footer-gap);
  padding: 56px 24px 0;
}

.block {
  margin: 0 0 64px;
}

.block:last-child {
  margin-bottom: 0;
}

.sec-head {
  text-align: center;
  margin: 0 0 30px;
}

.sec-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 6px;
}

.sec-title {
  position: relative;
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.6rem);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0;
  padding: 0 0 12px;
}

.sec-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

@media (max-width: 575.98px) {
  .container {
    padding: 40px 14px 0;
  }
  .block {
    margin-bottom: 48px;
  }
  .sec-head {
    margin-bottom: 22px;
  }
}

/* ============================================================================
 * 6. ご提供サービス（2×2 横型カード）
 * ============================================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hv);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--accent-light) 100%);
  color: var(--primary);
  flex-shrink: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-body {
  flex: 1;
  min-width: 0;
}

.service-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 2px 0 6px;
}

.service-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

@media (max-width: 767.98px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    padding: 18px 16px;
    gap: 13px;
  }
  .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .service-icon svg {
    width: 23px;
    height: 23px;
  }
  .service-title {
    font-size: 14.5px;
  }
}

/* ============================================================================
 * 7. ご利用にあたって（※注意書き：2行目以降字下げ）
 * ============================================================================ */
.note-card {
  background: var(--white);
  border: 1px solid var(--border-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
}

.note-list li {
  font-size: 13.5px;
  color: var(--text-color);
  line-height: 1.9;
  padding-left: 1em;
  text-indent: -1em;
  margin: 0 0 8px;
}

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

@media (max-width: 575.98px) {
  .note-card {
    padding: 18px 16px;
  }
  .note-list li {
    font-size: 12.5px;
  }
}

/* ============================================================================
 * 7b. 運営会社のサービス（宣伝セクション）
 * ============================================================================ */
.promo-lead {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin: -8px 0 24px;
}

.promo-lead span {
  display: inline-block;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 0 20px;
}

.promo-item {
  background: var(--white);
  border: 1px solid var(--border-pale);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 20px 14px;
}

.promo-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 0 0 4px;
}

.promo-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Konpas バナー */
.konpas-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(120deg, var(--primary-pale) 0%, var(--accent-light) 100%);
  border: 1px solid var(--border-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 30px;
}

.konpas-info {
  flex: 1;
  min-width: 0;
}

.konpas-name {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin: 0 0 2px;
}

.konpas-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.konpas-text {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.85;
  margin: 0;
}

.konpas-text span {
  display: inline-block;
}

.konpas-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-pill-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(12, 115, 178, 0.28);
}

.btn-pill-primary:hover,
.btn-pill-primary:focus {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 115, 178, 0.36);
  outline: none;
}

.btn-pill-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-pill-outline:hover,
.btn-pill-outline:focus {
  background: var(--primary-pale);
  color: var(--primary-dark);
  transform: translateY(-2px);
  outline: none;
}

.btn-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-pill-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 767.98px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .konpas-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px 18px;
    text-align: center;
  }
  .konpas-text {
    text-align: left;
  }
  .btn-pill {
    width: 100%;
    font-size: 13px;
    padding: 10px 16px;
  }
}

@media (max-width: 575.98px) {
  .promo-lead {
    font-size: 13px;
    text-align: left;
    margin-bottom: 18px;
  }
  .promo-item {
    padding: 13px 16px 12px;
  }
}

/* ============================================================================
 * 8. 運営会社（会社概要テーブル）
 * ============================================================================ */
.company-card {
  background: var(--white);
  border: 1px solid var(--border-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.company-table {
  display: grid;
  grid-template-columns: 200px 1fr;
  font-size: 14px;
}

.company-table dt {
  display: flex;
  align-items: center;
  background: var(--label-bg);
  color: var(--label-color);
  font-weight: 600;
  padding: 13px 20px;
  border-top: 1px solid var(--border-pale);
}

.company-table dd {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 13px 20px;
  border-top: 1px solid var(--border-pale);
  line-height: 1.7;
  word-break: break-word;
}

.company-table dt:first-of-type,
.company-table dt:first-of-type + dd {
  border-top: none;
}

@media (max-width: 575.98px) {
  .company-table {
    grid-template-columns: 1fr;
    font-size: 13px;
  }
  .company-table dt {
    padding: 8px 14px;
  }
  .company-table dd {
    padding: 10px 14px;
    border-top: none;
  }
}

/* ============================================================================
 * 9. お問い合わせ（CTAカード）
 * ============================================================================ */
.contact-cta {
  position: relative;
  background: linear-gradient(130deg, var(--primary-dark) 0%, var(--primary) 70%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(8, 82, 126, 0.30);
  padding: 36px 28px 34px;
  text-align: center;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, 0.05);
}

.contact-cta-lead {
  position: relative;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px;
}

.contact-cta-name {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}

.contact-cta-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

a.contact-chip-link {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 82, 126, 0.28);
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

a.contact-chip-link:hover,
a.contact-chip-link:focus {
  background: var(--primary-pale);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 82, 126, 0.36);
  outline: none;
}

.contact-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-chip-icon svg {
  width: 100%;
  height: 100%;
}

.contact-chip-text {
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .contact-cta {
    padding: 28px 18px 26px;
  }
  .contact-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .contact-chip {
    width: 100%;
    font-size: 13.5px;
  }
}

/* ============================================================================
 * 10. フッター（紺バンド）
 * ============================================================================ */
footer {
  background: var(--primary-dark);
  text-align: center;
  padding: 26px 20px 24px;
}

.footer-brand {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.footer-copy {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  margin: 0;
}
