@charset "UTF-8";

/* ============================================
   JUSTIN DAVIS お修理受付 共通スタイル
   参考: https://justindavis-online.com
   フォント: Roboto + 日本語角ゴシック
   ============================================ */

/* Google Fonts - Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

/* フォント変数 */
:root {
  --font-base: "Roboto", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --font-en: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #1a1a1a;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

/* レイアウト */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ヘッダー */
.header {
  padding: 48px 0 40px;
  text-align: center;
  border-bottom: 1px solid #e6e6e6;
}

.header__logo {
  display: inline-block;
  margin: 0 auto;
}

.header__logo img {
  width: 220px;
  max-width: 60vw;
  height: auto;
}

.header__title {
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #1a1a1a;
}

/* メイン */
.main {
  padding: 56px 0 96px;
}

/* ページタイトル */
.page-heading {
  margin: 0 0 48px;
  text-align: center;
}

.page-heading__en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #888;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-heading__ja {
  display: block;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.page-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 24px auto 0;
  background: #1a1a1a;
}

/* セクション */
.section {
  margin-bottom: 56px;
}

.section__title {
  position: relative;
  margin: 0 0 20px;
  padding-left: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-left: 3px solid #1a1a1a;
  line-height: 1.5;
}

.section__lead {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 2;
  color: #333;
}

/* 番号付きリスト */
.flow-list {
  counter-reset: flow;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-list__item {
  counter-increment: flow;
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px dashed #d8d8d8;
  font-size: 14.5px;
  line-height: 1.8;
}

.flow-list__item:last-child {
  border-bottom: none;
}

.flow-list__sub {
  display: block;
  margin-top: 4px;
  padding-left: 14px;
  position: relative;
  font-size: 12.5px;
  color: #777;
  line-height: 1.7;
}

.flow-list__sub::before {
  content: "┗";
  position: absolute;
  left: 0;
  top: 0;
  color: #aaa;
}

.flow-list__item::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
  border-right: 1px solid #d8d8d8;
  width: 40px;
  text-align: center;
  line-height: 1.4;
  padding-right: 8px;
}

/* 料金リスト */
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list__item {
  padding: 12px 0;
  border-bottom: 1px dashed #d8d8d8;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.price-list__item:last-child {
  border-bottom: none;
}

.price-list__label {
  flex: 1 1 auto;
}

.price-list__value {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.price-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #888;
  line-height: 1.7;
}

/* 注記 */
.note {
  margin-top: 16px;
  padding: 16px 20px;
  background: #f7f5f1;
  font-size: 13px;
  color: #555;
  line-height: 1.85;
}

/* ご挨拶リード */
.intro-lead {
  margin: 0 0 56px;
  font-size: 14.5px;
  line-height: 2;
  color: #333;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .intro-lead {
    text-align: left;
    margin-bottom: 40px;
  }
}

/* 受付方法カード */
.method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 0;
}

.method-card {
  padding: 28px 24px;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.method-card__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.method-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.method-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: #444;
}

.method-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
}

@media screen and (max-width: 640px) {
  .method-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .method-card {
    padding: 22px 20px;
  }
}

/* 箇条書きリスト（注意点など） */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list__item {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: #333;
}

.bullet-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 1px;
  background: #888;
}

/* インラインリンク（本文内） */
.inline-link {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1px;
}

.inline-link:hover {
  opacity: 0.6;
}

/* ボタン */
.btn-area {
  margin: 64px 0 0;
  text-align: center;
}

.btn {
  display: inline-block;
  min-width: 280px;
  padding: 18px 36px;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-align: center;
  border: 1px solid #1a1a1a;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: #fff;
  color: #1a1a1a;
  opacity: 1;
}

.btn--outline {
  background: #fff;
  color: #1a1a1a;
}

.btn--outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-area__sub {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.08em;
}

/* 戻るリンク */
.back-link {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.back-link a {
  text-decoration: none;
  color: #555;
  padding-bottom: 2px;
  border-bottom: 1px solid #ccc;
}

/* フッター */
.footer {
  padding: 24px 0 32px;
  border-top: 1px solid #e6e6e6;
  text-align: center;
  font-size: 11.5px;
  color: #999;
  letter-spacing: 0.15em;
}

/* ============================================
   ContactHub フォームのカスタマイズ
   ============================================ */
.form-wrap {
  margin-top: 32px;
}

.efo-form-container {
  max-width: 100% !important;
  font-family: var(--font-base) !important;
}

.efo-form-container * {
  box-sizing: border-box;
}

.efo-label,
.efo-form-container label {
  font-size: 14px !important;
  color: #1a1a1a !important;
  letter-spacing: 0.08em !important;
  font-weight: 500 !important;
}

.efo-input,
.efo-form-container input[type="text"],
.efo-form-container input[type="email"],
.efo-form-container input[type="tel"],
.efo-form-container input[type="number"],
.efo-form-container select,
.efo-form-container textarea {
  border-radius: 0 !important;
  border: 1px solid #cfcfcf !important;
  background: #fff !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  color: #1a1a1a !important;
  font-family: inherit !important;
  transition: border-color 0.2s ease;
}

.efo-form-container input:focus,
.efo-form-container select:focus,
.efo-form-container textarea:focus {
  outline: none !important;
  border-color: #1a1a1a !important;
}

.efo-btn,
.efo-btn--next,
.efo-btn--submit,
.efo-form-container button {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 0 !important;
  padding: 16px 32px !important;
  font-size: 14px !important;
  letter-spacing: 0.2em !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.efo-btn:hover,
.efo-btn--next:hover,
.efo-btn--submit:hover,
.efo-form-container button:hover {
  background: #fff !important;
  color: #1a1a1a !important;
}

.efo-btn--back,
.efo-btn--prev {
  background: #fff !important;
  color: #1a1a1a !important;
}

.efo-btn--back:hover,
.efo-btn--prev:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media screen and (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 20px;
  }

  .header {
    padding: 32px 0 28px;
  }

  .header__logo img {
    width: 180px;
  }

  .header__title {
    margin-top: 20px;
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .main {
    padding: 40px 0 64px;
  }

  .page-heading {
    margin-bottom: 36px;
  }

  .page-heading__ja {
    font-size: 18px;
  }

  .section {
    margin-bottom: 44px;
  }

  .section__title {
    font-size: 15.5px;
  }

  .section__lead,
  .flow-list__item,
  .price-list__item {
    font-size: 13.5px;
  }

  .flow-list__item {
    padding-left: 48px;
  }

  .flow-list__item::before {
    width: 34px;
    font-size: 16px;
  }

  .btn {
    min-width: 0;
    width: 100%;
    padding: 16px 24px;
  }
}
