/* ===================================================
   Mode1 POCKET LP - style.css
   =================================================== */

/* リセット＆基本設定 */
:root {
  --color-bg: #0a0a0a;
  --color-text: #fff;
  --color-accent: #d42a2a;
  --color-muted: #999;
  --color-panel: #141414;
  --container-max: 1280px;
  --radius: 10px;
  --transition: 0.4s ease;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: url("../../images/md07p/Mode1_Pocket_WEB_BG_PC.webp") no-repeat center center fixed; /* ← 背景画像設定 */
  background-size: cover;  /* 画面いっぱいに拡大縮小 */
  line-height: 1.6;
  scroll-behavior: smooth;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, li { list-style: none; margin: 0; padding: 0; }


/* 汎用 */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}
.accent { color: var(--color-accent); }
.kpi { font-size: 42px; color: #DFC69E; }
.unit { font-size: 1rem; color: var(--color-text); }





/* PCヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10,10,10,0.9);
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  z-index: 100;
}

.header-inner {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 36px;
}

.main-nav ul {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-weight: 500;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--color-accent);
}

.btn {
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.btn:hover {
  background: #b61f1f;
}

/* PCではハンバーガーを非表示 */
.nav-toggle {
  display: none;
}

/* 表示制御 */
.sp_only { display: none !important; }
.pc_only { display: block !important; }



@media (max-width: 768px) {

  /* ヘッダー */
  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #000;
    display: flex;
    justify-content: space-between; /* ロゴとアイコンを左右配置 */
    align-items: center;             /* 高さを中央揃え */
    padding: 0 16px;
    z-index: 3000;
  }

  .mobile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .mobile-logo img {
    width: 200px;
    display: block;
  }

  /* ハンバーガーボタン */
 .nav-toggle {
    display: flex !important;      /* ← PC用 display:none を確実に上書き */
    position: absolute;            /* ← 相対ではなく固定位置に変更 */
    top: 50%;                      /* ← 高さ中央 */
    right: 16px;                   /* ← 右端から16px */
    transform: translateY(-50%);   /* ← 中央揃え */
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    z-index: 4000;                 /* ← メニューより上 */
  }

  /* 三本線 */
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger::before {
    transform: translateY(-8px);
  }

  .hamburger::after {
    transform: translateY(8px);
  }

  /* × 変形時 */
  .nav-toggle.active .hamburger {
    transform: rotate(45deg);
  }

  .nav-toggle.active .hamburger::before {
    transform: rotate(-90deg);
    top: 0;
  }

  .nav-toggle.active .hamburger::after {
    opacity: 0;
  }

  /* モバイルナビ（全画面メニュー） */
  .mobile-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 2000;
    overflow-y: auto;
  }

  .mobile-nav.open {
    transform: translateY(0);
  }

  /* ナビ内部配置 */
  .mobile-nav-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 24px;
    padding: 3vh 12px;
  }

  .mobile-menu-logo {
   width: 120px;
    display: block;
  }

  /* メニューリスト */
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
  }

  .mobile-nav li {
    margin: 16px 0;
  }

  .mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  /* 赤ボタン */
  .btn-red {
    display: inline-block;
    background: #d42a2a;
    color: #fff;
    padding: 12px 32px;
    border-radius: 6px;
    margin-top: 12px;
  }

  /* サポートエリア */
  .support {
    text-align: center;
    margin-top: 40px;
  }

  .support h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .support p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 16px;
  }

  /* TEL・Mailボタン */
  .btn-outline {
    display: block;
    width: 180px;
    margin: 10px auto;
    padding: 12px 0;
    border: 1px solid #fff;
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }

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

  /* 表示制御（SP優先） */
  .sp_only { display: block !important; }
  .pc_only { display: none !important; }
}

/* ===== スマホナビ内 SNSアイコン ===== */
@media (max-width: 768px) {
  .mobile-social {
    display: flex;
    justify-content: center;    /* 中央寄せ */
    align-items: center;
    gap: 20px;                  /* アイコン間の余白 */
    margin-top: 20px;           /* 上のMailボタンとの間隔 */
  }

  .mobile-social a {
    color: #fff;                /* 白アイコン（背景黒に映える） */
    font-size: 1.4rem;          /* タップしやすいサイズ */
    transition: color 0.3s ease;
  }

  .mobile-social a:hover {
    color: #d42a2a;             /* ホバーで赤く */
  }
}

/* =========================================
   ナビ上部ヘッダー行（ロゴ＋✕）
   ========================================= */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 64px;               /* ヘッダーと同じ高さ */
  padding: 0 16px;
  box-sizing: border-box;
  position: relative;
  border-bottom: 1px solid #222; /* 下に軽いライン */
}

/* ロゴ部分 */
.mobile-nav-header .mobile-menu-logo {
  width: 200px;
  height: auto;
  display: block;
  margin-left: calc(50% - 90px); /* ← ロゴ幅120pxの半分を引いて中央寄せ */
  transition: transform 0.3s ease;
}
/* ✕ボタン */
.nav-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ✕の見た目 */
.nav-close::before,
.nav-close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.nav-close::before {
  transform: rotate(45deg);
}

.nav-close::after {
  transform: rotate(-45deg);
}

.nav-close:hover::before,
.nav-close:hover::after {
  background: #d42a2a;
}








/* Hero */
.hero {
  background-color: #000;       /* ← 黒背景を設定 */
  display: flex;
  justify-content: center;      /* 画像を中央寄せ */
  align-items: center;
  overflow: hidden;
}
.hero img {
  width: 100%;
  max-width: 1920px;            /* ← 最大幅1920pxに制限 */
  height: auto;
  display: block;
}
.sp_only{
    display: none !important;
}
@media (max-width:767px) {
    .sp_only{
        display: block !important;
    }
    .pc_only{
        display: none !important;
    }
}



/* ===== Hero下のゆらゆら矢印 ===== */
.scroll-down {
  position: absolute;
  bottom: 30px;               /* 画像下から少し上に配置 */
  left: 50%;
  transform: translateX(-50%);
  color: #DFC69E;
  font-size: 2rem;
  text-decoration: none;
  animation: arrowFloat 2s ease-in-out infinite;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-down:hover {
  opacity: 1;
}

/* ゆらゆら上下アニメーション */
@keyframes arrowFloat {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}






/* Feature Navigation Section */
.feature-nav {
  padding: 40px 0;
  overflow: visible; /* 拡大時の見切れ防止 */

  /* 背景を全幅に広げる */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* 横スクロール設定 */
.feature-nav-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overflow-y: visible;

  /* 画像開始位置コンテンツ幅1280px基準 */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: none;
  padding-left: calc((100vw - 1280px) / 2);
  padding-right: 400px;
  box-sizing: border-box;
}

/* スクロールバー非表示 */
.feature-nav-list::-webkit-scrollbar {
  display: none;
}
.feature-nav-list {
  scrollbar-width: none;
}


/* 各アイテム設定 */
.feature-nav-list li {
  flex: 0 0 auto;
  width: 450px;
  height: 400px;
  margin: 24px 0;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}

.feature-nav-list a {
  display: block;
  height: 100%;
  transition: transform 0.3s ease;
}

/* 画像設定 */
.feature-nav-list img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* ホバー時アニメーション（見切れなし） */
.feature-nav-list li:hover {
  z-index: 10;
}
.feature-nav-list img:hover {
  transform: scale(1.05);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .feature-nav-list {
    gap: 40px;
    padding-left: calc((100vw - 1024px) / 2);
    padding-right: 40px;
  }

  .feature-nav-list li {
    width: 320px;
    height: 380px;
  }
}

@media (max-width: 768px) {
  .feature-nav-list {
    gap: 0;
    padding: 0px 20px;
  }

  .feature-nav-list li {
    height: auto;
    width: 240px;
    margin: 0px 0; 
  }
}










/* 動画 */
.video {
  background: #000; 
  padding: 100px 0; 
}

.video .ratio-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}

.video-comingsoon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 640px; 
  background-color: #111;
  border: 1px solid #333;
  color: #dfc69e;
  font-size: 2rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}


/* Features */
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.feature-row.reverse {
  flex-direction: row-reverse;
}
.feature-text {
  flex: 1;
  min-width: 280px;
}
.feature-text h2 {
  margin-bottom: 40px;
}
.feature-media {
  flex: 1;
  min-width: 280px;
}
.bullets { margin-top: 12px; }
.bullets li::before {
  content: "・";
  margin-right: 4px;
}

/* サイズ＆デザインセクション */
.feature-display {
   padding: 100px 0;
}


 画像 */
.image-top {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-top img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* テキスト */
.text {
  flex: 1;
  color: #ccc;
}

.text h2 {
  color: #DFC69E;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: left;
}

.text p {
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
  color: #ccc;
}

/* スマホレイアウト */
@media (max-width: 768px) {
  .display-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .text {
    display: contents; 
  }

  .text h2 {
    order: 1;
    text-align: center;
    font-size: 1.5rem;
  }

  .image-top {
    order: 2;
    width: 100%;
  }

  .text p {
    order: 3;
    text-align: left;
    font-size: 0.95rem;
  }
}













/* ディスプレイセクション */
.feature-display {
  padding: 100px 0;
}

.display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 60px;
  align-items: start;
  grid-template-areas:
    "image-top text"
    "image-bottom-left image-bottom-right";
}

.image-top         { grid-area: image-top; }
.text              { grid-area: text; }
.image-bottom-left { grid-area: image-bottom-left; }
.image-bottom-right{ grid-area: image-bottom-right; }

.grid-item img {
  width: 100%;
  border-radius: 0;
  display: block;
  object-fit: cover;
}

/* 上段テキスト中央寄せ */
.grid-item.text {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

.grid-item.text h2 {
  color: #DFC69E;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.grid-item.text p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
}

/* 下段（PCでは高さ揃え） */
.image-bottom-left img,
.image-bottom-right img {
  height: 100%;
  object-fit: cover;
}

.image-bottom-left,
.image-bottom-right {
  display: flex;
  align-items: stretch;
}

/* スマホ表示（768px以下） */
@media (max-width: 768px) {
  .display-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
    grid-template-areas:
      "text text"                  
      "image-top image-top"        
      "image-bottom-left image-bottom-right"; 
  }

  .grid-item.text {
    align-self: start;
    justify-content: flex-start;
  }

  .grid-item img {
    height: auto;
  }
}



/* Feature Display Section - 修正版 */

/* セクション全体 */
.feature-display {
  padding: 100px 0;
  max-width: 1280px;
  margin: 0 auto;
}

/* グリッドレイアウト（PC） */
.display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 60px;
  align-items: start;
  grid-template-areas:
    "image-top text"
    "image-bottom-left image-bottom-right";

  width: 100%;
  max-width: none;
  margin: 0;
}

/* エリア指定 */
.image-top         { grid-area: image-top; }
.text              { grid-area: text; }
.image-bottom-left { grid-area: image-bottom-left; }
.image-bottom-right{ grid-area: image-bottom-right; }

/* 画像共通 */
.grid-item img {
  width: 100%;
  border-radius: 0;
  display: block;
  object-fit: cover;
}

/* 上段テキスト中央寄せ */
.grid-item.text {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

.grid-item.text h2 {
  color: #DFC69E;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.grid-item.text p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
}

/* 下段画像（高さ揃え） */
.image-bottom-left img,
.image-bottom-right img {
  height: 100%;
  object-fit: cover;
}

.image-bottom-left,
.image-bottom-right {
  display: flex;
  align-items: stretch;
}

/* スマホ（768px以下） */
@media (max-width: 768px) {
  .display-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
    grid-template-areas:
      "text text"
      "image-top image-top"
      "image-bottom-left image-bottom-right";
  }

  .grid-item.text {
    align-self: start;
    justify-content: flex-start;
  }

  .grid-item img {
    height: auto;
  }
    /* すべての特徴セクションに統一 */
  .features .container,
  .feature-display,
  .feature-camera .container,
  .feature-battery .container,
  .feature-dsdv .container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}


/* DSDVセクション */
.feature-dsdv {
  padding: 100px 0;
  text-align: center;
}

/* コンテンツの最大幅を統一 */
.feature-dsdv .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* タイトル・説明文 */
.feature-dsdv .dsdv-text {
  margin-bottom: 40px;
}

.feature-dsdv h2 {
  font-size: 2rem;
  color: #DFC69E;
  margin-bottom: 16px;
  line-height: 1.5;
}

.feature-dsdv p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
}

/* 画像 */
.feature-dsdv .dsdv-image {
  width: 100%;
}

.feature-dsdv .dsdv-image img {
  width: 100%;          /* ← コンテナ幅にフィット */
  height: auto;         /* ← 縦比率を維持 */
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}






/* バッテリーセクション（共通） */
.feature-battery {
  padding: 100px 0;
}

.battery-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* 左：大画像 */
.battery-left {
  flex: 1;
}

.battery-left img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 右：タイトル＋説明＋小画像 */
.battery-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.battery-right h2 {
  color: #DFC69E;
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: left;
}

.battery-right p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

.battery-icons img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* スマホレイアウト */
@media (max-width: 768px) {
  .battery-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  /* flatten化して順序を制御できるようにする */
  .battery-right {
    display: contents;
  }

  /* 並び順：タイトル → 大画像 → 小画像 → 説明文 */
  .battery-right h2 {
    order: 1;
    text-align: center;
    font-size: 1.5rem;
  }

  .battery-left {
    order: 2;
    width: 100%;
  }

  .battery-icons {
    order: 3;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .battery-right p {
    order: 4;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
  }
}





/* Camera Swiper */
.feature-camera {
  padding: 100px 0;
}

/* スライダー全体 */
.camera-swiper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 60px;
  border-radius: 0px;
  overflow: hidden;
  background: #000;
}

/* 各スライド */
.camera-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: #000; 
  height: auto;           
}

.camera-swiper .swiper-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 500px; 
  object-fit: contain; 
  display: block;
  margin: 0 auto;
  border-radius: 0px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .camera-swiper .swiper-slide img {
    max-height: 320px;
  }
}

/* ナビゲーション矢印 */
.swiper-button-prev,
.swiper-button-next {
  color: #DFC69E; 
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #fff;    
  opacity: 1;      
}

/* ページネーション（ドット） */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.4;
}
.swiper-pagination-bullet-active {
  background: #DFC69E;
  opacity: 1;
}

/* 下段：テキスト＋画像 */
.camera-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.camera-text {
  flex: 1;
  color: #ccc;
}

.camera-text h2 {
  color: #DFC69E;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.camera-text p {
  font-size: 1rem;
  line-height: 1.8;
}

.camera-image {
  flex: 1;
  text-align: center;
}

.camera-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .camera-swiper {
    height: 320px;
  }
  .camera-detail {
    flex-direction: column;
  }
  .camera-text h2 {
    text-align: center;
    font-size: 1.5rem;
  }
  .camera-image {
    margin-top: 24px;
  }
}
/* スマホレイアウト（768px以下） */
@media (max-width: 768px) {
  /* 既存: スライダー高さ調整 */
  .camera-swiper {
    height: auto;
    max-height: 320px;
  }

  /* 下段要素を縦並びにして順番を再定義 */
  .camera-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* 並び順 */
  .camera-text h2 {
    order: 1; /* タイトル最初 */
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .camera-swiper {
    order: 2; /* スライダー2番目 */
  }

  .camera-image {
    order: 3; /* カメラ画像3番目 */
    text-align: center;
  }

  .camera-text p {
    order: 4; /* 説明文最後 */
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
  }
}


/* Camera Gallery 矢印・ドット色カスタマイズ */

/* ▼ 矢印ボタン */
.feature-camera .swiper-button-prev,
.feature-camera .swiper-button-next {
  color: #DFC69E !important;
  background: none !important;
  width: 44px;
  height: 44px;
}

.feature-camera .swiper-button-prev:hover,
.feature-camera .swiper-button-next:hover {
  color: #fff !important;
  opacity: 1;
}

.feature-camera .swiper-pagination-bullet {
  background: #DFC69E !important;
  opacity: 0.4;
}

.feature-camera .swiper-pagination-bullet-active {
  background: #DFC69E !important;
}




/* カメラ・カラーバリエーション共通モーダル設定 */

/* カメラモーダル */
.gallery-modal {
  display: none;
  position: fixed !important;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.gallery-modal.open { display: flex !important; }
.gallery-modal img {
  display: block;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.gallery-modal .close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 1000000;
}
.gallery-modal .close:hover { opacity: 0.7; }

/* カラーバリエーションモーダル */
.color-modal {
  display: none;
  position: fixed !important;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.color-modal.open { display: flex !important; }
.color-modal img {
  display: block;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* 閉じるボタン */
.color-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 1000000;
}
.color-modal .modal-close:hover { opacity: 0.7; }

/* 矢印 */
.color-modal .modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.color-modal .modal-arrow:hover { opacity: 0.7; }
.color-modal .modal-arrow.prev { left: 24px; }
.color-modal .modal-arrow.next { right: 24px; }

/* スマホ対応 */
@media (max-width: 768px) {
  .gallery-modal img,
  .color-modal img {
    max-width: 95vw;
    max-height: 85vh;
  }
  .gallery-modal .close,
  .color-modal .modal-close {
    top: 10px;
    right: 16px;
    font-size: 32px;
  }
  .color-modal .modal-arrow {
    font-size: 36px;
  }
}












/* カラーバリエーション */
.color-variation {
  background: #F9F9F9;
  color: #111;
  text-align: center;
  padding: 100px 0;
  width: 100vw;                 /* ビューポート幅いっぱい */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;           /* コンテンツ中央基準を打ち消す */
  margin-right: -50vw;
}

.color-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.color-desc {
  font-size: 1rem;
  color: #333;
  text-align: center;
  margin: -40px auto 60px; /* 見出しとの間隔を調整 */
  line-height: 1.8;
  max-width: 800px; /* 長文でも読みやすい幅に制限 */
}

/* カラー横並び */
.color-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.color-block {
  flex: 1 1 45%;
  text-align: center;
}
.color-block h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: .1em;
}

/* スライダー */
.color-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 500px;
  height: 500px;
  margin: 0 auto;
  background: #f9f9f9;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
}
.slide-track {
  display: flex;
  height: 100%;
  transform: translateX(0);
  transition: transform .5s ease;
}
.slide-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s ease;
}
.slide-track img:hover { transform: scale(1.05); }

/* 矢印ボタン */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s;
  z-index: 2;
}
.arrow:hover { background: rgba(0,0,0,.7); }
.arrow.prev { left: 10px; }
.arrow.next { right: 10px; }

/* ドットナビ */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform .2s, background .2s;
}
.dots button.active {
  background: #111;
  transform: scale(1.2);
}


/* スマホ対応 */
@media (max-width: 768px) {
  .color-row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
    .color-desc {
    font-size: 0.95rem;
    color: #444;
    margin: -20px auto 40px;
    padding: 0 16px;
  }  
  .color-slider {
    width: 320px;
    height: 320px;
  }
  .arrow {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
  .modal-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
}












/* Specs */
.specs.dark {
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
  padding: 40px 0;
}

/* 中央寄せブロック */
.specs-block {
  max-width: 640px;
  margin: 0 auto 80px;
  text-align: left;
}

/* PC版 */
.specs-list.single {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  position: relative;
}

.specs-list.single dt,
.specs-list.single dd {
  position: relative;
  padding: 12px 0;
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}

/* 行全体で1本の線を引く */
.specs-list.single dd::after {
  content: "";
  position: absolute;
  left: -220px; /* dtの幅分ずらす */
  bottom: 0;
  width: calc(100% + 220px);
  height: 1px;
  background-color: #1c1c1c;
}

.specs-list.single dt {
  font-weight: 700;
  color: #DFC69E;
  padding-right: 16px;
  white-space: nowrap;
}

.specs-list.single dd {
  color: #ccc;
  padding-left: 16px;
}

/* 注意書き */
.specs-block .small-muted {
  font-size: 13.6px;
  line-height: 1.7;
  color: #888;
  text-align: left;
  white-space: normal;
  margin-top: 20px;
}

/* カタログバナー */
.catalog-banner-wrapper {
  text-align: center;
  margin-top: 80px;
}

.catalog-banner img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.catalog-banner:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.catalog-banner-wrapper .small-muted {
  margin-top: 10px;
  color: #777;
}

/* スマホ版（1ブロック化） */
@media (max-width: 768px) {
  .specs-list.single {
    display: block;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
  }

  .specs-list.single dt,
  .specs-list.single dd {
    display: block;
    width: 100%;
    padding: 8px 0;
    font-size: 15px;
  }

  .specs-list.single dt::after,
  .specs-list.single dd::after {
    content: none; /* PC用線を消す */
  }

  .specs-list.single dd {
    border-bottom: 1px solid #1c1c1c;
    padding-bottom: 16px;
    margin-bottom: 8px;
  }

  .specs-list.single dt {
    color: #DFC69E;
    font-weight: 700;
    margin-top: 8px;
  }

  .catalog-banner img {
    max-width: 320px;
  }
}








/* Catalog CTA */
.catalog-cta {
  margin-top: 24px;
}









/* FAQ（白背景・テキスト中央寄せ・自然な余白） */
.faq {
  background: #f9f9f9;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px 0;
  color: #222;
}

/* コンテンツ幅制限 */
.faq-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 見出し */
.faq .section-title {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 60px;
  color: #000;
}

/* 質問項目 */
.faq-item {
  border-top: 1px solid #ddd;
  padding: 20px 0;
  cursor: pointer;
  background: #fff;
  transition: background 0.1s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid #ddd;
}

.faq-item:hover {
  background: #f3f3f3;
}

/* 質問部分 */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
  padding: 0 16px;
}

/* 丸アイコン（トグル） */
.faq-toggle {
  width: 28px;
  height: 28px;
  border: 2px solid #bbb;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* ＋マーク */
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #666;
  transition: all 0.3s ease;
}

.faq-toggle::before {
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

/* 開いたとき（－になる） */
.faq-item.active .faq-toggle {
  border-color: #DFC69E;
  background: #DFC69E;
}

.faq-item.active .faq-toggle::after {
  height: 0;
}

.faq-item.active .faq-toggle::before {
  background: #111;
}

/* 回答部分 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1.s ease-in-out, opacity 0.6s ease-in-out;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 12px;
  padding: 0 16px;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  opacity: 1;
}

/* 回答内テキストの余白 */
.faq-answer p {
  margin-bottom: 1.2em;
}

/* ゴールドボタン */
.faq-answer .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #dfc69e, #c3b081);
  color: #111;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-answer .cta:hover {
  background: linear-gradient(135deg, #e5d2a9, #d2be90);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.faq-answer .cta:active {
  transform: translateY(0);
  box-shadow: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .faq {
    padding: 80px 0;
  }
  .faq-inner {
    padding: 0 16px;
  }
  .faq-question {
    font-size: 1rem;
    padding: 0 12px;
  }
  .faq-answer {
    font-size: 0.9rem;
    padding: 0 12px;
  }
  .faq-toggle {
    width: 24px;
    height: 24px;
  }
}
















/* Footer */
.footer {
  background: #000;
  color: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 0 40px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 内側コンテンツ */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 左・中央 */
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-size: 0.95rem;
}

.footer-col a:hover {
  opacity: 0.7;
}

.contact-title {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #bbb;
}

/* Mode1サポートセンター・電話・メール統一 */
.contact-center,
.contact-tel,
.contact-mail {
  font-size: 1.8rem;            /* 完全同サイズ */
  font-weight: 700;
  line-height: 1.6;             /* 均等な高さに調整 */
  margin: 10px 0;
  color: #fff;
  letter-spacing: 0.02em;       /* 微妙な詰まりを解消 */
}

/* 余白バランス調整 */
.contact-center {
  margin-top: 4px;
  margin-bottom: 12px;
}

/* 電話・メールリンク */
.contact-tel a,
.contact-mail a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  font-weight: inherit;         /* ← 親と完全に揃える */
  font-size: inherit;           /* ← 親と完全に揃える */
  line-height: inherit;         /* ← 親と完全に揃える */
}

.contact-tel a:hover,
.contact-mail a:hover {
  color: #DFC69E;
}

/* 備考文 */
.contact-note {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 16px;
}

/* SNSアイコン */
.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 18px; /* ← アイコン間の間隔 */
  align-items: center;
}

.footer-social a {
  color: #fff;
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border: 1px solid #444;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #000;
  background: #DFC69E; /* ← ゴールド風ホバー */
  border-color: #DFC69E;
  transform: translateY(-2px);
}

/* 著作権表示（ページ中央寄せ） */
.footer-bottom {
  border-top: 1px solid #222;
  margin: 40px auto 0;         /* 上に余白＋左右自動で中央寄せ */
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  width: 100%;
  max-width: 1200px;           /* ← 他コンテンツと同じ幅で中央寄せ */
  grid-column: 1 / -1;
  display: block;
}
/* ページ全体余白のリセット（重要） */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* ← 横スクロール防止 */
}

/* スマホ対応 */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 40px;
  }

  .contact-center,
  .contact-tel,
  .contact-mail {
    font-size: 1.4rem; 
  }

  .contact-tel a,
  .contact-mail a {
    justify-content: center;
  }
}
/* スマホ版フッターSNS中央寄せ */
@media (max-width: 768px) {
  .footer-social {
    display: flex;
    justify-content: center;   
    align-items: center;      
    gap: 20px;                
    margin-top: 20px;         
  }

  .footer-social a {
    font-size: 1.4rem;        
  }
}




/* 末尾調整 */
footer {
  display: block;
  margin-bottom: -185px; /* ← フッター下の余白を強制的に潰す */
}



/* ページ全体背景黒固定 */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overscroll-behavior: none; /* ← iOSのバウンドスクロールを抑止 */
}

/* フッター画面端 */
footer,
.footer {
  position: relative;
  width: 100vw;
  background: #000;
  left: 50%;
  margin-left: -50vw;
  transform: translateZ(0); /* ← Safariのちらつき対策 */
  will-change: transform;
  backface-visibility: hidden; /* ← GPU処理で白チラ防止 */
  overflow: hidden;
}

/* フッター下境界線 */
body::after {
  content: "";
  display: block;
  height: 1px;
  background: #000;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}








/* レスポンシブ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
  }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 64px; right: 16px;
    background: #111;
    padding: 12px 20px;
    border-radius: var(--radius);
  }
  .main-nav.open ul {
    flex-direction: column;
    gap: 12px;
  }
  .hero h1 { font-size: 2.2rem; }
  .feature-row { flex-direction: column; }
  .specs-grid { flex-direction: column; }
}

/* アニメーション */
[aos-fade-up],
[aos-up],
[aos-fade-in] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

/* ===== スクロールアニメーション（reveal） ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

