/* ============================================
   Asaoka Design — style.css v2
   構成：感情→信頼→理解→判断
   フォント：Noto Serif JP（見出し）+ Noto Sans JP（本文）
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500&family=Noto+Serif+JP:wght@400;500&display=swap');


/* ── リセット & ベース ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #4a7a5a;
  --green-light: #f2f7f3;
  --green-mid:   #8ab89a;
  --ink:         #1e1e1a;
  --ink-mid:     #6a6a62;
  --ink-light:   #a8a89a;
  --bg:          #fafaf7;
  --bg-warm:     #f7f5f0;
  --border:      rgba(0,0,0,0.09);
  --serif:       'Noto Serif JP', serif;
  --sans:        'Zen Kaku Gothic New', '游ゴシック', YuGothic, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --max:         1080px;
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.en {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  display: block;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 3rem;
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 3rem;
  background: rgba(250,250,247,0.90);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--border);
  transition: border-color 0.3s;
}

.logo {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.logo span { color: var(--green); }

nav { display: flex; gap: 2rem; align-items: center; }

nav a {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  transition: color 0.2s;
}
nav a:hover { color: var(--green); }

.nav-cta {
  padding: 0.45rem 1.3rem;
  border: 1px solid var(--green);
  border-radius: 40px;
  font-size: 11px;
  color: var(--green) !important;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--green); color: #fff !important; }

/* ============================================
   ① FV
   ============================================ */
#fv {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid var(--border);
}

.fv-bg {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-52%);
  width: min(400px, 42vw);
  opacity: 0.09;
  pointer-events: none;
}

.fv-copy {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin: 1.6rem 0 1.8rem;
}
.fv-copy .kagi { color: var(--ink-mid); font-size: 0.86em; }
.fv-copy .em   { color: var(--green); }

.fv-sub {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 2.1;
  margin-bottom: 2.5rem;
}

.fv-cta {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: var(--green);
  color: #fff;
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: opacity 0.2s;
  align-self: flex-start;
}
.fv-cta:hover { opacity: 0.82; }

.fv-scroll {
  position: absolute;
  right: 3rem; bottom: 3.5rem;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.fv-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 52px;
  background: var(--border);
  animation: lineDown 2s ease infinite;
}
@keyframes lineDown {
  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; }
}

/* ============================================
   ② 共感セクション
   ============================================ */
#empathy {
  padding: 7rem 0;
  border-bottom: 0.5px solid var(--border);
}

.section-label {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
  line-height: 1.65;
  margin: 1.2rem 0 3rem;
  color: var(--ink);
}

.empathy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.empathy-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
}

.empathy-item::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ============================================
   ③ 差別化セクション
   ============================================ */
#diff {
  padding: 7rem 0;
  background: var(--bg-warm);
  border-bottom: 0.5px solid var(--border);
}

.diff-table-wrap {
  overflow-x: auto;
  margin-top: 3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead th {
  padding: 1rem 1.4rem;
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
}

thead th.th-asaoka {
  color: var(--green);
  background: var(--green-light);
}

tbody td {
  padding: 1rem 1.4rem;
  border-bottom: 0.5px solid var(--border);
  color: var(--ink-mid);
  vertical-align: top;
  line-height: 1.7;
}

tbody td.td-asaoka {
  color: var(--ink);
  background: var(--green-light);
  font-weight: 500;
}

tbody tr:last-child td { border-bottom: none; }

.diff-tagline {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* ============================================
   ④ サービスセクション（左sticky + 右スクロール）
   ============================================ */
#services {
  border-bottom: 0.5px solid var(--border);
}

.services-inner {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
}

/* 左：固定 */
.sv-left {
  width: 36%;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  height: fit-content;
  padding: 5rem 2.5rem 4rem 3rem;
}

.sv-left .section-label { margin-bottom: 1.2rem; }

.sv-left-desc {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 2;
  margin-bottom: 2.5rem;
}

/* インデックス */
.index-nav { display: flex; flex-direction: column; gap: 14px; }

.idx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-light);
  opacity: 0.38;
  transition: opacity 0.35s, color 0.35s;
}
.idx-item.active { opacity: 1; color: var(--ink); }

.idx-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: background 0.35s, border-color 0.35s;
}
.idx-item.active .idx-dot { background: var(--green); border-color: var(--green); }

.idx-num { margin-left: auto; font-size: 10px; letter-spacing: 0.1em; color: var(--ink-light); }

/* 右：スクロール */
.sv-right {
  flex: 1;
  border-left: 0.5px solid var(--border);
  padding: 5rem 3rem 5rem 2.5rem;
}

.case-card {
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 0.5px solid var(--border);
}
.case-card:last-child { border-bottom: none; margin-bottom: 0; }

.case-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.case-illust {
  width: 100%;
  background: #f5f5f0;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
}

.case-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.case-body {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 2;
  margin-bottom: 1.4rem;
}

.thought-box {
  border-left: 2px solid var(--green);
  padding: 0.8rem 1.2rem;
  font-size: 13px;
  color: #3a5a4a;
  line-height: 1.9;
  background: var(--green-light);
  border-radius: 0 6px 6px 0;
}

/* ============================================
   ⑤ 制作の流れ
   ============================================ */
#flow {
  padding: 7rem 0;
  border-bottom: 0.5px solid var(--border);
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 160px;
  padding: 0 1.5rem;
  position: relative;
  border-right: 0.5px solid var(--border);
}
.flow-step:last-child { border-right: none; }
.flow-step:first-child { padding-left: 0; }

.flow-num {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 0.8rem;
  display: block;
}

.flow-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.flow-body {
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.9;
}

/* ============================================
   ⑥ 実績
   ============================================ */
#works {
  padding: 7rem 0;
  background: var(--bg-warm);
  border-bottom: 0.5px solid var(--border);
}

.works-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  font-size: 13px;
  color: var(--green);
  border-bottom: 1px solid var(--green-mid);
  padding-bottom: 2px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.works-link:hover { opacity: 0.7; }

.works-note {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--ink-light);
}

/* ============================================
   ⑦ About
   ============================================ */
#about {
  padding: 7rem 0;
  border-bottom: 0.5px solid var(--border);
}

.about-inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.about-text { flex: 1; }

.about-heading {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 2.2;
  margin-bottom: 1.5rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.8rem;
}

.tag {
  font-size: 11px;
  padding: 4px 14px;
  border: 0.5px solid var(--green-mid);
  border-radius: 40px;
  color: var(--green);
  letter-spacing: 0.06em;
}

.about-illust {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   ⑧ FAQ
   ============================================ */
#faq {
  padding: 7rem 0;
  background: var(--bg-warm);
  border-bottom: 0.5px solid var(--border);
}

.faq-list { margin-top: 3rem; }

.faq-item {
  border-top: 0.5px solid var(--border);
  padding: 1.6rem 0;
}
.faq-item:last-child { border-bottom: 0.5px solid var(--border); }

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.7;
  user-select: none;
}

.faq-q .q-mark {
  color: var(--green);
  font-family: var(--serif);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-q .faq-arrow {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-light);
  flex-shrink: 0;
  transition: transform 0.25s;
  margin-top: 4px;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 1rem 0 0 28px;
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 2;
}
.faq-item.open .faq-a { display: block; }

/* ============================================
   ⑨ CTA
   ============================================ */
#cta {
  padding: 8rem 3rem;
  text-align: center;
  background: var(--green-light);
  border-top: 0.5px solid var(--border);
}

.cta-heading {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: 13px;
  color: var(--ink-mid);
  margin-bottom: 2.5rem;
  line-height: 2;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--green);
  color: #fff;
  border-radius: 40px;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: opacity 0.2s;
  font-family: var(--sans);
}
.cta-btn:hover { opacity: 0.82; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 2.5rem 3rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-light);
}

.footer-logo { font-family: var(--serif); font-size: 13px; color: var(--ink-mid); }

/* ============================================
   ハンバーガー / ドロワー（SP）
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(280px, 80vw);
  height: 100%;
  background: var(--bg);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 5rem 2rem 3rem;
  border-left: 0.5px solid var(--border);
}
.drawer.is-open { transform: translateX(0); }

.drawer-nav { display: flex; flex-direction: column; gap: 0; }

.drawer-link {
  display: block;
  padding: 1.1rem 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
  border-bottom: 0.5px solid var(--border);
  transition: color 0.2s;
}
.drawer-link:hover { color: var(--green); }
.drawer-cta { margin-top: 2rem; border-bottom: none; color: var(--green); font-weight: 500; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ============================================
   CTA — 左テキスト + 右フォーム
   ============================================ */
#cta {
  padding: 0;
  background: none;
  border-top: 0.5px solid var(--border);
  text-align: left;
}

.cta-inner {
  display: flex;
  min-height: 480px;
}

.cta-text {
  width: 42%;
  flex-shrink: 0;
  padding: 5rem 3rem;
  background: var(--green-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-heading {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.cta-sub {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 2;
  margin-bottom: 1.8rem;
}

.cta-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-checks li {
  font-size: 12px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-checks li::before { content: '✓'; font-size: 11px; }

.cta-form {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: stretch;
}

.form-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-temp { text-align: center; padding: 3rem 2rem; }
.form-temp-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1rem;
}
.form-temp-note {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 2;
  margin-bottom: 2rem;
}
.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--green);
  color: #fff;
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: opacity 0.2s;
  font-family: var(--sans);
}
.cta-btn:hover { opacity: 0.82; }
.form-temp-mail { margin-top: 1rem; font-size: 11px; color: var(--ink-light); letter-spacing: 0.06em; }

.cta-form iframe { width: 100%; min-height: 480px; border: none; display: block; }

/* ============================================
   CF7 フォームスタイル
   ============================================ */
.wpcf7 {
  width: 100%;
  padding: 3rem;
}

.wpcf7 p {
  margin-bottom: 1.4rem;
}

.wpcf7 label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
  margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: var(--green-mid);
}

.wpcf7 textarea {
  height: 140px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 13px;
  font-family: var(--sans);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: opacity 0.2s;
  width: auto;
}

.wpcf7 input[type="submit"]:hover { opacity: 0.82; }

.wpcf7 .wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 13px;
  border: none;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: var(--green-light);
  color: var(--green);
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background: #fef2f2;
  color: #b91c1c;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
  .section-inner { padding: 0 1.5rem; }
  header { padding: 1.1rem 1.5rem; }
  nav { display: none; }
  .hamburger { display: flex; }

  #fv { padding: 0 1.5rem 3.5rem; }
  .fv-bg { opacity: 0.05; width: 70vw; }

  .services-inner { flex-direction: column; }
  .sv-left { position: static; width: 100%; padding: 3rem 1.5rem 2rem; border-bottom: 0.5px solid var(--border); }
  .sv-right { border-left: none; padding: 2rem 1.5rem; }

  .about-inner { flex-direction: column; }
  .about-illust { width: 100%; }

  .flow-steps { flex-direction: column; gap: 2rem; }
  .flow-step { border-right: none; border-bottom: 0.5px solid var(--border); padding: 0 0 2rem; }
  .flow-step:last-child { border-bottom: none; }

  /* CTA SP */
  .cta-inner { flex-direction: column; }
  .cta-text { width: 100%; padding: 3.5rem 1.5rem; }
  .cta-form { min-height: 400px; }

  footer { flex-direction: column; gap: 0.8rem; text-align: center; }
}
