/* 
* 1分で伝わる製品説明動画サービス LP
* 統一スタイルシート Part 1
*/

/* ===== 基本設定 ===== */
:root {
  /* メインカラー */
  --primary: #04ab96;        /* プライマリー：ティール */
  --primary-dark: #038675;   /* プライマリーダーク */
  --primary-light: #e6f7f5;  /* プライマリーライト */
  
  /* アクセントカラー */
  --accent: #fef000;         /* アクセント：イエロー */
  --accent-dark: #e6d900;    /* アクセントダーク */
  
  /* ニュートラルカラー */
  --dark: #0D0D0D;           /* 黒色テキスト */
  --light: #F2F2F2;          /* 白色テキスト */
  --white: #FFF;          /* 白色 */
  --light-gray: #f8f9fa;     /* 薄いグレーの背景 */
  --mid-gray: #EBEBEB;       /* 中間グレー */
  --divider: #E0E0E0;        /* 境界線の色 */
  
  /* 状態色 */
  --success: #27ae60;        /* 成功 */
  --danger: #e74c3c;         /* エラー・警告 */
  
  /* フォント設定 */
  --font-main: "Yu Gothic", 游ゴシック, YuGothic, 游ゴシック体, "Zen Kaku Gothic New", "ヒラギノ角ゴ Pro W3", メイリオ, sans-serif;
  
  /* スペーシング */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 80px;
  
  /* 角丸 */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* トランジション */
  --transition: all 0.3s ease;
}

/* CTAボタンの色変更 */
.btn-primary, .hero-cta, .header-cta, .footer-cta-button, .mobile-cta a {
  background-color: #eb6100 !important;
  color: #fff !important;
  border-color: #eb6100 !important;
}

.btn-primary:hover, .hero-cta:hover, .header-cta:hover, .footer-cta-button:hover, .mobile-cta a:hover {
  background-color: #d45600 !important; /* ホバー時は少し暗めの色に */
  box-shadow: 0 5px 15px rgba(235, 97, 0, 0.3) !important;
  border-color: #d45600 !important;
}


/* リセットと基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-xl) 0;
  padding-top: 60px; /* 英語タイトルが展開できるように上部余白を確保 */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== 共通コンポーネント ===== */

/* セクションタイトル */
.section-title,
.section-title-alt {
  text-align: center;
}

.section-title h2,
.section-title-alt h2 {
  position: relative;
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  padding-bottom: 20px; /* 下線を削除した代わりに下部のパディングを追加 */
  margin-bottom: 20px; /* タイトルとコンテンツの間に適切な間隔を設定 */
  display: inline-block;
}

.section-title h2::after,
.section-title-alt h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

/* 白背景セクション向けタイトル */
.section-title-alt.light h2, 
.section-title.light h2 {
  color: var(--light);
}

.section-title-alt.light h2::after, 
.section-title.light h2::after {
  background-color: var(--light);
}

/* サブタイトル */
.subtitle, .problems-subtitle {
  text-align: center;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}
/* 英語サブタイトルのベーススタイル */
.problems-subtitle {
  display: block;
  position: relative;
  text-transform: uppercase;
  font-size: 110px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: -50px;
  text-align: center;
  z-index: 1;
  line-height: 1;
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
  font-family: "Anton", sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
}


/* 下線装飾 */
.divider, .problems-divider {
  width: 80px;
  height: 1px;
  background-color: var(--primary);
  margin: 0 auto var(--spacing-md);
}

/* サブコピーのスタイル */
.subheading {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #666;
  margin-top: 5px;
}

/* after禁止用のスタイル上書き */
.section-title h2::after,
.section-title-alt h2::after {
  display: none; /* 下線を非表示に */
}

/* セクションタイトルのz-index調整 */
.section-title,
.section-title-alt {
  position: relative;
  z-index: 2;
}

/* 下線装飾の削除 */
.problems-divider {
  display: none;
}


/* ★背景色に応じた文字色の設定★ */
/* 白背景用（薄いグレー文字） */
.use-cases .problems-subtitle,
.pricing .problems-subtitle,
.faq .problems-subtitle {
  color: #f2f2f2;
  text-shadow: none;
  -webkit-text-stroke: none;
}

/* 濃い背景用（濃いグレー文字） */
.storyboard-strength .problems-subtitle {
  color: #292929;
  text-shadow: none;
  -webkit-text-stroke: none;
}

/* カラー背景用（白文字） */
.problems .problems-subtitle,
.benefits .problems-subtitle,
.production-flow .problems-subtitle,
.cases .problems-subtitle,
.comparison .problems-subtitle {
  color: #FFFFFF;
  text-shadow: none;
  -webkit-text-stroke: none;
}

/* セクションタイトルのカスタムスタイル */
.section-title h2,
.section-title-alt h2 {
  position: relative;
  font-size: 32px;
  font-weight: 800;
  padding-bottom: 0; /* after要素用のパディングを削除 */
}

/* after禁止用のスタイル上書き */
.section-title h2::after,
.section-title-alt h2::after {
  display: none; /* 下線を非表示に */
}

/* 英語サブタイトルのスタイル変更 */
.problems-subtitle {
  display: block;
  position: relative;
  text-transform: uppercase;
  font-size: 100px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(240, 240, 240, 0.6);
  margin-bottom: -40px; /* ネガティブマージンでタイトルを重ねる */
  text-align: center;
  z-index: 1;
  line-height: 1;
}

/* セクションタイトルのz-index調整 */
.section-title,
.section-title-alt {
  position: relative;
  z-index: 2;
}

/* 下線装飾の削除 */
.problems-divider {
  display: none;
}/* 斜めの要素を追加するカスタムCSS */

/* 斜めの要素の基本スタイル */
.hero-slant {
  position: absolute;
  bottom: -140px; /* 尾切れがないように上に移動 */
  left: 0;
  width: 120%; /* 100%より大きくしてギリギリの切れ目を避ける */
  height: 150px;
  background: var(--light); /* 次のセクションの背景色と同じに設定 */
  transform: skewY(-5deg); /* もう少し急な斜めに調整 */
  transform-origin: left bottom; /* 左下からの変形に変更 */
  z-index: 2;
}

/* ヒーローセクションの調整
.hero {
  padding: 120px 0 180px; /* 下部のパディングをさらに増やして斜め要素の位置を下げる
  margin-bottom: 0; /* 不要なマージンを削除
  position: relative;
  overflow: hidden;
} */

/* 課題セクションの調整 */
.problems {
  padding-top: 50px; /* パディングを減らし、斜め要素が下がった分を調整 */
  position: relative;
  z-index: 1;
  margin-top: 0; /* マージンを削除して隙間をなくす */
}
/* ───────────────────────────── */
/* ●storyboard-strength セクション上部：右下がり斜め切り込み */
/* ───────────────────────────── */
.strength-slant-reverse {
  position: relative;
  width: 100%;
  height: 80px;
  background-color: #000;
  /* 左右反転した斜め切り込み */
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  margin-bottom: -1px;
}

/* 後続セクションを上へ少し持ち上げたい場合 */
.storyboard-strength {
  margin-top: -1px;
}



/* 白背景セクション */
.section-white {
  background-color: #FFFFFF;
}

/* グレー背景セクション */
.section-gray {
  background-color: var(--light-gray);
}

/* ダーク背景セクション */
.section-dark {
  background-color: var(--dark);
  color: var(--light);
}

/* ボタン共通スタイル */
.btn, .hero-cta, .hero-cta-secondary, .header-cta, .header-cta-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

/* プライマリーボタン */
.btn-primary, .hero-cta, .header-cta {
  background-color: var(--primary);
  color: var(--light);
}

.btn-primary:hover, .hero-cta:hover, .header-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(4, 171, 150, 0.3);
}

/* セカンダリーボタン */
.btn-secondary, .hero-cta-secondary, .header-cta-secondary {
  background-color: var(--accent);
  color: var(--dark);
  border: 1px solid var(--accent);
}

.btn-secondary:hover, .hero-cta-secondary:hover, .header-cta-secondary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(254, 240, 0, 0.3);
}

/* ヘッダー向けCTAボタン調整 */
.header-cta, .header-cta-secondary {
  padding: 8px 15px;
  font-size: 14px;
}

/* アウトラインボタン */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--light);
}




/* チェックポイント */
.check-point, .hero-point {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.check-point::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

/* カードの共通スタイル */
.card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ===== ヘッダー ===== */
header {
  padding: 8px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--light);
}

.header-cta-group {
  display: flex;
  gap: 15px;
}

/* ヘッダー全体 */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ部分 */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001; /* ロゴを最前面に表示 */
  position: relative; /* z-indexを有効にする */
}

.company-logo-header {
  height: 34px;
  width: auto;
  display: block !important; /* 強制的に表示 */
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* ナビゲーション部分 */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-right: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

/* 電話番号部分 */
.phone-container {
  display: flex;
  align-items: center;
  border-radius: 50px;
  padding: 8px 15px;
  /*margin-left: 200px;*/
}

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.phone-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.phone-content {
  display: flex;
  flex-direction: column;
}

.phone-number {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}

.contact-time {
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  line-height: 1;
}

/* CTA部分 */
.header-cta-group {
  display: flex;
  gap: 20px;
}

.header-cta {
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
}

.header-cta:hover {
  background-color: var(--primary-dark);
}

.header-cta-secondary {
  display: inline-block;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* モバイルサポート */
.hamburger-menu {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
  margin-left: auto; /* 右寄せに設定 */
}

.hamburger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
  top: 0px;
}

.hamburger-menu span:nth-child(2) {
  top: 10px;
}

.hamburger-menu span:nth-child(3) {
  top: 20px;
}

.hamburger-menu.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger-menu.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* モバイルナビゲーション */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.9); /* 透過度を持たせる */
  backdrop-filter: blur(8px); /* 背景のぼかし効果 */
  -webkit-backdrop-filter: blur(8px); /* Safari用 */
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 999; /* ロゴより下に表示 */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding-top: 70px; /* ヘッダーの高さ分の余白 */
  box-sizing: border-box;
  padding-left: 20px; /* 左右の余白を追加 */
  padding-right: 20px; /* 左右の余白を追加 */
}

.mobile-nav.active {
  height: 100vh;
  overflow-y: auto;
}

.mobile-nav-menu {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.mobile-nav-menu li {
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 10px;
  transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
  color: var(--primary);
}

/* モバイル用のCTAボタン */
.mobile-cta a {
  background-color: var(--primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 20px !important;
  text-align: center;
  margin: 10px 0;
}

.mobile-cta-secondary a {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 20px !important;
  text-align: center;
  margin: 10px 0;
}
.mobile-cta a,
.mobile-cta-secondary a {
  display: block !important;
  width: 100% !important; /* 幅を100%に設定 */
  text-align: center !important;
  box-sizing: border-box !important;
}

/* モバイル用の電話番号 */
.mobile-phone {
  display: none;
  margin: 0 20px 0;
  text-align: center;
}

.mobile-phone .contact-info {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: 8px 15px;
  margin: 0 auto;
}

.mobile-phone .phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.mobile-phone .phone-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.mobile-phone .phone-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mobile-phone .phone-number {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 5px;
}

.mobile-phone .contact-time {
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
  line-height: 1;
}

/* モバイルメニュー内のリンクスタイル統一 */
.mobile-nav-menu li a,
.mobile-cta a,
.mobile-cta-secondary a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 15px !important;
  text-align: center !important;
  border-radius: 4px !important;
}

/* CTAボタン用のリスト項目のボーダーを削除 */
.mobile-nav-menu li.mobile-cta,
.mobile-nav-menu li.mobile-cta-secondary {
  border-bottom: none !important; /* 下のボーダーを削除 */
}

/* 相談・見積もりボタン
.mobile-nav-menu li.mobile-cta a {
  background-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin-top: 15px !important;
} */

/* 資料ダウンロードボタン - 黄色に変更 */
.mobile-nav-menu li.mobile-cta-secondary a {
  background-color: var(--accent) !important; /* 黄色背景に変更 */
  border: 1px solid var(--accent) !important;
  color: var(--dark) !important; /* 文字色を暗めに */
  font-weight: 600 !important;
  margin-top: 10px !important;
}

/* CTAボタンの幅統一 */
.hero-cta,
.hero-cta-secondary,
.header-cta,
.header-cta-secondary,
.footer-cta-button,
.footer-cta-secondary {
  display: inline-block;
  text-align: center;
}




/* ===== ヒーローセクション ===== */
.hero {
  padding: 100px 0 180px; /* 下部のパディングを増やして斜めの空間を確保 */
  position: relative;
  overflow: hidden;
  background-image: url('../img/fv-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 13, 13, 0.8);
  z-index: 1;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3; /* 斜めの要素よりも上に配置 */
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-tagline {
  display: inline-block;
  background-color: var(--primary);
  color: var(--light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-right: 12px;
  }

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--light);
  line-height: 1.3;
  margin-bottom: 15px;
}

.hero-title .hero-highlight {
  /* Option A: ソリッドイエロー */
  /* color: #FDD835; */

  /* Option B: イエロー系グラデーション（推奨） */
  background: linear-gradient(45deg, #FFD54F 0%, #ffe46c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.hero-subtitle {
  font-size: 18px;
  color: var(--light);
  margin-bottom: 25px;
  font-weight: 500;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-point {
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--light);
}

.hero-point-icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
}

.hero-point-icon::before {
  content: "\2713";
  color: var(--light);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.hero-video {
  flex: 1;
  max-width: 550px;
  position: relative;
  z-index: 2;
}

.hero::before {
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
}

@media (max-width: 992px) {
  .hero-text, .hero-video {
    max-width: 100%;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-video {
    width: 100%;
  }
  .problems-subtitle {
    font-size: 90px;
    margin-bottom: -40px;
  }
}

/* 202509 制作実績セクション 追記 */
/* 基本はproblemを踏襲 */

.dec-11 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
    span {
        padding-bottom: 3px;
        border-bottom: 2px solid #3CA694;
    }
}

.dec-12 {
  font-size: 18px;
  font-weight: 600;
  color: #3CA694;
  margin-bottom: 2px;
  line-height: 1.4;
    span {
        border-bottom: 2px solid #3CA694;
    }
}
.dec-13 {
  font-size: 14px;
  color: var(--dark);
  opacity: 0.7;
  line-height: 1.6;
}

/* セクションの間隔調整 */
.problems {
  padding-top: 80px; /* 斜め要素を考慮した間隔調整 */
  background-color: var(--light);
  position: relative;
  z-index: 1;
}

.problem-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
}

.problem-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px rgba(13, 13, 13, 0.05);
  padding: 0;
  overflow: hidden;
  width: calc(33.333% - 20px);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.problem-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 60px;
  font-weight: 800;
  color: rgba(4, 171, 150, 0.1);
  line-height: 1;
}

.problem-image {
  height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.problem-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.problem-content {
  padding: 25px;
}

.problem-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.problem-detail {
  font-size: 14px;
  color: var(--dark);
  opacity: 0.7;
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-cta-group {
    width: 100%;
    justify-content: center;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-video {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .problem-item {
    width: 100%;
  }
  .problems-subtitle {
  font-size: 70px;
  margin-bottom: -30px;
  opacity: 0.9;
  }
  .hero {
    padding: 30px 0 140px 0; /* モバイルでの下部パディング調整 */
  }
  .hero-slant {
    height: 60px; /* モバイルでの斜め要素の高さ調整 */
    bottom: -40px;
    transform: skewY(-6deg); /* より急な斜めに調整 */
  }
  .problems {
    padding-top: 30px; /* モバイルでの上部パディング調整 */
  }

}

/* 新しいユースケースレイアウト用CSS */
.use-case-layout {
  display: flex;
  background-color: #FFFFFF;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(13, 13, 13, 0.05);
}

.use-case-icon-container {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: #F8F9FA;
}

.use-case-image-container {
  width: 60%;
  overflow: hidden;
}

.use-case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.use-case-icon {
  width: 80px;
  height: 80px;
  /* アイコンのスタイルは後で追加 */
}


/* 既存カードのスタイル調整 */
.use-case-card {
  margin-bottom: 30px;
  box-shadow: none;
}

.use-case-content {
  padding: 25px;
  background-color: #FFFFFF;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 5px 15px rgba(13, 13, 13, 0.05);
}

/* 事例セクション用の追加CSS */
.case-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px rgba(13, 13, 13, 0.05);
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.case-video {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9のアスペクト比 */
  height: 0;
  overflow: hidden;
}

.case-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.case-content {
  padding: 25px;
}

.case-company {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.case-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 15px;
}

.case-highlight {
  margin-top: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--divider);
}

.highlight-text {
  font-size: 16px;
  line-height: 1.5;
}

.yellow-marker {
  background-color: rgba(254, 240, 0, 0.4);
  padding: 2px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .case-card {
      flex-direction: column;
  }
  
  .case-video, .case-content {
      width: 100%;
  }
}

/* 料金プランセクション用の修正CSS */
.pricing {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.pricing-wrapper {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 auto 30px;
  width: 100%;
  max-width: 800px; /* 最大幅を800pxに制限 */
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  background-color: var(--primary);
  text-align: center;
}

.pricing-plan-name {
  display: flex;
  align-items: center;
  color: #fff; /* 追加: 文字色を白に */
}

.plan-label {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pricing-amount {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

.plan-features-container {
  display: flex;
  padding: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-features-column {
  flex: 1;
  padding: 0 15px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.plan-feature:last-child {
  margin-bottom: 0;
}

.feature-check {
  color: var(--primary);
  font-weight: bold;
  margin-right: 10px;
  display: inline-block;
  min-width: 20px;
  font-size: 18px;
}

.plan-feature.note {
  color: var(--dark);
  opacity: 0.7;
  font-size: 14px;
}

.plan-feature.note .feature-check {
  display: none;
}

.pricing-note {
  text-align: center;
  font-size: 18px;
  color: var(--dark);
  margin-top: 20px;
}

/* ユニークなIDを持つノートスタイル(comparison-strengthスタイル) */
.flow-note-special {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 40px;
}

.flow-note-special strong {
  color: var(--primary);
}



/* YouTubeプレーヤーのスタイル */
#player {
  width: 100%;
  height: 100%; /* 親要素に合わせて100%に変更 */
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%; /* 16:9のアスペクト比に戻す */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background-color: #000; /* 背景を黒に */
}

.video-thumbnail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* YouTubeプレーヤーをカスタマイズするスタイル */
.hero-video {
  position: relative;
}

.hero-video:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  z-index: 10;
}

/* YouTubeのロゴやコントロールを非表示にするスタイル */
.ytp-chrome-top,
.ytp-show-cards-title,
.ytp-watermark,
.ytp-pause-overlay,
.ytp-youtube-button,
.ytp-title-channel,
.ytp-title,
.ytp-modestbranding,
.ytp-gradient-top,
.ytp-gradient-bottom,
.ytp-chrome-bottom,
.ytp-large-play-button,
.ytp-iv-player-content,
.video-annotations,
.ytp-ce-element,
.ytp-ce-covering-overlay,
.ytp-ce-element-shadow,
.ytp-ce-covering-image,
.ytp-ce-expanding-image,
.ytp-ce-element.ytp-ce-channel.ytp-ce-channel-this,
.ytp-ce-element.ytp-ce-video.ytp-ce-element-show {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ヒーローセクションのiframeにのみクリック無効化を適用 */
.hero iframe, .video-thumbnail iframe {
  pointer-events: none; /* クリック操作を無効化 */
}

/* 実績セクションのiframeは操作可能にする */
.case-video iframe {
  pointer-events: auto !important; /* クリック操作を有効化（上書き） */
}

/* カスタムYouTubeプレーヤーのスタイル */
.youtube-player-custom {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.youtube-player-custom iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pricing-header {
      flex-direction: column;
      gap: 15px;
  }
  
  .plan-features-container {
      flex-direction: column;
  }
  
  .plan-features-column:first-child {
      border-right: none;
      margin-bottom: 20px;
  }
  .flow-note-special {
    font-size: 18px;
  }
}

/* レスポンシブ対応 - スマホ用改行 */
@media (max-width: 768px) {
  /* 共通のタイトルに自動改行を追加 */
  .section-title h2::after,
  .section-title-alt h2::after {
    clear: both;
  }
  
  /* 個別のセクションタイトルに改行を追加 */
  .problems .section-title-alt h2 .sp-break,
  .benefits .section-title-alt h2 .sp-break,
  .storyboard-strength .section-title-alt h2 .sp-break,
  .production-flow .section-title h2 .sp-break,
  .use-cases .section-title h2 .sp-break,
  .cases .section-title h2 .sp-break,
  .pricing .section-title h2 .sp-break,
  .comparison .section-title h2 .sp-break,
  .faq .section-title h2 .sp-break {
    display: block;
    margin-top: 5px;
  }
  
  /* 不要な下線を削除 - 改行を入れた場合 */
  .section-title h2.sp-break-title::after,
  .section-title-alt h2.sp-break-title::after {
    display: none;
  }
  
  /* 品質の高い改行のための調整 */
  .section-title h2.sp-break-title,
  .section-title-alt h2.sp-break-title {
    line-height: 1.4;
  }
  
  /* スマホ時のヒーロータイトルの改行調整 */
  .hero-title br {
    display: inline;
  }
  
  .hero-title .sp-break {
    display: block;
  }
  
  /* サブヘッディングの位置調整 */
  .subheading {
    display: block;
    font-size: 16px;
    margin-top: 3px;
  }
  .section-title h2,
  .section-title-alt h2 {
    font-size: 26px;
  }
}
/* モバイル対応の調整 */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-cta-group {
    width: 100%;
    justify-content: center;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-video {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .problem-item {
    width: 100%;
  }
  
  /* モバイル時の斜め要素調整 */
  .hero-slant {
    height: 100px;
    bottom: -55px;
  }
  
  .hero {
    padding-bottom: 70px;
  }
  
  .problems {
    padding-top: 50px;
  }
}

@media (max-width: 576px) {
  .section-title h2,
  .section-title-alt h2 {
    font-size: 28px;
  }
  .subheading {
    font-size: 14px;
    margin-top: 2px;
  }
  .problems-subtitle {
  font-size: 70px;
  margin-bottom: -20px;
  }
}

/* ヘッダー レスポンシブ対応 */
@media (max-width: 1024px) {
  .header-container {
    position: relative;
    flex-direction: row !important; /* style.cssを上書き */
  }
  
  .header-nav {
    display: none;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .header-cta-group {
    display: none;
  }
  
  .mobile-phone {
    display: block;
  }
  
  /* ロゴの表示を強制 */
  .company-logo-header {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 0;
    flex-direction: row !important; /* style.cssを上書き */
    gap: 0 !important; /* style.cssを上書き */
  }
  
  .company-logo-header {
    height: 30px;
    display: block !important;
  }
  
  .logo-text {
    font-size: 16px;
    display: none; /* スマホでロゴテキストを非表示 */
  }
  
  /* ハンバーガーメニューの位置調整 */
  .hamburger-menu {
    margin-right: 0;
    z-index: 1001;
  }
  
  /* モバイルナビの余白調整 */
  .mobile-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .mobile-nav-menu {
    margin: 0;
  }
  
  /* スクロール時のヘッダー効果（スマホのみ） */
  header.scrolled {
  background-color: transparent !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
}

@media (max-width: 576px) {
  .header-container {
    padding: 10px 0;
  }
  
  .company-logo-header {
    height: 24px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .phone-container {
    padding: 6px 12px;
  }
  
  .phone-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .phone-number {
    font-size: 16px;
  }
  
  .contact-time {
    font-size: 10px;
  }
}

/* スマホ表示時のCTAボタン */
@media (max-width: 768px) {
  /* CTAボタンのスタイル統一 */
  .hero-cta, 
  .hero-cta-secondary,
  .header-cta,
  .header-cta-secondary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
  }
  
  /* CTAグループを縦並びに */
  .hero-cta-group,
  .header-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  /* モバイルメニュー内のリンク位置調整 */
  .mobile-nav-menu li a {
    padding: 15px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* hero-content内の要素を縦並びに */
  .hero-content {
    flex-direction: column;
  }
  
  /* hero-textを幅100%に */
  .hero-text {
    max-width: 100%;
    width: 100%;
  }
  
  /* h1の下に移動したhero-videoのスタイル */
  .hero-text .hero-video {
    width: 100%;
    margin: 20px 0;
    order: 1;
  }
  
  /* hero-subtitleはvideo下に */
  .hero-subtitle {
    order: 2;
  }
  
  /* hero-pointsはsubtitle下に */
  .hero-points {
    order: 3;
  }
  
  /* CTAはpoints下に */
  .hero-cta-group {
    order: 4;
    margin-top: 20px;
    padding: 0 30px;
    width: 100% !important;
  }
  
  /* YouTubeプレーヤーのスタイル調整 */
  #player, .youtube-player-custom {
    display: block !important;
    visibility: visible !important;
  }
  
  .video-thumbnail {
    display: block !important;
    position: relative;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
  }
  
  /* ヒーローポイントを左揃えに */
  .hero-point {
    justify-content: flex-start;
  }
  
  /* ヘッダーコンテナの調整 */
  .header-container {
    flex-direction: row !important;
    gap: 0 !important;
  }
  
  /* ロゴを必ず表示 */
  .company-logo-header {
    display: block !important;
    height: 30px !important;
  }
  
  /* ハンバーガーメニューを右辺に */
  .hamburger-menu {
    margin-left: auto !important;
    z-index: 1001 !important;
  }
  
  /* スマホ表示時の絵コンテサンプル画像を横並び表示 - 修正版 */
  .storyboard-samples {
    text-align: center !important;
    margin: 40px 0 !important;
  }
  
  .storyboard-sample-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 10px !important;
  }
  
  .storyboard-sample {
    width: calc(50% - 5px) !important;
    max-width: 180px !important;
    flex: 0 0 auto !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  
  .storyboard-sample img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }
  
  /* スマホでは3つ目の画像を非表示にする */
  .storyboard-sample-container .storyboard-sample:nth-child(3) {
    display: none !important;
  }

  /* モバイルCTAボタンの色 */
  .mobile-cta a {
    background-color: #eb6100 !important;
    color: #fff !important;
    border-color: #eb6100 !important;
  }
  
  .mobile-cta a:hover {
    background-color: #d45600 !important;
    border-color: #d45600 !important;
  }
}

/* フッターCTAボタン調整 */
@media (max-width: 768px) {
  .footer-cta-button,
  .footer-cta-secondary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-bottom: 15px !important;
  }
  
  .footer-cta-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
}

/* 追加のCTAボタン調整 */
@media (max-width: 768px) {
  a[href="#contact"].header-cta,
  a[href="#"].header-cta-secondary,
  a[href="#contact"].footer-cta-button,
  a[href="#"].footer-cta-secondary,
  .mobile-cta a,
  .mobile-cta-secondary a {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-cta,
  .hero-cta-secondary,
  .footer-cta-button,
  .footer-cta-secondary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }
  
  .hero-cta-group,
  .footer-cta-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  
  /* 電話バナーのスタイル調整 */
  .mobile-phone .contact-info {
    max-width: 300px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}

/* スタイルが当たらないCTAボタンへの追加修正 */
a[href="#contact"],
a[href="#"] {
  text-align: center;
}

@media (max-width: 768px) {
  a[href="#contact"],
  a[href="#"] {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* sp-onlyクラスのスマホ/PC表示切り替え */
.sp-only {
  display: none; /* PCでは非表示 */
}

@media (max-width: 768px) {
  .sp-only {
    display: inline; /* スマホでは表示 */
  }
  
  /* 個別のセクションタイトルに改行を追加 */
  .problems .section-title-alt h2 .sp-break,
  .benefits .section-title-alt h2 .sp-break,
  .storyboard-strength .section-title-alt h2 .sp-break,
  .production-flow .section-title h2 .sp-break,
  .use-cases .section-title h2 .sp-break,
  .cases .section-title h2 .sp-break,
  .pricing .section-title h2 .sp-break,
  .comparison .section-title h2 .sp-break,
  .faq .section-title h2 .sp-break {
    display: block;
    margin-top: 5px;
    line-height: 1;
  }
  
  /* 不要な下線を削除 - 改行を入れた場合 */
  .section-title h2.sp-break-title::after,
  .section-title-alt h2.sp-break-title::after {
    display: none;
  }
  
  /* 品質の高い改行のための調整 */
  .section-title h2.sp-break-title,
  .section-title-alt h2.sp-break-title {
    line-height: 1.4;
  }
  
  /* スマホ時のヒーロータイトルの改行調整 */
  .hero-title br {
    display: inline;
  }
  
  .hero-title .sp-break {
    display: block;
  }
  
  /* サブヘッディングの位置調整 */
  .subheading {
    display: block;
    margin-top: 8px;
  }
    
}


/* モバイルナビゲーションの背景透明化 */
@media (max-width: 768px) {
  /* スクロール時のモバイルナビ透明化 */
  .mobile-nav.scrolled:not(.active) {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  
  /* メニューが開いている場合は元の背景色を維持 */
  .mobile-nav.active {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
  
  /* スクロール時のヘッダー透明化（念のため） */
  header.scrolled, 
  #site-header.scrolled {
    background-color: transparent !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
}

/* 
====================
スマホ用固定フッターメニュー 
====================
*/
.mobile-fixed-cta {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px;
  box-sizing: border-box;
}

.mobile-cta-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.mobile-cta-button {
  text-align: center;
  border-radius: 4px;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 相談・見積りボタン */
.mobile-cta-button.consultation {
  background-color: #eb6100;
  color: #fff;
  flex: 3; /* 幅を他より広く */
}

.mobile-cta-button.consultation:hover {
  background-color: #d45600;
}

/* 資料ダウンロードボタン */
.mobile-cta-button.download {
  background-color: #fef000;
  color: #0D0D0D;
  flex: 3; /* 幅を他より広く */
  margin: 0 8px;
}

.mobile-cta-button.download:hover {
  background-color: #e6d900;
}

/* 電話ボタン */
.mobile-cta-button.tel {
  background-color: #fff;
  color: #0D0D0D;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tel-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}

.tel-icon svg {
  width: 100%;
  height: 100%;
  color: #0D0D0D;
}

/* フッター調整 - フッターの下に余白を追加 */
.footer {
  padding-bottom: calc(70px + var(--spacing-md));
}

/* フッターCTAセクションの下部にも余白
.footer-cta {
  margin-bottom: 60px;
} */

/* モバイル表示設定 */
@media (max-width: 768px) {
  .mobile-fixed-cta {
    display: block;
  }
  
  /* ボタンのフォントサイズ調整（小さい画面用） */
  .mobile-cta-button {
    padding: 8px 6px;
    margin: 0 6px;
  }
}

/* さらに小さい画面でのサイズ調整 */
@media (max-width: 480px) {
  .mobile-cta-button {
    padding: 8px 4px;
    margin: 0 6px;
  }
  
  .mobile-cta-button.consultation {
    flex: 2.5;
  }
  
  .mobile-cta-button.download {
    flex: 2.5;
    margin: 0 5px;
  }
  
  .tel-icon {
    width: 20px;
    height: 20px;
  }
}