/* ==========================================================================
   saluku corporate site - base styles
   ========================================================================== */

:root {
  --color-primary: #003d0f;
  --color-primary-light: #0f5c2a;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7f5;
  --color-text: #1a1a1a;
  --color-text-sub: #555555;
  --color-border: #e2e5e1;
  --header-height: 76px;
  --content-width: 1080px;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
  font-family: var(--font-serif);
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ------------------------- Scroll reveal ------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------- Decorative blobs ------------------------- */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.blob--green {
  background: radial-gradient(circle, rgba(0, 61, 15, 0.16) 0%, rgba(0, 61, 15, 0) 70%);
}

.blob--sand {
  background: radial-gradient(circle, rgba(215, 200, 150, 0.25) 0%, rgba(215, 200, 150, 0) 70%);
}

/* ------------------------- Header ------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

body.no-hero {
  padding-top: var(--header-height);
}

.site-header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 28px;
  width: auto;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.gnav__list {
  display: flex;
  gap: 12px;
}

.gnav__list a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.gnav__list a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.is-active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 14%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0) 56%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-height) + 108px) 24px 0 max(24px, calc((100vw - var(--content-width)) / 2 + 24px));
}

.hero__copy h1 {
  font-size: 3rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.hero__copy h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__copy p {
  font-size: 1rem;
  color: var(--color-text-sub);
  max-width: 460px;
}

/* ------------------------- Section common ------------------------- */

.section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

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

.section__head {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

.section__head .eyebrow {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.section__head h2 {
  font-size: 2.1rem;
  letter-spacing: 0.02em;
}

.section__lead {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--color-text-sub);
  font-size: 0.98rem;
}

/* ------------------------- Business phases ------------------------- */

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 88px;
  position: relative;
  z-index: 1;
}

.phase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.phase--reverse .phase__image {
  order: 2;
}

.phase__image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 48px -22px rgba(0, 61, 15, 0.3);
}

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

.phase__number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  opacity: 0.85;
  margin-bottom: 10px;
}

.phase__title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.phase__body {
  font-size: 0.92rem;
  color: var(--color-text-sub);
}

.phase__body + .phase__body {
  margin-top: 14px;
}

/* ------------------------- Strengths ------------------------- */

.strength-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.strength-card {
  background: #fff;
  border-radius: 28px 28px 8px 28px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -20px rgba(0, 61, 15, 0.25);
}

.strength-card__label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-sub);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.strength-card__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 24px;
}

.strength-card__body {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  margin-bottom: 22px;
}

.strength-card__proof {
  font-size: 0.83rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 18px;
  margin-top: auto;
}

.strength-card__proof p {
  margin: 0;
}

.strength-card__proof-label {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

/* ------------------------- Company profile ------------------------- */

.profile-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.profile-table th,
.profile-table td {
  text-align: left;
  padding: 22px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.94rem;
  vertical-align: top;
}

.profile-table th {
  width: 180px;
  font-weight: 500;
  font-family: var(--font-serif);
  color: var(--color-text-sub);
}

.profile-table a {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

/* ------------------------- CTA ------------------------- */

.cta {
  text-align: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 16px 44px;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

/* ------------------------- Footer ------------------------- */

.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 56px 0 28px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer__logo img {
  height: 24px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.86rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

/* ------------------------- Privacy page ------------------------- */

.policy {
  padding: 88px 0 130px;
  max-width: 800px;
  margin: 0 auto;
}

.policy h1 {
  font-size: 2rem;
  margin-bottom: 56px;
  text-align: center;
}

.policy section {
  margin-bottom: 64px;
}

.policy h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.policy h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 28px 0 8px;
}

.policy p,
.policy li {
  font-size: 0.92rem;
  color: var(--color-text-sub);
}

.policy ul {
  padding-left: 1.2em;
  list-style: disc;
}

.policy li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.86rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

/* ------------------------- Responsive ------------------------- */

@media (max-width: 1024px) {
  .strength-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .strength-card {
    height: auto;
  }
}

@media (max-width: 860px) {
  .hero {
    height: 82vh;
    min-height: 560px;
  }

  .hero__media img {
    object-position: 66% 28%;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.8) 40%,
      rgba(255, 255, 255, 0.45) 62%,
      rgba(255, 255, 255, 0) 82%
    );
  }

  .hero__copy {
    width: 100%;
    padding: calc(var(--header-height) + 28px) 24px 40px;
  }

  .hero__copy h1 {
    font-size: 2.1rem;
  }

  .hero__copy p {
    max-width: none;
  }

  .site-header__inner {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .section__head {
    margin-bottom: 48px;
  }

  .section__head h2 {
    font-size: 1.75rem;
  }

  .phase-list {
    gap: 56px;
  }

  .phase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .phase--reverse .phase__image {
    order: 0;
  }

  .phase__title {
    font-size: 1.1rem;
  }

  .strength-card__title {
    font-size: 2.4rem;
  }

  .profile-table th {
    width: 120px;
    font-size: 0.86rem;
  }

  .gnav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-height) + 40px) 32px 40px;
    gap: 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .gnav.is-open {
    transform: translateX(0);
  }

  .gnav__list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .gnav__list a {
    display: block;
    font-size: 1.05rem;
    padding: 6px 0;
  }

  .hamburger {
    display: block;
  }

  .site-footer {
    padding: 48px 0 24px;
  }

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

  .footer-nav {
    gap: 16px 28px;
  }
}

@media (max-width: 520px) {
  .hero {
    height: 88vh;
    min-height: 500px;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 48%,
      rgba(255, 255, 255, 0.5) 68%,
      rgba(255, 255, 255, 0) 88%
    );
  }

  .hero__copy {
    padding-top: calc(var(--header-height) + 16px);
  }

  .hero__copy h1 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .hero__copy p {
    font-size: 0.9rem;
  }

  .section {
    padding: 64px 0;
  }

  .section__head h2 {
    font-size: 1.5rem;
  }

  .phase__number {
    font-size: 1.8rem;
  }

  .phase__title {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .strength-card {
    padding: 32px 24px;
  }

  .strength-card__title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 15px 32px;
  }

  .policy h1 {
    font-size: 1.5rem;
  }

  .policy h2 {
    font-size: 1.1rem;
  }
}
