:root {
  --navy: #0b2447;
  --navy-light: #173d70;
  --teal: #087f72;
  --teal-light: #e8f7f4;
  --gold: #c9a84c;
  --ink: #182033;
  --gray: #5e6673;
  --line: #dfe5ec;
  --paper: #f6f8fb;
  --white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: "Noto Sans JP", sans-serif; color: var(--ink); line-height: 1.85; background: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 40px, 1120px); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 18px; z-index: 1000; background: var(--white); color: var(--navy); padding: 10px 16px; }
.skip:focus { top: 12px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(11,36,71,.96); color: var(--white); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-family: "Shippori Mincho", serif; font-size: 1.08rem; letter-spacing: .04em; }
.brand small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: .62rem; font-weight: 400; opacity: .72; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: .84rem; font-weight: 700; }
.nav a { color: rgba(255,255,255,.86); }
.nav a:hover, .nav a:focus-visible { color: #77ddd1; }

.hero { min-height: 690px; display: grid; place-items: center; position: relative; color: var(--white); background: var(--hero-image) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,36,71,.94) 0%, rgba(11,36,71,.74) 48%, rgba(8,127,114,.32) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 110px 0 90px; }
.eyebrow { color: #78ddd2; font-size: .76rem; font-weight: 700; letter-spacing: .16em; }
.hero h1 { max-width: 780px; margin: 16px 0 24px; font-family: "Shippori Mincho", serif; font-size: clamp(2.55rem, 6vw, 4.5rem); line-height: 1.28; letter-spacing: .04em; }
.hero h1 span { display: block; margin-bottom: 8px; color: #c7fff8; font-family: "Noto Sans JP", sans-serif; font-size: .28em; letter-spacing: .12em; }
.hero-copy { max-width: 680px; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.1); font-size: .82rem; font-weight: 700; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

.section { padding: 100px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { color: var(--teal); }
.section.dark .section-head .eyebrow { color: #78ddd2; }
h2 { margin-top: 10px; font-family: "Shippori Mincho", serif; color: var(--navy); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.45; }
.section.dark h2 { color: var(--white); }
.section-head p { margin-top: 14px; color: var(--gray); }
.section.dark .section-head p { color: rgba(255,255,255,.72); }
h3 { color: var(--navy); font-size: 1.15rem; line-height: 1.55; }

.message-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; align-items: center; }
.message-copy p + p { margin-top: 18px; }
.photo { min-height: 440px; border-radius: 14px; overflow: hidden; background: #dce3ea; }
.photo img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.note { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--teal); background: var(--teal-light); color: #26423e; font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.card-num { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--teal-light); color: var(--teal); font-weight: 700; }
.card p { margin-top: 10px; color: #3f4856; font-size: .94rem; }

.point-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.point { padding: 25px 21px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.07); }
.point h3 { color: var(--white); font-size: 1rem; }
.point p { margin-top: 10px; color: rgba(255,255,255,.76); font-size: .88rem; }

.job-table { width: min(100%, 900px); margin: 0 auto; border-collapse: collapse; background: var(--white); }
.job-table th, .job-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.job-table th { width: 28%; color: var(--navy); background: #f0f5f8; }
.pending { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff4d6; color: #70560e; font-size: .78rem; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 22px; border-top: 4px solid var(--teal); background: var(--white); box-shadow: 0 10px 30px rgba(11,36,71,.07); }
.step small { color: var(--teal); font-weight: 700; letter-spacing: .12em; }
.step h3 { margin-top: 9px; }
.step p { margin-top: 9px; color: var(--gray); font-size: .9rem; }

.faq { max-width: 850px; margin: 0 auto; display: grid; gap: 14px; }
details { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
summary { cursor: pointer; padding: 20px 24px; color: var(--navy); font-weight: 700; }
details p { padding: 0 24px 22px; color: #414b59; }

.cta { padding: 90px 0; background: linear-gradient(145deg, var(--teal), #075c53); color: var(--white); text-align: center; }
.cta h2 { color: var(--white); }
.cta p { max-width: 650px; margin: 16px auto 28px; color: rgba(255,255,255,.82); }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 24px; border-radius: 7px; font-weight: 700; }
.btn-white { background: var(--white); color: var(--teal); }
.btn-outline { border: 1px solid rgba(255,255,255,.6); color: var(--white); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.footer { padding: 52px 0; background: #071b35; color: rgba(255,255,255,.72); font-size: .86rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 36px; align-items: flex-start; }
.footer a { color: #77ddd1; text-decoration: underline; text-underline-offset: 3px; }
.legal { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 900px) {
  .header-inner { padding: 14px 0; align-items: flex-start; }
  .nav { justify-content: flex-end; gap: 12px 16px; }
  .message-grid { grid-template-columns: 1fr; }
  .point-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .container { width: min(100% - 30px, 1120px); }
  .header-inner { display: block; }
  .nav { margin-top: 12px; justify-content: flex-start; }
  .nav a { font-size: .75rem; }
  .hero { min-height: 650px; }
  .hero-inner { padding: 90px 0 80px; }
  .section { padding: 74px 0; }
  .card-grid, .point-grid, .steps { grid-template-columns: 1fr; }
  .job-table, .job-table tbody, .job-table tr, .job-table th, .job-table td { display: block; width: 100%; }
  .job-table th { padding-bottom: 7px; border-bottom: 0; }
  .job-table td { padding-top: 8px; }
  .footer-grid { display: grid; }
  .buttons .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Recruitment hub */
.recruit-home { overflow-x: hidden; }
.recruit-home .hero h1, .recruit-home .hero-copy { overflow-wrap: anywhere; }
.recruit-home .recruit-hero { min-height: 760px; }
.recruit-home .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.recruit-home .hero-actions + .status { margin-top: 22px; }
.quick-nav { position: relative; z-index: 2; margin-top: -34px; }
.quick-nav-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(11,36,71,.15); }
.quick-nav a { min-width: 0; min-height: 88px; display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); background: var(--white); color: var(--navy); font-weight: 700; }
.quick-nav a:last-child { border-right: 0; }
.quick-nav a:hover, .quick-nav a:focus-visible { background: var(--teal-light); }
.quick-nav small { color: var(--teal); letter-spacing: .08em; }
.intro-section { padding-top: 132px; }
.editorial-photo { position: relative; }
.editorial-photo::after { content: "CARE & RELAXATION"; position: absolute; right: -18px; bottom: 22px; padding: 9px 16px; background: var(--navy); color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.work-grid { grid-template-columns: repeat(4, 1fr); }
.work-grid .card { padding: 27px 24px; }
.value-grid .value-icon { display: block; margin-bottom: 22px; color: #78ddd2; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.training-section { background: linear-gradient(180deg, #fff 0%, #fff 50%, #f6f8fb 50%, #f6f8fb 100%); }
.training-flow { width: min(100%, 940px); margin: 0 auto; display: grid; gap: 14px; }
.training-card { display: grid; grid-template-columns: 125px 1fr; align-items: center; gap: 28px; padding: 26px 30px; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 10px; background: var(--white); box-shadow: 0 10px 28px rgba(11,36,71,.07); }
.training-number { color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.training-card p { margin-top: 6px; color: var(--gray); font-size: .92rem; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-panel { padding: 38px; border-radius: 13px; background: var(--white); }
.fit-positive { border-top: 5px solid var(--teal); }
.fit-caution { border-top: 5px solid var(--gold); }
.fit-label { color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.fit-panel h3 { margin: 8px 0 18px; font-size: 1.35rem; }
.fit-panel ul { display: grid; gap: 11px; list-style: none; }
.fit-panel li { position: relative; padding-left: 28px; color: #3f4856; }
.fit-panel li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.fit-caution li::before { content: "・"; color: #9b7513; }
.shops-section { overflow: hidden; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shop-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 14px 36px rgba(11,36,71,.08); }
.shop-card > img { width: 100%; height: 280px; object-fit: cover; }
.shop-card-body { padding: 30px; }
.shop-card-body small { display: block; margin-top: 19px; color: var(--teal); font-weight: 700; letter-spacing: .16em; }
.shop-card-body h3 { margin-top: 2px; font-family: "Shippori Mincho", serif; font-size: 1.65rem; }
.shop-card-body p { margin-top: 10px; color: var(--gray); }
.shop-link { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--teal); font-weight: 700; }
.shop-link:hover, .shop-link:focus-visible { color: var(--navy); }
.selection-section .step { box-shadow: none; }
.selection-section .step p { color: var(--gray); }

@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .recruit-home .recruit-hero { min-height: 690px; }
  .recruit-home .hero h1 br { display: none; }
  .quick-nav { margin-top: 0; }
  .quick-nav .container { width: 100%; }
  .quick-nav-inner { grid-template-columns: repeat(2, 1fr); border-radius: 0; box-shadow: none; }
  .quick-nav a { min-height: 68px; gap: 6px; border-bottom: 1px solid var(--line); font-size: .78rem; white-space: normal; }
  .intro-section { padding-top: 78px; }
  .fit-grid, .shop-grid { grid-template-columns: 1fr; }
  .training-card { grid-template-columns: 1fr; gap: 5px; padding: 24px; }
  .shop-card > img { height: 230px; }
}

@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
  .fit-panel { padding: 28px 24px; }
  .editorial-photo::after { right: 0; }
}
