html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding: 100px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}
h1 {
  font-weight: 500;
}
h2 {
  font-weight: 500;
}
a {
  text-decoration: none;
  display: block;
  font-size: min(calc(20 / 1440 * 100vw), 2rem);
}
li {
  font-size: min(calc(24 / 1440 * 100vw), 2.4rem);
}
main {
  font-weight: 400;
}
p {
  font-size: min(calc(20 / 1440 * 100vw), 2rem);
  line-height: 2;
}
img {
  width: 100%;
  max-width: 100%;
  display: block;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.c-ttl h1 {
  font-size: min(calc(48 / 1440 * 100vw), 4.8rem);
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #1d7ccc;
  text-align: center;
}
.c-btn {
  background-color: #1d7ccc;
  width: calc(223 / 1440 * 100vw);
  padding: calc( 17/ 1440 * 100vw) 0;
  border-radius: 100px;
}
.c-btn a {
  color: #fff;
  text-align: center;
  font-weight: 600;
}
header {
  position: fixed;
  width: 100%;
  z-index: 999;
}
.h-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: calc(9 / 1920 * 100vw) calc(30 / 1920 * 100vw);
}

.h-logo {
  width: calc(286 / 1440 * 100vw);
}
.h-right {
  display: flex;
  align-items: center;
  gap: calc(32 / 1440 * 100vw);
}
.h-nav {
  background-color: #fff;
  border-radius: 50px;
  padding: calc(28 / 1440 * 100vw) 0;
  width: calc(586 / 1440 * 100vw);
}
.h-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20 / 1440 * 100vw);
}
.h-nav a {
  color: #000;
}
.h-contact {
  background-color: #1d7ccc;
  padding: calc(7 / 1440 * 100vw) 0 calc(15 / 1440 * 100vw);
  width: calc(232 / 1440 * 100vw);
  border-radius: 50px;
}
.h-contact span {
  font-size: min(calc(16 / 1440 * 100vw), 1.6rem);
}
.h-contact a {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(7 / 1440 * 100vw);
}
.h-contact p {
  font-size: min(calc(24 / 1440 * 100vw), 2.4rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.h-contact a img {
  width: calc(24 / 1440 * 100vw);
}
footer {
  background-color: #1a335b;
  padding: calc(51 / 1440 * 100vw) 0 calc(10 / 1440 * 100vw);
}
.f-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.f-logo {
  width: calc(290 / 1440 * 100vw);
}
.f-contact p {
  color: #fff!important;
  line-height: 2.2;
}
.f-nav {
  background-color: #fff;
  padding: calc(28 / 1440 * 100vw) 0;
  width: calc(586 / 1440 * 100vw);
  border-radius: calc(16 / 1440 * 100vw);
}
.f-nav ul {
  display: flex;
  justify-content: center;
  gap: calc(20 / 1440 * 100vw);
}
.f-nav a {
  color: #000;
}
.copy p {
  color: #fff;
  text-align: center;
  margin-top: calc(20 / 1440 * 100vw);
}

@media screen and (max-width: 768px) {
  p {
    font-size: 1.6rem;
  }
  a {
    font-size: 2rem;
  }
  .c-btn {
    width: 215px;
    padding: 11px 0;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .c-ttl h1 {
    font-size: 2.4rem;
  }
  .h-inner {
    padding: 0;
  }
  .h-logo {
    width: 215px;
    padding: 10px;
  }
  .menu-btn {
    display: block;
    pointer-events: all;
    position: fixed;
    top: 10px;
    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;
  }
  .h-nav ul {
    display: flex;
    gap: calc(40 / 1920 * 100vw);
    justify-content: center;
  }
  .h-nav a {
    font-size: 2.4rem;
    color: #333;
    font-weight: 700;
  }
  .h-nav {
    background-color: #f9f9f9;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    right: -100%;
    transition: right 0.4s ease;
    border-radius: 0;
    padding: 0;
  }
  .h-nav.active {
    right: 0;
  }
  .h-nav ul {
    display: block;
    margin: 0;
    width: 240px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .h-nav ul li {
    padding: 0px 0 46px;
    position: relative;
  }
  .h-nav ul li:last-of-type {
    margin-right: 0;
  }
  .h-nav ul li a {
    position: static;
    font-size: 2rem;
    text-align: center;
    align-items: flex-start;
  }

  footer {
    padding: 60px 4% 10px;
  }
  .f-logo {
    width: 337px;
    margin-bottom: 50px;
  }
  .copy p {
    margin-top: 40px;
  }
}
