/*
 * Common CSS - 全ページ共通のスタイル
 */

/* ==========================================================================
  hr (ヘッダー)
  ========================================================================== */
.hr {
  width: 680px;
  height: 100px;
  position: fixed;
  top: 0;
  z-index: 9999;
}
@media (min-width: 600px) {
  .hr {
    width: 100%;
  }
}
@media (max-width: 599px) {
  .hr {
    width: 100%;
    height: 75px;
  }
}
.hr__inner {
  padding: 0 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}
@media (max-width: 599px) {
  .hr__inner {
    padding: 0 20px 0 5px;
  }
}
.hr__logo {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media (min-width: 600px) {
  .hr__logo {
    width: 112px;
  }
}
.hr__logo:hover {
  opacity: 0.7;
}
@media (max-width: 599px) {
  .hr__logo {
    width: auto;
    height: 75px;
  }
  .hr__logo img {
    width: auto;
    height: 75px;
  }
}
.hr__logo > a {
  display: block;
}
.hr__contents {
  display: none;
  background: url(../img/datsumo/menu-bg.jpg) no-repeat top center/cover;
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: 0;
}
.hr__contents::before {
  content: "";
  background: url(../img/datsumo/menu-leaf1.png) no-repeat top center/95px 129px;
  width: 95px;
  height: 129px;
  position: absolute;
  top: 120px;
  right: 30px;
}
.webp .hr__contents {
  background: url(../img/datsumo/menu-bg.webp) no-repeat top center/cover;
}
.webp .hr__contents::before {
  background-image: url(../img/datsumo/menu-leaf1.webp);
}
.hr__contents {
  text-align: center;
}
.hr__contents .nav > p::before {
  margin-right: 19px;
}
.hr__contents .nav .menu > li::before {
  margin-right: 28px;
}

.hr__contents .nav {
  color: #1D1C1C;
  font-size: 1.4rem;
  display: inline-block;
  text-align: left;
  margin-bottom: 33px;
}
.hr__contents .nav .menu > li > a {
  display: block;
  width: 100%;
}
@media (max-width: 599px) {
  .hr__contents .nav {
    display: block;
  }
}
.hr__contents .nav > P::before,
.hr__contents .nav .menu > li::before {
  content: "";
  background: url(../img/datsumo/leaf-green.svg) no-repeat top center/12px 16px;
}
.hr__contents .squareBtn {
  max-width: 285px;
  width: 100%;
  height: 60px;
}
.hr__contents .squareBtn > span {
  font-size: 1.4rem;
}
.hr__contents .squareBtn:not(:last-child) {
  margin-bottom: 10px;
}
.hr__contents .squareBtn,
.hr__contents .borderBtn {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  max-width:80%;
}
.hr__contents .squareBtn.is-light > span::before {
  width: 30px;
  height: 30px;
  background-size: 30px 30px;
}
.hr__contents .squareBtn.is-dark > span::before {
  width: 30px;
  height: 22px;
  background-size: 30px 22px;
}


.hr__contents .borderBtn:hover {
  opacity: 0.7;
  background: #fff;
  color: #1D1C1C;
}
.hr__contents .deco {
  position: relative;
  margin-top: 26px;
  margin-bottom: 80px;
  z-index: 1;
}




/* ==========================================================================
  toggle (ハンバーガーメニュー)
  ========================================================================== */
.toggle {
  background: transparent;
  cursor: pointer;
  width: 50px;
  height: 50px;
  z-index: 99999;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  position: relative;
}
@media (max-width: 599px) {
  .toggle {
    width: 36px;
    height: 36px;
  }
}
.toggle span {
  -webkit-transition: 0.35s ease-in-out;
  border-bottom: solid 5px #007E63;
  display: block;
  right: 0;
  position: absolute;
  transition: 0.35s ease-in-out;
  width: 100%;
}
.toggle span:nth-child(1) {
  top: 12px;
}
@media (max-width: 599px) {
  .toggle span:nth-child(1) {
    top: 5px;
  }
}
.toggle span:nth-child(2) {
  top: 24px;
}
@media (max-width: 599px) {
  .toggle span:nth-child(2) {
    top: 15px;
  }
}
.toggle span:nth-child(3) {
  top: 36px;
}
@media (max-width: 599px) {
  .toggle span:nth-child(3) {
    top: 25px;
  }
}
.toggle.is-active span:nth-child(1) {
  top: 24px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media (max-width: 599px) {
  .toggle.is-active span:nth-child(1) {
    top: 15px;
  }
}
.toggle.is-active span:nth-child(2), .toggle.is-active span:nth-child(3) {
  top: 24px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
@media (max-width: 599px) {
  .toggle.is-active span:nth-child(2), .toggle.is-active span:nth-child(3) {
    top: 15px;
  }
}

/* ==========================================================================
  nav (ナビゲーション)
  ========================================================================== */
.nav {
  color: #fff;
  font-family: "mincho-std", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: bold;
  font-size: 1.3rem;
}
.nav .borderBtn {
  margin-top: 35px;
}
.nav > P,
.nav .menu > li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.nav > P::before,
.nav .menu > li::before {
  content: "";
  margin-right: 15px;
  background: url(../img/datsumo/leaf-gray.svg) no-repeat top center/12px 16px;
  width: 12px;
  height: 16px;
}
.nav > p {
  margin-bottom: 10px;
}
.nav > p::before {
  margin-right: 9px;
}
.nav .menu > li > a {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.nav .menu > li > a:hover {
  opacity: 0.7;
}


/* ==========================================================================
  squareBtn (正方形ボタン)
  ========================================================================== */
.squareBtn {
  border-radius: 5px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.squareBtn.is-dark {
  background: #18716B;
}
.squareBtn.is-dark:hover {
  background: #1c867f;
}
.squareBtn.is-dark > span::before {
  background: url(../img/datsumo/web-icon.svg) no-repeat top center/40px 30px;
  width: 40px;
  height: 30px;
}
.squareBtn.is-light {
  background: #2E9E45;
}
.squareBtn.is-light:hover {
  background: #34b24e;
}
.squareBtn.is-light > span::before {
  background: url(../img/datsumo/line-icon.svg) no-repeat top center/40px 40px;
  width: 40px;
  height: 40px;
}
.squareBtn > span {
  line-height: 1.5;
  color: #fff;
  font-family: "mincho-std", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: bold;
  font-size: 2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.squareBtn > span::before {
  content: "";
  margin-right: 20px;
}

/* ==========================================================================
  borderBtn (ボーダーボタン)
  ========================================================================== */
.borderBtn {
  color: #fff;
  border: 1px solid #fff;
  padding: 5px 20px;
  max-width: 200px;
  font-family: "mincho-std", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: bold;
  display: block;
  text-align: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.borderBtn:hover {
  opacity: 0.7;
}
.borderBtn + .borderBtn {
  margin-top: 20px;
}

/* 電話番号リンク：PCでは発信無効 */
@media (min-width: 768px) {
  .tel-link-sp-only {
    pointer-events: none;
    cursor: default;
  }
}
