/* ============================================================
   EDITORIAL THEME — FREVIO v1.0.0
   Base colors: #FAFAFA / #0F172A / #06B6D4 / #D9F99D
============================================================ */

/* -------------------------------------------------------
   BASE
------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #FAFAFA;
  color: #0F172A;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* 日本語テキストの自然な折り返し（Chrome 119+ で文節単位、旧ブラウザは通常折り返し） */
p, li, th, td, h1, h2, h3, h4, h5, h6, span, a {
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
}
::selection { background: #D9F99D; color: #0F172A; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 2px; }

/* -------------------------------------------------------
   LAYOUT UTILITIES
------------------------------------------------------- */
.vertical-rl  { writing-mode: vertical-rl; text-orientation: mixed; }

/* -------------------------------------------------------
   SPA PAGE SWITCHING
------------------------------------------------------- */
.page-section { display: none; }
.page-section.is-active {
  display: block;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Recruit page: full-viewport dark, no top padding */
#page-recruit.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
/* All other pages clear the fixed header */
#page-home.is-active,
#page-company.is-active,
#page-services.is-active,
#page-contact.is-active { padding-top: 80px; }
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active   { opacity: 1; transform: translateY(0); }
.reveal-d100 { transition-delay: 0.10s; }
.reveal-d200 { transition-delay: 0.20s; }
.reveal-d300 { transition-delay: 0.30s; }

/* -------------------------------------------------------
   EDITORIAL IMAGE (grayscale → colour reveal)
------------------------------------------------------- */
.editorial-img {
  filter: grayscale(100%) brightness(0.25) contrast(1.2);
  transition:
    filter 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-img.is-revealed { filter: grayscale(0%) brightness(1) contrast(1); }
.img-wrap { overflow: hidden; }
.img-wrap:hover .editorial-img { transform: scale(1.04); }

/* -------------------------------------------------------
   SCROLL INDICATOR
------------------------------------------------------- */
.scroll-track {
  width: 1px;
  height: 64px;
  background: rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}
.scroll-track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0F172A;
  animation: scrollRun 2.2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes scrollRun {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 100;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: background 0.3s, border-color 0.3s;
}
.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) { .header-inner { padding: 0 24px; } }

/* Logo — image version */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 200;
  position: relative;
  transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.75; }
.site-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.3s;
}
/* Fallback text logo */
.site-logo-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: #0F172A;
  transition: color 0.2s;
}
.logo-link:hover .site-logo-text { color: #06B6D4; }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.desktop-nav .nav-item {
  display: flex;
  align-items: center;
  padding: 0 24px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: #0F172A;
  border-left: 1px solid rgba(15, 23, 42, 0.07);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.desktop-nav .nav-item:hover  { color: #06B6D4; }
.desktop-nav .nav-item.active { color: #06B6D4; }
.desktop-nav .nav-item.nav-cta {
  background: #0F172A;
  color: #FAFAFA;
  padding: 0 32px;
}
.desktop-nav .nav-item.nav-cta:hover { background: #06B6D4; color: #fff; }
@media (max-width: 768px) { .desktop-nav { display: none; } }

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  position: relative;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #0F172A;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 768px) { .menu-btn { display: flex; } }

/* Mobile overlay */
#mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #FAFAFA;
  z-index: 90;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
}
#mobile-overlay.is-open { display: flex; }
#mobile-overlay .nav-item {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.18em;
  color: #0F172A;
  text-decoration: none;
  transition: color 0.2s;
}
#mobile-overlay .nav-item:hover { color: #06B6D4; }
#mobile-overlay .nav-item.cta-link { color: #06B6D4; }

/* -------------------------------------------------------
   HOME — HERO
------------------------------------------------------- */
.hero {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 4fr 8fr;
  overflow: hidden;
}
/* タブレット〜スマホ: 常に2カラム、画像を右に固定 */
@media (max-width: 900px) {
  .hero { grid-template-columns: 2fr 3fr; min-height: auto; }
}
@media (max-width: 480px) {
  .hero { grid-template-columns: 2fr 3fr; min-height: 60vh; }
}

/* Watermark */
.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-watermark-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.055);
  user-select: none;
}

/* Hero left */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px 80px;
  position: relative;
  z-index: 10;
}
@media (max-width: 1200px) { .hero-left { padding: 80px 32px 80px 48px; } }
@media (max-width: 900px)  { .hero-left { padding: 48px 14px 36px 24px; } }
@media (max-width: 480px)  { .hero-left { padding: 44px 8px 44px 14px; } }

.hero-vertical-group {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(22px, 3.8vw, 56px);
  line-height: 1.3;
  letter-spacing: 0.14em;
  color: #0F172A;
  writing-mode: vertical-rl;
}
.hero-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}
.hero-divider-line {
  width: 1px;
  height: clamp(32px, 8vw, 100px);
  background: #D9F99D;
}
.hero-divider-label {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #94A3B8;
  writing-mode: vertical-rl;
}

/* Hero right */
.hero-right {
  position: relative;
  overflow: hidden;
}
/* hero-right はグリッド行高さを継承するため明示的高さ不要 */

.hero-accent-rect {
  position: absolute;
  top: 12%; right: 6%;
  width: 70%; height: 76%;
  background: rgba(217, 249, 157, 0.22);
  z-index: 1;
  transition: transform 0.6s ease;
}
.hero-photo {
  position: absolute;
  top: 6%; left: 0;
  width: 93%; height: 90%;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.16);
}
@media (max-width: 480px) {
  .hero-photo { top: 15%; height: 70%; }
}
.voyage-text {
  position: absolute;
  bottom: 20px;
  left: -30px;
  z-index: 10;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 80px);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 20;
}
.hero-scroll-label {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #94A3B8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (max-width: 900px) { .hero-scroll { display: none; } }

/* -------------------------------------------------------
   HOME — MAGAZINE INDEX
------------------------------------------------------- */
.index-section { background: #fff; }

.index-row {
  display: block;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  padding: 80px 0;
  color: inherit;
  text-decoration: none;
  transition: background 0.25s;
}
.index-row:last-child { border-bottom: 1px solid rgba(15, 23, 42, 0.07); }
.index-row:hover { background: rgba(15, 23, 42, 0.018); }

.index-row-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) { .index-row-inner { padding: 0 24px; } }

.index-row-inner.layout-text-photo { grid-template-columns: 1fr 1fr; }
.index-row-inner.layout-photo-text { grid-template-columns: 1fr 1fr; }
.index-row-inner.layout-text-only  { grid-template-columns: 1fr; }
.index-row-inner.layout-cta        { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 640px) {
  .index-row-inner.layout-text-photo,
  .index-row-inner.layout-photo-text { grid-template-columns: 1fr; }
  .index-row-inner.layout-cta        { grid-template-columns: 1fr; }
  /* layout-photo-text: モバイルはテキスト上・写真下 */
  .index-row-inner.layout-photo-text .index-photo { order: 2; }
}

.index-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #06B6D4;
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.index-heading {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  transition: color 0.25s;
}
.index-row:hover .index-heading { color: #06B6D4; }

.index-copy {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 24px;
}
.index-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #64748B;
  border-bottom: 1px solid rgba(15, 23, 42, 0.18);
  padding-bottom: 4px;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}
.index-row:hover .index-link { color: #06B6D4; border-color: #06B6D4; }
.index-link svg { transition: transform 0.2s; }
.index-row:hover .index-link svg { transform: translateX(4px); }

.index-photo { aspect-ratio: 4/3; position: relative; }
.index-photo-order-first { order: -1; }
@media (max-width: 640px) { .index-photo-order-first { order: 0; } }

/* Service list in index */
.index-service-list {
  list-style: none;
  margin-bottom: 24px;
}
.index-service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
}
.index-service-list li:last-child { margin-bottom: 0; }
.index-service-dash {
  display: block;
  width: 20px;
  height: 1px;
  background: #06B6D4;
  flex-shrink: 0;
}

/* COMING SOON badge */
.coming-soon-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #0F172A;
  color: #D9F99D;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

/* CTA columns */
.cta-left  { align-self: center; }
.cta-right { align-self: center; text-align: right; }

/* CONTACT single-column right-aligned block */
.cta-block-right { text-align: right; }
.cta-block-right .index-link { margin-left: auto; }

/* SERVICES index row: right-align text column */
.index-col-right { text-align: right; }
.index-col-right .index-link { margin-left: auto; }
.index-col-right .index-service-list li { justify-content: flex-end; }
.cta-desc-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: #94A3B8;
  margin-bottom: 20px;
}

/* Contact CTA row (dark) */
.index-row.dark-cta { background: #0F172A; }
.index-row.dark-cta:hover { background: #1E293B; }
.dark-cta .index-tag   { color: #D9F99D; }
.dark-cta .index-heading { color: #fff; }
.dark-cta:hover .index-heading { color: #06B6D4; }
.dark-cta .index-link  { color: #fff; border-color: rgba(255,255,255,0.25); }
.dark-cta:hover .index-link { color: #D9F99D; border-color: #D9F99D; }
.dark-cta .cta-desc-text { color: #94A3B8; }

/* -------------------------------------------------------
   PAGE TITLE BAR
------------------------------------------------------- */
.page-title-bar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  padding: 40px 0 40px;
  background: #FAFAFA;
}
.page-title-bar-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 768px) { .page-title-bar-inner { padding: 0 24px; } }

.page-title-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #06B6D4;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.page-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
  line-height: 1;
}
.page-number {
  font-family: 'Oswald', sans-serif;
  font-size: 80px;
  font-weight: 300;
  color: rgba(15, 23, 42, 0.06);
  letter-spacing: -0.03em;
  line-height: 1;
  user-select: none;
}

/* -------------------------------------------------------
   COMPANY PAGE
------------------------------------------------------- */
.company-grid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .company-grid { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
  .company-grid { padding: 60px 24px 80px; }
  .company-right-sticky .img-wrap { display: none; }
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: #06B6D4;
  flex-shrink: 0;
}

.philosophy-heading {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.8;
  color: #0F172A;
  margin-bottom: 28px;
}
.prose {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.3;
  color: #475569;
}
.prose p + p { margin-top: 20px; }
.prose-bordered {
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  margin-top: 24px;
}
.strong-jp {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 18px;
  color: #0F172A;
}

.message-card {
  background: #fff;
  padding: 48px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}
@media (max-width: 540px) { .message-card { padding: 32px 24px; } }
.message-card-accent {
  position: absolute;
  top: 0; right: 0;
  width: 72px; height: 72px;
  background: rgba(217, 249, 157, 0.4);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}
.message-quote {
  position: absolute;
  top: -8px; left: 24px;
  font-family: 'Shippori Mincho', serif;
  font-size: 96px;
  color: rgba(15, 23, 42, 0.04);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.message-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 24px;
  position: relative;
}
.message-sign {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  text-align: right;
}
.message-sign-role {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #94A3B8;
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.message-sign-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
}

/* Company right (sticky) */
.company-right-sticky {
  position: sticky;
  top: 100px;
}

/* Overview table */
.overview-table { width: 100%; border-top: 2px solid #0F172A; }
.overview-table tr { border-bottom: 1px solid rgba(15, 23, 42, 0.07); }
.overview-table th {
  padding: 18px 24px 18px 0;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  vertical-align: top;
  text-align: left;
  width: 110px;
}
.overview-table td {
  padding: 18px 0;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 2;
  vertical-align: top;
}
.table-sub {
  font-size: 12px;
  color: #94A3B8;
  display: block;
}

/* -------------------------------------------------------
   SERVICES PAGE
------------------------------------------------------- */
.services-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}
@media (max-width: 768px) { .services-body { padding: 60px 24px 80px; } }

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}
.service-item:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .service-item { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
}

/* Reversed layout */
.service-item.reversed .service-text  { order: 2; }
.service-item.reversed .service-photo { order: 1; }
@media (max-width: 768px) {
  .service-item.reversed .service-text  { order: 1; }
  .service-item.reversed .service-photo { order: 2; }
}

/* Large watermark number */
.service-number {
  font-family: 'Oswald', sans-serif;
  font-size: 120px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.045);
  line-height: 1;
  position: absolute;
  top: -50px;
  left: -16px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.reversed-num { left: auto; right: -16px; }
@media (max-width: 768px) { .service-number { display: none; } }

/* Service text */
.service-text { position: relative; z-index: 1; }
.service-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 20px;
}
.service-desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.3;
  color: #475569;
  margin-bottom: 28px;
}
.service-features { list-style: none; }
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.service-features li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #06B6D4;
  flex-shrink: 0;
  margin-top: 10px;
}

/* Service photo */
.service-photo { position: relative; z-index: 1; }
.service-photo-inner {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.service-photo-shadow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
  z-index: 2;
  pointer-events: none;
}
.service-photo-accent {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 50%;
  height: 40%;
  z-index: 0;
  pointer-events: none;
}
.service-photo-accent.lime  { background: rgba(217, 249, 157, 0.35); }
.service-photo-accent.slate { background: rgba(241, 245, 249, 0.85); border: 1px solid rgba(15,23,42,0.05); }
.service-photo-accent.cyan  { background: rgba(6, 182, 212, 0.12); }

/* -------------------------------------------------------
   RECRUIT PAGE
------------------------------------------------------- */
#page-recruit {
  background: #0F172A;
  color: #fff;
  min-height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.recruit-wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.recruit-wm-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(80px, 22vw, 260px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  user-select: none;
}
.recruit-content {
  position: relative;
  z-index: 10;
  padding: 60px 24px;
  max-width: 720px;
}
.recruit-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #D9F99D;
  display: block;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.recruit-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(56px, 12vw, 100px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 40px;
}
.recruit-desc {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 2.2;
  color: #94A3B8;
  margin-bottom: 48px;
}
.recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,0.25);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.recruit-btn:hover { background: #fff; color: #0F172A; border-color: #fff; }

/* -------------------------------------------------------
   CONTACT PAGE
------------------------------------------------------- */
.contact-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 48px 120px;
}
@media (max-width: 768px) { .contact-body { padding: 40px 24px 80px; } }
.contact-lead {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  color: #475569;
  text-align: center;
  margin-bottom: 60px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; gap: 28px; } }

.form-group {
  position: relative;
  padding-top: 22px;
}
.form-group-select { position: relative; }

.form-label {
  position: absolute;
  top: 0; left: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #94A3B8;
  text-transform: uppercase;
}
.form-required { color: #06B6D4; margin-left: 2px; }
.form-optional {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #94A3B8;
  letter-spacing: 0;
  text-transform: none;
}

.form-field {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.16);
  padding: 12px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-field::placeholder { color: rgba(15, 23, 42, 0.2); }
.form-field:focus { border-bottom-color: #06B6D4; }
.form-field.is-error { border-bottom-color: #EF4444; }
textarea.form-field { resize: vertical; min-height: 120px; line-height: 1.8; }
select.form-field { appearance: none; -webkit-appearance: none; cursor: pointer; }

.select-arrow {
  position: absolute;
  bottom: 14px;
  right: 0;
  pointer-events: none;
  color: #94A3B8;
}

.form-error-msg {
  font-size: 14px;
  color: #EF4444;
  margin-bottom: 16px;
  font-weight: 500;
}

.form-submit { text-align: center; margin-top: 48px; }
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 60px;
  background: #0F172A;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  max-width: 400px;
}
.submit-btn:hover:not(:disabled) { background: #06B6D4; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  padding: 32px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.04);
  text-align: center;
  margin-top: 32px;
}
.form-success.is-shown { display: block; }
.form-success p {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  color: #06B6D4;
  font-weight: 500;
  line-height: 2;
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
#site-footer {
  background: #0F172A;
  color: #fff;
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-inner {
    padding: 0 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
  justify-content: flex-end;
}
@media (max-width: 768px) { .footer-nav { justify-content: center; } }
.footer-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.22);
  text-align: right;
}
@media (max-width: 768px) { .footer-copy { text-align: center; } }

/* -------------------------------------------------------
   モバイル: デスクトップ向け <br> を非表示にして自然な折り返しに委ねる
------------------------------------------------------- */
@media (max-width: 640px) {
  .index-copy br,
  .philosophy-heading br,
  .recruit-desc br,
  .contact-lead br,
  .service-desc br,
  .prose p br,
  .cta-desc-text br { display: none; }
}
