* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #fff;
    background-color: #111;
    overflow-y: scroll; /* スクロールバー常時表示でズレを防止 */
  }
  
  .hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh; /* お好みで調整可 */
    background-color: black; /* 動画なしの場合も黒 */
    z-index: 999;
    overflow: hidden;
  }

 
  
  
  
  
/* 背景動画 */
  .bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* Heroセクション専用（index.html のみ使用） */
.hero .logo {
  position: fixed;
  top: 20px;
  left: 50vw;
  transform: translateX(-50%) scale(1);
  z-index: 1000;
  margin: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* 共通ロゴ（固定ヘッダー・商品ページなど） */
.logo {
  width: 150px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* Heroにロゴを重ねる場合だけ中央合わせのtranslateを使う */
.hero .logo.scrolled {
  transform: translateX(-50%) scale(0.8);
  opacity: 0.9;
}

/* 固定ヘッダーでは位置はFlexで中央。横移動は無し（スケールだけ） */
.fixed-header .logo.scrolled,
.header .logo.scrolled,
.logo.scrolled {
  transform: scale(0.9);   /* お好みで 0.9〜0.95 程度 */
  opacity: 0.9;
}

  
  
  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .brand-concept,
  .taglines {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: #fff;
  }
  
  .taglines ul {
    list-style: none;
    margin-top: 1rem;
  }
  
  footer {
    background: #000;
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
  }



/* モバイル優先のベース：常に全幅 */
.slider {
  width: 100%;
  max-width: none;
  height: clamp(520px, 70vh, 920px);
  margin: 0;                 /* 中央寄せはPC側で */
  position: relative;
  overflow: hidden;
}

.slider, .catchcopy, .brand-concept, .news-section {
  margin-top: 5vh;
}



/* 中～大型画面では中央寄せ＆上限幅を適用 */
@media (min-width: 1024px) {
  .slider {
    width: min(92vw, 1800px);
    margin: 0 auto;
  }
}
@media (min-width: 1440px) {
  .slider {
    width: min(94vw, 1920px);
    height: clamp(600px, 72vh, 1000px);
  }
}
@media (min-width: 1920px) {
  .slider {
    width: min(96vw, 2200px);
    height: clamp(700px, 75vh, 1100px);
  }
}

  
  
  /* 変更なし（高さ100%で .slider に追従） */
.slides { position: relative; width: 100%; height: 100%; }
.slide  { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; z-index: 0; }
.slide.active { opacity: 1; z-index: 1; }

  
  .slide.active {
    opacity: 1;
    z-index: 1;
  }
  .catchcopy {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #111;
    color: #fff;
  }
  
  .catchcopy h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .catchcopy p {
    font-size: 1rem;
    color: #ccc;
  }

  .news-section {
    background-color: #fff;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #111;
  }
  
  .news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .news-item {
    width: 280px;
    text-align: left;
  }
  
  .news-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }
  
  .news-item p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #111;
  }
  .news-item {
    width: 280px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .news-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .news-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
  }
  
  .news-item:hover img {
    transform: scale(1.05);
  }
  
  .slider,
.catchcopy,
.brand-concept,
.news-section {
  margin-top: 5vh; /* heroの高さと合わせて余白確保 */
}

.products-section {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #111;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px; /* 最大幅を広めに設定 */
  margin: 0 auto;
  padding: 0 2rem;
  justify-items: center;
}


.product-item {
  text-align: center;
  overflow: hidden;         /* 子要素のはみ出しを防止 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s;
  max-width: 450px; /* 画像サイズの上限を指定 */
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-item p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: normal;
  color: #000;
  pointer-events: none; 
}

@media screen and (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer {
  background: #000;
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 1rem;
  min-width: 150px;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-social {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-social img {
  width: 32px;
  margin: 0 0.5rem;
  vertical-align: middle;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 0.5rem;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.6;
}

.page-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #444;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-header {
  text-align: center;
  background: #000;
  color: #fff;
  padding: 4rem 1rem 2rem;
}

.category-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.category-products {
  padding: 2rem;
}

.product-detail {
  background: #fff;
  color: #fff;
  padding: 4rem 2rem;
}

.product-detail-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.product-spec {
  max-width: 500px;
}

.product-spec h2 {
  color: #111;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
.product-spec h1 {
  color: #111;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.product-spec dt {
  color: #111;
  font-weight: bold;
  margin-top: 1rem;
}

.product-spec dd {
  color: #111;
  margin-left: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
  .product-detail-inner {
    flex-direction: column;
    align-items: center;
  }
}
.back-to-home {
  text-align: center;
  margin: 3rem 0;
}

.back-to-home a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #fff;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.back-to-home a:hover {
  background-color: #eee;
}
.product-gallery {
  text-align: center;
  margin-bottom: 2rem;
}

.main-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
}

.thumbnail-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}


.thumb:hover {
  border-color: #fff;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* ← ロゴ分の高さをしっかり定義 */
  background-color: #000;
  padding: 10px 0;
  z-index: 9999;
}

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

.logo {
  width: 150px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body {
  margin-top: 100px; /* ヘッダー高さに応じて調整 */
}

.mid-logo {
  display: block;
  margin: 80px auto;
  width: 280px;
  max-width: 90%;
  height: auto;
}


.mid-logo-img {
  width: 280px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.product-item {
  text-decoration: none;
  color: inherit; /* リンク色も継承する場合 */
}

.product-gallery {
  text-align: center;
  margin-bottom: 0.25rem; /* ← ここを縮める */
}

.thumbnail-list {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0rem; /* ← ここも縮める */
  flex-wrap: wrap;
}



.thumb {
  width: 150px;              /* ← 任意の大きさに調整 */
  height: auto;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 0.5px solid transparent;
  border-radius: 0.5px;
}

.thumb:hover {
  transform: scale(1.1);                            /* 拡大効果 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);         /* 影を追加 */
  border: 0.5px solid #999;                           /* 枠線を強調 */
}

/* 一旦ニュースを非表示 */
.news-section {
  display: none;
}
/* フッターを非表示 */
.footer-links {
  display: none;
}

.feature-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.feature-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.feature-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
  align-items: center;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
}

.feature-text p strong {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.feature-image {
  flex: 1;
  padding: 20px;
}

.feature-image-square img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.feature-image-rectangle img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* 1カラムスタイル（縦並び・中央寄せ） */
.feature-item.single-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

/* 黒文字で読みやすく */
.feature-text {
  color: #000;  /* 黒文字に */
  font-size: 13px;
  line-height: 1.6;
  margin-top: 20px;
}

.feature-title {
  color: #000; /* 黒文字 */
  border-bottom: 2px solid #000; /* アンダーライン */
  padding-bottom: 4px;
  margin-bottom: 1em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 24px;
}


/* 画像サイズ調整（任意） */
.feature-image-rectangle img {
  max-width: 100%;
  height: auto;
  display: block;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #000; /* 黒文字で可読性向上 */
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: 0.03em;
}



h1, h2, .feature-title {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 基本：2カラム（PCなど大きい画面） */
.feature-item.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item.row.reverse {
  flex-direction: row-reverse;
}

/* スマホ対応：1カラム（画面幅768px以下） */
@media screen and (max-width: 768px) {
  .feature-item.row,
  .feature-item.row.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .feature-image,
  .feature-text {
    width: 100%;
  }

  .feature-image img {
    width: 100%;
    height: auto;
  }

  .feature-item {
    margin-bottom: 32px;
  }
}
.closing-section {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
  color: #000;
}

.closing-section h2 {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 6px;
}

.closing-section p {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.closing-section .model-image {
  width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 6px;
}

.image-caption {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
}

.size-chart { margin: 2rem 0; }
.size-chart .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-chart table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.size-chart caption { text-align: left; font-weight: 700; margin-bottom: .5rem; }
.size-chart th, .size-chart td { padding: .75rem .8rem; border-bottom: 1px solid #e5e5e5; text-align: center; }
.size-chart thead th:first-child,
.size-chart tbody th[scope="row"] { text-align: left; white-space: nowrap; }
.size-chart thead th { position: sticky; top: 0; background: #fff; }
.size-notes { font-size: .85rem; color: #666; margin-top: .5rem; }
.size-chart table th,
.size-chart table td,
.size-chart caption,
.size-notes {
  color: #000 !important;
}

.section-divider {
  border: 0;
  height: 2px;
  background: #000;   /* 黒のバー */
  margin: 2rem 0;     /* 上下の余白 */
  opacity: 0.1;       /* 少し薄めにして主張しすぎない */
}

/* 1) Flex子要素を縮められるようにする（超重要） */
.product-gallery,
.product-spec {
  min-width: 0;         /* ← これが無いと中身のmin-widthに引っぱられる */
  max-width: 100%;
  flex: 1 1 320px;      /* どちらも気持ちよく縮む */
}

/* 画像は枠内に収める（保険） */
.main-image img { width: 100%; height: auto; display: block; }

/* 2) サイズ表はラッパ内で横スクロール */
.size-chart .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* 3) 極小画面ではstickyを無効化（重なり防止・任意） */
@media (max-width: 480px) {
  .size-chart thead th { position: static; }
}

  /* 1列目（項目）を細く、データ列に面積を回す */
  .size-chart thead th:first-child,
  .size-chart tbody th[scope="row"] { width: 14%; } /* 14〜16%で調整可 */

  /* 他列は残りを均等配分（項目列を除いた残り列で自動割り当て） */
  .size-chart thead th:not(:first-child),
  .size-chart tbody td { width: auto; }

  /* 余白・字間を詰めて横幅節約 */
  .size-chart th, .size-chart td {
    padding: .45rem .3rem;
    white-space: normal;        /* nowrap2段表記にしたい項目があれば normal に */
  }
  .size-chart td { letter-spacing: -0.02em; } /* ほんの少しだけ詰める */

  /* 見出しの被り防止：超小画面ではsticky解除（任意） */
  .size-chart thead th { position: static; 
}

.image-caption {
  font-size: 1.4rem;         /* 大きめサイズ */
  font-weight: 700;          /* 太字で力強く */
  letter-spacing: 0.05em;    /* 少し字間を広げて強調 */
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #222;               /* 濃いめの色でコントラストアップ */
  text-transform: uppercase; /* 英字の場合はインパクト増 */
  line-height: 1.6;
  position: relative;
}

/* 下線演出（アクセントライン） */
.image-caption::after {
  content: "";
  display: block;
  width: 50%;               /* 下線の長さ */
  height: 3px;               /* 下線の太さ */
  background-color: #000;    /* 下線の色（ブランドカラーでも可） */
  margin: 0.5rem auto 0;
}

.tagline {
  font-size: 2.2rem;        /* 見やすい大きさ */
  font-weight: 900;        /* 強調 */
  text-align: center;       /* 中央揃え */
  margin: 2rem auto;      /* 上下余白 */
  color: #fff;              /* 白字（背景動画に合わせる） */
  letter-spacing: 0.15px;      /* 文字間隔を広めに */
  text-transform: uppercase; /* 英字を大文字にして力強さを演出 */
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
}

@media screen and (max-width: 768px) {
.tagline {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
}

/* セクションの中で動画だけフルブリードにする */
.concept-video {
  position: relative;
  width: 100vw;                 /* 画面幅ちょうど */
  left: 50%;                    /* 親の中央を基準に */
  right: 50%;
  margin-left: calc(-50vw);     /* 画面の左端まで引き出す */
  margin-right: calc(-50vw);    /* 画面の右端まで引き出す */
  margin-top: 2rem;             /* 上下の余白はお好みで */
  margin-bottom: 2rem;
  overflow: hidden;             /* はみ出し防止（iOS対策） */
}

.concept-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .concept-video {
    position: relative;
    width: 100vw;
    height: 100vh;          /* 画面全高を使用 */
    overflow: hidden;
  }

  .concept-video video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
    height: 100%;                /* 高さを100%に合わせる */
    width: auto;                 /* 幅は自動拡大 → 左右クロップ */
    object-fit: cover;           /* 上下はそのまま、左右をカット */
  }
}

.back-to-home a {
  background-color: transparent;
  color: #ccc;
  font-weight: normal;
  padding: 0.5rem 1rem;
}

.back-to-home a:hover {
  color: #fff;
  background-color: transparent;
}

/* タップを無効化（操作させない背景動画向け） */
.concept-video video { pointer-events: none; }

.concept-video video::-webkit-media-controls { display: none !important; }


/* 0) 念のため：横スクロール無効化 */
html, body {
  overflow-x: hidden;
}

/* 1) 親コンテナの幅制限を解除（barbaのラッパを含む） */
[data-barba="wrapper"],
[data-barba="container"] {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}


/* === スマホ専用：スライダーは親に対して100%幅 === */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* 親コンテナの幅制限を念のためリセット */
  main,
  .main-content,
  [data-barba="wrapper"],
  [data-barba="container"] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  /* スライダー本体：100%幅に一本化（vwハックは使わない） */
  body .slider {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    height: 90vh;          /* お好みで 70–95vh に調整可 */
    position: relative;
    overflow: hidden;
  }

  .slides { position: relative; width: 100% !important; height: 100% !important; }
  .slide  { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
}


/* 3) もし .slider に “中央寄せ用の width:min(92vw,1800px)” が
      メディアクエリ外に残っている場合、PCだけで効くように囲う（保険） */
@media (min-width: 1024px) {
  .slider {
    width: min(92vw, 1800px);
    margin: 0 auto;
  }
}

/* === スマホ（～768px）：ホームのスライダーを“絶対に”フル幅に === */
@media (max-width: 768px) {
  /* 1) barbaネームスペースで特異性アップ：親の余白/最大幅を無効化 */
  [data-barba="container"][data-barba-namespace="home"] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 2) スライダーは画面幅基準（vw）でフルブリードに引き出す */
  [data-barba-namespace="home"] .slider {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    left: 50%;
    margin-left: calc(-50vw) !important; /* ← 画面左端まで引き出す */
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* 3) 内側のラッパも幅100%固定（Swiperやflexの影響を打ち消す） */
  [data-barba-namespace="home"] .slides,
  [data-barba-namespace="home"] .swiper,
  [data-barba-namespace="home"] .swiper-container,
  [data-barba-namespace="home"] .swiper-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important; /* Swiperのcontent-boxを上書き */
  }

  /* 4) スライドは重ねる＋必ず全面にフィット */
  [data-barba-namespace="home"] .slide,
  [data-barba-namespace="home"] .swiper-slide {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
}

/* 念のため：全ページで横スクロールは無効化 */
html, body { overflow-x: hidden; }
