@charset "utf-8";
/* 固定時の押し上げ防止（JSで値を入れる） */
body {
  padding-top: var(--hmenu-offset, 0px);
}

/* アニメ安定化 */
.h-menu {
  transition: transform 0.25s ease, opacity 0.2s ease;
  will-change: transform, opacity;
}

/* 上にスクロール時：完全に隠す（半透明で残らない） */
.h-menu.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  /* “薄残り”対策で背景も無効化 */
  background: transparent !important;
}

/* 既存の半透明は “表示しているときだけ” にしたいので、上書き */
.h-menu.fixed-top:not(.is-hidden) {
  background: rgba(255, 255, 255, 0.9); /* 好みで調整 */
}

.headerMenu a,
.footerMenu a {
  text-decoration: none;
}

.nav-item .nav-link {
  color: #333 !important;
}

.h-menu .nav-item,
.f-menu .nav-item {
  border-right: 1px solid #333;
}
.h-menu .nav-item:first-child,
.f-menu .nav-item:first-child {
  border-left: 1px solid #333;
}
.h-menu .nav-link:hover,
.f-menu .nav-link:hover {
  background: #87b829;
  color: #fff !important;
}
.h-menu .nav-link.active,
.f-menu .nav-link.active {
  background: #87b829;
  color: #fff !important;
}
.f-menu .nav-link {
  padding: 40px 0;
  height: 100%;
}
.h-menu.fixed-top {
  background: rgba(255, 255, 255, 0.8);
}
.request .col:first-child {
  border-right: 1px solid #333;
}
.request .col-12:last-child {
  padding-top: 10px;
  border-top: 1px solid #333;
}
.request .txt {
  font-size: 0.8rem;
}
.request a {
  color: #333 !important;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  text-align: center;
  margin: auto;
}
.request a span:first-child {
  color: #333 !important;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  text-align: center;
  margin: auto;
}
.request a span:last-child {
  color: #333 !important;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  text-align: center;
  margin: auto;
}

.headerMenu span:first-child,
.footerMenu span:first-child {
  display: block;
  font-size: 0.9rem;
  text-align: center;
  margin: auto;
}

.headerMenu span:last-child,
.footerMenu span:last-child {
  display: block;
  font-size: 0.9rem;
  text-align: center;
  margin: auto;
}

.navbar-toggler {
  position: absolute;
  right: 0;
  top: 10px;
}
/*----------------------------------------------------
FOOTER
----------------------------------------------------*/

.detail {
  color: #333 !important;
  text-decoration: none;
  text-align: center;
  border: 1px solid #333;
  padding: 0.5rem 3rem;
}
.footerTel {
  color: #b72121;
  font-family: eb-garamond, serif;
  text-decoration: none;
  font-size: 3rem;
}
/*----------------------------------------------------
FOOTERここまで
----------------------------------------------------*/
/*----------------------------------------------------
ページトップ
----------------------------------------------------*/
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0%;
  bottom: 11%;
  /*background: #3f98ef;*/
  background: #3f98ef;
  opacity: 0.6;
  border-radius: 50%;
}

#page_top:hover {
  background: #2965a0;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f102";
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  line-height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/*----------------------------------------------------
ページトップここまで
----------------------------------------------------*/

/*----------------------------------------------------
サイドメニュー
----------------------------------------------------*/
.sideMenu {
  width: 55px;
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 10;
}
.sideMenuTel {
  width: 30px;
  position: fixed;
  top: 10%;
  right: 15px;
  z-index: 10;
}

.sideMenuTel li a {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  letter-spacing: 0.15rem;
  color: #fff;
  padding: 0.75rem 0.25rem;
  border-radius: 7.5rem;
}
.sideMenu li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "kozuka-gothic-pro", "小塚ゴシック pro", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: 0.5s;
  padding: 1rem 0;
}

.sideMenu li span {
  display: block;
  text-align: center;
  font-size: 1rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-top: 1px solid #fff;
}

.sideMenu li:nth-child(1) span {
  padding-top: 7px;
  margin-top: 7px;
}

.sideMenu li:nth-child(2) span {
  padding-top: 7px;
  margin-top: 7px;
}

.sideMenu li:nth-child(1) {
  color: #fff;
  margin-bottom: 15px;
  background: #87b829;
  border: 1px solid #fff;
}

.sideMenu li:hover span {
  border-top: 1px solid #363636;
}
.sideMenu li:nth-child(1):hover {
  background: #fff;
  color: #363636;
  border: 1px solid #363636;
}
.sideMenu li:nth-child(2) {
  color: #fff;
  background: #198754;
  border: 1px solid #fff;
}
.sideMenu li:nth-child(2):hover {
  background: #fff;
  color: #363636;
  border: 1px solid #363636;
}
.sideMenu li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
}

.side_btn {
  width: 60px;
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 10;
}

.side_btn li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: 0.5s;
}

.side_btn li span {
  display: block;
  text-align: center;
  font-size: 2rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.side_btn li:nth-child(1) span {
  border-top: #231815 1px solid;
  padding-top: 7px;
  margin-top: 7px;
}

.side_btn li:nth-child(2) span {
  border-top: #fff 1px solid;
  padding-top: 7px;
  margin-top: 7px;
}

.side_btn li:nth-child(1) {
  border: #231815 3px solid;
  color: #231815;
  padding: 10px;
  background: #fff;
}

.side_btn li:nth-child(2) {
  background: #231815;
  color: #fff;
  padding: 10px;
}

.side_btn li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.side_btn li:hover {
  opacity: 0.5;
}

/*----------------------------------------------------
サイドボタンここまで
----------------------------------------------------*/

@media screen and (min-width: 1100px) {
}

@media screen and (min-width: 991px) {
}
@media screen and (min-width: 768px) {
  .sTxt {
    position: relative;
  }
  .sTxt:before {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 1px;
    height: auto;
    background: #333;
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .sTxt {
    position: relative;
  }
  .sTxt:before {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    content: "";
    width: 90%;
    height: 1px;
    background: #333;
    display: block;
  }
  .offcanvas.show .nav-item .nav-link {
    color: #333 !important;
    border-bottom: 1px dotted;
    padding: 10px;
    width: 90%;
    margin: auto;
  }
  .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
  }
  .footerTel {
    color: #fff;
    font-family: eb-garamond, serif;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem 0rem;
    display: block;
  }
  .footerMenu2 .nav-link {
    position: relative;
    font-size: 0.75rem;
  }
  .footerMenu2 .nav-link:after {
    display: inline-block;
    content: "";
    width: 1px;
    height: 20px;
    background: #ccc;
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 630px) {
}
