/* 
  Theme Colors: Blue/Green (Trust, Cleanliness, Healthcare)
  Variables 
*/
:root {
  --primary-color: #1a659e; /* Trustworthy Blue */
  --primary-light: #5c99c6;
  --secondary-color: #0b3954; /* Deep Navy */
  --accent-color: #FFC107; /* Bright Amber/Gold for high visibility */
  --text-main: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f4f9f9;
  --border-color: #e0e0e0;
  
  --font-main: 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', sans-serif;
  
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(26, 101, 158, 0.08);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 4%;
}

.container.wide {
  max-width: 1500px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Typography */
.text-highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__en-title {
  display: block;
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--primary-light);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.section__ja-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section__ja-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section__desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.ib {
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn--primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 101, 158, 0.3);
}

.btn--primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 57, 84, 0.4);
}

.btn--white {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  backdrop-filter: blur(5px);
}

.btn--white:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.w-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.header__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
}

.header__logo span {
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* Header Nav */
.header__nav ul {
  display: flex;
  gap: 30px;
}

.header__nav a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

/* Hamburger Menu */
.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.header__toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--secondary-color);
  margin-bottom: 6px;
  transition: var(--transition);
}

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

/* Toggle Active State */
.header__toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__toggle.active span:nth-child(2) {
  opacity: 0;
}
.header__toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
  margin-top: 0; /* Cover whole screen */
}

.hero__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slideFade 16s infinite;
}

.hero__slide:nth-child(1) {
  animation-delay: 0s;
}

.hero__slide:nth-child(2) {
  animation-delay: 8s;
}

@keyframes slideFade {
  0% { opacity: 0; transform: scale(1); }
  10% { opacity: 1; }
  50% { opacity: 1; }
  60% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.05); }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: -1;
}

.hero__content {
  color: white;
  max-width: 1000px;
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__main-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 15px rgba(0,0,0,0.6);
  line-height: 1.5;
  opacity: 0.9;
}

.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 25px;
  white-space: nowrap;
}

.hero__title-small {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
  color: #4A90E2;
}

.hero__title .text-highlight,
.hero__lead .text-highlight {
  color: #4A90E2;
}

.hero__lead {
  font-size: 1.25rem;
  margin-bottom: 45px;
  line-height: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.8rem;
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: white;
  margin-top: 10px;
  animation: scrollDown 2s infinite;
}

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

/* Message Section */
.message__content {
  background: white;
  padding: 60px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.message__content::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  color: rgba(26, 101, 158, 0.1);
  font-family: serif;
  line-height: 1;
}

.message__text p {
  margin-bottom: 1.5em;
  font-size: 1.1rem;
}
.message__text p:last-child {
  margin-bottom: 0;
}

/* Interview Section */
.interview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.interview-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.interview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26, 101, 158, 0.15);
}

.interview-card__img {
  height: 250px;
  overflow: hidden;
}

.interview-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.interview-card:hover .interview-card__img img {
  transform: scale(1.05);
}

.interview-card__body {
  padding: 30px;
}

.interview-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary-light);
  color: white;
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 15px;
}

.interview-card__title {
  font-size: 1.15rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.5;
}

.interview-card__text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.interview-card__more {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: var(--transition);
}

.interview-card.js-modal-open {
  cursor: pointer;
}

.interview-card.js-modal-open:hover .interview-card__more {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--border-radius);
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.05);
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-light);
}

.modal__close:hover {
  background: var(--primary-color);
  color: white;
}

.modal__body {
  padding: 40px 30px;
}

.modal__body h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  margin-top: 15px;
}

.modal__body p {
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.7;
}

.modal__body .interview-card__badge {
  margin-bottom: 10px;
}


/* Schedule Section (Tabs & Timeline) */
.tabs {
  max-width: 700px;
  margin: 0 auto;
}

.tabs__nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.tabs__btn {
  padding: 10px 30px;
  border: 2px solid var(--primary-light);
  background: transparent;
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.tabs__btn.active, .tabs__btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(26, 101, 158, 0.2);
}

.tabs__content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tabs__content.active {
  display: block;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  height: 100%;
  width: 2px;
  background: var(--primary-light);
  opacity: 0.3;
}

.timeline__item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

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

.timeline__time {
  width: 80px;
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
  padding-top: 5px;
}

.timeline__content {
  background: white;
  padding: 20px 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex-grow: 1;
  margin-left: 30px;
  position: relative;
}

.timeline__content::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -40px;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--primary-light);
}

.timeline__content h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.timeline__content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Income Section */
.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.income-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.income-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.income-card__header {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.income-card__body {
  padding: 30px 20px;
  text-align: center;
}

.income-card__pattern {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.income-card__price {
  color: var(--secondary-color);
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-en);
  line-height: 1.2;
  margin-bottom: 20px;
}

.income-card__price .small {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  font-family: var(--font-ja);
}

.income-card__price .yen {
  font-size: 1.2rem;
  font-family: var(--font-ja);
}

.income-card__note {
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: left;
  line-height: 1.6;
}

/* Jobs Section */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary-light);
  background: transparent;
  color: var(--primary-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-light);
  color: white;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.job-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  border-top: 5px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: fadeIn 0.5s ease-out;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  z-index: 20;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.job-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.job-meta {
  margin-bottom: 20px;
}

.job-meta-item {
  display: flex;
  margin-bottom: 12px;
  font-size: 0.95rem;
  border-bottom: 1px dashed #eee;
  padding-bottom: 8px;
}
.job-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.job-meta-item span:first-child {
  font-weight: 700;
  color: var(--primary-color);
  width: 80px;
  flex-shrink: 0;
}

.job-meta-item span:last-child {
  color: var(--text-main);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.job-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  margin-top: auto;
}

/* FAQ Section */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.accordion__header {
  width: 100%;
  padding: 20px;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.accordion__header::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s;
}

.accordion__header.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--bg-light);
}

.accordion__content p {
  padding: 20px;
  color: var(--text-light);
}

/* Entry Section */
.entry-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: white;
}

.entry__box {
  background: white;
  border-radius: var(--border-radius);
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-main);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.entry__title {
  text-align: center;
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.entry__desc {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
}

.form__group {
  margin-bottom: 25px;
}

.form__group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.required {
  background: #e74c3c;
  color: white;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 101, 158, 0.1);
}

.form__submit {
  margin-top: 40px;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 60px 0 30px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer__info h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer__info p {
  color: rgba(255,255,255,0.7);
}

.footer__company-info {
  text-align: left;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer__company-info p {
  margin-bottom: 12px;
}

.footer__company-info p:last-child {
  margin-bottom: 0;
}

.footer__company-info span {
  font-weight: 700;
  color: white;
  display: inline-block;
  margin-bottom: 3px;
}

.footer__company-info a {
  color: white;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.footer__company-info a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.footer__copyright {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Features Section */
.features-section {
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  padding: 50px 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card__number {
  font-size: 4rem;
  font-weight: 900;
  color: #f0f4f8;
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 1;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
  padding-bottom: 10px;
}

.feature-card__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
  position: relative;
  z-index: 2;
}

/* Interview Profile & QA (Modal) */
.interview-profile {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.profile-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.profile-list li {
  font-size: 0.95rem;
  color: var(--text-color);
}

.profile-list li span {
  font-weight: 700;
  color: var(--secondary-color);
  margin-right: 5px;
}

.interview-qa {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.qa-item .q-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
  line-height: 1.4;
}

.qa-item .a-catch {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.qa-item .a-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 0 !important;
}

.qa-item.message-to-you {
  background: #fff8e1;
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid #ffe082;
  margin-top: 10px;
}

.qa-item.message-to-you .q-title {
  color: #ff8f00;
  border-left-color: #ff8f00;
}

/* Interview Page Two-Column Layout */
.interview-page-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.interview-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.interview-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.interview-nav li {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  border-left: 4px solid transparent;
  overflow: hidden;
}

.interview-nav li a {
  display: block;
  padding: 18px 20px;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.interview-nav li:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-left-color: var(--primary-color);
}

.interview-nav li a::after {
  content: '〉';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-weight: bold;
  opacity: 0.4;
  transition: var(--transition);
}

.interview-nav li:hover a::after {
  opacity: 1;
  right: 15px;
  color: var(--primary-color);
}

.interview-nav li.active {
  border-left-color: var(--primary-color);
  background: var(--bg-light);
}

.interview-nav .nav-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.interview-nav .nav-title {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.05rem;
  line-height: 1.4;
}

.interview-content-area {
  flex-grow: 1;
  min-width: 0; /* Prevents flex flex-grow overflowing */
}

.interview-detail {
  display: none;
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  animation: fadeIn 0.4s ease forwards;
}

.interview-detail.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.interview-detail__header {
  margin-bottom: 30px;
  text-align: center;
}

.interview-detail__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--border-radius);
  margin: 0 auto 25px;
  object-fit: cover;
}

.interview-detail__title {
  font-size: 1.6rem;
  color: var(--secondary-color);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .header__entry { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  
  /* Header & Mobile Menu */
  .header__inner { padding: 15px 20px; }
  .header__toggle { display: block; }
  
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
  }
  
  .header__nav.active {
    opacity: 1;
    visibility: visible;
  }
  
  .header__nav ul {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .header__nav a {
    font-size: 1.2rem;
  }
  
  .hero__title { font-size: 5vw; line-height: 1.5; white-space: nowrap; }
  .hero__title-small { font-size: 3.5vw; white-space: normal; }
  .hero__lead { font-size: 1rem; }
  
  .message__content { padding: 30px 20px; }
  .message__content::before { font-size: 4rem; top: 10px; left: 15px; }
  
  .tabs__nav { flex-direction: column; gap: 10px; }
  .tabs__btn { width: 100%; }
  
  .timeline::before { left: 15px; }
  .timeline__item { display: block; padding-left: 45px; margin-bottom: 30px; }
  .timeline__time { position: static; width: auto; padding-top: 0; margin-bottom: 5px; font-size: 1.1rem; }
  .timeline__content { margin-left: 0; width: 100%; margin-top: 0; padding: 20px; }
  .timeline__content::before { left: -38px; top: 0px; }
  
  .interview-page-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .interview-sidebar {
    width: 100%;
    position: static;
  }
  
  .interview-detail {
    padding: 20px;
  }
  
  .interview-detail__title {
    font-size: 1.3rem;
  }
  
  .profile-list { grid-template-columns: 1fr; }
  
  .entry__box { padding: 30px 20px; }
  
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer__company-info { text-align: center; }

  /* Ensure grids do not overflow on small mobile screens */
  .interview__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   Hokkaido Map Section
   ========================================================================== */
.hokkaido-map-container {
    position: relative;
    max-width: 600px;
    margin: -60px auto -80px; /* Negative top and bottom margins to offset image whitespace */
    border-radius: var(--border-radius);
    overflow: hidden;
    background: transparent;
    z-index: 1;
}
.hokkaido-map-img {
    width: 100%;
    display: block;
    mix-blend-mode: multiply;
}
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}
.map-pin:hover {
    transform: translate(-50%, -65%);
    z-index: 10;
}
.pin-dot {
    width: 16px;
    height: 16px;
    background-color: #e74c3c;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.pin-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #e74c3c;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-out;
    z-index: -1;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}
.pin-label {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
    border: 1px solid var(--border-color);
    pointer-events: none;
    transition: var(--transition);
}
.map-pin:hover .pin-label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#load-more-btn:hover {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(26,101,158,0.2) !important;
  transform: translateY(-2px);
}

/* Company Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-top: 40px;
}

.company-table th,
.company-table td {
  padding: 20px 25px;
  border-bottom: 1px dashed var(--border-color);
  text-align: left;
}

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

.company-table th {
  background: var(--bg-light);
  width: 30%;
  font-weight: 700;
  color: var(--secondary-color);
  white-space: nowrap;
}

.company-table td {
  color: var(--text-main);
  line-height: 1.6;
}

.company-table a {
  color: var(--primary-color);
  text-decoration: underline;
}

.company-table a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table th {
    padding-bottom: 5px;
    border-bottom: none;
  }
  .company-table td {
    padding-top: 5px;
    padding-bottom: 25px;
  }
}
