* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden; /* 横スクロール防止（最上位レベル） */
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Meiryo", sans-serif;
  background-color: #9e0000;
  line-height: 1.6;
  overflow-x: hidden; /* 横スクロールを防ぐ */
  background-image: url("img/background_pc.jpg");
  background-repeat: repeat-y;
  background-size: auto;
  background-position: top center;
}

/* アクセシビリティ対応：スクリーンリーダー専用テキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  body {
    background-image: url("img/background_mb.jpg");
    background-repeat: repeat-y;
    background-size: auto;
    background-position: top center;
    overflow-x: hidden; /* モバイルでの横スクロールを完全に防ぐ */
  }
}

/* ヘッダーナビゲーション */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  padding: 15px 0;
}

.header-nav.visible {
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* メインビジュアル */
.main-visual {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 49.48%; /* 950/1920 = 0.4948 */
  background-color: white;
  overflow: hidden; /* はみ出し部分を隠す */
}

/* 3層レイヤー共通スタイル */
.main-visual-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform, opacity;
}

/* 背景レイヤー */
.mv-background {
  z-index: 1;
}

/* 装飾レイヤー */
.mv-decoration {
  z-index: 2;
}

/* メインロゴレイヤー */
.mv-logo {
  z-index: 3;
}

/* アニメーションキーフレーム */
@keyframes backgroundPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes decorationFadeIn {
  0% {
    opacity: 0.3;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  65% {
    transform: scale(0.95);
  }
  80% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* レイヤー別アニメーション適用 */
.mv-background {
  animation: backgroundPulse 8s ease-in-out infinite;
}

.mv-decoration {
  animation: decorationFadeIn 2s ease-out forwards;
}

.mv-logo {
  animation: logoEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* PC版表示制御 */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

/* モバイル版表示制御 */
@media (max-width: 768px) {
  .main-visual-layer:not(.mobile-only) {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  /* モバイル版のアニメーション調整 */
  .mobile-only.mv-decoration {
    animation: decorationFadeIn 2s ease-out forwards;
  }

  .mobile-only.mv-logo {
    animation: logoEntrance 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  }
}

/* 装飾画像オーバーレイ */
.decoration-overlay {
  position: absolute;
  top: -60px; /* セクション上端からの垂直オフセット（負の値で上方向） */
  left: -50px; /* セクション左端からの水平オフセット（負の値で左にはみ出し） */
  width: 240px; /* 画像の幅（固定値でウィンドウサイズに依存しない） */
  height: auto;
  object-fit: contain;
  z-index: 10;
  transform: rotate(
    0deg
  ); /* 回転角度（正の値で時計回り、負の値で反時計回り） */
  transition: transform 0.3s ease;
}

/* 装飾画像オーバーレイ2（セクション1用） */
.decoration-overlay-2 {
  position: absolute;
  top: -300px; /* セクション上端からの垂直オフセット */
  right: -100px; /* セクション右端からの水平オフセット（負の値で右にはみ出し） */
  width: 250px; /* 画像の幅 */
  height: auto;
  object-fit: contain;
  z-index: 10;
  transform: rotate(0deg); /* 回転角度 */
  transition: transform 0.3s ease;
}

/* 装飾画像オーバーレイ3（セクション2用） */
.decoration-overlay-3 {
  position: absolute;
  top: -260px; /* セクション上端からの垂直オフセット */
  left: -125px; /* セクション左端からの水平オフセット（負の値で左にはみ出し） */
  width: 250px; /* 画像の幅 */
  height: auto;
  object-fit: contain;
  z-index: 10;
  transform: rotate(0deg); /* 回転角度 */
  pointer-events: none; /* レイアウト計算から除外して横スクロールを防ぐ */
}

/* 装飾画像オーバーレイ4（セクション3用） */
.decoration-overlay-4 {
  position: absolute;
  top: -200px; /* セクション上端からの垂直オフセット */
  right: -35px; /* セクション右端からの水平オフセット（負の値で右にはみ出し） */
  width: 250px; /* 画像の幅 */
  height: auto;
  object-fit: contain;
  z-index: 10;
  transform: rotate(0deg); /* 回転角度 */
}

/* 装飾画像オーバーレイ5（セクション4用） */
.decoration-overlay-5 {
  position: absolute;
  top: -190px; /* セクション上端からの垂直オフセット */
  left: -15px; /* セクション左端からの水平オフセット */
  width: 200px; /* 画像の幅 */
  height: auto;
  object-fit: contain;
  z-index: 10;
  transform: rotate(0deg); /* 回転角度 */
  pointer-events: none; /* レイアウト計算から除外して横スクロールを防ぐ */
}

/* 装飾画像オーバーレイ6（セクション5用） */
.decoration-overlay-6 {
  position: absolute;
  top: -548px; /* セクション上端からの垂直オフセット */
  right: -120px; /* セクション右端からの水平オフセット（負の値で右にはみ出し） */
  width: 250px; /* 画像の幅（固定値でウィンドウサイズに依存しない） */
  height: auto;
  object-fit: contain;
  z-index: 10;
  transform: rotate(0deg); /* 回転角度 */
}

/* CTAボタン */
.cta-container {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: -40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #000;
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  padding: 20px 50px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.cta-button::after {
  content: "▶";
  font-size: 20px;
  margin-left: 8px;
}

.cta-button:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background-color: #333;
}

/* セクション共通スタイル */
.section {
  padding: 60px 0 80px;
  margin: 80px auto;
  max-width: 1200px;
  width: 1200px;
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* セクション1: 当店の強み */
.section-1 {
  position: relative;
  background-color: #8e8e8e;
}

/* セクション2: アイテム紹介（方眼紙風背景） */
.section-2 {
  position: relative;
  background-color: #f5f5f5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* セクション3: 日本キーホルダー工業を利用するメリット */
.section-3 {
  position: relative;
  background-color: #8e8e8e;
}

/* セクション4: 納品までの流れ（方眼紙風背景） */
.section-4 {
  position: relative;
  background-color: #f5f5f5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* セクション5: ご注文方法 */
.section-5 {
  position: relative;
  background-color: #8e8e8e;
}

/* セクション6: お問い合わせ（方眼紙風背景） */
.section-6 {
  margin: -80px auto;
}

/* セクション7: よくある質問 */
.section-7 {
  background-color: #8e8e8e;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 75px;
  color: #000;
  position: relative;
  display: inline-block;
  width: auto;
  padding: 0 20px 5px; /* 下線のはみ出し量の半分 */
}

.section-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -8px; /* 下線の位置は調整 */
  width: calc(100% + 40px); /* テキスト幅＋はみ出し量 */
  height: 14px; /* 下線の太さ */
  background: #000000; /* 下線の色 */
  border-radius: 2px;
  transform: translateX(-50%);
  z-index: 0;
}

.section-content {
  font-size: 18px;
  text-align: center;
  color: #666;
}

/* 強みセクションのグリッドレイアウト */
.strengths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.strength-item {
  position: relative;
  height: 180px;
}

.strength-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 100%;
  height: 100%;
  background-color: #8e8e8e;
  border: 5px solid #000;
  border-radius: 15px;
  z-index: 1;
}

.strength-content {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white;
  border: 5px solid #000;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  color: #333;
  z-index: 2;
  line-height: 1.4;
}

.large-text {
  font-size: 48px;
}

.strength-desc {
  font-size: 28px;
  font-weight: bold;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background-color: yellow;
  z-index: -1;
}

/* アイテム紹介セクションのグリッドレイアウト */
.items-grid {
  display: grid;
  grid-template-columns: repeat(2, 350px);
  grid-template-rows: repeat(2, auto);
  gap: 100px;
  justify-content: center;
  margin: 0 auto;
}

.item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.item-name {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.item-image {
  width: 350px;
  height: 320px;
  margin-bottom: 15px;
}

.item-price {
  font-size: 25px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.item-price-note {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  margin-top: -15px;
}

.item-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 350px;
  background-color: #000;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.item-link::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 50px;
  z-index: -1;
}

.item-link::after {
  content: "▶";
  font-size: 16px;
  margin-left: 8px;
}

.item-link:hover {
  transform: translateY(2px);
  background-color: #333;
}

/* メリットセクションのスタイル */
.merit-list {
  max-width: 930px;
  margin: 0 auto;
  text-align: left;
}

.merit-item {
  margin-bottom: 40px;
}

.merit-label {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: white;
  margin-bottom: 25px;
  transform: skewX(-40deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 450px;
}

.merit-number {
  background-color: #000;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  transform: skewX(40deg);
  flex-shrink: 0;
}

.merit-text {
  color: #000;
  font-size: 22px;
  font-weight: bold;
  transform: skewX(40deg);
  padding: 10px;
}

.merit-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  padding-left: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.register-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #9e0000;
  color: white;
  text-decoration: none;
  font-size: 25px;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  margin: 30px auto;
  width: fit-content;
  box-shadow: 4px 4px 0px white;
}

.register-button::after {
  content: "▶";
  font-size: 14px;
}

.register-button:hover {
  transform: translateY(2px);
  background-color: #8a0000;
}

/* ハンバーガーメニューボタン */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

.hamburger-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

/* スクロール時自動非表示 */
.header-nav.hide-on-scroll {
  transform: translateY(-100%);
}

/* 工程・フロー系のスタイル */
.flow-container {
  max-width: 1000px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.flow-step-reverse {
  flex-direction: row-reverse;
}

.flow-text-area {
  flex: 1;
  height: 380px;
  padding: 40px 30px 30px 30px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.flow-image-area {
  flex: 1;
  display: flex;
  justify-content: center;
}

.flow-image {
  width: 100%;
  max-width: 570px;
  height: 380px;
  margin: 0 auto;
}

.flow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-number-triangle-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #8e8e8e 50%, transparent 50%);
}

.flow-number-triangle-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-135deg, #8e8e8e 50%, transparent 50%);
}

.flow-number-left {
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 48px;
  font-weight: bold;
  color: #333;
}

.flow-number-right {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 48px;
  font-weight: bold;
  color: #333;
}

.flow-title {
  font-size: 35px;
  font-weight: bold;
  color: #333;
  margin: 60px 0 15px 0;
  text-align: left;
}

.flow-description {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.7;
  color: #333;
  margin: 0;
  text-align: left;
}

/* 注文方法系のスタイル */
.order-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.order-speech-bubble {
  position: relative;
}

.order-speech-bg-layer1 {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 110%;
  height: 110%;
  background-color: yellow;
  border: 5px solid black;
  border-radius: 0;
  z-index: -2;
  transform: rotate(-3deg);
}

.order-speech-bg-layer2 {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  background-color: yellow;
  border: 4px solid black;
  border-radius: 0;
  z-index: -1;
  transform: rotate(-2deg);
}

.order-speech-main {
  position: relative;
  background-color: white;
  border: 4px solid black;
  border-radius: 0;
  padding: 20px 25px;
  box-shadow: 4px 4px 0px black;
  transform: rotate(-1deg);
}

.order-speech-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-align: left;
}

.order-speech-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0;
  text-align: left;
}

.order-speech-arrow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%) rotate(-1deg);
}

.order-speech-arrow-main {
  width: 0;
  height: 0;
  border-left: 25px solid white;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.order-speech-arrow-border {
  position: absolute;
  top: -18px;
  right: -4px;
  width: 0;
  height: 0;
  border-left: 29px solid black;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

.order-youtube-button {
  position: relative;
  transform: rotate(2deg);
}

.order-youtube-bg {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  background-color: yellow;
  border: 4px solid black;
  border-radius: 25px;
  z-index: -1;
}

.order-youtube-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 220px;
  height: 140px;
  background-color: #ff0000;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 6px 6px 0px #cc0000;
  transition: all 0.3s ease;
  position: relative;
  border: 4px solid black;
}

.order-youtube-play {
  width: 0;
  height: 0;
  border-left: 35px solid white;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  margin-left: 6px;
  margin-bottom: 8px;
}

.order-youtube-text {
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 3px 3px 0px #cc0000;
}

.order-pointer {
  position: absolute;
  right: -45px;
  top: 90%;
  transform: translateY(-50%) rotate(-40deg);
}

.order-pointer-circle {
  width: 70px;
  height: 70px;
  background-color: yellow;
  border: 4px solid black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: 3px 3px 0px black;
}

.decor-yellow-small {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: yellow;
  border: 4px solid black;
  transform: rotate(45deg);
}

.decor-yellow-medium {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: yellow;
  border: 4px solid black;
  transform: rotate(45deg);
}

.decor-yellow-tiny {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: yellow;
  border: 3px solid black;
  transform: rotate(45deg);
}

.decor-yellow-rect {
  position: absolute;
  background-color: yellow;
  border: 3px solid black;
}

/* お問い合わせ系のスタイル */
.contact-button {
  display: block;
  text-decoration: none;
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.contact-shadow {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: yellow;
  transform: skewX(-35deg);
  border: 6px solid black;
  z-index: -1;
}

.contact-main {
  position: relative;
  padding: 25px 40px;
  border: 6px solid black;
  transform: skewX(-35deg);
  transition: all 0.3s ease;
  z-index: 1;
  overflow: hidden; /* 擬似要素のはみ出しを防ぐ */
}

.contact-main::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background-color: #f5f5f5;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: skewX(35deg); /* 親要素の逆変形を適用 */
  transform-origin: center;
  z-index: -1;
}

.contact-content {
  transform: skewX(35deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-title {
  font-size: 35px;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-arrow-left {
  width: 0;
  height: 0;
  border-right: 40px solid #333;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
}

.contact-arrow-right {
  width: 0;
  height: 0;
  border-left: 40px solid #333;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
}

/* FAQ系のスタイル */
.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 60px;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 25px;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-direction: row-reverse;
}

.faq-user-avatar {
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-company-avatar {
  width: 100px;
  height: 100px;
  background-image: url("img/faq_answer_icon.png");
  background-size: 102%; /* サイズ調整用（50%から150%で調整可能） */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faq-user-icon {
  font-size: 90px;
}

.faq-question-bubble {
  position: relative;
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 10px 10px 0px #000;
  width: 670px;
}

.faq-answer-bubble {
  position: relative;
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 10px 10px 0px #000;
  width: 670px;
}

.faq-question-arrow {
  position: absolute;
  left: -10px;
  top: 20px;
  width: 0;
  height: 0;
  border-right: 15px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.faq-answer-arrow {
  position: absolute;
  right: -10px;
  top: 20px;
  width: 0;
  height: 0;
  border-left: 15px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.faq-question-text {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-align: left;
}

.faq-answer-text {
  margin: 0;
  font-size: 20px;
  color: #333;
  line-height: 1.6;
  text-align: left;
  font-weight: bold;
}

/* フッター */
.footer {
  width: 100%;
  background-color: #000;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
}

.footer-text {
  margin: 0;
  font-size: 14px;
}

/* Google フォント */
.mochiy-pop-p-one-regular {
  font-family: "Mochiy Pop P One", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1.6px;
  font-display: swap;
}

.noto-sans-jp-extrabold {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .header-nav {
    padding: 8px 0;
  }

  .hamburger-btn {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    font-size: 16px;
    padding: 12px 20px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .main-visual {
    padding-bottom: 106.67%; /* 640/600 = 1.0667 */
  }

  /* モバイル版では装飾画像を右上に配置 */
  .decoration-overlay {
    top: -45px; /* セクション上端からの垂直オフセット */
    left: auto;
    right: -15px; /* セクション右端からの水平オフセット */
    width: 90px; /* 画像の幅（モバイル用サイズ） */
    height: auto;
    transform: rotate(-30deg); /* 回転角度（モバイル版） */
  }

  /* モバイル版では装飾画像2を左上に配置 */
  .decoration-overlay-2 {
    top: -110px; /* セクション上端からの垂直オフセット */
    left: -40px; /* セクション左端からの水平オフセット */
    right: auto;
    width: 120px; /* 画像の幅（モバイル用サイズ） */
    height: auto;
    transform: rotate(30deg); /* 回転角度（モバイル版） */
  }

  /* モバイル版では装飾画像3を右上に配置 */
  .decoration-overlay-3 {
    top: -125px; /* セクション上端からの垂直オフセット */
    left: auto;
    right: -25px; /* セクション右端からの水平オフセット */
    width: 130px; /* 画像の幅（モバイル版） */
    height: auto;
    transform: rotate(-30deg); /* 回転角度（モバイル版） */
    pointer-events: none; /* レイアウト計算から除外して横スクロールを防ぐ */
  }

  /* モバイル版では装飾画像4を左上に配置 */
  .decoration-overlay-4 {
    top: -100px;
    left: -50px;
    right: auto;
    width: 110px;
    height: auto;
    transform: rotate(3deg);
  }

  /* モバイル版では装飾画像5を右上に配置 */
  .decoration-overlay-5 {
    top: -165px; /* セクション上端からの垂直オフセット */
    left: auto;
    right: -65px; /* セクション右端からの水平オフセット */
    width: 110px; /* 画像の幅（モバイル版） */
    height: auto;
    transform: rotate(-5deg); /* 回転角度（モバイル版） */
    pointer-events: none; /* レイアウト計算から除外して横スクロールを防ぐ */
  }

  /* モバイル版では装飾画像6を左上に配置 */
  .decoration-overlay-6 {
    top: -260px; /* セクション上端からの垂直オフセット */
    left: -60px; /* セクション左端からの水平オフセット（負の値で左にはみ出し） */
    right: auto;
    width: 120px; /* 画像の幅（モバイル用サイズ） */
    height: auto;
    transform: rotate(-30deg); /* 回転角度（モバイル版） */
  }

  .cta-button {
    font-size: 20px;
    padding: 18px 40px;
    gap: 8px;
  }

  .cta-button::after {
    font-size: 16px;
    margin-left: 6px;
  }

  .section {
    padding: 60px 0;
    margin: 80px auto;
    width: auto;
    max-width: 95%;
  }

  .section-6 {
    margin: -80px auto;
    max-width: 100%;
  }

  .section-container {
    width: auto;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 50px;
  }

  .section-title::after {
    bottom: -10px;
    width: 100%;
    height: 14px;
  }

  .section-content {
    font-size: 16px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 30px;
    max-width: 100%;
  }

  .strength-item {
    height: 150px;
  }

  .strength-item::before {
    top: 4px;
    left: 4px;
  }

  .strength-content {
    font-size: 16px;
  }

  .large-text {
    font-size: 50px;
  }

  .strength-desc {
    font-size: 30px;
  }

  .items-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 50px;
  }

  .item-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .item-image {
    width: 100%;
    max-width: 350px;
  }

  .item-link {
    width: 100%;
    max-width: 350px;
    font-size: 16px;
    padding: 12px 25px;
  }

  .item-name {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .item-price {
    font-size: 25px;
  }

  .item-price-note {
    font-size: 16px;
    margin-top: -10px;
  }

  .merit-item {
    margin-bottom: 30px;
  }

  .merit-label {
    gap: 10px;
    padding: 0 20px 0 5px;
    transform: skewX(-10deg);
    min-width: 100%;
  }

  .merit-number {
    width: 50px;
    height: 50px;
    font-size: 16px;
    transform: skewX(10deg);
  }

  .merit-text {
    font-size: 16px;
    transform: skewX(10deg);
  }

  .merit-content {
    font-size: 14px;
    padding-left: 10px;
  }

  .register-button {
    font-size: 14px;
    padding: 10px 20px;
    margin: 0 auto;
  }

  .flow-item {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .flow-even {
    grid-template-areas:
      "image"
      "text";
  }

  .flow-odd {
    grid-template-areas:
      "text"
      "image";
  }

  .flow-even .flow-image {
    grid-area: image;
  }

  .flow-even .flow-text {
    grid-area: text;
  }

  .flow-odd .flow-text {
    grid-area: text;
  }

  .flow-odd .flow-image {
    grid-area: image;
  }

  .flow-text {
    padding: 20px;
  }

  .flow-number {
    font-size: 36px;
  }

  .flow-number-left::before,
  .flow-number-right::before {
    border-top-width: 60px;
    border-left-width: 60px;
    border-right-width: 60px;
  }

  .flow-label {
    font-size: 24px;
    margin: 15px 0 10px 0;
  }

  .flow-content {
    font-size: 14px;
  }

  .flow-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto;
    flex-shrink: 0;
  }

  /* 新しいCSSクラスのモバイル対応 */
  .flow-step {
    flex-direction: row;
    gap: 14px;
    margin-bottom: 40px;
  }

  .flow-step-reverse {
    flex-direction: row-reverse;
  }

  .flow-text-area {
    height: auto;
    padding: 15px 0;
    flex: 1;
    min-width: 0;
  }

  .flow-title {
    font-size: 20px;
    margin: 40px 0 8px 0;
  }

  .flow-description {
    font-size: 13px;
    line-height: 1.8;
  }

  .flow-number-left,
  .flow-number-right {
    font-size: 28px;
  }

  .flow-number-left {
    top: 5px;
    left: 15px;
  }

  .flow-number-right {
    top: 5px;
    right: 20px;
  }

  .flow-number-triangle-left,
  .flow-number-triangle-right {
    border-top-width: 50px;
    border-left-width: 50px;
    border-right-width: 50px;
    width: 50px;
    height: 50px;
  }

  .order-container {
    flex-direction: column;
    gap: 20px;
  }

  .order-speech-bubble {
    margin-bottom: 20px;
  }

  .order-youtube-main {
    width: 180px;
    height: 120px;
  }

  .order-pointer {
    right: -35px;
    top: 85%;
  }

  .order-pointer-circle {
    width: 60px;
    height: 60px;
    font-size: 35px;
  }

  .contact-button {
    max-width: calc(95% - 40px);
    padding: 0 20px;
  }

  .contact-shadow {
    left: 30px;
    width: calc(95% - 30px);
  }

  .contact-main {
    padding: 20px 15px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-arrow-right {
    border-left: 30px solid #333;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  .contact-arrow-left {
    border-right: 30px solid #333;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  .faq-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .faq-user-icon {
    font-size: 42px;
  }

  .faq-company-avatar {
    width: 70px;
    height: 70px;
    background-image: url("img/faq_answer_icon.png");
    background-size: 102%; /* サイズ調整用（50%から150%で調整可能） */
    background-position: center;
    background-repeat: no-repeat;
  }

  .faq-question {
    gap: 20px;
    margin-bottom: 35px;
  }

  .faq-answer {
    gap: 20px;
  }

  .faq-question-bubble,
  .faq-answer-bubble {
    width: auto;
    max-width: 100%;
    min-width: auto;
    padding: 20px;
  }

  .faq-question-arrow {
    left: -8px;
  }

  .faq-answer-arrow {
    right: -8px;
  }

  .faq-question-text,
  .faq-answer-text {
    font-size: 18px;
    line-height: 1.8;
  }
}

/* 大画面での装飾画像調整 */
@media (min-width: 1400px) {
  /* decoration1（メインビジュアル用） */
  .decoration-overlay {
    left: -50px; /* セクション左端からの水平オフセット（大画面用） */
    width: 330px; /* 画像の幅（大画面用サイズ） */
  }

  /* decoration2（セクション1用） */
  .decoration-overlay-2 {
    right: -130px; /* セクション右端からの水平オフセット（大画面用） */
    width: 330px; /* 画像の幅（大画面用サイズ） */
    top: -400px;
  }

  /* decoration3（セクション2用） */
  .decoration-overlay-3 {
    left: -160px; /* セクション左端からの水平オフセット（大画面用） */
    width: 280px; /* 画像の幅（大画面用サイズ） */
  }

  /* decoration4（セクション3用） */
  .decoration-overlay-4 {
    right: -150px; /* セクション右端からの水平オフセット（大画面用） */
    width: 280px; /* 画像の幅（大画面用サイズ） */
  }

  /* decoration5（セクション4用） */
  .decoration-overlay-5 {
    left: -130px; /* セクション左端からの水平オフセット（大画面用） */
  }

  /* decoration6（セクション5用） */
  .decoration-overlay-6 {
    right: -150px; /* セクション右端からの水平オフセット（大画面用） */
    width: 280px; /* 画像の幅（大画面用サイズ） */
  }
}
