@charset "utf-8";

/*--------------------------------
 common
---------------------------------*/
@font-face {
  font-family: 'optima';
  src: url('../font/Optima.ttc') format('truetype-collection');
  font-weight: normal;
  font-style: normal;
}

:root {
  --header-height: 70px;
}

.font-zen {
  font-family: "Zen Maru Gothic", sans-serif;
}

.font-hiragino {
  font-family: '"Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ P ゴシック", sans-serif';
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: a-otf-ryumin-pr6n, "Noto Serif JP", serif;
  font-feature-settings: "palt";
}

main {
  /* margin-top: var(--header-height); */
  width: 750px;
  margin-inline: auto;
  overflow: clip;
  background: #f2f2df;
  color: #646464;
}


.w-full {
  width: 100%;
  visibility: visible;
}

.w-fit {
  width: fit-content;
}

.mx-auto {
  margin-inline: auto;
}

a {
  display: block;
  transition: all 0.3s;
  color: currentColor;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

a[href^="tel:"] {
  pointer-events: none;
}

@media (width <=750px) {
  a[href^="tel:"] {
    pointer-events: revert;
  }
}

button {
  display: block;
}

[disabled] {
  pointer-events: none;
}

/*--------------------------------
 header
---------------------------------*/
.header {
  /* position: fixed; */
  /* top: 0;
  left: 0;
  right: 0; */
  width: 100%;
  min-height: var(--header-height);
  padding: 13px 0;
  text-align: center;
  border-bottom: 1px solid #000;
  z-index: 1000;
  transition: top 0.8s;
  background-color: white;
}

.header .header__logo {
  width: 280px;
  margin: 0 auto;
  text-align: center;
  line-height: 1;
}

.header .header__logo img {
  width: 100%;
}

.header .inner {
  position: relative;
  width: 750px;
  margin: 0 auto;
}

.menu-wraper {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  bottom: 0px;
  left: 50%;
  margin-left: 375px;
  transform: translateX(-100%);
  z-index: 1001;
  cursor: pointer;

}

.h_menu {

  display: inline-block;
  cursor: pointer;
}




/*--------------------------------
 menu
---------------------------------*/

#menu {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: calc(50% + 125px);
  translate: -50%;
  width: 500px;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#menu .menu_cont {
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  pointer-events: none;
}


#menu.open .menu_cont {
  transform: translateX(0);
  pointer-events: auto;
}

.menu_box01 {
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
}

.menu_box01 li {
  position: relative;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 3px dotted #c8c8c8;
  padding-inline: 40px;
}

.menu_box01 li::before {
  content: "";
  position: absolute;
  background: url(../img/common/menu-arrow.png) no-repeat center center;
  background-size: 100%;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 12px;
}

.menu_box01 li a {
  font-weight: 600;
  color: #646464;
  text-align: initial;
  font-size: 26px;
  text-decoration: none;
}

.menu_box01 li a span {
  color: #e6505a;
  font-size: 20px;
  font-weight: 600;
}

.menu_box01 li a:hover {
  opacity: 0.6;
}

#menu.open {
  overflow: auto;
  pointer-events: initial;
}

#menu.open .menu_cont {
  opacity: 1;
  background-color: #fff;
  padding-bottom: 140px;
}

.menu_box01 .back-menu {
  padding-block: 23px;
}

.menu-banner {
  margin-top: 20px;
  padding-bottom: 20px;
}

.menu-banner a+a {
  margin-top: 20px;
}

#menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

body.drawer-active #menu-overlay {
  opacity: 1;
  visibility: visible;
}

/*--------------------------------
 footer
---------------------------------*/
.footer {
  padding: 30px 0 50px;
  text-align: center;
  position: relative;
  border-top: 1px solid black;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
}

.footer .logo {
  padding: 0 0 20px;
}

.footer .logo span {
  display: block;
  width: 66px;
  margin: 0 auto 30px;
  cursor: pointer;
}

.footer .logo a {
  display: inline-block;
  width: 280px;
}

.footer .text {
  display: flex;
  justify-content: center;
  /* 全体を中央寄せ */
  align-items: center;
  gap: 5px;
  /* テキストの間のすき間 */
  padding: 20px 0 40px;
}


.footer .text a {
  color: #000;
  text-decoration: underline;

}

.footer .copyright {
  text-align: center;
  font-size: 15px;
}

/*--------------------------------
 remark
---------------------------------*/
.remark {
  padding: 80px 50px;
  font-family: "Noto Sans JP", sans-serif;
}

.remark p {
  margin-left: 1em;
  line-height: 1.5;
  text-indent: -1em;
  font-size: 22px;
  font-feature-settings: "palt";
}

.remark p+p {
  margin-top: 0.2em;
}

.remark p.ml-none {
  margin-top: 10px;
  margin-left: 0;
  text-indent: 0;
}

/*--------------------------------
 accordion
---------------------------------*/
.accordion-wrapper.is-open .accordion-contents {
  grid-template-rows: 1fr;
}

.accordion-contents {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease-out;
}

.accordion-inner {
  overflow: hidden;
}