* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #142033;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: #f4f7fb;
}

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

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

.inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 16, 32, 0.94);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #39c4ef;
  background: #092846;
  color: #8eeaff;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-text {
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 22px;
  color: #dcecff;
  font-size: 14px;
}

.header-nav a:hover,
.header-tel:hover {
  color: #7ee8ff;
}

.header-tel {
  padding: 10px 16px;
  border: 1px solid rgba(126, 232, 255, 0.5);
  color: #fff;
  font-weight: 700;
}

.hero img {
  width: 100%;
  display: block;
}

.mv img {
  width: 100%;
  display: block;
}

.section {
  padding: 88px 0;
  background: #fff;
}

.section-light {
  background: #f4f7fb;
}

.section-navy {
  background:
    linear-gradient(135deg, rgba(13, 45, 78, 0.92), rgba(4, 12, 28, 0.96)),
    #06172c;
  color: #fff;
}

.intro {
  padding: 86px 0;
}

.intro-grid,
.two-col,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #14aee4;
  font-weight: 800;
  letter-spacing: 0;
}

.intro h1,
.section-title {
  margin: 0 0 22px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.intro h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.intro h1 span {
  display: block;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(28px, 3vw, 42px);
}

.lead {
  max-width: 820px;
  margin: 0 0 28px;
  color: #435169;
  font-size: 18px;
}

.section-navy .lead {
  color: #d8e8f5;
}

.intro-card {
  padding: 34px;
  border: 1px solid rgba(126, 232, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.intro-card strong,
.intro-card span {
  display: block;
}

.intro-card strong {
  color: #90eeff;
  font-size: 30px;
  line-height: 1.25;
}

.intro-card span {
  margin: 4px 0 20px;
  color: #e9f6ff;
}

.intro-card span:last-child {
  margin-bottom: 0;
}

.cta-band {
  padding: 22px 0;
  background: #0d3157;
  color: #fff;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-row p {
  margin: 0;
  font-weight: 700;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.job-card a,
.edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.btn-tel {
  background: #ffffff;
  color: #0b2849;
}

.btn-form,
.btn-submit,
.job-card a {
  background: linear-gradient(135deg, #16b7e8, #0a6fb6);
  color: #fff;
  box-shadow: 0 14px 26px rgba(10, 111, 182, 0.25);
}

.merit-grid,
.job-grid,
.gallery {
  display: grid;
  gap: 24px;
}

.merit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.merit-grid article,
.job-card,
.message-box,
.entry-form,
.thanks-box {
  background: #fff;
  border: 1px solid #d9e4ee;
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(7, 28, 52, 0.08);
}

.merit-grid article {
  padding: 30px;
}

.merit-grid span {
  color: #14aee4;
  font-weight: 900;
  font-size: 34px;
}

.merit-grid h3,
.job-card h3,
.message-box h3 {
  margin: 10px 0 12px;
  color: #09213d;
  font-size: 22px;
  line-height: 1.35;
}

.merit-grid p,
.job-card p,
.message-box p {
  margin: 0;
  color: #435169;
}

.job-grid {
  grid-template-columns: repeat(3, 1fr);
}

.job-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.job-card-img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.job-card-body {
  padding: 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.job-type {
  width: fit-content;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 4px;
  background: #092846;
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
}

.job-catch {
  min-height: 64px;
}

.job-card dl {
  margin: 22px 0;
  border-top: 1px solid #d9e4ee;
}

.job-card dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #d9e4ee;
}

.job-card dt {
  color: #0a6fb6;
  font-weight: 900;
}

.job-card dd {
  margin: 0;
}

.job-card ul,
.check-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.job-card li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.job-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  background: #14aee4;
}

.job-card a {
  margin-top: auto;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: work;
}

.work-list article {
  background: #f4f7fb;
  border: 1px solid #d9e4ee;
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(7, 28, 52, 0.08);
  overflow: hidden;
}

.work-list img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.work-list div {
  position: relative;
  padding: 22px;
  border-left: 4px solid #14aee4;
}

.work-list strong {
  display: block;
  margin-bottom: 10px;
  color: #09213d;
  font-size: 20px;
}

.work-list p {
  margin: 0;
  color: #435169;
}

.gallery-section .section-title {
  color: #fff;
}

.gallery {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: #07182e;
  aspect-ratio: 1.45 / 1;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.workplace-swiper {
  margin-top: 34px;
  padding: 0 0 54px;
}

.workplace-swiper .swiper-slide {
  overflow: hidden;
  border: 1px solid rgba(126, 232, 255, 0.28);
  border-radius: 6px;
  background: #07182e;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.workplace-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.workplace-swiper .swiper-button-prev,
.workplace-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b2849;
  box-shadow: 0 12px 26px rgba(5, 16, 32, 0.3);
}

.workplace-swiper .swiper-button-prev::after,
.workplace-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: 900;
}

.workplace-swiper .swiper-pagination-bullet {
  background: #d8e8f5;
  opacity: 0.45;
}

.workplace-swiper .swiper-pagination-bullet-active {
  background: #14aee4;
  opacity: 1;
}

.message-box {
  padding: 34px;
  border-top: 5px solid #14aee4;
}

.representative-section {
  background:
    linear-gradient(135deg, rgba(6, 23, 44, 0.94), rgba(9, 40, 70, 0.96)),
    #06172c;
  color: #fff;
}

.representative-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: center;
}

.representative-photo {
  margin: 0;
  border: 1px solid rgba(126, 232, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.representative-photo img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
}

.representative-text .section-title {
  color: #fff;
}

.representative-text .lead,
.representative-text p {
  color: #d8e8f5;
}

.representative-text p {
  margin: 0 0 18px;
}

.representative-name {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 30px !important;
  color: #fff !important;
  font-size: 24px;
  font-weight: 900;
}

.representative-name span {
  color: #90eeff;
  font-size: 14px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 28, 52, 0.08);
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 16px 18px;
  border: 1px solid #d9e4ee;
  vertical-align: top;
}

.info-table th {
  width: 150px;
  background: #092846;
  color: #fff;
  text-align: left;
}

.company-grid iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(7, 28, 52, 0.08);
}

.form-section {
  background:
    linear-gradient(135deg, rgba(7, 23, 44, 0.94), rgba(12, 50, 86, 0.94)),
    #06172c;
  color: #fff;
}

.form-section .section-title {
  color: #fff;
}

.form-section .lead {
  color: #d8e8f5;
}

.entry-form {
  padding: 34px;
  color: #142033;
}

.hidden-field {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #d9e4ee;
}

.form-row label {
  font-weight: 900;
  color: #09213d;
}

.form-row label span {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  background: #d92745;
  color: #fff;
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #bfd0df;
  border-radius: 0;
  color: #142033;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.error {
  grid-column: 2;
  margin: -8px 0 0;
  color: #d92745;
  font-weight: 800;
}

.form-submit,
.center {
  text-align: center;
}

.form-submit {
  margin-top: 30px;
}

.btn-submit {
  width: min(360px, 100%);
  min-height: 58px;
  font-size: 18px;
}

.confirm-page,
.thanks-page {
  min-height: 70vh;
  padding: 90px 0;
  background: #f4f7fb;
}

.confirm-table {
  margin-bottom: 28px;
}

.edit-link {
  color: #0a6fb6;
  text-decoration: underline;
}

.thanks-box {
  padding: 54px 34px;
  text-align: center;
}

.thanks-box .lead {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 34px 0 92px;
  background: #031020;
  color: #d8e8f5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.fixed-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
}

.fixed-cta a {
  min-width: 82px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #14aee4;
  color: #fff;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(5, 16, 32, 0.3);
}

.fixed-cta a:first-child {
  background: #fff;
  color: #09213d;
}

@media (max-width: 960px) {
  .header-nav {
    display: none;
  }

  .intro-grid,
  .two-col,
  .company-grid,
  .representative-grid,
  .merit-grid,
  .job-grid,
  .work-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .job-catch {
    min-height: auto;
  }

  .company-grid iframe {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .inner {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 62px;
    width: calc(100% - 20px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    max-width: 180px;
    white-space: normal;
    font-size: 13px;
    line-height: 1.35;
  }

  .header-tel {
    padding: 8px 10px;
    font-size: 12px;
  }

  .mv {
    overflow: hidden;
  }

  .mv img {
    width: 119.05%;
    max-width: none;
    transform: translateX(-8%);
  }

  .section,
  .intro,
  .confirm-page,
  .thanks-page {
    padding: 58px 0;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .merit-grid article,
  .job-card-body,
  .entry-form,
  .message-box {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .error {
    grid-column: 1;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .fixed-cta {
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0;
  }

  .fixed-cta a {
    flex: 1;
    min-width: 0;
  }
}
