/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-900: #0a2540;
  --blue-800: #0d3158;
  --blue-700: #134074;
  --blue-600: #1a5ca4;
  --blue-500: #2070c8;
  --blue-400: #4a90d9;
  --blue-300: #7ab3eb;
  --blue-200: #b3d4f5;
  --blue-100: #e0effc;
  --blue-50:  #f0f7ff;
  --orange:   #e8811a;
  --orange-dark: #c96a0e;
  --white:    #ffffff;
  --gray-50:  #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --line-green: #06c755;
  --font-ja: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: .3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--gray-800);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { opacity: .8; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 70px;
}

.header__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue-700);
  white-space: nowrap;
}

.header__logo span {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: .75rem;
  display: block;
  color: var(--gray-600);
  line-height: 1;
}

.header__nav {
  margin-left: auto;
  margin-right: 20px;
}

.header__nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.header__nav a {
  color: var(--gray-700);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
}

.header__nav a:hover { color: var(--blue-600); }

.header__cta {
  display: inline-block;
  padding: 8px 22px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  border-radius: 50px;
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--orange-dark);
  opacity: 1;
}

.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  margin-left: auto;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-800);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 11px; }
.header__hamburger span:nth-child(3) { top: 22px; }

/* ===========================
   HERO  ★ 透過修正版 ★
   画像を <img> タグで配置 → 上にオーバーレイ div
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

/* 背景画像（imgタグ） */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 半透明オーバーレイ */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.75) 0%,
    rgba(26, 92, 164, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 800px;
}

.hero__sub {
  font-family: var(--font-en);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: .9;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 40px;
  opacity: .92;
}

.hero__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.hero__scroll span {
  font-family: var(--font-en);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  opacity: .7;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  margin: 0 auto;
  opacity: .5;
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-dark);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,129,26,.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--blue-700);
  opacity: 1;
}

.btn--line {
  background: var(--line-green);
  color: var(--white);
  padding: 12px 32px;
  font-size: .9rem;
}

.btn--line:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6,199,85,.3);
}

.btn--mail {
  background: var(--blue-600);
  color: var(--white);
  padding: 12px 32px;
  font-size: .9rem;
}

.btn--mail:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,92,164,.3);
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

/* ===========================
   SECTION COMMON
   =========================== */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--blue-50);
}

.section__heading {
  text-align: center;
  margin-bottom: 60px;
}

.section__en {
  font-family: var(--font-en);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-400);
  display: block;
  margin-bottom: 8px;
}

.section__title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue-900);
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section__desc {
  margin-top: 16px;
  color: var(--gray-600);
  font-size: .95rem;
}

/* ===========================
   ABOUT
   =========================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.about__img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__name {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.about__name strong {
  font-size: 1.3rem;
  color: var(--blue-900);
}

.about__motto {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
}

.about__text p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

/* ===========================
   CTA BAND  ★ 透過修正版 ★
   =========================== */
.cta-band {
  position: relative;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.75) 0%,
    rgba(26, 92, 164, 0.7) 100%
  );
}

.cta-band__content {
  position: relative;
  z-index: 2;
}

.cta-band__text {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ===========================
   MERIT
   =========================== */
.merit__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.merit__item:last-child {
  margin-bottom: 0;
}

.merit__item--reverse {
  direction: rtl;
}

.merit__item--reverse > * {
  direction: ltr;
}

.merit__img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.merit__num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-200);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.merit__body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 16px;
}

.merit__body p {
  color: var(--gray-700);
  line-height: 1.9;
}

/* ===========================
   DATA
   =========================== */
.data {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900)) !important;
  color: var(--white);
}

.data .section__en { color: var(--blue-300); }
.data .section__title { color: var(--white); }
.data .section__title::after { background: var(--orange); }

.data__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.data__card {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(5px);
}

.data__number {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.data__unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin-left: 4px;
}

.data__label {
  margin-top: 8px;
  font-size: .9rem;
  color: var(--blue-200);
}

/* ===========================
   INTERVIEW
   =========================== */
.interview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.iv__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.iv__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.iv__tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.iv__info h3 {
  font-size: 1.05rem;
  color: var(--blue-900);
  margin-bottom: 12px;
}

.iv__info p {
  font-size: .88rem;
  color: var(--gray-600);
  text-align: left;
  line-height: 1.8;
}

/* ===========================
   DAILY
   =========================== */
.daily__timeline {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.daily__timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue-200);
}

.daily__item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.daily__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid var(--blue-200);
  z-index: 1;
}

.daily__time {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-600);
  min-width: 55px;
  padding-top: 2px;
}

.daily__body h3 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 6px;
}

.daily__body p {
  font-size: .88rem;
  color: var(--gray-600);
}

/* ===========================
   CAREER
   =========================== */
.career__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.career__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--blue-500);
}

.career__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.career__card h3 {
  font-size: 1.1rem;
  color: var(--blue-900);
  margin-bottom: 12px;
}

.career__card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===========================
   RECRUIT TABLE
   =========================== */
.recruit__table {
  max-width: 850px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.recruit__table table {
  width: 100%;
  border-collapse: collapse;
}

.recruit__table th,
.recruit__table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: .9rem;
}

.recruit__table th {
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 700;
  width: 160px;
  white-space: nowrap;
}

.recruit__table td {
  color: var(--gray-700);
}

.recruit__table small {
  color: var(--gray-500);
  font-size: .8rem;
}

/* ===========================
   FAQ
   =========================== */
.faq__list {
  max-width: 750px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: var(--blue-900);
  text-align: left;
  font-family: var(--font-ja);
}

.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--blue-400);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}

.faq__item.is-open .faq__a {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq__a p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===========================
   ENTRY — CONTACT CARDS
   =========================== */
.entry__contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entry__contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--blue-500);
  transition: var(--transition);
}

.entry__contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.entry__contact-card--tel  { border-top-color: var(--blue-600); }
.entry__contact-card--line { border-top-color: var(--line-green); }
.entry__contact-card--mail { border-top-color: var(--orange); }

.entry__contact-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.entry__contact-icon--line {
  background: #e6f9ed;
  color: var(--line-green);
}

.entry__contact-icon--mail {
  background: #fff3e6;
  color: var(--orange);
}

.entry__contact-card h3 {
  font-size: .95rem;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.entry__contact-tel-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.entry__contact-tel-num:hover {
  color: var(--blue-500);
}

.entry__contact-note {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 12px;
  line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--blue-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 40px;
}

.footer__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__logo span {
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: .8rem;
  color: var(--gray-400);
  display: block;
}

.footer__info p {
  font-size: .85rem;
  margin-top: 6px;
}

.footer__info a {
  color: var(--gray-400);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer__nav a {
  color: var(--gray-400);
  font-size: .82rem;
}

.footer__nav a:hover { color: var(--white); }

.footer__copy {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-600);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}

/* ===========================
   FADE-IN ANIMATION
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 968px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__hamburger { display: block; }

  .header__nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 70px);
    margin: 0;
    background: #fff;
    z-index: 9999;
    padding: 40px 24px;
    overflow-y: auto;
  }

  .header__nav.is-open ul {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .header__nav.is-open a {
    font-size: 1.1rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .merit__item,
  .merit__item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .data__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interview__grid {
    grid-template-columns: 1fr;
  }

  .career__grid {
    grid-template-columns: 1fr;
  }

  .entry__contact-cards {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }

  .hero__title {
    font-size: 1.8rem;
  }

  .data__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .data__number {
    font-size: 2.5rem;
  }

  .recruit__table th {
    width: 110px;
    font-size: .8rem;
  }

  .recruit__table td {
    font-size: .82rem;
  }

  .entry__contact-tel-num {
    font-size: 1.5rem;
  }
}

/* スマホ改行制御 */
.sp-br { display: none; }
.pc-br { display: inline; }

@media (max-width: 768px) {
    .sp-br { display: inline; }
    .pc-br { display: none; }
}
