:root {
  --separator-color: #cbd5e1;
  --text-strong-color: #262626;
  --brand-color: #001933;
  --surface-subtle-color: #fafafa;
  --highlight-color: #fbf292;
  --header-shadow: 0 4px 2px rgba(16, 41, 75, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: unset;
}

body {
  grid-template-rows: max-content 1fr max-content;
}

@media (min-width: 768px) {
  .is-sp {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .is-pc {
    display: none !important;
  }
}

.mask-icon {
  width: 24px;
  height: 24px;
  -webkit-mask: var(--icon-image) no-repeat center / contain;
  mask: var(--icon-image) no-repeat center / contain;
  background-color: currentColor;
  flex-shrink: 0;
  display: inline-block;
}

.mask-icon.down {
  --icon-image: url('../image/icon_chevron-down.svg');
}

.mask-icon.right {
  --icon-image: url('../image/icon_chevron-right.svg');
}

.mask-icon.pin {
  --icon-image: url('../image/icon_map-pin.svg');
}

.mask-icon.assessment {
  --icon-image: url('../image/icon_assessment.svg');
}

.mask-icon.line {
  --icon-image: url('../image/icon_line.svg');
}

.mask-icon.faq {
  --icon-image: url('../image/home_faq_icon.svg');
}

.round-button {
  background-color: var(--main-color);
  color: var(--text-contrast-color);
  font-size: 18px;
  font-weight: var(--weight-bold);
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
}

.round-button:hover {
  filter: brightness(1.05);
}

.round-button img {
  flex-shrink: 0;
}

.round-button .arrow {
  width: 20px;
  height: 20px;
}

.round-button.white {
  background-color: var(--contents-bg-color);
  color: var(--main-color);
}

.header {
  background-color: var(--contents-bg-color);
  height: 60px;
  box-shadow: var(--header-shadow);
  border-bottom: none;
  align-items: center;
  padding: 3.5px 20px;
  display: flex;
}

@media (min-width: 576px) {
  .header {
    height: 74px;
    padding: 10.5px 21px;
  }
}

@media (min-width: 768px) {
  .header {
    height: 77px;
    padding: 6px 24px;
  }
}

@media (min-width: 960px) {
  .header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    height: auto;
    padding: 6px 24px;
  }
}

.header .header-top {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 48px;
  display: flex;
}

@media (min-width: 960px) {
  .header .header-top {
    padding-right: 0;
  }
}

.header .brand {
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 10px;
  text-decoration: none;
  transition: opacity 0.3s;
  display: grid;
}

.header .brand .mark {
  grid-row: 1 / span 2;
  width: 47px;
  height: 35px;
}

.header .brand .name {
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--brand-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.header .brand .company {
  white-space: nowrap;
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .header .brand {
    align-items: center;
    gap: 12px;
    min-width: 0;
    display: flex;
  }

  .header .brand .mark {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
  }

  .header .brand .name {
    min-width: 0;
    font-size: 20px;
    line-height: 1.2;
  }

  .header .brand .company {
    min-width: 0;
    font-size: 14px;
    line-height: 1.2;
  }

  .header .brand:hover {
    opacity: 0.8;
  }
}

@media (min-width: 1200px) {
  .header .brand .mark {
    width: 70.9px;
    height: 53px;
  }

  .header .brand .name {
    letter-spacing: 1.2px;
    font-size: 24px;
    line-height: 1.5;
  }

  .header .brand .company {
    font-size: 18px;
    line-height: 1.6;
  }
}

.header .actions {
  display: none;
}

@media (min-width: 768px) {
  .header .actions {
    flex-shrink: 0;
    align-items: center;
    gap: max(16px, min(1.5vw, 24px));
    display: flex;
  }
}

.header .contact {
  flex-direction: column;
  align-items: center;
  display: flex;
}

@media (max-width: 959px) {
  .header .contact {
    order: 2;
  }
}

.header .contact .tel {
  font-size: max(24px, min(2.2vw, 28px));
  font-weight: var(--weight-bold);
  color: var(--text-color);
  white-space: nowrap;
  align-items: center;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
}

.header .contact .tel img {
  width: 32px;
  height: 32px;
}

@media (min-width: 1200px) {
  .header .contact .tel img {
    width: 36px;
    height: 36px;
  }
}

.header .contact .schedule {
  color: var(--text-color);
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 10px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

@media (max-width: 1010px) {
  .header .contact .schedule {
    max-width: 170px;
  }
}

@media (max-width: 959px) {
  .header .contact .tel {
    background: #fff7db;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 0;
    display: flex;
  }

  .header .contact .tel img {
    width: 28px;
    height: 28px;
  }

  .header .contact .schedule {
    display: none;
  }
}

.header .actions .round-button {
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .header .actions .round-button {
    padding: 12px 18px;
    font-size: 15px;
  }

  .header .actions .round-button img {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 1200px) {
  .header .actions .round-button {
    padding: 12px 28px;
    font-size: 18px;
  }

  .header .actions .round-button img {
    width: 24px;
    height: 24px;
  }
}

.header .actions .round-button:hover {
  filter: brightness(1.1);
}

.header .social {
  display: none;
}

@media (min-width: 960px) {
  .header .social {
    align-items: center;
    gap: 16px;
    display: flex;
  }
}

.header .social .link {
  transition: opacity 0.3s;
  display: block;
}

.header .social .link:hover {
  opacity: 0.75;
}

.header .social .link img {
  display: block;
}

.header .header-nav {
  display: none;
}

@media (min-width: 960px) {
  .header .header-nav {
    padding-bottom: 12px;
    display: block;
  }
}

.header .header-nav .nav-list {
  justify-content: center;
  display: flex;
}

.header .header-nav .nav-item {
  border-right: 1px solid var(--separator-color);
  flex: 1;
  position: relative;
}

.header .header-nav .nav-item:first-child {
  border-left: 1px solid var(--separator-color);
}

@media (min-width: 1200px) {
  .header .header-nav .nav-item {
    max-width: 240px;
  }
}

.header .header-nav .nav-item.is-open .nav-label {
  color: var(--main-color);
}

.header .header-nav .nav-item.is-open .nav-label .mask-icon.down {
  rotate: 180deg;
}

.header .header-nav .nav-item.is-open .submenu {
  opacity: 1;
  visibility: visible;
}

.header .header-nav .nav-label {
  width: 100%;
  color: var(--text-color);
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
}

.header .header-nav .nav-label .chevron {
  width: 18px;
  height: 18px;
  color: var(--main-color);
  transition: rotate 0.2s;
}

.header .header-nav .submenu {
  background-color: var(--contents-bg-color);
  border: 1px solid var(--separator-color);
  opacity: 0;
  visibility: hidden;
  z-index: 20;
  border-radius: 8px;
  width: 240px;
  transition: opacity 0.2s;
  position: absolute;
  top: 150%;
  left: 50%;
  overflow: hidden;
  translate: -50%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.header .header-nav .submenu li:nth-child(2n) {
  background-color: var(--surface-subtle-color);
}

.header .header-nav .submenu li:nth-child(2n) .link:hover {
  background-color: var(--surface-subtle-color);
}

.header .header-nav .submenu li:not(:last-child) {
  border-bottom: 1px solid var(--separator-color);
}

.header .header-nav .submenu .link {
  color: var(--text-color);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
}

.header .header-nav .submenu .link .arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.header .header-nav .submenu .link:hover {
  color: var(--main-color);
}

@media (min-width: 576px) {
  .hamburger-menu {
    top: 17px;
  }
}

@media (min-width: 768px) {
  .hamburger-menu {
    top: 18px;
  }
}

@media (min-width: 960px) {
  .hamburger-menu {
    display: none;
  }

  .navigation.drawer {
    display: none !important;
    visibility: hidden !important;
    animation: none !important;
  }

  body.menu-open {
    overflow: auto !important;
  }
}

.hamburger-menu .item {
  height: 3px;
}

body.home.menu-open .hamburger-menu {
  top: 10px;
}

@media (min-width: 576px) {
  body.home.menu-open .hamburger-menu {
    top: 12px !important;
  }
}

.cta-bar {
  z-index: 90;
  background-color: rgba(0, 0, 0, 0.48);
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 7px 14px;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.cta-bar .round-button {
  white-space: nowrap;
  flex: 1;
  max-width: 270px;
  padding: 11px 14px;
  font-size: 15px;
}

.cta-bar .round-button img {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .cta-bar {
    display: none;
  }
}

.footer {
  background-color: var(--surface-subtle-color);
  padding: 56px 21px;
  display: block;
}

@media (min-width: 768px) {
  .footer {
    padding: 64px 24px;
  }
}

@media (min-width: 960px) {
  .footer {
    padding: 64px 40px;
  }
}

@media (min-width: 1200px) {
  .footer {
    padding: 64px 63px;
  }
}

.footer .footer-inner {
  flex-direction: column;
  gap: 32px;
  max-width: 1314px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

@media (min-width: 768px) {
  .footer .footer-inner {
    gap: 40px;
  }
}

.footer .footer-main {
  flex-direction: column;
  gap: 32px;
  display: flex;
}

@media (min-width: 768px) {
  .footer .footer-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .footer .footer-main {
    gap: 32px;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .footer .footer-main {
    gap: 24px;
  }
}

.footer .company {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

@media (min-width: 768px) {
  .footer .company {
    flex-shrink: 0;
    max-width: 277px;
  }
}

.footer .company .brand {
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: opacity 0.3s;
  display: flex;
}

@media (min-width: 768px) {
  .footer .company .brand:hover {
    opacity: 0.8;
  }
}

.footer .company .brand .mark {
  width: 60px;
  height: 45px;
}

.footer .company .brand .name {
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--brand-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.footer .company .contact {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  display: flex;
}

.footer .company .contact .tel {
  font-size: 32px;
  font-weight: var(--weight-bold);
  color: var(--text-strong-color);
  align-items: center;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
}

.footer .company .contact .tel img {
  width: 40px;
  height: 40px;
}

.footer .company .contact .schedule {
  color: var(--text-color);
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

.footer .company .address {
  color: var(--text-color);
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
}

@media (min-width: 576px) and (max-width: 767px) {
  .footer .company .address {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}

.footer .company .address p {
  margin: 0;
}

.footer .company .address .map-link {
  background-color: var(--contents-bg-color);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.48px;
  color: var(--text-color);
  border: 1px solid #94a3b8;
  border-radius: 9999px;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  padding: 1px 10px 2px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
}

@media (min-width: 576px) and (max-width: 767px) {
  .footer .company .address .map-link {
    margin-top: 0;
  }
}

.footer .company .address .map-link .mask-icon {
  width: 16px;
  height: 16px;
}

.footer .company .address .map-link:hover {
  filter: brightness(1.1);
}

.footer .company .license {
  color: var(--text-color);
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

.footer .company .social {
  align-items: center;
  gap: 16px;
  display: flex;
}

.footer .company .social .link {
  transition: opacity 0.3s;
  display: block;
}

.footer .company .social .link:hover {
  opacity: 0.75;
}

.footer .company .social .link img {
  display: block;
}

.footer .contents {
  flex-direction: column;
  flex: 1;
  gap: 32px;
  min-width: 0;
  display: flex;
}

.footer .footer-nav {
  display: none;
}

@media (min-width: 768px) {
  .footer .footer-nav {
    flex-wrap: wrap;
    gap: 40px;
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .footer .footer-nav {
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .footer .footer-nav {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .footer .footer-nav {
    gap: 12px;
  }
}

.footer .footer-nav .group {
  flex: calc(50% - 20px);
  min-width: 0;
}

@media (min-width: 1200px) {
  .footer .footer-nav .group {
    flex: 1 1 0;
  }
}

.footer .footer-nav .group .heading {
  font-size: 16px;
  font-weight: var(--weight-bold);
  color: var(--text-strong-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer .footer-nav .group .list {
  border-top: none;
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
}

.footer .footer-nav .group .list li {
  border-bottom: 1px solid var(--border-color);
}

.footer .footer-nav .group .link {
  color: var(--text-color);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
}

.footer .footer-nav .group .link .arrow {
  color: var(--main-color);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.footer .footer-nav .group .link:hover {
  color: var(--main-color);
}

.footer .banners {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

@media (min-width: 576px) {
  .footer .banners {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 14px 16px;
    display: grid;
  }
}

@media (min-width: 768px) {
  .footer .banners {
    gap: 22px 16px;
  }
}

@media (min-width: 1200px) {
  .footer .banners {
    flex-flow: wrap;
    align-items: center;
    display: flex;
  }
}

.footer .banners .banner {
  transition: opacity 0.3s;
  display: block;
}

@media (min-width: 1200px) {
  .footer .banners .banner {
    flex: 0 auto;
    min-width: 0;
  }
}

.footer .banners .banner:hover {
  opacity: 0.8;
}

.footer .banners .banner img {
  max-width: 100%;
  display: block;
}

@media (max-width: 1199px) {
  .footer .banners .banner img {
    width: 100%;
    height: auto;
  }
}

.footer .footer-bottom {
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
  align-items: center;
  gap: 24px;
  padding-block: 16px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

.footer .footer-bottom .link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer .footer-bottom .link:hover {
  color: var(--main-color);
}

.footer .footer-bottom .copyright {
  font-size: inherit;
  color: inherit;
}

.navigation.drawer {
  background: var(--contents-bg-color);
  padding: 0;
}

.navigation.drawer .drawer-inner {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 100%;
  padding-bottom: 24px;
  display: flex;
}

.navigation.drawer .drawer-header {
  width: 100%;
  box-shadow: var(--header-shadow);
  align-items: center;
  padding: 10px 20px;
  display: flex;
}

.navigation.drawer .drawer-header .brand {
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 10px;
  text-decoration: none;
  display: grid;
}

.navigation.drawer .drawer-header .brand .mark {
  grid-row: 1 / span 2;
  width: 47px;
  height: 35px;
}

.navigation.drawer .drawer-header .brand .name {
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--brand-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.navigation.drawer .drawer-header .brand .company {
  white-space: nowrap;
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.4;
}

.navigation.drawer .drawer-nav {
  width: calc(100% - 42px);
}

.navigation.drawer .drawer-nav .group {
  border-bottom: 1px solid var(--border-color);
  padding-top: 24px;
  padding-bottom: 24px;
  display: block;
}

.navigation.drawer .drawer-nav .group-label {
  color: var(--text-strong-color);
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  display: flex;
}

.navigation.drawer .drawer-nav .group-label::-webkit-details-marker {
  display: none;
}

.navigation.drawer .drawer-nav .group-label .toggle-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.navigation.drawer .drawer-nav .group-label .toggle-icon:before {
  content: '';
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.navigation.drawer .drawer-nav .group-label .toggle-icon:after {
  content: '';
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.navigation.drawer .drawer-nav .group-label .toggle-icon:before {
  width: 18px;
  height: 3px;
}

.navigation.drawer .drawer-nav .group-label .toggle-icon:after {
  width: 3px;
  height: 18px;
}

.navigation.drawer .drawer-nav .group[open] .group-label .toggle-icon:after {
  opacity: 0;
}

.navigation.drawer .drawer-nav .submenu {
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-left: 12px;
  display: flex;
}

.navigation.drawer .drawer-nav .submenu .link {
  color: var(--text-strong-color);
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  display: inline-block;
}

.navigation.drawer .drawer-nav .submenu .link:before {
  display: none;
}

.navigation.drawer .drawer-nav .submenu .link:hover {
  color: var(--main-color);
  text-decoration: none;
}

.navigation.drawer .drawer-cta {
  flex-direction: column;
  gap: 17.5px;
  width: 375px;
  max-width: calc(100% - 42px);
  display: flex;
}

.navigation.drawer .drawer-cta .round-button {
  width: 100%;
  height: 52px;
  padding: 14px 32px;
  font-size: 17px;
  position: relative;
}

.navigation.drawer .drawer-cta .round-button .arrow {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 32px;
  translate: 0 -50%;
}

.navigation.drawer .drawer-cta .round-button.outline {
  background-color: var(--contents-bg-color);
  border: 2px solid var(--main-color);
  color: var(--main-color);
}

.navigation.drawer .drawer-tel {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  display: flex;
}

.navigation.drawer .drawer-tel .tel {
  font-size: 36px;
  font-weight: var(--weight-bold);
  letter-spacing: 1.8px;
  color: var(--text-strong-color);
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
  text-decoration: none;
  display: flex;
}

.navigation.drawer .drawer-tel .tel img {
  width: 40px;
  height: 40px;
}

.navigation.drawer .drawer-tel .schedule {
  color: var(--text-color);
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 10px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

.navigation.drawer .drawer-social {
  align-items: center;
  gap: 14px;
  display: flex;
}

.navigation.drawer .drawer-social .link {
  padding-left: 0;
  transition: opacity 0.3s;
  display: block;
}

.navigation.drawer .drawer-social .link:before {
  display: none;
}

.navigation.drawer .drawer-social .link:hover {
  opacity: 0.75;
}

.navigation.drawer .drawer-social .link img {
  width: 32px;
  height: 32px;
  display: block;
}

.menu-open :where(.hamburger-menu) .item {
  background-color: var(--text-strong-color);
}
