/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   Utilities
   ============================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }
.section { padding: 140px 0; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #62B850;
  margin-bottom: 12px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-lede {
  font-size: 16px;
  color: #001738;
  line-height: 1.9;
  max-width: 640px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: #62B850;
  color: #fff;
  padding: 14px 32px;
  border: 1.5px solid #62B850;
}
.btn-primary:hover { background: #4A9A3C; }
.btn-accent {
  background: #FF8E52;
  color: #fff;
  padding: 14px 32px;
  border: 1.5px solid #FF8E52;
}
.btn-accent:hover { background: #FF6B35; border-color: #FF6B35; }
.btn-ghost {
  background: #FFF4ED;
  color: #FF6B35;
  padding: 14px 32px;
  border: 1.5px solid #FF8E52;
  font-weight: 600;
}
.btn-ghost:hover { background: #FFE8D9; border-color: #FF6B35; color: #FF6B35; }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E7EB;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #62B850;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: #001738; transition: color 0.2s; }
.nav-links a:hover { color: #62B850; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #FF8E52;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-cta:hover { background: #FF6B35; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 18px;
  position: relative;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 8px; }
.hamburger-line:nth-child(3) { top: 16px; }

.nav-hamburger.is-active .hamburger-line:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.nav-hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-active .hamburger-line:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero .container { max-width: 1350px; position: relative; z-index: 1; }
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  background: #62B850;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url('../images/pensuke/pattern.png');
  background-size: 80px 80px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
  transform: rotate(15deg);
  transform-origin: center center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}
.hero-headline {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  color: #ffffff;
}
.hero-headline em {
  font-style: normal;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.hero-sub {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.9;
  margin-bottom: 40px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-cta-row .btn {
  min-width: 220px;
  justify-content: center;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}
.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  flex-shrink: 0;
}
.hero-right {
  position: relative;
  height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
}
.hero-person {
  position: relative;
  z-index: 0;
  width: 380px;
  height: auto;
  margin-bottom: -60px;
  transform: translateY(-20px);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: 460px;
  perspective: 800px;
}
.hero-carousel-track {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 100%;
}
.hero-carousel-track img {
  position: absolute;
  bottom: 0;
  width: 380px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(50%) scale(0.7);
  pointer-events: none;
}
.hero-carousel-track img.carousel-active {
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.hero-carousel-track img.carousel-next {
  opacity: 0.6;
  left: 58%;
  transform: translateX(0%) rotate(4deg) scale(0.85);
  z-index: 2;
  bottom: -10px;
}
.hero-carousel-track img.carousel-prev {
  opacity: 0.5;
  left: -18%;
  transform: translateX(0%) rotate(-6deg) scale(0.8);
  z-index: 1;
  bottom: -14px;
}

/* ============================================
   Service (Strengths) — alternating layout
   ============================================ */
.service { background: #fff; }
.service .container { max-width: 1300px; }
.service-header { text-align: center; margin-bottom: 96px; }
.service-header .section-lede { margin: 0 auto; }
.strength-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}
.strength-item:last-child { margin-bottom: 0; }
.strength-item:nth-child(even) { direction: rtl; }
.strength-item:nth-child(even) > * { direction: ltr; }
.accent { color: #62B850; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.strength-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #E8F5E4;
  line-height: 1;
  margin-bottom: 12px;
}
.strength-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.strength-body {
  font-size: 16px;
  color: #001738;
  line-height: 1.9;
}
.strength-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.strength-visual--box {
  background: #F8F9FA;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.strength-visual svg {
  width: 80px;
  height: 80px;
  color: #62B850;
  opacity: 0.6;
}
.strength-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ============================================
   Flow
   ============================================ */
.flow { background: #F8F9FA; }
.flow .container { max-width: 1500px; width: 100%; }
.flow-header { text-align: center; margin-bottom: 64px; }
.flow-header .section-lede { margin: 0 auto; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  position: relative;
}
.flow-step {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.flow-step-num {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.flow-step-num span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #62B850;
}
.flow-step-num span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #62B850;
  line-height: 1;
}
.flow-step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #E8F5E4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-icon svg { width: 22px; height: 22px; color: #62B850; }
.flow-step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-step-body {
  font-size: 15px;
  color: #001738;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 20px;
}
.flow-step-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  gap: 6px;
  margin-top: auto;
  padding-top: 0;
  padding: 8px 16px;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  background: #62B850;
  border-radius: 6px;
}
.flow-step-meta svg { width: 14px; height: 14px; }
/* wrapper elements – transparent on desktop */
.flow-step-left {
  display: contents;
}
.flow-step-content {
  display: contents;
}
/* connector arrow (except last) */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 14px;
  height: 14px;
  border-top: 3px solid #62B850;
  border-right: 3px solid #62B850;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.6;
}

/* ============================================
   Pricing
   ============================================ */
.pricing { background: #F0FAF0; position: relative; overflow: hidden; }
.pricing::before {
  content: "";
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url('../images/pensuke/pattern.png');
  background-size: 100px 100px;
  background-repeat: repeat;
  opacity: 0.04;
  pointer-events: none;
  transform: rotate(15deg);
  transform-origin: center center;
}
.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-header .section-lede { margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.plan:hover { border-color: #62B850; box-shadow: 0 4px 20px rgba(98,184,80,0.1); }
.plan.featured {
  border-color: #62B850;
  box-shadow: 0 4px 20px rgba(98,184,80,0.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #62B850;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}
.plan-tag {
  font-size: 16px;
  color: #001738;
  margin-bottom: 28px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.plan-price-unit { font-size: 16px; color: #001738; }
.plan-price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1;
}
.plan-meta { font-size: 13px; color: #999; margin-bottom: 24px; }
.plan-divider { height: 1px; background: #E5E7EB; margin-bottom: 24px; }
.plan-features { margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: #001738;
  margin-bottom: 12px;
  line-height: 1.6;
}
.plan-features li svg {
  width: 18px;
  height: 18px;
  color: #62B850;
  flex-shrink: 0;
  margin-top: 5px;
}
.plan-cta { text-align: center; }
.plan-cta .btn { width: 100%; justify-content: center; }

/* Plan Bold — prominent equal cards */
.plan-bold {
  border: 2px solid #62B850;
  box-shadow: 0 4px 24px rgba(98,184,80,0.12);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}
.plan-bold .plan-cta {
  margin-top: auto;
}
.plan-bold:hover {
  box-shadow: 0 8px 32px rgba(98,184,80,0.18);
  transform: translateY(-2px);
  transition: all 0.2s;
}
.plan-name-lg {
  font-size: 28px;
  margin-bottom: 0;
}
.plan-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #62B850;
  margin-bottom: 8px;
}

/* Pricing: 2-column layout */
.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  gap: 32px;
}

/* Pricing Table */
.pricing-table-wrap {
  max-width: 1100px;
  margin: 48px auto 0;
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}
.pricing-table-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: #001738;
}
.pricing-table-subtitle {
  font-size: 15px;
  color: #001738;
  text-align: center;
  margin-bottom: 28px;
}
.pricing-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  border: 2px solid #D1D5DB;
  border-radius: 12px;
  overflow: hidden;
}
.pricing-table th:first-child,
.pricing-table td:first-child {
  width: 34%;
}
.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) {
  width: 22%;
}
.pricing-table th,
.pricing-table td {
  padding: 20px 28px;
  text-align: center;
  background: #fff;
  border-right: 1px solid #D1D5DB;
}
.pricing-table th:last-child,
.pricing-table td:last-child {
  border-right: none;
}
.pricing-table thead th {
  background: #62B850;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #4EA33E;
  border-right: 1px solid rgba(255,255,255,0.3);
}
.pricing-table thead th:last-child {
  border-right: none;
}
.pricing-table thead th:first-child {
  border-radius: 0;
}
.pricing-table thead th.pt-corner {
  background: #4EA33E;
  position: relative;
  min-width: 140px;
  height: 80px;
}
.pricing-table thead th.pt-corner::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(255,255,255,0.5) calc(50% - 0.5px), rgba(255,255,255,0.5) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  pointer-events: none;
}
.pt-corner-top {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 18px;
  font-weight: 700;
}
.pt-corner-bottom {
  position: absolute;
  bottom: 10px;
  left: 16px;
  font-size: 18px;
  font-weight: 700;
}
.pt-qty {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.pt-unit {
  font-size: 14px;
  margin-left: 2px;
}
.pricing-table tbody tr {
}
.pricing-table tbody td {
  border-bottom: 1px solid #D1D5DB;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pt-paper {
  text-align: left;
  min-width: 180px;
}
.pt-paper strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #001738;
}
.paper-desc {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}
.pt-price {
  font-family: 'Montserrat', sans-serif;
}
.pt-yen {
  font-size: 15px;
  color: #666;
  margin-right: 1px;
}
.pt-amount {
  font-size: 22px;
  font-weight: 700;
  color: #001738;
}
/* 一番人気の行ハイライト */
.pt-popular td {
  background: #F0FAF0;
}
.pt-popular .pt-amount {
  color: #62B850;
}
.pt-popular-badge {
  display: inline-block;
  background: #62B850;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.pricing-table-note {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: 16px;
}

/* モバイル用テーブル — デフォルト非表示 */
.luxury-table-mobile { display: none; }

/* モバイル料金カード — デフォルト非表示 */
.pricing-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
}
.pm-card {
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}
.pm-card--popular {
  border: 2px solid #62B850;
  box-shadow: 0 2px 16px rgba(98,184,80,0.13);
  padding-top: 32px;
}
.pm-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #62B850;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pm-card-head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E5E7EB;
}
.pm-card-head strong {
  display: block;
  font-size: 17px;
  color: #001738;
  margin-bottom: 4px;
}
.pm-card-desc {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.pm-card-head .luxury-detail-btn {
  margin-top: 8px;
}
.pm-card-prices {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pm-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
}
.pm-price-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pm-qty {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}
.pm-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #001738;
}
/* 高級紙 ＋ボタン */
.pt-paper--luxury {
  position: relative;
}
.luxury-detail-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 24px;
  border: 2px solid #001738;
  border-radius: 20px;
  background: transparent;
  color: #001738;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.luxury-detail-btn:hover {
  background: #001738;
  color: #fff;
}
/* 高級紙モーダル */
.luxury-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,23,56,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.luxury-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.luxury-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 860px;
  width: 94%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateY(20px);
  transition: transform .3s;
}
.luxury-modal-overlay.is-open .luxury-modal {
  transform: translateY(0);
}
.luxury-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  background: #e53e3e;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.luxury-modal-close:hover {
  background: #c53030;
}
.luxury-modal-title {
  font-size: 26px;
  font-weight: 700;
  color: #001738;
  margin-bottom: 14px;
}
.luxury-modal-desc {
  font-size: 18px;
  color: #666;
  margin-bottom: 24px;
}
.luxury-paper-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  color: #444;
  text-align: left;
  line-height: 1.6;
}
.luxury-paper-table th {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  border-bottom: 2px solid #ddd;
}
.luxury-paper-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}
.luxury-paper-table td:first-child {
  white-space: nowrap;
  color: #001738;
  font-size: 19px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .pricing-grid--two { grid-template-columns: 1fr; max-width: 420px; }
  .plan-bold { padding: 28px 20px; }
  .pricing-table-wrap { padding: 24px 16px; }
  .pricing-table-title { font-size: 20px; }

  /* 料金テーブル: PCテーブルを隠してカードUIを表示 */
  .pricing-table-scroll { display: none; }
  .pricing-cards-mobile { display: flex; }

  /* 高級紙モーダル: PC版を隠してモバイル版を表示 */
  .luxury-table-pc { display: none; }
  .luxury-table-mobile { display: block; }
  .luxury-table-mobile .luxury-paper-table {
    font-size: 14px;
    line-height: 1.6;
  }
  .luxury-table-mobile .luxury-paper-table th {
    padding: 8px 10px;
    font-size: 12px;
  }
  .luxury-table-mobile .luxury-paper-table td {
    padding: 12px 10px;
  }
  .luxury-table-mobile .luxury-paper-table td:first-child {
    white-space: nowrap;
    font-size: 16px;
    min-width: 0;
  }
}

/* ============================================
   Templates
   ============================================ */
.templates { background: #F8F9FA; }
.templates .container { max-width: 1500px; width: 85%; }
.templates-header { text-align: center; margin-bottom: 48px; }
.templates-header .section-lede { margin: 0 auto; }
.tpl-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tpl-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid #E5E7EB;
  border-radius: 40px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #001738;
  cursor: pointer;
  transition: all 0.2s;
}
.tpl-tab:hover { border-color: #62B850; color: #62B850; }
.tpl-tab.active {
  background: #62B850;
  border-color: #62B850;
  color: #fff;
}
.tpl-tab svg { width: 18px; height: 18px; }
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tpl-card {
  transition: transform 0.2s;
}
.tpl-card:hover { transform: translateY(-4px); }
.tpl-card-preview {
  position: relative;
  overflow: hidden;
}
.tpl-images { display: flex; width: 100%; }
.tpl-images img {
  display: block;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.tpl-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  pointer-events: none;
}
.tpl-card-label {
  padding: 10px 0 0;
  font-size: 13px;
  color: #888;
}
.tpl-more-wrap {
  text-align: center;
  margin-top: 32px;
}
.tpl-more-btn {
  min-width: 240px;
}

/* Mini business card inside template cards */
.mini-card {
  width: 100%;
  height: 100%;
  display: flex;
}
.mini-card-side {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.mini-card-side svg { width: 24px; height: 24px; opacity: 0.7; }
.mini-card-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mini-card-body .mc-role { font-size: 8px; color: #aaa; }
.mini-card-body .mc-name { font-size: 13px; font-weight: 700; }
.mini-card-body .mc-org { font-size: 9px; color: #888; margin-top: 8px; }

/* ============================================
   Contact
   ============================================ */
.contact { background: #fff; transition: background-color 0.8s ease; }
.contact.is-visible { background: #62B850; }
.contact-side *,
.contact-side { transition: color 0.8s ease, background 0.8s ease; }
.contact.is-visible .section-eyebrow { color: #fff; font-weight: 700; }
.contact.is-visible .section-title { color: #fff; }
.contact.is-visible .section-lede { color: rgba(255,255,255,0.85); }
.contact.is-visible .contact-meta-icon { background: rgba(255,255,255,0.2); }
.contact.is-visible .contact-meta-icon svg { color: #fff; }
.contact.is-visible .contact-meta-label { color: rgba(255,255,255,0.7); }
.contact.is-visible .contact-meta-value { color: #fff; }
.contact .container { max-width: 1200px; }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}
.contact-meta { margin-top: 32px; }
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-meta-icon {
  width: 40px;
  height: 40px;
  background: #E8F5E4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-meta-icon svg { width: 18px; height: 18px; color: #62B850; }
.contact-meta-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #999;
}
.contact-meta-value { font-size: 14px; font-weight: 500; }
.contact-form {
  background: #F8F9FA;
  border-radius: 16px;
  padding: 36px;
}
/* --- Contact type toggle (radio pills) --- */
.form-type-toggle {
  display: flex;
  gap: 12px;
  border: none;
  padding: 0;
  margin: 0 0 24px;
}
.form-type-option {
  flex: 1;
  cursor: pointer;
}
.form-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.form-type-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #001738;
  background: #fff;
  transition: all .2s ease;
}
.form-type-option.active .form-type-label {
  border-color: #62B850;
  color: #62B850;
  background: #f0faf0;
}
.form-type-option:hover .form-type-label {
  border-color: #62B850;
}
.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;
}
/* --- Order / Consult group animation --- */
.form-group-order,
.form-group-consult {
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
}
.form-group-order.hidden,
.form-group-consult.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
/* --- Select dropdown --- */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select:disabled {
  background-color: #f0f0f0;
  color: #999;
  cursor: not-allowed;
}
/* --- Template thumbnail preview --- */
.form-tpl-thumb {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}
.form-tpl-thumb img {
  height: 72px;
  width: auto;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  object-fit: cover;
}
/* --- Shorter textarea for notes --- */
.form-textarea--short { min-height: 80px; }

.form-row { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-label .req {
  font-size: 11px;
  color: #fff;
  background: #62B850;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: #62B850; }
.form-input.invalid, .form-textarea.invalid { border-color: #e53e3e; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { font-size: 13px; color: #e53e3e; margin-top: 4px; }
.form-consent {
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
  line-height: 1.7;
}
.form-consent a { color: #62B850; text-decoration: underline; }
.form-submit { width: 100%; justify-content: center; }
.form-success { text-align: center; padding: 40px 0; }
.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #E8F5E4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success-icon svg { width: 28px; height: 28px; color: #62B850; }
.form-success-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.form-success-body { font-size: 14px; color: #001738; line-height: 1.8; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #1A1A1A;
  color: #fff;
  padding: 48px 0 24px;
}
.footer .container { max-width: 1200px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}
.footer-brand .nav-logo { margin-bottom: 8px; }
.footer-brand .nav-logo-mark { background: #62B850; }
.footer-tag { font-size: 13px; color: #999; line-height: 1.7; }
.footer-col-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: #fff;
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li:last-child { margin-bottom: 0; }
.footer-col ul li a { font-size: 13px; color: #999; transition: color 0.2s; }
.footer-col ul li a:hover { color: #62B850; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #999;
}

/* ============================================
   Responsive
   ============================================ */

/* --- Tablet & below (≤900px): Nav switch + spacing --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-cta { display: none; }

  .section { padding: 100px 0; }

  .hero { padding-top: 160px; padding-bottom: 100px; }
  .hero-grid { gap: 48px; }
  .hero-headline { font-size: 36px; }
  .hero-person { width: 320px; }

  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }

  .tpl-grid { grid-template-columns: repeat(2, 1fr); }

  .strength-item { gap: 40px; }

  .footer-col-label { font-size: 15px; }
  .footer-col ul li { margin-bottom: 0; }
  .footer-col ul li a {
    display: flex;
    align-items: center;
    min-height: auto;
    padding: 3px 0;
    font-size: 14px;
  }
}

/* --- Tablet portrait & below (≤768px): Layout switches --- */
@media (max-width: 768px) {
  .nav-logo-icon { width: 28px; height: 28px; }
  .nav-logo { font-size: 15px; }
  .hero-eyebrow { font-size: 12px; }
  .section-title { font-size: 28px; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { height: auto; min-height: 320px; }
  .hero-carousel { height: 280px; }
  .hero-carousel-track { width: 420px; }
  .hero-carousel-track img { width: 280px; }
  .hero-sub br { display: none; }

  .strength-item { grid-template-columns: 1fr; gap: 32px; }
  .strength-item:nth-child(even) { direction: ltr; }
  .strength-visual img { max-width: 480px; margin: 0 auto; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid--two { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-table-wrap { padding: 32px 24px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-side .section-title br { display: none; }

  .footer { padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .footer-brand { grid-column: auto; margin-bottom: 16px; }
  .footer-col + .footer-col { margin-top: 12px; }
  .footer-col:last-child ul li a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 11px; }

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

  .section-lede br { display: none; }
  .section-lede { text-align: left; margin-left: 0; margin-right: 0; }
  .service-header,
  .flow-header,
  .pricing-header,
  .templates-header { text-align: left; }

  /* コンテナ幅を統一: width%指定を解除 */
  .templates .container { width: 100%; }
}

/* --- Mobile (≤600px): Size & spacing adjustments --- */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 24px; line-height: 1.8; letter-spacing: 0.04em; }

  .hero { padding-top: 120px; padding-bottom: 56px; }
  .hero-headline { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .hero-right { height: auto; min-height: 260px; overflow: visible; }
  .hero-carousel { height: 220px; margin-top: -16px; }
  .hero-carousel-track { width: 300px; }
  .hero-carousel-track img { width: 200px; }
  .hero-person { width: 100%; max-width: 240px; margin-bottom: -68px; }
  .hero-cta-row { margin-bottom: 24px; }
  .hero-cta-row .btn { min-width: 0; width: 100%; }
  .hero-trust { column-gap: 14px; row-gap: 4px; }
  .hero-trust-item { font-size: 12px; gap: 3px; }
  .hero-trust-item svg { width: 14px; height: 14px; }

  .strength-num { font-size: 48px; }
  .strength-title { font-size: 22px; letter-spacing: 0.02em; }
  .strength-visual img { max-width: 100%; }

  /* --- Flow: Timeline layout --- */
  .flow-steps {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0;
    gap: 0;
    padding-left: 32px;
    position: relative;
  }
  /* vertical line */
  .flow-steps::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 11px;
    width: 2px;
    background: linear-gradient(to bottom, #62B850, #C8E6C0);
    border-radius: 1px;
  }
  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
  }
  /* timeline dot */
  .flow-step::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: #62B850;
    border: 3px solid #E8F5E4;
    border-radius: 50%;
    z-index: 1;
  }
  .flow-step:last-child { margin-bottom: 0; }
  /* hide connector arrows */
  .flow-step:not(:last-child)::after { display: none; }
  /* left column: number + icon stacked */
  .flow-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 56px;
  }
  .flow-step-num {
    flex-shrink: 0;
    margin-bottom: 0;
    align-items: center;
  }
  .flow-step-num span:last-child { font-size: 22px; }
  .flow-step-icon {
    width: 40px;
    height: 40px;
    margin: 8px auto 0;
    flex-shrink: 0;
  }
  .flow-step-icon svg { width: 18px; height: 18px; }
  /* right column: text content */
  .flow-step-content {
    display: block;
    flex: 1;
    min-width: 0;
  }
  .flow-step-title { font-size: 16px; margin-bottom: 4px; }
  .flow-step-body { font-size: 13px; margin-bottom: 10px; line-height: 1.6; }
  .flow-step-meta {
    width: auto;
    display: inline-flex;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
  }

  .pricing-grid--two { max-width: 100%; }
  .plan-bold { padding: 28px 20px; }
  .plan-price-amount { font-size: 36px; }

  .templates .container { width: 100%; padding: 0 16px; }
  .tpl-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .tpl-tabs::-webkit-scrollbar { display: none; }
  .tpl-tab { flex-shrink: 0; min-height: 36px; padding: 6px 12px; font-size: 11px; gap: 4px; }
  .tpl-tab svg { width: 14px; height: 14px; }
  .tpl-tabs { margin-bottom: 16px; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .faq-card-icon { width: 26px; height: 26px; font-size: 12px; flex-shrink: 0; }
  .faq-card-q { padding: 16px 14px; font-size: 14px; gap: 10px; }
  .faq-card-a { margin: 0 16px; font-size: 14px; }
  .faq-card-a-inner { padding: 16px 0 20px; }

  .contact-form { padding: 24px 16px; }
  .form-input, .form-select { min-height: 44px; }
  .form-type-toggle { gap: 8px; }
  .form-type-label { padding: 12px 10px; font-size: 14px; }
  .form-type-label svg { width: 14px; height: 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-column: auto; }

  .luxury-modal { padding: 24px 16px; }
  .luxury-modal-title { font-size: 20px; }
  .luxury-modal-desc { font-size: 14px; margin-bottom: 16px; }
  .luxury-paper-table { font-size: 14px; }
  .luxury-paper-table td:first-child { white-space: normal; font-size: 16px; }
  .luxury-paper-table th,
  .luxury-paper-table td { padding: 10px 10px; }
}

/* ============================================
   Mobile nav drawer
   ============================================ */
body.drawer-open { overflow: hidden; }

.nav-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  transition: opacity 0.3s ease;
}
.nav-drawer-overlay.open { display: block; }

.nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  border-bottom: 1px solid #F0F0F0;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer .nav-drawer-cta {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 12px;
  background: #FF8E52;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}

/* ============================================
   Accessibility
   ============================================ */
.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;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: #62B850;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}
/* Focus-visible for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #62B850;
  outline-offset: 2px;
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: #62B850;
  box-shadow: 0 0 0 3px rgba(98, 184, 80, 0.25);
}
/* Touch targets */
.nav-drawer a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-drawer .nav-drawer-cta {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .btn {
    min-height: 44px;
  }
}
/* Mobile scroll enhancement */
.nav-drawer {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  max-height: calc(100vh - 72px);
}

/* ============================================
   CTA Micro-copy
   ============================================ */
.cta-micro {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials { background: #F8F9FA; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.testimonial-quote {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8F5E4;
  color: #62B850;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
}
.testimonial-role {
  font-size: 12px;
  color: #999;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: #fff; }
.faq .container { max-width: 1300px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.faq-card {
  background: #fff;
  border-radius: 16px;
  border: 3px solid transparent;
  box-shadow: inset 0 0 0 1px #E5E7EB;
  transition: box-shadow 0.3s, border-color 0.3s;
  min-width: 0;
}
.faq-card:hover {
  box-shadow: inset 0 0 0 1px #c8e6c0, 0 4px 20px rgba(98,184,80,0.08);
}
.faq-card[open] {
  border-color: #62B850;
  box-shadow: inset 0 0 0 0px transparent, 0 4px 20px rgba(98,184,80,0.10);
}
.faq-card-q {
  padding: 32px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.faq-card-q::-webkit-details-marker { display: none; }
.faq-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #62B850;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.faq-card-text {
  flex: 1;
}
.faq-card-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #999;
  transition: transform 0.25s ease;
}
details[open] .faq-card-chevron {
  transform: rotate(180deg);
  color: #62B850;
}
.faq-card-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(.4,0,.2,1);
}
.faq-card[open] .faq-card-a-wrap {
  grid-template-rows: 1fr;
}
.faq-card-a {
  overflow: hidden;
  border-top: 1px solid #e8e8e8;
  margin: 0 32px;
  font-size: 16px;
  color: #001738;
  line-height: 1.85;
}
.faq-card-a-inner {
  padding: 20px 0 28px;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-card-icon { width: 32px; height: 32px; font-size: 14px; }
  .faq-card-q { padding: 20px 16px; font-size: 15px; gap: 12px; }
  .faq-card-a { margin: 0 16px; font-size: 14px; }
  .faq-card-a-inner { padding: 16px 0 20px; }
}


/* ============================================
   Template Zoom Modal
   ============================================ */
.tpl-card { cursor: pointer; }
.tpl-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.tpl-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.tpl-modal {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.25s;
}
.tpl-modal-overlay.active .tpl-modal {
  transform: scale(1);
}
.tpl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #E5E7EB;
}
.tpl-modal-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tpl-modal-counter {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
.tpl-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
}
.tpl-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #F3F4F6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.tpl-modal-close:hover { background: #E5E7EB; }
.tpl-modal-close svg { width: 18px; height: 18px; color: #001738; }
.tpl-modal-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-height: 0;
  position: relative;
}
.tpl-modal-nav {
  width: 44px;
  height: 44px;
  border: none;
  background: #F3F4F6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.tpl-modal-nav:hover { background: #E5E7EB; }
.tpl-modal-nav:disabled { opacity: 0.3; cursor: default; }
.tpl-modal-nav:disabled:hover { background: #F3F4F6; }
.tpl-modal-nav svg { width: 22px; height: 22px; color: #444; }
.tpl-modal-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.tpl-modal-slide img {
  display: block;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  object-fit: contain;
  max-height: 75vh;
  max-width: 100%;
  width: auto;
}
.tpl-modal-slide-label {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
@media (max-width: 600px) {
  .tpl-modal { max-height: 95vh; }
  .tpl-modal-overlay { padding: 8px; }
  .tpl-modal-nav { width: 36px; height: 36px; }
  .tpl-modal-nav svg { width: 18px; height: 18px; }
  .tpl-modal-slide img { max-height: 65vh; }
  .tpl-modal-body { padding: 12px 4px; }
}

