/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:   #0a0a0a;
  --dark:    #111118;
  --dark2:   #1a1a24;
  --accent:  #e8a020;
  --accent2: #c8841a;
  --white:   #f4f4f0;
  --gray:    #8a8a96;
  --light:   #f0f0ec;
  --radius:  4px;
  --trans:   0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--trans);
}

ul {
  list-style: none;
}

/* ===========================
   Container
=========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--trans);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  opacity: 1;
}

.btn--full {
  width: 100%;
}

/* ===========================
   Section共通
=========================== */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--dark2);
}

.section__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section__label--light {
  color: var(--accent);
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 48px;
  color: var(--white);
}

.section__title--light {
  color: var(--white);
}

/* ===========================
   Header
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--trans), box-shadow var(--trans);
  padding: 0;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-en {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.header__logo-ja {
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--trans);
}

.nav__link:hover {
  color: var(--accent);
  opacity: 1;
}

.nav__link--cta {
  background: var(--accent);
  color: var(--black) !important;
  font-weight: 700;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--accent2);
  color: var(--black);
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}

.header__menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.55) 55%,
    rgba(10, 10, 10, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 32px;
  max-width: 760px;
  margin: 0 auto;
  margin-left: clamp(24px, 8vw, 120px);
  animation: fadeUp 1s ease 0.3s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__sub {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__title-accent {
  color: var(--accent);
}

.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(244, 244, 240, 0.85);
  margin-bottom: 40px;
  line-height: 1.9;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: fadeUp 1s ease 1s both;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.4; }
}

.hero__scroll-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* ===========================
   Stats
=========================== */
.stats {
  background: var(--accent);
  padding: 40px 0;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.stats__item + .stats__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(10, 10, 10, 0.2);
}

.stats__num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.stats__unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-left: 2px;
}

.stats__label {
  font-size: 0.78rem;
  color: rgba(10,10,10,0.7);
  margin-top: 6px;
  font-weight: 500;
}

/* ===========================
   About
=========================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.about__img-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  z-index: 1;
}

.about__img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about__img-wrap:hover img {
  transform: scale(1.04);
}

.about__text {
  color: rgba(244,244,240,0.8);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ===========================
   Service
=========================== */
.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service__card {
  background: var(--dark);
  overflow: hidden;
  transition: transform var(--trans);
  position: relative;
}

.service__card:hover {
  transform: translateY(-4px);
  z-index: 1;
}

.service__card-img {
  overflow: hidden;
}

.service__card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service__card:hover .service__card-img img {
  transform: scale(1.06);
}

.service__card-body {
  padding: 28px 28px 32px;
}

.service__card-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.service__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.service__card-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ===========================
   Works
=========================== */
.works__lead {
  color: var(--gray);
  margin-top: -24px;
  margin-bottom: 48px;
  font-size: 0.95rem;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.works__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.works__item--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.works__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  min-height: 180px;
}

.works__item--large img {
  min-height: 380px;
}

.works__item:hover img {
  transform: scale(1.06);
}

.works__item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(transparent, rgba(10,10,10,0.8));
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ===========================
   Area
=========================== */
.area__lead {
  color: rgba(244,244,240,0.7);
  margin-top: -28px;
  margin-bottom: 48px;
}

.area__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2px;
  margin-bottom: 24px;
}

.area__card {
  background: var(--dark);
  padding: 28px 24px;
  border-top: 3px solid transparent;
  transition: border-color var(--trans);
}

.area__card--main {
  border-top-color: var(--accent);
}

.area__card:hover {
  border-top-color: var(--accent);
}

.area__pref {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.area__cities {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.8;
}

.area__note {
  font-size: 0.82rem;
  color: var(--gray);
  text-align: center;
}

/* ===========================
   Recruit
=========================== */
.recruit__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.recruit__img-wrap {
  position: relative;
  overflow: hidden;
}

.recruit__img-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}

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

.recruit__text {
  color: rgba(244,244,240,0.8);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.recruit__list {
  margin-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.recruit__list-item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

.recruit__list-label {
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
  flex-shrink: 0;
}

/* ===========================
   Contact
=========================== */
.contact__lead {
  color: rgba(244,244,240,0.7);
  margin-top: -28px;
  margin-bottom: 56px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact__tel-wrap {
  background: var(--dark);
  padding: 32px 28px;
  border-top: 3px solid var(--accent);
}

.contact__tel-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 12px;
  font-weight: 500;
}

.contact__tel {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.contact__tel:hover {
  opacity: 0.8;
}

.contact__tel-hours {
  font-size: 0.78rem;
  color: var(--gray);
}

/* Form */
.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(244,244,240,0.85);
}

.form__required {
  background: var(--accent);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: border-color var(--trans);
  appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(138,138,150,0.6);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a96' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: #050508;
  padding: 60px 0 30px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo-en {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer__logo-ja {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.footer__address {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.9;
}

.footer__address a:hover {
  color: var(--accent);
}

.footer__nav {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  font-size: 0.82rem;
  color: var(--gray);
  transition: color var(--trans);
}

.footer__nav-list a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(138,138,150,0.5);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
  .area__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .header__menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100dvh;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    transition: right var(--trans);
    z-index: 99;
    padding: 100px 32px 40px;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
    box-shadow: -8px 0 40px rgba(0,0,0,0.6);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem;
  }

  .nav__link--cta {
    margin-top: 20px;
    margin-left: 0;
    text-align: center;
  }

  .about__grid,
  .recruit__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service__grid {
    grid-template-columns: 1fr;
  }

  .works__grid {
    grid-template-columns: 1fr 1fr;
  }

  .works__item--large {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__nav {
    justify-content: flex-start;
  }

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

  .stats__item + .stats__item::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .hero__content {
    margin-left: 0;
    padding: 0 20px;
  }

  .hero__btns {
    flex-direction: column;
  }

  .hero__btns .btn {
    width: 100%;
    text-align: center;
  }

  .area__grid {
    grid-template-columns: 1fr;
  }

  .works__grid {
    grid-template-columns: 1fr;
  }

  .works__item--large {
    grid-column: 1;
  }

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

  .header__inner {
    padding: 0 20px;
  }
}
