/* =============================================
   Web Boost Theme — メインCSS v2
   ============================================= */

:root {
  --wb-blue:    #0F4C81;
  --wb-orange:  #F39C12;
  --wb-bg:      #F5F7FA;
  --wb-white:   #ffffff;
  --wb-text:    #1a1a2e;
  --wb-muted:   #64748b;
  --wb-border:  #e2e8f0;
  --wb-radius:  10px;
  --wb-font-jp: 'Noto Sans JP', sans-serif;
  --wb-font-en: 'DM Sans', sans-serif;
  --wb-shadow:  0 4px 24px rgba(0,0,0,.08);
  --wb-max:     1080px;
}

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--wb-font-jp);
  color: var(--wb-text);
  background: var(--wb-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all .2s; }
ul { list-style: none; }

/* ---- レイアウト ---- */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.container { max-width: var(--wb-max); margin: 0 auto; padding: 0 24px; }

/* SWELL の .top #content { padding-top: 4em } を打ち消す
   （body.top で詳細度を1段上げ、ソース順に依存せず確実に上書き） */
body.top #content { padding-top: 0; }

/* =============================================
   ヘッダー
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wb-border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.header-inner {
  max-width: var(--wb-max); margin: 0 auto;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

.site-branding { display: flex; align-items: center; }
.site-branding .custom-logo { height: 46px; width: auto; }
.site-title-link {
  font-family: var(--wb-font-en); font-size: 24px;
  font-weight: 700; color: var(--wb-blue);
  letter-spacing: -0.5px; line-height: 1;
}

.header-right { display: flex; align-items: center; gap: 20px; }
.header-tel { text-align: right; }
.header-tel-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 19px; font-weight: 700; color: var(--wb-blue);
  line-height: 1;
}
.header-tel-icon { font-size: 16px; }
.header-hours { font-size: 11px; color: var(--wb-muted); display: block; margin-top: 2px; }
.header-cta {
  background: var(--wb-orange); color: #fff;
  padding: 11px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap; display: block;
}
.header-cta:hover { background: #e08e0b; opacity: 1; }

/* グローバルナビ（白背景・黒文字・中央寄せ） */
.global-nav {
  flex: 1;
  background: transparent;
}
.global-nav-inner {
  display: flex; justify-content: center;
}
/* #menu-header(= .nav-menu の ul)に VK Blocks の margin-bottom が効いて
   縦位置がずれるため打ち消す（クラスは ul より詳細度が高い） */
.nav-menu { display: flex; align-items: center; justify-content: flex-start; width: 100%; margin-bottom: 0; }
.nav-menu > li > a {
  display: block; padding: 8px 16px;
  font-size: 14px; font-weight: 500;
  color: var(--wb-text);
  position: relative;
}
.nav-menu > li > a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 16px; right: 16px; height: 2px;
  background: var(--wb-orange); transform: scaleX(0);
  transition: transform .2s;
}
.nav-menu > li > a:hover { color: var(--wb-blue); opacity: 1; }
.nav-menu > li > a:hover::after { transform: scaleX(1); }
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a { color: var(--wb-blue); }

/* お問い合わせ = ヘッダー右端・オレンジボタン（「ツールを見る」と同色）＋メールアイコン。PCのみ */
@media (min-width: 769px) {
  .nav-menu .menu-item-cta { margin-left: auto; }
  .nav-menu .menu-item-cta > a {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--wb-orange); color: #fff;
    padding: 9px 20px; border-radius: 8px;
    font-weight: 700;
  }
  .nav-menu .menu-item-cta > a:hover { background: #e08e0b; color: #fff; opacity: 1; }
  .nav-menu .menu-item-cta > a::after { display: none; }
  .nav-menu .menu-item-cta > a::before {
    content: ""; width: 16px; height: 16px; flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204H4a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2V6a2%202%200%200%200-2-2Zm0%204-8%205-8-5V6l8%205%208-5v2Z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204H4a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2V6a2%202%200%200%200-2-2Zm0%204-8%205-8-5V6l8%205%208-5v2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* ハンバーガー */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 200;
}
.hamburger-line {
  display: block; width: 24px; height: 2px;
  background: var(--wb-blue); border-radius: 2px; transition: all .3s;
}
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 90;
}
.nav-overlay.active { display: block; }

/* =============================================
   ボタン
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--wb-radius);
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all .2s;
}
.btn-primary { background: var(--wb-orange); color: #fff; }
.btn-primary:hover {
  background: #e08e0b; transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(243,156,18,.3); opacity: 1;
}
.btn-outline {
  background: transparent; color: var(--wb-blue);
  border: 2px solid var(--wb-blue);
}
.btn-outline:hover { background: var(--wb-blue); color: #fff; opacity: 1; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); opacity: 1; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 70vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a3060 0%, var(--wb-blue) 60%, #1a5fa8 100%);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,156,18,.1) 0%, transparent 70%);
  pointer-events: none;
}
/* 背景画像スライダー */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
/* 背景動画（PCのみ・object-fitで全面表示） */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
  pointer-events: none;
}
.hero-video.is-loaded { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(10,48,96,.88) 0%,
    rgba(15,76,129,.72) 60%,
    rgba(26,95,168,.65) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--wb-max); margin: 0 auto;
  padding: 64px 24px 72px;
  width: 100%;
}
.hero-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700; color: #fff;
  line-height: 1.25; margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 17px; color: rgba(255,255,255,.82);
  line-height: 1.8; margin-bottom: 26px;
  max-width: 620px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-tel {
  display: flex; align-items: center; gap: 14px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-tel a {
  font-size: 24px; font-weight: 700; color: #fff;
}
.hero-tel a:hover { opacity: .85; }
.hero-tel span { font-size: 12px; color: rgba(255,255,255,.65); }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { background: var(--wb-blue); padding: 14px 24px; }
.trust-bar-inner {
  max-width: var(--wb-max); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-item {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 6px;
}

/* =============================================
   セクション共通
   ============================================= */
.section { padding: 56px 0; }
.section-bg { background: var(--wb-bg); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--wb-font-en); font-size: 15px;
  font-weight: 700; letter-spacing: .16em;
  color: var(--wb-orange); text-transform: uppercase;
  margin-bottom: 6px;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: var(--wb-orange);
}

.section-title {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  color: var(--wb-blue); margin-top: 0.5em; margin-bottom: 12px; line-height: 1.35;
}
.section-lead {
  font-size: 16px; color: var(--wb-muted);
  line-height: 1.85; margin-bottom: 34px; max-width: 640px;
}
.section-cta { text-align: center; margin-top: 40px; }

/* =============================================
   INTRO
   ============================================= */
.section-intro .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.intro-img-wrap {}
.intro-content {}
.intro-text {
  font-size: 16px; color: var(--wb-muted);
  line-height: 1.9; margin-bottom: 32px;
}
.intro-img {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--wb-shadow);
}
.intro-img img { width: 100%; height: 400px; object-fit: cover; }
.intro-img-placeholder {
  height: 400px;
  background: linear-gradient(135deg, #e8f0f8 0%, var(--wb-bg) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; border-radius: 16px;
  border: 1px solid var(--wb-border);
}

/* =============================================
   SERVICE
   ============================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--wb-white); border-radius: 14px;
  border: 1px solid var(--wb-border); overflow: hidden;
  display: block; transition: box-shadow .25s, transform .25s;
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  transform: translateY(-4px); opacity: 1;
}
.service-card-img { height: 180px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--wb-blue) 0%, #1a6ab5 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.service-card-body { padding: 24px 26px 28px; }
.service-card-title {
  font-size: 17px; font-weight: 700;
  color: var(--wb-text); margin-bottom: 10px; line-height: 1.4;
}
.service-card-text {
  font-size: 13px; color: var(--wb-muted);
  line-height: 1.75; margin-bottom: 16px;
}
.service-card-link {
  font-size: 13px; color: var(--wb-blue); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}

/* =============================================
   REASON
   ============================================= */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.reason-card {
  padding: 40px 32px; background: var(--wb-bg);
  border-radius: 14px; border: 1px solid var(--wb-border);
  position: relative; overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.reason-card:hover { box-shadow: var(--wb-shadow); transform: translateY(-3px); }
.reason-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--wb-orange);
}
.reason-num {
  font-family: var(--wb-font-en); font-size: 52px;
  font-weight: 700; color: rgba(15,76,129,.08);
  line-height: 1; margin-bottom: 20px;
}
.reason-title {
  font-size: 18px; font-weight: 700;
  color: var(--wb-blue); margin-bottom: 12px;
}
.reason-text { font-size: 14px; color: var(--wb-muted); line-height: 1.85; }

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--wb-white); border-radius: 14px;
  border: 1px solid var(--wb-border); overflow: hidden;
  display: block; transition: box-shadow .25s, transform .25s;
}
.blog-card:hover {
  box-shadow: var(--wb-shadow);
  transform: translateY(-3px); opacity: 1;
}
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  height: 200px; background: linear-gradient(135deg, #e8f0f8 0%, var(--wb-bg) 100%);
}
.blog-card-body { padding: 20px 24px 24px; }
.blog-card-date {
  font-size: 12px; color: var(--wb-muted);
  display: block; margin-bottom: 8px;
}
.blog-card-title {
  font-size: 15px; font-weight: 700;
  color: var(--wb-text); line-height: 1.6;
}

/* =============================================
   CONTACT CTA
   ============================================= */
.section-contact-cta { background: var(--wb-bg); }
.contact-cta-box {
  background: linear-gradient(135deg, #f0f5fc 0%, #fef9f0 100%);
  border-radius: 20px; padding: 80px 48px;
  border: 1px solid var(--wb-border); text-align: center;
  position: relative; overflow: hidden;
}
.contact-cta-box::before {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,156,18,.08) 0%, transparent 70%);
}
.contact-cta-title {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  color: var(--wb-text); margin-bottom: 16px;
}
.contact-cta-text {
  font-size: 16px; color: var(--wb-muted);
  line-height: 1.85; margin-bottom: 40px;
}
.contact-cta-btns {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap; margin-bottom: 16px;
}
.contact-cta-hours { font-size: 13px; color: var(--wb-muted); }

/* =============================================
   フッター（シンプル中央寄せ・1カラム）
   ============================================= */
.site-footer {
  background: #1a2744;
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--wb-max); margin: 0 auto;
}

/* SNSアイコン（白系・円形・半透明背景・ホバーでオレンジ） */
.footer-sns {
  display: flex; justify-content: center;
  gap: 12px; margin-bottom: 24px;
}
.footer-sns-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s, transform .2s;
}
.footer-sns-link:hover {
  background: var(--wb-orange); transform: translateY(-2px); opacity: 1;
}
.footer-sns-link svg { display: block; }

/* フッターメニュー（横並び・中央寄せ・区切りなし） */
.footer-nav { margin-bottom: 28px; }
.footer-menu {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 12px 28px;
}
.footer-menu li { margin: 0; }
.footer-menu a {
  font-size: 13px; color: rgba(255,255,255,.7);
}
.footer-menu a:hover { color: #fff; opacity: 1; }

/* コピーライト（中央・小さめ） */
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* =============================================
   投稿・固定ページ
   ============================================= */
.main-content { padding: 64px 0 88px; }
.post-single { max-width: 800px; }
.post-header { margin-bottom: 32px; }
.post-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  color: var(--wb-blue); line-height: 1.4; margin-bottom: 12px;
}
.post-meta {
  font-size: 13px; color: var(--wb-muted);
  display: flex; align-items: center; gap: 12px;
}
.post-thumbnail { border-radius: 12px; overflow: hidden; margin-bottom: 36px; }
.post-content { font-size: 16px; line-height: 1.9; color: var(--wb-text); }
.post-content h2 {
  font-size: 24px; font-weight: 700; color: var(--wb-blue);
  margin: 48px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--wb-border);
}
.post-content h3 {
  font-size: 19px; font-weight: 700;
  color: var(--wb-text); margin: 36px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--wb-blue); text-decoration: underline; }
.post-content img { border-radius: 8px; margin: 24px 0; }

/* フェードイン */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 960px) {
  .section-intro .container { grid-template-columns: 1fr; gap: 40px; }
  .intro-img { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header-right { display: none; }
  .hamburger { display: flex; }

  .global-nav {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 280px; z-index: 100; background: var(--wb-blue);
    transition: right .3s ease; overflow-y: auto;
  }
  .global-nav.open { right: 0; }
  .global-nav-inner { display: block; padding: 80px 0 32px; }
  .nav-menu { flex-direction: column; }
  .nav-menu > li > a {
    padding: 14px 24px; font-size: 15px;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu > li > a:hover { color: #fff; }
  .nav-menu > li > a::after { display: none; }
  .sp-nav-tel {
    padding: 24px; border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 16px;
  }
  .sp-nav-tel a {
    font-size: 18px; font-weight: 700;
    color: #fff; display: block; margin-bottom: 4px;
  }
  .sp-nav-tel span { font-size: 12px; color: rgba(255,255,255,.6); }

  .hero { min-height: 62vh; }
  .hero-inner { padding: 52px 20px 60px; }
  .trust-bar-inner { gap: 14px; }
  .section { padding: 36px 0; }
  .section-lead { margin-bottom: 26px; }
  .contact-cta-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .service-grid,
  .blog-grid,
  .reason-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .contact-cta-btns { flex-direction: column; align-items: center; }
  .hero-title { font-size: 28px; }
}

/* =============================================
   Web Boost トップページ専用CSS
   ============================================= */

/* ---- HERO(Web Boost版) ---- */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.9);
  margin-bottom: 12px; letter-spacing: .04em;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--wb-orange); flex-shrink: 0;
}

/* ---- BENEFIT ---- */
.section-benefit { background: var(--wb-white); }
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.benefit-card {
  background: var(--wb-white);
  border: 1px solid var(--wb-border); border-radius: 14px;
  padding: 36px 30px; box-shadow: var(--wb-shadow);
  transition: box-shadow .25s, transform .25s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.benefit-icon {
  font-size: 40px; line-height: 1; margin-bottom: 16px;
}
.benefit-title {
  font-size: 18px; font-weight: 700;
  color: var(--wb-blue); margin-bottom: 10px; line-height: 1.4;
}
.benefit-text {
  font-size: 14px; color: var(--wb-muted); line-height: 1.85;
}

/* ---- TOOLS ---- */
.section-tools { background: var(--wb-white); }
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tool-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--wb-shadow); border: 1px solid var(--wb-border);
  display: flex; flex-direction: column;
}
.tool-card-head {
  padding: 36px 32px 28px; position: relative; overflow: hidden;
}
.tool-card-head::after {
  content: ''; position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.tool-head-blue { background: linear-gradient(135deg, #0F4C81 0%, #1a6ab5 100%); }
.tool-head-mid  { background: linear-gradient(135deg, #1a6ab5 0%, #2a8fa8 100%); }
.tool-head-dark { background: linear-gradient(135deg, #1a1a2e 0%, #0F4C81 100%); }
.tool-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  color: rgba(255,255,255,.5); margin-bottom: 14px;
}
.tool-icon { font-size: 42px; margin-bottom: 14px; line-height: 1; }
.tool-title {
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 12px; line-height: 1.35;
}
.tool-title span { color: var(--wb-orange); }
.tool-desc {
  font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.8;
}
.tool-card-body {
  padding: 28px 32px 36px; background: var(--wb-white); flex: 1;
  display: flex; flex-direction: column;
}
.tool-body-lead {
  font-size: 14px; color: var(--wb-muted);
  line-height: 1.85; margin-bottom: 20px;
}
.tool-list {
  list-style: none; margin-bottom: 28px; flex: 1;
}
.tool-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--wb-text);
  padding: 8px 0; border-bottom: 1px solid var(--wb-border);
}
.tool-list li:last-child { border-bottom: none; }
.tool-list li::before {
  content: '→'; color: var(--wb-orange);
  font-weight: 700; flex-shrink: 0;
}
.tool-price-wrap { margin-bottom: 20px; }
.tool-price { margin-bottom: 4px; }
.tool-price span {
  font-size: 36px; font-weight: 700; color: var(--wb-blue);
  font-family: var(--wb-font-en);
}
.tool-price-note { font-size: 12px; color: var(--wb-muted); }
.tool-coming {
  background: var(--wb-bg); border: 1px dashed var(--wb-border);
  border-radius: 8px; padding: 14px 20px;
  font-size: 14px; color: var(--wb-muted);
  margin-bottom: 20px;
}
.btn-block { width: 100%; justify-content: center; }

/* ---- DEMO ---- */
.section-dark {
  background: linear-gradient(135deg, var(--wb-blue) 0%, #1a5fa8 100%);
}
.section-title-white { color: #fff; }
.section-label-light {
  color: rgba(255,255,255,.55);
}
.section-label-light::before { background: rgba(255,255,255,.4); }
.section-lead-light { color: rgba(255,255,255,.7); }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px; margin-bottom: 28px;
}
.demo-card {
  background: #fff; border: 2px solid transparent;
  border-radius: 12px; padding: 20px 12px;
  text-align: center; display: flex;
  flex-direction: column; align-items: center; gap: 6px;
  transition: all .2s; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.demo-card-open {
  border-color: var(--wb-orange);
  text-decoration: none;
}
.demo-card-open:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 1;
}
.demo-card-soon { opacity: .55; }
.demo-icon { font-size: 28px; }
.demo-status { font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.demo-status-open { color: var(--wb-orange); }
.demo-status-soon { color: var(--wb-muted); }
.demo-name { font-size: 14px; font-weight: 600; color: var(--wb-text); }
.demo-note {
  font-size: 12px; color: rgba(255,255,255,.4);
  text-align: center;
}
.demo-note a { color: rgba(255,255,255,.6); text-decoration: underline; }

/* ---- FLOW ---- */
.section-flow { background: var(--wb-white); }
.flow-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.flow-grid::before {
  content: ''; position: absolute;
  top: 40px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--wb-blue), var(--wb-orange));
  z-index: 0;
}
.flow-item {
  padding: 20px 16px; text-align: center;
  position: relative; z-index: 1;
}
.flow-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--wb-blue); color: #fff;
  font-family: var(--wb-font-en); font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(15,76,129,.25);
}
.flow-step {
  font-size: 11px; color: var(--wb-orange);
  font-weight: 700; letter-spacing: .1em; margin-bottom: 8px;
}
.flow-title {
  font-size: 15px; font-weight: 700;
  color: var(--wb-text); margin-bottom: 8px;
}
.flow-body { font-size: 13px; color: var(--wb-muted); line-height: 1.75; }

/* ---- FAQ ---- */
.section-faq { background: var(--wb-bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--wb-border); border-radius: 10px;
  margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  width: 100%; padding: 20px 24px;
  font-size: 15px; font-weight: 700; color: var(--wb-blue);
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--wb-font-jp);
}
.faq-icon {
  font-size: 22px; font-weight: 300;
  color: var(--wb-orange); flex-shrink: 0;
  transition: transform .3s;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  border-top: 1px solid var(--wb-border);
  padding: 16px 24px;
}
.faq-a p { font-size: 14px; color: var(--wb-muted); line-height: 1.85; }

/* ---- CTA ---- */
.cta-box {
  background: linear-gradient(135deg, #f0f5fc 0%, #fef9f0 100%);
  border-radius: 20px; padding: 80px 48px;
  border: 1px solid var(--wb-border); text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,156,18,.08) 0%, transparent 70%);
}
.cta-title {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  color: var(--wb-text); margin-bottom: 16px;
}
.cta-text {
  font-size: 16px; color: var(--wb-muted);
  line-height: 1.85; margin-bottom: 40px;
}
.cta-btns {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap; margin-bottom: 16px;
}
.cta-note { font-size: 13px; color: var(--wb-muted); }
.cta-note a { color: var(--wb-blue); font-weight: 600; }

/* ---- Web Boost レスポンシブ ---- */
@media (max-width: 980px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid::before { display: none; }
  .demo-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-box { padding: 48px 24px; }
}
@media (max-width: 480px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-card-head { padding: 28px 24px 22px; }
  .tool-card-body { padding: 22px 24px 28px; }
}

/* =============================================
   固定ページ本文エリア(front-content)
   ビジュアルエディターで書いたHTMLに適用
   ============================================= */
.front-content { width: 100%; }

/* セクションクラスをそのまま使えるように */
.front-content .section { padding: 96px 0; }
.front-content .section-bg { background: var(--wb-bg); }
.front-content .section-dark {
  background: linear-gradient(135deg, var(--wb-blue) 0%, #1a5fa8 100%);
}
.front-content .section-flow { background: var(--wb-white); }

/* コンテナ */
.front-content .container {
  max-width: var(--wb-max); margin: 0 auto; padding: 0 24px;
}

/* エディター上の余分なpタグをリセット */
.front-content > p:empty { display: none; }
.front-content .section > p:empty { display: none; }
