/*---------- General ----------*/

:root {
  --bg: #EBE7E1;
  --text: #291A05;
  --muted: #5a4a34;
  --cta-bg: transparent;
  --cta-border: #291A05;
  --cta-text: #291A05;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-family: "Hiragino Gothic ProN", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 16px;
}

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

a:hover,
a:focus-visible {
  opacity: 0.6;
}

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

.container {
  margin: 0 auto;
  padding: 0 0 0 var(--s-8);
}

/*---------- Font ----------*/

.sans {
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

.serif {
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
}

.min {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "Noto Serif JP", "游明朝", Georgia, serif;
  font-weight: 400;
}

.caption {
  font-size: 14px;
  margin-top: var(--s-3);
}


/*---------- header ----------*/

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-8) 0;
}

.logo {
  font-size: 18px;
  letter-spacing: 0.1em;
  font-weight: 300;
  text-align: center;
}

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

.hero {
  position: relative;
  min-height: 100svh;
}

.hero__stage {
  position: relative;
  height: 100svh;
}

.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.4) 100%);
  mix-blend-mode: multiply;
}

.hero__copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  justify-items: center;
  text-align: center;
  color: #fff;
  padding-bottom: calc(clamp(var(--s-8), 12vh, var(--s-9)) + env(safe-area-inset-bottom, 0));
}

.hero__stack {
  display: grid;
  justify-items: center;
  row-gap: var(--s-4);
  padding-inline: var(--s-5);
}

.hero__en {
  margin: 0;
  font-size: 32px;
  line-height: 1.5em;
}

.hero__rule {
  margin: 0;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}

.hero__ja {
  margin: 0;
  font-size: 18px;
}

.hero__cta {
  margin-top: var(--s-7);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 280px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  letter-spacing: 0.05em;
}

.hero__cta svg {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}

/*---------- Contents ----------*/

.section {
  padding: var(--s-8) 0;
}

.section__eyebrow {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: var(--s-6);
  text-transform: uppercase;
}

.media {
  position: relative;
  width: 100%;
}

.media--16x9 img {
  border-radius: 8px;

}

.media--3x2 img {
  border-radius: 24px 0 0 24px;
}

.offer {
  display: grid;
  gap: var(--s-6);
}

h2 {
  font-size: 24px;
  margin-bottom: var(--s-3);
}

h2 span {
  font-size: 18px;
}

h3 {
  font-size: 20px;
  margin-bottom: var(--s-2);
}

.list {
  list-style: none;
  padding: 0;
  margin: var(--s-2) 0 0;
}

.list li {
  margin: 10px 0 0;
  line-height: 1.8;
}

.list .en {
  display: block;
  font-weight: 300;
}

.list .ja {
  display: block;
  opacity: 0.95;
}

#current-projects {
  margin-top: -64px;
}

.projects-title {
  padding: var(--s-4) 0 var(--s-3);
}

.project-block {
  margin-bottom: var(--s-7);
}


.manifesto__item+.manifesto__item {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: var(--s-5);
  margin-top: var(--s-5);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 280px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid var(--cta-border);
  color: var(--cta-text);
  background: var(--cta-bg);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.button svg {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}

.button-row {
  margin-top: var(--s-6);
  display: flex;
  justify-content: center;
}

.site-footer {
  margin-bottom: var(--s-9);
}

.site-footer * {
  font-family: "Inter", sans-serif;
  /* 例: サイト全体と揃えるなら "Inter" */
  font-size: 14px;
  /* 全体よりやや小さめ */
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 96px;
  align-items: center;
  row-gap: var(--s-4);
}

.site-footer__inner .copyright {
  grid-column: 1;
}

.site-footer__inner .footer-links {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}

#main.right-panel {
  margin: 0;
  padding: 0;
}

#main.right-panel .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/*---------- Splash Animation ----------*/

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--text);
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease, visibility .6s ease;
}

.splash__logo {
  font-size: clamp(14px, 18px, 20px);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .6s ease, transform .6s ease;
}

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

.splash__logo.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
}

.splash--hide {
  opacity: 0;
  visibility: hidden;
}

.is-lock {
  overflow: hidden;
}

/*---------- Slide Animation ----------*/

.hero .slide {
  transform: scale(1);
  will-change: transform;
}

.hero .slide.is-active {
  animation: kv-zoom 5000ms linear forwards;
}

@keyframes kv-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}


/*---------- Smart Phone ----------*/

@media (max-width: 959px) {

  .site-header__inner {
    padding: var(--s-7) 0;
  }

  .hero__en {
    font-size: 28px;
  }

  #main.right-panel {
    margin-left: 32px;
    margin-right: 0;
    padding: 0;
    width: calc(100% - 32px);
  }

  #main.right-panel .section {
    padding-right: 32px;
  }

  .pc-split {
    display: block;
  }

  .site-footer__inner {
    grid-template-columns: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/*---------- Lap Top ----------*/

@media (min-width: 960px) {
  .pc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }

  #main.right-panel {
    margin-left: 96px;
    margin-right: 0;
    padding: 0;
    width: calc(100% - 96px);
  }

  #main.right-panel .section {
    padding-right: 96px;
  }

  .left-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    background: transparent;
  }

  .right-panel {
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .bleed-right {
    margin-right: calc(-1 * var(--s-5));
  }
}