@charset "utf-8";

.bg-danger {
  background-color: #c7000b !important;
}

.bg-success {
  background-color: #006835 !important;
}

.header-logo img {
  width: 180px;
}

.header-tel img, .header-mail img {
  width: 180px;
}

.header-tel img {
  margin-top: 5px;
}

.header span {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #c7000b;
  color: #fff;
  font-size: 12px;
  padding: 3px 0;
}

.header h1 {
  display: none;
}

.border-horizontal {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}


/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background-color: #c7000b;
  /*動き*/
  transition: all 0.6s;
  opacity: 0.9;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-left: 0 !important;
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}


.nav-item {
  list-style: none;
  padding-left: 20px;
  /* Adjust as needed to align bullets */
}

.nav-item .nav-link {
  position: relative;
  text-align: left;
  padding-left: 20px;
  /* Adjust to align the text after the bullet */
}

.nav-item .nav-link::before {
  content: '・';
  position: absolute;
  left: -15px;
  font-size: large;
  color: white;
  /* Match the bullet color to the text color */
}

.text-area {
  max-width: 90%;
  margin: auto;
  font-size: 16px;
  line-height: 2;
}

.text-area span {
  font-size: 16px;
  color: #c7000b;
  font-weight: bold;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

@media only screen and (max-width: 767px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* spのみ改行 */
@media screen and (min-width: 768px) {
  .br-sp {
    display: none;
  }
}

summary {
  display: block;
}

details h3 {
  display: inline-block;
  color: #c7000b;
  font-weight: bold;
  border-bottom: double 3px #e95513;
}

summary::-webkit-details-marker {
  display: none;
}

#modal-container {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, .6);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

#modal-container>div {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

#modal-container>div>img {
  max-width: calc(100vw - 30px);
  max-height: calc(100vh - 30px);
}

img.popup {
  cursor: pointer;
}


.satisfaction p {
  text-align: center;
  color: #c7000b;
  font-weight: bold;
  font-size: 3em;
}

.selling-point {
  background-color: #fffde5;
}

.selling-point-01 h2 {
  position: relative;
  padding: 1rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 0 10px 10px 10px;
  font-weight: bold;
  background: #006835;
}

.selling-point-01 h2 span {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.selling-point-01 h2:before {
  font-size: 15px;
  position: absolute;
  top: -24px;
  left: 0;
  height: 24px;
  padding: 0.15em 1em;
  content: '01';
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: #c7000b;
}

.selling-point-02 h2 {
  position: relative;
  padding: 1rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 0 10px 10px 10px;
  font-weight: bold;
  background: #006835;
}

.selling-point-02 h2 span {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.selling-point-02 h2:before {
  font-size: 15px;
  position: absolute;
  top: -24px;
  left: 0;
  height: 24px;
  padding: 0.15em 1em;
  content: '02';
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: #c7000b;
}

.selling-point-03 h2 {
  position: relative;
  padding: 1rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 0 10px 10px 10px;
  font-weight: bold;
  background: #006835;
}

.selling-point-03 h2 span {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.selling-point-03 h2:before {
  font-size: 15px;
  position: absolute;
  top: -24px;
  left: 0;
  height: 24px;
  padding: 0.15em 1em;
  content: '03';
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: #c7000b;
}

.selling-point-04 h2 {
  position: relative;
  padding: 1rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 0 10px 10px 10px;
  font-weight: bold;
  background: #006835;
}

.selling-point-04 h2 span {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.selling-point-04 h2:before {
  font-size: 15px;
  position: absolute;
  top: -24px;
  left: 0;
  height: 24px;
  padding: 0.15em 1em;
  content: '04';
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: #c7000b;
}

.selling-point-05 h2 {
  position: relative;
  padding: 1rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 0 10px 10px 10px;
  font-weight: bold;
  background: #006835;
}

.selling-point-05 h2 span {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

.selling-point-05 h2:before {
  font-size: 15px;
  position: absolute;
  top: -24px;
  left: 0;
  height: 24px;
  padding: 0.15em 1em;
  content: '05';
  color: #fff;
  border-radius: 10px 10px 0 0;
  background: #c7000b;
}

.selling-point h5 {
  text-align: center;
  font-weight: bold;
  border-bottom: solid 2px #e95513;
}

.selling-point-view {
  display: block;
  width: 50vw;
  margin: auto;
}

.postscript-banner {
  background-color: #d3d3d3;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.youtube lite-youtube {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.qa-banner {
  background-color: #c7000b;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: solid 10px #006835;
}

.qa-list {
  max-width: 100%;
  margin-bottom: 7px;
  border: 1px solid #d6dde3;
  border-radius: 5px;
}

.qa-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.qa-list summary::before,
.qa-list p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-list summary::before {
  color: #006835;
  content: "Q";
}

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

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

.qa-list p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  color: #333;
  transition: transform .5s, opacity .5s;
}

.qa-list[open] p {
  transform: none;
  opacity: 1;
}

.qa-list p::before {
  color: #c7000b;
  line-height: 1.2;
  content: "A";
}

footer {
  background-color: #006835;
}

footer p {
  color: white;
}

.footer-logo {
  width: 180px;
}

.footer-tel {
  display: inline-block;
  color: #fff;
  background-color: #c7000b;
}

@media only screen and (max-width: 767px) {

  /*========= ボタンのためのCSS ===============*/
  .menu-button {
    position: fixed;
    top:32px;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 37px;
    height: 37px;
    background-color: white;
    border-radius: 50%;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 200;
  }

  .close-button {
    position: absolute;
    top: 37px;
    right: 13px;
    width: 37px;
    cursor: pointer;
  }

  .header-menu {
    display: none !important;
  }

  .text-area {
    max-width: 90%;
    margin: auto;
    font-size: 14px;
    line-height: 2;
  }

  .text-area span {
    font-size: 14px;
    color: #c7000b;
    font-weight: bold;
  }

  .header-logo {
    width: 120px;
  }

  .header-tel img {
    width: 70px;
    margin: auto;
    margin-top: 4px;
    margin-right: 45px;
  }

  .header-mail {
    margin-right: 45px;
  }

  .header-mail img {
    margin-top: 5px;
  }

  .header-menu {
    font-size: 14px;
  }

  .satisfaction h1 {
    font-size: 20px;
    text-align: center;
    color: #c7000b;
    font-weight: bold;
  }

  .selling-point-04 h2 {
    margin-top: 20px;
  }

  #page-top {
    position: fixed;
    bottom: 20px;
    right: 13px;
    font-size: 20px;
    z-index: 99;
  }

  #page-top a {
    background: #c7000b;
    text-decoration: none;
    color: #fff;
    width: 35px;
    text-align: center;
    display: block;
    border-radius: 90px;
    opacity: 0.9;
    transition: all .3s ease;
    padding-bottom: 5px;
  }

  #page-top a:hover {
    text-decoration: none;
  }

  .image-container {
    position: relative;
    width: fit-content;
    /* 画像のサイズに合わせて調整 */
    height: fit-content;
    /* 画像のサイズに合わせて調整 */
  }

  .base {
    display: block;
  }

  .overlay-container {
    position: absolute;
    top: -1px;
    left: 8.5px;
    display: flex;
    flex-direction: column;
    /* 縦に並べる */
    align-items: center;
    /* 画像を中央揃え */
    width: 95%;
    /* 親要素の幅に合わせる */
    height: 100%;
    /* 親要素の高さに合わせる */
    justify-content: center;
    /* 中央に揃える */
  }

  .overlay {
    z-index: 1;
    border-radius: 10px;
    /* ベース画像の上に表示 */
  }

  .satisfaction p {
  text-align: center;
  color: #c7000b;
  font-weight: bold;
  font-size: 1.2em;
}



}