﻿/* ==========================================================================
   CSS Custom Properties (Color Palette & Variables)
   ========================================================================== */
:root {
  --primary-color: #033f95;      /* 濃い青 */
  --primary-light: #1e4eab;      /* 流線背景の濃いめの青 */
  --accent-color: #73b0e1;       /* 薄い青 */
  --accent-light: #aaccf9;       /* さらに薄い青 */
  --text-dark: #333333;          /* メインテキスト */
  --text-muted: #696969;         /* サブテキスト */
  --text-light: #ffffff;         /* 白テキスト */
  --bg-light: #ffffff;
  --bg-gray: #f8f9fa;
  
  --font-family: 'Inter', 'Noto Sans JP', sans-serif;
  --max-width: 1100px;
  --header-height: 70px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 12px auto 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }

/* ==========================================================================
   Header Style
   ========================================================================== */
.site-header {
  height: var(--header-height);
  background-color: var(--bg-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

/* Figma underbar: 1px #033F95, visible on active/hover */
.nav-item > a::after {
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.2s;
}

.nav-item.active > a,
.nav-item:hover > a {
  color: #033F95;
}

.nav-item.active > a::after,
.nav-item:hover > a::after {
  background-color: #033F95;
}

/* ===== Dropdown (gnav Frame 180 style) ===== */
.nav-item--has-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 120px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1100;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.12);
}

.nav-item--has-dropdown:hover .nav-dropdown {
  display: block;
}

/* Keep dropdown visible when hovering dropdown itself */
.nav-dropdown a {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 20px;
  background-color: #033F95;
  transition: background-color 0.15s;
}

.nav-dropdown a:hover {
  background-color: #2F69BC;
}

.nav-dropdown a::after {
  display: none;
}

/* ===== Contact button ===== */
.nav-item.contact-btn {
  width: auto;
}

.nav-item.contact-btn > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  border: 1px solid #033F95;
  border-radius: 5px;
  padding: 5px 10px;
  color: #033F95;
  font-size: 12px;
  font-weight: 400;
  transition: all 0.2s;
}

.nav-item.contact-btn > a::after {
  display: none; /* no underbar on contact button */
}

.nav-item.contact-btn > a:hover {
  background-color: #033F95;
  color: #ffffff;
}

.nav-item.contact-btn > a:hover .mail-icon path {
  fill: #ffffff;
}

.mail-icon {
  width: 20px;
  height: 20px;
}

/* ===== SP Nav ===== */
/* SP Nav Hidden by Default */
.nav-toggle, .nav-sp {
  display: none;
}

/* SP sub-menu */
.sp-nav-item {
  list-style: none;
}

.sp-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-nav-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  flex: 1;
}

.sp-nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
}

.sp-nav-arrow.is-open {
  transform: rotate(180deg);
}

.sp-nav-sub {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sp-nav-sub.is-open {
  max-height: 300px;
}

.sp-nav-sub li a {
  display: block;
  font-size: 16px;
  color: #033F95;
  padding: 8px 0 8px 20px;
  text-decoration: none;
  border-left: 2px solid #033F95;
  margin: 4px 0;
}

/* ==========================================================================
   MV (Main Visual) Section
   ========================================================================== */
.mv-section {
  margin-top: var(--header-height);
  height: 949px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.mv-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.mv-bg-image {
  position: absolute;
  left: 0;
  top: 1px;
  width: 100%;
  height: 766px;
  background-image: url('../images/top_mv.png');
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(180deg, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, black 82%, transparent 100%);
}

/* Wave decorations */
.mv-wave-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.mv-wave-deco--1 {
  left: 0;
  top: 496px;
  width: 100%;
  height: 453px;
  display: block;
}

.mv-wave-deco--2 {
  left: 0;
  top: 526px;
  width: 100%;
  height: 493px;
  display: block;
  filter: blur(20px);
  opacity: 0.6;
}

/* Main content: text + logo */
.mv-content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 259px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
}

.mv-text-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mv-text-main {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  color: #525252;
  line-height: 1.2;
}

.mv-text-no {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  color: #525252;
  line-height: 1.2;
}

.mv-logo {
  width: 360px;
  height: 60px;
  object-fit: contain;
}

/* ==========================================================================
   Content Cards Section (TOP page)
   ========================================================================== */
.services-section {
  margin-top: -300px;
  position: relative;
  z-index: 10;
  background: transparent;
  padding-bottom: 80px;
}

.top-cards-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  position: relative;
}

.top-card {
  width: 340px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #C0C0C0;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.top-card-img-wrap {
  width: 100%;
  height: 196px;
  overflow: hidden;
  flex-shrink: 0;
}

.top-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.top-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 96px;
  flex-shrink: 0;
}

.top-card-title {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 700;
  color: #033f95;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

.top-card-bar {
  width: 50px;
  height: 2px;
  background: #033f95;
  flex-shrink: 0;
}

.top-card-desc {
  font-family: var(--font-family);
  font-size: 16px;
  color: #6A6A6A;
  line-height: 1.5;
  text-align: center;
  padding: 0 20px;
  margin: 0;
  align-self: stretch;
}

.top-card-btn-area {
  align-self: stretch;
  padding: 0 20px 40px;
  margin-top: auto;
}

.top-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #033f95;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  border-radius: 60px;
  text-decoration: none;
  width: 100%;
  transition: opacity 0.2s;
}

.top-card-btn::after {
  content: '›';
  font-size: 22px;
  font-weight: 400;
  margin-left: 8px;
  line-height: 1;
}

.top-card-btn:hover {
  opacity: 0.85;
  color: #ffffff;
}

/* ==========================================================================
   Contact Section (TOP page)
   ========================================================================== */
.contact-section {
  min-height: 389px;
  display: flex;
  align-items: center;
  background-color: #033f95;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.contact-photo {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/contact_bg.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.3;
}

.contact-deco-v1 {
  position: absolute;
  left: 538px;
  top: -216px;
  width: 981px;
  height: 611px;
}

.contact-deco-v2 {
  position: absolute;
  left: 634px;
  top: 14px;
  width: 1018px;
  height: 303px;
}

.contact-deco-v3 {
  position: absolute;
  left: 667px;
  top: 94px;
  width: 1023px;
  height: 293px;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 340px;
  margin: 0 auto;
  padding: 105px 0 80px;
}

.contact-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-title {
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.contact-title-bar {
  width: 50px;
  height: 2px;
  background: #ffffff;
}

.contact-desc {
  font-family: var(--font-family);
  font-size: 16px;
  color: #CEE2FF;
  text-align: center;
  margin: 0;
}

.contact-section {
  padding: 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 39px;
  padding: 10px 20px;
  background: #ffffff;
  color: #033f95;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  border-radius: 60px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-btn:hover {
  opacity: 0.9;
  color: #033f95;
}

/* ==========================================================================
   Footer Style
   ========================================================================== */
.site-footer {
  background-color: var(--bg-light);
  border-top: 1px solid #eaeaea;
  padding: 80px 0 79px;
}

.footer-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo-img-footer {
  height: 24px;
  width: auto;
  margin-bottom: 16px;
}

.footer-address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list--col {
  min-width: 100px;
}

.footer-nav-list a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s;
}

.footer-nav-list a:hover {
  color: var(--primary-color);
}

.footer-nav-sub {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-sub a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.footer-nav-sub a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #f1f1f1;
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   New Page Hero (Common)
   ========================================================================== */
.page-hero {
  height: 202px;
  background-image: url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #014396;
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 202px;
  margin: 0 auto;
  overflow: hidden;
}

.page-hero-title {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  color: #014396;
  margin: 0;
}

.page-hero .subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #4a7bc8;
  text-transform: uppercase;
}

/* ==========================================================================
   2-Column Layout (Company, History, Access)
   ========================================================================== */
.page-layout-container {
  display: flex;
  gap: 50px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-main-content {
  flex: 1;
  min-width: 0; /* flex崩れ防止 */
}

.page-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-menu-card {
  background-color: var(--bg-gray);
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-menu-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links li {
  position: relative;
  padding-left: 15px;
}

.sidebar-links li::before {
  content: '├';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.sidebar-links li:last-child::before {
  content: '└';
}

.sidebar-links a {
  font-size: 15px;
  color: var(--text-dark);
  transition: color 0.3s;
}

.sidebar-links li.active a,
.sidebar-links a:hover {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==========================================================================
   Service Page Styles
   ========================================================================== */
.service-intro {
  padding: 60px 0 20px;
}

.intro-headline {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.5;
  margin-bottom: 24px;
}

.intro-body {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.intro-body p {
  margin-bottom: 12px;
}

.service-grid-section {
  padding: 40px 0 60px;
}

.card-detail-info {
  width: 100%;
  padding: 0 24px;
  text-align: left;
}

.card-detail-info .tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.detail-list {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-list li strong {
  color: var(--text-dark);
}

.service-details-section {
  background-color: var(--bg-gray);
  padding: 80px 0;
}

.detail-block {
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  margin-bottom: 50px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.detail-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.detail-intro-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-block-img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 30px;
}

.pc-only-br {
  display: inline;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.detail-col h3 {
  font-size: 18px;
  font-weight: 700;
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
  margin-bottom: 20px;
}

.sub-block {
  margin-bottom: 16px;
}

.sub-block h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.sub-block ul {
  list-style: disc;
  margin-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.tech-table th, .tech-table td {
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
}

.tech-table th {
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
  width: 100px;
}

.tech-table td {
  color: var(--text-muted);
}

.detail-col-full {
  width: 100%;
  grid-column: 1 / -1;
}

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

.infra-card {
  background-color: var(--bg-gray);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.infra-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.infra-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   Company Page Styles
   ========================================================================== */
.company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.info-card {
  background-color: var(--bg-gray);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.info-card.flex-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.info-table th, .info-table td {
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  font-weight: 700;
  width: 120px;
  text-align: left;
}

.info-table td {
  color: var(--text-muted);
}

.info-group h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
  margin-bottom: 12px;
}

.info-group ul {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: disc;
  margin-left: 20px;
}

.ceo-message-block {
  background-color: var(--bg-gray);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 50px;
}

.ceo-message-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.ceo-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ceo-name {
  margin-top: 24px;
  font-size: 16px;
}

/* Staff Grid Styles */
.staff-section {
  margin-top: 50px;
  margin-bottom: 80px;
}

.staff-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 12px;
}

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

.staff-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.staff-img-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.staff-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-info {
  padding: 16px;
  text-align: center;
}

.staff-role {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 4px;
}

.staff-name {
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================================
   History Page (Timeline & Scroll animation)
   ========================================================================== */
.history-content-section {
  padding: 80px 0;
}

.company-content-section {
  padding: 80px 0;
}

.history-timeline-wrapper {
  position: relative;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--accent-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Observer class added by JS */
.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker {
  position: absolute;
  left: -35px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid var(--bg-light);
  box-shadow: 0 0 0 4px var(--accent-light);
  z-index: 2;
}

.timeline-info {
  background-color: var(--bg-gray);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.timeline-date {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 15px;
  color: var(--text-dark);
}

/* ==========================================================================
   Access Page Styles
   ========================================================================== */
/* ==========================================================================
   Access Page Styles
   ========================================================================== */

/* Hero "Access" deco text */
.page-hero-en-deco {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--primary-color);
  opacity: 0.5;
  pointer-events: none;
}

/* 3-card section */
.access-section {
  padding: 60px 0;
  background-color: var(--bg-gray);
}

.access-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.access-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.access-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.access-map-inner {
  flex: 1;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
}

.access-map-inner iframe {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border: 0;
  display: block;
}

.access-photo-single {
  flex: 1;
  aspect-ratio: 4 / 3;
  background-color: #e8ecf0;
  border-radius: 8px;
}

.access-cta {
  margin-top: auto;
}

.access-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background-color: #1a5fd4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.access-cta-btn:hover {
  opacity: 0.85;
  color: #ffffff;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-container-layout {
  padding: 0;
}

/* Step Flow Progress Bar */
.step-flow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #eaeaea;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
}

.step-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.step-item.active .step-num {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.step-item.active .step-label {
  color: var(--primary-color);
}

.step-line {
  flex: 1;
  height: 2px;
  background-color: #eaeaea;
  margin: 0 15px;
  transform: translateY(-12px); /* 数字と中央並びにする */
}

/* Layout Flex grid */
.contact-main-flex {
  display: flex;
  gap: 40px;
}

.contact-form-card {
  flex: 1;
  background-color: var(--bg-gray);
  border-radius: 8px;
  padding: 45px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.03);
}

.contact-form-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-label-wrapper label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.badge.required {
  background-color: #e53e3e;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.form-input-wrapper input[type="text"],
.form-input-wrapper input[type="email"],
.form-input-wrapper input[type="tel"],
.form-input-wrapper select,
.form-input-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #ffffff;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.3s;
}

.form-input-wrapper input:focus,
.form-input-wrapper select:focus,
.form-input-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-submit-wrapper {
  text-align: center;
  margin-top: 16px;
}

.form-submit-wrapper .btn-more {
  cursor: pointer;
}

/* Sidebar Info (Contact page right) */
.contact-sidebar-info {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--bg-gray);
  border-radius: 8px;
  padding: 24px;
}

.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.contact-info-card .phone, .contact-info-card .email {
  font-size: 14px;
  margin-bottom: 8px;
}

.mini-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Confirm View Styles */
.contact-confirm-inner h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.confirm-rows-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.confirm-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding-bottom: 12px;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
}

.confirm-label {
  font-weight: 700;
  color: var(--text-dark);
}

.confirm-value {
  color: var(--text-muted);
}

.confirm-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 39px;
  border: 1px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 60px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
}

.btn-back:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Complete View Styles */
.contact-complete-inner {
  text-align: center;
  padding: 40px 0;
}

.complete-icon {
  width: 60px;
  height: 60px;
  background-color: #2f855a;
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.contact-complete-inner h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-complete-inner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.complete-btn-wrapper {
  margin-top: 30px;
}

/* ==========================================================================
   MW WP Form 互換スタイル
   ========================================================================== */

/* 汎用CTAボタン（送信・確認・TOPへ戻るなど共通） */
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 48px;
  padding: 12px 32px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  border-radius: 60px;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all 0.3s;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0.03em;
}

.btn-more:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* [mwform_submitButton] → input[type="submit"].btn-more 向けスタイル上書き */
.mw-wp-form input[type="submit"].btn-more,
.mw-wp-form input[type="button"].btn-more {
  display: inline-block;
  box-sizing: border-box;
  line-height: 1;
  vertical-align: middle;
  font-family: var(--font-family);
  -webkit-appearance: none;
  appearance: none;
}

/* バリデーションエラーメッセージ */
.mw-wp-form span.error,
.form-input-wrapper .error {
  display: block;
  color: #e53e3e;
  font-size: 12px;
  margin-top: 6px;
}

/* form-submit-wrapper / confirm-buttons-wrapper 内の送信ボタン共通 */
.form-submit-wrapper .btn-more,
.confirm-buttons-wrapper .btn-more {
  border: 2px solid var(--primary-color);
}

/* ==========================================================================
   Recruit Page Hero Override
   ========================================================================== */
.page-hero--recruit {
  color: #014396;
}

.recruit-hero-deco-01 {
  position: absolute;
  left: -296.8px;
  top: -460px;
  width: 1870px;
  pointer-events: none;
}

.recruit-hero-deco-02 {
  position: absolute;
  left: -330px;
  top: -427px;
  width: 1436px;
  pointer-events: none;
}

/* ==========================================================================
   Recruit Page Styles
   ========================================================================== */

/* Section Header Pattern */
.r-sec-head {
  text-align: center;
  margin-bottom: 48px;
}

.r-sec-title {
  font-size: 24px;
  font-weight: 700;
  color: #033f95;
  margin-bottom: 16px;
}

.r-sec-bar {
  width: 50px;
  height: 2px;
  background-color: #033f95;
  margin: 0 auto;
}

.r-sec-head--white .r-sec-title {
  color: #ffffff;
  font-size: 32px;
}

.r-sec-bar--white {
  background-color: #ffffff;
}

.r-sec-head--left {
  text-align: left;
}

.r-sec-bar--left {
  margin: 0;
}

/* Message Section */
.r-message-section {
  padding: 80px 0;
}

.r-message-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background-color: #F7FAFF;
  padding: 48px 40px;
}

.r-message-body {
  text-align: center;
}

.r-message-body p {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Features Section */
.r-features-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.r-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 24px;
  justify-content: center;
}

.r-feature-card {
  background-color: #ffffff;
  border: 1px solid #C0C0C0;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1);
}

.r-feature-img-wrapper {
  position: relative;
  height: 196px;
  overflow: hidden;
}

.r-feature-img-wrapper img {
  position: absolute;
  left: 0;
  top: -13px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.r-feature-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 0 40px;
}

.r-feature-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 96px;
}

.r-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #033f95;
  text-align: center;
  margin: 0;
}

.r-feature-bar {
  width: 50px;
  height: 2px;
  background-color: #033f95;
}

.r-feature-desc {
  font-size: 16px;
  color: #6A6A6A;
  line-height: 1.5;
  text-align: left;
  padding: 0 20px;
  margin: 0;
  align-self: stretch;
}

/* Interview Section */
.r-interview-section {
  padding: 0;
  background-color: #F7FAFF;
  position: relative;
  overflow: visible;
  min-height: 634px;
}

.r-interview-text-deco {
  position: absolute;
  right: calc((100% - 980px) / 2 - 55px);
  top: -55px;
  width: 109px;
  height: 641px;
  pointer-events: none;
  z-index: 1;
}

.r-interview-deco-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  width: 789px;
  height: 281px;
  pointer-events: none;
}

.r-interview-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 0;
}

.r-interview-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.r-interview-img {
  flex: 0 0 399px;
  overflow: hidden;
  align-self: stretch;
}

.r-interview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.r-interview-content {
  flex: 0 0 541px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.r-interview-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.r-interview-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.r-interview-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background-color: rgba(115, 175, 225, 0.93);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
}

.r-interview-name {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.r-interview-position {
  font-size: 16px;
  font-weight: 400;
  color: #A3A3A3;
  line-height: 1.5;
  margin: 0;
}

.r-interview-text-box {
  background-color: #EBF2FF;
  padding: 20px;
}

.r-interview-text-box p {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
  margin-bottom: 16px;
}

.r-interview-text-box p:last-child {
  margin-bottom: 0;
}

/* Education Section */
.r-education-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.r-edu-outer {
  display: grid;
  grid-template-columns: 85px 470px;
  gap: 60px;
  max-width: 615px;
  margin: 0 auto;
}

.r-edu-watermark-img {
  width: 85px;
  height: auto;
  flex-shrink: 0;
}

.r-edu-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0;
}

.r-edu-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.r-edu-card {
  background-color: #ffffff;
  border: 1px solid #E8E8E8;
  padding: 20px;
  width: 470px;
}

.r-edu-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.r-edu-icon-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.r-edu-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

.r-edu-desc {
  font-size: 16px;
  color: #6A6A6A;
  line-height: 1.5;
  margin: 0 0 16px;
}

.r-edu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.r-edu-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.r-edu-item-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.r-edu-item-desc {
  display: block;
  font-size: 16px;
  color: #6A6A6A;
  line-height: 1.5;
}

.r-edu-sub-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.r-edu-sub-list li {
  font-size: 16px;
  color: #6A6A6A;
  line-height: 1.5;
}

/* Requirements Section */
.r-requirements-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.r-tab-nav {
  display: flex;
  max-width: 980px;
  margin: 0 auto;
}

.r-tab-btn {
  flex: 0 0 490px;
  height: 69px;
  padding: 20px;
  font-size: 24px;
  font-weight: 700;
  background-color: #F6F6F6;
  color: #8D8D8D;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  text-align: center;
}

.r-tab-btn.active {
  background-color: #DFEDFF;
  color: #014396;
}

.r-tab-content:not(.active) {
  display: none;
}

.r-tab-content.active {
  display: block;
}

.r-req-wrapper {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  background-color: #DFEDFF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
}

.r-req-sections {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.r-req-block {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #E8E8E8;
}

.r-req-block-title {
  flex: 0 0 144px;
  font-size: 18px;
  font-weight: 700;
  color: #033f95;
  padding-top: 2px;
}

.r-req-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.r-req-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.r-req-label {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(115, 175, 225, 0.93);
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  line-height: 1.5;
}

.r-req-value {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
}

.r-req-apply-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.r-req-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  padding: 10px 20px;
  background-color: #033f95;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 60px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.r-req-apply-btn:hover {
  opacity: 0.85;
  color: #ffffff;
}

/* Q&A Section */
.r-faq-section {
  padding: 80px 0;
  background-color: #F7FAFF;
}

.r-faq-section .r-accordion {
  max-width: 980px;
  margin: 0 auto;
}

.r-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.r-accordion-item {
  overflow: hidden;
}

.r-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  justify-content: space-between;
}

.r-accordion-btn:hover {
  background-color: #f8fbff;
}

.r-qa-q {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  color: #033f95;
}

.r-accordion-question {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.r-accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.r-accordion-icon::before,
.r-accordion-icon::after {
  content: '';
  position: absolute;
  background-color: rgba(170, 204, 249, 0.94);
  transition: all 0.3s;
}

.r-accordion-icon::before {
  width: 20px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.r-accordion-icon::after {
  width: 2px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.r-accordion-btn.active .r-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content.open {
  max-height: 800px;
}

.r-accordion-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 40px;
  background-color: #ffffff;
}

.r-accordion-inner--answer {
  background-color: rgba(215, 232, 255, 0.94);
}

.r-accordion-inner--answer p {
  font-weight: 700;
}

.r-qa-a {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  color: #2271E2;
}

.r-accordion-inner p {
  font-size: 16px;
  color: #000000;
  line-height: 1.9;
  margin: 0;
}

/* Contact Section */
.r-contact-section {
  padding: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  background-color: #033f95;
  position: relative;
  overflow: hidden;
}

.r-contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.r-contact-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/contact_bg.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.3;
}

.r-contact-deco-v1 {
  position: absolute;
  left: 538px;
  top: -216px;
  width: 981px;
  height: 611px;
}

.r-contact-deco-v2 {
  position: absolute;
  left: 634px;
  top: 14px;
  width: 1018px;
  height: 303px;
}

.r-contact-deco-v3 {
  position: absolute;
  left: 667px;
  top: 94px;
  width: 1023px;
  height: 293px;
}

.r-contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 340px;
  margin: 0 auto;
  padding: 105px 0 80px;
}

.r-contact-desc {
  font-size: 16px;
  color: #CEE2FF;
  margin: 0;
  text-align: center;
}

.r-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 39px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #033f95;
  font-size: 16px;
  font-weight: 400;
  border-radius: 60px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.r-contact-btn:hover {
  opacity: 0.9;
  color: #033f95;
}
/* ==========================================================================
   Responsive Styles (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
  /* TOP page cards */
  .top-cards-grid {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-card {
    width: 300px;
  }

  .top-card-img-wrap {
    width: 100%;
  }

  .services-section {
    margin-top: -200px;
    padding: 0 20px 60px;
  }

  .grid-container,
  .recruit-features,
  .r-feature-grid,
  .company-info-grid,
  .staff-grid,
  .access-cards-grid,
  .detail-content-grid,
  .infra-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .r-feature-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .r-tab-nav {
    width: 100%;
  }

  .r-tab-btn {
    flex: 1;
    font-size: 20px;
  }

  .r-req-wrapper {
    width: 100%;
    padding: 24px;
  }

  .r-req-block {
    flex-direction: column;
    gap: 16px;
  }

  .r-req-block-title {
    flex: none;
  }

  .r-interview-section {
    overflow: hidden;
  }

  .r-interview-text-deco {
    display: none;
  }

  .r-interview-block {
    flex-direction: column;
  }

  .r-interview-img {
    flex: none;
    width: 100%;
    height: 320px;
    align-self: auto;
  }

  .r-interview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .r-interview-content {
    flex: none;
    width: 100%;
  }

  .r-interview-container {
    padding: 40px 20px;
  }

  .r-edu-outer {
    grid-template-columns: 60px 1fr;
    gap: 32px;
    max-width: 100%;
    padding: 0 20px;
  }

  .r-edu-card {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .page-layout-container,
  .contact-main-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-sidebar,
  .contact-sidebar-info {
    width: 100%;
  }

  .sidebar-menu-card {
    position: static;
  }

  .requirements-table th {
    width: auto;
    display: block;
    border-bottom: none;
  }

  .requirements-table td {
    display: block;
  }

  .requirements-table tr {
    display: block;
    margin-bottom: 20px;
  }

  .intro-headline {
    font-size: 22px;
  }

  .detail-block-img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  /* Hamburger Menu Toggle */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1100;
  }

  .nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-pc {
    display: none;
  }

  .nav-sp {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-light);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    padding: 100px 40px;
    transition: right 0.3s ease;
    z-index: 1050;
  }

  .nav-sp.active {
    right: 0;
  }

  .nav-list-sp {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .nav-list-sp a {
    font-size: 20px;
    font-weight: 700;
  }

  .mv-section {
    height: 600px;
  }

  .mv-bg-image {
    height: 500px;
  }

  .mv-wave-deco--1 {
    top: 280px;
    width: 100%;
    left: 0;
  }

  .mv-wave-deco--2 {
    top: 300px;
    width: 100%;
    left: 0;
  }

  .mv-content {
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
  }

  .mv-text-main {
    font-size: 22px;
  }

  .mv-text-no {
    font-size: 18px;
  }

  .mv-logo {
    width: 260px;
    height: auto;
  }

  .services-section {
    margin-top: -200px;
    padding: 0 16px 60px;
  }

  .top-cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .top-card {
    width: 100%;
    max-width: 340px;
  }

  .top-card-img-wrap {
    width: 100%;
  }


  .contact-inner {
    width: 100%;
    padding: 60px 20px;
  }

  .contact-btn {
    width: 100%;
    min-width: unset;
  }

  .r-contact-section .r-sec-head {
    margin-bottom: 0;
  }

  /* Interview Section SP */
  .r-interview-section {
    overflow: hidden;
    min-height: auto;
  }

  .r-interview-container {
    padding: 40px 20px;
  }

  .r-interview-text-deco {
    display: block;
    right: -10px;
    top: 0;
    width: 45px;
    height: auto;
  }

  .r-interview-deco-bottom {
    width: 75%;
    height: auto;
  }

  .r-interview-block {
    gap: 20px;
  }

  .r-interview-content {
    gap: 20px;
  }

  /* Recruit Page SP */
  .page-hero-title {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
  }

  .r-feature-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .r-tab-nav {
    width: 100%;
  }

  .r-tab-btn {
    flex: 1;
    font-size: 18px;
    height: auto;
    padding: 16px;
  }

  .r-req-wrapper {
    width: 100%;
    padding: 24px 16px;
  }

  .r-req-block {
    flex-direction: column;
    gap: 12px;
  }

  .r-req-block-title {
    flex: none;
  }

  .r-req-label {
    font-size: 15px;
  }

  .r-req-value {
    font-size: 14px;
  }

  .r-accordion-question {
    font-size: 15px;
  }

  .r-contact-btn,
  .r-req-apply-btn {
    width: 100%;
    min-width: unset;
  }

  .r-interview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .r-edu-outer {
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 0 16px;
    max-width: 100%;
  }

  .r-edu-watermark-img {
    width: 50px;
  }

  .r-edu-card {
    width: 100%;
  }

  .r-contact-inner {
    width: 100%;
    padding: 60px 20px;
  }

  .confirm-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .confirm-buttons-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
  }

  .btn-back, .confirm-buttons-wrapper .btn-more {
    width: 100%;
  }

  .intro-headline {
    font-size: 18px;
  }

  .pc-only-br {
    display: none;
  }

  .detail-block-img {
    height: 160px;
  }

  .detail-block {
    padding: 24px 20px;
  }
}
