/* ========================================
   BASE
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1d2947;
  background: #fff;

  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    YuGothic,
    sans-serif;

  font-size: 18px;
  line-height: 1.9;
}

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

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

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: calc(100% - 40px);
  margin: 0 auto;
}

.container--small {
  max-width: 760px;
}

.container--medium {
  max-width: 1000px;
}

.section {
  padding: 90px 0;
}

.section--gray {
  background: #f4f4f4;
}

.section--beige {
  background: #f4f0e6;
}

.sp-only {
  display: none;
}

.note,
.caption,
.annotation {
  font-size: 14px;
  line-height: 1.7;
}


/* ========================================
   HEADER
======================================== */

.site-header {
  position: relative;
  z-index: 1000;

  width: 100%;

  background: #fff;
  border-bottom: 1px solid #eee;
}

.site-header__inner {
  display: flex;
  align-items: center;

  width: calc(100% - 40px);
  max-width: 1200px;
  min-height: 76px;

  margin: 0 auto;
}


/* ========================================
   LOGO
======================================== */

.site-logo {
  display: block;

  width: 160px;

  flex-shrink: 0;
}

.site-logo img {
  display: block;

  width: 100%;
  height: auto;
}


/* ========================================
   GLOBAL NAV
======================================== */

.global-nav {
  margin-left: auto;
}

.global-nav > ul,
.global-nav__list {
  display: flex;
  align-items: center;

  gap: 26px;
}

.global-nav li {
  display: flex;
  align-items: center;
}

.global-nav a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;

  color: #1d2947;

  font-size: 15px;
  line-height: 1.4;

  white-space: nowrap;

  transition:
    color .2s,
    background .2s,
    opacity .2s;
}

.global-nav a:hover {
  opacity: .6;
}


/* ========================================
   GLOBAL NAV CTA
   「初めての方へ」
======================================== */

.global-nav .menu-item--cta {
  margin-left: 4px;
}

.global-nav .menu-item--cta > a {
  min-height: 46px;

  padding: 10px 22px;

  color: #fff;
  background: #243b83;

  font-weight: 600;

  opacity: 1;

  transition:
    background .2s,
    transform .2s;
}

.global-nav .menu-item--cta > a:hover {
  color: #fff;
  background: #1b2f6c;

  opacity: 1;

  transform: translateY(-1px);
}


/* ========================================
   MENU TOGGLE
======================================== */

.menu-toggle {
  display: none;
}


/* ========================================
   HEADER SP
======================================== */

@media (max-width: 767px) {

  .site-header__inner {
    width: calc(100% - 30px);
    min-height: 65px;
  }


  /* LOGO */

  .site-logo {
    width: 140px;
  }


  /* MENU BUTTON */

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

    width: 42px;
    height: 42px;

    margin-left: auto;
    padding: 8px;

    border: 0;

    background: transparent;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    background: #1d2947;

    transition:
      transform .3s ease,
      opacity .3s ease;
  }


  /* GLOBAL NAV */

  .global-nav {
    position: absolute;

    top: 100%;
    left: 0;

    display: none;

    width: 100%;

    margin: 0;

    background: #fff;

    border-top: 1px solid #eee;

    box-shadow:
      0 6px 15px rgba(0, 0, 0, .08);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav > ul,
  .global-nav__list {
    display: block;
  }

  .global-nav li {
    display: block;

    border-bottom: 1px solid #eee;
  }

  .global-nav a {
    display: block;

    min-height: 0;

    padding: 16px 20px;

    font-size: 16px;
  }


  /* CTA */

  .global-nav .menu-item--cta {
    margin: 0;

    padding: 12px 15px 15px;

    border-bottom: 0;

    background: #f7f8fa;
  }

  .global-nav .menu-item--cta > a {
    display: flex;

    min-height: 52px;

    padding: 13px 20px;

    color: #fff;
    background: #243b83;

    text-align: center;
  }


  /* OPEN ICON */

  .menu-toggle.is-open span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

}


/* ========================================
   SP
======================================== */

@media (max-width: 767px) {

  body {
    font-size: 16px;
    line-height: 1.8;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 60px 0;
  }

  .sp-only {
    display: block;
  }

  .note,
  .caption,
  .annotation {
    font-size: 14px;
  }


  /* HEADER */

  .site-header__inner {
    width: calc(100% - 30px);
    min-height: 65px;
  }

  .site-logo {
    width: 140px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 42px;
    height: 42px;

    margin-left: auto;
    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    background: #1d2947;

    transition:
      transform .3s ease,
      opacity .3s ease;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;

    display: none;

    width: 100%;
    margin: 0;

    background: #fff;

    border-top: 1px solid #eee;

    box-shadow:
      0 6px 15px rgba(0, 0, 0, .08);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    display: block;
  }

  .global-nav li {
    border-bottom: 1px solid #eee;
  }

  .global-nav a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 55px 0 30px;

  color: #fff;
  background: #192b50;
}


/* =========================================================
   FOOTER TOP
========================================================= */

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;

  align-items: start;
}


/* =========================================================
   FOOTER NAV
========================================================= */

.footer-nav {
  min-width: 0;
}

.footer-nav > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 30px 40px;

  margin: 0;
  padding: 0;

  list-style: none;
}


/* 親メニュー */

.footer-nav > ul > li {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-nav > ul > li > a {
  display: block;

  margin-bottom: 14px;

  color: #fff;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  text-decoration: none;
}


/* 子メニュー */

.footer-nav .sub-menu {
  display: flex;
  flex-direction: column;

  gap: 9px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-nav .sub-menu li {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-nav .sub-menu a {
  display: inline-block;

  color: rgba(255, 255, 255, .86);

  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;

  text-decoration: none;

  transition:
    opacity .2s ease,
    transform .2s ease;
}

.footer-nav .sub-menu a:hover {
  opacity: .65;
  transform: translateX(2px);
}


/* =========================================================
   COMPANY
========================================================= */

.footer-company {
  text-align: right;
}

.footer-company__name {
  margin: 0 0 12px;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-company__address {
  margin: 0;

  color: rgba(255, 255, 255, .85);

  font-size: 12px;
  line-height: 1.9;
}


/* =========================================================
   FOOTER DISCLAIMER
========================================================= */

.footer-disclaimer {
  margin-top: 38px;
  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer-disclaimer p {
  margin: 0;

  color: rgba(255, 255, 255, .62);

  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.9;
}


/* =========================================================
   FOOTER COPYRIGHT
========================================================= */

.footer-copyright {
  margin-top: 24px;
  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, .12);

  text-align: center;
}

.footer-copyright p {
  margin: 0;

  color: rgba(255, 255, 255, .55);

  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
}


/* =========================================================
   FOOTER SP
========================================================= */

@media (max-width: 767px) {

  .site-footer {
    padding: 42px 0 24px;
  }

  .footer-inner {
    display: block;
  }

  .footer-nav {
    margin-bottom: 38px;
  }

  .footer-nav > ul {
    display: block;
  }

  .footer-nav > ul > li {
    margin-bottom: 28px;
  }

  .footer-nav > ul > li:last-child {
    margin-bottom: 0;
  }

  .footer-nav > ul > li > a {
    margin-bottom: 12px;

    font-size: 14px;
  }

  .footer-nav .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px 18px;
  }

  .footer-nav .sub-menu a {
    font-size: 13px;
  }


  .footer-company {
    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, .15);

    text-align: left;
  }

  .footer-company__name {
    margin-bottom: 9px;

    font-size: 15px;
  }

  .footer-company__address {
    font-size: 12px;
    line-height: 1.8;
  }


  .footer-disclaimer {
    margin-top: 30px;
    padding-top: 20px;
  }

  .footer-disclaimer p {
    font-size: 10.5px;
    line-height: 1.9;
  }


  .footer-copyright {
    margin-top: 20px;
    padding-top: 17px;
  }

  .footer-copyright p {
    font-size: 10px;
  }

}

/* ========================================
   DEFAULT TABLE
======================================== */

main table {
  width: 100%;
  margin: 30px 0 45px;

  border-collapse: separate;
  border-spacing: 0;

  border: 1px solid #d9dde6;
  border-radius: 6px;

  overflow: hidden;

  background: #fff;

  color: #333;

  font-size: 14px;
  line-height: 1.7;
}


/* ========================================
   CELL
======================================== */

main table th,
main table td {
  padding: 14px 18px;

  border: 0;
  border-right: 1px solid #e1e4ea;
  border-bottom: 1px solid #e1e4ea;

  vertical-align: middle;
}


/* 右端の線を消す */

main table tr > *:last-child {
  border-right: 0;
}


/* 最終行の線を消す */

main table tr:last-child > * {
  border-bottom: 0;
}


/* ========================================
   TABLE HEADER
======================================== */

main table thead th {
  color: #fff;
  background: #243b83;

  font-weight: 500;
  text-align: center;
}


/* ========================================
   BODY HEADER
======================================== */

main table tbody th {
  color: #1d2947;
  background: #f5f6f9;

  font-weight: 500;
  text-align: left;
}


/* ========================================
   BODY CELL
======================================== */

main table tbody td {
  background: #fff;
}


/* 偶数行 */

main table tbody tr:nth-child(even) td {
  background: #fafbfc;
}


/* ========================================
   SP
======================================== */

@media (max-width: 767px) {

  main table {
    font-size: 13px;
  }

  main table th,
  main table td {
    padding: 11px 12px;
  }

}

