/* ===================================
   ZIPANG Inc. — Corporate Site
   =================================== */

/* ---------- Reset & Base ---------- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: border-color .3s;
}

a:hover {
  border-color: #fff;
}

/* ---------- Section Heading ---------- */

.section-heading {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .12em;
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
}

/* ===================================
   Hero — Mobile First
   =================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__text {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 100%);
  text-align: center;
}

.hero__logo-en {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .35em;
  color: #fff;
  margin-bottom: .25rem;
}

.hero__company-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: .15em;
  line-height: 1.4;
}

/* ===================================
   Business Section — Mobile First
   =================================== */

.business {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.business__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

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

.business__image {
  width: 70%;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
}

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

.business__body {
  padding: 0;
}

.business__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}

.business__title-sub {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: .85rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  margin-left: .5em;
}

.business__desc {
  font-size: .9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
}

/* ===================================
   Company Section
   =================================== */

.company {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

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

.company__table th,
.company__table td {
  text-align: left;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
  vertical-align: top;
}

.company__table th {
  font-weight: 700;
  white-space: nowrap;
  padding-right: 1.5rem;
  width: 6rem;
  color: rgba(255, 255, 255, .6);
}

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

/* ===================================
   Footer
   =================================== */

.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer__copy {
  font-family: "Cormorant Garamond", serif;
  font-size: .8rem;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .35);
}

/* ===================================
   PC — min-width: 768px
   =================================== */

@media (min-width: 768px) {

  /* --- Hero PC --- */

  .hero {
    max-width: 1280px;
    margin: 0 auto;
  }

  .hero__image {
    inset: 0 0 0 auto;
    width: 70%;
  }

  .hero__image img {
    object-position: center top;
  }

  .hero__text {
    bottom: 0;
    left: 0;
    right: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2.5rem 3rem 3rem 3rem;
    background: none;
    text-align: left;
  }

  .hero__logo-en {
    font-size: .9rem;
    margin-bottom: .35rem;
  }

  .hero__company-name {
    font-size: 1.65rem;
    letter-spacing: .15em;
  }

  /* --- Section Heading PC --- */

  .section-heading {
    font-size: 1.75rem;
    padding: 5rem 2rem 3rem;
  }

  /* --- Business PC --- */

  .business {
    padding: 0 2rem 5rem;
  }

  .business__item {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
  }

  .business__item:nth-child(even) {
    flex-direction: row-reverse;
  }

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

  .business__image {
    flex: 0 0 35%;
    margin: 0;
    border-radius: 6px;
  }

  .business__body {
    flex: 1;
    padding: 0;
  }

  .business__title {
    font-size: 1.35rem;
  }

  .business__desc {
    font-size: .95rem;
  }

  /* --- Company PC --- */

  .company__table th {
    width: 8rem;
    font-size: .95rem;
  }

  .company__table td {
    font-size: .95rem;
  }
}

/* ===================================
   Wide PC — min-width: 1200px
   =================================== */

@media (min-width: 1200px) {

  .hero__company-name {
    font-size: 2.3rem;
  }

  .hero__logo-en {
    font-size: 1.1rem;
  }

  .hero__text {
    padding-left: 4rem;
  }

  .business {
    max-width: 1080px;
  }

  .business__item {
    gap: 3.5rem;
  }

  .section-heading {
    font-size: 2rem;
    padding-top: 6rem;
  }

  .business__title {
    font-size: 1.5rem;
  }
}
