@charset "UTF-8";

/* =============================================================
   デザイントークン
   テーマ変更（配色・角丸・フォント）はこの :root の変数を書き換えて行う。
   レイアウト（display/position/flex/grid/width/height/margin/padding/
   メディアクエリ）とセレクタ・クラス名は変更しないこと。
   ============================================================= */
:root {
  /* 主要カラー */
  --color-primary: #0066cc;        /* CTA・アイコン・枠線・見出し下線 */
  --color-primary-dark: #0052a3;   /* CTAホバー */
  --color-accent: #6a1b9a;         /* グラデーションの相方 */
  --gradient-cta: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  /* 背景 */
  --color-hero-bg: #E0F2FE;        /* ヒーロー背景 */
  --color-section-bg: #f0f9ff;     /* 交互セクション背景（支援内容・専門家一覧） */
  --color-section-bg-alt: #f8fafc; /* サービス概要背景（復活待ちセクション） */
  --color-icon-bg-from: #e3f2fd;   /* カードアイコン背景グラデ 始点 */
  --color-icon-bg-to: #f3e5f5;     /* カードアイコン背景グラデ 終点 */
  /* テキスト */
  --color-heading: #1a1a1a;
  --color-text: #333;
  --color-text-muted: #666;
  --color-highlight: #fff3cd;      /* 特徴リストの蛍光マーカー */
  --color-support-accent: #2e7d32; /* 「支援します」の強調色 */
  /* パーツ */
  --color-btn-soft: #87ceeb;       /* 専門家カードのボタン */
  --color-footer-bg: #1a1a1a;
  /* プライマリ由来の影 */
  --shadow-primary-weak: rgba(0,102,204,0.15);
  --shadow-primary: rgba(0,102,204,0.25);
  --shadow-primary-strong: rgba(0,102,204,0.3);
  /* 形状・フォント */
  --radius-card: 15px;
  --radius-button: 30px;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.cta-button {
  background: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background 0.3s;
}

.nav-link.cta-button:hover {
  background: var(--color-primary-dark);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding-top: 2.5px;
  padding-bottom: 5px;
  background: var(--color-hero-bg);
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
  opacity: 0.3;
}

.hero-background {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wave" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0,50 Q25,40 50,50 T100,50 V100 H0 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23wave)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
  max-width: 600px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner {
  background: transparent;
  color: var(--color-text);
  padding: 15px 30px;
  border-radius: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-block;
  margin: 0 0 20px 0;
  text-align: left;
  position: relative;
  width: auto;
  white-space: nowrap;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30px;
  width: calc(100% - 60px);
  height: 3px;
  background: var(--color-primary);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--color-heading);
}

.hero-title-main-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.hero-title-suffix {
  padding-bottom: 8px;
}

.hero-title-small {
  font-size: 2.1rem;
  font-weight: 600;
}

.hero-title-main {
  font-size: 3.2rem;
  font-weight: 700;
}

.hero-title-last {
  margin-top: -3px;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-image {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  max-height: 400px;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  object-fit: cover;
}



.support-company-content {
  text-align: center;
  position: relative;
  margin-bottom: 0px;
}

.support-company-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  position: relative;
  display: inline-block;
  padding: 30px 0 5px 0;
}

.support-company-text::before,
.support-company-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 3px;
  background: var(--color-text);
  transform: translateY(-50%);
}

.support-company-text::before {
  left: -80px;
  transform: translateY(-50%) rotate(45deg);
}

.support-company-text::after {
  right: -80px;
  transform: translateY(-50%) rotate(-45deg);
}

.bank-name {
  color: var(--color-primary);
}

.support-text {
  color: var(--color-support-accent);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-heading);
  position: relative;
}

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

.challenges-section {
  background: #ffffff;
  padding: 60px 0 80px 0;
  position: relative;
}

/* 三角形セパレーター */
.triangle-separator {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 40px solid var(--color-primary);
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 40px;
}

.challenge-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.challenge-card {
  flex: 0 0 250px;
  background: #fff;
  padding: 25px;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 250px;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-icon-bg-from), var(--color-icon-bg-to));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-heading);
}

.card-text {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 1.1rem;
}

/* 海外事業計画策定支援サービスでできること */
.support-content {
  padding: 40px 0 60px 0;
  background: var(--color-section-bg);
}

.support-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  margin-top: 40px;
  overflow-x: auto;
  padding-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.support-card {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-left: 4px solid var(--color-primary);
  transition: transform 0.3s;
  min-width: 300px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.support-card:hover {
  transform: translateY(-3px);
}

.support-card .card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  background: var(--gradient-cta);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-card .card-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--color-heading);
  font-weight: 600;
}

.support-card .card-text {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  flex-grow: 1;
}

/* Price Section */
.price-section {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-top: 50px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.price-card {
  margin-bottom: 30px;
}

.price-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.price-text {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 1.1rem;
}

/* 選ばれる理由 */
.why-choose {
  padding: 10px 0 60px 0;
  background: #ffffff;
}

.reason-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 10px;
}

.reason-text {
  text-align: center;
  max-width: 800px;
}

.reason-text p {
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 4px 5px;
  color: var(--color-text);
  position: relative;
  padding-left: 40px;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.5;
  border-radius: 4px;
  margin: 1px 0;
}

.feature-list li span {
  background: var(--color-highlight);
  padding: 2px 4px;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.4rem;
}

.reason-image {
  text-align: center;
}

.reason-image img {
  max-width: 800px;
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* 専門家一覧 */
.experts {
  padding: 60px 0;
  background: var(--color-section-bg);
}

.expert-list {
  margin-top: 50px;
}

.expert-row {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.expert-row:last-child {
  margin-bottom: 0;
}

.expert-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 10px 10px 10px 5px;
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  width: 100%;
  justify-self: center;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.expert-header {
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  padding-left: 0;
}

.expert-logo {
  width: 60px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expert-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.recommended-tag {
  position: absolute;
  top: -25px;
  left: -5px;
  background: var(--color-primary);
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-card);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

/* オススメタグがついているカードのみ青の枠にする */
.expert-card.recommended {
  border: 2px solid var(--color-primary);
}



.expert-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  text-align: center;
  flex-shrink: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: calc(100% - 70px); /* ロゴの幅(60px) + gap(10px) */
  display: flex;
  align-items: center;
  min-height: 45px;
  word-break: keep-all;
  white-space: normal;
}

.expert-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 5px;
  line-height: 1.6;
  text-align: center;
  padding: 0 10px;
  flex-shrink: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}



.expert-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* アコーディオン */
.expert-accordion {
  margin-top: 30px;
  /* 展開時に「専門家一覧を閉じる」ボタンを一覧の一番下に置くため、
     order で描画順を入れ替える（閉じている間はcontentの高さが0なので位置は変わらない） */
  display: flex;
  flex-direction: column;
}

.accordion-toggle {
  width: 50%;
  background: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 8px 15px;
  border-radius: var(--radius-button);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.accordion-toggle:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

.accordion-text {
  font-size: 1.1rem;
}

.accordion-icon {
  transition: transform 0.3s;
}

.accordion-toggle.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  order: 0;
  margin-top: 0;
}

.accordion-content.active {
  max-height: none;
  overflow: visible;
  /* 展開した一覧とボタンの間隔 */
  margin-bottom: 30px;
}
.accordion-toggle {
  order: 1;
}


.action-btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  background: var(--color-btn-soft);
  color: white;
}

.action-btn:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}



/* お問合せフォーム */
.contact-form {
  padding: 60px 0;
  background: #ffffff;
  margin-top: 20px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e0e0e0;
  margin-top: 40px;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-button);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.cta-button.primary {
  background: var(--gradient-cta);
  color: white;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow-primary-strong);
}

.cta-button.secondary {
  background: var(--color-primary);
  color: white;
  border: 4px solid var(--color-primary);
  font-size: 1.3rem;
  padding: 18px 35px;
  box-shadow: 0 4px 12px var(--shadow-primary-weak);
}

.cta-button.secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-10px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

.cta-section {
  text-align: center;
  margin-top: 8px;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-cta);
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius-button);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  font-size: 1rem;
}

.floating-button:hover {
  transform: translateY(-3px);
  color: white;
}

.floating-button i {
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.copyright {
  color: #999;
  font-size: 0.9rem;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Ensure all elements fit within viewport */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Reset expert cards layout completely */
  .expert-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100% !important;
    min-width: 100%;
  }
  
  .expert-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
    margin: 0 0 20px 0;
    padding: 20px 15px;
    box-sizing: border-box;
    overflow: visible;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-width: 100%;
  }
  .nav-list {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 10px 15px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  
  .hero-title-small {
    font-size: 1.6rem;
  }
  
  .hero-title-main {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  .hero-banner {
    font-size: 0.82rem;
    letter-spacing: -0.02em;
    padding: 10px 20px;
    white-space: normal;
  }
  
  .reason-content {
    gap: 25px;
  }
  
  .support-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
  }
  
  .support-card {
    flex: 1 1 calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
    margin-bottom: 15px;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .support-card .card-title {
    font-size: 1.1rem;
  }
  
  .support-card .card-text {
    font-size: 1rem;
  }
  
  /* Expert cards are now handled above */
  
  .expert-name {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    word-break: keep-all;
    white-space: normal;
    text-align: center;
    width: 100%;
  }
  
  .expert-description {
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
    margin-bottom: 15px;
    width: 100% !important;
    max-height: 120px;
    overflow: hidden;
    flex-grow: 1;
    display: block;
    white-space: normal;
  }
  
  .challenge-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
  }
  
  .challenge-card {
    flex: 1 1 calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
    margin-bottom: 15px;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .challenge-card .card-title {
    font-size: 1.1rem;
  }
  
  .challenge-card .card-text {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .container {
    padding: 0 10px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  
  .experts .container {
    padding: 0 10px;
  }
  
  .floating-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .floating-button span {
    display: none;
  }
  
  .support-company-text {
    font-size: 2rem;
    padding: 20px 0 5px 0;
  }
  
  .feature-list li {
    font-size: 1.1rem;
    padding: 3px 4px;
  }
  
  .price-title {
    font-size: 1.5rem;
  }
  
  .price-text {
    font-size: 1rem;
  }
  
  .cta-button.secondary {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .hero-title-small {
    font-size: 1.4rem;
  }
  
  .hero-title-main {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .hero-banner {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
    padding: 8px 15px;
  }
  
  .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  
  .challenge-cards {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .challenge-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .challenge-card .card-title {
    font-size: 1rem;
  }
  
  .challenge-card .card-text {
    font-size: 0.9rem;
  }
  
  .support-cards {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .support-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .support-card .card-title {
    font-size: 1rem;
  }
  
  .support-card .card-text {
    font-size: 0.9rem;
  }
  
  /* Expert cards layout is handled in 768px media query */
  
  .expert-name {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 8px;
    word-break: keep-all;
    white-space: normal;
    text-align: center;
    width: 100%;
  }
  
  .expert-description {
    font-size: 0.8rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
    margin-bottom: 12px;
    width: 100% !important;
    max-height: 100px;
    overflow: hidden;
    flex-grow: 1;
    display: block;
    white-space: normal;
  }
  
  .support-company-text {
    font-size: 1.6rem;
    padding: 15px 0 5px 0;
  }
  
  .feature-list li {
    font-size: 1rem;
    padding: 2px 3px;
  }
  
  .price-title {
    font-size: 1.3rem;
  }
  
  .price-text {
    font-size: 0.9rem;
  }
  
  .cta-button.secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  
  .form-container {
    padding: 15px;
  }
  
  .container {
    padding: 0 8px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  
  .experts .container {
    padding: 0 8px;
  }
  
  .hero-content {
    padding: 5px 10px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.cta-button:focus,
.nav-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .floating-cta,
  .header {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .hero {
    min-height: auto;
    padding: 40px 0;
  }
}

/* =============================================================
   復活待ちセクション用CSS
   以下は index.php 内でコメントアウトされているセクションのスタイルです。
   復活させる場合は index.php 側のコメントアウトを解除し、
   img/planning-1.png および img/planning-3.png を配置してください。
   ============================================================= */

/* 「得られるもの」セクション (.benefits-section) */
.benefits-section {
  margin-bottom: 0;
  margin-top: 20px;
}

.benefits {
  padding: 5px 0;
  background: linear-gradient(135deg, #e1f5fe 0%, #e3f2fd 100%);
}

.benefits-image {
  text-align: center;
}

.benefits-image img {
  max-width: 800px;
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* 「サービス概要」セクション (.service-overview) */
.service-overview {
  padding: 60px 0;
  background: var(--color-section-bg-alt);
}

.service-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.service-text {
  flex: 1;
}

.service-text p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.service-image {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-card);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
    gap: 30px;
  }
}


/* ===== 採用デザイン: 反転ダーク紺橙 ===== */
/* concept: 反転ダーク紺橙 */
@charset "UTF-8";

/* =============================================================
   案B（対抗）: ヒーローの明暗を反転したダークネイビー基調。
   濃紺のヒーローに白文字、アクセントは士業サイト風のオレンジ。
   ロイヤルブルー #1f57ad を主色に、サムネイルでもひと目で別案と分かる。
   style.css の後に読み込む上書き専用（装飾プロパティのみ）。
   ============================================================= */
:root {
  --color-primary: #1f57ad;
  --color-primary-dark: #17427f;
  --color-accent: #ec7a08;                 /* オレンジ（装飾ラインのみ） */
  --gradient-cta: linear-gradient(135deg, #1f57ad, #143e7e);
  --color-hero-bg: #0e2244;                 /* ダークネイビー（反転） */
  --color-section-bg: #e8effb;              /* 明るいブルーラベンダー */
  --color-section-bg-alt: #f4f7fd;
  --color-icon-bg-from: #e5ecf8;
  --color-icon-bg-to: #fdeede;              /* ほのかなオレンジ寄り */
  --color-heading: #12203a;
  --color-text: #2a2f3a;
  --color-text-muted: #566072;
  --color-highlight: #dbe7fa;
  --color-support-accent: #a34e08;          /* 深いオレンジ（白地で可読） */
  --color-btn-soft: #2f66b5;
  --color-footer-bg: #0b1b38;
  --shadow-primary-weak: rgba(31,87,173,0.15);
  --shadow-primary: rgba(31,87,173,0.28);
  --shadow-primary-strong: rgba(31,87,173,0.34);
  --radius-card: 10px;
  --radius-button: 30px;
}

/* ダークヒーロー：文字を反転して白系に（AA確保） */
.hero-banner {
  color: #ffffff;
}
.hero-banner::after {
  background: var(--color-accent);          /* オレンジのアンダーライン */
}
.hero-title {
  color: #ffffff;
}
.hero-description {
  color: #d7e1f2;
}

/* オレンジのアクセント */
.section-title::after {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.support-card {
  border-left: 4px solid var(--color-accent);
}
.triangle-separator {
  border-top-color: var(--color-primary);
}

/* 陰影 */
.challenge-card {
  box-shadow: 0 8px 24px rgba(18,32,58,0.14), 0 2px 6px rgba(18,32,58,0.08);
}
.support-card {
  box-shadow: 0 10px 28px rgba(18,32,58,0.12);
}
.expert-card {
  border-color: #d5deee;
}

.copyright {
  color: #c3cede;
}

