@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ(TOMOtomoni デザイン部品)
    Version: 1.1.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@700;900&family=Inter:wght@600;700&display=swap");

/* =========================================================
   TOMOtomoni デザイン部品(A改)
   使い方:ブロックの「高度な設定 > 追加CSSクラス」に tomo-○○ を入れる
   色を変えるときは、下の --tomo-○○ だけ直せばサイト全体が変わる
   ========================================================= */
body {
  --tomo-orange: #F28C3F;       /* 明るいオレンジ(面・アクセント) */
  --tomo-orange-deep: #C2410C;  /* 濃いオレンジ(ボタン・番号) */
  --tomo-orange-text: #B4460F;  /* オレンジの文字 */
  --tomo-orange-pale: #FFE4CC;  /* 淡いオレンジ */
  --tomo-cream: #FFF9F1;        /* アイボリー(背景) */
  --tomo-cream-2: #FFF4E8;      /* 少し濃いアイボリー */
  --tomo-navy: #1F2D4A;         /* ネイビー(見出し) */
  --tomo-text: #2F3440;
  --tomo-muted: #5F6470;
  --tomo-line: #F1E4D3;
  --tomo-photo: #EFE6DA;
  --tomo-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --tomo-en: "Inter", "Noto Sans JP", sans-serif;
  overflow-x: clip;
}

/* ---------- 全幅の帯・中の幅 ---------- */
.tomo-full {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
  padding: 80px 0;
}
.post_content > .tomo-full:first-child { margin-top: 0; }
.tomo-full + .tomo-full { margin-top: 0 !important; }
.tomo-inner {
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 24px;
  box-sizing: border-box;
}
.tomo-bg-white { background: #FFFFFF; }
.tomo-bg-cream { background: var(--tomo-cream); }
.tomo-bg-orange { background: var(--tomo-orange); }
.tomo-bg-navy { background: var(--tomo-navy); color: #FFFFFF; }

/* 写真が入るページではページタイトルを隠す(HOME用) */
body:has(.tomo-hero) .c-pageTitle,
body:has(.tomo-hero) .l-topTitleArea { display: none; }
body:has(.tomo-hero) .l-content { padding-top: 0; }

/* ---------- 見出し(SWELLの装飾をリセット) ---------- */
.post_content .tomo-eyebrow {
  margin: 0 0 4px !important;
  font-family: var(--tomo-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--tomo-orange-text);
  text-align: center;
}
.post_content h1.tomo-ttl,
.post_content h2.tomo-ttl,
.post_content h3.tomo-ttl {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 40px !important;
  color: var(--tomo-navy) !important;
  font-family: var(--tomo-round);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.5;
  text-align: center;
}
.post_content .tomo-ttl::before,
.post_content .tomo-ttl::after,
.post_content .tomo-h3::before,
.post_content .tomo-h3::after { content: none !important; display: none !important; }
.post_content .tomo-h3 {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  color: var(--tomo-navy) !important;
  font-family: var(--tomo-round);
  font-weight: 900;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
}
.post_content .tomo-left { text-align: left !important; }
.post_content .tomo-lead { font-size: 18px; color: #3E4450; }
.post_content .tomo-small { font-size: 15px; color: var(--tomo-muted); }
.post_content .tomo-center { text-align: center; }

/* ---------- リスト共通リセット ---------- */
.post_content ul.tomo-issues,
.post_content ul.tomo-check,
.post_content ul.tomo-tags,
.post_content ol.tomo-steps {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.post_content ul.tomo-issues > li::before,
.post_content ul.tomo-tags > li::before,
.post_content ol.tomo-steps > li::before { content: none; }
.post_content ul.tomo-issues > li,
.post_content ul.tomo-check > li,
.post_content ul.tomo-tags > li,
.post_content ol.tomo-steps > li { padding-left: 0; margin: 0; }

/* ---------- メインビジュアル ---------- */
.tomo-hero { padding: 64px 0 40px; }
.tomo-hero .wp-block-columns { align-items: center !important; gap: 56px; }
.post_content .tomo-hero-label {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 16px !important;
  font-size: 15px; font-weight: 700; color: var(--tomo-orange-text);
}
.post_content .tomo-hero-label::before {
  content: ""; width: 32px; height: 3px; border-radius: 2px; background: var(--tomo-orange);
}
.post_content h1.tomo-hero-ttl {
  font-size: clamp(32px, 4.4vw, 50px);
  text-align: left;
  margin: 0 0 20px !important;
}
.post_content .tomo-hero-ttl mark,
.post_content .tomo-marker {
  background: linear-gradient(transparent 64%, #FFC897 64%);
  color: inherit;
}
.tomo-photo {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background: var(--tomo-photo);
  border: 6px solid #FFFFFF;
  box-shadow: 0 20px 48px rgba(31,45,74,.14);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--tomo-muted);
  padding: 32px; box-sizing: border-box;
}
.tomo-photo img { border-radius: 22px; width: 100%; height: 100%; object-fit: cover; }
.tomo-hero-visual { position: relative; padding: 0 0 40px 28px; }
.tomo-hero-visual::before {
  content: ""; position: absolute; top: -24px; right: -24px;
  width: 70%; height: 80%; border-radius: 32px; background: var(--tomo-orange); z-index: 0;
}
.tomo-hero-visual > * { position: relative; z-index: 1; }
.tomo-hero-badge {
  position: absolute !important; left: 0; bottom: 0; z-index: 2 !important;
  background: #FFFFFF; border-radius: 20px; padding: 16px 22px !important;
  box-shadow: 0 12px 32px rgba(31,45,74,.16); line-height: 1.5;
}
.post_content .tomo-hero-badge p { margin: 0 !important; }
.tomo-hero-badge .tomo-badge-role { font-size: 13px; color: var(--tomo-orange-text); font-weight: 700; }
.tomo-hero-badge .tomo-badge-name { font-weight: 700; color: var(--tomo-navy); }

/* ---------- ボタン ---------- */
.post_content .tomo-btns { gap: 14px; }
.post_content .tomo-btn-primary .wp-block-button__link,
.post_content .tomo-btn-outline .wp-block-button__link,
.post_content .tomo-btn-navy .wp-block-button__link {
  border-radius: 14px !important;
  padding: 16px 32px !important;
  font-weight: 700; font-size: 17px; line-height: 1.5;
  text-decoration: none !important;
  transition: transform .15s, box-shadow .15s;
}
.post_content .tomo-btn-primary .wp-block-button__link {
  background: var(--tomo-orange-deep) !important; color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(194,65,12,.25);
}
.post_content .tomo-btn-outline .wp-block-button__link {
  background: #FFFFFF !important; color: var(--tomo-navy) !important;
  border: 2px solid var(--tomo-navy) !important;
}
.post_content .tomo-btn-navy .wp-block-button__link {
  background: var(--tomo-navy) !important; color: #FFFFFF !important;
}
.post_content .wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }

/* ---------- 資格の帯 ---------- */
.tomo-trust {
  background: #FFFFFF; border-radius: 24px;
  box-shadow: 0 6px 24px rgba(31,45,74,.06);
  padding: 8px 8px !important;
}
.tomo-trust .wp-block-columns { gap: 0 !important; margin: 0 !important; }
.tomo-trust .wp-block-column { padding: 20px 26px; border-right: 1px solid var(--tomo-line); }
.tomo-trust .wp-block-column:last-child { border-right: none; }
.post_content .tomo-trust p { margin: 0 !important; line-height: 1.6; }
.tomo-trust .tomo-trust-ttl { font-weight: 700; color: var(--tomo-navy); }
.tomo-trust .tomo-trust-ttl::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--tomo-orange); margin-right: 10px; vertical-align: middle;
}
@media (max-width: 781px) {
  .tomo-trust .wp-block-column { border-right: none; border-bottom: 1px solid var(--tomo-line); }
  .tomo-trust .wp-block-column:last-child { border-bottom: none; }
}

/* ---------- 困りごと ---------- */
.post_content ul.tomo-issues {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
}
.post_content ul.tomo-issues > li {
  counter-increment: tomo-issue;
  display: flex; align-items: center; gap: 16px;
  background: var(--tomo-cream); border: 1px solid var(--tomo-line);
  border-radius: 16px; padding: 20px 24px; font-weight: 500;
}
.post_content ul.tomo-issues { counter-reset: tomo-issue; }
.post_content ul.tomo-issues > li::before {
  content: counter(tomo-issue, decimal-leading-zero) !important;
  display: block !important; position: static !important;
  width: auto; height: auto; background: none !important; border: none !important;
  font-family: var(--tomo-en); font-weight: 700; color: var(--tomo-orange-deep);
}
.post_content .tomo-issue-answer {
  margin-top: 32px !important; text-align: center;
  font-family: var(--tomo-round); font-weight: 700; font-size: 22px; color: var(--tomo-navy);
}

/* ---------- サービスカード ---------- */
.tomo-svc-grid { gap: 28px !important; }
.tomo-svc-card {
  background: #FFFFFF; border-radius: 24px; overflow: hidden;
  box-shadow: 0 10px 32px rgba(31,45,74,.08);
  display: flex; flex-direction: column; height: 100%;
}
.tomo-svc-head { background: var(--tomo-orange); padding: 22px 30px !important; margin: 0 !important; }
.tomo-svc-head.is-pale { background: var(--tomo-orange-pale); }
.post_content .tomo-svc-head p { margin: 0 !important; }
.post_content .tomo-svc-head .tomo-svc-no { font-family: var(--tomo-en); font-size: 13px; font-weight: 700; color: var(--tomo-navy); }
.post_content .tomo-svc-head .tomo-h3 { margin: 0 !important; }
.tomo-svc-body { padding: 26px 30px 30px !important; margin: 0 !important; }
.post_content .tomo-price {
  margin-top: 20px !important; padding-top: 16px; border-top: 1px dashed #E9D6BF;
  font-size: 15px;
}
.post_content .tomo-price strong { font-family: var(--tomo-en); font-size: 28px; color: var(--tomo-navy); }
.post_content .tomo-note {
  background: var(--tomo-cream); border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.7;
}
.post_content ul.tomo-check > li {
  position: relative; padding-left: 32px !important; margin-bottom: 8px;
}
.post_content ul.tomo-check > li::before {
  content: "" !important; position: absolute !important; left: 0; top: .35em;
  width: 22px; height: 22px; border-radius: 0; background: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") !important;
  background-size: contain !important; background-repeat: no-repeat !important;
}

/* 専門サポート(小さいカード) */
.tomo-spec {
  background: #FFFFFF; border: 1px solid var(--tomo-line); border-radius: 20px;
  padding: 28px 30px !important; margin-top: 28px !important;
}
.tomo-spec .wp-block-columns { gap: 16px !important; margin-bottom: 0 !important; }
.tomo-mini-card { background: var(--tomo-cream); border-radius: 14px; padding: 18px 20px; }
.post_content .tomo-mini-card p { margin: 0 0 4px !important; }
.post_content .tomo-mini-card .tomo-mini-ttl { font-weight: 700; color: var(--tomo-navy); }

/* ---------- 選ばれる理由 ---------- */
.tomo-reason { background: #FFFFFF; border-radius: 20px; padding: 30px !important; height: 100%; box-sizing: border-box; }
.post_content .tomo-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--tomo-orange-deep); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tomo-en); font-weight: 700; font-size: 20px; margin: 0 0 14px !important;
}

/* ---------- 制作実績 ---------- */
.tomo-shot {
  min-height: 280px; border-radius: 20px; background: var(--tomo-photo);
  box-shadow: 0 12px 32px rgba(31,45,74,.10);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--tomo-muted); padding: 24px !important; margin-bottom: 18px !important;
}
.tomo-shot img { border-radius: 20px; }
.post_content ul.tomo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px !important; }
.post_content ul.tomo-tags > li {
  background: var(--tomo-cream-2); color: #8A3409; border-radius: 6px;
  padding: 3px 10px !important; font-size: 13px; font-weight: 700;
}
.post_content ul.tomo-tags > li:first-child { background: var(--tomo-navy); color: #FFFFFF; }

/* ---------- 代表プロフィール ---------- */
.tomo-profile {
  background: #FFFFFF; border-radius: 32px; box-shadow: 0 12px 40px rgba(31,45,74,.08);
  padding: 56px !important; position: relative; overflow: hidden;
}
.tomo-profile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--tomo-orange); }
.tomo-profile .wp-block-columns { align-items: center !important; gap: 48px; margin-bottom: 0 !important; }
.tomo-profile .tomo-photo { min-height: 360px; box-shadow: 16px 16px 0 var(--tomo-orange-pale); border: none; }
@media (max-width: 781px) { .tomo-profile { padding: 32px 24px !important; } }

/* ---------- お役立ち情報(最新の投稿ブロック) ---------- */
.post_content ul.tomo-latest {
  list-style: none !important; padding: 0 !important;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.post_content ul.tomo-latest > li {
  background: #FFFFFF; border-radius: 16px; padding: 20px !important; margin: 0;
  box-shadow: 0 6px 20px rgba(31,45,74,.06);
}
.post_content ul.tomo-latest > li::before { content: none; }
.post_content ul.tomo-latest a { font-weight: 700; color: var(--tomo-navy); text-decoration: none; }

/* ---------- 無料相談の帯 ---------- */
.tomo-cta .tomo-eyebrow,
.tomo-cta .tomo-ttl,
.tomo-cta .tomo-center { color: var(--tomo-navy) !important; }
.tomo-cta-box { background: #FFFFFF; border-radius: 20px; padding: 28px 30px !important; height: 100%; box-sizing: border-box; }
.post_content ol.tomo-steps { counter-reset: tomo-step; }
.post_content ol.tomo-steps > li {
  counter-increment: tomo-step; position: relative; padding-left: 46px !important; margin-bottom: 12px; min-height: 32px;
}
.post_content ol.tomo-steps > li::before {
  content: counter(tomo-step) !important; position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--tomo-orange-deep); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}

/* ---------- 表(料金・含む/含まない) ---------- */
.post_content .tomo-table table { border-collapse: collapse; width: 100%; background: #FFFFFF; }
.post_content .tomo-table th { background: var(--tomo-navy); color: #FFFFFF; }
.post_content .tomo-table th,
.post_content .tomo-table td { border: 1px solid var(--tomo-line); padding: 14px 16px; }

/* ---------- スマホ ---------- */
@media (max-width: 781px) {
  .tomo-full { padding: 56px 0; }
  .tomo-hero { padding: 40px 0 24px; }
  .tomo-photo { min-height: 280px; }
  .tomo-hero-visual { padding: 0 0 48px 12px; }
  .tomo-hero-visual::before { right: -8px; top: -12px; }
  .post_content ul.tomo-issues { grid-template-columns: 1fr; }
}

/* ---------- 調整(表示確認後) ---------- */
.tomo-bg-white .tomo-reason { background: var(--tomo-cream); }
.tomo-trust { margin-top: 48px !important; }
body:has(.tomo-full) .l-content { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body:has(.tomo-full) .post_content { margin-bottom: 0 !important; }
.post_content .tomo-cta .tomo-ttl { margin-bottom: 12px !important; }
.post_content .tomo-cta .tomo-center { margin-bottom: 32px !important; }
.post_content .tomo-table { margin: 24px 0 40px !important; }
.post_content .tomo-full .tomo-inner > *:last-child { margin-bottom: 0 !important; }

/* ---------- ヘッダーの「無料相談」ボタン・共通パーツ ---------- */
.c-gnav > .menu-item.tomo-menu-cta { margin-left: 12px; display: flex; align-items: center; }
.c-gnav > .menu-item.tomo-menu-cta > a {
  background: var(--tomo-orange-deep); color: #FFFFFF !important;
  border-radius: 12px; padding: 0 22px; height: 44px; line-height: 44px; font-weight: 700;
}
.c-gnav > .menu-item.tomo-menu-cta > a::after { display: none; }
.c-gnav > .menu-item.tomo-menu-cta > a .ttl { color: #FFFFFF; }
.post_content .p-blogParts { margin-top: 0 !important; margin-bottom: 0 !important; }

@media (max-width: 781px) {
  .post_content .tomo-hero-label { font-size: 13px; gap: 8px; }
  .post_content .tomo-hero-label::before { width: 20px; flex: 0 0 20px; }
}
