:root {
  --color-main: #087fbd;
  --color-main-light: #8acff2;
  --color-dark: #062d46;
  --color-text: #171d22;
  --color-pale: #eaf4fa;
  --content-width: 1590px;
  --side-space: clamp(24px, 5vw, 92px);
  --font-en: "Unbounded", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

html,
body {
  max-width: 100%;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}


html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: var(--color-text);
  background: #fff;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
}

/* Bootstrap Rebootを土台にしつつ、案件共通の初期値だけを指定 */
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

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

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

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

a:hover {
  color: inherit;
}

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

/* スマホのみtel-3.1.jsで電話リンク化 */
[data-action="call"] {
  white-space: nowrap;
}

.tel-link {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - var(--side-space) * 2), var(--content-width));
  max-width: none;
  margin-inline: auto;
  padding-right: 0;
  padding-left: 0;
}

.section {
  position: relative;
}

.pc-only {
  display: inline;
}

.site-header__heading {
  flex: 0 0 auto;
  margin: 0;
  font: inherit;
  line-height: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  height: 136px;
  color: #fff;
  transition: background-color .35s ease, box-shadow .35s ease, height .35s ease, color .35s ease;
}

.site-header.is-scrolled {
  height: 82px;
  color: var(--color-text);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(0,70,110,.08);
  backdrop-filter: blur(12px);
}

/* 下層ページは白背景のため、スクロール前からヘッダーの視認性を確保 */
.lower-page .site-header {
  color: var(--color-text);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(0, 70, 110, .06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__nav {
  height: 100%;
  padding: 0;
}

.site-header__inner {
  width: min(calc(100% - 56px), 1944px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.site-logo {
  display: block;
  width: clamp(132px, 8.5vw, 170px);
  margin: 0;
  padding: 0;
  transition: width .35s ease, margin .35s ease;
}

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

.site-header.is-scrolled .site-logo {
  width: 132px;
  margin-top: 10px;
}

.global-nav {
  transition: margin .35s ease;
}

.site-header.is-scrolled .global-nav {
  margin-top: 15px;
}

.global-nav .offcanvas-body {
  padding: 0;
  overflow: visible;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(28px, 2.2vw, 48px);
}

.global-nav .nav-link {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: block;
  padding: 0;
  color: inherit;
  font-family: var(--font-en);
  font-size: clamp(12px, .78vw, 16px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.global-nav .nav-link:hover,
.global-nav .nav-link:focus,
.global-nav .nav-link.is-current {
  color: #fff;
}

/* 現在地・ホバー時は、文字の背面に傾いた楕円を表示 */
.global-nav .nav-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 44%;
  width: 44px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-main);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-20deg) scale(.75);
  transition: opacity .25s ease, transform .25s ease;
}

.global-nav .nav-link:hover::after,
.global-nav .nav-link:focus-visible::after,
.global-nav .nav-link.is-current::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-20deg) scale(1);
}

.menu-button {
  display: none;
}

.section-heading h2 {
  font-family: var(--font-en);
  font-size: clamp(38px, 4vw, 72px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.section-heading p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: clamp(11px, .8vw, 14px);
  font-weight: 500;
}

.section-heading__deco {
  width: 16px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-main);
  transform: rotate(-24deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 1.6vw, 30px);
  margin-top: 44px;
  color: var(--color-text);
  font-family: var(--font-en);
  font-size: clamp(13px, .9vw, 18px);
  line-height: 1;
  text-decoration: none;
}

.arrow-button {
  display: grid;
  place-items: center;
  width: 64px;
  height: 40px;
  border: 1px solid var(--color-main);
  border-radius: 50%;
  background: #fff;
  transform: rotate(-22deg);
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.arrow-button img {
  width: clamp(17px, 1vw, 20px);
  transform: rotate(22deg);
  transition: filter .3s ease, transform .3s ease;
}

.text-link:hover .arrow-button,
.text-link:focus-visible .arrow-button {
  background: var(--color-main);
  transform: translateX(4px) rotate(-22deg) scale(1.03);
}

.text-link:hover .arrow-button img,
.text-link:focus-visible .arrow-button img {
  filter: brightness(0) invert(1);
  transform: rotate(22deg) translateX(2px);
}

.text-link--white {
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 500;
}

.arrow-button--white {
  border-color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(.985);
  filter: blur(5px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.22,1,.36,1), filter .85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (min-width: 992px) {
  .global-nav .offcanvas-header {
    display: none;
  }
}

@media (max-width: 991.98px) {
  :root {
    --side-space: 24px;
  }

  .site-header {
    height: 72px;
  }

  /*
   * スクロール後のbackdrop-filterが、子要素のposition: fixedを
   * ヘッダー高さの中へ閉じ込めるため、SPでは解除する。
   */
  .site-header.is-scrolled {
    height: 72px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header__inner {
    width: calc(100% - 32px);
    align-items: center;
  }

  .site-logo,
  .site-header__heading .site-logo,
  .site-header.is-scrolled .site-logo {
    width: 104px;
    margin-top: 0;
  }

  .global-nav,
  .site-header.is-scrolled .global-nav {
    margin-top: 0;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 6px;
    border: 0;
    border-radius: 0;
    color: #111;
    box-shadow: none !important;
  }

  .menu-button span {
    display: block;
    width: 32px;
    height: 1px;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease;
  }

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

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

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

  .global-nav.offcanvas-lg {
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    max-height: none;
    overflow-y: auto;
    border: 0;
    background: #fff;
    color: var(--color-text);
    overscroll-behavior: contain;
  }

  .global-nav .offcanvas-header {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    padding: 0;
  }

  .global-nav .offcanvas-body {
    display: grid;
    place-items: center;
    padding: 72px 24px 40px;
  }

  .global-nav__list {
    flex-direction: column;
    gap: 24px;
  }

  .global-nav .nav-link {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    font-size: 15px;
  }

  .global-nav .btn-close {
    width: 44px;
    height: 44px;
    padding: 14px;
    box-sizing: border-box;
  }

  .text-link {
    min-height: 44px;
  }

  .arrow-button {
    min-width: 64px;
    height: 44px;
  }

  .site-footer__nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .site-footer address .site-footer__map {
    width: 44px;
    height: 44px;
    margin: -6px 0 -6px 2px;
    transform: translateY(-1px);
  }

  .tel-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .lower-page .site-header,
  .lower-page .site-header.is-scrolled {
    height: 72px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 20px rgba(0, 70, 110, .07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .pc-only {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.recruit .text-link--white,
.recruit .text-link--white:hover,
.recruit .text-link--white:focus-visible {
  color: #fff;
}

/* =========================================================
   Lower page common components
   ========================================================= */

/* 下層ページのファーストビュー
   左：ページタイトル／右：TOP MVと同系統の透過楕円画像
   固定ヘッダー高を基準にし、画面幅による余白の段差を防ぐ */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 42vw, 760px);
  padding: 136px 0 0;
  overflow: hidden;
  background: #fff;
  color: var(--color-text);
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, .98) 27%,
    rgba(255, 255, 255, .78) 43%,
    rgba(255, 255, 255, .18) 66%,
    rgba(255, 255, 255, 0) 78%
  );
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: calc(clamp(500px, 42vw, 760px) - 136px);
  flex-direction: column;
  justify-content: center;
}

.page-hero__title {
  max-width: 48%;
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(50px, 6.4vw, 116px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.065em;
}

.page-hero__subtitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: clamp(12px, .82vw, 15px);
  font-weight: 500;
}

.page-hero__deco {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-main);
  transform: rotate(-32deg);
}

/* TOPのMVと同じ透過楕円PNGを右側へ配置 */
.page-hero__media {
  position: absolute;
  z-index: 1;
  top: 136px;
  right: 0;
  width: min(61vw, 1040px);
  aspect-ratio: 1317 / 1159;
  pointer-events: none;
}

.page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}

.page-hero__media-overlay {
  display: none;
}

.page-hero__light {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero__light--blue {
  top: 18%;
  left: 32%;
  width: clamp(150px, 14vw, 280px);
  height: clamp(58px, 5.5vw, 110px);
  background: rgba(142, 207, 250, .46);
  filter: blur(clamp(8px, .65vw, 13px));
  transform: rotate(-28deg);
}

.page-hero__light--mint {
  left: 39%;
  bottom: 13%;
  width: clamp(120px, 11vw, 220px);
  height: clamp(48px, 4.6vw, 92px);
  background: rgba(159, 244, 244, .48);
  filter: blur(clamp(7px, .55vw, 11px));
  transform: rotate(-32deg);
}

/* パンくず */
.breadcrumb-nav {
  padding: 18px 0;
  border-bottom: 1px solid rgba(6, 45, 70, .09);
  background: #fff;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  font-size: 11px;
  line-height: 1.5;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-separator {
  color: rgba(23, 29, 34, .38);
}

.breadcrumb-list a {
  color: var(--color-main);
}

/* 下層ページ共通の英字＋和文見出し */
.page-section-heading__en {
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: clamp(12px, .85vw, 16px);
  line-height: 1;
  letter-spacing: .02em;
}

.page-section-heading h2 {
  margin-top: 18px;
  font-size: clamp(32px, 3.3vw, 60px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .035em;
}

.page-section-heading__jp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: clamp(11px, .78vw, 14px);
  font-weight: 500;
}

.page-section-heading__jp span {
  display: block;
  width: 15px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-main);
  transform: rotate(-30deg);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin-top: 0;
  padding: clamp(190px, 14vw, 280px) 0 90px;
  overflow: hidden;
  background: transparent;
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: -20%;
  width: 180%;
  height: calc(100% + 80px);
  border-radius:
    50% 50% 0 0 /
    clamp(150px, 13vw, 260px)
    clamp(150px, 13vw, 260px)
    0 0;
  background:
    linear-gradient(
      118deg,
      rgba(18, 91, 105, .48) 0%,
      rgba(14, 71, 91, .30) 24%,
      rgba(9, 48, 75, .12) 45%,
      rgba(7, 39, 69, 0) 64%
    ),
    linear-gradient(
      250deg,
      rgba(15, 78, 91, .42) 0%,
      rgba(12, 63, 82, .25) 28%,
      rgba(8, 45, 71, .08) 52%,
      rgba(7, 39, 68, 0) 70%
    ),
    linear-gradient(
      104deg,
      #0b4058 0%,
      #093650 28%,
      #072b49 55%,
      #082e49 76%,
      #0c4053 100%
    );
  pointer-events: none;
  transform: translateZ(0);
}

.site-footer::after {
  content: none;
  display: none;
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
}

.site-footer__logo {
  display: block;
  width: 220px;
  filter: brightness(0) invert(1);
}

.site-footer address {
  margin-top: 46px;
  font-size: 12px;
  line-height: 2;
}

.site-footer address a {
  display: inline-block;
}

.site-footer address .site-footer__map {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  filter: brightness(0) invert(1);
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-1px);
}

.site-footer__map img {
  display: block;
  width: 12px;
  height: 15px;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 250px;
}

.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 48px;
  font-family: var(--font-en);
  font-size: 11px;
}

.site-footer__copy {
  font-size: 10px;
}

@media (max-width: 991.98px) {
  .page-hero {
    min-height: 560px;
    padding: 72px 0 0;
  }

  .page-hero::after {
    background: linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, .97) 34%,
      rgba(255, 255, 255, .55) 58%,
      rgba(255, 255, 255, 0) 82%
    );
  }

  .page-hero__inner {
    min-height: 488px;
  }

  .page-hero__title {
    max-width: 55%;
  }

  .page-hero__media {
    top: 72px;
    right: -22%;
    width: 84vw;
  }

  .page-hero__light--blue {
    top: 20%;
    left: 24%;
  }

  .page-hero__light--mint {
    left: 34%;
    bottom: 12%;
  }

  .site-footer {
    padding-top: 180px;
  }

  .site-footer::before {
    left: -38%;
    width: 210%;
    height: calc(100% + 60px);
    border-radius: 50% 50% 0 0 / 150px 150px 0 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__right {
    align-items: flex-start;
    min-height: auto;
    gap: 50px;
  }
}

@media (max-width: 575px) {
  .page-hero {
    min-height: 420px;
    padding: 72px 0 0;
  }

  .page-hero::after {
    background: linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, .96) 40%,
      rgba(255, 255, 255, .48) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .page-hero__inner {
    min-height: 348px;
    justify-content: center;
    padding-bottom: 0;
  }

  .page-hero__title {
    max-width: 72%;
    font-size: clamp(42px, 15vw, 66px);
  }

  .page-hero__subtitle {
    margin-top: 13px;
  }

  .page-hero__media {
    top: 72px;
    right: -48%;
    width: 124vw;
  }

  .page-hero__light--blue {
    top: 23%;
    left: 16%;
  }

  .page-hero__light--mint {
    left: 33%;
    bottom: 9%;
  }

  .breadcrumb-nav {
    padding: 13px 0;
  }

  .site-footer {
    padding: 150px 0 56px;
  }

  .site-footer__logo {
    width: 180px;
  }

  .site-footer address {
    margin-top: 32px;
  }

  .site-footer__nav ul {
    gap: 10px 32px;
  }
}

/* =========================================================
   Font accessibility
   基本文字・操作リンクは16px以上。
   英字ラベル、パンくず、コピーライト等は例外。
   ========================================================= */
.global-nav .nav-link,
.text-link {
  font-size: 16px;
}

.site-footer address {
  font-size: 16px;
}

@media (max-width: 991.98px) {
  .global-nav .nav-link,
  .site-footer__nav a,
  .tel-link {
    font-size: 16px;
  }
}

