/* reset.css */
@charset "utf-8";

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ol,
ul {
  list-style: none;
  list-style-type: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
a,
table,
tr,
th,
td {
  font-family: "メイリオ", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: #000000;
  margin: 0;
  padding: 0;
}

header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
  display: block;
}

/* /reset.css */

/* common.css */
/* レスポンシブ切替用 */
.pc {
  display: block;
}

.sp {
  display: none;
}

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

  .sp {
    display: block;
  }
}

/* color #c7000b, #E95513*/
/* spのみ改行 */
@media screen and (min-width: 767px) {
  .br-sp {
    display: none;
  }
}

.title span {
  color: #c7000b;
  font-weight: bold;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* /common.css */

/* header */
.logo {
  width: 12rem;
}

.tel {
  width: 18.3rem;
  height: auto;
  margin: auto;
}

.mail {
  width: 6rem;
}

@media only screen and (max-width: 767px) {
  .tel {
    width: 13rem;
  }

  .mail {
    width: 5rem;
  }
}

header .navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

header .nav-link {
  padding-right: 0 !important;
  padding-left: 0 !important;
  padding-top: 3px !important;
  padding-bottom: 0 !important;
}

/* /header */

/* menu */
.menu {
  background-color: #c7000b;
}


/*========= ナビゲーションのための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;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 15px;
  right: 16px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #c7000b;
  border-radius: 5px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #FFF;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* /menu */

/* top */
.top-pc {
  display: block;
}

.top-sp {
  display: none;
}

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

  .top-sp {
    display: block;
  }
}

/* /top */

/* message */
.message .message-text h5 {
  color: #c7000b;
}

.message .message-text span {
  font-weight: bold;
  text-decoration: underline;
}

.message-text figure {
  float: right;
  margin: auto 0 auto 30px;
  width: 40%;
}

.message-text figure img {
  max-width: 100%;
}

.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%;
}

/* /message */

/* merit */
.merit .card {
  border: 2px solid #E95513 !important;
}

.merit .bg-orange {
  background-color: #E95513;
}


#merit .card-text {
  text-align: left;
}

/* /merit */

/* voice */
.voice {
  background-color: #FDE6D2;
}

.balloon {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  background: #fff;
  width: 500px;
  box-shadow: 3px 3px 5px black;
}

.balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #fff;
}

.balloon p {
  margin: 0;
  padding: 0;
}

.face01 {
  width: 5rem;
}

.face02 {
  width: 5rem;
}

.face03 {
  width: 5rem;
}

.voice-01 {
  position: relative;
}

.voice01:after {
  position: absolute;
  font-family: "Font Awesome 5 Free", 'Quicksand', 'Avenir', 'Arial', sans-serif;
  font-weight: 900;
  content: 'VOICE01';
  background: #fcd430;
  color: #000;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 7px 20px;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0.05em
}

.voice-02 {
  position: relative;
}

.voice02:after {
  position: absolute;
  font-family: "Font Awesome 5 Free", 'Quicksand', 'Avenir', 'Arial', sans-serif;
  font-weight: 900;
  content: 'VOICE02';
  background: #fcd430;
  color: #000;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 7px 20px;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0.05em
}

.voice-03 {
  position: relative;
}

.voice03:after {
  position: absolute;
  font-family: "Font Awesome 5 Free", 'Quicksand', 'Avenir', 'Arial', sans-serif;
  font-weight: 900;
  content: 'VOICE03';
  background: #fcd430;
  color: #000;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 7px 20px;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0.05em
}



/* /voice */

/* flow */
.flow {
  background-color: #e0eeff;
}

.flow .card {
  border: 2px solid #498ee0 !important;
}

.flow-popup {
  position: relative;
  text-align: center;
  height: 120px;
}

.flow-popup::before {
  content: attr(data-number);
  display: block;
  margin-bottom: 30px;
  color: #498ee0;
  font-size: 25px;
}

.flow-popup::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background-color: #498ee0;
}

/* /flow */

/* fee */
.fee {
  background-color: #feebed;
}

/* /fee */

/* about */
.about table {
  border: 3px #E95513 !important;
}

.about table tr th {
  text-align: center;
  color: #c24e18;
  font-weight: bold;
  background-color: #FDE6D2;
}

/* /about */

/* contact */
.contact {
  background-image: url(../img/bg-gold.webp);
}

.contact span {
  font-size: 10px;
  font-weight: bold;
  color: #c7000b;
}

.caution {
  background-color: #c7000b;
}

#contact .confirm-text {
  font-size: 12px;
  text-align: center;
}

#contact .submit-button {
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  border: none;
}

#contact .submit-button:hover {
  opacity: 0.9;
}

@media screen and (max-width: 767px) {
  .contact img {
    margin-bottom: 30px !important;
  }
}

/* /contact */

/* フローティングバナー */
/* 776px以下で表示 */
@media screen and (max-width: 767px) {
  .button-fixed {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0px;
    opacity: 0.9;
    width: 100%;
  }

  .message-text figure {
    float: none;
    margin: 0px auto 30px auto;
    width: 100%;
  }
}