/* ============================================
   LULL 成果報酬採用LP - Design System & Styles
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --navy: #0B1A3D;
  --blue: #2F61FF;
  --blue-hover: #1a4fea;
  --support-blue: #4D96FF;
  --light-blue: #E0F2FF;
  --text: #111111;
  --text-light: #333333;
  --white: #FFFFFF;
  --bg-light: #F8FBFF;
  --bg-black: #111111;
  --bg-black-light: #333333;
  --border: #E0E6ED;
  --shadow: rgba(11, 26, 61, 0.08);
  --shadow-lg: rgba(11, 26, 61, 0.12);
  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --section-padding: 100px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.pc-only { display: inline; }
.sp-only { display: none; }

/* --- Sections --- */
.section {
  padding: var(--section-padding) 0;
  overflow-x: hidden;
}

.section--light {
  background: var(--light-blue);
}

.section--no-padding {
  padding: 0;
}

.section__header {
  text-align: left;
  margin-bottom: 30px;
}

.section__label {
  display: inline-block;
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background-image: linear-gradient(90deg, #45CBF6 0%, #F16395 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
}

.section__label::after {
  display: none;
}

.section__label--light {
  background-image: linear-gradient(90deg, #45CBF6 0%, #F16395 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.section__label--light::after { display: none; }

.section__title-ja {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

.section__title-ja--light { color: var(--white); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 48px;
  border-radius: 60px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--text);
}

.btn--primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 97, 255, 0.3);
}

.btn--large {
  padding: 18px 60px;
  font-size: 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(11, 26, 61, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 70px;
  max-width: 1300px;
  margin: 0 auto;
}

.header__logo-img {
  height: 30px;
}

.header__nav {
  margin-left: auto;
  margin-right: 24px;
}

.header__nav-list {
  display: flex;
  gap: 50px;
}

.header__nav-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}

.header__nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}

.header__nav-list li a:hover::after {
  width: 100%;
}

.header__nav-ja {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.header__nav-en {
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header__cta {
  display: flex;
  gap: 10px;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 50px;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.header__btn--outline {
  color: var(--white);
  background: linear-gradient(90deg, #245E96, #329BBD);
}

.header__btn--outline:hover {
  background: linear-gradient(90deg, #1d5080, #2a8aaa);
}

.header__btn--filled {
  background: linear-gradient(90deg, #245E96, #329BBD);
  color: var(--white);
}

.header__btn--filled:hover {
  background: linear-gradient(90deg, #1d5080, #2a8aaa);
  border-color: transparent;
}

.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 110;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 10px; }
.header__hamburger span:nth-child(3) { top: 20px; }

.header__hamburger.is-active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.header__hamburger.is-active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ============================================
   MV (Hero Section)
   ============================================ */
.mv {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/fv.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.mv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 26, 61, 0.5) 0%, rgba(47, 97, 255, 0.2) 100%);
  z-index: 1;
}

.mv__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 40px;
  padding-bottom: 120px;
  max-width: 90%;
  width: 100%;
}

.mv__title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.3s forwards;
}

.mv__highlight {
  color: #FFD93D;
}

.mv__sub {
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.5s forwards;
}

.mv__features {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 3;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.7s forwards;
}

.mv__feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  background: #000;
  border-radius: 50px;
}

.mv__feature-icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.mv__feature-text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}


/* ============================================
   VISION Section
   ============================================ */
.vision {
  background: linear-gradient(90deg, #FFFFFF 0%, #DEDFD6 100%);
  overflow: hidden;
}

.vision .section__label {
  background-image: linear-gradient(90deg, #45CBF6 0%, #F16395 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

.vision__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-black);
  margin-bottom: 24px;
}

.vision__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
}

.vision__text {
  padding: 40px 50px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision__desc {
  font-size: 0.9rem;
  line-height: 2.3;
  color: var(--text-light);
  margin-bottom: 16px;
}

.vision__image {
  overflow: hidden;
}

.vision__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  border-radius: 30px;
}

/* ============================================
   SLIDER Section (Infinite Scroll)
   ============================================ */
.slider {
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-black-light);
}

.slider__track {
  display: flex;
  gap: 16px;
  animation: sliderScroll 30s linear infinite;
  width: max-content;
}

.slider__item {
  flex-shrink: 0;
  width: 344px;
  height: 390px;
  border-radius: 12px;
  overflow: hidden;
}

.slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes sliderScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-280px * 6 - 16px * 6)); }
}

/* ============================================
   WORKS Section (Zigzag Layout)
   ============================================ */
.works {
  background: var(--bg-black);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.works__header {
  padding: var(--section-padding) 0 60px;
  background: var(--white);
}

.works__intro {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 2;
  margin-top: 16px;
}

/* --- Zigzag Rows --- */
.works__row {
  padding: 60px 0;
}

.works__row--dark {
  background: #1a1a1a;
}

.works__row--light {
  background: #2a2a2a;
}

.works__row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Row 2: text left, image right */
.works__row-inner--reverse {
  direction: rtl;
}
.works__row-inner--reverse > * {
  direction: ltr;
}

.works__row-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.works__row-image img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

.works__row-text {
  color: var(--white);
}

.works__row-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.works__row-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  background: linear-gradient(90deg, #45CBF6 0%, #F16395 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.works__row-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.works__row-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
}

/* --- Slide-in Animations --- */
.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.is-visible,
.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   MESSAGE / QUOTE Section
   ============================================ */
.message {
  overflow: visible;
  position: relative;
  z-index: 10;
}

.message__inner {
  position: relative;
  top: 80px;
  min-height: 600px;
  overflow: hidden;
  width: 75vw;
  margin-left: auto;
  border-radius: 24px 0 0 24px;
}

.message__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
}

.message__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.message__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 120px 0 0 0;
}

.message__content {
  max-width: 700px;
}

.message__quote {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

.message__line {
  display: block;
  background: linear-gradient(90deg, #245E96, #329BBD);
  padding: 20px 24px;
  margin-bottom: 4px;
  border-radius: 2px;
  text-align: left;
}

.message__sub {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #245E96, #329BBD);
  padding: 20px 24px;
  margin-top: 4px;
  border-radius: 2px;
  text-align: left;
}

.message__em {
  color: #FFD93D;
  font-weight: 900;
}

/* --- Message Slide-in Animation --- */
.message-slide-in {
  opacity: 0;
  transform: translateX(120px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.message-slide-in.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger effect for text lines */
.message__stagger {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.message-slide-in.is-visible .message__stagger {
  opacity: 1;
  transform: translateX(0);
}

.message-slide-in.is-visible .message__stagger:nth-child(1) {
  transition-delay: 0.8s;
}
.message-slide-in.is-visible .message__stagger:nth-child(2) {
  transition-delay: 1.2s;
}
.message-slide-in.is-visible .message__content > .message__stagger {
  transition-delay: 1.6s;
}

/* ============================================
   PEOPLE Section
   ============================================ */
.people {
  background: #E2E3DD;
}

.people__lead {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 40px;
}

.people__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.people__card {
  background: transparent;
  transition: all var(--transition);
}

.people__card-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.people__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.people__card:hover .people__card-image img {
  transform: scale(1.03);
}

/* Career label overlaid at bottom of photo */
.people__card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.people__card-career {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 2px;
  font-weight: 500;
}

.people__card-career span {
  font-weight: 700;
}

.people__card-name {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-align: right;
}

.people__card-text {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.9;
  margin-top: 14px;
}

/* ============================================
   WORK STYLE Section (v2 - Full-width Grid)
   ============================================ */
.workstyle-v2 {
  padding: 0;
  overflow: hidden;
}

.workstyle-v2__header {
  padding: var(--section-padding) 0 50px;
  background: var(--white);
}

.workstyle-v2__lead {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-top: 16px;
}

.workstyle-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.workstyle-v2__item {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.workstyle-v2__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.workstyle-v2__item:hover > img {
  transform: scale(1.05);
}

.workstyle-v2__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.workstyle-v2__content {
  position: relative;
  z-index: 3;
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.workstyle-v2__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  margin-bottom: 8px;
}

.workstyle-v2__title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.workstyle-v2__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
}

.workstyle-v2__content--right {
  align-items: flex-end;
  text-align: right;
}

/* ============================================
   FLOW Section (v2)
   ============================================ */
.flow-v2 {
  background: var(--white);
}

.flow-v2__lead {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-top: 16px;
  margin-bottom: 50px;
}

.flow-v2__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.flow-v2__step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 16px;
}

.flow-v2__number {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: #000;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.flow-v2__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-v2__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.flow-v2__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.flow-v2__desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
}

.flow-v2__arrow {
  display: flex;
  align-items: center;
  padding-top: 55px;
  flex-shrink: 0;
}

/* ============================================
   INFORMATION Section (v2 - 募集要項)
   ============================================ */
.info-v2 {
  background: #E2E3DD;
}

.info-v2__lead {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 2;
  margin-top: 16px;
  margin-bottom: 50px;
}

.info-v2__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

.info-v2__col {
  position: relative;
}

/* 中央の垂直区切り線 */
.info-v2__columns > .info-v2__col:first-child {
  padding-right: 30px;
}

.info-v2__columns > .info-v2__col:last-child {
  padding-left: 30px;
}

.info-v2__row {
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-v2__label {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.info-v2__detail {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.9;
}

.info-v2__detail strong {
  font-weight: 700;
  color: var(--text);
}

/* 企業情報ブロック */
.info-v2__company {
  padding: 28px 0;
}

.info-v2__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.info-v2__office {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.9;
}

.info-v2__office strong {
  font-weight: 700;
  color: var(--text);
}

/* ============================================
   ENTRY Form Section (v2 - Figma Design)
   ============================================ */
.entry-v2 {
  background: #FFFFFF;
  padding: 100px 0 60px;
}

.entry-v2__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.entry-v2__header {
  text-align: left;
  margin-bottom: 16px;
}

.entry-v2__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

.entry-v2__lead {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 50px;
}

/* Form container (grey box) */
.entry-v2__form-container {
  background: #F9F9F9;
  border-radius: 24px;
  padding: 50px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.entry-v2__form-guide {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Form groups */
.entry-v2__group {
  margin-bottom: 28px;
}

/* Labels */
.entry-v2__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.entry-v2__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 3px 12px;
  border-radius: 20px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.entry-v2__badge--required {
  background: #F16395;
}

.entry-v2__badge--optional {
  background: #999999;
}

.entry-v2__label-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* Inputs */
.entry-v2__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.entry-v2__input:focus {
  border-color: #45CBF6;
  box-shadow: 0 0 0 3px rgba(69, 203, 246, 0.12);
}

.entry-v2__input::placeholder {
  color: #B0B8C4;
}

/* Tel row (3-split) */
.entry-v2__tel-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.entry-v2__input--tel {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.entry-v2__tel-sep {
  flex-shrink: 0;
  padding: 0 12px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1;
}

/* Error messages */
.entry-v2__error {
  display: block;
  font-size: 0.75rem;
  color: #E53E3E;
  margin-top: 4px;
  min-height: 1em;
}

/* Textarea */
.entry-v2__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #FFFFFF;
  outline: none;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.entry-v2__textarea:focus {
  border-color: #45CBF6;
  box-shadow: 0 0 0 3px rgba(69, 203, 246, 0.12);
}

.entry-v2__textarea::placeholder {
  color: #B0B8C4;
}

/* File upload */
.entry-v2__file-section {
  margin-bottom: 16px;
}

.entry-v2__file-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.entry-v2__file-row {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  overflow: hidden;
}

.entry-v2__file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #EEEEEE;
  border-right: 1px solid #DDDDDD;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-v2__file-btn:hover {
  background: #E0E0E0;
}

.entry-v2__file-input {
  display: none;
}

.entry-v2__file-name {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #999999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-v2__file-notes {
  margin-top: 12px;
  list-style: none;
  padding: 0;
}

.entry-v2__file-notes li {
  font-size: 0.75rem;
  color: #777777;
  line-height: 1.8;
}

/* Privacy policy */
.entry-v2__privacy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 32px;
  margin-bottom: 24px;
}

.entry-v2__privacy-link {
  color: #45CBF6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.entry-v2__privacy-link:hover {
  color: #F16395;
}

/* Submit button */
.entry-v2__submit {
  text-align: center;
}

.entry-v2__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  padding: 18px 60px;
  background: linear-gradient(90deg, #245E96 0%, #45CBF6 100%);
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.entry-v2__submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(36, 94, 150, 0.35);
  opacity: 0.9;
}

.entry-v2__submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(36, 94, 150, 0.25);
}

/* Copyright inside Entry section */
.entry-v2__copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #999999;
  margin-top: 50px;
  letter-spacing: 0.03em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo-img {
  height: 28px;
  filter: brightness(0) invert(1);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Scroll-triggered fade in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FAQ Section (v2)
   ============================================ */
.faq-v2 {
  background: var(--bg-light); /* light blue background */
  overflow: hidden;
}

.faq-v2__lead {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-top: 16px;
  margin-bottom: 50px;
}

.faq-v2__items {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-v2__item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-v2__item:hover {
  box-shadow: 0 8px 25px var(--shadow-lg);
}

.faq-v2__question {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.faq-v2__question:hover {
  background: #FAFCFF;
}

.faq-v2__icon-q {
  font-size: 1.5rem;
  font-weight: 900;
  color: #F16395; /* pink accent */
  margin-right: 16px;
  line-height: 1;
}

.faq-v2__q-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  padding-right: 40px;
}

/* Plus/Minus icon */
.faq-v2__toggle-icon {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

.faq-v2__toggle-icon::before,
.faq-v2__toggle-icon::after {
  content: '';
  position: absolute;
  background: #A0AEC0;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease;
}

.faq-v2__toggle-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 2px;
}

.faq-v2__toggle-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Active states */
.faq-v2__item.is-active .faq-v2__question {
  background: #FAFCFF;
}

.faq-v2__item.is-active .faq-v2__toggle-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-v2__item.is-active .faq-v2__toggle-icon::before {
  background: var(--blue);
}

.faq-v2__answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-v2__item.is-active .faq-v2__answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-v2__answer {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 0 32px;
  opacity: 0;
  transition: opacity 0.4s ease, padding 0.4s ease;
}

.faq-v2__item.is-active .faq-v2__answer {
  padding: 20px 32px 32px;
  opacity: 1;
}

.faq-v2__icon-a {
  font-size: 1.5rem;
  font-weight: 900;
  color: #45CBF6; /* blue accent */
  margin-right: 16px;
  line-height: 1;
  margin-top: 2px;
}

.faq-v2__a-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  flex: 1;
}

.faq-v2__a-text span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

/* ============================================
   GALLERY Section (v2)
   ============================================ */
.gallery-v2 {
  background: #F3F6F9; /* A slightly different, elegant light grey/blue */
  padding: 80px 0;
  overflow: hidden;
}

.gallery-v2 .section__title-ja {
  color: var(--navy);
}

.gallery-v2__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
}

.gallery-v2__grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* Left side for photo01/02 */
.gallery-v2__left {
  flex: 2;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.gallery-v2__left img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-v2__left img.is-active {
  opacity: 1;
}

/* Right side for photo03-10 grid */
.gallery-v2__right {
  flex: 1;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.gallery-v2__sub-item {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.gallery-v2__sub-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.gallery-v2__sub-item img.is-active {
  opacity: 1;
}

/* ============================================
   RESPONSIVE - Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 70px;
  }

  .container { padding: 0 24px; }

  /* Header */
  .header__nav-list { gap: 24px; }
  .header__btn { padding: 10px 18px; font-size: 0.8rem; }

  .mv__title { font-size: 2.2rem; }
  .mv__feature { padding: 14px 24px; }

  .vision__text { padding: 30px 30px 30px 24px; }

  .works__row-inner { gap: 24px; padding: 0 24px; }
  .works__row-image img { max-width: 280px; }

  .people__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .flow-v2__steps { flex-wrap: wrap; gap: 16px; }
  .flow-v2__arrow { display: none; }
  .flow__step { flex: 0 0 calc(50% - 8px); max-width: none; }
}

/* ============================================
   RESPONSIVE - Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
  }

  .pc-only { display: none; }
  .sp-only { display: inline; }
  .container { padding: 0 16px; }

  /* Header */
  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 61, 0.97);
    z-index: 105;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 240px);
    overflow-y: auto;
    margin-right: 0;
  }
  .header__nav.is-open { display: flex; }
  .header__nav-list { flex-direction: column; gap: 24px; text-align: center; }
  .header__cta { display: none; }
  .header__cta.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 20px) + 40px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 106;
    gap: 16px;
    width: 85%;
    max-width: 300px;
  }
  .header__cta.is-open .header__btn {
    width: 100%;
    justify-content: center;
    flex-shrink: 0;
  }
  .header__hamburger { 
    display: block; 
    margin-left: auto; 
  }
  .header:has(.header__nav.is-open) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* MV */
  .mv { min-height: 100svh; }
  .mv__content { padding: 0 20px; padding-bottom: 100px; }
  .mv__title { font-size: 1.5rem; }
  .mv__sub { font-size: 0.85rem; }
  .mv__features { gap: 10px; flex-wrap: wrap; bottom: 16px; }
  .mv__feature { padding: 10px 16px; gap: 8px; }
  .mv__feature-icon { width: 22px; height: 22px; }
  .mv__feature-text { font-size: 0.65rem; }

  /* Section headers */
  .section__header { margin-bottom: 30px; }
  .section__label { font-size: 10vw; }
  .section__title-ja { font-size: 6vw; }

  /* Vision */
  .vision__content { grid-template-columns: 1fr; }
  .vision__text { padding: 0 16px 24px; }
  .vision__label { font-size: 2rem; }
  .vision__image { width: 90%; margin: 0 auto; }
  .vision__image img { min-height: 250px; }

  /* Slider */
  .slider__item { width: 200px; height: 140px; }
  @keyframes sliderScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6 - 16px * 6)); }
  }

  /* Works */
  .works__row { padding: 40px 0; }
  .works__row-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
  .works__row-inner--reverse { direction: ltr; }
  .works__row-image img { max-width: 240px; }
  .works__row-title { font-size: 1.25rem; }
  .works__row-lead { font-size: 1rem; }
  .works__row-desc { font-size: 0.85rem; }
  .slide-in-right { transform: translateX(40px); }
  .slide-in-left { transform: translateX(-40px); }

  /* Message */
  .message__inner { min-height: 360px; width: 100%; border-radius: 0; }
  .message__image { border-radius: 0; }
  .message__overlay { min-height: 360px; padding: 90px 20px 0; }
  .message__quote { font-size: 1.2rem; }
  .message__line { padding: 10px 16px; }
  .message__sub { font-size: 1.2rem; padding: 10px 16px; white-space: normal; }
  .message-slide-in { transform: translateX(60px); }

  /* People */
  .people { padding-top: 80px; }
  .people__grid { grid-template-columns: 1fr; gap: 24px; }
  .people__card-image { aspect-ratio: 4 / 3; border-radius: 26px; }

  /* Work Style v2 */
  .workstyle-v2__grid { grid-template-columns: 1fr; }
  .workstyle-v2__item { min-height: 300px; }
  .workstyle-v2__content { padding: 30px 20px; }
  .workstyle-v2__number { font-size: 2rem; }
  .workstyle-v2__title { font-size: 1.1rem; }

  /* Flow v2 */
  .flow-v2__steps { flex-direction: column; align-items: center; }
  .flow-v2__step { flex: none; max-width: 300px; width: 100%; margin-bottom: 16px; }
  .flow-v2__arrow { display: none; }

  /* Gallery v2 */
  .gallery-v2 { padding: 20px 0; }
  .gallery-v2__inner { padding: 0 16px; }
  .gallery-v2__grid {
    flex-direction: column;
    height: auto;
  }
  .gallery-v2__left {
    height: auto;
    flex: none;
    width: 100%;
    aspect-ratio: 2 / 1;
  }
  .gallery-v2__right {
    height: auto; 
    aspect-ratio: 1 / 1; 
    flex: none;
    width: 100%;
    gap: 12px;
  }

  /* FAQ v2 */
  .faq-v2__lead { margin-top: 10px; margin-bottom: 30px; }
  .faq-v2__question { padding: 16px 20px; }
  .faq-v2__icon-q { font-size: 1.25rem; margin-right: 12px; }
  .faq-v2__q-text { font-size: 0.95rem; }
  .faq-v2__toggle-icon { right: 20px; width: 14px; height: 14px; }
  .faq-v2__answer { padding: 0 20px; }
  .faq-v2__item.is-active .faq-v2__answer { padding: 16px 20px 24px; }
  .faq-v2__icon-a { font-size: 1.25rem; margin-right: 12px; }
  .faq-v2__a-text { font-size: 0.85rem; }

  /* Info v2 */
  .info-v2__columns { grid-template-columns: 1fr; gap: 0; }
  .info-v2__columns > .info-v2__col:first-child {
    border-right: none;
    padding-right: 0;
  }
  .info-v2__columns > .info-v2__col:last-child { padding-left: 0; }
  .info-v2__offices { grid-template-columns: 1fr; }

  /* Entry v2 */
  .entry-v2__form-container { padding: 36px 20px; }
  .entry-v2__inner { padding: 0 16px; }
  .entry-v2 { padding: 60px 0 40px; }
  .entry-v2__lead br { display: none; }
  .entry-v2__tel-sep { padding: 0 6px; font-size: 0.95rem; }
  .entry-v2__submit-btn { min-width: 0; width: 100%; padding: 16px 24px; font-size: 0.9rem; }
  .entry-v2__file-btn { padding: 10px 16px; font-size: 0.8rem; }
  .entry-v2__file-name { font-size: 0.8rem; padding: 10px 12px; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .mv__title { font-size: 1.25rem; }
}

