/* ===================================
   シン・電力株式会社 - スタイルシート
   博多電力風デザイン
   =================================== */

/* CSS Variables */
:root {
  --primary-green: #1F5FA8;
  --primary-dark: #163F73;
  --primary-light: #5B8FD1;
  --accent-teal: #1C9BB5;
  --accent-lime: #6CC0D8;
  --text-dark: #2D3436;
  --text-light: #636E72;
  --text-muted: #B2BEC3;
  --bg-light: #F1F5FB;
  --bg-mint: #E6EEF8;
  --white: #FFFFFF;
  --border-color: #E0E0E0;
  --shadow: 0 4px 20px rgba(31, 95, 168, 0.1);
  --shadow-hover: 0 8px 30px rgba(31, 95, 168, 0.15);
  --transition: all 0.3s ease;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-en: 'Hind', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===================================
   Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .navbar {
  padding: 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
}

.logo-icon.small {
  width: 35px;
  height: 35px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Navigation */
.navbar-nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-en);
  color: var(--text-dark) !important;
  text-transform: uppercase;
  padding: 28px 20px !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: calc(100% - 40px);
}

.navbar-toggler {
  border: none;
  padding: 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 50%, var(--accent-teal) 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="70" cy="30" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 200px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, rgba(0, 122, 61, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 60px 0;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white);
  color: var(--primary-green);
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--accent-lime);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 197, 63, 0.5);
}

.btn-outline-custom {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--white);
  border-radius: 6px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-green);
}

/* ===================================
   Section Common Styles
   =================================== */
.section-title {
  margin-bottom: 50px;
}

.section-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-teal);
  margin-bottom: 8px;
}

.section-title-en.white {
  color: rgba(255, 255, 255, 0.7);
}

.section-title-ja {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

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

/* ===================================
   Message Section
   =================================== */
.message-section {
  padding: 100px 0;
  background: var(--white);
}

.message-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--text-light);
}

/* ===================================
   Business Section
   =================================== */
.business-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.business-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  gap: 24px;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.business-card-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  color: var(--primary-green);
}

.business-card-icon svg {
  width: 100%;
  height: 100%;
}

.business-card-content {
  flex: 1;
}

.business-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.business-card-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
}

.business-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green);
}

.business-card-link:hover {
  color: var(--accent-teal);
}

/* ===================================
   Numbers Section
   =================================== */
.numbers-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
}

.number-item {
  text-align: center;
  padding: 30px;
}

.number-value {
  white-space: nowrap;
  display: block;
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.number-unit {
  font-size: 22px;
  font-weight: 400;
}

.number-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   News Section
   =================================== */
.news-section {
  padding: 100px 0;
  background: var(--white);
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}

.news-item:hover {
  background: var(--bg-light);
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
}

.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  margin: 0;
}

.news-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
  position: relative;
  padding-left: 20px;
}

.news-body::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--primary-green);
  border-right: 3px solid var(--primary-green);
  transform: rotate(45deg);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-green) 100%);
}

.contact-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 2;
  margin-bottom: 40px;
}

.btn-contact {
  display: inline-block;
  padding: 20px 60px;
  background: var(--white);
  color: var(--primary-green);
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-contact:hover {
  background: var(--accent-lime);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.98);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-top: 30px;
  overflow: hidden;
}

.contact-form-wrapper iframe {
  display: block;
  border-radius: 8px;
  width: 100%;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: #1a2a3a;
  color: var(--white);
}

.section-seperator {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-list a:hover {
  color: var(--white);
}

.footer-company-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-company-address {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer-bottom {
  padding: 30px 0;
}

.footer-logo {
  display: inline-block;
}

.footer-logo .logo-main {
  color: var(--white);
  font-size: 18px;
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ===================================
   Back to Top
   =================================== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 0.8;
  visibility: visible;
}

.back-to-top:hover {
  opacity: 1;
  background: var(--accent-teal);
  color: var(--white);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ===================================
   Page Header (for sub pages)
   =================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.page-header-title {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header-sub {
  font-family: var(--font-en);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===================================
   Content Section (for sub pages)
   =================================== */
.content-section {
  padding: 80px 0;
}

.content-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-lime);
}

.content-section p {
  margin-bottom: 20px;
  line-height: 2;
}

/* Company Table */
.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 200px;
  background: var(--bg-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.company-table td {
  font-size: 15px;
  color: var(--text-dark);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table a {
  color: var(--primary-green);
}

.company-table a:hover {
  text-decoration: underline;
}

/* ===================================
   Breadcrumb
   =================================== */
.breadcrumb-section {
  background: var(--bg-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-section .breadcrumb-item a {
  color: var(--primary-green);
  font-size: 14px;
}

.breadcrumb-section .breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-section .breadcrumb-item.active {
  color: var(--text-light);
  font-size: 14px;
}

/* ===================================
   Section Icon (for business detail pages)
   =================================== */
.section-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--primary-green);
}

/* ===================================
   Service Cards
   =================================== */
.service-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  border-left: 4px solid var(--primary-green);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.service-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===================================
   Feature Boxes
   =================================== */
.feature-box {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===================================
   Case Cards
   =================================== */
.case-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.case-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow);
}

.case-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.case-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===================================
   Plan Cards
   =================================== */
.plan-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.plan-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-hover);
}

.plan-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.plan-card .plan-description {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.plan-card .plan-features {
  text-align: left;
  font-size: 14px;
  line-height: 2;
  color: var(--text-dark);
}

/* ===================================
   Market Cards
   =================================== */
.market-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  border-top: 4px solid var(--accent-teal);
}

.market-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.market-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===================================
   Process Steps
   =================================== */
.process-step {
  text-align: center;
  padding: 20px;
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===================================
   VPP Diagram
   =================================== */
.vpp-diagram {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
}

/* ===================================
   Other Business Section
   =================================== */
.other-business-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.other-business-section h3 {
  border-bottom: none;
  text-align: center;
  margin-bottom: 30px;
}

.other-business-section .business-card {
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  gap: 12px;
}

.other-business-section .business-card:hover {
  border-color: var(--primary-green);
}

.other-business-section .business-card-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.other-business-section .business-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  white-space: normal;
  word-break: normal;
}

.other-business-section .business-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 0;
  flex: none;
  width: 100%;
}

.other-business-section .business-card .btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
  padding: 6px 16px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  padding: 40px 0;
}

.cta-section .btn-primary {
  background: var(--primary-green);
  border-color: var(--primary-green);
  padding: 16px 50px;
  font-weight: 700;
  border-radius: 6px;
}

.cta-section .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.cta-section .btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 16px 50px;
  font-weight: 700;
  border-radius: 6px;
}

.cta-section .btn-outline-primary:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

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

  .nav-link {
    padding: 12px 0 !important;
  }

  .nav-link::after {
    bottom: 10px;
    left: 0;
  }

  .hero-title-line {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .section-title-ja {
    font-size: 26px;
  }

  .business-card {
    flex-direction: column;
    padding: 30px;
  }

  .business-card-icon {
    width: 60px;
    height: 60px;
  }

  .number-value {
    font-size: 42px;
  }

  .number-unit {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .hero-title-line {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    text-align: center;
  }

  .message-section,
  .business-section,
  .numbers-section,
  .news-section,
  .contact-section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title-ja {
    font-size: 22px;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }

  .news-body {
    padding-left: 16px;
  }

  .news-body::before {
    width: 6px;
    height: 6px;
    top: 9px;
  }

  .number-value {
    font-size: 36px;
  }

  .company-table th {
    width: 120px;
    padding: 15px;
    font-size: 13px;
  }

  .company-table td {
    padding: 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .logo-main {
    font-size: 18px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .hero-title-line {
    font-size: 24px;
  }

  .btn-contact {
    padding: 16px 40px;
    font-size: 14px;
  }
}

/* ===================================
   Services Section (2026-08 追加)
   =================================== */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-teal));
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card-label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  background: var(--bg-mint);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.service-card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.service-card-sub {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.service-card-text {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.service-card-tags span {
  font-size: 11.5px;
  color: var(--primary-dark);
  background: var(--bg-light);
  border: 1px solid rgba(31, 95, 168, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
}

.service-card-btn {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  background: var(--primary-green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  transition: var(--transition);
}

.service-card-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.service-card-btn.outline {
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.service-card-btn.outline:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* ===================================
   Native Contact Form (2026-08 追加)
   =================================== */
.contact-form {
  text-align: left;
}

.contact-form .form-row {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form label .req {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: #e05a4e;
  border-radius: 3px;
  padding: 1px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  font-family: var(--font-ja);
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(31, 95, 168, 0.12);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .form-hint {
  display: none;
  font-size: 13px;
  color: var(--primary-dark);
  background: var(--bg-mint);
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 8px;
  line-height: 1.7;
}

.contact-form .form-hint a {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: underline;
}

.contact-form .form-privacy {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 24px 0 16px;
}

.contact-form .form-privacy a {
  color: var(--primary-green);
  text-decoration: underline;
}

.contact-submit {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 17px 20px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-teal));
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(31, 95, 168, 0.3);
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 95, 168, 0.4);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.contact-form .form-error {
  display: none;
  font-size: 13.5px;
  color: #c0392b;
  background: #fdf0ee;
  border: 1px solid #f2c4be;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 991px) {
  .services-section {
    padding: 70px 0;
  }
}

/* ===== 2026-10 リニューアル（一目でわかるTOP・共通部品） ===== */
.sd-hero { min-height: auto; padding: 80px 0 0; }
.sd-hero .hero-content { padding: 64px 0 56px; }
.sd-hero .hero-bg::after { display: none; }
.sd-eyebrow { font-family: var(--font-en); letter-spacing: .2em; font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 12px; }
.sd-targets { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0 0; }
.sd-targets > div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 14px 22px; min-width: 170px; color: #fff; }
.sd-targets dt { font-size: 13px; font-weight: 500; opacity: .9; }
.sd-targets dd { margin: 2px 0 0; font-family: var(--font-en); font-size: 36px; font-weight: 700; line-height: 1.1; }
.sd-targets dd small { font-family: var(--font-ja); font-size: 14px; margin-left: 4px; font-weight: 500; }
.sd-targets p { margin: 2px 0 0; font-size: 12px; opacity: .9; }

.sd-section { padding: 80px 0; }
.sd-section-tint { background: var(--bg-light); }
.sd-grid { display: grid; gap: 20px; margin-top: 40px; }
.sd-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sd-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sd-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sd-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 26px 22px; color: var(--text-dark); text-decoration: none; transition: var(--transition); }
.sd-card:hover { border-color: var(--primary-green); box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--text-dark); }
.sd-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.sd-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0 0 14px; flex: 1; }
.sd-card-main { border: 2px solid var(--primary-green); }
.sd-tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: #fff; background: var(--primary-green); border-radius: 4px; padding: 2px 8px; margin-bottom: 10px; }
.sd-more { font-size: 13px; font-weight: 700; color: var(--primary-green); }
.sd-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 22px 24px; color: var(--text-dark); text-decoration: none; border: 1px solid transparent; transition: var(--transition); }
.sd-link:hover { border-color: var(--primary-green); box-shadow: var(--shadow); color: var(--text-dark); }
.sd-link h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.sd-link p { font-size: 13px; color: var(--text-light); margin: 0; }
.sd-domain { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--primary-green); white-space: nowrap; }

.sd-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sd-hero-figwrap { flex: 0 0 400px; position: relative; z-index: 1; }
.sd-hero-fig { width: 100%; height: auto; display: block; }
.sd-fig { display: block; width: 100%; height: auto; margin: 20px 0; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; }

/* 下層ページ用 */
.sd-note { background: #FFF8E1; border-left: 4px solid #F9A825; border-radius: 6px; padding: 14px 18px; font-size: 14px; line-height: 1.8; margin: 24px 0; }
.sd-facts { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15px; }
.sd-facts th, .sd-facts td { border-bottom: 1px solid var(--border-color); padding: 12px 10px; text-align: left; vertical-align: top; }
.sd-facts th { width: 32%; color: var(--text-light); font-weight: 500; background: var(--bg-light); }
.sd-steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0; }
.sd-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px dashed var(--border-color); line-height: 1.7; }
.sd-steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.sd-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 20px 0; }
.sd-flow > div { flex: 1 1 150px; background: var(--bg-light); border-radius: 10px; padding: 14px; font-size: 14px; line-height: 1.6; }
.sd-flow > div b { display: block; color: var(--primary-dark); margin-bottom: 4px; }
.sd-flow > span { align-self: center; color: var(--primary-green); font-weight: 700; }
.sd-h2 { font-size: 22px; font-weight: 700; color: var(--primary-dark); border-bottom: 2px solid var(--accent-lime); padding-bottom: 10px; margin: 48px 0 18px; }
.sd-body p { line-height: 1.9; }

@media (max-width: 991px) {
  .sd-hero-figwrap { display: none; }
  .sd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sd-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .sd-hero .hero-content { padding: 40px 0 40px; }
  .sd-section { padding: 56px 0; }
  .sd-grid-4, .sd-grid-2 { grid-template-columns: 1fr; }
  .sd-targets > div { flex: 1 1 40%; min-width: 0; padding: 12px 14px; }
  .sd-targets dd { font-size: 28px; }
  .sd-link { flex-direction: column; align-items: flex-start; }
  .sd-facts th { width: 38%; }
}
