/* ===== 変数定義 ===== */
:root {
  --primary-color: #e60012;
  --primary-hover: #cc0010;
  --text-color: #333;
  --light-gray: #f5f7fb;
}

/* ===== リセット ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  line-break: strict; /* 句読点の禁則処理を厳格化 */
  padding-top: 80px; /* 固定ヘッダー分の余白を確保（FV以外のページ用） */
  text-rendering: optimizeLegibility; /* テキストの読みやすさを優先 */
  -webkit-font-smoothing: antialiased; /* macOS/iOSでのフォント描画を滑らかに */
}

/* スムーズスクロールの有効化 */
html {
  scroll-behavior: smooth;
}

/* ===== コンテナ ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* スクリーンリーダー用非表示スタイル */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== ヘッダー ===== */
.header {
  background-color: rgba(255, 255, 255, 0.95); /* デフォルト（index以外）は白背景 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* デフォルトでシャドウを表示 */
  position: fixed; /* ヒーロー画像の上に重ねるために固定 */
  width: 100%;
  top: 0;
  z-index: 200;
  transition: all 0.3s ease;
}

/* トップページ（index）のみ、スクロール前は透明にする */
.index-page .header:not(.scrolled) {
  background-color: transparent;
  box-shadow: none;
}

/* スクロール時のヘッダー演出 */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95); /* スクロール時は白背景を適用 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  transition: padding 0.3s ease;
}

.header-logo a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img {
  height: 42px;
  width: auto;
}

.header-logo .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  font-family: 'Archivo Black', sans-serif;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
  transition: color 0.3s ease;
}

.header-logo .logo-sub {
  font-size: 14px;
  color: #494848;
  font-weight: normal;
  line-height: 1.2;
  margin-top: 2px;
  margin-bottom: 0;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
  transition: color 0.3s ease;
}

.header-nav {
  flex: 1;
  position: relative;
}

.mobile-menu-overlay {
  display: none;
}

.header-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
}

.header-nav .nav-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.3s;
}

/* トップページのみ：ヘッダーが透明な時にメニューテキストを白にする */
@media (min-width: 1025px) {
  .index-page .header:not(.scrolled) .header-nav .nav-list a {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
}

/* トップページのみ：ヘッダーが透明な時はサブタイトルのみ白にする */
.index-page .header:not(.scrolled) .header-logo .logo-sub {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* トップページのみ：ヘッダーが透明な時の言語切り替えボタン */
.index-page .header:not(.scrolled) .lang-btn {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}

.index-page .header:not(.scrolled) .lang-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

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

.header-menu-toggle {
  display: none;
  background: #f5f7fb;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  margin-left: 10px;
  transition: background-color 0.3s, transform 0.3s;
}

.header-menu-toggle:hover {
  background: #e8eef8;
}

.header-menu-toggle span,
.header-menu-toggle span::before,
.header-menu-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  position: relative;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

/* ===== トップに戻るボタン ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

/* ===== お問い合わせフォーム ===== */
.contact-page .title-unit {
  margin-bottom: 20px;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.form-table th, .form-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.form-table th {
  width: 30%;
  font-size: 15px;
  color: #333;
  vertical-align: top;
}

.required {
  color: #e63946;
  margin-left: 4px;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.address-fields input {
  margin-bottom: 10px;
}

.form-agreement {
  text-align: center;
  margin-bottom: 30px;
}

.form-agreement a {
  color: var(--primary-color);
  text-decoration: underline;
}

.form-recaptcha {
  margin-bottom: 40px;
}

/* FV一時停止ボタン */
.fv-pause-btn {
  position: absolute;
  bottom: 110px; /* Scrollインジケーターの上に配置するために調整 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.fv-pause-btn:hover { background: rgba(0, 0, 0, 0.6); }

/* フォームメッセージ */
.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  display: none;
}
.form-message.error { display: block; background: #fff1f0; color: #e60012; border: 1px solid #ffccc7; }


.header-menu-toggle span::before {
  top: -8px;
}

.header-menu-toggle span::after {
  top: 8px;
}

.header-menu-toggle.open span {
  background-color: transparent;
}

.header-menu-toggle.open span::before {
  transform: rotate(45deg);
  top: 0;
}

.header-menu-toggle.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

.header-nav.open .nav-list a:hover {
  color: var(--primary-color);
}

.header-cta {
  flex-shrink: 0;
}

/* FV内スマホ用CTAボタン: PC幅では非表示 */
.fv-cta-sp {
  display: none;
}

.header-lang-desktop {
  display: flex;
}

.header-lang {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-btn {
  padding: 8px 12px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.lang-btn:hover {
  background-color: #f5f5f5;
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
  border: 2px solid transparent;
  font-weight: 600;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

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

.btn-primary-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 24px;
  font-size: 13px;
}

.btn-primary-header:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: #f0f5ff;
}

.btn.large {
  padding: 16px 40px;
  font-size: 16px;
}

/* ===== ファーストビュー ===== */
.fv {
  position: relative;
  height: 100vh; /* 画面いっぱいの高さに設定 */
  margin-top: -80px; /* ヘッダーの裏側に回り込ませるために引き上げる */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.fv-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.fv-image.active {
  opacity: 1;
}

.fv .container {
  position: relative;
  z-index: 10;
}

.fv-content {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* 幅制限を解除して一行表示を可能にする */
}

.fv-title {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.4;
}

.fv-subtitle {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
  opacity: 0.95;
}

.fv-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.fv-buttons .btn {
  padding: 14px 32px;
  font-size: 15px;
}

.fv-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fv-bounce 2s infinite;
}

.fv-scroll span {
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 5px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.fv-scroll .arrow {
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fv-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== セクション共通 ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
}

/* ===== Product Introduction商品紹介 ===== */
.concerns {
  position: relative;
  overflow: hidden;
  background-color: #fff; /* 画像が綺麗に見えるよう白ベースに変更 */
}

.concerns::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Image/productintroductionsection01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* 透かしの透明度 */
  z-index: 0;
}

.concerns .container {
  position: relative;
  z-index: 1;
}

.section-header-banner {
  background-color: #1a1a1a;
  padding: 20px 0;
  margin-bottom: 40px;
  border-radius: 8px;
}

.section-header-banner .section-title {
  color: #fff;
  margin: 0;
  font-size: 28px;
}

.concerns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; /* 5pxから20pxに広げ、品格と視認性を向上 */
}

.concern-card {
  background-color: transparent;
  padding: 0; /* カード内の余白を排除 */
  text-align: center;
  border-radius: 0; /* スクリーンショットに合わせ角丸をリセット */
  box-shadow: none; /* 画像を際立たせるためシャドウを排除 */
  transition: transform 0.3s;
  overflow: hidden;
}

.concern-card:hover {
  transform: translateY(-5px); /* 動きを少し控えめにし、高級感を出す */
}

.concern-card-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形で大きく表示 */
  object-fit: cover;
  display: block;
}

.concern-info {
  padding: 20px 10px;
  text-align: center;
}

.concern-info h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0 auto 15px;
  width: 100%;
  white-space: normal; /* 折り返しを許可してはみ出しを防止 */
  letter-spacing: 0.1em; /* 文字間隔を微調整して可読性を維持 */
  font-weight: 700;
}

.concern-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* ===== SERVICE事業内容3つの柱 section ===== */
.reasons {
  position: relative;
  overflow: hidden;
}

.reasons::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Image/servicesection01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* 画像の透明度を調整（0.1〜0.2程度が適しています） */
  z-index: 0;
}

.reasons .container {
  position: relative;
  z-index: 1;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

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

.reason-number {
  font-size: 64px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.reason-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.reason-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

/* ===== 実績 ===== */
.partner-single-card {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.partner-slider-track {
  display: flex;
  height: 500px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-slider-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.partner-slider-nav .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.partner-slider-nav .dot:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.partner-slider-nav .dot.active {
  background-color: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ===== Partner Companies 提携先企業様 section ===== */
.achievements {
  position: relative;
  overflow: hidden;
  background-color: #fff; /* 画像が綺麗に見えるよう白ベースに変更 */
}

.achievements::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Image/PartnercompaniesSection01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7; /* 透かしの透明度 */
  z-index: 0;
}

.achievements .container {
  position: relative;
  z-index: 1;
}

/* ===== ご利用の流れ ===== */
.flow {
  background-image: url('Image/Transaction01.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 130px 0; /* 上下のパディングを広げて背景の表示範囲を拡大 */
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 50px;
}

.flow-item {
  background-color: rgba(255, 255, 255, 0.85); /* 透明度を高めて背景画像をより強調 */
  border: 1px solid #e5e9f0;
  padding: 30px 20px;
  transition: all 0.3s ease;
  display: flex;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 立体感を出すために影を少し強める */
  flex-direction: column;
}

.flow-item:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.95); /* ホバー時に不透明度を上げて視認性を向上 */
}

.flow-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.flow-icon {
  font-size: 40px;
  color: var(--primary-color); /* 赤色に戻す */
  margin-bottom: 15px;
  opacity: 0.8;
}

.flow-item h3 {
  font-size: 17px;
  color: #333; /* 濃いグレーに変更 */
  font-weight: 600;
  width: 100%;
  text-align: center;
  letter-spacing: 0.1em;
}

.flow-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-top: 5px;
  text-align: left;
}


/* ===== アクセス ===== */
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-map {
  background-color: #e0e0e0;
  height: 600px; /* 縦方向を拡張 */
  border-radius: 8px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-info h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.info-item {
  margin-bottom: 20px;
}

.info-item .label {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-item .value {
  font-size: 15px;
  color: #333;
}

/* ===== お問い合わせCTA ===== */
.contact-cta {
  background-color: #fff; /* 背景を白に変更 */
  color: var(--text-color); /* テキスト色をデフォルトの黒系に */
  padding: 80px 0; /* 元のゆとりある余白に戻す */
}

.contact-cta .section-title {
  color: var(--primary-color); /* タイトルは赤色を維持 */
}

.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-buttons .btn {
  padding: 16px 40px;
  font-size: 16px;
}

.contact-buttons .btn-primary {
  background-color: var(--primary-color); /* 赤色背景 */
  color: #fff; /* 白文字 */
}

.contact-buttons .btn-primary:hover {
  background-color: var(--primary-hover); /* ホバー時は少し濃い赤 */
}

.contact-buttons .btn-outline {
  color: var(--primary-color); /* アウトラインボタンのテキストは赤 */
  border-color: var(--primary-color); /* アウトラインボタンの枠線は赤 */
}

.contact-buttons .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== フッター ===== */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-desc {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
}

.footer-logo-link {
  display: block;
  text-decoration: none;
  margin-bottom: 15px;
}

.footer-logo-img {
  height: 42px;
  width: auto;
}

.footer-logo .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Archivo Black', sans-serif;
  line-height: 1;
}

.footer-logo .logo-sub {
  font-size: 14px;
  color: #fff;
  margin-top: 2px;
  font-weight: normal;
}
.footer-info h3,
.footer-nav-group h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-info p {
  font-size: 13px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.copy {
  text-align: center;
  font-size: 12px;
  color: #fff;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.center {
  text-align: center;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  /* コンテンツが右側に切れるのを防ぐための全体調整 */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .header-nav .nav-list {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* ===== スマホFV: 案B 画像上部・テキスト下部の2段構成 ===== */
  .fv {
    width: 100%;
    height: auto;
    min-height: unset;
    aspect-ratio: unset;
    flex-direction: column;
    align-items: stretch;
    background-color: #fff;
    overflow: visible;
  }

  /* 画像エリア: 横長16:9比率でほぼトリミングなし */
  .fv-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    flex-shrink: 0;
    background-color: #111;
    overflow: hidden;
  }

  .fv-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 各画像の焦点位置を個別指定（主役が切れないよう調整） */
  .fv-image:nth-child(1) { object-position: center 60%; } /* 和牛: 中央やや下 */
  .fv-image:nth-child(2) { object-position: center 40%; } /* マグロ: 中央やや上 */
  .fv-image:nth-child(3) { object-position: center center; } /* キャビア: 中央 */
  .fv-image:nth-child(4) { object-position: center center; } /* 白トリュフ: 中央 */
  .fv-image:nth-child(5) { object-position: center 50%; } /* 乾物: 中央 */
  .fv-image:nth-child(6) { object-position: center 40%; } /* 味噌・大豆: 中央やや上 */
  .fv-image:nth-child(7) { object-position: center 50%; } /* 木樽: 中央 */

  /* テキストエリア: 白背景で確実に読める */
  .fv-content {
    position: relative;
    z-index: 10;
    width: 100%;
    background-color: #fff;
    padding: 22px 20px 24px;
    text-align: left;
    color: #1a1a1a;
    text-shadow: none;
    box-sizing: border-box;
  }

  /* アクセントライン */
  .fv-content::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background-color: #e60012;
    margin-bottom: 12px;
  }

  .fv-title {
    font-size: clamp(18px, 5.5vw, 26px); /* 一行表示のため最小サイズを微調整 */
    color: #1a1a1a;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
    margin-bottom: 5px;
    display: block;
    width: 100%;
    text-shadow: none;
  }

  .fv-subtitle {
    font-size: 13px;
    color: #555;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.7;
    margin-bottom: 18px;
    display: block;
    width: 100%;
    opacity: 1;
    text-shadow: none;
  }

  /* スマホFV用CTAボタン */
  .fv-cta-sp {
    display: flex;
    gap: 8px;
  }

  .fv-cta-sp .btn-primary {
    background-color: #e60012;
    color: #fff;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 2px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
  }

  .fv-cta-sp .btn-outline {
    border: 1.5px solid #e60012;
    color: #e60012;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 2px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    background: transparent;
  }

  /* スクロールインジケーターと一時停止ボタンはスマホでは非表示 */
  .fv-scroll,
  .fv-pause-btn {
    display: none;
  }

  /* コンテナのz-index・position調整（絶対配置を解除） */
  /* fv .container { z-index: auto } はデザインに悪影響を及ぼすため削除 */

  /* モバイルではHTMLの<br>による強制改行を解除し、自然な折り返しに任せる */

  /* モバイル用改行の制御 */
  .sp-only {
    display: block; /* Safariでも確実に改行させるためblockを指定 */
  }

  .section-title {
    font-size: 28px;
  }

  .fv-buttons {
    flex-direction: column;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .access-inner {
    grid-template-columns: 1fr;
  }

  .access-map {
    height: 350px; /* モバイル版では高さを抑えてスクロールしやすく調整 */
  }

  /* モバイル環境では画像を大きく見せるため縦一列に */
  .concerns-grid {
    grid-template-columns: 1fr;
  }

  .concern-info h3 {
    white-space: normal; /* 折り返しを許可して画面外へのはみ出しを防止 */
    width: 100%;
    font-size: 18px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .concern-card-image {
    aspect-ratio: 16 / 9; /* モバイルでは横長にして画面占有率を抑える */
  }

  .partner-slider-track {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .partner-slider-img {
    object-fit: contain;
    background-color: #fff;
  }
}

.lead-more-btn {
  margin-top: 60px;
}

.service-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 50px;
}

.service-detail-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

.service-detail-number {
  font-size: 48px;
  font-weight: 700;
  color: #333; /* index.htmlのreason-numberに合わせて濃いグレーに変更 */
  margin-bottom: 20px;
  opacity: 0.8;
}

.service-detail-card h2 {
  font-size: 24px;
  color: #e60012;
  margin-bottom: 20px;
  font-weight: 600;
}

.service-detail-description {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 30px;
}

.service-detail-features h3,
.service-detail-benefits h3 {
  font-size: 18px;
  color: #e60012;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-detail-features ul {
  list-style: none;
  padding: 0;
}

.service-detail-features li {
  font-size: 15px;
  color: #666;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-detail-features li:before {
  content: "✓";
  color: #e60012;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-cta-wrapper { /* 事業内容詳細ページのお問い合わせボタン */
  margin-top: 80px; /* 元のバランスの良い余白に戻す */
}


/* デフォルトではモバイル用改行を隠す */
.sp-only {
  display: none;
}

/* 特定の単語の途中改行を防ぐユーティリティクラス */
.no-break {
  display: inline-block;
}

/* ==========================================================================
   メディアクエリの統合（メンテナンス性向上のため）
   ========================================================================== */

/* PC/デスクトップ向け (1025px以上) */
@media (min-width: 1025px) {
  .header-nav.open .nav-list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: static;
    width: auto;
    padding: 0;
    margin-top: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    top: auto;
    right: auto;
  }

  .header-menu-toggle,
  .nav-cta-item {
    display: none;
  }

  .header-nav .nav-list a {
    position: relative;
    padding-bottom: 4px;
  }

  .header-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e60012;
    transition: width 0.3s ease;
  }

  .header-nav .nav-list a:hover::after {
    width: 100%;
  }
}

/* タブレット/モバイル共通 (1024px以下) */
@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
  }
  .header-logo { order: 1; flex: 1; min-width: 0; margin-right: 0; }
  .header-logo a { gap: 6px; }
  .header-logo .logo { font-size: 18px; }
  .header .header-logo .logo-sub { font-size: 10px; }
  .header-logo-img { height: 32px; }

  .header-lang {
    order: 2;
    flex: none;
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .header-nav {
    order: 3;
    flex: none;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: static;
  }
  .header-cta, .header-lang-desktop { display: none; }

  .header-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 300;
  }

  .header-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    background: #fff;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 201;
    overflow: auto;
    max-height: calc(100vh - 70px);
  }

  .header .header-nav.open .nav-list {
    display: flex;
    visibility: visible;
    opacity: 1;
    border-top: 1px solid #e5e9f0;
  }

  .header-nav .nav-list li { border-bottom: 1px solid #e5e9f0; }
  .header-nav .nav-list li:last-child { border-bottom: none; }
  .header-nav .nav-list a {
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
    color: #000;
  }
  .header-nav .nav-list a::after { content: '+'; font-size: 24px; margin-left: 12px; }

  /* モバイルメニュー内のCTAボタン表示 */
  .header-nav .nav-list .nav-cta-item {
    display: block;
    border-bottom: none;
    padding: 15px 20px;
  }
  .header-nav .nav-list .nav-cta-link {
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
  }
  .header-nav .nav-list a.nav-cta-link::after { display: none; }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ向け (768px以下) */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .contact-form { padding: 20px; }
  .form-table th, .form-table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 10px 0;
  }
  .form-table th { padding-top: 20px; }

  /* タイトルユニットの調整 */
  .en-text { font-size: 32px; }
  .jp-text { font-size: 18px; }
  .title-unit { margin-bottom: 30px; }
  
  .en-text, .jp-text { line-height: 1; }
  .jp-text { margin-top: -0.5px; }

  .fv-title { font-size: 26px; }

  /* 改行・文節の制御 */
  html[lang="ja"] .reason-card p,
  html[lang="ja"] .service-detail-description {
    word-break: normal;
  }
}

/* ==========================================================================
   共通パーツ（セクションタイトル - 最終統合）
   ========================================================================== */
.title-unit {
  display: flex;
  flex-direction: column; /* 上下配置の固定 */
  align-items: center;
  text-align: center;
  margin-bottom: 90px;
}

.en-text {
  font-size: 70px;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1.1;
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
}

.jp-text {
  font-size: 35px;
  color: #666;
  margin-top: -5px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .title-unit { margin-bottom: 40px; }
  .en-text { font-size: 32px; line-height: 1.2; }
  .jp-text { font-size: 18px; margin-top: 2px; }
  .section { padding: 50px 0; }
}

/* ===== プライバシーポリシーページ用追加スタイル ===== */
.policy-container {
  max-width: 800px;
}

.policy-title {
  margin-bottom: 40px;
}

.policy-content {
  line-height: 2;
  color: #444;
}

.policy-content h2 {
  margin: 20px 0 10px;
  color: var(--primary-color);
  font-size: 1.17em;
  font-weight: bold;
}
