/* ===================================
   沖縄県医療機関等支援事業 LP スタイル
   =================================== */

/* CSS変数定義 */
:root {
  --primary: #0066CC;
  --primary-dark: #004EA2;
  --primary-light: #E8F0FB;
  --secondary: #00A86B;
  --secondary-dark: #007A4D;
  --secondary-light: #E6F7F1;
  --accent: #E87B1E;
  --accent-dark: #C45E00;
  --accent-light: #FEF0E0;
  --okinawa: #1A9BD8;
  --okinawa-dark: #0E7AB0;

  --gray-50: #F8F9FA;
  --gray-100: #F0F2F5;
  --gray-200: #E4E8EE;
  --gray-300: #CDD4DF;
  --gray-400: #9AA4B2;
  --gray-500: #6C7A8D;
  --gray-600: #4A5568;
  --gray-700: #2D3748;
  --gray-800: #1A202C;
  --gray-900: #0F141A;

  --white: #FFFFFF;
  --text-main: #1A202C;
  --text-sub: #4A5568;
  --text-light: #718096;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: 0.25s ease;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

/* リセット */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* コンテナ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.pc-only { display: inline; }

/* ===================================
   ボタン
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,102,204,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,102,204,0.35);
}
.btn-outline {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-orange {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  font-size: 0.875rem;
  white-space: nowrap;
}
.btn-outline-orange:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===================================
   ヘッダー
   =================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pref-logo { height: 36px; width: auto; }
.header-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header-title-sub {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
}
.header-title-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.header-nav ul {
  display: flex;
  gap: 4px;
}
.header-nav ul li a {
  display: block;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.header-nav ul li a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #003D8A 0%,
    #005BBF 25%,
    #0071C5 45%,
    #0095C8 70%,
    #00B4CC 100%
  );
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,180,204,0.2) 0%, transparent 40%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,30,80,0.3), transparent);
}

/* 装飾パターン */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
  animation: rotateCircle 30s linear infinite;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.04);
  animation: rotateCircle 20s linear infinite reverse;
  z-index: 1;
}
@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 860px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.08em;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title-accent {
  color: #FFE066;
  position: relative;
}
.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   お知らせバナー
   =================================== */
.notice-banner {
  background: var(--primary-dark);
  color: var(--white);
  padding: 12px 0;
}
.notice-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.notice-label {
  flex-shrink: 0;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.notice-scroll {
  overflow: hidden;
  flex: 1;
}
.notice-items {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.notice-item {
  font-size: 0.875rem;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================================
   セクション共通
   =================================== */
.section {
  padding: 96px 0;
}
.section-gray {
  background: var(--gray-50);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--okinawa));
  border-radius: 2px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
  margin-top: 22px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ===================================
   事業概要
   =================================== */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.about-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.about-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
}
.card-blue { background: linear-gradient(135deg, #E8F0FB, #D0E3F7); }
.card-blue::before { background: var(--primary); }
.card-green { background: linear-gradient(135deg, #E6F7F1, #C7EBE0); }
.card-green::before { background: var(--secondary); }
.card-orange { background: linear-gradient(135deg, #FEF0E0, #FDE0BE); }
.card-orange::before { background: var(--accent); }

.about-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-blue .about-card-icon { background: var(--primary); color: var(--white); }
.card-green .about-card-icon { background: var(--secondary); color: var(--white); }
.card-orange .about-card-icon { background: var(--accent); color: var(--white); }

.about-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.card-blue .about-card-num { color: var(--primary-dark); }
.card-green .about-card-num { color: var(--secondary-dark); }
.card-orange .about-card-num { color: var(--accent-dark); }

.about-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
  line-height: 1.4;
}
.about-card-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-card-law {
  font-size: 0.72rem;
  color: var(--gray-500);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 12px;
}

/* 法令ボックス */
.law-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--primary-light);
  border: 1px solid rgba(0,102,204,0.2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.law-box-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.law-box-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.law-box-content ul li {
  font-size: 0.85rem;
  color: var(--text-sub);
  padding: 4px 0 4px 16px;
  position: relative;
}
.law-box-content ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===================================
   対象施設
   =================================== */
.target-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 28px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}
.tab-btn small { font-size: 0.75rem; font-weight: 400; }
.tab-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.tab-btn:hover:not(.active) {
  border-color: var(--gray-300);
  color: var(--gray-700);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.target-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.target-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.target-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--white);
}
.target-icon-blue { background: var(--primary); }
.target-icon-green { background: var(--secondary); }
.target-icon-orange { background: var(--accent); }

.target-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.target-item p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}
.target-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-both { background: var(--primary-light); color: var(--primary-dark); }
.badge-one { background: var(--secondary-light); color: var(--secondary-dark); }

.target-note {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #7D5A00;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.target-note i { color: #F59E0B; margin-top: 2px; flex-shrink: 0; }

/* ===================================
   給付金額
   =================================== */
.amount-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.amount-block-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.amount-block-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--white);
}
.badge-blue { background: var(--primary); }
.badge-green { background: var(--secondary); }
.badge-orange { background: var(--accent); }

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.amount-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.amount-table th, .amount-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--gray-200);
  vertical-align: middle;
}
.amount-table thead th {
  font-weight: 700;
  font-size: 0.82rem;
}
.amount-table th:first-child {
  background: var(--gray-700);
  color: var(--white);
}
.amount-table tbody tr:nth-child(even) td { background: var(--gray-50); }
.amount-table tbody tr:hover td { background: var(--primary-light); }

.th-blue { background: var(--primary); color: var(--white); text-align: center; }
.th-blue-light { background: #C8DCF5; color: var(--primary-dark); }
.th-green { background: var(--secondary); color: var(--white); text-align: center; }
.th-green-light { background: #B8E6D8; color: var(--secondary-dark); }
.th-orange { background: var(--accent); color: var(--white); }

.facility-name {
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}
.facility-name small { font-weight: 400; color: var(--gray-500); }
.amount-cell {
  text-align: center;
  font-weight: 600;
  color: var(--primary-dark);
}

.amount-info-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--accent-light);
  border: 1px solid rgba(232,123,30,0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.amount-info-box > i {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.amount-info-box > div {
  flex: 1;
  min-width: 200px;
}
.amount-info-box strong { font-size: 0.95rem; color: var(--accent-dark); }
.amount-info-box small { font-size: 0.82rem; color: var(--text-sub); }

/* 金額ハイライト */
.amount-highlight {
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 800;
}
.amount-highlight-orange {
  font-size: 1rem;
  color: var(--accent-dark);
  font-weight: 800;
}
.td-na {
  color: var(--gray-400);
  text-align: center;
  font-size: 0.85rem;
}

.amount-caution {
  background: #FFF0F0;
  border: 1px solid #FFCCCC;
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.amount-caution h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #C0392B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.amount-caution ul li {
  font-size: 0.875rem;
  color: var(--text-sub);
  padding: 5px 0 5px 20px;
  position: relative;
}
.amount-caution ul li::before {
  content: '●';
  font-size: 0.5rem;
  color: #E74C3C;
  position: absolute;
  left: 6px;
  top: 8px;
}

/* ===================================
   申請の流れ
   =================================== */
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-step {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
}
.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.flow-step-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}
.flow-step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--okinawa));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}
.flow-step h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 0.775rem;
  color: var(--text-sub);
  line-height: 1.7;
}
.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 1.2rem;
  color: var(--primary);
  opacity: 0.4;
  margin-top: 40px;
}
.flow-note {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-sub);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.flow-note i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ===================================
   必要書類
   =================================== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.docs-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.docs-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.docs-card-header {
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.docs-header-common { background: var(--gray-600); }
.docs-header-blue { background: var(--primary); }
.docs-header-green { background: var(--secondary); }
.docs-header-orange { background: var(--accent); }
.docs-list {
  padding: 16px 20px;
}
.docs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.docs-list li:last-child { border-bottom: none; }
.docs-list li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.docs-list small { display: block; font-size: 0.78rem; color: var(--gray-400); }

.docs-download {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--primary-light);
  border: 2px dashed rgba(0,102,204,0.3);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.docs-download-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}
.docs-download-content { flex: 1; }
.docs-download-content h4 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.docs-download-content p { font-size: 0.85rem; color: var(--text-sub); }

/* ===================================
   FAQ
   =================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question[aria-expanded="true"] { background: var(--primary-light); color: var(--primary-dark); }
.faq-q, .faq-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-q { background: var(--primary); color: var(--white); }
.faq-a { background: var(--secondary); color: var(--white); }
.faq-question > span:nth-child(2) { flex: 1; }
.faq-icon {
  transition: transform var(--transition);
  color: var(--gray-400);
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  display: none;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--gray-100);
}
.faq-answer.open { display: flex; }
.faq-answer p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; }

/* ===================================
   お問い合わせ
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  margin-bottom: 48px;
}
.contact-info-card, .contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3, .contact-form-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
}
.contact-info-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-info-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.6;
}
.contact-info-name small { font-weight: 400; color: var(--gray-500); font-size: 0.8rem; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item > i {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item > div strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.contact-info-item > div small { font-size: 0.78rem; color: var(--gray-400); }
.contact-tel {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.contact-tel:hover { color: var(--primary-dark); }

/* フォーム */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}
.required {
  background: #E53E3E;
  color: var(--white);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  padding: 48px 24px;
  color: var(--secondary);
}
.form-success i { font-size: 3rem; margin-bottom: 16px; }
.form-success h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; }

/* 関連リンク */
.related-links-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-links-title i { color: var(--primary); }
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.related-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-sub);
  transition: all var(--transition);
}
.related-link-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}
.related-link-item i {
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  width: 24px;
}
.related-link-item i.fa-file-pdf { color: #E53E3E; }
.related-link-item i.fa-file-excel { color: #22863A; }

/* ===================================
   フッター
   =================================== */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.footer-pref {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.footer-site-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-nav-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-nav-col ul li {
  margin-bottom: 8px;
}
.footer-nav-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-nav-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-law {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===================================
   トップへ戻るボタン
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,102,204,0.35);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,102,204,0.45);
}

/* ===================================
   アニメーション
   =================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 1024px) {
  .about-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }

  /* ヘッダー */
  .header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    padding: 16px;
  }
  .header-nav.open { display: block; }
  .header-nav ul { flex-direction: column; gap: 4px; }
  .header-nav ul li a { padding: 12px 16px; }
  .hamburger { display: flex; }

  /* ヒーロー */
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }

  /* 事業概要 */
  .about-cards { grid-template-columns: 1fr; }

  /* 対象施設 */
  .target-grid { grid-template-columns: 1fr; }
  .target-tabs { flex-direction: column; }
  .tab-btn { text-align: center; }

  /* 給付金 */
  .amount-block { padding: 24px 16px; }
  .amount-info-box { flex-direction: column; }

  /* 申請の流れ */
  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .flow-step { max-width: 100%; width: 100%; }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 0;
    padding: 0;
  }

  /* 必要書類 */
  .docs-grid { grid-template-columns: 1fr; }
  .docs-download { flex-direction: column; text-align: center; }

  /* お問い合わせ */
  .contact-grid { grid-template-columns: 1fr; }
  .related-links-grid { grid-template-columns: 1fr; }

  /* フッター */
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 48px 16px; }
  .amount-block { padding: 20px 14px; }
  .contact-info-card, .contact-form-card { padding: 24px 20px; }
  .footer-nav { grid-template-columns: 1fr; }
  .amount-block-title { font-size: 1rem; flex-wrap: wrap; }
}
