@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** FANSO Global Tone Fix (Cocoon)
** charcoal x yellow + rounded
************************************/

:root{
  --charcoal:#1F1F1F;
  --charcoal2:#151515;
  --line:#2A2A2A;
  --text:#F5F5F5;
  --muted:#B5B5B5;
  --yellow:#FFD400;
  --yellow2:#FFDF33;
}

/* =========================
   Header (Cocoon)
========================= */
#header-container,
#header,
header,
.site-header{
  background: var(--charcoal) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  margin: 16px !important;
}

/* ヘッダー内の背景分断を潰す */
#header-container *,
#header *,
header *{
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ヘッダーリンク */
#header-container a,
#header a,
header a{
  color: var(--text) !important;
  text-decoration: none !important;
}
#header-container a:hover,
#header a:hover,
header a:hover{
  color: var(--yellow) !important;
}

/* ロゴが黒で埋もれる（応急：反転） */
#header-container img,
#header img,
header img.custom-logo,
header .logo img{
  filter: brightness(0) invert(1);
}

/* =========================
   Footer (Cocoon)
========================= */
#footer,
footer,
.site-footer{
  background: var(--charcoal2) !important;
  color: var(--muted) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  margin: 0 16px 16px !important;
}

/* フッター内も背景分断を潰す */
#footer *,
footer *{
  background-color: transparent !important;
  box-shadow: none !important;
}

/* フッターリンク */
#footer a,
footer a{
  color: var(--text) !important;
}
#footer a:hover,
footer a:hover{
  color: var(--yellow) !important;
}

/* フッター右側の文字はみ出し対策 */
#footer, #footer *,
footer, footer *{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Cocoonのフッターウィジェットが横並びで崩れる対策 */
.footer-widgets,
#footer .footer-widgets,
#footer .widget{
  max-width: 100%;
}
.footer-widgets{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-widgets .widget{
  min-width: 260px;
  flex: 1 1 260px;
}

/* =========================
   Page title / meta (全ページ)
========================= */

/* 固定ページタイトルを消す */
.entry-title,
.page-title,
.post-title,
h1.entry-title,
h1.page-title{
  display: none !important;
}

/* 投稿日・更新日などメタ情報を消す */
.entry-meta,
.post-meta,
.date-tags,
.post-date,
.entry-date,
time, .published, .updated{
  display: none !important;
}

/* 日付があった列に残る“黒枠”っぽいborder/影を殺す */
.entry-meta *,
.post-meta *{
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* =========================
   CTA button tone (全体)
========================= */
a.btn,
a.button,
input[type="submit"],
button,
.wp-block-button__link{
  background: var(--yellow) !important;
  color: var(--charcoal) !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
a.btn:hover,
a.button:hover,
input[type="submit"]:hover,
button:hover,
.wp-block-button__link:hover{
  background: var(--yellow2) !important;
  color: var(--charcoal) !important;
}

/* =========================
   Footer overflow fix (last line)
========================= */
#footer-bottom,
.footer-bottom,
.footer-bottom-content,
.footer-copyright,
.copyright,
#footer .copyright,
#footer .footer-bottom{
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: normal !important;
}

/* 横並び（flex）で溢れるケースの保険 */
#footer-bottom,
.footer-bottom,
.footer-bottom-content,
#footer .footer-bottom{
  display: block !important;
}

/* URL/長い文字列が原因のはみ出し保険 */
#footer-bottom a,
.footer-bottom a,
.footer-copyright a,
.copyright a{
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* iOS/一部ブラウザ最終保険 */
#footer,
#footer *{
  min-width: 0 !important;
}

/* =========================
   LP: SCROLL を下に逃がす（スマホ）
   ※page-id-844用（必要なら残す）
========================= */
@media screen and (max-width: 480px){
  .page-id-844 .scroll,
  .page-id-844 .scroll-indicator,
  .page-id-844 .scroll-down,
  .page-id-844 .scrollline,
  .page-id-844 .scroll-wrap{
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 72px !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }
}

/* =================================
   FANSO MEO: Cocoon見出し装飾を無効化（.fanso-meo 内だけ）
================================= */
.entry-content .fanso-meo h1,
.entry-content .fanso-meo h2,
.entry-content .fanso-meo h3,
.entry-content .fanso-meo h4,
.entry-content .fanso-meo h5,
.entry-content .fanso-meo h6{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  color: var(--text) !important;
  text-align: left !important;
}
.entry-content .fanso-meo h1::before,
.entry-content .fanso-meo h2::before,
.entry-content .fanso-meo h3::before,
.entry-content .fanso-meo h4::before,
.entry-content .fanso-meo h5::before,
.entry-content .fanso-meo h6::before,
.entry-content .fanso-meo h1::after,
.entry-content .fanso-meo h2::after,
.entry-content .fanso-meo h3::after,
.entry-content .fanso-meo h4::after,
.entry-content .fanso-meo h5::after,
.entry-content .fanso-meo h6::after{
  content: none !important;
  display: none !important;
}

/* =========================
   fanso-meo（page-id-1080）：横幅が広がるのを止める
========================= */
body.page-id-1080 .entry-content{
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}
body.page-id-1080 .entry-content .fanso-wrap{
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.page-id-1080 .entry-content .fanso-wrap section,
body.page-id-1080 .entry-content .fanso-wrap .fanso-card,
body.page-id-1080 .entry-content .fanso-wrap .fanso-hero,
body.page-id-1080 .entry-content .fanso-wrap .fanso-cta{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.page-id-1080 .alignfull,
body.page-id-1080 .alignwide{
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 768px){
  body.page-id-1080 .entry-content{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ======================================================
   SmartMEO LP Only CSS
   Scope: #f-lp-wrap   （このLPの中だけに効かせる）
====================================================== */

#f-lp-wrap{
  --bg:#ffffff;
  --card:#2f2f2f;
  --card2:#262626;
  --text:#ffffff;
  --muted:rgba(255,255,255,.78);
  --muted2:rgba(255,255,255,.62);
  --line:rgba(255,255,255,.12);
  --yellow:#ffd700;
  --shadow:0 15px 40px rgba(0,0,0,.10);

  background: var(--bg);
  padding: 50px 15px;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

/* Cocoonの見出し装飾をこのLP内だけ無効化 */
#f-lp-wrap h1,
#f-lp-wrap h2,
#f-lp-wrap h3,
#f-lp-wrap h4,
#f-lp-wrap h5,
#f-lp-wrap h6{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#f-lp-wrap h1::before,
#f-lp-wrap h2::before,
#f-lp-wrap h3::before,
#f-lp-wrap h4::before,
#f-lp-wrap h5::before,
#f-lp-wrap h6::before,
#f-lp-wrap h1::after,
#f-lp-wrap h2::after,
#f-lp-wrap h3::after,
#f-lp-wrap h4::after,
#f-lp-wrap h5::after,
#f-lp-wrap h6::after{
  content: none !important;
  display: none !important;
}

/* ========== Section Blocks ========== */
#f-lp-wrap .f-section-block{
  background: var(--card);
  border-radius: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
  color: var(--text);
  box-shadow: var(--shadow);
  text-align: center;
  box-sizing: border-box;
}
#f-lp-wrap .f-section-block.is-dark{ background: var(--card2); }

#f-lp-wrap .f-spacer{
  display:flex;
  height: 100px;
  align-items:center;
  justify-content:center;
  color: var(--yellow);
  font-size: 26px;
}

/* ========== Typography ========== */
#f-lp-wrap .f-main-title{
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 26px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
#f-lp-wrap .f-lead-text{
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
  font-weight: 400;
  margin: 0;
}

/* ========== Eyebrow Badge ========== */
#f-lp-wrap .f-eyebrow-badge{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  background: rgba(255,215,0,.95);
  color: #111;
  font-weight: 900;
  letter-spacing: .14em;
  font-size: .88rem;
  margin: 0 0 18px;
  box-shadow: 0 10px 26px rgba(255,215,0,.18);
}

/* ========== Grid Cards ========== */
#f-lp-wrap .f-grid-container{
  display:flex;
  flex-wrap:wrap;
  gap: 20px;
  margin-top: 42px;
  text-align: left;
}
#f-lp-wrap .f-item-card{
  flex: 1;
  min-width: 280px;
  background: rgba(255,255,255,0.06);
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-sizing: border-box;
}
#f-lp-wrap .f-big-stat{
  font-size: 3.3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin: 0 0 14px;
}
#f-lp-wrap .f-card-title{
  display:block;
  font-weight: 900;
  font-size: 1.12rem;
  margin: 0 0 10px;
  color: #fff;
}
#f-lp-wrap .f-card-desc{
  display:block;
  font-size: .95rem;
  color: var(--muted2);
  line-height: 1.7;
  margin: 0;
}

/* ========== Proof Image ========== */
#f-lp-wrap .f-proof-wrap{ margin-top: 22px; text-align:center; }
#f-lp-wrap .f-proof-img{
  width: 100%;
  max-width: 760px;
  border-radius: 18px;
  display:block;
  margin: 0 auto;
}
#f-lp-wrap .f-proof-cap{
  margin-top: 14px;
  font-size: .98rem;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
}

/* ========== Info Box ========== */
#f-lp-wrap .f-info-box{
  text-align:left;
  background: rgba(0,0,0,0.22);
  padding: 32px;
  border-radius: 20px;
  margin-top: 34px;
  border-left: 6px solid var(--yellow);
}
#f-lp-wrap .f-info-box strong{ color: var(--yellow); }

/* ========== Branch Title & Highlight ========== */
#f-lp-wrap .f-branch-highlight{
  border: 2px dashed var(--yellow);
  border-radius: 22px;
  padding: 28px 24px;
  margin-top: 48px;
  background: rgba(255,215,0,.04);
  text-align:left;
}
#f-lp-wrap .f-main-title.is-branch{
  color: var(--yellow);
  position: relative;
  padding-left: 18px;
  margin: 0 0 10px;
  font-size: 1.45rem;
  text-align: left;
}
#f-lp-wrap .f-main-title.is-branch::before{
  content:"";
  position:absolute;
  left:0;
  top:.28em;
  width:5px;
  height:1.1em;
  background: var(--yellow);
  border-radius: 999px;
}
#f-lp-wrap .f-branch-text{
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  line-height: 1.85;
  text-align: left;
}
#f-lp-wrap .f-branch-note{
  margin-top: 12px;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  text-align: left;
}
#f-lp-wrap .f-branch-img{
  width: 100%;
  max-width: 720px;
  border-radius: 18px;
  margin: 18px auto;
  display:block;
}

/* ========== Demo Hover Link ========== */
#f-lp-wrap .f-demo-link-wrap{ margin-top: 26px; text-align:center; }
#f-lp-wrap .f-demo-hover{
  position: relative;
  display: inline-block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  transition: transform .18s ease, filter .18s ease;
}
#f-lp-wrap .f-demo-hover img{
  display:block;
  width: min(760px, 100%);
  height: auto;
}
#f-lp-wrap .f-demo-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .18s ease;
}
#f-lp-wrap .f-demo-overlay span{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,215,0,.92);
  color:#111;
  font-weight: 900;
  line-height: 1.25;
}
#f-lp-wrap .f-demo-hover:hover{
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.02);
}
#f-lp-wrap .f-demo-hover:hover .f-demo-overlay{ opacity: 1; }
#f-lp-wrap .f-demo-caption{
  margin-top: 12px;
  font-size: .92rem;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
}

/* =========================
   Accordion (LP only)
   ※チャコールの枠にして“溶ける”問題を解消
========================= */
#f-lp-wrap .f-accordion{
  max-width: 900px;
  margin: 0 auto;
  text-align:left;
}
#f-lp-wrap .f-acc-item{
  background: var(--card) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 30px !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden !important;
  margin-top: 18px;
}
#f-lp-wrap .f-acc-title{
  cursor: pointer;
  padding: 24px 28px 24px 44px;
  font-weight: 900;
  color: #fff;
  position: relative;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-align: left;
}
#f-lp-wrap .f-acc-title::before{
  content:"";
  position:absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.2em;
  background: var(--yellow);
  border-radius: 999px;
}
#f-lp-wrap .f-acc-title::after{
  content: "＋";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--yellow);
  font-weight: 900;
}
#f-lp-wrap .f-acc-item.open .f-acc-title::after{ content:"－"; }

#f-lp-wrap .f-acc-content{
  display:none;
  padding: 26px 28px;
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.78);
  border-top: 1px solid rgba(255,255,255,.10);
  line-height: 1.9;
  font-size: .95rem;
}
#f-lp-wrap .f-acc-item.open .f-acc-content{ display:block; }

#f-lp-wrap .f-acc-content ul{
  list-style:none;
  padding-left:0;
  margin: 8px 0 12px;
}
#f-lp-wrap .f-acc-content li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 8px 0;
}
#f-lp-wrap .f-acc-content li::before{
  content:"○";
  color: var(--yellow);
  font-weight: 900;
  margin-top: 1px;
}

/* ========== Plans Grid (LP only) ========== */
#f-lp-wrap .f-plan-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
#f-lp-wrap .f-plan-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 22px 20px;
}
#f-lp-wrap .f-plan-card.premium{
  border: 2px dashed var(--yellow);
  background: rgba(255,215,0,.04);
}
#f-lp-wrap .f-plan-name{ font-weight: 900; color:#fff; }
#f-lp-wrap .f-plan-price{
  font-weight: 900;
  color: var(--yellow);
  font-size: 1.55rem;
  margin: 6px 0 10px;
  line-height: 1.1;
}
#f-lp-wrap .f-plan-price small{
  font-size: .85rem;
  color: rgba(255,255,255,.70);
  font-weight: 700;
}
#f-lp-wrap .f-plan-list{
  list-style:none;
  padding-left:0;
  margin: 0;
}
#f-lp-wrap .f-plan-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 7px 0;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  font-size: .94rem;
}
#f-lp-wrap .f-plan-list li::before{
  content:"○";
  color: var(--yellow);
  font-weight: 900;
  margin-top: 1px;
}

/* ========== CTA button (LP only) ========== */
#f-lp-wrap .f-action-btn{
  display:inline-block;
  background: var(--yellow);
  color: #111 !important;
  padding: 22px 65px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255,215,0,.26);
  transition: transform .2s ease, filter .2s ease, background .2s ease;
  text-decoration: none !important;
}
#f-lp-wrap .f-action-btn:hover{
  filter: brightness(1.02);
  transform: translateY(-1px) scale(1.02);
  background: #fff;
}

/* =========================
   Lightbox (LP only)
   ✅スマホだけ拡大 / PCは完全無効（2枚表示を根絶）
========================= */

/* スマホで「拡大できる」カーソル */
@media (max-width: 768px){
  #f-lp-wrap .f-branch-img-wrap a{
    cursor: zoom-in;
    display: inline-block;
  }
}

/* ライトボックス本体：通常は非表示 */
#f-lp-wrap .f-lb{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 18px;
}

/* ハッシュ一致で表示（#lb-18 など） */
#f-lp-wrap .f-lb:target{
  display: flex;
}

#f-lp-wrap .f-lb img{
  max-width: 100%;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

#f-lp-wrap .f-lb-close{
  position: fixed;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #111;
  background: #ffd700;
  border-radius: 999px;
  font-weight: 900;
  z-index: 100000;
}

/* PCではライトボックス無効（＝二重表示ゼロ） */
@media (min-width: 900px){
  #f-lp-wrap .f-lb{ display: none !important; }
  #f-lp-wrap .f-branch-img-wrap a{
    pointer-events: none;
    cursor: default;
  }
}

/* ========== Responsive (LP) ========== */
@media (max-width: 860px){
  #f-lp-wrap .f-plan-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  #f-lp-wrap .f-section-block{ padding: 50px 20px; }
  #f-lp-wrap .f-main-title{ font-size: 1.6rem; }
  #f-lp-wrap .f-big-stat{ font-size: 2.8rem; }
  #f-lp-wrap .f-action-btn{ padding: 18px 40px; }
  #f-lp-wrap .f-main-title.is-branch{ font-size: 1.25rem; }
}
/* =========================
   TOPヒーロー内：SCROLL(文字+線) を下へ逃がす（強制版）
   対象：home/front-page のヒーロー内にある scroll 系クラス全部
========================= */
@media (max-width: 768px){

  body.home .eyecatch [class*="scroll"],
  body.home .hero    [class*="scroll"],
  body.home .appeal  [class*="scroll"],
  body.front-page .eyecatch [class*="scroll"],
  body.front-page .hero    [class*="scroll"],
  body.front-page .appeal  [class*="scroll"],
  body.home .eyecatch [id*="scroll"],
  body.front-page .eyecatch [id*="scroll"]{
    position: absolute !important;   /* fixedを殺してヒーロー内配置に戻す */
    top: auto !important;            /* top固定を殺す */
    bottom: 22px !important;         /* ← ここが逃がす量 */
    left: 50% !important;
    right: auto !important;

    /* transformで上に飛ばされるのを殺す（よくある原因） */
    transform: translateX(-50%) !important;
    margin: 0 !important;

    z-index: 1 !important;           /* ボタンより下に潜らせる */
    pointer-events: none !important; /* タップ邪魔しない */
  }

  /* CTAボタンが上に来るように（保険） */
  body.home .eyecatch a,
  body.front-page .eyecatch a{
    position: relative !important;
    z-index: 5 !important;
  }

}
@media (max-width: 768px){

  body.home .eyecatch::before,
  body.home .eyecatch::after,
  body.front-page .eyecatch::before,
  body.front-page .eyecatch::after{
    top: auto !important;
    bottom: 22px !important;
  }

}

/* =========================================
   [FORCE] LP 844 HERO センタリング＆幅統一
   Cocoonのwrap/main/entry-contentの上書きを潰す
========================================= */

/* まずページ全体の本文カラム制限を解除/統一（LP内だけ） */
body.page-id-844 .entry-content{
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* LPのwrap自体を中央寄せに固定 */
body.page-id-844 .entry-content .fanso-lp-844 .wrap{
  width: 100% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* HEROコンテナを中央に “物理的に” 置く */
body.page-id-844 .entry-content .fanso-lp-844 .hero{
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 1120px !important;
}

/* HEROの中身（ロゴ/テキストのブロック）を絶対センター */
body.page-id-844 .entry-content .fanso-lp-844 .hero-content{
  width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* HERO-innerの横幅を統一（= “間延び”も収まる） */
body.page-id-844 .entry-content .fanso-lp-844 .hero-inner{
  width: 100% !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* SPは少し絞って読みやすく */
@media (max-width: 768px){
  body.page-id-844 .entry-content .fanso-lp-844 .hero-inner{
    max-width: 560px !important;
  }
}

/* =========================
   LP全体の横幅をヘッダ基準に揃える
========================= */

/* LP外枠はフル幅 */
.fanso-lp-844{
  width: 100%;
  max-width: none !important;
  margin: 0 auto;
}

/* HEROをフル幅に */
.fanso-lp-844 .hero{
  width: 100%;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px; /* 角丸は維持 */
}

/* HEROの中身だけを制御 */
.fanso-lp-844 .hero-inner{
  max-width: 1080px;   /* ← ヘッダと体感同じくらい */
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 他セクションも同じ幅感に統一 */
.fanso-lp-844 .wrap,
.fanso-lp-844 .section,
.fanso-lp-844 .section-inner{
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px){
  .fanso-lp-844 .hero-inner,
  .fanso-lp-844 .wrap,
  .fanso-lp-844 .section-inner{
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}