/*
Theme Name: みすゆ
Theme URI: https://misuyu.com
Author: みすゆ
Description: 前橋のWeb制作「みすゆ」のオリジナルテーマ
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 8.0
Text Domain: misuyu
*/

:root {
  --brand-pink: #f5a8b5;
  --brand-green: #3eb39d;
  --brand-yellow: #efef45;
  --brand-black: #1a1a1a;
  --base-bg: #fafaf9;
  --pink-50: #fef2f4;
  --pink-100: #fde6ea;
  --pink-400: #f17d92;
  --green-50: #effaf7;
  --green-100: #d8f3ec;
  --green-400: #3eb39d;
  --green-500: #2f9a87;
  --yellow-50: #fefee8;
  --yellow-300: #efef45;
  --yellow-400: #e8dc1c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--base-bg);
  color: var(--brand-black);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-black);
}
h1 {
  font-size: clamp(1.125rem, 3vw, 1.875rem);
}
h2 {
  font-size: clamp(1.25rem, 3.5vw, 2.25rem);
}

.text-green {
  color: var(--green-400);
}
.text-pink {
  color: var(--pink-400);
}
.text-yellow {
  color: var(--yellow-300);
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.max-w-3xl {
  max-width: 48rem;
  margin: 0 auto;
}
.max-w-4xl {
  max-width: 56rem;
  margin: 0 auto;
}
.max-w-5xl {
  max-width: 64rem;
  margin: 0 auto;
}
.max-w-6xl {
  max-width: 72rem;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s;
  text-align: center;
  gap: 0.75rem;
}
.btn-primary {
  background: var(--yellow-300);
  color: var(--brand-black);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
  background: var(--yellow-400);
  transform: scale(1.05);
}
.btn-white {
  background: white;
  color: var(--green-500);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background: var(--gray-50);
  transform: scale(1.05);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-multiline {
  flex-direction: column;
  text-align: center;
  line-height: 1.4;
}
.btn-multiline .btn-text {
  text-align: center;
}

/* PC/スマホ切り替え用ボタンテキスト */
.btn-text-pc {
  display: inline;
}
.btn-text-sp {
  display: none;
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .btn-text-pc {
    display: none;
  }
  .btn-text-sp {
    display: inline;
  }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}
.badge-green {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-500);
}
.badge-pink {
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  color: var(--pink-400);
}
.badge-yellow {
  background: var(--yellow-50);
  border: 1px solid var(--yellow-100);
  color: #a16207;
}
.badge-white {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.pulse-dot-green {
  background: var(--green-400);
}
.pulse-dot-yellow {
  background: var(--yellow-300);
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Section */
.section {
  padding: 4rem 1rem;
}
@media (min-width: 640px) {
  .section {
    padding: 5rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .section {
    padding: 6rem 2rem;
  }
}
.section-white {
  background: white;
}
.section-bg {
  background: var(--base-bg);
}
.section-pink {
  background: rgba(254, 242, 244, 0.5);
}
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin-top: 1rem;
}

/* Card */
.card {
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Bento Grid Hero Section (Modern Trend)
   ========================================= */

/* フォント調整 */
.price-number,
.bento-title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-feature-settings: 'palt';
}

.hero-bento-section {
  padding: 2rem 0 4rem;
  background-color: var(--base-bg);
}

/* グリッドレイアウト定義 */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr; /* スマホは1列 */
  grid-template-rows: auto auto auto;
}

/* PCレイアウト (1024px以上) */
@media (min-width: 1024px) {
  .hero-bento-section {
    padding: 4rem 0 6rem;
  }
  .bento-grid {
    grid-template-columns: 1.8fr 1fr; /* 左:右 = 1.8:1 */
    grid-template-rows: 240px 240px; /* 高さ指定 */
    grid-template-areas:
      'main price'
      'main action';
  }
  .area-main {
    grid-area: main;
  }
  .area-price {
    grid-area: price;
  }
  .area-action {
    grid-area: action;
  }
}

/* 共通ボックススタイル */
.bento-item {
  position: relative;
  border-radius: 2rem; /* トレンドの大きな角丸 */
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bento-item:hover {
  transform: translateY(-4px); /* ホバーで少し浮く */
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

/* [A] Main Visual */
.area-main {
  background-color: #111; /* 画像が読み込まれるまでの背景 */
  color: white;
  min-height: 400px; /* スマホ時の高さ確保 */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  isolation: isolate;
}
.bento-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: -2;
}
.area-main:hover .bento-bg-image {
  transform: scale(1.05); /* 画像がゆっくり拡大 */
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  z-index: -1;
}
.bento-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 34rem;
}

/* [B] Price Block */
.area-price {
  background-color: var(--brand-green); /* ブランドカラー */
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.price-label {
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}
.price-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.price-number .currency {
  font-size: 1.5rem;
  vertical-align: super;
}
.price-number .unit {
  font-size: 1rem;
  font-weight: 500;
}
.price-sub {
  font-size: 0.875rem;
  opacity: 0.9;
}
.price-icon-bg {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  opacity: 0.2;
  transform: rotate(-15deg) scale(3);
}

/* [C] Action Block */
.area-action {
  background-color: white;
  border: 1px solid var(--gray-200);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
/* 実績ロゴ風 */
.trust-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-text {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 700;
}
.logo-circles {
  display: flex;
}
.logo-circle {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--gray-100);
  border: 2px solid white;
  border-radius: 50%;
  margin-left: -0.8rem;
}
.logo-circle:first-child {
  margin-left: 0;
}

/* Magnetic Button */
.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--brand-black);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
  width: 100%;
  justify-content: center;
  transition: transform 0.1s;
}
.btn-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--brand-yellow); /* ホバー時の色 */
  border-radius: 9999px;
  z-index: -1;
  transform: scale(0); /* 最初は隠す */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.magnetic-btn:hover .btn-fill {
  transform: scale(1);
}
.magnetic-btn:hover {
  color: var(--brand-black); /* ホバー時の文字色 */
}

/* 文字色を強制的に白にする */
.bento-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
  color: #ffffff !important;
}

/* サブタイトル部分（「前橋の〜」） */
.bento-title .text-gradient {
  font-size: 0.85em;
  display: block;
  line-height: 1.2;
  margin-top: 0.3em;
}
@media (max-width: 1023px) {
  .bento-title .text-gradient {
    font-size: 0.75em;
  }
}

/* スマホ時ボタンの色変化アニメーション（PCホバーと同じスタイル） */
@keyframes btnFillScale {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes btnTextColor {
  0% {
    color: white;
  }
  100% {
    color: var(--brand-black);
  }
}
@media (max-width: 1023px) {
  .magnetic-btn .btn-fill {
    transform: scale(0);
    transform-origin: center;
  }
  .magnetic-btn.is-visible .btn-fill {
    animation: btnFillScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)
      forwards;
  }
  .magnetic-btn.is-visible {
    animation: btnTextColor 0.5s ease-out forwards;
  }
}

/* ボタンテキストの改行対応・中央揃え */
.magnetic-btn .btn-text {
  text-align: center;
  line-height: 1.4;
  font-size: 0.9em;
  flex-grow: 1;
}

/* 説明文も白くはっきりさせる */
.bento-desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  max-width: 34rem;
}
/* スマホで説明文の余白を狭める */
@media (max-width: 1023px) {
  .bento-desc {
    font-size: 0.9rem;
    padding-right: 0;
  }
  .area-main {
    padding: 1.5rem;
  }
}

/* 導入実績を隠したとき、ボタンが真ん中に来るように調整 */
.action-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center; /* 上下の真ん中に配置 */
  min-height: 100%; /* 親要素の高さいっぱいに広げる */
}

/* --- 制作者メッセージボックス --- */
.personal-message-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--gray-50); /* 薄いグレー */
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem; /* ボタンとの距離 */
  border: 1px solid var(--gray-200);
  width: 100%;
  max-width: 280px; /* 広がりすぎないように */
}

/* アバター画像 */
.pm-avatar {
  position: relative;
  flex-shrink: 0;
}
.pm-avatar img {
  width: 3rem; /* 48px */
  height: 3rem;
  border-radius: 50%;
  background-color: white;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
/* 緑の「オンライン」ランプ */
.pm-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #22c55e; /* 緑色 */
  border: 2px solid white;
  border-radius: 50%;
}

/* テキスト部分 */
.pm-text {
  display: flex;
  flex-direction: column;
  text-align: left; /* 左揃え */
}
.pm-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}
.pm-msg {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-black);
  line-height: 1.3;
  margin: 0;
}

/* --- Price Features List --- */
.price-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.price-features li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}
.price-features li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* 金額の強調表示 */
.price-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}
.price-number .currency {
  font-size: 1.75rem;
  vertical-align: super;
}
.price-number .unit {
  font-size: 1rem;
  font-weight: 500;
}

/* レスポンシブ：スマホ用改行 */
.sp-only {
  display: none;
}
@media (max-width: 1023px) {
  .sp-only {
    display: inline;
  }
}

/* ボタンのホバー時浮き上がりエフェクト */
.magnetic-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.magnetic-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* =========================================
   News Section (お知らせ)
   ========================================= */
.section-news {
  padding: 3rem 1rem;
  background-color: var(--base-bg);
}
@media (min-width: 768px) {
  .section-news {
    padding: 4rem 1.5rem;
  }
}

.section-news .section-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.section-news .section-heading h2 {
  font-size: 1.5rem;
  margin-top: 0.75rem;
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  text-decoration: none;
  transition: all 0.3s ease;
}
.news-item:hover {
  background: var(--green-50);
  border-color: var(--green-100);
  transform: translateX(4px);
}

.news-date {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

.news-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--green-50);
  color: var(--green-500);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  white-space: nowrap;
}

.news-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand-black);
  line-height: 1.5;
}

.news-arrow {
  color: var(--gray-400);
  transition:
    color 0.3s,
    transform 0.3s;
}
.news-item:hover .news-arrow {
  color: var(--green-500);
  transform: translateX(4px);
}

/* News - Responsive */
@media (max-width: 767px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
  }
  .news-date {
    order: 1;
  }
  .news-category {
    order: 2;
    justify-self: start;
  }
  .news-title {
    order: 3;
    font-size: 0.9rem;
  }
  .news-arrow {
    display: none;
  }
}

/* =========================================
   Introduction Section (導入文)
   ========================================= */
.section-intro {
  padding: 3rem 1rem;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--base-bg) 100%);
}
@media (min-width: 768px) {
  .section-intro {
    padding: 4rem 1.5rem;
  }
}

.intro-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-100);
}
@media (min-width: 768px) {
  .intro-card {
    padding: 3rem;
  }
}

.intro-content {
  text-align: center;
}

.intro-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}
.intro-text:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .intro-text {
    font-size: 1.05rem;
    line-height: 2.2;
  }
}

.intro-text strong {
  font-weight: 700;
}

.highlight-text {
  background: linear-gradient(transparent 60%, var(--yellow-300) 60%);
  padding: 0 0.25rem;
}

/* =========================================
   Concerns Section (よくあるお悩み)
   ========================================= */
.section-concerns {
  padding: 4rem 1rem;
  background-color: white;
}
@media (min-width: 768px) {
  .section-concerns {
    padding: 5rem 1.5rem;
  }
}

.section-concerns .section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-concerns .section-heading h2 {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

/* Concerns Grid */
.concerns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .concerns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.concern-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--base-bg);
  border-radius: 1.5rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.concern-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--pink-100);
}

.concern-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-50);
  border-radius: 50%;
}

.concern-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-400);
}

.concern-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0;
}

/* Concerns Message */
.concerns-message {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(
    135deg,
    var(--green-50) 0%,
    var(--yellow-50) 100%
  );
  border-radius: 1rem;
  border: 1px solid var(--green-100);
}
.concerns-message p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Responsive utility classes */
.sm-hidden {
  display: inline;
}
.sm-block {
  display: none;
}
@media (max-width: 639px) {
  .sm-hidden {
    display: none;
  }
  .sm-block {
    display: inline;
  }
}

/* mb-4 utility */
.mb-4 {
  margin-bottom: 1rem;
}

/* =========================================
   Concerns Bubbles (お悩み吹き出し形式)
   ========================================= */
.concerns-bubbles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.concern-bubble {
  position: relative;
}

.bubble-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.bubble-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--pink-100);
}

.bubble-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bubble-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
  font-weight: 500;
}

.bubble-tail {
  position: absolute;
  bottom: -8px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.05));
}

/* Alternating bubble positions */
.concern-bubble:nth-child(even) .bubble-content {
  margin-left: auto;
}
.concern-bubble:nth-child(even) .bubble-tail {
  left: auto;
  right: 2rem;
}

/* =========================================
   Savior Section (救世主セクション)
   ========================================= */
.section-savior {
  padding: 4rem 1rem;
  background: linear-gradient(
    180deg,
    var(--base-bg) 0%,
    var(--green-50) 50%,
    var(--green-100) 100%
  );
}
@media (min-width: 768px) {
  .section-savior {
    padding: 5rem 1.5rem;
  }
}

.savior-card {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(62, 179, 157, 0.15);
  border: 2px solid var(--green-100);
  text-align: center;
}
@media (min-width: 768px) {
  .savior-card {
    padding: 3.5rem 3rem;
  }
}

.savior-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.savior-badge-icon {
  font-size: 1.25rem;
}
.savior-badge-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-500);
}

.savior-heading {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--brand-black);
  margin-bottom: 2rem;
}

.highlight-green {
  color: var(--green-500);
}

.savior-content {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.savior-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: 1rem;
}
.savior-text:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .savior-text {
    font-size: 1.05rem;
  }
}

.savior-text strong {
  font-weight: 700;
  color: var(--green-500);
}

.savior-cta {
  margin-top: 2rem;
}
.savior-cta .btn {
  font-size: 1rem;
}

/* =====================================================
   Reasons Section（選ばれる3つの理由）
   ===================================================== */
.section-reasons {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
}

.section-reasons .section-heading {
  margin-bottom: 3rem;
}

.section-reasons .section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-black);
  margin-top: 1rem;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1023px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.reason-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(53, 188, 160, 0.15);
}

.reason-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.reason-icon svg {
  width: 32px;
  height: 32px;
}

.reason-badge {
  display: inline-block;
  background: var(--pink-50);
  color: var(--pink-500);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.reason-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.reason-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
  text-align: left;
}

.reason-text strong {
  color: #35bca0;
  font-weight: 600;
}

/* 40-60代向け視認性調整 */
@media (max-width: 1023px) {
  .reason-card {
    padding: 1.75rem 1.5rem;
  }
  .reason-text {
    font-size: 1.05rem;
  }
}

/* =====================================================
   New Pricing Section（4プラン料金）
   ===================================================== */
.section-pricing-new {
  padding: 5rem 0;
  background: #ffffff;
}

.section-pricing-new .section-heading {
  margin-bottom: 3rem;
}

.section-pricing-new .section-heading h2 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--brand-black);
  margin-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.plan-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  text-align: center;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 推奨プラン強調 */
.plan-card-popular {
  border-color: #35bca0;
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 100%);
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(53, 188, 160, 0.2);
}

.plan-card-popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(53, 188, 160, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #35bca0;
}

.plan-icon svg {
  width: 28px;
  height: 28px;
}

.plan-card-popular .plan-icon {
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  color: white;
}

.plan-badge {
  display: inline-block;
  background: rgba(53, 188, 160, 0.12);
  color: #35bca0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.plan-catch {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.plan-price-block {
  background: #f7fafc;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.plan-card-popular .plan-price-block {
  background: rgba(53, 188, 160, 0.08);
}

.plan-price {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-black);
  line-height: 1.2;
}

.plan-card-popular .plan-price {
  color: #35bca0;
  font-size: 1.6rem;
}

.plan-price-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
  margin-top: 0.25rem;
}

.plan-price-unit {
  font-size: 0.85rem;
  color: #718096;
}

.plan-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4a5568;
  text-align: left;
}

.plan-text strong {
  color: #35bca0;
  font-weight: 600;
}

.pricing-cta {
  margin-top: 2rem;
}

/* =====================================================
   Notice Box Section（制約事項）
   ===================================================== */
.section-notice-box {
  padding: 3rem 0 5rem;
  background: #f8faf9;
}

.notice-box {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  position: relative;
}

.notice-box-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
}

.notice-box-icon svg {
  width: 24px;
  height: 24px;
}

.notice-box-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 1rem;
}

.notice-box-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.notice-box-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.notice-box-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
}

.notice-box-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: #35bca0;
  border-radius: 50%;
}

.notice-box-list li strong {
  color: var(--brand-black);
  font-weight: 700;
}

.notice-box-footer {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #718096;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .notice-box {
    padding: 1.75rem 1.5rem;
  }
  .notice-box-title {
    font-size: 1.1rem;
  }
}

/* =====================================================
   Plan Section Layout（プランセクション）
   ===================================================== */
.plan-section {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.plan-section-highlight {
  border-color: #35bca0;
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 100%);
}

.plan-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.plan-section-icon {
  width: 56px;
  height: 56px;
  background: rgba(53, 188, 160, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #35bca0;
  flex-shrink: 0;
}

.plan-section-icon svg {
  width: 28px;
  height: 28px;
}

.plan-section-icon-highlight {
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  color: white;
}

.plan-section-badge {
  display: inline-block;
  background: rgba(53, 188, 160, 0.12);
  color: #35bca0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}

.plan-section-title h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-black);
  margin: 0 0 0.5rem;
}

.plan-section-catch {
  font-size: 0.95rem;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}

.plan-section-catch strong {
  color: #35bca0;
  font-weight: 600;
}

/* Tier Grid */
.plan-tier-grid {
  display: grid;
  gap: 1.5rem;
}

.plan-tier-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.plan-tier-grid-1 {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .plan-tier-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Tier Card */
.plan-tier-card {
  background: #f7fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.3s ease;
}

.plan-tier-card:hover {
  transform: translateY(-2px);
}

.plan-tier-card-recommend {
  background: rgba(53, 188, 160, 0.08);
  border: 2px solid #35bca0;
}

.plan-tier-card-wide {
  max-width: 500px;
}

.plan-tier-recommend-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.plan-tier-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 0.75rem;
}

.plan-tier-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 0.75rem;
}

.plan-tier-card-recommend .plan-tier-price {
  color: #35bca0;
}

.plan-tier-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: #718096;
}

.plan-tier-price-block {
  margin-bottom: 0.75rem;
}

.plan-tier-price-row {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
}

.plan-tier-price-row strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-black);
}

.plan-tier-card-recommend .plan-tier-price-row strong {
  color: #35bca0;
}

.plan-tier-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
}

.plan-tier-desc strong {
  color: #35bca0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .plan-section {
    padding: 1.5rem;
  }
  .plan-section-header {
    flex-direction: column;
    gap: 1rem;
  }
  .plan-section-title h3 {
    font-size: 1.15rem;
  }
}

/* =====================================================
   Plan Compare Cards（料金比較カード）
   ===================================================== */
.plan-category {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.plan-category-highlight {
  border-color: #35bca0;
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 100%);
}

.plan-category-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.plan-category-icon {
  width: 56px;
  height: 56px;
  background: rgba(53, 188, 160, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #35bca0;
  flex-shrink: 0;
}

.plan-category-icon svg {
  width: 28px;
  height: 28px;
}

.plan-category-icon-highlight {
  background: linear-gradient(135deg, #35bca0 0%, #2ea88e 100%);
  color: white;
}

.plan-category-badge {
  display: inline-block;
  background: rgba(53, 188, 160, 0.12);
  color: #35bca0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.plan-category-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-black);
  margin: 0.25rem 0 0.5rem;
}

.plan-category-desc {
  font-size: 0.95rem;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}

.plan-category-desc strong {
  color: #35bca0;
  font-weight: 600;
}

/* Compare Grid */
.plan-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.plan-compare-grid-single {
  grid-template-columns: 1fr;
  max-width: 500px;
}

@media (max-width: 768px) {
  .plan-compare-grid {
    grid-template-columns: 1fr;
  }
}

/* Compare Card */
.plan-compare-card {
  background: #f7fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  border: 2px solid transparent;
}

.plan-compare-card-recommend {
  background: var(--pink-50);
  border-color: var(--pink-400);
}

.plan-compare-recommend-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--pink-400);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(241, 125, 146, 0.4);
}

.plan-compare-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.plan-compare-label {
  display: inline-block;
  background: #e2e8f0;
  color: #4a5568;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.plan-compare-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-black);
  margin: 0 0 0.5rem;
}

.plan-compare-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-black);
}

.plan-compare-card-recommend .plan-compare-price {
  color: var(--pink-400);
}

.plan-compare-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #718096;
}

.plan-compare-price-block {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

.plan-compare-price-block strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-black);
}

.plan-compare-card-recommend .plan-compare-price-block strong {
  color: var(--pink-400);
}

/* Feature List */
.plan-compare-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.plan-compare-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a5568;
  border-bottom: 1px solid #edf2f7;
}

.plan-compare-features li:last-child {
  border-bottom: none;
}

.plan-compare-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-compare-features li.included svg {
  color: #35bca0;
}

.plan-compare-card-recommend .plan-compare-features li.included svg {
  color: var(--pink-400);
}

.plan-compare-features li.not-included {
  color: #a0aec0;
}

.plan-compare-features li.not-included svg {
  color: #cbd5e0;
}

.plan-compare-features li.info svg {
  color: #4299e1;
}

.plan-compare-features li.warning svg {
  color: #ed8936;
}

.plan-compare-features li.warning {
  color: #744210;
  background: rgba(237, 137, 54, 0.1);
  margin: 0.25rem -0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border-bottom: none;
}

.plan-compare-features li strong {
  font-weight: 700;
  color: var(--brand-black);
}

.plan-compare-note {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #718096;
  margin: 0;
  padding-top: 0.5rem;
}

.plan-compare-note strong {
  color: var(--pink-400);
  font-weight: 600;
}

@media (max-width: 768px) {
  .plan-category {
    padding: 1.5rem;
  }
  .plan-category-header {
    flex-direction: column;
    gap: 1rem;
  }
  .plan-category-title {
    font-size: 1.15rem;
  }
}
