/* ========== カスタムプロパティ ========== */
:root {
  /* メインカラー */
  --color-primary: #2D5948;
  --color-primary-light: #98C0A2;
  --color-primary-lighter: #CBDFD1;
  --color-primary-lightest: rgba(152, 192, 162, 0.5);
  
  /* 背景色 */
  --color-bg-white: #ffffff;
  --color-bg-light: #F5F5F5;
  --color-bg-gray: #EEEEEE;
  --color-bg-overlay: rgba(255, 255, 255, 0.95);
  
  /* テキスト色 */
  --color-text-primary: #171717;
  --color-text-black: #000000;
  --color-text-white: #ffffff;
  
  /* ボーダー色 */
  --color-border-light: #e5e7eb;
  --color-border-gray: #DDDDDD;
  --color-border-primary: #2D5948;
  
  
  /* シャドウ */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* グラデーション */
  --gradient-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  --gradient-network: linear-gradient(to bottom right, transparent, rgba(0, 0, 0, 0.3));
}

/* ========== リセット & ベース ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
.service-content {
  scroll-margin-top: 60px;
}

body {
  background: var(--color-bg-white);
  color: var(--color-text-black);
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  line-height: 1.6;
}

/* ヒラギノ明朝フォント指定 */
.mincho {
  font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro", "Yu Mincho", "游明朝", "MS Mincho", "MS 明朝", "Noto Serif JP", "Noto Serif", "Times New Roman", Times, serif;
}
.spectral {
  font-family: "Spectral", "Noto Serif", "Times New Roman", Times, serif;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.2s, transform 0.2s;
}
.fade-in.to-fade {
  opacity: 0;
  transform: translateY(20px);
}
.fade-in.to-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes mobileNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mobileNavFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-16px);
  }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-fade-in {
  opacity: 0;
}
.slide-fade-in.slide-fade-in-active {
  animation: slideFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}

.button, .nav-link {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.button:hover, .nav-link:hover {
  background: var(--color-primary-light);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45,89,72,0.15);
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: 0.3s;
}

/* モバイルヘッダー */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 10px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-mobile {
  height: 40px;
  width: 100.3px;
}

.mobile-menu-button {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
}

.menu-icon {
  width: 28px;
  height: 18.48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.menu-line {
  width: 28px;
  height: 2px;
  background: var(--color-text-black);
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.menu-line.short {
  width: 18px;
  align-self: flex-end;
}
.mobile-menu-button.active .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-button.active .menu-line.short {
  opacity: 0;
}
.mobile-menu-button.active .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.mobile-menu-button.active .menu-line {
  background: #fff;
}

/* デスクトップヘッダー */
.desktop-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 15px;
}

.logo-desktop {
  height: 60px;
  width: 150.45px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: 16px;
}

.nav-link {
  color: var(--color-text-black);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* モバイルナビゲーション */
.mobile-nav {
  display: none;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border-gray);
  transition: 0.3s;
  opacity: 0;
  pointer-events: none;
}

.mobile-nav.active {
  display: block;
  animation: mobileNavFadeIn 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav.hide {
  animation: mobileNavFadeOut 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
  opacity: 0;
  pointer-events: none;
}

.mobile-nav-content {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  display: block;
  padding: 8px 16px;
  color: var(--color-text-black);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* main-visual */
.main-visual {
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 60px; /* モバイルヘッダーの高さ分 */
}

.main-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 78%;
  background-image: url('../assets/main-visual-bg-mobile-5e0bc4.webp');
  background-size: cover;
  background-position: top center;
}

.main-visual-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.main-visual-content {
  position: relative;
  z-index: 10;
  padding: 0;
  padding-top: 50vw;
}

.text-buttons {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.text-button-container {
  display: flex;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background: rgba(45, 89, 72, 0.9);
  color: white;
  font-weight: 600;
  border: none;
  border-bottom: 1px solid var(--color-primary-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-button-text {
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.company-name {
  margin-top: 16px;
  padding: 0 24px;
}

.company-name-container {
  position: relative;
}

.company-name-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  margin-bottom: 6px;
}

.company-name-text span {
  display: inline-block;
}

.company-name-text span::after {
  content: '';
  display: block;
  width: 140%;
  height: 14px;
  background: url(../assets/icon_arrow.svg) no-repeat right bottom;
  background-size: auto 100%;
  margin-left: -18px;
}


/* About */
.about {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  padding-top: 40px;
  flex-direction: column;
}

.about-bg {
  width: 100%;
  height: 40vw;
  background-image: url('../assets/about-bg-mobile-64afb2.webp');
  background-size: cover;
  background-position: center;
}

.about-content {
  padding: 0 30px;
  padding-top: 125px;
  padding-bottom: 40px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-paragraph {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

/* Service */
.service {
  background: var(--color-primary);
  position: relative;
}

.service-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Service Background */
.service-bg {
  position: relative;
  width: 100%;
  padding: 120px 0 64px;
}

.service-bg-image {
  width: 100%;
  height: 100%;
  background-image: url('../assets/service-bg-486cb7.webp');
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.service-bg-overlay {
  position: absolute;
  inset: 0;
  mix-blend-mode: hard-light;
  background: linear-gradient(to bottom, rgba(45, 89, 72, 0), rgba(45, 89, 72, 0.5), #2D5948);
}

.service .section-title {
  text-align: center;
  z-index: 10;
  position: relative;
}

.service .section-title .section-title-text,
.service .section-title .section-subtitle {
  color: var(--color-text-white);
}

/* Navigation Tabs */
.service-tabs {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 24px;
  max-width: 948px;
  margin: 0 auto;
}

.service-tab {
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-bg-white);
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-bg-white);
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  text-align: center;
  position: relative;
  text-decoration: none;
}

.service-tab::after {
  content: '';
  position: absolute;
  top: calc(50% - 16px);
  right: 16px;
  height: 32px;
  width: 8px;
  background: url(../assets/icon_arrow_bottom.svg) no-repeat center center;
  background-size: auto 100%;
  transition: 0.3s;
}

.service-tab:hover:after {
  top: calc(50% - 8px);
}

.service-tab:hover {
  background: var(--color-primary);
}

.service-tab-sub {
  font-size: 16px;
}

/* Service Content */
.service-content {
  position: relative;
  padding-top: 64px;
  padding-bottom: 48px;
  scroll-margin-top: 0;
}

/* Service詳細コンテンツ */
.service-detail-content {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 40px;
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

/* Service Title Section */
.service-title-section {
  margin-bottom: 32px;
}

.service-title-category-lead {
  color: var(--color-bg-white);
  position: relative;
  z-index: 1;
  text-align: center;
  width: 94%;
  margin: 0 auto;

}

.service-title-accent {
  position: absolute;
  right: 0;
  top: 0;
  width: 11.84px;
  height: 8px;
  background: var(--color-primary-light);
}

/* Service Support */
.service-support {
  margin-bottom: 24px;
}

.service-support-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.service-support-line {
  flex: 1;
  height: 8px;
  background: var(--color-primary-light);
  margin-left: 8px;
}

.service-support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.service-support-item {
  background: var(--color-primary-lightest);
  padding: 4px 16px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  text-align: left;
}
.service-support-item-child {
  padding: 6px 2px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.1em;

}

/* Service Period */
.service-period {
}
.service-period-attention {
  font-size: 14px;
  display: block;
  margin-top: 12px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-indent: -1em;
  padding-left: 1em;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-gray);
}
.service-period-header {
  display: flex;
  margin-bottom: 16px;
  border-top: 1px solid var(--color-border-gray);
  padding-top: 12px;
}

.service-period-badge {
  position: relative;
  padding: 2px 16px;
  margin-right: 10px;
  align-self: baseline;
  text-align: center;
  white-space: nowrap;
}
.service-period-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(152, 192, 162, 0.5);
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}
.service-period-label {
  position: relative;
  z-index: 1;
}

.service-period-value {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
}

.service-period-note {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
}

/* Service Network */
.service-network {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  margin-bottom: 32px;
}

/* Service Cases and Solutions Container */
.service-cases-solutions-container {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.25);
  background-color: var(--color-bg-white);
}

/* Service Cases */
.service-cases {
  margin-bottom: 0;
  padding: 10px 10px 24px;
  position: relative;
}

.service-cases::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 20px solid #FFF;
}

.service-cases-header {
  display: flex;
  align-items: flex-start;
}

.service-cases-badge {
  background: var(--color-primary-lighter);
  padding: 4px 16px;
  width: 100%;
  position: relative;
}

.service-cases-badge::before {
  content: '';
  position: absolute;
  display: block;
  top: 50%;
  right: 0;
  width: 52px;
  height: 50px;
  background: url(../assets/icon_people2.svg) no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
  z-index: 1;
}

.service-cases-label {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.service-cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.service-cases-left,
.service-cases-right {
  width: 100%;
}

.service-cases-left,
.service-cases-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-case {
  background: var(--color-bg-white);
  padding: 0 0 10px;
  display: flex;
  align-items: flex-start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-gray);
  width: 100%;
}

.service-case-dot {
  width: 22px;
  height: 22px;
  background: url(../assets/icon_check.svg) no-repeat center center;
  background-size: contain;
  margin-right: 4px;
  flex-shrink: 0;
}

/* Service Solutions */
.service-content-container {
  position: relative;
  overflow: hidden;
}

.service-content-container::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(-14.25deg, transparent 0%, transparent 50%, rgb(23, 64, 48) 50%, rgba(23, 64, 48, 1) 100%);
  background-blend-mode: multiply;
  pointer-events: none;
}

.service-content:nth-child(even) .service-content-container::before {
  background: linear-gradient(10.25deg, transparent 0%, transparent 50%, rgb(23, 64, 48) 50%, rgba(23, 64, 48, 1) 100%);
}

.service-solutions {
  background: var(--color-primary);
  padding: 24px;
  margin-bottom: 0;
}

.service-solutions-header {
  display: flex;
  align-items: center;
  margin-bottom: -16px;
  justify-content: center;
  padding-right: 80px;
}

.service-solutions-icon {
  width: 99.84px;
  height: 94px;
  background: url(../assets/icon_people1.svg) no-repeat center center;
  background-size: 100%;
  position: relative;
  z-index: 1;
  margin-right: -12px;
  margin-bottom: 10px;
}

.service-solutions-badge {
  background: #CBDFD1;
  padding: 4px 24px;
  white-space: nowrap;
  position: relative;
  margin-bottom: 20px;
}

.service-solutions-badge::before {
  content: '';
  position: absolute;
  bottom: calc(100% - 12px);
  left: -12px;
  width: 0;
  height: 0;
  border-bottom: 12px solid #CBDFD1;
  border-right: 12px solid transparent;
  transform: rotate(180deg);
}

.service-solutions-label {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text-white);
}

.service-solutions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.service-solution {
  color: var(--color-bg-white);
  display: flex;
  align-items: center;
  padding: 8px 0 8px 0;
  width: 100%;
  border-bottom: 1px solid  rgba(255, 255, 255, 0.2);
}

.service-solution-dot {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border: 2px solid var(--color-primary-light);
  border-radius: 50%;
  margin-right: 8px;
}

/* Company */
.company {
  background: #F5F5F5;
  padding: 49px 20px;
}

.company-container {
  margin: 0 auto;
  padding: 0 16px;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.company-info-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-info-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-gray);
}

.company-info-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  width: 70px;
}

.company-info-value {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.company-info-value ul li {
  margin-bottom: 8px;
}

.company-info-value ul li:last-child {
  margin-bottom: 0;
}

.company-info-value ul b {
  font-weight: 600;
}

.company-info-line {
  border-bottom: 1px solid var(--color-border-gray);
  height: 1px;
  background: var(--color-border-gray);
  margin-top: 8px;
}

.name-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: white;
}

.contact-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

/* 初回相談無料バッジ */
.free-consultation {
  text-align: center;
  margin-bottom: 32px;
}

.badge {
  display: inline-block;
  border-bottom: 1px solid var(--color-primary);
  padding: 8px 40px;
}

.badge-text {
  font-size: 48px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

/* フォーム */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-black);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.required-badge {
  background: var(--color-primary);
  color: var(--color-bg-white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-left: 0.5em;
}

.form-input,
.form-textarea {
  height: 40px;
  border: 1px solid var(--color-border-gray);
  border-radius: 4px;
  padding: 0 12px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
  opacity: 1;
}

.form-textarea {
  resize: none;
  min-height: 120px;
  padding: 8px 12px;
}

.name-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.privacy-group {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.privacy-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-border-gray);
  border-radius: 4px;
  margin-top: 2px;
}

.privacy-label {
  font-weight: 600;
  color: var(--color-text-black);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
}

.privacy-note {
  font-size: 14px;
  width: 100%;
}

.privacy-note a {
  color: var(--color-border-primary);
}

.privacy-note a:hover {
  text-decoration: none;
}

.submit-container {
  text-align: center;
  padding-top: 24px;
}

.submit-button {
  background: var(--color-primary);
  color: white;
  padding: 16px 64px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:  0.3s;
}

.submit-button:hover {
  background: rgba(23, 64, 48, 0.7);
}

.submit-button:disabled {
  background: var(--color-border-gray);
  cursor: not-allowed;
}

.message-container {
  margin-top: 24px;
  text-align: center;
}

.message {
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 500;
}

.message.success {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-lighter);
}

.message.error {
  background: var(--color-border-gray);
  color: var(--color-border-gray);
  border: 1px solid var(--color-border-gray);
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid var(--color-border-gray);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 60px;
  width: 150.45px;
}

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

.copyright-text {
  color: var(--color-text-black);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.footer-bar {
  width: 100%;
  height: 32px;
  background: var(--color-primary);
}

/* セクションタイトル共通 */
.section-title {
  margin-bottom: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.section-title-text {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text-black);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  display: block;
}

/* Service固有のスタイル */
.service-title-section {
  margin-bottom: 0;
}
.service-title-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}
.service-content {
  padding-top: 0;
}
.service-title-category-lead {
  padding: 40px 20px 24px;
  position: relative;
}

.service-title-category {
  font-size: 28px;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.service-title-category-lead-01::after {
  content: "GROWTH STRATEGY";
  color: var(--color-bg-white);
  opacity: 0.1;
  font-size: 32px;
  top: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Spectral", "Noto Serif", "Times New Roman", Times, serif;
  white-space: nowrap;
}

.service-title-category-lead-02::after {
  content: "M&A STRATEGY";
  color: var(--color-bg-white);
  opacity: 0.1;
  font-size: 32px;
  top: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Spectral", "Noto Serif", "Times New Roman", Times, serif;
  white-space: nowrap;
}

.service-title-category-lead-03::after {
  content: "BUSINESS SUCCESSION";
  color: var(--color-bg-white);
  opacity: 0.1;
  font-size: 32px;
  top: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Spectral", "Noto Serif", "Times New Roman", Times, serif;
  white-space: nowrap;
}

.service-title-number {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  display: inline-block;
  margin-bottom: -0.2em;
}

.service-title-sub {
  color: var(--color-primary);
  border: 1px solid var(--color-border-primary);
  padding: 6px 10px;
  font-size: 16px;
}

.service-title-main {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  white-space: nowrap;
}

.service-description {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-black);
  margin-bottom: 16px;
}

.service-support-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  position: relative;
  width: 100%;
}

.service-support-title::after {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-primary-light);
}

.service-support-title span {
  position: relative;
  z-index: 1;
  background-color: #FFF;
  padding-right: 0.5em;
}

.service-title-line {
  position: relative;
  z-index: 1;
  margin-right: 20px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
/* 例: 共通のafter */
.service-title-line::after {
  content: "";
  position: absolute;
  display: block;
  background: url(../assets/icon_arrow.svg) no-repeat right bottom;
  background-size: auto 100%;
  height: 8px;
  bottom: 0;
}
/* MA用 */
#service-ma .service-title-line::after {
  width: 11em;
}
/* Growth用 */
#service-growth .service-title-line::after {
  width: 10em;
}

.service-support-item {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 4px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  position: relative;
}

.service-support-item span {
  font-size: 80%;
}
.service-support-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  background-color: var(--color-text-white);
  clip-path: polygon(0 0, 100% 0, 0% 100%, 0% 100%);

}


.service-period-label {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.service-period-value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: #2D5948;
}

.service-period-note {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.service-cases-label {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.service-case-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.service-solutions-label {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
}

.service-solution-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-bg-white);
  width: calc(100% - 12px);
}

.service-network-item {
  text-align: center;
  color: var(--color-text-black);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  background: var(--color-bg-white);
  padding: 4px 16px;
  position: relative;
  z-index: 2;
}

.service-network-item:nth-child(3) {
  margin-top: 40px;
}
.service-network-item:nth-child(3),
.service-network-item:nth-child(4) {
  margin-left: auto;
}

#service-succession .service-network-item:nth-child(2) {
  margin-top: 40px;
  margin-left: auto;
}
#service-succession .service-network-item:nth-child(3) {
  margin-top: 0px;
}

.privacy-content {
  margin-top: 56px;
}
.privacy-content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  margin-bottom: 2em;
}
.privacy-heading-lv1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 1em;
  border-top: 1px solid var(--color-border-primary);
  padding-top: 3em;
}
.privacy-heading-lv2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-black);
  margin-bottom: 1.0em;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.3em;
}
.privacy-list {
  margin-left: 1em;
  margin-bottom: 1em;
}
.privacy-list-item {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* レスポンシブデザイン */
@media (min-width: 1124px) {
  .service-network-item {
    font-size: 22px;
  }
}
@media (min-width: 1024px) {
  .mobile-header {
    display: none;
  }
  
  .desktop-header {
    display: flex;
  }
  

  
  .text-buttons {
    gap: 16px;
  }
  
  .text-button-container {
    justify-content: flex-start;
  }
  
  .text-button {
    padding: 0px 20px;
  }
  
  .text-button-text {
    font-size: 38px;
  }
  
  .company-name {
    margin-top: 48px;
    padding: 0;
  }
  
  .company-name-text {
    font-size: 24px;
    margin-bottom: 12px;
    margin-left: 18px;
  }
  
  .company-name-line {
    width: 358px;
  }
  

  
  .section-title {
    margin-bottom: 48px;
  }
  
  .section-title-text {
    font-size: 34px;
    margin-bottom: 25px;
  }
  .service-title-sub {
      font-size: 20px;
  }
  .section-subtitle {
    font-size: 20px;
  }
  .service-case-dot {
    margin-top: 2px;
  }
  .company {
    padding: 80px 0;
  }
  
  .company-container {
    max-width: 740px;
    padding: 0;
  }
  
  .company-info {
    gap: 20px;
  }
  
  .company-info-item {
    gap: 20px;
  }
  
  .company-info-row {
    padding: 0 20px 20px;
  }
  
  .company-info-label {
    font-size: 16px;
    width: 120px;
  }
  
  .company-info-value {
    font-size: 16px;
  }
  
  .name-group {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Service詳細コンテンツ - PC版 */
  .service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    row-gap: 0;
    column-gap: 40px;
    align-items: start;
    padding: 32px 40px 40px;
    background: linear-gradient(to bottom, #ffffff 63%, #f5f5f5 63%);
    margin-bottom: 48px;
  }
  .service-period-header {
    margin-bottom: 0;
  }
  .service-title-category-lead {
    padding: 72px 0 32px;
  }
  
  .service-title-category {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .service-title-category-lead-01::after ,
  .service-title-category-lead-02::after ,
  .service-title-category-lead-03::after {
    font-size: 72px;
    top: 24px;
  }
  .service-title-category-lead-text {
    font-size: 20px;
  }
  .service-solutions {
    display: flex;
    gap: 14px;
    padding: 20px 16px 32px 8px;
  }
  .service-solution {
    width: auto;
  }
  .service-solutions-icon {
    width: 120px;
    height: 114px;
    margin-right: -32px;
    margin-bottom: -32px;
  }
  .service-solutions-badge {
    align-self: flex-start;
    padding: 2px 10px;
  }
  
  .service-solutions-badge::before {
    transform: rotate(90deg);
    bottom: calc(0% - 12px);
    left: 0;
  }
  .service-title-section,
  .service-description,
  .service-support,
  .service-period {
    grid-column: 1;
  }

  /* 奇数番目のservice-detail-contentのレイアウト反転 */
  .service-detail-content:nth-child(odd) .service-title-section,
  .service-detail-content:nth-child(odd) .service-description,
  .service-detail-content:nth-child(odd) .service-support,
  .service-detail-content:nth-child(odd) .service-period {
    grid-column: 2;
  }

  .service-detail-content:nth-child(odd) .service-network {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin-left: -40px;
    margin-right: 0;
  }

  .service-solutions-header {
    margin-bottom: 0;
    padding-right: 0;
  }
  .service-cases-badge::before {
    width: 84px;
    height: 80px;
    right: 12px;
    top: 8px;
  }
  .service-network {
    grid-column: 2;
    grid-row: 1 / span 4;
    position: relative;
    margin-top: -32px;
    margin-right: -40px;
    height: 140%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 0;
    align-items: baseline;
  }

  .service-network::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120%;
    background: url(../assets/service-network-bg-pc.webp) no-repeat top center;
    background-size: cover;
    z-index: 1;
  }

  #service-funding .service-network::after {
    background: url(../assets/service-network-bg02-pc.webp) no-repeat center center;
    background-size: cover;
  }
  #service-ipo .service-network::after {
    background: url(../assets/service-network-bg03-pc.webp) no-repeat center center;
    background-size: cover;
  }
  #service-dd .service-network::after {
    background: url(../assets/service-network-bg04-pc.webp) no-repeat center center;
    background-size: cover;
  }
  #service-pmi .service-network::after {
    background: url(../assets/service-network-bg05-pc.webp) no-repeat top center;
    background-size: cover;
  }
  #service-so .service-network::after {
    background: url(../assets/service-network-bg06-pc.webp) no-repeat center center;
    background-size: cover;
  }
  #service-so-buy .service-network::after {
    background: url(../assets/service-network-bg07-pc.webp) no-repeat center center;
    background-size: cover;
  }
  #service-succession .service-network::after {
    background: url(../assets/service-network-bg08-pc.webp) no-repeat center center;
    background-size: cover;
  }


  .service-network-item {
    text-align: left;
    background: transparent;
    padding: 2px 12px;
    position: relative;
    z-index: 2;
    background: #fff;
    display: inline-block;
  }



  .service-cases-solutions-container {
    grid-column: 1 / -1;
    margin-top: 32px;
  }

  .service-cases {
    background: #FFF;
    padding: 20px;
    border: 1px solid var(--color-primary);
    border-bottom: none;
  }

  .service-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
  }

  .service-cases-grid-long {
    grid-template-columns: 1fr 1fr;
  }
  .service-cases-grid-long > .service-case:last-child {
    grid-column: 1 / -1;
  }

  .service-solutions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
  }

  .service-title-line {

  }
  
  /* Service固有スタイル - PC版サイズ調整 */
  .service-title-text {
    font-size: 22px;
  }
  
  .service-title-number {
    font-size: 24px;
  }
  
  .service-title-main {
    font-size: 40px;
  }
  
  .service-description {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .service-support-title {
    font-size: 18px;
  }
  
  .service-period-note {
    font-size: 14px;
    line-height: 1.8;
  }
  
  .service-cases-badge {
    text-align: center;
  }
  .service-cases-label {
    font-size: 20px;
    text-align: center;
  }
  
  .service-case-text {
    font-size: 16px;
  }
  .service-case-long {
    width: 100%;
  }
  
  .service-solutions-label {
    font-size: 20px;
  }
  
  .service-solution-text {
    font-size: 16px;
    line-height: 1.8;
  }
}
@media (min-width: 680px) {
  .main-visual {
    margin-top: 90px; /* デスクトップヘッダーの高さ分 */
  }
  
  .main-visual-bg {
    height: 100%;
    background-image: url('../assets/main-visual-bg-pc-335803.webp');
    background-repeat: no-repeat;
    width: 66%;
    margin-left: 34%;
  }
  
  .main-visual-content {
    padding: 0 32px;
    padding-top: 90px;
    padding-bottom: 48px;
  }
  .about {
    flex-direction: row;
    margin-bottom: 100px;
    padding-top: 80px;
  }
  .about-bg {
    width: 36%;
    height: 510px;
    background-image: url('../assets/about-bg-pc-299107.webp');
  }
  .about-content .section-title {
    text-align: left;
  }
  .about-text {
    gap: 24px;
  }
  
  .about-paragraph {
    font-size: 16px;
  }
  .about-content {
    padding: 0 40px 0 80px;
  }
}
@media (max-width: 1023px) {
  #service-ma .service-title-line::after {
    width: 9.25em;
  }
  #service-growth .service-title-line::after {
    width: 8.25em;
  }
  .company-name {
    padding: 0 16px;
  }
  .company-name-text span::after {
    width: 120%;
    margin-left: -12px;
    margin-top: -8px;
  }
  .about-content {
    padding-top: 32px;
  }
  .service-support-header {
    margin-bottom: 8px;
  }
  .service-bg {
    padding-top: 56px;
    padding-bottom: 24px;
  }
  .section-subtitle {
    margin-top: 4px;
  }
  .service-network {
    width: calc(100% + 40px);
    left: -20px;
    padding: 24px 0 180px;
    align-items: baseline;
    margin-bottom: -60px;
  }
  .service-detail-content {
    padding: 20px;
    width: calc(100% - 20px);
    margin-bottom: 20px;
  }
  .service-bg-overlay {
    display: none;
  }
  .service-cases-solutions-container {
    margin-left: -10px;
    margin-right: -10px;
  }
  .service-detail-content:last-child {
    margin-bottom: 0;
  }
  .service-tab::after {
    height: 18px;
    width: 4px;
    right: 8px;
    top: calc(50% - 9px);
  }
  .service-cases-badge {
    padding: 4px 8px;
  }
  .service-title-line {
  }

  .service-cases-grid {
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }

  .service-solutions-grid {
    grid-template-columns: 1fr;
  }

  .service-network-item {
    text-align: center;
  }

  .service-network::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../assets/service-network-bg01-sp.webp) no-repeat center center;
    background-size: cover;
    z-index: 1;
  }
  #service-funding .service-network::after {
    background: url(../assets/service-network-bg02-sp.webp) no-repeat center center;
    background-size: cover;
  }
  #service-ipo .service-network::after {
    background: url(../assets/service-network-bg03-sp.webp) no-repeat center center;
    background-size: cover;
  }
  #service-dd .service-network::after {
    background: url(../assets/service-network-bg04-sp.webp) no-repeat center center;
    background-size: cover;
  }
  #service-pmi .service-network::after {
    background: url(../assets/service-network-bg05-sp.webp) no-repeat center center;
    background-size: cover;
  }
  #service-so .service-network::after {
    background: url(../assets/service-network-bg06-sp.webp) no-repeat center center;
    background-size: cover;
  }
  #service-so-buy .service-network::after {
    background: url(../assets/service-network-bg07-sp.webp) no-repeat center center;
    background-size: cover;
  }
  #service-succession .service-network::after {
    background: url(../assets/service-network-bg08-sp.webp) no-repeat center center;
    background-size: cover;
  }

  .service-title-category-lead-text {
    font-size: 14px;
    text-align: left;
  }
  .service-period-header {
    flex-direction: column;
    padding-top: 0;border-top: none;
  }
  .service-period-badge {
    margin: 0 0 8px;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .service-period-value {
    text-align: center;
  }
  .service-period-note {
    display: inline-block;
    text-align: left;
    text-indent: -1em;
    margin-left: 1em;
  }
  .service-cases {
    border: 1px solid var(--color-primary);
    border-bottom: none;
  }

  .service-solutions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .name-group {
    grid-template-columns: 1fr;
  }
  
  .service-tabs {
    align-items: center;
    flex: 1;
    margin: 0 12px;
    gap: 8px;
    flex-direction: column;
  }
  
  .service-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-size: 16px;
    padding: 6px 10px;
    text-align: left;
  }
  .service-tab-sub {
    font-size: 14px;
    margin-left: 0.5em;
  }
  .service-tab br {
    display: none;
  }
  .company-container {
    padding: 0;
  }
  .company-info-row {
    flex-direction: column;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .company-info-value ul {
    margin-left: 1em;
  }
  .badge-text {
    font-size: 32px;
  }
  .contact {
    padding-top: 56px;
  }
}
@media (max-width: 679px) {
  .service-network-item {
    font-size: 14px;
  }
  #service-succession .service-network-item:nth-child(2) {
    margin-top: 16px;
  }
  .company-info {
    gap: 2px;
  }
  .contact-container {
    padding: 0 24px;
  }
  .service-period-attention {
    margin-bottom: 24px;
  } 
  .footer-container {
    padding-left: 0;
    padding-right: 0;
  }
  .copyright-text {
    font-size: 12px;
    letter-spacing: normal;
  }
}
/* ユーティリティクラス */
.flex {
  display: flex;
  flex-wrap: wrap;
}

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

.flex-1 {
  flex: 1 1 0%;
}

.grid {
  display: grid;
}

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

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.gap-2 {
  gap: 8px;
}

.gap-4 {
  gap: 16px;
}

.gap-8 {
  gap: 32px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mr-2 {
  margin-right: 8px;
}

.mr-4 {
  margin-right: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.p-6 {
  padding: 24px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-8 {
  padding-left: 32px;
  padding-right: 32px;
}

.py-1 {
  padding-top: 4px;
  padding-bottom: 4px;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.pt-8 {
  padding-top: 32px;
}

.pb-0 {
  padding-bottom: 0;
}

.pb-8 {
  padding-bottom: 32px;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.w-full {
  width: 100%;
}

.h-8 {
  height: 8px;
}

.w-12 {
  width: 12px;
}

.w-20 {
  width: 20px;
}

.h-12 {
  height: 12px;
}

.h-20 {
  height: 20px;
}

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

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

.bg-pale-green {
  background-color: var(--color-primary-lighter);
}

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

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

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

.bg-transparent-green {
  background-color: rgba(152, 192, 162, 0.5);
}

.bg-white {
  background-color: white;
}

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

.text-green {
  color: var(--color-primary);
}

.text-white {
  color: white;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-green {
  border-color: var(--color-primary);
}

.border-gray {
  border-color: var(--color-border-gray);
}

.border-b {
  border-bottom-width: 1px;
}

.rounded {
  border-radius: 4px;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 8px;
}

.rounded-40 {
  border-radius: 40px;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.right-0 {
  right: 0;
}

.left-0 {
  left: 0;
}

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

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

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

.overflow-hidden {
  overflow: hidden;
}

.hidden {
  display: none;
}

.block {
  display: block;
} 

.anchor-adjust {
  display: block;
  height: 0;
  margin-top: -200px;
  visibility: hidden;
} 

.anchor-absolute {
  display: block;
  position: absolute;
  top: -200px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
  z-index: -1;
} 

#service,
#company,
#contact {
  margin: 0 auto;
} 

.tight-paren {
  letter-spacing: 0;
}
.before-paren {
  margin-left: -0.6em;
}
.after-paren {
  margin-right: -0.2em;
} 

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 89, 72, 0.97); /* primary-green + 透過 */
  z-index: 2000;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s;
}
.mobile-nav.active {
  opacity: 1;
}
.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-top: 60px;
  padding-top: 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.mobile-nav-link {
  color: var(--color-bg-white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
  padding: 16px;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,.2);
  width: 100%;
}

.mobile-nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -6px;
}
.mobile-nav-link:hover {
  color: var(--color-primary-light);
}
.mobile-nav-link:hover::after {
  width: 100%;
  background: var(--color-primary-light);
}
@media (min-width: 1024px) {
  .mobile-menu-button {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
} 

.br-sp {
  display: none;
}
@media (max-width: 680px) {
  .br-sp {
    display: inline;
  }
  #service-ma .service-title-line::after {
  }
  #service-growth .service-title-line::after {
  }
} 

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  background: #fff0f0;
}
.field-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
} 
#confirm-fields {
  gap: 16px;
}
#confirm-fields.form-group, #confirm-fields .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
#confirm-fields .form-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  gap: 16px;
}
#confirm-fields .form-label, #confirm-fields .form-value {
  text-align: left;
}
#confirm-fields .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  min-width: 160px;
  margin-bottom: 0;
}
#confirm-fields .form-value {
  font-size: 16px;
  color: var(--color-text-black);
  word-break: break-all;
  flex: 1;
}
#confirm-back-button {
  background: #ddd;
  color: #333;
  border: 1px solid #ccc;
}
#confirm-back-button:hover {
  background: rgba(220, 220, 220, 0.2);
}
#confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
#confirm-buttons #back-button {
  background: #eee;
  color: #333;
  border: 1px solid #ccc;
}
#confirm-buttons #back-button:hover {
  background: #ddd;
  color: #111;
  border: 1px solid #bbb;
} 
#confirm-view {
  margin-top: 48px;
}
#confirm-view .message {
  margin-top: 0;
} 
@media (max-width: 679px) {

  #confirm-fields .form-group {
    flex-direction: column;
  }
  #confirm-buttons {
    flex-direction: column-reverse;
  }
}
.privacy-content ul + .privacy-heading-lv2 {
  margin-top: 3em;
}