/*
Theme Name: Takurami Dept.
Theme URI: https://takurami-dept.com/
Author: Takurami Dept. Inc.
Author URI: https://takurami-dept.com/
Description: 株式会社タクラミデパート公式テーマ。映像／SNS／自社ブランドの3つのフロアを構造化した、6色 × 墨 × クリームのポップな百貨店レイアウト。ACFによるテキスト編集対応版＋ホバーインタラクション拡張。
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: takurami
Tags: business, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   タクラミデパート公式テーマ
   Pococha風6色 × 墨 × クリーム
   ============================================ */

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

:root {
  --ink: #1A1A1A;             /* 墨 */
  --paper: #FAF6EF;           /* クリーム */
  --paper-2: #F2EBDD;         /* 一段濃いクリーム */

  /* タクラミ6色（Pochocha風ポップトーン） */
  --c-red:    #FF3B3B;
  --c-yellow: #FFD43D;
  --c-blue:   #1FB6E6;
  --c-green:  #5BCB52;
  --c-purple: #B85FE3;
  --c-pink:   #FF5BAA;

  /* メインアクセント（HP内ではローテーションで使い分け） */
  --azuki: #FF3B3B;           /* メインアクセント＝レッド */
  --azuki-deep: #D62828;
  --gold: #FFD43D;            /* サブアクセント＝イエロー */
  --gold-soft: #FFE89B;
  --mute: #6B6660;
  --line: rgba(26,26,26,0.12);

  --serif: 'Shippori Mincho','Noto Serif JP', serif;
  --gothic: 'Zen Kaku Gothic New','Noto Sans JP', sans-serif;
  --en: 'Marcellus','Playfair Display', serif;
  --en-sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--gothic);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ============== WordPress基本オーバーライド ============== */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}
.alignleft  { float: left; margin: 5px 20px 20px 0; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.aligncenter { display: block; margin: 5px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--mute); margin-top: 8px; }

/* ============== Navigation ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,246,239,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s ease;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.nav-logo .en {
  display: block;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mute);
  margin-top: 2px;
  font-weight: 400;
}
.nav-menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-menu li { list-style: none; }
.nav-menu a {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  display: inline-block;
}
.nav-menu a::after {
  content:""; position: absolute; left:0; bottom:0;
  width: 0; height: 1px; background: var(--azuki);
  transition: width .4s ease;
}
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu a.is-current::after { width: 100%; }
.nav-cta {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.24em;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all .35s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 48px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,212,61,0.30) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -120px; left: 30%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(31,182,230,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--azuki);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before {
  content:""; width: 36px; height: 1px; background: var(--azuki);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 168px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  color: var(--ink);
  position: relative;
  perspective: 1200px;
}
.hero-title .c1 { color: var(--c-red); }
.hero-title .c2 { color: var(--c-blue); }
.hero-title .c3 { color: var(--c-green); }
.hero-title .dot { color: var(--c-yellow); }
.hero-lede {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.1;
  color: var(--ink);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex; gap: 28px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--mute);
}
.hero-meta span strong { color: var(--azuki); font-weight: 400; }

.hero-visual {
  position: relative;
  height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.hv-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-2);
}
.hv-tile .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}
.hv-1 { background: linear-gradient(135deg, var(--c-red) 0%, var(--c-purple) 100%); grid-row: span 2; }
.hv-2 { background: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-pink) 100%); }
.hv-3 { background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-green) 100%); }
.hv-tile img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.7;
  mix-blend-mode: multiply;
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 48px;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--mute);
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: color .3s ease, transform .3s ease;
}
.scroll-cue:hover {
  color: var(--ink);
  transform: translateY(2px);
}
.scroll-cue::after {
  content:""; width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--mute), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%,100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ============== Section共通 ============== */
section {
  padding: 160px 48px;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 88px;
  align-items: end;
}
.section-num {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--azuki);
}
.section-num::before {
  content:""; display:block;
  width: 60px; height: 1px; background: var(--azuki);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.section-title .accent { color: var(--azuki); }

/* ============== ABOUT ============== */
.about {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.about-body {
  max-width: 880px;
  margin-left: 260px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 2.2;
  color: var(--ink);
}
.about-body p + p { margin-top: 1.6em; }
.about-body strong {
  font-weight: 700;
  color: var(--azuki);
  background: linear-gradient(transparent 65%, rgba(255,212,61,0.45) 65%);
  padding: 0 2px;
}

/* HOMEのABOUT抜粋用「MORE」リンク */
.about-more {
  margin-top: 40px;
  margin-left: 260px;
}
.more-link {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  transition: color .3s ease, border-color .3s ease, gap .3s ease;
}
.more-link::after {
  content: " →";
  display: inline-block;
  transition: transform .3s ease;
}
.more-link:hover { color: var(--azuki); border-color: var(--azuki); }
.more-link:hover::after { transform: translateX(6px); }

/* ============== MVV ============== */
.mvv {
  background: var(--ink);
  color: var(--paper);
}
.mvv .section-num { color: var(--gold); }
.mvv .section-num::before { background: var(--gold); }
.mvv .section-title { color: var(--paper); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(250,246,239,0.18);
}
.mvv-card {
  padding: 56px 40px 64px;
  border-right: 1px solid rgba(250,246,239,0.18);
  border-bottom: 1px solid rgba(250,246,239,0.18);
  position: relative;
}
.mvv-card:last-child { border-right: none; }
.mvv-card:nth-child(1) .mvv-label { color: var(--c-red); }
.mvv-card:nth-child(2) .mvv-label { color: var(--c-blue); }
.mvv-card:nth-child(3) .mvv-label { color: var(--c-yellow); }
.mvv-card::after {
  content:""; position: absolute; top:0; left: 40px; right: 40px;
  height: 3px;
}
.mvv-card:nth-child(1)::after { background: var(--c-red); }
.mvv-card:nth-child(2)::after { background: var(--c-blue); }
.mvv-card:nth-child(3)::after { background: var(--c-yellow); }
.mvv-label {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
}
.mvv-headline {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.mvv-body {
  font-size: 14px;
  line-height: 2;
  color: rgba(250,246,239,0.75);
}
.mvv-card .note {
  margin-top: 20px;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  opacity: 0.7;
}

/* ============== FLOORS (Services) ============== */
.floors {
  background: var(--paper-2);
}
.floor {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.floor:last-child { border-bottom: 1px solid var(--line); }
.floor-text { padding-left: 40px; }
.floor-num {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--azuki);
  margin-bottom: 12px;
}
.floor:nth-of-type(1) .floor-num { color: var(--c-red); }
.floor:nth-of-type(2) .floor-num { color: var(--c-blue); }
.floor:nth-of-type(3) .floor-num { color: var(--c-green); }
.floor-jp {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.floor-en {
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--mute);
  margin-bottom: 24px;
}
.floor-desc {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 28px;
  color: var(--ink);
}
.floor-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.floor-tags span {
  font-family: var(--en-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
}
.floor-visual {
  height: 460px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.floor-visual .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.92);
  z-index: 2;
  text-align: center;
  padding: 16px;
}
.floor-visual::after {
  content:""; position: absolute; inset:0;
  background: linear-gradient(135deg, rgba(26,26,26,0.15), rgba(26,26,26,0.45));
}
.fv-1 { background: linear-gradient(135deg, var(--c-red), var(--c-yellow)); }
.fv-2 { background: linear-gradient(135deg, var(--c-blue), var(--c-pink)); }
.fv-3 { background: linear-gradient(135deg, var(--c-green), var(--c-purple)); }
.floor-visual img { width:100%; height:100%; object-fit: cover; }
.floor.coming .floor-visual::before {
  content:"COMING SOON";
  position: absolute; z-index: 3;
  top: 24px; left: 24px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.4em;
  padding: 8px 16px;
  background: var(--paper);
  color: var(--ink);
}

/* ============== HOMEのSERVICES概要（コンパクト3カラム） ============== */
.floors-teaser {
  background: var(--paper-2);
}
.floors-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.teaser-card {
  background: var(--paper);
  padding: 40px 32px 36px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, color .35s ease;
  display: flex;
  flex-direction: column;
}
.teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(26,26,26,0.15);
}
.teaser-card:nth-child(1) { border-top: 4px solid var(--c-red); }
.teaser-card:nth-child(2) { border-top: 4px solid var(--c-blue); }
.teaser-card:nth-child(3) { border-top: 4px solid var(--c-green); }
.teaser-card:nth-child(1) .teaser-num { color: var(--c-red); }
.teaser-card:nth-child(2) .teaser-num { color: var(--c-blue); }
.teaser-card:nth-child(3) .teaser-num { color: var(--c-green); }
.teaser-num {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.36em;
  margin-bottom: 16px;
}
.teaser-jp {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  line-height: 1.3;
}
.teaser-en {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--mute);
  margin-bottom: 20px;
}
.teaser-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 24px;
  flex-grow: 1;
}
.teaser-card .teaser-cta {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: color .3s ease, border-color .3s ease;
}
.teaser-coming {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--en);
  font-size: 9px;
  letter-spacing: 0.32em;
  background: var(--c-green);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============== WORKS ============== */
.works { background: var(--paper); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  cursor: pointer;
  transition: transform .5s ease;
}
.work-card:hover { transform: translateY(-6px); }
.work-thumb {
  aspect-ratio: 4/5;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.work-thumb .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.92);
  z-index: 2;
  text-align: center;
  padding: 16px;
}
.work-thumb::after {
  content:""; position: absolute; inset:0;
  background: linear-gradient(180deg, rgba(26,26,26,0.1) 0%, rgba(26,26,26,0.55) 100%);
  transition: opacity .4s ease;
  z-index: 1;
}
.work-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.work-card:hover .work-thumb::after { opacity: 0.7; }
.wt-1 { background: linear-gradient(135deg, var(--c-red) 0%, var(--c-pink) 100%); }
.wt-2 { background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%); }
.wt-3 { background: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-green) 100%); }
.work-category {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--azuki);
  margin-bottom: 6px;
}
.work-card:nth-child(1) .work-category { color: var(--c-pink); }
.work-card:nth-child(2) .work-category { color: var(--c-purple); }
.work-card:nth-child(3) .work-category { color: var(--c-yellow); }
.work-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.work-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.7;
}

/* ============== WHY ============== */
.why { background: var(--paper-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.why-card {
  padding: 48px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(26,26,26,0.15);
}
.why-num {
  font-family: var(--en);
  font-size: 64px;
  font-weight: 400;
  color: var(--azuki);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.why-card:nth-child(1) .why-num { color: var(--c-green); }
.why-card:nth-child(2) .why-num { color: var(--c-purple); }
.why-card:nth-child(3) .why-num { color: var(--c-pink); }
.why-card:nth-child(1) { border-top: 4px solid var(--c-green); }
.why-card:nth-child(2) { border-top: 4px solid var(--c-purple); }
.why-card:nth-child(3) { border-top: 4px solid var(--c-pink); }
.why-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.why-body {
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
}

/* ============== MESSAGE ============== */
.message {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}
.message::before {
  content: "";
  position: absolute;
  top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,212,61,0.18), transparent 65%);
}
.message .section-num { color: var(--gold); }
.message .section-num::before { background: var(--gold); }
.message .section-title { color: var(--paper); }
.message-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.ceo-portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #2a2520, #1A1A1A);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ceo-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ceo-portrait .placeholder {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-align: center;
}
.ceo-portrait .placeholder::before {
  content:"";
  display: block;
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 16px;
}
.message-text {
  position: relative;
  z-index: 2;
}
.message-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}
.message-headline .accent {
  color: var(--gold);
}
.message-paragraph {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.2;
  color: rgba(250,246,239,0.85);
  margin-bottom: 1.4em;
}
.message-paragraph strong { color: var(--gold); font-weight: 700; }
.message-sign {
  margin-top: 40px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
}
.message-sign strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* ============== COMPANY ============== */
.company { background: var(--paper); }
.company-table {
  border-top: 1px solid var(--ink);
  max-width: 880px;
  margin-left: 260px;
}
.company-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.company-key {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--azuki);
}
.company-val {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
}
.company-val small {
  display: block;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--mute);
  margin-top: 4px;
}

/* ============== CONTACT ============== */
.contact {
  background: var(--paper-2);
  text-align: left;
}
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-eyebrow {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--azuki);
  margin-bottom: 24px;
}
.contact-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.contact-title .accent { color: var(--azuki); }
.contact-lede {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 56px;
}
.contact-form {
  text-align: left;
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mute);
}
.field input, .field textarea, .field select {
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 10px 0;
  font-family: var(--gothic);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .3s ease;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--azuki); }
.field textarea { min-height: 120px; resize: vertical; }
.submit-btn,
.contact-form input[type="submit"],
.wpcf7-submit {
  align-self: center;
  margin: 0 auto;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.32em;
  padding: 18px 56px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all .35s ease;
  display: inline-block;
}
.submit-btn:hover,
.contact-form input[type="submit"]:hover,
.wpcf7-submit:hover { background: var(--azuki); }

/* Contact Form 7 微調整 */
.wpcf7 { text-align: left; }
.wpcf7 form > p { margin-bottom: 20px; }
.wpcf7-spinner { display: inline-block; vertical-align: middle; }
.wpcf7-not-valid-tip { color: var(--azuki); font-size: 12px; margin-top: 4px; }
.wpcf7-response-output {
  margin-top: 24px !important;
  padding: 12px 16px !important;
  border: 1px solid var(--line) !important;
  font-size: 13px;
}

/* CONTACT直接表示用（フォーム導入前のフォールバック） */
.contact-direct {
  margin-top: 40px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.contact-direct-label {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mute);
  margin-bottom: 10px;
}
.contact-direct-mail {
  font-family: var(--en);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.contact-direct-mail:hover { color: var(--azuki); }

/* ============== ページヘッド（下層ページ共通） ============== */
.page-hero {
  padding: 200px 48px 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,212,61,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--azuki);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero-eyebrow::before {
  content:""; width: 36px; height: 1px; background: var(--azuki);
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero-title .accent { color: var(--azuki); }
.page-hero-lede {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
  max-width: 560px;
}

/* ============== FOOTER ============== */
.site-footer,
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 48px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.footer-brand .en {
  display: block;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 8px;
  font-weight: 400;
}
.color-dots {
  display: flex; gap: 8px; margin-top: 20px;
}
.color-dots i {
  width: 12px; height: 12px; border-radius: 50%; display: block;
}
.color-dots i:nth-child(1) { background: var(--c-red); }
.color-dots i:nth-child(2) { background: var(--c-yellow); }
.color-dots i:nth-child(3) { background: var(--c-green); }
.color-dots i:nth-child(4) { background: var(--c-blue); }
.color-dots i:nth-child(5) { background: var(--c-purple); }
.color-dots i:nth-child(6) { background: var(--c-pink); }
.footer-lede {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
  color: rgba(250,246,239,0.65);
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li {
  font-family: var(--en-sans);
  font-size: 13px;
  color: rgba(250,246,239,0.7);
  margin-bottom: 12px;
  transition: color .3s ease;
}
.footer-col li a { display: inline-block; transition: color .3s ease; }
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,239,0.15);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: rgba(250,246,239,0.5);
}

/* ============== Animations ============== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== 404 ============== */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 48px 120px;
  text-align: center;
}
.error-404-num {
  font-family: var(--en);
  font-size: clamp(120px, 22vw, 280px);
  line-height: 1;
  color: var(--azuki);
  margin-bottom: 24px;
}
.error-404 h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.error-404 p {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--mute);
  margin-bottom: 40px;
  line-height: 2;
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 120px 28px 60px; }
  .hero-visual { height: 420px; }
  .nav { padding: 16px 24px; }
  .nav-menu { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 11px; }
  section { padding: 100px 28px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; }
  .about-body, .company-table { margin-left: 0; }
  .about-more { margin-left: 0; }
  .mvv-grid { grid-template-columns: 1fr; }
  .mvv-card { border-right: none; }
  .floor { grid-template-columns: 1fr; gap: 32px; }
  .floor-text { padding-left: 0; }
  .floor-visual { height: 320px; }
  .floors-teaser-grid, .works-grid, .why-grid { grid-template-columns: 1fr; }
  .message-body { grid-template-columns: 1fr; gap: 40px; }
  .ceo-portrait { max-width: 240px; }
  .company-row { grid-template-columns: 120px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 28px 60px; }
  .scroll-cue { left: 28px; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 72px; }
  .floor-jp { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .mvv-card { padding: 40px 28px 48px; }
  .why-card { padding: 36px 24px; }
}

/* ============================================
   モーション拡張 (v1.1.0)
   ============================================ */

/* --- Motion 1: HERO「タクラめ。」各文字の時間差せり上がり (.hero に .visible が付くたび再生) --- */
.hero-title .hc {
  display: inline-block;
  opacity: 0;
  transform: translateY(48px) rotateX(-30deg);
  transform-origin: top center;
  transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition-delay: calc(0.15s + var(--hc-i, 0) * 0.12s);
}
.hero.visible .hero-title .hc {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* --- HEROのSCROLL ↓ 行内リンクとして機能化 --- */
.hero-scroll-link {
  font-family: var(--en);
  text-decoration: none;
  color: var(--mute);
  letter-spacing: 0.28em;
  transition: color .3s ease, transform .3s ease;
  display: inline-flex; align-items: center; gap: 4px;
}
.hero-scroll-link:hover {
  color: var(--c-red);
  transform: translateY(2px);
}
.hero-scroll-link strong { color: var(--c-red); font-weight: 400; }

/* --- Motion 2: カード群のスタッガー登場 --- */
/* スタッガー対象コンテナ: コンテナ自体に .visible が付くと子が時間差で登場 */
.stagger-children > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.36s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.48s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.60s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.72s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.84s; }

/* スタッガー親に入っている子は、個別の.fade-inの初期スタイルを上書きしない */
.stagger-children > *.fade-in {
  opacity: 0;
  transform: translateY(28px);
}
.stagger-children.visible > *.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* --- Motion 3: 6色フッタードットの呼吸アニメ --- */
.color-dots i {
  animation: dotBreath 4s ease-in-out infinite;
  transform-origin: center;
}
.color-dots i:nth-child(1) { animation-delay: 0s; }
.color-dots i:nth-child(2) { animation-delay: 0.4s; }
.color-dots i:nth-child(3) { animation-delay: 0.8s; }
.color-dots i:nth-child(4) { animation-delay: 1.2s; }
.color-dots i:nth-child(5) { animation-delay: 1.6s; }
.color-dots i:nth-child(6) { animation-delay: 2.0s; }
@keyframes dotBreath {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

/* --- Motion 4: nav-cta 常時パルス --- */
.nav-cta {
  position: relative;
  animation: ctaPulse 2.8s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); }
}
.nav-cta:hover {
  animation-play-state: paused;
}

/* --- prefers-reduced-motion 対応：すべて無効化 --- */
@media (prefers-reduced-motion: reduce) {
  .hero-title .hc,
  .hero.visible .hero-title .hc {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stagger-children > *,
  .stagger-children.visible > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .color-dots i,
  .nav-cta {
    animation: none;
  }
}

/* ============================================
   ホバーインタラクション拡張 (v1.2.0)
   ============================================ */

/* --- 02 SERVICES カード：上辺の色が天井から床へ広がってカード全体を塗りつぶす、文字は白に --- */
.teaser-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  z-index: 0;
  transition: height .55s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}
.teaser-card:nth-child(1)::before { background: var(--c-red); }
.teaser-card:nth-child(2)::before { background: var(--c-blue); }
.teaser-card:nth-child(3)::before { background: var(--c-green); }
.teaser-card:hover::before {
  height: calc(100% + 4px); /* 上の4pxボーダーも覆って継ぎ目をなくす */
  top: -4px;
}
/* カード中身を塗りつぶしの上に */
.teaser-card > * {
  position: relative;
  z-index: 1;
}
/* ホバー時、すべての文字を白に */
.teaser-card:hover .teaser-num,
.teaser-card:hover .teaser-jp,
.teaser-card:hover .teaser-en,
.teaser-card:hover .teaser-desc,
.teaser-card:hover .teaser-cta {
  color: var(--paper);
  border-color: var(--paper);
  transition: color .35s ease .15s, border-color .35s ease .15s;
}
/* COMING SOON バッジは白背景＋墨文字に反転 */
.teaser-card:hover .teaser-coming {
  background: var(--paper);
  color: var(--ink);
  transition: background .35s ease .15s, color .35s ease .15s;
}

/* --- 03 WORKS カード：ホバーで画像ズーム + 同系色の枠 + タイトル色変化 --- */
.work-card {
  transition: transform .55s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.work-card:hover { transform: translateY(-10px); }

.work-thumb > .placeholder,
.work-thumb > img {
  transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.work-card:hover .work-thumb > .placeholder,
.work-card:hover .work-thumb > img {
  transform: scale(1.06);
}
/* 既存の.work-thumb::after は overlay。背景がカラーグラデの placeholder のときも、画像があるときも、両方ズーム */
.work-thumb {
  transition: box-shadow .4s ease;
}
.work-card:hover .work-thumb {
  box-shadow: 0 24px 60px -24px rgba(26,26,26,0.45);
}
/* カラーフレーム(枠) */
.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid transparent;
  z-index: 3;
  pointer-events: none;
  transition: border-width .35s ease, border-color .35s ease;
}
.work-card:nth-child(1):hover .work-thumb::before { border: 4px solid var(--c-pink); }
.work-card:nth-child(2):hover .work-thumb::before { border: 4px solid var(--c-purple); }
.work-card:nth-child(3):hover .work-thumb::before { border: 4px solid var(--c-yellow); }
/* タイトルの色シフト */
.work-title {
  transition: color .35s ease;
}
.work-card:nth-child(1):hover .work-title { color: var(--c-pink); }
.work-card:nth-child(2):hover .work-title { color: var(--c-purple); }
.work-card:nth-child(3):hover .work-title { color: var(--c-yellow); }
/* カテゴリ文字も少し動かす */
.work-category {
  transition: letter-spacing .35s ease;
}
.work-card:hover .work-category { letter-spacing: 0.48em; }
