html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding: 100px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
}
a {
  text-decoration: unset;
  color: #353535;
  display: block;
}
img {
  width: 100%;
  max-width: 100%;
  display: block;
}
p {
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
  line-height: 2;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.blue {
  color: #04a9c6;
}
.c-btn_b {
  width: calc(285 / 1920 * 100vw);
  margin: 0 auto;
  background-color: #0f4e7c;
  padding: calc(20 / 1920 * 100vw) 0;
  border-radius: 50px;
}
.c-btn_b a {
  color: #fff;
  font-size: min(calc(25 / 1920 * 100vw), 2.5rem);
  display: flex;
  align-items: center;
  gap: calc(10 / 1920 * 100vw);
  justify-content: center;
}
.c-btn_b img {
  width: calc(40 / 1920 * 100vw);
}
.c-btn_w {
  width: calc(285 / 1920 * 100vw);
  margin: 0 auto;
  background-color: #fff;
  padding: calc(20 / 1920 * 100vw) 0;
  border-radius: 50px;
}
.c-btn_w a {
  color: #0f4e7c;
  font-size: min(calc(25 / 1920 * 100vw), 2.5rem);
  display: flex;
  align-items: center;
  gap: calc(10 / 1920 * 100vw);
  justify-content: center;
}
.c-btn_w img {
  width: calc(40 / 1920 * 100vw);
}
.header_sp {
  display: none;
}
.box {
  opacity: 0;         /* 初期値は透明にしておく */
  transition: 1s;    /* 動くスピードを0.5秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 50px;          /* 事前に下に50pxずらしておく */
}

.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}
/* ----------
header
----------------*/
header {
  position: fixed;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
}
.h-inner {
  display: flex;
  padding: calc(18 / 1920 * 100vw) calc(120 / 1920 * 100vw);
  justify-content: space-between;
  align-items: center;
}

.h-logo {
  width: calc(442 / 1920 * 100vw);
}
.h-nav ul {
  display: flex;
  justify-content: center;
  gap: calc(40 / 1920 * 100vw);
}
.h-nav ul li a {
  display: flex;
  flex-direction: column;
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
  font-weight: 700;
  text-align: center;
}

/* -----------------
footer
------------------*/
.f-box {
  display: flex;
  justify-content: center;
  gap: calc(40 / 1920 * 100vw);
}
.f-logo img {
  width: calc(398 / 1920 * 100vw);
}
.f-logo h3 {
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
  font-weight: 700;
  margin-top: calc(40 / 1920 * 100vw);
}
.f-map {
  aspect-ratio: 440/265;
  width: calc(440 / 1920 * 100vw);
}
.f-list ul {
  display: flex;
  justify-content: center;
  gap: calc(60 / 1920 * 100vw);
  padding: calc(60 / 1920 * 100vw) 0 calc(80 / 1920 * 100vw);
}
.f-list a {
  font-size: min(calc(20 / 1920 * 100vw), 2rem);
  font-weight: 700;
}
.copy {
  background-color: #0f4e7c;
  padding: calc(30 / 1920 * 100vw) 0;
}
.copy p {
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
}
@media screen and (max-width: 768px) {
  p {
    font-size: 1.6rem;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .c-btn_b {
    width: 242px;
    padding: 12px 0;
  }
  .c-btn_b a {
    font-size: 2rem;
    gap: 10px;
  }
  .c-btn_b img {
    width: 32px;
  }
  .c-btn_w {
    width: 242px;
    padding: 12px 0;
  }
  .c-btn_w a {
    font-size: 2rem;
    gap: 10px;
  }
  .c-btn_w img {
    width: 32px;
  }
  .header_sp {
    display: block;
  }
  /* --------------
  header
  ---------------*/
  .h-logo {
    width: 220px;
  }
  .h-nav {
    position: fixed;
    top: 0px;
    left: 100vw;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
    z-index: 999;
    background-color: #dedede;
  }
  .h-nav.active {
    left: 0;
  }
  .h-inner {
    padding: 10px 20px;
  }
  .h-nav ul {
    display: block;
    background-size: cover;
    height: 100vh;
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
    top: 0;
  }
  .h-nav ul::after {
    content: "";
    background: url(../img/dec_l.webp) no-repeat;
    background-size: contain;
    width: 132px;
    position: absolute;
    bottom: 0;
    left: 0;
    aspect-ratio: 382 / 416;
  }

  .h-nav ul li a {
    font-size: 1.6rem;
    color: #000;
  }
  .h-nav ul .blue {
    padding-top: 20px;
  }
  .menu-btn {
    display: block;
    pointer-events: all;
    position: fixed;
    top: 13px;
    right: 20px;
    width: 35px;
    height: 35px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    border: unset;
    background-color: unset;
    padding: 0;
  }
  .menu-btn p {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 25px;
    font-size: 10px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
  }
  .menu-btn .bar {
    display: block;
    position: absolute;
    width: 35px;
    height: 6px;
    background: #000000;
  }
  .menu-btn .bar:nth-of-type(1) {
    top: 10px;
    transition: 0.3s;
  }
  .menu-btn .bar:nth-of-type(2) {
    top: 20px;
  }
  .menu-btn .bar:nth-of-type(3) {
    top: 30px;
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    transition: 0.3s;
  }
  .menu-btn.active .bar:nth-child(2) {
    top: 10px;
    opacity: 0;
  }
  .menu-btn.active .bar:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    transition: 0.3s;
  }
  /* -----------------
footer
-------------------*/
  .f-box {
    display: block;
  }
  .f-inner {
    padding: 40px 4%;
  }
  .f-logo img {
    width: 350px;
  }
  .f-logo h3 {
    font-size: 2.5rem;
    text-align: center;
  }
  .f-map {
    width: auto;
    aspect-ratio: 350/300;
    margin-top: 40px;
  }
  .f-list ul {
    display: block;
    padding: 40px 0 0;
  }
  .f-list li {
    margin-bottom: 40px;
  }
  .f-list li:last-of-type {
    margin-bottom: 0;
  }
  .f-list a {
    font-size: 2rem;
    text-align: center;
  }
  .copy p {
    font-size: 1.2rem;
  }
}
