/* assets/css/style.css */

/*------------------------------------
 共通設定
------------------------------------*/
/* 全体の基本スタイル */
html,
body {
  overflow-x: hidden;
}
@media (min-width: 768px) {
  body:not(#top) {
    padding-top: 85px;
  }
}

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;
  font-size: 1rem;
}

/* カラーテーマ（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;
  --bs-success: #7cba91;
  --bs-success-rgb: 124, 186, 145;
  --main-green: #7cba91;
}

/*------------------------------------
 スクロールアニメーション（初期状態）
------------------------------------*/
[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);
}
@media (min-width: 768px) {
  .pt-md-10 {
    padding-top: 10vw;
  }
}
/*------------------------------------
 ネガティブマージンユーティリティ（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.w1100,
  .container-lg.w1100,
  .container,
  .container-lg {
    width: 100%;
    max-width: 1100px;
  }*/
}

/*------------------------------------
 汎用クラス
------------------------------------*/

@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;
  }
}

/*------------------------------------
 トップページ専用
------------------------------------*/

.two-tone {
  --split: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent var(--split), var(--main-green) var(--split), var(--main-green) 100%);
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wave-container {
  background-color: var(--main-green);
}

@keyframes fly {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateX(120vw) translateY(-80px) rotate(360deg);
    opacity: 0;
  }
}
/*------------------------------------
 layoutページ専用
------------------------------------*/
@media screen and (min-width: 768px) {
  .layout-info .col {
    position: relative;
    padding: 0 50px;
  }
  .layout-info .col:after {
    content: "";
    background: #ccc;
    height: 80%;
    width: 1px;
    display: block;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .layout-info .col:last-child::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .layout-info .col {
    position: relative;
  }
  .layout-info .col:after {
    content: "";
    background: #ccc;
    height: 1px;
    width: 100%;
    display: block;
    margin: auto;
    position: static;
  }

  .layout-info .col:last-child::after {
    display: none;
  }
}

.comment-icon li span {
  margin-right: 10px;
  display: inline-block;
  content: "";
  width: 10px;
  height: 10px;
}
.comment-icon li:nth-child(1) span {
  background: #e73d56;
}
.comment-icon li:nth-child(2) span {
  background: #eb6a70;
}
.comment-icon li:nth-child(3) span {
  background: #f3afaa;
}
.comment-icon li:nth-child(4) span {
  background: #f9d6d1;
}
.comment-icon li:nth-child(5) span {
  background: #ffffff;
  border: 1px solid #ccc;
}

.text-pink {
  color: #e73d56;
}

.text-wred {
  color: #ab3954;
}
.text-orange {
  color: #f35b3f;
}
.border-wred {
  border-color: #ab3954;
  border-bottom: 2px solid;
}
.border-orange {
  border-color: #f35b3f;
  border-bottom: 2px solid;
}
/*------------------------------------
 equipmentページ専用
------------------------------------*/
.icon1 {
  position: relative;
}
.icon1::after {
  position: absolute;
  content: "";
  background: url(../images/equipment/icon1.webp);
  height: 100px;
  width: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  right: -30px;
  top: -40px;
}
.icon2 {
  position: relative;
}
.icon2::after {
  position: absolute;
  content: "";
  background: url(../images/equipment/icon2.webp);
  height: 100px;
  width: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  right: -30px;
  top: -40px;
}
/* カテゴリタイトル */

.title-with-line {
  display: flex;
  align-items: center;
  font-size: 1.5em; /* 必要に応じて調整 */
}

.title-with-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ccc;
  margin-left: 1em; /* タイトルとの間隔 */
}
.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-reserve {
  background: #5eaa78;
  text-decoration: none;
  text-align: center;
  margin: auto;
  color: #fff;
  border-radius: 7.5rem;
  padding: 0.5rem 2rem;
  font-size: 1.1rem;
  position: relative;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  transition: 0.2s ease;
}
.btn-reserve:hover {
  background: #4b8a61;
}
.btn-reserve::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900; /* solid用 */
  content: "\f054"; /* chevron-right */
  display: inline-block;
  margin-left: 0.75rem;
  font-size: 0.9rem;
}
/* 画像ボタン */
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/topMv.jpg);
  position: relative;
  width: 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1920 / 940;
}

.wave {
  position: absolute;
  bottom: -9vw;
}
.leaf {
  background: url(../images/top/reaf.svg);
  position: absolute;
  right: 10%;
  top: 20%;
  width: 70%;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 1423 / 983;
  z-index: 99;
}

.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/topMvSP.jpg);
    background-position: top;
    background-size: cover;
    aspect-ratio: 750 / 1226;
    position: relative;
  }
  .leaf {
    background: url(../images/top/reaf.svg);
    position: absolute;
    right: 2%;
    top: 70%;
    width: 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 1423 / 983;
    z-index: 99;
  }
}

@media screen and (max-width: 768px) {
  .mvSP {
    object-fit: cover;
    height: 130vw;
    object-position: 50% 100%;
  }
  .layout .mvSP {
    object-fit: cover;
    height: 130vw;
    object-position: 38% 100%;
  }
  .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;
  }
}
