/* ========================================
  Reset
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

body {
  color: #111111;
  font-family: "Yu Gothic", "YuGothic", sans-serif;
  font-size: 1.6rem;
  line-height: 1.75;
  min-width: 320px;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

li {
  list-style: none;
}

button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

.inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: calc(100% - 80px);
}

/* ========================================
  Header
======================================== */
.site-header {
  background-color: transparent;
  left: 0;
  padding-bottom: 20px;
  padding-top: 30px;
  position: fixed;
  right: 0;
  top: 0;
  transition: padding-bottom 0.35s ease, padding-top 0.35s ease;
  z-index: 100;
}

.site-header::before {
  background: url("../img/common/bg.webp") repeat left top / 250px auto;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
}

.site-header.is-scrolled {
  padding: 15px 0;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header__inner {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled .site-header__inner {
  align-items: center;
}

.site-header__logo,
.site-overlay__logo {
  font-size: inherit;
  font-weight: inherit;
}

.site-header__logo-link,
.site-overlay__logo-link {
  align-items: center;
  display: flex;
  gap: 10px;
}

.site-header__company,
.site-overlay__company {
  width: 172px;
}

.site-header__site-name,
.site-overlay__site-name {
  border: 1px solid #ffffff;
  border-radius: 9999px;
  color: #ffffff;
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 10px;
}

.site-header__actions {
  align-items: flex-start;
  display: flex;
  gap: 16px;
}

.site-header__entry,
.site-overlay__entry {
  align-items: center;
  background-color: #fff100;
  color: #13acb8;
  display: flex;
  font-family: Roboto, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  height: 45px;
  justify-content: center;
  line-height: 1;
  padding-left: 18px;
  padding-right: 18px;
}

.hamburger {
  display: block;
  width: 50px;
}

.hamburger__image {
  width: 100%;
}

/* ========================================
  Overlay Menu
======================================== */
body.is-menu-open {
  overflow: hidden;
}

.site-overlay {
  background-color: #15aeb9;
  height: 100%;
  inset: 0;
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  width: 100%;
  z-index: 200;
}

.site-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-overlay[hidden] {
  display: none;
}

.site-overlay__panel {
  min-height: 100%;
  outline: none;
}

.site-overlay__inner {
  min-height: 100%;
  padding-bottom: 80px;
}

.site-overlay__header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
}

.site-overlay__actions {
  align-items: flex-start;
  display: flex;
  gap: 16px;
}

.overlay-close {
  display: block;
  padding: 5px;
  width: 50px;
}

.overlay-close__image {
  width: 100%;
}

.site-overlay__nav {
  width: 100%;
}

.site-overlay__menu {
  column-count: 2;
  column-gap: 140px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 72px;
  max-width: 640px;
}

.site-overlay__menu > li {
  break-inside: avoid;
  margin-bottom: 52px;
}

.site-overlay__menu > li > a {
  color: #fff100;
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.site-overlay__menu .sub-menu {
  margin-top: 14px;
}

.site-overlay__menu .sub-menu li + li {
  margin-top: 16px;
}

.site-overlay__menu .sub-menu a {
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1.6;
}

.site-overlay__menu .sub-menu a::before {
  content: "- ";
}

.site-overlay__legal {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: auto;
  margin-top: -36px;
  max-width: 640px;
}

.site-overlay__legal-list {
  width: calc((100% - 140px) / 2);
}

.site-overlay__legal-list a {
  color: #ffffff;
  font-size: 1.8rem;
}

/* ========================================
  Lower Page Common
======================================== */
.lower-fv {
  background: url("../img/common/bg.webp") repeat left top / 250px auto;
  color: #ffffff;
  padding-bottom: 38px;
  padding-top: 114px;
  position: relative;
}

.lower-fv::after {
  background: url("../img/common/nami.webp") repeat-x left top / auto 14px;
  bottom: -7px;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 1;
}

.lower-fv__inner {
  align-items: center;
  display: flex;
}

.lower-fv__heading {
  align-items: center;
  display: flex;
  gap: 24px;
}

.lower-fv__icon {
  flex-shrink: 0;
  width: 55px;
}

.lower-fv__icon img {
  width: 100%;
}

.lower-fv__title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lower-fv__title-en {
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 6px;
}

/* ========================================
  Section Heading Common
======================================== */
.section-heading {
  text-align: center;
}

.section-heading__en {
  color: #13acb8;
  display: block;
  font-family: Roboto, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 8px;
}

.section-heading__title {
  color: #1c2660;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.section-heading__lead {
  font-size: 1.6rem;
  line-height: 2;
  margin-top: 24px;
}

/* ========================================
  Common Definition List
======================================== */
.common-definition-list {
  border-top: 1px solid #d9e8e9;
}

.common-definition-list__row {
  border-bottom: 1px solid #d9e8e9;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.common-definition-list__term,
.common-definition-list__description {
  font-size: 1.6rem;
  line-height: 1.8;
  margin: 0;
  padding: 22px 24px;
}

.common-definition-list__term {
  background-color: #e8f7f8;
  font-weight: 700;
}

/* ========================================
  Common Accordion
======================================== */
.common-accordion {
  border-top: 1px solid #13acb8;
}

.common-accordion__item {
  border-bottom: 1px solid #13acb8;
}

.common-accordion__button {
  align-items: center;
  background-color: #e8f7f8;
  display: flex;
  font-size: 1.8rem;
  font-weight: 700;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px 24px;
  text-align: left;
  width: 100%;
}

.common-accordion__icon {
  flex-shrink: 0;
  height: 16px;
  margin-left: 24px;
  position: relative;
  width: 16px;
}

.common-accordion__icon::before,
.common-accordion__icon::after {
  background-color: #13acb8;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.common-accordion__icon::before {
  height: 2px;
  width: 16px;
}

.common-accordion__icon::after {
  height: 16px;
  width: 2px;
}

.common-accordion__button[aria-expanded="true"] .common-accordion__icon::after {
  display: none;
}

.common-accordion__content {
  padding: 28px 24px;
}

/* ========================================
  Wave Divider Common
======================================== */
.wave-divider {
  position: relative;
}

.wave-divider::before {
  background: url("../img/common/nami.webp") repeat-x left top / auto 14px;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: -7px;
}

/* ========================================
  Footer
======================================== */
.site-footer {
  background: url("../img/common/bg.webp") repeat left top / 250px auto;
  color: #ffffff;
  position: relative;
}

.site-footer::before {
  background: url("../img/common/nami.webp") repeat-x left top / auto 14px;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: -7px;
  z-index: 1;
}

.back-to-top {
  display: block;
  position: absolute;
  right: max(80px, calc((100% - 1200px) / 2));
  top: -31px;
  width: 104px;
  z-index: 2;
}

.back-to-top__image {
  width: 100%;
}

.site-footer__entry {
  position: relative;
}

.site-footer__entry::after {
  background: url("../img/common/nami.webp") repeat-x left top / auto 14px;
  bottom: -7px;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 1;
}

.site-footer__entry-inner {
  align-items: center;
  display: flex;
  gap: 170px;
  justify-content: center;
  padding: 34px 0;
}

.site-footer__entry-content {
  align-items: center;
  display: flex;
  gap: 30px;
}

.site-footer__entry-image {
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  width: 108px;
}

.site-footer__entry-image img {
  width: 100%;
}

.site-footer__entry-message {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2;
}

.site-footer__entry-link {
  align-items: center;
  background-color: #1c2660;
  border-radius: 999px;
  display: flex;
  font-size: 2.1rem;
  font-weight: 500;
  height: 54px;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 25px;
  width: 306px;
}

.site-footer__entry-link-arrow {
  flex-shrink: 0;
  width: 14px;
}

.site-footer__inner {
  padding-bottom: 26px;
  padding-top: 50px;
}

.site-footer__menu {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 1.2fr;
}

.site-footer__menu > li > a {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 18px;
}

.site-footer__menu .sub-menu li + li {
  margin-top: 13px;
}

.site-footer__menu .sub-menu a {
  font-size: 1.8rem;
  line-height: 1.6;
}

.site-footer__menu > li:last-child .sub-menu li:nth-child(1) a {
  color: #fff100;
}

.site-footer__legal {
  margin-left: auto;
  margin-top: -110px;
  width: calc((100% - 150px) / 6);
}

.site-footer__legal-list a {
  font-size: 1.6rem;
  line-height: 1.6;
}

.site-footer__bottom {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-top: 58px;
}

.site-footer__company-info {
  align-items: center;
  display: grid;
  gap: 0 18px;
  grid-template-columns: auto 1fr;
}

.site-footer__company {
  grid-row: 1 / 3;
  margin-bottom: 0;
  width: 260px;
}

.site-footer__address,
.site-footer__contact {
  font-size: 1.4rem;
  line-height: 1.8;
}

.site-footer__address {
  align-self: end;
}

.site-footer__contact {
  align-self: start;
}

.site-footer__copyright {
  font-family: Roboto, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .inner {
    width: calc(100% - 40px);
  }

  /* ========================================
    Header SP
  ======================================== */
  .site-header {
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .site-header__company,
  .site-overlay__company {
    width: 150px;
  }

  .site-header__logo-link,
  .site-overlay__logo-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .site-header__site-name,
  .site-overlay__site-name {
    font-size: 1.2rem;
    padding: 3px 12px;
  }

  .site-header__actions {
    gap: 10px;
  }

  .site-header__entry,
  .site-overlay__entry {
    font-size: 1.8rem;
    height: 36px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hamburger {
    width: 40px;
  }

  /* ========================================
    Overlay Menu SP
  ======================================== */
  .site-overlay__inner {
    padding-bottom: 60px;
  }

  .site-overlay__header {
    padding-top: 14px;
  }

  .site-overlay__actions {
    gap: 10px;
  }

  .overlay-close {
    width: 40px;
  }

  .site-overlay__menu {
    column-gap: 20px;
    margin-top: 50px;
    max-width: none;
  }

  .site-overlay__menu > li {
    margin-bottom: 30px;
  }

  .site-overlay__menu > li > a {
    font-size: 1.9rem;
  }

  .site-overlay__menu .sub-menu {
    margin-top: 20px;
  }

  .site-overlay__menu .sub-menu li + li {
    margin-top: 20px;
  }

  .site-overlay__menu .sub-menu a {
    font-size: 1.6rem;
  }

  .site-overlay__legal {
    margin-top: -30px;
    max-width: none;
  }

  .site-overlay__legal-list {
    width: calc((100% - 34px) / 2);
  }

  .site-overlay__legal-list a {
    font-size: 1.5rem;
  }

  /* ========================================
    Lower Page Common SP
  ======================================== */
  .lower-fv {
    padding-bottom: 25px;
    padding-top: 80px;
  }

  .lower-fv__heading {
    gap: 14px;
  }

  .lower-fv__icon {
    width: 46px;
  }

  .lower-fv__title {
    font-size: 2.4rem;
  }

  .lower-fv__title-en {
    font-size: 1.4rem;
  }

  /* ========================================
    Section Heading Common SP
  ======================================== */
  .section-heading__en {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .section-heading__title {
    font-size: 2.4rem;
  }

  .section-heading__lead {
    font-size: 1.5rem;
    line-height: 1.9;
    margin-top: 18px;
    text-align: left;
  }

  /* ========================================
    Common Definition List SP
  ======================================== */
  .common-definition-list__row {
    display: block;
  }

  .common-definition-list__term,
  .common-definition-list__description {
    font-size: 1.5rem;
    padding: 16px 18px;
  }

  /* ========================================
    Common Accordion SP
  ======================================== */
  .common-accordion__button {
    font-size: 1.6rem;
    min-height: 58px;
    padding: 14px 18px;
  }

  .common-accordion__content {
    padding: 22px 18px;
  }

  /* ========================================
    Footer SP
  ======================================== */
  .back-to-top {
    left: 50%;
    right: auto;
    top: -35px;
    transform: translateX(-50%);
    width: 104px;
  }

  .site-footer__entry-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    padding-bottom: 56px;
    padding-top: 86px;
  }

  .site-footer__entry-content {
    align-items: center;
    gap: 20px;
    justify-content: center;
  }

  .site-footer__entry-image {
    width: 90px;
  }

  .site-footer__entry-message {
    font-size: 1.7rem;
    line-height: 2;
  }

  .site-footer__entry-link {
    font-size: 1.8rem;
    height: 56px;
    margin-top: 28px;
    padding-left: 28px;
    padding-right: 28px;
    width: 100%;
  }

  .site-footer__entry-link-arrow {
    width: 14px;
  }

  .site-footer__inner {
    padding-bottom: 36px;
    padding-top: 42px;
  }

  .site-footer__nav,
  .site-footer__legal {
    display: none;
  }

  .site-footer__bottom {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 0;
  }

  .site-footer__company-info {
    display: block;
  }

  .site-footer__company {
    margin-bottom: 0;
    position: relative;
    width: 200px;
  }

  .site-footer__address,
  .site-footer__contact,
  .site-footer__copyright {
    display: none;
  }
}