html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding: 100px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}
h1 {
  font-weight: 500;
}
h2 {
  font-weight: 500;
}
h3 {
  font-family: "Zen Maru Gothic", sans-serif;
}
h4 {
  font-family: "Zen Maru Gothic", sans-serif;
}
a {
  text-decoration: none;
  display: block;
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
}
li {
  font-size: min(calc(24 / 1920 * 100vw), 2.4rem);
}
main {
  font-weight: 400;
}
p {
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
  color: #313e4e;
  font-weight: 500;
  line-height: 2;
}
img {
  width: 100%;
  max-width: 100%;
  display: block;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.c-blue {
  color: #7598c1;
}
.c-ttl h1 {
  margin: 0 auto;
}
.c-ttl p {
  text-align: center;
  font-size: min(calc(48 / 1920 * 100vw), 4.8rem);
}
.c-btn {
  background-color: #093a7a;
  border-radius: 100px;
  width: calc(194 / 1920 * 100vw);
  height: calc(74 / 1920 * 100vw);
  color: #fff;
  font-size: min(calc(32 / 1920 * 100vw), 3.2rem);
  text-align: center;
  padding: calc(60 / 1920 * 100vw) 0;
  position: absolute;
  bottom: calc(-90 / 1920 * 100vw);
  right: calc(-94 / 1920 * 100vw);
  font-family: "Poppins", sans-serif;
}
.c-btn a {
}
/* --------------
header
------------------*/
header {
  position: relative;
}
.h-inner {
  /* position: fixed; */
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 99;
  display: flex;
  justify-content: space-between;
}
.h-contact_01,
.h-contact_02 {
  display: flex;
  gap: calc(5 / 1920 * 100vw);
}
.h-contact_01 {
  margin-bottom: calc(5 / 1920 * 100vw);
}
.h-logo {
  width: calc(500 / 1920 * 100vw);
  padding: calc(20 / 1920 * 100vw) 0 0 calc(120 / 1920 * 100vw);
}
.h-right {
  padding: calc(20 / 1920 * 100vw) calc(120 / 1920 * 100vw) 0 0;
}
.h-tel {
  width: calc(340 / 1920 * 100vw);
  background-color: #fff;
  padding: calc(15 / 1920 * 100vw) 0;
}
.h-tel img {
  width: calc(289 / 1920 * 100vw);
  margin: 0 auto;
}
.h-web {
  width: calc(180 / 1920 * 100vw);
}
.h-address {
  width: calc(268 / 1920 * 100vw);
}
.h-access {
  width: calc(252 / 1920 * 100vw);
}
.nav {
  background-color: #7598c1;
  padding: calc(34 / 1920 * 100vw) 0;
  width: 100%;
  transition: transform 0.3s ease;
}
.nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.nav > ul {
  display: flex;
  justify-content: center;
}
.nav ul li {
  border-right: solid 1px #fff;
  padding: 0 calc(110 / 1920 * 100vw);
}
.nav ul li a {
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.nav h3 {
  font-size: min(calc(24 / 1920 * 100vw), 2.4rem);
  margin: calc(10 / 1920 * 100vw) 0;
}
.nav p {
  color: #fff;
}
.nav img {
  width: calc(34 / 1920 * 100vw);
  margin: 0 auto;
}
.gnav_item {
  position: relative;
}
.local-nav {
  display: none;
  position: absolute;
  top: calc(140 / 1920 * 100vw); /* 親要素の下に表示 */
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #fff;
  width: calc(280 / 1920 * 100vw);
  padding: calc(20 / 1920 * 100vw);
  flex-direction: column;
  z-index: 99;
}
.local-nav a {
  color: #6f7f93 !important;
  text-align: left !important;
  font-weight: 700;
  padding-bottom: calc(20 / 1920 * 100vw);
}
.gnav_item.is-open > a {
}

.gnav_item.is-open > a::after {
  content: "▲";
}
.gnav_item h3::after {
  content: "";
}
.local-nav li {
  padding: 0 !important;
  border-right: unset !important;
}

.f-inner {
  background: url(../img/top_bg.webp) no-repeat;
  background-size: cover;
  aspect-ratio: 1920/533;
  padding: calc(40 / 1920 * 100vw) 0;
}
.f-box {
  background-color: #fff;
  display: flex;
  justify-content: center;
  padding: calc(60 / 1920 * 100vw) 0;
  align-items: center;
  gap: calc(40 / 1920 * 100vw);
}
.f-logo {
  width: calc(320 / 1920 * 100vw);
  margin: 0 auto;
}
.f-left p {
  text-align: center;
  line-height: 2;
  margin: calc(20 / 1920 * 100vw) 0;
}
.f-contact {
  display: flex;
  align-items: flex-start;
  gap: calc(20 / 1920 * 100vw);
}
.f-contact .tel {
  background-color: #efefef;
  width: calc(280 / 1920 * 100vw);
  padding: calc(18 / 1920 * 100vw) calc(30 / 1920 * 100vw);
}
.f-contact .web {
  width: calc(240 / 1920 * 100vw);
}

.f-map {
  aspect-ratio: 1920/695;
}
.copy p {
  padding: calc(20 / 1920 * 100vw) 0;
  text-align: center;
  font-size: min(calc(16 / 1920 * 100vw), 1.6rem);
}

@media screen and (max-width: 768px) {
  p {
    font-size: 1.6rem;
    line-height: 1.6;
  }
  a {
    font-size: 1.6rem;
  }
  li {
    font-size: 1.6rem;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .c-ttl p {
    font-size: 2.4rem;
  }
  .c-btn {
    width: 110px;
    height: 110px;
    font-size: 2.4rem;
    right: -4px;
    bottom: -70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: unset;
  }

  .menu-btn {
    display: block;
    pointer-events: all;
    position: fixed;
    top: 30px;
    right: 15px;
    width: 55px;
    height: 55px;
    text-align: center;
    cursor: pointer;
    z-index: 99999;
    background-color: #233b6c;
    border: unset;
    padding: 0;
  }
  .menu-btn .bar {
    display: block;
    position: absolute;
    width: 31px;
    height: 4px;
    left: 12px;
    background: #fff;
  }
  .menu-btn p {
    color: #fff;
    font-size: 14px;
    position: relative;
    top: 15px;
  }
  .menu-btn .bar:nth-of-type(1) {
    top: 10px;
    transition: 0.3s;
  }
  .menu-btn .bar:nth-of-type(2) {
    top: 19px;
  }
  .menu-btn .bar:nth-of-type(3) {
    top: 28px;
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(2) {
    top: 19px;
    opacity: 0;
  }
  .menu-btn.active .bar:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
    transition: 0.3s;
  }
  /* .nav > ul {
    display: flex;
    gap: calc(40 / 1920 * 100vw);
    justify-content: center;
  } */
  .nav a {
    font-size: 2.4rem;
    color: #333;
    font-weight: 700;
  }
  .nav {
    background-color: #7598c1;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 300px;
    z-index: 9999;
    right: -100%;
    transition: right 0.4s ease;
    border-radius: 0;
    padding: 120px 4%;
  }
  .nav.is-fixed {
    position: relative;
    top: 0;
    left: unset;
    z-index: 1000;
  }

  .nav img {
    width: 25px;
    margin: 0;
  }
  .nav h3 {
    font-size: 2rem;
  }
  .nav.active {
    right: 0;
  }
  .nav > ul {
    display: block;
    margin: 0;
    position: absolute;
    padding: 0;
    width: 283px;
  }
  .nav ul li {
    padding: 20px 0;
    position: relative;
    border-bottom: solid 1px #fff;
    border-right: unset;
  }
  .nav ul li:last-of-type {
    margin-right: 0;
  }
  .nav ul li a {
    position: static;
    font-size: 2rem;
    text-align: center;
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
  }
  .local-nav {
  }
  .gnav_item {
    overflow: hidden;
    max-height: 473px; /* 閉じた時の高さ（aの高さ） */
    transition: max-height 0.4s ease;
  }

  .gnav_item.is-open {
    height: 710px; /* ← 開いた時の高さ */
    overflow: unset;
  }
  .nav a::after {
    content: "▼";
    transition: transform 0.3s;
    transform: rotate(-90deg);
    font-size: 1.3rem;
    margin-top: 6px;
  }
  .gnav_item > a::after {
    content: "▼";
    transition: transform 0.3s;
    transform: rotate(-90deg);
    font-size: 1.3rem;
    margin-top: 6px;
  }
  .local-nav {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    width: 243px;
    padding: 20px;
    top: 66px;
  }
  .gnav_item.is-open .local-nav {
    opacity: 1;
  }
  .gnav_item.is-open > a::after {
    transform: rotate(180deg);
  }
  .local-nav a {
    padding-bottom: 20px;
  }
  .f-inner {
    padding: 20px 0;
  }
  .h-logo {
    width: 250px;
    padding: 17px 0 0 20px;
  }
  .f-logo {
    width: 200px;
  }
  .f-box {
    padding: 40px 4% 66px;
  }
  .f-box,
  .f-contact {
    display: block;
  }
  .f-left p {
    margin: 20px 0;
  }
  .f-contact .tel {
    width: 340px;
    margin: 0 auto 20px;
  }
  .f-contact .web {
    width: 250px;
    margin: 0 auto;
  }
  .f-map {
    aspect-ratio: 430/560;
  }
  .copy p {
    padding: 20px 0;
    font-size: 1.3rem;
  }
  .sp_flooting {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    background-color: #fff;
    width: 100%;
  }
  .sp_tel_btn img,
  .page_top img {
    width: calc(60 / 430 * 100vw);
  }
  .sp_web img {
    width: calc(173 / 430 * 100vw);
  }
  .sp_access img {
    width: calc(140 / 430 * 100vw);
  }
}
