* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /*font-family: "Yu Gothic", "游ゴシック", sans-serif;*/
  font-family: 'Noto Sans JP',"Yu Gothic", "游ゴシック",sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  padding-top: 60px;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
}
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}
.sp-img,
.sp-br {
  display: none;
}
@media (max-width: 480px) {
  .pc-img,
  .pc-br {
    display: none;
  }
  .sp-img,
  .sp-br {
    display: block;
  }
  .container {
    padding: 0 20px;
  }
}

/*header*/
.header-logo {
  width: 180px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  transition: all 0.3s ease;
}
header.scrolled {
  border-radius: 0 0 30px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.header-sub {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 0 8px #e2e2e2;
  padding: 6px 14px 12px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  transform: translateY(8px);
  border-radius: 5px;
  font-weight: 300;
  display: none;
}
.header-sub li a {
  white-space: nowrap;
}
.header-sub li {
  padding: 8px 0;
}
.header-nav li {
  position: relative;
  font-weight: bold;
}
.header-nav-o::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #000;
  transition: width 0.3s ease;
}
.header-nav-o:hover::after {
  width: 100%;
}
.header-nav li:hover > .header-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}
.header-nav {
  display: flex;
  column-gap: 25px;
  align-items: center;
}
.header-nav-or a {
  display: block;
  background-color: #187fc3;
  padding: 12px 18px;
  border-radius: 25px;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid #187fc3;
}
.header-nav-or a:hover {
  background-color: #fff;
  color: #187fc3;
}
.header-nav-bl a {
  display: block;
  border: 1px solid #187fc3;
  padding: 12px 18px;
  border-radius: 25px;
  color: #187fc3;
  transition: all 0.3s ease;
  background-color: #fff;
}
.header-nav-bl a:hover {
  color: #fff;
  background-color: #187fc3;
}
.header-sub-pointer {
  margin-left: 5px;
}
.header-logo img {
  display: block;
}
.open-logo {
  display: none;
}
@media (max-width: 1060px) {
  header {
    padding: 14px 1rem;
  }
  .header-logo {
    width: 110px;
  }
  .header-nav {
    position: fixed;
    top: -100%;
    right: 0;
    width: 100%;
    height: auto;
    background-color: #164a91;
    transition: top 0.3s ease;
    padding: 80px 30px 20px 30px;
    box-sizing: border-box;
    z-index: 10;
    display: block;
    border-radius: 0 0 20px 20px;
  }
  .header-nav.open {
    top: 0 !important;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 3px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -3px);
  }
  .hamburger {
    top: 14px;
    right: 20px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 20;
    background-color: #187fc3;
    border-radius: 50%;
  }

  .hamburger span {
    display: block;
    height: 2px;
    width: 46%;
    background-color: #fff;
    margin: 3px auto;
    transition: 0.4s;
  }
  .hamburger-wrapper {
    padding-top: 8px;
  }
  .header-nav-o {
    padding: 10px 0;
    border-bottom: 1px solid #d1e5e4;
    color: #fff;
  }
  .header-nav-bl a {
    margin: 20px 0 10px;
    background-color: #fff;
    color: #164a91;
    padding: 15px 20px !important;
    border-bottom: none !important;
  }
  .header-sub {
    position: static;
    color: #fff;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    padding: 0;
    background: none;
    display: block;
    margin-bottom: 4px;
  }
  .header-nav-or a {
    margin: 10px 0;
    background-color: #fff;
    color: #164a91;
    padding: 15px 20px !important;
    border-bottom: none !important;
  }
  .header-sub li {
    font-weight: 500;
    margin-left: 20px;
  }
  .header-sub li::before {
    content: "";
    width: 10px;
    height: 1px;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }
  .header-nav-service {
    border-bottom: 1px solid #d1e5e4;
    display: block;
    padding-bottom: 5px;
  }
  .header-sub-pointer {
    display: none;
  }
  .open-logo {
    display: block;
    position: absolute !important;
    top: 0;
    left: 0;
  }
  .open-logo img {
    width: 158px;
  }
  header.scrolled {
    border-radius: 0 0 15px 15px;
  }
  .header-nav-o:hover::after {
    width: 0 !important;
  }
}

/*contact*/
.contact-book {
  background-image: url(../img/contact-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 100px 100px 0 0;
  background-size: cover;
  padding: 150px 0;
}
.contact-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  column-gap: 50px;
  margin-bottom: 60px;
}
.contact-wrapper {
  display: flex;
  column-gap: 60px;
}
.contact-text {
  font-size: 20px;
  font-weight: 500;
}
.contact-ja {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.book-btn {
  align-items: center;
  flex: 1;
  padding: 60px 30px;
  background-color: #fff;
  border-radius: 20px;
  display: block;
}
.online-logo {
  display: block;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 40px auto 0;
  max-width: 410px;
  text-align: center;
}
.book-btn img {
  transition: opacity 0.3s ease;
}
.online-logo img {
  padding: 10px 10px 0 10px;
  display: inline-block;
  max-width: 100%;
}
.book-btn:hover img {
  opacity: 0.5;
}
.topics-footer-title {
  font-size: 72px;
  /*font-family: "Area Variable", Arial, sans-serif;*/
  color: #fff;
  line-height: 1;
  margin-top: 10px;
  font-weight: bold;
}
.contact-btn {
  max-width: 450px;
  text-align: center;
  margin: 45px auto 0;
  display: flex;
  justify-content: space-between;
  border: 1px solid #000;
  padding: 30px;
  border-radius: 5px;
  align-items: center;
}
.contact-btn-title {
  font-size: 24px;
  font-weight: bold;
}
.contact-btn-arrow {
  background-color: #d4e4f0;
  padding: 0 20px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  width: 60px;
  height: 40px;
}
.contact-btn-arrow-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.topics-ja-title {
  font-weight: bold;
  font-size: 24px;
}
.topics-ja-title::before {
  content: "";
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c78b5, #109eb1);
  display: inline-block;
  margin-right: 20px;
}
.contact-btn-arrow-content::before,
.contact-btn-arrow-content::after {
  content: "→";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  font-weight: bold;
  font-size: 24px;
  /*font-family: "A-OTF 見出ゴMB31 Pr5", sans-serif;*/
}
.contact-btn-arrow-content::after {
  transform: translateX(-100%);
}
.book-btn:hover .contact-btn-arrow-content::before {
  transform: translateX(100%);
}
.book-btn:hover .contact-btn-arrow-content::after {
  transform: translateX(0);
}
@media (max-width: 1264px) {
  .topics-ja-title {
    font-size: clamp(16px, calc(100vw / 56), 32px);
  }
  .topics-ja-title::before {
    width: 12px;
    height: 12px;
    margin-right: 10px;
  }
  .topics-footer-title {
    font-size: clamp(40px, calc(100vw / 14), 96px) !important;
    margin-top: 0;
  }
}
@media (max-width: 1142px) {
  .contact-ja {
    font-size: clamp(16px, calc(100vw / 42), 24px);
  }
  .contact-text {
    font-size: clamp(14px, calc(100vw / 68), 20px);
  }
  .contact-btn-title {
    font-size: clamp(16px, calc(100vw / 42), 24px);
  }
}
@media (max-width: 808px) {
  .contact-wrapper {
    column-gap: 10px;
    padding-bottom: 40px;
  }
}
@media (max-width: 626px) {
  .contact-wrapper {
    display: block;
  }
  .book-btn {
    padding: 30px 30px;
    margin-bottom: 20px;
  }
  .contact-btn,
  .online-logo {
    margin: 10px auto 0;
  }
}

.contact-arrow-btn i {
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-bg {
  position: absolute;
  bottom: -80px;
  left: 0;
  max-width: 100%;
  height: auto;
  z-index: -1;
}
@media (max-width: 480px) {
  .contact-arrow-btn::after,
  .fa-arrow-right:before {
    font-size: 16px;
  }
  .contact-arrow-btn {
    padding: 6px 20px;
  }
  .contact-book {
    padding: 0;
    border-radius: 50px 50px 0 0;
  }
  .contact-flex {
    display: block;
    margin: 0 0 40px 0;
    padding-top: 60px;
  }
  .contact-text {
    margin-top: 10px;
  }
  .online-logo img {
    max-width: 180px;
  }
  .contact-btn {
    padding: 15px 20px;
  }
}

/*footer*/
footer {
  background-color: #314a70;
  padding-top: 100px;
}
.footer-logo {
  width: 219px;
  height: auto;
}
.footer-wrapper {
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
}
.footer-wrapper-ot {
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #fff;
}
.footer-address {
  color: #fff;
  font-size: 18px;
}
.footer-menu {
  display: flex;
  column-gap: 30px;
}
.footer-menu-a {
  color: #fff;
  font-size: 18px;
}
.footer-menu ul li {
  margin-bottom: 6px;
}
.footer-menu ul li:hover {
  opacity: 0.7;
}
.footer-menu-b {
  color: #fff;
  font-size: 14px;
}
.footer-menu-b::before {
  content: "";
  width: 10px;
  height: 1px;
  background-color: #fff;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-policy {
  display: flex;
  justify-content: space-between;
  padding: 40px 30px 40px;
  align-items: center;
}
.footer-site-policy {
  color: #fff;
  font-size: 14px;
}
.footer-site-policy a:hover {
  opacity: 0.7;
}
.footer-menu-a {
  font-weight: bold;
}
.page-top-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.page-top {
  font-size: 20px;
  font-weight: bold;
}

.page-top-arrow-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 30px;
  width: 40px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-top-arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-top-arrow::before,
.page-top-arrow::after {
  content: "↑";
  position: absolute;
  font-size: 24px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s ease;
  margin-top: 8px;
}
.page-top-arrow::before {
  top: 0;
  opacity: 1;
}
.page-top-arrow::after {
  top: 100%;
  opacity: 0;
}
.page-top-wrapper:hover .page-top-arrow::before {
  top: -100%;
  opacity: 0;
}
.page-top-wrapper:hover .page-top-arrow::after {
  top: 0;
  opacity: 1;
}

@media (max-width: 1050px) {
  .footer-wrapper {
    padding-top: 60px;
  }
  .footer-bg {
    bottom: -20px;
  }
}
@media (max-width: 682px) {
  .footer-logo {
    width: 180px;
  }
  .footer-address {
    font-size: 14px;
  }
  .footer-menu-a {
    font-size: 14px;
  }
  .footer-menu-b {
    font-size: 12px;
  }
  .footer-site-policy {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .footer-logo {
    width: 120px;
  }
  .footer-address {
    padding: 20px 0 20px;
  }
  .footer-wrapper {
    display: block;
    padding-top: 10px;
  }
  .footer-wrapper-ot {
    display: block;
  }
  .footer-policy {
    padding: 20px 15px;
    flex-direction: column-reverse;
    align-items: baseline;
  }
  .footer-bg {
    bottom: -30px;
  }
  footer {
    padding-top: 50px;
  }
  .footer-site-policy {
    margin: 10px 15px 5px;
  }
  .page-top {
    font-size: 16px;
  }
  .page-top-arrow::before,
  .page-top-arrow::after {
    font-size: 18px;
  }
  .page-top-arrow-wrapper {
    width: 35px;
    height: 48px;
  }
}

.animate-trigger {
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-trigger.is-animated {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.u-fade-type-up {
  transform: translateY(50px);
  opacity: 0;
}
.is-active .u-fade-type-up {
  transition: 0.6s;
  transform: translateY(0);
  opacity: 1;
}

.is-active .u-fade-type-up:nth-child(2) {
  transition-delay: 0.4s;
}
.is-active .u-fade-type-up:nth-child(3) {
  transition-delay: 0.8s;
}
