@charset "UTF-8";
/* ============================================
   Reset
============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role=list],
ol[role=list],
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* ============================================
   Base
============================================ */
html {
  background-color: #1D1D1D;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
}

body {
  background-color: #1D1D1D;
  color: #C5C5C5;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.1em;
  text-shadow: 0 0 1px transparent;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
body.is-loaded {
  opacity: 1;
  visibility: visible;
}

.is-serif {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
}

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

.u-desktop {
  display: none;
}
@media (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

.u-mobile {
  display: block;
}
@media (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}

main {
  z-index: 1;
  position: relative;
  flex-grow: 1;
}

.l-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

/* assets/scss/layout/_header.scss */
.c-bg-logo {
  display: block !important;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 180vw;
  height: 180vh;
  background-image: url("../assets/images/logo-symbol_bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* 0だと他の要素の下に隠れる可能性が高いので、大幅に上げます */
  /* もしロゴが文字に被って邪魔になる場合は、この数値を調整してください */
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1) !important;
  filter: none !important;
  will-change: transform, opacity;
}

/* -------------------------------------------
 * ヘッダー (スマホのレイアウトを完全維持 + PCナビ統合)
 * ------------------------------------------- */
@media (min-width: 768px) {
  .home .l-header {
    display: none !important;
  }
}

.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10001;
  padding: 20px 0;
}
.l-header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .l-header__inner {
    justify-content: space-between;
    padding: 0 20px;
  }
}
.l-header__logo {
  width: 32px;
  z-index: 10001;
}
@media (min-width: 768px) {
  .l-header__logo {
    width: 160px;
  }
}
.l-header__logo a {
  display: block;
}
.l-header__logo img {
  width: 100%;
  height: auto;
}
.l-header {
  /* --- [PC専用] ヘッダーナビ (Noto Sans JP) --- */
}
.l-header__nav {
  display: none;
}
@media (min-width: 768px) {
  .l-header__nav {
    display: block;
    margin-left: auto;
  }
}
.l-header__nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-header__nav-list li a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.l-header__nav-list li a:hover {
  opacity: 0.5;
}
.l-header {
  /* -------------------------------------------
   * 4ドットメニューボタン (オリジナルの挙動を維持)
   * ------------------------------------------- */
}
.l-header .l-header__menu-trigger {
  position: absolute;
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, 4px);
  gap: 8px;
  padding: 24px;
  z-index: 10002;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .l-header .l-header__menu-trigger {
    display: none;
  }
}
.l-header .l-header__menu-trigger {
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1), gap 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.l-header .l-header__menu-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}
.l-header .l-header__menu-trigger span {
  width: 4px;
  height: 4px;
  background-color: #D9D9D9;
  border-radius: 50%;
  transition: all 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.l-header .l-header__menu-trigger.is-active {
  gap: 0;
  transform: rotate(180deg);
}
.l-header .l-header__menu-trigger.is-active span {
  border-radius: 0;
  height: 2px;
  width: 12px;
}
.l-header .l-header__menu-trigger.is-active span:nth-child(1) {
  transform: translate(2px, 2px);
}
.l-header .l-header__menu-trigger.is-active span:nth-child(2) {
  transform: translate(-2px, 2px);
}
.l-header .l-header__menu-trigger.is-active span:nth-child(3) {
  transform: translate(2px, -2px);
  opacity: 0;
}
.l-header .l-header__menu-trigger.is-active span:nth-child(4) {
  transform: translate(-2px, -2px);
  opacity: 0;
}
@keyframes focusRipple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    border-width: 2px;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
    border-width: 0px;
  }
}

/* -------------------------------------------
 * グローバルメニュー (オリジナルの挙動を維持)
 * ------------------------------------------- */
.p-global-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: #1D1D1D;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
@media (min-width: 768px) {
  .p-global-menu {
    display: none !important;
  }
}
.p-global-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.p-global-menu.is-open .p-global-menu__bg-logo {
  opacity: 0.08;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px);
}
.p-global-menu.is-open .nav-list li {
  opacity: 1;
  transform: translateY(0);
}
.p-global-menu.is-open .nav-list li:nth-child(1) {
  transition-delay: 0.28s;
}
.p-global-menu.is-open .nav-list li:nth-child(2) {
  transition-delay: 0.36s;
}
.p-global-menu.is-open .nav-list li:nth-child(3) {
  transition-delay: 0.44s;
}
.p-global-menu.is-open .nav-list li:nth-child(4) {
  transition-delay: 0.52s;
}
.p-global-menu.is-open .nav-list li:nth-child(5) {
  transition-delay: 0.6s;
}
.p-global-menu__bg-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 180vw;
  height: 180vh;
  background-image: url(../assets/images/logo-symbol_bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: -1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  filter: blur(20px);
  transition: all 1.2s ease;
  mix-blend-mode: screen;
}
.p-global-menu__inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100%;
  padding: 120px 32px 16px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .p-global-menu__inner {
    grid-template-columns: 60% 40%;
    padding: 140px 80px 80px;
  }
}
.p-global-menu__nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.p-global-menu__nav .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-global-menu__nav .nav-list li {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-global-menu__nav .nav-list a {
  font-family: "adobe-garamond-pro", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  text-decoration: none;
}
.p-global-menu__info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 40px;
  margin-top: auto;
}
.p-global-menu__info .info-block {
  margin-bottom: 60px;
}
.p-global-menu__info .social-links {
  display: flex;
  gap: 16px;
}
.p-global-menu__info .social-links a {
  color: #fff;
  transition: opacity 0.3s;
}
.p-global-menu__info .p-global-menu__footer-text p {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  gap: 12px;
  justify-content: center;
}
.p-global-menu__info .p-global-menu__footer-text p .sep {
  color: rgba(255, 255, 255, 0.2);
}

.u-mobile-only {
  display: block;
}
@media (min-width: 768px) {
  .u-mobile-only {
    display: none !important;
  }
}

.u-desktop-only {
  display: none;
}
@media (min-width: 768px) {
  .u-desktop-only {
    display: block !important;
  }
}

.l-footer {
  padding: 8px;
  text-align: center;
  z-index: 1;
  position: relative;
  width: 100%;
}
.l-footer__inner {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #C5C5C5;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.l-footer__location, .l-footer__copyright {
  margin: 0;
}
.l-footer__location::after {
  content: "|";
  display: inline-block;
  margin: 0 12px;
  color: #828282;
}
.l-footer__location:last-child::after {
  content: "";
}

.c-work-card {
  flex: 0 0 auto;
  /* ★ 魔法の1行: カードの最大幅を「画像の幅」に強制的に合わせる */
  width: -moz-min-content;
  width: min-content;
}
.c-work-card__visual {
  height: 360px;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .c-work-card__visual {
    height: 480px;
  }
}
.c-work-card__visual img,
.c-work-card__visual video {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}
.c-work-card__info {
  width: 100%;
}
.c-work-card__title {
  color: #ffffff;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0 0 4px;
  line-height: 1.4;
}
.c-work-card__cat {
  color: #828282;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  margin: 0;
}
.c-work-card__year {
  color: #828282;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  margin: 0;
}

.p-top-works__list {
  cursor: grab;
  /* 通常時は掴めるアイコン */
}

.p-top-works__list.is-dragging {
  cursor: grabbing;
  /* ドラッグ中は握ったアイコン */
}

/* フィルター表示時のフワッとアニメーション */
@keyframes filterFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.c-work-card {
  flex: 0 0 auto;
  /* ★ 魔法の1行: カードの最大幅を「画像の幅」に強制的に合わせる */
  width: -moz-min-content;
  width: min-content;
  /* =========================================
     ▼ JSフィルター用のスタイル追加 ▼
  ========================================= */
}
.c-work-card.is-hidden {
  display: none !important;
}
.c-work-card.is-active {
  animation: filterFadeIn 0.4s ease forwards;
}

/* =========================================
   ▼ 横スクロール用のカーソルスタイル ▼
========================================= */
.p-top-works__list {
  cursor: grab;
  /* ▼ 追加：テキスト選択などを防ぐ ▼ */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}

.p-top-works__list.is-dragging {
  cursor: grabbing;
}

.c-work-card {
  /* ...（既存のスタイル）... */
}
.c-work-card img,
.c-work-card video,
.c-work-card a {
  /* ▼ 追加：画像単体を掴めないようにする ▼ */
  -webkit-user-drag: none;
  pointer-events: auto;
}

.home .l-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding-top: 20vh;
}
@media (min-width: 768px) {
  .home .l-main {
    padding-top: 12vh;
  }
}

.p-hero {
  position: relative;
  padding: 0 0 40px;
  text-align: left;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 768px) {
  .p-hero {
    padding-bottom: 40px;
  }
}
.p-hero__inner {
  padding: 0 24px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .p-hero__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.p-hero__content {
  width: 100%;
}
@media (min-width: 768px) {
  .p-hero__content {
    width: auto;
    flex: 1;
  }
}
.p-hero__logo {
  display: block;
  width: min(200px, 100% - 80px);
  max-width: 200px;
  height: auto;
  margin-bottom: 72px;
}
@media (min-width: 768px) {
  .p-hero__logo {
    width: min(290px, 100% - 80px);
    max-width: 330px;
  }
}
.p-hero__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 3px;
  color: #C5C5C5;
  margin-bottom: 24px;
}

.p-top-works {
  padding-top: 0;
}
.p-top-works__filter {
  display: flex;
  overflow-x: auto;
  padding: 32px 0;
  font-size: 0.875rem;
  gap: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.p-top-works__filter::-webkit-scrollbar {
  display: none;
}
.p-top-works__filter li a {
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
.p-top-works__filter li a.is-active {
  color: #fff;
  font-weight: 500;
}
.p-top-works__list-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.p-top-works__list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.p-top-works__list::-webkit-scrollbar {
  display: none;
}
.p-top-works__list {
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 40px;
  gap: 16px;
  scrollbar-width: none;
}
.p-top-works__list::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .p-top-works__list {
    padding: 0 40px 40px;
    gap: 24px;
  }
}

.c-work-card {
  scroll-snap-align: center;
}

/* 共通変数 */
/* ===========================================
 * 1. 大枠のレイアウト (PC2カラム / スマホ並び替え)
 * =========================================== */
.p-work-detail {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (min-width: 768px) {
  .p-work-detail {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 240px;
    gap: 8%;
  }
}
@media (max-width: 767px) {
  .p-work-detail__gallery, .p-work-detail__info {
    display: contents;
    /* スマホ時はラッパーを透明化して並び替え可能にする */
  }
}
@media (min-width: 768px) {
  .p-work-detail__gallery, .p-work-detail__info {
    display: flex;
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .p-work-detail__gallery {
    width: 55%;
    gap: 32px;
  }
}
@media (min-width: 768px) {
  .p-work-detail__info {
    width: 37%;
    gap: 48px;
    position: sticky;
    top: 120px;
  }
}

/* スマホ時の表示順序（order） */
@media (max-width: 767px) {
  .p-works-hero__body {
    order: 1;
  }
  /* 1. タイトル＆カテゴリ */
  .p-works-hero__visual {
    order: 2;
  }
  /* 2. 最初の画像 */
  .p-works-info__detail {
    order: 3;
  }
  /* 3. メタ・テキスト */
  .p-works-info__content {
    order: 4;
  }
  /* 4. 残りの画像群 */
}
/* ===========================================
 * 2. タイトルまわり (Hero)
 * =========================================== */
.p-works-hero__body {
  display: grid;
  gap: 16px;
}

.p-works-hero__title {
  margin: 0;
  font-family: "adobe-garamond-pro", serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
  color: #ffffff;
}

.p-works-hero__category {
  margin: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #828282;
}
@media (min-width: 768px) {
  .p-works-hero__category {
    font-size: 0.9rem;
  }
}

.p-works-hero__visual {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.p-works-hero__visual img,
.p-works-hero__visual video,
.p-works-hero__visual iframe {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .p-works-hero__visual img,
  .p-works-hero__visual video,
  .p-works-hero__visual iframe {
    border-radius: 16px;
  }
}

/* ===========================================
 * 3. テキスト情報 (Info)
 * =========================================== */
.p-works-info__detail {
  display: grid;
  gap: 64px;
}

/* メタ情報 (Client / Project / Year) */
.p-works-info__meta {
  display: grid;
  row-gap: 16px;
  margin: 0;
}
.p-works-info__meta dt {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #828282;
  text-transform: uppercase;
}
.p-works-info__meta dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}
.p-works-info__meta dd .sep {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 200;
  margin: 0 4px;
}
.p-works-info__meta dd a,
.p-works-info__meta dd span {
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .p-works-info__meta dd a,
  .p-works-info__meta dd span {
    font-size: 0.95rem;
  }
}
.p-works-info__meta dd {
  /* クライアントリンクの装飾 */
}
.p-works-info__meta dd .c-client-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #b5a67b;
  text-decoration: none;
  transition: color 0.3s ease;
}
.p-works-info__meta dd .c-client-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.p-works-info__meta dd .c-client-link .icon-arrow {
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.p-works-info__meta dd .c-client-link .icon-arrow::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 1.5px;
  background-color: currentColor;
  transform: rotate(-45deg);
  transform-origin: top right;
}
.p-works-info__meta dd .c-client-link:hover {
  color: #ffffff;
}
.p-works-info__meta dd .c-client-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.p-works-info__meta dd .c-client-link:hover .icon-arrow {
  transform: translate(2px, -2px);
}

/* Overview / Approach などのテキストセクション */
.p-works-info__section h2 {
  margin: 0 0 8px;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}
.p-works-info__section .p-works-info__text,
.p-works-info__section p {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #C5C5C5;
  margin-bottom: 1.5em;
}
@media (min-width: 768px) {
  .p-works-info__section .p-works-info__text,
  .p-works-info__section p {
    font-size: 0.95rem;
  }
}
.p-works-info__section .p-works-info__text:last-child,
.p-works-info__section p:last-child {
  margin-bottom: 0;
}

/* ===========================================
 * 4. ギャラリー画像群 (Content Area)
 * =========================================== */
.p-works-info__content {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .p-works-info__content {
    gap: 32px;
  }
}
.p-works-info__content {
  /* ふわっと表示されるアニメーション */
}
.p-works-info__content img,
.p-works-info__content video,
.p-works-info__content iframe {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.p-works-info__content img.is-visible,
.p-works-info__content video.is-visible,
.p-works-info__content iframe.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.p-works-info__content {
  /* 余計な空タグを消去 */
}
.p-works-info__content figure:empty,
.p-works-info__content .wp-block-embed:empty,
.p-works-info__content .wp-block-columns:empty,
.p-works-info__content .wp-block-column:empty,
.p-works-info__content p:empty {
  display: none !important;
}
.p-works-info__content figure:not(:has(img, video, iframe, p, div)),
.p-works-info__content .wp-block-embed:not(:has(img, video, iframe, p, div)),
.p-works-info__content .wp-block-columns:not(:has(img, video, iframe, p, div)),
.p-works-info__content .wp-block-column:not(:has(img, video, iframe, p, div)),
.p-works-info__content p:not(:has(img, video, iframe, p, div)) {
  display: none !important;
}
.p-works-info__content {
  /* 単体画像のフレーム */
}
.p-works-info__content figure:not(.wp-block-column figure),
.p-works-info__content .wp-block-embed {
  background-color: #212121;
  padding: 16px;
  border-radius: 8px;
  margin: 0 !important;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .p-works-info__content figure:not(.wp-block-column figure),
  .p-works-info__content .wp-block-embed {
    padding: 40px;
  }
}
.p-works-info__content figure:not(.wp-block-column figure) img,
.p-works-info__content figure:not(.wp-block-column figure) video,
.p-works-info__content figure:not(.wp-block-column figure) iframe,
.p-works-info__content .wp-block-embed img,
.p-works-info__content .wp-block-embed video,
.p-works-info__content .wp-block-embed iframe {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 8px 8px 50px 0 rgba(0, 0, 0, 0.25);
  -o-object-fit: cover;
     object-fit: cover;
}
.p-works-info__content figure:not(.wp-block-column figure) figcaption,
.p-works-info__content .wp-block-embed figcaption {
  font-size: 0.75rem;
  color: #828282;
  margin-top: 16px;
  text-align: center;
}
.p-works-info__content {
  /* カラム（横並び）のフレーム */
}
.p-works-info__content .wp-block-columns {
  background-color: #212121;
  padding: 16px;
  border-radius: 8px;
  box-sizing: border-box;
  display: grid !important;
  gap: 8px;
  margin: 0 !important;
  grid-template-columns: repeat(2, 1fr) !important;
  /* スマホ2列 */
}
@media (min-width: 768px) {
  .p-works-info__content .wp-block-columns {
    padding: 40px;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
  }
}
.p-works-info__content .wp-block-columns .wp-block-column {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: flex;
  flex-direction: column;
}
.p-works-info__content .wp-block-columns .wp-block-column figure {
  background-color: transparent;
  padding: 0;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.p-works-info__content .wp-block-columns .wp-block-column figure img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  border-radius: 10px;
  box-shadow: 8px 8px 50px 0 rgba(0, 0, 0, 0.25);
  flex-grow: 1;
}
@media (min-width: 768px) {
  .p-works-info__content .wp-block-columns .wp-block-column figure img {
    border-radius: 16px;
  }
}

/* ==========================================================================
   ページ共通・Aboutページ (_page.scss)
   ========================================================================== */
.l-main--page {
  padding-top: 100px;
  padding-bottom: 120px;
}
@media (min-width: 768px) {
  .l-main--page {
    padding-top: 160px;
    padding-bottom: 200px;
  }
}

.c-sec-title {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
  letter-spacing: 7px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .c-sec-title {
    margin-bottom: 60px;
  }
}

.p-page-header {
  min-height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .p-page-header {
    min-height: 30vh;
  }
}
.p-page-header__title {
  font-family: "adobe-garamond-pro", serif;
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}
.p-page-header__lead {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.p-about-statement {
  margin-bottom: 120px;
}
.p-about-statement__text {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 2.2;
  color: #fff;
  font-weight: 300;
}
@media (min-width: 768px) {
  .p-about-statement__text {
    font-size: 1rem;
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 80px;
         column-gap: 80px;
  }
}
.p-about-statement__text p {
  margin-bottom: 2em;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  /* 追記: 最後の段落の下は余白をなくす */
}
.p-about-statement__text p:last-child {
  margin-bottom: 0;
}

.p-about-capabilities {
  margin-bottom: 120px;
}
.p-about-capabilities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .p-about-capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
  }
}
.p-about-capabilities__grid .item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}
.p-about-capabilities__grid .item h3 {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 3px;
}
.p-about-capabilities__grid .item__ja {
  display: block;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.p-about-capabilities__grid .item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.p-about-profile__list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.p-about-profile__list .row {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .p-about-profile__list .row {
    flex-direction: row;
    padding: 32px 0;
  }
}
.p-about-profile__list dt {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  width: 200px;
  flex-shrink: 0;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .p-about-profile__list dt {
    margin-bottom: 0;
  }
}
.p-about-profile__list dd {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.8;
  font-weight: 300;
  /* 追記: Message部分の段落ごとの余白 */
}
.p-about-profile__list dd p {
  margin-bottom: 1.8em;
}
.p-about-profile__list dd p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Gravity Forms 完全オーバーライド (4s studioスタイル)
   ========================================================================== */
.gform_wrapper {
  max-width: 800px;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}
.gform_wrapper .gform_heading {
  display: none !important;
}
.gform_wrapper .validation_error {
  color: #ff4d4d;
  font-size: 0.875rem;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.05);
}
.gform_wrapper .gfield {
  margin-bottom: 40px;
  position: relative;
}
.gform_wrapper .gfield_label {
  display: flex !important;
  align-items: center !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.05em;
}
.gform_wrapper .gfield_required {
  display: none !important;
}
.gform_wrapper .gfield_contains_required .gfield_label::after {
  content: "REQUIRED";
  font-size: 0.65rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 6px;
  margin-left: 12px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  font-weight: 400;
  line-height: 1;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=url],
.gform_wrapper textarea {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0 !important;
  color: #fff !important;
  padding: 12px 0 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transition: border-color 0.3s ease !important;
}
.gform_wrapper input[type=text]:-webkit-autofill,
.gform_wrapper input[type=email]:-webkit-autofill,
.gform_wrapper input[type=tel]:-webkit-autofill,
.gform_wrapper input[type=url]:-webkit-autofill,
.gform_wrapper textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #111 inset !important;
  -webkit-text-fill-color: #fff !important;
}
.gform_wrapper input[type=text]:focus,
.gform_wrapper input[type=email]:focus,
.gform_wrapper input[type=tel]:focus,
.gform_wrapper input[type=url]:focus,
.gform_wrapper textarea:focus {
  outline: none !important;
  border-bottom-color: #fff !important;
}
.gform_wrapper input[type=text]::-moz-placeholder, .gform_wrapper input[type=email]::-moz-placeholder, .gform_wrapper input[type=tel]::-moz-placeholder, .gform_wrapper input[type=url]::-moz-placeholder, .gform_wrapper textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=email]::placeholder,
.gform_wrapper input[type=tel]::placeholder,
.gform_wrapper input[type=url]::placeholder,
.gform_wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.gform_wrapper textarea {
  resize: vertical !important;
  min-height: 120px !important;
}
.gform_wrapper .ginput_complex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.gform_wrapper .ginput_complex span {
  flex: 1 1 calc(50% - 10px);
  min-width: 250px;
}
.gform_wrapper .ginput_complex label {
  display: block;
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.75rem !important;
  margin-top: 8px !important;
  letter-spacing: 0.05em;
}
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
  border-bottom-color: #ff4d4d !important;
}
.gform_wrapper .gfield_error .validation_message {
  color: #ff4d4d;
  font-size: 0.75rem;
  margin-top: 8px;
}
.gform_wrapper .gfield_consent_description {
  max-height: 240px !important;
  overflow-y: auto;
  padding: 24px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.85rem !important;
  line-height: 1.8 !important;
  border-radius: 8px !important;
  border: none !important;
  background-color: #232323 !important;
}
.gform_wrapper .gfield_consent_description::-webkit-scrollbar {
  width: 4px;
}
.gform_wrapper .gfield_consent_description::-webkit-scrollbar-track {
  background: transparent;
}
.gform_wrapper .gfield_consent_description::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.gform_wrapper .ginput_container_consent {
  margin-top: 16px !important;
  display: flex;
  align-items: center;
}
.gform_wrapper .ginput_container_consent label {
  color: #fff !important;
  font-size: 0.9rem !important;
  margin-left: 12px !important;
  cursor: pointer;
}
.gform_wrapper .ginput_container_consent input[type=checkbox] {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  accent-color: #fff;
}
.gform_wrapper .gform_footer {
  margin-top: 60px !important;
  text-align: left !important;
}
.gform_wrapper .gform_footer input[type=submit] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  padding: 16px 48px !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease !important;
}
.gform_wrapper .gform_footer input[type=submit]:hover {
  background: #fff !important;
  color: #000 !important;
}

/* サンクスページ特有の演出 */
.p-page-content--thanks {
  text-align: center;
  padding: 10vh 0;
}
.p-page-content--thanks h2 {
  border-bottom: none !important;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  font-family: "adobe-garamond-pro", serif;
  font-weight: 300;
  letter-spacing: 4px;
}
.p-page-content--thanks .p-thanks-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
  margin-bottom: 60px;
}
.p-page-content--thanks .c-btn-back {
  display: inline-block;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.p-page-content--thanks .c-btn-back:hover {
  border-bottom-color: #fff;
}

/* 404ページ特有の演出 */
.p-page-content--404 {
  text-align: center;
  padding: 15vh 0;
}
.p-page-content--404 h2 {
  border-bottom: none !important;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  margin-bottom: 8px;
  font-family: "adobe-garamond-pro", serif;
  font-weight: 300;
  letter-spacing: 0;
  color: #fff;
}
.p-page-content--404 .p-404-lead {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 48px;
}
.p-page-content--404 .p-404-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
  margin-bottom: 60px;
}
.p-page-content--404 .c-btn-back {
  display: inline-block;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.p-page-content--404 .c-btn-back:hover {
  border-bottom-color: #fff;
}

.br-pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .br-pc {
    display: block;
  }
}/*# sourceMappingURL=style.css.map */