/*
  EyeBC Recruitment / Static mobile-first fixed-side layout
  Dreamweaver editing guide:
  1. Brand tokens and global typography
  2. Mobile shell (header, drawer, fixed CTA)
  3. Shared components and top-page content
  4. Detail-page content
  5. Desktop fixed-side override (900px+)
*/
:root {
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --content-width: 430px;
  --header-height: 64px;
  --mobile-cta-height: 76px;
  --side-padding: clamp(24px, 5vw, 96px);
  --page-padding: 24px;
  --surface: #ffffff;
  --outer: #f6f8fc;
  --tint: #edf1fa;
  --accent: #384e8d;
  --accent-deep: #263b78;
  --brand: #384e8d;
  --dark: #263451;
  --ink: #36415c;
  --ink-deep: #17254a;
  --muted: #65708a;
  --line: #384e8d;
  --soft-radius: 10px;
  --button-radius: 6px;
  --shadow: 0 20px 50px rgb(23 37 74 / 14%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base and accessibility */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--outer);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.75;
}
body.is-menu-open {
  overflow: hidden;
}
body.is-menu-open .mobile-fixed-cta {
  opacity: 0;
  pointer-events: none;
}
a {
  color: inherit;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.4;
}
h2 {
  font-size: clamp(1.7rem, 7vw, 2.35rem);
  line-height: 1.48;
}
h3 {
  font-size: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid rgb(56 78 141 / 70%);
  outline-offset: 3px;
}

/* Mobile shell: sticky header, drawer, overlay, and bottom CTA */
.mobile-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  border-bottom: 1pt solid var(--line);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(12px);
}
.mobile-header__brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.menu-button,
.menu-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-content: center;
  border: 1pt solid var(--line);
  border-radius: var(--button-radius);
  background: #fff;
}
.menu-button {
  gap: 5px;
}
.menu-button__line {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--accent);
  transition:
    transform 200ms var(--ease-out),
    opacity 200ms var(--ease-out);
}
body.is-menu-open .menu-button__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.is-menu-open .menu-button__line:nth-child(2) {
  opacity: 0;
}
body.is-menu-open .menu-button__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.menu-overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgb(23 37 74 / 18%);
  opacity: 0;
  transition: opacity 250ms var(--ease-out);
}
.menu-overlay.is-visible {
  opacity: 1;
}
.mobile-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: flex;
  width: min(86vw, 360px);
  height: 100dvh;
  padding: 20px 24px 32px;
  overflow-y: auto;
  flex-direction: column;
  border-left: 1pt solid var(--line);
  background: var(--outer);
  box-shadow: var(--shadow);
  transform: translateX(101%);
  transition: transform 250ms var(--ease-out);
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer__header {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-drawer__title,
.eyebrow {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.menu-close {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}
.mobile-drawer__nav,
.side-nav {
  display: grid;
  gap: 0;
}
.mobile-drawer__nav a,
.side-nav a {
  padding: 14px 0;
  border-bottom: 1pt solid rgb(56 78 141 / 34%);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-decoration: none;
}
.mobile-drawer .button {
  margin-top: 32px;
}
.mobile-fixed-cta {
  position: fixed;
  z-index: 20;
  right: var(--page-padding);
  bottom: max(12px, env(safe-area-inset-bottom));
  left: var(--page-padding);
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1pt solid var(--line);
  border-radius: var(--button-radius);
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition:
    background-color 160ms var(--ease-out),
    opacity 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}
.mobile-fixed-cta:hover {
  background: var(--accent-deep);
}
.mobile-fixed-cta:active {
  transform: scale(0.97);
}

/* Shared central canvas and components */
.site-main {
  width: 100%;
  min-height: calc(100dvh - var(--header-height));
  padding-bottom: var(--mobile-cta-height);
  background: var(--surface);
}
.section {
  position: relative;
  padding: 72px var(--page-padding);
}
.section > :first-child {
  margin-top: 0;
}
.section > :last-child {
  margin-bottom: 0;
}
.section h1,
.section h2,
.faq-hero h1 {
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.015em;
}
.section--tint {
  background: var(--tint);
}
.section--dark {
  background: var(--dark);
  color: #fff;
}
.section--dark h2,
.section--apply h2 {
  color: #fff;
}
.section--dark .eyebrow {
  color: #b8c6e6;
}
.section--apply {
  background: var(--accent);
  color: #fff;
}
.section--apply .eyebrow {
  color: #eaf0fb;
}
.section--apply p {
  color: #fff;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1pt solid transparent;
  border-radius: var(--button-radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}
.button:active {
  transform: scale(0.97);
}
.button--primary,
.button--line {
  background: var(--accent);
  color: #fff;
}
.button--line {
  width: 138px;
  margin-top: 22px;
}
.button--primary:hover,
.button--line:hover,
.button--line:focus-visible {
  border-color: var(--line);
  background: #fff;
  color: var(--accent);
}
.button--light {
  margin-top: 14px;
  background: #fff;
  color: var(--accent);
}

/* Top page: hero, concept slider, recruitment information, shops */
.hero {
  display: flex;
  min-height: min(660px, calc(100dvh - var(--header-height)));
  padding-top: 47px;
  padding-bottom: calc(var(--mobile-cta-height) + 44px);
  flex-direction: column;
  align-items: stretch;
}
.hero__image-wrap {
  overflow: hidden;
  margin: 0 calc(var(--page-padding) * -1);
}
.hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 500 / 480;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84);
}
.opening-recruitment {
  margin: 26px 0 0;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}
.hero__brand-lockup {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 26px auto 0;
}
.hero__brand-lockup img {
  width: min(124px, 42%);
  height: auto;
}
.hero__brand-lockup p {
  margin: 0;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero__headline {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(32px, 7vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}
.hero__copy {
  margin: 22px auto 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 2;
  text-align: center;
}
.placeholder-note {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}
.employment-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.employment-button {
  display: inline-flex;
  width: min(166px, calc((100vw - 60px) / 2));
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1pt solid var(--brand);
  border-radius: var(--button-radius);
  background: #fff;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition:
    background-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}
.employment-button:hover,
.employment-button:focus-visible {
  background: var(--brand);
  color: #fff;
}
.employment-button:active {
  transform: scale(0.97);
}
.concept-slider {
  overflow: hidden;
  background: #fff;
}
.concept-slider__track {
  display: flex;
  width: max-content;
  animation: concept-slider-loop 28s linear infinite;
  will-change: transform;
}
.concept-slider__item {
  width: 280px;
  height: 188px;
  margin: 0 10px 0 0;
  flex: 0 0 auto;
}
.concept-slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes concept-slider-loop {
  to {
    transform: translateX(-50%);
  }
}
.section--intro h2 {
  margin: 16px 0 22px;
  font-size: clamp(1.82rem, 6.7vw, 2.2rem);
  line-height: 1.34;
}
.section--intro h2 span {
  display: block;
  white-space: nowrap;
}
#concept .eyebrow,
#message .eyebrow {
  text-align: left;
}
#concept h2,
#message h2,
#concept .lead,
#message .lead {
  text-align: center;
}
.lead {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 16px;
  line-height: 2;
}
#features .feature-list {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1pt solid rgb(56 78 141 / 42%);
  border-radius: var(--soft-radius);
  background: #fff;
  box-shadow: 6px 6px 0 var(--brand);
}
#features .feature-card {
  padding: 25px 20px;
  border: 0;
  background: transparent;
}
#features .feature-card + .feature-card {
  border-top: 1pt dashed rgb(56 78 141 / 48%);
}
.feature-card span,
.step-list span,
.recruit-tabs span {
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 0.15em;
}
.feature-card h3 {
  margin: 15px 0 10px;
  color: var(--ink-deep);
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1pt solid rgb(56 78 141 / 70%);
}
.step-list h3 {
  margin: 0 0 7px;
}
.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
#benefits .benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1pt solid rgb(255 255 255 / 25%);
}
#benefits .benefit-grid div {
  min-height: 92px;
  padding: 18px 0;
  border-right: 0;
  border-bottom: 1pt solid rgb(255 255 255 / 25%);
}
.benefit-grid strong {
  display: block;
  color: #b8c6e6;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.benefit-grid span {
  display: block;
  margin-top: 19px;
  font-size: 16px;
}
.recruit-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.recruit-tab {
  min-height: 50px;
  padding: 7px 9px;
  border: 1pt solid var(--line);
  border-radius: var(--button-radius);
  background: #fff;
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  transition:
    background-color 160ms var(--ease-out),
    color 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}
.recruit-tab[aria-selected="true"],
.recruit-tab:hover,
.recruit-tab:focus-visible {
  background: var(--accent);
  color: #fff;
}
.recruit-tab[aria-selected="true"] {
  font-weight: 700;
}
.recruit-tab:active {
  transform: scale(0.97);
}
.recruit-panel[hidden] {
  display: none;
}
.requirements-list {
  margin: 0;
  border-top: 1pt solid var(--line);
}
.requirements-list div {
  padding: 18px 0;
  border-bottom: 1pt solid rgb(56 78 141 / 70%);
}
.requirements-list dt {
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 0.12em;
}
.requirements-list dd {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.8;
}
#shops {
  counter-reset: shop;
}
.shop-card {
  display: grid;
  overflow: hidden;
  margin-top: 18px;
  border: 1pt solid rgb(56 78 141 / 44%);
  border-radius: var(--soft-radius);
}
.shop-card__copy {
  padding: 24px 22px;
}
.shop-card__copy::before {
  display: block;
  margin-bottom: 13px;
  color: var(--brand);
  content: "SHOP " counter(shop, decimal-leading-zero);
  counter-increment: shop;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.shop-card h3 {
  margin: 0 0 12px;
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.shop-card h3 small {
  color: var(--muted);
  font-size: 16px;
}
.shop-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.shop-card p:first-of-type {
  padding-left: 10px;
  border-left: 2px solid var(--brand);
  color: var(--ink);
}
.shop-map {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}
.section--faq-link {
  display: block;
  border-top: 1pt solid rgb(56 78 141 / 30%);
  border-bottom: 1pt solid rgb(56 78 141 / 30%);
}
.faq-page-button {
  display: inline-flex;
  width: min(100%, 310px);
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1pt solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
}
.faq-page-button:hover,
.faq-page-button:focus-visible {
  background: #fff;
  color: var(--accent);
}
.detail-page-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.detail-page-link span {
  font-size: 20px;
  transition: transform 160ms var(--ease-out);
}
.detail-page-link:hover span,
.detail-page-link:focus-visible span {
  transform: translateX(4px);
}
.site-footer {
  padding: 24px var(--page-padding) 38px;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}
.site-footer p {
  margin: 0;
}

/* Detail pages: FAQ, job postings, and shops */
.faq-hero,
.job-hero,
.shop-hero {
  background: var(--tint);
}
.faq-hero {
  border-bottom: 1pt solid rgb(56 78 141 / 30%);
}
.faq-hero h1,
.job-hero h1,
.shop-hero h1 {
  margin-bottom: 24px;
}
.faq-list details {
  padding: 18px 0;
  border-bottom: 1pt solid rgb(56 78 141 / 70%);
}
.faq-list summary {
  list-style: none;
  color: var(--ink-deep);
  cursor: pointer;
  font-size: 16px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  float: right;
  color: var(--brand);
  content: "+";
  font-size: 18px;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  margin: 14px 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.faq-back,
.subpage-back {
  display: inline-flex;
  margin: 16px 0 24px;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.subpage-back::before {
  margin-right: 8px;
  content: "←";
}
.detail-list {
  margin: 0;
  border-top: 1pt solid var(--line);
}
.detail-list div {
  padding: 22px 0;
  border-bottom: 1pt solid rgb(56 78 141 / 70%);
}
.detail-list dt {
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.detail-list dd {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.9;
}
.content-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1pt solid rgb(56 78 141 / 35%);
}
.content-list li {
  position: relative;
  padding: 22px 0 22px 28px;
  border-bottom: 1pt dashed rgb(56 78 141 / 48%);
  font-size: 16px;
  line-height: 1.9;
}
.content-list li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  content: "—";
}
.subpage-actions {
  display: grid;
  gap: 10px;
}
.shop-detail-map {
  display: block;
  width: 100%;
  height: 280px;
  margin-top: 28px;
  border: 0;
}

/* Accessibility baseline: 操作・補助ラベルを含む全ての文字を16px以上で表示する。 */
.mobile-drawer__title,
.eyebrow,
.mobile-drawer__nav a,
.side-nav a,
.opening-recruitment,
.hero__copy,
.placeholder-note,
.employment-button,
.lead,
.feature-card span,
.feature-card p,
.step-list span,
.step-list p,
.benefit-grid strong,
.benefit-grid span,
.recruit-tabs span,
.requirements-list dt,
.requirements-list dd,
.shop-card h3 small,
.shop-card p,
.text-link,
.section--apply p,
.button,
.site-footer,
.mobile-fixed-cta,
.faq-back,
.faq-list summary,
.faq-list details p,
.side-panel__tagline,
.side-panel__open,
.side-panel__note,
.recruit-tab,
#shops .shop-card__copy::before,
.faq-page-button {
  font-size: 16px;
}

/* Desktop/tablet: fixed sides and a central 430px scrolling canvas */
.side-panel {
  display: none;
}
@media (min-width: 900px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
  body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--content-width) minmax(0, 1fr);
  }
  .mobile-header,
  .mobile-drawer,
  .menu-overlay,
  .mobile-fixed-cta {
    display: none !important;
  }
  .side-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    display: flex;
    width: calc((100vw - var(--content-width)) / 2);
    padding: 56px var(--side-padding);
    flex-direction: column;
    justify-content: center;
  }
  .side-panel--left {
    left: 0;
    align-items: center;
    background: var(--tint);
    color: var(--accent);
    text-align: center;
  }
  .side-panel--right {
    right: 0;
    align-items: flex-start;
    background: var(--outer);
    color: var(--ink);
  }
  .side-panel__brand-group {
    display: grid;
    justify-items: center;
    gap: 11px;
  }
  .side-panel__logo {
    width: 120px;
    height: auto;
  }
  .side-panel__tagline,
  .side-panel__open,
  .side-panel__note {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.6;
  }
  .side-panel__tagline,
  .side-panel__note {
    color: var(--ink);
  }
  .side-panel__open {
    margin-top: 29px;
  }
  .side-panel__note {
    margin-top: 38px;
  }
  .side-nav {
    width: min(100%, 210px);
  }
  .side-nav a {
    padding: 7px 0;
    border-bottom: 0;
  }
  .side-nav a:hover {
    color: var(--accent);
  }
  .site-main {
    grid-column: 2;
    min-height: 0;
    height: 100dvh;
    padding-bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-inline: 1pt solid var(--line);
    box-shadow: var(--shadow);
  }
  .section {
    padding: 76px 36px;
  }
  .hero {
    min-height: 680px;
    padding-top: 47px;
    padding-bottom: 76px;
  }
  .hero__image-wrap {
    margin: 0 -36px;
  }
  .hero__image {
    height: 413px;
    aspect-ratio: auto;
  }
  .concept-slider__item {
    width: 300px;
    height: 202px;
  }
  #features .feature-card {
    padding: 25px 20px;
  }
  .shop-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .shop-map {
    height: 100%;
    min-height: 190px;
  }
  .faq-main .section {
    padding: 76px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
