@charset "utf-8";
/*
Theme Name: GENESIS child
Theme URI:https://tcd-theme.com/tcd103/
Description:WordPressテーマ「GENESIS」の子テーマ
Template:genesis_tcd103
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/* ============================================================
   Fika EN site — custom styles
   ブランドカラー: #0f4c81(信頼感のあるディープブルー)
   ============================================================ */

:root {
  --fk-brand: #0f4c81;
  --fk-brand-dark: #0a3559;
  --fk-brand-light: #e9f0f7;
  --fk-ink: #16202b;
  --fk-muted: #55636f;
  --fk-line: #dde4ec;
  --fk-bg-soft: #f5f8fc;
}

/* --- 共通レイアウト --------------------------------------- */

.post_content .fk-sec {
  margin: 0 0 5.5rem;
}
.post_content .fk-sec:last-child {
  margin-bottom: 0;
}

.post_content .fk-h2 {
  font-size: 2rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fk-ink);
  margin: 0 0 1.6rem;
  padding: 0 0 0.9rem;
  border-bottom: 2px solid var(--fk-line);
  position: relative;
  /* テーマ既定は中央寄せ。アクセント線が左にあるので左揃えに統一する */
  text-align: left;
}
.post_content .fk-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 3.5rem;
  height: 2px;
  background: var(--fk-brand);
}

.post_content .fk-lead {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--fk-ink);
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
}

.post_content .fk-center {
  text-align: center;
  margin-top: 2.4rem;
}

/* --- グリッド・カード ------------------------------------- */

.post_content .fk-grid {
  display: grid;
  gap: 1.6rem;
}
.post_content .fk-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.post_content .fk-card {
  border: 1px solid var(--fk-line);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.post_content .fk-card:hover {
  border-color: var(--fk-brand);
  box-shadow: 0 6px 22px rgba(15, 76, 129, 0.09);
}
.post_content .fk-card h3 {
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--fk-ink);
  margin: 0 0 0.7rem;
  font-weight: 700;
}
.post_content .fk-card p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--fk-muted);
  margin: 0;
}

.post_content .fk-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--fk-brand);
  margin-bottom: 0.8rem;
}

.post_content .fk-card-svc {
  display: flex;
  flex-direction: column;
}
.post_content .fk-price {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--fk-brand) !important;
  border-top: 1px dashed var(--fk-line);
  margin-bottom: 0 !important;
}

/* --- ボタン ------------------------------------------------ */

.post_content .fk-btn {
  display: inline-block;
  padding: 1rem 2.6rem;
  background: var(--fk-brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background 0.25s, transform 0.15s;
}
.post_content .fk-btn:hover {
  background: var(--fk-brand-dark);
  transform: translateY(-1px);
}
.post_content .fk-btn-ghost {
  background: transparent;
  color: var(--fk-brand) !important;
  border: 1px solid var(--fk-brand);
}
.post_content .fk-btn-ghost:hover {
  background: var(--fk-brand);
  color: #fff !important;
}

/* --- 引用・コールアウト ------------------------------------ */

.post_content .fk-quote {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 600;
  font-style: italic;
  color: var(--fk-brand-dark);
  border-left: 3px solid var(--fk-brand);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 1.8rem 0;
}

.post_content .fk-callout {
  background: var(--fk-bg-soft);
  border: 1px solid var(--fk-line);
  border-radius: 4px;
  padding: 2.4rem 2.2rem;
}
.post_content .fk-callout .fk-h2 {
  margin-top: 0;
}
.post_content .fk-callout-title {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--fk-ink);
  margin: 0 0 1rem;
}

.post_content .fk-cta {
  background: var(--fk-brand);
  border-radius: 4px;
  padding: 3rem 2.2rem;
  text-align: center;
}
.post_content .fk-cta .fk-h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.25);
  text-align: center;
}
.post_content .fk-cta .fk-h2::after {
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
}
.post_content .fk-cta p {
  color: rgba(255, 255, 255, 0.92);
}
.post_content .fk-cta .fk-btn {
  background: #fff;
  color: var(--fk-brand) !important;
}
.post_content .fk-cta .fk-btn:hover {
  background: var(--fk-brand-light);
}

/* --- リスト・ステップ -------------------------------------- */

.post_content .fk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post_content .fk-list li {
  position: relative;
  padding: 0 0 0 1.7rem;
  margin: 0 0 1rem;
  line-height: 1.85;
}
.post_content .fk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fk-brand);
}

.post_content .fk-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: fkstep;
}
.post_content .fk-steps > li {
  position: relative;
  padding: 0 0 1.8rem 2.2rem;
  border-left: 2px solid var(--fk-line);
  margin-left: 0.6rem;
}
.post_content .fk-steps > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.post_content .fk-steps > li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fk-brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--fk-brand);
}
.post_content .fk-steps h3 {
  font-size: 1.1rem;
  color: var(--fk-ink);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.post_content .fk-steps p {
  margin: 0;
  color: var(--fk-muted);
  line-height: 1.85;
}

/* --- FAQ --------------------------------------------------- */

.post_content .fk-q {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--fk-ink);
  margin: 2.2rem 0 0.6rem;
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.55;
}
.post_content .fk-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fk-brand);
  font-weight: 700;
}

/* --- テーブル ---------------------------------------------- */

.post_content .fk-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 0;
}
.post_content .fk-table th,
.post_content .fk-table td {
  border: 1px solid var(--fk-line);
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
  font-size: 0.97rem;
}
.post_content .fk-table th {
  background: var(--fk-bg-soft);
  width: 34%;
  font-weight: 700;
  color: var(--fk-ink);
  white-space: nowrap;
}

/* --- 本人記入プレースホルダ(公開前に必ず消す) ------------- */

.post_content .fk-placeholder {
  background: #fffbe6;
  border: 2px dashed #e0b000;
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
}
.post_content .fk-placeholder::before {
  content: "⚠ 未記入 — 公開前に差し替えること";
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8a6a00;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

/* --- ヒーロー上の透過ヘッダー ------------------------------
   type3(フルスクリーンヒーロー)では未スクロール時にヘッダーが透過し、
   背景が濃紺になる。この状態で「現在ページ」項目がブランドカラー(濃紺)
   だと背景に溶けて読めないため、明るいアクセント色に上書きする。
   スクロール後(body.header_fixed)は白背景なので元の配色のままでよい。
   ------------------------------------------------------------ */

body.header_slider_layout_type3:not(.header_fixed) #global_menu > ul > li.current-menu-item > a,
body.header_slider_layout_type3:not(.header_fixed) #menu-global > li.current-menu-item > a {
  color: #7fb9ee !important;
}

/* --- サービス一覧の余白調整 --------------------------------
   TCD 既定は上下 140px。サービスが3件だけだと間延びするので詰める。
   ------------------------------------------------------------ */

.service_category_content {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}
.service_category_content .post_list {
  margin-top: 28px !important;
}
@media screen and (max-width: 900px) {
  .service_category_content {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
}

/* --- トップページの問い合わせセクション -------------------- */

.post_content .fk-contact {
  scroll-margin-top: 100px; /* 固定ヘッダー分のオフセット */
  background: var(--fk-bg-soft);
  border: 1px solid var(--fk-line);
  border-radius: 4px;
  padding: 3rem 2.4rem;
}
.post_content .fk-contact .fk-h2 {
  margin-top: 0;
}
.post_content .fk-contact > p {
  max-width: 46rem;
}
.post_content .fk-contact .wpcf7 {
  margin-top: 2.2rem;
  background: #fff;
  border: 1px solid var(--fk-line);
  border-radius: 4px;
  padding: 2.2rem 2rem;
}
.post_content .fk-contact-alt {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fk-ink);
  margin: 2.8rem 0 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--fk-line);
}

/* --- Contact Form 7 ---------------------------------------- */

.post_content .fk-form-row {
  margin: 0 0 1.5rem;
}
.post_content .fk-form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fk-ink);
  line-height: 1.6;
}
.post_content .fk-req {
  color: var(--fk-brand);
  font-size: 0.85em;
}
.post_content .wpcf7 input[type="text"],
.post_content .wpcf7 input[type="email"],
.post_content .wpcf7 input[type="url"],
.post_content .wpcf7 textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--fk-line);
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.post_content .wpcf7 input:focus,
.post_content .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--fk-brand);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}
.post_content .fk-form-note {
  font-size: 0.9rem;
  color: var(--fk-muted);
  line-height: 1.8;
  background: var(--fk-bg-soft);
  border-radius: 3px;
  padding: 1rem 1.2rem;
  margin: 0 0 1.6rem;
}
/* テーマが form に左右マージンを付けるため打ち消す(スマホで入力欄が細くなる) */
.post_content .wpcf7 form {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

.post_content .fk-form-submit {
  text-align: center;
}
.post_content .wpcf7 input[type="submit"] {
  display: inline-block;
  max-width: 100%;
  padding: 1rem 3.4rem;
  background: var(--fk-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s;
}
.post_content .wpcf7 input[type="submit"]:hover {
  background: var(--fk-brand-dark);
}

/* --- レスポンシブ ------------------------------------------ */

@media screen and (max-width: 900px) {
  .post_content .fk-grid-3 {
    grid-template-columns: 1fr;
  }
  .post_content .fk-sec {
    margin-bottom: 3.6rem;
  }
  .post_content .fk-h2 {
    font-size: 1.5rem;
  }
  .post_content .fk-lead {
    font-size: 1.2rem;
  }
  .post_content .fk-cta,
  .post_content .fk-callout {
    padding: 2rem 1.3rem;
  }
  .post_content .fk-table th,
  .post_content .fk-table td {
    display: block;
    width: auto;
    border-bottom: none;
    white-space: normal;
  }
  .post_content .fk-table tr:last-child td {
    border-bottom: 1px solid var(--fk-line);
  }
  .post_content .fk-btn {
    width: 100%;
    padding: 1rem 1rem;
  }
  /* フォーム: スマホでは余白を詰めて入力欄を全幅に */
  .post_content .fk-contact {
    padding: 2rem 1.1rem;
  }
  .post_content .fk-contact .wpcf7 {
    padding: 1.4rem 1.1rem;
  }
  .post_content .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 1rem 1rem;
  }
}

/* --- セクション内の画像 ------------------------------------ */

.post_content .fk-figure {
  margin: 2.4rem 0 0;
}
.post_content .fk-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.post_content .fk-figure + .fk-grid {
  margin-top: 2.4rem;
}

/* --- Services アーカイブ: term見出しの重複を非表示(2026-08-11) ------- */

#service_category_list .header .title_area {
  display: none;
}
