/*
Theme Name: Simple Theme
Theme URI: https://example.com/simple-theme
Author: Local Dev
Author URI: https://example.com
Description: Docker 開発用の最小 WordPress テーマテンプレート
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: simple-theme
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:ital,wght@0,400;0,500;1,400;1,500&family=Noto+Sans+JP:wght@400;500&family=Noto+Serif+JP:wght@300;400;500&family=Shippori+Mincho:wght@400;500&display=swap");

:root {
  --bg-light: #ffffff;
  --bg-light-alt: #e7e6e2;
  --bg-dark: #070707;
  --text-dark: #1f1f1f;
  --text-muted: #77756f;
  --text-light: #f3f1ec;
  --line-light: rgba(255, 255, 255, 0.55);
  --line-dark: rgba(24, 24, 24, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

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

.site-footer {
  display: block;
  padding: clamp(72px, 8vw, 110px) clamp(22px, 5vw, 80px) 58px;
  background: var(--bg-light);
  color: #8f8c86;
}

.site-footer__inner {
  width: min(100%, 1380px);
  margin-inline: auto;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.site-footer__logo-link {
  display: inline-flex;
  margin-bottom: 26px;
}

.site-footer__logo {
  width: clamp(150px, 12vw, 180px);
  height: auto;
  display: block;
}

.site-footer__description {
  margin: 0;
  font-family: "Noto Sans JP", "Shippori Mincho", sans-serif;
  font-size: 11px;
  line-height: 2.6;
  letter-spacing: 0.08em;
  color: #9a9790;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.8vw, 62px);
}

.site-footer__column {
  min-width: 0;
}

.site-footer__column-title {
  margin: 6px 0 20px;
  font-size: 9px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.45em;
  color: #b1aea7;
}

.site-footer__column-title::after {
  content: "";
  display: block;
  margin-top: 10px;
  border-top: 1px solid #dfddd8;
}

.site-footer__column-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer__column-list a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #8f8c86;
}

.site-footer__bottom {
  margin-top: clamp(52px, 6vw, 82px);
  padding-top: 16px;
  border-top: 1px solid #dfddd8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__copyright {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #b8b5af;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2vw, 44px);
}

.site-footer__legal a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #b8b5af;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition:
    background-color 0.7s ease,
    backdrop-filter 0.7s ease,
    transform 0.7s ease,
    opacity 0.7s ease;
}

.site-header.is-transparent {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 0;
}

.site-header:not(.is-transparent) {
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
}

.site-header.is-hidden-initial {
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
}

.site-header.is-visible-after-scroll {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header__inner {
  width: 100%;
  margin-inline: auto;
  min-height: 80px;
  padding: 0 clamp(28px, 3.8vw, 64px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #232526;
}

.site-header__logo {
  width: clamp(124px, 10.5vw, 160px);
  height: auto;
  display: block;
  filter: none;
  transition:
    opacity 0.45s cubic-bezier(0.76, 0, 0.24, 1),
    filter 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.site-header.is-transparent .site-header__logo-link {
  color: #ffffff;
}

.site-header.is-transparent .site-header__logo {
  filter: brightness(0) invert(1);
}

.site-header__logo-link:hover .site-header__logo,
.site-header__logo-link:focus-visible .site-header__logo {
  opacity: 0.4;
}

.site-header__menu-button {
  display: none;
}

.floating-consultation-banner {
  position: fixed;
  right: 0;
  bottom: 80px;
  width: 68px;
  height: 240px;
  background: #1a1a1a;
  color: #ffffff;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: background-color 0.3s ease;
}

.floating-consultation-banner:hover,
.floating-consultation-banner:focus-visible {
  background: #333333;
  color: #ffffff;
}

.site-header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 1.8vw, 42px);
}

.site-header__nav-item {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 2.2px;
  white-space: nowrap;
}

.site-header__nav-item--has-submenu {
  position: relative;
}

.site-header__nav-text {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 16.5px;
  line-height: 16.5px;
}

.site-header__nav-track {
  display: block;
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header__nav-face {
  display: block;
  height: 16.5px;
  line-height: 16.5px;
  color: #181818;
}

.site-header.is-transparent .site-header__nav-face {
  color: rgba(255, 255, 255, 0.8);
}

.site-header__nav-face--ghost {
  color: rgba(0, 0, 0, 0.2);
}

.site-header.is-transparent .site-header__nav-face--ghost {
  color: rgba(255, 255, 255, 0.5);
}

.site-header__nav-item:hover .site-header__nav-track,
.site-header__nav-item:focus-visible .site-header__nav-track {
  transform: translateY(-50%);
}

.site-header__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.site-header__nav-item--has-submenu:hover .site-header__submenu,
.site-header__nav-item--has-submenu:focus-within .site-header__submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header__submenu a {
  display: block;
  padding: 12px 24px;
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #1a1a1a;
}

.site-header__submenu a:hover,
.site-header__submenu a:focus-visible {
  background: #1a1a1a;
  color: #fff;
}

.site-header__mobile-menu {
  display: none;
}

.blanco-main {
  overflow: hidden;
}

.anim-target {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition-property: opacity, transform;
  transition-duration: 760ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
  will-change: opacity, transform;
}

.anim-target.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-kicker {
  margin: 0;
  color: var(--text-muted);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
}

.section-line {
  width: 48px;
  border-top: 1px solid currentColor;
  opacity: 0.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
}

.text-link::after {
  content: "";
  width: 24px;
  border-top: 1px solid currentColor;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.9);
}

.hero {
  --hero-inline-gap: 0px;
  position: relative;
  min-height: 100vh;
  height: 100vh;
  width: calc(100% - (var(--hero-inline-gap) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}

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

.hero__slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-slide-image);
  background-size: cover;
  background-position: center 12%;
  opacity: 0;
  transition: opacity 1300ms ease;
  transform: scale(1.03);
  animation: hero-slide-drift 12000ms ease-in-out infinite alternate;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 5, 0.42);
  z-index: 1;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 520px;
  padding: 40px 20px;
  z-index: 2;
}

.hero__brand {
  margin: 0;
  height: 28px;
  width: auto;
  margin-bottom: 40px;
}

.hero__brand svg {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.hero__brand--reveal.anim-target {
  opacity: 0;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: none;
}

.hero__brand--reveal.anim-target.is-visible {
  animation: hero-logo-reveal 3200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 768px) {
  .hero__brand {
    height: 36px;
  }
}

.hero__title.anim-target,
.hero__lead.anim-target,
.hero__line.anim-target {
  transform: translateY(26px);
}

.hero__title.anim-target {
  opacity: 0;
  transform: translateY(22px);
  transition-property: opacity, transform;
  transition-duration: 980ms, 1500ms;
  transition-timing-function:
    cubic-bezier(0.16, 1, 0.3, 1), cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay:
    calc(var(--anim-delay, 0ms) + 300ms), var(--anim-delay, 0ms);
}

.hero__title.anim-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__lead.anim-target.is-visible {
  opacity: 0.6;
}

.hero h1 {
  margin: 42px 0 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 400;
}

.hero p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  line-height: 32px;
  letter-spacing: 1.6px;
  text-align: center;
  color: var(--text-light);
}

.hero__lead {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 26px;
  letter-spacing: 0.65px;
  text-align: center;
  color: rgb(255, 255, 255);
}

.hero .section-line {
  margin: 24px auto 0;
  color: var(--line-light);
}

.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  z-index: 2;
}

.hero__scroll-label {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-lr;
}

.hero__scroll-line {
  width: 1px;
  height: 0;
  background: rgba(255, 255, 255, 0.4);
  animation: hero-scroll-line 2s linear infinite;
}

.hero__pagination {
  position: absolute;
  left: 50%;
  bottom: clamp(58px, 9vw, 88px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero__pagination.anim-target.is-visible {
  transform: translateX(-50%);
}

.hero__pagination-item {
  display: inline-flex;
  width: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  transition:
    width 360ms ease,
    border-color 360ms ease;
}

.hero__pagination-item.is-active {
  width: 46px;
  border-top-color: rgba(255, 255, 255, 0.96);
}

@keyframes hero-slide-drift {
  from {
    transform: scale(1.03) translate3d(-1%, -1%, 0);
  }
  to {
    transform: scale(1.1) translate3d(1%, 1%, 0);
  }
}

@keyframes hero-logo-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-scroll-line {
  0% {
    height: 0;
  }
  50% {
    height: 48px;
  }
  100% {
    height: 0;
  }
}

.section-light,
.section-light-alt,
.section-dark {
  padding: clamp(64px, 8vw, 128px) clamp(22px, 7vw, 82px);
}

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

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.features > *,
.journal > *,
.case-study > * {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.concept {
  display: grid;
  width: min(100%, 1040px);
  margin-inline: auto;
  grid-template-columns: minmax(420px, 560px) minmax(300px, 440px);
  gap: clamp(34px, 7vw, 128px);
  align-items: start;
}

.concept__left {
  max-width: 480px;
}

.concept__left .section-line {
  margin: 22px 0 28px;
  color: var(--line-dark);
  border-top-width: 2px;
}

.concept__kicker {
  color: #000000;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 4px;
}

.concept__headline {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 1.2px;
}

.concept__description {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 11px;
  line-height: 22px;
  letter-spacing: 0.28px;
  color: #888888;
}

.concept__left .text-link {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  line-height: 13.5px;
  letter-spacing: 2.7px;
}

.concept__right {
  min-height: 340px;
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}

.concept__right p {
  margin: 0;
  writing-mode: vertical-rl;
  color: #403d37;
  font-size: 0.8rem;
  line-height: 2.5;
}

.concept__right .concept__vertical {
  font-size: 1.6rem;
  color: #22201d;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(46px, 7vw, 90px);
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 400;
}

.section-header .section-line {
  margin: 18px auto 0;
}

.section-header--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 24px;
}

.section-header--between .text-link {
  white-space: nowrap;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(260px, 460px) 1fr;
  align-items: center;
  gap: clamp(28px, 7vw, 80px);
  margin-bottom: clamp(52px, 7vw, 110px);
}

.feature-sequence__title.anim-target {
  opacity: 0;
  transform: translateY(28px);
}

.feature-sequence__title.anim-target.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-sequence__media.anim-target,
.feature-sequence__content.anim-target {
  opacity: 0;
  transform: translateX(var(--feature-enter-x, 0));
  transition-property: opacity, transform;
  transition-duration: 780ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
}

.feature-sequence__media--from-left {
  --feature-enter-x: -48px;
}

.feature-sequence__media--from-right {
  --feature-enter-x: 48px;
}

.feature-sequence__content--from-left {
  --feature-enter-x: -40px;
}

.feature-sequence__content--from-right {
  --feature-enter-x: 40px;
}

.feature-sequence__media.anim-target.is-visible,
.feature-sequence__content.anim-target.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.features,
.features .section-header h2,
.features .text-link,
.features .feature-row h3 {
  color: #1f1f1f;
}

.features .section-header h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  leading-trim: none;
  line-height: 30px;
  letter-spacing: 6px;
}

.features .features__promise-title {
  margin: 0 0 8px;
  color: #1a1a1a;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.3em;
}

.features .section-header h2.features__promise-subtitle {
  margin: 0;
  color: #bbb;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.5em;
}

.feature-row:last-of-type {
  margin-bottom: 0;
}

.feature-row--reverse {
  grid-template-columns: 1fr minmax(260px, 460px);
}

.feature-row--reverse .feature-row__media {
  order: 2;
}

.feature-row--reverse .feature-row__content {
  order: 1;
}

.feature-row__media {
  margin: 0;
  width: min(100%, 440px);
  height: 560px;
  background-color: #ecebe8;
  overflow: hidden;
}

.feature-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-row__content {
  max-width: 520px;
}

.feature-row__index {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  leading-trim: none;
  line-height: 13.5px;
  letter-spacing: 4.5px;
  color: #6d695f;
}

.feature-row h3 {
  margin: 12px 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  leading-trim: none;
  line-height: 36px;
  letter-spacing: 1.92px;
}

.feature-row p {
  margin: 0 0 8px;
  color: #888888;
}

.feature-row__description {
  margin: 24px 0 28px;
}

.feature-row__description::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: 0 0 20px;
  background: #c8bfb0;
}

.feature-row__description > p:nth-of-type(1) {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  leading-trim: none;
  line-height: 28.6px;
  letter-spacing: 0.65px;
  color: #888888;
}

.feature-row__description > p:nth-of-type(2) {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 11px;
  leading-trim: none;
  line-height: 20.9px;
  letter-spacing: 0.28px;
  color: #888888;
}

.feature-row .text-link {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  leading-trim: none;
  line-height: 15px;
  letter-spacing: 2px;
  color: #888888;
}

.features__cta {
  margin-top: 72px;
  text-align: center;
}

.features__cta .text-link {
  display: inline-flex;
  align-items: center;
}

.features__cta-link {
  gap: 20px;
  margin-top: 0;
  padding: 16px 36px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #1a1a1a;
  text-decoration: none;
  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease;
}

.features__cta-link::after {
  display: none;
}

.features__cta-line {
  display: block;
  width: 20px;
  border-top: 1px solid currentColor;
  transition: width 500ms ease;
}

.features__cta-link:hover {
  border-color: rgba(26, 26, 26, 0.6);
  background-color: #1a1a1a;
  color: #ffffff;
}

.features__cta-link:hover .features__cta-line {
  width: 32px;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.journal {
  background-color: #f4f1ec;
}

.journal .section-kicker {
  color: #bbbbbb;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  leading-trim: none;
  line-height: 13.5px;
  letter-spacing: 4.5px;
}

.journal .section-header h2 {
  color: #1a1a1a;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 26px;
  leading-trim: none;
  line-height: 48px;
  letter-spacing: 2.56px;
}

.journal-main-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.journal-main-card__kicker,
.journal-list__item p {
  margin: 16px 0 6px;
  color: #bbbbbb;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  leading-trim: none;
  line-height: 13.5px;
  letter-spacing: 4.05px;
}

.journal-main-card h3,
.journal-list__item h3 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  leading-trim: none;
  line-height: 27px;
  letter-spacing: 1.44px;
}

.journal-main-card .text-link,
.journal-list__item .text-link {
  color: #666666;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  leading-trim: none;
  line-height: 13.5px;
  letter-spacing: 2.7px;
}

.journal .section-header--between > .text-link {
  color: #666666;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  leading-trim: none;
  line-height: 15px;
  letter-spacing: 2px;
}

.journal-list {
  display: grid;
  gap: 24px;
  align-content: start;
}

.journal-list__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-study {
  background-color: #f4f1ec;
}

.case-study .section-kicker {
  color: #bbbbbb;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  leading-trim: none;
  line-height: 13.5px;
  letter-spacing: 4.5px;
}

.case-study .section-header h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 26px;
  leading-trim: none;
  line-height: 48px;
  letter-spacing: 2.56px;
}

.case-study .section-header--between > .text-link {
  color: #666666;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  leading-trim: none;
  line-height: 15px;
  letter-spacing: 2px;
}

.case-card__kicker {
  color: #bbbbbb;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 9px;
  leading-trim: none;
  line-height: 13.5px;
  letter-spacing: 4.05px;
}

.case-card h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  leading-trim: none;
  line-height: 27px;
  letter-spacing: 1.44px;
}

.case-card h3 + p {
  margin-top: 12px;
  color: #999999;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  leading-trim: none;
  line-height: 24px;
  letter-spacing: 0.6px;
}

.case-card .text-link {
  color: #666666;
  font-size: 12px;
}

.case-grid .case-card:nth-child(2) {
  margin-top: 40px;
}

.case-grid .case-card:nth-child(3) {
  margin-top: 80px;
}

.case-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.consultation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.consultation__image {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: left bottom;
}

.consultation__panel {
  background: #111111;
  color: var(--text-light);
  padding: clamp(52px, 6vw, 96px) clamp(32px, 4.4vw, 64px);
}

.consultation__copy .section-kicker {
  margin: 0 0 32px;
  font-family: "Shippori Mincho", serif;
  font-size: 9px;
  letter-spacing: 0.5em;
  color: #888888;
}

.consultation__panel h2 {
  margin: 0 0 48px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(22px, 2vw, 24px);
  line-height: 2;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: #ffffff;
}

.consultation-fadeup.anim-target {
  opacity: 0;
  transform: translateY(28px);
  transition-property: opacity, transform;
  transition-duration: 820ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.consultation-fadeup.anim-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.consultation-form {
  display: grid;
  gap: 32px;
  width: min(100%, 640px);
  padding-right: clamp(0px, 6vw, 100px);
}

.consultation-form label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 8px;
  letter-spacing: 0.45em;
  color: #888888;
}

.consultation-form input,
.consultation-form textarea {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  padding: 4px 0 12px;
  color: #ffffff;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  outline: none;
  transition: border-color 220ms ease;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.consultation-form textarea {
  resize: none;
  min-height: 120px;
}

.consultation-form button {
  margin-top: 8px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #faf9f7;
  padding: 16px 36px;
  font-family: "Shippori Mincho", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  cursor: pointer;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.consultation-form button:hover {
  color: #1a1a1a;
  background: #faf9f7;
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
  .site-header.is-open {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 24, 24, 0.08);
  }

  .site-header.is-open .site-header__logo {
    filter: none;
  }

  .site-header__inner {
    min-height: 72px;
    padding-inline: 20px;
  }

  .site-header__logo {
    width: 128px;
  }

  .site-header__menu-button {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 30;
  }

  .site-header__menu-button span {
    width: 20px;
    border-top: 1px solid #161616;
    transition: transform 0.3s ease;
  }

  .site-header.is-transparent .site-header__menu-button span {
    border-top-color: #fff;
  }

  .site-header.is-open .site-header__menu-button span {
    border-top-color: #161616;
  }

  .site-header.is-open .site-header__menu-button {
    position: fixed;
    top: 15px;
    right: 20px;
    margin-left: 0;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 100dvh;
    background: #fff;
    z-index: 19;
    padding: 96px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity 0.3s ease;
  }

  .site-header.is-open .site-header__mobile-menu {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.is-open .site-header__menu-button span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .site-header__menu-button span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-header__mobile-link {
    font-family: "Shippori Mincho", serif;
    font-size: 18px;
    letter-spacing: 0.15em;
    color: #1a1a1a;
  }

  .site-header__mobile-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .site-header__mobile-submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .site-header__mobile-sub-link {
    font-family: "Shippori Mincho", serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #666;
  }

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

  .concept__right {
    min-height: auto;
    justify-content: flex-start;
  }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__media,
  .feature-row--reverse .feature-row__content {
    order: initial;
  }

  .feature-row__media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

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

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

  .case-grid .case-card:nth-child(n) {
    margin-top: 0;
  }

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

  .consultation__image {
    min-height: 320px;
  }

  .consultation__panel {
    padding: 72px 32px 80px;
  }

  .consultation-form {
    width: 100%;
    padding-right: 0;
  }

  .site-footer {
    padding-bottom: 42px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__nav {
    gap: 24px;
  }

  .site-footer__bottom {
    margin-top: 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .hero__brand--reveal.anim-target {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 640px) {
  .floating-consultation-banner {
    width: 56px;
    height: 188px;
    bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .section-header--between {
    display: block;
  }

  .journal-list__item {
    grid-template-columns: 1fr;
  }

  .concept__right {
    flex-wrap: wrap;
  }

  .concept__right p,
  .concept__right .concept__vertical {
    writing-mode: horizontal-tb;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .site-footer__logo-link {
    margin-bottom: 20px;
  }

  .site-footer__description {
    font-size: 0.86rem;
    line-height: 1.95;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__column-title {
    margin-bottom: 16px;
  }

  .site-footer__column-list a {
    font-size: 0.88rem;
  }

  .site-footer__copyright {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .site-footer__legal {
    gap: 22px;
  }

  .site-footer__legal a {
    font-size: 0.74rem;
  }
}

.blanco-page .page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(110px, 16vw, 220px) clamp(22px, 6vw, 80px)
    clamp(72px, 10vw, 120px);
  background-image: var(--page-hero-image);
  background-position: center;
  background-size: cover;
  color: #f3f1ec;
}

.blanco-page .page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.blanco-page .page-hero__inner {
  position: relative;
  width: min(100%, 980px);
  z-index: 1;
}

.blanco-page .page-hero h1 {
  margin: 24px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.32;
  font-weight: 500;
}

.blanco-page .page-hero p {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 2;
  color: rgba(243, 241, 236, 0.9);
}

.page-content {
  padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 80px)
    clamp(86px, 11vw, 140px);
}

.page-content__inner {
  width: min(100%, 980px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.page-content__inner p {
  margin: 0;
  color: #5a5853;
  font-size: 1rem;
  line-height: 2.05;
}
