/* 基本スタイル */
body {
  font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0faee;
}
/* ヘッダー */
header {
  background-color: #fff;
  padding-top: 0.5rem;
}

/* ナビゲーションバー */
.navbar {
  border-bottom: 2px solid #e9ecef;
}

.navbar-brand {
  font-weight: bold;
  color: #198754 !important;
}

.nav-link {
  color: #495057 !important;
}

.nav-link.active {
  color: #198754 !important;
  font-weight: bold;
}
.navbar-toggler {
  background-color: #fff;
}

/* フッターナビゲーションバー */
.footer-nav {
  list-style-type: none;
  display: flex;
  justify-content: center;
  column-gap: 25px;
}
.footer-nav .footer-nav-item {
  position: relative;
}
.footer-nav .footer-nav-item:not(:first-child)::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 60%;
  background-color: #054b17;
  top: 20%;
  left: -12px;
}
.footer-nav .footer-nav-item a {
  color: #e9ecef;
  text-decoration: none;
}
.footer-nav .footer-nav-item a.active {
  color: #fff;
  font-weight: bold;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .footer-nav {
    padding-left: 0;
    column-gap: 10px;
    font-size: 0.8em;
  }
  .footer-nav .footer-nav-item:not(:first-child)::before {
    left: -5px;
  }
}

/* 一字下げ */
p.indent {
  text-indent: 1em;
}

/* カードスタイル */
.card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-title {
  color: #198754;
  margin-bottom: 1rem;
}

/* リストスタイル */
.list-group-item {
  border: none;
  padding: 0.75rem 0 0.75rem 0.5rem;
}

.list-group-item.active {
  background-color: #198754;
  border-color: #198754;
}

/* フッター */
footer {
  background-color: #07bb07;
  margin-top: 2rem;
  padding: 0.5rem 0;
}

footer p {
  margin: 0;
  color: #ffffff;
}

/* レスポンシブイメージ */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

/* ボタンスタイル */
.btn-primary {
  background-color: #198754;
  border-color: #198754;
}

.btn-primary:hover {
  background-color: #157347;
  border-color: #146c43;
}

/* 余白調整 */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .navbar-nav {
    margin-top: 1rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }
}
/* トップページswiper */
.swiper {
  width: 100%;
  height: 400px;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 価格表色設定 */
.table .color-tr {
  background-color: #ecf9e1;
}
.table .color-genmai {
  background-color: #f7e9dd;
}
.table .color-hakumai {
  background-color: #f8f8f8;
}

/* mobileでのみ改行するbrタグ */
@media (min-width: 768px) {
  .br-mb {
    display: none;
  }
}

/* 万田酵素セクション */
.section-style2 .card-title {
  font-size: 1.5rem;
  border-bottom: 2px solid #198754;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-style2 ul {
  list-style-type: none;
  padding-left: 0;
}

.section-style2 li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.section-style2 li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  /* transform: translateY(-50%); 垂直方向に中央揃え */
  width: 20px;
  height: 20px;
  background-image: url("../images/icon/icon_ine2.png");
  background-size: cover; /*アイコンが枠に収まるように調整*/
}
.section-style2 li.list-group-item::before {
  top: 15px;
}

.section-style2 img {
  border: 2px solid #e9ecef;
  padding: 0.25rem;
  background-color: white;
}

.section-style2 p {
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 768px) {
  .section-style2 .row {
    flex-direction: column;
  }

  .section-style2 img {
    margin-bottom: 1rem;
  }
}
/* お知らせの囲み */
.title-box {
  margin: 1em 0;
  padding: 1.5em 1em 1em;
  position: relative;
  border: 1px solid #e66868;
  background-color: #ffeaea;
}

.title-box-title {
  position: absolute;
  top: -0.8em;
  left: 20px;
  font-size: 1.5em;
  background-color: #e66868;
  color: white;
  padding: 0 0.5em;
}

.title-box p {
  margin: 0;
  padding: 0;
}

/* サイドバー固定 */
.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* tel:モバイルでのみ有効に */
@media (max-width: 767px) {
  /* 767px以下の場合に適用 */
  .tel-link {
    pointer-events: auto; /* リンクを有効にする */
    cursor: pointer; /* カーソルを指マークにする */
  }
}
@media (min-width: 768px) {
  /* 768px以上の場合に適用 */
  .tel-link {
    pointer-events: none; /* リンクを無効にする */
    cursor: default; /* カーソルを通常表示にする */
    color: #333; /* 色をグレーにするなど */
    text-decoration: none; /* 下線を消すなど */
  }
}
