/*
Theme Name:custom theme
Description:カスタムテーマ
Author: app_murata
Version:1.0.0
*/

/*-------common------*/

html {
  font-size: 62.5%;
}

body {
  font-size: clamp(14px, 1.111vw, 2rem);
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 2;
  margin: 0;
  color: #000;
}
.m-font {
  /* font-size: clamp(1px, 0.9722vw, 1.4rem);
  font-size: clamp(1px, 1.042vw, 1.5rem);
  font-size: clamp(1px, 1.111vw, 1.6rem);
  font-size: clamp(1px, 1.25vw, 1.8rem);
  font-size: clamp(1px, 1.389vw, 2rem);
  font-size: clamp(1px, 1.667vw, 2.4rem);
  font-size: clamp(1px, 1.944vw, 2.8rem);
  font-size: clamp(1px, 2.5vw, 3.6rem);
  font-size: clamp(1px, 2.778vw, 4rem);
  font-size: clamp(1px, 3.333vw, 4.8rem);
  font-size: clamp(1px, 4.444vw, 6.4rem);
  font-size: clamp(1px, 6.667vw, 9.6rem);
  font-size: clamp(1px, 11.111vw, 16rem);
  font-size: clamp(1px, 2.222vw, 3.2rem);
  font-size: clamp(1px, 2.361vw, 3.4rem); */
}
.en {
  font-family: "Sorts Mill Goudy", serif;
}
p {
  line-height: 2;
  margin: 0;
}

a {
  text-decoration: none;
  color: #000;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-weight: 400;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  font-weight: 500;
}

li {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}
em {
  font-style: normal;
}
body .sp-only {
  display: none;
}
.inner {
  padding-left: 5.55%;
  padding-right: 5.55%;
}
.flex-wrap {
  display: flex;
}
.flex-wrap.re {
  flex-direction: row-reverse;
}
.grid-wrap {
  display: grid;
}
.grid-wrap.fr2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-wrap.fr3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-wrap.fr4 {
  grid-template-columns: repeat(4, 1fr);
}
.tc {
  text-align: center;
}
.fw400 {
  font-weight: 400;
}
.fw500 {
  font-weight: 500;
}
.fw600 {
  font-weight: 600;
}
.fw700 {
  font-weight: 700;
}
.lh10 {
  line-height: 1;
}
.lh12 {
  line-height: 1.2;
}
.lh14 {
  line-height: 1.4;
}
.lh16 {
  line-height: 1.6;
}
.lh20 {
  line-height: 2;
}
.ls5 {
  letter-spacing: 0.05em;
}
.ls10 {
  letter-spacing: 0.1em;
}
.ls00 {
  letter-spacing: 0;
}
.t-sc {
  margin-right: 1em;
}
.db {
  display: block;
}
.dib {
  display: inline-block;
}
.in-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cwhite {
  color: #fff;
}
* {
  box-sizing: border-box;
}
.tab-only {
  display: none;
}
.page-404 {
  padding: 150px 0;
}
/*-------common-end------*/
/*-------hd-css---*/
.hd-wrap {
  position: absolute;
  top: 10px;
  left: 5.55%;
  z-index: 5;
}
.logo-wrap {
  max-width: max(24.306vw, 156px);
  width: 100%;
  transition: 0.3s ease-in-out;
}
.logo-wrap:hover {
  opacity: 0.65;
}
.hd-wrap hgroup {
  background: #fff;
  border: solid #000;
  border-width: 2px 0 2px 0;
  padding: 10px 70px;
}
.hd-wrap hgroup p {
  font-size: clamp(12px, 1.111vw, 1.6rem);
}
.hd-wrap hgroup h1 {
  font-size: clamp(14px, 1.944vw, 2.8rem);
}
.tel-btn {
  background: linear-gradient(92.54deg, #1876c5 0.98%, #63a6df 99.38%);
  max-width: max(19.8vw, 156px);
  width: 100%;
  min-height: 76px;
  cursor: auto;
}
.re-btn {
  background: linear-gradient(93.87deg, #f07320 1.67%, #f1995e 98.67%);
  font-size: clamp(16px, 2.222vw, 3.2rem);
  max-width: max(14.75vw, 116px);
  position: relative;
  width: 100%;
  min-height: 76px;
  transition: 0.2s ease-in-out;
}

.re-btn:hover {
  opacity: 0.85;
}
.re-btn::after {
  content: "";
  position: absolute;
  border: 11px solid #fff;
  border-top-color: transparent;
  border-left-color: transparent;
  bottom: 5px;
  right: 5px;
}
.tel-btn em {
  font-size: clamp(12px, 1.111vw, 1.6rem);
}
.tel-btn span {
  font-size: clamp(16px, 1.944vw, 2.8rem);
}
.tel-btn span::before {
  content: "";
  display: inline-block;
  background: url(../../uploads/2026/01/phone-icon.webp) no-repeat;
  width: 30px;
  height: 30px;
  vertical-align: bottom;
  background-size: contain;
  margin-right: 10px;
}
.hd-group {
  position: fixed;
  z-index: 689;
  /* max-width: max(39.792vw, 430px);
  width: 100%; */
  top: 0;
  right: 0;
}
.add {
  width: 100%;
  z-index: 689;
  background: #fff;
  padding: 10px 4.6em;
}
.add p {
  color: #00256a;
}
.hd-btn.re-btn {
}
.hd-btn.tel-btn {
}
.re-btn::after {
  content: "";
  position: absolute;
  border: 9px solid #fff;
  border-top-color: transparent;
  border-left-color: transparent;
  bottom: 4px;
  right: 4px;
}
/*-------hamburger-css---*/
#menu-button {
  /* position: fixed; */
  z-index: 701;
  top: 0;
  right: 0;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: visible;
  opacity: 1;
  display: flex;
  width: 76px;
  height: 76px;
  background: #00256a;
  cursor: pointer;
  flex-shrink: 0;
}
#main-menu-container {
  position: fixed;
  z-index: 700;
  top: 0;
  left: auto;
  right: -100vw;
  bottom: auto;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.9);
  background-size: cover;
  display: none;
  width: max(34.028vw, 480px);
  height: 100vh;
  transition: 0.65s linear;
}
.main-menu-nav {
  width: 100%;
  padding: 0 16.39%;
}
.main-menu li {
  line-height: 1.2;
  letter-spacing: 0.1em;
  padding: 20px 0;
  border-bottom: 1px solid;
  position: relative;
}
.main-menu li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: 0.3s ease-in-out;
}
.main-menu li a:hover {
  opacity: 0.6;
}
.main-menu li a::before {
  content: attr(title);
  display: block;
  width: 25.805%;
  margin-right: 20px;
}
.main-menu li a::after {
  content: "";
  display: inline-block;
  border: solid #000;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg) translate(-50%, 25%);
  width: 5px;
  height: 5px;
  position: absolute;
  right: 0;
  top: 50%;
}

#main-menu-container.is-active {
  right: 0vw;
}

body #main-menu-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-button.nav-on {
  visibility: visible;
  opacity: 1;
}

#menu-button .ham-lines {
  position: relative;
  margin: 0 auto;
  width: 60px;
  height: 40px;
}

#menu-button .ham-lines span,
#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  position: absolute;
  display: block;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 60px;
  height: 4px;
  background-color: #fff;
  border-radius: 1px;
}

#menu-button .ham-lines span {
  bottom: 18px;
  transition: all 0.25s 0.25s;
  opacity: 1;
}

#menu-button .ham-lines::before,
#menu-button .ham-lines::after {
  content: "";
}

#menu-button .ham-lines::before {
  bottom: 36px;
  animation: menu-bar01 0.75s forwards;
}

#menu-button .ham-lines::after {
  bottom: 0px;
  animation: menu-bar03 0.75s forwards;
}

#menu-button.is-active .ham-lines span {
  opacity: 0;
}

#menu-button.is-active .ham-lines::before {
  animation: active-menu-bar01 0.5s forwards;
}

#menu-button.is-active .ham-lines::after {
  animation: active-menu-bar03 0.5s forwards;
}

@keyframes menu-bar01 {
  0% {
    transform: translateY(9px) rotate(45deg);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes menu-bar03 {
  0% {
    transform: translateY(-9px) rotate(-45deg);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(9px) rotate(0);
  }

  100% {
    transform: translateY(20px) rotate(45deg);
  }
}

@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-9px) rotate(0);
  }

  100% {
    transform: translateY(-17px) rotate(-45deg);
  }
}
/*-------ft---*/
.ft-tit {
  border: solid #000;
  border-width: 2px 0 2px 0;
  padding: 10px 70px;
  width: fit-content;
  margin: 0 auto 40px;
}
.ft-tit p:first-child {
  font-size: clamp(12px, 1.111vw, 1.6rem);
}
.ft-tit p:last-child {
  font-size: clamp(14px, 1.944vw, 2.8rem);
}
.footerwrap {
  padding-top: 60px;
}
.ft-logo-box {
  max-width: max(24.3125vw, 194px);
  width: 100%;
  margin: 0 auto 20px;
}
.bn-wrap {
  gap: 80px;
  align-items: flex-start;
  padding: 0 5.55% 60px;
}
.bn-wrap a {
  display: block;
  transition: 0.3s ease-in-out;
}
.bn-wrap a:hover {
  opacity: 0.6;
}
.copyright-container {
  background: linear-gradient(235.49deg, #23c7d0 6.59%, #2381d0 90.9%);
  text-align: center;
  padding: 30px 0;
}
.info-wrap {
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 60px;
}
.info-wrap .btn-box,
.info-wrap .table-box {
  width: 50%;
}
.btn-box-inner {
  max-width: max(34.515vw, 350px);
  width: 100%;
  margin: 0 0 0 auto;
}
footer .add {
  padding: 0 0 20px 0;
}
footer .btn-box .flex-wrap {
  justify-content: right;
}
.g-wrap {
  height: 560px;
}
/*-------ft-icon-css---*/

.sp-footer-icons-container {
  display: none;
  justify-content: center;
  align-items: stretch;
  position: fixed;
  z-index: 680;
  right: 0;
  left: 0;
  bottom: 10.5px;
  width: 100%;
  padding-bottom: calc(env(safe-area-inset-bottom) / 2);
}
.page-top-btn {
  width: 55px;
  height: 55px;
  margin-left: 6px;
}

/*-------sp----*/

/*-------ipad----*/
@media screen and (max-width: 1180px) {
  #main-menu-container.is-active {
    right: 0vw;
  }
  .tab-only {
    display: block;
  }
  .tab-none {
    display: none;
  }
  .tel-btn span::before {
    width: 20px;
    height: 20px;
  }
  .tel-btn.in-flex {
    gap: 3px;
  }
}
@media screen and (max-width: 820px) {
  .add {
    padding: 5px 2.5em;
  }
  .info-wrap {
    gap: 30px;
    margin-bottom: 40px;
  }
  .bn-wrap {
    gap: 30px;
  }
}
/*-------iphone----*/
@media screen and (max-width: 680px) {
  body {
    /* font-size: 1.4rem; */
  }
  #menu-button {
    width: 38px;
    height: 38px;
    position: fixed;
    right: 0;
    top: 0;
  }
  .hd-btn {
    min-height: 0;
  }
  #menu-button .ham-lines {
    width: 30px;
    height: 20px;
  }
  #menu-button .ham-lines span {
    bottom: 10px;
  }
  #menu-button .ham-lines::before {
    bottom: 20px;
  }
  #menu-button .ham-lines span,
  #menu-button .ham-lines::before,
  #menu-button .ham-lines::after {
    width: 30px;
    height: 2px;
  }
  @keyframes active-menu-bar01 {
    0% {
      transform: translateY(0) rotate(0);
    }

    50% {
      transform: translateY(9px) rotate(0);
    }

    100% {
      transform: translateY(10px) rotate(45deg);
    }
  }

  @keyframes active-menu-bar03 {
    0% {
      transform: translateY(0) rotate(0);
    }

    50% {
      transform: translateY(-9px) rotate(0);
    }

    100% {
      transform: translateY(-10px) rotate(-45deg);
    }
  }
  #main-menu-container {
    width: 100%;
    transition: 0.3s linear;
  }
  .main-menu-nav {
    padding: 0 40px;
  }
  .flex-wrap,
  .flex-wrap.re {
    flex-direction: column;
  }
  .grid-wrap {
    grid-template-columns: 1fr;
  }
  .grid-wrap.fr2,
  .grid-wrap.fr3,
  .grid-wrap.fr4 {
    grid-template-columns: 1fr;
  }
  body .sp-only {
    display: block;
  }

  body .pc-only {
    display: none;
  }
  .sp-footer-icons-container {
    display: flex;
  }
  .hd-group {
    width: auto;
    position: relative;
    top: auto;
    right: auto;
  }
  .hd-wrap hgroup {
    padding: 5px 18px;
  }
  .hd-group .grid-wrap {
    display: block;
  }
  .footerwrap {
    padding-top: 40px;
  }
  .ft-tit {
    padding: 5px 18px;
    margin: 0 auto 30px;
  }
  .info-wrap .btn-box,
  .info-wrap .table-box {
    width: 100%;
  }
  .info-wrap .table-box {
    padding: 0 5.55%;
  }
  .btn-box-inner {
    max-width: 100%;
    margin: 0;
  }
  footer .btn-box .flex-wrap {
    justify-content: center;
    flex-direction: row;
  }
  .tel-btn,
  .re-btn {
    min-height: 55px;
  }
  .re-btn::after {
    border: 5px solid #fff;
    border-top-color: transparent;
    border-left-color: transparent;
  }
  .bn-wrap {
    gap: 10px;
  }
  .copyright-container {
    padding: 30px 0 calc(30px + 46px);
  }
}
