/* ========================================
   リセット & ベーススタイル
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* ========================================
   カラー変数
   - 色を変更する場合はここを編集してください
   ======================================== */
:root {
  /* プライマリカラー */
  --color-primary: #000000;
  --color-primary-hover: #374151;

  /* テキストカラー */
  --color-text: #1f2937;
  --color-text-light: #4b5563;
  --color-text-muted: #6b7280;

  /* 背景カラー */
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-dark: #000000;

  /* ボーダーカラー */
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;

  /* アクセントカラー（ステップアイコン用） */
  --color-blue: #3b82f6;
  --color-teal: #14b8a6;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-orange: #f97316;
  --color-rose: #f43f5e;
  --color-violet: #8b5cf6;
  --color-slate: #475569;
}

/* ========================================
   コンテナ
   ======================================== */
.header__container,
.hero__container,
.features__container,
.process__container,
.strengths__container,
.cta__container,
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header__container,
  .hero__container,
  .features__container,
  .process__container,
  .strengths__container,
  .cta__container,
  .footer__container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header__container,
  .hero__container,
  .features__container,
  .process__container,
  .strengths__container,
  .cta__container,
  .footer__container {
    padding: 0 2rem;
  }
}

/* ========================================
   ヘッダー / Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.header__nav-link {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

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

.header__cta-btn {
  display: none;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-primary);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .header__cta-btn {
    display: block;
  }
}

.header__cta-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

/* モバイルメニューボタン */
.header__mobile-btn {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .header__mobile-btn {
    display: none;
  }
}

.header__mobile-icon,
.header__mobile-icon::before,
.header__mobile-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  left: 2px;
  transition: all 0.3s ease;
}

.header__mobile-icon {
  top: 11px;
}

.header__mobile-icon::before {
  content: "";
  top: -6px;
}

.header__mobile-icon::after {
  content: "";
  top: 6px;
}

/* モバイルメニュー開いた状態 */
.header__mobile-btn.is-open .header__mobile-icon {
  background-color: transparent;
}

.header__mobile-btn.is-open .header__mobile-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.header__mobile-btn.is-open .header__mobile-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* モバイルナビゲーション */
.header__mobile-nav {
  display: none;
  padding-bottom: 1rem;
}

.header__mobile-nav.is-open {
  display: block;
}

@media (min-width: 768px) {
  .header__mobile-nav {
    display: none !important;
  }
}

.header__mobile-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

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

/* ========================================
   ヒーローセクション / Hero Section
   ======================================== */
.hero {
  background-color: var(--color-bg);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero__header {
  margin-bottom: 3rem;
}

.hero__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__line {
  width: 5rem;
  height: 1px;
  background-color: var(--color-primary);
}

.hero__breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 4rem;
}

.hero__breadcrumb-separator {
  margin: 0 0.5rem;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__image-wrapper {
  background-color: var(--color-bg-alt);
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

@media (min-width: 1024px) {
  .hero__image-wrapper {
    aspect-ratio: auto;
    height: 24rem;
  }
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__text-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.025em;
}

@media (min-width: 1024px) {
  .hero__text-title {
    font-size: 1.875rem;
  }
}

.hero__text-paragraph {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .hero__text-paragraph {
    font-size: 1rem;
  }
}

/* ========================================
   特徴セクション / Features Section
   ======================================== */
.features {
  background-color: var(--color-bg-alt);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .features {
    padding: 6rem 0;
  }
}

.features__title {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .features__title {
    font-size: 2.25rem;
    margin-bottom: 4rem;
  }
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.features__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features__item-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
}

.features__item-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .features__item-text {
    font-size: 1rem;
  }
}

/* ========================================
   ご依頼の流れセクション / Process Flow Section
   ======================================== */
.process {
  background: linear-gradient(to bottom, var(--color-bg-alt), var(--color-bg));
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .process {
    padding: 7rem 0;
  }
}

.process__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .process__header {
    margin-bottom: 5rem;
  }
}

.process__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.process__title {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .process__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .process__title {
    font-size: 3rem;
  }
}

.process__line {
  width: 4rem;
  height: 4px;
  background-color: var(--color-text);
  margin: 0 auto 1.5rem;
}

.process__description {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

@media (min-width: 640px) {
  .process__description {
    font-size: 1.125rem;
  }
}

.process__highlight {
  font-weight: 500;
  color: var(--color-text);
}

/* デスクトップ表示 */
.process__desktop {
  display: none;
}

@media (min-width: 1024px) {
  .process__desktop {
    display: block;
  }
}

.process__row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.process__card-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
}

.process__card-wrapper--last {
  flex: 1;
}

.process__card-wrapper--last .process__card {
  flex: 1;
}

.process__card {
  background-color: var(--color-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border-light);
  flex: 1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

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

.process__card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  color: var(--color-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.process__icon--blue {
  background-color: var(--color-blue);
}
.process__icon--teal {
  background-color: var(--color-teal);
}
.process__icon--emerald {
  background-color: var(--color-emerald);
}
.process__icon--amber {
  background-color: var(--color-amber);
}
.process__icon--orange {
  background-color: var(--color-orange);
}
.process__icon--rose {
  background-color: var(--color-rose);
}
.process__icon--violet {
  background-color: var(--color-violet);
}
.process__icon--slate {
  background-color: var(--color-slate);
}

.process__step-number {
  font-size: 1.875rem;
  font-weight: 300;
  color: #d1d5db;
}

.process__card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.process__card-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.625;
  margin-top: auto;
}

.process__arrow {
  flex-shrink: 0;
  padding: 0 0.5rem;
  color: #d1d5db;
}

/* 中央の下矢印 */
.process__down-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12.5%;
  margin: 1rem 0;
  color: #9ca3af;
}

.process__down-line {
  width: 1px;
  height: 2rem;
  background-color: #d1d5db;
}

/* モバイル表示 */
.process__mobile {
  display: block;
}

@media (min-width: 1024px) {
  .process__mobile {
    display: none;
  }
}

.process__timeline {
  position: relative;
  padding-left: 0;
}

/* タイムラインの縦線 */
.process__timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-blue), var(--color-amber), var(--color-slate));
}

.process__timeline-item {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.process__timeline-item--last {
  padding-bottom: 0;
}

.process__timeline-node {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--color-bg);
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.process__timeline-node--blue {
  background-color: var(--color-blue);
}
.process__timeline-node--teal {
  background-color: var(--color-teal);
}
.process__timeline-node--emerald {
  background-color: var(--color-emerald);
}
.process__timeline-node--amber {
  background-color: var(--color-amber);
}
.process__timeline-node--orange {
  background-color: var(--color-orange);
}
.process__timeline-node--rose {
  background-color: var(--color-rose);
}
.process__timeline-node--violet {
  background-color: var(--color-violet);
}
.process__timeline-node--slate {
  background-color: var(--color-slate);
}

.process__timeline-content {
  flex: 1;
  background-color: var(--color-bg);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border-light);
}

.process__timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.process__timeline-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.625;
}

.process__note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

@media (min-width: 1024px) {
  .process__note {
    margin-top: 4rem;
  }
}

/* ========================================
   強みセクション / Strengths Section
   ======================================== */
.strengths {
  background-color: var(--color-bg-alt);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .strengths {
    padding: 6rem 0;
  }
}

.strengths__title {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .strengths__title {
    font-size: 2.25rem;
    margin-bottom: 4rem;
  }
}

.strengths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .strengths__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

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

.strengths__number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.strengths__item-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
}

.strengths__item-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .strengths__item-text {
    font-size: 1rem;
  }
}

/* ========================================
   CTAセクション / CTA Section
   ======================================== */
.cta {
  background-color: var(--color-bg);
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 1024px) {
  .cta {
    padding: 6rem 0;
  }
}

.cta__container {
  text-align: center;
}

.cta__title {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .cta__title {
    font-size: 2.25rem;
  }
}

.cta__text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  .cta__text {
    font-size: 1rem;
  }
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta__buttons {
    flex-direction: row;
  }
}

.cta__btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

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

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

.cta__btn--secondary {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.cta__btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

/* ========================================
   フッター / Footer
   ======================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-bg);
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .footer {
    padding: 4rem 0;
  }
}

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

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.footer__brand {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer__description {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.625;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links-list a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer__links-list a:hover {
  color: var(--color-bg);
}

.footer__copyright {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer__copyright p {
  font-size: 0.875rem;
  color: #9ca3af;
}


/* ========================================
   お問い合わせフォーム / Contact Form
   ======================================== */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__group {
  margin-bottom: 1.5rem;
}

.contact-form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid var(--color-border);
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.contact-form__note {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

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



/* ========================================
   モバイル専用お問い合わせボタン（初期状態は非表示）
   ======================================== */
.mobile-contact-btn {
  display: none;              /* デフォルトでは表示しない（PC用） */
  text-decoration: none;
}

/* 768px以下（スマホ想定）のときだけ表示 */
@media (max-width: 768px) {
  /* 既存ヘッダー右上の問い合わせボタンがあるなら、スマホでは消してOK */
  .header__cta-btn {
    display: none;
  }

  .mobile-contact-btn {
    display: block;
    background-color: #111827;    /* ボタンの背景色（サイトに合わせて変更可） */
    color: #ffffff;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    
    position: sticky;            /* 上部に張り付き */
    top: 0;
    z-index: 50;                 /* ヘッダーや他要素より前面に */
  }
}


/* ========================================
   利用規約・プライバシーポリシーのモーダル
   ======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* JS から .is-open を付けて表示 */
.modal.is-open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  max-width: 600px;
  width: 100%;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
  color: #111827;
}

.modal-content h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.modal-content p {
  font-size: 0.875rem;
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ========================================
   実績セクションの追加スタイル
   ======================================== */

.features__item-text--bottom {
  margin-bottom: 2rem;
}

.results-divider {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.results-title {
  margin-bottom: 1rem;
}


/* ========================================
   共通セクション背景色
   ======================================== */
.section-white {
  background-color: #ffffff;
}

.section-gray {
  background-color: #f7f8fa; /* 柔らかいプロ仕様のグレー */
}