/* 全ページ共通: フォント、ヘッダー、フッター、共通UI */
@font-face {
  font-family: 'Noto Sans JP';
  src: url(../fonts/noto-sans-jp/NotoSansJP-Regular.woff?v=20260819-nocache) format('woff');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url(../fonts/noto-sans-jp/NotoSansJP-Bold.woff?v=20260819-nocache) format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url(../fonts/noto-sans-jp/NotoSansJP-Light.woff?v=20260819-nocache) format('woff');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #000;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (min-width: 769px) {
  a[href^='tel:'] {
    cursor: default;
  }
}
.tablet {
  display: none;
}
@media (max-width: 900px) {
  .tablet {
    display: block;
  }
}
.sp {
  display: none;
}
@media (max-width: 599px) {
  .sp {
    display: block;
  }
}
.header {
  width: 100%;
  position: fixed;
  z-index: 1000;
  background-color: #fff;
  padding: 5px 16px;
  box-shadow: 0 2px 14px rgb(0 76 113 / 8%);
}
.header-wrapper {
  margin: 0 auto 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1920px;
}
.header-logo {
  max-width: 206px;
  margin-top: 6px;
  padding-right: 10px;
}
.logo {
  transition: 0.2s ease-in-out;
}
.logo:hover {
  opacity: 0.5;
}
.header-logo img {
  width: 100%;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 196px - 30px);
  max-width: 857px;
}
.header-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 259px - 50px);
  max-width: 510px;
  list-style: none;
}
.header-nav__link {
  display: block;
  font-size: 18px;
  color: #0d1668;
  margin: 6px 5px 0;
  transition: ease-in-out 0.2s;
}
.header-nav__link:hover {
  opacity: 0.5;
}
.header-nav__contact {
  display: flex;
}
.contact__button {
  display: block;
  text-align: center;
  border-radius: 0 0 7px 7px;
  background: #004c71;
  box-shadow: 0 4px 10px rgb(0 76 113 / 24%);
  padding: 10px 9px;
  transition: ease-in-out 0.2s;
  font-size: 18px;
  color: #fff;
  font-weight: 400;
}
.contact__button:last-child {
  margin-left: 7px;
}
.contact__button:hover {
  background: #003650;
  box-shadow: 0 2px 5px rgb(0 76 113 / 22%);
  transform: translateY(1px);
}
.open-btn {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}
.link-icon {
  width: 15px;
  vertical-align: middle;
  margin: 0 0 4px 2px;
}
@media (min-width: 1025px) {
  .header-nav__link-icon {
    display: none;
  }
}
@media (max-width: 1024px) {
  .header-wrapper {
    justify-content: center;
  }
  .header-nav {
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    max-width: 100%;
  }
  .header-nav__list {
    order: 2;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 50px auto 0;
  }
  .header-nav__item:not(:first-child) {
    margin-top: 50px;
  }
  .header-nav__link {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
  }
  .header-nav__link::after {
    position: absolute;
    left: 3px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header-nav__contact {
    order: 1;
    display: block;
    padding-top: 50px;
  }
  .contact__button {
    max-width: 183px;
    background-color: #004c71;
    box-shadow: 0 4px 10px rgb(0 76 113 / 18%);
    border: 1px solid #004c71;
    border-radius: 7px;
    margin: 50px auto 0;
    color: #fff;
  }
  .contact__button:last-child {
    margin: 50px auto 0;
  }
  #g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #f5f5f5;
    transition: right 0.35s ease;
    overscroll-behavior: contain;
  }
  #g-nav.panelactive {
    right: 0;
  }
  #g-nav li {
    list-style: none;
    text-align: center;
  }
  .open-btn {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: rgb(255 255 255 / 92%);
  }
  .open-btn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 1px;
    background-color: #0d1668;
    width: 30px;
  }
  .open-btn span:nth-of-type(1) {
    top: 15px;
  }
  .open-btn span:nth-of-type(2) {
    top: 20px;
  }
  .open-btn span:nth-of-type(3) {
    top: 25px;
  }
  .open-btn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
  }
  .open-btn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .open-btn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
  }
}
.main {
  padding-top: 75px;
}
@media (max-width: 1024px) {
  .main {
    padding-top: 60px;
  }
}
.common-wrapper {
  max-width: 1132px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer {
  background-color: #f5f5f5;
  width: 100%;
  height: 100%;
  padding: 50px 0 18px;
}
.footer__wrapper {
  text-align: center;
}
.footer-foot__link:hover {
  opacity: 0.5;
}
.footer-foot {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  font-size: 14px;
}
.footer-foot__link:not(:last-child) {
  margin-right: 30px;
}
.footer__copyright {
  font-size: 10px;
  display: block;
  text-align: center;
}
@media (max-width: 1024px) {
  .footer-foot {
    font-size: 14px;
  }
}
@media (max-width: 599px) {
  .footer {
    padding: 33px 0 20px;
  }
  .footer-foot__link {
    font-size: 12px;
  }
}
.read-more {
  position: relative;
  overflow: hidden;
  display: inline-block;
  border-radius: 10px;
  text-align: center;
  outline: none;
  transition: ease 0.2s;
}
.read-more span {
  position: relative;
  z-index: 3;
}
.read-more span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -27px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  border-top: solid 1px currentColor;
  border-right: solid 1px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.rm-animation:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: top;
}
.rm-animation:hover:before {
  transform: scale(1, 1);
}
.rm-BL {
  padding: 27px 80px;
  background-color: #0d1668;
}
.rm-BL span {
  font-size: 20px;
  color: #fff;
}
.rm-BL:hover span {
  color: #0d1668;
}
.rm-BL span::after {
  width: 15px;
  height: 15px;
}
.rm-animation-BL::before {
  background: #fff;
  border: solid 1px #0d1668;
}
.rm-news {
  background-color: #f8f8f9;
  border: solid 1px #0d1668;
  padding: 8% 30% 8% 23%;
}
.rm-news span {
  font-size: 12px;
  color: #0d1668;
}
.rm-news span::after {
  width: 7px;
  height: 7px;
}
.rm-news:hover {
  border: solid 1px transparent;
}
.rm-news:hover span {
  color: #fff;
}
.rm-animation-news::before {
  background: #0d1668;
}
.rm-recruit {
  background-color: #f8f8f9;
  border: solid 1px #fff;
  padding: 27px 80px;
}
.rm-recruit span {
  font-size: 20px;
  color: #0d1668;
}
.rm-recruit span::after {
  width: 15px;
  height: 15px;
}
.rm-recruit:hover span {
  color: #fff;
}
.rm-recruit::before {
  background: #0d1668;
}
.rm-pc,
.rm-news-pc {
  display: inline-block;
}
.rm-sp,
.rm-news-sp {
  display: none;
}
.rm-news-pc {
  display: inline-block;
}
.rm-news-sp {
  display: none;
}
@media (max-width: 910px) {
  .rm-pc {
    display: none;
  }
  .rm-sp {
    display: block;
  }
}
@media (max-width: 599px) {
  .read-more {
    max-width: 300px;
    width: 100%;
  }
  .rm-news-pc {
    display: none;
  }
  .rm-news-sp {
    display: inline-block;
    background-color: #0d1668;
    padding: 13px 38px;
    text-align: center;
  }
  .rm-news-sp span {
    color: #fff;
  }
  .rm-news-sp span::after {
    right: -15px;
  }
  .rm-news-sp:hover {
    border: solid 1px #0d1668;
  }
  .rm-news-sp:hover span {
    color: #0d1668;
  }
  .rm-news-sp::before {
    background-color: #f8f8f9;
  }
  .rm-BL,
  .rm-recruit {
    padding: 11px 38px 15px;
  }
  .rm-BL span,
  .rm-recruit span {
    font-size: 14px;
  }
  .rm-BL span::after,
  .rm-recruit span::after {
    right: -15px;
    width: 7px;
    height: 7px;
  }
}
.mv-container {
  position: relative;
}
.mv-container::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 12px 12px 0 #fff inset;
}
.main-visual__video,
.main-visual__img {
  width: 100%;
  height: clamp(460px, 40vw, 600px);
  max-height: 600px;
}
.main-visual__video {
  object-fit: cover;
}
.main-visual__img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.scroll {
  position: absolute;
  right: 50%;
  animation: arrowmove 2s ease-in-out infinite;
}
@keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 3%;
  }
  100% {
    bottom: 1%;
  }
}
.scroll__text {
  position: absolute;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  min-width: max-content;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll::after {
  content: '';
  width: 57px;
  height: 57px;
  border: solid 1px #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  position: absolute;
  left: 50%;
  bottom: 30px;
  box-sizing: border-box;
}
@media (max-width: 599px) {
  .main-visual__video,
  .main-visual__img {
    height: 360px;
    max-height: 360px;
  }
  .scroll {
    display: none;
  }
}
.slide-left {
  transform: translateX(-50px);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.slide-right {
  transform: translateX(+50px);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.fadein {
  opacity: 1;
  transform: translateX(0);
}
.slide-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.is-fadein {
  opacity: 1;
  transform: translateX(0);
}
.box {
  opacity: 0;
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.delay-news-01 {
  animation-delay: 0.2s;
}
.delay-news-02 {
  animation-delay: 0.4s;
}
.delay-news-03 {
  animation-delay: 0.6s;
}
.top-btn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.top-btn__link {
  display: block;
  width: 65px;
  background-color: #fff;
  border: 1px solid #0d1668;
  position: relative;
  border-radius: 5px;
  text-align: center;
  font-size: 15px;
  color: #0d1668;
  padding: 23px 0 13px;
}
.top-btn__link::before {
  content: '';
  margin: auto;
  position: absolute;
  top: 19px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid #0d1668;
  border-right: 1px solid #0d1668;
  transform: rotate(-45deg) translateY(-50%);
}
.top-btn__link:hover {
  opacity: 0.5;
  transition: 0.2s ease-in-out;
}
@media (max-width: 599px) {
  .top-btn {
    right: 10px;
    bottom: 15px;
  }
  .top-btn__link {
    width: 55px;
    font-size: 14px;
    padding: 20px 0 11px;
  }
  .top-btn__link::before {
    top: 20px;
  }
}
.menu-open,
.modal-is-open {
  overflow: hidden;
}
[id] {
  scroll-margin-top: 96px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role='button']:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}
html:not(.js) .slide-left,
html:not(.js) .slide-right,
html:not(.js) .slide-bottom,
html:not(.js) .box {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.pc--none {
  display: none;
}
.sp--none {
  display: block;
}
@media (max-width: 599px) {
  .pc--none {
    display: block;
  }
  .sp--none {
    display: none;
  }
}


/* デスクトップヘッダー */
@media (min-width: 1025px) {
  .header {
    padding: 8px 18px;
  }
  .header-wrapper {
    max-width: 100%;
    min-height: 88px;
    gap: 24px;
  }
  .header-logo {
    flex: 0 0 auto;
    max-width: 255px;
    margin-top: 0;
    padding-right: 12px;
  }
  .header-nav {
    flex: 1 1 auto;
    align-items: center;
    gap: 18px;
    justify-content: flex-end;
    width: auto;
    max-width: none;
  }
  .header-nav__list {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    justify-content: center;
    gap: clamp(14px, 1.6vw, 34px);
  }
  .header-nav__item {
    flex: 0 0 auto;
  }
  .header-nav__link {
    margin: 0;
    font-size: clamp(15px, 0.95vw, 18px);
    line-height: 1.4;
    white-space: nowrap;
  }
  .header-nav__contact {
    flex: 0 0 auto;
    align-items: stretch;
    gap: 8px;
  }
  .contact__button {
    min-width: 112px;
    min-height: 82px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    border-radius: 8px;
    font-size: clamp(15px, 1vw, 17px);
    font-weight: 500;
  }
  .contact__button:last-child {
    margin-left: 0;
    min-width: 146px;
  }
}


/* 2026-08-19 footer navigation refinement */
.footer-nav {
  margin-bottom: 28px;
}
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav__link {
  color: #0d1668;
  font-size: 14px;
  line-height: 1.6;
  transition: opacity 0.2s ease-in-out;
}
.footer-nav__link:hover {
  opacity: 0.55;
}
@media (max-width: 599px) {
  .footer-nav {
    margin-bottom: 24px;
  }
  .footer-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    text-align: left;
  }
  .footer-nav__link {
    font-size: 13px;
  }
  .footer-foot {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .footer-foot__link:not(:last-child) {
    margin-right: 0;
  }
}
