@charset "UTF-8";

:root {
  --color-black: #0e0e0e;
  --color-white: #fff;
  --color-text: #dedad3;
  --color-muted: #7a7772;
  --color-gray: #191919;
  --color-border: #2c2c2c;
  --color-accent: #c8b89a;
  --font-ja: "Noto Serif JP", serif;
  --font-en: "Cormorant Garamond", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-ja);
  background: var(--color-black);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--color-white);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  color: var(--color-white);
  background: rgba(14,14,14,0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.header__inner {
  height: 86px;
  padding-inline: clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__logo {
  display: grid;
  line-height: 1.2;
  margin-right: auto;
}

.header__logo span {
  font-size: 25px;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.header__logo small {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
}

.header__nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.header__cta {
  background: var(--color-black);
  color: var(--color-white);
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
}

.header__hamburger {
  display: none;
}

.mv {
  min-height: 100svh;
  position: relative;
  color: var(--color-white);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.mv__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.mv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.68), rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.28));
}

.mv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: 80px;
}

.mv__label,
.section__en {
  font-family: var(--font-en);
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 700;
}

.mv__label {
  color: rgba(255,255,255,0.75);
}

.mv__title {
  font-size: clamp(36px, 9vw, 86px);
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin: 22px 0;
  font-weight: 500;
}

.mv__text {
  font-size: clamp(15px, 2vw, 18px);
  margin: 0;
}

.mv__buttons {
  display: flex;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 210px;
  padding: 17px 26px;
  border: 1px solid currentColor;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.button:hover {
  transform: translateY(-3px);
  opacity: 0.82;
}

.button--dark {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.button--outline {
  color: var(--color-white);
}

.button--light {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  white-space: nowrap;
}

.mv__scroll {
  position: absolute;
  right: 34px;
  bottom: 42px;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
}

.section {
  padding-block: clamp(76px, 10vw, 136px);
}

.section--gray {
  background: var(--color-gray);
}

.section__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section__head {
  margin-bottom: 52px;
}

.section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section__head--center {
  text-align: center;
}

.section__title {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.section__lead {
  max-width: 520px;
  color: var(--color-muted);
  margin: 0;
}

.strength__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.strength__item {
  padding: 42px 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.strength__icon {
  font-family: var(--font-en);
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.strength__item h3 {
  margin: 20px 0 10px;
  font-size: 19px;
}

.strength__item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.works__pickup {
  background: #1a1a1a;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.works__before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.works__before-after figure {
  margin: 0;
  position: relative;
}

.works__before-after span {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
}

.works__before-after img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.works__body {
  padding-top: 28px;
}

.works__category {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 8px;
}

.works__body h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 12px;
}

.works__body p {
  color: var(--color-muted);
}

.works__body ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.works__body li {
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  font-size: 13px;
}

.works__grid,
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.works__card,
.service__card {
  background: #1a1a1a;
}

.works__card img,
.service__card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.works__card h3,
.service__card h3 {
  margin: 18px 18px 4px;
  font-size: 18px;
}

.works__card p,
.service__card p {
  margin: 0 18px 22px;
  color: var(--color-muted);
  font-size: 14px;
}

.service__card {
  border: 1px solid #2a2a2a;
}

/* ── 4事業グリッド ── */
.service4__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 34px;
}

.service4__card {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
}

.service4__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service4__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.6s ease, opacity 0.4s;
}

.service4__card:hover .service4__img img {
  transform: scale(1.04);
  opacity: 0.6;
}

.service4__body {
  background: #1c1c1c;
  padding: 24px 28px 28px;
  flex: 1;
}

.service4__body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 14px;
}

.service4__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service4__body ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
  padding-left: 14px;
  position: relative;
}

.service4__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: var(--color-accent);
}

@media (max-width: 700px) {
  .service4__grid {
    grid-template-columns: 1fr;
  }
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.flow__item {
  background: #1a1a1a;
  padding: 28px 18px;
  text-align: center;
  min-height: 210px;
}

.flow__item span {
  color: var(--color-accent);
  font-family: var(--font-en);
  font-weight: 700;
}

.flow__item h3 {
  font-size: 16px;
  margin: 18px 0 8px;
}

.flow__item p {
  color: var(--color-muted);
  font-size: 13px;
  margin: 0;
}

.reason__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.reason__image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.reason__list {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  display: grid;
  gap: 24px;
}

.reason__list li {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  color: var(--color-muted);
}

.reason__list strong {
  color: var(--color-text);
  font-size: 18px;
}

.cta {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1600607687644-c7171b42498b?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--color-white);
  padding-block: clamp(70px, 9vw, 120px);
}

.cta__inner {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.cta p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.8);
}

.cta h2 {
  margin: 0 0 32px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.cta__contacts {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.button--outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s;
}
.button--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.cta__note {
  font-size: 12px;
  color: rgba(255,255,255,0.5) !important;
  margin: 0 !important;
  letter-spacing: 0.04em;
}

.company__content {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.company__content img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.company dl {
  margin: 0;
}

.company dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.company dt {
  color: var(--color-muted);
}

.company dd {
  margin: 0;
}

.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: 54px;
}

.footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.footer__logo {
  font-size: 26px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer small {
  color: rgba(255,255,255,0.55);
}

.fixed-cta {
  display: none;
}

.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .header__inner {
    height: 72px;
  }

  .header__nav,
  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    background: transparent;
    color: currentColor;
    padding: 0;
  }

  .header__hamburger span {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s, opacity 0.3s;
  }

  .header__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(35deg);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-35deg);
  }

  .header__nav.is-open {
    display: grid;
    position: fixed;
    inset: 72px 0 auto;
    background: rgba(14,14,14,0.98);
    color: var(--color-white);
    padding: 28px 24px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
  }

  .section__head--row,
  .reason__inner,
  .company__content {
    grid-template-columns: 1fr;
    display: grid;
  }

  .strength__list,
  .works__grid,
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  .mv {
    min-height: 92svh;
  }

  .mv__buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .mv__scroll {
    display: none;
  }

  .works__before-after,
  .strength__list,
  .works__grid,
  .service__grid,
  .flow__list,
  .company dl div {
    grid-template-columns: 1fr;
  }

  .strength__item {
    padding: 30px 22px;
  }

  .flow__item {
    min-height: auto;
  }

  .cta__inner {
    text-align: center;
  }

  .cta h2 {
    font-size: clamp(18px, 5vw, 26px);
    letter-spacing: 0.03em;
  }

  .fixed-cta {
    display: flex;
    position: fixed;
    z-index: 90;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 54px;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  }

  .footer {
    padding-bottom: 96px;
  }
}
