/* =========================================================
   青空あみゅーず -共通スタイルシート（POP verison）
   ========================================================= */

:root {
  --sky-blue: #29c5f6;
  --sky-blue-light: #e3f7ff;
  --sky-blue-dark: #0f8fd6;
  --deep-navy: #1a3a5c;
  --sunny-orange: #ff9130;
  --sunny-orange-dark: #ff7a00;
  --festival-red: #ff4d6d;
  --festival-red-dark: #f7256b;
  --cheerful-yellow: #ffd23f;
  --grass-green: #3ddc97;
  --grape-purple: #9b6bff;
  --white: #ffffff;
  --gray-50: #f7fafc;
  --gray-100: #eef3f7;
  --gray-300: #cbd9e2;
  --gray-500: #6b8299;
  --gray-700: #3a4f63;
  --gray-900: #16283c;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 0 rgba(26, 58, 92, 0.08), 0 20px 40px rgba(26, 58, 92, 0.14);
  --shadow-card: 5px 5px 0 rgba(26, 58, 92, 0.10);
  --shadow-pop: 6px 6px 0 rgba(26, 58, 92, 0.9);
  --font-main: 'Noto Sans JP', 'Zen Maru Gothic', sans-serif;
  --font-pop: 'Baloo 2', 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, .btn, .brand, .nav-menu a, .footer-brand, .step-item h4,
.faq-question, .section-title, .page-hero h1, .hero-copy h1, .cta-band h2 {
  font-family: var(--font-pop);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.section-pad {
  padding: 90px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }
}

/* ---------- 背景ドット装飾 ---------- */
body {
  background-image: radial-gradient(var(--sky-blue-light) 2px, transparent 2px);
  background-size: 26px 26px;
  background-position: -4px -4px;
}

/* ---------- 見出し共通 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark));
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 rgba(26, 58, 92, 0.18);
  transform: rotate(-2deg);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--deep-navy);
  line-height: 1.5;
  margin-bottom: 16px;
  position: relative;
}

.section-sub {
  color: var(--gray-700);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 760px;
  font-weight: 500;
}

.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 38px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: all 0.2s cubic-bezier(.34,1.56,.64,1);
  border: 3px solid var(--deep-navy);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sunny-orange), var(--festival-red));
  color: var(--white);
  box-shadow: 5px 5px 0 var(--deep-navy);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--deep-navy);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--deep-navy);
}

.btn-secondary {
  background: var(--white);
  color: var(--sky-blue-dark);
  border: 3px solid var(--sky-blue);
  box-shadow: 5px 5px 0 var(--sky-blue);
}

.btn-secondary:hover {
  background: var(--sky-blue-light);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--sky-blue);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--sky-blue);
}

.btn-block {
  width: 100%;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--deep-navy);
}

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

.brand {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--deep-navy);
  flex-shrink: 0;
}

.brand > span {
  white-space: nowrap;
  line-height: 1.15;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cheerful-yellow);
  box-shadow: 2px 2px 0 rgba(26,58,92,0.25);
}

.brand small {
  display: block;
  margin-top: 1px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sky-blue-dark);
  letter-spacing: 0.1em;
  font-family: var(--font-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--cheerful-yellow);
  color: var(--deep-navy);
  transform: rotate(-2deg);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta .btn {
  padding: 11px 22px;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0 var(--deep-navy);
}
.header-cta .btn-secondary {
  box-shadow: 3px 3px 0 var(--sky-blue);
}

.header-cta .btn:hover {
  transform: translate(-1px,-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--deep-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 980px) {
  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 70vh;
    overflow-y: auto;
    border-bottom: 3px solid var(--deep-navy);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-menu a {
    padding: 14px 16px;
    border-bottom: 1px dashed var(--gray-300);
    border-radius: 0;
  }
  .header-cta .btn-secondary {
    display: none;
  }
  .header-cta .btn-primary {
    padding: 7px 14px;
    font-size: 0.78rem;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 64px 0 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg,
    var(--sunny-orange) 0 30px,
    var(--cheerful-yellow) 30px 60px,
    var(--sky-blue) 60px 90px,
    var(--festival-red) 90px 120px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--cheerful-yellow);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--cheerful-yellow);
  letter-spacing: 0.05em;
  font-family: var(--font-pop);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cheerful-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .brand {
    font-size: 1.05rem;
    gap: 8px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
}

/* ---------- パンくず / ページヘッダー ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--sky-blue-light) 0%, #fff9e8 100%);
  padding: 76px 0 66px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.page-hero::before {
  width: 220px;
  height: 220px;
  background: var(--cheerful-yellow);
  top: -90px;
  left: -60px;
  opacity: 0.55;
}

.page-hero::after {
  width: 260px;
  height: 260px;
  background: var(--sunny-orange);
  bottom: -130px;
  right: -80px;
  opacity: 0.3;
}

.page-hero .breadcrumb {
  font-size: 0.88rem;
  color: var(--sky-blue-dark);
  margin-bottom: 18px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ---------- カード共通 ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 3px solid var(--deep-navy);
  padding: 32px;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease;
}

.card:hover {
  transform: translate(-3px, -5px) rotate(-1deg);
  box-shadow: 8px 10px 0 rgba(26, 58, 92, 0.18);
}

.grid {
  display: grid;
  gap: 28px;
}

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

@media (max-width: 980px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ---------- 3列固定グリッド（スマホでも横並びを維持） ---------- */
.grid-3-fixed {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px;
  width: 100%;
}

.grid-3-fixed > div {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 620px) {
  .grid-3-fixed {
    gap: 8px !important;
  }
  .grid-3-fixed .icon-circle {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .grid-3-fixed p {
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: keep-all;
  }
}

@media (max-width: 400px) {
  .grid-3-fixed {
    gap: 5px !important;
  }
  .grid-3-fixed .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    border-width: 2px;
    margin-bottom: 6px;
  }
  .grid-3-fixed p {
    font-size: 0.66rem;
  }
}

/* ---------- CTA帯 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--sky-blue) 0%, var(--grape-purple) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--deep-navy);
  box-shadow: 6px 6px 0 rgba(26,58,92,0.5);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  top: -140px;
  right: -80px;
}

.cta-band::after {
  content: "🎉";
  position: absolute;
  font-size: 3rem;
  opacity: 0.35;
  bottom: -10px;
  left: 24px;
  transform: rotate(-15deg);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-band p {
  opacity: 0.95;
  margin-bottom: 30px;
  font-weight: 500;
}

.cta-band .cta-buttons {
  justify-content: center;
}

.cta-band .btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  box-shadow: 5px 5px 0 rgba(255,255,255,0.5);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cta-band .btn-primary {
  border-color: var(--white);
}

@media (max-width: 620px) {
  .cta-band {
    padding: 44px 24px;
  }
}

/* ---------- 強調フレーズ（FC加盟ページ「なぜ今このビジネスか」） ---------- */
.voice-quote {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.voice-quote span {
  display: inline-block;
  font-family: var(--font-pop);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--white);
  text-shadow: 3px 3px 0 rgba(26, 58, 92, 0.35);
  letter-spacing: 0.02em;
}

.voice-quote span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cheerful-yellow);
  margin-right: 12px;
  margin-bottom: 2px;
  box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.3);
}

@media (max-width: 620px) {
  .voice-quote span {
    font-size: 1.2rem;
  }
}

/* ---------- テーブル ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--deep-navy);
  font-size: 0.92rem;
}

.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 2px dashed var(--gray-100);
}

.compare-table thead th {
  background: var(--deep-navy);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-pop);
}

.compare-table tbody tr:nth-child(even) {
  background: var(--sky-blue-light);
}

.compare-table td.highlight {
  color: var(--festival-red-dark);
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll .compare-table {
  min-width: 640px;
}

/* ---------- ステップ ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  counter-reset: step;
}

.step-item {
  position: relative;
  background: var(--white);
  border: 3px solid var(--deep-navy);
  border-radius: var(--radius-md);
  padding: 36px 18px 24px;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(26,58,92,0.12);
  transition: transform 0.2s ease;
  flex: 1 1 180px;
  max-width: 210px;
  margin: 14px 6px;
}

.step-item:nth-child(4n+1) { transform: rotate(-1.5deg); }
.step-item:nth-child(4n+3) { transform: rotate(1.5deg); }
.step-item:hover { transform: translateY(-4px) rotate(0deg); }

/* ---------- ステップ間の矢印 ---------- */
.step-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sunny-orange), var(--festival-red));
  border-radius: 50%;
  border: 3px solid var(--deep-navy);
  font-size: 1.15rem;
  box-shadow: 3px 3px 0 rgba(26,58,92,0.18);
  animation: arrow-pulse 1.6s ease-in-out infinite;
  margin: 14px 2px;
}

@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media (max-width: 980px) {
  .steps { flex-direction: column; }
  .step-item { width: 100%; max-width: 420px; margin: 16px auto; }
  .step-arrow + .step-item { margin-top: 34px; }
  .step-arrow {
    margin: 4px auto;
    animation-name: arrow-pulse-vertical;
    transform: rotate(90deg);
  }
}

/* ---------- お問い合わせフォーム ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px solid var(--deep-navy);
  box-shadow: var(--shadow-soft);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 620px) {
  .contact-form {
    padding: 28px 18px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 400px) {
  .contact-form {
    padding: 22px 14px;
  }
}

.form-row {
  margin-bottom: 26px;
}

.form-row label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.4;
}

.form-row label .required {
  color: var(--festival-red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  background: #ffe3e9;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.form-row label .optional {
  color: var(--gray-500);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--gray-100);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--gray-900);
  padding: 15px 16px;
  border: 3px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  min-height: 52px;
}

.form-row select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3a5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 46px;
  cursor: pointer;
}

.form-row textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.7;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sky-blue);
  background: var(--white);
}

@media (max-width: 620px) {
  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="tel"],
  .form-row select,
  .form-row textarea {
    padding: 14px 14px;
  }
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 700px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-submit-area {
  text-align: center;
  margin-top: 36px;
}

.form-submit-area .btn {
  min-height: 56px;
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .form-submit-area .btn {
    padding: 16px 24px;
    font-size: 1rem;
  }
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 16px;
  text-align: center;
  line-height: 1.7;
}

.form-status {
  display: none;
  text-align: center;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-status.success {
  display: block;
  background: #e4faf1;
  color: #0f9d68;
  border: 2px solid #0f9d68;
}

.form-status.error {
  display: block;
  background: #ffe9ec;
  color: var(--festival-red-dark);
  border: 2px solid var(--festival-red-dark);
}

@media (max-width: 480px) {
  #contact-form-section.section-pad {
    padding: 40px 0;
  }
}

@keyframes arrow-pulse-vertical {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(5px); }
}

.step-item .step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sunny-orange), var(--festival-red));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--deep-navy);
  font-family: var(--font-pop);
}

.step-item h4 {
  margin-top: 12px;
  color: var(--deep-navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 3px solid var(--deep-navy);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(26,58,92,0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--deep-navy);
  gap: 16px;
}

.faq-question .q-mark {
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark));
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  font-family: var(--font-pop);
  border: 2px solid var(--deep-navy);
}

.faq-question .icon {
  transition: transform 0.25s ease;
  color: var(--festival-red-dark);
  font-size: 1.1rem;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  padding: 0 24px 22px 68px;
  max-height: 400px;
}

.faq-answer p {
  color: var(--gray-700);
  font-size: 0.92rem;
}

/* ---------- バッジ / アイコン円 ---------- */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 3px solid var(--deep-navy);
  box-shadow: 3px 3px 0 rgba(26,58,92,0.2);
}

.icon-circle.orange {
  background: linear-gradient(135deg, var(--sunny-orange), var(--festival-red));
}

.icon-circle.yellow {
  background: linear-gradient(135deg, var(--cheerful-yellow), var(--sunny-orange));
}

/* ---------- ヒーロー(TOP用) ---------- */
.hero {
  position: relative;
  padding: 70px 0 110px;
  background: linear-gradient(180deg, #eaf8ff 0%, #fffbea 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--cheerful-yellow) 8px, transparent 9px),
    radial-gradient(circle, var(--festival-red) 6px, transparent 7px),
    radial-gradient(circle, var(--sky-blue) 7px, transparent 8px);
  background-size: 340px 340px, 260px 260px, 300px 300px;
  background-position: 5% 15%, 90% 25%, 40% 85%;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  display: inline-block;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--festival-red), var(--sunny-orange));
  padding: 8px 20px;
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(26,58,92,0.2);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  color: var(--deep-navy);
  line-height: 1.35;
  margin-bottom: 22px;
}

.hero-copy h1 span {
  color: var(--sky-blue-dark);
  position: relative;
  background: linear-gradient(transparent 60%, var(--cheerful-yellow) 60%);
}

.hero-copy p {
  color: var(--gray-700);
  font-size: 1.08rem;
  margin-bottom: 34px;
  max-width: 520px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--white);
  outline: 3px solid var(--deep-navy);
}

/* ---------- ヒーロー画像スライドショー（クロスフェード） ---------- */
.hero-slideshow {
  position: relative !important;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--white);
  outline: 3px solid var(--deep-navy);
}

.hero-slideshow img.hero-slideshow-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0 !important;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.hero-slideshow img.hero-slideshow-img.is-active {
  opacity: 1 !important;
}

.hero-visual .float-badge {
  position: absolute;
  background: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 rgba(26,58,92,0.3);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--deep-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 3px solid var(--deep-navy);
  animation: float-bob 3s ease-in-out infinite;
}

.hero-visual .badge-top {
  top: -20px;
  left: -24px;
  transform: rotate(-4deg);
}

.hero-visual .badge-bottom {
  bottom: -24px;
  right: -18px;
  transform: rotate(3deg);
  animation-name: float-bob-2;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-delay: 1.4s;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
}

@keyframes float-bob-2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy p {
    max-width: none;
  }
}

/* ---------- 雲装飾 ---------- */
.cloud-deco {
  position: absolute;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- ユーティリティ ---------- */
.bg-soft {
  background: var(--gray-50);
}

.bg-sky {
  background: var(--sky-blue-light);
  position: relative;
}

.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.tag-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--sky-blue-light);
  color: var(--sky-blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  border: 2px solid var(--sky-blue);
  font-family: var(--font-pop);
}

.divider-wave {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---------- スクロールアニメーション ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- レスポンシブ全般見直し ---------- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 車両ページ：特長セクション ---------- */
/* PC表示：セクションによって画像とテキストの左右を入れ替える（デザインのアクセント） */
.feature-block-reverse .feature-text {
  order: 2;
}
.feature-block-reverse .feature-image {
  order: 1;
}

/* モバイル・タブレット表示：どのセクションでも必ず「説明文が先→写真が後」の順で縦並び表示 */
@media (max-width: 980px) {
  .feature-block .feature-text {
    order: 1 !important;
  }
  .feature-block .feature-image {
    order: 2 !important;
    margin-top: 24px;
  }
}

/* ---------- お知らせ（NEWS）セクション ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 3px solid var(--deep-navy);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: 4px 4px 0 rgba(26, 58, 92, 0.12);
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s ease;
  color: inherit;
}

a.news-item {
  cursor: pointer;
}

a.news-item:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 7px 0 rgba(26, 58, 92, 0.18);
}

.news-date {
  flex: 0 0 auto;
  font-family: var(--font-pop);
  font-weight: 700;
  color: var(--sky-blue-dark);
  font-size: 0.92rem;
  min-width: 108px;
}

.news-category {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-pop);
}

.news-category.cat-info { background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark)); }
.news-category.cat-event { background: linear-gradient(135deg, var(--sunny-orange), var(--festival-red)); }
.news-category.cat-media { background: linear-gradient(135deg, var(--grape-purple), var(--festival-red-dark)); }
.news-category.cat-update { background: linear-gradient(135deg, var(--cheerful-yellow), var(--sunny-orange)); color: var(--deep-navy); }

.news-title {
  flex: 1 1 auto;
  font-size: 0.96rem;
  color: var(--gray-900);
  font-weight: 500;
  line-height: 1.6;
}

.news-empty {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.92rem;
  padding: 30px 0;
}

@media (max-width: 620px) {
  .news-item {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 16px 18px;
  }
  .news-date {
    min-width: auto;
    font-size: 0.82rem;
  }
  .news-title {
    flex: 1 1 100%;
    font-size: 0.9rem;
  }
}

/* ---------- ホバー時のアイコンぷるん演出 ---------- */
.card:hover .icon-circle {
  animation: wiggle 0.5s ease;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg) scale(1.06); }
  75% { transform: rotate(8deg) scale(1.06); }
}
