/*
Theme Name:  レスキューGO LP
Theme URI:   https://rescue-go.example.com
Author:      rescue-go
Description: レスキューGO ランディングページ専用テーマ
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: rescue-go
*/

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

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

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Meiryo, sans-serif;
  color: #2c2c2c;
  background-color: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===========================
   Variables
=========================== */
:root {
  --navy:       #1a2a4a;
  --navy-dark:  #0f1e38;
  --navy-light: #2a3f6f;
  --white:      #ffffff;
  --gray-100:   #f5f6f8;
  --gray-200:   #e8eaed;
  --gray-300:   #d0d4db;
  --gray-500:   #8c95a4;
  --gray-700:   #4a5568;
  --accent:     #2563eb;
  --accent-hover: #1d4ed8;
  --text-main:  #1a2a4a;
  --text-sub:   #5a6a80;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(26,42,74,0.08);
  --shadow-md:  0 4px 20px rgba(26,42,74,0.12);
  --shadow-lg:  0 8px 40px rgba(26,42,74,0.16);
  --transition: 0.25s ease;
  --container:  1100px;
}

/* ===========================
   Utility
=========================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.08);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
}

.section-subtitle {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--text-sub);
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.45);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
  border-radius: 50px;
}

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

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

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ===========================
   Site Header
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  max-height: 44px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--accent);
}

.nav-cta-btn {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem !important;
  transition: background var(--transition) !important;
}

.nav-cta-btn:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
}

/* ===========================
   1. Hero / First View
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 68px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,0.88) 0%, rgba(26,42,74,0.80) 60%, rgba(26,42,74,0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-title-accent {
  color: #93c5fd;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.hero-tags li i {
  color: #93c5fd;
}

/* ===========================
   2. Pain Points
=========================== */
.pain {
  background: var(--gray-100);
}

.pain-list {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 48px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--navy);
  transition: box-shadow var(--transition), transform var(--transition);
}

.pain-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.pain-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.pain-item p {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  padding-top: 8px;
}

.pain-solution-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  text-align: center;
}

.pain-solution-box p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.pain-solution-box strong {
  font-weight: 800;
}

/* ===========================
   3. Solution (intro only)
=========================== */
.solution {
  background: var(--white);
  padding-bottom: 0;
}

.solution .section-padding {
  padding-bottom: 0;
}

/* ===========================
   4. Strengths
=========================== */
.strengths {
  background: var(--white);
  padding-top: 32px;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.strength-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

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

.strength-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.strength-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Arial', sans-serif;
}

.strength-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(26,42,74,0.25);
}

.strength-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 16px;
}

.strength-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.strength-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ===========================
   5. Services
=========================== */
.services {
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(26,42,74,0.2);
}

.service-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.services-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.services-note i {
  color: var(--accent);
}

/* ===========================
   6. Flow
=========================== */
.flow {
  background: var(--navy);
}

.flow .section-label {
  color: #93c5fd;
  background: rgba(147,197,253,0.15);
}

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

.flow-steps {
  max-width: 680px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: background var(--transition);
}

.flow-step:hover {
  background: rgba(255,255,255,0.1);
}

.flow-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.flow-step-content {
  flex: 1;
}

.flow-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-step-title i {
  color: #93c5fd;
}

.flow-step-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.flow-arrow {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  padding: 8px 0;
}

/* ===========================
   7. Profile
=========================== */
.profile {
  background: var(--white);
}

.profile-card {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.profile-image-wrap {
  flex-shrink: 0;
}

.profile-img {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.profile-info {
  flex: 1;
}

.profile-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.profile-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.profile-message {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.profile-licenses {
  margin-bottom: 24px;
}

.profile-licenses h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-licenses h4 i {
  color: var(--accent);
}

.profile-licenses ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-licenses li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.profile-licenses li i {
  color: var(--accent);
  font-size: 0.8rem;
}

.profile-philosophy {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}

.profile-philosophy i {
  color: var(--navy);
  opacity: 0.2;
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.profile-philosophy p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===========================
   8. FAQ
=========================== */
.faq {
  background: var(--gray-100);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-q-label,
.faq-a-label {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
}

.faq-q-label {
  background: var(--navy);
  color: var(--white);
}

.faq-a-label {
  background: rgba(37,99,235,0.1);
  color: var(--accent);
}

.faq-question p {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.faq-toggle {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--gray-200);
  background: rgba(37,99,235,0.02);
}

.faq-item.open .faq-answer {
  display: flex;
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-sub);
  line-height: 1.85;
  padding-top: 4px;
}

/* ===========================
   9. CTA Section
=========================== */
.cta-section {
  background: var(--white);
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(37,99,235,0.15);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary:hover {
  background: #f0f4ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.25);
}

.cta-contact-info {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.cta-contact-info p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-contact-info i {
  color: #93c5fd;
}

/* ===========================
   10. Contact Form
=========================== */
.contact {
  background: var(--gray-100);
}

.contact-form,
.contact-cf7-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  box-shadow: var(--shadow-md);
}

/* ===== CF7 フォーム専用スタイル ===== */

/* フォーム全体のレイアウト */
.contact-cf7-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* CF7 が各フィールドを <span class="wpcf7-form-control-wrap"> で囲むため
   inline → block にしてフル幅を確保する */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* CF7 が必ず付与する .wpcf7-form-control を直接ターゲット
   （class:form-input が効かない場合でも確実にスタイルが当たる） */
.contact-cf7-wrap .wpcf7-form-control:not([type="submit"]) {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  line-height: 1.6;
  box-sizing: border-box;
}

.contact-cf7-wrap .wpcf7-form-control:not([type="submit"]):focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.contact-cf7-wrap textarea.wpcf7-form-control {
  resize: vertical;
  min-height: 160px;
}

/* 送信ボタン */
.contact-cf7-wrap .wpcf7-submit {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  transition: background var(--transition), transform var(--transition);
}

.contact-cf7-wrap .wpcf7-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* 送信ボタンを中央揃え */
.contact-cf7-wrap .form-submit {
  text-align: center;
  padding-top: 8px;
}

/* 必須バッジ（CF7 独自スタイルを上書き） */
.contact-cf7-wrap .form-required {
  display: inline-block !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: #e53e3e !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em !important;
  border: none !important;
  vertical-align: middle !important;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

/* 送受信ステータスメッセージ */
.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-align: center;
  border: none !important;
}

.wpcf7-mail-sent-ok {
  background: #d1fae5;
  color: #065f46;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
  background: #fee2e2;
  color: #991b1b;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background: var(--navy-dark);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo .logo-img {
  height: 44px;
  width: auto;
  max-height: 44px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}

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

.footer-links a i {
  color: #93c5fd;
  font-size: 0.85rem;
}

.footer-map iframe {
  border-radius: var(--radius);
  display: block;
}

.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-privacy {
  margin-top: 6px;
  font-size: 0.85rem;
}

.footer-privacy a {
  color: #aaa;
  text-decoration: underline;
}

.footer-privacy a:hover {
  color: #fff;
}

/* ===========================
   任意バッジ
=========================== */
.form-optional {
  display: inline-block;
  background: #6c757d;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===========================
   LINE モーダル
=========================== */
.line-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 28px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.line-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
}

.line-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #06C755;
  margin-bottom: 16px;
}

.line-modal-title .fa-line {
  margin-right: 6px;
}

.line-modal-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}

.line-modal-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* ===========================
   Responsive: Tablet
=========================== */
@media (max-width: 1024px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-card {
    gap: 40px;
    padding: 40px;
  }
}

/* ===========================
   Responsive: Mobile
=========================== */
@media (max-width: 768px) {
  .sp-padding-b-none {
    padding-bottom: 0 !important;
  }
  .sp-padding-t-none {
    padding-top: 0 !important;
  }
  .section-padding {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .header-nav {
    display: none;
  }

  .hero-content {
    padding: 60px 24px;
  }

  .hero-tags {
    flex-direction: column;
    gap: 8px;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .pain-item {
    padding: 20px;
  }

  .pain-solution-box {
    padding: 24px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

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

  .flow-step {
    padding: 20px 24px;
    gap: 16px;
  }

  .profile-card {
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    gap: 32px;
  }

  .profile-img {
    width: 160px;
    height: 192px;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .contact-form,
  .contact-cf7-wrap {
    padding: 32px 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 16px 20px 20px;
  }
}
