/*
Theme Name: Hashimoto Shika wp theme
Theme URI: https://hashimoto-dc.info/
Author: MDesign
Author URI: https://mdsgn.me
Description: Theme for Hashimoto Shika
Version: 1.0
*/
html {
  height: 100% !important;
  width: 100%;
  font-size: 62.5%;
  /* 10px */
  font-family: "Lyon Text Web,Lyon Display Web,Times New Roman,serif", serif;
  overflow-x: hidden;
}

body {
  background: #FAF5EF;
  font-size: 1.6rem;
  color: #707070;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.loading {
  overflow: hidden;
  touch-action: none;
  /* スマートフォンでのスクロールを防止 */
}

body.loaded {
  overflow: auto;
  touch-action: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: lighter;
  font-style: normal;
}

a {
  color: #707070;
  line-height: 2;
  text-underline-offset: 1rem;
  text-decoration-thickness: .05rem;
  position: relative;
}

.font_cormorant {
  font-family: "Cormorant SC", serif;
  font-weight: normal;
}

h2 {
  font-size: 2.5rem;
  font-weight: normal;
  margin-bottom: 3rem;
}

h2.font_cormorant {
  font-weight: lighter;
  font-size: 4rem;
}

h3 {
  font-size: 2.2rem;
}

.c-line {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  opacity: 0.5;
  border-top: 1px solid #707070;
  margin-bottom: 3rem;
}

a:hover {
  color: #000;
}

p {
  line-height: 1.5;
}

.logo_nav {
  position: relative;
  padding: 1rem 0;
}

.top_logo img {
  width: 30rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn.btn-success,
.btn.btn-warning,
.btn.btn-primary {
  padding: 1rem 2rem;
  color: #fff;
  font-family: "Noto Sans JP", serif;
}

.btn.btn-success {
  background-color: #06C755;
  border: none;
}

.btn.btn-warning {
  background-color: #F76C42;
  border: none;
}

.btn.btn-primary {
  background-color: #463519;
  border: none;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: #fff;
  color: #463519;
  border: none;
}

.btn_wrapper {
  margin-top: 2rem;
}

nav.nav a {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  padding: 1.5rem 0;
  color: #707070 !important;
}

.nav-link {
  color: #707070;
}

.nav-link:hover,
.nav-link:focus {
  color: #707070;
}

.dropdown-menu {
  padding: 1rem;
  display: none;
  /* 初期状態では非表示 */
  opacity: 0;
  transform: translateY(-10px);
  /* 少し上から出現 */
  min-width: 15rem;
}

.dropdown-menu li a {
  font-size: 1.5rem;
  padding: 1rem;
  font-family: "Noto Sans JP", serif;
  font-weight: normal;
}

.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #eee;
}

.spacer {
  margin: 10rem 0;
}

.spacer_s {
  margin: 5rem 0;
}

.devider {
  margin: 5rem 10%;
  border-top: 1px solid #000;
}

.devider_s {
  margin: 3rem 0;
  border-top: 1px solid #000;
}

.home_top_block {
  background-image: url("img/hashimoto_shika_6.jpg");
  background-size: cover;
  height: 60rem;
  background-repeat: no-repeat;
  padding: 5rem;
  background-position: center top;
  position: relative;
  opacity: 0;
}

.hero_h1 {
  font-weight: lighter;
  font-size: 3rem;
  font-family: "Noto Serif JP", serif;

}

.home_top_block_inner h2 {
  font-weight: normal;
  font-size: 1.3rem;
}

.headline {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 1rem 2rem;
}

.headline .label {
  position: relative;
  z-index: 100;
}

.headline .rect {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 90;
}

.headline_small {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 0.5rem 2rem;
}

.headline_small .label {
  position: relative;
  z-index: 100;
}

.headline_small .rect {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 90;
}

body::-webkit-scrollbar {
  width: 10px;
  /* 垂直方向のスクロールバーの幅 */
}

body::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 5px;
}

body::-webkit-scrollbar-track {
  background-color: #444;
}

.trans_block {
  position: absolute;
  background-color: transparent;
  bottom: 5rem;
  left: calc(50% - 2.7rem);
  z-index: 100;
}

.trans_block p {
  color: #463519;
  font-size: 1.8rem;
  font-weight: lighter;
}

.line-scroll-down-container {
  position: absolute;
  width: 2px;
  height: 50px;
  bottom: -4rem;
  left: calc(50% - 1px);
  overflow: hidden;
  z-index: 999;
  opacity: 1;
  background-color: transparent;
}

.line-scroll-down {
  position: absolute;
  width: 2px;
  height: 50px;
  top: 0;
  left: 0;
  background: #463519;
  animation: ennet_trans 1.5s infinite;
}

.sns_link {
  font-size: 2.5rem;
}

footer .sns_link {
  color: #fff;
  font-size: 2.5rem;
}

@-webkit-keyframes ennet_trans {
  0% {
    -webkit-transform: translate(0px, -50px);
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate(0px, 50px);
    opacity: 1;
  }
}

.about_hos_block {
  background-image: url("img/hashimoto_shika_1.jpg");
  padding-top: 30rem;
  background-size: 100% auto;
  /* 横幅を100%、高さは自動 */
  background-repeat: no-repeat;
  /* 繰り返しなし */
  background-position: center top;
  /* 中央に配置 */
}

.about_hos_block_inner {
  padding-left: 10rem;
  padding-right: 10rem;
}

.about_hos_block_inner_content {
  padding: 5rem;
  background-color: #fff;
}

.about_hos_block_inner_content p.lead {
  font-size: 2.5rem;
  background-color: transparent;
  margin-bottom: 1rem;
  color: #707070;
  font-weight: lighter;
}

.about_hos_block_inner_content p.lead i {
  font-size: 3rem;
  color: #079461;
}

.about_hos_block_inner_content h3 {
  font-size: 2.5rem;
}

.about_hos_block_inner_content h3 span {
  font-size: 5rem;
  margin-right: 1rem;
  color: #463519;
}

.worries_block h3 {
  margin-bottom: 2rem;
}

.googleCalendar iframe {
  width: 100%;
  height: 400px;
}

.news_block {
  padding-left: 10rem;
  padding-right: 10rem;
}

h1.entry-title {
  font-size: 3rem;
}

.content-heading .c-line {
  margin-bottom: 0;
}

.content-heading h2 {
  margin-bottom: 1rem;
}

.form-control {
  font-size: 1.5rem;
}

.btn {
  font-size: 1.5rem;
}

.lead {
  font-size: 3rem;
  font-weight: bold;
  background-color: #eee;
  padding: 1rem;
  margin-bottom: 2.5rem;
}

.page_content_wrapper {
  position: relative;
  z-index: 1;
  padding: 10rem;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}

.page_content {
  background-color: #fff;
  padding: 5rem;
  /* margin-top: -70rem; */
}

.page_content h2,
.single-content h2 {
  margin-top: 5rem;
}

.page_content h3,
.single-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.page_outer_img {
  position: relative;
  width: 100%;
  height: 100%;
  /* 必要な高さに調整 */
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.blur-background {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  filter: blur(10px);
  /* ぼかし効果 */
  z-index: -1;
  /* 背面に配置 */
}

.page_inner_img img {
  max-height: 40rem;
  width: auto;
}

.header_img img {
  max-height: 50rem;
  width: auto;
}

.access_map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 60%;
  /* 比率を4:3に固定 */
}

/* Google Mapのiframe */
.access_map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  background-color: #463519;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  padding: 1rem 2rem;
  color: #fff;
  font-family: "Noto Sans JP", serif;
  border-radius: .5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #463519;
  opacity: .6;
}

.contact_datetime {
  display: none;
  background-color: #eee;
  margin-bottom: 1rem;
}

/* selectのサイズ調整 */
.wpcf7-select {
  width: auto;
  min-width: 80px;
  /* 必要に応じて調整 */
}

/* ユニットのスタイル調整（オプション） */
.unit {
  font-size: 1.6rem;
  margin-left: .5rem;
}

span.badge.text-bg-primary {
  background-color: #463519 !important;
  padding: 0rem 2rem;
  margin-left: 1rem;
}

span.badge.text-bg-primary a {
  color: #fff;
}

.category_content h3.category_cat_name {
  font-size: 3rem;
  background-color: #463519;
  padding: 2rem 3rem;
  margin-bottom: 5rem;
  border-radius: 4rem;
  color: #fff;
  line-height: 1;
}

.table thead tr th {
  background-color: #463519;
  color: #fff;
}

.table th,
.table tr td {
  color: #463519;
}

.footer_block_left {
  padding: 2rem;
  background-color: #fff;
}

.footer_block_left h2 {
  margin-bottom: 1rem;
}

.footer_block_left p {
  margin-bottom: 0;
}

/* Google Mapを囲う要素 */
.footer_block .map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 60%;
}

/* Google Mapのiframe */
.footer_block .map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  color: #515151;
  padding: 32px;
  margin-top: 16px;
  background-color: #463519;
}

footer .footer_nav {
  padding: 0.5rem 2rem;
}

.footer_nav {
  color: #fff;
}

.footer_nav a {
  color: #fff;
}

footer p {
  color: #fff;
}

footer li {
  text-align: left;
}

footer li a {
  font-size: 1.3rem;
}

.page-link {
  font-size: 1.5rem;
}

.page-item span {
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  font-size: 1.5rem;
}

.page-item.active span.bg-secondary {
  background-color: #463519 !important;
  border-color: #463519 !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

.contact .grecaptcha-badge {
  visibility: visible;
}

.price_table .col-3 {
  background-color: #463519;
  color: #fff;
}

span.wpcf7-form-control-wrap {
  background-color: #eee;
}

img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: auto !important;
  /* デフォルトの値に戻す */
}

@media all and (min-width: 992px) {
  .googleCalendar iframe {
    height: 600px;
  }

  .nav-scroller {
    position: relative;
    z-index: 1000;
    border-top: 1px solid rgba(112, 112, 112, 0.5);
  }

  .nav_sns {
    position: absolute;
    right: 0;
    top: 3rem;
  }

  #scrollTopButton {
    position: fixed;
    bottom: 1rem;
    right: 8rem;
    font-size: 5rem;
    color: #079461;
    opacity: 0;
    visibility: hidden;
  }
}

@media all and (max-width: 991px) {
  .spacer {
    margin: 5rem 0;
  }

  .spacer_s {
    margin: 2.5rem 0;
  }

  .spacer_sp_s {
    margin: 2.5rem 0;
  }

  .top_logo img {
    width: 20rem;
  }

  .nav_sns {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: white;
    padding: 0;
    z-index: 2000;
    /* 他の要素より前面に表示 */
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    /* 上に影を付ける */
  }

  .nav_sns .btn {
    width: 50%;
    border-radius: 0;
    padding: 2rem;
  }

  .headline {
    line-height: 1.5;
    font-size: 2.5rem;
  }

  h1.entry-title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  h2 {
    margin-bottom: 1.5rem;
  }

  h2.font_cormorant {
    font-size: 3.5rem;
  }

  .c-line {
    margin-bottom: 1.5rem;
  }

  .hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
  }

  .hamburger .line {
    width: 3.5rem;
    height: .3rem;
    background-color: #463519;
    display: block;
    margin: .6rem auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .hamburger:hover {
    cursor: pointer;
  }

  #hamburger.is-active .line:nth-child(2) {
    opacity: 0;
  }

  #hamburger.is-active .line:nth-child(1) {
    -webkit-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    -o-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
  }

  #hamburger.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-9px) rotate(-45deg);
    -ms-transform: translateY(-9px) rotate(-45deg);
    -o-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-scroller {
    display: none;
    height: 100vh;
    position: fixed;
    z-index: 900;
    width: 100%;
    left: 0;
    top: 0;
  }

  nav.nav {
    background-color: #fff;
    display: flow-root;
    width: 100%;
    padding: 1rem;
    height: 100vh;
  }

  .home_top_block {
    height: 50rem;
    padding: 1.5rem 2.5rem;
  }

  .home_top_block_inner h1 {
    font-size: 2rem;
    z-index: 100;
    position: relative;
  }

  .headline_small {
    font-size: 1.5rem;
    z-index: 100;
    position: relative;
  }

  .about_hos_block {
    padding-top: 15rem;
  }

  .about_hos_block_inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .about_hos_block_inner_content {
    padding: 2.5rem;
  }

  .news_block {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  .image_gallery {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .image_gallery a {
    width: 70%;
  }

  .page_content_wrapper {
    padding: 2rem;
  }

  .page_content {
    padding: 2.5rem;
  }

  .page_content h2,
  .single-content h2 {
    margin-top: 2.5rem;
  }

  .content-heading .c-line {
    margin-bottom: 2rem;
  }

  .category_content .c-line {
    margin-bottom: 1rem;
  }

  .about_hos_block_inner_content p.lead {
    font-size: 2rem;
    line-height: 1.5;
  }

  footer {
    padding-bottom: 10rem;
    text-align: left;
  }

  footer ul {
    padding-left: 2rem;
  }
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #FAF5EF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-logo {
  width: 40rem;
  height: auto;
  opacity: 0;

  @media (max-width: 991px) {
    width: 20rem;
  }
}