/* ============================================================
   TEMOTO – style.css
   カラー: 生成り白 #F9F6F0 / 濃紺 #1A2A3A / 琥珀 #D97725 / 墨黒 #333333
   フォント: Noto Sans JP / Yu Gothic / システムフォント
   ============================================================ */

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

:root {
  --color-bg:       #F9F6F0;
  --color-navy:     #1A2A3A;
  --color-amber:    #D97725;
  --color-ink:      #333333;
  --color-ink-sub:  #666666;
  --color-border:   #DDD8CF;
  --color-white:    #FFFFFF;
  --color-navy-mid: #253648;
  --color-amber-lt: #F5E6D3;

  --font-ja: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-en: 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 2px 16px rgba(26,42,58,0.10);
  --shadow-btn:  0 4px 16px rgba(217,119,37,0.30);

  --max-w: 720px;
  --section-py: 72px;
}

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

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

img, svg { display: block; max-width: 100%; }

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

/* ---------- Typography ---------- */
.t-hero {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.t-section-title {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-navy);
}

.t-section-title--white {
  color: var(--color-white);
}

.t-lead {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--color-ink-sub);
  line-height: 1.8;
}

.t-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  font-family: var(--font-en);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-py) 0;
}

.section--navy {
  background-color: var(--color-navy);
}

.section--navy-mid {
  background-color: var(--color-navy-mid);
}

.section--amber-lt {
  background-color: var(--color-amber-lt);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 42, 58, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo__img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-logo__text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1;
}

.site-logo__sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  font-family: var(--font-en);
  display: block;
  margin-top: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-amber);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.header-cta:hover {
  background: #c4671e;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--color-navy);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(217,119,37,0.12) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.025) 39px,
      rgba(255,255,255,0.025) 40px
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__tagline {
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__tagline em {
  font-style: normal;
  color: var(--color-amber);
}

.hero__sub {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn--line {
  background: #06C755;
  color: var(--color-white);
  font-size: 1.05rem;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(6,199,85,0.35);
}

.btn--line:hover {
  background: #05b34c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.40);
}

.btn--line-sm {
  background: #06C755;
  color: var(--color-white);
  font-size: 0.9rem;
  padding: 12px 24px;
}

.btn--line-sm:hover {
  background: #05b34c;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  font-size: 0.9rem;
  padding: 12px 24px;
}

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

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 0.9rem;
  padding: 12px 24px;
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ---------- Section Header ---------- */
.section-header {
  margin-bottom: 48px;
}

.section-header .t-label {
  display: block;
  margin-bottom: 10px;
}

.section-header .t-lead {
  margin-top: 16px;
}

/* ---------- Empathy Section ---------- */
.empathy__cards {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.empathy__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.empathy__card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-amber-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.empathy__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-ink);
}

.empathy__card-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.empathy__fact {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.empathy__fact::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 8rem;
  color: rgba(217,119,37,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.empathy__fact-text {
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.empathy__fact-text em {
  font-style: normal;
  color: var(--color-amber);
}

/* ---------- Demo Section (竹プラン図解) ---------- */
.demo-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  margin-bottom: 48px;
}

.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 480px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.demo-step__num {
  width: 36px;
  height: 36px;
  background: var(--color-amber);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
  font-family: var(--font-en);
}

.demo-step__content {
  flex: 1;
}

.demo-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.demo-step__desc {
  font-size: 0.85rem;
  color: var(--color-ink-sub);
  line-height: 1.6;
}

.demo-arrow {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--color-amber), rgba(217,119,37,0.3));
  margin: 4px auto;
}

/* スマホモックアップ */
.phone-mockup-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.phone-mockup {
  width: 240px;
  background: var(--color-navy);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(26,42,58,0.4), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}

.phone-mockup__notch {
  width: 80px;
  height: 22px;
  background: var(--color-navy);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-mockup__notch::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-navy-mid);
  border-radius: 50%;
}

.phone-mockup__screen {
  background: var(--color-bg);
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
}

.phone-screen__header {
  background: var(--color-navy);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-screen__avatar {
  width: 28px;
  height: 28px;
  background: var(--color-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.phone-screen__name {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}

.phone-screen__status {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
}

.phone-screen__chat {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 80%;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.7rem;
  line-height: 1.5;
}

.chat-bubble--user {
  background: var(--color-amber);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble--bot {
  background: var(--color-white);
  color: var(--color-ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--color-border);
}

.chat-bubble--image {
  background: var(--color-amber);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  padding: 6px;
}

.chat-image-thumb {
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, #c4671e, #e8921f);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.chat-time {
  font-size: 0.55rem;
  color: var(--color-ink-sub);
  text-align: right;
  margin-top: 2px;
}

.phone-screen__result {
  background: var(--color-navy);
  margin: 0 10px 10px;
  border-radius: 8px;
  padding: 8px 10px;
}

.phone-screen__result-label {
  font-size: 0.6rem;
  color: var(--color-amber);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.result-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.result-badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.plan-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.plan-card--featured {
  border-color: var(--color-amber);
  box-shadow: 0 4px 32px rgba(217,119,37,0.18);
}

.plan-card--muted {
  background: var(--color-bg);
  border-color: var(--color-border);
  border-style: dashed;
}

.plan-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-amber);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.plan-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.plan-card__name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.plan-card__tagline {
  font-size: 0.85rem;
  color: var(--color-ink-sub);
  margin-bottom: 20px;
  line-height: 1.5;
}

.plan-card__price {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.plan-card__price-main {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-navy);
  font-family: var(--font-en);
  line-height: 1;
}

.plan-card__price-main span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-ink-sub);
  font-family: var(--font-ja);
}

.plan-card__price-note {
  font-size: 0.78rem;
  color: var(--color-ink-sub);
  margin-top: 6px;
}

.plan-card__price-note strong {
  color: var(--color-amber);
}

.plan-card__includes {
  margin-bottom: 16px;
}

.plan-card__includes-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.plan-card__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--color-ink);
}

.plan-card__item-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card__item-icon--yes {
  background: #E8F5E9;
  color: #2E7D32;
}

.plan-card__item-icon--no {
  background: #FFF3E0;
  color: #BF360C;
}

.plan-card__excludes-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-ink-sub);
  margin-top: 14px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.plan-card__cta {
  margin-top: 24px;
  display: block;
  text-align: center;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
}

.plan-card__cta:hover {
  background: var(--color-navy-mid);
  transform: translateY(-1px);
}

.plan-card--featured .plan-card__cta {
  background: var(--color-amber);
}

.plan-card--featured .plan-card__cta:hover {
  background: #c4671e;
}

.plan-card__muted-body {
  text-align: center;
  padding: 16px 0;
}

.plan-card__muted-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.plan-card__muted-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.plan-card__muted-desc {
  font-size: 0.88rem;
  color: var(--color-ink-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- Reasons ---------- */
.reasons-grid {
  display: grid;
  gap: 24px;
}

.reason-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reason-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  font-family: var(--font-en);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
}

.reason-card__body {}

.reason-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.reason-card__title em {
  font-style: normal;
  color: var(--color-amber);
}

.reason-card__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}

.reasons-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
  display: none;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  transition: background 0.15s;
}

.faq-question:hover {
  background: rgba(26,42,58,0.04);
}

.faq-question[aria-expanded="true"] {
  background: rgba(26,42,58,0.04);
}

.faq-q-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-q-badge {
  width: 28px;
  height: 28px;
  background: var(--color-amber);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  font-family: var(--font-en);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--color-ink-sub);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 64px;
  font-size: 0.9rem;
  color: var(--color-ink-sub);
  line-height: 1.8;
}

.faq-answer.is-open {
  display: block;
}

/* ---------- Contact ---------- */
.contact-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-box__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.contact-box__sub {
  font-size: 0.88rem;
  color: var(--color-ink-sub);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-box__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-box__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-ink-sub);
  margin-top: 8px;
}

.contact-box__mail a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo__img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo__text {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.footer-logo__sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em;
  font-family: var(--font-en);
}

.footer-info {
  font-size: 0.8rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.float-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(6,199,85,0.45);
  transition: all 0.2s;
  text-decoration: none;
}

.float-cta__btn:hover {
  background: #05b34c;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6,199,85,0.50);
}

.float-cta__label {
  font-size: 0.65rem;
  background: rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.85);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- PC Layout (min-width: 640px) ---------- */
@media (min-width: 640px) {
  :root {
    --section-py: 96px;
  }

  .hero {
    padding: 140px 0 100px;
  }

  .hero__cta-wrap {
    flex-direction: row;
    align-items: center;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .pricing-grid .plan-card--muted {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

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

  .contact-box__btns {
    flex-direction: row;
    justify-content: center;
  }

  .demo-flow {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .demo-step {
    flex: 1;
    max-width: none;
  }

  .demo-arrow {
    width: 32px;
    height: 2px;
    background: linear-gradient(to right, var(--color-amber), rgba(217,119,37,0.3));
    margin: 0 4px;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    height: 64px;
  }

  .hero {
    padding: 160px 0 120px;
  }

  .phone-mockup {
    width: 280px;
  }
}

/* ---------- Scroll animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Tokushoho page ---------- */
.tokucho-page {
  padding-top: 80px;
  min-height: 100vh;
}

.tokucho-page .container {
  padding-top: 48px;
  padding-bottom: 80px;
}

.tokucho-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-navy);
}

.tokucho-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.75;
}

.tokucho-table th,
.tokucho-table td {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

.tokucho-table th {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  width: 35%;
  white-space: nowrap;
}

.tokucho-table td {
  background: var(--color-white);
  color: var(--color-ink);
}

@media (max-width: 480px) {
  .tokucho-table th {
    width: 40%;
    font-size: 0.82rem;
  }
  .tokucho-table td {
    font-size: 0.85rem;
  }
}

/* ============================================================
   WORKS（制作実績）
============================================================ */
.works-lead {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--color-ink-sub);
  line-height: 1.8;
  margin-top: 16px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 600px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}

.work-card {
  display: block;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
a.work-card:hover,
a.work-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(26,42,58,0.16);
}

.work-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid var(--color-border);
}

.work-card__body { padding: 20px; }

.work-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-amber);
  border: 1px solid var(--color-amber);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.work-card__name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 6px;
}

.work-card__desc {
  font-size: 0.85rem;
  color: var(--color-ink-sub);
  line-height: 1.7;
  margin: 0 0 10px;
}

.work-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-amber);
}

.works-note {
  text-align: center;
  font-size: 0.78rem;
  color: #999;
  margin-top: 32px;
}
