/*
Theme Name: booster_villa_origin
Author: Crossroad Co., Ltd.
*/
@charset "utf-8";

:root {
  --brand-villa: #3B823E;
  --brand-villa-dark: #2a5e2d;
  --brand-villa-light: rgba(59, 130, 62, 0.08);
  --brand-orange: #E65C00;
  --brand-orange-light: rgba(230, 92, 0, 0.06);
  --bg-primary: #FFFFFF;
  --bg-warm: #fcf4ea;
  --bg-warm-green: rgba(59, 130, 62, 0.04);
  --text-main: #333333;
  --text-muted: #666666;
  --color-buyer: #2c5282;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

.small-text {
  font-size: 15px;
}

/* ボタン */
.btn-villa {
  background-color: var(--brand-villa);
  color: #fff;
  border: 2px solid var(--brand-villa);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 62, 0.2);
}

.btn-villa:hover {
  background-color: #fff;
  color: var(--brand-villa);
}

.btn-villa-outline {
  background-color: #fff;
  color: var(--brand-villa);
  border: 2px solid var(--brand-villa);
  transition: all 0.3s ease;
}

.btn-villa-outline:hover {
  background-color: var(--brand-villa);
  color: #fff;
}

/* 見出し */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* セクション説明文 */
.section-subtitle {
  font-size: 17px;
  color: #555;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-lead {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
}

@media (max-width: 767.98px) {
  .sp-left {
    text-align: left !important;
  }
}

/* ===== ヘッダー ===== */
.site-header {
  border-bottom: 1px solid #eaeaea;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10000 !important;
}

.header-logo-img {
  height: 28px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.custom-logo {
  height: auto;
  width: 130px;
  object-fit: contain;
}

.site-header .custom-logo {
  position: relative;
  z-index: 9999;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav li {
  margin: 0;
  padding: 0;
}

.header-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  white-space: nowrap;
  display: block;
}

.header-nav a:hover {
  color: var(--brand-villa);
}

.btn-header-cta {
  background: var(--brand-villa) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid var(--brand-villa);
}

.btn-header-cta:hover {
  color: var(--brand-villa) !important;
  background: #fff !important;
}

.btn-header-dl {
  background: #fff !important;
  color: var(--brand-villa) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid var(--brand-villa);
  transition: all 0.3s;
}

.btn-header-dl:hover {
  background: var(--brand-villa) !important;
  color: #fff !important;
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #fff;
  z-index: 9998;
  padding: 24px;
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

/* アニメーション付きハンバーガーボタン */
.hamburger-btn {
  width: 48px;
  height: 48px;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 9999;
}

.hamburger-btn span {
  position: absolute;
  left: 10px;
  width: 28px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger-btn span:nth-child(1) {
  top: 14px;
}

.hamburger-btn span:nth-child(2) {
  top: 22px;
}

.hamburger-btn span:nth-child(3) {
  top: 30px;
}

.hamburger-btn.is-active span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.mobile-menu-nav li {
  border-bottom: 1px solid #eee;
}

.mobile-menu-nav a {
  display: block;
  padding: 16px 0;
  color: var(--text-main);
  font-weight: 500;
  font-size: 17px;
}

/* ===== ファーストビュー ===== */
.home main.site-main {
  overflow-x: hidden;
}
.fv-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-warm-green);
}

.fv-text-area {
  position: relative;
  z-index: 2;
  padding: 48px 0;
  color: var(--text-main);
}

.fv-badge {
  display: inline-block;
  background: rgba(59, 130, 62, 0.12);
  color: var(--brand-villa);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 62, 0.25);
}

.fv-heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--brand-villa-dark);
}

.fv-text-area p {
  font-weight: 500;
}

.fv-image-area {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: url('img/villa_fv_image.jpg') no-repeat center center;
  background-size: cover;
}

.fv-image-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 140px;
  background: linear-gradient(to right, rgba(245, 248, 243, 1) 0%, rgba(245, 248, 243, 0) 100%);
}

@media (max-width: 991.98px) {
  .fv-section {
    flex-direction: column;
    min-height: auto;
    background: var(--bg-warm-green);
  }

  .fv-image-area {
    position: relative;
    width: 100%;
    height: 260px;
  }

  .fv-image-area::before {
    width: 100%;
    height: 50px;
    top: auto;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(245, 248, 243, 1) 0%, rgba(245, 248, 243, 0) 100%);
  }

  .fv-text-area {
    padding: 24px 0 40px;
  }
}

/* ===== ギャップセクション ===== */
.gap-section {
  background-color: #F8F0E5;
  padding: 5rem 0;
}

.gap-seller {
  background: linear-gradient(135deg, #e8f0e4 0%, #f0f5ef 100%);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 2px solid #b8d5b1;
}

.gap-seller h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--brand-villa-dark);
}

.gap-seller-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gap-seller-list li {
  padding: 10px 16px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

.gap-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.gap-icon-green {
  background: transparent;
  border: 2px solid var(--brand-villa);
  color: var(--brand-villa);
}

.gap-icon-blue {
  background: transparent;
  border: 2px solid var(--color-buyer);
  color: var(--color-buyer);
}

/* 中央ギャップ表示 */
.gap-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gap-arrow-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.gap-both-arrow {
  width: 160px;
  height: auto;
}

.gap-crack-img {
  width: 70px;
  height: auto;
}

.gap-label {
  font-size: 26px;
  font-weight: 900;
  color: #cc3333;
  letter-spacing: 2px;
  margin-top: 8px;
}

.gap-sublabel {
  font-size: 16px;
  font-weight: 700;
  color: #cc3333;
  text-align: center;
  line-height: 1.4;
}

/* 購入検討者カード（強調） */
.gap-buyer {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--color-buyer);
}

.gap-buyer h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--color-buyer);
}

/* 吹き出しアイテム */
.bubble-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble-item {
  position: relative;
  background: #edf2f7;
  border: 1px solid #cbd5e0;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-buyer);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bubble-item::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #edf2f7;
}

.bubble-item::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 19px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #cbd5e0;
}

.thinking-customer-img {
  max-width: 180px;
  filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.1));
}

@media (min-width: 992px) {
  .thinking-customer-pc {
    position: absolute;
    bottom: -70px;
    right: -30px;
    z-index: 3;
  }
}

@media (max-width: 991.98px) {
  .gap-both-arrow {
    transform: rotate(90deg);
    width: 120px;
    margin: 40px 0;
  }

  .gap-crack-img {
    width: 70px;
  }

  .gap-sublabel {
    display: none;
  }

  .thinking-customer-pc {
    display: none !important;
  }
}

/* ===== boosterが支援すること（タイムライン） ===== */
.timeline-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  padding: 0;
}

/* PC中央線 */
@media (min-width: 992px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand-villa-light), var(--brand-villa), var(--brand-villa-light));
    transform: translateX(-50%);
  }
}

/* SP左端線 */
@media (max-width: 991.98px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand-villa-light), var(--brand-villa), var(--brand-villa-light));
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  min-height: 60px;
}

@media (min-width: 992px) {
  .timeline-item {
    min-height: 120px;
  }
}

.timeline-item:last-child {
  margin-bottom: 0;
  min-height: auto;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  background: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  position: absolute;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--brand-orange-light);
}

@media (min-width: 992px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .timeline-content {
    width: 42%;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 10px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    padding-right: 10px;
    text-align: right;
  }

  .timeline-item:nth-child(even) .timeline-content h3 {
    justify-content: flex-end;
  }
}

@media (max-width: 991.98px) {
  .timeline-dot {
    left: -4px;
    top: 0;
  }

  .timeline-content {
    padding-left: 64px;
  }
}

.timeline-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-villa-dark);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .timeline-content h3 {
    font-size: 1.35rem;
  }
}

.timeline-content .tl-icon {
  font-size: 1.5rem;
  color: #67c05e;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .timeline-content .tl-icon {
    font-size: 2.2rem;
  }
}

.timeline-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 0;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .timeline-content p {
    font-size: 17px;
  }
}

/* ===== 具体的なサポートの一例 ===== */
.action-section {
  background: linear-gradient(135deg, #3B823E 0%, #2a5e2d 60%, #1e4a21 100%);
  border-radius: 32px;
}

@media (max-width: 767.98px) {
  .action-section {
    border-radius: 16px;
  }
}

.action-section .section-title,
.action-section .section-subtitle {
  color: #fff;
}

.action-section .section-subtitle {
  font-size: 17px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .action-section .section-subtitle {
    font-size: 18px;
  }
}

.action-card {
  background: #fff;
  border-radius: 12px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  border: none;
  display: flex;
  flex-direction: column;
}

.action-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 12px;
}

.action-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.action-card-body h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #2C3643;
}

.action-card-body p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

@media (min-width: 1200px) {
  .action-card-body h4 {
    min-height: 81px;
  }

  .action-card-body p {
    min-height: 104px;
  }
}

.action-effect-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-villa);
  border: 1.5px solid var(--brand-villa);
  border-radius: 50px;
  padding: 3px 12px;
  margin: 0.6rem auto;
}

.action-change {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-villa);
  line-height: 1.6;
  background: var(--brand-villa-light);
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

/* ===== 4つの成果 ===== */
.results-section {
  background-color: #f5f9f3;
}

.result-list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2rem;
}

.result-list-item:last-child {
  margin-bottom: 0;
}

.result-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--brand-villa);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-text-area {
  flex: 1;
}

.result-text-area h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-villa-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.result-text-area p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0;
}

.results-image {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

@media (min-width: 992px) {
  .results-image {
    max-width: 300px;
  }
}

/* ===== なぜboosterか ===== */
.profile-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  margin-top: 1.5rem;
}

.profile-img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  aspect-ratio: 3/4;
  object-position: center top;
}

.profile-sub-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-villa-dark);
  margin-bottom: 0.5rem;
  padding-left: 12px;
  border-left: 4px solid var(--brand-villa);
}

/* ===== 価値をつくる ===== */
.value-section {
  background-color: var(--bg-primary);
}

.value-box {
  background: linear-gradient(135deg, #e8f0e4 0%, var(--bg-warm) 100%);
  border-radius: 24px;
  padding: 4rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
  .value-box {
    padding: 2.5rem 1.5rem;
  }
}

.value-fig-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-villa-dark);
  text-align: center;
  margin-top: 1rem;
  border: 1.5px solid var(--brand-villa);
  border-radius: 50px;
  padding: 6px 20px;
  display: inline-block;
}

.value-step-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.value-step-item {
  background: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--brand-villa-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
  position: relative;
  font-size: 0.95rem;
}

.value-step-arrow {
  text-align: center;
  color: var(--brand-villa);
  font-size: 1rem;
  line-height: 1;
}

.value-step-item:last-child {
  background: var(--brand-villa);
  color: #fff;
  font-size: 1.05rem;
  padding: 14px 18px;
  border: 2px solid var(--brand-villa);
  box-shadow: 0 8px 20px rgba(59, 130, 62, 0.25);
  font-weight: 700;
}

/* ===== 実績 ===== */
.case-section {
  background-color: var(--brand-villa-dark);
}

/* ===== CTA ===== */
.cta-section {
  padding: 4rem 0;
  background-color: var(--bg-primary);
}

.cta-box {
  background: linear-gradient(135deg, #183e1a 0%, #0d210e 100%);
  border-radius: 32px;
  padding: 4.5rem 2rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
  .cta-box {
    padding: 3.5rem 1.5rem;
    border-radius: 20px;
  }
}

.btn-cta-main {
  background: var(--brand-villa);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(59, 130, 62, 0.4);
  border: 2px solid #55a859;
  text-decoration: none;
}

.btn-cta-main:hover {
  background: #469c4a;
  color: #fff;
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  transition: all 0.3s;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

@media (max-width: 767.98px) {
  .btn-cta-main {
    font-size: 1.15rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .btn-cta-outline {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
}

.cta-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 2.5rem;
}

/* 中間CTA（成果セクション直下 - 標準サイズ版） */
.cta-inline {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.cta-inline h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.cta-inline-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-cta-inline-main {
  background: var(--brand-villa);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--brand-villa);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(59, 130, 62, 0.2);
}

.btn-cta-inline-main:hover {
  background: #469c4a;
  color: #fff;
}

.btn-cta-inline-outline {
  background: #fff;
  color: var(--brand-villa);
  border: 2px solid var(--brand-villa);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-cta-inline-outline:hover {
  background: var(--brand-villa);
  color: #fff;
}

.cta-inline-enhanced {
  margin-top: 4rem;
  padding-top: 3rem;
}

.cta-inline-enhanced h3 {
  font-size: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

.cta-inline-enhanced h3::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
}

/* ===== 実績用レスポンシブアイテム ===== */
.case-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  text-align: left;
}

.case-contact-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.case-contact-text {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 2px;
}

.case-card-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.case-card-icon {
  margin-right: 1rem;
  font-size: 2rem;
  color: var(--brand-villa);
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.case-card-text {
  font-weight: 700;
  font-size: 1.05rem;
}

@media (min-width: 1200px) {
  .case-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    margin-bottom: 0;
    height: 100%;
  }

  .case-contact-icon {
    margin-right: 0;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
  }

  .case-contact-text {
    margin-top: 0;
  }

  .case-card-item {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 12px;
  }

  .case-card-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* ===== フッター ===== */
.site-footer {
  background-color: #2C3643;
  color: #fff;
  padding: 60px 0 30px;
  overflow-x: hidden;
}

.site-footer p {
  color: #fff;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav {
  list-style: none;
  padding-left: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #fff;
  font-size: 16px;
  transition: all 0.3s;
}

.footer-nav a:hover {
  opacity: 0.75;
}

.footer-sub-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-sub-nav a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 32px;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* AOSアニメーションの上書き（移動幅を30pxに変更） */
[data-aos="fade-up"] {
  transform: translate3d(0, 30px, 0);
}
@media(min-width:768px){
  .footer-nav a{
    font-size: 17px;
  }
}
/* ==============================================
  404 Page
============================================== */
.error-section {
  padding: 100px 0 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #F4F6F8;
}

.error-wrapper {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 80px 48px 100px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  text-align: center;
}

.error-404-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Inter", sans-serif;
  font-size: clamp(8rem, 16vw, 14rem);
  font-weight: 900;
  color: var(--brand-villa);
  opacity: 0.05;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.error-content {
  position: relative;
  z-index: 1;
}

.error-heading {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.error-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 2.0;
  margin-bottom: 32px;
}

.sitemap-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-orange);
  transition: all 0.2s ease;
  margin-bottom: 64px;
}

.sitemap-link:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.error-nav-area {
  max-width: 900px;
  margin: 0 auto;
}

.btn-outline-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  /* 通常時：白文字 */
  background-color: var(--brand-villa);
  /* 通常時：緑背景 */
  border: 2px solid var(--brand-villa);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  text-align: left;
  line-height: 1.4;
}

.btn-outline-main i {
  font-size: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.btn-outline-main:hover {
  background-color: #FFFFFF;
  /* ホバー時：白背景 */
  color: var(--brand-villa);
  /* ホバー時：緑文字 */
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(59, 130, 62, 0.2);
}

.btn-outline-main:hover i {
  transform: translateX(4px);
}

@media (max-width: 767.98px) {
  .error-section {
    padding: 40px 0 80px;
  }

  .error-wrapper {
    padding: 56px 24px 64px;
    border-radius: 16px;
  }

  .error-404-bg {
    top: 5%;
  }

  .error-text {
    font-size: 15px;
  }

  .sitemap-link {
    margin-bottom: 48px;
  }

  .btn-outline-main {
    padding: 16px 20px;
    font-size: 14px;
  }
}