/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding-top: 72px;
}
.page-hero-sm { min-height: 280px; }
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a2800 0%, #1a4a00 40%, #0d3318 70%, #0a2800 100%);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(124,197,32,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,201,167,0.12) 0%, transparent 50%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding-top: 48px; padding-bottom: 56px;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent-lime); text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(181,240,58,0.12);
  border: 1px solid rgba(181,240,58,0.3);
  padding: 6px 16px; border-radius: 50px;
}
.page-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; color: #fff;
  line-height: 1.25; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.7);
  max-width: 560px; line-height: 1.8;
}

/* ===== SERVICE PAGE NAV ===== */
.service-page-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 72px; z-index: 100;
}
.service-page-nav-inner {
  display: flex; gap: 0;
}
.spnav-item {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
  font-weight: 600;
}
.spnav-item:last-child { border-right: none; }
.spnav-item:hover { background: var(--green-light); }
.spnav-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--green); font-family: 'Inter', sans-serif;
}
.spnav-label { font-size: 14px; color: var(--text); }

/* ===== SERVICE DETAIL ===== */
.service-detail { padding: 96px 0; }
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-num-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--green-mid); text-transform: uppercase;
  margin-bottom: 12px;
}
.service-detail-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.service-detail-lead {
  font-size: 17px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 16px;
  line-height: 1.6;
}
.service-detail-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 24px;
}
.service-detail-list {
  list-style: none; margin-bottom: 32px;
}
.service-detail-list li {
  font-size: 14px; padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.service-detail-list li::before {
  content: '✓';
  color: var(--green); font-weight: 900; flex-shrink: 0;
}
.service-visual-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px; margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.service-visual-card:hover { transform: translateY(-4px); }
.svc-icon-lg { font-size: 40px; margin-bottom: 16px; }
.service-visual-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.service-visual-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* デジタル化支援 */
.digital-feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.df-item {
  background: #fff; border-radius: 12px;
  padding: 24px 16px; text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.df-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.df-icon { font-size: 32px; margin-bottom: 10px; }
.df-item p { font-size: 13px; font-weight: 700; color: var(--text); }

/* 不動産売買 */
.realestate-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px; margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.re-icon { font-size: 40px; margin-bottom: 16px; }
.realestate-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.realestate-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.re-link { font-size: 14px; font-weight: 700; color: var(--green-mid); }
.re-link:hover { text-decoration: underline; }

/* ===== MISSION ===== */
.mission-section { padding: 80px 0; }
.mission-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.mission-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.mission-desc { font-size: 16px; color: var(--text-muted); line-height: 1.9; }

/* ===== COMPANY TABLE ===== */
.company-section { padding: 80px 0; }
.company-table-wrap { max-width: 800px; margin: 0 auto; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px; line-height: 1.7;
  text-align: left; vertical-align: top;
}
.company-table th {
  width: 200px; font-weight: 700;
  color: var(--green-dark); white-space: nowrap;
  background: var(--green-light);
}
.company-table td a { color: var(--green-mid); }
.company-table td a:hover { text-decoration: underline; }

/* ===== POLICY ===== */
.policy-section { padding: 80px 0; }
.policy-content {
  max-width: 800px; margin: 0 auto;
  font-size: 15px; color: var(--text-muted);
  line-height: 1.9;
}
.policy-content h3 {
  font-size: 17px; font-weight: 800;
  color: var(--text); margin: 28px 0 12px;
}
.policy-content p { margin-bottom: 16px; }
.policy-content ol { padding-left: 24px; }
.policy-content ol li { margin-bottom: 10px; }
.policy-content a { color: var(--green-mid); }
.policy-content a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact-nav-section { padding: 64px 0; }
.contact-type-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-type-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column; align-items: center;
}
.contact-type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-type-card-green {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  border-color: var(--green-bright);
  box-shadow: 0 8px 24px rgba(124,197,32,0.4);
}
.contact-type-card-green .ct-title,
.contact-type-card-green .ct-desc,
.contact-type-card-green .ct-link { color: #fff; }
.ct-icon { font-size: 40px; margin-bottom: 16px; }
.ct-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.ct-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.ct-link { font-size: 13px; font-weight: 700; color: var(--green-mid); }

.contact-section { padding: 80px 0; }
.contact-section-header { text-align: center; margin-bottom: 48px; }
.contact-section-icon { font-size: 48px; margin-bottom: 16px; }
.contact-section-title { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.contact-section-desc { font-size: 15px; color: var(--text-muted); }

.contact-form-wrap { max-width: 720px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 14px; font-weight: 700; color: var(--text); }
.required {
  font-size: 11px; font-weight: 700;
  background: var(--green); color: #fff;
  padding: 2px 6px; border-radius: 4px;
  margin-left: 6px;
}
.form-input, .form-textarea {
  padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 15px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(124,197,32,0.18);
}
.form-textarea { resize: vertical; }
.form-submit { text-align: center; margin-top: 8px; }

/* スマート申込 */
.smart-apply-wrap { max-width: 800px; margin: 0 auto; }
.smart-apply-card {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 48px; align-items: center;
  background: #fff; border-radius: var(--radius);
  padding: 48px; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.smart-qr-placeholder { text-align: center; }
.qr-box {
  width: 160px; height: 160px; margin: 0 auto 16px;
  background: var(--green-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: var(--green-dark);
  border: 2px dashed var(--green);
}
.smart-qr-placeholder p { font-size: 13px; color: var(--text-muted); }
.smart-apply-text h3 { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.smart-apply-text p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.smart-features { margin-bottom: 24px; }
.smart-features li { font-size: 14px; padding: 6px 0; }

/* 直接お問い合わせ */
.direct-contact-section { padding: 64px 0; }
.direct-contact-inner { text-align: center; }
.direct-contact-title { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.direct-contact-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.direct-email {
  font-size: 24px; font-weight: 800;
  color: var(--green-mid); display: block; margin-bottom: 12px;
}
.direct-email:hover { text-decoration: underline; }
.direct-note { font-size: 13px; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
  .contact-type-grid { grid-template-columns: repeat(2, 1fr); }
  .smart-apply-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .service-page-nav-inner { flex-direction: column; }
  .spnav-item { border-right: none; border-bottom: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .company-table th { width: 120px; }
  .digital-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact-type-grid { grid-template-columns: 1fr; }
  .smart-apply-card { padding: 28px; }
}

/* ===== AWARD SECTION ===== */
.award-section { padding: 80px 0; }
.award-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.award-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.award-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.award-card-ms { border-color: #c8e0f7; }
.award-card-award { border-color: #e8d48a; }
.award-card-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #0078d4;
  background: #e8f4fd;
  border-bottom: 1.5px solid #c8e0f7;
  padding: 8px 20px;
  width: 100%;
  box-sizing: border-box;
}
.award-badge-gold {
  color: #8a6200;
  background: #fff8e1;
  border-color: #e8d48a;
}
.award-card-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 28px 32px;
}
.award-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f9ff;
  border-radius: 12px;
  padding: 20px 16px;
  border: 1px solid #ddeeff;
  min-height: 100px;
}
.award-ms-logo {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
}
.award-cert-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.award-cert-img {
  width: 100%;
  max-width: 140px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
}
.award-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.award-card-org {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 10px;
}
.award-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.award-photo-wrap {
  margin-top: 12px;
}
.award-photo-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: block;
}
.award-photo-caption {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .award-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .award-card-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .award-logo-wrap, .award-cert-wrap {
    max-width: 160px;
    margin: 0 auto;
  }
}

/* ===== AWARD CARD - PATENT ===== */
.award-badge-purple {
  color: #6b21a8;
  background: #f3e8ff;
  border-color: #d8b4fe;
}
.award-card-patent { border-color: #d8b4fe; }
.award-card-patent .award-card-badge {
  color: #6b21a8;
  background: #f3e8ff;
  border-color: #d8b4fe;
}
.award-card-patent .award-card-body {
  grid-template-columns: 1fr;
}
.award-cert-wrap-patent {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.award-cert-img-patent {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  border: 1px solid var(--border);
}
.award-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.award-card-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.award-card-list li::before {
  content: '✓';
  color: #7c3aed;
  font-weight: 900;
  flex-shrink: 0;
}
