@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Inter:wght@300;400;500&family=Noto+Serif+JP:wght@300;400;700&display=swap");
/* ===========================
   Animation
=========================== */
/* ① FV フェードアップ */
.js-fade-up {
  display: inline-block;
  opacity: 0;
  transform: translateY(36px);
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0s);
}

.js-scroll-fade {
  opacity: 0;
  transform: translateY(36px);
}

.js-scroll-block {
  opacity: 0;
  transform: translateY(30px);
}

.js-work-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.js-scroll-fade.is-visible {
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0s);
}

.js-scroll-block.is-visible {
  animation: fadeUp 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0s);
}

.js-work-reveal.is-visible {
  animation: fadeUp 0.73s ease both;
  animation-delay: calc(var(--delay, 0s) + 0.2s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ② 背景画像ズーム */
.js-hero-zoom {
  animation: heroZoom 10s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
/* ③ SCROLLライン */
@keyframes scrollLineFlow {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  42% {
    clip-path: inset(0 0 0 0);
  }
  52% {
    clip-path: inset(0 0 0 0);
  }
  88%, 100% {
    clip-path: inset(100% 0 0 0);
  }
}
/* ⑦ CTAホバー：背景→黒、文字→白、矢印スライド */
.c-btn--ghost {
  position: relative;
  overflow: hidden;
  transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.c-btn--ghost:hover::before {
  transform: translateX(0);
}

.c-btn--ghost:hover {
  color: var(--white);
  opacity: 1;
  border-color: var(--black);
}

.c-btn--ghost span,
.c-btn--ghost {
  position: relative;
  z-index: 1;
}

.c-btn--ghost.c-btn--arrow::after {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-btn--ghost:hover.c-btn--arrow::after {
  transform: translateX(5px);
}

/* ===========================
   Foundation - Variables
=========================== */
:root {
  --bg: #F7F5F2;
  --bg-dark: #EDECEA;
  --text: #0A0A0A;
  --text-mid: #555552;
  --text-light: #999994;
  --border: #D5D2CC;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --inner: 1200px;
  --inner-narrow: 880px;
}

/* ===========================
   Foundation - Reset
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input, textarea, select {
  font: inherit;
  outline: none;
}

a:focus,
button:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.c-btn--black:focus-visible,
.p-header__contact:focus-visible,
.p-contact__form-submit:focus-visible {
  outline: 1px solid var(--black);
  outline-offset: 4px;
  box-shadow: inset 0 0 0 1px var(--white);
}

/* ===========================
   Foundation - Base
=========================== */
html {
  min-width: 375px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 375px;
  overflow-x: hidden;
  font-family: "Inter", "Noto Serif JP", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-drawer-open {
  overflow: hidden;
}

/* ===========================
   Layout
=========================== */
.l-wrapper {
  overflow-x: hidden;
}

.l-inner {
  max-width: var(--inner);
  margin: 0 auto;
  padding: 0 48px;
}

.l-inner--narrow {
  max-width: var(--inner-narrow);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 767.9px) {
  .l-inner,
  .l-inner--narrow {
    padding: 0 24px;
  }
}
/* ===========================
   Component - Buttons
=========================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.c-btn--black {
  background: var(--black);
  color: var(--white);
  padding: 13px 28px;
}

.c-btn--black:hover {
  opacity: 0.75;
}

.c-btn--ghost {
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  color: var(--text);
  letter-spacing: 0.1em;
  font-size: 12px;
  text-transform: uppercase;
}

.c-btn--ghost:hover {
  opacity: 0.5;
}

.c-btn--arrow::after {
  content: "→";
  font-size: 14px;
}

.c-btn--section {
  position: relative;
  min-width: 168px;
  min-height: 46px;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  overflow: hidden;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-btn--section span,
.c-btn--section::after {
  position: relative;
  z-index: 1;
}

.c-btn--section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-btn--section:hover {
  color: var(--white);
  opacity: 1;
  border-color: var(--black);
}

.c-btn--section:hover::before {
  transform: translateX(0);
}

.c-btn--section:hover::after {
  transform: translateX(4px);
}

/* ===========================
   Component - Section Label
=========================== */
.c-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===========================
   Component - Work Card
=========================== */
.c-work-card {
  display: block;
}

.c-work-card--no-link {
  cursor: default;
}

.c-work-card.is-hidden {
  display: none;
}

.c-work-card__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-dark);
}

.c-work-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.c-work-card__image::after {
  content: "VIEW PROJECT";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.45em;
  line-height: 1;
  padding: 12px 16px 12px 20px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), letter-spacing 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.c-work-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.c-work-card:hover .c-work-card__image::before {
  background: rgba(0, 0, 0, 0.72);
}

.c-work-card:hover .c-work-card__image::after {
  opacity: 1;
  letter-spacing: 0.24em;
}

.c-work-card:hover .c-work-card__image img {
  transform: scale(1.08);
}

.c-work-card--no-link:hover .c-work-card__image::before {
  background: transparent;
}

.c-work-card--no-link:hover .c-work-card__image::after {
  opacity: 0;
}

.c-work-card--no-link:hover .c-work-card__image img {
  transform: none;
}

.c-work-card__title {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.c-work-card__type {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.c-work-card__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}

.c-work-card__link {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.c-work-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-work-card:hover .c-work-card__link::after,
.c-work-card__link:hover::after {
  transform: scaleX(1);
}

.c-work-card__password {
  display: block;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* ===========================
   Project - Header
=========================== */
.p-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.p-header.is-scrolled {
  border-bottom-color: var(--border);
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.p-header__logo {
  display: inline-flex;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
}

.p-header__logo:hover {
  opacity: 0.6;
}

.p-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.p-header__nav-link {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}

.p-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-header__nav-link:hover,
.p-header__nav-link.is-active {
  color: var(--text);
}

.p-header__nav-link:hover::after,
.p-header__nav-link.is-active::after {
  transform: scaleX(1);
}

.p-header__contact {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  transition: color 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-header__contact span {
  position: relative;
  z-index: 1;
}

.p-header__contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateX(-101%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.p-header__contact::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.p-header__contact:hover {
  color: var(--black);
  opacity: 1;
}

.p-header__contact:hover::before {
  transform: translateX(0);
}

.p-header__contact:hover::after {
  transform: scaleX(1);
}

.p-header__menu,
.p-drawer {
  display: none;
}

@media (max-width: 767.9px) {
  .p-header {
    background: rgba(247, 245, 242, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .p-header__inner {
    min-height: 72px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .p-header__nav,
  .p-header__contact {
    display: none;
  }
  .p-header__menu {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 150;
    display: inline-flex !important;
    width: 34px;
    height: 24px;
    margin-left: 0;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    color: var(--text);
  }
  .p-header__menu span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
  }
  .p-header__menu.is-active span:first-child {
    transform: translateY(4px) rotate(18deg);
  }
  .p-header__menu.is-active span:last-child {
    transform: translateY(-4px) rotate(-18deg);
  }
  .p-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    display: block;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    background: rgba(247, 245, 242, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .p-drawer.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .p-drawer__nav {
    width: 100%;
    min-height: 100%;
    padding: 96px 24px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
  }
  .p-drawer__link {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    transition: color 0.2s;
  }
  .p-drawer__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .p-drawer__link:hover {
    color: var(--text-mid);
  }
  .p-drawer__link:hover::after {
    transform: scaleX(1);
  }
}
/* ===========================
   Project - Footer
=========================== */
.p-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.p-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.p-footer__logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.p-footer__nav {
  display: flex;
  justify-self: center;
  gap: 28px;
}

.p-footer__nav-link {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}

.p-footer__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-footer__nav-link:hover {
  color: var(--text);
}

.p-footer__nav-link:hover::after {
  transform: scaleX(1);
}

.p-footer__copy {
  grid-column: 1/-1;
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.p-footer__sns {
  display: flex;
  justify-self: end;
  gap: 16px;
}

.p-footer__sns-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-light);
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

.p-footer__sns-mark {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
}

.p-footer__sns-link:hover {
  color: var(--text);
}

@media (max-width: 767.9px) {
  .p-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .p-footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
/* ===========================
   Project - Hero (Top)
=========================== */
.p-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
}

.p-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px 48px;
  position: relative;
}

.p-hero__scroll {
  position: absolute;
  left: clamp(120px, 12vw, 220px);
  bottom: clamp(20px, 3vh, 42px);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.p-hero__scroll span {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.p-hero__scroll::before {
  content: "";
  display: block;
  width: 1px;
  height: clamp(72px, 10vh, 108px);
  background: var(--text);
  animation: scrollLineFlow 2.4s cubic-bezier(0.76, 0, 0.24, 1) infinite;
  clip-path: inset(0 0 100% 0);
}

.p-hero__title {
  font-family: "Noto Serif JP", serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.p-hero__sub {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.p-hero__en {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.p-hero__actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.p-hero__actions .c-btn {
  position: relative;
  min-width: 154px;
  min-height: 48px;
  justify-content: center;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid var(--black);
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-hero__actions .c-btn span {
  position: relative;
  z-index: 1;
}

.p-hero__actions .c-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-hero__actions .c-btn::after {
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-hero__actions .c-btn:hover::before {
  transform: translateX(0);
}

.p-hero__actions .c-btn:hover::after {
  transform: translateX(4px);
}

.p-hero__actions .c-btn--black {
  background: var(--black);
  color: var(--white);
}

.p-hero__actions .c-btn--black::before {
  background: var(--bg);
}

.p-hero__actions .c-btn--black:hover {
  color: var(--black);
  opacity: 1;
}

.p-hero__actions .c-btn--ghost {
  border-color: transparent;
  padding-bottom: 0;
  background: transparent;
  color: var(--black);
}

.p-hero__actions .c-btn--ghost::before {
  background: var(--black);
}

.p-hero__actions .c-btn--ghost:hover {
  border-color: var(--black);
  color: var(--white);
  opacity: 1;
}

.p-hero__image {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

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

.p-hero__side-text {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-hero__side-text span {
  opacity: 0.4;
}

@media (max-width: 767.9px) {
  .p-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .p-hero__content {
    align-items: center;
    padding: 108px 24px 52px !important;
    text-align: center;
  }
  .p-hero__title {
    font-size: 42px;
  }
  .p-hero__actions {
    justify-content: center;
  }
  .p-hero__image {
    height: 300px;
  }
  .p-hero__image img {
    object-position: center;
  }
  .p-hero__side-text {
    display: none;
  }
  .p-hero__scroll {
    display: none;
  }
}
/* ===========================
   Project - What I Do (Top)
=========================== */
.p-what {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.p-what__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.p-what__lead-label {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--text);
}

.p-what__lead-text {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 16px;
}

.p-what__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.p-what-item__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.p-what-item__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1;
}

.p-what-item__title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.5;
}

.p-what-item__text {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
}

.p-what-item__icon {
  margin-top: 10px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.9px) {
  .p-what__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .p-what__items {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ===========================
   Project - Works Section (Top)
=========================== */
.p-top-works {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.p-top-works__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.p-top-works__label {
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--text);
}

.p-top-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 767.9px) {
  .p-top-works__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ===========================
   Project - About Section (Top)
=========================== */
.p-top-about {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.p-top-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.p-top-about__label {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--text);
}

.p-top-about__title {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
}

.p-top-about__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 28px;
}

.p-top-about__image {
  overflow: hidden;
}

.p-top-about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 767.9px) {
  .p-top-about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ===========================
   Project - Stats (Top)
=========================== */
.p-stats {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.p-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  divide: var(--border);
}

.p-stats__item {
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}

.p-stats__item:last-child {
  border-right: none;
}

.p-stats__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 6px;
}

.p-stats__label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (max-width: 767.9px) {
  .p-stats {
    padding: 44px 0;
  }
  .p-stats__grid {
    grid-template-columns: 1fr;
  }
  .p-stats__item {
    padding: 20px 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .p-stats__item:last-child {
    border-bottom: none;
  }
  .p-stats__num {
    font-size: 42px;
  }
}
@media (min-width: 768px) and (max-width: 1023.9px) {
  .p-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-stats__item {
    padding: 22px 16px;
  }
  .p-stats__item:nth-child(2) {
    border-right: none;
  }
  .p-stats__item:nth-child(3),
  .p-stats__item:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .p-stats__item:nth-child(4) {
    border-right: none;
  }
  .p-stats__num {
    font-size: 44px;
  }
}
/* ===========================
   Project - CTA (Top)
=========================== */
.p-top-cta {
  padding: 100px 0;
}

.p-top-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.p-top-cta__label {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--text);
}

.p-top-cta__title {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 12px;
}

.p-top-cta__text {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.p-top-cta__image {
  overflow: hidden;
}

.p-top-cta__image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

@media (max-width: 767.9px) {
  .p-top-cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ===========================
   Project - Page Header
=========================== */
.p-page-header {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}

.p-page-header__en {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.p-page-header__ja {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

/* ===========================
   Project - Works Page
=========================== */
.p-works {
  padding: 60px 0 100px;
}

.p-works-filter {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.p-works-filter__btn {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.p-works-filter__btn:focus {
  outline: none;
}

.p-works-filter__btn:focus-visible {
  color: var(--text);
  background: rgba(10, 10, 10, 0.035);
  border-bottom-color: var(--text);
}

.p-works-filter__btn:hover {
  color: var(--text);
}

.p-works-filter__btn.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.p-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.p-works-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 64px;
  justify-content: center;
}

.p-works-pagination__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}

.p-works-pagination__btn:hover {
  color: var(--text);
}

.p-works-pagination__btn:disabled {
  color: var(--text-light);
  cursor: default;
  opacity: 0.35;
}

.p-works-pagination__btn.is-active {
  border-color: var(--text);
  color: var(--text);
}

.p-works-pagination__arrow {
  font-size: 18px;
  color: var(--text-mid);
  padding: 0 8px;
}

@media (max-width: 767.9px) {
  .p-works-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .p-works-filter {
    flex-wrap: wrap;
  }
}
/* ===========================
   Project - Work Detail
=========================== */
.p-detail {
  padding: 60px 0 100px;
}

.p-detail__back {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  transition: color 0.2s;
}

.p-detail__back:hover {
  color: var(--text);
}

.p-detail__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.p-detail__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.p-detail__type {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.p-detail__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 36px;
}

.p-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-detail__meta-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.p-detail__meta-row:last-child {
  border-bottom: 1px solid var(--border);
}

.p-detail__meta-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  width: 60px;
  flex-shrink: 0;
}

.p-detail__meta-value {
  color: var(--text);
}

.p-detail__meta-link {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

.p-detail__image {
  overflow: hidden;
  background: var(--bg-dark);
}

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

.p-detail__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}

.p-detail__gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.p-detail__gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s;
}

.p-detail__gallery-item:hover img {
  transform: scale(1.04);
}

.p-detail__overview {
  max-width: 640px;
}

.p-detail__overview-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.p-detail__overview-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 2;
}

@media (max-width: 767.9px) {
  .p-detail__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .p-detail__title {
    font-size: 36px;
  }
  .p-detail__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===========================
   Project - About Page
=========================== */
/* About Page - 左コンテンツ / 右背景画像の全画面レイアウト */
.p-about-main {
  background-image: url("../image/about2.png");
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.p-about-main .p-page-header {
  border-bottom: none;
  background: linear-gradient(to right, rgba(247, 245, 242, 0.92) 50%, rgba(247, 245, 242, 0) 100%);
}

.p-about-main .p-page-header__en,
.p-about-main .p-page-header__ja {
  position: relative;
  z-index: 1;
}

.p-about {
  min-height: 100vh;
  padding-top: 0;
}

.p-about__content {
  width: 55%;
  padding: 140px 60px 100px 80px;
  background: linear-gradient(to right, rgba(247, 245, 242, 0.92) 70%, rgba(247, 245, 242, 0) 100%);
  min-height: 100vh;
}

.p-about__title {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 24px;
}

.p-about__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 12px;
}

.p-about__profile {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 32px;
  margin-bottom: 36px;
}

.p-about__profile-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.p-about__profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.p-about__profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.1);
}

.p-about__profile-role {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.p-about__profile-name {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

.p-about__profile-bio {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.9;
}

.p-about__detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.p-about__detail-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.p-about__detail-text {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
}

@media (max-width: 767.9px) {
  .p-page-header {
    padding: 104px 0 48px;
  }
  .p-page-header__en {
    font-size: 46px;
  }
  .p-about-main {
    background: linear-gradient(180deg, rgba(247, 245, 242, 0.9) 0%, rgba(247, 245, 242, 0.82) 44%, rgba(247, 245, 242, 0.66) 100%), url("../image/about2-sp.png") center top/cover no-repeat !important;
  }
  .p-about-main .p-page-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border);
  }
  .p-about {
    position: relative;
    overflow: hidden;
    min-height: auto;
    background: transparent;
  }
  .p-about__content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: auto;
    padding: 40px 24px 80px;
    background: transparent;
  }
  .p-about__detail {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* ===========================
   Project - Contact Page
=========================== */
.p-contact-main {
  min-height: 100vh;
}

.p-contact {
  min-height: 100vh;
  padding: 112px 0 56px;
  background: linear-gradient(90deg, rgba(247, 245, 242, 0.96) 0%, rgba(247, 245, 242, 0.9) 48%, rgba(247, 245, 242, 0.42) 78%, rgba(247, 245, 242, 0.18) 100%), url("../image/contact-bg.png") right center/cover no-repeat;
}

.p-contact .l-inner {
  max-width: 1560px;
}

.p-contact__inner {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(420px, 560px);
  gap: clamp(40px, 4vw, 72px);
  align-items: stretch;
  min-height: calc(100vh - 168px);
}

.p-contact__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 48px;
  padding-top: 24px;
}

.p-contact__scroll {
  position: absolute;
  left: 0;
  bottom: 118px;
  transform: rotate(-90deg);
  transform-origin: left center;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
}

.p-contact__scroll::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--text);
  display: block;
}

.p-contact__heading {
  margin-bottom: 64px;
}

.p-contact__title-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.p-contact__title-ja {
  font-size: 11px;
  color: var(--text-mid);
  letter-spacing: 0.08em;
}

.p-contact__lead {
  font-family: "Noto Serif JP", serif;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 40px;
}

.p-contact__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 48px;
}

.p-contact__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  padding: 0;
  max-width: 430px;
}

.p-contact__info p {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.p-contact__info a {
  width: fit-content;
  max-width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.p-contact__info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.p-contact__info-item:last-child {
  border-bottom: none;
}

.p-contact__info-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 12px;
}

.p-contact__info-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.p-contact__info-value {
  font-size: 11px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.p-contact__info-value a {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

/* Form */
.p-contact__form-area {
  width: 100%;
  max-width: none;
  padding-top: 88px;
}

.p-contact__form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding-top: 0;
}

.p-contact__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-contact__form .wpcf7-form p {
  margin: 0;
}

.p-contact__form .wpcf7-form-control-wrap {
  display: block;
}

.p-contact__form-area .p-contact__info {
  margin-top: 28px;
}

.p-contact__form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-contact__form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
}

.p-contact__form-label-text {
  display: block;
  margin-bottom: 10px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
}

.p-contact__type {
  border: 0;
  margin: 0 0 6px;
  padding: 0;
  min-inline-size: 0;
}

.p-contact__form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.p-contact__form legend {
  padding: 0;
}

.p-contact__type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.p-contact__type-list .wpcf7-form-control-wrap,
.p-contact__type-list .wpcf7-radio {
  display: contents;
}

.p-contact__type-list .wpcf7-list-item {
  margin: 0;
}

.p-contact__type-list .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.5;
}

.p-contact__type-list .wpcf7-list-item input {
  width: 13px;
  height: 13px;
  accent-color: var(--text);
  cursor: pointer;
}

.p-contact__type-list .wpcf7-list-item-label {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
}

.p-contact__type-list .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.p-contact__type-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  color: var(--text-mid);
}

.p-contact__type-item input {
  width: 13px;
  height: 13px;
  accent-color: var(--text);
  cursor: pointer;
}

.p-contact__type-item span {
  line-height: 1.5;
}

.p-contact__type-item input:focus-visible + span {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.p-contact__form-input,
.p-contact__form-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  padding: 17px 18px;
  font-size: 12px;
  color: var(--text);
  transition: border-color 0.2s;
}

.p-contact__form-input:focus,
.p-contact__form-textarea:focus {
  border-color: var(--text);
}

.p-contact__form-input::placeholder,
.p-contact__form-textarea::placeholder {
  color: var(--text-light);
  font-size: 11px;
}

.p-contact__form-textarea {
  min-height: 190px;
  resize: vertical;
}

.p-contact__form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--text-mid);
  cursor: pointer;
}

.p-contact__form-check input[type=checkbox] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.p-contact__form-submit {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.2s;
  width: fit-content;
}

.p-contact__form-submit:hover {
  opacity: 0.7;
}

@media (max-width: 767.9px) {
  .p-header__inner {
    position: relative;
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
  .p-header__logo {
    font-size: 20px;
    letter-spacing: 0.26em;
  }
  .p-header__contact {
    display: none;
  }
  .p-contact {
    min-height: auto;
    padding: 104px 0 72px;
    background: linear-gradient(180deg, rgba(247, 245, 242, 0.98) 0%, rgba(247, 245, 242, 0.96) 54%, rgba(247, 245, 242, 0.9) 100%), url("../image/contact-bg.png") right top/auto 360px no-repeat;
  }
  .p-contact .l-inner {
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }
  .p-contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }
  .p-contact__content {
    padding-left: 0;
    padding-top: 0;
  }
  .p-contact__scroll {
    display: none;
  }
  .p-contact__heading {
    margin-bottom: 36px;
  }
  .p-contact__title-en {
    font-size: 38px;
    letter-spacing: 0.18em;
  }
  .p-contact__title-ja {
    font-size: 11px;
  }
  .p-contact__lead {
    font-size: 21px;
    line-height: 1.75;
    margin-bottom: 28px;
  }
  .p-contact__text {
    margin-bottom: 32px;
    max-width: 100%;
  }
  .p-contact__info {
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
  }
  .p-contact__form {
    max-width: none;
    margin-left: 0;
    gap: 20px;
    padding-top: 0;
  }
  .p-contact__form .wpcf7-form {
    gap: 20px;
  }
  .p-contact__form-area {
    max-width: none;
    padding-top: 0;
  }
  .p-contact__form-input,
  .p-contact__form-textarea {
    background: rgba(247, 245, 242, 0.72);
  }
  .p-contact__type-list {
    flex-direction: column;
    gap: 12px;
  }
  .p-contact__type-list .wpcf7-list-item label {
    width: fit-content;
  }
  .p-contact__form-textarea {
    min-height: 160px;
  }
  .p-contact__form-submit {
    width: 100%;
    padding: 17px 24px;
  }
}
@media (max-width: 1199.9px) {
  .p-contact {
    padding: 120px 0 88px;
    background: linear-gradient(180deg, rgba(247, 245, 242, 0.84) 0%, rgba(247, 245, 242, 0.74) 46%, rgba(247, 245, 242, 0.56) 100%), url("../image/ChatGPT Image 2026年5月15日 14_43_38.png") right center/cover no-repeat;
  }
  .p-contact .l-inner {
    max-width: var(--inner);
  }
  .p-contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }
  .p-contact__content {
    max-width: 760px;
    padding-top: 0;
  }
  .p-contact__scroll {
    bottom: -50px;
  }
  .p-contact__form,
  .p-contact__form-area {
    max-width: 760px;
    padding-top: 0;
  }
}
@media (max-width: 767.9px) {
  .p-contact {
    min-height: auto;
    padding: 104px 0 72px;
    background: linear-gradient(180deg, rgba(247, 245, 242, 0.84) 0%, rgba(247, 245, 242, 0.74) 50%, rgba(247, 245, 242, 0.56) 100%), url("../image/ChatGPT Image 2026年5月15日 14_43_33.png") right top/cover no-repeat;
  }
  .p-contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }
  .p-contact__content {
    padding-left: 0;
    padding-top: 0;
  }
  .p-contact .l-inner {
    width: 100%;
    max-width: none;
  }
  .p-contact__form,
  .p-contact__form-area {
    max-width: none;
    padding-top: 0;
  }
}
/* ===========================
   Utility
=========================== */
.u-hidden-sp {
  display: block;
}

.u-hidden-pc {
  display: none;
}

.u-br-pc {
  display: block;
}

@media (max-width: 767.9px) {
  .u-hidden-sp {
    display: none;
  }
  .u-hidden-pc {
    display: block;
  }
  .u-br-pc {
    display: none;
  }
}
/* ===========================
   Responsive - Portfolio polish
   PC: 1200px~ / Tablet L: 1024-1199px / Tablet S: 768-1023px / Mobile: ~375px
=========================== */
@media (min-width: 1024px) and (max-width: 1199.9px) {
  :root {
    --inner: 1080px;
  }
  .l-inner,
  .l-inner--narrow {
    padding: 0 40px;
  }
  .p-header__nav {
    gap: 28px;
  }
  .p-hero {
    grid-template-columns: minmax(420px, 0.94fr) minmax(520px, 1.06fr);
  }
  .p-hero__content {
    padding-left: 40px;
    padding-right: 40px;
  }
  .p-hero__title {
    font-size: 58px;
  }
  .p-what__inner,
  .p-top-about__inner,
  .p-top-cta__inner,
  .p-detail__main,
  .p-contact__inner {
    gap: 56px;
  }
  .p-what__items {
    gap: 32px;
  }
  .p-top-works__grid,
  .p-works-grid {
    gap: 40px 28px;
  }
  .p-about__content {
    width: 60%;
    padding: 120px 56px 96px 64px;
  }
}
@media (min-width: 768px) and (max-width: 1023.9px) {
  .l-inner,
  .l-inner--narrow {
    padding: 0 32px;
  }
  .p-header__inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .p-header__logo {
    font-size: 20px;
    letter-spacing: 0.28em;
  }
  .p-header__nav {
    gap: 20px;
  }
  .p-header__nav-link {
    font-size: 11px;
  }
  .p-header__contact {
    padding: 9px 16px;
  }
  .p-footer__inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
  }
  .p-footer__nav {
    gap: 20px;
  }
  .p-footer__copy {
    width: 100%;
    padding-top: 8px;
    text-align: center;
  }
  .p-hero {
    grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
    min-height: 720px;
  }
  .p-hero__content {
    align-items: flex-start;
    padding: 84px 32px 72px !important;
    text-align: left;
  }
  .p-hero__title {
    font-size: 52px;
    line-height: 1.35;
  }
  .p-hero__actions {
    justify-content: flex-start;
    gap: 22px;
    flex-wrap: wrap;
  }
  .p-hero__image {
    min-height: 720px;
    height: auto;
  }
  .p-hero__image img {
    object-position: 75% center;
  }
  .p-hero__scroll {
    display: none;
  }
  .p-what,
  .p-top-works,
  .p-top-about,
  .p-top-cta {
    padding: 84px 0;
  }
  .p-what__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .p-what__items {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .p-top-works__grid,
  .p-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
  }
  .p-top-about__inner,
  .p-top-cta__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .p-contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .p-contact__form {
    max-width: none;
    margin-left: 0;
  }
  .p-page-header {
    padding: 124px 0 52px;
  }
  .p-page-header__en {
    font-size: 46px;
  }
  .p-detail__main {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .p-detail__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-about-main {
    background-image: url("../image/about2-tab.png");
    background-size: cover;
    background-position: right center;
    background-attachment: scroll;
  }
  .p-about__content {
    width: 68%;
    padding: 96px 48px 88px 56px;
  }
}
@media (min-width: 376px) and (max-width: 430px) {
  .p-hero__actions {
    gap: 18px;
  }
  .p-hero__actions .c-btn {
    min-width: 144px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}
@media (max-width: 375px) {
  .l-inner,
  .l-inner--narrow {
    padding: 0 20px;
  }
  .p-header__logo,
  .p-footer__logo {
    letter-spacing: 0.24em;
  }
  .p-header__contact {
    padding: 9px 14px;
    letter-spacing: 0.1em;
  }
  .p-hero__content {
    padding: 104px 20px 48px !important;
  }
  .p-hero__title {
    font-size: 36px;
    line-height: 1.42;
  }
  .p-hero__actions {
    align-items: center;
    flex-direction: column;
    gap: 18px;
  }
  .p-hero__image {
    height: 260px;
  }
  .p-what,
  .p-top-works,
  .p-top-about,
  .p-top-cta,
  .p-works,
  .p-detail,
  .p-contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .p-contact {
    padding-top: 96px;
  }
  .p-page-header {
    padding: 112px 0 44px;
  }
  .p-page-header__en {
    font-size: 40px;
  }
  .p-works-filter__btn {
    padding: 10px 14px;
    font-size: 10px;
  }
  .p-works-pagination {
    gap: 2px;
    margin-top: 44px;
  }
  .p-works-pagination__btn {
    width: 32px;
    height: 32px;
  }
  .p-detail__meta-row {
    gap: 14px;
  }
  .p-detail__meta-label {
    width: 52px;
  }
  .p-about__content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .p-about__profile-top {
    flex-direction: column;
  }
  .p-contact__form-submit {
    width: 100%;
    justify-content: center;
  }
}
