@charset "UTF-8";

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

:root {
  --c-navy: #3e3a39; /* メインカラー（テキスト・ボタン・暗い背景） */
  --c-navy-light: #5a5553; /* メインカラーより少し明るめのグレー */
  --c-gray: #efefef; /* サブカラー（セクション背景） */
  --c-gray-dark: #e0e0e0; /* ボーダー等に使う一段暗いグレー */
  --c-text: #3e3a39; /* 基本テキスト色（メインカラーと統一） */
  --c-text-light: #736f69;
  --c-white: #ffffff; /* 背景カラー */
  --c-accent: #b59868; /* アクセントカラー（無垢材系） */
  
  --f-sans: 'Noto Sans JP', sans-serif;
  --f-serif: 'Shippori Mincho', serif;
  --f-en: 'Outfit', sans-serif;
  
  --radius: 2px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html { scroll-behavior: smooth; }

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

img { width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* 画像トーン統一フィルター（Japandiテイスト） */
.card-img img,
.split-img img,
.svc-img img,
.fb-img img,
.wd-img img,
.plan-left img,
.reveal-img,
.hero-slide,
.page-hero-bg {
  filter: sepia(20%) saturate(85%) contrast(95%) brightness(95%);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.card-work:hover .card-img img {
  filter: sepia(10%) saturate(100%) contrast(100%) brightness(100%);
}

/* ==========================================================
   UTILITY CLASSES
========================================================== */
.sec-pad { padding: 120px 0; }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.bg-light { background-color: var(--c-gray); }
.bg-navy { background-color: var(--c-navy); color: var(--c-white); }
.text-center { text-align: center; }
.text-white { color: var(--c-white) !important; }
.pl-1 { padding-left: 1rem; }

@media (max-width: 768px) {
  body { line-height: 2.0; font-size: 14.5px; } /* Improved reading experience on mobile */
  .sec-pad { padding: 80px 0; }
  .inner { padding: 0 24px; }
  .pc-only { display: none !important; }
}
@media (min-width: 769px) {
  .sp-only { display: none !important; }
}

/* ==========================================================
   TYPOGRAPHY & SECTIONS
========================================================== */
.sec-head { margin-bottom: 60px; }
.sec-lbl {
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--c-navy-light);
  display: block;
  margin-bottom: 12px;
}
.bg-navy .sec-lbl { color: var(--c-white); opacity: 0.6; }

.sec-ttl {
  font-family: var(--f-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 24px;
}

/* Scroll Animation classes */
.has-anim { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.has-anim.is-visible { opacity: 1; transform: translateY(0); }

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Reveal Image Animation (Mask effect) */
.reveal-wrap { position: relative; overflow: hidden; display: block; }
.reveal-img { opacity: 0; transform: scale(1.05); transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal-ov { position: absolute; inset: 0; background-color: var(--c-navy); z-index: 2; transform: scaleY(1); transform-origin: top; }
.has-anim.is-visible .reveal-ov { animation: revealMask 1s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
.has-anim.is-visible .reveal-img { opacity: 1; transform: scale(1); transition-delay: 0.2s; }

@keyframes revealMask {
  0% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================
   HEADER
========================================================== */
.hd {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 24px 40px; z-index: 1000;
  transition: var(--transition);
}
.hd-in {
  display: flex; justify-content: space-between; align-items: center;
}
.hd-logo {
  display: flex; flex-direction: column; color: var(--c-white);
  transition: var(--transition);
}
.logo-en { font-family: var(--f-en); font-size: 20px; font-weight: 600; letter-spacing: 0.15em; line-height: 1.2; }
.logo-ja { font-size: 10px; letter-spacing: 0.1em; opacity: 0.8; }

.hd-nav { display: flex; align-items: center; gap: 40px; }
.hd-nav a:not(.btn-primary-sm) {
  font-family: var(--f-en); font-size: 14px; letter-spacing: 0.1em; color: var(--c-white);
}
.hd-nav a:hover:not(.btn-primary-sm) { opacity: 0.7; }

.btn-primary-sm {
  background: var(--c-white); color: var(--c-navy);
  padding: 14px 40px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.btn-primary-sm:hover { background: var(--c-accent); color: var(--c-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

/* Sticky Header State (could trigger via JS, simulating for now) */
.hd.is-scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 4px 20px rgba(0,0,0,0.05); padding: 16px 40px; backdrop-filter: blur(10px); }
.hd.is-scrolled .hd-logo { color: var(--c-navy); }
.hd.is-scrolled .hd-nav a:not(.btn-primary-sm) { color: var(--c-navy); }
.hd.is-scrolled .btn-primary-sm { background: var(--c-navy); color: var(--c-white); }

/* Mobile Menu Button */
.hd-menu { width: 40px; height: 40px; position: relative; cursor: pointer; z-index: 1001; }
.hd-menu span { position: absolute; width: 24px; height: 1px; background: var(--c-white); left: 8px; transition: all 0.4s ease; }
.hd-menu span:nth-child(1) { top: 12px; }
.hd-menu span:nth-child(2) { top: 20px; width: 16px; left: 16px; }
.hd-menu span:nth-child(3) { top: 28px; }

.hd-menu.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); width: 24px; left: 8px; background: var(--c-navy); }
.hd-menu.is-open span:nth-child(2) { opacity: 0; }
.hd-menu.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); background: var(--c-navy); }

@media (max-width: 768px) {
  .hd-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--c-white); flex-direction: column; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1000;
  }
  .hd-nav.is-open { opacity: 1; visibility: visible; }
  .hd-nav a:not(.btn-primary-sm) { color: var(--c-text); font-size: 24px; }
  .hd.is-scrolled .hd-menu span { background: var(--c-navy); }
}

/* ==========================================================
   SUBPAGE COMMON
========================================================== */
.page-hero {
  position: relative; height: 50vh; min-height: 300px; width: 100%; 
  background-color: var(--c-gray-dark); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.page-hero-tx { position: relative; z-index: 10; text-align: center; color: var(--c-white); }
.page-hero-tx h1 { font-family: var(--f-en); font-size: 36px; letter-spacing: 0.15em; margin-bottom: 10px; }
.page-hero-tx p { font-size: 13px; letter-spacing: 0.1em; opacity: 0.8; }
.page-wrap { padding: 80px 0; background: var(--c-white); }

/* ==========================================================
   HERO
========================================================== */
.hero { position: relative; height: 100vh; width: 100%; overflow: hidden; background: var(--c-gray-dark); }
.hero-bg { position: absolute; inset: 0; background: var(--c-gray-dark); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroSlider 18s infinite; }
.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 6s; }
.slide-3 { animation-delay: 12s; }

.hero-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(62,58,57,0.5) 0%, transparent 20%, transparent 80%, rgba(62,58,57,0.7) 100%); }

.hero-tx { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #faf8f5; z-index: 10; text-align: center; width: 100%; padding: 0 20px; }
.hero-catch { font-family: var(--f-serif); font-size: clamp(26px, 4vw, 48px); font-weight: 400; letter-spacing: 0.2em; line-height: 1.8; margin-bottom: 24px; text-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 2px 5px rgba(0,0,0,0.4); }
.hero-sub { font-family: var(--f-en); font-size: 13px; letter-spacing: 0.4em; opacity: 0.9; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-en); font-size: 11px; letter-spacing: 0.2em; color: var(--c-white);
  display: flex; flex-direction: column; align-items: center; gap: 15px; opacity: 0.6;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px; background: var(--c-white);
  animation: scrollDown 2s infinite ease-in-out;
}

/* Hero News (Floating Glass Bar) */
.hero-news {
  position: absolute; bottom: 40px; right: 40px;
  background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; gap: 20px; padding: 20px 30px;
  color: var(--c-white); z-index: 10; transition: var(--transition);
}
.hero-news:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-3px); }
.hn-date { font-family: var(--f-en); font-size: 14px; letter-spacing: 0.1em; }
.hn-cat { font-family: var(--f-en); font-size: 10px; font-weight: 600; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.4); border-radius: 2px; }
.hn-ttl { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; margin-right: 10px; }
.hn-arrow { transition: transform 0.4s ease; }
.hero-news:hover .hn-arrow { transform: translateX(5px); }

@media (max-width: 900px) {
  .hero-news {
    bottom: 20px; right: 20px; left: 20px; padding: 16px;
    flex-wrap: wrap; gap: 10px 15px; text-align: left;
  }
  .hn-ttl { width: 100%; margin-right: 0; font-size: 12px; }
  .hn-arrow { display: none; }
}

@keyframes heroSlider {
  0% { opacity: 0; transform: scale(1.05); }
  5% { opacity: 1; transform: scale(1.04); }
  33% { opacity: 1; transform: scale(1); }
  38% { opacity: 0; transform: scale(0.99); }
  100% { opacity: 0; transform: scale(0.99); }
}

@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================
   CONCEPT
========================================================== */
.sec-concept { background: var(--c-white); }
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.split-tx h2 { font-size: 30px; margin-bottom: 40px; }
.sec-desc p { font-size: 15px; margin-bottom: 24px; color: var(--c-text-light); text-align: justify; }

.split-img { position: relative; }
.split-img::before {
  content: ''; position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 1px solid var(--c-gray-dark); z-index: -1;
}
.split-img img { object-fit: cover; }

@media (max-width: 900px) {
  .layout-split { grid-template-columns: 1fr; gap: 60px; }
  .split-tx.has-anim { transition-delay: 0s; }
}

/* ==========================================================
   WORKS
========================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }

.card-work { display: block; background: var(--c-white); border: 1px solid var(--c-gray-dark); overflow: hidden; transition: var(--transition); border-radius: var(--radius); }
.card-work:hover { border-color: transparent; transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); }
.card-img { overflow: hidden; aspect-ratio: 4/3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.card-work:hover .card-img img { transform: scale(1.05); }

.card-tx { padding: 24px; }
.card-tx h3 { font-family: var(--f-serif); font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.card-tx p { font-size: 12px; color: var(--c-text-light); letter-spacing: 0.1em; }

.btn-wrap { text-align: center; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  padding: 16px 60px; border: 1px solid var(--c-navy); color: var(--c-navy);
  font-family: var(--f-en); font-size: 13px; letter-spacing: 0.1em; border-radius: 0; background: transparent;
  transition: color 0.4s ease; z-index: 1;
}
.btn-outline::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
  background: var(--c-navy); transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: -1;
}
.btn-outline:hover { color: var(--c-white); }
.btn-outline:hover::before { width: 100%; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; gap: 30px; }
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 60px; }
.pagination span, .pagination a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--f-en); font-size: 14px; text-decoration: none; transition: var(--transition); }
.page-current { background: var(--c-navy); color: var(--c-white); }
.page-link { border: 1px solid var(--c-gray-dark); color: var(--c-text); }
.page-link:hover { background: var(--c-gray); color: var(--c-navy); }

/* ==========================================================
   PLAN (Services)
========================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.card-service { background: var(--c-white); border: 1px solid var(--c-gray-dark); transition: border-color 0.4s ease; }
.card-service:hover { border-color: var(--c-navy); }

.svc-img { aspect-ratio: 16/9; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }

.svc-tx { padding: 40px; }
.svc-ttl { font-family: var(--f-serif); font-size: 24px; font-weight: 500; margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; }
.svc-ttl span { font-family: var(--f-en); font-size: 12px; color: var(--c-navy-light); opacity: 0.5; }
.svc-tx p { font-size: 14px; color: var(--c-text-light); margin-bottom: 30px; }

.btn-arrow { font-size: 13px; font-weight: 600; color: var(--c-navy); display: inline-flex; align-items: center; gap: 10px; position: relative; }
.btn-arrow::after { content: ''; width: 24px; height: 1px; background: var(--c-navy); transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-arrow:hover::after { width: 40px; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .svc-tx { padding: 30px 20px; }
}

/* ==========================================================
   FLOW
========================================================== */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }

.step { position: relative; z-index: 2; background: rgba(255,255,255,0.02); padding: 30px 20px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); }
.step:hover { background: rgba(255,255,255,0.05); transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.step-head { margin-bottom: 24px; }
.step-num {
  font-family: var(--f-en); font-size: 40px; font-weight: 300; letter-spacing: -0.02em;
  color: var(--c-accent); line-height: 1; margin-bottom: 15px; opacity: 0.8;
}

.step-tx h4 { font-family: var(--f-serif); font-size: 16px; margin-bottom: 12px; color: var(--c-white); font-weight: 500; }
.step-tx p { font-size: 13px; color: rgba(255,255,255,0.6); text-align: justify; line-height: 1.8; }

@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr; gap: 20px; }
  .step { padding: 30px; display: flex; flex-direction: column; }
  .step-head { margin-bottom: 15px; }
}

/* ==========================================================
   CONTACT
========================================================== */
.sec-contact { position: relative; overflow: hidden; }
.contact-desc { font-size: 16px; margin-bottom: 40px; line-height: 2; }

.contact-btns { display: flex; justify-content: center; gap: 30px; }
.btn-line, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden;
  padding: 20px 40px; border-radius: 0; font-weight: 600; font-size: 15px; letter-spacing: 0.1em;
  transition: all 0.4s ease; z-index: 1; border: 1px solid transparent;
}
.btn-line { background: transparent; color: #06c755; border-color: #06c755; }
.btn-line::before { content: ''; position: absolute; inset: 0; width: 0%; background: #06c755; transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: -1; }
.btn-line:hover { color: #fff; border-color: #06c755; box-shadow: 0 10px 20px rgba(6,199,85,0.2); transform: translateY(-3px); }
.btn-line:hover::before { width: 100%; }

.btn-primary { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn-primary::before { content: ''; position: absolute; inset: 0; width: 0%; background: var(--c-navy); transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: -1; }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 20px rgba(62,58,57,0.15); transform: translateY(-3px); }
.btn-primary:hover::before { width: 100%; }

@media (max-width: 768px) {
  .contact-btns { flex-direction: column; gap: 20px; }
  .btn-line, .btn-primary { width: 100%; padding: 16px; }
}

/* ==========================================================
   WORK DETAIL PAGE
========================================================== */
.wd-wrap { background: var(--c-gray); }
.wd-inner { max-width: 900px; background: var(--c-white); padding: 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.02); margin-top: -60px; position: relative; z-index: 20; }
.wd-head { text-align: center; border-bottom: 1px solid var(--c-gray-dark); padding-bottom: 40px; margin-bottom: 40px; }
.wd-ttl { font-family: var(--f-serif); font-size: 28px; margin-bottom: 15px; }
.wd-cat { font-family: var(--f-en); font-size: 13px; color: var(--c-text-light); letter-spacing: 0.1em; }

.wd-spec { margin-bottom: 60px; }
.wd-spec table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wd-spec th, .wd-spec td { padding: 15px 20px; border: 1px solid var(--c-gray-dark); }
.wd-spec th { background: var(--c-gray); width: 20%; font-weight: 500; color: var(--c-navy); }
.wd-spec td { width: 30%; color: var(--c-text-light); }

.wd-story { margin-bottom: 60px; line-height: 2; font-size: 15px; color: var(--c-text); text-align: justify; }
.wd-story p { margin-bottom: 20px; }

.wd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.wd-img { aspect-ratio: 4/3; }
.wd-img img { width: 100%; height: 100%; object-fit: cover; }

/* Voice */
.wd-voice { margin-top: 80px; padding: 40px; background: var(--c-gray); border-radius: var(--radius); }
.wd-voice-ttl { font-family: var(--f-serif); font-size: 20px; text-align: center; margin-bottom: 30px; letter-spacing: 0.1em; color: var(--c-navy); }
.voice-box { display: flex; gap: 40px; align-items: flex-start; }
.voice-img { flex: 0 0 150px; border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.voice-img img { width: 100%; height: 100%; object-fit: cover; }
.voice-tx { flex: 1; }
.voice-tx h4 { font-size: 16px; margin-bottom: 15px; color: var(--c-navy); }
.voice-tx p { font-size: 14px; color: var(--c-text-light); line-height: 1.8; margin-bottom: 15px; text-align: justify; }
.voice-name { display: block; text-align: right; font-size: 12px; font-weight: 500; color: var(--c-navy); }

@media (max-width: 768px) {
  .wd-inner { padding: 30px 20px; margin-top: -30px; }
  .wd-ttl { font-size: 22px; }
  .wd-spec th, .wd-spec td { display: block; width: 100%; }
  .wd-gallery { grid-template-columns: 1fr; }
  
  .wd-voice { padding: 30px 20px; margin-top: 60px; }
  .voice-box { flex-direction: column; align-items: center; gap: 20px; }
  .voice-tx { text-align: center; }
  .voice-tx p { text-align: left; }
}

/* ==========================================================
   FLOW PAGE
========================================================== */
.flow-inner { max-width: 900px; padding-top: 40px; }
.flow-page-wrap { position: relative; padding-bottom: 20px; }
.flow-page-wrap::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--c-navy-light); opacity: 0.2;
}

.flow-box { position: relative; margin-bottom: 80px; }
.fb-num {
  position: absolute; left: 50%; top: -30px; transform: translateX(-50%);
  background: var(--c-gray); padding: 10px 20px; font-family: var(--f-en);
  font-size: 22px; color: var(--c-accent); font-weight: 400; letter-spacing: 0.1em;
  z-index: 10; border-radius: 40px; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.fb-content { display: flex; align-items: center; gap: 50px; background: var(--c-white); box-shadow: 0 10px 40px rgba(0,0,0,0.03); padding: 60px 50px; border-radius: var(--radius); }
.fb-reverse { flex-direction: row-reverse; }

.fb-tx { flex: 1; }
.fb-tx h3 { font-family: var(--f-serif); font-size: 22px; color: var(--c-navy); margin-bottom: 20px; line-height: 1.4; }
.fb-tx p { font-size: 14px; color: var(--c-text-light); line-height: 1.8; text-align: justify; }

.fb-img { flex: 0 0 42%; border-radius: 4px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.fb-img img { object-fit: cover; aspect-ratio: 4/3; }

@media (max-width: 768px) {
  .flow-page-wrap::before { left: 40px; }
  .fb-num { left: 40px; transform: translateX(-50%); top: -20px; font-size: 16px; padding: 5px 15px; }
  .fb-content { flex-direction: column !important; padding: 50px 30px 30px; text-align: left; gap: 30px; }
  .fb-img { width: 100%; flex: auto; }
}

/* ==========================================================
   COMPANY PAGE
========================================================== */
.table-profile { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-profile th, .table-profile td { padding: 24px 20px; border-bottom: 1px solid var(--c-gray-dark); }
.table-profile th { width: 25%; font-weight: 500; text-align: left; background: transparent; color: var(--c-navy); padding-right: 40px; }
.table-profile td { color: var(--c-text-light); line-height: 1.8; }
.table-profile tr:first-child th, .table-profile tr:first-child td { border-top: 2px solid var(--c-navy); }
.table-profile tr:last-child th, .table-profile tr:last-child td { border-bottom: 2px solid var(--c-navy); }

.gmap-wrap { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.gmap-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media (max-width: 768px) {
  .table-profile th, .table-profile td { display: block; width: 100%; padding: 15px 0; }
  .table-profile th { padding-bottom: 5px; border-bottom: none; font-size: 14px; opacity: 0.8; }
  .table-profile td { padding-top: 0; border-bottom: 1px solid var(--c-gray-dark); }
  .table-profile tr:last-child td { border-bottom: 2px solid var(--c-navy); }
  .gmap-wrap { padding-bottom: 75%; }
}

/* ==========================================================
   PLAN PAGE
========================================================== */
.plan-list { display: flex; flex-direction: column; gap: 80px; margin-bottom: 80px; }
.card-plan { display: flex; gap: 50px; background: var(--c-white); padding: 50px; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.plan-left { flex: 0 0 45%; }
.plan-left img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.plan-right { flex: 1; display: flex; flex-direction: column; }
.plan-badge { display: inline-block; padding: 6px 15px; background: var(--c-accent); color: var(--c-white); font-family: var(--f-en); font-size: 13px; letter-spacing: 0.1em; border-radius: 20px; align-self: flex-start; margin-bottom: 15px; }
.plan-head h3 { font-family: var(--f-serif); font-size: 22px; color: var(--c-navy); margin-bottom: 20px; }
.plan-meta { display: flex; gap: 20px; font-size: 13px; color: var(--c-text-light); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--c-gray-dark); }
.plan-desc { font-size: 14px; color: var(--c-text-light); line-height: 1.8; margin-bottom: 30px; text-align: justify; }
.plan-blueprint-wrap { flex: 1; background: #fafafa; border: 1px dashed var(--c-gray-dark); display: flex; align-items: center; justify-content: center; padding: 20px; border-radius: 4px; }
.plan-blueprint-wrap img { max-height: 250px; width: auto; mix-blend-mode: multiply; opacity: 0.8; }

@media (max-width: 900px) {
  .card-plan { flex-direction: column; padding: 30px 20px; gap: 30px; }
  .plan-left, .plan-right { flex: auto; }
  .plan-meta { flex-direction: column; gap: 5px; }
  .plan-blueprint-wrap img { max-height: 200px; }
}

/* ==========================================================
   CONTACT PAGE (Form)
========================================================== */
.form-wrap { background: var(--c-white); padding: 60px; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.form-group { margin-bottom: 30px; }
.form-label { display: block; font-weight: 500; margin-bottom: 15px; color: var(--c-navy); font-size: 15px; }
.req { display: inline-block; background: #c19c67; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 2px; margin-left: 10px; vertical-align: middle; letter-spacing: 0.05em; }
.form-control { width: 100%; border: 1px solid var(--c-gray-dark); background: #fafafa; padding: 16px 20px; font-family: var(--f-sans); font-size: 15px; color: var(--c-text); border-radius: 4px; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--c-navy); background: var(--c-white); box-shadow: 0 0 0 3px rgba(62,58,57,0.1); }
.form-control::placeholder { color: #bbb; }

.radio-wrap { display: flex; gap: 30px; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.radio-label input[type="radio"] { accent-color: var(--c-navy); transform: scale(1.2); }

.pp-wrap { text-align: center; margin-top: 50px; padding-top: 40px; border-top: 1px dashed var(--c-gray-dark); }
.pp-label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.pp-label input[type="checkbox"] { accent-color: var(--c-navy); transform: scale(1.2); }

.btn-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 20px 80px; background: var(--c-navy); color: var(--c-white);
  font-family: var(--f-sans); font-size: 15px; font-weight: 500; letter-spacing: 0.1em;
  border: none; border-radius: 2px; cursor: pointer; transition: var(--transition);
}
.btn-submit:hover { opacity: 0.8; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

@media (max-width: 768px) {
  .form-wrap { padding: 40px 20px; }
  .radio-wrap { flex-direction: column; gap: 15px; }
  .btn-submit { width: 100%; padding: 20px; }
}

/* ==========================================================
   VOICE (お客様の声)
========================================================== */
.sec-voice { padding: 100px 0; background: var(--c-light); }
.card-voice {
  display: flex; gap: 40px; background: var(--c-white); padding: 50px;
  border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,0.03); align-items: center;
}
.voice-img { flex: 0 0 40%; }
.voice-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.voice-tx { flex: 1; }
.voice-catch { font-family: var(--f-serif); font-size: 20px; line-height: 1.6; color: var(--c-navy); margin-bottom: 20px; font-weight: 500; }
.voice-desc { font-size: 14px; color: var(--c-text-light); line-height: 2; margin-bottom: 20px; text-align: justify; }
.voice-name { font-size: 13px; font-weight: 600; color: var(--c-navy); text-align: right; }

@media (max-width: 768px) {
  .card-voice { flex-direction: column; padding: 30px; gap: 20px; }
  .voice-catch { font-size: 18px; }
}

/* ==========================================================
   FAQ (よくあるご質問)
========================================================== */
.sec-faq { padding: 100px 0; background: var(--c-white); }
.faq-wrap { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item {
  background: var(--c-light); border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.03); overflow: hidden;
}
.faq-item details { width: 100%; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 25px 30px; font-size: 15px; font-weight: 500; color: var(--c-navy);
  cursor: pointer; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative; width: 14px; height: 14px; flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--c-navy); transition: transform 0.3s ease;
}
.faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item details[open] summary .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-ans {
  padding: 0 30px 25px; font-size: 14px; color: var(--c-text-light); line-height: 1.8;
  border-top: 1px dashed rgba(0,0,0,0.08); margin-top: 5px; padding-top: 20px;
}

@media (max-width: 768px) {
  .faq-item summary { padding: 20px; font-size: 14px; }
  .faq-ans { padding: 0 20px 20px; font-size: 13px; }
}

/* ==========================================================
   FOOTER
========================================================== */
.ft { background: var(--c-gray); color: var(--c-text); padding: 80px 0 20px; }
.ft-in { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--c-gray-dark); padding-bottom: 60px; margin-bottom: 30px; }
.ft-left h2 { font-size: 20px; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 500; font-family: var(--f-serif); }
.ft-left p { font-size: 13px; color: var(--c-text-light); line-height: 2; }
.ft-right { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 40px; }
.ft-right a { font-size: 13px; color: var(--c-text-light); transition: var(--transition); }
.ft-right a:hover { color: var(--c-navy); }
.ft-copy { text-align: center; font-family: var(--f-en); font-size: 11px; color: var(--c-text-light); letter-spacing: 0.1em; }

@media (max-width: 768px) {
  .ft-in { flex-direction: column; gap: 40px; padding: 0 24px 40px; }
  .ft-right { grid-template-columns: 1fr; }
}

/* ==========================================================
   PAGE TOP (Scroll to top)
========================================================== */
.pagetop {
  position: fixed; right: 30px; bottom: 30px; z-index: 99;
  width: 50px; height: 50px; background: var(--c-navy); color: var(--c-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer; text-decoration: none;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.pagetop:hover { background: var(--c-accent); transform: translateY(-3px) scale(1.05); }

@media (max-width: 768px) {
  .pagetop { right: 20px; bottom: 20px; width: 44px; height: 44px; font-size: 16px; }
}
