/**
 * Theme Name: Passie
 * Theme URI: https://passie.co.jp/
 * Author: Passie106
 * Description: 株式会社Passie オリジナルWordPressテーマ
 * Version: 1.8
 * License: GNU General Public License v2 or later
 */
/* ========================================================
   RESET & BASE
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --clr-bg: #fafaf7;
  --clr-ink: #1a1a18;
  --clr-mid: #6b6b66;
  --clr-light: #d8d8d2;
  --clr-accent: #b8472d;
  --clr-accent-pale: #f4ede9;
  --ff-ja: 'Shippori Mincho', 'Noto Serif JP', serif;
  --ff-en: 'Fraunces', 'Georgia', serif;
  --ff-body: 'Noto Sans JP', sans-serif;
  --max-w: 1100px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--clr-bg); color: var(--clr-ink); font-family: var(--ff-body); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-ja); line-height: 1.35; font-weight: 500; }
.container { width: min(var(--max-w), 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section-label { display: block; font-family: var(--ff-en); font-style: italic; font-size: 0.75rem; letter-spacing: 0.25em; color: var(--clr-accent); text-transform: uppercase; margin-bottom: 1.25rem; }
.section-heading { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 0.5em; }
.section-lead { color: var(--clr-mid); max-width: 36em; margin-bottom: 4rem; line-height: 2; }
/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; background: rgba(250,250,247,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--clr-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: calc(var(--max-w) + 6rem); margin-inline: auto; padding-inline: 2.5rem; }
.site-logo { font-family: var(--ff-en); font-style: italic; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--clr-ink); }
.global-nav { display: flex; gap: 2.5rem; align-items: center; }
.global-nav a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-mid); transition: color 0.25s; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.global-nav a:hover, .global-nav a.current-page { color: var(--clr-ink); border-bottom-color: var(--clr-ink); }
.nav-contact-btn { display: inline-block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-bg) !important; background: var(--clr-ink); padding: 0.55em 1.5em; border-radius: 2px; border-bottom: none !important; }
.nav-contact-btn:hover { background: var(--clr-accent) !important; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 110; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 28px; height: 1.5px; background: var(--clr-ink); transition: all 0.35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--clr-bg); z-index: 105; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--ff-ja); font-size: 1.5rem; letter-spacing: 0.1em; color: var(--clr-ink); }
/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding-bottom: clamp(4rem,10vw,7rem); overflow: hidden; background: var(--clr-ink); }
.hero-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--ff-en); font-style: italic; font-size: clamp(6rem,18vw,20rem); color: rgba(255,255,255,0.04); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-content { position: relative; z-index: 2; color: var(--clr-bg); max-width: calc(var(--max-w)+6rem); margin-inline: auto; padding-inline: 2.5rem; }
.hero-eyebrow { display: block; font-family: var(--ff-en); font-style: italic; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: 1.5rem; }
.hero-title { font-family: var(--ff-ja); font-size: clamp(2.5rem,6vw,5.5rem); font-weight: 400; line-height: 1.2; margin-bottom: 2.5rem; color: #fafaf7; }
.hero-title em { font-style: normal; color: var(--clr-accent); }
.hero-desc { max-width: 26em; color: rgba(250,250,247,0.65); font-size: 0.95rem; line-height: 2; margin-bottom: 3rem; }
.hero-cta-group { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.btn-primary { display: inline-block; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-ink); background: var(--clr-bg); padding: 0.9em 2.5em; border-radius: 2px; transition: background 0.25s, color 0.25s; }
.btn-primary:hover { background: var(--clr-accent); color: #fff; }
.btn-outline { display: inline-block; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(250,250,247,0.75); padding: 0.9em 2.5em; border-radius: 2px; border: 1px solid rgba(250,250,247,0.3); transition: border-color 0.25s,color 0.25s; }
.btn-outline:hover { color: var(--clr-bg); border-color: var(--clr-bg); }
.scroll-hint { position: absolute; bottom: 2.5rem; right: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-family: var(--ff-en); font-style: italic; font-size: 0.7rem; letter-spacing: 0.15em; color: rgba(250,250,247,0.4); }
.scroll-hint::after { content: ''; display: block; width: 1px; height: 40px; background: rgba(250,250,247,0.25); animation: scrollLine 1.8s ease infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}50.01%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom} }
/* PHILOSOPHY */
.philosophy { background: var(--clr-bg); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.philosophy-quote { font-family: var(--ff-ja); font-size: clamp(1rem,2vw,1.25rem); line-height: 1.9; letter-spacing: 0.05em; color: var(--clr-mid); border-left: 2px solid var(--clr-accent); padding-left: 1.5rem; margin: 2rem 0; }
.philosophy-visual { position: relative; aspect-ratio: 4/5; background: var(--clr-ink); border-radius: 2px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.philosophy-visual-inner { font-family: var(--ff-en); font-style: italic; font-size: clamp(4rem,10vw,9rem); color: rgba(255,255,255,0.12); }
/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; margin-top: 4rem; }
.service-card { background: #fff; padding: 3rem 2.5rem; display: flex; flex-direction: column; transition: box-shadow 0.3s var(--ease); }
.service-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.service-card-en { font-family: var(--ff-en); font-style: italic; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.service-card p { font-size: 0.9rem; color: var(--clr-mid); line-height: 2; flex: 1; margin-bottom: 2rem; }
.service-link { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-ink); display: flex; align-items: center; gap: 0.5rem; transition: gap 0.25s; }
.service-link::after { content: '→'; }
.service-link:hover { gap: 1rem; color: var(--clr-accent); }
/* PAGE HERO */
.page-hero { background: var(--clr-ink); padding-top: calc(var(--nav-h)+5rem); padding-bottom: 5rem; color: var(--clr-bg); overflow: hidden; position: relative; }
.page-hero .hero-bg-text { font-size: clamp(5rem,14vw,16rem); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero .section-label { color: var(--clr-accent); }
.page-hero h1 { font-family: var(--ff-ja); font-size: clamp(2rem,5vw,4rem); font-weight: 400; margin-bottom: 1rem; color: var(--clr-bg); }
.page-hero p { color: rgba(250,250,247,0.65); max-width: 28em; font-size: 0.95rem; line-height: 2; }
/* ABOUT */
.message-text p { color: var(--clr-mid); line-height: 2.2; margin-bottom: 1.5em; }
.company-table { width: 100%; border-collapse: collapse; margin-top: 3rem; }
.company-table th, .company-table td { padding: 1.25rem 0; border-bottom: 1px solid var(--clr-light); font-size: 0.9rem; vertical-align: top; }
.company-table th { width: 30%; color: var(--clr-mid); font-weight: 400; padding-right: 2rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }
.value-item { padding: 2.5rem; background: #fff; border-top: 2px solid var(--clr-accent); }
.value-num { font-family: var(--ff-en); font-style: italic; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--clr-accent); margin-bottom: 1rem; }
.value-item h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.value-item p { font-size: 0.875rem; color: var(--clr-mid); line-height: 1.9; }
/* SERVICE DETAIL */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; padding: 5rem 0; border-top: 1px solid var(--clr-light); }
.service-block:first-child { border-top: none; padding-top: 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block h2 { font-size: clamp(1.35rem,2.5vw,1.75rem); margin-bottom: 1.25rem; }
.service-block p { color: var(--clr-mid); line-height: 2; font-size: 0.9rem; margin-bottom: 1.5rem; }
.feature-list { margin-top: 1.5rem; counter-reset: li; }
.feature-list li { display: flex; align-items: baseline; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--clr-light); font-size: 0.875rem; color: var(--clr-mid); }
.feature-list li::before { content: counter(li, decimal-leading-zero); counter-increment: li; font-family: var(--ff-en); font-style: italic; font-size: 0.7rem; color: var(--clr-accent); flex-shrink: 0; }
.service-block-visual { background: var(--clr-ink); border-radius: 2px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-block-visual span { font-family: var(--ff-en); font-style: italic; font-size: clamp(3rem,8vw,7rem); color: rgba(255,255,255,0.06); }
.info-box { background: var(--clr-accent-pale); border-left: 3px solid var(--clr-accent); padding: 2rem 2.5rem; margin-top: 4rem; }
.info-box h3 { font-size: 1rem; margin-bottom: 1rem; }
.info-box p { font-size: 0.875rem; color: var(--clr-mid); line-height: 2; }
/* PROCESS */
.process-section { background: var(--clr-ink); color: var(--clr-bg); }
.process-section .section-heading { color: var(--clr-bg); }
.process-section .section-lead { color: rgba(250,250,247,0.55); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; margin-top: 3rem; }
.process-step { background: rgba(255,255,255,0.04); padding: 2.5rem 2rem; }
.step-num { font-family: var(--ff-en); font-style: italic; font-size: 2.5rem; color: rgba(184,71,45,0.4); display: block; margin-bottom: 1rem; line-height: 1; }
.process-step h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--clr-bg); }
.process-step p { font-size: 0.8rem; color: rgba(250,250,247,0.5); line-height: 1.9; }
/* CTA BAND */
.cta-band { background: var(--clr-accent); padding: 5rem 0; text-align: center; color: #fff; }
.cta-band h2 { font-family: var(--ff-ja); font-size: clamp(1.5rem,3vw,2.25rem); margin-bottom: 1rem; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; font-size: 0.9rem; }
.btn-white { display: inline-block; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-accent); background: #fff; padding: 0.9em 2.5em; border-radius: 2px; }
.btn-white:hover { opacity: 0.85; }
/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start; }
.contact-info dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: 0.4rem; margin-top: 1.5rem; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { font-size: 0.9rem; color: var(--clr-mid); }
.form-row { margin-bottom: 2rem; }
.form-row label { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-mid); margin-bottom: 0.6rem; }
.form-row input, .form-row select, .form-row textarea, .wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form select, .wpcf7-form textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--clr-light); padding: 0.6rem 0; font-family: var(--ff-body); font-size: 0.95rem; color: var(--clr-ink); outline: none; transition: border-color 0.25s; border-radius: 0; -webkit-appearance: none; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus, .wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-bottom-color: var(--clr-ink); }
.form-row textarea, .wpcf7-form textarea { min-height: 150px; resize: vertical; }
.form-submit, .wpcf7-submit { display: inline-block; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-bg); background: var(--clr-ink); padding: 0.9em 3rem; border-radius: 2px; border: none; cursor: pointer; transition: background 0.25s; font-family: var(--ff-body); margin-top: 1rem; }
.form-submit:hover, .wpcf7-submit:hover { background: var(--clr-accent); }
/* FOOTER */
.site-footer { background: var(--clr-ink); color: rgba(250,250,247,0.5); padding: 5rem 0 2.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .site-logo { color: var(--clr-bg); }
.footer-brand p { font-size: 0.8rem; color: rgba(250,250,247,0.4); margin-top: 1rem; line-height: 2; }
.footer-nav h4 { font-family: var(--ff-en); font-style: italic; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: 1.25rem; }
.footer-nav a { display: block; font-size: 0.8rem; color: rgba(250,250,247,0.45); margin-bottom: 0.75rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--clr-bg); }
.footer-bottom { border-top: 1px solid rgba(250,250,247,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
/* FADE IN */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }
/* RESPONSIVE */
@media (max-width: 960px) {
  .philosophy-grid, .service-block, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-block.reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .global-nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
/* WORDPRESS */
.admin-bar .site-header { top: 32px; }
.wp-site-page { padding-top: var(--nav-h); }


/* ========== NUMBERS SECTION ========== */
.numbers-section { padding: 5rem 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; text-align: center; }
.number-item { padding: 2rem; }
.number-big { display: block; font-family: var(--font-en); font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; color: #b8472d; line-height: 1; }
.number-unit { display: block; font-size: 1rem; letter-spacing: .15em; margin: .5rem 0; color: rgba(250,250,247,.7); }
.number-item p { font-size: .9rem; color: rgba(250,250,247,.6); margin: 0; }

/* ========== VOICE SECTION ========== */
.voice-section { padding: 5rem 0; }


/* ========================================
   Voice Slider (v1.7)
   ======================================== */

.voice-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 56px;
}

.voice-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.voice-card {
  flex: 0 0 calc(50% - 12px);
  min-width: calc(50% - 12px);
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-left: 4px solid var(--clr-accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  margin: 0;
  flex: 1;
}

.voice-name {
  font-size: 0.82rem;
  color: var(--clr-mid);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Prev / Next buttons */
.voice-prev,
.voice-next {
  position: absolute;
  top: calc(50% - 28px);
  transform: translateY(-50%);
  background: #fff;
  border: 1.5px solid var(--clr-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--clr-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 2;
}
.voice-prev { left: -6px; }
.voice-next { right: -6px; }
.voice-prev:hover,
.voice-next:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

/* Dot indicators */
.voice-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.voice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--clr-light);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.voice-dot.active {
  background: var(--clr-accent);
  transform: scale(1.3);
}

/* Mobile: 1 card at a time */
@media (max-width: 700px) {
  .voice-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .voice-prev { left: 0; }
  .voice-next { right: 0; }
}

.flow-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0; }
.flow-step { flex: 1; min-width: 160px; max-width: 220px; text-align: center; padding: 2rem 1rem; }
.flow-num { display: block; font-family: var(--font-en); font-size: 2.5rem; font-weight: 700; color: #b8472d; line-height: 1; margin-bottom: .75rem; }
.flow-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; letter-spacing: .05em; }
.flow-step p { font-size: .875rem; color: #666; line-height: 1.7; margin: 0; }
.flow-arrow { display: flex; align-items: center; padding: 2rem 0.5rem; color: #b8472d; font-size: 1.5rem; flex-shrink: 0; margin-top: 1rem; }

/* ========== SERVICE LIST ========== */
.service-sub { color: #666; max-width: 640px; margin: 0 auto 3rem; text-align: center; font-size: 1rem; line-height: 1.8; }
.section-sub { color: #666; max-width: 640px; margin: 0 auto 3rem; text-align: center; font-size: 1rem; line-height: 1.8; }
.service-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.service-list li { padding: .5rem 0 .5rem 1.5rem; position: relative; font-size: .95rem; color: #444; border-bottom: 1px solid #eee; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: #b8472d; }
.service-link { display: inline-block; margin-top: 1rem; }

/* ========== MESSAGE SECTION ========== */
.message-block { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: start; }
.message-text p { line-height: 2; margin-bottom: 1.5rem; color: #2a2a2a; }
.message-sign { font-size: 1.1rem; font-weight: 700; letter-spacing: .1em; margin-top: 2rem !important; }
.portrait-placeholder { width: 200px; height: 240px; background: #2a2a2a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: #fafaf7; border-radius: 4px; }
.portrait-placeholder span { font-size: 1.1rem; letter-spacing: .05em; }
.portrait-title { font-size: .8rem; color: rgba(250,250,247,.6); }

/* ========== VISION SECTION ========== */
.vision-section { padding: 5rem 0; }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.vision-item { padding: 2.5rem 2rem; border: 1px solid rgba(255,255,255,.15); border-radius: 4px; }
.vision-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .1em; }
.vision-item p { font-size: .95rem; color: rgba(250,250,247,.75); line-height: 1.8; margin: 0; }

/* ========== VALUES SECTION ========== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.value-item { padding: 2.5rem 2rem; background: #fff; border-top: 3px solid #b8472d; }
.value-icon { display: block; font-family: var(--font-en); font-size: 2rem; font-weight: 700; color: #e0d8d0; margin-bottom: 1rem; }
.value-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .05em; }
.value-item p { font-size: .9rem; color: #666; line-height: 1.8; margin: 0; }

/* ========== PRICING SECTION ========== */
.pricing-section { padding: 5rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.pricing-card { background: #fff; padding: 2.5rem 2rem; text-align: center; border-radius: 4px; box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: .05em; color: #2a2a2a; }
.price-range { font-family: var(--font-en); font-size: 2rem; font-weight: 700; color: #b8472d; margin-bottom: 1rem; }
.pricing-card p { font-size: .875rem; color: #888; line-height: 1.7; margin: 0; }

/* ========== FAQ SECTION ========== */
.faq-section { padding: 5rem 0; }
.faq-list { margin-top: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid #e5e0d8; padding: 2rem 0; }
.faq-q { font-size: 1.05rem; font-weight: 700; color: #2a2a2a; margin-bottom: 1rem; letter-spacing: .03em; }
.faq-a { font-size: .95rem; color: #666; line-height: 1.8; margin: 0; padding-left: 1rem; border-left: 2px solid #b8472d; }

/* ========== RESPONSIVE UPDATES ========== */
@media (max-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .voice-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .message-block { grid-template-columns: 1fr; }
  .portrait-placeholder { width: 160px; height: 190px; }
  .flow-grid { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); padding: 0; margin: 0; }
  .flow-step { max-width: 100%; width: 100%; }
}
@media (max-width: 680px) {
  .numbers-grid { grid-template-columns: 1fr; }
}


/* ===== ラシクラボ本厚木 紹介ブロック ===== */
.rasiku-intro {
  margin-top: 2rem;
  background: var(--clr-accent-pale);
  border: 2px solid var(--clr-accent);
  border-radius: 12px;
  padding: 1.5rem;
}
.rasiku-intro-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.rasiku-label {
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.rasiku-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-ink);
}
.rasiku-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.rasiku-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--clr-mid);
  line-height: 1.5;
}
.btn-rasiku {
  display: inline-block;
  background: var(--clr-ink);
  color: var(--clr-bg) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}
.btn-rasiku:hover {
  background: var(--clr-accent);
}
@media (max-width: 768px) {
  .rasiku-intro { padding: 1.2rem; }
}edia (max-width: 768px) {
  .rasiku-intro { padding: 1.2rem; }
}

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 5rem 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-label { margin-bottom: 0.75rem; }
.contact-info .section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.contact-desc {
  font-size: 0.95rem;
  color: var(--clr-mid);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail-item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-accent);
  text-transform: uppercase;
}
.contact-detail-item a, .contact-detail-item span {
  font-size: 0.95rem;
  color: var(--clr-ink);
  line-height: 1.7;
  text-decoration: none;
}
.contact-detail-item a:hover { color: var(--clr-accent); }

/* CF7 form styling */
.contact-form-wrap .wpcf7 { width: 100%; }
.contact-form-wrap .wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-mid);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.contact-form-wrap .wpcf7-form label .required {
  color: var(--clr-accent);
  font-size: 0.75rem;
  margin-left: 0.3em;
}
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form select,
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--clr-light);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--clr-ink);
  font-family: inherit;
  transition: border-color 0.2s;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
}
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form select:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
}
.contact-form-wrap .wpcf7-form textarea { min-height: 150px; resize: vertical; }
.contact-form-wrap .wpcf7-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b66' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.contact-form-wrap .wpcf7-form .wpcf7-submit {
  display: inline-block;
  background: var(--clr-ink);
  color: var(--clr-bg);
  border: none;
  padding: 0.85rem 3rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  font-family: inherit;
}
.contact-form-wrap .wpcf7-form .wpcf7-submit:hover { background: var(--clr-accent); }
.contact-form-wrap .wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.wpcf7-mail-sent-ok { background: #ecfdf5; border-color: #10b981 !important; color: #065f46; }
.wpcf7-validation-errors, .wpcf7-acceptance-missing { background: var(--clr-accent-pale); border-color: var(--clr-accent) !important; color: #7c2d12; }

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

/* ========================================
   Design Page Styles
   ======================================== */

/* Design Hero */
.design-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 100px 20px 80px;
}
.design-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.design-hero__label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.design-hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
}
.design-hero__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.design-hero__btn {
  display: inline-block;
  background: #fff;
  color: #0f3460;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.design-hero__btn:hover {
  background: #e8f0fe;
  transform: translateY(-2px);
}
.design-hero__visual {
  flex-shrink: 0;
}
.design-hero__icon-wrap {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.15);
}
.design-hero__icon {
  font-size: 5rem;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
  .design-hero { padding: 70px 20px 60px; }
  .design-hero__title { font-size: 2rem; }
  .design-hero__inner { justify-content: center; text-align: center; }
  .design-hero__visual { display: none; }
}

/* Design Services */
.design-services {
  padding: 80px 20px;
  background: #f8f9fa;
}
.design-services__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.design-services__heading {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: #1a1a2e;
}
.design-services__sub {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 0.95rem;
}
.design-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.design-service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.design-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.design-service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.design-service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}
.design-service-card__desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.design-service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.design-service-card__list li {
  font-size: 0.85rem;
  color: #444;
  padding: 6px 0 6px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.design-service-card__list li:last-child { border-bottom: none; }
.design-service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0f3460;
  font-weight: 700;
}
@media (max-width: 768px) {
  .design-services__grid { grid-template-columns: 1fr; }
}

/* Design Flow */
.design-flow {
  padding: 80px 20px;
  background: #fff;
}
.design-flow__inner {
  max-width: 800px;
  margin: 0 auto;
}
.design-flow__heading {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #1a1a2e;
}
.design-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.design-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}
.design-flow__step:last-child { border-bottom: none; }
.design-flow__step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f3460;
  opacity: 0.25;
  min-width: 60px;
  line-height: 1;
  flex-shrink: 0;
}
.design-flow__step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a2e;
}
.design-flow__step-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Design CTA */
.design-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.design-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.design-cta__title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
}
.design-cta__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 36px;
}
.design-cta__btn {
  display: inline-block;
  background: #fff;
  color: #0f3460;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.design-cta__btn:hover {
  background: #e8f0fe;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .design-cta__title { font-size: 1.5rem; }
}


/* ========================================
   v1.6 Comprehensive Improvements
   ======================================== */

/* === Fix hero-bg-text (passie watermark) visibility === */
.hero-bg-text {
  opacity: 0.06 !important;
  font-size: clamp(6rem, 18vw, 14rem) !important;
}
.page-hero .hero-bg-text,
.page-hero {
  overflow: hidden !important;
}

/* === Page-hero text contrast improvement === */
.page-hero-content h1 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.page-hero-content p {
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* === Fix ラシクラボ button color === */
.btn-rasiku {
  background: var(--clr-accent) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.btn-rasiku:hover {
  background: #9e3822 !important;
  transform: translateY(-2px) !important;
}

/* === rasiku-intro box improvements === */
.rasiku-intro {
  border-radius: 12px !important;
  border-color: var(--clr-accent) !important;
  box-shadow: 0 4px 16px rgba(184,71,45,0.12) !important;
}
.rasiku-label {
  background: var(--clr-accent) !important;
  color: #fff !important;
}

/* === About page: message section improvement === */
.message-section {
  padding: 80px 20px !important;
}
.message-section .container {
  max-width: 800px;
  margin: 0 auto;
}
.message-section h2 {
  margin-bottom: 32px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.message-section p {
  font-size: 1.05rem;
  line-height: 2.1;
  color: #444;
  margin-bottom: 1.4em;
}
.message-section .sig {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--clr-light);
  font-weight: 600;
  font-size: 1rem;
}

/* === Vision/Values section cards === */
.vision-section,
.values-section {
  padding: 80px 20px !important;
}

/* === Company table improvements === */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.company-table th,
.company-table td {
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--clr-light) !important;
  vertical-align: top;
  line-height: 1.7;
}
.company-table th {
  width: 180px;
  font-weight: 600;
  color: var(--clr-mid);
  white-space: nowrap;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none !important;
}

/* === Design page hero icon - reduce size === */
.design-hero__icon-wrap {
  width: 150px !important;
  height: 150px !important;
}
.design-hero__icon {
  font-size: 3.5rem !important;
}

/* === Contact page form improvements === */
.contact-section {
  padding: 60px 20px !important;
}
.contact-info h2,
.contact-form-col h2 {
  margin-bottom: 24px;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  border-radius: 8px !important;
  border: 1.5px solid #ddd !important;
  padding: 12px 14px !important;
  font-size: 1rem !important;
  width: 100% !important;
  transition: border-color 0.2s ease !important;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: var(--clr-accent) !important;
  outline: none !important;
}
.wpcf7-submit {
  background: var(--clr-accent) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 40px !important;
  border-radius: 50px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  width: auto !important;
}
.wpcf7-submit:hover {
  background: #9e3822 !important;
  transform: translateY(-2px) !important;
}

/* === General typography improvements === */
.section-lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  color: var(--clr-mid);
}

/* === Services section on front page - improve card layout === */
.service-cards {
  gap: 32px !important;
}
.service-card {
  border-radius: 12px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* === Steps/Flow on front page === */
.step-item {
  padding: 24px 16px !important;
}
.step-num {
  font-weight: 900 !important;
}

/* === FAQ improvements === */
.faq-item {
  border-radius: 8px !important;
  overflow: hidden !important;
}
.faq-q {
  font-weight: 600 !important;
}

/* === Navigation improvements === */
.site-header nav a {
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.site-header nav a:hover {
  color: var(--clr-accent);
}

/* === Footer improvements === */
.site-footer {
  padding: 60px 20px 30px !important;
}
.footer-inner {
  gap: 48px !important;
}

/* === Scroll bar styling === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-light);
  border-radius: 3px;
}

/* === Fade-in animation === */
.fade-in {
  animation: fadeInUp 0.7s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Mobile improvements === */
@media (max-width: 768px) {
  .company-table th {
    width: 120px;
  }
  .company-table th, .company-table td {
    padding: 12px 14px !important;
    font-size: 0.9rem;
  }
  .contact-section .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .design-hero__title {
    font-size: 1.8rem !important;
  }
}
