/* ==========================================================================
1. 変数・基本設定・リセット
========================================================================== */
:root {
/* カラーパレット */
--color-base: #f7fafc; /* 優しいオフホワイト/余白 */
--color-main: #1a365d; /* 福山デニムのような深い紺色 */
--color-accent: #d69e2e; /* 星の輝き・温かみのあるゴールド */

/* テキストカラー */
--text-dark: #333333;
--text-gray: #4b5563;
--text-light: #6b7280;

/* フォント */
--font-serif: "Noto Serif JP", serif;
--font-sans: "Noto Sans JP", sans-serif;
}

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

body {
background-color: var(--color-base);
color: var(--text-dark);
font-family: var(--font-sans); /* 本文は基本的にゴシック体 */
line-height: 1.8;
-webkit-font-smoothing: antialiased;
}

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

.sp-only {
  display: none;
}

/* スマホ用（768px以下）：表示させて改行を有効にする */
@media (max-width: 768px) {
  .sp-only {
    display: block; /* display: inline; でもOKです */
  }
}

/* 共通ユーティリティクラス */
.serif-text {
font-family: var(--font-serif);
} /* 見出しや大きな文字用 */
.sans-text {
font-family: var(--font-sans);
} /* 明示的なゴシック指定 */
.text-center {
text-align: center;
}
.text-main {
color: var(--color-main);
}
.text-accent {
color: var(--color-accent);
}
.text-white {
color: #ffffff;
}

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

.container-sm {
max-width: 800px;
margin: 0 auto 50px;
padding: 0 24px;
}

.container-sm2 {
max-width: 800px;
margin: 0 auto 0px;
padding: 0 0px;
}

.section-pad {
padding: 100px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 70px 0;
    }
}

/* ==========================================================================
2. アニメーション関連
========================================================================== */
.fade-in-up {
animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* 星空の背景パターン */
.star-pattern {
position: absolute;
inset: 0;
opacity: 1;
pointer-events: none;
background-image:
radial-gradient(
 circle at 20% 30%,
 var(--color-accent) 1px,
 transparent 1px
),
radial-gradient(
 circle at 80% 40%,
 var(--color-accent) 1px,
 transparent 1px
),
radial-gradient(
 circle at 40% 80%,
 var(--color-accent) 1px,
 transparent 1px
);
background-size: 100px 100px;
z-index: 0;
}

/* ==========================================================================
3. ファーストビュー (FV) / ヒーローセクション
========================================================================== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4.5 / 3; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* background-color: var(--color-main); */ /* 不要なら削除 */
  }
  
  /* スライドショー */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fadeSlide 10s infinite;
  z-index: 0;
  }
  
  /* pictureタグの中の画像の設定 */
  .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 比率を合わせたので、綺麗にぴったり収まります */
  }
  
  .slide:nth-child(1) {
  /* 遅延なし */
  }
  .slide:nth-child(2) {
  animation-delay: 5s;
  }
  
  @keyframes fadeSlide {
  0% { opacity: 0; }
  10% { opacity: 1; }
  50% { opacity: 1; }
  60% { opacity: 0; }
  100% { opacity: 0; }
  }

.hero-overlay {
position: absolute;
inset: 0;
z-index: 1;
}

.hero-content {
position: relative;
z-index: 10;
text-align: center;
padding: 40px 24px;
}
.hero-subtitle {
color: var(--color-accent);
font-size: 1.1rem;
letter-spacing: 0.15em;
margin-bottom: 24px;
background-color: #fff;
border-radius: 50px;
width: fit-content;
padding: 5px 30px;
margin: 0 auto 20px;
}
.hero-title {
color: #ffffff;
font-size: 2.5rem;
line-height: 1.5;
font-weight: bold;
text-shadow: 2px 2px 2px rgb(255 255 255 / 25%);
}
@media (max-width: 768px) {

  /* 👈 前回の slide:nth-child などの画像指定はすべて削除 */
  
  .hero {
  /* min-height: 60vh; */ /* 👈 削除 */
  aspect-ratio: 3 / 3.6; /* 👈 ★スマホ画像の縦横比を指定（例: 縦長めの横3:縦4なら 3 / 4 ） */
  }
  
  .hero-title br.sp-hide {
  display: none;
  }
  .hero-content {
    top: auto; /* 👈 必要に応じて文字の位置を微調整してください */
  }
  
  .hero-subtitle {
    color: var(--color-accent);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
  }
  .hero-title {
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: bold;
  }
    
  }

/* ==========================================================================
4. イントロダクション (ネイビー背景 + 画像 + 下部波)
========================================================================== */
.intro {
background-color: var(--color-main);
position: relative;
padding: 60px 0 160px; /* 下部は波の分広く取る */
text-align: center;
}
.intro-text {
color: #ffffff;
font-size: 1.4rem;
line-height: 2;
margin-bottom: 40px;
position: relative;
z-index: 10;
font-weight: 500;
}
.intro-image {
max-width: 800px;
width: 100%;
margin: 0 auto;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
position: relative;
z-index: 10;
}
.wave-bottom {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
line-height: 0;
z-index: 10;
}
.wave-bottom svg {
display: block;
width: 100%;
height: 160px;
}

@media (max-width: 768px) {
.intro-text {
font-size: 1rem;
}
.intro {
padding: 40px 0px 0px;
}
.wave-bottom svg {
height: 80px;
}
}

/* ==========================================================================
5. お悩み・共感セクション
========================================================================== */
.trouble-section {
background-color: var(--color-base);
}
.title-wrapper {
  text-align: center;
  margin: 0 auto;
}
.section-title {
font-size: 1.8rem;
font-weight: bold;
color: var(--color-main);
text-align: center;
margin-bottom: 32px;
border-bottom: 2px solid var(--color-accent);
display: inline-block;
}

.trouble-lead {
text-align: center;
margin-bottom: 60px;
color: var(--text-gray);
}
.trouble-lead p {
font-size: 1.1rem;
line-height: 2;
margin-bottom: 16px;
font-weight: 500;
}

.trouble-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin-bottom: 60px;
}

/* PC: 横並び、画像上・テキスト下 */
.trouble-card {
background: #ffffff;
overflow: hidden;
border: 1px solid #f3f4f6;
display: flex;
flex-direction: column;
}
.trouble-card img {
width: 100%;
height: auto;
object-fit: cover;
}
.trouble-card-body {
padding: 24px;
flex: 1;
}
.trouble-card-title {
font-size: 1.1rem;
font-weight: bold;
color: var(--color-main);
margin-bottom: 16px;
display: flex;
align-items: flex-start;
}
.trouble-card-title span {
color: var(--color-accent);
margin-right: 8px;
font-size: 1.2rem;
}
.trouble-card-text {
font-size: 0.95rem;
color: var(--text-gray);
text-align: justify;
}

.trouble-conclusion {
text-align: center;
margin-top: 60px;
}
.trouble-conclusion .alert-text {
color: #991b1b;
font-size: 1.2rem;
font-weight: bold;
line-height: 2;
margin-bottom: 24px;
}
.trouble-conclusion .normal-text {
font-size: 1.1rem;
color: var(--text-gray);
line-height: 2;
font-weight: 500;
}

@media (max-width: 768px) {
.trouble-grid {
grid-template-columns: 1fr;
}
.section-title {
  font-size: 1.3rem;
}
.trouble-grid {
  margin-bottom: 30px;
}
.trouble-lead p {
  font-size: 0.95rem;
}
}

/* ==========================================================================
6. 解決策の提示セクション
========================================================================== */
.solution-section {
background-color: #ffffff;
position: relative;
text-align: center;
}
/* 斜めストライプ背景 */
.solution-bg {
position: absolute;
inset: 0;
opacity: 0.05;
pointer-events: none;
background-image: repeating-linear-gradient(
45deg,
var(--color-main) 0,
var(--color-main) 1px,
transparent 0,
transparent 50%
);
background-size: 10px 10px;
}
.solution-badge {
display: inline-block;
padding: 6px 24px;
border: 1px solid var(--color-accent);
border-radius: 50px;
color: var(--color-accent);
font-size: 0.9rem;
font-weight: bold;
letter-spacing: 0.1em;
margin-bottom: 32px;
}
.solution-title {
font-size: 1.8rem;
color: var(--color-main);
line-height: 1.6;
margin-bottom: 40px;
font-weight: bold;
}
.solution-desc {
font-size: 1.2rem;
color: var(--text-gray);
line-height: 2;
margin-bottom: 48px;
}
.solution-highlight {
color: var(--color-accent);
font-weight: bold;
font-size: 1.5rem;
border-bottom: 2px solid var(--color-accent);
display: inline-block;
margin-top: 8px;
}
.solution-image {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
max-width: 800px;
width: 100%;
margin: 0 auto;
position: relative;
z-index: 10;
}
@media (max-width: 768px) {
  .solution-title {
    font-size: 1.5rem;
    color: var(--color-main);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
    }
    .solution-desc{
      line-height: 1.5;
    }
    .solution-highlight {
      margin-bottom: 10px;
    }
}
/* ==========================================================================
7. 3つのステップ セクション
========================================================================== */
.steps-section {
background-color: var(--color-main);
}
.steps-title {
color: #ffffff;
text-align: center;
font-size: 1.8rem;
line-height: 1.6;
margin-bottom: 60px;
font-weight: 500;
}

.steps-wrapper {
position: relative;
max-width: 900px;
margin: 0 auto;
}
/* 中央の線 (PC) */
@media (min-width: 769px) {

.steps-wrapper::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 2px;
background: rgba(214, 158, 46, 0.3);
z-index: 1;
}
}
/* 左側の線 (スマホ) */
@media (max-width: 768px) {
  .steps-title {
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 60px;
    }
.steps-wrapper::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 20px;
width: 2px;
background: rgba(214, 158, 46, 0.3);
z-index: 1;
}
}

.step-item {
display: flex;
position: relative;
margin-bottom: 60px;
align-items: flex-start;
z-index: 2;
}
.step-item:last-child {
margin-bottom: 0;
}

.step-number {
flex-shrink: 0;
width: 44px;
height: 44px;
border-radius: 50%;
background: var(--color-accent);
color: var(--color-main);
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.2rem;
border: 4px solid var(--color-main);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-content {
background: #ffffff;
padding: 32px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
width: 100%;
}
.step-content h3 {
font-size: 1.2rem;
font-weight: bold;
color: var(--color-main);
border-bottom: 1px solid #eee;
padding-bottom: 12px;
margin-bottom: 20px;
}
.step-content p {
margin-bottom: 16px;
color: var(--color-main);
text-align: justify;
}
.step-content img {
margin-top: 24px;
border: 1px solid #eee;
width: 100%;
}

/* PC時のレイアウト（交互） */
@media (min-width: 769px) {
.step-item {
align-items: center;
justify-content: space-between;
}
.step-item:nth-child(odd) {
flex-direction: row-reverse;
}
.step-number {
position: absolute;
left: 50%;
transform: translateX(-50%);
margin: 0;
}
.step-content {
width: calc(50% - 40px);
}
}
/* スマホ時のレイアウト */
@media (max-width: 768px) {
.step-number {
margin-right: 20px;
}
.step-content {
width: calc(100% - 64px);
padding: 20px;
}
}

/* ==========================================================================
8. おすすめの使い方 セクション
========================================================================== */
.usage-section {
background-color: var(--color-base);
}
.usage-intro {
text-align: center;
color: var(--text-gray);
margin-bottom: 48px;
}

.usage-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
}
.usage-card {
background: #ffffff;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
position: relative;
}
.usage-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.usage-body {
padding: 24px;
}
.usage-title {
font-size: 1.1rem;
font-weight: bold;
color: var(--color-main);
margin-bottom: 12px;
}
.usage-text {
font-size: 0.9rem;
color: var(--text-light);
}

/* バッジ */
.badge {
position: absolute;
top: 16px;
right: 16px;
padding: 4px 12px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: bold;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.badge-popular {
background: var(--color-accent);
color: #ffffff;
}
.badge-gift {
background: #1A365D;
color: #fff;
}

@media (max-width: 768px) {
.usage-grid {
grid-template-columns: 1fr;
}
}

/* ==========================================================================
9. 商品の特徴・詳細 セクション
========================================================================== */
.product-section {
background-color: #ffffff;
border-top: 1px solid #f3f4f6;
}
.product-list {
display: flex;
flex-direction: column;
gap: 32px;
}

.product-item {
display: flex;
border: 1px solid #e5e7eb;
padding: 32px;
align-items: center;
}
.product-image {
width: 30%;
flex-shrink: 0;
margin-right: 32px;
}
.product-image img {
}
.product-info {
flex: 1;
}
.product-title {
font-size: 1.3rem;
font-weight: bold;
color: var(--color-main);
margin-bottom: 12px;
}
.product-size {
font-size: 0.85rem;
color: var(--text-light);
margin-bottom: 8px;
display: block;
}
.product-desc {
color: var(--text-gray);
margin-bottom: 16px;
}
.product-price {
font-size: 1.5rem;
font-weight: bold;
color: var(--color-accent);
}
.product-price span {
font-size: 0.9rem;
font-weight: normal;
color: var(--text-light);
margin-left: 4px;
}
.product-note {
font-size: 0.75rem;
color: #9ca3af;
margin-top: 4px;
}

@media (max-width: 768px) {
.product-item {
flex-direction: column;
text-align: center;
padding: 24px;
}
.product-image {
width: 60%;
margin:0 auto;
margin-bottom: 5px;
}

.product-title {
  margin-bottom: 0px;
  font-size: 1.2rem;
  }
  .product-desc {
    margin-bottom: 10px;
}
.product-note {
  margin-top: 0px;
}
}

/* 素材・納期ボックス */
.spec-box {
background: var(--color-main);
color: #ffffff;
padding: 32px;
margin-top: 48px;
}
.spec-row {
display: flex;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
padding: 16px 0;
align-items: baseline;
}
.spec-row:last-child {
border-bottom: none;
}
.spec-dt {
width: 100px;
flex-shrink: 0;
color: var(--color-accent);
font-weight: bold;
}
.spec-dd {
flex: 1;
}

@media (max-width: 768px) {
.spec-row {
flex-direction: column;
}
.spec-dt {
margin-bottom: 8px;
}
}

/* ==========================================================================
10. お客様の声 セクション
========================================================================== */
.voice-section {
background-color: var(--color-base);
}
.voice-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}
.voice-card {
background: #ffffff;
padding: 32px;
position: relative;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.voice-quote {
position: absolute;
top: -15px;
left: -10px;
font-size: 4rem;
color: var(--color-accent);
opacity: 0.2;
font-family: var(--font-serif);
line-height: 1;
pointer-events: none;
}
.voice-text {
font-size: 0.95rem;
color: var(--text-gray);
margin-bottom: 16px;
text-align: justify;
}
.voice-author {
font-size: 0.8rem;
color: var(--text-light);
text-align: right;
}

@media (max-width: 768px) {
.voice-grid {
grid-template-columns: 1fr;
}
.voice-section{
  padding-bottom: 0px !important;
}
}

/* ==========================================================================
11. 自己紹介 セクション
========================================================================== */
.profile-section {
background-color: #ffffff;
border-top: 1px solid #f3f4f6;
}
.profile-wrapper {
display: flex;
gap: 40px;
align-items: flex-start;
}
.profile-image {
width: 350px;
flex-shrink: 0;
}
.profile-image img {
border: 4px solid var(--color-base);
}
.profile-info {
flex: 1;
}
.profile-name {
font-size: 1.3rem;
font-weight: bold;
color: var(--color-main);
margin-bottom: 4px;
}
.profile-role {
font-size: 0.9rem;
color: var(--color-accent);
font-weight: bold;
margin-bottom: 24px;
display: block;
}
.profile-text p {
margin-bottom: 16px;
color: var(--text-gray);
text-align: justify;
}

/* 経歴エリア */
.profile-history {
margin-top: 32px;
padding-top: 24px;
border-top: 1px solid #eee;
}
.profile-history h4 {
font-size: 0.9rem;
font-weight: bold;
margin-bottom: 12px;
color: var(--text-dark);
}
.profile-history ul {
list-style-type: disc;
padding-left: 20px;
font-size: 0.85rem;
color: var(--text-light);
}
.profile-history li {
margin-bottom: 8px;
}

@media (max-width: 768px) {
.profile-wrapper {
flex-direction: column;
align-items: center;
}
.profile-image {
width: 250px;
}
.profile-name {
  text-align: center;
}
.profile-role {
  text-align: center;
}
}

/* ==========================================================================
12. CTA (フォーム誘導) & フッター
========================================================================== */
.cta-section {
background-color: var(--color-main);
padding: 200px 0 100px;
position: relative;
text-align: center;
}
.wave-top {
position: absolute;
top: 0;
left: 0;
width: 100%;
line-height: 0;
transform: rotate(180deg);
z-index: 10;
}
.wave-top svg {
display: block;
width: 100%;
height: 160px;
}

.cta-content {
position: relative;
z-index: 20;
padding: 0 24px;
}
.cta-title {
color: #ffffff;
font-size: 1.8rem;
line-height: 1.6;
font-weight: bold;
margin-bottom: 32px;
}
.cta-note {
color: #d1d5db;
font-size: 0.95rem;
margin-bottom: 40px;
}

.btn-cta {
display: inline-block;
background-color: var(--color-accent);
color: #ffffff;
padding: 24px 48px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
font-size: 1.2rem;
box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
transition:
transform 0.2s,
box-shadow 0.2s,
background-color 0.2s;
}
.btn-cta:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(214, 158, 46, 0.6);
background-color: #c79025;
}
.btn-cta span {
display: block;
font-size: 0.85rem;
font-weight: normal;
margin-top: 8px;
opacity: 0.9;
}

@media (max-width: 768px) {
.wave-top svg {
height: 80px;
}
.cta-title {
font-size: 1.3rem;
}
.btn-cta {
padding: 20px 32px;
font-size: 1rem;
}
}

.footer {
background-color: #111827;
color: #9ca3af;
text-align: center;
padding: 32px;
font-size: 0.85rem;
}

/* ==========================================================================
   固定フローティング購入ボタン
========================================================================== */
.floating-buy-btn {
  /* 画面下部に固定配置 */
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999; /* 他の要素より上に表示 */
  
  /* サイズ・レイアウト */
  width: 90%;
  max-width: 360px; /* PCで見ても大きくなりすぎないように */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 32px;
  
  /* スタイリッシュな装飾 */
  background: var(--color-main);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px; /* 角丸のピル型 */
  border: 1px solid var(--color-accent); /* ゴールドの細いフチ */
  box-shadow: 0 10px 25px rgba(26, 54, 93, 0.4); /* ふんわりとした影 */
  
  /* アニメーション設定 */
  transition: all 0.3s ease;
}

/* 文字のスタイル（明朝体で高級感を演出） */
.floating-buy-btn .btn-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

/* スタイリッシュな矢印 */
.floating-buy-btn .btn-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* PC等でのホバー（マウスカーソルを乗せた時）の動き */
.floating-buy-btn:hover {
  transform: translateX(-50%) translateY(-4px); /* 少し上に浮く */
  box-shadow: 0 15px 30px rgba(214, 158, 46, 0.3); /* 影がゴールドっぽく広がる */
  background-color: #112543; /* 少し暗くする */
}

.floating-buy-btn:hover .btn-arrow {
  transform: rotate(45deg) translate(2px, -2px); /* 矢印が右上に少し動く */
}

/* ==========================================================================
   スマホ向け微調整
========================================================================== */
@media (max-width: 768px) {
  .floating-buy-btn {
    bottom: 20px; /* スマホでは少し下げる */
    padding: 14px 24px;
    width: 85%;
  }
  
  .floating-buy-btn .btn-text {
    font-size: 1rem; /* スマホ用に文字を少し小さく */
  }
}

/* ==========================================================================
   ハンバーガーボタン
========================================================================== */
.hamburger-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1001; /* メニューより上に配置 */
  width: 50px;
  height: 50px;
  background-color: var(--color-main);
  border: 1px solid var(--color-accent);
  border-radius: 50%; /* スタイリッシュな丸型 */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px; /* 線の間隔 */
  box-shadow: 0 4px 10px rgba(26, 54, 93, 0.3);
  transition: all 0.3s ease;
}

/* 3本線のスタイル */
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* ホバー時の微細なアニメーション */
.hamburger-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(214, 158, 46, 0.4);
}

/* === ボタンがクリックされた時（×印になる動き） === */
.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0; /* 真ん中の線を消す */
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ==========================================================================
   ナビゲーションメニュー（全画面オーバーレイ）
========================================================================== */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* 背景を紺色の半透明に（スタイリッシュな透け感） */
  background-color: rgba(26, 54, 93, 0.95); 
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

/* === メニューが開いた時 === */
.global-nav.is-active {
  opacity: 1;
  visibility: visible;
}

.nav-list {
  list-style: none;
  text-align: center;
  padding: 0;
}

.nav-list li {
  margin-bottom: 32px;
  /* 下からふわっと浮き上がるアニメーション準備 */
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* メニューが開いた時にリスト項目を表示 */
.global-nav.is-active .nav-list li {
  transform: translateY(0);
  opacity: 1;
}

/* 項目ごとの表示タイミングを少しずらして高級感を出す */
.global-nav.is-active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.global-nav.is-active .nav-list li:nth-child(2) { transition-delay: 0.2s; }
.global-nav.is-active .nav-list li:nth-child(3) { transition-delay: 0.3s; }
.global-nav.is-active .nav-list li:nth-child(4) { transition-delay: 0.4s; }
.global-nav.is-active .nav-list li:nth-child(5) { transition-delay: 0.5s; }
.global-nav.is-active .nav-list li:nth-child(6) { transition-delay: 0.6s; }
.global-nav.is-active .nav-list li:nth-child(7) { transition-delay: 0.7s; }
.global-nav.is-active .nav-list li:nth-child(8) { transition-delay: 0.8s; }

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  position: relative;
  transition: color 0.3s ease;
}

/* リンクにホバーした時、文字がゴールドになり下線が引かれる */
.nav-list a:hover {
  color: var(--color-accent);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}
.nav-list a:hover::after {
  width: 100%;
}

/* スマホ用の微調整 */
@media (max-width: 768px) {
  .hamburger-btn {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  .nav-list a {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   スクロール表示アニメーション
========================================================================== */
/* ① 初期状態：透明にして、30px下にずらしておく */
.js-scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease; /* 0.8秒かけて変化させる */
}

/* ② 画面内に入ってクラスが付与された時の状態：透明度100%になり、元の位置に戻る */
.js-scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   無限スクロールスライダー
========================================================================== */
.infinite-slider-section {
  width: 100%;
  overflow: hidden; /* 画面外にはみ出た部分を隠す */
  background-color: var(--color-base); /* 背景色はお好みで調整 */
  padding-top: 0px !important;
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: max-content; /* 中身の画像サイズに合わせて幅を広げる */
  /* 30秒かけて左端から-50%（1セット目と2セット目の境目）まで等速で移動し、一瞬で0に戻るループ */
  animation: infiniteScroll 30s linear infinite; 
}

/* ホバーでスクロールを一時停止させたい場合は以下のコメントアウトを外す */
/* .slider-track:hover {
  animation-play-state: paused;
} */

.slide-item {
  width: 25vw; /* PC: 画面幅(vw)の25% = 横に4つ並ぶ */
  flex-shrink: 0; /* 画像が縮むのを防ぐ */
  padding: 0 8px; /* 画像と画像の間の余白（左右に8pxずつ） */
}

.slide-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* 画像の縦横比を揃える（例: 横4対縦3）。正方形なら 1 / 1 */
  object-fit: cover;
}

/* アニメーションの動き */
@keyframes infiniteScroll {
  0% {
    transform: translateX(0); /* 初期位置 */
  }
  100% {
    transform: translateX(-50%); /* 全体のちょうど半分（1セット目）まで移動したらリセット */
  }
}

/* ==========================================================================
   スマホ向け微調整
========================================================================== */
@media (max-width: 768px) {
  .slide-item {
    width: 100vw; /* SP: 画面幅(vw)の100% = 横に1つだけ表示される */
    padding: 0 16px; /* スマホ時の余白 */
  }
  
  .slider-track {
    /* SPだと移動距離が長くなるため、スピードを調整 */
    animation: infiniteScroll 60s linear infinite;
  }
}

/* ==========================================================================
   コンタクトフォームのデザイン
========================================================================== */
.contact-form-wrapper {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.05); /* うっすらとした影 */
}

.form-group {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--color-main);
}

/* 必須マーク */
.required {
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* 入力欄のデザイン */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: var(--color-base);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-textarea {
  min-height: 150px;
}

/* フォーカス（入力中）時のデザイン */
.wpcf7-form-control:focus {
  border-color: var(--color-accent);
  outline: none;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(214, 158, 46, 0.2);
}

/* ラジオボタンのレイアウト調整 */
.radio-wrap .wpcf7-list-item {
  display: inline-block;
  margin-right: 24px;
  margin-bottom: 8px;
}

/* 送信ボタン */
.form-submit-wrap {
  margin-top: 48px;
}

.wpcf7-submit.btn-submit {
  background-color: var(--color-main);
  color: #ffffff;
  border: 1px solid var(--color-accent);
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  font-family: var(--font-serif);
}

.wpcf7-submit.btn-submit:hover {
  background-color: #112543;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(214, 158, 46, 0.3);
}

/* スマホ向け微調整 */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 24px 16px;
  }
  .wpcf7-submit.btn-submit {
    max-width: 100%;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}