/* assets/css/style.css */

/*------------------------------------
 共通設定
------------------------------------*/
/* 全体の基本スタイル */
html,
body {
  overflow-x: hidden;
}

body {
  font-family: "shippori-mincho", serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative; /* TOP以外のヘッダー画像用に必要 */
}

/* カラーテーマ（Bootstrap拡張） */
:root,
[data-bs-theme="light"] {
  --bs-danger: #810f00;
  --bs-dark: #000000;
  --bs-danger-rgb: 129, 15, 0;
  --bs-dark-rgb: 0, 0, 0;
  --bs-warning: #efe1a8;
  --bs-warning-rgb: 239, 225, 168;
  --bs-light: #d6dadd;
  --bs-light-rgb: 214, 218, 221;
}

/*------------------------------------
 スクロールアニメーション（初期状態）
------------------------------------*/
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* 各アニメーションの開始位置 */
[data-animate="fade-in"] {
  transform: translate(0, 0);
} /* 透明→表示 */
[data-animate="slide-up"] {
  transform: translateY(20px);
} /* 下から */
[data-animate="slide-down"] {
  transform: translateY(-20px);
} /* 上から */
[data-animate="fade-right"] {
  transform: translateX(50px);
} /* 右から */
[data-animate="fade-left"] {
  transform: translateX(-50px);
} /* 左から */
[data-animate="zoom-in"] {
  transform: scale(0.8);
} /* 小さく→等倍 */
[data-animate="zoom-out"] {
  transform: scale(1.2);
} /* 大きく→等倍 */

/* 表示状態になったとき */
[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/*------------------------------------
 ネガティブマージンユーティリティ（Bootstrap相当）
------------------------------------*/
.mt-n1 {
  margin-top: -0.25rem !important;
}
.mt-n2 {
  margin-top: -0.5rem !important;
}
.mt-n3 {
  margin-top: -1rem !important;
}
.mt-n4 {
  margin-top: -1.5rem !important;
}
.mt-n5 {
  margin-top: -3rem !important;
}
.mb-n1 {
  margin-bottom: -0.25rem !important;
}
.mb-n2 {
  margin-bottom: -0.5rem !important;
}
.mb-n3 {
  margin-bottom: -1rem !important;
}
.mb-n4 {
  margin-bottom: -1.5rem !important;
}
.mb-n5 {
  margin-bottom: -3rem !important;
}
.ms-n1 {
  margin-left: -0.25rem !important;
}
.ms-n2 {
  margin-left: -0.5rem !important;
}
.ms-n3 {
  margin-left: -1rem !important;
}
.ms-n4 {
  margin-left: -1.5rem !important;
}
.ms-n5 {
  margin-left: -3rem !important;
}
.me-n1 {
  margin-right: -0.25rem !important;
}
.me-n2 {
  margin-right: -0.5rem !important;
}
.me-n3 {
  margin-right: -1rem !important;
}
.me-n4 {
  margin-right: -1.5rem !important;
}
.me-n5 {
  margin-right: -3rem !important;
}

/*------------------------------------
 レイアウトの基本
------------------------------------*/
img {
  max-width: 100%;
  width: auto;
}
main {
  min-height: 100vh;
}
section {
  padding: 6% 0;
}

@media (min-width: 1200px) {
  .container,
  .container-lg {
    width: 100%;
    max-width: 1100px;
  }
}

/*------------------------------------
 汎用クラス
------------------------------------*/
.logoSP {
  margin-bottom: 100px;
}
.text-br {
  color: #9a8d75;
}
.text-brown {
  color: #645045;
}
.text-red {
  color: red;
}
.bg-light {
  background: #f7f7f7;
}
.bg-orange {
  background: rgba(249, 231, 223, 0.4);
}
.bg-green {
  background: rgba(233, 244, 234, 0.4);
}
.badge {
  border-radius: 0;
}
.icon--white {
  filter: brightness(0) invert(1); /* または fill: white; */
}
.container-lg {
  max-width: 1280px;
}

@media (min-width: 992px) {
  .border-start-md {
    border-left: 1px solid var(--bs-border-color) !important;
  }
  .border-end-md {
    border-right: 1px solid var(--bs-border-color) !important;
  }
}

:root {
  --swiper-theme-color: #fff;
}
.swiper-pagination {
  position: inherit;
}
.swiper-slide img {
  opacity: 0.25;
}
.swiper-slide.swiper-slide-active img {
  opacity: 1;
}

.swiper-slide img {
  width: 100%;
}

.line-short {
  width: 300px;
  margin: 40px auto;
  text-align: center;
}
.b-title {
  position: relative;
  margin-bottom: 20px;
}
.b-title::after {
  display: block;
  content: "";
  width: 200px;
  background: #000;
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 30px auto;
}
/* カテゴリタイトル */
.cat-title {
  font-family: "zedou", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.25rem;
}
.cat-title span {
  display: block;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
}
.cat-title-special span {
  position: relative;
  display: inline-block;
  margin: 0 1rem;
}
.cat-txt {
  font-size: 1rem;
}

.icon-num {
  font-size: 2rem;
  width: 70px;
  height: 70px;
  line-height: 70px;
  display: inline-block;
  text-align: center;
  border-radius: 7.5rem;
  background: #ebdfd1;
  color: #fff;
  font-family: "trajan-pro-3", serif;
  margin-bottom: 1rem;
}
/* サブタイトル（左線付き） */
.sub-title {
  display: flex;
  position: relative;
  align-items: center;
  padding-left: 1em;
  color: #810f00;
  font-weight: bold;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  line-height: 1.4;
}
.sub-title::before {
  background: #810f00;
  height: 100%;
  width: 8px;
  content: "";
  display: block;
  position: absolute;
  left: 0;
}

/* 「もっと見る」ボタン */
.viewmore {
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  padding: 5px 10px;
}
.btnMore {
  font-weight: bolder;
  font-size: 1.5rem;
  color: #2d2929;
  font-family: "futura-pt", sans-serif;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

/* 画像ボタン（白枠付き） */
a.image-button {
  position: relative;
  display: inline-block;
  width: 600px; /* 任意サイズに調整可能 */
  max-width: 95%;
  overflow: hidden;
}
a.image-button img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

a.image-button:hover img {
  transform: scale(1.05);
  filter: brightness(1.15); /* 明るさUP */
}

/*------------------------------------
 ヒーローセクション（各ページのMV）
------------------------------------*/
.hero-section {
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 657;
}
.hero-section.top {
  background: url(../images/top/topMv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1920 / 780;
  display: flex;
  align-items: center;
  justify-content: end;
}
.hero-section.top img {
  max-width: 40vw;
  margin-right: 10%;
}
.hero-section.plan {
  background: url(../images/plan/mv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 560;
  display: flex;
  align-items: center;
  padding-left: 10%;
}
.hero-section.equipment {
  background: url(../images/equipment/mv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 560;
  display: flex;
  align-items: center;
  padding-right: 20%;
  justify-content: end;
}
.hero-section.location {
  background: url(../images/location/mv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 560;
  display: flex;
  align-items: center;
  padding-left: 10%;
}
/*------------------------------------
 レスポンシブ調整
------------------------------------*/
@media screen and (max-width: 991px) {
  .hero-section {
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }

  .hero-section.top {
    background: url(../images/top/topMv.webp);
    position: relative;
    width: 100%;
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 750 / 400;
    display: flex;
    align-items: center;
    justify-content: end;
  }
  .hero-section.top div.txt {
    max-width: 60vw;
    margin-right: 5%;
  }
  .hero-section.top img {
    max-width: 60vw;
    margin-right: 5%;
  }

  /* SP用背景画像 */
  .hero-section.plan {
    background: url(../images/plan/mv.webp);
    position: relative;
    width: 100%;
    background-position: 70%;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 750 / 400;
    display: flex;
    align-items: center;
    padding-left: 5%;
  }
  .hero-section.location {
    background: url(../images/location/mv.webp);
    position: relative;
    width: 100%;
    background-position: 70%;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 750 / 400;
    display: flex;
    align-items: center;
    padding-left: 5%;
  }
  .hero-section.equipment {
    background-image: url(../images/equipment/mv.webp);
    position: relative;
    width: 100%;
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 750 / 400;
    display: flex;
    align-items: center;
    padding-left: 34%;
    padding-right: 5%;
  }
}

@media screen and (max-width: 768px) {
  .mb-5.pb-5 {
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-5.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}
