@charset "UTF-8";

/* ============================================================
   公共機関限定 定額会員プラン LP（/lp/instflatplan-2026/）専用
   読み込み: single-lp-instflatplan-2026.php
   接頭辞 .ifp- でこのページ内に閉じる
   ============================================================ */

.ifp {
  --ifp-navy: #113151;
  --ifp-navy-deep: #0b2238;
  --ifp-navy-soft: #1a4b7e;
  --ifp-amber: #f5a623;
  --ifp-amber-light: #ffc55c;
  --ifp-marker: #ffd898;
  --ifp-bg: #f4f7fa;
  --ifp-line: #e2e9f1;
  --ifp-text: #243240;
  --ifp-muted: #5f7186;
  --ifp-radius: 4px; /* ピル型(999px)以外の角丸はすべてこれ */

  color: var(--ifp-text);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow: clip;
}

.ifp img { max-width: 100%; height: auto; }
.ifp :where(p) { margin: 0; } /* :where()で詳細度を抑え、後続のクラス指定マージンを有効にする */

/* ---------- レイアウト ---------- */

.ifp-section { padding: clamp(60px, 9vw, 104px) 24px; background: #fff; }
.ifp-section--tint { background: var(--ifp-bg); }
.ifp-container { max-width: 1080px; margin: 0 auto; }

.ifp-label {
  text-align: center;
  color: var(--ifp-amber);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}

.ifp-h2 {
  margin: 10px 0 0;
  text-align: center;
  color: var(--ifp-navy);
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.ifp-h3 {
  margin: clamp(48px, 7vw, 72px) 0 0;
  text-align: center;
  color: var(--ifp-navy);
  font-size: clamp(20px, 3.2vw, 25px);
  font-weight: 700;
  line-height: 1.5;
}

.ifp-lead-text,
.ifp-body-text {
  margin-top: clamp(32px, 5vw, 44px);
  text-align: center;
  font-size: clamp(14.5px, 2.1vw, 16px);
}
/* 連続する段落は「見出し直後」より詰めて段落リズムを作る */
.ifp-body-text + .ifp-body-text { margin-top: 18px; }

.ifp-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ifp-muted);
}
.ifp-note--center { text-align: center; }
/* 共通特長帯の直後の注記 */

.ifp-center { text-align: center; }

/* セクション内のボタン行（誘導文の直後に置く） */
.ifp-btn-row { margin-top: clamp(44px, 6vw, 56px); }

/* テキスト→テキストリンクの行（本文に密着させない） */
.ifp-link-row { margin-top: 22px; }

.ifp-figure { max-width: 920px; margin: clamp(32px, 5vw, 48px) auto 0; text-align: center; }
/* 図版直後のテキストは画像と密着しないよう広めに取る */
.ifp-figure + .ifp-body-text,
.ifp-figure + .ifp-lead-text { margin-top: clamp(36px, 5vw, 48px); }

.ifp-figure--card {
  background: #fff;
  border: 1px solid var(--ifp-line);
  border-radius: var(--ifp-radius);
  padding: clamp(20px, 3.5vw, 36px);
}

@media screen and (max-width: 767px) {
  .ifp-lead-text,
  .ifp-body-text { text-align: left; }
  .ifp-lead-text br,
  .ifp-body-text br { display: none; }
}

/* ---------- ボタン ---------- */

.ifp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}
.ifp-btn svg { width: 1.1em; height: 1.1em; flex: none; }

.ifp-btn--primary {
  background: linear-gradient(135deg, var(--ifp-amber-light), var(--ifp-amber));
  color: var(--ifp-navy-deep);
  font-size: clamp(16px, 2.4vw, 19px);
  padding: 20px 44px;
  box-shadow: 0 8px 20px -10px rgba(245, 166, 35, 0.55);
}
.ifp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(245, 166, 35, 0.65);
}

.ifp-btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: clamp(14.5px, 2vw, 16px);
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.06);
}
.ifp-btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

.ifp-btn--outline {
  border: 1.5px solid var(--ifp-navy);
  color: var(--ifp-navy);
  background: #fff;
  font-size: 15px;
  padding: 15px 30px;
}
.ifp-btn--outline:hover { background: var(--ifp-navy); color: #fff; }

.ifp-btn--navy {
  background: var(--ifp-navy);
  color: #fff;
  font-size: clamp(15.5px, 2.2vw, 17px);
  padding: 18px 42px;
  box-shadow: 0 12px 26px -12px rgba(17, 49, 81, 0.55);
}
.ifp-btn--navy:hover {
  transform: translateY(-2px);
  background: var(--ifp-navy-soft);
}

@media screen and (max-width: 767px) {
  .ifp-btn--primary,
  .ifp-btn--navy { width: 100%; max-width: 460px; }
}

/* ---------- テキストリンク ---------- */

.ifp-textlink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ifp-navy-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.ifp-textlink svg { width: 0.95em; height: 0.95em; }
.ifp-textlink:hover { color: var(--ifp-amber); }

/* ---------- バナーリンク（画像付きの誘導カード） ---------- */

.ifp-banner {
  display: block;
  max-width: 760px;
  margin: clamp(28px, 4vw, 36px) auto 0;
  background: #fff;
  border: 1px solid var(--ifp-line);
  border-radius: var(--ifp-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 30px -22px rgba(17, 49, 81, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ifp-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -22px rgba(17, 49, 81, 0.5);
}
.ifp-banner-media {
  display: block;
  padding: 20px 24px 8px;
}
.ifp-banner-media img { display: block; width: 100%; height: auto; }
.ifp-banner-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px 18px;
  color: var(--ifp-navy);
  font-size: 15.5px;
  font-weight: 700;
}
.ifp-banner-bar svg { width: 16px; height: 16px; flex: none; transition: transform 0.22s ease; }
.ifp-banner:hover .ifp-banner-bar svg { transform: translateX(4px); }

/* ---------- パンくず（HERO画像の上に重ねる） ---------- */
/*
  base.css は height:0 + absolute のオーバーレイ構造だが、本ページで読み込む
  shioj.css が height:auto / position:static に上書きし白帯化するため、
  ここで（読み込み順で勝つ）オーバーレイ構造を復元し、白文字で HERO に重ねる。
*/
.l-breadcrumb_area {
  position: relative;
  height: 0;
  z-index: 10;
}
.l-breadcrumb_area .l-breadcrumb_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px 0;
}
.l-breadcrumb_area .l-breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
}
.l-breadcrumb_area .l-breadcrumb_list li,
.l-breadcrumb_area .l-breadcrumb_list li:last-child {
  color: rgba(255, 255, 255, 0.82);
}
.l-breadcrumb_area .l-breadcrumb_list li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media screen and (max-width: 767px) {
  .l-breadcrumb_area .l-breadcrumb_wrap {
    padding: 12px 24px 0;
  }
}

/* ---------- ヒーロー ---------- */

.ifp-hero {
  position: relative;
  background-color: var(--ifp-navy-deep);
  background-image:
    linear-gradient(105deg, rgba(8, 24, 40, 0.96) 8%, rgba(11, 34, 56, 0.88) 46%, rgba(17, 49, 81, 0.62) 100%),
    url(../../images/lp/instflatplan_2026/hero_placeholder.jpg);
  background-size: cover;
  background-position: center 32%;
  color: #fff;
}
.ifp-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) 24px;
}
/* バッジ＋提供時期注記を横並びにする行（preopen時のみ注記が入る） */
.ifp-hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
/* ボタンと誤認しないよう、ピル型ではなく4px角のシンプルなラベル形にする */
.ifp-hero-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--ifp-radius);
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  font-size: clamp(12.5px, 1.8vw, 14.5px);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ifp-hero-title {
  margin: 24px 0 0;
  font-size: clamp(30px, 5.6vw, 54px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.03em;
}
.ifp-hero-title em {
  font-style: normal;
  color: var(--ifp-amber-light);
}
.ifp-hero-lead {
  margin-top: 18px;
  max-width: 640px;
  font-size: clamp(14px, 2vw, 16.5px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 2;
}
.ifp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
/* 提供開始前（$ifp_preopen）にヒーローバッジの右へ並べる提供時期の注記 */
.ifp-hero-note {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .ifp-hero-cta { flex-direction: column; }
  .ifp-hero-cta .ifp-btn { width: 100%; max-width: none; }
}

/* ---------- 料金カード ---------- */

.ifp-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 880px;
  margin: clamp(36px, 6vw, 52px) auto 0;
}
.ifp-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--ifp-line);
  border-radius: var(--ifp-radius);
  padding: 40px 28px 34px;
  text-align: center;
  box-shadow: 0 22px 44px -30px rgba(17, 49, 81, 0.35);
}
.ifp-plan--featured { border: 2px solid var(--ifp-navy); }
.ifp-plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ifp-amber);
  color: var(--ifp-navy-deep);
  border-radius: var(--ifp-radius);
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
/* 12カ月側の補足バッジ（推しはあくまで6カ月＝featured） */
.ifp-plan-badge--quiet {
  background: #fff;
  border: 1px solid var(--ifp-line);
  color: var(--ifp-navy);
}
.ifp-plan-name {
  color: var(--ifp-navy);
  font-size: clamp(19px, 2.6vw, 22px);
  font-weight: 700;
}
.ifp-plan-chip {
  display: inline-block;
  margin-top: 12px;
  background: #ffeed0;
  color: #7a5200;
  border-radius: var(--ifp-radius);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
}
.ifp-plan-price {
  margin-top: 22px;
  color: var(--ifp-navy);
  font-weight: 700;
  line-height: 1.1;
}
.ifp-plan-num {
  font-size: clamp(42px, 6vw, 56px);
  letter-spacing: 0.01em;
}
.ifp-plan-unit { font-size: clamp(15px, 2vw, 17px); }
.ifp-plan-unit small { font-size: 0.8em; font-weight: 500; }
.ifp-plan-per {
  margin: 20px 0 0;
  background: var(--ifp-bg);
  border-radius: var(--ifp-radius);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ifp-muted);
  font-weight: 500;
}
.ifp-plan-per strong { color: var(--ifp-navy); font-size: 1.35em; }

/* 両コース共通の特長帯（カード内に同一リストを繰り返さない・箱なしで地に直置き） */
.ifp-plans-common {
  max-width: 880px;
  margin: clamp(26px, 4vw, 34px) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ifp-plans-common-label {
  flex: none;
  color: var(--ifp-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ifp-plans-common-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ifp-plans-common-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
}
.ifp-plans-common-list svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--ifp-amber);
}

@media screen and (max-width: 767px) {
  .ifp-plans { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 対象（約2,000団体） ---------- */

.ifp-target { margin-top: clamp(56px, 9vw, 88px); text-align: center; }
.ifp-target-line1 {
  color: var(--ifp-navy);
  font-weight: 700;
  font-size: clamp(17px, 2.6vw, 21px);
}
.ifp-target-line1 strong {
  font-size: clamp(34px, 5.4vw, 46px);
  line-height: 1;
  padding: 0 2px;
}
.ifp-target-line2 {
  margin-top: 6px;
  color: var(--ifp-navy);
  font-weight: 700;
  font-size: clamp(20px, 3.8vw, 30px);
  line-height: 1.8;
}
.ifp-target-etc { font-size: 0.72em; }
.ifp-target-line3 {
  margin-top: 4px;
  color: var(--ifp-navy);
  font-weight: 700;
  font-size: clamp(16px, 2.6vw, 21px);
}
.ifp-marker {
  background: linear-gradient(transparent 58%, var(--ifp-marker) 58%);
  padding: 0 2px 2px;
}
.ifp-target-link { margin-top: 22px; }

/* ---------- CTAブロック（cta.php） ---------- */

.ifp-cta {
  margin-top: clamp(48px, 8vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ifp-cta-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--ifp-muted);
  text-align: center;
}
.ifp-cta-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .ifp-cta-sub { flex-direction: column; width: 100%; max-width: 460px; }
  .ifp-cta-sub .ifp-btn { width: 100%; }
}

/* ---------- お悩み（Q→A） ---------- */

.ifp-problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: clamp(36px, 6vw, 48px) auto 0;
}
.ifp-problem {
  display: flex;
  flex-direction: column;
}
.ifp-problem-q {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ifp-bg);
  border: 1px solid var(--ifp-line);
  border-radius: var(--ifp-radius);
  padding: 26px 18px;
  color: var(--ifp-text);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
}
/* 吹き出しの尾（下のA帯を指す） */
.ifp-problem-q::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--ifp-bg);
  border-right: 1px solid var(--ifp-line);
  border-bottom: 1px solid var(--ifp-line);
  transform: translateX(-50%) rotate(45deg);
}
.ifp-problem-a {
  margin-top: 20px;
  background: var(--ifp-navy);
  color: #fff;
  border-radius: var(--ifp-radius);
  padding: 15px 12px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
}
.ifp-problem-a strong {
  color: var(--ifp-amber-light);
  font-size: 1.2em;
  padding: 0 2px;
}
@media screen and (max-width: 767px) {
  .ifp-problems { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
}

/* ---------- 実績（3カテゴリ×2数値） ---------- */

.ifp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: clamp(36px, 6vw, 48px) auto 0;
}
.ifp-stat {
  background: var(--ifp-bg);
  border-radius: var(--ifp-radius);
  padding: 24px 16px 26px;
  text-align: center;
}
.ifp-stat-cat {
  color: var(--ifp-navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-bottom: 13px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d9e3ed;
}
.ifp-stat-nums {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.ifp-stat-pair {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.ifp-stat-num {
  color: var(--ifp-navy);
  font-size: clamp(34px, 4.6vw, 44px);
  font-weight: 700;
  line-height: 1;
}
.ifp-stat-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ifp-muted);
}
@media screen and (max-width: 767px) {
  .ifp-stats { grid-template-columns: 1fr; gap: 14px; max-width: 480px; }
}

.ifp-linkcards {
  display: grid;
  /* 幅が足りない帯域では自動で2列→1列に落ちる（テキストの不格好な折返しを防ぐ） */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: clamp(32px, 5vw, 44px) auto 0;
}
.ifp-linkcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px solid var(--ifp-navy);
  border-radius: var(--ifp-radius);
  background: #fff;
  padding: 18px 20px;
  color: var(--ifp-navy);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.ifp-linkcard svg { width: 18px; height: 18px; flex: none; }
.ifp-linkcard-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ifp-bg);
  border-radius: var(--ifp-radius);
  transition: background-color 0.22s ease;
}
.ifp-linkcard-icon svg { width: 26px; height: 26px; }
.ifp-linkcard-text { flex: 1; }
.ifp-linkcard:hover {
  background: var(--ifp-navy);
  color: #fff;
  transform: translateY(-2px);
}
.ifp-linkcard:hover .ifp-linkcard-icon { background: rgba(255, 255, 255, 0.14); }
@media screen and (max-width: 767px) {
  .ifp-linkcards { grid-template-columns: 1fr; }
}

/* ---------- 活用事例 ---------- */

.ifp-case {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--ifp-line);
  border-radius: var(--ifp-radius);
  padding: clamp(24px, 4vw, 44px);
  margin-top: clamp(36px, 6vw, 48px);
  box-shadow: 0 22px 44px -30px rgba(17, 49, 81, 0.3);
}
.ifp-case-photo img {
  width: 100%;
  border-radius: var(--ifp-radius);
  display: block;
}
.ifp-case-title {
  margin: 0;
  color: var(--ifp-navy);
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  line-height: 1.6;
}
.ifp-case-lead {
  margin-top: 14px;
  font-weight: 700;
  color: var(--ifp-navy);
}
.ifp-case-body { margin-top: 12px; font-size: 15px; }
/* 事例カードの影と次の誘導文の間に余白を確保 */
.ifp-case + .ifp-body-text { margin-top: clamp(36px, 5vw, 48px); }
@media screen and (max-width: 767px) {
  .ifp-case { grid-template-columns: 1fr; }
}

/* ---------- ご利用の声 ---------- */

.ifp-voices {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: clamp(36px, 6vw, 52px);
}
.ifp-voice {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 36px);
  background: #fff;
  border: 1px solid var(--ifp-line);
  border-radius: var(--ifp-radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 22px 44px -32px rgba(17, 49, 81, 0.3);
}
.ifp-voice-photo img {
  width: 100%;
  border-radius: var(--ifp-radius);
  display: block;
}
.ifp-voice-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ifp-muted);
}
.ifp-voice-title {
  margin: 10px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--ifp-amber);
  color: var(--ifp-navy);
  font-size: clamp(16.5px, 2.4vw, 19px);
  font-weight: 700;
  line-height: 1.65;
}
.ifp-voice-body { margin-top: 14px; font-size: 15px; }
.ifp-voice-body p { margin-top: 10px; }
.ifp-voice-body p:first-child { margin-top: 0; }
.ifp-voice-link { margin-top: 14px; }
@media screen and (max-width: 767px) {
  .ifp-voice { grid-template-columns: 1fr; }
  .ifp-voice-photo { max-width: 280px; margin: 0 auto; }
}
