/* =====================================
   ラフスタート - スタイルシート v3
   参考LP完全準拠・水色テーマ
   ===================================== */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700;800&family=Yomogi&display=swap');

/* =====================================
   リセット・基本
   ===================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  line-height: 1.85;
  color: #2d4a5a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =====================================
   共通
   ===================================== */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

/* タイトル */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.sub-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #5BC8E8;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a3a4a;
  line-height: 1.35;
  text-align: center;
  margin-bottom: 12px;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a4a;
  line-height: 1.5;
  margin-bottom: 8px;
}

p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: #5a7a8a;
}

.lead-text {
  text-align: center;
  font-size: 0.93rem;
  color: #7a9aaa;
  line-height: 1.8;
}

/* =====================================
   セクション背景帯（参考LP準拠）
   ===================================== */

.bg-white   { background: #ffffff; }
.bg-light   { background: #f5fbfe; }
.bg-grad-blue {
  background: linear-gradient(180deg, #dff3fb 0%, #f5fbfe 60%, #ffffff 100%);
}
.bg-grad-bottom {
  background: linear-gradient(180deg, #ffffff 0%, #e8f7fc 50%, #f5fbfe 100%);
}

/* =====================================
   ボタン
   ===================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-primary {
  background: linear-gradient(135deg, #5BC8E8 0%, #2aaad4 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(91,200,232,0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(91,200,232,0.45);
}

.btn-line {
  background: #06C755;
  color: white;
  box-shadow: 0 4px 16px rgba(6,199,85,0.3);
}

.btn-line:hover {
  box-shadow: 0 8px 24px rgba(6,199,85,0.4);
}

.btn-outline {
  background: white;
  color: #5BC8E8;
  border: 2px solid #5BC8E8;
}

.btn-outline:hover {
  background: #EBF8FD;
}

.btn-white {
  background: white;
  color: #2aaad4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* =====================================
   ヘッダー
   ===================================== */

header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(91,200,232,0.12);
  transition: box-shadow 0.3s;
}

body.scrolled header {
  box-shadow: 0 2px 20px rgba(91,200,232,0.12);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2aaad4;
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: #2d4a5a;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5BC8E8;
  transition: width 0.2s;
  border-radius: 2px;
}

nav a:hover { color: #2aaad4; }
nav a:hover::after { width: 100%; }

/* =====================================
   フッター
   ===================================== */

footer {
  background: #0d1f2d;
  color: white;
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #5BC8E8;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #6a8a9a;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
  font-size: 0.85rem;
}

.footer-links a {
  color: #6a8a9a;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-links a:hover { color: #5BC8E8; }

.footer-sns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(91,200,232,0.12);
  border-radius: 8px;
  color: #5BC8E8;
  font-size: 0.88rem;
  transition: all 0.2s;
  border: 1px solid rgba(91,200,232,0.2);
}

.footer-sns a:hover {
  background: #5BC8E8;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(91,200,232,0.1);
  padding-top: 20px;
  color: #4a6a7a;
  font-size: 0.78rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* =====================================
   ページヘッダー
   ===================================== */

.page-header {
  position: relative;
  height: 240px;
  background: center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,31,46,0.52);
  z-index: 1;
}

.page-header-content { position: relative; z-index: 2; }

.page-header h1 {
  color: white;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
  line-height: 1.2;
}

/* =====================================
   アニメーション
   ===================================== */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* =====================================
   Hero
   ===================================== */

.hero {
  padding: 52px 0;
  background: white;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-text .sub-title {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hero-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a3a4a;
  line-height: 1.2;
  text-align: left;
  margin-bottom: 6px;
}

.hero-text h2 em {
  font-style: normal;
  color: #5BC8E8;
}

.hero-text .hero-desc {
  font-size: 0.88rem;
  color: #7a9aaa;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-stat {
  background: #f5fbfe;
  border: 1.5px solid #c8ecf7;
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
}

.hero-stat .num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2aaad4;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.hero-stat .label {
  font-size: 0.7rem;
  color: #7a9aaa;
  font-weight: 600;
  white-space: nowrap;
}

.hero-image {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, white, transparent);
}

.hero-badges {
  background: linear-gradient(180deg, white 0%, #f5fbfe 100%);
  padding: 28px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-badges-inner {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2d4a5a;
}

.badge i {
  font-size: 1.1rem;
  color: #5BC8E8;
}

/* =====================================
   About
   ===================================== */

.about {
  padding: 72px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 0;
}

.about-text h3 {
  font-size: 1.1rem;
  color: #2aaad4;
  margin-bottom: 14px;
  font-weight: 700;
}

.about-text p {
  color: #5a7a8a;
  line-height: 1.9;
  font-size: 0.92rem;
}

.value-frames {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.value-frame {
  border: 1.5px solid #c8ecf7;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  background: #f5fbfe;
  transition: all 0.2s;
}

.value-frame:hover {
  border-color: #5BC8E8;
  background: #EBF8FD;
}

.value-frame i {
  font-size: 1.25rem;
  color: #5BC8E8;
  margin-bottom: 6px;
  display: block;
}

.value-frame p {
  font-weight: 700;
  color: #1a3a4a;
  font-size: 0.85rem;
  line-height: 1.3;
}

.number-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.number-box {
  background: #f5fbfe;
  border: 1.5px solid #c8ecf7;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
}

.number-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91,200,232,0.15);
  border-color: #5BC8E8;
}

.number-box i {
  font-size: 1.2rem;
  color: #5BC8E8;
  margin-bottom: 8px;
  display: block;
}

.number-box .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2aaad4;
  line-height: 1;
  margin-bottom: 6px;
}

.number-box .label {
  font-size: 0.75rem;
  color: #7a9aaa;
  font-weight: 600;
  line-height: 1.4;
}

/* =====================================
   Services
   ===================================== */

.services {
  padding: 72px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.service-card {
  background: white;
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.2s;
  border: 1.5px solid #e8f4fa;
  border-top: 3px solid #5BC8E8;
  display: block;
  cursor: pointer;
}

.service-card:nth-child(1) { border-top-color: #06C755; }
.service-card:nth-child(2) { border-top-color: #3B82F6; }
.service-card:nth-child(3) { border-top-color: #F59E0B; }
.service-card:nth-child(4) { border-top-color: #8B5CF6; }
.service-card:nth-child(5) { border-top-color: #EC4899; }
.service-card:nth-child(6) { border-top-color: #1E3A8A; }

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(91,200,232,0.12);
  border-color: #c8ecf7;
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #EBF8FD;
  color: #2aaad4;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1a3a4a;
}

.service-card > p {
  font-size: 0.83rem;
  color: #7a9aaa;
  line-height: 1.65;
  margin-bottom: 10px;
}

.service-list p {
  font-size: 0.78rem;
  color: #9ab0bb;
  line-height: 1.55;
  margin-bottom: 1px;
}

/* =====================================
   Worries
   ===================================== */

.worries {
  padding: 72px 0;
  background: white;
}

.worries h2 {
  font-family: 'Yomogi', cursive;
  font-size: 1.75rem;
  color: #1a3a4a;
  margin-bottom: 0;
}

.worries-grid {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.worry-card {
  background: #f5fbfe;
  border-radius: 10px;
  padding: 16px 20px;
  color: #2d4a5a;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.worry-card::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5BC8E8;
  flex-shrink: 0;
}

.worry-card:hover {
  border-color: #c8ecf7;
  background: #EBF8FD;
  transform: translateX(4px);
}

.worries-cta {
  text-align: center;
  margin-top: 36px;
}

.worries-cta p {
  font-size: 1rem;
  color: #1a3a4a;
  margin-bottom: 16px;
  font-weight: 700;
}

/* =====================================
   Why Us
   ===================================== */

.whyus {
  padding: 72px 0;
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.why-card {
  background: white;
  border-radius: 0 14px 14px 0;
  padding: 22px 20px;
  transition: all 0.2s;
  border: 0.5px solid #e8f4fa;
  border-left: 3px solid #5BC8E8;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(91,200,232,0.12);
}

.why-icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.why-accent {
  font-size: 22px;
  font-weight: 700;
  color: #5BC8E8;
  line-height: 1;
  margin-bottom: 4px;
}

.why-card h3 {
  font-size: 0.93rem;
  margin-bottom: 8px;
  color: #1a3a4a;
  line-height: 1.45;
}

.why-card p {
  font-size: 0.85rem;
  color: #7a9aaa;
  line-height: 1.75;
}

/* =====================================
   Comparison
   ===================================== */

.comparison {
  padding: 72px 0;
  background: white;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(91,200,232,0.08);
  border: 1.5px solid #c8ecf7;
  font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #EBF8FD;
}

.comparison-table th {
  background: #EBF8FD;
  font-weight: 700;
  color: #2aaad4;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table td:nth-child(1) {
  font-weight: 700;
  color: #1a3a4a;
  width: 22%;
  background: #f9fdff;
}

.comparison-table td:nth-child(2) { color: #9ab0bb; }

.comparison-table td:nth-child(3) {
  background: #EBF8FD;
  color: #2aaad4;
  font-weight: 700;
}

.comparison-table td:nth-child(3)::before {
  content: '✓ ';
  color: #5BC8E8;
}

/* =====================================
   Voice
   ===================================== */

.voice {
  padding: 72px 0;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.voice-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  border: 1.5px solid #e8f4fa;
}

.voice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(91,200,232,0.12);
}

.voice-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}

.voice-content { padding: 20px; }

.voice-name {
  font-weight: 700;
  color: #1a3a4a;
  font-size: 0.93rem;
  margin-bottom: 3px;
}

.voice-role {
  font-size: 0.78rem;
  color: #9ab0bb;
  margin-bottom: 10px;
  line-height: 1.55;
  font-weight: 500;
}

.voice-quote {
  font-size: 0.88rem;
  color: #2aaad4;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.voice-text {
  font-size: 0.82rem;
  color: #7a9aaa;
  line-height: 1.8;
}

/* =====================================
   Flow
   ===================================== */

.flow {
  padding: 72px 0;
  background: white;
}

.flow-steps {
  display: grid;
  gap: 0;
  position: relative;
  margin-top: 0;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, #5BC8E8, #c8ecf7);
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
}

.flow-step:last-child { padding-bottom: 0; }

.flow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #5BC8E8, #2aaad4);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(91,200,232,0.3);
}

.flow-step-body { padding-top: 10px; }

.flow-step h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #1a3a4a;
}

.flow-step p {
  font-size: 0.85rem;
  color: #7a9aaa;
  line-height: 1.75;
}

/* =====================================
   Contact (HOME内)
   ===================================== */

.contact-section {
  padding: 72px 0;
}

.contact-banner {
  background: linear-gradient(135deg, #5BC8E8 0%, #2aaad4 100%);
  padding: 44px 32px;
  text-align: center;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 44px;
  position: relative;
}

.contact-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.contact-banner-content { position: relative; z-index: 1; }

.contact-banner h3 {
  color: white;
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-banner p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* =====================================
   Contact Form
   ===================================== */

.contact-form {
  max-width: 540px;
  margin: 0 auto;
  background: white;
  padding: 40px 36px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(91,200,232,0.1);
  border: 1.5px solid #e8f4fa;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #1a3a4a;
  font-size: 0.88rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #c8ecf7;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f9fdff;
  color: #1a3a4a;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5BC8E8;
  box-shadow: 0 0 0 3px rgba(91,200,232,0.12);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  font-size: 0.95rem;
  border-radius: 50px;
}

.form-message {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 9px;
  text-align: center;
  font-weight: 600;
  display: none;
  font-size: 0.88rem;
}

.form-message.success {
  background: rgba(6,199,85,0.08);
  color: #059040;
  border: 1.5px solid rgba(6,199,85,0.25);
  display: block;
}

/* =====================================
   Services Detail (services.html)
   ===================================== */

.service-section {
  padding: 56px 0;
  border-bottom: 1px solid #EBF8FD;
  background: white;
}

.service-section:nth-child(even) { background: #f9fdff; }

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #5BC8E8;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.catch {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a3a4a;
  margin-bottom: 14px;
  line-height: 1.35;
}

.service-detail-text > p {
  color: #7a9aaa;
  font-size: 0.9rem;
  line-height: 1.85;
}

.service-lists { margin-top: 20px; }

.service-lists h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2aaad4;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-list-item {
  padding: 8px 0 8px 20px;
  position: relative;
  color: #5a7a8a;
  font-size: 0.88rem;
  line-height: 1.65;
  border-bottom: 1px solid #EBF8FD;
}

.service-list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5BC8E8;
  font-weight: 700;
  font-size: 0.85rem;
}

.recommend-box {
  background: #EBF8FD;
  border-left: 3px solid #5BC8E8;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-top: 18px;
}

.recommend-title {
  font-weight: 700;
  color: #2aaad4;
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.recommend-box ul {
  padding-left: 14px;
  list-style: disc;
}

.recommend-box ul li {
  color: #5a7a8a;
  margin-bottom: 3px;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* TOTAL SOLUTION */
.total-solution {
  padding: 60px 0;
  background: linear-gradient(135deg, #5BC8E8 0%, #2aaad4 100%);
  text-align: center;
}

.total-solution .sub-title {
  color: rgba(255,255,255,0.75);
}

.total-solution h2 {
  color: white;
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.total-solution p {
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.85;
}

/* =====================================
   FAQ / Accordion
   ===================================== */

.faq-section {
  padding: 72px 0;
  background: #f5fbfe;
}

.accordion {
  max-width: 720px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border: 1.5px solid #e8f4fa;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.accordion-item.active { border-color: #c8ecf7; }

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a3a4a;
  transition: background 0.2s;
  gap: 12px;
}

.accordion-header:hover { background: #f9fdff; }

.accordion-header .icon {
  color: #5BC8E8;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-item.active .icon { transform: rotate(45deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content { max-height: 200px; }

.accordion-body {
  padding: 0 22px 18px;
  color: #7a9aaa;
  font-size: 0.88rem;
  line-height: 1.8;
}

/* =====================================
   CTA共通
   ===================================== */

.cta-section {
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1a3a4a;
}

.cta-section p {
  color: #7a9aaa;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================
   レスポンシブ
   ===================================== */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .whyus-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 52px 0; }
  h2 { font-size: 1.45rem; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-image {
    order: -1;
  }

  .hero-text h2 { font-size: 1.9rem; }
  .hero-image { height: 260px; }

  .hero-badges-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-left: 24px;
  }

  .hero-stats { flex-wrap: wrap; gap: 12px; }

  .about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid { grid-template-columns: 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }

  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .contact-form { padding: 24px 18px; }

  nav ul { gap: 18px; }

  .page-header { height: 180px; }
  .page-header h1 { font-size: 1.5rem; }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .cta-buttons { flex-direction: column; align-items: center; }
}

/* =====================================
   フロー縦線アニメーション（JS連動）
   ===================================== */

.flow-steps::before {
  background: linear-gradient(180deg, #5BC8E8 var(--line-progress, 0%), #e8f4fa var(--line-progress, 0%));
  transition: background 0.1s;
}

/* =====================================
   サービスアイコンバッジ・ビジュアル
   ===================================== */

.service-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.service-visual {
  border-radius: 20px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual i {
  font-size: 4rem;
  opacity: 0.85;
}

/* LINEバナーアイコン */
.contact-banner {
  background: white;
  border: 1.5px solid #c8ecf7;
  border-left: 4px solid #5BC8E8;
  border-radius: 0 16px 16px 0;
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-banner-icon {
  width: 56px;
  height: 56px;
  background: #E8FBF0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.contact-banner h3 {
  color: #1a3a4a;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.contact-banner p {
  color: #7a9aaa;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* =====================================
   企業情報ページ（company.html）
   ===================================== */

/* 会社概要テーブル */
.company-table-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(91,200,232,0.08);
  border: 1.5px solid #c8ecf7;
}

.company-table tr {
  border-bottom: 1px solid #EBF8FD;
}

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

.company-table th {
  background: #f5fbfe;
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  color: #2aaad4;
  font-size: 0.88rem;
  white-space: nowrap;
  width: 180px;
  vertical-align: top;
}

.company-table th i {
  margin-right: 8px;
  color: #5BC8E8;
}

.company-table td {
  background: white;
  padding: 18px 24px;
  color: #2d4a5a;
  font-size: 0.92rem;
  line-height: 1.8;
  vertical-align: top;
}

.company-table td a {
  color: #2aaad4;
  font-weight: 600;
  transition: color 0.2s;
}

.company-table td a:hover {
  color: #5BC8E8;
}

/* ビジョンカード */
.company-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.vision-card {
  background: white;
  border: 1.5px solid #e8f4fa;
  border-left: 3px solid #5BC8E8;
  border-radius: 0 14px 14px 0;
  padding: 28px 24px;
  transition: all 0.2s;
}

.vision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(91,200,232,0.12);
}

.vision-card h3 {
  font-size: 0.97rem;
  margin-bottom: 10px;
  color: #1a3a4a;
}

.vision-card p {
  font-size: 0.87rem;
  color: #7a9aaa;
  line-height: 1.8;
}

/* アクセス */
.company-access {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.access-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access-item i {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.access-item p {
  font-size: 0.9rem;
  color: #5a7a8a;
  line-height: 1.7;
}

.access-map {
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #c8ecf7;
  box-shadow: 0 2px 16px rgba(91,200,232,0.08);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .company-vision {
    grid-template-columns: 1fr;
  }

  .company-access {
    grid-template-columns: 1fr;
  }

  .access-map {
    height: 240px;
  }

  .company-table th {
    width: 120px;
    padding: 14px 16px;
    font-size: 0.82rem;
  }

  .company-table td {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}

/* About バリューピル（パターンB） */
.about-values {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.value-pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2aaad4;
  background: #EBF8FD;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #c8ecf7;
  transition: all 0.2s;
}

.value-pill:hover {
  background: #5BC8E8;
  color: white;
  border-color: #5BC8E8;
}

/* カラー背景ページヘッダー */
.page-header--color::before {
  display: none;
}

.page-header--color h1 {
  color: white;
}

/* サービスビジュアル写真対応 */
.service-visual {
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* セレクトボックス */
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #c8ecf7;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #f9fdff;
  color: #1a3a4a;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235BC8E8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: #5BC8E8;
  box-shadow: 0 0 0 3px rgba(91,200,232,0.12);
  background-color: white;
}

/* お問合せバナー（水色グラデーション版） */
.contact-banner {
  background: linear-gradient(135deg, #5BC8E8 0%, #2aaad4 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 40px 32px !important;
  text-align: center;
  margin-bottom: 44px;
}

.contact-banner h3 {
  color: white !important;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-banner p {
  color: rgba(255,255,255,0.88) !important;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* CTAボタン1つ統一 */
.cta-buttons {
  display: flex;
  justify-content: center;
}

/* ヘッダーロゴ画像 */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* =====================================
   ハンバーガーメニュー
   ===================================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 250;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a3a4a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 24px rgba(91,200,232,0.15);
    transition: right 0.3s ease;
    z-index: 240;
    padding: 100px 32px 32px;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    font-size: 1rem;
    width: 100%;
  }

  nav ul li a.btn {
    text-align: center;
    margin-top: 12px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,31,46,0.4);
    z-index: 230;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* =====================================
   スマホ追加対応
   ===================================== */

/* 比較表の横スクロール対応 */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .table-scroll {
    overflow-x: visible;
  }

  .comparison-table {
    min-width: 0;
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    border-spacing: 0 10px;
    display: table;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: block;
  }

  .comparison-table tr {
    display: block;
    background: white;
    border: 1.5px solid #c8ecf7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(91,200,232,0.08);
    margin-bottom: 10px;
  }

  .comparison-table td {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 0.8rem;
    line-height: 1.5;
    border-bottom: 1px solid #EBF8FD;
  }

  .comparison-table tr td:last-child {
    border-bottom: none;
  }

  .comparison-table td:nth-child(1) {
    background: #f9fdff;
    font-weight: 700;
    font-size: 0.85rem;
    padding-top: 12px;
  }

  .comparison-table td:nth-child(2) {
    color: #9ab0bb;
  }

  .comparison-table td:nth-child(2)::before {
    content: '他社：';
    color: #b8c8d0;
    font-weight: 600;
  }

  .comparison-table td:nth-child(3) {
    color: #2aaad4;
    font-weight: 700;
    padding-bottom: 12px;
  }

  .comparison-table td:nth-child(3)::before {
    content: '✓ ';
    color: #5BC8E8;
  }

  /* フロー縦線の位置をスマホ実寸に合わせて調整 */
  .flow-steps::before {
    left: 24px;
  }

  /* select(お問合せ種別)のiOSデフォルト見た目をリセット */
  .form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  /* Heroバッジの左余白を解消 */
  .hero-badges-inner {
    padding-left: 0;
  }

  /* サービス詳細：画像を上に統一 */
  .service-visual {
    height: 220px;
    order: -1;
  }

  /* アクセスマップ：操作しやすいよう高さ確保 */
  .access-map {
    height: 220px;
  }

  /* フッターリンクを1カラムで見やすく */
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  /* セレクト・インプットのタップ領域確保 */
  .form-group input,
  .form-group textarea,
  .form-group select {
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
  }
}
