/*
Theme Name: COTEMPO
Theme URI: https://www.cotenpo.com
Author: COTEMPO
Description: 株式会社コテンポ オリジナルテーマ
Version: 1.0.0
*/

/* ==============================
   CSS Variables
============================== */
:root {
  --color-accent: #2C3E55;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-gray: #f5f5f3;
  --color-text: #1a1a1a;
  --color-text-muted: #888;
  --color-beige: #f0ece4;
  --font-en: 'EB Garamond', serif;
  --font-ja: 'Shippori Mincho', serif;
  --transition: 0.4s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==============================
   Header
============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 72px;
  height: 100px;
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 0.5px solid transparent;
}

.site-header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-match-icon {
  color: var(--color-white);
  flex-shrink: 0;
  transition: color 0.5s ease;
}

.logo-match-icon circle {
  animation: matchGlow 2.2s ease-in-out infinite;
  transform-origin: 6px 5px;
}

@keyframes matchGlow {

  0%,
  100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 0px rgba(255, 200, 120, 0));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(255, 200, 120, 0.9));
  }
}

.site-header.scrolled .logo-match-icon {
  color: var(--color-black);
}

.site-logo .logo-en {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.26em;
  color: var(--color-white);
  line-height: 1;
  transition: color 0.5s ease;
}

.site-logo .logo-ja {
  font-family: var(--font-ja);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1;
  margin-top: 2px;
  transition: color 0.5s ease;
}

.site-header.scrolled .logo-en {
  color: var(--color-black);
}

.site-header.scrolled .logo-ja {
  color: rgba(0, 0, 0, 0.45);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.global-nav a {
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.932);
  transition: color 0.5s ease;
  position: relative;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0.5px;
  background: currentColor;
  transition: width 0.4s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

.site-header.scrolled .global-nav a {
  color: rgba(0, 0, 0, 0.7);
}

.site-header.scrolled .global-nav a:hover {
  color: var(--color-black);
}

/* ハンバーガー（スマホ用） */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-white);
  transition: background 0.5s ease, transform var(--transition);
}

.site-header.scrolled .nav-toggle span {
  background: var(--color-black);
}

/* ---- ハンバーガーメニュー：マッチ棒 ---- */
.nav-match {
  display: none;
  margin-bottom: 32px;
}

.global-nav.open .nav-match {
  display: block;
}

.nav-match-dot {
  animation: navDotBlink 3s ease-in-out infinite;
  opacity: 0;
}

.nav-match-dot:nth-child(1) {
  animation-delay: 0s;
}

.nav-match-dot:nth-child(2) {
  animation-delay: 0.6s;
}

.nav-match-dot:nth-child(3) {
  animation-delay: 1.1s;
}

.nav-match-dot:nth-child(4) {
  animation-delay: 1.7s;
}

.nav-match-dot:nth-child(5) {
  animation-delay: 2.1s;
}

.nav-match-dot:nth-child(6) {
  animation-delay: 0.9s;
}

.nav-match-dot:nth-child(7) {
  animation-delay: 1.4s;
}

@keyframes navDotBlink {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.25;
  }

  75% {
    opacity: 0.45;
  }

  100% {
    opacity: 0;
  }
}

/* ==============================
   Hero
============================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  z-index: 0;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-content {
  position: absolute;
  bottom: 18%;
  left: 8%;
  z-index: 2;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-ja);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

/* Swiperページネーション */
.hero .swiper-pagination {
  bottom: 32px;
}

.hero .swiper-pagination-bullet {
  width: 32px;
  height: 1px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  margin: 0 4px !important;
}

.hero .swiper-pagination-bullet-active {
  background: var(--color-white);
}

/* Scrollインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* ==============================
   Responsive
============================== */
/* ==============================
   PC横並びナビ（1200px以上のみ）
============================== */
.nav-sns {
  display: none;
}

/* 管理バー対応 */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* タブレット・SP：1200px以下はハンバーガー */
@media (max-width: 1200px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 28px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  }

  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.75);
  }

  .header-sns {
    display: none;
  }

  .global-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav a {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--color-black) !important;
  }

  .global-nav a::after {
    display: none;
  }

  .global-nav a .nav-en {
    font-family: var(--font-en);
    font-size: 26px;
    letter-spacing: 0.14em;
    color: var(--color-black);
  }

  .global-nav a .nav-ja {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.4);
    opacity: 1;
  }

  .nav-sns {
    display: flex;
    gap: 24px;
    margin-top: 16px;
  }

  .nav-sns a {
    color: rgba(0, 0, 0, 0.35) !important;
    flex-direction: row !important;
  }

  .nav-sns a:hover {
    color: var(--color-black) !important;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .site-logo .logo-en {
    font-size: 18px;
    color: var(--color-white);
  }

  .site-logo .logo-ja {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
  }

  .logo-match-icon {
    width: 12px;
    height: 40px;
    display: block;
  }

  .site-logo {
    gap: 7px;
  }

  .site-header.scrolled .logo-en {
    color: var(--color-black);
  }

  .site-header.scrolled .logo-ja {
    color: rgba(0, 0, 0, 0.45);
  }

  .site-header.scrolled .nav-toggle span {
    background: var(--color-black);
  }

  .site-header.nav-open .logo-en,
  .site-header.nav-open .logo-ja {
    color: var(--color-black) !important;
  }

  .site-header.nav-open .logo-ja {
    color: rgba(0, 0, 0, 0.45) !important;
  }

  .site-header.nav-open .nav-toggle span {
    background: var(--color-black);
  }
}

/* ==============================
   Concept
============================== */
.concept {
  padding: 140px 24px;
  background: var(--color-white);
}

.concept-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.concept-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.concept-heading {
  font-family: var(--font-ja);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--color-black);
  margin-bottom: 56px;
}

.concept-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-black);
  margin: 40px auto 0;
  opacity: 0.3;
}

.concept-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-body p {
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: #444;
}

@media (max-width: 768px) {
  .concept {
    padding: 100px 24px;
  }
}

/* ==============================
   Nav 英語+日本語 横並び
============================== */
.global-nav a {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}

.nav-en {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.1em;
}

.nav-ja {
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

/* ==============================
   Button
============================== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ja);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-black);
  border: 0.5px solid var(--color-black);
  padding: 14px 36px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.5;
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-outline:hover span {
  opacity: 0.7;
}

.concept-cta {
  margin-top: 56px;
}

/* ==============================
   Header SNS
============================== */
.header-sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-sns a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.4s ease;
}

.header-sns a:hover {
  color: var(--color-white);
}

.site-header.scrolled .header-sns a {
  color: rgba(0, 0, 0, 0.5);
}

.site-header.scrolled .header-sns a:hover {
  color: var(--color-black);
}

/* ==============================
   Works（パララックス）
============================== */
.works-parallax {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.works-parallax-bg {
  position: absolute;
  inset: -80px 0;
  background-image: url('assets/images/works-bg.webp');
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  background-attachment: fixed;
  filter: brightness(0.45);
  z-index: 0;
}

.works-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.works-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.works-heading {
  font-family: var(--font-ja);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.works-text {
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.works-parallax .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.works-parallax .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* iOS Safari パララックスフォールバック */
@supports (-webkit-touch-callout: none) {
  .works-parallax-bg {
    background-attachment: scroll;
    inset: 0;
  }
}

@media (max-width: 768px) {
  .works-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px;
  }

  .works-parallax-bg {
    background-attachment: scroll;
    inset: 0;
  }
}

/* ==============================
   Case
============================== */
.case-section {
  background: var(--color-white);
}

.case-hero {
  position: relative;
  padding: 100px 64px 80px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background-color: #f0ece4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
}

.case-hero-text {
  position: relative;
  z-index: 1;
}

.case-hero-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: flex-start;
  padding-bottom: 8px;
}

.case-hero-vertical p {
  font-family: var(--font-ja);
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 0.14em;
  color: #6a6058;
}

.case-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #9a9080;
  margin-bottom: 12px;
}

.case-heading {
  font-family: var(--font-ja);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: #2a2520;
  letter-spacing: 0.1em;
  line-height: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2px;
  background: #e8e8e6;
}

.case-card {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--color-white);
}

.case-card--main .case-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
  transition: transform 0.6s ease;
}

.case-card--sub {
  display: flex;
  flex-direction: column;
}

.case-card--sub .case-card-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
  transition: transform 0.6s ease;
}

.case-card:hover .case-card-img {
  transform: scale(1.03);
}

.case-card-body {
  padding: 20px 24px;
}

.case-card-title {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-black);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.case-card-excerpt {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.case-card-sub-col {
  display: flex;
  flex-direction: column;
}

.case-card-sub-col .case-card--sub {
  flex: 1;
}

.case-cta {
  padding: 64px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .case-hero {
    padding: 40px 24px 40px;
    min-height: auto;
  }

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

/* ==============================
   Column
============================== */
.column-section {
  background-color: #f0ece4;
}

/* --- クリップパス展開背景 --- */
.column-bg-clip {
  background-color: #f0ece4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  /* background-size と background-position は削除 */
  clip-path: inset(40px 10% round 12px);
  transition: clip-path 0.05s linear;
  display: flex;
  flex-direction: column;
}

/* オーバーレイ */
.column-bg-clip::before {
  display: none;
}

.column-clip-text {
  position: relative;
  z-index: 1;
}

/* 展開完了状態 */
.column-bg-clip.is-expanded {
  clip-path: inset(0px 0px round 0px);
}

/* --- 縦書きテキスト --- */
.column-clip-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
  padding: 80px 10%;
  align-self: flex-start;
}

.column-clip-desc {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.1em;
  color: #6a6058;
  padding-bottom: 8px;
}

.column-bg-clip.is-expanded .column-clip-text {
  opacity: 1;
  transform: translateY(0);
}

.column-clip-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #9a9080;
  writing-mode: horizontal-tb;
}

.column-clip-heading {
  font-family: var(--font-ja);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: #2a2520;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.column-clip-captions {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
}

.column-clip-captions p {
  font-family: var(--font-ja);
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* --- カードエリア --- */
.column-inner {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  padding: 48px 5% 64px;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.column-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.column-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-white);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  z-index: 2;
}

.column-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
  transition: transform 0.6s ease;
}

.column-card:hover .column-card-img {
  transform: scale(1.03);
}

.column-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px 16px 16px;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.06em;
  line-height: 1.6;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.column-cta {
  text-align: center;
}

.column-cta .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.column-cta .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* --- レスポンシブ --- */
@media (max-width: 1200px) {
  .column-clip-text {
    padding: 64px 24px 48px;
    align-self: flex-start;
    gap: 24px;
  }

  .column-clip-heading {
    font-size: clamp(40px, 10vw, 64px);
  }

  .column-inner {
    padding: 40px 24px 64px;
  }

  .column-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}

/* ↓ここから新しく追加 */
@media (max-width: 768px) {
  .column-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    margin-bottom: 48px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .column-card {
    flex: 0 0 72vw;
    scroll-snap-align: start;
  }

  .column-card-img {
    aspect-ratio: 3 / 4;
  }

  .column-grid::-webkit-scrollbar {
    display: none;
  }
}

/* ==============================
   Contact
============================== */
.contact-section {
  padding: 140px 24px;
  background: var(--color-gray);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.contact-heading {
  font-family: var(--font-ja);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--color-black);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.contact-desc {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  line-height: 2;
}

/* CF7フォーム */
.contact-form-wrap .wpcf7 {
  margin: 0;
}

.cf7-field {
  margin-bottom: 32px;
}

.cf7-field label {
  display: block;
  font-family: var(--font-ja);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-black);
  margin-bottom: 8px;
}

.cf7-required {
  color: #a08060;
  margin-left: 4px;
}

.cf7-optional {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.cf7-field input[type="text"],
.cf7-field input[type="tel"],
.cf7-field input[type="email"],
.cf7-field select,
.cf7-field textarea {
  width: 100%;
  background: var(--color-white);
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  padding: 14px 16px;
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--color-black);
  letter-spacing: 0.06em;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.cf7-field input:focus,
.cf7-field select:focus,
.cf7-field textarea:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

.cf7-field textarea {
  height: 160px;
  resize: vertical;
}

.cf7-submit input[type="submit"] {
  width: 100%;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.cf7-submit input[type="submit"]:hover {
  background: #333;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 100px 24px;
  }
}

/* ==============================
   Footer
============================== */
.site-footer {
  background: var(--color-black);
  padding: 64px 72px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo .logo-en {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.26em;
  color: var(--color-white);
}

.footer-logo .logo-ja {
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 56px 24px;
  }

  .footer-nav {
    gap: 24px;
  }
}

/* ==============================
   Privacy Policy
============================== */
.privacy-hero {
  padding: 160px 64px 100px;
  background-color: #f0ece4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
}

.privacy-hero-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #9a9080;
  margin-bottom: 16px;
}

.privacy-hero-heading {
  font-family: var(--font-ja);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: #2a2520;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.privacy-body {
  padding: 100px 0 140px;
  background: var(--color-white);
}

.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.privacy-intro {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: #555;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.privacy-section {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 32px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.privacy-section:last-of-type {
  border-bottom: none;
}

.privacy-num {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #b0a898;
  padding-top: 4px;
  grid-row: 1 / 3;
}

.privacy-section-title {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  color: #2a2520;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.privacy-section-body {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: #555;
}

.privacy-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-list li {
  padding-left: 16px;
  position: relative;
}

.privacy-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #b0a898;
  font-family: var(--font-en);
}

.privacy-contact-box {
  margin-top: 24px;
  padding: 28px 32px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-contact-company {
  font-size: 15px;
  color: #2a2520;
  margin-bottom: 4px;
}

.privacy-contact-box a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-date {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #b0a898;
  text-align: right;
  margin-top: 64px;
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 120px 24px 72px;
  }

  .privacy-inner {
    padding: 0 24px;
  }

  .privacy-body {
    padding: 72px 0 100px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .privacy-num {
    grid-row: auto;
  }
}

/* ==============================
   Contact
============================== */
.contact-hero {
  position: relative;
  padding: 180px 24px 100px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/images/contact-hero.webp');
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 18, 0.5);
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
}

.contact-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.contact-page .contact-heading {
  font-family: var(--font-ja);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-bottom: 24px;
}

.contact-caption {
  font-family: var(--font-ja);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.contact-body {
  padding: 120px 0 160px;
  background: var(--color-white);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-form-wrap {
  font-family: var(--font-ja);
}

/* Contact Form 7 基本スタイル */
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 32px;
}

.contact-form-wrap label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #444;
  margin-bottom: 12px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  width: 100%;
  font-family: var(--font-ja);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.25);
  padding: 10px 4px;
  transition: border-color 0.3s ease;
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-wrap .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form-wrap .wpcf7-list-item {
  margin: 0;
}

.contact-form-wrap .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  margin-bottom: 0;
}

.contact-form-wrap input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.contact-form-wrap .wpcf7-submit {
  font-family: var(--font-ja);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-white);
  background: var(--color-black);
  border: 0.5px solid var(--color-black);
  padding: 16px 56px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-form-wrap .wpcf7-submit:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.contact-form-wrap .wpcf7-spinner {
  margin-left: 16px;
}

.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #b3492f;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.contact-form-wrap .wpcf7-response-output {
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 0;
  padding: 16px 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 140px 24px 72px;
    min-height: 300px;
  }

  .contact-caption {
    font-size: 12.5px;
    line-height: 2;
  }

  .contact-body {
    padding: 80px 0 100px;
  }

  .contact-inner {
    padding: 0 24px;
  }
}

/* ==============================
   Company
============================== */
.company-hero {
  position: relative;
  padding: 180px 24px 100px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('assets/images/company-hero.webp');
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.company-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 18, 0.5);
}

.company-hero-inner {
  position: relative;
  z-index: 1;
}

.company-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.company-heading {
  font-family: var(--font-ja);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-bottom: 24px;
}

.company-caption {
  font-family: var(--font-ja);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.company-body {
  padding: 40px 0 120px;
  background: #f0ece4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
}

.company-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.company-match {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.company-match-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  position: relative;
  z-index: 2;
}

.company-house {
  margin-top: -4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.company-house.is-lit {
  opacity: 1;
  transform: translateY(0);
}

#company-window-1,
#company-window-2 {
  transition: opacity 0.8s ease;
}

.company-table {
  display: flex;
  flex-direction: column;
}

.company-row {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.company-row:first-child {
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

.company-row-num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 32px;
  padding-top: 1px;
}

.company-row-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  width: 100%;
}

.company-row-label {
  font-family: var(--font-ja);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6a6058;
  width: 140px;
  flex-shrink: 0;
}

.company-row-value {
  font-family: var(--font-ja);
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.9;
  color: #2a2520;
  flex: 1;
  min-width: 200px;
}

.company-row--muted .company-row-num,
.company-row--muted .company-row-label,
.company-row--muted .company-row-value {
  color: #a39c8e;
}

@media (max-width: 768px) {
  .company-hero {
    padding: 140px 24px 72px;
    min-height: 300px;
  }

  .company-body {
    padding: 80px 0 100px;
  }

  .company-inner {
    padding: 0 24px;
  }

  .company-row {
    gap: 16px;
  }

  .company-row-content {
    flex-direction: column;
    gap: 6px;
  }

  .company-row-label {
    width: auto;
  }
}

/* ==============================
   About Hero
============================== */
.about-hero {
  position: relative;
  height: 40vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background-image: url('assets/images/about-hero.webp');
  background-size: cover;
  background-position: center;
  background-color: #2a2520;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 72px 96px;
}

.about-hero-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.about-hero-title {
  font-family: var(--font-ja);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.7;
  letter-spacing: 0.06em;
  max-width: 760px;
}

/* ==============================
   About Statement
============================== */
.statement {
  padding: 100px 24px;
  text-align: center;
}

.statement-inner {
  max-width: 700px;
  margin: 0 auto;
}

.statement-text {
  font-family: var(--font-ja);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--color-black);
}

.statement-line {
  display: block;
}

/* ==============================
   About Story
============================== */
.story {
  background: var(--color-white);
}

.story-block {
  padding: 64px 24px;
  display: flex;
  justify-content: center;
}

.story-block-inner {
  max-width: 640px;
  width: 100%;
}

.story-p {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 1.6em;
}

.story-p:last-child {
  margin-bottom: 0;
}

.story-photo-break {
  width: 100%;
  height: 360px;
  background-image: url('assets/images/about-interior.webp');
  background-size: cover;
  background-position: center;
  background-color: #b9ab92;
}

/* ==============================
   About Timeline
============================== */
.timeline {
  background: var(--color-beige);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  padding: 140px 24px;
}

.timeline-inner {
  max-width: 980px;
  margin: 0 auto;
}

.timeline-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #9a9080;
  margin-bottom: 12px;
  text-align: center;
}

.timeline-heading {
  font-family: var(--font-ja);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 400;
  color: #2a2520;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 80px;
}

.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 64px;
  width: 1px;
  height: calc(100% - 100px);
  border-left: 1px dashed rgba(42, 37, 32, 0.4);
}

.timeline-track::after {
  content: '';
  position: absolute;
  bottom: 50px;
  left: 64px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid rgba(42, 37, 32, 0.5);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.timeline-year {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

.timeline-card {
  background: var(--color-white);
  border: 0.5px solid rgba(42, 37, 32, 0.1);
  overflow: hidden;
  display: flex;
  flex: 1;
  min-width: 0;
  padding: 36px;
  gap: 32px;
  align-items: center;
}

.timeline-card-img {
  width: 260px;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #d9cdb8;
}

.timeline-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.timeline-card-name {
  font-family: var(--font-ja);
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--color-black);
  margin-bottom: 14px;
}

.timeline-card-copy {
  font-family: var(--font-ja);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ==============================
   About Responsive
============================== */

@media (max-width: 1200px) {
  .about-hero-inner {
    padding: 0 28px 72px;
  }
}

@media (max-width: 768px) {
  .about-hero-inner {
    padding: 0 24px 64px;
  }

  .statement {
    padding: 100px 24px;
  }

  .timeline {
    padding: 90px 20px;
  }

  .timeline-heading {
    margin-bottom: 56px;
  }

  .timeline-track {
    gap: 36px;
  }

  .timeline-track::before {
    left: 38px;
    top: 30px;
  }

  .timeline-track::after {
    left: 38px;
  }

  .timeline-item {
    align-items: flex-start;
    gap: 16px;
  }

  .timeline-year {
    width: 76px;
    height: 76px;
    font-size: 14px;
  }

  .timeline-card {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }

  .timeline-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .timeline-card-body {
    padding: 18px 18px 20px;
  }

  .timeline-card-name {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .timeline-card-copy {
    font-size: 12px;
  }
}

/* ==============================
   手記アーカイブ（archive.php）
============================== */

/* Hero */
.syuki-hero {
  padding: 120px 72px 52px;
  border-bottom: 1px solid var(--color-accent);
}

.syuki-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.syuki-logo-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.36em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 12px;
  display: inline-block;
  line-height: 1;
}

.syuki-logo-ja {
  display: block;
  font-family: var(--font-ja);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(44, 62, 85, 0.4);
  margin-top: 7px;
  padding-left: 2px;
}

.syuki-hero-sublabel {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(44, 62, 85, 0.35);
  text-align: right;
  line-height: 1.9;
}

.syuki-hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 80px;
}

/* 博報堂スタイル：「手」「記」ブロック */
.syuki-hero-title {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-end;
}

.syuki-hl-line {
  display: inline-block;
  background: var(--color-accent);
  padding: 8px 18px 10px;
  font-family: var(--font-ja);
  font-size: 96px;
  font-weight: 400;
  color: #f0ece4;
  letter-spacing: 0.12em;
  line-height: 1;
  transform: translateY(40px);
  opacity: 0;
  transition: none;
}

.syuki-hl-line.is-visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s ease;
}

.syuki-hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 8px;
}

.syuki-hero-caption {
  font-family: var(--font-ja);
  font-size: 12px;
  line-height: 2.3;
  letter-spacing: 0.12em;
  color: #000000;
  text-align: right;
}

.syuki-hero-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: rgba(44, 62, 85, 0.25);
  font-style: italic;
}

/* 記事リスト */
.syuki-list {
  padding: 0 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.syuki-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}

/* 斜め線 → ホバーで水平 */
.syuki-rule {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.5px;
  background: var(--color-accent);
  opacity: 0.18;
  transform-origin: left center;
  transition: transform 0.58s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s;
}

.syuki-rule-top {
  top: 0;
  transform: none;
}

.syuki-rule-bot {
  bottom: 0;
  transform: none;
}

.syuki-entry:hover .syuki-rule-top,
.syuki-entry:hover .syuki-rule-bot {
  transform: rotate(0deg) scaleX(1);
  opacity: 0.4;
}

/* 左：テキストエリア */
.syuki-col-body {
  padding: 40px 44px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.syuki-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.syuki-date {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(44, 62, 85, 0.35);
}

.syuki-date-kanji {
  font-family: var(--font-ja);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(44, 62, 85, 0.22);
}

.syuki-cat {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(44, 62, 85, 0.32);
  font-style: italic;
  border: 0.5px solid rgba(44, 62, 85, 0.22);
  padding: 2px 7px;
  margin-left: 4px;
}

/* タイトル スライドイン */
.syuki-entry-title {
  font-family: var(--font-ja);
  font-size: 21px;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  line-height: 1.85;
}

.syuki-title-line {
  display: block;
  overflow: hidden;
}

.syuki-title-inner {
  display: block;
  transform: translateX(-105%);
  opacity: 0;
  transition: none;
}

.syuki-title-inner.is-visible {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.52s cubic-bezier(0.76, 0, 0.24, 1);
}

/* 抜粋 */
.syuki-excerpt {
  font-family: var(--font-ja);
  font-size: 12px;
  line-height: 2.3;
  letter-spacing: 0.06em;
  color: rgba(44, 62, 85, 0.48);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
  max-width: 420px;
}

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

/* 続きを読む */
.syuki-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  border-bottom: 0.5px solid rgba(44, 62, 85, 0.3);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: opacity 0.3s;
  opacity: 0;
  transition: opacity 0.5s ease 0.4s;
}

.syuki-excerpt.is-visible~.syuki-readmore,
.syuki-readmore.is-visible {
  opacity: 1;
}

.syuki-readmore-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.45;
}

/* 右：サムネ */
.syuki-col-thumb {
  border-left: 0.5px solid rgba(44, 62, 85, 0.13);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.syuki-thumb-inner {
  position: absolute;
  inset: 20px 20px 36px;
  background-size: cover;
  background-position: center;
  background-color: rgba(44, 62, 85, 0.07);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.syuki-entry:hover .syuki-thumb-inner {
  transform: scale(1.04);
}

.syuki-thumb-cap {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(44, 62, 85, 0.25);
  font-style: italic;
}

.syuki-num {
  font-family: var(--font-en);
  font-size: 88px;
  color: rgba(44, 62, 85, 0.06);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ページネーション */
.syuki-pagination {
  padding: 40px 0;
  border-top: 0.5px solid rgba(44, 62, 85, 0.15);
}

.syuki-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.syuki-pagination .page-numbers li {
  list-style: none;
}

.syuki-pagination .page-numbers a,
.syuki-pagination .page-numbers span {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(44, 62, 85, 0.28);
  padding: 0 12px;
  transition: color 0.3s;
  text-decoration: none;
  display: block;
}

.syuki-pagination .page-numbers .current {
  color: var(--color-accent);
  border-bottom: 0.5px solid var(--color-accent);
  padding-bottom: 1px;
}

.syuki-pagination .page-numbers a:hover {
  color: var(--color-accent);
}

.syuki-empty {
  padding: 80px 0;
  font-family: var(--font-ja);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(44, 62, 85, 0.4);
}

/* SP対応（1200px以下） */
@media (max-width: 1200px) {
  .syuki-hero {
    padding: 80px 28px 40px;
  }

  .syuki-hl-line {
    font-size: 64px;
    padding: 6px 12px 8px;
  }

  .syuki-hero-caption {
    font-size: 11px;
  }

  .syuki-list {
    padding: 0 28px;
  }

  .syuki-entry {
    grid-template-columns: 1fr;
  }

  .syuki-col-body {
    padding: 32px 0 20px;
  }

  .syuki-col-thumb {
    border-left: none;
    border-top: 0.5px solid rgba(44, 62, 85, 0.1);
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-bottom: 0;
    order: -1;
  }

  .syuki-thumb-inner {
    inset: 0 0 28px;
  }

  .syuki-num {
    font-size: 56px;
  }

  .syuki-entry-title {
    font-size: 18px;
  }

  .syuki-pagination {
    padding: 32px 0;
  }
}

/* ---- 手記ページヘッダー固定スタイル ---- */
.is-syuki-page .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.is-syuki-page .site-header .logo-en {
  color: var(--color-black);
}

.is-syuki-page .site-header .logo-ja {
  color: rgba(0, 0, 0, 0.45);
}

.is-syuki-page .global-nav a {
  color: rgba(0, 0, 0, 0.7);
}

.is-syuki-page .header-sns a {
  color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1200px) {
  .is-syuki-page .site-header {
    background: rgba(255, 255, 255, 0.88);
  }

  .is-syuki-page .nav-toggle span {
    background: var(--color-black);
  }
}

@media (max-width: 1200px) {
  .syuki-hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .syuki-hero-right {
    align-items: flex-start;
  }

  .syuki-hero-caption {
    text-align: left;
  }

  .syuki-hero-sublabel {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .syuki-hl-line {
    font-size: 52px;
    padding: 4px 10px 6px;
  }

  .syuki-hero {
    padding: 80px 20px 32px;
  }

  .syuki-list {
    padding: 0 20px;
  }
}

.syuki-hero-top {
  display: none;
}