/* --- 全体共通の設定（スクロールを滑らかに） --- */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #0b2554;
  background-color: #ffffff;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* --- ヘッダー（上部固定） --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo-text {
  font-weight: bold;
  font-size: 1.6rem;
  color: #0b2554;
  font-style: italic;
}
.header-nav ul {
  display: flex;
  gap: 35px;
}
.header-nav a {
  font-size: 0.95rem;
  font-weight: bold;
  color: #0b2554;
}
.header-buttons {
  display: flex;
  gap: 15px;
}
.btn-login {
  padding: 12px 35px;
  border: 1px solid #0b2554;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: bold;
}
.btn-crowdfunding {
  padding: 12px 28px;
  border: 1px solid #00b4d8;
  background-color: #e9fbff;
  color: #0b2554;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: bold;
  white-space: nowrap;
}
.btn-start-navy {
  padding: 12px 35px;
  background-color: #0b2554;
  color: #ffffff;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: bold;
}

/* --- 1. ヒーローセクション --- */
.hero {
  background: linear-gradient(110deg, #ffffff 55%, #eef5fc 55%);
  padding: 160px 60px 100px 60px;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.hero-text { width: 50%; }
.hero-subtag {
  color: #1d70b8;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 25px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 35px;
}
.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 45px;
}
.hero-buttons { display: flex; gap: 20px; }
.btn-primary, .btn-secondary {
  padding: 18px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-primary { background-color: #0b2554; color: #ffffff; }
.btn-secondary { background-color: #ffffff; border: 1px solid #0b2554; color: #0b2554; }

/* 画像クリップエリア */
.hero-visual { width: 50%; position: relative; height: 500px; }
.image-clip { position: absolute; background-color: #cbd5e0; background-size: cover; background-position: center; }
.img-top-right {
  width: 65%; height: 50%; top: -40px; right: -20px;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.img-center {
  width: 65%; height: 55%; top: 120px; left: 0px;
  clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 0% 100%);
  z-index: 2;
}
.img-bottom-right {
  width: 55%; height: 55%; bottom: -60px; right: -40px;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
/* --- 丸いバッジの配置とサイズの変更 --- */
.visual-badge {
  position: absolute; 
  bottom: -40px;          /* 上（top）から、右下（bottom・right）基準に変更 */
  right: -20px;          
  background-color: #ffffff; 
  border: 3px solid #00b4d8; /* 二回り大きくするため線を少し太く */
  border-radius: 50%;
  width: 170px;              /* 元の 120px から 170px に拡大 */
  height: 170px;             /* 元の 120px から 170px に拡大 */
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  z-index: 10; 
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.15); /* 大きくなった分、軽い影をつけて馴染ませています */
}

/* 中の文字もバッジに合わせて二回り拡大 */
.badge-date { 
  font-size: 1.05rem;       /* 元の 0.75rem から拡大 */
  color: #00b4d8; 
  font-weight: bold; 
  margin-bottom: 4px;
}
.badge-text { 
  font-size: 1.25rem;       /* 元の 0.9rem から拡大 */
  color: #00b4d8; 
  font-weight: 800; 
  line-height: 1.3;
}

/* --- 簡易4特徴カード --- */
.features-summary { padding: 0 60px; background-color: #ffffff; }
.summary-container {
  max-width: 1200px; margin: -30px auto 0 auto; background: #ffffff;
  padding: 35px 40px; border-radius: 20px;
  box-shadow: 0 15px 40px rgba(11, 37, 84, 0.06);
  display: flex; justify-content: space-between; position: relative; z-index: 20;
}
.summary-card { flex: 1; display: flex; align-items: center; gap: 20px; padding: 0 15px; }
.summary-card:not(:last-child) { border-right: 1px solid #e2e8f0; }
.sum-icon {
  font-size: 1.8rem; background-color: #f0f5fa; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sum-content h4 { font-size: 1.05rem; margin-bottom: 6px; font-weight: bold; }
.sum-content p { font-size: 0.85rem; color: #64748b; line-height: 1.5; }

.scroll-indicator { text-align: center; margin: 60px 0; font-size: 0.8rem; font-weight: bold; letter-spacing: 0.2em; }
.scroll-line { width: 1px; height: 40px; background-color: #0b2554; margin: 10px auto 0 auto; }

/* --- 2. できること一覧セクション（6面グリッド） --- */
.features-list-section {
  max-width: 1200px; margin: 0 auto; padding: 100px 20px 60px 20px;
}
.breadcrumbs { font-size: 0.85rem; color: #94a3b8; margin-bottom: 20px; }
.main-section-title { font-size: 2.8rem; font-weight: 800; margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; line-height: 1.6; color: #475569; margin-bottom: 60px; }

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  /* .features-list-section と同じ中央寄せ幅に揃える（PCで左寄せになる問題を解消） */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.grid-card {
  background-color: #f8fafc;
  padding: 40px 35px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11,37,84,0.05);
}
.card-icon-header { font-size: 2rem; margin-bottom: 25px; }
.grid-card h3 { font-size: 1.3rem; margin-bottom: 15px; font-weight: bold; }
.grid-card p { font-size: 0.95rem; color: #475569; line-height: 1.7; margin-bottom: 25px; }
.card-more-link { color: #1d70b8; font-weight: bold; font-size: 0.95rem; display: inline-block; }

/* --- 2.5 掲載費用セクション（できることの下） --- */
.pricing-section {
  max-width: 1200px; margin: 0 auto; padding: 60px 20px 100px 20px;
}
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.pricing-card {
  background-color: #f8fafc;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11,37,84,0.05);
}
.pricing-card-free { background-color: #e9fbff; }
.pricing-badge {
  display: inline-block;
  background-color: #0b2554;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.pricing-badge-blue { background-color: #1d70b8; }
.pricing-card-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; line-height: 1.4; }
.pricing-amount { font-size: 1.1rem; font-weight: bold; color: #0b2554; margin-bottom: 15px; }
.pricing-amount-blue { color: #1d70b8; }
.pricing-num { font-size: 2.6rem; margin: 0 4px; }
.pricing-unit { font-size: 1.3rem; }
.pricing-note { font-size: 0.9rem; color: #475569; line-height: 1.7; }

/* --- 3. 各詳細セクション共通設定 --- */
.detail-section-wrapper {
  background-color: #ffffff;
  padding-top: 120px; /* 固定ヘッダーに重ならないように調整 */
  border-top: 1px solid #e2e8f0;
}
.detail-hero-box {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 80px;
}
.detail-hero-inner { width: 50%; }
.detail-title { font-size: 3rem; font-weight: 800; margin-bottom: 25px; }
.detail-desc { font-size: 1.2rem; line-height: 1.7; color: #475569; }
.detail-hero-img {
  width: 45%; height: 280px;
  background: linear-gradient(135deg, #ffffff 30%, #eef5fc 30%);
  position: relative; border-radius: 20px; overflow: hidden;
}
.img-placeholder {
  width: 100%; height: 100%; background-color: #cbd5e0;
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* 主な特徴 */
.sub-title { text-align: center; font-size: 1.8rem; font-weight: bold; margin-bottom: 40px; }
.sub-features-container, .flow-container { max-width: 1200px; margin: 0 auto 80px auto; padding: 0 20px; }
.sub-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.sub-card { text-align: center; padding: 20px; }
.sub-card-icon { font-size: 2.2rem; margin-bottom: 15px; }
.sub-card h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: bold; }
.sub-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* 利用の流れ */
.flow-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  background-color: #f8fafc; padding: 50px 40px; border-radius: 20px;
}
.flow-step { text-align: center; }
.step-num {
  width: 40px; height: 40px; background-color: #0b2554; color: #ffffff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px auto; font-weight: bold; font-size: 1.1rem;
}
.flow-step h4 { font-size: 1.15rem; margin-bottom: 10px; font-weight: bold; }
.flow-step p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* CTAバナー */
.cta-banner {
  background: linear-gradient(90deg, #0b2554, #1d70b8);
  color: #ffffff; text-align: center; padding: 60px 20px; margin-top: 40px;
}
.cta-banner h3 { font-size: 1.8rem; margin-bottom: 25px; font-weight: bold; }
.btn-cta-white {
  background-color: #ffffff; color: #0b2554; padding: 15px 45px;
  border-radius: 30px; font-weight: bold; display: inline-block;
}

/* --- 下部共通セクション --- */
.section-box { padding: 120px 20px; text-align: center; max-width: 1200px; margin: 0 auto; }
.section-box h2 { font-size: 2rem; margin-bottom: 20px; }
.section-desc { color: #64748b; padding: 60px 0; border: 2px dashed #cbd5e0; border-radius: 10px; margin-top: 20px; }
.gray-bg { background-color: #f8fafc; max-width: 100%; }

.footer { background-color: #0b2554; color: #ffffff; padding: 40px; text-align: center; }
.copyright { font-size: 0.8rem; opacity: 0.6; margin-top: 10px; }
/* ==========================================
   【画面全体版】青統一＆全画面レイアウトCSS（CSS末尾へ）
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
}

/* 画面全体スライドの共通アニメーション設定 */
.global-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  width: 100%;
}

/* 既存のコンテナがスライドとして重なるように位置を制御 */
.hero-container.global-slide {
  position: relative;
  z-index: 1;
}

.hero-container.global-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

/* 画面全体幅を贅沢に使ったスライド2のベース */
.global-slide-two {
  position: absolute;
  top: 160px; /* 固定ヘッダー分の余白に合わせる */
  left: 0;
  height: calc(100% - 260px); /* 既存の上下パディングに応じた高さ */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.global-slide-two.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

/* 横幅を既存サイトの1200pxに揃えるインナークラス */
.full-screen-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

/* 左右を2カラムでおしゃれに並べるレイアウト */
.full-screen-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.full-left-zone {
  width: 55%;
}

.full-right-zone {
  width: 42%;
}

/* 「スクリーンショット 2026-07-04 021055.png」のネイビーカプセルバッジを完全再現 */
.img-style-badge {
  position: absolute;
  top: -50px;
  right: 20px;
  background-color: #0b2554; /* 既存のメイン濃紺 */
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(11, 37, 84, 0.15);
}

.img-style-badge-sub {
  font-size: 0.65rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.img-style-badge-main {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* テキスト＆タイポグラフィ（青と濃紺でスタイリッシュに） */
.img-style-sub-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d70b8; /* ブランドの明るい青 */
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.img-style-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0b2554;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.highlight-blue {
  color: #1d70b8;
  position: relative;
}

/* お悩みカードボード（画像の枠線をイメージした上品なデザイン） */
.img-style-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 35px;
  box-shadow: 0 15px 40px rgba(11, 37, 84, 0.06);
  border: 1px solid rgba(29, 112, 184, 0.15);
}

.img-style-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b2554;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1d70b8; /* 画像の下線を再現 */
  display: inline-block;
}

/* リストの配置 */
.img-style-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.img-style-list li {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* チェックマークの色調整 */
.blue-check {
  color: #1d70b8;
  font-weight: 900;
  font-size: 1.2rem;
}

/* 画面幅が狭いときのための微調整 */
@media (max-width: 1024px) {
  .img-style-main-title { font-size: 2.2rem; }
  .img-style-card { padding: 30px; }
}
/* ==========================================
   追加コード：3ステップセクション用おしゃれ配置CSS
   ========================================== */

/* 2周り小さい補足サブタイトル */
.works-sub-caption {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d70b8; /* ブランドの爽やかな青 */
  margin-top: 10px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* 「ファンを作ることを大切に〜」のメッセージボード */
.works-concept-box {
  max-width: 800px;
  margin: 0 auto 50px auto;
  background-color: #f4f8fd; /* 薄いブルーの背景 */
  border-radius: 12px;
  padding: 20px 30px;
  border-left: 4px solid #0b2554;
}

.works-concept-box p {
  font-size: 1rem;
  color: #0b2554;
  line-height: 1.7;
  margin: 0;
}

.works-concept-box strong {
  color: #1d70b8;
  font-weight: 800;
}

/* 3ステップカードのコンテナ横並び設定 */
.works-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
  border: none !important; /* 元の点線を綺麗に打ち消し */
  padding: 0 !important;
}

/* 白ベースの美しい立体カード（画像デザインをトレース） */
.works-step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 12px 30px rgba(11, 37, 84, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.works-step-card:hover {
  transform: translateY(-5px);
}

/* ステップ数字のスタイル */
.works-step-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1d70b8;
  margin-bottom: 10px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 各カードのタイトル */
.works-step-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0b2554;
  margin-bottom: 25px;
  letter-spacing: -0.01em;
}

/* 画像に合わせた丸背景のアイコンエリア */
.works-step-circle-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

/* 画像のパステルカラーをそのまま再現 */
.icon-blue { background-color: #eef5fc; }
.icon-pink { background-color: #fdf2f7; }
.icon-gold { background-color: #fefaf0; }

/* アイコン自体の大きさ */
.emoji-icon {
  font-size: 3.2rem;
}

/* 説明テキストの調整 */
.works-step-txt {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
  text-align: left; /* 左揃えにして読みやすく */
}

/* スマホやタブレットなどの幅に対応するレスポンシブ */
@media (max-width: 960px) {
  .works-grid-container {
    grid-template-columns: 1fr; /* 縦一列に並べる */
    gap: 25px;
  }
}
/* ==========================================
   追加コード：FLOWセクション＆青フチLINE枠デザイン
   ========================================== */

/* 全体コンテナ */
.flow-global-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* タイトル周り */
.flow-title-zone {
  text-align: center;
  margin-bottom: 60px;
}

.flow-en-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1d70b8; /* ブランドの明るい青 */
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 10px;
  position: relative;
}

.flow-en-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1d70b8;
}

.flow-main-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b2554; /* メインの濃紺 */
  line-height: 1.5;
  margin-top: 15px;
}

/* 縦型のスタイリッシュなタイムライン */
.flow-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 70px auto;
  padding-left: 50px;
}

/* 中央を通る縦線 */
.flow-timeline::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 18px;
  width: 2px;
  height: calc(100% - 40px);
  background-color: rgba(29, 112, 184, 0.2);
}

/* 各ステップの並び */
.flow-time-item {
  position: relative;
  margin-bottom: 30px;
}

/* ステップの数字の丸（ノード） */
.flow-node {
  position: absolute;
  left: -50px;
  top: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #1d70b8;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.flow-node span {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d70b8;
}

/* ステップの中身のカード */
.flow-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 25px;
  border: 1px solid rgba(226, 232, Slate, 0.15);
  box-shadow: 0 4px 20px rgba(11, 37, 84, 0.02);
  display: flex;
  align-items: center;
  gap: 30px;
}

.flow-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b2554;
  min-width: 160px;
  margin: 0;
}

.flow-card p {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================
   スタイリッシュな青フチのLINEボックス
   ========================================== */
.minimal-line-border-box {
  max-width: 750px;
  margin: 0 auto;
  background-color: #ffffff;
  /* 塗りつぶさずに「青いフチ（太め）」で囲む */
  border: 2px solid #1d70b8; 
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(29, 112, 184, 0.05);
  position: relative;
}

.minimal-line-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b2554;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* LINEに誘導するシンプルなフチコンシャスボタン */
.minimal-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: transparent;
  color: #1d70b8;
  border: 2px solid #1d70b8;
  padding: 14px 45px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* マウスを乗せたときに綺麗に反転するアニメーション */
.minimal-line-btn:hover {
  background-color: #1d70b8;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 112, 184, 0.2);
}

.minimal-line-sub-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d70b8;
  margin-top: 25px;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* スマホ用の縦並び・サイズ微調整 */
@media (max-width: 768px) {
  .flow-timeline {
    padding-left: 40px;
  }
  .flow-timeline::before {
    left: 13px;
  }
  .flow-node {
    left: -40px;
    width: 28px;
    height: 28px;
  }
  .flow-node span { font-size: 0.85rem; }
  
  .flow-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px;
  }
  .flow-card h3 { min-width: auto; font-size: 1.1rem; }
  .flow-main-title {
    font-size: 1.4rem;
    /* グローバルの word-break: keep-all !important を打ち消し、長い日本語見出しを折り返す（右切れ防止） */
    word-break: normal !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }
  .minimal-line-lead { font-size: 0.95rem; }
  .minimal-line-btn { padding: 12px 30px; font-size: 0.95rem; }
}
/* ==========================================
   【梨乃さん専用】上2・中2・下1（中央）に整えるCSS
   ========================================== */

.adjust-two-columns {
  display: grid !important;
  /* 綺麗な2列（上2枚、真ん中2枚）のベースを作ります */
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: 30px !important; /* カード同士の隙間を均等に */
  max-width: 900px !important; /* 2枚並びが一番美しく見える横幅に調整 */
  margin: 0 auto !important; /* 全体を中央寄せ */
}

/* 5番目のカード（クラウドファンディング）だけを狙い撃ちして一番下の中央にする */
.adjust-two-columns > div:nth-child(5) {
  /* 2列分の幅をまるごと使って、下の段に単独で配置させます */
  grid-column: 1 / -1 !important; 
  
  /* 横にびよーんと広がらないよう、上のカードと同じサイズ（幅）に固定します */
  max-width: 435px !important; 
  width: 100% !important;
  
  /* 左右の余白を auto にすることで、自動的に「ど真ん中」へ吸い寄せられます */
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 10px !important; /* 2段目との間に上品な隙間を作ります */
}

/* スマホ幅になった時は、自動的に綺麗な縦1列に並び替わるよう配慮 */
@media (max-width: 768px) {
  .adjust-two-columns {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .adjust-two-columns > div:nth-child(5) {
    grid-column: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
/* --- 追加：統一感を持たせた図解全体の設計 --- */
.concept-diagram-section {
  background-color: #ffffff;
  padding: 100px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #e2e8f0;
}

.diagram-global-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* 左右のカード共通 */
.diagram-side-card {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 丸いイラスト・バッジ背景 */
.diagram-badge-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}
.circle-pink { background: linear-gradient(135deg, #ffeef2 0%, #ffcbd7 100%); }
.circle-blue { background: linear-gradient(135deg, #eef5fc 0%, #cbdff7 100%); }

.diagram-badge-title {
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #0b2554;
  z-index: 2;
}
.circle-pink .diagram-badge-title { color: #d91b5c; }
.circle-blue .diagram-badge-title { color: #1d70b8; }

/* CSSで表現するシンプルなベクター風イラスト代わりの絵文字表示 */
.diagram-emoji-illust {
  font-size: 2.2rem;
  margin-top: 10px;
}

/* 下部の帯・文章 */
.diagram-status-bar {
  width: 100%;
  padding: 12px 20px;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/*.bar-pink { background-color: #e51758; }/*
/*.bar-blue { background-color: #0044bb; }/*

.diagram-lead-text {
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.5;
}
.card-pink .diagram-lead-text { color: #e51758; }
.card-blue .diagram-lead-text { color: #0044bb; }

/* 中央ゾーン（ロゴ＆矢印） */
.diagram-center-zone {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}

.diagram-logo-display {
  padding: 15px 30px;
  background-color: #f8fafc;
  border-radius: 50px;
  border: 1px dashed #cbd5e0;
}

/* 矢印行のレイアウト */
.diagram-arrow-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}
.diagram-text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.text-small {
  font-size: 0.85rem;
  color: #475569;
  font-weight: bold;
  margin-bottom: 2px;
}
.text-main {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 4px;
}
.text-pink { color: #e51758; }
.text-blue { color: #0044bb; }

/* CSSだけで描画する美しいシャープなライン矢印 */
.diagram-arrow {
  height: 2px;
  background-color: #64748b;
  position: relative;
  flex: 1;
}
.diagram-arrow::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #64748b;
  border-right: 2px solid #64748b;
}
.arrow-right::after {
  right: 0;
  transform: rotate(45deg);
}
.arrow-left::after {
  left: 0;
  transform: rotate(-135deg);
}
/* ==========================================
   追加：ボタンとリンクの「ふわっとした動き」の設定
   ========================================== */

/* 全体のボタンやナビゲーションリンクにアニメーションの時間を設定（0.3秒かけて変化） */
.header-nav a,
.btn-crowdfunding,
.btn-login,
.btn-start-navy,
.btn-primary,
.btn-secondary,
.minimal-line-btn,
.btn-cta-white {
  transition: all 0.3s ease;
}

/* 1. ナビゲーションメニュー（ホーム、できること、仕組みなど） */
.header-nav a:hover {
  color: #00b4d8;            /* マウスを乗せると爽やかな水色にふわっと変わる */
  opacity: 0.8;
}

/* 2. 公式LINEボタン（元のbtn-login） */
.btn-login:hover {
  background-color: #0b2554; /* 枠線だけから、背景が紺色にふわっと染まる */
  color: #ffffff;            /* 文字は白に */
  transform: translateY(-2px); /* 2ピクセル上にふわっと浮き上がる */
  box-shadow: 0 4px 12px rgba(11, 37, 84, 0.15); /* 軽い影がつく */
}

.btn-crowdfunding:hover {
  background-color: #00b4d8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.2);
}

/* 3. ご相談の予約はこちらボタン（ヘッダー：btn-start-navy） */
.btn-start-navy:hover {
  background-color: #1d70b8; /* 少し明るい青色にふわっと変化 */
  transform: translateY(-2px); /* 2ピクセル上に浮き上がる */
  box-shadow: 0 4px 12px rgba(11, 37, 84, 0.2);
}

/* 4. メインビジュアル内の「ご相談の予約はこちら」ボタン（btn-primary） */
.btn-primary:hover {
  background-color: #1d70b8; /* 少し明るい青色に変化 */
  transform: translateY(-3px); /* 少し高めに浮き上がらせて躍動感を出す */
  box-shadow: 0 6px 18px rgba(11, 37, 84, 0.25);
}

/* 5. メインビジュアル内の「できることを詳しく見る」ボタン（btn-secondary） */
.btn-secondary:hover {
  background-color: #f0f5fa;   /* 背景が薄い水色にふわっと染まる */
  transform: translateY(-3px); /* 上に浮き上がる */
  box-shadow: 0 6px 18px rgba(11, 37, 84, 0.1);
}

/* 6. LINE登録タイムライン下のボタン（minimal-line-btn） */
.minimal-line-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* ==========================================
   追加：BENEFITS（メリット）セクションのスタイル
   ========================================== */
.benefits-section {
  background-color: #ffffff;
  padding: 80px 60px;
  text-align: center;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ヘッダー部分 */
.benefits-header {
  margin-bottom: 60px;
}
.benefits-subtitle {
  color: #5466b3; /* 青色の英字テキスト */
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.benefits-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background-color: #00b4d8; /* 水色の下線 */
}
.benefits-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000000;
  margin-top: 15px;
}

/* 3カラムのグリッド配置 */
.benefits-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.benefits-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left; /* リストの内容は左寄せ */
}

/* アイコン（画像・絵文字）エリア */
.benefits-icon {
  font-size: 4rem; /* 画像の代わりに絵文字を大きく見せる設定 */
  margin-bottom: 20px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 各カードのタイトル */
.benefits-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #111111;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 箇条書きリスト */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits-list li {
  position: relative;
  padding-left: 15px;
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 10px;
}
/* 先頭の「・」を再現 */
.benefits-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: bold;
}

/* レスポンシブ対応（スマホで見るときは縦並びにする） */
@media (max-width: 768px) {
  .benefits-grid {
    flex-direction: column;
    gap: 50px;
  }
  .benefits-card {
    max-width: 100%;
  }
}
/* ==========================================
   追加：RESULTS（実績）セクションのスタイル
   ========================================== */
.results-section {
  background-color: #ffffff;
  padding: 80px 60px 100px 60px; /* メリットから綺麗に続くよう調整 */
  text-align: center;
  border-top: 1px solid #f0f4f8; /* 境界をうっすら分ける線 */
}

.results-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ヘッダー部分（BENEFITSと統一） */
.results-header {
  margin-bottom: 60px;
}
.results-subtitle {
  color: #4361ee;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.results-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background-color: #00b4d8;
}
.results-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000000;
  margin-top: 15px;
}

/* 3カラム配置（BENEFITSと統一） */
.results-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* 高さを揃える */
  gap: clamp(24px, 3vw, 40px);
}

.results-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* コンテンツと下部タイトルを上下に綺麗に分ける */
  align-items: center;
}

/* 各実績コンテンツのコンテナエリア */
.achievement-box, .logo-group-placeholder {
  width: 100%;
  min-height: 240px; /* 高さを均等にして整える */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

/* 左側：月桂樹風のテキスト装飾（CSSで上品に配置） */
.laurel-wreath {
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}
.laurel-text-top {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #111111;
}
.num-large {
  font-size: 2rem;
  font-weight: 800;
  color: #000000;
}
.laurel-text-sub {
  display: block;
  font-size: 0.8rem;
  color: #555555;
  margin-top: 4px;
  line-height: 1.4;
}

/* 中央・右側：ロゴ用プレースホルダー（画像が用意できたら差し替え可能） */
.logo-group-placeholder {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 20px;
}
.fallback-logo-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.8;
  font-weight: 500;
}

/* 下部の大タイトル（BENEFITSと統一） */
.results-card-title {
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  font-weight: 800;
  color: #000000;
  text-align: center;
  width: 100%;
  line-height: 1.4;
  margin-top: auto; /* 常に最下部に固定 */
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

@media (min-width: 1025px) {
  .results-card-title {
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .results-card-title {
    font-size: 1rem;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .results-grid {
    flex-direction: column;
    gap: 60px;
  }
  .achievement-box, .logo-group-placeholder {
    min-height: auto;
  }
}
/* 左上のロゴの大きさ調整 */
.site-logo {
  height: 50px;    /* ヘッダーの高さに合わせて40px〜60pxの間で微調整してね */
  width: auto;     /* 横幅は自動で綺麗な比率になります */
  display: block;
}

/* 中央の点線枠とロゴの大きさ調整 */
.center-box {
  border: 2px dashed #b3c5d7; /* 綺麗な薄い青グレーの点線枠になります */
  border-radius: 15px;        /* 角を丸くする */
  padding: 15px 35px;         /* 枠の中の余白（上下 左右） */
  display: inline-block;      /* 枠をロゴのサイズに合わせる */
  background: #ffffff;        /* 背景を白にする */
}

.center-logo {
  width: 180px;    /* 枠の中のロゴの横幅（お好みで調整してね） */
  height: auto;    /* 縦幅は自動で綺麗な比率になります */
  display: block;
}
/* 左上のロゴの大きさ調整（もうあと二回り大きく！） */
.site-logo {
  height: 95px;    /* 「80px」から「95px」に限界まで大きくしました */
  width: auto;     /* 横幅は自動で綺麗な比率になります */
  display: block;
}

/* 中央の点線枠とロゴの大きさ調整（もうあと二回り大きく！） */
.center-box {
  border: 2px dashed #b3c5d7; /* 綺麗な薄い青グレーの点線枠 */
  border-radius: 15px;        /* 角を丸くする */
  padding: 15px 35px;         /* 枠の中の余白（上下 左右） */
  display: inline-block;      /* 枠をロゴのサイズに合わせる */
  background: #ffffff;        /* 背景を白にする */
}

.center-logo {
  width: 340px;    /* 「280px」から「340px」にさらに大きくしました */
  height: auto;    /* 縦幅は自動で綺麗な比率になります */
  display: block;
}
/* ===================================================
   左上ヘッダーロゴのサイズ調整
   =================================================== */
.header-site-logo {
  height: 45px;     /* ヘッダーの高さに合わせて綺麗に収まるサイズ */
  width: auto;      /* 比率を維持 */
  display: block;   /* 余計な隙間をなくす */
}

/* ===================================================
   中央の図解の矢印調整（メニューの矢印には干渉しない設定）
   =================================================== */

/* クラス名が正確に「arrow」である図解の矢印だけを太く・青くする */
.arrow {
  height: 6px !important;               /* 線の太さ */
  background-color: #004bb1 !important;    /* 太い青色 */
  border-color: #004bb1 !important;
  color: #004bb1 !important;
}

/* 上の矢印：文字の下（ロゴの上）へ強制移動 */
.arrow:first-of-type {
  transform: translateY(75px) !important;
}

/* 下の矢印：文字と被らないように下へ強制移動 */
.arrow:last-of-type {
  transform: translateY(35px) !important;
}
/* 1枚目のスライドの背景に画像を違和感なく配置 */
.home-slider .slide:nth-child(1) {
    background-image: url('main-visual.png');
    background-size: cover;          /* 2枚目の画像のように横いっぱいに隙間なく引き伸ばし */
    background-position: center;     /* 画像の中心を基準に配置 */
    background-repeat: no-repeat;    /* 画像のループを防止 */
    position: relative;
}

/* 1枚目のスライド内の幾何学背景（グレーの斜め模様など）を非表示にし、背景画像が見えるようにする */
.home-slider .slide:nth-child(1) .home-background-pattern {
    display: none !important;
}

/* 元の文字やボタンなどのコンテンツが背景画像より手前に来るように前面化 */
.home-slider .slide:nth-child(1) .home-content {
    position: relative;
    z-index: 2; /* 背景画像より手前に配置 */
}
/* ==========================================
   メインビジュアル（右側）に画像を適用する設定
   ========================================== */

/* 右側のビジュアルエリア全体に背景画像を設定 */
.hero-visual {
    background-image: url('main-visual.png.png') !important;
    background-size: cover !important;        /* 領域全体に画像をぴったり合わせる */
    background-position: center center !important; /* 画像の中央を基準に表示 */
    background-repeat: no-repeat !important;    /* 画像のループを防止 */
    
    /* もし元コードで右側にグレーの図形（SVGなど）が入っている場合、それを非表示にします */
    display: block !important; 
}

/* 元々右側にあったSVGやバッジなどの子要素を完全に隠す（画像だけにする） */
.hero-visual svg,
.hero-visual .badge-circle,
.hero-visual .geometric-bg {
    display: none !important;
}

/* 左側のテキストエリア（hero-text）のサイズや位置関係を固定して崩れを防ぐ */
.hero-text {
    flex: 0 0 55% !important; /* 元の横幅（55%）を強制キープ */
    max-width: 55% !important;
    position: relative !important;
    z-index: 10 !important;
}
/* 「SportsConnectでできること」のタイトルフォント調整 */
.main-section-title {
    font-family: 'BIZ UDPGothic', 'Meiryo', sans-serif !important;
    font-weight: 800 !important;
}

/* サブタイトルのフォント調整 */
.section-subtitle {
    font-family: 'BIZ UDPGothic', 'Meiryo', sans-serif !important;
    font-weight: bold !important;
}
/* SportsConnectの文字だけを強制的にさらに肉厚にする */
.main-section-title .brand-highlight {
    font-weight: 900 !important;
    /* 文字と同じ色（濃い紺色）の極細のフチをつけて、強制的に文字を太らせます */
    -webkit-text-stroke: 1.2px #0c2356; 
    text-stroke: 1.2px #0c2356;
    letter-spacing: 0.05em; /* 文字が太くなって潰れないように少しだけ隙間をあけます */
}
/* --- 「できること」見出しエリアのレイアウト調整 --- */
.section-header-box {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding-right: 480px; /* 右側に画像が来るので、テキストと被らないように余白を空ける */
    box-sizing: border-box;
    min-height: 260px;   /* 画像の高さに合わせて最低限の高さを確保 */
}

/* --- 参考画像を再現：角丸・ななめカットの画像マスク --- */
.features-mv-img-wrap {
    position: absolute;
    top: 0;
    right: 20px;
    width: 440px;        /* 画像の表示横幅 */
    height: 260px;       /* 画像の表示縦幅 */
    overflow: hidden;
    
    /* 参考画像と同じカット形状：左下(0% 100%)から右上(100% 0%)にかけて斜めカット、右上を丸める */
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-top-right-radius: 60px; /* 右上の大きな角丸 */
    border-bottom-left-radius: 20px;
}

/* 画像自体のスタイル */
.features-mv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* 縦横比を崩さずに枠いっぱいに広げる */
}


/* --- スマホ・タブレット（画面幅が狭い時）の崩れ防止対策 --- */
@media (max-width: 992px) {
    .section-header-box {
        padding-right: 0;
        min-height: auto;
    }
    .features-mv-img-wrap {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 30px;
        border-radius: 20px;
        clip-path: none; /* スマホでは斜めカットを解除して通常の角丸にする */
    }
    .features-mv-img-wrap::after {
        display: none;
    }
}
.diagram-illust-image {
  /* 250pxから数値を増やして大きくします */
  max-width: 350px;  
  width: 100%;       
  height: auto;      
  display: block;    
  margin: 0 auto;    
}
.diagram-illust-image {
  max-width: 350px;  /* ここでサイズを微調整してください */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* もしカードの枠や背景が残っている場合は、以下で消去できます */
.diagram-side-card.card-blue {
  padding: 0;
  border: none;
  background: none;
}
/* --- レイアウトの安定化 --- */
.diagram-side-card {
    width: 30%; /* 左右の幅を固定 */
    text-align: center;
}

/* 画像サイズの統一と最大幅の制限 */
.diagram-illust-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- 文字とおしゃれな配色の定義 --- */
/* 強調テキストの共通設定 */
.text-main {
    font-size: 1.2rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
}

/* パッとする濃い青（Dark Blue） */
.text-dark-blue {
    color: #02007b;
    background-color: #ebfefd;
}

/* パッとする水色（Sky Blue） */
.text-sky-blue {
    color: #3f7bf4;
    background-color: #d9f1fd;
}

/* 余計なピンク色の装飾を強制的に無効化 */
.card-pink, .bar-pink, .text-pink {
    background-color: transparent !important;
    color: inherit !important;
    border: none !important;
}
/* カード4つをまとめている親コンテナ全体の設定 */
.summary-container {
    display: flex;
    /* 動きをゆっくり（0.5秒）にして、上質で滑らかなホバー効果にする */
    transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
    cursor: pointer;
    border-radius: 20px;
    padding: 20px; /* カードの内側に少し余裕を持たせると、さらにまとまりが出ます */
}

/* コンテナ全体にホバーした時（より控えめな効果） */
.summary-container:hover {
    /* 浮き上がる距離を小さく（-10px → -5px） */
    transform: translateY(-5px); 
    /* 影を薄く（0 15px 30px → 0 8px 16px） */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); 
    /* 背景色は白にするか、あるいは今の背景色のまま少し明るくするなど、好みで微調整してください */
    background-color: #ffffff; 
}
/* 768px以下の画面（スマホ・タブレット）用の設定 */
@media screen and (max-width: 768px) {
    
    /* ヘッダーのボタンが大きすぎる場合、文字サイズを少し小さくする */
    .header-buttons {
        display: flex;
        flex-direction: column; /* 縦並びにするなど */
        gap: 10px;
    }

    /* 実績セクション（results-grid）を縦一列にする */
    .results-grid {
        grid-template-columns: 1fr; /* 1列に変更 */
    }

    /* フッターの住所情報の余白をスマホ用に狭くする */
    .footer-info {
        font-size: 13px !important;
        margin: 10px 0 !important;
    }
}
@media screen and (max-width: 1050px) {
    .header {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .header-nav {
        display: none !important;
    }

    /* ヘッダー全体のボタンエリアの幅を少し調整 */
    .header-buttons {
        gap: 8px; /* ボタン同士の隙間を少し詰める */
    }

    /* ボタンの余白と文字サイズを少し縮小 */
    .btn-crowdfunding,
    .btn-login, 
    .btn-start-navy {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}

@media screen and (max-width: 900px) {
    /* もっと狭い画面（タブレットサイズ）では、メニューを少しコンパクトにする */
    .header-nav ul li {
        margin-right: 10px;
        font-size: 14px;
    }
}
/* 「SportsConnectでできること」のレイアウト修正（再調整版） */
#features-target .section-header-box {
    display: flex !important;
    flex-direction: row !important;      /* 強制的に横並び */
    align-items: center !important;
    justify-content: space-between !important; /* 左右に配置 */
    flex-wrap: nowrap !important;        /* 絶対に折り返さない */
    width: 100% !important;
    max-width: 1200px !important;        /* 親の最大幅を制限 */
    margin: 0 auto !important;           /* 中央寄せ */
}

/* テキスト部分（パンくず・タイトル・サブタイトル） */
#features-target .section-header-box > div:not(.features-mv-img-wrap) {
    flex: 1 !important;
    min-width: 0 !important;             /* テキストが長すぎてもレイアウトを壊さない */
    padding-right: 40px !important;      /* 画像との間に余白 */
}

/* 画像エリア */
.features-mv-img-wrap {
    flex: 0 0 350px !important;          /* 画像の幅を固定（少し小さくしてバランス調整） */
    max-width: 350px !important;
    height: auto !important;
}

.features-mv-img {
    width: 100% !important;              /* 画像を枠いっぱいに表示 */
    height: auto !important;
    display: block !important;
}
/* PC画面では <br> を非表示にして1行にする */
@media screen and (min-width: 901px) {
    .title-break {
        display: none !important;
    }
    
    /* 1行で収まりきらない場合の安全策 */
    .main-section-title {
        white-space: nowrap !important;
    }
}

/* 画面が900px以下（スマホ・タブレット）になったら改行を有効にする */
@media screen and (max-width: 900px) {
    .title-break {
        display: block !important;
    }
    
    .main-section-title {
        white-space: normal !important;
    }
}
/* ヘッダー全体の設定 */
.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

/* ナビゲーションメニュー */
.header-nav {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
}

.header-nav ul {
    display: flex !important;
    flex-wrap: nowrap !important; /* 横並びを維持 */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 20px !important;
    white-space: nowrap !important; /* ★ここが重要：リスト全体の改行禁止 */
}

/* リンク文字の改行を禁止 */
.header-nav ul li a {
    white-space: nowrap !important; /* ★ここが重要：文字の改行を禁止 */
    display: inline-block !important;
}

/* ボタンエリア */
.header-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    flex-shrink: 0 !important; /* ボタンは絶対に縮めない */
}

/* 画面が狭いときだけ調整 */
@media screen and (max-width: 1200px) {
    .header-nav ul {
        gap: 10px !important;
    }
    .header-nav ul li a {
        font-size: 13px !important;
        white-space: nowrap !important; /* 小さい時も改行禁止 */
    }
}
/* PCなど大きな画面では改行を表示しない */
@media screen and (min-width: 769px) {
    .mv-break {
        display: none !important;
    }
    .mv-title {
        white-space: nowrap !important; /* 1行で維持 */
    }
}

/* スマホなど小さな画面で改行を有効にする */
@media screen and (max-width: 768px) {
    .mv-break {
        display: block !important;
    }
    .mv-title {
        white-space: normal !important; /* 改行を許可 */
        line-height: 1.4 !important;    /* 改行時の行間を調整 */
    }
}
/* タイトルの改行制御 */
.hero-title {
    display: block !important;
    white-space: normal !important; /* 折り返しを許可 */
}

/* 改行ポイントで確実に折り返すための透明ブロック */
.break-point {
    display: block !important;
}

/* ボタンエリア：画面が細くなっても絶対に横並びをキープ */
.hero-buttons {
    display: flex !important;
    flex-direction: row !important; /* 横並び強制 */
    flex-wrap: nowrap !important;   /* 折り返し禁止 */
    gap: 15px !important;
}

/* ボタンの文字がはみ出さないよう微調整 */
.hero-buttons a {
    white-space: nowrap !important;
    flex-shrink: 0 !important;      /* 画面が狭くなってもボタンは縮まない */
}
/* PC：横並び */
@media screen and (min-width: 769px) {
    .summary-container {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
    }
    .summary-card {
        flex: 1 !important; /* カードの幅を均等にする */
    }
}

/* スマホ：縦並びにしてバランスを保つ */
@media screen and (max-width: 768px) {
    .summary-container {
        display: flex !important;
        flex-direction: column !important; /* 縦に並べる */
        gap: 15px !important;
        padding: 0 15px !important;
    }
    
    .summary-card {
        display: flex !important;
        flex-direction: row !important; /* アイコンとテキストは横並びをキープ */
        align-items: center !important;
        width: 100% !important;
    }

    /* 文字が細くならないように調整 */
    .sum-content h4 {
        white-space: nowrap !important;
        font-size: 16px !important;
    }
}
/* 中間サイズ：タブレットなどで2列に並べる（追加分） */
@media screen and (min-width: 481px) and (max-width: 900px) {
    .summary-container {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .summary-card {
        width: 48% !important; /* 2列に並べる */
    }
}
/* --- スマホ向けのレスポンシブ対応 --- */
@media (max-width: 768px) {
  /* ヘッダー */
  .header { padding: 15px 20px; }
  .header-nav { display: none; } 

  /* ヒーローセクション */
  .hero-container { flex-direction: column; text-align: center; }
  .hero-text { width: 100%; }
  .hero-visual { width: 100%; height: 300px; margin-top: 30px; }
  .hero-title { font-size: 2rem; }

  /* 特徴カード */
  .summary-container { flex-direction: column; padding: 20px; }
  .summary-card { border-right: none !important; border-bottom: 1px solid #e2e8f0; padding: 20px 0; }

  /* グリッド一覧 */
  .grid-container { grid-template-columns: 1fr; }

  /* 詳細セクション・特徴・フロー */
  .detail-hero-inner, .full-left-zone, .full-right-zone { width: 100%; }
  .sub-features-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  
  /* コンテンツ全般のパディング調整 */
  .section-box { padding: 60px 20px; }
}
/* --- スマホ表示：随時調整用エリア --- */
@media (max-width: 768px) {
  :root {
    /* ここを書き換えるだけでサイト全体を微調整できます */
    --sp-btn-width: 90%;       /* ボタンの横幅 */
    --sp-title-size: 1.5rem;   /* タイトルの文字サイズ */
    --sp-section-pad: 40px 20px; /* セクションの上下左右の余白 */
  }

  /* --- 以下のCSSは調整用変数を使って自動化しています --- */

  /* タイトル・テキストの縦長阻止 */
  h1, h2, h3, .hero-title {
    font-size: var(--sp-title-size) !important;
    word-break: keep-all;
    line-height: 1.4;
  }

  /* ボタンの調整 */
  .hero-buttons a {
    width: var(--sp-btn-width) !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 15px 10px !important;
  }

  /* セクションの余白調整 */
  .section-box {
    padding: var(--sp-section-pad) !important;
  }
}
/* ==================================================
   スマホ対応用：調整エリア（ここ以外は触らない）
   ================================================== */
@media (max-width: 768px) {
  /* 1. タイトル等の縦長崩れ防止 */
  h1, h2, h3, .hero-title, .sub-title {
    font-size: 1.4rem !important; /* 文字が大きすぎて改行されるのを防ぐ */
    line-height: 1.4 !important;
    word-break: keep-all !important;
  }

  /* 2. ボタンの崩れ防止 */
  .hero-buttons, .header-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  .hero-buttons a, .btn-cta-white {
    width: 85% !important; /* 画面幅に対して少し余裕を持たせる */
    padding: 12px 0 !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* 3. 余白の調整（崩れを防ぐ） */
  .section-box, .hero {
    padding: 40px 15px !important;
  }
}
/* PC */
.container {
    display: flex;
}

.box {
    width: 50%;
}

/* スマホ */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .box {
        width: 100%;
    }
}
/* =========================
   スマホ専用
   ========================= */
@media screen and (max-width: 768px) {

  /* 横スクロール防止 */
  html,
  body {
    overflow-x: hidden;
  }

  /* ヘッダー */
  .header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .header-buttons {
    width: 100%;
  }

  .header-buttons a {
    width: 100%;
    text-align: center;
  }

  /* ヒーロー */
  .hero-container {
    flex-direction: column;
  }

  .hero-text,
  .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  /* 特徴4カード */
  .summary-container {
    flex-direction: column;
  }

  .summary-card {
    width: 100%;
  }

  /* できること */
  .grid-container {
    grid-template-columns: 1fr;
  }

  /* 掲載費用 */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* 図解 */
  .diagram-global-container {
    flex-direction: column;
  }

  .diagram-side-card,
  .diagram-center-zone {
    width: 100%;
    max-width: 100%;
  }

  /* メリット */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* 実績 */
  .results-grid {
    grid-template-columns: 1fr;
  }

  /* 画像 */
  img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width:768px){

  .grid-container{
      grid-template-columns: repeat(2,1fr) !important;
      gap:15px !important;
  }

  .grid-card{
      padding:20px 15px !important;
  }

  .grid-card h3{
      font-size:1.1rem !important;
  }

  .grid-card p{
      font-size:0.9rem !important;
  }

}

/* ==================================================
   Mobile layout guard
   PC表示へ影響しないよう、スマホ幅だけ最後に整える
   ================================================== */
@media screen and (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: clip;
  }

  body {
    min-width: 0;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  .header {
    position: static;
    width: 100%;
    padding: 10px 14px !important;
    gap: 8px;
  }

  .header-nav {
    display: none !important;
  }

  .header-logo,
  .header-buttons {
    width: 100%;
  }

  .header-site-logo {
    height: clamp(28px, 8vw, 36px);
    margin: 0 auto;
  }

  .header-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px !important;
  }

  .header-buttons a,
  .btn-login,
  .btn-start-navy {
    width: 100% !important;
    max-width: 340px;
    min-height: 38px;
    margin: 0 auto;
    padding: 8px 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: normal !important;
    text-align: center;
    font-size: 0.78rem !important;
    line-height: 1.3;
  }

  .hero {
    min-height: clamp(410px, calc(100svh - 124px), 540px);
    padding: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
    overflow: hidden;
  }

  .hero-container,
  .hero-container.global-slide {
    min-height: auto;
    height: auto !important;
    position: absolute !important;
    inset: 12px 14px 16px;
    width: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    text-align: center;
    justify-content: center;
  }

  .hero-bg-layer {
    left: 50% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 26vh !important;
    max-height: 205px;
    transform: translateX(-50%) scale(1.08) !important;
    opacity: 0.38;
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.88), transparent 92%) !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.88), transparent 92%) !important;
  }

  .hero-text {
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-subtag {
    margin-bottom: 6px;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(1.48rem, 7.4vw, 2.02rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-description {
    margin: 10px auto 12px;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .hero-description br {
    display: none;
  }

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    gap: 6px !important;
  }

  .hero-buttons a,
  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    min-height: 38px;
    padding: 8px 12px !important;
    display: inline-flex !important;
    justify-content: center;
    white-space: normal !important;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .hero-visual {
    width: min(100%, 360px) !important;
    max-width: 100% !important;
    height: 68px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    background-image: none !important;
  }

  .hero-visual .image-clip {
    display: none !important;
  }

  .visual-badge {
    position: static !important;
    width: 66px !important;
    height: 66px !important;
    border-width: 2px !important;
    margin-right: 16px;
  }

  .badge-date {
    font-size: 0.5rem !important;
  }

  .badge-text {
    font-size: 0.58rem !important;
  }

  .global-slide-two {
    position: absolute;
    inset: 12px 14px 16px;
    width: auto !important; /* .global-slide の width:100% を打ち消し、左右14pxの余白内に収める（右へのはみ出し防止） */
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .global-slide-two:not(.active) {
    display: flex;
  }

  .global-slide {
    pointer-events: none;
  }

  .global-slide.active {
    pointer-events: auto;
  }

  .full-screen-wrapper,
  .full-screen-content,
  .full-left-zone,
  .full-right-zone {
    width: 100% !important;
    max-width: 100% !important;
  }

  .full-screen-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .img-style-main-title {
    font-size: clamp(1.22rem, 5.8vw, 1.58rem) !important;
    line-height: 1.28;
    letter-spacing: 0;
  }

  .img-style-card {
    padding: 14px 14px;
    border-radius: 14px;
    text-align: left;
  }

  .img-style-sub-title {
    font-size: 0.76rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .img-style-card-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .img-style-list {
    gap: 7px;
  }

  .img-style-list li {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .concept-diagram-section,
  .features-summary,
  .features-list-section,
  .benefits-section,
  .results-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .concept-diagram-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .diagram-global-container {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(88px, 0.8fr) minmax(120px, 1fr);
    grid-template-areas:
      "club club club"
      "send logo return"
      "supporter supporter supporter";
    justify-items: center;
    align-items: center;
    column-gap: 8px;
    row-gap: 22px;
  }

  .diagram-center-zone,
  .diagram-side-card {
    width: 100% !important;
    max-width: 380px !important;
  }

  .diagram-center-zone {
    display: contents !important;
    padding: 0;
  }

  .diagram-arrow-row {
    width: 100%;
    max-width: 156px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .diagram-club-card {
    grid-area: club;
  }

  .diagram-supporter-card {
    grid-area: supporter;
  }

  .diagram-center-zone .row-top {
    grid-area: send;
  }

  .diagram-center-zone .header-logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .diagram-center-zone .row-bottom {
    grid-area: return;
    flex-direction: column;
  }

  .diagram-arrow,
  .arrow:first-of-type,
  .arrow:last-of-type {
    width: 2px;
    min-height: 72px;
    flex: 0 0 auto;
    transform: none !important;
  }

  .row-top .diagram-arrow::after {
    top: auto;
    bottom: 0;
    left: -4px;
    transform: rotate(135deg);
  }

  .row-bottom .diagram-arrow::after {
    top: 0;
    bottom: auto;
    left: -4px;
    transform: rotate(-45deg);
  }

  .diagram-text-box {
    width: 100%;
    align-items: center;
  }

  .diagram-center-zone .site-logo {
    height: auto;
    width: min(148px, 38vw);
    max-width: 100%;
  }

  .diagram-illust-image {
    max-width: min(330px, 86vw);
  }

  .diagram-center-zone .row-top .diagram-text-box {
    order: 1;
  }

  .diagram-center-zone .row-top .diagram-arrow {
    order: 2;
  }

  .diagram-center-zone .row-bottom .diagram-arrow {
    order: 1;
  }

  .diagram-center-zone .row-bottom .diagram-text-box {
    order: 2;
  }

  .text-main {
    font-size: 0.82rem !important;
    line-height: 1.45;
    padding: 8px 9px;
    white-space: nowrap;
  }

  .text-small {
    font-size: 0.58rem;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .summary-container {
    width: 100%;
    margin-top: 0;
    padding: 18px !important;
  }

  .summary-card {
    gap: 14px;
    padding: 16px 0 !important;
  }

  .sum-icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .sum-content {
    min-width: 0;
  }

  .sum-content h4 {
    white-space: normal !important;
    line-height: 1.35;
  }

  #features-target .section-header-box,
  .section-header-box {
    display: block !important;
    width: 100% !important;
    min-height: 0;
    margin-bottom: 36px;
    padding-right: 0 !important;
    text-align: left;
  }

  #features-target .section-header-box > div:not(.features-mv-img-wrap) {
    padding-right: 0 !important;
  }

  .main-section-title,
  .benefits-title,
  .results-title,
  .section-box h2 {
    white-space: normal !important;
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
  }

  .section-subtitle {
    margin-bottom: 28px;
    font-size: 0.98rem;
  }

  .features-mv-img-wrap {
    position: relative !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin-top: 24px;
    border-radius: 16px;
    clip-path: none !important;
  }

  .features-mv-img {
    height: 100% !important;
    object-fit: cover;
  }

  .grid-container {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 16px;
  }

  .grid-card {
    padding: 24px 20px !important;
    border-radius: 12px;
  }

  .grid-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }

  .grid-card p {
    font-size: 0.95rem !important;
  }

  .section-box {
    padding: 56px 16px !important;
  }

  .works-grid-container,
  .benefits-grid,
  .results-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .benefits-section,
  .results-section {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .benefits-header,
  .results-header {
    margin-bottom: 36px;
  }

  .benefits-card,
  .results-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .benefits-icon {
    height: auto;
    margin-bottom: 16px;
  }

  .benefits-icon img {
    width: min(150px, 42vw) !important;
    height: auto !important;
  }

  .results-card-title,
  .benefits-card-title {
    font-size: 1.15rem;
    white-space: normal;
  }

  .achievement-box,
  .logo-group-image,
  .laurel-wreath {
    width: 100%;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .flow-global-container {
    padding: 56px 16px;
  }

  .minimal-line-border-box {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .minimal-line-lead br {
    display: none;
  }

  .minimal-line-btn {
    width: 100%;
    padding: 13px 16px;
    gap: 8px;
  }

  .footer {
    padding: 32px 16px;
  }
}

@media screen and (max-width: 380px) {
  .hero-title {
    font-size: clamp(1.34rem, 7vw, 1.78rem) !important;
  }

  .hero-description {
    font-size: 0.72rem;
  }

  .hero-visual {
    height: 58px !important;
  }

  .visual-badge {
    width: 58px !important;
    height: 58px !important;
  }

  .btn-primary,
  .btn-secondary,
  .minimal-line-btn {
    font-size: 0.82rem;
  }
}

@media screen and (max-width: 768px) and (max-height: 720px) {
  .header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .header-buttons a,
  .btn-login,
  .btn-start-navy {
    min-height: 34px;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .hero {
    min-height: calc(100svh - 136px);
  }

  .hero-container,
  .hero-container.global-slide,
  .global-slide-two {
    top: 8px;
    bottom: 10px;
  }

  .hero-subtag {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: clamp(1.36rem, 7vw, 1.84rem) !important;
  }

  .hero-description {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .hero-buttons a,
  .btn-primary,
  .btn-secondary {
    min-height: 34px;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .hero-visual {
    height: 56px !important;
  }

  .visual-badge {
    width: 56px !important;
    height: 56px !important;
  }

  .img-style-card {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .img-style-list {
    gap: 5px;
  }
}

.mobile-title-break {
  display: none;
}

@media screen and (max-width: 768px) {
  .benefits-title {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.35rem, 6vw, 1.7rem) !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
  }

  .benefits-title .mobile-title-break {
    display: block;
  }
}

@media screen and (min-width: 769px) and (max-width: 1050px) {
  .header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .header-nav {
    display: none !important;
  }

  .header-buttons {
    margin-left: auto;
  }
}