/* ============================================================
   i2m2 CORPORATE — donuts.ne.jp Style Replica
   Full-viewport snap sections, dark background, card slider
   ============================================================ */

:root {
  /* Base dark palette (donuts.ne.jp exact: bg #000, text #ededed) */
  --bg-base: #000000;
  --bg-gray: #292929;
  --bg-card: #1a1a1a;
  --color-text: #ededed;
  --color-text-sub: #999999;
  --color-text-dim: #666666;
  --color-white: #ffffff;

  /* Accent — Gold (i2m2 brand identity) */
  --accent: #b8860b;
  --accent-light: #d4a843;
  --accent-dim: rgba(184,134,11,.3);
  --gradient-gold: linear-gradient(135deg, #b8860b, #d4a843, #e8c860);

  /* Secondary (donuts uses #567bf6 as accent, #249ea8 as accent-second) */
  --blue: #567bf6;
  --blue-second: #249ea8;

  /* Typography — clean modern corporate */
  --font: "Noto Sans JP", "Helvetica Neue", "Arial", sans-serif;
  --font-en: "Montserrat", "Inter", "Helvetica Neue", sans-serif;
  --font-heading: "Montserrat", "Inter", "Helvetica Neue", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  /* Sizing (donuts: header PC 110px, SP 70px) */
  --header-h: 110px;
  --header-h-sp: 70px;

  /* Easing */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --duration: .4s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; -webkit-text-size-adjust: 100%; height: 100%; }
@media (max-width: 736px) { html { font-size: 14px; } }
body {
  font-family: var(--font);
  color: var(--color-text);
  background-color: var(--bg-base);
  letter-spacing: .04em;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100%;
  width: 100%;
  max-width: 100vw;
}
a { color: var(--color-text-sub); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-white); }
img { max-width: 100%; height: auto; display: block; border: none; vertical-align: middle; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-size: 100%; }

/* Utility */
.u-sp-only { display: none; }
@media (max-width: 736px) { .u-sp-only { display: inline; } }

/* ============================================================
   CURSOR — gold luxury (desktop only)
   ============================================================ */
.cursor-dot {
  width: 5px; height: 5px; background: var(--accent);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid var(--accent-dim);
  border-radius: 50%; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
  transform: translate(-50%, -50%);
}
.cursor-ring.hover { width: 52px; height: 52px; border-color: var(--accent); }
@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ============================================================
   OPENING ANIMATION
   ============================================================ */
.opening {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 100000; display: flex; align-items: center; justify-content: center;
  background: var(--bg-base);
  transition: opacity .6s var(--ease), visibility .6s;
}
.opening.done { opacity: 0; visibility: hidden; pointer-events: none; }
.opening-logo {
  text-align: center; opacity: 0; transform: scale(0.9);
  animation: openingLogoIn .8s var(--ease) .3s forwards;
}
.opening-logo-img { height: 80px; width: auto; display: block; margin: 0 auto 16px; }
.opening-tagline {
  display: block; font-family: var(--font-en); font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--color-text-dim);
  margin-top: 12px; opacity: 0; animation: openingTagIn .6s var(--ease) .9s forwards;
}
@keyframes openingLogoIn { to { opacity: 1; transform: scale(1); } }
@keyframes openingTagIn { to { opacity: 1; } }

/* ============================================================
   HEADER — donuts style: fixed, minimal, hamburger + logo
   ============================================================ */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  position: fixed; top: 0; left: 0; width: 100vw;
  min-height: var(--header-h); padding: 30px 25px;
  line-height: 1; z-index: 996;
  transition: all .4s var(--ease);
}
.site-header.scrolled {
  min-height: 70px; padding: 15px 25px;
  background: rgba(0,0,0,.85); backdrop-filter: blur(12px);
}
@media (max-width: 736px) {
  .site-header { width: 100%; min-height: var(--header-h-sp); padding: 10px 15px; background: #000; }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 100%; padding: 0;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-img { height: 36px; width: auto; display: block; }
@media (max-width: 736px) { .logo-img { height: 32px; } }

/* Navigation */
.gnav { display: flex; align-items: center; }
.gnav-list { display: flex; gap: 28px; align-items: center; }
.gnav-item > a {
  font-size: 13px; font-weight: 500; color: var(--color-text-sub);
  transition: color .3s; position: relative; letter-spacing: 1px;
}
.gnav-item > a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--accent-light); transition: width .3s var(--ease);
}
.gnav-item > a:hover { color: var(--color-white); }
.gnav-item > a:hover::after { width: 100%; }

/* Dropdown */
.gnav-item.has-sub { position: relative; }
.gnav-sub {
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: var(--bg-gray); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 12px 0; min-width: 210px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .3s var(--ease); box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.gnav-item.has-sub:hover .gnav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.gnav-sub li a {
  display: block; padding: 10px 24px; font-size: 13px;
  color: var(--color-text-sub); transition: all .2s;
}
.gnav-sub li a:hover { color: var(--accent-light); background: rgba(184,134,11,.08); }

/* Header CTA */
.header-cta {
  padding: 10px 24px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--gradient-gold); color: #fff; letter-spacing: .5px;
  transition: all .3s var(--ease); box-shadow: 0 4px 16px rgba(184,134,11,.2);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184,134,11,.3); }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; width: 28px; height: 20px;
  position: relative; z-index: 1001;
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--color-white);
  position: absolute; left: 0; transition: all .3s var(--ease); border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.98); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .4s var(--ease);
}
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-list li a {
  display: block; padding: 18px 32px; font-size: 22px; font-weight: 500;
  color: var(--color-white); letter-spacing: 2px;
  transition: color .2s;
}
.mobile-nav-list li a:hover { color: var(--accent-light); }
.mobile-cta {
  margin-top: 24px; display: block; text-align: center;
  background: var(--gradient-gold) !important; color: #fff !important;
  border-radius: 8px !important; padding: 14px 24px !important;
  font-weight: 600 !important; font-size: 16px !important;
  box-shadow: 0 4px 16px rgba(184,134,11,.2);
}

@media (max-width: 900px) {
  .gnav, .header-cta { display: none; }
  .hamburger { display: block; }
}

/* ============================================================
   SIDE NAVIGATION (donuts.ne.jp style — right side dots)
   ============================================================ */
.l-nav {
  display: flex; flex-direction: column; align-items: flex-end;
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  z-index: 997;
  font-family: var(--font-heading);
  transition: .3s;
}
@media (max-width: 736px) { .l-nav { display: none; } }
.l-nav__list { display: flex; flex-direction: column; gap: 6px; position: relative; }
.l-nav__item {
  display: flex; justify-content: flex-end; position: relative; padding-right: 28px;
}
.l-nav__item::before {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 0; height: 1px; margin: auto;
  border-radius: 50px; background: var(--accent-light); content: "";
  transition: width .3s;
}
.l-nav__item.active::before { width: 24px; }
.l-nav__item.active .l-nav__link { color: #fff; font-weight: 600; }
.l-nav__link {
  display: flex; width: fit-content; padding: 5px 10px;
  align-items: center; color: #666; font-size: 10px; font-weight: 400;
  letter-spacing: 2.5px; line-height: 1; transition: .3s ease-in-out;
  text-transform: uppercase;
}
.l-nav__link:hover { color: #fff; }

/* ============================================================
   BACKGROUND NOISE CANVAS (donuts.ne.jp style)
   ============================================================ */
.c-background-noise {
  position: fixed; display: block; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: .03;
}

/* ============================================================
   SNAP SECTIONS — Full viewport (donuts.ne.jp architecture)
   ============================================================ */
.p-snap-section {
  position: relative; min-height: 100vh; width: 100%;
  display: flex; align-items: stretch;
}
.p-slide-section {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.p-slide-section__bg {
  position: absolute; inset: 0; z-index: 0;
}
.p-slide-section__body {
  position: relative; z-index: 2; width: 100%;
  padding: 0 40px;
}
.p-slide-section__body--center {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  min-height: 100vh; padding: 0 40px;
}
.p-slide-section__body--cards {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  min-height: 100vh; padding: 0;
}
@media (max-width: 736px) {
  .p-slide-section__body { padding: 0 16px; }
  .p-slide-section__body--center { padding: 0 16px; min-height: 100vh; }
  .p-slide-section__body--cards { padding: 0; }
}

/* ============================================================
   SECTION: MAIN / HERO
   ============================================================ */
.p-front-main { background: var(--bg-base); }
.p-front-main .p-slide-section__bg {
  background: radial-gradient(ellipse at 50% 30%, rgba(184,134,11,.04) 0%, transparent 60%);
}
.p-front-main__logo { margin-bottom: 50px; }
.p-front-main__logo-img {
  height: 72px; width: auto; margin: 0 auto;
  opacity: 0; animation: fadeInScale .8s var(--ease) .5s forwards;
}
@keyframes fadeInScale { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }
@media (max-width: 736px) { .p-front-main__logo-img { height: 56px; } }
.p-front-main__body { text-align: center; }
.p-front-main__heading { margin-bottom: 20px; }
.p-front-main__sub-text {
  font-size: 15px; color: var(--color-text); line-height: 2;
  letter-spacing: .12em; font-family: var(--font);
}
@media (min-width: 737px) { .p-front-main__sub-text { font-size: 18px; } }
@media (max-width: 736px) { .p-front-main__sub-text { font-size: 13px; letter-spacing: .08em; } }

/* Scroll icon (donuts style — centered at bottom) */
.p-front-main__scroll-icon { margin-top: 60px; }
.c-scroll-icon__button {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--color-text-dim); font-size: 12px; letter-spacing: 2px;
  font-family: var(--font-en); cursor: pointer;
  padding: 0;
}
.c-scroll-icon__button span {
  animation: scrollFade 2s infinite;
}
.c-scroll-icon__button::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollFade { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes scrollLine { 0%{transform:scaleY(1);opacity:1} 100%{transform:scaleY(.5);opacity:0} }

/* NEWS ticker (donuts: fixed at bottom of first section, auto-scroll) */
.p-front-main__foot {
  position: absolute; bottom: 40px; left: 0; right: 0;
  padding: 0 40px; z-index: 3; overflow: hidden; max-width: 100vw;
}
@media (max-width: 736px) { .p-front-main__foot { position: relative; bottom: auto; padding: 0 16px; margin-top: 24px; max-width: 100%; } }
.p-bar { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.p-bar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.p-bar__heading {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; color: var(--color-white);
}
.p-bar__more-link {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .05em;
  color: var(--color-text-sub); transition: color .2s;
}
.p-bar__more-link:hover { color: var(--accent-light); }
.p-bar__body { overflow: hidden; width: 100%; }
.p-bar__ticker { overflow: hidden; width: 100%; }
.p-bar__ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: tickerScroll 25s linear infinite;
  width: max-content;
}
.p-bar__ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.p-bar__item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--color-text-sub); transition: color .2s;
  flex-shrink: 0;
}
.p-bar__item:hover { color: var(--color-white); }
.p-bar__date { font-family: var(--font-en); font-size: 12px; color: var(--color-text-dim); }
.p-bar__label {
  font-size: 10px; padding: 2px 8px; border-radius: 3px;
  color: #fff; font-weight: 600; letter-spacing: .03em;
}
.p-bar__title { font-size: 13px; }
@media (max-width: 736px) {
  .p-bar__item { font-size: 12px; gap: 8px; }
  .p-bar__date { font-size: 11px; }
  .p-bar__title { font-size: 12px; }
  .p-bar__ticker-track { gap: 32px; animation-duration: 20s; }
}

/* ============================================================
   SECTION: ABOUT
   ============================================================ */
.p-front-about { background: var(--bg-base); }
.p-front-about__bg {
  background: radial-gradient(ellipse at 30% 50%, rgba(86,123,246,.05) 0%, transparent 60%);
}
.p-front-about__text {
  font-size: 17px; color: var(--color-text); line-height: 2.2;
  letter-spacing: 3.4px;
}
@media (min-width: 737px) { .p-front-about__text { font-size: 25px; margin-top: 25px; } }
@media (max-width: 736px) { .p-front-about__text { font-size: 17px; margin-top: 15px; } }
.p-front-about__stats {
  display: flex; gap: 60px; margin-top: 60px; flex-wrap: wrap; justify-content: center;
}
.p-stat-item { text-align: center; }
.p-stat-num {
  font-family: var(--font-en); font-size: 48px; font-weight: 700;
  display: block; color: var(--color-white); line-height: 1;
}
.p-stat-unit { font-size: 16px; color: var(--accent-light); margin-left: 2px; }
.p-stat-label { display: block; font-size: 12px; color: var(--color-text-dim); margin-top: 8px; letter-spacing: 1px; }
@media (max-width: 736px) {
  .p-front-about__stats { gap: 30px; }
  .p-stat-num { font-size: 36px; }
}

/* ============================================================
   HEADINGS — Montserrat ultralight for modern corporate
   ============================================================ */
.c-heading {
  font-family: var(--font-heading); font-weight: 200;
  line-height: 1.15; text-align: center; color: var(--color-white);
  margin-bottom: 15px; text-transform: uppercase; letter-spacing: .18em;
}
@media (min-width: 737px) { .c-heading { font-size: 46px; } }
@media (max-width: 736px) { .c-heading { font-size: clamp(22px, 7vw, 30px); letter-spacing: .08em; word-break: keep-all; overflow-wrap: normal; } }
.c-heading--1 {
  font-weight: 300;
}
@media (min-width: 737px) { .c-heading--1 { font-size: 34px; letter-spacing: .14em; margin-bottom: 40px; } }
@media (max-width: 736px) { .c-heading--1 { font-size: 26px; letter-spacing: .06em; margin-bottom: 20px; } }
.c-heading-sub {
  text-align: center; font-size: 17px; color: var(--color-text);
}
@media (min-width: 737px) { .c-heading-sub { letter-spacing: 3.4px; margin-top: 25px; } }
@media (max-width: 736px) { .c-heading-sub { letter-spacing: 3px; margin-top: 15px; } }
.c-heading-sub--large {}
@media (min-width: 737px) { .c-heading-sub--large { font-size: 25px; } }
@media (max-width: 736px) { .c-heading-sub--large { font-size: 17px; } }

/* Letter animation (js-text-letters) */
.c-text-letters { display: inline-block; }
.c-text-letters .char {
  display: inline-block; opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.c-text-letters.revealed .char {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   BUTTONS (donuts.ne.jp exact: min-height 70px, border anim)
   ============================================================ */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; min-height: 70px; padding: 0 20px;
  border: 1px solid rgba(255,255,255,.75); outline: none;
  background: rgba(0,0,0,.75); color: var(--color-text);
  text-align: center; text-decoration: none;
  transition: all .3s; margin-top: 32px;
  width: 100%;
}
.c-btn::before, .c-btn::after {
  position: absolute; box-sizing: content-box;
  width: 0; height: 0; border: 1px solid transparent;
  content: ""; transition: all .3s; visibility: hidden;
}
.c-btn::before { top: -1px; left: -1px; border-left-color: var(--color-text); }
.c-btn::after { right: -1px; bottom: -1px; border-right-color: var(--color-text); }
.c-btn:hover::before, .c-btn:hover::after { visibility: visible; height: 100%; }
.c-btn:hover .c-btn__inner::before, .c-btn:hover .c-btn__inner::after { visibility: visible; width: 100%; }
.c-btn__inner::before, .c-btn__inner::after {
  position: absolute; box-sizing: content-box;
  width: 0; height: 0; border: 1px solid transparent;
  content: ""; transition: all .3s; visibility: hidden;
}
.c-btn__inner::before { left: -1px; bottom: -1px; border-bottom-color: var(--color-text); }
.c-btn__inner::after { top: -1px; right: -1px; border-top-color: var(--color-text); }
@media (min-width: 737px) { .c-btn { max-width: 380px; font-size: 20px; } }
@media (max-width: 736px) { .c-btn { max-width: 310px; font-size: 15px; } }
.c-btn:hover { color: var(--color-text); }
.c-btn:hover .c-arrow { transform: translateX(5px); }
.c-btn--primary {
  background: var(--gradient-gold); border-color: transparent; color: #fff;
}
.c-btn--primary:hover { opacity: .9; color: #fff; }
.c-btn__inner { display: flex; align-items: center; justify-content: center; gap: 15px; line-height: 1; letter-spacing: 1.8px; }
.c-arrow {
  display: inline-block; width: 8px; height: 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .3s;
}
.c-arrow--prev { transform: rotate(-135deg); }
.c-arrow--next { transform: rotate(45deg); }

/* ============================================================
   CARD SLIDER (donuts.ne.jp exact: gap 40px, padding 0 40px)
   c-card__thumb: aspect-ratio 2, bg #ededed, border-radius 6px
   c-card__title: margin-top 15px, font-size 17px, bold
   c-card__content: margin-top 10px, font-size 15px
   ============================================================ */
.p-front-services { background: var(--bg-base); }
.p-front-services__bg {
  background: radial-gradient(ellipse at 60% 40%, rgba(184,134,11,.03) 0%, transparent 50%);
}
.c-card-slider {
  display: flex; align-items: center; justify-content: center;
  position: relative; gap: 40px; width: 100%; padding: 0 40px;
}
.c-card-slider--wide { padding: 0; }
@media (max-width: 736px) { .c-card-slider { padding: 0 16px; gap: 16px; flex-direction: column; } }
.c-card-slider__inner {
  width: 100%; overflow: hidden;
}
@media (min-width: 737px) { .c-card-slider__inner { overflow: hidden; max-width: 1100px; } }
.c-card-slider__track {
  display: flex; gap: 20px;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.c-card {
  flex: 0 0 280px; max-width: 280px; text-align: left;
}
@media (max-width: 736px) { .c-card { flex: 0 0 100%; max-width: 100%; } }
.c-card__inner {
  display: block; text-decoration: none; color: inherit;
}
.c-card__inner:hover .c-card__thumb-placeholder { transform: scale(1.05); }
.c-card__thumb {
  display: flex; overflow: hidden; align-items: center; justify-content: center;
  position: relative; width: 100%; aspect-ratio: 2;
  background-color: #ededed;
}
.c-card__thumb--radius { border-radius: 6px; }
.c-card__thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(184,134,11,.3);
  transition: transform .5s;
  object-fit: cover;
}
.c-card__title {
  margin-top: 15px; color: var(--color-text); font-size: 17px;
  font-weight: bold; line-height: 1.5;
}
@media (max-width: 736px) { .c-card__title { margin-top: 10px; font-size: 15px; } }
.c-card__content {
  margin-top: 10px; color: var(--color-text); font-size: 15px; line-height: 1.75;
}
@media (max-width: 736px) { .c-card__content { font-size: 13px; } }

/* Pager buttons (donuts uses circular arrows beside slider) */
.c-pager-btn {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); display: flex;
  align-items: center; justify-content: center;
  color: var(--color-text-sub); cursor: pointer;
  transition: all .3s; flex-shrink: 0;
  background: transparent; position: relative; z-index: 3;
}
.c-pager-btn:hover { border-color: var(--color-white); color: var(--color-white); }
.c-pager-btn .c-arrow { width: 10px; height: 10px; }
@media (max-width: 736px) { .c-pager-btn { display: none; } }

/* ============================================================
   SECTION: RESULTS
   ============================================================ */
.p-front-results { background: var(--bg-base); }
.p-front-results__bg {
  background: radial-gradient(ellipse at 40% 60%, rgba(36,158,168,.04) 0%, transparent 50%);
}
.p-results-grid {
  display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; justify-content: center;
}
.p-result-card { text-align: center; min-width: 140px; }
.p-result-num {
  font-family: var(--font-en); font-size: 55px; font-weight: 700;
  display: block; color: var(--color-white); line-height: 1;
}
.p-result-unit { font-size: 16px; color: var(--accent-light); }
.p-result-label {
  display: block; font-size: 12px; color: var(--color-text-dim);
  margin-top: 10px; letter-spacing: 1px;
}
.p-front-results__sub { margin-top: 48px; color: var(--accent-light); font-style: italic; }
@media (max-width: 736px) {
  .p-results-grid { gap: 24px; }
  .p-result-num { font-size: 40px; }
}

/* ============================================================
   SECTION: RECRUIT
   ============================================================ */
.p-front-recruit { background: var(--bg-base); }
.p-front-recruit__bg {
  background: radial-gradient(ellipse at 70% 50%, rgba(184,134,11,.03) 0%, transparent 50%);
}
.p-front-recruit__actions {
  display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; justify-content: center;
}

/* ============================================================
   FOOTER (dark, minimal — donuts.ne.jp style)
   ============================================================ */
.site-footer {
  background: var(--bg-base); border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 40px 30px; position: relative; z-index: 10;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand {}
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo-img { height: 36px; width: auto; }
.footer-tagline {
  font-family: var(--font-en); font-size: 12px; letter-spacing: 2px;
  color: var(--color-text-dim); margin-bottom: 16px;
}
.footer-desc { font-size: 13px; color: var(--color-text-sub); line-height: 2; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 768px) { .footer-links { grid-template-columns: repeat(2, 1fr); } }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--color-white);
  margin-bottom: 16px; letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 13px; color: var(--color-text-sub); transition: color .2s; }
.footer-col li a:hover { color: var(--accent-light); }
.footer-address { font-size: 13px; color: var(--color-text-sub); line-height: 1.8; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
}
@media (max-width: 768px) { .footer-bottom { flex-direction: column; gap: 16px; } }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--color-text-dim); transition: color .2s; }
.footer-legal a:hover { color: var(--color-text-sub); }
.footer-copy { font-size: 12px; color: var(--color-text-dim); }

/* ============================================================
   GENERAL PAGE STYLES (for subpages)
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-gray); }
.section-cta { background: linear-gradient(135deg, rgba(184,134,11,.08), rgba(0,0,0,.9)); padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } .section { padding: 60px 0; } }

/* Utility */
.u-pc-only { display: inline; }
@media (max-width: 736px) { .u-pc-only { display: none; } }

/* ============================================================
   PAGE HERO — premium full-width header for subpages
   ============================================================ */
.page-hero {
  padding: 180px 0 100px; background: var(--bg-base);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(184,134,11,.06) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__label {
  display: inline-block; font-family: var(--font-en); font-size: 11px;
  letter-spacing: 4px; text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 16px; font-weight: 500;
}
.page-hero__title-en {
  font-family: var(--font-heading); font-size: clamp(32px, 6vw, 52px);
  font-weight: 200; color: var(--color-white); line-height: 1.2;
  letter-spacing: .12em; margin-bottom: 12px;
}
.page-hero__title-ja {
  font-size: 15px; color: var(--color-text-sub); letter-spacing: .2em;
  margin-bottom: 24px;
}
.page-hero__lead {
  font-size: 15px; color: var(--color-text); line-height: 2;
  letter-spacing: .06em; max-width: 640px; margin: 0 auto;
}
@media (max-width: 736px) {
  .page-hero { padding: 140px 0 60px; }
  .page-hero__lead { font-size: 13px; }
}
/* Reduce page-hero top padding when breadcrumb is present above */
.breadcrumb + .page-hero { padding-top: 80px; }
@media (max-width: 736px) { .breadcrumb + .page-hero { padding-top: 60px; } }
.page-hero h1, .page-hero-title {
  font-family: var(--font-heading); font-size: clamp(28px, 5vw, 44px);
  font-weight: 200; color: var(--color-white); margin-bottom: 12px;
  letter-spacing: .12em;
}
.page-hero p, .page-hero-desc {
  font-family: var(--font-en); font-size: 14px; color: var(--color-text-dim);
  letter-spacing: 2px; text-transform: uppercase;
}

/* Section titles (for subpages) */
.section-title { margin-bottom: 48px; }
.section-title-en {
  display: block; font-family: var(--font-en); font-size: 12px;
  letter-spacing: 4px; text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 8px; font-weight: 500;
}
.section-title-ja { font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--color-white); }

/* ============================================================
   SERVICES PAGE — premium domain cards & orbit visual
   ============================================================ */
.services-section-header { margin-bottom: 48px; text-align: center; }
.services-section-header__en {
  display: block; font-family: var(--font-en); font-size: 12px;
  letter-spacing: 4px; text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 8px; font-weight: 500;
}
.services-section-header__ja { font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--color-white); }

/* Philosophy section */
.services-philosophy {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center;
}
@media (max-width: 768px) { .services-philosophy { grid-template-columns: 1fr; gap: 40px; } }
.services-philosophy__heading {
  font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--color-white);
  margin-bottom: 20px;
}
.services-philosophy__text p {
  font-size: 14px; color: var(--color-text-sub); line-height: 2; margin-bottom: 16px;
}

/* Orbit visual */
.services-orbit {
  position: relative; width: 240px; height: 240px; margin: 0 auto;
}
.services-orbit__center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--gradient-gold); display: flex; flex-direction: column;
  align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 8px 32px rgba(184,134,11,.3);
}
.services-orbit__label {
  font-family: var(--font-en); font-size: 18px; font-weight: 700; color: #fff;
}
.services-orbit__sub { font-size: 9px; color: rgba(255,255,255,.8); margin-top: 2px; }
.services-orbit__ring {
  position: absolute; inset: 0;
  border: 1px dashed rgba(184,134,11,.3); border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.services-orbit__node {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-gray); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; color: var(--color-text);
  animation: orbitCounterSpin 20s linear infinite;
}
@keyframes orbitCounterSpin { to { transform: rotate(-360deg); } }
.services-orbit__node--1 { top: -24px; left: 50%; margin-left: -24px; }
.services-orbit__node--2 { top: 50%; right: -24px; margin-top: -24px; }
.services-orbit__node--3 { bottom: -24px; left: 50%; margin-left: -24px; }
.services-orbit__node--4 { top: 50%; left: -24px; margin-top: -24px; }

/* Domain cards */
.services-domains { display: flex; flex-direction: column; gap: 0; }
.services-domain {
  display: flex; gap: 32px; padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.services-domain:hover { background: rgba(255,255,255,.02); }
.services-domain:last-child { border-bottom: none; }
.services-domain__number {
  font-family: var(--font-en); font-size: 48px; font-weight: 200;
  color: rgba(184,134,11,.4); line-height: 1; flex-shrink: 0; width: 60px;
}
.services-domain__brand {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 2px;
  color: var(--accent-light); margin-bottom: 6px; font-weight: 500;
}
.services-domain__title {
  font-size: 22px; font-weight: 700; color: var(--color-white); margin-bottom: 12px;
}
.services-domain__desc {
  font-size: 14px; color: var(--color-text-sub); line-height: 1.9; margin-bottom: 16px;
}
.services-domain__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.services-domain__tags li {
  font-size: 11px; padding: 4px 12px; border-radius: 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--color-text-sub); letter-spacing: .5px;
}
@media (max-width: 736px) {
  .services-domain { flex-direction: column; gap: 12px; padding: 32px 0; }
  .services-domain__number { font-size: 36px; width: auto; }
  .services-domain__title { font-size: 18px; }
}

/* Strengths */
.services-strengths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 960px; margin: 0 auto;
}
.services-strength {
  background: var(--bg-gray); border-radius: 12px; padding: 32px 24px;
  text-align: center; border: 1px solid rgba(255,255,255,.05);
  transition: all .3s var(--ease);
}
.services-strength:hover { transform: translateY(-4px); border-color: rgba(184,134,11,.2); }
.services-strength__icon { font-size: 28px; color: var(--accent-light); margin-bottom: 16px; }
.services-strength h3 { font-size: 15px; font-weight: 700; color: var(--color-white); margin-bottom: 10px; }
.services-strength p { font-size: 12px; color: var(--color-text-sub); line-height: 1.8; }
@media (max-width: 768px) { .services-strengths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-strengths { grid-template-columns: 1fr; } }

/* CTA lead */
.cta-lead { font-size: 14px; color: var(--color-text-dim); margin-bottom: 12px; letter-spacing: .5px; }

/* ============================================================
   COMPANY PAGE STYLES
   ============================================================ */
.company-table-wrap { max-width: 800px; margin: 0 auto; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid rgba(255,255,255,.08); }
.company-table th, .company-table td { padding: 16px 0; font-size: 14px; vertical-align: top; }
.company-table th { width: 25%; color: var(--color-text-dim); font-weight: 500; text-align: left; padding-right: 16px; }
.company-table td { color: var(--color-text); line-height: 1.8; }
@media (max-width: 736px) {
  .company-table th { width: 30%; font-size: 12px; }
  .company-table td { font-size: 13px; }
}

/* Access */
.access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 768px) { .access-grid { grid-template-columns: 1fr; } }
.access-card {
  background: var(--bg-gray); border-radius: 12px; padding: 32px;
  border: 1px solid rgba(255,255,255,.06); transition: border-color .3s;
}
.access-card:hover { border-color: rgba(184,134,11,.2); }
.access-card h3 { font-size: 17px; font-weight: 700; color: var(--color-white); margin-bottom: 16px; }
.access-card h3 i { color: var(--accent-light); margin-right: 8px; }
.access-address { font-size: 14px; color: var(--color-text); line-height: 1.8; margin-bottom: 12px; }
.access-transport { font-size: 13px; color: var(--color-text-sub); line-height: 1.8; }
.access-transport i { color: var(--accent-light); margin-right: 4px; font-size: 11px; }

/* Message / Philosophy */
.message-page-wrap { max-width: 700px; margin: 0 auto; }
.message-page-content h2 {
  font-family: var(--font-en); font-size: 24px; font-weight: 400;
  color: var(--accent-light); margin-bottom: 32px; letter-spacing: .1em;
}
.message-page-content p { font-size: 15px; color: var(--color-text); line-height: 2.2; margin-bottom: 20px; }
.message-author-block {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px; color: var(--color-text-dim); letter-spacing: 1px;
}
.philosophy-block { max-width: 800px; margin: 0 auto; }
.philosophy-main { text-align: center; margin-bottom: 60px; }
.philosophy-title {
  font-family: var(--font-en); font-size: clamp(24px, 4vw, 36px);
  font-weight: 300; color: var(--color-white); margin-bottom: 12px; letter-spacing: .08em;
}
.philosophy-desc { font-size: 16px; color: var(--color-text-sub); }
.philosophy-values { display: flex; flex-direction: column; gap: 32px; }
.philosophy-value {
  padding: 28px; background: var(--bg-gray); border-radius: 12px;
  border-left: 3px solid var(--accent);
}
.philosophy-value h3 { font-size: 16px; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.philosophy-value p { font-size: 13px; color: var(--color-text-sub); line-height: 1.9; }

/* History */
.history-timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 32px; }
.history-timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent), rgba(184,134,11,.1));
}
.history-item { position: relative; margin-bottom: 40px; }
.history-item::before {
  content: ''; position: absolute; left: -37px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg-base);
}
.history-year {
  font-family: var(--font-en); font-size: 28px; font-weight: 300;
  color: var(--accent-light); margin-bottom: 8px;
}
.history-content h4 { font-size: 16px; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.history-content p { font-size: 13px; color: var(--color-text-sub); line-height: 1.8; }

/* ============================================================
   RECRUIT PAGE STYLES
   ============================================================ */
.recruit-message { max-width: 700px; margin: 0 auto; text-align: center; }
.recruit-message h2 {
  font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--color-white);
  margin-bottom: 20px;
}
.recruit-message p { font-size: 14px; color: var(--color-text-sub); line-height: 2; }
.recruit-positions { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.recruit-card {
  background: var(--bg-gray); border-radius: 12px; padding: 32px;
  border: 1px solid rgba(255,255,255,.06); transition: all .3s var(--ease);
}
.recruit-card:hover { border-color: rgba(184,134,11,.2); transform: translateY(-3px); }
.recruit-card h3 { font-size: 17px; font-weight: 700; color: var(--color-white); margin-bottom: 10px; }
.recruit-card p { font-size: 13px; color: var(--color-text-sub); line-height: 1.8; margin-bottom: 16px; }
.service-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-card-tags li {
  font-size: 11px; padding: 4px 10px; border-radius: 16px;
  background: rgba(184,134,11,.08); color: var(--accent-light); font-weight: 500;
}

/* ============================================================
   CASES PAGE STYLES
   ============================================================ */
.results-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.result-card {
  background: var(--bg-gray); border-radius: 12px; padding: 32px;
  border: 1px solid rgba(255,255,255,.06); transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.result-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--gradient-gold); opacity: 0; transition: opacity .3s;
}
.result-card:hover { border-color: rgba(184,134,11,.2); }
.result-card:hover::before { opacity: 1; }
.result-category {
  font-family: var(--font-en); font-size: 10px; letter-spacing: 2px;
  color: var(--accent-light); margin-bottom: 10px; font-weight: 600; text-transform: uppercase;
}
.result-card h3 { font-size: 16px; font-weight: 700; color: var(--color-white); margin-bottom: 10px; }
.result-card p { font-size: 13px; color: var(--color-text-sub); line-height: 1.8; }

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */
.contact-tabs { display: flex; gap: 0; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-tab {
  padding: 14px 24px; font-size: 13px; color: var(--color-text-sub);
  transition: all .2s; border-bottom: 2px solid transparent; font-weight: 500;
}
.contact-tab:hover { color: var(--color-white); }
.contact-tab.active { color: var(--accent-light); border-bottom-color: var(--accent); }
@media (max-width: 768px) { .contact-tab { padding: 10px 12px; font-size: 12px; } }
.contact-form-wrap { max-width: 700px; margin: 0 auto; }
.contact-form-wrap h2 { font-size: 22px; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.contact-note { font-size: 13px; color: var(--color-text-sub); margin-bottom: 32px; line-height: 1.8; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--color-text);
  margin-bottom: 8px;
}
.form-group .required { color: var(--accent-light); font-size: 10px; margin-left: 4px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; background: var(--bg-gray);
  border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  color: var(--color-text); font-size: 14px; font-family: var(--font);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-actions { text-align: center; padding-top: 16px; }

/* Buttons for subpages */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 6px; font-size: 14px; font-weight: 600;
  transition: all .3s var(--ease); cursor: pointer;
  letter-spacing: .5px; text-align: center; text-decoration: none;
}
.btn-primary {
  background: var(--gradient-gold); color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(184,134,11,.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,134,11,.3); color: #fff; }
.btn-outline {
  background: transparent; color: var(--color-text-sub);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 15px; }
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }

/* Results numbers (for subpages) */
.results-numbers { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.result-num-item { text-align: center; }
.result-num-item strong {
  font-family: var(--font-en); font-size: 48px; font-weight: 300;
  display: block; color: var(--color-white); line-height: 1;
}
.result-num-item strong span { font-size: 16px; font-weight: 500; color: var(--accent-light); }
.result-num-item > span { display: block; font-size: 12px; color: var(--color-text-dim); margin-top: 8px; }

/* News list */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.news-item time { font-family: var(--font-en); font-size: 13px; color: var(--color-text-dim); flex-shrink: 0; }
.news-tag {
  font-size: 10px; padding: 3px 10px; border-radius: 3px;
  background: var(--accent); color: #fff; font-weight: 600; flex-shrink: 0;
}
.news-item a { font-size: 14px; color: var(--color-text-sub); transition: color .2s; }
.news-item a:hover { color: var(--color-white); }
@media (max-width: 768px) { .news-item { flex-wrap: wrap; gap: 8px; } }

/* CTA Section */
.cta-section {
  padding: 80px 0; text-align: center;
  background: var(--bg-gray);
}
.cta-title { font-size: clamp(22px, 4vw, 28px); font-weight: 700; color: var(--color-white); margin-bottom: 12px; }
.cta-desc { font-size: 14px; color: var(--color-text-sub); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   IR PAGE STYLES
   ============================================================ */
.ir-corporate-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin-top: 40px;
}
.ir-card {
  background: var(--bg-gray); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 36px; transition: box-shadow .3s var(--ease);
}
.ir-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.ir-card-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(184,134,11,.1); border-radius: 8px; color: var(--accent-light);
  font-size: 20px; margin-bottom: 20px;
}
.ir-card h3 { font-size: 18px; font-weight: 700; color: var(--color-white); margin-bottom: 20px; }
.ir-table { width: 100%; border-collapse: collapse; }
.ir-table tr { border-bottom: 1px solid rgba(255,255,255,.08); }
.ir-table th, .ir-table td { padding: 10px 0; font-size: 14px; vertical-align: top; }
.ir-table th { width: 30%; color: var(--color-text-dim); font-weight: 500; text-align: left; }
.ir-table td { color: var(--color-text); }
.ir-portfolio { display: flex; flex-direction: column; gap: 16px; }
.ir-portfolio li {
  padding: 16px; background: rgba(255,255,255,.03); border-radius: 8px; transition: background .3s;
}
.ir-portfolio li:hover { background: rgba(184,134,11,.08); }
.ir-portfolio-name { display: block; font-size: 15px; font-weight: 700; color: var(--color-white); margin-bottom: 4px; }
.ir-portfolio-desc { font-size: 13px; color: var(--color-text-sub); }
@media (max-width: 768px) { .ir-corporate-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICE PAGE CARD STYLES (for /services, /healthcare etc.)
   ============================================================ */
.service-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  overflow: hidden; background: var(--bg-gray); transition: all .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.3); border-color: var(--accent-dim); }
.service-card-visual { flex-shrink: 0; }
.service-card-body { padding: 24px; flex: 1; }
.service-card-body h3 { font-size: 17px; font-weight: 700; color: var(--color-white); margin-bottom: 4px; }
.service-card-body p { font-size: 13px; color: var(--color-text-sub); margin-bottom: 12px; }
.service-card-link {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: var(--accent-light); font-weight: 500; transition: background .3s;
}
.service-card:hover .service-card-link { background: rgba(184,134,11,.08); }

/* Image placeholders for subpages */
.image-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: var(--bg-gray); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--color-text-dim); border: 1px dashed rgba(255,255,255,.1);
  transition: all .3s var(--ease);
}
.image-placeholder:hover { border-color: var(--accent-dim); color: var(--accent-light); }
.image-placeholder i { font-size: 32px; opacity: .5; }
.image-placeholder span { font-size: 12px; letter-spacing: .5px; font-weight: 500; }
.image-placeholder-lg { min-height: 320px; }
.image-placeholder-sm { min-height: 120px; border-radius: 8px; }
.image-placeholder-card { min-height: 140px; border-radius: 12px 12px 0 0; border-bottom: none; }

/* Gallery (for subpages) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; }
.gallery-item .image-placeholder { min-height: 200px; border-radius: 0; border: none; }
.gallery-item-wide { grid-column: span 2; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0; padding-top: calc(var(--header-h) + 16px);
  font-size: 12px; color: var(--color-text-dim);
  background: rgba(255,255,255,.02); border-bottom: 1px solid rgba(255,255,255,.05);
}
@media (max-width: 736px) { .breadcrumb { padding-top: calc(var(--header-h-sp) + 12px); } }
.breadcrumb ol { display: flex; gap: 8px; align-items: center; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--color-text-dim); }
.breadcrumb a { color: var(--color-text-sub); transition: color .2s; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-light); }

/* ============================================================
   ADDITIONAL GRID (for governance, features sections on subpages)
   ============================================================ */
.additional-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 32px;
}
.additional-item {
  background: var(--bg-gray); border-radius: 12px; padding: 28px;
  transition: transform .3s var(--ease);
}
.additional-item:hover { transform: translateY(-4px); }
.additional-icon {
  font-size: 24px; color: var(--accent-light); margin-bottom: 12px;
}
.additional-item h4 {
  font-size: 15px; font-weight: 700; color: var(--color-white); margin-bottom: 8px;
}
.additional-item p {
  font-size: 13px; color: var(--color-text-sub); line-height: 1.8;
}
@media (max-width: 736px) {
  .additional-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   COMPANY SLIDE SECTION
   ============================================================ */
.p-company-slide-section { margin-bottom: 64px; }
.p-company-slide { width: 100%; max-width: 800px; margin: 24px auto 0; }
.p-company-slide__note {
  font-size: 0.75rem; color: #888;
  text-align: right; margin-top: 8px;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-page-list { max-width: 800px; margin: 0 auto; }
.news-page-item {
  padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.news-page-item:last-child { border-bottom: none; }
.news-page-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-page-date { font-family: var(--font-en); font-size: 13px; color: var(--color-text-dim); letter-spacing: .5px; }
.news-page-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 3px;
  color: #fff; font-weight: 500; letter-spacing: .5px;
}
.news-page-title {
  font-size: 18px; font-weight: 700; color: var(--color-white);
  margin-bottom: 12px; line-height: 1.6;
}
.news-page-body {
  font-size: 14px; color: var(--color-text-sub); line-height: 2;
}
@media (max-width: 736px) {
  .news-page-title { font-size: 16px; }
  .news-page-item { padding: 24px 0; }
}

/* News page link (list items) */
.news-page-link {
  display: block; text-decoration: none; color: inherit;
  transition: opacity .2s;
}
.news-page-link:hover { opacity: .8; }
.news-page-link:hover .news-page-title { color: var(--accent-light); }

/* ============================================================
   NEWS DETAIL PAGE
   ============================================================ */
.news-detail { max-width: 800px; margin: 0 auto; }
.news-detail-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.news-detail-date {
  font-family: var(--font-en); font-size: 14px; color: var(--color-text-dim);
  letter-spacing: .5px;
}
.news-detail-tag {
  font-size: 11px; padding: 4px 12px; border-radius: 3px;
  color: #fff; font-weight: 600; letter-spacing: .5px;
}
.news-detail-title {
  font-size: clamp(22px, 4vw, 30px); font-weight: 700; color: var(--color-white);
  line-height: 1.6; margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.news-detail-body {
  font-size: 15px; color: var(--color-text); line-height: 2.2;
  letter-spacing: .02em;
}
.news-detail-body h2 {
  font-size: 20px; font-weight: 700; color: var(--color-white);
  margin: 48px 0 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,134,11,.2);
}
.news-detail-body h3 {
  font-size: 17px; font-weight: 700; color: var(--color-white);
  margin: 32px 0 12px;
}
.news-detail-body p {
  margin-bottom: 20px;
}
.news-detail-body ul, .news-detail-body ol {
  margin: 16px 0 24px 24px; list-style: disc;
}
.news-detail-body ol { list-style: decimal; }
.news-detail-body li {
  font-size: 14px; color: var(--color-text-sub); line-height: 2;
  margin-bottom: 8px;
}
.news-detail-body strong {
  color: var(--color-white); font-weight: 600;
}
.news-detail-body blockquote {
  margin: 24px 0; padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(184,134,11,.04); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--color-text-sub);
}
.news-detail-back {
  margin-top: 60px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.news-detail-back a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--color-text-sub); transition: color .2s;
  text-decoration: none;
}
.news-detail-back a:hover { color: var(--accent-light); }
.news-detail-back a i { font-size: 12px; }
@media (max-width: 736px) {
  .news-detail-title { font-size: 20px; margin-bottom: 32px; }
  .news-detail-body { font-size: 14px; }
  .news-detail-body h2 { font-size: 18px; }
  .news-detail-body h3 { font-size: 16px; }
  .news-detail-back { margin-top: 40px; }
}
