/* =========================
   LP 共通ベース
   ========================= */

/* ヘッダーの高さ(PC/SP) */
:root{ --header-h: 86px; }
@media (max-width:768px){ :root{ --header-h: 56px; } }

/* このテンプレのときだけ、モジュールが body に当てる余白を無効化 */
body.tpl-lp-basic{ padding-top:0 !important; }

/* 本文"器":幅1200pxセンター＋上にヘッダー分の余白 */
.lp-container{
  max-width:1200px;
  margin:0 auto;
  padding: var(--header-h) 20px 0;
  box-sizing:border-box;.

cta-button-wrapper 
}
@media (max-width:768px){
  .lp-container{ padding: var(--header-h,56px) 16px 0; }
}

/* セクション上下余白(お好みで) */
.main .dnd-section{ padding:0px 0; }
@media (max-width:768px){ .main .dnd-section{ padding:0px 0; } }

/* 固定ヘッダー時のアンカーずれ防止 */
html{ scroll-padding-top: var(--header-h); }

/* =========================
   ヘッダー(SP ベース)
   ========================= */

@media (max-width:768px){
  body.no-scroll{ overflow:hidden; }

  .header .header-container{
    display:flex; align-items:center; justify-content:space-between;
    min-height:56px;
  }

  .header .logo{ flex:1 1 auto; min-width:0; }
  .header .logo img{ max-width:70%; height:auto; display:block; }

  .header .hamburger{ 
    display:flex; 
    width:50px; 
    height:50px;
    justify-content:center; 
    align-items:center; 
    flex-direction:column; 
    gap:7px;
    margin-right:10px;
    padding-bottom:12px;
    position:relative;
  }
  
  /* MENUテキストを疑似要素で追加 */
  .header .hamburger::after{
    content:"MENU";
    position:absolute;
    bottom:2px;
    left:50%;
    transform:translateX(-50%);
    font-size:9px;
    font-weight:600;
    color:#333;
    letter-spacing:0.5px;
  }
  
  .header .hamburger span{ 
    width:26px;
    height:3px; 
    background:#333; 
    transition:transform .3s, opacity .3s;
  }
  
  /* ハンバーガー変形(バッテン) */
  .header .hamburger.active span{ 
    position:absolute;
  }
  
  .header .hamburger.active span:nth-child(1){ 
    transform: translateY(0px) rotate(45deg);
  }
  .header .hamburger.active span:nth-child(2){ 
    opacity:0; 
  }
  .header .hamburger.active span:nth-child(3){ 
    transform: translateY(0px) rotate(-45deg);
  }

  /* メニューはオーバーレイで"行から外す" */
  .header .nav-area{
    position:absolute; top:100%; left:0; right:0; width:100%;
    display:none; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.12);
    z-index:999; padding:16px 32px 16px 16px;
  }
  .header .nav-area.active{ display:block !important; }

  .header .nav-menu{ display:none; }
  .header .nav-menu.active{
    display:flex !important; flex-direction:column; gap:12px;
    margin:0; padding:0; list-style:none;
  }
}

/* =========================
   ヘッダー(PC で上書き)
   ========================= */
@media (min-width:769px){
  .header .hamburger{ display:none; }

  .header .nav-area{
    position:static; display:block; padding:0; box-shadow:none; z-index:auto;
  }
  .header .nav-area.active{ display:block !important; }

  .header .nav-menu{
    display:flex !important; flex-direction:row; align-items:center;
    gap:10px; list-style:none; margin:0; padding:0;
  }
  
  .header .nav-menu li{
    display:inline-block;
    margin-left:32px;
    vertical-align:middle;
  }
  
  .header .nav-menu li:first-child{ margin-left:0; }

  .header .logo img{ height:35px; width:auto; max-width:none; display:block; }

  .header .cta-button{
    min-height:36px; padding:.5rem 1rem; font-size:14px;
    white-space:nowrap; margin-left:16px;
    display:inline-flex; align-items:center; justify-content:center; line-height:1;
  }
}

/* =========================
   細かな心地よさ(任意)
   ========================= */

.header .nav-menu a{ text-decoration:none; }
.header .nav-menu a:focus-visible{ outline:2px solid rgba(14,165,233,.6); outline-offset:2px; }

/* (任意)本文の行間が広い件を締める */
.main p{ line-height:1.7; margin:0 0 1em; }

/* ===== 特徴:3カラムカード ===== */
.lp-features .dnd-row{ display:grid; gap:20px; }
@media (min-width:769px){ .lp-features .dnd-row{ grid-template-columns:repeat(3,1fr); } }
.lp-features .card{
  background:#eef6ff; border-radius:10px; padding:18px; text-align:center;
}
.lp-features .card .h3{ margin:0 0 8px; font-size:18px; }
.lp-features .card p { margin:0; line-height:1.7; }

/* ===== 文章中心の本文セクション ===== */
.lp-article h2{ font-size:28px; line-height:1.3; margin:0 0 12px; }
.lp-article p { line-height:1.8; margin:0 0 1em; }

/* ===== ポイント横並び(画像左右切替) ===== */
@media (min-width:769px){
  .lp-point .dnd-row{ display:grid; grid-template-columns:1fr 420px; gap:24px; align-items:center; }
  .lp-point.image-right .dnd-row{ grid-template-columns:420px 1fr; }
  .lp-point.image-right .dnd-row > *:first-child{ order:2; }
}
.lp-point .h3{ font-size:24px; margin:0 0 10px; }
.lp-point p { line-height:1.8; }

/* ===== 細かい見た目の整え ===== */
a{ text-decoration:none; }

/* ========= フル幅ユーティリティ ========= */
:root{
  --container-max: 1200px;
  --gutter-pc: 20px;
  --gutter-sp: 16px;
}

html,body{ overflow-x: clip; }

.full-bleed{
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.full-bleed .dnd-row{
  max-width:1200px; margin:0 auto; padding:0 20px; box-sizing:border-box;
}

/* PC版 - 横並び */
.cta-button-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
}

.cta-item .btn.dl-btn,
.cta-item .btn-contact {
  margin: 0;
  display: inline-block; /* PCは横並びなのでinline-block */
}


.btn.dl-btn {
  width: 347px;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 166, 80, 0.3);
display: block; /* 追加 */
  margin: 0 auto; /* 中央寄せ */
}

.btn.dl-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 166, 80, 0.4);
}

/* お問い合わせボタン（新規） */
.btn-contact {
  background-color: white;
  border: 3px solid #00a650;
  color: #00a650;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
    display: block;
  width: 347px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 166, 80, 0.2);
  margin: 15px auto 0; 
}

.btn-contact:hover {
  background-color: #f0fdf4;
  border-color: #008a43;
  color: #008a43;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 166, 80, 0.3);
}

@media (max-width:768px){ .full-bleed .dnd-row{ padding:0 16px; } }

.full-bleed > .inner{
  max-width:1200px; margin:0 auto; padding:0 20px; box-sizing:border-box;
}
@media (max-width:768px){ .full-bleed > .inner{ padding:0 16px; } }

/* ===== ヒーロー:1カラム(見出し→画像) ===== */
.lp-hero{ padding:0px 0; }
@media (max-width:768px){ .lp-hero{ padding:0px 0; } }

.hero-text{ text-align:left; }
.hero-text .inner{ margin:0; padding:0; }
.hero-text h1{ font-size:clamp(28px,4vw,40px); line-height:1.25; margin:0 0 12px; }
.hero-text p { line-height:1.8; margin:0 0 16px; }

.hero-visual{ text-align:center; }
.hero-visual img{ display:inline-block; max-width:100%; height:auto; }

.only-pc{ display:none; }
.only-sp{ display:block; }
@media (min-width:769px){
  .only-pc{ display:block; }
  .only-sp{ display:none; }
}

/* ===== ヒーローエリア:画像の上にテキスト重ね ===== */

.hero-section {
  position: relative;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.hero-text-overlay {
  position: absolute;
  top: 15%;
  left: 5%;
  text-align: left;
  width: 70%;
  z-index: 10;
}

.hero-sub-text {
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 700;
  color: #333;
  margin: 0 0 12px;
  line-height: 1.6;
  text-shadow: 
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -3px 0 0 #fff,
    3px 0 0 #fff,
    0 -3px 0 #fff,
    0 3px 0 #fff;
}

.hero-main-text {
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 800;
  color: #183179;
  margin: 8px 0;
  line-height: 1.5;
  text-shadow: 
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    -3px 0 0 #fff,
    3px 0 0 #fff,
    0 -3px 0 #fff,
    0 3px 0 #fff;
}

@media (max-width:768px){
  .hero-text-overlay {
    top: calc(8% - 30px);
    left: 50% !important;
    transform: translateX(-50%);
    width: 90%;
    text-align: left !important;
  }
  
  .hero-text-overlay .only-sp {
    text-align: relative;
  }
  
  .hero-sub-text {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
    text-align: left;
  }
  
  .hero-main-text {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
    text-align: left;
  }
}

/* 小さい画面（ギャラクシーなど） */
@media (max-width: 380px) {
  .hero-sub-text {
    font-size: 13px;
  }
  
  .hero-main-text {
    font-size: 16px;
  }
}

/* 汎用ボタン(ヘッダーCTAと併用OK) */
.btn{
  display:inline-flex; align-items:center; 
  justify-content:center; gap:.5em;
  text-decoration:none; border-radius:8px;
  padding:.75rem 1.25rem; font-weight:600;
}
.btn-primary{ background:#0070f3; color:#fff; }
.btn-primary:hover{ filter:brightness(.95); }
.btn-lg{ font-size:22px; min-height:44px; }

@media (max-width:768px){
  .btn{ width:100%; }
  .btn-lg{ font-size:15px; }
}

.btn-success{ 
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
  color:#fff;
}
.btn-success:hover{
  background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
  transform: translateY(-2px);
}
.btn-success:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.dl-btn{ border-radius:40px; gap:.6em; }
.dl-btn .badge,
.dl-btn .chev{
  flex:0 0 40px;
  width:40px; height:40px;
  border-radius:50%;
  background:#fff;
  color:#4caf50;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; line-height:1;
}
.dl-btn .badge{ font-size:14px; color:#008A18; }
.dl-btn .chev { font-size:18px; color:#008A18; }
.dl-btn .btn-label{ white-space:nowrap; }

@media (max-width:768px){
  .btn, .dl-btn{
    width:100%;
    max-width:100%;
    box-sizing: border-box;
  }

  .dl-btn .btn-label{
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .dl-btn{ gap: .5em; padding: 12px 14px; }
  .dl-btn .badge, .dl-btn .chev{
    flex: 0 0 32px;
    width: 32px; height: 32px;
    font-size: 13px;
  }
  .dl-btn .chev{ font-size: 16px; }
  
  .btn.dl-btn{
    width: auto;
    max-width: 320px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 15px 40px;
    font-size: 18px;
    gap: .5em;
  }
  .btn.dl-btn .badge,
  .btn.dl-btn .chev{
    flex: 0 0 32px;
    width: 32px; height: 32px;
    font-size: 13px;
  }
  .btn.dl-btn .chev{ font-size: 15px; }
  .btn.dl-btn .btn-label{
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
	
	.btn.dl-btn {
  width: 347px;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 166, 80, 0.3);
}

.btn.dl-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 166, 80, 0.4);
}

.btn-contact {
  background-color: white;
  border: 3px solid #00a650;
	font-size: 16px; 
    padding: 15px 30px; 
}
  .btn.dl-btn,
  .btn-contact {
    width: 90%;
    max-width: 100%;
  }
}


.bg-strip-light-blue{
  background:#e6f3ff;
  padding-top: 18px;
  padding-bottom: 25px;
}

.bg-strip-light-blue .inner{ text-align:center; }

/* ===== グレー帯:フル幅背景/中身1200センター/▽付き ===== */
.gray-section{
  background:#7c7c7c;
  color:#fff;
  position:relative;
  text-align:center;
  padding:20px 0 64px;
}

.gray-section::after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  transform:translateX(-50%);
  margin-top:-1px;
  width:0; height:0;
  border-left:120px solid transparent;
  border-right:120px solid transparent;
  border-top:60px solid #7c7c7c;
  pointer-events:none;
}

.gray-section .gray-card{
  background:#fff;
  color:#333;
  max-width:800px;
  margin:0 auto;
  padding:40px;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  box-sizing:border-box;
  text-align:center;
}

.gray-section .gray-card p{
  margin: 0 0 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gray-section .gray-card p img{
  width: 36px;
  height: auto;
  flex-shrink: 0;
}

.gray-section .gray-card .card-text-small {
  font-size: 16pt;
}

.gray-section .gray-card .card-text-large {
  font-size: 26pt;
}

.gray-section .gray-card hr{
  border:0;
  border-top:1px solid rgba(0,0,0,.12);
  margin:12px 0;
}

@media (max-width:1024px){
  .gray-section{ padding:20px 0 52px; }
  .gray-section::after{
    border-left-width:90px; 
    border-right-width:90px; 
    border-top-width:48px;
  }
}

@media (max-width:768px){
  .gray-section{ padding:16px 0 40px; }
  .gray-section .gray-card{
    max-width:100%;
    padding:20px;
    border-radius:12px;
    margin: 0 20px;
  }
  
  .gray-section .gray-card p{
    display: block;
  }
  
  .gray-section .gray-card p img{
    display: block;
    margin: 0 auto 12px;
  }
  
  .gray-section .gray-card .card-text-small {
    display: block;
    margin-bottom: 2px;
    font-size: 13pt;
  }
  
  .gray-section .gray-card .card-text-large {
    font-size: 20pt;
  }
  
  .gray-section::after{
    border-left-width:64px; 
    border-right-width:64px; 
    border-top-width:36px;
  }
}


/* 3カラム:PC=3 / TB=2 / SP=1 */
.features-section{ margin-bottom:24px; }
@media (max-width:768px){
  .features-section{ margin-bottom:20px; }
}
.features-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width:1024px){
  .features-grid{ grid-template-columns: 1fr; gap:16px; }
}
@media (max-width:768px){
  .features-grid{ grid-template-columns: 1fr; gap:16px; }
}

.feature-card{
  background:#d0edff;
  padding:20px;
  box-sizing:border-box;
  display:flex; flex-direction:column; justify-content:flex-start;
  text-align:center;
}
.feature-card .h3{
  color: #fff200;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.feature-card p{
  margin:0;
  line-height:1.4;
  color: #33467C;
}

/* ===== POINTセクション 最終版 ===== */
.feature-container{
  max-width:1000px; margin:0 auto; padding:0 20px; box-sizing:border-box;
}
@media (max-width:768px){
  .feature-container{ padding:0 16px; }
}

.feature-container > .h3{
  margin:0 0 6px; color:#183179; font-size:18px; font-weight:700; letter-spacing:.04em; text-align:center;
}
.feature-container > h2{
  margin:0 0 14px; color:#183179; font-size:28px; font-weight:800; line-height:1.3; text-align:center;
}
.feature-container > p{ margin:0 0 18px; line-height:1.8; text-align:left; }
@media (max-width:768px){
  .feature-container > h2{ font-size:22px; }
}

.feature-container .feature-item{
  background:#fff; border:1px solid #e5e7eb; box-shadow:0 8px 24px rgba(0,0,0,.10);
}
.feature-container .feature-item + .feature-item{ margin-top:16px; }

.feature-container .feature-header{
  background:#183179; display:flex; align-items:center; gap:20px; padding:12px 20px;
}
.feature-container .feature-header .feature-number{
  flex:0 0 auto; width:40px; height:40px; aspect-ratio:1/1; border-radius:50%;
  background:#fff200; color:#183179;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:16px; line-height:1;
}

.feature-container .feature-header .h3{
  margin:0; color:#fff200; font-size:26px; font-weight:800; line-height:1.3;
}

.feature-container .feature-image img{ width:100%; height:auto; display:block; }

@media (min-width:769px){
  .feature-container .feature-content{
    display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; padding:16px 20px;
  }
  .feature-container .feature-item.reverse .feature-text{ order:2; }
  .feature-container .feature-item.reverse .feature-image{ order:1; }
}

@media (max-width:768px){
  .feature-container .feature-item{ margin-left:12px; margin-right:12px; }
  .feature-container .feature-header{ padding:12px 16px; gap:14px; }
  .feature-container .feature-content{ 
    display:grid; 
    grid-template-columns:1fr; 
    gap:12px; 
    padding:12px 16px; 
  }
  .feature-container .feature-header .feature-number{ width:32px; height:32px; font-size:14px; }
  
  .feature-container .feature-text{ order:1; }
  .feature-container .feature-image{ order:2; }
}

.feature-container .feature-text{
  text-align: left !important;
}
.feature-container .feature-text .h1-style,
.feature-container .feature-text h2,
.feature-container .feature-text .h3,
.feature-container .feature-text p,
.feature-container .feature-text li{
  text-align: left !important;
}

/* 濃いブルー帯 */
.bg-strip-blue{
  background:#007bff;
  color:#fff;
  text-align:center;
  padding:16px 0;
}
.bg-strip-blue h2{
  margin:0;
  font-size:24px;
  font-weight:700;
  line-height:1.3;
}
.bg-strip-blue .sub{
  margin:10px 0 0;
  font-size:16px;
  line-height:1.7;
  opacity:.95;
}

@media (max-width:768px){
  .bg-strip-blue{ padding:12px 0; }
  .bg-strip-blue h2{ font-size:18px; }
}

.bg-strip-blue + .features-section{
  margin-top: 0px;
}
.bg-strip-blue + .features-section .lp-container{
  padding-top: 0;
}

@media (max-width:768px){
  .bg-strip-blue + .features-section{ margin-top: 0px; }
}

/* service-detail:2カラム → SPで1カラム */
.service-detail .two-col{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:24px;
  align-items:center;
}
@media (max-width:1024px){
  .service-detail .two-col{ grid-template-columns:1fr; gap:16px; }
}

.service-detail .img-area img{
  width:100%;
  height:auto;
  display:block;
}

.service-detail h2{ margin:0 0 12px; }
.service-detail p{ margin:0; line-height:1.8; }

/* SP版：テキストエリアに左右余白を追加 */
@media (max-width:768px){
  .service-detail .text-area{
    padding: 0 4px; /* 左右に20pxの余白 */
  }
}

@media (max-width:1024px){
  .service-detail .img-area{
    display: flex;
    justify-content: center;
  }
  .service-detail .img-area img{
    display: block;
    width: 100%;
    max-width: 405px;
    height: auto;
    margin: 0 auto;
  }
}

/* ===== 独自プロセス(bm-process) ===== */
.bm-process .bm-process-lead{
  margin: 6px 0 20px; text-align: center; line-height: 1.8;
}

.bm-process-list{
  list-style: none; margin: 0; padding: 0;
  counter-reset: bmstep;
}
.bm-process-item{
  position: relative;
  padding-left: 56px;
}
.bm-process-item + .bm-process-item{ margin-top: 16px; }

.bm-process-item::before{
  counter-increment: bmstep;
  content: counter(bmstep, decimal-leading-zero);
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 6px;
  background: #183179; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; line-height: 1;
}

.bm-step-card{
  border: 2px solid #183179;
  border-radius: 0;
  background: #fff;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.bm-step-card .h3{
  margin: 0 0 6px;
  font-size: 18px; font-weight: 800; color: #183179; line-height: 1.35;
}
.bm-step-card p{ margin: 0; }

@media (max-width: 1024px){
  .bm-process-item{ padding-left: 52px; }
  .bm-process-item::before{ width: 32px; height: 32px; font-size: 13px; }
  .bm-step-card{ padding: 14px 18px; }
}
@media (max-width: 768px){
  .bm-process-item{ padding-left: 48px; }
  .bm-process-item::before{ width: 28px; height: 28px; font-size: 12px; }
  .bm-step-card{ padding: 12px 14px; }
}

.process-frame{
  border: 2px solid #183179;
  border-radius: 0;
  background: #fff;
  margin-bottom: 12px;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.process-number-label{
  position: static;
  background: #183179;
  color: #fff;
  min-width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.process-step .h4-style{
  margin: 0;
  color: #183179;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.process-step p{
  margin: 2px auto 8;
  max-width: 860px;
  text-align: left;
  color: #183179;
  line-height: 1.8;
}

@media (max-width:1024px){
  .process-frame{ padding: 10px 14px; column-gap: 10px; }
  .process-number-label{ min-width: 34px; height: 34px; font-size: 13px; }
}
@media (max-width:768px){
  .process-container{ padding: 0 16px; }
  .process-frame{ padding: 8px 12px; }
  .process-number-label{ min-width: 30px; height: 30px; font-size: 12px; }
  .process-step .h4-style{ font-size: 16px; }
  .process-step p{ margin-top: 8px; }
}

.process-section{
  background:#aed3ff;
  padding:64px 0;
  box-shadow:0 0 0 100vmax #aed3ff;
  clip-path:inset(0 -100vmax);
}

.process-container{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ===== フッター(全幅背景＋中央クレジット) ===== */
.bm-footer{
  background:#183179; color:#fff;
  padding:20px 0;
  box-shadow:0 0 0 100vmax #183179;
  clip-path: inset(0 -100vmax);
}
.bm-footer .lp-container{ text-align:center; }
.bm-credit{
  display:inline-block;
  font-size:12px; line-height:1.6;
  letter-spacing:.02em; opacity:.9;
}

.bm-footer a{ color:#fff; text-decoration:none; }
.bm-footer a:hover{ text-decoration:underline; }

@media (max-width:768px){
  .bm-footer{ padding:16px 0; }
  .bm-credit{ font-size:11px; }
}

/* SPだけ:ヒーロー画像を横いっぱい */
@media (max-width:768px){
  .hero-visual.only-sp{
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  .hero-visual.only-sp img{
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto;
  }
}

/* 汎用:中央寄せ 1200px(PC)＋左右パディング */
.maxw-1200{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  box-sizing:border-box;
}
@media (max-width:768px){
  .maxw-1200{ padding:0 16px; }
}

/* 汎用:中央寄せ 1000px(PC)＋左右パディング */
.maxw-1000{
  max-width:1000px;
  margin:0 auto;
  padding:0 20px;
  box-sizing:border-box;
}
@media (max-width:768px){
  .maxw-1000{ padding:0 16px; }
}

/* === hamburger を button化したときのリセット === */
.header button.hamburger{
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  cursor: pointer;
}
.header button.hamburger::-moz-focus-inner{ border: 0; padding: 0; }

.header button.hamburger:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* 手作り2カラムのレイアウト */
.lp-2col-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px){
  .lp-2col-grid{ grid-template-columns: 1fr; }
}

.lp-2col-bg{
  position: relative;
  isolation: isolate;
  padding: 64px 0;
}
.lp-2col-bg::before{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url("https://7781091.fs1.hubspotusercontent-na2.net/hubfs/7781091/takemura/bg.jpg") center/cover no-repeat;
  z-index: -1;
}
@media (max-width:768px){
  .lp-2col-bg{ padding: 40px 0; }
}

@media (min-width: 992px){
  .lp-row-2col{
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 24px;
    align-items: start;
  }
  .lp-row-2col > *{ min-width: 0; }
}

@media (min-width: 992px){
  .lp-inline-2col{
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 24px;
    align-items: start;
  }
  .lp-inline-2col > *{ min-width: 0; }
}

/* --- 背景:全幅(100%)/中身は最大1000px --- */
.faq-section{
  position: relative;
  isolation: isolate;
  padding: 48px 0;
}
.faq-section::before{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #006fbd;
  z-index: -1;
}
.faq-inner{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-title{ font-size: 1.75rem; margin: 0 0 16px; }
.faq-item{ border-bottom: 1px solid #e5e7eb; padding: 16px 0; }
.faq-q{
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.faq-q::-webkit-details-marker{ display: none; }
.faq-a{ margin-top: 8px; color: #374151; line-height: 1.8; }

.faq-q::after{
  content: "+"; margin-left: auto; font-weight: 700; transition: transform .2s;
}
.faq-item[open] .faq-q::after{ content: "−"; }

.faq-q:focus-visible{ outline: 2px solid #000; outline-offset: 3px; }

@media (max-width: 768px){
  .faq-section{ padding: 32px 0; }
}

.faq-section .faq-title,
.faq-section .faq-q,
.faq-section .faq-a,
.faq-section .faq-a p,
.faq-section .faq-a li{
  color:#fff;
}

.faq-section .faq-item{ border-color: rgba(255,255,255,.25); }

.faq-section .faq-q:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

.faq-section .faq-a a{ color:#fff; text-decoration:underline; }
.faq-section .faq-a a:hover{ opacity:.85; }

/* =========================================================
   POINT セクション(feature-section 一式)
   ========================================================= */

section.feature-section .feature-container{
  max-width:1000px;
  margin:0 auto;
  padding:0 20px;
  box-sizing:border-box;
}
@media (max-width:768px){
  section.feature-section .feature-container{ padding:0 16px; }
}

section.feature-section .feature-container > .h3 {
  margin:0 0 6px;
  color:#183179;
  font-size:16px;
  font-weight:700;
  letter-spacing:.04em;
  text-align:center;
}
section.feature-section .feature-container > h2{
  margin:0 0 14px;
  color:#183179;
  font-size:28px;
  font-weight:800;
  line-height:1.3;
  text-align:center;
}
@media (max-width:768px){
  section.feature-section .feature-container > h2{ font-size:22px; }
}
section.feature-section .feature-container > p{
  margin:0 0 16px;
  line-height:1.8;
  text-align:center;
}

section.feature-section .feature-item{
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}
section.feature-section .feature-item + .feature-item{ margin-top:16px; }

section.feature-section .feature-header{
  background:#183179;
  display:flex;
  align-items:center;
  gap:20px;
  padding:15px 20px;
}
section.feature-section .feature-header .feature-number{
  flex:0 0 auto;
  width:40px; height:40px; aspect-ratio:1/1;
  border-radius:50%;
  background:#fff200; color:#183179;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:20px; line-height:1;
}
section.feature-section .feature-header .h3{
  margin:0;
  color:#fff200;
  font-size:26px;
  font-weight:800;
  line-height:1.3;
}

section.feature-section .feature-image img{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
}

section.feature-section .feature-content{ text-align:center; }

@media (min-width:769px){
  section.feature-section .feature-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    align-items:start;
    padding:16px 20px;
    text-align:center;
  }
  section.feature-section .feature-item.reverse .feature-text{ order:2; }
  section.feature-section .feature-item.reverse .feature-image{ order:1; }
}
@media (max-width:768px){
  section.feature-section .feature-header{ padding:12px 16px; gap:14px; }
  section.feature-section .feature-content{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    padding:12px 16px;
    text-align:center;
  }
  section.feature-section .feature-header .feature-number{
    width:32px; height:32px; font-size:14px;
  }
}

/* 全体:段落を +2pt&行間少し広く */
:where(body) p{
  font-size: calc(1rem + 2pt);
  line-height: 2.4;
}

@media (max-width:768px){
  :where(body) p{
    font-size: calc(1rem + 0pt);
    line-height: 1.85;
  }
}

/* フォームエリア用CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.form-background {
  position: relative;
  min-height: 100vh;
  padding: 60px 0;
  background: #aed3ff;
  box-shadow: 0 0 0 100vmax #aed3ff;
  clip-path: inset(0 -100vmax);
}

.form-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url('https://7781091.fs1.hubspotusercontent-na2.net/hubfs/7781091/androidtv_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.form-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-content {
  padding-right: 20px;
}

.form-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 20px;
  line-height: 1.3;
}

.form-content p {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 20px;
  line-height: 1.8;
}

.benefits-list {
  list-style: none;
  margin-bottom: 30px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #2d3748;
}

.benefits-list li::before {
  content: "✓";
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-right: 14px;
  flex-shrink: 0;
}

.contact-info {
  margin-top: 50px;
}

.contact-info strong {
  color: #2d3748;
  display: block;
  margin-bottom: 8px;
}

.form-wrapper {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 35px;
  border: 1px solid #e2e8f0;
}

.form-wrapper h3 {
  font-size: 1.4rem;
  color: #1a202c;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

#hubspot-form-container {
  min-height: 200px;
}

.hbspt-form {
  margin: 0 !important;
}

.hbspt-form .hs-form-field {
  margin-bottom: 16px !important;
}

.hbspt-form label {
  display: block !important;
  margin-bottom: 6px !important;
  font-weight: 500 !important;
  color: #2d3748 !important;
  font-size: 14px !important;
}

.hbspt-form .hs-input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  background: white !important;
}

.hbspt-form .hs-input:focus {
  outline: none !important;
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.hbspt-form textarea.hs-input {
  min-height: 100px !important;
  resize: vertical !important;
}

.hbspt-form .hs-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  padding: 14px 32px !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.hbspt-form .hs-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3) !important;
}

.hbspt-form .hs-error-msgs {
  list-style: none !important;
  padding: 0 !important;
  margin: 5px 0 0 0 !important;
}

.hbspt-form .hs-error-msg {
  color: #e53e3e !important;
  font-size: 13px !important;
}

@media (max-width: 768px) {
  .form-background {
    padding: 40px 15px;
  }

  .form-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px 25px;
  }

  .form-content {
    padding-right: 0;
  }

  .form-content h2 {
    font-size: 1.8rem;
  }

  .form-wrapper {
    padding: 25px 20px;
  }
	
	  .cta-button-wrapper {
    flex-direction: column;
    gap: 20px;
  }
	
	.cta-item {
		width: 100%;
}

.cta-text {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
}
  
  .btn.dl-btn,
  .btn-contact {
    width: 90%;
    max-width: 100%;
  }
	
	 .cta-item .btn.dl-btn,
  .cta-item .btn-contact {
    width: 75%;
    max-width: 360px;
    margin: 0 auto;
    display: block; /* SPは縦並びなのでblock */
  }
  
  .cta-item .btn.dl-btn {
    padding: 12px 8px;
  }
  
  .cta-item .btn-contact {
    padding: 12px 8px;
  }
	
}

/* 新しい白ボタン（背景色がある場所用） */
.btn-white.dl-btn {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #00a650; /* または #333 など任意の文字色 */
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-white.dl-btn:hover {
  background-color: #f8f8f8;
  border-color: #f8f8f8;
  color: #008a43;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 青ボタン */
.btn-blue.dl-btn {
  background-color: #007eff;
  border-color: #007eff;
  color: white;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-blue.dl-btn:hover {
  background-color: #0066cc;
  border-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 126, 255, 0.3);
}