/*
Designed by En-Graphiction Templates
https://en-graphiction.com
*/

:root {
  /* カラー */
  --color-navy: #10233F;
  --color-navy-deep: #081527;
  --color-navy-light: #1E3F63;
  --color-steel: #4A7CB0;
  --color-accent: #F2871A;
  --color-accent-dark: #C96B0E;
  --color-accent-soft: #FDE7CF;
  --color-cream: #F7F5F0;
  --color-border: #E1DCD0;
  --color-text: #1C1F24;
  --color-text-light: #5E6470;
  --color-white: #FFFFFF;

  /* タイポグラフィ */
  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --fs-xs: 0.875rem;   /* 14px */
  --fs-sm: 0.9375rem;  /* 15px */
  --fs-base: 1rem;     /* 16px */
  --fs-md: 1.125rem;   /* 18px */
  --fs-lg: 1.25rem;    /* 20px */
  --fs-xl: 1.5rem;     /* 24px */
  --fs-2xl: 2rem;      /* 32px */
  --fs-3xl: 2.75rem;   /* 44px */

  --max-width: 1160px;

  /* 影・角丸 */
  --shadow-sm: 0 2px 8px rgba(16, 35, 63, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 35, 63, 0.12);
  --shadow-glow: 0 8px 24px rgba(242, 135, 26, 0.28);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
@media (min-width: 769px) {
	.large-screen_br {/*パソコンのみ改行*/
		display: block;
	}
}
/* ---------- スクロールで現れる要素 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: var(--fs-sm);
  font-weight: 500;
}

.nav-list a {
  position: relative;
  padding: 6px 2px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transition: right 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  right: 0;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--color-navy);
}

.nav-list a.is-active {
  font-weight: 700;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-navy);
  font-size: var(--fs-md);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--color-cream);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-tel:hover {
  background: var(--color-accent-soft);
  transform: translateY(-1px);
}

.header-tel i {
  font-size: var(--fs-lg);
  color: var(--color-accent);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 37, 63, 0.85) 0%, rgba(10, 25, 48, 0.92) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 100px 0 110px;
  text-align: center;
  overflow: hidden;
}

/* ブループリント風グリッド */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

/* ヒーローバッジ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: var(--fs-sm, 0.875rem);
  font-weight: 500;
  text-align: center;
  box-sizing: border-box;
}

/* アイコンが折り返しでずれないように固定 */
.hero-badge i {
  flex-shrink: 0;
}

/* スマホ向け微調整 (画面幅768px以下) */
@media (max-width: 768px) {
  .hero .hero-badge,
  .page-header .wrap .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    line-height: 1.4;
  }
  .page-header .hero h1,
  .hero .wrap h1 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1.35;
    margin-bottom: 16px;
  }
  .hero .page-header-lead,
  .hero .wrap p {
    font-size: clamp(0.8125rem, 3.5vw, 0.9375rem);
    line-height: 1.6;
    margin-bottom: 24px;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fade-up 0.7s ease 0.15s forwards;
}

.hero p {
  font-size: var(--fs-md);
  color: #C3D2E3;
  margin-bottom: 40px;
  opacity: 0;
  animation: fade-up 0.7s ease 0.25s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.7s ease 0.35s forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero p, .hero-buttons {
    animation: none;
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: var(--fs-base);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn i {
  font-size: var(--fs-lg);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(242, 135, 26, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  border: 1px solid var(--color-navy);
}

.btn-navy:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  color: var(--color-white);
}
/* ---------- 信頼バッジ帯 ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px;
  border-left: 1px solid var(--color-border);
}

.trust-item:first-child {
  border-left: none;
}

.trust-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  font-size: var(--fs-xl);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 50%;
}

.trust-item p {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-navy);
  text-align: left;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-cream);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-accent-dark);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--color-navy);
}

.section-head p {
  margin-top: 16px;
  color: var(--color-text-light);
  font-size: var(--fs-md);
}

/* ---------- サービスカード ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: var(--fs-2xl);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 50%;
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}

.service-card:hover .icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
}

/* ---------- 強みセクション ---------- */
.strength-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.strength-row:last-child {
  margin-bottom: 0;
}

.strength-row.reverse {
  direction: rtl;
}

.strength-row.reverse > * {
  direction: ltr;
}

.strength-photo {
  aspect-ratio: 4 / 3;
  background: var(--color-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  overflow: hidden;
}

.strength-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strength-text .number {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.strength-text h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.strength-text p {
  font-size: var(--fs-base);
  color: var(--color-text-light);
}

/* ---------- 経営理念 ---------- */
.philosophy-quote-box {
  margin: 0 auto -96px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.philosophy-quote-box i {
  font-size: var(--fs-xl);
}

.philosophy-quote-box p {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 2;
  color: var(--color-navy);
}
.philosophy-quote-box .service-grid p{
  font-family: initial;
  font-size: initial;
  font-weight: normal;
  color: initial;
}
.philosophy-quote-box .service-grid{
  grid-template-columns: repeat(3, 1fr);
  margin: 32px auto 0;
}

/* ---------- CTA帯 ---------- */
.cta-band {
  position: relative;
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(242, 135, 26, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-band p {
  color: #B9C8DA;
  font-size: var(--fs-md);
  margin-bottom: 36px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-navy-deep);
  color: #9FB0C4;
  padding: 64px 0 28px;
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: var(--fs-base);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-logo {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-agent-logo,
.footer-agent-text{
  display: inline-block;
  vertical-align: middle;
}
.footer-agent-logo {
  margin-top: 16px;
  max-width: 200px;
  border-radius: 6px;
  padding: 8px 12px 0px 0;
}
.footer-agent-text{
  color: rgba(255,255,255,1);
  padding: 24px 0 0;
}

.tac {
  text-align: center;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 24px;
  font-size: var(--fs-xs);
  color: #6E7F94;
}

.copyright i {
  margin-right: 4px;
  vertical-align: -1px;
}

.copyright a {
  color: #9FB0C4;
}

.copyright a:hover {
  color: var(--color-white);
}

/* ---------- 上に戻るボタン ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  font-size: var(--fs-lg);
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 14px 34px rgba(242, 135, 26, 0.42);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s;
  }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strength-row,
  .strength-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  :root {
    --fs-3xl: 2.25rem;
    --fs-2xl: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-left: none;
    border-top: 1px solid var(--color-border);
    justify-content: flex-start;
  }
  .trust-item:first-child {
    border-top: none;
  }
  .philosophy-quote-box{
    text-align: left;
  }
  .service-grid,
  .philosophy-quote-box .service-grid {
    grid-template-columns: 1fr;
  }
  .header-tel span.tel-text {
    display: none;
  }
  .header-tel {
    padding: 10px 14px;
  }
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }
}
/* ---------- 下層ページ共通ヘッダー ---------- */
.page-header {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-weight: 900;
  margin-top: 8px;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--color-steel);
  font-size: 15px;
}

/* ---------- サービス詳細カード ---------- */
.service-detail-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.service-detail-card.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.service-detail-card.reverse .service-detail-text {
  order: 2;
}

.service-detail-card.reverse .service-detail-photo {
  order: 1;
}

.service-number {
  font-size: 14px;
  font-weight: 900;
  color: var(--color-accent-dark);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.service-detail-text h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.service-detail-text p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.service-features {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-navy);
  padding: 20px 24px;
  border-radius: 6px;
}

.section-alt .service-features {
  background: var(--color-white);
}

.service-features h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.service-features ul {
  list-style: none;
}

.service-features li {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li i {
  color: var(--color-accent-dark);
  font-size: 18px;
}

.service-detail-photo {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  background: var(--color-cream);
}

.service-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- レスポンシブ (サービス詳細) ---------- */
@media (max-width: 768px) {
  .service-detail-card,
  .service-detail-card.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail-card.reverse .service-detail-text {
    order: 1;
  }

  .service-detail-card.reverse .service-detail-photo {
    order: 2;
  }

  .page-header h1 {
    font-size: 26px;
  }
}
/* ---------- 会社概要テーブル ---------- */
.about-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-white);
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table tr {
  border-bottom: 1px solid var(--color-border);
}

.about-table tr:last-child {
  border-bottom: none;
}

.about-table th {
  width: 24%;
  padding: 20px 24px;
  background: var(--color-cream);
  color: var(--color-navy);
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

.about-table td {
  padding: 20px 24px;
  color: var(--color-text);
  line-height: 1.8;
}

.about-table td a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- マップ ---------- */
.access-map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.access-map-container iframe {
  display: block;
}

@media (max-width: 768px) {
  .about-table th,
  .about-table td {
    display: block;
    width: 100%;
    padding: 16px 20px;
  }
  .about-table th {
    border-bottom: 1px solid var(--color-border);
  }
}

/* ---------- FAQ ---------- */
.section-faq {
  padding: 80px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  border-color: var(--color-navy, #1e293b);
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.07));
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--color-navy, #1e293b);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
  display: none;
}

/* ＋アイコンの回転 */
.faq-icon {
  font-size: 20px;
  color: var(--color-navy, #1e293b);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 400;
}

.faq-item.is-active .faq-icon {
  transform: rotate(45deg);
}

/* 高さのアニメーション */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  line-height: 1.8;
  color: var(--color-text, #334155);
  border-top: 1px solid var(--color-border, #e2e8f0);
  padding-top: 16px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item.is-active .faq-answer {
  opacity: 1;
  transform: translateY(0);
}
.grecaptcha-badge {
  bottom: 12% !important;
}
/* ---------- お問い合わせページ ---------- */
/* 必須バッジ */
.form-require-label {
  display: inline-block;
  background-color: #e53e3e;
  color: #ffffff;
  font-size: var(--fs-xs, 0.75rem);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

/* ヒーローバッジ調整 */
.hero-badge.contact-hero-badge {
  margin: 0 auto 16px;
  width: fit-content;
  display: block;
}

/* お電話お問い合わせボックス */
.contact-tel-box {
  max-width: 800px;
  margin: 0 auto 56px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-tel-box h3 {
  font-size: var(--fs-lg);
  color: var(--color-navy);
  margin-bottom: 8px;
}

.contact-tel-box .tel-box-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.contact-tel-box .tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--color-navy);
  text-decoration: none;
}

.contact-tel-box .tel-link .ti-phone {
  color: var(--color-accent);
}

.contact-tel-box .tel-box-hours {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-top: 8px;
}

/* フォームコンテナ＆注意書き */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-notice {
  margin-bottom: 32px;
  background: var(--color-cream);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.privacy-notice p {
  font-size: var(--fs-sm);
  color: var(--color-text);
  margin-bottom: 8px;
}

.privacy-notice a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}

/* フォームパーツ共通 */
.form-group {
  margin-bottom: 24px;
}

.form-group.form-group-lg {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: var(--fs-base);
  background: var(--color-white);
}

.form-textarea {
  line-height: 1.6;
}

/* 送信ボタン */
.btn-submit {
  border: none;
  cursor: pointer;
  padding: 16px 48px;
  font-size: var(--fs-md);
}
/* ---------- エラーページ ---------- */
.error-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.error-message-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.error-message-box .error-icon {
  font-size: 48px;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.error-message-box h2 {
  font-size: var(--fs-xl);
  color: var(--color-navy);
  margin-bottom: 24px;
}

.error-message-box .error-text {
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 24px;
  text-align: left;
}

.error-message-box .error-note {
  line-height: 1.8;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  background: var(--color-cream);
  padding: 16px;
  border-radius: 6px;
  text-align: left;
}

.error-message-box .error-note a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}
/* アニメーションディレイ共通クラス */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
