@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400&display=swap");

:root {
  --navy-50: #F1F7FF;
  --navy-100: #D2E1F3;
  --navy-200: #A8C2E7;
  --navy-400: #3A75BF;
  --navy-500: #1A549F;
  --navy-600: #14427D;
  --navy-700: #0F3370;
  --navy-800: #0B2D5C;
  --navy-900: #082348;
  --navy-950: #051830;
  --gold-50: #FFF8E6;
  --gold-400: #E8AA1E;
  --gold-500: #C8940E;
  --teal-50: #E2F7FC;
  --teal-400: #17AECE;
  --teal-500: #0C8FAB;
  --navy: var(--navy-500);
  --blue: var(--navy-500);
  --sky: var(--navy-50);
  --ink: #1A1A1A;
  --muted: #5A6472;
  --text-light: #8A95A0;
  --line: rgba(26, 84, 159, .18);
  --gold: var(--gold-500);
  --orange: var(--navy-500);
  --green: #0CBB5E;
  --white: #ffffff;
  --paper: var(--navy-50);
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --font-num: "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 3px 10px rgba(26, 84, 159, .08), 0 16px 40px rgba(26, 84, 159, .06);
  --shadow-strong: 0 6px 16px rgba(26, 84, 159, .14), 0 28px 56px rgba(26, 84, 159, .10);
  --shadow-cta: 0 4px 12px rgba(12, 187, 94, .35), 0 12px 32px rgba(12, 187, 94, .22);
  --container: 1280px;
  --container-wide: 1408px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  background: var(--white);
}

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

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

.is-disabled,
.nav-disabled,
.footer-link-disabled {
  cursor: default;
}

.wrap {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
}

.header-main {
  width: min(1408px, calc(100% - 64px));
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-row {
  overflow: hidden;
  background: #F1F7FF;
}

.nav-row .wrap {
  width: min(1408px, calc(100% - 64px));
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: 295px;
  height: auto;
}

.brand-service-logo {
  width: 188px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  color: #14427D;
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  position: relative;
  display: flex;
  flex: 1 1 0;
}

.nav a,
.nav .nav-disabled {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
  text-align: center;
}

.nav a {
  z-index: 0;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: -16px 0;
  z-index: -1;
  background: transparent;
  transition: background-color 150ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--navy-700);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  background: var(--navy-100);
}

.nav-menu > * + *::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #2D68B2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone-link {
  display: flex;
  flex: 0 0 230px;
  width: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy-700);
  font-family: var(--font-num);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.phone-link small {
  color: var(--navy-700);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--navy-400);
  outline-offset: 3px;
}

.btn-line {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-cta);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn-call {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(242, 138, 34, .28);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.header-main .btn {
  gap: 8px;
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0;
}

.header-main .btn-line {
  background: #0CBB5E;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.16);
}

.header-main .btn-call {
  background: #1A549F;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.15);
}

.header-btn-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 45px;
  height: 46px;
}

.header-btn-icon-line {
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header-btn-icon-mail {
  width: 54px;
  height: 39px;
  object-fit: contain;
}

.header .menu-toggle,
.sp-menu {
  display: none;
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.footer {
  min-height: 374px;
  padding: 57px 0;
  color: var(--white);
  background: var(--navy-800);
  font-size: 16px;
  line-height: 1.85;
}

.footer .wrap {
  width: min(var(--container-wide), calc(100% - 64px));
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  min-height: 182px;
  padding-bottom: 0;
  margin-bottom: 48px;
  border-bottom: 0;
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-logo {
  width: 330px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: grid;
  flex: 0 1 auto;
  grid-template-columns: repeat(4, 178px);
  gap: 28px;
  margin-left: auto;
  color: var(--white);
}

.footer-nav > div {
  width: 178px;
  max-width: 100%;
  min-width: 0;
}

.footer-nav h3 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-nav ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu {
  grid-template-columns: repeat(2, minmax(190px, max-content));
  column-gap: 56px;
}

.footer-nav a,
.footer-nav li a,
.footer-link-disabled {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .05em;
  overflow-wrap: anywhere;
}

.footer-nav a.footer-link--compact {
  display: inline-block;
  line-height: 1.35;
}

.footer-nav-external a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  white-space: nowrap;
}

.footer-nav-external a.footer-link--compact {
  display: inline-block;
  white-space: normal;
}

.footer-nav-external a::after {
  content: "open_in_new";
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 0;
  font-family: "Material Symbols Outlined";
  font-size: 0.9em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: -0.12em;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

.phone-link:hover,
.phone-link:focus-visible,
.sp-phone-link:hover,
.sp-phone-link:focus-visible {
  color: var(--navy-500);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

a.btn-line:hover,
a.btn-line:focus-visible {
  background: #09A854;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .12), 0 8px 14px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

a.btn-call:hover,
a.btn-call:focus-visible {
  background: var(--navy-700);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .12), 0 8px 14px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.footer-nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--teal-50);
  text-decoration-color: currentColor;
}

.footer .wrap > span {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-align: center;
}

@media (max-width: 1200px) {
  .nav {
    font-size: 15px;
  }

  .nav a,
  .nav .nav-disabled {
    padding: 0 8px;
  }
}

@media (max-width: 900px) {
  .nav,
  .nav-row {
    display: none;
  }

  .header-main.wrap {
    width: calc(100% - 32px);
    max-width: none;
    padding: 12px 0;
  }

  .header-actions {
    display: none;
  }

  .header .menu-toggle {
    display: inline-flex;
    width: 48px;
    max-width: 48px;
    flex: 0 0 48px;
    margin-left: auto;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .no-js .header .menu-toggle {
    display: none;
  }

  .header .menu-toggle span {
    display: block;
    width: 32px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: var(--navy-700);
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .header .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

  .header .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .header .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .sp-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9;
    display: block;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 16px 32px rgba(11, 45, 92, .14);
    max-height: calc(100dvh - var(--sp-menu-top, 70px));
    overflow-y: auto;
  }

  .sp-menu[hidden] {
    display: none;
  }

  .sp-menu-inner {
    display: grid;
    gap: 20px;
    width: min(100% - 32px, 560px);
    margin: 0 auto;
    padding: 24px 0 36px;
  }

  .sp-phone-link {
    display: grid;
    gap: 6px;
    justify-items: center;
    color: var(--navy-700);
    font-family: var(--font-num);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color 160ms ease, text-decoration-color 160ms ease;
  }

  .sp-phone-link small {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 800;
  }

  .sp-menu-actions {
    display: grid;
    gap: 20px;
    padding-bottom: 12px;
  }

  .sp-menu-actions .btn {
    min-height: 62px;
    gap: 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
  }

  .sp-menu-actions .btn-line {
    min-height: 62px;
    background: #0CBB5E;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.16);
  }

  .sp-menu-actions .btn-call {
    background: #1A549F;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.16);
  }

  .sp-nav {
    display: grid;
    border-top: 1px solid var(--line);
  }

  .sp-nav-menu {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sp-nav a,
  .sp-nav .nav-disabled {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: #14427D;
    font-size: 16px;
    font-weight: 700;
  }

  .sp-nav a {
    transition: background-color 160ms ease, color 160ms ease, padding-left 160ms ease;
  }

  .sp-nav a:hover,
  .sp-nav a:focus-visible {
    padding-left: 14px;
    background: var(--navy-50);
    color: var(--navy-700);
  }

  .footer {
    padding-bottom: 16px;
  }

  .footer-top {
    flex-direction: column;
    min-height: 0;
    gap: 48px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    margin-left: 0;
  }

  .footer-nav > div {
    width: auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 48px, 1120px);
  }

  .header-main.wrap {
    width: calc(100% - 48px);
    max-width: none;
    padding: 12px 0;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
  }

  .brand-logo {
    width: min(160px, 38vw);
  }

  .brand-service-logo {
    width: min(112px, 28vw);
  }

  .header .menu-toggle {
    width: 44px;
    max-width: 44px;
    flex-basis: 44px;
    height: 44px;
    gap: 7px;
  }

  .btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .sp-menu-actions .btn {
    min-height: 54px;
    font-size: 16px;
  }

  .sp-menu-actions .header-btn-icon {
    width: 38px;
    height: 40px;
  }

  .sp-menu-actions .header-btn-icon-mail {
    width: 46px;
    height: 34px;
  }

  p {
    font-size: 14px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-link,
  .sp-phone-link,
  .btn-line,
  .btn-call,
  .footer-nav a,
  .sp-nav a,
  .header .menu-toggle span {
    transition-duration: .01ms;
  }

  a.btn-line:hover,
  a.btn-line:focus-visible,
  a.btn-call:hover,
  a.btn-call:focus-visible {
    transform: none;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .wrap,
  .nav-row .wrap {
    width: min(100% - 48px, 760px);
  }

  .header-main.wrap {
    width: calc(100% - 48px);
    max-width: none;
  }

  .brand {
    gap: 16px;
  }

  .brand-logo {
    width: min(180px, 30vw);
  }

  .brand-service-logo {
    width: min(132px, 22vw);
  }

  .sp-menu-inner {
    width: min(100% - 48px, 640px);
  }
}
