.loading-5 {
  /* 画面全体を覆う設定 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff; /* 背景色（サイトに合わせて変更可） */
  z-index: 99999;        /* 全ての要素の一番手前に表示 */

  display: flex;
  justify-content: center;
  align-items: center;

  /* フェードアウト用のアニメーション設定 */
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* 読み込み完了後にJSで付与するクラス */
.loading-5.loaded {
  opacity: 0;
  visibility: hidden;
}

.loading-5 span {
  display: inline-block;
  color: #d02525;
  font-weight: 600;
  font-size: 1.5em;
  animation: animation-loading-5 1s infinite;
}

.loading-5 span:nth-of-type(2) { animation-delay: .1s; }
.loading-5 span:nth-of-type(3) { animation-delay: .2s; }
.loading-5 span:nth-of-type(4) { animation-delay: .3s; }
.loading-5 span:nth-of-type(5) { animation-delay: .4s; }
.loading-5 span:nth-of-type(6) { animation-delay: .5s; }
.loading-5 span:nth-of-type(7) { animation-delay: .6s; }
.loading-5 span:nth-of-type(8) { animation-delay: .8s; }
.loading-5 span:nth-of-type(9) { animation-delay: .8s; }
.loading-5 span:nth-of-type(10) { animation-delay: .9s; }
.loading-5 span:nth-of-type(11) { animation-delay: .10s; }

@keyframes animation-loading-5 {
  50% {
    transform: translateY(10px);
  }
}

/* 外枠（画面いっぱいに広がる設定） */
.top2 {
  width: 100%;
  min-height: 100vh;
  position: relative; /* 背景動画を配置するための基準点 */
  overflow: hidden;   /* はみ出た動画をカット */

  /* 上下左右の中央にインナー要素を配置 */
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px 20px;
  box-sizing: border-box;
}

/* 背景動画の設定 */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 画面中央に配置 */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover; /* 背景画像のように画面一杯に広げる */
  z-index: 1; /* カードの後ろに配置 */
}

/* インナーコンテナ（赤色カードエリア） */
.top2-inner {
  position: relative;
  z-index: 2; /* 動画の上に重ねて表示 */
  
  max-width: 900px; /* PC表示で大きく設置 */
  width: 100%;
  margin: 0 auto;
  padding: 50px 60px;
  background-color: rgba(196, 0, 12, 0.5); /* 透過レッド */
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  
  display: flex;
  flex-direction: column; /* 縦並び指定 */
  align-items: center;
  justify-content: center;
  gap: 35px;
  box-sizing: border-box;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* ホバー時：カードの影を強調 */
.top2-inner:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* 上側：画像エリア */
.top2-img-wrap {
  width: 100%;
  max-height: 480px;
  border-radius: 14px;
  overflow: hidden;
}

.top2-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* ホバー時：画像を少し拡大 */
.top2-inner:hover .top2-img-wrap img {
  transform: scale(1.04);
}

/* 下側：テキストコンテンツエリア */
.top2-content {
  width: 100%;
  text-align: center;
  color: #ffffff;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ホバー時：テキストを上へ動かす */
.top2-inner:hover .top2-content {
  transform: translateY(-6px);
}

/* 見出し (h3) */
.top2-content h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 24px 0;
  color: #ffffff;
  position: relative;
  display: inline-block;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* 見出しの下線（黄色線） */
.top2-content h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffdd00;
  margin: 14px auto 0;
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* ホバー時：下線を長く伸ばす */
.top2-inner:hover .top2-content h3::after {
  width: 120px;
}

/* 説明文章 (p) */
.top2-content p {
  font-size: 20px;
  line-height: 1.9;
  margin: 0;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* -----------------------------------
    スマホ表示調整（画面幅768px以下）
----------------------------------- */
@media screen and (max-width: 768px) {
  .top2 {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 20px 15px;
  }

  .top2-inner {
    padding: 25px 20px;
    gap: 20px;
    margin: auto 0;
  }

  .top2-img-wrap {
    max-height: none;
  }

  .top2-content h3 {
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .top2-content h3::after {
    width: 50px;
    height: 3px;
    margin: 8px auto 0;
  }

  .top2-inner:hover .top2-content h3::after {
    width: 80px;
  }

  .top2-content p {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 1px;
  }
}

/* ギャラリー全体（PC版：横4列） */
.model-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;                            /* 画像同士の間隔 */
  max-width: 1400px;                    /* 画像を大きく表示するため枠を拡大 */
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* 画像枠カード（316×545 の比率にぴったり合わせる） */
.model-hover-box {
  position: relative;
  width: 100%;
  aspect-ratio: 316 / 545;              /* ★画像の縦横比を完全に一致させる */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  background-color: #000000;
}

/* 画像本体 */
.model-img {
  width: 100%;
  height: 100%;
  object-fit: cover;                    /* 比率が一致しているため切れることなくピッタリ収まります */
  
  /* デフォルトの拡大基準点（下部中央） */
  transform-origin: center bottom;
  
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* マウスホバー時：ズーム（倍率2倍） */
.model-hover-box:hover .model-img {
  transform: scale(2);
}

/* =========================================
   【個別ズーム位置の設定】
========================================= */
/* 画像左下を基準に拡大（5, 6, 9, 11枚目） */
.zoom-left-bottom .model-img {
  transform-origin: left bottom !important;
}

/* 画像右下を基準に拡大（4, 10枚目） */
.zoom-right-bottom .model-img {
  transform-origin: right bottom !important;
}

/* =========================================
   ガイド用バッジ (.hover-hint)
========================================= */
.hover-hint {
  /* ★修正：常に見えない状態に設定 */
  display: none;

  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #c4000c; /* ブランドカラーの赤 */
  color: #ffffff;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 15px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

/* ガイドバッジ（ホバー時）※display:noneのため動作しません */
.model-hover-box:hover .hover-hint {
  opacity: 0;
}

/* -----------------------------------
   スマホ表示調整（768px以下：横2列）
----------------------------------- */
@media screen and (max-width: 768px) {
  .model-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 10px;
  }

  /* スマホ版でもガイドバッジは非表示 */
  .hover-hint {
    display: none;
  }
}

/* ショップセクション全体の設定 */
.shop-section {
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* タイトル見出しのデザイン */
.shop-title-wrap h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

/* PC表示（初期状態）：3列で並べる */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列に分ける */
  gap: 20px;                             /* カード同士の間隔 */
}

/* スマホ表示の時の設定（画面幅768px以下） */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr; /* ← ここを 1fr にすることで「縦一列」になります */
    gap: 30px;                  /* 縦に並んだときの間隔（お好みで調整してください） */
  }
}

/* グリッドレイアウト（PC版：3列に並べる） */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 商品カード本体 */
.product-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 1 / 1;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* マウスホバー時に表示される黒いオーバーレイ（初期状態は透明） */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* まとめテキストの設定 */
.product-info {
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.product-info .brand {
  font-size: 0.9rem;
}

.product-info .item-name {
  font-size: 1.8rem;
  font-weight: bold;
}

.product-info .origin {
  font-size: 0.8rem;
}

/* テキストにホバーした時のカラー指定 */
.product-info:hover {
  color: #e57373;
}

/* -----------------------------------
  スマホ表示対応（画面幅768px以下：1列表示）
----------------------------------- */
@media screen and (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr; /* 1列に指定 */
    gap: 15px;                  /* カード同士の上下の余白 */
  }

  /* スマホ用に文字サイズを調整（大きすぎないように） */
  .product-info .item-name {
    font-size: 1.5rem;
  }
}

/* ===================================
   既存の共通スタイル（そのまま保持）
   =================================== */

/* PC用の基本設定（スマホもこれと同じ表示になります） */
.about {
  background-image: url(../images/konui.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* 画像を拡大して枠いっぱいに表示 */
  padding: 80px 20px;     /* PC版の上下余白（必要に応じて調整） */
}

.about p {
  color: #ffffff;
  background-color: rgba(255, 0, 0, 0.75); /* 黒の75%半透明シート */
  padding: 20px 24px;                   /* テキスト周囲の余白 */
  border-radius: 8px;                   /* 角を少し丸くする */
  backdrop-filter: blur(4px);           /* 背景の市松模様を少しぼかす（モダンな表現） */
  display: inline-block;                /* 文字の幅に合わせる場合 */
}

/* -----------------------------------
   スマホ表示調整（768px以下）
----------------------------------- */
@media screen and (max-width: 768px) {
  .about {
    /* PC版の設定をそのまま使うため、画像サイズの縮小指定などは消去します */
    /* 下の要素との重なりを防ぐ余白のみ残しておくと安全です */
    margin-bottom: 40px !important;
  }
}

@media (max-width: 768px) {
  .about p {
    text-align: left;
    display: block;                     /* スマホ時は幅いっぱいに広げる */
    padding: 16px;
  }
}

.about, .point, .gallery, .price, .cta {
  padding: 100px 20%;
}

@media (max-width: 1280px) {
  .about, .point, .gallery, .price, .cta {
    padding: 80px 10%;
  }
}

@media (max-width: 768px) {
  .about, .point, .gallery, .price, .cta {
    padding: 80px 5%;
  }
}


/* ===================================
   レイアウト調整・横並び設定 (PC表示時)
   =================================== */
.about {
  display: flex;
  align-items: center;       /* 上下中央揃え（上揃えにしたい場合は flex-start） */
  justify-content: space-between;
  gap: 40px;                 /* スライダーとテキストの間の余白 */
}

/* -----------------------------------
   スライダー側（左）のホバー設定
----------------------------------- */
.css-slider {
  flex: 1;
  width: 50%;
  background-color: rgba(255, 0, 0, 0.75);
  padding: 30px;
  border-radius: 8px;
  box-sizing: border-box;

  /* ★なめらかに動かすための指定★ */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* マウスが重なった時：5px上に浮き上がり、影を少しつける */
.css-slider:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* -----------------------------------
   テキスト側（右）のホバー設定
----------------------------------- */
.about p {
  flex: 1;
  width: 50%;
  margin: 0;
  line-height: 1.8;
  font-size: 18px;

  /* ★なめらかに動かすための指定★ */
  transition: transform 0.3s ease;
}

/* マウスが重なった時：5px上に浮き上がる */
.about p:hover {
  transform: translateY(-5px);
}

/* ラジオボタンは画面上非表示 */
.css-slider input[type="radio"] {
  display: none;
}

/* 画像表示枠 */
.slides {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: block;
}

.slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 選択されたラジオボタンに応じて画像を表示 */
#slide1:checked ~ .slides .slide:nth-child(1),
#slide2:checked ~ .slides .slide:nth-child(2),
#slide3:checked ~ .slides .slide:nth-child(3),
#slide4:checked ~ .slides .slide:nth-child(4),
#slide5:checked ~ .slides .slide:nth-child(5),
#slide6:checked ~ .slides .slide:nth-child(6),
#slide7:checked ~ .slides .slide:nth-child(7),
#slide8:checked ~ .slides .slide:nth-child(8),
#slide9:checked ~ .slides .slide:nth-child(9),
#slide10:checked ~ .slides .slide:nth-child(10),
#slide11:checked ~ .slides .slide:nth-child(11) {
  opacity: 1;
}

/* 下部コントロールのレイアウト */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* 左右矢印ボタン共通スタイル */
.nav-btn {
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}

.nav-btn label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #e05326;
  border-radius: 50%;
  background-color: #fff;
  color: #e05326;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  display: none;
  box-sizing: border-box;
}

/* 現在のスライドに合わせて矢印を表示 */
#slide1:checked ~ .slider-controls .btn-for-slide1,
#slide2:checked ~ .slider-controls .btn-for-slide2,
#slide3:checked ~ .slider-controls .btn-for-slide3,
#slide4:checked ~ .slider-controls .btn-for-slide4,
#slide5:checked ~ .slider-controls .btn-for-slide5,
#slide6:checked ~ .slider-controls .btn-for-slide6,
#slide7:checked ~ .slider-controls .btn-for-slide7,
#slide8:checked ~ .slider-controls .btn-for-slide8,
#slide9:checked ~ .slider-controls .btn-for-slide9,
#slide10:checked ~ .slider-controls .btn-for-slide10,
#slide11:checked ~ .slider-controls .btn-for-slide11 {
  display: block;
}

/* ドットナビゲーション */
.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
}

/* 選択中のドットの装飾 */
#slide1:checked ~ .slider-controls .dot1,
#slide2:checked ~ .slider-controls .dot2,
#slide3:checked ~ .slider-controls .dot3,
#slide4:checked ~ .slider-controls .dot4,
#slide5:checked ~ .slider-controls .dot5,
#slide6:checked ~ .slider-controls .dot6,
#slide7:checked ~ .slider-controls .dot7,
#slide8:checked ~ .slider-controls .dot8,
#slide9:checked ~ .slider-controls .dot9,
#slide10:checked ~ .slider-controls .dot10,
#slide11:checked ~ .slider-controls .dot11 {
  background-color: #0044cc;
}


/* ===================================
   スマホ表示調整（768px以下）
   =================================== */
@media screen and (max-width: 768px) {
  /* スマホ時は縦並びに変更 */
  .about {
    flex-direction: column;
    gap: 30px;
  }

  /* スマホ表示（768px以下）での文字サイズ */
@media (max-width: 768px) {
  .about p {
    text-align: left;
    font-size: 15px; /* ← スマホ用のサイズ */
  }
}

  .css-slider,
  .about p {
    width: 100%;
  }

  .css-slider {
    padding: 15px;
  }

  .slides {
    height: 220px;
  }

  .slider-controls {
    gap: 10px;
  }

  .dots {
    gap: 4px;
  }
}


.tabizukuri {
  text-align: center;

}

.tabizukuri h2 {
  font-family: Arial, Helvetica, sans-serif;
  padding: 60px;
  font-size: 20px;
  color: #000000;
}

.tabizukuri table {
    border-collapse: collapse; /* 枠線を綺麗に1本にまとめる */
    border: 1px solid #e0e0e0; /* 外枠の線を薄いグレーに */
    font-family: sans-serif;
    font-size: 15px;
    color: #333333;
    max-width: 600px;
    width: 100% !important;
    margin: 0 auto;
    table-layout: fixed;       /* 50%ずつの幅を正確に保つ */
}

/* tr の display: flex は削除します */

.tabizukuri table th {
    background-color: #f0f0f0; /* 薄いグレーの背景 */
    border: 1px solid #e0e0e0; /* 内側の区切り線 */
    padding: 15px 20px;       /* 上下左右の余白 */
    font-weight: bold;
    width: 50%;
    box-sizing: border-box;
}

.tabizukuri table td {
    background-color: #ffffff; /* 白背景 */
    border: 1px solid #e0e0e0; /* 内側の区切り線 */
    padding: 15px 20px;       /* 上下左右の余白 */
    font-weight: bold;
    width: 50%;               /* 左右の幅を均等に */
    box-sizing: border-box;
}

/* 上下左右の中央揃えを一括適用 */
.tabizukuri table th,
.tabizukuri table td {
    text-align: center;     /* 左右の中央揃え */
    vertical-align: middle; /* 上下の中央揃え */
}


@media (max-width: 768px) {
  .tabizukuri h2{
    font-size: 15px;
    padding: 30px;
    }
}

@media (max-width: 768px) {
  .tabizukuri table tr{
flex-direction: column; /* 横並びから「縦並び」に変更 */
    }
  .tabizukuri table th,
  .tabizukuri table td{
width: 100%; /* 縦並びになったら横幅を100%にする */
    }

.tabizukuri table td{
border-top: none;/* 縦並びにしたときに中央の境界線が太くなるのを防ぐ調整 */
    }

}

.menu-wrapper {
  position: relative;
}

.menu-icon {
  position: fixed;            /* 画面に対して固定配置 */
  top: 20px;                  /* 上からの距離 */
  right: 20px;                /* ← leftからrightに変更（右上固定） */
  width: 50px;                /* ボタンの幅 */
  height: 50px;               /* ボタンの高さ */
  padding: 1px;
  line-height: 50px;          /* 矢印等を上下中央に */
  background-color: #333;     /* ボタンの背景色 */
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* 軽い影をつけて立体感を出す */
  z-index: 10000;              /* 他の要素より手前に表示する */
  transition: all 0.3s ease;  /* アニメーションを滑らかに */
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 8.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.4s;
}

/* マウスを乗せた時（ホバー時）の動き */
.menu-icon:hover {
  background-color: #c40000; /* 背景色を緑に変化*/
  transform: translateY(-5px); /* ボタンを少し上に浮かせる */
}


/* ハンバーガーがXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: translateY(12.5px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: translateY(-12.5px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}


/* メニュー本体（右から出す） */
.menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  
  /* --- ↓ 追加：最前面に表示する設定 ↓ --- */
  z-index: 9999; /* 他のどのコンテンツよりも大きな数値を指定 */
  /* ----------------------------------- */
}


#menu-toggle:checked ~ .menu {
  right: 0;
}

.menu ul {
  list-style: none;
  padding: 60px 20px;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.menu a:hover {
  color: #c40000;
}

/* =========================================
   Instagram無限スライダー
========================================= */

/* スライダー外枠（画面幅いっぱいに表示し、はみ出た部分を隠す） */
.slider-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 40px 0;
  padding: 10px 0;
  /* マウスを乗せた時にアニメーションを一時停止したい場合は以下を有効化 */
  /* cursor: pointer; */
}

/* スライダー全体にマウスを乗せたら一時停止する演出（お好みでコメントアウト解除） */
/* .slider-wrapper:hover .slider {
  animation-play-state: paused;
} */

/* トラック（各リストの横並び） */
.slider {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  /* 40秒で左へ一巡する無限ループアニメーション（スピードは 40s を調整） */
  animation: infinite-scroll 40s linear infinite;
  /* 子要素の横幅が小さく潰れるのを防ぐ */
  flex-shrink: 0;
}

/* スライドアイテム（1枚ずつの枠） */
.slide {
  width: 220px;          /* PC表示時の1枚あたりの横幅 */
  padding: 0 10px;       /* 画像同士の間隔 (左右10px = 計20px) */
  box-sizing: border-box;
  flex-shrink: 0;
}

/* スライド内のリンクエリア */
.slide a {
  display: block;
  overflow: hidden;
  border-radius: 12px;   /* 角丸（不要な場合は 0 にしてください） */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時に画像を少し拡大・浮き上がらせる */
.slide a:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 画像本体 */
.slide img {
  width: 100%;
  height: 220px;         /* 正方形で揃える場合（サイズ指定で消えるのを防ぐ） */
  object-fit: cover;    /* 縦横比を崩さずに綺麗に切り抜く */
  display: block;
}

/* =========================================
   無限ループアニメーションの定義
========================================= */
@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 1グループ分（100%分）をまるごと左へスライド移動 */
    transform: translateX(-100%);
  }
}

/* =========================================
   スマホ表示調整（画面幅 768px 以下）
========================================= */
@media screen and (max-width: 768px) {
  .slide {
    width: 150px;        /* スマホ時は画像を小ぶりに調整 */
    padding: 0 6px;
  }

  .slide img {
    height: 150px;       /* スマホ時の高さ */
  }

  .slider {
    /* スマホ画面に合わせてスピードを調整（30秒で1周） */
    animation-duration: 30s;
  }
}

html {
  scroll-behavior: smooth;
}

/* トップに戻るボタンのスタイル */
.totop-btn {
  position: fixed;    /* 画面に対して位置を固定する */
  bottom: 20px;       /* 画面の一番下から20pxの位置 */
  left: 20px;        /* 画面の一番右から20pxの位置 */
  width: 50px;        /* ボタンの幅 */
  height: 50px;       /* ボタンの高さ */
  background-color: #333; /* ボタンの背景色 */
  color: #fff;        /* 矢印の色 */
  font-size: 24px;    /* 矢印の大きさ */
  text-align: center; /* 矢印を左右中央に */
  line-height: 50px;  /* 矢印を上下中央に（heightと同じ数値にする） */
  border-radius: 50%; /* ボタンを丸くする */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2); /* 軽い影をつけて立体感を出す */
  z-index: 9999;      /* メニューなど他の要素より手前に表示する */
  transition: all 0.3s ease; /* マウスを乗せた時のアニメーションを滑らかに */
}

/* マウスを乗せた時（ホバー時）の動き */
.totop-btn:hover {
  background-color: #c40000; /* 背景色を緑に変化*/
  transform: translateY(-5px); /* ボタンを少し上に浮かせる */
}

.accordion {
  padding-top: 10%;
}

.accordion p {
  text-align: left;
}

.accordion-005 {
  padding: 0 5% 0 0 ;
  max-width: 1200px;
}

.accordion-005:not([open]) {
  margin-bottom: 7px;
}

.accordion-005 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  border-left: 5px solid #03a53c;
  background-color: #f2f2f2;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}


.accordion-005 summary::-webkit-details-marker {
  display: none;
}

.accordion-005 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #c2c2c2;
  border-right: 3px solid #c2c2c2;
  content: '';
  transition: transform .3s;
}

.accordion-005[open] summary::after {
  transform: rotate(225deg);
}

.accordion-005 p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1em 2em 2em 2em;
  color: #333333;
  transition: transform .5s, opacity .5s;
}

.accordion-005[open] p {
  transform: none;
  opacity: 1;
}


.button a {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    text-decoration: none;
    display: block;
    max-width: 250px;
    background: #eee;
    margin: auto;
    padding: 10px 30px;
    font-family: "Noto Sans Japanese";
    font-weight: 500;
    text-align: center;
    line-height: 1.8;
    text-decoration: none;
    outline: none;
    transition: ease .2s;
}

.button a span {
    position: relative;
    z-index: 3;
    color:#333;
}

.button a:hover span{
    color:#fff;
}

.bgleft:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background:#c40000;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}

.bgleft:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

.button {
    vertical-align:middle; 
    padding: 50px 0;
    text-align: center;
}

.scrollable-wrapper table{
  padding: 50px 5%;
}


html,
body {
  font-family: 'Noto Sans JP', sans-serif;
}

.fd-in {
  opacity: 0;
  transform: translate(0, 60px);
  -webkit-transform: translate(0, 60px);
}

.fd-done {
  opacity: 1.0;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
}

section {
  overflow: hidden;
  -webkit-transition: .8s;
  transition: .8s;
}

/* セクションタイトルの枠組み（コンテンツ幅に合わせて固定） */
.section__title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;               /* 文字と線のあいだの余白 */
  
  width: 100%;
  max-width: 1000px;       /* コンテンツの最大幅（下のテーブルや画像幅に合わせる） */
  margin: 0 auto 40px;     /* 中央寄せ＆下のコンテンツとの余白 */
  padding: 0 20px;         /* スマホで端がくっつかないための左右余白 */
  box-sizing: border-box;
}

/* 左右の線の設定 */
.section__title::before,
.section__title::after {
  content: "";
  flex: 1;                 /* 余った領域いっぱいに線を伸ばす */
  height: 1px;
  background-color: #333;  /* 線の色 */
}

.section__title--discription {
  font-size: 18px;
  text-align: center;
}

/* --- スマホ表示時の崩れ防止（画面幅768px以下） --- */
@media screen and (max-width: 768px) {
  .section__title {
    font-size: 26px;       /* スマホ用に文字サイズを少し小さく */
    gap: 10px;             /* 文字と線の間の隙間を狭く */
    margin-bottom: 25px;
  }
}


/* 全体のコンテナ設定（PC基準：3列で並べる） */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 横に3等分して並べる */
  gap: 15px; /* 画像と画像の間隔（お好みで調整してください） */
  max-width: 1000px; /* 全体の最大横幅（サイトに合わせて調整） */
  margin: 0 auto; /* 中央寄せ */
  padding: 20px;
}

/* 各画像アイテムの枠枠 */
.gallery-item {
  width: 100%;
  aspect-ratio: 3 / 2; /* 縦横比を固定（例：3マス対2マス。正方形なら 1 / 1 ） */
  overflow: hidden; /* 枠からはみ出た画像は見えなくする */
}

/* 画像自体のスタイル */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を保ったまま、枠いっぱいにトリミング表示 */
  display: block;
}

/* 【スマホ用の設定】画面の横幅が768px以下になったら適用 */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr; /* 縦一列（1列）にする */
    gap: 10px; /* スマホのときは間隔を少し狭くする */
  }
}

.hero {
  position: relative;
  background: url(../images/DSC_0260.svg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  color: #fff;
  padding-top: 150px;
  padding-bottom: 150px;
  min-height: 300px;
  letter-spacing: 2px;
  font-family: "Montserrat", sans-serif;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.3;
}
.hero h1 span {
  font-size: 20px;
  color: #ffffff;
  border-top: 2px solid #ffffff;
  padding-top: 8px;
  line-height: 3;

}

@media (max-width: 768px) {
.hero h1 {
  font-size: 35px;
  line-height: 1.3;
}
}

.company {
  max-width: 1000px;  /* PCで止める最大横幅 */
  margin: 0 auto;     /* 画面中央に配置する設定 */
  margin-bottom: 50px;/* ← 追加：下側の余白（数値はお好みで調整してください） */
  padding: 0 20px;    /* 画面が狭い時の左右の余白 */
  box-sizing: border-box;
}

.company table {
  width: 100%;
  border-collapse: collapse;
}

.company table a {
  color: #000;
}

.company table tr {
  border-bottom: solid 2px white;
}

.company table tr:last-child {
  border-bottom: none;
}

.company table th {
  position: relative;
  text-align: center;
  width: 30%;
  background-color: #c40000;
  color: white;
  padding: 10px 15px; /* 上下10px / 左右15px の内側余白に変更 */
}

.company table th:after {
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top: calc(50% - 10px);
  right: -10px;
  border-left: 10px solid #c40000;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.company table td {
  text-align: center;
  width: 70%;
  background-color: #eee;
  padding: 10px 15px; /* 上下10px / 左右15px の内側余白に変更 */
}


footer {
  padding-top: 15px ;
  padding-bottom: 10px;
  background: #c40000;
  text-align: center;
  color: #fff;
}


footer small {
  font-size: 14px;
  line-height: 1;
}

.sns-btn {
  display: flex;
  margin-top: 20px;
}

.sns-btn img {
  width: 30px;
  margin-left: 10px;
  margin-right: 10px;
}
/*# sourceMappingURL=style.css.map */

/* =========================================
   Instagram無限スライダー（隙間調整版）
========================================= */

.insta-slider-wrapper {
  display: flex !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  margin: 40px 0 !important;
  padding: 10px 0 !important;
}

.insta-slider {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  
  /* アニメーション処理 */
  animation: insta-loop 40s linear infinite !important;
  flex-shrink: 0 !important;
  
  /* 最小横幅を確保して詰まりやスキマを防ぐ */
  min-width: 100% !important;
}

.insta-slide {
  /* ★画像サイズを幅240pxに少し拡大してスキマを埋めます */
  width: 240px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  list-style: none !important;
}

.insta-slide a {
  display: block !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.insta-slide a:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.insta-slide img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  display: block !important;
}

/* --- 無限ループ用の視認位置調整 --- */
@keyframes insta-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 1グループ分完全に左へ流し切る */
    transform: translateX(-100%);
  }
}

/* --- スマホ表示調整（768px以下） --- */
@media screen and (max-width: 768px) {
  .insta-slide {
    width: 160px !important;
    padding: 0 6px !important;
  }
  .insta-slide img {
    height: 160px !important;
  }
  .insta-slider {
    animation-duration: 30s !important;
  }
}