/* =================================================================
   株式会社ウェーブスリー 採用LP - STEP3 スタイル
   配色: ロイヤルブルー #1e3a8a / ウォームオレンジ #f97316
   フォント: Noto Sans JP (400 / 500 / 700 / 900)
   ================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #1a2233;
  background: #ffffff;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

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

/* ========== HEADER ========== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e3e8f0;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(30,58,138,0.04);
}
.hdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  color: #1e3a8a;
}
.hdr-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hdr-brand-text {
  font-size: 17px;
  font-weight: 900;
  color: #1e3a8a;
  white-space: nowrap;
}
.hdr nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.hdr nav a {
  text-decoration: none;
  color: #1a2233;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.hdr nav a:hover { color: #f97316; }
.hamburger-icon {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e3e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #1e3a8a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.hamburger-icon span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger-icon.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-icon.is-open span:nth-child(2) { opacity: 0; }
.hamburger-icon.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger-icon.is-open { background: #1e3a8a; color: #ffffff; }

/* ========== FV ========== */
.fv {
  position: relative;
  width: 100%;
  margin: 0 0 0;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  background: #1a2233;
  overflow: hidden;
}
.fv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30,58,138,0.78) 0%, rgba(30,64,175,0.55) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.fv-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  z-index: 2;
  color: #ffffff;
}
.fv-inner h1 {
  font-size: clamp(28px, 4.8vw, 56px);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  letter-spacing: 0.01em;
}
.fv-inner p {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  margin: 8px 0;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.fv-inner p strong { color: #fdba74; background: none; padding: 0; }
.fv-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ========== Slider scaffold（無限ループ） ========== */
.slider-scaffold {
  background: #f7f9fc;
  padding: 36px 0;
  overflow: hidden;
  margin: 0;
}
.slider-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 24px;
  animation: slide-loop 60s linear infinite;
}
.slider-track:hover { animation-play-state: paused; }
@keyframes slide-loop {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.slide {
  flex: 0 0 320px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30,58,138,0.10);
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  min-height: 48px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.btn-contact {
  background: #f97316;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
}
.btn-contact:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(249,115,22,0.5);
}
.btn-tel {
  background: #ffffff;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
  box-shadow: 0 4px 14px rgba(30,58,138,0.15);
}
.btn-tel:hover {
  background: #1e3a8a;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 3px solid #fdba74; outline-offset: 2px; }

/* ========== Sections 共通 ========== */
section { padding: 80px 0; }
section h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  margin: 0 0 36px;
  text-align: center;
  color: #1e3a8a;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 22px;
  line-height: 1.4;
}
section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: #f97316;
  border-radius: 2px;
}
section h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #1e3a8a;
  line-height: 1.4;
}
section p {
  color: #2d3748;
  line-height: 1.85;
  font-weight: 400;
  margin: 0 0 14px;
}
strong {
  font-weight: 700;
  color: #f97316;
  background: linear-gradient(transparent 60%, rgba(249,115,22,0.18) 60%);
  padding: 0 0.15em;
}

/* ========== Welcome ========== */
.welcome { background: #f7f9fc; }
.welcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.welcome-card {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 12px;
  border: none;
  border-top: 4px solid #f97316;
  box-shadow: 0 2px 12px rgba(30,58,138,0.06);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.welcome-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,58,138,0.14);
}
.welcome-num {
  display: inline-block;
  background: #1e3a8a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ========== About / Closing ========== */
.about { background: #ffffff; }
.about-block { max-width: 760px; margin: 0 auto; }
.about-photo {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(30,58,138,0.08);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.closing-block { max-width: 760px; margin: 0 auto; text-align: center; }
.closing-photo {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(30,58,138,0.08);
}
.closing-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.closing-block p { font-weight: 500; }

/* ========== Job zigzag ========== */
.job { background: #f7f9fc; }
.job-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: #1a2233;
}
.zigzag-row {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-row .col-photo { flex: 0 0 48%; }
.zigzag-row .col-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(30,58,138,0.08);
}
.zigzag-row .col-text { flex: 1 1 auto; }
.zigzag-row.row-reverse { flex-direction: row-reverse; }

/* ========== CTA ========== */
.cta-section { padding: 60px 0; }
.cta-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  padding: 48px 32px;
  border-radius: 16px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(30,58,138,0.20);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(249,115,22,0.18);
  border-radius: 50%;
  pointer-events: none;
}
.cta-eyebrow {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  position: relative;
  text-align: center;
}
.cta-note {
  margin-bottom: 28px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  position: relative;
  text-align: center;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ========== Cards-3 共通 ========== */
.cards-3 {
  display: flex;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.cards-3 .card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
.cards-3 .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,58,138,0.14);
}
.cards-3 .card .ph { margin: 0 0 16px; border-radius: 10px; overflow: hidden; }
.cards-3 .card .ph img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.cards-3 .card .step-num {
  display: inline-block;
  align-self: flex-start;
  background: #f97316;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.cards-3 .card .step-period {
  color: #5a6378;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 10px;
}
.member-role {
  display: inline-block;
  align-self: flex-start;
  background: #f97316;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}
.member-name {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 19px;
  margin: 0 0 14px;
}

/* ========== Schedule ========== */
.schedule { background: #ffffff; }
.schedule-card {
  background: #ffffff;
  padding: 32px 40px;
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.06);
}
ul.timeline { padding: 0; margin: 0; }
ul.timeline li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e3e8f0;
  align-items: baseline;
}
ul.timeline li:last-child { border-bottom: 0; }
ul.timeline .time {
  flex: 0 0 80px;
  font-weight: 700;
  color: #1e3a8a;
  font-size: 16px;
}
ul.timeline li > span:last-child {
  flex: 1;
  font-weight: 500;
}
.timeline-callout {
  background: #fff4eb;
  border-left: 4px solid #f97316;
  color: #2d3748;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
  margin: 16px 0 0;
  padding: 14px 20px;
}

/* ========== Requirements ========== */
.requirements { background: #f7f9fc; }
.requirements-card {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.06);
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
}
.details-grid { display: block; }
.details-row {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e3e8f0;
}
.details-row:first-child { border-top: 0; }
.details-label {
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
  padding: 16px 28px;
}
.details-value {
  padding: 20px 28px 24px;
}
.details-value ul { margin: 4px 0 8px; padding-left: 20px; list-style: disc; }
.details-value li { margin-bottom: 4px; }

/* ========== Form ========== */
.contact-section { padding: 80px 0; }
.contact-note {
  text-align: center;
  font-weight: 500;
  color: #5a6378;
  margin: 0 0 24px;
}
.contact-form {
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(30,58,138,0.06);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: inline-block;
  font-weight: 700;
  color: #1e3a8a;
  font-size: 14px;
  margin-bottom: 6px;
}
.req {
  display: inline-block;
  background: #f97316;
  color: #ffffff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e3e8f0;
  border-radius: 8px;
  background: #f7f9fc;
  color: #1a2233;
  font: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #1e3a8a;
  background: #ffffff;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-help {
  display: block;
  margin-top: 6px;
  color: #5a6378;
  font-size: 12px;
}
.form-msg {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.form-msg.is-error { background: #fff4eb; color: #c2410c; border-left: 4px solid #f97316; }
.form-msg.is-info  { background: #eff6ff; color: #1e3a8a; border-left: 4px solid #1e3a8a; }
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.submit-row { margin-top: 28px; text-align: center; }
.submit-row .btn { min-width: 220px; }

/* ========== Footer ========== */
footer.copyright {
  background: #f7f9fc;
  border-top: 1px solid #e3e8f0;
  color: #5a6378;
  font-weight: 500;
  font-size: 13px;
  padding: 40px 24px;
  text-align: center;
}

/* ========== RESPONSIVE（768px以下） ========== */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .hdr { padding: 12px 18px; }
  .hdr-brand-text { font-size: 15px; }
  .hdr-brand-mark { width: 32px; height: 32px; font-size: 12px; }

  .hdr nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e3e8f0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .hdr nav.is-open { display: block; }
  .hdr nav ul { flex-direction: column; gap: 0; padding: 12px 18px; align-items: stretch; }
  .hdr nav li { border-bottom: 1px solid #f0f3f7; padding: 14px 0; }
  .hdr nav li:last-child { border-bottom: 0; }
  .hdr nav a { font-size: 15px; }
  .hamburger-icon { display: flex; }

  section { padding: 56px 0; }
  section h2 { font-size: 22px; margin-bottom: 28px; padding-bottom: 18px; }
  section h2::after { width: 48px; height: 3px; }
  section h3 { font-size: 18px; }

  .fv { aspect-ratio: auto; min-height: 0; }
  .fv-inner { position: relative; padding: 48px 20px; }
  .fv-buttons { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .fv-buttons .btn { width: 100%; max-width: 320px; min-width: 0; }

  .slide { flex: 0 0 240px; }

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

  .zigzag-row,
  .zigzag-row.row-reverse { flex-direction: column; gap: 16px; }
  .zigzag-row .col-photo { order: 0 !important; flex: 1 1 auto; width: 100%; }
  .zigzag-row .col-text  { order: 1 !important; flex: 1 1 auto; width: 100%; }

  .cards-3 { flex-direction: column; }
  .cards-3 .card { width: 100%; }
  .cards-3 .card .ph { order: 0 !important; }
  .cards-3 .card .step-num,
  .cards-3 .card .step-period,
  .cards-3 .card h3,
  .cards-3 .card .member-role,
  .cards-3 .card .member-name,
  .cards-3 .card p { order: 1 !important; }

  .cta-card { padding: 36px 22px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .cta-buttons .btn { width: 100%; max-width: 320px; min-width: 0; }

  .schedule-card { padding: 24px 20px; }
  ul.timeline li { gap: 12px; padding: 12px 0; }
  ul.timeline .time { flex: 0 0 64px; font-size: 14px; }

  .details-label { padding: 14px 20px; }
  .details-value { padding: 16px 20px 20px; }

  .contact-form { padding: 24px 18px; }
}

/* ========== アクセシビリティ：動きを減らす設定 ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .slider-track { animation: none !important; transform: none !important; }
}
