/* 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以外のヘッダー画像用に必要 */
}

p {
  line-height: 1.75;
}

/* カラーテーマ（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-primary: #9ed1ce;
  --bs-primary-rgb: 158, 209, 206;
}

.modal-title {
  color: #5baca6;
  font-weight: bold;
}
.btn-primary {
  background: #5baca6;
  border: 0;
}
.btn-primary:hover {
  background: #7eaca9;
}
.form-check-input:checked {
  background-color: #9ed1ce;
  border-color: #9ed1ce;
}
/*------------------------------------
 スクロールアニメーション（初期状態）
------------------------------------*/
[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;
}

.bg-green {
  background: radial-gradient(ellipse 100% 30% at center, white 0%, #9ed1ce 100%);
}
@media (min-width: 1200px) {
  /*.container.w1100,
  .container-lg.w1100,
  .container,
  .container-lg {
    width: 100%;
    max-width: 1100px;
  }*/
}

/*------------------------------------
 汎用クラス
------------------------------------*/
.logoSP {
  margin-bottom: 100px;
}
.text-br {
  color: #9a8d75;
}
.text-red {
  color: red;
}
.bg-light {
  background: #f7f7f7;
}
.badge {
  border-radius: 0;
}

.container-lg {
  max-width: 1280px;
}

.w-1000,
.reserve_box {
  max-width: 1000px;
}
@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;
  }
}

/*------------------------------------
 トップページ専用
------------------------------------*/

.imgtxt {
  padding: 50px;
}
/* カテゴリタイトル */
.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;
}
/* ボタン背景 */
.btn-inquiry {
  border-radius: 0;
  padding: 0.75rem;
  background: linear-gradient(to right, #a4d7d4, #d7efee, #a4d7d4);
}
.btn-reserve {
  border-radius: 0;
  padding: 0.75rem;
  background: linear-gradient(to right, #7fa1b5, #c3d2db, #7fa1b5);
}

/* 画像ボタン */
a.image-button {
  position: relative;
  display: inline-block;
  width: 100%; /* 任意サイズに調整可能 */
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}
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.3); /* 明るさUP */
}

a.image-button2:hover,
a.image-button2:hover img {
  filter: brightness(1.1); /* 明るさ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/mv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 658;
}
.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 / 657;
}
.hero-section.quality {
  background: url(../images/quality/mv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 657;
}
.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 / 657;
}
.hero-section.landscape {
  background: url(../images/landscape/mv.webp);
  position: relative;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 657;
}
.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 / 657;
}

.whybg {
  background: url(../images/layout/whybg.webp);
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
}
.whybg .txtbox {
  background: rgba(0, 0, 0, 0.7);
  padding: 5vw;
}
/*------------------------------------
 レスポンシブ調整
------------------------------------*/
@media screen and (max-width: 991px) {
  .hero-section {
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }

  /* SP用背景画像 */
  .hero-section.top {
    background: url(../images/top//mvSP.webp);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 1000;
  }
  .hero-section.location {
    background-image: url(../images/location/mvSP.webp);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }
  .hero-section.quality {
    background-image: url(../images/quality/mvSP.webp);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }
  .hero-section.equipment {
    background-image: url(../images/equipment/mvSP.webp);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }
  .hero-section.landscape {
    background-image: url(../images/landscape/mv.webp);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }
  .hero-section.plan {
    background-image: url(../images/plan/mvSP.webp);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 750;
  }
}

@media screen and (max-width: 768px) {
  .mainVisual img,
  figure .mainVisual {
    object-fit: cover;
    height: 70vw;
  }
  .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;
  }
  .splogo{
  width: 50%;
  }
}
