/* ==========================================================================
   construction-lp07 ｜ しまね結い工房 LP専用スタイルシート
   格納先: /wp-content/themes/cocoon-child-master/construction-lp07/construction-lp07.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 変数と基本設定
   -------------------------------------------------------------------------- */
:root {
  /* カラーシステム (HSL) */
  --color-primary: hsl(140, 30%, 20%);       /* 落ち着いたフォレストグリーン */
  --color-primary-light: hsl(140, 20%, 35%);
  --color-primary-dark: hsl(140, 40%, 12%);
  --color-accent: hsl(35, 75%, 50%);         /* 温かみのあるゴールド・オレンジ */
  --color-accent-light: hsl(35, 85%, 58%);
  --color-accent-dark: hsl(30, 80%, 40%);
  --color-bg: hsl(36, 30%, 97%);             /* 漆喰や和紙のような温かみのある白 */
  --color-bg-light: hsl(0, 0%, 100%);
  --color-bg-dark: hsl(140, 25%, 10%);       /* 深いトーンのダーク背景 */
  --color-text: hsl(0, 0%, 15%);             /* 墨色に近い黒 */
  --color-text-muted: hsl(210, 10%, 40%);    /* グレー */
  --color-text-light: hsl(0, 0%, 95%);
  
  /* フォントファミリー */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  
  /* アニメーション・トランジション */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* シャドウ */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  
  /* コンテナサイズ */
  --container-max-width: 1200px;
  --container-sm-max-width: 760px;
}

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* リンクと汎用スタイル */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   1. グリッド & レイアウトユーティリティ
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: var(--container-sm-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 7rem 0;
}

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

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-dark {
  background-color: var(--color-bg-dark);
}

.text-light {
  color: var(--color-text-light);
}

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

.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* 位置・フレックス調整 */
.align-items-center {
  align-items: center;
}

.col-gap-sm { gap: 1.5rem; }
.col-gap-md { gap: 2.5rem; }
.col-gap-lg { gap: 4rem; }
.row-gap-md { row-gap: 2.5rem; }
.row-gap-lg { row-gap: 4rem; }

/* --------------------------------------------------------------------------
   2. ボタン & タイポグラフィ
   -------------------------------------------------------------------------- */
.section-title-wrap {
  margin-bottom: 4.5rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-primary-light);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-subtitle.accent {
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.section-title.text-light {
  color: var(--color-text-light);
}

.title-border {
  width: 50px;
  height: 2px;
  background-color: var(--color-primary-light);
  margin: 0 auto;
}

.title-border.accent {
  background-color: var(--color-accent);
  margin: 0; /* 左寄せ用 */
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  .section-title-wrap {
    margin-bottom: 3rem;
  }
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(220, 130, 30, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

/* 脈動アニメーション */
.pulse-btn {
  position: relative;
  overflow: hidden;
}

.pulse-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 0;
  padding-bottom: 120%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.pulse-btn:hover::after {
  animation: pulse-effect 1.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

@keyframes pulse-effect {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   3. ヘッダー (Header)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
  padding: 1.25rem 0;
}

/* スクロール時の変化 */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  backdrop-filter: blur(10px);
}

.header.scrolled .logo-title {
  color: var(--color-primary-dark);
}

.header.scrolled .logo-subtitle {
  color: var(--color-text-muted);
}

.header.scrolled .nav-menu a {
  color: var(--color-text);
}

.header.scrolled .nav-menu a:hover {
  color: var(--color-primary);
}

.header.scrolled .btn-phone {
  color: var(--color-primary);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  background-color: var(--color-primary);
  color: white;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* メニュー */
.nav-menu ul {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* ヘッダーCTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-phone svg.icon {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-header-cta {
  background-color: var(--color-accent);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-header-cta:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  transition: var(--transition-smooth);
}

.header.scrolled .mobile-menu-toggle span {
  background-color: var(--color-primary-dark);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-light);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    padding: 6rem 2rem 2rem;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-menu a {
    color: var(--color-text) !important;
    font-size: 1.1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .header-cta {
    display: none; /* モバイルでは隠すかメニューに入れる */
  }
}

/* --------------------------------------------------------------------------
   4. ファーストビュー (Hero)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  padding: 9rem 0 6rem;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 30, 25, 0.8) 0%, rgba(20, 30, 25, 0.4) 60%, rgba(20,30,25,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-text-wrap {
  max-width: 800px;
}

/* 縦書きのキャッチコピー */
.hero-title {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.vertical-text {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 900;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.3;
  letter-spacing: 0.08em;
  background-color: rgba(20, 30, 25, 0.7);
  padding: 1rem 0.6rem;
  border-radius: 4px;
  border-right: 3px solid var(--color-primary-light);
}

.vertical-text.text-accent {
  border-right: 3px solid var(--color-accent);
  color: var(--color-accent-light);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 7rem 0 4rem;
  }

  .hero-title {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  
  .vertical-text {
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: 0.05em;
    padding: 0.75rem 0.4rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

/* スクロールダウンインジケータ */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: white;
  animation: scroll-down-anim 2s infinite ease-in-out;
}

@keyframes scroll-down-anim {
  0% { top: -20px; }
  50% { top: 60px; }
  100% { top: 60px; }
}

/* --------------------------------------------------------------------------
   5. 強みセクション (Strengths)
   -------------------------------------------------------------------------- */
.strength-card {
  position: relative;
  padding: 3rem 2rem 2.5rem;
  background-color: var(--color-bg-light);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid transparent;
  transition: var(--transition-smooth);
}

.strength-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--color-accent);
}

.strength-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(140, 175, 150, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.strength-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(140, 175, 150, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.strength-card:hover .strength-icon-wrap {
  background-color: var(--color-primary);
  color: white;
}

.strength-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.strength-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.strength-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   6. サービスセクション (Services)
   -------------------------------------------------------------------------- */
.service-box {
  background-color: var(--color-bg-light);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(140, 175, 150, 0.1);
}

.service-box:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(140, 175, 150, 0.3);
}

.service-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.service-list {
  display: grid;
  gap: 0.75rem;
}

.service-list li {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

@media (max-width: 576px) {
  .service-box {
    padding: 2rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   7. 施工事例 (Gallery)
   -------------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.gallery-tab {
  background-color: var(--color-bg-light);
  border: 1px solid rgba(140, 175, 150, 0.3);
  color: var(--color-primary-dark);
  padding: 0.6rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-tab:hover, .gallery-tab.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.gallery-grid {
  transition: var(--transition-smooth);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(20, 30, 25, 0.95) 0%, rgba(20, 30, 25, 0.4) 60%, transparent 100%);
  color: white;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.gallery-tag {
  font-size: 0.75rem;
  background-color: var(--color-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.gallery-info h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.gallery-location {
  font-size: 0.8rem;
  opacity: 0.8;
}

.gallery-item.hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   8. ブランドストーリー (Brand Story)
   -------------------------------------------------------------------------- */
.story-img img {
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.story-content {
  padding-left: 2rem;
}

.story-content p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.9;
  opacity: 0.9;
}

.story-author {
  margin-top: 3rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}

.author-title {
  display: block;
  font-size: 0.75rem;
  color: var(--color-accent-light);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.author-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-top: 0.25rem;
}

@media (max-width: 992px) {
  .story-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

/* --------------------------------------------------------------------------
   9. お客様の声 (Testimonials)
   -------------------------------------------------------------------------- */
.testimonial-card {
  background-color: var(--color-bg-light);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(140, 175, 150, 0.15);
}

.testimonial-rating {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.testimonial-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-user {
  border-top: 1px solid rgba(140, 175, 150, 0.15);
  padding-top: 1rem;
}

.user-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

.user-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   10. 会社情報・マップ (Company)
   -------------------------------------------------------------------------- */
.table-company {
  width: 100%;
  border-collapse: collapse;
}

.table-company tr {
  border-bottom: 1px solid rgba(140, 175, 150, 0.2);
}

.table-company tr:last-child {
  border-bottom: none;
}

.table-company th {
  text-align: left;
  padding: 1.25rem 1rem 1.25rem 0;
  font-family: var(--font-serif);
  color: var(--color-primary-dark);
  font-weight: 700;
  width: 30%;
  vertical-align: top;
}

.table-company td {
  padding: 1.25rem 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}

@media (max-width: 576px) {
  .table-company th, .table-company td {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }
  .table-company th {
    padding-bottom: 0.25rem;
  }
}

/* 擬似マップのスタイリング */
.fake-map {
  position: relative;
  background-color: var(--color-bg-light);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  height: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 175, 150, 0.2);
  overflow: hidden;
}

.shimane-map-svg {
  width: 100%;
  max-width: 360px;
}

.map-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-primary);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}

.map-badge span {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--color-accent);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.map-badge p {
  font-size: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .company-map-wrap {
    margin-top: 3rem;
  }
}

/* --------------------------------------------------------------------------
   11. 料金プラン (Pricing)
   -------------------------------------------------------------------------- */
.pricing-card {
  background-color: var(--color-bg-light);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(140, 175, 150, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.pricing-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(140, 175, 150, 0.15);
  text-align: center;
}

.plan-tag {
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 1rem;
}

.pricing-card:nth-child(2) .plan-tag {
  background-color: var(--color-accent);
}

.pricing-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.pricing-price {
  padding: 2rem;
  background-color: rgba(140, 175, 150, 0.05);
  text-align: center;
  border-bottom: 1px solid rgba(140, 175, 150, 0.15);
}

.price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.price-value {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1;
}

.price-unit {
  font-size: 1.25rem;
  font-weight: 700;
}

.price-tax {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.pricing-features {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: grid;
  gap: 1rem;
}

.pricing-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-accent-dark);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   12. よくある質問 (FAQ)
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--color-bg-light);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(140, 175, 150, 0.15);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  outline: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary-light);
  transition: var(--transition-smooth);
}

/* プラス記号 */
.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

/* 開いたときのスタイル */
.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: rgba(140, 175, 150, 0.02);
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(140, 175, 150, 0.1);
}

.faq-item.active .faq-answer {
  /* JSでscrollHeightを設定 */
}

/* --------------------------------------------------------------------------
   13. お問い合わせ・フォーム (Contact)
   -------------------------------------------------------------------------- */
.contact-box {
  background-color: var(--color-bg-light);
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  color: var(--color-text);
  overflow: hidden;
  margin-top: 4rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: rgba(140, 175, 150, 0.05);
  border-bottom: 1px solid rgba(140, 175, 150, 0.15);
}

.contact-info-card {
  padding: 3rem 2.5rem;
  text-align: center;
}

.contact-info-card:first-child {
  border-right: 1px solid rgba(140, 175, 150, 0.15);
}

.contact-info-card svg.icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-info-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.tel-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent-dark);
  margin: 0.25rem 0;
  line-height: 1.2;
}

.tel-meta, .mail-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(140, 175, 150, 0.15);
  }
  .contact-info-card {
    padding: 2rem;
  }
}

.contact-form {
  padding: 4rem 3rem;
}

@media (max-width: 576px) {
  .contact-form {
    padding: 2.5rem 1.5rem;
  }
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.required {
  background-color: hsl(0, 75%, 90%);
  color: hsl(0, 75%, 40%);
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.25rem;
}

.optional {
  background-color: hsl(200, 10%, 90%);
  color: hsl(200, 10%, 40%);
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.25rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(140, 175, 150, 0.3);
  border-radius: 4px;
  background-color: var(--color-bg-light);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(140, 175, 150, 0.15);
}

.form-consent {
  text-align: center;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-consent input {
  width: 16px;
  height: 16px;
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  max-width: 320px;
  font-size: 1.05rem;
  border: none;
}

/* フォーム送信のフィードバック表示 */
.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback.success {
  background-color: hsl(120, 40%, 93%);
  color: hsl(120, 50%, 25%);
  border: 1px solid hsl(120, 40%, 80%);
}

.form-feedback.error {
  background-color: hsl(0, 75%, 95%);
  color: hsl(0, 75%, 35%);
  border: 1px solid hsl(0, 75%, 85%);
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   14. フッター (Footer)
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo-mark {
  background-color: var(--color-accent);
  color: white;
  border-color: transparent;
}

.footer-logo-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: inline-block;
  margin-top: 0.5rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-links h4, .footer-contact-info h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact-info h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links ul {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact-info p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer {
    padding: 3.5rem 0 2rem;
  }
}

/* --------------------------------------------------------------------------
   15. ページトップへ戻る & スクロールアニメーション
   -------------------------------------------------------------------------- */
.btn-totop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.btn-totop.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-totop:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.btn-totop svg.icon {
  width: 20px;
  height: 20px;
}

/* JSによるフェードインアニメーション用クラス */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
