/* Google Fontsから「Noto Serif JP」をインポート */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/* Google Fontsから「Shippori Mincho」をインポート */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Shippori+Mincho&display=swap');

/* カラーパレットやグラデーション、シャドウ、ボーダーなどの変数定義 */
:root {
  --primary: #0088C7; /* メインの青色 */
  --primary-dark: #006A9E;
  --primary-gradient: linear-gradient(45deg, #0088C7, #32B8DF);
  --secondary: #FFB000; /* セカンダリーカラー（オレンジ） */
  --secondary-gradient: linear-gradient(45deg, #FFB000, #FFCB47);
  --accent: #FFE500; /* アクセントカラー（黄色） */
  --accent-gradient: linear-gradient(45deg, #FFE500, #FFED47);
  --pop1: #36ea66; /* ポップカラー1（緑） */
  --pop1-gradient: linear-gradient(45deg, #06C755, #01b504);
  --pop2: #e81469; /* ポップカラー2（赤） */
  --pop2-gradient: linear-gradient(45deg, #a40000, #ef5a5a);
  --dark: #333333; /* テキスト用のダークグレー */
  --light: #F9F9FF;  /* 背景用の明るい色 */
  --white: #FFFFFF;  /* 白 */
  --gray: #777777;   /* 中間のグレー */
  --light-gray: #E5E1F4;
  --shadow: 0 8px 25px rgba(0, 136, 199, 0.15);
  --card-shadow: 0 15px 35px rgba(154, 108, 255, 0.1);
  --hover-shadow: 0 20px 40px rgba(0, 136, 199, 0.25);
  --border-radius: 20px;
  --border-radius-lg: 30px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* グローバルリセット：全要素のマージン、パディングをリセットし、指定のフォントを適用 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Serif JP', sans-serif;
  /* font-family: 'Shippori Mincho', sans-serif; */
}

/* ボディ全体の基本スタイル */
body {
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* 見出しの基本スタイル：太字と行間 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

/* コンテナクラス：中央寄せで最大幅を指定 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ハイライトテキスト：背景グラデーションを文字に適用して目立たせる */
.highlight-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* バッジ（小さなラベル）のスタイル */
.badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.badge-primary {
  background: var(--primary-gradient);
  color: var(--white);
}
.badge-secondary {
  background: var(--secondary-gradient);
  color: var(--dark);
}
.badge-accent {
  background: var(--accent-gradient);
  color: var(--dark);
}

/* ========================================================================= ナビゲーション部分 ========================================================================= */
.navbar {
  position: fixed; /* 常に画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98); /* 半透明の白背景 */
  box-shadow: var(--shadow);
  padding: 15px 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 10px 0; /* スクロール時にナビゲーションのパディングを小さく */
}
.navbar-container {
  display: flex;
  justify-content: space-between; /* 左右に要素を配置 */
  align-items: center;
}
/* ロゴのスタイル */
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
}
/* ロゴ下部の装飾ライン */
.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 10px;
}
.logo img {
  height: 40px;
  margin-right: 10px;
}

.contact-btn {
  background: var(--pop1-gradient);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(73, 255, 134, 0.39);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transform-origin: center;
}
.contact-btn:before {
  content: '';
  margin-right: 8px;
  font-size: 1.2em;
}
.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(73, 255, 134, 0.888);
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem; /* ロゴサイズを調整 */
  }
  
  .logo img {
    height: 30px; /* ロゴ画像のサイズを調整 */
  }
  
  .hamburger {
    margin-right: 5px; /* ハンバーガーメニューの位置調整 */
  }
  
  .nav-links {
    width: 100%; /* モバイルメニューを全幅に */
    padding: 20px;
  }
  
  .nav-links a {
    font-size: 1.1rem; /* モバイルメニューのフォントサイズ調整 */
    padding: 12px 0; /* タップ領域を広げる */
  }
  
  .contact-btn {
    padding: 5px 10px; /* ボタンサイズの調整 */
    font-size: 0.8rem;
  }
}

/* =========================================================================ナビゲーションリンク========================================================================= */
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 30px;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  transition: var(--transition);
  position: relative;
}
/* =========================================================================ホバー時にリンク下にアンダーラインが伸びるアニメーション========================================================================= */
.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: var(--primary-gradient);
  transition: var(--transition);
  border-radius: 3px;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover:after {
  width: 100%;
}

/* =========================================================================ハンバーガーメニュー（モバイル用）========================================================================= */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* ========================================================================= ヒーローセクション ========================================================================= */

/* PC・モバイル切り替え用の基本クラス */
.pc-only {
  display: block;
}

.mobile-only {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #ffffff; /* ヒーロー背景色 */
  padding: 0;
  margin-top: 80px;
}

.hero-image-full {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.main-visual {
  width: 100%;
  height: auto;
  display: block;
}

/* PC用動画を確実に表示 */
.main-visual.pc-only {
  display: block;
}

/* モバイル用画像を確実に非表示 */
.main-visual.mobile-only {
  display: none;
}

.hero-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

/* タブレット用の調整 */
@media (max-width: 1024px) and (min-width: 769px) {
  .pc-only {
    display: block;
  }
  
  .mobile-only {
    display: none;
  }
}

/* モバイル用の切り替え */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  
  .mobile-only {
    display: block !important;
  }

  .hero-image-full .mobile-only {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero {
    padding: 10px 10px; /* ナビバーとの間隔調整 */
  }
  
  .hero-content {
    bottom: 40px; /* 位置調整 */
  }
  
  .hero-cta {
    padding: 5px 10px; /* ボタンサイズ調整 */
    font-size: 1.1rem;
    min-width: 200px; /* 幅調整 */
    display: none;
  }
  
  .cta-buttons {
    flex-direction: column; /* 縦並びに */
    gap: 15px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    margin-top: 60px; /* ナビバーとの間隔調整 */
  }
  
  .hero-content {
    bottom: 40px; /* 位置調整 */
  }
  
  .hero-cta {
    padding: 12px 25px; /* ボタンサイズ調整 */
    font-size: 1.1rem;
    min-width: 200px; /* 幅調整 */
  }
  
  .cta-buttons {
    flex-direction: column; /* 縦並びに */
    gap: 15px;
  }
}

/* ========================================================================= 
   コミコミエージェント紹介セクション - 信頼性重視デザイン
========================================================================= */

.agent-intro-modern {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 権威性を示すタイトルデザイン */
.modern-title-wrapper {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.title-geometric {
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.geo-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0088C7, transparent);
}

.geo-line.top {
  top: -15px;
  transform: skewX(-20deg);
}

.geo-line.bottom {
  bottom: -15px;
  transform: skewX(20deg);
}

.modern-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0088C7;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
}

.modern-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -30px;
  width: 20px;
  height: 20px;
  background: #0088C7;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
}

.modern-title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 20px;
  height: 20px;
  background: #0088C7;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
}

.title-accent {
  font-size: 1.2rem;
  color: #0088C7;
  margin-top: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 信頼性重視のカードデザイン */
.agent-card-modern {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 
    0 25px 50px rgba(0, 136, 199, 0.08),
    0 0 0 1px rgba(0, 136, 199, 0.05);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}

.agent-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0088C7, #32B8DF, #0088C7);
}

/* 左側：認定・資格情報 */
.card-visual {
  background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-container {
  text-align: center;
  position: relative;
}

/* メイン認定バッジ */
.certification-badge-main {
  margin-bottom: 40px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.badge-circle {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #0088C7, #32B8DF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 136, 199, 0.25);
}

.badge-circle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 3px solid rgba(0, 136, 199, 0.3);
  border-radius: 50%;
  animation: pulse-ring 3s infinite;
}

.badge-circle::after {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border: 2px solid rgba(0, 136, 199, 0.15);
  border-radius: 50%;
  animation: pulse-ring 3s infinite 1s;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.badge-inner {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0088C7;
}

.badge-inner svg {
  width: 48px;
  height: 48px;
}

.badge-text {
  text-align: center;
}

.badge-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0088C7;
  margin-bottom: 4px;
}

.badge-subtitle {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* 信頼指標 */
.trust-metrics {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.metric-item {
  background: white;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 8px 24px rgba(0, 136, 199, 0.1);
  text-align: center;
  min-width: 90px;
  position: relative;
  overflow: hidden;
}

.metric-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0088C7, #32B8DF);
}

.metric-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0088C7;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

/* 右側：プロフェッショナル情報 */
.card-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certification-info {
  margin-bottom: 32px;
}

.cert-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0088C7, #32B8DF);
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 136, 199, 0.3);
}

.license-number {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.content-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.content-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 36px;
}

.content-description strong {
  color: #0088C7;
  font-weight: 700;
}

/* 信頼性ポイント */
.trust-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

.trust-icon {
  width: 28px;
  height: 28px;
  background: #0088C7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 136, 199, 0.2);
}

.trust-icon svg {
  width: 16px;
  height: 16px;
}

/* プロフェッショナルCTAボタン */
.professional-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0088C7, #006A9E);
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0, 136, 199, 0.3);
}

.professional-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.professional-cta-btn:hover::before {
  left: 100%;
}

.professional-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 136, 199, 0.4);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.professional-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* 背景装飾 */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 136, 199, 0.03);
  filter: blur(2px);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  animation: rotate 20s linear infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  animation: rotate 25s linear infinite reverse;
}

.deco-line {
  position: absolute;
  background: linear-gradient(45deg, transparent, rgba(0, 136, 199, 0.1), transparent);
  transform: rotate(45deg);
}

.line-1 {
  width: 400px;
  height: 2px;
  top: 20%;
  right: -200px;
}

.line-2 {
  width: 300px;
  height: 1px;
  bottom: 30%;
  left: -150px;
  transform: rotate(-45deg);
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* アニメーション */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .agent-card-modern {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
  
  .card-visual {
    padding: 50px 40px 30px;
  }
  
  .card-content {
    padding: 30px 40px 50px;
  }
  
  .content-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .modern-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0088C7;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
}
  .agent-intro-modern {
    padding: 80px 0;
  }
  
  .modern-title-wrapper {
    margin-bottom: 60px;
  }
  
  .modern-title::before,
  .modern-title::after {
    display: none;
  }
  
  .card-visual,
  .card-content {
    padding: 40px 30px;
  }
  
  .content-title {
    font-size: 2rem;
  }
  
  .trust-metrics {
    gap: 15px;
  }
  
  .metric-item {
    padding: 16px 12px;
    min-width: 75px;
  }
  
  .metric-number {
    font-size: 1.5rem;
  }
  
  .trust-points {
    gap: 15px;
  }
  
  .badge-circle {
    width: 120px;
    height: 120px;
  }
  
  .badge-inner {
    width: 85px;
    height: 85px;
  }
  
  .badge-inner svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .agent-intro-modern {
    padding: 60px 0;
  }
  
  .title-geometric {
    padding: 0 20px;
  }
  
  .geo-line.top {
    top: -10px;
  }
  
  .geo-line.bottom {
    bottom: -10px;
  }
  
  .agent-card-modern {
    margin: 0 10px;
    border-radius: 16px;
  }
  
  .card-visual,
  .card-content {
    padding: 30px 25px;
  }
  
  .badge-circle {
    width: 100px;
    height: 100px;
  }
  
  .badge-inner {
    width: 70px;
    height: 70px;
  }
  
  .badge-inner svg {
    width: 32px;
    height: 32px;
  }
  
  .content-title {
    font-size: 1.8rem;
  }
  
  .content-description {
    font-size: 1rem;
  }
  
  .professional-cta-btn {
    padding: 16px 32px;
    font-size: 1rem;
  }
  
  .trust-item {
    font-size: 0.9rem;
  }
  
  .trust-icon {
    width: 24px;
    height: 24px;
  }
  
  .trust-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .cert-badge {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
  
  .license-number {
    font-size: 0.8rem;
  }
  
  .badge-title {
    font-size: 1.1rem;
  }
  
  .badge-subtitle {
    font-size: 0.8rem;
  }
}

/* ========================================================================= 
   コミコミ不動産とは - 権威性重視デザイン
========================================================================= */

.company-intro-authority {
  padding: 120px 0;
  background: linear-gradient(135deg, #fafbff 0%, #f5f8ff 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 権威的なタイトルデザイン */
.authority-title-wrapper {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.title-frame {
  position: relative;
  display: inline-block;
  padding: 30px 50px;
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #0088C7;
}

.frame-corner.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.frame-corner.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.frame-corner.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.frame-corner.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.authority-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #333;
  margin: 0;
  position: relative;
  letter-spacing: -0.02em;
}

.authority-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0088C7, #32B8DF);
  border-radius: 2px;
}

.authority-subtitle {
  font-size: 1.3rem;
  color: #0088C7;
  margin-top: 25px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* メイン権威カード */
.authority-main-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 
    0 30px 60px rgba(0, 136, 199, 0.1),
    0 0 0 1px rgba(0, 136, 199, 0.08);
  overflow: hidden;
  position: relative;
}

.authority-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #0088C7, #32B8DF, #0088C7);
}

/* 会社概要セクション */
.company-overview {
  padding: 60px 50px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  position: relative;
}

.overview-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.badge-emblem {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0088C7, #32B8DF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 15px 30px rgba(0, 136, 199, 0.3);
  position: relative;
}

.badge-emblem::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid rgba(0, 136, 199, 0.2);
  border-radius: 50%;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.badge-emblem svg {
  width: 40px;
  height: 40px;
}

.badge-text {
  text-align: left;
}

.badge-main {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #333;
  letter-spacing: 0.05em;
}

.badge-sub {
  display: block;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.company-mission {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.3;
}

.mission-description {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.mission-description strong {
  color: #0088C7;
  font-weight: 700;
}

/* 権威性の3つの柱 */
.authority-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar-item {
  padding: 50px 40px;
  background: #ffffff;
  position: relative;
  border-right: 1px solid rgba(0, 136, 199, 0.1);
  transition: all 0.3s ease;
}

.pillar-item:last-child {
  border-right: none;
}

.pillar-item:hover {
  background: linear-gradient(135deg, #fafbff 0%, #f0f7ff 100%);
  transform: translateY(-5px);
}

.pillar-header {
  margin-bottom: 24px;
  text-align: center;
}

.pillar-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pillar-icon.official {
  background: linear-gradient(135deg, #0088C7, #32B8DF);
}

.pillar-icon.influencer {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.pillar-icon.achievement {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.pillar-icon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  opacity: 0.3;
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
}

.pillar-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.pillar-content {
  text-align: center;
}

.pillar-main-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0088C7;
  margin-bottom: 8px;
  line-height: 1.4;
}

.pillar-detail {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.4;
}

.pillar-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* 信頼性の証明 */
.trust-proof {
  padding: 40px 50px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  border-top: 1px solid rgba(0, 136, 199, 0.1);
}

.proof-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
}

.proof-icon {
  font-size: 1.2rem;
}

/* 背景装飾 */
.authority-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.auth-decoration {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 136, 199, 0.03);
  filter: blur(3px);
}

.auth-deco-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.auth-deco-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -30px) rotate(5deg); }
}

.auth-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230088C7' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

/* アニメーション */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .authority-pillars {
    grid-template-columns: 1fr;
  }
  
  .pillar-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 136, 199, 0.1);
  }
  
  .pillar-item:last-child {
    border-bottom: none;
  }
  
  .company-overview,
  .trust-proof {
    padding: 50px 40px 30px;
  }
  
  .mission-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .authority-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #333;
  margin: 0;
  position: relative;
  letter-spacing: -0.02em;
}

  .company-intro-authority {
    padding: 80px 0;
  }
  
  .authority-title-wrapper {
    margin-bottom: 60px;
  }
  
  .title-frame {
    padding: 20px 30px;
  }
  
  .company-overview,
  .trust-proof {
    padding: 40px 30px;
  }
  
  .pillar-item {
    padding: 40px 30px;
  }
  
  .overview-badge {
    flex-direction: column;
    gap: 15px;
  }
  
  .badge-text {
    text-align: center;
  }
  
  .mission-title {
    font-size: 1.8rem;
  }
  
  .mission-description {
    font-size: 1.1rem;
  }
  
  .proof-items {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .company-intro-authority {
    padding: 60px 0;
  }
  
  .title-frame {
    padding: 15px 25px;
  }
  
  .frame-corner {
    width: 15px;
    height: 15px;
    border-width: 2px;
  }
  
  .authority-main-card {
    margin: 0 10px;
    border-radius: 16px;
  }
  
  .company-overview,
  .trust-proof,
  .pillar-item {
    padding: 30px 25px;
  }
  
  .badge-emblem {
    width: 60px;
    height: 60px;
  }
  
  .badge-emblem svg {
    width: 30px;
    height: 30px;
  }
  
  .badge-main {
    font-size: 1.4rem;
  }
  
  .badge-sub {
    font-size: 0.9rem;
  }
  
  .mission-title {
    font-size: 1.6rem;
  }
  
  .mission-description {
    font-size: 1rem;
  }
  
  .pillar-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .pillar-title {
    font-size: 1.2rem;
  }
  
  .pillar-main-text {
    font-size: 1rem;
  }
  
  .pillar-detail {
    font-size: 0.9rem;
  }
  
  .pillar-description {
    font-size: 0.9rem;
  }
  
  .proof-items {
    gap: 20px;
  }
  
  .proof-item {
    font-size: 0.9rem;
  }
}

/* -- =========================================================================「初期費用0円」に隠れたリスク =========================================================================-- */
/* 不安感を出すためのエリア */
.anxious-intro {
/* センター配置・余白など調整 */
text-align: center;
margin-bottom: 30px;
/* やや薄い赤系の背景で不安感を演出 */
background: rgba(232, 20, 105, 0.05);
padding: 20px;
border: 3px dashed rgba(232, 20, 105, 0.3); /* 赤系の点線 */
border-radius: 15px;
box-shadow: 0 5px 15px rgba(232, 20, 105, 0.1);
position: relative;
}

/* 見出しを少し揺らすようなアニメーションで不安定さを演出 */
.anxious-heading {
font-size: 2rem;
color: var(--pop2); /* 例: #e81469 */
line-height: 1.6;
margin: 0;
font-weight: 800;
text-shadow: 1px 1px 0 rgba(232, 20, 105, 0.2);
animation: shaky 3.5s infinite alternate ease-in-out; /* ゆっくりとした揺れアニメーションに変更 */
}


/* 揺れアニメーション keyframes はそのまま */
@keyframes shaky {
0% {
transform: translate(0, 0) rotate(0deg);
}
20% {
transform: translate(-2px, 1px) rotate(-1deg);
}
40% {
transform: translate(2px, -2px) rotate(1deg);
}
60% {
transform: translate(-1px, 1px) rotate(0deg);
}
80% {
transform: translate(1px, 0px) rotate(1deg);
}
100% {
transform: translate(0, 0) rotate(0deg);
}
}

.concerns {
width: 100%;
background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
padding: 100px 0;
position: relative;
overflow: hidden;
}

/* セクションの背景パターン - 軽快なドット柄 */
.concerns::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: radial-gradient(#ff6b6b 2px, transparent 2px);
background-size: 30px 30px;
opacity: 0.08;
z-index: 0;
}

/* 警告タイトルのスタイリング - ポップな色使い */
.concerns .section-title h2 {
font-size: 2.8rem;
background: linear-gradient(45deg, #ff3333, #ff5c5c);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
margin-bottom: 40px;
letter-spacing: 1px;
font-weight: 800;
display: inline-block;
padding: 0 15px;
}

/* タイトル下のアクセントライン */
.concerns .section-title h2::after {
content: "";
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(to right, #ff2f2f, #ff6666);
border-radius: 5px;
}

.concerns .section-title::before,
.concerns .section-title::after {
content: "";
position: absolute;
font-size: 1.8rem;
top: 0;
}

.concerns .section-title::before {
left: -40px;
}

.concerns .section-title::after {
right: -40px;
}

/* リスクカードのグリッド */
.concerns-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
max-width: 1200px;
margin: 0 auto;
position: relative;
z-index: 1;
}

/* リスクカードの基本スタイル - ポップでかわいらしく */
.concern-item {
position: relative;
background: white;
border-radius: 20px;
height: 180px;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
border: 3px solid #ff9e9e;
padding: 20px;
}

/* カードホバー効果 */
.concern-item:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
border-color: #ff6b6b;
}

/* カード内の警告アイコン */
.concern-icon {
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 50px;
border-radius: 50%;
background: linear-gradient(45deg, #ff6b6b, #ff9e9e);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.5rem;
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
border: 3px solid white;
z-index: 2;
transition: all 0.3s ease;
}

/* アイコンホバーエフェクト */
.concern-item:hover .concern-icon {
transform: translateX(-50%) scale(1.1);
box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* テキスト部分 */
.concern-text {
color: #444;
font-size: 1.3rem;
font-weight: 700;
text-align: center;
padding: 10px;
margin-top: 20px;
position: relative;
z-index: 2;
line-height: 1.4;
}

/* テキスト下の装飾ライン */
.concern-text::after {
content: "";
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 3px;
background: linear-gradient(90deg, #ffcece, #ff6b6b, #ffcece);
transition: all 0.3s ease;
border-radius: 3px;
}

/* ホバー時のラインアニメーション */
.concern-item:hover .concern-text::after {
width: 70%;
}

/* ポップなバッジ */
.concern-badge {
position: absolute;
top: 10px;
right: 10px;
background: #ffcece;
color: #ff6b6b;
padding: 3px 8px;
border-radius: 10px;
font-size: 0.7rem;
font-weight: 700;
border: 1px dashed #ff6b6b;
letter-spacing: 0.5px;
}

/* 各カードの色バリエーション */
.concern-item:nth-child(1) {
border-color: #ff9e9e;
}
.concern-item:nth-child(2) {
border-color: #ffb88c;
}
.concern-item:nth-child(2) .concern-icon {
background: linear-gradient(45deg, #ff8c61, #ffb88c);
}
.concern-item:nth-child(2) .concern-badge {
background: #ffead8;
color: #ff8c61;
border-color: #ff8c61;
}
.concern-item:nth-child(2) .concern-text::after {
background: linear-gradient(90deg, #ffead8, #ff8c61, #ffead8);
}

.concern-item:nth-child(3) {
border-color: #7ce57f;
}
.concern-item:nth-child(3) .concern-icon {
background: linear-gradient(45deg, #7ce57f, #bcfdb9);
}
.concern-item:nth-child(3) .concern-badge {
background: #e1f2ff;
color: #7ce57f;
border-color: #7ce57f;
}
.concern-item:nth-child(3) .concern-text::after {
background: linear-gradient(90deg, #e1f2ff, #7ce57f, #e1f2ff);
}

.concern-item:nth-child(4) {
border-color: #c4a1ff;
}
.concern-item:nth-child(4) .concern-icon {
background: linear-gradient(45deg, #9c6eff, #c4a1ff);
}
.concern-item:nth-child(4) .concern-badge {
background: #ece1ff;
color: #9c6eff;
border-color: #9c6eff;
}
.concern-item:nth-child(4) .concern-text::after {
background: linear-gradient(90deg, #ece1ff, #9c6eff, #ece1ff);
}

.concern-item:nth-child(5) {
border-color: #ffbaf8;
}
.concern-item:nth-child(5) .concern-icon {
background: linear-gradient(45deg, #ff78e1, #ffbaf8);
}
.concern-item:nth-child(5) .concern-badge {
background: #ffe6fb;
color: #ff78e1;
border-color: #ff78e1;
}
.concern-item:nth-child(5) .concern-text::after {
background: linear-gradient(90deg, #ffe6fb, #ff78e1, #ffe6fb);
}

.concern-item:nth-child(6) {
border-color: #a0e9ff;
}
.concern-item:nth-child(6) .concern-icon {
background: linear-gradient(45deg, #59d4ff, #a0e9ff);
}
.concern-item:nth-child(6) .concern-badge {
background: #e0f8ff;
color: #59d4ff;
border-color: #59d4ff;
}
.concern-item:nth-child(6) .concern-text::after {
background: linear-gradient(90deg, #e0f8ff, #59d4ff, #e0f8ff);
}

/* カードの丸い角装飾 */
.concern-item::before {
content: "";
position: absolute;
width: 20px;
height: 20px;
background: rgba(255, 255, 255, 0.7);
border-radius: 50%;
top: 10px;
left: 10px;
}

.concern-item::after {
content: "";
position: absolute;
width: 10px;
height: 10px;
background: rgba(255, 255, 255, 0.5);
border-radius: 50%;
bottom: 10px;
right: 10px;
}

/* 脈動アニメーション */
@keyframes pulse {
0%, 100% {
opacity: 0.6;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.1);
}
}

/* 揺れるアニメーション */
@keyframes shake {
0%, 100% {
transform: translateX(0);
}
10%, 30%, 50%, 70%, 90% {
transform: translateX(-5px);
}
20%, 40%, 60%, 80% {
transform: translateX(5px);
}
}

.concern-item:hover::before {
opacity: 1;
}

@keyframes float {
0% {
transform: translateY(0) translateX(0);
opacity: 0;
}
10% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
transform: translateY(-500px) translateX(100px);
opacity: 0;
}
}

/* 不安なテキストの震え効果 */
.concern-text {
animation: textShake 3s infinite;
}

@keyframes textShake {
0%, 100% {
transform: translateX(0);
}
5%, 15%, 25% {
transform: translateX(-2px);
}
10%, 20%, 30% {
transform: translateX(2px);
}
35% {
transform: translateX(0);
}
}

/* 不安を煽るイントロのスタイル変更 */
.anxious-intro {
text-align: center;
margin-bottom: 30px;
background: rgba(255, 155, 155, 0.1);
padding: 20px;
border: 2px dashed rgba(255, 107, 107, 0.3);
border-radius: 15px;
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.1);
position: relative;
}

.anxious-heading {
font-size: 1.8rem;
color: #ff6b6b;
line-height: 1.6;
margin: 0;
font-weight: 700;
}

/* 強調部分のスタイル */
.anxious-heading strong {
font-weight: 800;
background: linear-gradient(45deg, #ff6b6b, #ff9e9e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .concerns-grid {
  grid-template-columns: repeat(2, 1fr);
  }
  }
  
  @media (max-width: 768px) {
  .concerns-grid {
  grid-template-columns: 1fr;
  }
  
  .concerns .section-title h2 {
  font-size: 1.35rem;
  }
  
  .concern-text {
  font-size: 1.1rem;
  }
  
  .anxious-heading {
  font-size: 0.8rem;
  }
  
  
  .concerns .section-title::before,
  .concerns .section-title::after {
  display: none;
  }
  }

/* =========================================================================コミコミ不動産はその全ての心配を排除セクション========================================================================= */

.transition-message {
  position: relative;
  padding: 70px 0;
  margin: 60px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7ff, #eef2ff);
  text-align: center;
}

/* 背景装飾 */
.transition-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* 光のエフェクト */
.transition-light {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.8;
  z-index: 0;
  animation: lightRotate 20s linear infinite;
  pointer-events: none;
}

@keyframes lightRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 装飾的な形 */
.transition-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(0, 136, 199, 0.08), rgba(0, 136, 199, 0.02));
  opacity: 0.5;
  filter: blur(60px);
}

.shape1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation: floatShape 15s infinite alternate ease-in-out;
}

.shape2 {
  width: 250px;
  height: 250px;
  bottom: -80px;
  left: -50px;
  background: linear-gradient(45deg, rgba(255, 176, 0, 0.08), rgba(255, 176, 0, 0.02));
  animation: floatShape 12s infinite alternate-reverse ease-in-out;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, -20px);
  }
}

/* コンテナ */
.transition-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* コンテンツ - ボックス全体に外側から光を当てる */
.transition-content {
  background: rgba(255, 255, 255, 1); /* 完全な白背景 */
  border-radius: 15px;
  padding: 35px 40px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(0, 136, 199, 0.2),
    0 0 80px rgba(0, 136, 199, 0.15);
  position: relative;
  overflow: hidden;
  display: inline-block;
  min-width: 60%;
  /* 光を放つような効果 */
  animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 
      0 15px 35px rgba(0, 0, 0, 0.1),
      0 0 30px rgba(0, 136, 199, 0.15),
      0 0 50px rgba(0, 136, 199, 0.1);
  }
  100% {
    box-shadow: 
      0 15px 35px rgba(0, 0, 0, 0.15),
      0 0 50px rgba(0, 136, 199, 0.25),
      0 0 80px rgba(0, 136, 199, 0.15);
  }
}

/* 光の動きを表現する装飾エフェクト */
.transition-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: lightSweep 8s infinite ease-out;
  z-index: 0;
}

@keyframes lightSweep {
  0% {
    transform: translate(-100%, -100%) rotate(30deg);
  }
  50%, 100% {
    transform: translate(100%, 100%) rotate(30deg);
  }
}

/* タイトル - 通常の文字は黒色 */
.transition-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
  padding: 10px 0;
  color: #333; /* 黒色 */
  display: inline-block;
  line-height: 1.4;
}

/* 強調単語スタイル */
.highlight-word {
  color: #0088C7; /* ブルー */
  font-size: 3rem; /* 大きめ */
  font-weight: 800; /* より太く */
  display: inline-block;
  position: relative;
  margin: 0 2px;
}

/* 強調単語のエフェクト */
.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 136, 199, 0.15);
  border-radius: 2px;
}

/* 矢印 */
.transition-arrow {
  width: 40px;
  height: 40px;
  margin: 15px auto 0;
  color: #0088C7;
  animation: bounce 2s infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 5px rgba(0, 136, 199, 0.3));
}

.transition-arrow svg {
  width: 100%;
  height: 100%;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .transition-message {
    padding: 50px 0;
    margin: 40px 0;
  }
  
  .transition-content {
    padding: 25px 30px;
    min-width: 80%;
  }
  
  .transition-title {
    font-size: 2rem;
  }
  
  .highlight-word {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .transition-message {
    padding: 40px 0;
    margin: 30px 0;
  }
  
  .transition-content {
    padding: 20px 25px;
    width: 90%;
  }
  
  .transition-title {
    font-size: 1.1rem;
  }
  
  .highlight-word {
    font-size: 1.8rem;
  }
  
  .transition-arrow {
    width: 30px;
    height: 30px;
    margin-top: 10px;
  }
}

/* ========================================================================= 5つの0円セクション ========================================================================= */
.modern-title {            
  font-weight: 900;               
  background: linear-gradient(45deg, #1100ff, #06c7fc);
  -webkit-background-clip: text;  
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  }
  
  /* 「最大」テキストのスタイル */
  .maximum-text {
    font-size: 0.5em; /* 0円の文字サイズの半分 */
    font-weight: 600;
    vertical-align: middle;
    display: inline-block;
    margin-right: 5px;
    color: #999; /* グレーの色で控えめに表示 */
    position: relative;
    top: -5px; /* 少し上に配置 */
  }
  
  /* 縦向きモバイル画面での調整 */
  @media (max-width: 480px) {
    .maximum-text {
      font-size: 0.6em;
      top: -3px;
    }
  }
  
  .zero-fees {
    padding: 100px 0 80px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 0;
  }
  /* 背景パターン */
  .zero-fees::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
  }
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
  }
  /* タイトルバッジ */
  .title-badge {
    display: inline-block;
    background: var(--secondary-gradient);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 176, 0, 0.3);
    position: relative;
  }
  .title-badge::before,
  .title-badge::after {
    content: '✨';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
  }
  .title-badge::before {
    left: -25px;
  }
  .title-badge::after {
    right: -25px;
  }
  .section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 0 15px;
  }
  .section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 15px;
    background-color: rgba(0, 136, 199, 0.1);
    z-index: -1;
    border-radius: 10px;
  }
  .zero-intro {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
  }
  .zero-intro-box {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    max-width: 800px;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary);
  }
  .intro-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    flex-shrink: 0;
  }
  .zero-intro-box p {
    font-size: 1.2rem;
    color: var(--dark);
    line-height: 1.7;
    font-weight: 600;
    margin: 0;
  }
  .fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
  }
  /* 各費用カードのスタイル */
  .fee-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    transform: translateY(0) rotate(0deg);
    border: 3px solid transparent;
  }
  .fee-card:nth-child(odd) {
    transform: rotate(-1deg);
  }
  .fee-card:nth-child(even) {
    transform: rotate(1deg);
  }
  .fee-card:hover {
    transform: translateY(-15px) rotate(0deg);
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary);
  }
  .fee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-gradient);
  }
  .fee-card:nth-child(2)::before {
    background: var(--secondary-gradient);
  }
  .fee-card:nth-child(3)::before {
    background: var(--accent-gradient);
  }
  .fee-card:nth-child(4)::before {
    background: var(--pop1-gradient);
  }
  .fee-card:nth-child(5)::before {
    background: var(--pop2-gradient);
  }
  .fee-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
  }
  .fee-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
  }
  .fee-card:nth-child(2) .fee-icon::before {
    background: var(--secondary-gradient);
  }
  .fee-card:nth-child(3) .fee-icon::before {
    background: var(--accent-gradient);
  }
  .fee-card:nth-child(4) .fee-icon::before {
    background: var(--pop1-gradient);
  }
  .fee-card:nth-child(5) .fee-icon::before {
    background: var(--pop2-gradient);
  }
  .fee-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
  }
  .fee-amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--primary);
    position: relative;
    display: inline-block;
    animation: bounce 3s ease-in-out infinite;
  }
  .fee-card:nth-child(2) .fee-amount {
    color: var(--secondary);
    animation-delay: 0.2s;
  }
  .fee-card:nth-child(3) .fee-amount {
    color: var(--accent);
    animation-delay: 0.4s;
  }
  .fee-card:nth-child(4) .fee-amount {
    color: var(--pop1);
    animation-delay: 0.6s;
  }
  .fee-card:nth-child(5) .fee-amount {
    color: var(--pop2);
    animation-delay: 0.8s;
  }
  .fee-amount::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -15px;
    font-size: 1.2rem;
    background: var(--accent);
    color: var(--dark);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(15deg);
  }
  .fee-amount span {
    font-size: 1.5rem;
  }
  .fee-description {
    color: var(--gray);
    font-size: 1rem;
    min-height: 100px;
    position: relative;
  }
  .fee-description p {
    margin-bottom: 25px;
    line-height: 1.7;
  }
  .fee-badge {
    display: inline-block;
    background: rgba(0, 136, 199, 0.1);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 10px;
  }
  .fee-card:nth-child(2) .fee-badge {
    background: rgba(255, 176, 0, 0.1);
    color: var(--secondary);
  }
  .fee-card:nth-child(3) .fee-badge {
    background: rgba(255, 229, 0, 0.1);
    color: #D1B000;
  }
  .fee-card:nth-child(4) .fee-badge {
    background: rgba(154, 108, 255, 0.1);
    color: var(--pop1);
  }
  .fee-card:nth-child(5) .fee-badge {
    background: rgba(0, 214, 143, 0.1);
    color: var(--pop2);
  }
  .total-savings {
    background: var(--accent-gradient);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 30px;
    box-shadow: 0 15px 30px rgba(255, 229, 0, 0.2);
  }
  .savings-icon {
    font-size: 3rem;
    margin-right: 30px;
  }
  .savings-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
  }
  .savings-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
  }
  .savings-amount span {
    font-size: 1.8rem;
  }
  .fees-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 136, 199, 0.05);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
  }
  .note-icon {
    margin-right: 10px;
    font-size: 1.3rem;
  }
  
  /* ========================================================================= なんで0円に出来るの？セクション ========================================================================= */
  /* 理由カードセクション全体のスタイルを高級感ある雰囲気に */
  .why-zero {
  padding: 100px 0 80px;
  background-color: #fafafa; /* 少し明るいオフホワイト */
  position: relative;
  overflow: hidden;
  }
  
  /* 背景に上品な斜めストライプパターン */
  .why-zero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.02) 75%, transparent 75%, transparent);
  background-size: 100px 100px;
  opacity: 0.5;
  z-index: 0;
  }
  
  /* セクションタイトルをより洗練された印象に */
  .why-zero .section-title h2 {
  font-size: 2.8rem;
  color: #333;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  }
  
  /* タイトル下の装飾ライン */
  .why-zero .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #d4af37, #f8e9a1, #d4af37); /* 金色のグラデーション */
  border-radius: 2px;
  }

  .reason-headline {
  position: relative;
  margin: 50px auto;
  padding: 25px 50px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #333;
  text-align: center;
  background: linear-gradient(to right, #f8f6f0, #ffffff, #f8f6f0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: hidden;
  display: block;
  width: 80%;
  max-width: 800px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  }
  
  /* 枠の光る効果 */
  .reason-headline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #d4af37, #f8e9a1, #d4af37);
  border-image-slice: 1;
  box-sizing: border-box;
  pointer-events: none;
  }
  
  /* キラキラの光る効果を作るための要素 */
  .glitter-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50px;
  height: 100%;
  background: linear-gradient(
  90deg,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 0.8) 50%,
  rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: glitter 8s infinite;
  z-index: 1;
  }
  
  /* 2つ目のキラキラ効果（タイミングをずらす） */
  .glitter-effect.delay1 {
  animation-delay: 3s;
  }
  
  /* 3つ目のキラキラ効果（さらにタイミングをずらす） */
  .glitter-effect.delay2 {
  animation-delay: 3s;
  }
  
  /* テキスト */
  .reason-headline-text {
  position: relative;
  z-index: 2;
  }
  
  /* 「経費削減」の部分を強調 */
  .text-keihisakugen {
  display: inline-block;
  color: #d4af37;
  animation: smooth-float 3s ease-in-out infinite;
  }
  
  /* 「最大還元」の部分を強調 */
  .text-saidaikangen {
  display: inline-block;
  color: #d4af37;
  animation: smooth-float 3s ease-in-out infinite;
  animation-delay: 1.5s; /* ずらしてアニメーション */
  }
  
  /* キラキラエフェクトのアニメーション */
  @keyframes glitter {
  0% {
  left: -100%;
  }
  20%, 100% {
  left: 100%;
  }
  }
  
  /* 波打つようなアニメーション */
  @keyframes smooth-float {
  0%, 100% {
  transform: translateY(0);
  }
  25% {
  transform: translateY(-3px);
  }
  50% {
  transform: translateY(0);
  }
  75% {
  transform: translateY(3px);
  }
  }
  
  /* 全体のフェードイン */
  .reason-headline {
  animation: fadeIn 1s ease forwards;
  }
  
  @keyframes fadeIn {
  from {
  opacity: 0;
  transform: translateY(20px);
  }
  to {
  opacity: 1;
  transform: translateY(0);
  }
  }
  
  /* 理由カードのグリッドレイアウト - 統一感を重視 */
  .reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  }
  
  /* 理由カードの基本スタイル - 高級感あるデザイン */
  .reason-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  }
  
  /* ホバー効果 - 控えめながら高級感ある変化 */
  .reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 175, 55, 0.3); /* 金色の境界線 */
  }
  
  /* カード内の上部装飾ライン */
  .reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #d4af37, #f8e9a1, #d4af37);
  opacity: 0.7;
  }
  
  /* カードアイコンコンテナ - 上品で洗練された印象に */
  .reason-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #fff;
  font-size: 2rem;
  position: relative;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  /* アイコン背景のグラデーション - 統一感のある色合い */
  .reason-icon::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003366, #0066a2);
  z-index: -1;
  }
  
  /* すべてのカードでアイコン背景を統一 */
  .reason-card:nth-child(1) .reason-icon::before,
  .reason-card:nth-child(2) .reason-icon::before,
  .reason-card:nth-child(3) .reason-icon::before,
  .reason-card:nth-child(4) .reason-icon::before {
  background: linear-gradient(135deg, #003366, #0066a2);
  }
  
  /* タイトルのスタイル - フォントと間隔を洗練させる */
  .reason-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 15px;
  }
  
  /* タイトル下の装飾ライン */
  .reason-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #d4af37, #f8e9a1, #d4af37);
  border-radius: 1px;
  }
  
  /* 説明文のスタイル - 上品で読みやすく */
  .reason-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  flex-grow: 1;
  }
  
  /* カード下部の装飾エフェクト */
  .reason-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.02), transparent);
  z-index: -1;
  }
  
  .why-zero .section-title h2 {
  font-size: 2.2rem;
  }
  
  .reason-title {
  font-size: 1.3rem;
  }
  
  
  /* タグライン（キャッチコピー）の新しいスタイル */
  .tagline {
  position: relative;
  margin: 40px auto 50px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #6634e5);
  padding: 25px 40px;
  border-radius: 15px;
  display: inline-block;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: perspective(800px) rotateX(5deg);
  border-bottom: 5px solid rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tagline:hover {
  transform: perspective(800px) rotateX(0deg) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
  
  /* キラキラエフェクト用の疑似要素 */
  .tagline::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
  to right,
  rgba(255, 255, 255, 0) 0%,
  rgba(255, 255, 255, 0.3) 50%,
  rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shineEffect 3s infinite;
  z-index: -1;
  }
  
  /* 強調マーカー用の疑似要素 */
  .tagline::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 5%;
  width: 90%;
  height: 6px;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.6;
  z-index: -1;
  }
  
  .tagline-text::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: pulse 1s infinite;
  }
  
  /* キラキラシャインエフェクトのアニメーション */
  @keyframes shineEffect {
  0% {
  transform: translateX(-100%) rotate(50deg);
  }
  20%, 100% {
  transform: translateX(100%) rotate(50deg);
  }
  }
  
  /* 点滅アニメーション */
  @keyframes pulse {
  0%, 100% {
  opacity: 0.6;
  transform: scaleX(1);
  }
  50% {
  opacity: 1;
  transform: scaleX(1.05);
  }
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 768px) {
  .tagline {
  font-size: 1.5rem;
  padding: 20px 30px;
  }
  
  .why-zero .section-title h2 {
  font-size: 1.5rem;
  }

  .reason-title {
  font-size: 1.7rem;
  }

  .reason-headline {
  font-size: 1.6rem;
  padding: 20px 30px;
  width: 90%;
  }
  }

/* =========================================================================== 初期費用のメリットセクション ===================================================================================== */
.benefits-section {
  padding: 120px 0;
  background-color: #f9f9ff;
  position: relative;
  overflow: hidden;
  color: #333;
}

/* 背景 */
.benefits-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 80%, rgba(103, 0, 255, 0.05) 0%, rgba(103, 0, 255, 0) 50%),
              radial-gradient(circle at 20% 30%, rgba(0, 183, 255, 0.05) 0%, rgba(0, 183, 255, 0) 50%);
  z-index: 0;
}

/* セクションタイトル */
.benefits-section .section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.benefits-section .section-title h2 {
  font-size: 3.2rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.benefits-section .highlight-text {
  background: linear-gradient(45deg, #0088C7, #32B8DF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  font-weight: 800;
}

.benefits-section .highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(45deg, rgba(0, 136, 199, 0.15), rgba(50, 184, 223, 0.15));
  border-radius: 4px;
  z-index: -1;
}

/* 風船グリッド - 上段 */
.benefits-grid-top {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* 風船グリッド - 下段 */
.benefits-grid-bottom {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

/* 風船デザイン */
.benefit-balloon {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;  /* 円形 */
  overflow: visible; /* 紐を表示するために変更 */
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  text-align: center;
  transform-origin: center bottom;
  animation: balloonFloat 5s infinite alternate ease-in-out;
  margin-bottom: 30px; /* 紐のスペースを確保 */
}

/* 風船全体のカラー背景 */
.benefit-balloon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%; /* 完全な円 */
  z-index: 1;
}

/* 風船の白い部分（中央の半円） */
.benefit-balloon::after {
  content: '';
  position: absolute;
  top: 40%; /* 中央から */
  left: 5%; /* 左端より少し中に */
  width: 90%; /* 横幅90%に縮小 */
  height: 55%; /* 高さは45%に */
  background: white;
  border-radius: 10px 10px 120px 120px; /* 半円形に整形 */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2; /* カラー背景の上に */
}

/* 風船の色 - 全体 */
.benefit-balloon:nth-child(1)::before {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.benefit-balloon:nth-child(2)::before {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 10px 30px rgba(67, 233, 123, 0.3);
}

.benefit-balloon:nth-child(3)::before {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 10px 30px rgba(250, 112, 154, 0.3);
}

.benefits-grid-bottom .benefit-balloon:nth-child(1)::before {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.benefits-grid-bottom .benefit-balloon:nth-child(2)::before {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  box-shadow: 0 10px 30px rgba(255, 154, 158, 0.3);
}

/* 風船の結び目と紐 */
.balloon-string {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.string-knot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  border-radius: 50%;
  margin: 0 auto 5px;
}

.string-line {
  width: 2px;
  height: 150px; /* 紐をさらに長く */
  background: linear-gradient(to bottom, #ccc, #f5f5f5);
  margin: 0 auto;
}

/* 風船が浮かぶようなアニメーション */
@keyframes balloonFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(-5px) rotate(0deg);
  }
}

/* アニメーションの遅延 */
.benefits-grid-top .benefit-balloon:nth-child(1) {
  animation-delay: 0s;
}

.benefits-grid-top .benefit-balloon:nth-child(2) {
  animation-delay: 0.7s;
}

.benefits-grid-top .benefit-balloon:nth-child(3) {
  animation-delay: 0.3s;
}

.benefits-grid-bottom .benefit-balloon:nth-child(1) {
  animation-delay: 0.5s;
}

.benefits-grid-bottom .benefit-balloon:nth-child(2) {
  animation-delay: 0.2s;
}

/* 風船内のコンテンツ */
.balloon-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  z-index: 3; /* 最前面に */
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 風船表面の光沢効果 */
.balloon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 全体に */
  border-radius: 50%; /* 円形に */
  background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.5), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* ホバーエフェクト */
.benefit-balloon:hover {
  transform: translateY(-20px) scale(1.05);
  z-index: 10;
}

.benefit-balloon:hover .balloon-overlay {
  background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.7), transparent 70%);
}

/* アイコン - 上半分に配置 */
.benefit-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  transition: all 0.4s ease;
  position: relative;
  top: -60px; /* さらに上に移動 */
}

.benefit-balloon:hover .benefit-icon {
  transform: scale(1.2);
}

/* タイトルとテキスト */
.benefit-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff; /* 上半分のタイトルは白 */
  margin: 0 0 5px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  position: relative;
  top: -55px; /* さらに上に移動 */
}

.benefit-tagline {
  font-size: 1.2rem;
  color: #333; /* 下半分のテキストは黒 */
  line-height: 1.3;
  margin: 5px 0;
  font-weight: 600;
  position: relative;
  top: -20px; /* 白い部分に合わせて位置調整 */
  max-width: 75%; /* 幅を制限 */
}

@keyframes buttonShine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  20%, 100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* アニメーション */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
  .benefits-grid-top {
    gap: 30px;
  }
  
  .benefits-grid-bottom {
    gap: 30px;
  }
  
}

@media (max-width: 992px) {
  .benefits-section .section-title h2 {
    font-size: 2.6rem;
  }
  
  .benefits-grid-top {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .benefits-grid-bottom {
    flex-wrap: wrap;
    justify-content: center;
  }
  
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 80px 0;
  }
  
  .benefits-section .section-title h2 {
    font-size: 2.4rem;
  }
  
  .benefits-grid-top,
  .benefits-grid-bottom {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  
  .benefits-grid-top {
    margin-bottom: 20px;
  }
  
  .benefits-cta p {
    font-size: 1.5rem;
  }
  
  .benefits-cta {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {

  .benefits-section {
    padding: 60px 0;
  }
  
  .benefits-section .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  .benefits-cta p {
    font-size: 1.3rem;
  }
}

/* ========================================================================= サービスの流れセクション ========================================================================= */
.service-flow {
padding: 120px 0;
background: linear-gradient(to bottom, #f9fbff, #eef4ff);
position: relative;
overflow: hidden;
}

/* 背景装飾 */
.flow-bg-decoration {
position: absolute;
border-radius: 50%;
opacity: 0.04;
filter: blur(40px);
z-index: 0;
}

.flow-decoration-1 {
width: 500px;
height: 500px;
background: linear-gradient(45deg, #0088C7, #32B8DF);
top: -100px;
right: -200px;
}

.flow-decoration-2 {
width: 400px;
height: 400px;
background: linear-gradient(45deg, #FFB000, #FFCB47);
bottom: -150px;
left: -150px;
}

.flow-decoration-3 {
width: 300px;
height: 300px;
background: linear-gradient(45deg, #06C755, #01b504);
top: 50%;
left: 20%;
transform: translateY(-50%);
}

/* 縦のラインガイド */
.flow-bg-line {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 3px;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 136, 199, 0), rgba(0, 136, 199, 0.1) 20%, rgba(0, 136, 199, 0.1) 80%, rgba(0, 136, 199, 0));
z-index: 0;
}

/* セクションタイトル */
.service-flow .section-title {
text-align: center;
margin-bottom: 40px;
position: relative;
z-index: 1;
}

.service-flow .title-badge {
display: inline-block;
background: linear-gradient(45deg, #0088C7, #32B8DF);
color: white;
padding: 8px 20px;
border-radius: 30px;
font-weight: 700;
font-size: 0.9rem;
margin-bottom: 15px;
box-shadow: 0 5px 15px rgba(0, 136, 199, 0.2);
position: relative;
}

.service-flow .section-title h2 {
font-size: 2.8rem;
color: #333;
margin-bottom: 15px;
}

/* 紹介テキスト */
.flow-intro {
text-align: center;
max-width: 800px;
margin: 0 auto 60px;
position: relative;
z-index: 1;
}

.flow-intro p {
font-size: 1.2rem;
line-height: 1.8;
color: #555;
}

.flow-intro .highlight {
font-weight: 700;
color: #0088C7;
position: relative;
display: inline-block;
}

.flow-intro .highlight::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 5px;
background: rgba(0, 136, 199, 0.1);
border-radius: 5px;
}

/* フローチャート */
.flow-chart {
position: relative;
max-width: 850px;
margin: 0 auto;
z-index: 1;
}

/* 各ステップ */
.flow-step {
display: flex;
margin-bottom: 50px;
position: relative;
padding-left: 40px;
z-index: 1;
}

.flow-step:last-child {
margin-bottom: 0;
}

/* ステップ番号 */
.step-number {
position: relative;
flex-shrink: 0;
width: 80px;
height: 80px;
margin-right: 30px;
display: flex;
align-items: center;
justify-content: center;
}

.step-number span {
position: relative;
width: 60px;
height: 60px;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
font-weight: 800;
color: #0088C7;
box-shadow: 0 8px 25px rgba(0, 136, 199, 0.2);
z-index: 2;
}

/* 各ステップに対する番号の色変更 */
.flow-step[data-step="1"] .step-number span {
color: #0088C7;
}

.flow-step[data-step="2"] .step-number span {
color: #FFB000;
}

.flow-step[data-step="3"] .step-number span {
color: #36ea66;
}

.flow-step[data-step="4"] .step-number span {
color: #e81469;
}

.flow-step[data-step="5"] .step-number span {
color: #0088C7;
}

/* ステップアイコン */
.step-icon {
position: absolute;
top: -10px;
right: -10px;
width: 40px;
height: 40px;
border-radius: 50%;
background: white;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: #0088C7;
z-index: 2;
animation: pulse 2s infinite;
}

.step-icon svg {
width: 20px;
height: 20px;
}

/* 各ステップに対するアイコンの色変更 */
.flow-step[data-step="1"] .step-icon {
color: #0088C7;
}

.flow-step[data-step="2"] .step-icon {
color: #FFB000;
}

.flow-step[data-step="3"] .step-icon {
color: #36ea66;
}

.flow-step[data-step="4"] .step-icon {
color: #e81469;
}

.flow-step[data-step="5"] .step-icon {
color: #0088C7;
}

/* ステップコンテンツ */
.step-content {
flex-grow: 1;
background: white;
border-radius: 20px;
padding: 30px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
position: relative;
z-index: 1;
}

.flow-step:hover .step-content {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 各ステップに対する内容の上部ボーダー色変更 */
.flow-step[data-step="1"] .step-content {
border-top: 5px solid #0088C7;
}

.flow-step[data-step="2"] .step-content {
border-top: 5px solid #FFB000;
}

.flow-step[data-step="3"] .step-content {
border-top: 5px solid #36ea66;
}

.flow-step[data-step="4"] .step-content {
border-top: 5px solid #e81469;
}

.flow-step[data-step="5"] .step-content {
border-top: 5px solid #0088C7;
}

/* ステップタイトル */
.step-title {
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 15px;
color: #333;
display: flex;
align-items: center;
flex-wrap: wrap;
}

.step-subtitle {
font-size: 0.9rem;
font-weight: 600;
color: #888;
margin-left: 10px;
position: relative;
padding-left: 12px;
}

.step-subtitle::before {
content: '|';
position: absolute;
left: 0;
top: 0;
color: #ddd;
}

/* ステップの説明文 */
.step-description {
color: #666;
line-height: 1.7;
margin: 0;
}

/* ステップ間の矢印 */
.flow-arrow {
position: absolute;
bottom: -40px;
left: 79px; /* step-numberの中心に合わせる */
transform: translateX(-50%);
width: 40px;
height: 30px;
color: rgba(0, 136, 199, 0.3);
z-index: 1;
}

.flow-arrow svg {
width: 100%;
height: 100%;
}

/* ステップ5の完了マーク */
.step-complete {
position: absolute;
bottom: -40px;
left: 79px; /* step-numberの中心に合わせる */
transform: translateX(-50%);
width: 80px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: #0088C7;
background: #fff;
border-radius: 20px;
box-shadow: 0 8px 20px rgba(0, 136, 199, 0.2);
z-index: 2;
}

.step-complete svg {
width: 20px;
height: 20px;
margin-right: 5px;
color: #0088C7;
}

/* 補足情報 */
.flow-note {
max-width: 800px;
margin: 80px auto 40px;
background: rgba(0, 136, 199, 0.05);
border-radius: 15px;
padding: 25px;
display: flex;
align-items: center;
position: relative;
z-index: 1;
}

.note-icon {
flex-shrink: 0;
width: 40px;
height: 40px;
background: #0088C7;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
color: white;
}

.note-icon svg {
width: 20px;
height: 20px;
}

.flow-note p {
margin: 0;
color: #555;
line-height: 1.7;
}

/* CTAボタン */
.flow-cta {
text-align: center;
margin-top: 50px;
position: relative;
z-index: 1;
}

.flow-cta .cta-button {
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(45deg, #06C755, #01b504);
color: white;
padding: 15px 30px;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 700;
text-decoration: none;
box-shadow: 0 10px 25px rgba(73, 255, 134, 0.39);
transition: all 0.3s ease;
}

.flow-cta .cta-button:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(73, 255, 134, 0.888);
}

.cta-icon {
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
}

.cta-icon svg {
width: 20px;
height: 20px;
}

/* パルスアニメーション */
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
50% {
transform: scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
100% {
transform: scale(1);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
}

.pulse {
animation: pulse 2s infinite;
}

/* アニメーション付きの表示 */
.animate-up {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease-out;
}

.animated {
opacity: 1;
transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
.service-flow {
padding: 100px 0;
}

.service-flow .section-title h2 {
font-size: 2.5rem;
}

.flow-intro p {
font-size: 1.1rem;
}
}

@media (max-width: 768px) {
.service-flow {
padding: 80px 0;
}

.service-flow .section-title h2 {
font-size: 2.2rem;
}

.flow-step {
flex-direction: column;
padding-left: 0;
align-items: center;
text-align: center;
margin-bottom: 70px;
}

.step-number {
margin-right: 0;
margin-bottom: 20px;
}

.flow-arrow {
left: 50%;
bottom: -50px;
}

.step-complete {
left: 50%;
bottom: -50px;
}

.flow-note {
flex-direction: column;
text-align: center;
}

.note-icon {
margin-right: 0;
margin-bottom: 15px;
}

.step-icon {
  top: -10px;
  right: -30px;
  }

}

@media (max-width: 480px) {
.service-flow {
padding: 60px 0;
}

.service-flow .section-title h2 {
font-size: 1.8rem;
}

.flow-intro p {
font-size: 1rem;
}

.step-content {
padding: 20px;
}

.step-title {
font-size: 1.2rem;
flex-direction: column;
align-items: flex-start;
}

.step-subtitle {
margin-left: 0;
padding-left: 0;
margin-top: 5px;
}

.step-subtitle::before {
display: none;
}

.flow-cta .cta-button {
padding: 12px 25px;
font-size: 1rem;
}
}

@media (max-width: 480px) {
  .flow-step {
    margin-bottom: 40px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .step-number span {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }
  
  .step-content {
    padding: 20px 15px;
  }
  
  .step-title {
    font-size: 1.1rem;
  }
  
  .flow-arrow {
    width: 30px;
    height: 20px;
    bottom: -30px;
  }
}

/* CSSだけでアニメーション効果を実現する追加スタイル */

/* スクロールアニメーションの代替 */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* 各要素に順番に適用するアニメーション */
.service-flow .section-title {
animation: fadeInUp 0.8s ease-out forwards;
}

.flow-intro {
animation: fadeInUp 0.8s 0.2s ease-out forwards;
opacity: 0;
}

.flow-step[data-step="1"] {
animation: fadeInUp 0.8s 0.3s ease-out forwards;
opacity: 0;
}

.flow-step[data-step="2"] {
animation: fadeInUp 0.8s 0.5s ease-out forwards;
opacity: 0;
}

.flow-step[data-step="3"] {
animation: fadeInUp 0.8s 0.7s ease-out forwards;
opacity: 0;
}

.flow-step[data-step="4"] {
animation: fadeInUp 0.8s 0.9s ease-out forwards;
opacity: 0;
}

.flow-step[data-step="5"] {
animation: fadeInUp 0.8s 1.1s ease-out forwards;
opacity: 0;
}

.flow-note {
animation: fadeInUp 0.8s 1.3s ease-out forwards;
opacity: 0;
}

.flow-cta {
animation: fadeInUp 0.8s 1.5s ease-out forwards;
opacity: 0;
}

/* ステップに対するホバーエフェクト */
.flow-step:hover .step-number span {
transform: scale(1.1);
transition: transform 0.3s ease;
}

/* ========================================================================= よくある質問セクション ========================================================================= */
.faq-section {
padding: 120px 0;
background: linear-gradient(to bottom, #fafbfe, #f0f3fc);
position: relative;
overflow: hidden;
}

/* 背景装飾 */
.faq-bg-decoration {
position: absolute;
border-radius: 50%;
opacity: 0.04;
filter: blur(40px);
z-index: 0;
}

.faq-decoration-1 {
width: 500px;
height: 500px;
background: linear-gradient(45deg, #9c27b0, #673ab7);
top: -100px;
left: -200px;
}

.faq-decoration-2 {
width: 400px;
height: 400px;
background: linear-gradient(45deg, #2196f3, #03a9f4);
bottom: -150px;
right: -150px;
}

.faq-decoration-3 {
width: 300px;
height: 300px;
background: linear-gradient(45deg, #ffb000, #ffcb47);
top: 40%;
right: 20%;
transform: translateY(-50%);
}

/* Q&A模様の背景パターン */
.faq-bg-pattern {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M23.5 47.5c-7.18 0-13-5.82-13-13s5.82-13 13-13h33c7.18 0 13 5.82 13 13s-5.82 13-13 13h-33zm0-24c-6.08 0-11 4.92-11 11s4.92 11 11 11h33c6.08 0 11-4.92 11-11s-4.92-11-11-11h-33zm-2 11c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm10 0c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm10 0c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm10 0c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2z' /%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
z-index: 0;
}

/* セクションタイトル */
.faq-section .section-title {
text-align: center;
margin-bottom: 60px;
position: relative;
z-index: 1;
}

.faq-section .title-badge {
display: inline-block;
background: linear-gradient(45deg, #673ab7, #9c27b0);
color: white;
padding: 8px 20px;
border-radius: 30px;
font-weight: 700;
font-size: 0.9rem;
margin-bottom: 15px;
box-shadow: 0 5px 15px rgba(103, 58, 183, 0.2);
position: relative;
}

.faq-section .section-title h2 {
font-size: 2.8rem;
color: #333;
margin-bottom: 15px;
}

.faq-section .section-subtitle {
color: #666;
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto;
line-height: 1.8;
}

/* FAQ コンテナ */
.faq-container {
max-width: 850px;
margin: 0 auto 60px;
position: relative;
z-index: 1;
}

/* FAQ アイテム */
.faq-item {
background: white;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
margin-bottom: 30px;
overflow: hidden;
transition: all 0.3s ease;
position: relative;
}

.faq-item:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* チェックボックスを非表示 */
.faq-toggle {
position: absolute;
opacity: 0;
z-index: -1;
}

/* 質問部分 */
.faq-question {
padding: 25px 30px;
display: flex;
align-items: center;
position: relative;
cursor: pointer;
transition: all 0.3s ease;
background: white;
z-index: 2;
}

.faq-question:hover {
background: rgba(103, 58, 183, 0.02);
}

.question-icon {
flex-shrink: 0;
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(45deg, #673ab7, #9c27b0);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: 700;
margin-right: 20px;
box-shadow: 0 5px 15px rgba(103, 58, 183, 0.2);
}

.faq-question h3 {
flex-grow: 1;
margin: 0;
font-size: 1.2rem;
color: #333;
transition: color 0.3s ease;
}

/* トグルアイコン */
.toggle-icon {
flex-shrink: 0;
width: 30px;
height: 30px;
border-radius: 50%;
background: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: all 0.3s ease;
}

.toggle-icon span {
position: absolute;
font-size: 1.5rem;
line-height: 1;
color: #673ab7;
transition: all 0.3s ease;
}

.toggle-icon .plus {
opacity: 1;
transform: rotate(0);
}

.toggle-icon .minus {
opacity: 0;
transform: rotate(90deg);
}

/* 回答部分 */
.faq-answer {
max-height: 0;
opacity: 0;
overflow: hidden;
transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
padding: 0 30px 0 90px;
position: relative;
z-index: 1;
}

.answer-icon {
position: absolute;
left: 30px;
top: 20px;
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(45deg, #2196f3, #03a9f4);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: 700;
box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
}

.answer-content {
padding: 10px 0 30px;
}

.answer-content p {
margin: 0;
color: #555;
line-height: 1.8;
font-size: 1.05rem;
}

.answer-content strong {
color: #2196f3;
font-weight: 700;
}

/* チェックボックスでの制御 - アクティブ状態 */
.faq-toggle:checked ~ .faq-question {
background: rgba(103, 58, 183, 0.02);
}

.faq-toggle:checked ~ .faq-question h3 {
color: #673ab7;
}

.faq-toggle:checked ~ .faq-question .toggle-icon {
background: #673ab7;
}

.faq-toggle:checked ~ .faq-question .toggle-icon span {
color: white;
}

.faq-toggle:checked ~ .faq-question .toggle-icon .plus {
opacity: 0;
transform: rotate(90deg);
}

.faq-toggle:checked ~ .faq-question .toggle-icon .minus {
opacity: 1;
transform: rotate(0);
}

.faq-toggle:checked ~ .faq-answer {
max-height: 800px;
opacity: 1;
padding-top: 10px;
padding-bottom: 30px;
}

/* その他質問 */
.faq-more {
text-align: center;
background: white;
border-radius: 20px;
padding: 40px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
max-width: 850px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
z-index: 1;
}

.more-icon {
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(45deg, #673ab7, #9c27b0);
color: white;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
box-shadow: 0 10px 20px rgba(103, 58, 183, 0.2);
animation: pulse 2s infinite;
}

.more-icon svg {
width: 30px;
height: 30px;
}

.faq-more p {
color: #555;
margin-bottom: 30px;
font-size: 1.1rem;
}

.more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(45deg, #06C755, #01b504);
color: white;
padding: 15px 30px;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 700;
text-decoration: none;
box-shadow: 0 10px 20px rgba(6, 199, 85, 0.3);
transition: all 0.3s ease;
}

.more-btn:hover {
transform: translateY(-5px);
box-shadow: 0 15px 25px rgba(6, 199, 85, 0.4);
}

/* アニメーション */
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 10px 20px rgba(103, 58, 183, 0.2);
}
50% {
transform: scale(1.05);
box-shadow: 0 15px 30px rgba(103, 58, 183, 0.3);
}
100% {
transform: scale(1);
box-shadow: 0 10px 20px rgba(103, 58, 183, 0.2);
}
}

/* エントリーアニメーション */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.section-title {
animation: fadeIn 0.8s ease-out forwards;
}

.faq-item:nth-child(1) {
animation: fadeIn 0.8s 0.2s ease-out forwards;
opacity: 0;
}

.faq-item:nth-child(2) {
animation: fadeIn 0.8s 0.4s ease-out forwards;
opacity: 0;
}

.faq-item:nth-child(3) {
animation: fadeIn 0.8s 0.6s ease-out forwards;
opacity: 0;
}

.faq-item:nth-child(4) {
animation: fadeIn 0.8s 0.8s ease-out forwards;
opacity: 0;
}

.faq-item:nth-child(5) {
  animation: fadeIn 0.8s 1s ease-out forwards;
  opacity: 0;
  }

.faq-item:nth-child(5) {
  animation: fadeIn 0.8s 1s ease-out forwards;
  opacity: 0;
  }  

.faq-item:nth-child(6) {
  animation: fadeIn 0.8s 1.2s ease-out forwards;
  opacity: 0;
  }  

.faq-item:nth-child(7) {
animation: fadeIn 0.8s 1.4s ease-out forwards;
opacity: 0;
}  

.faq-item:nth-child(8) {
animation: fadeIn 0.8s 1.6s ease-out forwards;
opacity: 0;
}  

.faq-more {
animation: fadeIn 0.8s 1s ease-out forwards;
opacity: 0;
}

/* ホバーエフェクト - トグルアイコンの回転 */
.faq-question:hover .toggle-icon {
transform: rotate(45deg);
transition: transform 0.3s ease;
}

.faq-toggle:checked ~ .faq-question:hover .toggle-icon {
transform: rotate(0);
}

/* マイナスボタンをクリックしたときの効果 - このセレクタで「-」ボタンも同じラベル扱いにする */
.toggle-icon {
pointer-events: none; /* アイコン自体はクリック判定から除外 */
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
.faq-section {
padding: 100px 0;
}

.faq-section .section-title h2 {
font-size: 2.5rem;
}

.faq-section .section-subtitle {
font-size: 1rem;
}
}

@media (max-width: 768px) {
.faq-section {
padding: 80px 0;
}

.faq-section .section-title h2 {
font-size: 2.2rem;
}

.faq-question {
padding: 20px;
}

.question-icon {
width: 35px;
height: 35px;
font-size: 1rem;
margin-right: 15px;
}

.faq-question h3 {
font-size: 1.1rem;
}

.faq-answer {
padding: 0 20px 0 70px;
}

.answer-icon {
width: 35px;
height: 35px;
font-size: 1rem;
left: 20px;
}

.faq-more {
padding: 30px 20px;
}
}

@media (max-width: 480px) {
.faq-section {
padding: 60px 0;
}

.faq-section .section-title h2 {
font-size: 1.8rem;
}

.question-icon {
width: 30px;
height: 30px;
font-size: 0.9rem;
margin-right: 10px;
}

.faq-question h3 {
font-size: 1rem;
}

.toggle-icon {
width: 25px;
height: 25px;
}

.answer-icon {
width: 30px;
height: 30px;
font-size: 0.9rem;
}

.faq-answer {
padding: 0 15px 0 55px;
}

.answer-content p {
font-size: 0.95rem;
}

.more-icon {
width: 50px;
height: 50px;
}

.more-icon svg {
width: 25px;
height: 25px;
}

.more-btn {
padding: 12px 25px;
font-size: 1rem;
}
}

/* ========================================================================= インスタグラムストーリーセクション ========================================================================= */
.instagram-section {
  padding: 120px 0;
  background: linear-gradient(to bottom, #f9fbff, #f0f3fc);
  position: relative;
  overflow: hidden;
}

/* 背景装飾 */
.instagram-bg-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.04;
  filter: blur(40px);
  z-index: 0;
}

.decoration-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(45deg, #833AB4, #fd1d1d, #fcb045);
  top: -100px;
  right: -200px;
}

.decoration-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #C13584, #E1306C, #FD1D1D);
  bottom: -150px;
  left: -150px;
}

/* インスタグラム風の背景パターン */
.instagram-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M20 20h20v20H20V20zm20 20h20v20H40V40zm-20 0h20v20H20V40zm0-40h20v20H20V0zm20 0h20v20H40V0z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

/* セクションタイトル */
.instagram-section .section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.instagram-section .title-badge {
  display: inline-block;
  background: linear-gradient(45deg, #C13584, #E1306C, #FD1D1D);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(193, 53, 132, 0.3);
  position: relative;
}

.instagram-section .section-title h2 {
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 15px;
}

.instagram-section .section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* インスタグラムグリッド */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
  justify-items: center; /* グリッドアイテムを中央揃えに */
}

/* インスタグラムアイテム */
.instagram-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%; /* 幅を親要素に合わせる */
  max-width: 300px; /* 最大幅を制限 */
}

.instagram-item:hover {
  transform: translateY(-10px) scale(1.05);
  z-index: 2;
}

/* インスタグラムフレーム */
.instagram-frame {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  aspect-ratio: 9/16; /* スマホの縦長比率を保持（インスタストーリーに近い比率） */
}

.instagram-item:hover .instagram-frame {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* インスタグラム画像 */
.instagram-image {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.5s ease;
  object-fit: cover; /* 画像が比率を維持しながらもフレーム全体を覆うようにする */
}

.instagram-item:hover .instagram-image {
  transform: scale(1.1);
}

/* オーバーレイ情報 */
.instagram-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-category {
  background: linear-gradient(45deg, #C13584, #E1306C, #FD1D1D);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.instagram-caption {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* インスタグラムCTA */
.instagram-cta {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.cta-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(193, 53, 132, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-instagram:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(193, 53, 132, 0.4);
}

.cta-instagram::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: instaShine 6s infinite;
  z-index: 1;
}

@keyframes instaShine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  20%, 100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.button-icon {
  display: inline-flex;
  margin-right: 10px;
  position: relative;
  z-index: 2;
}

.button-icon svg {
  width: 20px;
  height: 20px;
}

/* パルスアニメーション */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(193, 53, 132, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(193, 53, 132, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(193, 53, 132, 0.3);
  }
}

/* モーダル */
.instagram-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 80%;
  margin: auto;
  padding: 20px;
  animation: modalZoomIn 0.3s;
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: #FD1D1D;
  transform: rotate(90deg);
}

.modal-image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.modal-caption {
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

/* アニメーション */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animated {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .instagram-section {
    padding: 100px 0;
  }
  
  .instagram-section .section-title h2 {
    font-size: 2.5rem;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .instagram-item {
    max-width: 250px; /* タブレット表示時のアイテム幅を調整 */
  }
}

@media (max-width: 768px) {
  .instagram-section {
    padding: 80px 0;
  }
  
  .instagram-section .section-title h2 {
    font-size: 2.2rem;
  }
  
  .instagram-section .section-subtitle {
    font-size: 0.8rem;
  }
  
  .cta-instagram {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .instagram-section {
    padding: 60px 0;
  }
  
  .instagram-section .section-title h2 {
    font-size: 1.1rem;
  }
  
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .instagram-item {
    max-width: 280px; /* モバイル表示時のアイテム幅を調整 */
  }
  
  .modal-content {
    max-width: 95%;
  }
}

/* ========================================================================= SNSセクション ========================================================================= */
.sns {
  padding: 80px 0;
  background-color: var(--light);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sns::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.sns-icons {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 50px;
}
.sns-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}
.sns-icon:hover {
  transform: translateY(-10px) scale(1.05);
}
.sns-icon-image {
  width: 80px;
  height: 80px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.sns-icon-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  z-index: -1;
  transition: var(--transition);
}
.sns-icon-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  z-index: -1;
}
.sns-icon:nth-child(2) .sns-icon-image::before {
  background: var(--pop1-gradient);
}
.sns-icon:nth-child(3) .sns-icon-image::before {
  background: var(--accent-gradient);
}
.sns-icon-text {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
}
.sns-icon-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: var(--transition);
  border-radius: 3px;
}
.sns-icon:hover .sns-icon-text::after {
  width: 100%;
}
.sns-icon:nth-child(2) .sns-icon-text::after {
  background: var(--pop1-gradient);
}
.sns-icon:nth-child(3) .sns-icon-text::after {
  background: var(--accent-gradient);
}


/*  ========================================================================= LINE登録追従バナー ========================================================================= */
.line-banner {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  max-width: 350px;
  opacity: 0;
  transform: scale(0.5) translateY(50px);
  transition: none; /* 初期状態ではトランジションを無効化 */
  pointer-events: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #06C755, #04a645);
  box-shadow: 0 10px 25px rgba(6, 199, 85, 0.3);
  padding: 5px;
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
  animation-play-state: paused; /* 最初はフロートアニメーションを停止 */
}

/* バナーがアクティブになった時 */
.line-banner.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation-play-state: running; /* フロートアニメーションを開始 */
  animation: entranceBounce 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards, 
             float 4s 0.8s ease-in-out infinite; /* 登場後にフロートアニメーション開始 */
}

/* バナー登場のバウンドアニメーション */
@keyframes entranceBounce {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(80px);
  }
  40% {
    opacity: 1;
    transform: scale(1.1) translateY(-10px);
  }
  60% {
    transform: scale(0.9) translateY(5px);
  }
  80% {
    transform: scale(1.05) translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.line-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 6s infinite;
  z-index: 1;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  20%, 100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.line-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.line-banner-content {
  display: flex;
  align-items: center;
  padding: 15px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.line-banner-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.line-banner-icon::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 5px;
  left: 5px;
}

.line-banner-icon svg {
  width: 22px;
  height: 22px;
  animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
}

.line-banner-text {
  flex-grow: 1;
  color: white;
  padding-right: 10px;
}

.line-banner-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.3;
  animation: colorPulse 4s infinite;
}

@keyframes colorPulse {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
  }
}

.line-banner-title .highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 5px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  animation: pulse 3s infinite;
}

.line-banner-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
  animation: fadeInOut 6s infinite;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.line-banner-button {
  flex-shrink: 0;
  background: white;
  color: #06C755;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.line-banner-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(6, 199, 85, 0) 0%,
    rgba(6, 199, 85, 0.1) 50%,
    rgba(6, 199, 85, 0) 100%
  );
  transform: rotate(30deg);
  animation: buttonShine 3s infinite;
  z-index: 1;
}

@keyframes buttonShine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  50%, 100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.line-banner-content:hover .line-banner-button {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.line-banner-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 3;
}

.line-banner-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);
}

/* パルスアニメーション */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* 装飾的な要素 */
.line-banner-decoration {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.line-banner-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
  animation: bubbleFloat 6s infinite ease-in-out;
}

.bubble-1 {
  width: 25px;
  height: 25px;
  top: 10px;
  right: 40px;
  animation-delay: 0s;
}

.bubble-2 {
  width: 15px;
  height: 15px;
  top: 40px;
  right: 20px;
  animation-delay: 2s;
}

.bubble-3 {
  width: 10px;
  height: 10px;
  bottom: 15px;
  right: 50px;
  animation-delay: 1s;
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-10px) scale(1.1);
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .line-banner {
    max-width: 300px;
    bottom: 20px;
    right: 20px;
  }
  
  .line-banner-icon {
    width: 35px;
    height: 35px;
  }
  
  .line-banner-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .line-banner-title {
    font-size: 0.9rem;
  }
  
  .line-banner-subtitle {
    font-size: 0.75rem;
  }
  
  .line-banner-button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .line-banner {
    max-width: 230px; /* バナーサイズ調整 */
    bottom: 10px;
    right: 10px;
  }
  
  .line-banner-content {
    padding: 8px;
  }
  
  .line-banner-icon {
    width: 25px;
    height: 25px;
    margin-right: 6px;
  }
  
  .line-banner-title {
    font-size: 0.6rem;
    line-height: 1.2;
  }
  
  .line-banner-subtitle {
    font-size: 0.65rem;
  }
  
  .line-banner-button {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
}


/* ========================================================================= フッター ========================================================================= */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* フッターのグリッドレイアウト */
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

/* 会社情報エリア */
.company-info {
  margin-bottom: 30px;
  text-align: left;
}

.footer-logo {
  max-width: 200px;
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.company-address {
  margin: 20px 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.company-contact {
  margin: 20px 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

/* 電話番号 */
.phone-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  margin: 20px 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.phone-number::before {
  content: '☎';
  margin-right: 15px;
  font-size: 2rem;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* フッターの見出し */
.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* フッターリンクリスト */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(10px);
}

.footer-links a::before {
  content: '›';
  margin-right: 8px;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  transition: var(--transition);
}

.footer-links a:hover::before {
  margin-right: 12px;
}

/* SNSリンクエリア */
.footer-sns {
  text-align: center;
}

.footer-sns .footer-heading {
  text-align: center;
}

.footer-sns .footer-heading::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer-sns-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  align-items: center;
}

/* 各SNSリンク */
.footer-sns-link {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  width: 180px;
  justify-content: flex-start;
}

.footer-sns-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* SNSアイコン */
.sns-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  overflow: hidden;
}

.sns-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* SNS名 */
.sns-name {
  font-size: 1rem;
  font-weight: 600;
}

/* フッター下部 */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========================================================================= レスポンシブ対応 ========================================================================= */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .company-info {
    grid-column: span 2;
    text-align: center;
  }
  
  .footer-sns {
    text-align: left;
  }
  
  .footer-sns .footer-heading {
    text-align: left;
  }
  
  .footer-sns .footer-heading::after {
    left: 0;
    transform: none;
  }
  
  .footer-sns-links {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 60px 0 20px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .company-info {
    grid-column: span 1;
  }
  
  .footer-sns {
    text-align: center;
  }
  
  .footer-sns .footer-heading {
    text-align: center;
  }
  
  .footer-sns .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-sns-links {
    align-items: center;
  }
  
  .footer-logo {
    max-width: 180px;
  }
  
  .phone-number {
    font-size: 1.3rem;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 30px 0 15px;
  }
  
  .footer-top {
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .footer-heading {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
  }
  
  .footer-heading::after {
    width: 40px;
    height: 3px;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    padding-top: 20px;
    font-size: 0.8rem;
  }
}

/* ===== アニメーション & 動的要素 ===== */
.animate-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animated {
  opacity: 1;
  transform: translate(0);
}
.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(140, 82, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(140, 82, 255, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(140, 82, 255, 0.3);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-15px) rotate(-2deg);
  }
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes shine {
  from {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}

/* ===== レスポンシブ ===== */
@media (max-width: 991px) {
  .hero {
    padding: 10px 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .qr-code {
    display: none;
  }
  .concerns-wrapper {
    grid-template-columns: 1fr;
  }
  .concerns-image {
    order: 2;
  }
  .concerns-content {
    order: 1;
  }
  .cta-title {
    font-size: 2.5rem;
  }
  .cta-subtitle {
    font-size: 1.5rem;
  }
  .comparison-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  .vs-badge {
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 20px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    margin: 15px 0;
  }
  .hamburger {
    display: block;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  .hero-content {
    text-align: center;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .cta-qr {
    flex-direction: column;
  }
  .cta-qr-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .cta-qr-text {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 20px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-cta {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .concerns-content h3 {
    font-size: 1.7rem;
  }
  .cta-title {
    font-size: 2rem;
  }
  .cta-subtitle {
    font-size: 1.2rem;
  }
  .cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
  }
  .phone-number {
    font-size: 1.3rem;
  }
  .fee-card {
    padding: 20px 15px;
  }
  .fee-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  .fee-amount {
    font-size: 3rem;
  }
  .fee-title {
    font-size: 1.2rem;
    min-height: 40px;
  }
  .fee-description {
    min-height: auto;
    font-size: 0.9rem;
  }
  .service-card, .benefit-card {
    padding: 25px 20px;
  }
  .service-icon, .benefit-icon {
    width: 70px;
    height: 70px;
  }
  .hero-decoration, .cta-decoration {
    display: none;
  }
}

@media (max-width: 480px) {
  .zero-fees, .why-zero, .services, .concerns, .philosophy-section, 
  .history-section, .faq-section, .staff-section, .testimonials, .access-section {
    padding: 50px 0; /* セクションの上下パディングを小さく */
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .title-badge {
    font-size: 0.8rem;
    padding: 5px 15px;
    margin-bottom: 10px;
  }

  .fee-card, .service-card, .philosophy-card, .reason-card, .concern-item {
    padding: 20px 15px; /* 余白を小さく */
  }
  
  .fee-icon, .service-icon, .philosophy-icon, .reason-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .fee-title, .service-title, .philosophy-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .fee-description, .service-description, .philosophy-text, .reason-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .fee-amount {
    font-size: 2.5rem; /* 数字サイズ調整 */
  }
  
  .fee-amount span {
    font-size: 1.2rem;
  }

  body {
    font-size: 14px; /* 小さい画面での基本フォントサイズを調整 */
  }
  
  .container {
    padding: 0 15px; /* コンテナの余白を調整 */
  }
  
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3; /* 見出しの行間を狭めて省スペース化 */
  }

}

/* ===== カーソル効果 ===== */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-gradient);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  mix-blend-mode: difference;
  transition: transform 0.2s ease;
}
.custom-cursor.expand {
  transform: translate(-50%, -50%) scale(4);
  opacity: 0.2;
  background: var(--accent-gradient);
}

/* ===== マウストレイル効果 ===== */
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  opacity: 0.3;
  z-index: 9998;
  transition: opacity 0.5s ease;
}

/* TikTok対処方法の通知バー - スマホとタブレットのみ表示 */
.tiktok-notice {
    background: linear-gradient(135deg, #ff0050 0%, #ff4081 100%);
    color: #ffffff;
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    display: none; /* デフォルトでは非表示 */
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.notice-icon {
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.notice-text {
    flex: 1;
    line-height: 1.4;
}

.notice-text p {
    margin: 4px 0;
    font-size: 14px;
}

.notice-text p:first-child {
    font-size: 16px;
    margin-bottom: 8px;
}

.notice-close {
    background: #ffffff;
    border: 2px solid #ff0050;
    color: #ff0050;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.notice-close:hover {
    background-color: #ff0050;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notice-close i {
    font-size: 16px;
}

/* PC（1025px以上）では非表示 */
@media (min-width: 1025px) {
    .tiktok-notice {
        display: none !important;
    }
}

/* タブレット（769px〜1024px）で表示 */
@media (min-width: 769px) and (max-width: 1024px) {
    .tiktok-notice {
        display: block;
        padding: 16px 0;
    }
    
    .notice-content {
        align-items: center;
        gap: 24px;
    }
    
    .notice-icon {
        font-size: 24px;
    }
    
    .notice-text p {
        font-size: 14px;
        margin: 4px 0;
    }
    
    .notice-text p:first-child {
        font-size: 16px;
    }
    
    /* タブレット用ヘッダーを完全に隠す */
    .navbar {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    /* タブレット用ヒーローセクション調整 */
    .hero {
        margin-top: 120px !important;
    }
}

/* スマホ（768px以下）で表示 */
@media (max-width: 768px) {
    .tiktok-notice {
        display: block;
        padding: 16px 0;
    }
    
    .notice-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }
    
    .notice-icon {
        font-size: 20px;
        margin-top: 4px;
    }
    
    .notice-text p {
        font-size: 12px;
        margin: 3px 0;
        line-height: 1.4;
    }
    
    .notice-text p:first-child {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .notice-close {
        padding: 8px 12px;
        font-size: 12px;
        gap: 4px;
        min-width: 70px;
    }
    
    .notice-close i {
        font-size: 14px;
    }
    
    /* スマホ用ヘッダーを完全に隠す */
    .navbar {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
    
    /* スマホ用ヒーローセクション調整 */
    .hero {
        margin-top: 130px !important;
    }
}

@media (max-width: 480px) {
    .notice-content {
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    
    .notice-text {
        flex: 1;
        min-width: 0;
    }

    .notice-close {
        padding: 8px 12px;
        font-size: 11px;
        min-width: 60px;
    }
    
    /* 小さい画面用ヒーローセクション調整 */
    .hero {
        margin-top: 130px !important;
    }
}