@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;
  text-wrap: balance;
  line-break: strict;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 12px;
  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: 1rem;
    padding: 10px 20px;
    white-space: normal;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.7;
  }
  
  .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.9rem;
    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";
/* =============================================================
   案A｜情熱オレンジ × 上質クリーム（主参考: ref_1 UNIBIO）
   ビビッドなオレンジを主役に、濃紺で引き締めた高コントラスト。
   背景は生成りのクリームで余白を活かし、CTAが際立つ構成。
   ※ :root 変数の再定義と装飾プロパティの上書きのみ。
   ============================================================= */
:root {
  /* 主要カラー */
  --color-primary: #d1480b;        /* 情熱オレンジ（白文字AA適合） */
  --color-primary-dark: #a5380a;
  --color-accent: #1e3a5f;         /* 濃紺で引き締め */
  --gradient-cta: linear-gradient(135deg, #ea580c 0%, #1e3a5f 100%);
  /* 背景 */
  --color-hero-bg: #fdf3e7;        /* 生成りクリーム */
  --color-section-bg: #fff6ec;     /* ごく淡いオレンジクリーム */
  --color-section-bg-alt: #fbf2e8;
  --color-icon-bg-from: #ffe6d2;
  --color-icon-bg-to: #ffd6bd;
  /* テキスト */
  --color-heading: #211913;
  --color-text: #362b22;
  --color-text-muted: #5f5147;
  --color-highlight: #ffe1c2;      /* 温かなマーカー */
  --color-support-accent: #1e3a5f; /* 「支援します」＝濃紺 */
  /* パーツ */
  --color-btn-soft: #1e3a5f;       /* 専門家カードのボタン＝濃紺 */
  --color-footer-bg: #211913;
  /* 影（オレンジ由来） */
  --shadow-primary-weak: rgba(209,72,11,0.18);
  --shadow-primary: rgba(209,72,11,0.28);
  --shadow-primary-strong: rgba(209,72,11,0.34);
  /* 形状（曲線を強めて先進的に） */
  --radius-card: 22px;
  --radius-button: 40px;
}

/* ヒーロー：クリームに温かな曲線グラデーション */
.hero {
  background: linear-gradient(135deg, #fef7ee 0%, #fbe3ce 100%);
}

/* ヒーローのキャッチを上質な「ラベルチップ」に仕立てる。
   PC＝生成りクリームの帯として1行で成立させ（幅は流体フォントで自動調整）、
   SP＝折り返しても“意図した2行ラベル”に見えるよう装飾で整える。
   ※ 変更は装飾目的のプロパティのみ（レイアウト・クラス名は不変更）。 */
.hero-banner {
  background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,232,214,0.94) 100%);
  color: var(--color-accent);
  border: 1px solid rgba(209,72,11,0.22);
  border-radius: var(--radius-button);
  box-shadow: 0 10px 24px rgba(209,72,11,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
  /* PCで1行に収まるサイズに調整（従来の1.2remでは折り返してラベルが崩れていた） */
  font-size: clamp(0.9rem, 1.28vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  /* 帯を文字幅にフィットさせ、折り返す場合も揃った2行に見せる */
  width: fit-content;
  max-width: 100%;
  padding: 12px 24px;
  line-height: 1.55;
}
/* SPで折り返す際、文節の途中（「…ブランド／の越境EC…」）で切れないよう
   意味のまとまりごとにinline-block化して改行位置を固定する */
.hero-banner > span {
  display: inline-block;
}

/* セクション見出しの下線＝オレンジ→濃紺グラデ（自動反映） */

/* カードを丸みのある温かなトーンに */
.challenge-card {
  border: 1px solid #f4e0cf;
  box-shadow: 0 12px 30px rgba(209,72,11,0.12), 0 4px 8px rgba(30,58,95,0.08);
}
.challenge-card:hover {
  box-shadow: 0 22px 44px rgba(209,72,11,0.20);
}

.support-card {
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 12px 30px rgba(30,58,95,0.10);
}

/* 三角セパレーターはオレンジ（変数で自動） */

/* 専門家カード：濃紺ボタン→ホバーでオレンジ */
.expert-card {
  border: 1px solid #efe0d2;
}
.action-btn {
  background: var(--color-btn-soft);
  letter-spacing: 0.02em;
}
.action-btn:hover {
  background: var(--color-primary);
}

/* CTA：高コントラストで際立たせる */
.cta-button.secondary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 6px 16px var(--shadow-primary);
}
.floating-button {
  box-shadow: 0 12px 30px rgba(209,72,11,0.30);
}

/* フォーム枠を温かく */
.form-container {
  border: 1px solid #f0e0d1;
  box-shadow: 0 6px 20px rgba(209,72,11,0.08);
}

/* 「支援します」＝バンク名オレンジ／支援濃紺 */


/* =============================================================
   先進デザイン強化レイヤー（曲線・斜線・モーション）
   ─────────────────────────────────────────────
   ・ヒーロー見出しの「中途半端な改行」を font-size の流体化で解消
     （語の内部分断を止め、デスクトップ全幅で1行に収める）
   ・曲線／斜線／ゆるやかなモーションで“AIっぽさ”を排除
   ※ 追加しているのは装飾目的のプロパティのみ。
     レイアウト（display/position/flex/grid/width/height/margin/
     padding/メディアクエリの内容）とセレクタ・クラス名は不変更。
   ============================================================= */

/* --- トークン微調整：曲線を強め、CTAグラデを立体的に --- */
:root {
  --radius-card: 26px;
  --radius-button: 44px;
  --gradient-cta: linear-gradient(120deg, #ea580c 0%, #d1480b 50%, #1e3a5f 100%);
  --shadow-primary-weak: rgba(209,72,11,0.16);
  --shadow-primary: rgba(209,72,11,0.28);
  --shadow-primary-strong: rgba(209,72,11,0.38);
}

/* --- ヒーロー見出しの改行問題を解消（流体タイポ＋語の非分割） --- */
/* 「越境EC・海外モール」と「出品支援」が語の途中で折り返さないよう、
   white-space:nowrap で各語をひとかたまりに固定し、
   ビューポート幅に応じて font-size を滑らかに縮小して常に整った1行に収める。
   さらに「出品支援」には曲線的なマーカー装飾を添えて視認性とデザイン性を両立。 */
.hero-title-main {
  font-size: clamp(1.45rem, 3vw, 2.9rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hero-title-suffix {
  font-size: clamp(1rem, 2.05vw, 1.8rem);
  white-space: nowrap;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(transparent 58%, rgba(209,72,11,0.22) 58%, rgba(209,72,11,0.22) 92%, transparent 92%);
  border-radius: 3px;
}

/* --- ヒーロー：PC最適化。実験的な楕円カット／オーロラ動作を廃し、
   上質クリームの落ち着いた一枚背景として整える（PC・SP共通で端正に） --- */
.hero {
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(242,105,31,0.12) 0%, rgba(242,105,31,0) 52%),
    linear-gradient(135deg, #fef7ee 0%, #fbe6d3 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ヒーロー画像：PC最適化。回転・浮遊するブロブ形状を廃し、
   角丸の一枚絵として上品に据える（企業LPにふさわしい端正さ） */
.hero-image img {
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px -20px rgba(30,58,95,0.30), 0 6px 16px rgba(209,72,11,0.12);
}

/* ヒーロー・テキストの登場モーション（初期状態は不透明のまま＝JS/構造非依存） */
.hero-banner      { animation: fadeUp 0.8s ease both; }
.hero-title       { animation: fadeUp 0.8s 0.1s ease both; }
.hero-description  { animation: fadeUp 0.8s 0.2s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 塗りのラベルチップに変更したため、旧デザインの下線バーは非表示にする
   （帯の内側に線が走って位置ズレに見えていた指摘への対応） */
.hero-banner::after {
  display: none;
}

/* セクション見出しの下線をグラデ＋丸く */
.section-title::after {
  background: var(--gradient-cta);
  border-radius: 6px;
  box-shadow: 0 4px 12px var(--shadow-primary-weak);
}

/* 「支援します」左右の飾り線を斜めグラデに（斜線） */
.support-company-text::before,
.support-company-text::after {
  background: var(--gradient-cta);
  border-radius: 3px;
}

/* 下向き三角セパレーターを、視線を誘う“動き”に */
.triangle-separator {
  filter: drop-shadow(0 10px 14px var(--shadow-primary));
  animation: triBob 3.2s ease-in-out infinite;
}
@keyframes triBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* カード：滑らかなイージングと立体的な浮き上がり */
.challenge-card,
.support-card,
.expert-card,
.form-container {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.45s ease, border-color 0.45s ease;
}
.challenge-card:hover,
.support-card:hover {
  transform: translateY(-10px);
}
.expert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 50px -20px rgba(30,58,95,0.35);
}

/* CTA：ゆるやかに流れるグラデ（大きな太字＝WCAG AA大文字基準を確保） */
.cta-button.secondary {
  background: var(--gradient-cta);
  background-size: 200% 100%;
  border-color: transparent;
  box-shadow: 0 10px 24px var(--shadow-primary);
  animation: ctaShine 6s ease infinite;
}
.cta-button.secondary:hover {
  background: var(--gradient-cta);
  background-size: 200% 100%;
  transform: translateY(-6px);
  box-shadow: 0 16px 34px var(--shadow-primary-strong);
}
@keyframes ctaShine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* フローティングCTA：流れるグラデ＋やわらかな鼓動 */
.floating-button {
  background: var(--gradient-cta);
  background-size: 200% 100%;
  box-shadow: 0 14px 30px rgba(209,72,11,0.34);
  animation: ctaShine 6s ease infinite, floatPulse 2.8s ease-in-out infinite;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(209,72,11,0.34); }
  50%      { box-shadow: 0 18px 40px rgba(209,72,11,0.50); }
}

/* アクセシビリティ：モーション削減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-image img,
  .hero-banner,
  .hero-title,
  .hero-description,
  .triangle-separator,
  .cta-button.secondary,
  .floating-button {
    animation: none;
  }
}

/* =============================================================
   曲線強化レイヤー（カーブ・ブロブ・波形）＋スクロール・フェードイン
   ─────────────────────────────────────────────
   ・全体を「曲線基調」に振り切る：角丸トークンを拡大し、
     セクション・カード・画像・ボタンにやわらかな曲線を付与。
   ・セクション間を大きな丸みでつなぎ、有機的なブロブ／波形の
     背景装飾を重ねて“流れるような”印象に。
   ・data-reveal 属性（JSが実行時に付与）に対して、スクロールで
     ふわっと現れるフェードイン・モーションを定義。
   ※ 追加しているのは装飾目的のプロパティのみ。
     レイアウト（display/position/flex/grid/width/height/margin/
     padding/メディアクエリの内容）とセレクタ・クラス名は不変更。
   ============================================================= */

/* --- トークン：曲線をさらに強調 --- */
:root {
  --radius-card: 32px;
  --radius-button: 50px;
}

/* --- セクションを大きな丸みでやわらかくつなぐ --- */
.challenges-section,
.support-content,
.why-choose,
.experts,
.contact-form {
  border-top-left-radius: clamp(32px, 6vw, 72px);
  border-top-right-radius: clamp(32px, 6vw, 72px);
  border-bottom-left-radius: clamp(32px, 6vw, 72px);
  border-bottom-right-radius: clamp(32px, 6vw, 72px);
}

/* 色付きセクションに、ふんわりした曲線グラデーションのオーラを重ねる */
.support-content {
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(242,105,31,0.10) 0%, rgba(242,105,31,0) 55%),
    radial-gradient(80% 60% at 100% 100%, rgba(30,58,95,0.08) 0%, rgba(30,58,95,0) 55%),
    var(--color-section-bg);
}
.experts {
  background:
    radial-gradient(85% 65% at 100% 0%, rgba(242,105,31,0.10) 0%, rgba(242,105,31,0) 55%),
    radial-gradient(75% 60% at 0% 100%, rgba(30,58,95,0.07) 0%, rgba(30,58,95,0) 55%),
    var(--color-section-bg);
}

/* --- ヒーロー画像：有機的なブロブ曲線で先進的に --- */
.hero-image img {
  border-radius: 46% 54% 57% 43% / 52% 45% 55% 48%;
  box-shadow: 0 30px 60px -24px rgba(30,58,95,0.34), 0 8px 20px rgba(209,72,11,0.14);
}

/* --- カード：角丸を強め、内側に淡いハイライトを添える --- */
.challenge-card,
.support-card,
.expert-card {
  border-radius: var(--radius-card);
}
.challenge-card {
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255,236,220,0.55) 0%, rgba(255,236,220,0) 60%),
    #fff;
}

/* --- 三角セパレーターを、やわらかな“しずく型”の曲線に --- */
.triangle-separator {
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 60% 60%;
  filter: drop-shadow(0 12px 16px var(--shadow-primary));
}

/* --- アコーディオン・トグル／ボタン類の曲線を統一 --- */
.action-btn {
  border-radius: var(--radius-button);
}
.form-container {
  border-radius: var(--radius-card);
}

/* --- セクション見出しの下線を、より丸くやわらかく --- */
.section-title::after {
  border-radius: 999px;
  height: 4px;
}

/* =============================================================
   スクロール・フェードイン（data-reveal はJSが実行時に付与）
   JSが無効／未実行でも要素は必ず表示される安全設計。
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal="in"] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal="in"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

