@charset "UTF-8";

/* =======================================
   ROOT
======================================= */
:root {
  --font-gothic: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-mincho: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

body {
  min-height: 100vh;
}

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

img {
  height: auto;
}

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

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

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button {
  background-color: transparent;
  border: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

address {
  font-style: normal;
}

summary {
  cursor: pointer;
}

[hidden] {
  display: none;
}

/* =======================================
   BASE
======================================= */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  color: #000;
  font-family: var(--font-gothic);
  font-size: 1.6rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

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

main {
  display: block;
}

body:not(.home) main {
  padding-top: 75px;
}

a,
button {
  transition: opacity 0.2s ease;
}

a:hover,
button:hover {
  opacity: 0.7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* =======================================
   LAYOUT
======================================= */
.l-inner {
  margin-inline: auto;
  max-width: 1260px;
  padding-inline: 30px;
  width: 100%;
}

/* =======================================
   HEADER
======================================= */
.c-header {
  background-image: url("../img/common/bg-pattern.webp");
  background-position: center;
  background-repeat: repeat-x;
  background-size: auto 100%;
  height: 75px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.home .c-header {
  position: absolute;
  top: var(--top-hero-bottom, 100vh);
}

.home .c-header.is-fixed {
  position: fixed;
  top: 0;
}

.c-header__inner {
  align-items: center;
  display: flex;
  height: 100%;
  margin-inline: auto;
  max-width: 1260px;
  padding-inline: 30px;
  width: 100%;
}

.c-header__logo {
  flex-shrink: 0;
  width: 178px;
}

.c-header__logo a {
  display: block;
}

.c-header__logo img {
  width: 100%;
}

.c-header__nav {
  height: 100%;
  margin-left: auto;
}

.c-header__menu {
  align-items: stretch;
  display: flex;
  height: 100%;
  justify-content: center;
}

.c-header__menu > .menu-item {
  align-items: stretch;
  display: flex;
  position: relative;
}

.c-header__menu > .menu-item > a {
  align-items: center;
  display: flex;
  font-size: 1.8rem;
  font-weight: 700;
  justify-content: center;
  padding-inline: 35px;
  white-space: nowrap;
}

.c-header__menu > .menu-item-has-children > a {
  column-gap: 14px;
}

.c-header__menu > .menu-item-has-children > a::after {
  background-image: url("../img/common/icon-nav-arrow.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  flex-shrink: 0;
  height: 10px;
  width: 10px;
}

.c-header__menu .sub-menu {
  background-color: rgba(255, 255, 255, 0.94);
  left: 50%;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
}

.c-header__menu .menu-item-has-children:hover > .sub-menu,
.c-header__menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.c-header__menu .sub-menu .menu-item {
  border-bottom: 1px solid #aaa;
}

.c-header__menu .sub-menu .menu-item:last-child {
  border-bottom: 0;
}

.c-header__menu .sub-menu a {
  display: block;
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 9px 16px;
  text-align: center;
}

.c-header__menu > .menu-item:nth-last-child(2) {
  align-items: center;
  margin-left: 10px;
}

.c-header__menu > .menu-item:nth-last-child(2) > a {
  background-color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #111;
  column-gap: 9px;
  height: 38px;
  padding-inline: 18px;
}

.c-header__menu > .menu-item:nth-last-child(2) > a::after {
  background-image: url("../img/common/icon-recruit.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  flex-shrink: 0;
  height: 15px;
  width: 15px;
}

.c-header__menu > .menu-item:last-child {
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  margin-block: 7px;
  margin-left: 50px;
}

.c-header__menu > .menu-item:last-child > a {
  flex-direction: column;
  font-size: 1.6rem;
  line-height: 1.2;
  padding-inline: 12px;
}

.c-header__menu > .menu-item:last-child > a::before {
  background-image: url("../img/common/icon-contact.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 17px;
  margin-bottom: 3px;
  width: 22px;
}

.c-header__menu-button {
  display: none;
}

/* =======================================
   GLOBAL MENU
======================================= */
.c-global-menu {
  display: none;
}

/* =======================================
   FOOTER
======================================= */
.c-footer-pagetop {
  display: none;
}

.c-footer {
  background-image: url("../img/common/bg-pattern.webp");
  background-position: center;
  background-repeat: repeat;
  background-size: auto;
  padding-block: 60px;
}

.c-footer__inner {
  column-gap: 55px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  margin-inline: auto;
  max-width: 1260px;
  padding-inline: 30px;
  width: 100%;
}

.c-footer__company {
  min-width: 0;
}

.c-footer__logo {
  width: 190px;
}

.c-footer__logo a {
  display: block;
}

.c-footer__logo img {
  width: 100%;
}

.c-footer__address {
  font-size: 1.6rem;
  line-height: 1.45;
  margin-top: 16px;
}

.c-footer__navigation {
  min-width: 0;
}

.c-footer__menu {
  column-gap: 36px;
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
}

.c-footer__menu > .menu-item > a {
  color: #0874bd;
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.c-footer__menu .sub-menu {
  margin-top: 12px;
}

.c-footer__menu .sub-menu .menu-item {
  margin-top: 8px;
}

.c-footer__menu .sub-menu .menu-item:first-child {
  margin-top: 0;
}

.c-footer__menu .sub-menu a {
  display: block;
  font-size: 1.6rem;
  line-height: 1.6;
}

/* =======================================
   UTILITY
======================================= */
.u-font-mincho {
  font-family: var(--font-mincho);
}

.u-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

br.sp {
  display: none;
}

br.pc {
  display: inline;
}

/* =======================================
   SP
======================================= */
@media (max-width: 767px) {
  a:hover,
  button:hover {
    opacity: 1;
  }

  body:not(.home) main {
    padding-top: 56px;
  }

  br.sp {
    display: inline;
  }

  br.pc {
    display: none;
  }

  /* =======================================
     HEADER
  ======================================= */
  .c-header,
  .home .c-header,
  .home .c-header.is-fixed {
    background-color: #fff;
    background-image: none;
    height: 56px;
    position: fixed;
    top: 0;
  }

  body:not(.home) .c-header {
    border-bottom: 1px solid #9CAAD1;
  }

  .c-header__inner {
    justify-content: space-between;
    max-width: none;
    padding-inline: 20px 13px;
  }

  .c-header__logo {
    width: 146px;
  }

  .c-header__nav {
    display: none;
  }

  .c-header__menu-button {
    align-items: center;
    display: flex;
    height: 43px;
    justify-content: center;
    width: 43px;
  }

  .c-header__menu-button img {
    width: 26px;
  }

  /* =======================================
     GLOBAL MENU
  ======================================= */
  .c-global-menu {
    background-color: #B6DDE0;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    visibility: hidden;
    z-index: 1100;
  }

  .c-global-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    visibility: visible;
  }

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

  .c-global-menu__header {
    align-items: center;
    display: flex;
    height: 62px;
    justify-content: space-between;
    padding-inline: 21px 13px;
  }

  .c-global-menu__logo {
    width: 155px;
  }

  .c-global-menu__logo a {
    display: block;
  }

  .c-global-menu__logo img {
    width: 100%;
  }

  .c-global-menu__close {
    align-items: center;
    display: flex;
    height: 48px;
    justify-content: center;
    width: 48px;
  }

  .c-global-menu__close img {
    width: 30px;
  }

  .c-global-menu__nav {
    padding: 24px 34px 80px;
  }

  .c-global-menu__list > .menu-item {
    margin-bottom: 27px;
  }

  .c-global-menu__list > .menu-item:last-child {
    margin-bottom: 0;
  }

  .c-global-menu__list > .menu-item > a {
    color: #3063A7;
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
  }

  .c-global-menu__list .sub-menu {
    margin-top: 14px;
    padding-left: 80px;
  }

  .c-global-menu__list .sub-menu .menu-item {
    margin-bottom: 14px;
  }

  .c-global-menu__list .sub-menu .menu-item:last-child {
    margin-bottom: 0;
  }

  .c-global-menu__list .sub-menu a {
    display: block;
    font-size: 1.5rem;
    line-height: 1.6;
  }

  /* =======================================
     FOOTER
  ======================================= */
  .c-footer {
    padding: 31px 40px 35px;
    position: relative;
  }

  .c-footer-pagetop {
    align-items: center;
    display: flex;
    height: 43px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: -53px;
    transform: translateX(-50%);
    width: 60px;
  }

  .c-footer__inner {
    display: block;
    max-width: none;
    padding-inline: 0;
  }

  .c-footer__logo {
    width: 170px;
  }

  .c-footer__address {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 12px;
  }

  .c-footer__navigation {
    display: none;
  }
}