/* ============================================
   MIYABI DOBOKU - Tada-inspired build
   ============================================ */

:root {
  --c-cream:   #f0ecdf;
  --c-cream-2: #e8e3d3;
  --c-ink:     #131313;
  --c-ink-2:   #2b2b2b;
  --c-blue:    #0055ff;
  --c-blue-2:  #003ee5;
  --c-blue-3:  #4d85ff;
  --c-white:   #ffffff;
  --c-gray-300:#a5a29a;
  --c-gray-500:#6b6960;
  --c-earth:   #7a6a4a;

  --f-brush:   "Reggae One", "Zen Kaku Gothic New", sans-serif;
  --f-ser:     "Noto Serif JP", serif;
  --f-sans:    "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --f-en:      "Barlow", sans-serif;

  --max: 1240px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.85;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0;
  background: var(--c-cream);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.loader__inner { text-align: center; position: relative; }
.loader__cross {
  position: relative; width: 200px; height: 200px; margin: 0 auto;
}
.loader__cross-h, .loader__cross-v {
  position: absolute; background: var(--c-blue);
}
.loader__cross-h {
  left: 0; top: 50%; width: 100%; height: 40px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: loadCrossH 0.6s var(--ease) forwards;
}
.loader__cross-v {
  left: 50%; top: 0; width: 40px; height: 100%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  animation: loadCrossV 0.6s var(--ease) 0.5s forwards;
}
@keyframes loadCrossH { to { transform: translateY(-50%) scaleX(1); } }
@keyframes loadCrossV { to { transform: translateX(-50%) scaleY(1); } }
.loader__logo {
  width: 180px; height: 48px;
  margin: 24px auto 0;
  background: url("../photos-final/logo-wordmark-clean.png") center/contain no-repeat;
  opacity: 0;
  animation: loadLogo 0.6s var(--ease) 1.1s forwards;
}
@keyframes loadLogo { to { opacity: 1; } }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: var(--c-cream);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(240, 236, 223, 0.94);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.header__inner {
  max-width: calc(var(--max) + 96px);
  margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.header__logo { display: flex; align-items: center; gap: 14px; }
.header__logo-mark {
  width: 52px; height: 52px;
  background: url("../photos-final/logo-mark.png") center/contain no-repeat;
  color: transparent;
  font-size: 0;
  flex: none;
}
.header__logo-wordmark {
  width: 132px; height: 36px;
  background: url("../photos-final/logo-wordmark-clean.png") left center/contain no-repeat;
  flex: none;
}
.nav { display: flex; align-items: center; gap: 40px; }
.nav__list {
  display: flex; gap: 32px;
}
.nav__list > li { position: relative; }
.nav__list > li > a {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  position: relative;
  padding: 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__list > li > a::after {
  content: "";
  position: absolute; left: 0; bottom: 12px;
  width: 100%; height: 2px;
  background: var(--c-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__list > li > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__list > li > a .arrow {
  font-size: 9px;
  transition: transform 0.3s var(--ease);
  color: var(--c-blue);
}
.nav__list > li:hover > a .arrow { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--c-white);
  border-top: 3px solid var(--c-blue);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  z-index: 10;
}
.nav__list > li:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--c-ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.nav__dropdown a:hover { background: var(--c-blue); color: var(--c-white); }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.header__menu { display: none; }

/* ============ PILL BUTTONS ============ */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.pill--outline {
  border: 1.5px solid var(--c-blue);
  color: var(--c-blue);
  background: transparent;
}
.pill--outline:hover {
  background: var(--c-blue);
  color: var(--c-white);
}
.pill--solid {
  background: var(--c-blue);
  color: var(--c-white);
  border: 1.5px solid var(--c-blue);
}
.pill--solid:hover {
  background: var(--c-blue-2);
  border-color: var(--c-blue-2);
  transform: translateY(-2px);
}
.pill--dark {
  background: var(--c-ink);
  color: var(--c-white);
  border: 1.5px solid var(--c-ink);
}
.pill--dark:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
}
.pill--sm { padding: 10px 20px; font-size: 12px; }
.pill--lg { padding: 20px 40px; font-size: 17px; }
.pill__arrow { font-family: var(--f-en); font-weight: 700; transition: transform 0.3s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(4px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  overflow: hidden;
  background: var(--c-cream);
}
.hero__cross {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__cross-h {
  position: absolute;
  left: -100px; right: -100px;
  top: 42%;
  height: 160px;
  background: url("../photos-final/cross-h.png") center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
  transform: translateY(-50%) rotate(-2deg);
  transform-origin: center;
  z-index: 4;
}
.hero__cross-v {
  position: absolute;
  top: 96px; bottom: -60px;
  left: 8%;
  width: 160px;
  background: url("../photos-final/cross-v.png") center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
  transform: rotate(-2deg);
  transform-origin: top;
  z-index: 4;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: calc(var(--max) + 96px);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  gap: 40px;
  align-items: start;
  min-height: calc(100vh - 180px);
}
.hero__title-wrap {
  position: relative;
  z-index: 3;
  padding-top: 40px;
}
.hero__eyebrow {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-ink);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  opacity: 0.85;
}
.hero__eyebrow .line {
  width: 40px; height: 2px;
  background: var(--c-blue);
  display: inline-block;
}
.hero__title {
  font-family: var(--f-brush);
  font-weight: 400;
  font-size: clamp(80px, 11vw, 184px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  position: relative;
  z-index: 3;
  filter: url(#grungeFilter) drop-shadow(4px 4px 0 rgba(0,0,0,0.08));
}
.hero__title-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.hero__title-inner {
  display: inline-block;
  white-space: nowrap;
}
.hero__title-char {
  display: inline-block;
}
.hero__romaji {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-ink);
  opacity: 0;
  transform: translateY(20px);
}
.hero__romaji-tick {
  width: 44px;
  height: 2px;
  background: var(--c-blue);
  flex: none;
}
.hero__romaji span {
  display: inline-block;
}
.hero__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 96px;
  width: 45%;
  max-width: 675px;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
}
.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 40px 40px rgba(0,0,0,0.25));
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.65,0,0.35,1);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
  animation: heroKenBurns 12s ease-out infinite alternate;
  transform-origin: right bottom;
}
.hero__slide.is-active img {
  animation-play-state: running;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.03); }
}
.hero__figure-badge {
  display: none;
}
.hero__tagline {
  writing-mode: vertical-rl;
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: clamp(14px, 1vw, 17px);
  letter-spacing: 0.2em;
  line-height: 2.4;
  color: var(--c-ink);
  padding: 20px 0 20px 20px;
  align-self: start;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  border-right: 1px solid rgba(19,19,19,0.3);
}
.hero__tagline span { display: block; }
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 24px;
  z-index: 10;
  writing-mode: vertical-rl;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--c-ink);
  display: flex; align-items: center; gap: 12px;
  mix-blend-mode: difference;
  color: var(--c-white);
}
.hero__scroll-line {
  width: 1.5px; height: 70px;
  background: rgba(19,19,19,0.2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; top: -70px; left: 0;
  width: 100%; height: 70px;
  background: var(--c-ink);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -70px; }
  100% { top: 70px; }
}

/* ============ TEAM BAND (About Preview) ============ */
.team-band {
  position: relative;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  background: var(--c-ink);
  color: var(--c-white);
  padding: 100px 0 120px;
}
.team-band__photo {
  position: absolute;
  inset: 0;
  background: url("../photos-final/works/work-haikin.jpg") center/cover no-repeat;
  filter: contrast(1.1) saturate(0.9) brightness(0.7);
}
.team-band__photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.team-band__accent {
  position: absolute;
  left: 0; top: -40px; bottom: -40px;
  width: 160px;
  background: linear-gradient(180deg, rgba(0,85,255,0.85), rgba(0,55,255,0.55));
  transform: skewX(-8deg);
  transform-origin: top left;
  z-index: 2;
}
.team-band__inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.team-band__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.6;
  color: var(--c-white);
  margin-bottom: 32px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
}
.team-band__desc {
  font-family: var(--f-ser);
  font-weight: 500;
  font-size: 16px;
  line-height: 2.1;
  color: rgba(255,255,255,0.9);
  margin-bottom: 48px;
  max-width: 620px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.team-band__cta {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}
.team-band__cta:hover {
  background: var(--c-white);
  color: var(--c-blue);
}

/* ============ NEWS ============ */
.news {
  padding: 100px 0 80px;
  background: var(--c-cream);
  border-top: 1px solid rgba(19,19,19,0.08);
}
.news__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.news__inner::before {
  content: "";
  position: absolute;
  left: 260px;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(19,19,19,0.15);
}
.news__head {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start;
}
.news__title {
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1;
}
.news__title-en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 72px;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.news__title-jp {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--c-gray-500);
  writing-mode: vertical-rl;
  padding-top: 8px;
}
.news__list {
  display: flex; flex-direction: column;
}
.news__list li {
  display: grid;
  grid-template-columns: 130px 90px 1fr 40px;
  gap: 20px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid rgba(19,19,19,0.12);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.news__list li:first-child { border-top: 1px solid rgba(19,19,19,0.12); }
.news__list li:hover { background: rgba(0,85,255,0.04); }
.news__date {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 15px;
  color: var(--c-ink);
  letter-spacing: 0.05em;
}
.news__tag {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--c-blue);
  border: 1px solid var(--c-blue);
  padding: 3px 10px;
  text-align: center;
  border-radius: 2px;
}
.news__text {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--c-ink);
  line-height: 1.6;
}
.news__arrow {
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-en);
  font-size: 16px;
  color: var(--c-blue);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  justify-self: end;
}
.news__list li:hover .news__arrow { background: var(--c-blue); color: var(--c-white); }

/* ============ PROMO BAND (NOBLE-style) ============ */
.promo-band {
  padding: 40px 0 100px;
  background: var(--c-cream);
}
.promo-band__link {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  text-decoration: none;
  color: var(--c-white);
  position: relative;
}
.promo-band__photo {
  height: 200px;
  background: url("../photos-final/works/work-katawaku.jpg") center/cover no-repeat;
  filter: contrast(1.05) brightness(0.6);
  position: relative;
  transition: filter 0.5s var(--ease);
}
.promo-band__photo--csr {
  background: url("../photos-final/works/work-base.jpg") center/cover no-repeat;
}
.promo-band__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,55,255,0.7) 0%, rgba(0,55,255,0.3) 100%);
}
.promo-band__link:hover .promo-band__photo { filter: contrast(1.05) brightness(0.5); }
.promo-band__inner {
  position: absolute;
  left: 80px; top: 50%; transform: translateY(-50%);
  z-index: 2;
}
.promo-band__title {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.promo-band__sub {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
}
.promo-band__arrow {
  position: absolute;
  right: 100px; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border: 1.5px solid var(--c-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-en);
  font-size: 20px;
  color: var(--c-white);
  z-index: 2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.promo-band__link:hover .promo-band__arrow {
  background: var(--c-white);
  color: var(--c-blue);
}

/* ============ ABOUT ============ */
.about {
  position: relative;
  padding: 140px 0 120px;
  background: var(--c-cream);
  overflow: hidden;
}
.about__bg {
  position: absolute;
  right: -100px;
  top: 20%;
  width: 400px; height: 400px;
  background: var(--c-blue);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(60px);
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.section__inner--narrow { max-width: 800px; text-align: center; }
.section__label {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-blue);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section__label span {
  width: 40px; height: 2px;
  background: var(--c-blue);
  display: block;
}
.section__label--white { color: var(--c-white); }
.section__label--white span { background: var(--c-white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
}
.about__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.4;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}
.about__title span { display: block; }
.about__title span:last-child { color: var(--c-blue); }
.about__lead {
  font-family: var(--f-ser);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 2;
  color: var(--c-ink);
  margin-bottom: 32px;
}
.about__text {
  color: var(--c-gray-500);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--c-ink);
  border-bottom: 2px solid var(--c-ink);
  padding: 32px 0;
}
.stat {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(19,19,19,0.15);
  display: flex; flex-direction: column; align-items: center;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.stat__suffix {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink);
  align-self: flex-end;
  transform: translateY(-8px);
  margin-left: 4px;
}
.stat__label {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-gray-500);
  margin-top: 8px;
}

/* ============ BUSINESS (青いメガ帯) ============ */
.business {
  position: relative;
  background: var(--c-blue);
  color: var(--c-white);
  padding: 140px 0 160px;
  overflow: hidden;
}
.business::before,
.business::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.08);
}
.business::before {
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
}
.business::after {
  bottom: -150px; left: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
}
.business__label {
  position: absolute;
  top: 60px; left: 40px;
  z-index: 2;
}
.business__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 40px 0;
  position: relative;
  z-index: 1;
}
.business__title {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 32px;
}
.business__title-en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.business__title-jp {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2em;
}
.business__desc {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 2;
  margin-bottom: 80px;
  color: rgba(255,255,255,0.9);
}
.business__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
/* Business Grid Layout */
.business__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  margin-top: 40px;
  align-items: start;
}
.business__side {
  padding-top: 20px;
}
.business__desc {
  font-family: var(--f-ser);
  font-weight: 500;
  font-size: 16px;
  line-height: 2.2;
  color: var(--c-white);
  margin-bottom: 40px;
}
.business__viewall {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border: 1.5px solid var(--c-white);
  border-radius: 999px;
  color: var(--c-white);
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  text-decoration: none;
}
.business__viewall:hover { background: var(--c-white); color: var(--c-blue); }
.business__viewall-arrow {
  width: 32px; height: 32px;
  border: 1.5px solid var(--c-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.business__viewall:hover .business__viewall-arrow { border-color: var(--c-blue); color: var(--c-blue); }

/* Business Slider (Tada-style photo with overlay) */
.business__slider {
  position: relative;
}
.business__slides {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.bslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.65,0,0.35,1), visibility 1.4s cubic-bezier(0.65,0,0.35,1);
  text-decoration: none;
  overflow: hidden;
  display: block;
}
.bslide.is-active { opacity: 1; visibility: visible; }
.bslide__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) brightness(0.8);
  transform: scale(1.02);
  transition: transform 6s cubic-bezier(0.16,1,0.3,1);
}
.bslide.is-active .bslide__photo { transform: scale(1.08); }
.bslide__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,55,255,0.35) 100%);
}
.bslide__photo--civil {
  background-image: url("../photos-final/works/work-katawaku.jpg");
}
.bslide__photo--piping {
  background-image: url("../photos-final/works/work-youheki.jpg");
}
.bslide__photo--kankou {
  background-image: url("https://images.unsplash.com/photo-1565364507085-325347bae748?w=1600&q=85&auto=format&fit=crop");
}
.bslide__photo--capability {
  background-image: url("../photos-final/works/work-kensa.jpg");
}
.bslide__overlay {
  position: absolute;
  left: 40px; bottom: 40px;
  z-index: 2;
  color: var(--c-white);
}
.bslide__tag {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.15em;
  opacity: 0.85;
  display: block;
  margin-bottom: 8px;
}
.bslide__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.bslide__en {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--c-white);
  opacity: 0.9;
}

.business__pagination {
  margin-top: 20px;
  display: flex; gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.bdot {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease);
}
.bdot::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left;
}
.bdot.is-active::before {
  transform: scaleX(1);
  transition: transform 4s linear;
}
.bdot:hover { background: rgba(255,255,255,0.5); }
.bcard {
  background: var(--c-white);
  color: var(--c-ink);
  padding: 48px;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex; flex-direction: column;
  min-height: 420px;
}
.bcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.bcard__photo {
  width: calc(100% + 96px);
  height: 220px;
  margin: -48px -48px 32px;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(0.95);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.bcard--civil .bcard__photo {
  background-image: url("https://images.unsplash.com/photo-1610477865545-37711c53144d?w=900&q=80&auto=format&fit=crop");
}
.bcard--piping .bcard__photo {
  background-image: url("https://images.unsplash.com/photo-1565364507085-325347bae748?w=900&q=80&auto=format&fit=crop");
}
.bcard:hover .bcard__photo { transform: scale(1.04); }
.bcard__num {
  position: absolute;
  top: 240px; right: 40px;
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 88px;
  color: rgba(0,85,255,0.15);
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 2;
}
.bcard__body { margin-top: 0; }
.bcard__title {
  font-family: var(--f-ser);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.bcard__en {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--c-blue);
  margin-bottom: 20px;
}
.bcard__desc {
  color: var(--c-gray-500);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.bcard__more {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-blue);
  display: inline-flex; align-items: center; gap: 8px;
}
.bcard__arrow { transition: transform 0.3s var(--ease); }
.bcard:hover .bcard__arrow { transform: translateX(6px); }

/* ============ WORKS ============ */
.works { padding: 140px 0 120px; background: var(--c-cream); }
.works__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--c-ink);
}
.section__title {
  display: flex; align-items: baseline; gap: 20px;
  line-height: 1;
}
.section__title-en {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.section__title-jp {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--c-gray-500);
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.wcard { cursor: pointer; }
.wcard__img {
  width: 100%; aspect-ratio: 5/3;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  filter: brightness(0.95) contrast(1.05) saturate(0.9);
  transition: transform 0.6s var(--ease);
}
.wcard:hover .wcard__img { transform: scale(1.03); }
.wcard__img--01 { background: url("https://images.unsplash.com/photo-1503708928676-1cb796a0891e?w=900&q=80&auto=format&fit=crop") center/cover no-repeat, #1a2338; }
.wcard__img--02 { background: url("https://images.unsplash.com/photo-1574757987642-5755f0839101?w=900&q=80&auto=format&fit=crop") center/cover no-repeat, #2a3540; }
.wcard__img--03 { background: url("https://images.unsplash.com/photo-1531834685032-c34bf0d84c77?w=900&q=80&auto=format&fit=crop") center/cover no-repeat, #1e2f28; }
.wcard__img--04 { background: url("https://images.unsplash.com/photo-1485083269755-a7b559a4fe5e?w=900&q=80&auto=format&fit=crop") center/cover no-repeat, #3a3020; }
.wcard__tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 14px;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
}
.wcard__meta {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-gray-500);
  margin-bottom: 4px;
}
.wcard__title {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 20px;
  color: var(--c-ink);
  letter-spacing: 0.03em;
}
.works__note {
  margin-top: 60px;
  font-size: 12px;
  color: var(--c-gray-500);
  text-align: center;
}

/* ============ COMPANY ============ */
.company { padding: 140px 0 120px; background: var(--c-cream-2); }
.company__head { margin-bottom: 60px; }
.company__body {
  max-width: 900px;
}
.company__table {
  width: 100%;
  border-collapse: collapse;
}
.company__table th, .company__table td {
  padding: 24px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(19,19,19,0.15);
  vertical-align: top;
}
.company__table th {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-blue);
  width: 180px;
}
.company__table td {
  font-family: var(--f-sans);
  color: var(--c-ink);
  font-size: 15px;
  line-height: 1.8;
}
.company__table tr:first-child th,
.company__table tr:first-child td {
  border-top: 2px solid var(--c-ink);
}

/* ============ RECRUIT ============ */
.recruit {
  position: relative;
  padding: 0;
  background: var(--c-cream);
}
.recruit__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0,55,180,0.55), rgba(0,30,110,0.75)),
    url("../photos-final/works/work-haikin.jpg") center/cover no-repeat;
}
.recruit__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.15), transparent 50%),
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 100%);
}
.recruit__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 40px;
  color: var(--c-white);
  z-index: 1;
}
.recruit__eyebrow {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.recruit__eye-arrow { font-size: 22px; }
.recruit__title {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.recruit__desc {
  font-family: var(--f-ser);
  font-weight: 500;
  font-size: 18px;
  line-height: 2;
  margin-bottom: 48px;
  max-width: 500px;
}
.recruit__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 32px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.recruit__btn:hover {
  transform: translateY(-4px);
  background: var(--c-white);
  color: var(--c-blue);
}
.recruit__btn-arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.recruit__btn:hover .recruit__btn-arrow { transform: translateX(4px); }

/* ============ CONTACT ============ */
.contact { padding: 140px 0 140px; background: var(--c-blue); text-align: center; color: var(--c-white); position: relative; overflow: hidden; }
.contact::before, .contact::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.contact::before { top: -100px; right: -100px; width: 340px; height: 340px; }
.contact::after { bottom: -140px; left: -100px; width: 400px; height: 400px; }
.contact__eyebrow {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  position: relative;
}
.contact__title {
  font-family: var(--f-sans);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  color: var(--c-white);
  position: relative;
}
.contact__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 56px;
  line-height: 2;
  position: relative;
}
.contact__cta {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  position: relative;
}
.contact .pill--solid {
  background: var(--c-white);
  color: var(--c-blue);
  border-color: var(--c-white);
}
.contact .pill--solid:hover {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}
.contact .pill--outline {
  border-color: var(--c-white);
  color: var(--c-white);
}
.contact .pill--outline:hover {
  background: var(--c-white);
  color: var(--c-blue);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.footer__logo-mark {
  width: 56px; height: 56px;
  background: url("../photos-final/logo-mark-white.png") center/contain no-repeat;
  color: transparent;
  font-size: 0;
  flex: none;
}
.footer__logo-wordmark {
  width: 140px; height: 40px;
  background: url("../photos-final/logo-wordmark-white.png") left center/contain no-repeat;
  flex: none;
}
.footer__addr {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.footer__col-title {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--c-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer__col a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer__col a:hover {
  color: var(--c-blue-3);
  padding-left: 6px;
}
.footer__copy {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 0 40px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  /* ===== Header ===== */
  .header__inner { padding: 0 20px; }
  .nav { display: none; }
  .header__menu {
    display: flex; flex-direction: column; gap: 6px;
    padding: 8px; z-index: 130; position: relative;
  }
  .header__menu span {
    width: 26px; height: 2px; background: var(--c-ink); display: block;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .header.is-menu-open .header__menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .header.is-menu-open .header__menu span:last-child  { transform: translateY(-4px) rotate(-45deg); }

  /* ===== Hero ===== */
  .hero { min-height: auto; padding: 108px 0 56px; }
  .hero__inner {
    display: flex; flex-direction: column;
    padding: 0 20px; min-height: auto; gap: 0;
  }
  .hero__title-wrap { padding-top: 0; }
  .hero__title { font-size: clamp(52px, 15.5vw, 88px); line-height: 1.0; }
  .hero__romaji {
    font-size: 10px; letter-spacing: 0.14em; gap: 10px;
    margin-top: 18px; flex-wrap: wrap;
  }
  .hero__romaji-tick { width: 28px; }
  .hero__figure {
    position: static; width: 78%; max-width: 300px;
    margin: 28px auto 0; top: auto; right: auto;
    aspect-ratio: 2372 / 3357; /* 透過PNGの比率で高さを確保 */
  }
  .hero__slides { position: relative; width: 100%; height: 100%; }
  .hero__tagline { display: none; }
  .hero__cross-h { top: 45%; height: 90px; }
  .hero__cross-v { width: 90px; left: 5%; }
  .hero__scroll { display: none; }

  /* ===== Team band ===== */
  .team-band { padding: 56px 0 64px; min-height: auto; }
  .team-band__accent { display: none; }
  .team-band__inner { padding: 0 20px; }
  .team-band__title { font-size: clamp(21px, 6vw, 30px); }
  .team-band__title br, .team-band__desc br { display: none; }
  .team-band__desc { font-size: 14px; margin-bottom: 32px; }

  /* ===== News ===== */
  .news { padding: 56px 0; }
  .news__inner { grid-template-columns: 1fr; padding: 0 20px; gap: 26px; }
  .news__inner::before { display: none; }
  .news__title-en { font-size: 54px; }
  .news__list li { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 2px; align-items: center; }
  .news__date { font-size: 12px; }
  .news__text { grid-column: 1 / -1; font-size: 14px; }
  .news__arrow { display: none; }

  /* ===== Promo bands ===== */
  .promo-band { padding: 16px 0 36px; }
  .promo-band__link { padding: 0 20px; }
  .promo-band__photo { height: 130px; }
  .promo-band__title { font-size: 34px; }
  .promo-band__inner { left: 38px; }
  .promo-band__arrow { right: 36px; width: 42px; height: 42px; }

  /* ===== Business ===== */
  .business { padding: 76px 0 84px; }
  .business__inner { padding: 40px 20px 0; }
  .business__label { left: 20px; top: 28px; }
  .business__title-en { font-size: 56px; }
  .business__grid { grid-template-columns: 1fr; gap: 30px; }
  .business__desc br { display: none; }
  .business__slides { aspect-ratio: 4/3; }
  .bslide__title { font-size: clamp(28px, 8vw, 42px); }
  .business__pagination { justify-content: center; }

  /* ===== Works (index section) ===== */
  .works__grid { grid-template-columns: 1fr; gap: 30px; }
  .works__head { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* ===== Recruit ===== */
  .recruit__inner { padding: 68px 20px; }
  .recruit__title { font-size: clamp(34px, 10vw, 52px); }
  .recruit__desc br { display: none; }

  /* ===== Contact ===== */
  .contact { padding: 76px 0; }
  .contact__title { font-size: clamp(34px, 10vw, 56px); }
  .contact__cta { flex-direction: column; align-items: center; }
  .section__inner { padding: 0 20px; }

  /* ===== About section (index) ===== */
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding: 20px 0; }
  .stat { border-right: none; padding: 16px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(19,19,19,0.15); }

  /* ===== Footer ===== */
  .footer { padding: 60px 0 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; padding: 0 20px 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .footer__copy { padding: 0 20px; }
}

@media (max-width: 480px) {
  .footer__nav { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(46px, 15vw, 68px); }
}

/* ===== モバイル・ナビ・ドロワー ===== */
.mnav {
  position: fixed;
  inset: 0;
  background: var(--c-ink);
  color: var(--c-white);
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
  visibility: hidden;
}
.mnav.is-open { transform: translateY(0); pointer-events: auto; visibility: visible; }
.mnav__list { display: flex; flex-direction: column; gap: 4px; }
.mnav__list a {
  font-family: var(--f-ser);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: baseline; gap: 14px;
}
.mnav__list a .en {
  font-family: var(--f-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-blue-3);
}
.mnav__cta {
  margin-top: 32px;
  display: flex; gap: 12px;
}
.mnav__cta a {
  flex: 1; text-align: center;
  padding: 16px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14px;
}
.mnav__cta .tel { background: var(--c-blue); color: var(--c-white); }
.mnav__cta .contact { border: 1.5px solid var(--c-white); color: var(--c-white); }
@media (min-width: 901px) { .mnav { display: none; } }

/* ============ 社名ロゴのロックアップ（株式会社 + 雅土木） ============ */
.header__logo-lockup { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.header__logo-prefix {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--c-ink);
}
.footer__logo-lockup { display: flex; flex-direction: column; gap: 3px; }
.footer__logo-prefix {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 900px) {
  .header__logo-prefix { font-size: 9px; letter-spacing: 0.12em; }
}
