/* ============================================
   ミカタ - スタイルシート
   ホワイトバックグラウンド・ミニマルデザイン
   ============================================ */

/* --- Google Fonts & Font Awesome はHTMLで読み込み --- */

/* ============================================
   CSS変数定義
   ============================================ */
:root {
  --color-black: #111111;
  --color-white: #ffffff;
  --color-gray-dark: #333333;
  --color-gray-mid: #666666;
  --color-gray-light: #999999;
  --color-gray-bg: #eeeeee;
  --color-border: #dddddd;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --header-height: 70px;
  --transition: 0.3s ease;
  --max-width: 1100px;
}

/* ============================================
   リセット / ノーマライズ
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-jp);
  background-color: #ffffff;
  color: #111111;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  color: #444444;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   ユーティリティ
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  background-color: #ffffff;
}

.section--gray {
  background-color: #f7f7f7;
}

.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gray-light);
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 60px;
  color: #111111;
  text-align: center;
}

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

/* ============================================
   フェードインアニメーション（軽量版：opacity のみ）
   ============================================ */
[data-fade],
[data-fade-left],
[data-fade-right] {
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

[data-fade].visible,
[data-fade-left].visible,
[data-fade-right].visible {
  opacity: 1;
}

/* ============================================
   ボタン
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid #111111;
  color: #ffffff;
  background: #111111;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
}

.btn--fill {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.btn--fill:hover {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
}

.btn--large {
  padding: 18px 48px;
  font-size: 15px;
}

.btn i {
  font-size: 12px;
  transition: transform var(--transition);
}

.btn:hover i {
  transform: translateX(4px);
}

/* ============================================
   ヘッダー
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(17, 17, 17, 1);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}

/* ロゴ */
.header__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
}

.header__logo img {
  border-radius: 4px;
}

.header__logo-main {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  white-space: nowrap;
}

.header__logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-top: 3px;
}

/* デスクトップナビ */
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: #ffffff;
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  transform: scaleX(1);
}

.header__nav-cta {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.header__nav-cta:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #111111;
}

/* ハンバーガー */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  height: 1.5px;
  background: #ffffff;
  transition: all var(--transition);
  transform-origin: center;
}

.header__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu__list {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}

.mobile-menu__link:hover {
  color: #ffffff;
}

.mobile-menu__link:last-child {
  border-bottom: none;
}

/* ============================================
   ページヒーロー（内部ページ共通）
   ============================================ */
.page-hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
  text-align: center;
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-gray-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.page-hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #111111;
}

.page-hero__desc {
  margin: 24px auto 0;
  font-size: 16px;
  color: #666666;
  max-width: 560px;
  line-height: 1.8;
}

/* ============================================
   トップページ: ヒーローセクション
   (白背景・黒文字)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  color: #111111;
}

.hero::before {
  content: 'MIKATA';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #f0f0f0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #cccccc;
}

.hero__title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
  color: #111111;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: #555555;
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Hero buttons: black outline on light bg */
.hero .btn {
  background: transparent;
  color: #111111;
  border-color: #111111;
}

.hero .btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.hero .btn--fill {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.hero .btn--fill:hover {
  background: transparent;
  color: #111111;
  border-color: #111111;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #aaaaaa;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #aaaaaa, transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ============================================
   サービスカードグリッド
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}

.service-card {
  background: #ffffff;
  padding: 40px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #111111;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  font-size: 28px;
  margin-bottom: 20px;
  color: #999999;
  transition: color var(--transition);
}

.service-card:hover .service-card__icon {
  color: #111111;
}

.service-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  color: #111111;
}

.service-card__desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
}

/* ============================================
   選ばれる理由
   ============================================ */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.reason-item {
  padding: 40px 32px;
  border: 1px solid #eeeeee;
  position: relative;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
}

.reason-item__num {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 800;
  color: #eeeeee;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.reason-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #111111;
}

.reason-item__desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
}

/* ============================================
   CTAセクション
   ============================================ */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: #f7f7f7;
  color: #111111;
}

.cta-section::before {
  content: '';
  display: none;
}

.cta-section .container {
  position: relative;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #111111;
}

.cta-section__sub {
  color: #555555;
  font-size: 15px;
  margin-bottom: 48px;
}

/* CTA section buttons (on light bg) */
.cta-section .btn {
  background: transparent;
  color: #111111;
  border-color: #111111;
}

.cta-section .btn:hover {
  background: #111111;
  color: #ffffff;
}

.cta-section .btn--fill {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.cta-section .btn--fill:hover {
  background: transparent;
  color: #111111;
  border-color: #111111;
}

/* ============================================
   実績セクション
   ============================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 32px 28px;
  position: relative;
  text-align: center;
}

.work-card--placeholder {
  background: #f7f7f7;
  border: 1px dashed #dddddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
}

.work-card__category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #999999;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.work-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.4;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.work-card__tag {
  font-size: 11px;
  background: #f0f0f0;
  color: #555555;
  padding: 3px 10px;
  border-radius: 2px;
}

.work-card__result {
  font-size: 13px;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.work-card__quote {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
  padding-left: 14px;
  border-left: 2px solid #111111;
  font-style: italic;
}

.work-card__placeholder-icon {
  font-size: 36px;
  color: #cccccc;
  margin-bottom: 16px;
}

.work-card__placeholder-text {
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.7;
}

/* ============================================
   サービス詳細ページ
   ============================================ */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-detail__header {
  margin-bottom: 24px;
}

.service-detail__num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-gray-light);
  display: block;
  margin-bottom: 12px;
}

.service-detail__name {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #111111;
}

.service-detail__icon {
  font-size: 36px;
  color: #999999;
  margin-bottom: 20px;
  display: block;
}

.service-detail__desc {
  color: #666666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail__meta-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid #eeeeee;
  background: #fafafa;
}

.service-detail__meta-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-gray-light);
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 2px;
  min-width: 60px;
}

.service-detail__meta-value {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
}

.service-detail__price {
  font-size: 24px;
  font-weight: 700;
  color: #111111;
}

.service-detail__price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-gray-light);
  margin-left: 8px;
}

/* ============================================
   料金テーブル
   ============================================ */
.price-section {
  margin-bottom: 80px;
}

.price-section__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #111111;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111111;
}

.price-section__title i {
  color: #999999;
  font-size: 16px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666666;
  font-weight: 600;
  text-align: left;
  padding: 14px 24px;
  background: #f7f7f7;
  border-bottom: 1px solid #eeeeee;
}

.price-table td {
  padding: 20px 24px;
  font-size: 14px;
  border-bottom: 1px solid #eeeeee;
  vertical-align: middle;
  color: #444444;
}

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

.price-table tr:hover td {
  background: #f9f9f9;
}

.price-table td:first-child {
  font-weight: 600;
  font-size: 15px;
  color: #111111;
}

.price-table td:last-child {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  color: #111111;
}

.price-table td:nth-child(2) {
  color: #666666;
  font-size: 13px;
}

.price-note {
  margin-top: 16px;
  font-size: 12px;
  color: #999999;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-note i {
  margin-top: 2px;
  flex-shrink: 0;
}

/* 料金カテゴリーヘッダー */
.price-cat-header {
  background: #111111;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-cat-header i {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   FAQアコーディオン
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #eeeeee;
  background: #ffffff;
}

.faq-item {
  border-bottom: 1px solid #eeeeee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  transition: background var(--transition);
  gap: 20px;
  background: #ffffff;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question__text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #111111;
}

.faq-question__text::before {
  content: 'Q';
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: #111111;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-question__icon {
  width: 24px;
  height: 24px;
  border: 1px solid #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-question__icon i {
  font-size: 10px;
  color: #999999;
  transition: transform var(--transition);
}

.faq-item.open .faq-question__icon {
  background: #111111;
  border-color: #111111;
}

.faq-item.open .faq-question__icon i {
  color: #ffffff;
  transform: rotate(45deg);
}

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

.faq-answer.open {
  max-height: 300px;
}

.faq-answer__inner {
  padding: 0 28px 24px 72px;
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
}

/* ============================================
   会社概要
   ============================================ */
.about-philosophy {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  padding: 40px 32px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

@media (max-width: 768px) {
  .about-mission-grid {
    grid-template-columns: 1fr !important;
  }
  .about-philosophy {
    text-align: left;
    padding: 24px 20px;
  }
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: principle;
}

.principle-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eeeeee;
}

.principle-item:first-child {
  border-top: 1px solid #eeeeee;
}

.principle-item__num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #999999;
  white-space: nowrap;
  min-width: 60px;
}

.principle-item__text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #111111;
}

.members-grid {
  display: grid;
  grid-template-columns: minmax(280px, 480px);
  gap: 24px;
  background: transparent;
  border: none;
  justify-content: center;
}

.member-card {
  background: #ffffff;
  padding: 48px 40px;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
}

.member-card__role {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #999999;
  display: block;
  margin-bottom: 16px;
}

.member-card__name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: #111111;
}

.member-card__name span {
  font-size: 13px;
  font-weight: 400;
  color: #999999;
  margin-left: 10px;
  letter-spacing: 0.05em;
}

.member-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-card__list li {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  padding: 0;
  position: relative;
}

.member-card__list li::before {
  content: none;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid #eeeeee;
}

.info-table tr:first-child {
  border-top: 1px solid #eeeeee;
}

.info-table th {
  text-align: left;
  padding: 20px 24px 20px 0;
  font-size: 12px;
  font-weight: 600;
  color: #999999;
  letter-spacing: 0.05em;
  width: 140px;
  vertical-align: top;
  white-space: nowrap;
}

.info-table td {
  padding: 20px 0;
  font-size: 14px;
  color: #666666;
}

/* ============================================
   お問い合わせフォーム
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border: 1px solid #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: #999999;
  background: #f9f9f9;
}

.contact-info__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #999999;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #666666;
  margin-bottom: 8px;
}

.form-label .required {
  color: #111111;
  margin-left: 6px;
  font-size: 10px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #f9f9f9;
  border: 1px solid #dddddd;
  color: #111111;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbbbbb;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #111111;
  background: #ffffff;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid #111111;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  background: #ffffff;
  color: #111111;
}

.form-error {
  font-size: 12px;
  color: #333333;
  margin-top: 6px;
  display: none;
}

.form-error.show {
  display: block;
}

/* サンクスメッセージ */
.thank-you {
  display: none;
  text-align: center;
  padding: 80px 40px;
  border: 1px solid #eeeeee;
  background: #f9f9f9;
}

.thank-you.show {
  display: block;
}

.thank-you__icon {
  font-size: 48px;
  color: #111111;
  margin-bottom: 24px;
}

.thank-you__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111111;
}

.thank-you__text {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
}

/* ============================================
   フッター
   ============================================ */
.footer {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 0;
  color: #ffffff;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__logo-main {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.footer__logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.footer__tagline {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  align-content: start;
}

.footer__nav-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  padding: 4px 0;
}

.footer__nav-link:hover {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.footer__policy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   実績ページ (index.htmlから参照)
   ============================================ */
.works-placeholder {
  text-align: center;
  padding: 80px 0;
  color: #aaaaaa;
}

.works-placeholder__icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #dddddd;
}

.works-placeholder__text {
  font-size: 15px;
}

/* ============================================
   レスポンシブ (モバイルファースト)
   ============================================ */
@media (max-width: 768px) {
  /* 実績グリッド */
  .results-grid-3 {
    grid-template-columns: 1fr !important;
  }

  /* ヘッダー */
  .header__inner {
    padding: 0 20px;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* セクション */
  .section {
    padding: 70px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* ヒーロー */
  .hero::before {
    display: none;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  /* カードグリッド */
  .card-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .reasons {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reason-item {
    margin-bottom: 16px;
  }

  /* サービス詳細 */
  .service-detail__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* 料金テーブル */
  .price-table {
    font-size: 13px;
  }

  .price-table th,
  .price-table td {
    padding: 14px 16px;
  }

  /* 会社概要 */
  .members-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    padding: 32px 24px;
  }

  /* お問い合わせ */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* フッター */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* FAQ */
  .faq-answer__inner {
    padding: 0 20px 20px 60px;
  }

  .faq-question {
    padding: 20px;
  }

  /* 価格 */
  .price-table th:nth-child(2),
  .price-table td:nth-child(2) {
    display: none;
  }
}

/* ============================================
   タブレット調整
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .reasons {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ===== 数字バンド ===== */
.stats-band { background: #111111; padding: 56px 0; }
.stats-band__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.stat-cell {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-cell:last-child { border-right: none; }
.stat-cell__num {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
}
.stat-cell__label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  font-family: var(--font-en);
  margin-top: 10px;
}

/* ===== サービスツリー ===== */
.service-tree-wrap {
  overflow-x: auto;
  padding: 48px 0 16px;
  -webkit-overflow-scrolling: touch;
}
.service-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 640px;
}
.tree-root-box {
  background: #111111;
  color: #ffffff;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
}
.tree-root-box::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 28px;
  background: #cccccc;
}
.tree-h-line {
  width: 72%;
  height: 1px;
  background: #cccccc;
  margin-top: 28px;
  position: relative;
}
.tree-branches-row {
  display: flex;
  justify-content: space-around;
  width: 82%;
  gap: 16px;
}
.tree-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.tree-v-line {
  width: 1px;
  height: 28px;
  background: #cccccc;
}
.tree-node {
  background: #ffffff;
  border: 2px solid #111111;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  white-space: nowrap;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.tree-node::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: #cccccc;
}
.tree-leaves {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  width: 100%;
}
.tree-leaf {
  font-size: 11px;
  color: #555555;
  padding: 5px 10px;
  border: 1px solid #eeeeee;
  background: #fafafa;
  text-align: center;
  white-space: nowrap;
}

/* ===== タイムライン ===== */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 48px auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eeeeee;
}
.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  width: 54px;
  height: 54px;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-body { padding-top: 10px; }
.timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 5px;
}
.timeline-desc {
  font-size: 13px;
  color: #555555;
  line-height: 1.8;
}
/* ツリーノード */
.tree-node { cursor: default; }

@media (max-width: 640px) {
  .stat-cell { min-width: 120px; padding: 14px 12px; }
  .tree-branches-row { width: 96%; }
}

/* ============================================
   アニメーション無効設定を尊重
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  [data-fade],
  [data-fade-left],
  [data-fade-right] {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* ============================================
   印刷用（オプション）
   ============================================ */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
}

/* ============================================
   モバイルファースト追加スタイル
   ============================================ */

/* --- フォントサイズ・行間 スマホ最適化 --- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { line-height: 1.75; }
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }

  /* ヒーロー */
  .hero__title { font-size: 42px; }
  .hero__sub { font-size: 14px; line-height: 1.8; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* サービスブロック */
  .service-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-block--reverse { direction: ltr; }
  .service-block__title { font-size: 22px; }
  .service-block__desc { font-size: 14px; }

  /* 課題セクション */
  .problem-item { padding: 28px 16px; }
  .problem-item__text { font-size: 16px; }

  /* パートナーバナー */
  .partner-banner { padding: 60px 0; }

  /* CTA */
  .cta-full { padding: 80px 0; }
  .cta-full__btns { flex-direction: column; align-items: stretch; }
  .cta-full__btns .btn { justify-content: center; }

  /* 実績カード */
  .works-section [style*="repeat(3"] { grid-template-columns: 1fr !important; }

  /* フッター */
  .footer { padding: 48px 0 0; }
}

/* --- card-lift ホバー --- */
.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}

/* ============================================
   ページ内目次（固定 TOC）
   ============================================ */
.page-toc {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-toc__item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}
.page-toc__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(17,17,17,0.2);
  border: 1.5px solid rgba(17,17,17,0.35);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.page-toc__label {
  font-size: 11px;
  color: rgba(17,17,17,0.5);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
  font-family: var(--font-jp);
}
.page-toc__item:hover .page-toc__label {
  opacity: 1;
  transform: translateX(0);
}
.page-toc__item.toc-active .page-toc__dot {
  background: #111111;
  transform: scale(1.35);
}
@media (max-width: 768px) {
  .page-toc { display: none; }
}

/* ============================================
   アコーディオン（テキスト圧縮用）
   ============================================ */
.accordion-item {
  border-bottom: 1px solid #eeeeee;
}
.accordion-item:first-child { border-top: 1px solid #eeeeee; }
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  gap: 16px;
}
.accordion-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  font-size: 12px;
  color: #999999;
}
.accordion-item.open .accordion-icon {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.accordion-icon i {
  transition: transform 0.3s;
}
.accordion-item.open .accordion-icon i {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body.open {
  max-height: 600px;
}
.accordion-body__inner {
  padding: 0 0 20px;
  font-size: 14px;
  color: #555555;
  line-height: 1.85;
}

/* ============================================
   準備中バッジ
   ============================================ */
.badge-wip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #f0f0f0;
  color: #888888;
  border: 1px solid #dddddd;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ============================================
   グラデーション装飾 helpers
   ============================================ */
.gradient-bar {
  height: 3px;
  background: linear-gradient(90deg, #111111 0%, #555555 50%, #aaaaaa 100%);
  margin-bottom: 32px;
}

/* ============================================
   section-label 左揃え variant
   ============================================ */
.section-label--left {
  text-align: left;
}
