html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  scroll-padding: 100px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  overflow-y: hidden;
}
h1 {
  font-weight: 700;
}
h2 {
  font-weight: 500;
}
h3 {
  font-size: min(calc(24 / 1920 * 100vw), 2.4rem);
}
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(18 / 1920 * 100vw), 1.8rem);
  color: #333333;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.2rem;
}
img {
  width: 100%;
  max-width: 100%;
  display: block;
}
.c-top__ttl {
  display: flex;
  gap: calc(20 / 1920 * 100vw);
  width: calc(1280 / 1920 * 100vw);
  margin: 0 auto;
}
.c-top__ttl h1 {
  color: #266ead;
  font-size: min(calc(40 / 1920 * 100vw), 4rem);
}
.c-top__ttl p {
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
  color: #e71f29;
}
.c-btn {
  background-color: #266ead;
  width: calc(244 / 1920 * 100vw);
  padding: calc(20 / 1920 * 100vw) 0;
  margin: 0 auto;
}
.c-btn a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20 / 1920 * 100vw);
}
.c-btn img {
  width: calc(30 / 1920 * 100vw) !important;
}
.is-reserve {
  flex-direction: row-reverse;
}
.c-ttl {
  text-align: center;
}
.c-ttl h1 {
  font-size: min(calc(40 / 1920 * 100vw), 4rem);
  position: relative;
  margin-bottom: calc(10 / 1920 * 100vw);
}
.c-ttl h3 {
  color: #266ead;
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
}
.c-ttl h1::before {
  content: "";
  border-top: solid 1px #266ead;
  position: absolute;
  width: calc(290 / 1920 * 100vw);
  top: 50%;
  transform: translate(0%, -50%);
  left: 0;
}
.c-ttl h1::after {
  content: "";
  border-top: solid 1px #266ead;
  position: absolute;
  width: calc(290 / 1920 * 100vw);
  top: 50%;
  transform: translate(0%, -50);
  right: 0;
}

header {
  position: fixed;
  z-index: 99;
  width: 100%;
}
.h-inner {
  display: flex;
  justify-content: space-between;
  padding: calc(10 / 1920 * 100vw) calc(10 / 1920 * 100vw) 0
    calc(56 / 1920 * 100vw);
  align-items: center;
}

.h-logo {
  width: calc(432 / 1920 * 100vw);
}
.h-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.h-time p {
  line-height: 1.6;
  font-size: min(calc(16 / 1920 * 100vw), 1.6rem);
  letter-spacing: 0.2rem;
}
.h-tel img {
  width: calc(45 / 1920 * 100vw);
}
.h-tel a {
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
  color: #333;
  font-weight: 700;
  letter-spacing: 0.3rem;
  display: flex;
  align-items: center;
  gap: calc(10 / 1920 * 100vw);
}
.h-mail img {
  width: calc(84 / 1920 * 100vw);
}
.menu-btn {
  display: block;
  pointer-events: all;
  position: relative;
  top: 0px;
  right: 0px;
  width: calc(84 / 1920 * 100vw);
  height: calc(84 / 1920 * 100vw);
  text-align: center;
  cursor: pointer;
  z-index: 99999;
  background-color: #266ead;
  border: unset;
  padding: 0;
}
.menu-btn .bar {
  display: block;
  position: absolute;
  width: calc(30 / 1920 * 100vw);
  height: calc(4 / 1920 * 100vw);
  left: calc(27 / 1920 * 100vw);
  background: #fff;
}
.menu-btn p {
  color: #fff;
  font-size: min(calc(14 / 1920 * 100vw), 1.4rem);
  position: relative;
  top: calc(15 / 1920 * 100vw);
}
.menu-btn .bar:nth-of-type(1) {
  top: calc(10 / 1920 * 100vw);
  transition: 0.3s;
}
.menu-btn .bar:nth-of-type(2) {
  top: calc(19 / 1920 * 100vw);
}
.menu-btn .bar:nth-of-type(3) {
  top: calc(28 / 1920 * 100vw);
  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 a {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
}
.nav {
  background-color: #fff;
  height: calc(714 / 1920 * 100vw);
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 9999;
  /* right: -100%;
  transition: right 0.4s ease; */
  border-radius: 0;
  display: none;
}
.nav img {
  width: 25px;
  margin: 0;
}
.nav h3 {
  font-size: 2rem;
}
.nav.active {
  right: 0;
  opacity: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(100 / 1920 * 100vw);
}
.nav__inner {
  width: calc(640 / 1920 * 100vw);
}

.nav ul li {
  padding: 20px 0;
  position: relative;
  border-bottom: solid 1px #266ead;
  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;
}
.h-nav__right {
  width: calc(640 / 1920 * 100vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.h-sns ul {
  display: flex;
  justify-content: center;
  gap: calc(20 / 1920 * 10vw);
  margin-top: calc(20 / 1920 * 100vw);
  width: auto;
  align-items: center;
}
.h-sns li {
  border-bottom: unset !important;
  padding: 20px !important;
}
.h-fax {
  display: flex;
  margin: calc(20 / 1920 * 100vw);
  align-items: center;
  gap: calc(10 / 1920 * 100vw);
}
.h-contact {
  background-color: #e71f29;
  padding: calc(20 / 1920 * 100vw);
  width: calc(280 / 1920 * 100vw);
}
.h-contact a {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #fff;
  align-items: center;
}
.h-sns {
  width: 100%;
}
.f-inner {
  display: flex;
  max-width: calc(1280 / 1920 * 100vw);
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: calc(60 / 1920 * 100vw) 0;
}
.f-inner__logo {
  width: calc(573 / 1920 * 100vw);
}
.f-address {
  width: calc(400 / 1920 * 100vw);
  margin: 0 auto;
}
.f-address p {
  margin: calc(40 / 1920 * 100vw) 0;
}
.f-tel img {
  width: calc(45 / 1920 * 100vw);
}

.f-tel a {
  display: flex;
  font-size: min(calc(30 / 1920 * 100vw), 3rem);
  color: #333;
  font-weight: 700;
  gap: calc(10 / 1920 * 100vw);
  justify-content: center;
}

.f-fax img {
  width: calc(34 / 1920 * 100vw);
}
.f-fax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(20 / 1920 * 100vw);
}
.f-fax p {
  font-size: min(calc(19 / 1920 * 100vw), 1.9rem);
  margin: calc(10 / 1920 * 100vw) 0;
}
.f-right ul {
  display: flex;
  flex-wrap: wrap;
  width: calc(546 / 1920 * 100vw);
  gap: calc(60 / 1920 * 100vw);
  justify-content: center;
  margin-top: calc(100 / 1920 * 100vw);
}
.f-right a {
  color: #333;
}
.f-facebook img,
.h-facebook {
  width: calc(24 / 1920 * 100vw);
}
.f-instagram img,
.h-instagram img {
  width: calc(46 / 1920 * 100vw);
}
.f-google img,
.h-google {
  width: calc(34 / 1920 * 100vw);
}
.copy {
  background-color: #266ead;
  padding: calc(20 / 1920 * 100vw) 0;
}
.copy p {
  text-align: center;
  color: #fff;
}
.box {
  opacity: 0; /* 初期値は透明にしておく */
  transition: 1s; /* 動くスピードを0.5秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 50px; /* 事前に下に50pxずらしておく */
}

.active {
  opacity: 1; /* 透明度を元に戻す */
  top: 0; /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 2rem;
  }
  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-top__ttl {
    display: block;
    width: auto;
  }
  .c-top__ttl p {
    font-size: 2.4rem;
  }
  .c-btn {
    width: 244px;
    padding: 20px 0;
  }
  .c-btn img {
    width: 30px !important;
  }
  .c-ttl h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .c-ttl h3 {
    font-size: 1.6rem;
  }
  .h-logo {
    width: 218px;
  }
  .nav {
    height: 100vh;
  }
  .menu-btn {
    width: 47px;
    height: 47px;
  }
  .menu-btn .bar {
    width: 25px;
    height: 2px;
    left: 11px;
  }
  .nav.active {
    display: block;
  }
  .nav__inner {
    width: auto;
    padding: 80px 4%;
  }
  .h-nav__right {
    width: auto;
  }
  .h-fax {
    margin: 20px 0;
  }
  .h-contact {
    width: 280px;
    padding: 20px 0;
  }
  .h-contact a {
    align-items: center;
  }
  .menu-btn .bar:nth-of-type(1) {
    top: 10px;
  }
  .menu-btn .bar:nth-of-type(2) {
    top: 17px;
  }
  .menu-btn .bar:nth-of-type(3) {
    top: 24px;
  }
  .menu-btn p {
    font-size: 1.2rem;
    letter-spacing: 0;
    top: 12px;
  }
  .f-inner {
    display: block;
    max-width: unset;
    padding: 40px 4%;
  }
  .f-inner__logo {
    width: auto;
  }
  .f-address {
    width: auto;
  }
  .f-address p {
    margin: 20px 0;
  }
  .f-tel a {
    font-size: 3rem;
    gap: 10px;
  }
  .f-tel img {
    width: 45px;
  }
  .f-fax {
    gap: 10px;
  }
  .f-fax img {
    width: 34px;
  }
  .f-fax p {
    font-size: 1.6rem;
  }
  .f-right ul {
    width: auto;
    display: block;
  }
  .f-right li {
    margin-bottom: 20px;
  }
  .f-sns ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .f-facebook img,
  .h-facebook img {
    width: 24px;
  }
  .f-instagram img,
  .h-instagram img {
    width: 36px;
  }
  .f-google img,
  .h-google img {
    width: 28px;
  }
}
