/* --------------------------------------------------
 * Reset / Common
 * -------------------------------------------------- */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: #0b1f3a;
  background: #fff;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    sans-serif;
}

body.is-drawer-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}


/* --------------------------------------------------
 * Header
 * -------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.08);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.site-header__logo-wrapper {
  display: flex;
  align-items: center;
  flex: 0 0 230px;
  width: 230px;
}

.site-header__logo {
  display: block;
  width: 100%;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}


/* --------------------------------------------------
 * Desktop Navigation
 * -------------------------------------------------- */

.site-header__nav {
  position: relative;
  display: block;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu > .menu-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-header__menu > .menu-item > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 0 18px;
  color: #0b1f3a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.site-header__menu > .menu-item > a:hover,
.site-header__menu > .current-menu-item > a,
.site-header__menu > .current-menu-ancestor > a {
  color: #0068b7;
}

.site-header__menu > .menu-item > a::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  height: 2px;
  background: #0068b7;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.site-header__menu > .menu-item > a:hover::before,
.site-header__menu > .current-menu-item > a::before,
.site-header__menu > .current-menu-ancestor > a::before {
  transform: scaleX(1);
}


/* 親メニューの矢印 */

.site-header__menu > .menu-item-has-children > a::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}

.site-header__menu > .menu-item-has-children:hover > a::after,
.site-header__menu > .menu-item-has-children:focus-within > a::after,
.site-header__menu > .menu-item-has-children.is-open > a::after {
  transform: rotate(-135deg) translateY(-1px);
}


/* --------------------------------------------------
 * Desktop Submenu
 * -------------------------------------------------- */

.site-header__menu .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  z-index: 100;
  width: 280px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  border-top: 3px solid #0068b7;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(0px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.site-header__menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 13px;
  height: 13px;
  background: #0068b7;
  transform: translateX(-50%) rotate(45deg);
}

.site-header__menu > .menu-item-has-children:hover > .sub-menu,
.site-header__menu > .menu-item-has-children:focus-within > .sub-menu,
.site-header__menu > .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
/*  transform: translateX(-50%) translateY(0);*/
}

.site-header__menu .sub-menu li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-header__menu .sub-menu a {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 38px 14px 22px;
  color: #0b1f3a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    padding-left 0.25s ease;
}

.site-header__menu .sub-menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: 0;
  transform: translateY(-50%) rotate(45deg);
  transition: opacity 0.25s ease;
}

.site-header__menu .sub-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.site-header__menu .sub-menu a:hover,
.site-header__menu .sub-menu .current-menu-item > a {
  padding-left: 30px;
  color: #0068b7;
  background: #f2f7fc;
}

.site-header__menu .sub-menu a:hover::before,
.site-header__menu .sub-menu .current-menu-item > a::before {
  opacity: 1;
}


/* --------------------------------------------------
 * Drawer Parts
 * -------------------------------------------------- */

.site-header__drawer-button,
.site-header__drawer-head,
.site-header__overlay {
  display: none;
}


/* --------------------------------------------------
 * Tablet
 * -------------------------------------------------- */

@media screen and (max-width: 1180px) {

  .site-header__logo-wrapper {
    flex-basis: 200px;
    width: 200px;
  }

  .site-header__menu > .menu-item > a {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

}


/* --------------------------------------------------
 * Smartphone Drawer
 * -------------------------------------------------- */

@media screen and (max-width: 980px) {

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

  .site-header__inner {
    min-height: 72px;
  }

  .site-header__logo-wrapper {
    flex: 0 0 180px;
    width: 180px;
  }

  .site-header__drawer-button {
    position: relative;
    z-index: 1102;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    gap: 5px;
  }

  .site-header__drawer-line {
    display: block;
    width: 27px;
    height: 2px;
    background: #0b1f3a;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      background-color 0.3s ease;
  }

  .site-header__drawer-text {
    margin-top: 2px;
    color: #0b1f3a;
    font-family: "Oswald", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .site-header__drawer-button.is-open {
    position: fixed;
    top: 10px;
    right: 16px;
  }

  .site-header__drawer-button.is-open .site-header__drawer-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header__drawer-button.is-open .site-header__drawer-line:nth-child(2) {
    opacity: 0;
  }

  .site-header__drawer-button.is-open .site-header__drawer-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header__drawer-button.is-open .site-header__drawer-text {
    opacity: 0;
  }

  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1101;
    display: block;
    width: min(88vw, 420px);
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .site-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .site-header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px 70px 12px 20px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  }

  .site-header__drawer-logo {
    display: block;
    width: 170px;
  }

  .site-header__drawer-logo img {
    display: block;
    width: 100%;
  }

  .site-header__drawer-close {
    display: none;
  }

  .site-header__menu {
    display: block;
    width: 100%;
    padding: 12px 0 40px;
  }

  .site-header__menu > .menu-item {
    width: 100%;
  }

  .site-header__menu > .menu-item > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 58px;
    padding: 17px 52px 17px 22px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.1);
    color: #0b1f3a;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
  }

  .site-header__menu > .menu-item > a::before {
    display: none;
  }

  .site-header__menu > .menu-item:not(.menu-item-has-children) > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  .site-header__menu > .menu-item-has-children > a::after {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 9px;
    height: 9px;
    margin: 0;
    transform: translateY(-70%) rotate(45deg);
  }

  .site-header__menu > .menu-item-has-children.is-open > a::after {
    transform: translateY(-20%) rotate(-135deg);
  }

  .site-header__menu > .menu-item > a:hover,
  .site-header__menu > .current-menu-item > a,
  .site-header__menu > .current-menu-ancestor > a {
    color: #0068b7;
    background: #f5f8fb;
  }

  .site-header__menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 0;
    background: #f5f8fb;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .site-header__menu .sub-menu::before {
    display: none;
  }

  .site-header__menu .sub-menu li {
    width: 100%;
  }

  .site-header__menu .sub-menu a {
    position: relative;
    display: block;
    width: 100%;
    padding: 14px 46px 14px 38px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    color: #243954;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
  }

  .site-header__menu .sub-menu a::before {
    top: 50%;
    left: 23px;
    width: 5px;
    height: 5px;
    opacity: 1;
    transform: translateY(-50%) rotate(45deg);
  }

  .site-header__menu .sub-menu a::after {
    right: 24px;
  }

  .site-header__menu .sub-menu a:hover,
  .site-header__menu .sub-menu .current-menu-item > a {
    padding-left: 38px;
    color: #0068b7;
    background: #eaf2fa;
  }

  .site-header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 14, 38, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .site-header__overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

}


/* --------------------------------------------------
 * Small Smartphone
 * -------------------------------------------------- */

@media screen and (max-width: 480px) {

  .site-header__logo-wrapper {
    flex-basis: 155px;
    width: 155px;
  }

  .site-header__nav {
    width: 90vw;
  }

  .site-header__drawer-logo {
    width: 150px;
  }

}


/* --------------------------------------------------
 * Footer
 * -------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      rgba(0, 15, 45, 0.98) 0%,
      rgba(0, 38, 92, 0.97) 45%,
      rgba(0, 72, 160, 0.94) 100%
    );
}

.footer {
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 24px 70px;
}

.footer__brand {
  flex-shrink: 0;
  width: 320px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 32px;
}

.footer__logo img {
  width: 220px;
  height: auto;
}

.footer__name {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__name img{
	width:240px;
	max-width:100%;
}

.footer__address,
.footer__tel {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
}

.footer__tel {
  margin-top: 12px;
}

.footer__tel a {
  color: #fff;
  text-decoration: none;
}

.footer__nav {
  display: flex;
  flex: 1;
  gap: 70px;
}

.footer__nav-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.footer__nav-list li {
  list-style: none;
}

.footer__nav-list a {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.8;
  text-decoration: none;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.footer__nav-list a::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4da3ff;
}

.footer__nav-list a:hover {
  color: #fff;
  opacity: 1;
}

.footer__cta {
  flex-shrink: 0;
  width: 260px;
}

.footer__cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer__cta-button::after {
  content: "→";
  margin-left: 14px;
  transition: transform 0.3s ease;
}

.footer__cta-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer__cta-button:hover::after {
  transform: translateX(4px);
}

.footer__bottom {
  padding: 26px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer__bottom small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 980px) {

  .footer__inner {
    flex-direction: column;
    gap: 50px;
    padding: 70px 24px 50px;
  }

  .footer__brand,
  .footer__cta {
    width: 100%;
  }

  .footer__nav {
    flex-direction: column;
    gap: 40px;
  }

  .footer__cta-button {
    height: 64px;
  }

}