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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

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

ul {
  list-style: none;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(6px);
  transition: background 0.3s;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-list a {
  color: #ccc;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.header__nav-list a:hover {
  color: #fff;
  opacity: 1;
  border-bottom-color: #fff;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/hero-bg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  max-width: 700px;
  margin-left: 8vw;
}

.hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero__text {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.hero__btn {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}

.hero__btn:hover {
  background: #fff;
  color: #222;
  opacity: 1;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}

.section--white {
  background: #fff;
}

.section--gray {
  background: #f5f5f5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__divider {
  width: 1px;
  height: 60px;
  background: #bbb;
  margin: 0 auto 60px;
}

.section__heading {
  text-align: center;
  margin-bottom: 64px;
}

.section__en {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.section__ja {
  font-size: 1rem;
  color: #777;
  letter-spacing: 0.1em;
}

/* ===== VISION ===== */
.vision__body {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.vision__body p {
  margin-bottom: 1.5em;
  font-size: 1rem;
  color: #444;
}

.vision__body p:last-child {
  margin-bottom: 0;
}

/* ===== BUSINESS ===== */
.business__item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.business__item:last-child {
  margin-bottom: 0;
}

.business__item--reverse {
  flex-direction: row-reverse;
}

.business__text {
  flex: 1;
}

.business__image {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.business__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s;
}

.business__image:hover img {
  transform: scale(1.03);
}

.business__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.business__title-line {
  width: 40px;
  height: 3px;
  background: #333;
  margin-bottom: 20px;
}

.business__text p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.business__text p:last-child {
  margin-bottom: 0;
}

/* ===== COMPANY ===== */
.company__table-wrap {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 18px 24px;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
  vertical-align: middle;
}

.company__table tr:last-child th,
.company__table tr:last-child td {
  border-bottom: none;
}

.company__table th {
  width: 180px;
  background: #f0f0f0;
  font-weight: 700;
  color: #333;
  text-align: left;
}

.company__table td {
  background: #fff;
  color: #444;
}

.company__table td a {
  color: #333;
  border-bottom: 1px solid #999;
}

/* ===== CONTACT ===== */
.contact__lead {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact__form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.form__row {
  margin-bottom: 28px;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.form__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.form__badge--required {
  background: #c0392b;
  color: #fff;
}

.form__badge--optional {
  background: #999;
  color: #fff;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: #555;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
  background: #fff;
}

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

.form__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
}

.form__btn {
  padding: 14px 48px;
  font-size: 0.95rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  letter-spacing: 0.05em;
}

.form__btn--submit {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.form__btn--submit:hover {
  background: #444;
  border-color: #444;
}

.form__btn--reset {
  background: transparent;
  color: #666;
  border-color: #aaa;
}

.form__btn--reset:hover {
  background: #eee;
  border-color: #888;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 60px 24px 24px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer__address {
  font-size: 0.85rem;
  color: #888;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__nav a {
  font-size: 0.85rem;
  color: #aaa;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #fff;
  opacity: 1;
}

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  border-top: 1px solid #333;
  padding-top: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== PAGE TOP ===== */
.pagetop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: rgba(30,30,30,0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: 50%;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .business__item,
  .business__item--reverse {
    flex-direction: column;
    gap: 32px;
  }

  .business__image img {
    height: 240px;
  }

  .company__table th {
    width: 130px;
  }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(20,20,20,0.97);
    padding: 24px 0;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .header__nav.is-open {
    transform: translateY(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .header__hamburger {
    display: flex;
  }

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

  .section {
    padding: 72px 0;
  }

  .contact__form {
    padding: 32px 20px;
  }

  .form__actions {
    flex-direction: column;
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer__nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .pagetop {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .company__table th,
  .company__table td {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .company__table th {
    width: 110px;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
