/* =========================================================
  Base
========================================================= */
html,
body {
  overflow-x: hidden;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  font-family: "Montserrat", "Roboto", sans-serif;
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
}

header {
  color: #fff;
  padding: 20px 0;
}

.ls-1 {
  letter-spacing: 0.2em;
}

.ls-2 {
  letter-spacing: 0.1em;
}


/* =========================================================
  Buttons
========================================================= */
.btn1,
a.btn1,
button.btn1 {
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 56px;
  line-height: 1;

  vertical-align: middle;

  padding: 0.5rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-transition: all 0.3s;
  transition: all 0.3s;

  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
}

.mainbtn {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
}

.mainbtn:hover {
  background: #000;
  color: #fff;
  transition: .3s;
}

/* サブボタン（透明×白） */
.subbtn {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
}

.subbtn:hover {
  background: #fff;
  color: #01326D;
}

/* 戻る・送信ボタン */
.mainbtn--back,
.mainbtn--submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 56px;
  padding: 0 2rem;
  line-height: 1;
  border-radius: 0;
  transition: .3s;
}

.mainbtn--back {
  background: #AAAAAA;
  border: 2px solid #AAAAAA;
  color: #FFFFFF;
  min-width: 180px;
}

.mainbtn--submit {
  background: #01326D;
  border: 2px solid #01326D;
  color: #FFFFFF;
  min-width: 360px;
}

.mainbtn.mainbtn--back:hover {
  background: #FFFFFF;
  color: #AAAAAA;
  border-color: #AAAAAA;
}

.mainbtn.mainbtn--submit:hover {
  background: #FFFFFF;
  color: #01326D;
  border-color: #01326D;
}

.mainbtn--back:focus-visible,
.mainbtn--submit:focus-visible {
  outline: 3px solid rgba(1, 50, 109, 0.35);
  outline-offset: 3px;
}

@media (max-width: 576px) {
  .mainbtn--back,
  .mainbtn--submit {
    width: 100%;
    min-width: 0;
  }
}


/* =========================================================
  Top Section Hero
========================================================= */
.top {
  min-height: clamp(500px, 74vh, 980px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;

  --cut-x: 70%;
  --cut-bottom: 0%;
  --top-cut-x: 60%;
  --header-cut-x: 41%;
}

@media (max-width: 1400px) {
  .top {
    --cut-x: 85%;
    min-height: clamp(700px, 45vh, 980px);
  }
}

@media (max-width: 1100px) {
  .top {
    --cut-x: 85%;
  }
}

@media (max-width: 767.98px) {
  .top {
    --cut-x: 100%;
  }
}

.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image: url("../../img/top/works1.jpg");
  background-repeat: no-repeat;
  background-size: 110% auto;
  background-position: 140% 5%;

  clip-path: polygon(0 0, var(--cut-x) 0, var(--cut-bottom) 100%, 0 100%);
  opacity: 0.55;
}

@media (max-width: 767.98px) {
  .top::before {
    background-size: cover;
    background-position: 30% center;
  }
}

.top::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(1, 50, 109, 0.95) 0%,
    rgba(63, 90, 126, 0.95) 84.29%
  );

  z-index: 0;
  pointer-events: none;

  clip-path: polygon(0 0, var(--cut-x) 0, var(--cut-bottom) 100%, 0 100%);
}

.top > header.navbar {
  position: relative;
  z-index: 3;
  background: transparent;
}

.top > .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
  Top Media / Character
========================================================= */
.top-media {
  position: absolute;
  top: clamp(24px, 20%, 80px);
  bottom: 0;
  right: 0;
  width: clamp(725px, 90%, 85%);
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 1400.98px) {
  .top-media {
    top: 16%;
    bottom: 5%;
    width: 90%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .top-media {
    top: 85px;
    bottom: 5%;
    width: 90%;
  }
}

@media (max-width: 767.98px) {
  .top-media {
    top: 75px;
    bottom: 6%;
    width: 90%;
  }
}

.top-media-full {
  position: absolute;
  top: clamp(24px, 10%, 80px);
  height: clamp(900px, 70vh, 1600px);
  bottom: clamp(40px, 10%, 120px);
  right: 0;
  width: clamp(900px, 84%, 1500px);
  overflow: hidden;
  z-index: 1;
}

.top-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.top-chara {
  position: absolute;
  right: clamp(24px, 4vw, 72px);
  bottom: 0;

  width: clamp(430px, 43vw, 780px);
  height: auto;

  z-index: 2;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .top-chara {
    width: clamp(300px, 42vw, 430px);
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .top-chara {
    width: clamp(230px, 58vw, 340px);
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .top-chara {
    width: clamp(210px, 64vw, 300px);
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 375px) {
  .top-chara {
    width: clamp(190px, 68vw, 260px);
    right: 0;
    bottom: 0;
  }
}


/* =========================================================
  Triangle Sub Hero
========================================================= */
.triangle-sub {
  min-height: clamp(240px, 120vh, 760px);
  position: relative;
  overflow: hidden;
  isolation: isolate;

  --cut-x: 70%;
  --cut-bottom: 25%;
  --service-cut-x: 60%;
  --header-cut-x: 41%;
}

@media (max-width: 1400px) {
  .triangle-sub {
    --cut-x: 85%;
    min-height: clamp(240px, 100vh, 780px);
  }
}

@media (max-width: 1100px) {
  .triangle-sub {
    --cut-x: 100%;
    min-height: clamp(240px, 100vh, 680px);
  }
}

@media (max-width: 767.98px) {
  .triangle-sub {
    --cut-x: 100%;
    --cut-bottom: 0%;
    min-height: clamp(240px, 55vh, 560px);
  }
}
@media (max-width: 375px) {
  .triangle-sub {
    --cut-x: 100%;
    --cut-bottom: 0%;
    min-height: 450px;
  }
}

/* 写真レイヤー */
.triangle-sub::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image: url("../../img/top/works1.jpg");
  background-repeat: no-repeat;
  background-size: 110% auto;
  background-position: 140% 5%;

  clip-path: polygon(0 0, var(--cut-x) 0, var(--cut-bottom) 100%, 0 100%);
  opacity: 1;
}

/* 青い重ねレイヤー */
.triangle-sub::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(1, 50, 109, 0.95) 0%,
    rgba(63, 90, 126, 0.95) 84.29%
  );

  clip-path: polygon(0 0, var(--cut-x) 0, var(--cut-bottom) 100%, 0 100%);
}

@media (max-width: 767.98px) {
  .triangle-sub::before {
    background-size: cover;
    background-position: 30% center;
  }
}

.triangle-sub > header.navbar {
  position: relative;
  z-index: 3;
  background: transparent;
}


/* =========================================================
  Triangle Sub Media
========================================================= */
.triangle-sub-media {
  position: absolute;
  top: clamp(24px, 20%, 80px);
  height: clamp(300px, 45vh, 450px);
  right: 0;
  width: clamp(900px, 84%, 1500px);
  overflow: hidden;
  z-index: 1;
}

.triangle-sub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 1400.98px) {
  .triangle-sub-media {
    top: 16%;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .triangle-sub-media {
    top: 15%;
    right: 0;
    width: 90%;
    left: auto;
    height: clamp(260px, 38vh, 400px);
    bottom: auto;
  }

  .triangle-sub-media img {
    object-position: 65% 30%;
  }
}

@media (max-width: 767.98px) {
  .triangle-sub-media {
    top: 20%;
    right: 0;
    width: 90%;
    left: auto;
    height: clamp(200px, 35vh, 320px);
    bottom: auto;
  }

  .triangle-sub-media img {
    object-position: 70% 30%;
  }
}

@media (max-width: 375px) {
  .triangle-sub-media {
    top: 25%;
    right: 0;
    width: 90%;
    left: auto;
    height: clamp(200px, 35vh, 320px);
    bottom: auto;
  }

  .triangle-sub-media img {
    object-position: 70% 30%;
  }
}


/* =========================================================
  Hero Text / Titles
========================================================= */
.top-text {
  position: absolute;
  left: clamp(5px, 1vw, 80px);
  top: clamp(40px, 10vh, 120px);
  z-index: 2;
  max-width: calc(100vw - 32px);
}

@media (max-width: 1400px) {
  .top-title {
    top: clamp(100px, 16vh, 180px);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .top-text {
    top: clamp(80px, 8vh, 140px);
    left: clamp(12px, 3vw, 64px);
  }
}

@media (max-width: 767.98px) {
  .top-text {
    top: clamp(110px, 14vh, 180px);
    left: 16px;
    max-width: calc(100vw - 32px);
  }
}

.top-title {
  font-size: clamp(40px, 9vw, 120px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 24px;
  color: #fff;
  letter-spacing: 0.2em;
  text-shadow: 0 4px 12px rgba(0, 10, 21, 0.45);
}

@media (max-width: 1400px) {
  .top-title {
    font-size: 96px;
  }
}

@media (max-width: 767.98px) {
  .top-title {
    font-size: 45px;
  }
}


@media (max-width: 375px) {
  .top-title {
    font-size: 36px;
  }
}

.title-stack {
  display: inline-block;
  max-width: 100%;
}

.top-message {
  display: inline-block;
  background: #fff;
  color: #000A15;
  font-weight: 700;
  line-height: 1.1;

  font-size: clamp(52px, 7.5vw, 150px);
  letter-spacing: clamp(0.02em, 0.18vw, 0.15em);

  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  margin: 0;
}

.top-message--line {
  display: inline;
  padding-left: 0.16em;
  padding-right: 0.22em;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  word-break: keep-all;
  overflow-wrap: normal;
}

.top-message p {
  margin: 0;
}

.top-fs {
  font-size: clamp(32px, 5vw, 48px);
}

@media (max-width: 1400px) {
  .top-fs {
    font-size: 36px;
  }
}

@media (max-width: 991.98px) {
  .top-fs {
    font-size: clamp(28px, 5vw, 42px);
  }
}

@media (max-width: 575.98px) {
  .top-fs {
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .top-fs {
    font-size: 14px;
  }
}

.top-subtitle {
  display: block;
  text-align: left;
  margin: 10px 0 0;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 2rem);
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow:0 2px 4px rgba(0, 10, 21, 0.55),
              0 5px 12px rgba(0, 10, 21, 0.30);
}


/* =========================================================
  Section Titles / Ghost Titles
========================================================= */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  z-index: 1;
}

.section-title--big {
  --bg-size: clamp(30px, 3vw, 140px);
  --bg-opacity: 0.10;
  --bg-shift-x: 20%;
  --bg-shift-y: -65%;
  color: #000;
}

.section-title--big::after {
  content: attr(data-bg);
  position: absolute;
  top: 50%;
  left: 0;

  transform: translate(var(--bg-shift-x), var(--bg-shift-y));

  font-size: var(--bg-size);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, var(--bg-opacity));
  white-space: nowrap;

  z-index: -1;
  pointer-events: none;
}


/* =========================================================
  NEWS section
========================================================= */
.news-section {
  padding: 48px 0;
}

.news-section__inner {
  position: relative;
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.news-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: #000;
}

.news-btn {
  min-width: 160px;
  height: 44px;
  padding: 0 1.25rem;
  font-size: 0.95rem;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #000;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #000;
}

.news-date {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #000;
  white-space: nowrap;
}

.news-text {
  color: inherit;
  font-size: 20px;
  line-height: 1.7;
  text-decoration: none;
}

a.news-text {
  text-decoration: underline;
  text-underline-offset: 4px;
}

div.news-text {
  text-decoration: none;
}

@media (max-width: 768px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .news-btn {
    height: 40px;
    min-width: 140px;
  }
}


/* =========================================================
  Top About
========================================================= */
.top-about-media {
  height: clamp(560px, 65vh, 980px);
  overflow: hidden;
}

.top-about-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 30% 0%;
  border-radius: 0;
}


/* =========================================================
  Top Services
========================================================= */
.top-services {
  --sec-pad: 88px;
  --title-top: -30px;
  --title-space: 100px;

  background: #01326D;
  padding: var(--sec-pad) 0;
  overflow: visible;
}

@media (max-width: 922px) {
  .top-services {
    --title-top: -70px;
    --title-space: 60px;
  }
}

@media (max-height: 702px) {
  .top-services {
    --title-top: -70px;
    --title-space: 60px;
  }
}

.top-services__bg {
  position: relative;
  min-height: clamp(420px, 60vh, 680px);
  background-image: url("../../img/top/top-service.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 40%;

  padding-top: var(--title-space);
  padding-bottom: 64px;
}

.top-services__head {
  position: absolute;
  top: var(--title-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

  padding: 0;
  margin: 0;
  width: min(100%, 1100px);
}

.top-services__title {
  color: #fff;
}

.top-services__title.section-title--big {
  --bg-opacity: 0.30;
  --bg-shift-x: -1%;
  --bg-shift-y: -15%;
}

.top-services__title.section-title--big::after {
  color: rgba(255, 255, 255, var(--bg-opacity));
  transform: translate(var(--bg-shift-x), var(--bg-shift-y));
}

.top-services__subtitle {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 12px;
}

.top-services__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 50, 109, 0);
  z-index: 0;
  pointer-events: none;
}

.top-services__bg > .container {
  position: relative;
  z-index: 1;
}

.top-services__cards {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.service-card {
  background: #fff;
  border: 6px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.service-card__label {
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.service-card--link img {
  transition: transform .28s ease, filter .28s ease;
}

.service-card--link:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.service-card--link:hover img {
  transform: scale(1.04);
  filter: brightness(1.03);
}

@media (max-width: 768px) {
  .top-services__head {
    padding: 44px 0 14px;
  }

  .top-services__bg {
    padding-top: var(--title-space);
    padding-bottom: 54px;
    min-height: 320px;
  }

  .service-card img {
    height: 200px;
  }

  .top-services__title.section-title--big::after {
    font-size: 1.9em;
  }
}


/* =========================================================
  Works / Utilities
========================================================= */
@media (min-width: 768px) {
  .w-md-25 {
    width: 25% !important;
  }
}

.works-thumb {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767.98px) {
  .works-pair .works-thumb {
    height: auto;
    object-fit: contain;
  }
}


/* =========================================================
  Top Recruit
========================================================= */
.top-recruit {
  --recruit-blue: #01326D;
  --recruit-h: clamp(520px, 70vh, 720px);

  --photo-w: clamp(360px, 60vw, 1200px);
  --photo-h: clamp(360px, 60vh, 640px);
  --photo-shift: clamp(155px, 12vw, 88px);

  --content-safe-right: clamp(160px, 18vw, 420px);

  --content-pad-y: clamp(64px, 9vh, 100px);
  --content-pad-left: clamp(24px, 6vw, 120px);
  --content-pad-right: clamp(24px, 4vw, 80px);

  position: relative;
  isolation: isolate;
}

.top-recruit .row {
  position: relative;
  min-height: var(--recruit-h);
}

.top-recruit__bg {
  background: var(--recruit-blue);
  min-height: var(--recruit-h);
  display: flex;
  align-items: center;

  position: relative;
}

.top-recruit__content {
  position: relative;
  z-index: 2;

  color: #fff;
  padding-top: var(--content-pad-y);
  padding-bottom: var(--content-pad-y);
  padding-left: var(--content-pad-left);
  padding-right: calc(var(--content-pad-right) + var(--content-safe-right));
}

.top-recruit__text {
  font-size: 20px;
  line-height: 2;
  margin: 22px 0 40px;
}

.top-recruit__image {
  position: absolute;
  right: var(--photo-shift);
  bottom: 0;
  top: auto;
  transform: none;

  width: var(--photo-w);
  height: var(--photo-h);

  z-index: 1;
  overflow: hidden;
}

.top-recruit__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .top-recruit {
    --photo-w: clamp(180px, 42vw, 280px);
    --photo-h: clamp(200px, 30vh, 320px);
    --photo-shift: 0px;

    --content-safe-right: calc(var(--photo-w) + 24px);
    --recruit-h: clamp(520px, 78vh, 640px);

    --content-pad-y: 56px;
    --content-pad-left: 20px;
    --content-pad-right: 20px;
  }

  .top-recruit__image {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    right: var(--photo-shift);
  }
}


/* =========================================================
  Top Contact
========================================================= */
.top-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: clamp(520px, 70vh, 760px);

  display: flex;
  align-items: center;
  justify-content: center;
}

.top-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 50% 50%;
}

.top-contact__bg-item--top {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.top-contact__bg-item--bottom-left {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.top-contact__bg-item--bottom-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.top-contact__bg-item {
  overflow: hidden;
}

.top-contact__bg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.top-contact__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(56px, 8vh, 110px) 0;
}

.top-contact__card {
  min-height: clamp(420px, 55vh, 620px);

  display: flex;
  align-items: center;
  justify-content: center;
}

.top-contact__card .card-body {
  min-height: inherit;
}

@media (max-width: 991.98px) {
  .top-contact {
    min-height: 680px;
  }

  .top-contact__card {
    min-height: clamp(360px, 50vh, 560px);
  }
}

@media (max-width: 767.98px) {
  .top-contact {
    min-height: 720px;
  }

  .top-contact__bg {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50% 50%;
  }

  .top-contact__bg-item--top {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .top-contact__bg-item--bottom-left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .top-contact__bg-item--bottom-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}


/* =========================================================
  Footer
========================================================= */
.site-footer {
  background: #000A15;
  color: rgba(255, 255, 255, 0.9);
}

.footer-catch {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-brand {
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #fff;
}

.footer-brand__strong {
  font-size: 28px;
  letter-spacing: 0.18em;
  margin-left: 6px;
}

.footer-info {
  font-size: 16px;
  line-height: 1.9;
}

.footer-info__title {
  font-weight: 700;
  color: #fff;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  border-top: none;
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}


/* =========================================================
  Section Stack
========================================================= */
.section-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 8vw, 8rem);
}


/* =========================================================
  Form Controls / Badges / Errors
========================================================= */
.textbox-1 {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #969da3;
  border-radius: 3px;
  color: #333;
  font-size: 1em;
  line-height: 1.5;
}

.textbox-1::placeholder {
  color: #999;
}

.textbox-1:hover,
.textbox-1:focus {
  border-color: #000;
  box-shadow: none;
}

.badge-field {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge-required {
  background: #d60000;
  color: #fff;
}

.badge-optional {
  background: #AAAAAA;
  color: #fff;
}

.field-label {
  line-height: 1.2;
}

.form-error {
  color: #d60000;
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 0;
  line-height: 1.5;
}

.is-error {
  border-color: #d60000 !important;
}

.table td,
.table th {
  vertical-align: middle;
}


/* =========================================================
  Navbar
========================================================= */
.navbar .nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: .25rem;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform .30s ease;
  opacity: .95;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after {
  transform: scaleX(1);
}


/* =========================================================
  Header / Offcanvas Menu
========================================================= */
.top > header.navbar,
.triangle-sub > header.navbar {
  position: relative;
  z-index: 3;
  background: transparent;
}

#navMenu.offcanvas {
  z-index: 5000;
}

.offcanvas-backdrop {
  z-index: 4990;
}

@media (max-width: 1199.98px) {
  #navMenu.offcanvas {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    border-left: 0;
    background: rgba(1, 50, 109, 0.96);
  }

  #navMenu .offcanvas-header {
    padding: 20px 24px;
  }

  #navMenu .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  #navMenu .navbar-nav {
    width: 100%;
    align-items: center;
    gap: 18px;
  }

  #navMenu .nav-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #navMenu .nav-link {
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    letter-spacing: 0.12em;
    text-align: center;
    padding: .5rem 0;
  }
}


/* =========================================================
  Header Logo / Brand
========================================================= */
.header-cta .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  min-width: 0;
  max-width: calc(100% - 72px);
  overflow: hidden;
}

.header-logo {
  width: 125px;
  height: auto;
  flex-shrink: 0;
}

.header-brand-text {
  font-size: clamp(1rem, 1.3vw, 1.75rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .header-logo {
    width: 132px;
  }

  .header-brand-text {
    font-size: 1.4rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 767.98px) {
  .header-logo {
    width: 104px;
  }

  .header-brand-text {
    font-size: 1.5rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 375px) {
  .header-logo {
    width: 95px;
  }

  .header-brand-text {
    font-size: 1.3rem;
    letter-spacing: 0.04em;
  }
}


/* =========================================================
  Header Menu Button
========================================================= */
.header-menu-btn {
  width: 64px;
  height: 64px;
  padding: 0 !important;
  position: relative;
  z-index: 30;

  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  background: #002f5f !important;
  box-shadow: 0 2px 6px rgba(0, 10, 21, 0.22) !important;
  border-radius: 2px;

  transform: translateX(-4px);
}

.header-menu-btn__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-menu-btn__lines span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #fff;
  border-radius: 999px;
}

.header-menu-btn__text {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.header-menu-btn:hover {
  background: #003b73 !important;
}


/* =========================================================
  Floating CTA Layer
========================================================= */
.cta-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
}

.cta-layer .cta-recruit {
  pointer-events: auto;
  position: fixed;

  bottom: calc(16px + env(safe-area-inset-bottom));
  right: calc(0px + env(safe-area-inset-right));
  top: auto;
  left: auto;

  height: 80px;
  padding: 0 33px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #AC0000;
  border: 2px solid #AC0000;
  color: #fff;
  text-decoration: none;

  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  border-radius: 0;

  white-space: nowrap;
  box-sizing: border-box;

  max-width: calc(100vw - 32px - env(safe-area-inset-right));
  overflow: hidden;
  text-overflow: ellipsis;

  transition: background-color .25s ease, border-color .25s ease;
  transform: none;
}

.cta-layer .cta-recruit:hover {
  background: #e31919;
  border-color: #e31919;
}

@media (max-width: 1199.98px) {
  .cta-layer .cta-recruit {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: calc(0px + env(safe-area-inset-right));
    left: auto;
  }
}

@media (min-width: 1200px) {
  .cta-layer .cta-recruit {
    top: calc(0px + env(safe-area-inset-top));
    bottom: auto;
    right: calc(24px + env(safe-area-inset-right));
    left: auto;
  }
}

.cta-layer .cta-top {
  pointer-events: auto;
  position: fixed;

  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom) + 80px + 12px);

  width: 52px;
  height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  text-decoration: none;

  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.95);

  box-shadow: 0 12px 28px rgba(0,0,0,0.28);

  transform: translateZ(0);
  transition: opacity .3s ease, transform .18s ease, box-shadow .18s ease, background-color .18s ease;

  opacity: 0;
  pointer-events: none;
}

.cta-layer .cta-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.cta-layer .cta-top .bi {
  font-size: 20px;
  line-height: 1;
}

@media (hover: hover) {
  .cta-layer .cta-top:hover {
    background: rgba(0,0,0,0.68);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.32);
  }
}

.cta-layer .cta-top:active {
  transform: translateY(0);
}

.cta-layer .cta-top:focus-visible {
  outline: 3px solid rgba(255,255,255,0.55);
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .cta-layer .cta-top {
    width: 56px;
    height: 56px;

    right: calc(24px + env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .cta-layer .cta-top .bi {
    font-size: 22px;
  }
}

/* =========================================================
  Sitemap
========================================================= */
.sitemap a {
  text-decoration: none;
}

.sitemap a:hover {
  text-decoration: underline !important;
}


/* =========================================================
  X Link Button
========================================================= */
.x-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 20px;
  background: #000A15;
  color: #fff;
  border: 2px solid #000A15;
  text-decoration: none;

  font-weight: 700;
  line-height: 1;

  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.x-link-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
}

.x-link-btn__text {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.x-link-btn:hover {
  background: #fff;
  color: #000A15;
  border-color: #000A15;
  transform: translateY(-2px);
}