/* =========================================================
   0. 変数・ベース
========================================================= */
:root {
  --hero-bg-color: #ffffff;
  --hero-blue: #2b63b8;
  --hero-text-main: #1c3b5d;
  --hero-text-sub: #555;
  --hero-radius-pill: 999px;
  --compl: #ac2320;
  --bg-soft: #f7fafd;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", sans-serif;
  color: var(--hero-text-main);
  line-height: 1.7;
  overflow-x: hidden;

}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hero-blue);
  text-decoration: none;
}




/* =========================================================
   1. ヘッダー
========================================================= */
/* =========================
   Header
========================= */
/* =========================
   Header (Final / Mobile First)
========================= */

.site-header{
  background:#fff;
}

.site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 14px;
}

/* ロゴ */
.site-header__logo img{
  display:block;
  height:44px;
  width:auto;
  max-width:56vw; /* SP保険 */
}

/* 右側 */
.site-header__right{
  margin-left:auto;
  text-align:right;
}

.header-contact{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px; /* 高さを抑える */
}

/* 電話（SP：アイコンのみ／背景なしで上品に） */
.contact-tel{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  color:var(--hero-blue);
  text-decoration:none;
  line-height:1;
}

.contact-tel .icon{
  display:inline-flex;
  width:20px;
  height:20px;
}

.contact-tel .icon svg{
  width:100%;
  height:100%;
  display:block;
}

.contact-tel .number{
  display:inline; /* SPは番号非表示（必要ならここを display:inline にする） */
}

/* 注記（SPは短文・1行固定） */
.note{
  margin:0;
  font-size:1.1rem;
  color:rgba(30,40,60,.60);
  line-height:1.25;
  text-align:right;
  white-space:nowrap;
}

.note--sp{ 
  display:block;
  font-size: 1rem;
 }
.note--pc{ display:none; }

/* PC */
@media (min-width:768px){
  .site-header__inner{ padding:14px 20px; }
  .site-header__logo img{ height:54px; max-width:520px; }

  .contact-tel{
    color:#2b3a67; /* PCは落ち着いたネイビー */
  }

  .contact-tel .icon{
    width:18px;
    height:18px;
  }

  .contact-tel .number{
    display:inline;
    font-size:1.5rem;
    font-weight:650;
    letter-spacing:.02em;
  }

  .note{
    font-size:1.3rem;
    color:rgba(0,0,0,.45);
  }

  .note--sp{ display:none; }
  .note--pc{
     display:block; 
     font-size: 1.0rem;
    }
}




/* =========================================================
   フッター
========================================================= */
/* =========================
  Footer
========================= */
.footer {
  padding: 28px 0 18px;
  background: #f5f7fb;                 /* ほんのり背景 */
  border-top: 1px solid rgba(0,0,0,.06);
}

.footer-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  color: rgba(15, 36, 68, .78);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: .02em;
}

.footer-name{
  font-weight: 700;
  color: rgba(15, 36, 68, .92);
  margin-bottom: 10px;
}

.footer-inner > div {
  margin-top: 6px;                     /* 文章ブロックの間隔を統一 */
}

.footer-links{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,.10);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a{
  color: color-mix(in srgb, var(--hero-blue) 82%, #000 18%);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy{
  margin-top: 12px;
  color: rgba(15, 36, 68, .55);
  font-size: 12px;
}


/* =========================
  Footer 1-column  PCは2-colum
========================= */
/* =========================
  Footer 2-column（Mobile First）
========================= */

/* 基本：SPは1カラム */
.footer-main{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}

.footer-col{
  line-height: 1.85;
}

.footer-col a{
  color: color-mix(in srgb, var(--hero-blue) 82%, #000 18%);
  text-decoration: none;
  font-weight: 600;
}

.footer-col a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}







/*----CTA---------------------------------------------------*/
/* ===== Floating CTA (base: hidden) ===== */

/* CTA表示中は、ページ側の下余白を増やしすぎない（必要な分だけ） */
body.has-floating-cta{
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.floating-cta{
  position: fixed;
  z-index: 999;
  margin: 0;

  /* SP: bottom bar */
  left: 10px;
  right: 10px;
  bottom: max(0px, env(safe-area-inset-bottom)); /* iOS対応 */

  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: .28s ease;
}

/* CTAの外側に余計な余白が付いているケースを潰す */
.floating-cta *{
  margin-bottom: 0;
}

.floating-cta.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== icon-only buttons ===== */
.cta-btn{
  flex: 1;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);

  color: var(--hero-blue);
  text-decoration: none;
  transition: .2s ease;
}

.cta-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

/* SVG統一 */
.cta-ico{
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ===== 最下部で TOP を強調 ===== */
.floating-cta.at-bottom .cta-top{
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--hero-blue) 80%, white 20%); 
  border-color: rgba(59, 102, 179, 0.22);
}

.floating-cta.at-bottom .cta-top:hover{
  background: color-mix(in srgb, var(--hero-blue) 88%, white 12%);
}


/* SVGも白く */
.floating-cta.at-bottom .cta-top .cta-ico{
  stroke: #fff;
  animation: ctaTopNudge .55s ease-out 1;
}

/* 他ボタンは少し引く */
.floating-cta.at-bottom .cta-mail,
.floating-cta.at-bottom .cta-line{
  opacity: .55;
}


@keyframes ctaTopNudge{
  0%   { transform: translateY(0); }
  45%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

/* ③ 動きが苦手な人向け：OS設定で止める */
@media (prefers-reduced-motion: reduce){
  .floating-cta.at-bottom .cta-top .cta-ico{
    animation: none;
  }
}


/* ===== PC: right-top vertical ===== */
@media (min-width: 768px){
  .floating-cta{
    left: auto;
    right: 18px;
    top: 110px;
    bottom: auto;

    width: auto;
    padding: 10px;
    gap: 12px;
    flex-direction: column;
    border-radius: 16px;

    /* SPの横長バー感を消す */
    justify-content: flex-start;
  }

  .cta-btn{
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 999px; /* PCは丸が綺麗 */
  }

  /* PCは “少し透ける” を is-show 時だけ */
  /* opacity操作はしない */
  .floating-cta.is-show{ opacity: 1; }

  /* 代わりに背景で調整 */
  .floating-cta{
    background: rgba(255,255,255,0.55);
  }

  .floating-cta.is-show:hover{ opacity: 1; }
}


/*===========================================================================================
セクション共通
=======================================================================================*/
/* セクション全体（必要なら） */
.section-service {
  padding: 5rem 1.6rem 4rem;
}

/* 見出しブロック共通 */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

/* 上の小ラベル */
.section-heading__label {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.2rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #3a8f68;               /* アクセント or ブルー系に変更可 */
  border-radius: 999px;
  background-color: #e8f4ff;
}

/* メインタイトル */
.section-heading__title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
}

/* タイトル左右の飾り線 */
.section-heading__title span {
  position: relative;
  display: inline-block;
  padding: 0 1.6rem;
}

.section-heading__title span::before,
.section-heading__title span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), #3a8f68);
}

.section-heading__title span::before {
  right: 100%;
  margin-right: 0.8rem;
  transform: translateY(-50%);
  background: linear-gradient(to left, rgba(0, 0, 0, 0), #3a8f68);
}

.section-heading__title span::after {
  left: 100%;
  margin-left: 0.8rem;
  transform: translateY(-50%);
}

/* コンテナ・セクション共通 ===============================
=========================================================*/
/*
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}
*/

.section {
  padding: 40px 0;
}

/* aircon-LP専用の内側コンテナ */
.section-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box; 
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.section-title-wrap::before,
.section-title-wrap::after {
  content: "";
  display: inline-block;
  width: 72px;
  height: 1px;
  margin: 0 16px;
  background: var(--section-line);
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: var(--hero-blue);
  background: #f1f7ff;
}

.section-title {
  display: inline-block;
  font-weight: 700;
  font-size: 2.0rem; /* 小さめで統一 */
  line-height: 1.4;
  color: var(--text-main);
}



/* =========================================================
    共通card-------- */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background-image: repeating-linear-gradient(
    135deg,
    #1f5ea8,
    #1f5ea8 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.25; /* ヒーローと馴染む柔らかさ */
}

/*タイトルの共通ルール-----------*/
.card-title {
  font-weight: 700;
  font-size: 1.7rem;
  color: #123456; /* メインの濃紺（ヒーローの色に合わせる） */
  text-align: center;
}




/* =========================================================
   2. アニメーションユーティリティ
========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s ease;
}
.slide-left.is-show {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.slide-right.is-show {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in,
.zoom-in_005,
.zoom-in_02,
.zoom-in_05,
.zoom-in_07 {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .5s ease, transform .5s ease;
}
.zoom-in.is-show,
.zoom-in_005.is-show,
.zoom-in_02.is-show,
.zoom-in_05.is-show,
.zoom-in_07.is-show {
  opacity: 1;
  transform: scale(1);
}

.bounce-in {
  opacity: 0;
  transform: scale(0.8);
}
.bounce-in.is-show {
  opacity: 1;
  animation: bounceIn .6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

/* ヒーロー内イラストふわふわ */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* CTAボタン用 */
@keyframes hero-cta-bounce {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-2px) scale(1.05); }
  60%  { transform: translateY(0) scale(0.98); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes hero-cta-icon-slide {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

/* =========================================================
   3. LPスコープ内ボタン（lp-scope）
========================================================= */
/* ▼ この範囲だけミニ世界にする（htmlや*は使わない） */
.lp-scope {
  font-size: 14px;
  box-sizing: border-box;
}
.lp-scope *,
.lp-scope *::before,
.lp-scope *::after {
  box-sizing: inherit;
}

/* ▼ 汎用.btnはやめて、LP専用クラス名にする */
.lp-scope .lp-btn {
  margin: 3px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1px 2px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none; 
  -moz-user-select: none; 
  -ms-user-select: none;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

/* ▼ ボーダーボタン部分だけ */
.lp-scope .lp-btn-border {
  margin-bottom: 6px;
  padding: 0;
  transition: all 0.3s;
  border-radius: 0;
}

.lp-scope .lp-btn-border span {
  position: relative;
  display: block;
  padding: 3px 10px;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 0.5rem;
  background: #fff;
}

.lp-scope .lp-btn-border::before {
  position: absolute;
  bottom: -6px;
  left: 0;
  display: block;
  width: 100%;
  height: 14px;
  content: "";
  transition: all 0.3s;
  border: 2px solid #000;
  border-top: 1px solid #000;
  border-radius: 0 0 0.5rem 0.5rem;
  background-image: repeating-linear-gradient(
    -45deg,
    #000,
    #000 1px,
    transparent 1px,
    transparent 5px
  );
  background-image: -webkit-repeating-linear-gradient( 
    135deg, 
    #000, 
    #000 1px, 
    transparent 2px, 
    transparent 5px );
  background-size: 7px 7px;
  backface-visibility: hidden;
}

.lp-scope .lp-btn-border:hover {
  transform: translate(0, 3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.lp-scope .lp-btn-border:hover::before {
  bottom: -5px;
}
.lp-scope .lp-btn-border:active {
  transform: translate(0, 7px);
}
.lp-scope .lp-btn-border:active::before {
  bottom: -1px;
}




/* =========================================================
   4. ヒーローセクション
========================================================= */
/*header 補足*/
.tel-note{
  margin: 6px 14px 0;
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(0,0,0,.45);
}




/* 背景・ベース */
.hero {
  position: relative;
  background-color: var(--hero-bg-color);
  background-image: url(../../img/hero-bg-pattern.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 32px 16px 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 90, 170, 0.0);
  pointer-events: none;
  z-index: 0;
}
.hero > * {
  position: relative;
  z-index: 1; /*文字やイラストは全面*/
}

.hero__inner {
  max-width: 1080px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Noto Sans JP", sans-serif;
}

/* 1段目：トップ（SPは縦、PCで横） */
.hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__copy {
  text-align: center;
}

.hero__title {
  position: relative;
  display: inline-block; /*h1の幅を文字にフィット*/
  text-align: center;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.5;
  color: #3f4981;
}

.hero__title span {
  font-size: 30px;
  font-weight: bolder;
  color: #17267f;
  background: linear-gradient(transparent 70%, #fff023 70%);
}

/* 左右ライン */
.hero__title::before,
.hero__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 32px;
  height: 2px;
  background-color: rgba(42, 115, 206, 0.35);
  border-radius: 999px;
  transform: translateY(-50%);
}
.hero__title::before {
  right: 100%;
  margin-right: 8px;
}
.hero__title::after {
  left: 100%;
  margin-left: 8px;
}

.hero__sub {
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.hero__sub-link {
  color: var(--hero-blue);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: 0.25s ease;
}

.hero__sub-link:active {
  background: rgba(50, 120, 220, 0.15);
}
article[id] {
  scroll-margin-top: 25px;   /* ← ヘッダーの高さ + 余白 */
}

/*　ラベル　水戸中心　*/
.hero-area-label{
  display:inline-block;
  margin: 10px auto 0;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hero-blue, #1f3c88);
  background: rgba(31, 60, 136, 0.12);
  border-radius: 999px;
  letter-spacing: .02em;
}

.section-hero-lead{
  margin: 10px auto 18px;
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(74, 94, 124, 0.78);
  text-align: center;
}


@media (min-width: 768px){
  .hero-area-label{
    font-size: 0.9rem;
  }
}


/* イラスト */
.hero__illust {
  margin: 0;
  text-align: center;
}
.hero__illust img {
  max-width: 300px;
  width: 100%;
  height: auto;
}
.hero__illust-img {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  animation: hero-float 4s ease-in-out infinite;
}

/* 2段目：丸バッジ */
.hero__middle {
  margin-top: 0;
  display: flex;
  justify-content: center;
}

.hero__points-label {
  position: relative;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--hero-blue);
  margin-bottom: 30px;
}
.hero__points-label span {
  font-size: 25px;
  font-weight: 800;
}

/* タイトル左右ラインアニメ */
.hero__points-label::before,
.hero__points-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background-color: var(--hero-blue);
  transform: translateY(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .6s ease;
}
.hero__points-label::before {
  right: calc(50% + 120px);
}
.hero__points-label::after {
  left: calc(50% + 120px);
}
.hero__points-label.is-show::before,
.hero__points-label.is-show::after {
  transform: translateY(-50%) scaleX(1);
}

/* 丸バッジ */
.hero__points-circle {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: nowrap;
}

.circle-badge {
  width: 110px;
  height: 110px;
  background: #fffdf7;
  border-radius: 50%;
  border: 1px solid var(--hero-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--hero-text-main);
  font-size: 12px;
  line-height: 1.4;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 7px 5px 0px #411413;
}
.circle-badge span {
  color: var(--compl);
  font-size: 14px;
  font-weight: bold;
}
.circle-badge span::before,
.circle-badge span::after {
  content: "”";
}


.hero_point {
  display: flex;
  flex-direction: column;
  padding-inline-start: 0px;
  align-items: center;
}

.hero_point-item {
 width: 70%;
 list-style: none;
 padding: 10px 10px 10px 40%;
 text-align: left;
 border-bottom: 1px dashed #b9b9b9;
 padding: .5em 0;
}

.hero-point-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.point-circle {
  position: relative;
  display: flex;
  margin: px;
  height: 115px;
  width: 115px;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--hero-blue) 20%, white);
  border-radius: 50%;
  color: var(--hero-text-main);
}

.point-circle .circle-ttl {
  position: absolute;
  display: inline-block;
  top: -14px;
  left: 35px;
  padding: 0 12px;
  line-height: 2.6rem;
  font-size: 2.5em;/*タイトル文字サイズ*/
  color: burlywood;/*タイトル文字色*/
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.point-circle::after {
  position: absolute;
  content: "";
  left: 5px;
  bottom: -5px;
  width: 100%;
  height: 100%;
  border: solid 1px var(--hero-text-main);
  border-radius: 50%;
}





/* ずれボックス / 方眼ボックス（使い回し用） */
.zure-box {
  position: relative;
  width: 25%;
  padding: 1rem;
  border-radius: 10px;
  border: 3px solid #ffffff;
  background-color: #ffffff;
  color: #282828;
  font-size: 12px;
}
.zure-box::before {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 3px solid #212121;
  content: '';
}
.zure-box p {
  line-height: 1.5;
}
.zure-box p span {
  color: var(--compl);
}

.box-design5 {
  display: flex;
  margin: 2px 0;
  padding: 5px;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 30%;
  background-color: #fff;
  background-image:
    linear-gradient(#a4b8c2 1px, transparent 1px),
    linear-gradient(to right, #b7c6ce 1px, #fff 1px);
  background-size: 20px 20px;
}

/* 4方向線アニメボックス .box-018 */
.box-018 {
  position: relative;
  width: 33%;
  margin: 0;
  padding: 20px 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #333;
  background-image:
    linear-gradient(to right, #4fa4dd, #4fa4dd),
    linear-gradient(to left,  #4fa4dd, #4fa4dd);
  background-repeat: no-repeat;
  background-position: top left, bottom right;
  background-size: 0% 2px, 0% 2px;
  transition: background-size 1s ease;
}
.box-018::before,
.box-018::after {
  position: absolute;
  width: 2px;
  height: 0;
  background-color: #2589d0;
  content: '';
  transition: height 1s ease;
}
/* 左縦線（上→下） */
.box-018::before {
  left: 9px;
  top: 0;
  bottom: auto;
}
/* 右縦線（下→上） */
.box-018::after {
  right: 9px;
  bottom: 0;
  top: auto;
}

/* 発火後：横線・縦線 */
.box-018.is-show {
  background-size: 100% 2px, 100% 2px;
}
.box-018.is-show::before,
.box-018.is-show::after {
  height: calc(100% + 20px);
}

/* ディレイ（1→2→3） */
.hero__points-circle .box-018:nth-child(1) {
  transition-delay: 0s;
}
.hero__points-circle .box-018:nth-child(1)::before {
  top: -9px;
  transition-delay: 0s;
}
.hero__points-circle .box-018:nth-child(1)::after {
  transition-delay: 0s;
  bottom: -9px;
}

.hero__points-circle .box-018:nth-child(2) {
  transition-delay: 0.15s;
}
.hero__points-circle .box-018:nth-child(2)::before {
  top: -9px;
  transition-delay: 0.15s;
}
.hero__points-circle .box-018:nth-child(2)::after {
  bottom: -9px;
  transition-delay: 0.15s;
}

.hero__points-circle .box-018:nth-child(3) {
  transition-delay: 0.3s;
}
.hero__points-circle .box-018:nth-child(3)::before {
  top: -9px;
  transition-delay: 0.3s;
}
.hero__points-circle .box-018:nth-child(3)::after {
  bottom: -9px;
  transition-delay: 0.3s;
}

.box-018 p {
  font-size: 1.4rem;
  color: #103b67; /* ヒーローの濃紺に統一 */
  line-height: 1.7;
  font-weight: 500;
}
.box-018 p span {
  font-weight: 700;
  color: #d32f2f; /* ヒーローのアクセントと相性の良い赤 */
}





/*==ヒーローポイントエリア統一===========================*/
/* ラッパー（3つ横並び） */
.hero__points-circle {
  display: flex;
  justify-content: center;
  gap: 24px 20px;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* カード本体（ヒーローのタブを元に統一） */
.point-card {
  margin-top: 0.8rem; /* 下段を少しだけ上へ */
  margin-bottom: 20px;
  width: 210px;
  padding: 18px 12px 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px; /* ← 110〜130に調整でもOK */
}

.point-card i {
  font-size: 1.3rem;
  color: color-mix(in srgb, var(--hero-blue) 70%, red);
}


.point-card .tnum-box {
    position: absolute;
    display: inline-block;
    top: -14px;
    left: -5px;
    padding: 0 12px;
    line-height: 2.6rem;
    font-size: 0.9em;/*タイトル文字サイズ*/
    background: var(--hero-blue);/*タイトル文字背景色*/
    color: color-mix(in srgb, var(--hero-blue) 10%, white);/*タイトル文字色*/
    font-weight: bold;
    border-radius: 70%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/*
.point-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 10px;
  width: 32px;
  height: 3px;
  background: #1f5ea8;
  transform: rotate(-42deg);
}
*/

/* 下のストライプ */
.point-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background-image: repeating-linear-gradient(
    135deg,
    #1f5ea8,
    #1f5ea8 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.12;
}

/* テキスト（紺色で落ち着かせる） */
.point-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--hero-blue);
  font-weight: 600;
}

/* 強調文字（赤） */
.point-card p span {
  color: #d9372a;
  font-weight: 700;
}

/* スマホ小画面対応 */
@media (max-width: 390px) {
  .point-card {
    width: 120px;
    padding: 16px 10px 18px;
  }
}
/*--ヒーローポイントエリア統一 fin--------------------------------*/



/* 吹き出し風ボックス */
.box-020 {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  padding: 1em 1.5em;
  background-color: #e0efff;
  color: #333;
}
.box-020::after {
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 20px 20px 0;
  border-style: solid;
  border-color: #c0cfdf #fff;
  box-shadow: -1px 1px 1px rgb(0 0 0 / 5%);
  content: '';
}

/* 3段目：ヒーロー内 CTAボタン */
.hero__bottom {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.hero-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 32px;
  border-radius: var(--hero-radius-pill);
  background: var(--hero-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  min-width: 260px;
}

/* CTAボタン（全幅） */
.hero__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 24px auto 0;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #1f5ea8, #1550a0);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 80, 170, 0.3);
  transition: box-shadow 0.25s ease, transform 0.25s ease, filter 0.25s ease;
  letter-spacing: 0.03em;
}
.hero__cta:active {
  animation: hero-cta-bounce 0.22s ease-out;
}
.hero__cta-text {
  display: inline-block;
}
.hero__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__cta-icon-svg {
  width: 18px;
  height: 18px;
}


/* hero-pop========================*/


.hero-label {
  color: #1f5ea8;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #103b67;
  margin-bottom: 2rem;
  line-height: 1.3;
  text-align: center;
}

.hero-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  gap: 10px 2px; /* 上下 左右に余白を付ける */
}

.hero-tab {
  display: inline-flex; /* ← margin collapse防止にも役立つ */
  margin: 0 8px 12px; /* ★ 下に余白を作る */
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 1.3rem;
  font-weight: 700;
  color: #103b67;
  position: relative;
  box-shadow: 0 0px 0 #1f5ea8;
  line-height: 1;
  border-bottom: 1px solid rgb(2, 2, 144);
}

.hero-tab:hover {
  display: inline-flex; /* ← margin collapse防止にも役立つ */
  margin: 0 8px 12px; /* ★ 下に余白を作る */
  background: var(--hero-text-main);
  border-radius: 20px;
  padding: 0.6rem 1.3rem;
  font-weight: 700;
  color: white;
  position: relative;
  box-shadow: 0 0px 0 #1f5ea8;
  line-height: 1;
  transition: 0.3s;
}

/*
.hero-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background-image: repeating-linear-gradient(
    135deg,
    #1f5ea8,
    #1f5ea8 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.3;
}
*/

.hero-tab i {
  margin-left: 13px;
}

.hero-illustration {
  margin-top: 0.3rem;
  margin-bottom: 3.2rem; /* ← 今より +1rem くらいほしい */
}


.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, #1f5ea8, #1550a0);
  padding: 1.2rem 3rem;
  color: #fff;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.4rem;
  text-align: center;
}
/* hero-pop_fin========================*/


/*  test    */

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1.2rem;
  margin-bottom: 2.4rem;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8); /* タブより軽く */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-point__icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #1f5ea8;
  font-size: 1.1rem;
  color: #1f5ea8;
}

.hero-point__text {
  font-size: 1.3rem;
  color: #103b67;
  font-weight: 600;
}

/* 横幅広いときは少し余裕を持たせる */
@media (min-width: 768px) {
  .hero-points {
    gap: 12px;
  }
  .hero-point {
    padding: 8px 16px;
  }
}


/*>>>>>>>*/
.hero-points--minimal {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 700;
  font-size: 1.4rem;
  color: #0f3b78;
}

.hero-point {
  padding: 12px 16px;
  border: 2px solid #1f5ea8;
  border-radius: 0; /* ★ 角丸ゼロ */
  background: transparent;
  font-weight: 600;
  color: #0f3b78;
}


.hero-point {
  padding-left: 12px;
  border-left: 3px solid #1f5ea8;
  font-weight: 700;
  color: #0f3b78;
}


/*  test  fin  */


/* =========================================================
   2. 安心セクション
========================================================= */

/* セクション背景をほんのり色付け */
.section-commitment {
  padding: 4rem 1.6rem 4rem;
  background: #f7fbff; /* お好みで */
}

/* 3つのカードリスト */
.commitment-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 各カード */
.commitment-item {
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 2.4rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ヘッダー（番号＋タイトル） */
.commitment-item__head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

/* 番号バッジ */
.commitment-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: #1f5ea8; /* ブランドの青に合わせて変更OK */
}

/* タイトル */
.commitment-item__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

/* 本文 */
.commitment-item__text {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.9;
  color: #555;
}





/* =========================================================
   5. サービスセクション（4つのサービス）
========================================================= */
.section--soft {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--hero-blue);
  text-align: center;
  margin-bottom: 10px;
}

.section-lead {
  text-align: center;
  font-size: 15px;
  color: #444;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}


/* リード文 */
.section-heading__lead {
  margin: 0 auto;
  font-size: 1.4rem;
  line-height: 1.8;
  max-width: 32rem;
  color: #555;
}



/* グリッド */
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* カード */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1.5px solid #e0e7ef;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

/* アイコン */
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--hero-blue);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  border-radius: 12px;
}
.service-icon svg {
  stroke: #fff;
}

/* タイトル＆テキスト */
.service-title {
  margin-bottom: 10px;
  font-size: 18px;
  color: #222;
  font-weight: 700;
}
.service-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.text-strong {
  font-size: 16px;
  color: var(--hero-blue);
  font-weight: 700;
}

.service-card p span {
  letter-spacing: 0.01em;
}

/* サービスカード内の「料金を見る」リンク */
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 1.4rem;
  font-weight: 500; /* ←控えめにする */
  color: color-mix(in srgb, var(--hero-blue) 85%, white); /* ←淡い青 */
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity .2s ease, transform .2s ease;
}


/* 右の小さな矢印 */
.service-card__link::after {
  content: "›";             /* または "＞" でもOK */
  font-size: 1.1em;
  transform: translateY(0.5px);
}

/* ホバー時の軽い演出（PC時） */
.service-card:hover .service-card__link {
  opacity: 0.85;
  transform: translateY(1px);
}
.service-card__link:hover {
  opacity: 0.7;
}





/* =========================================================
  plan バナーエリア
========================================================= */
.section-plan {
  padding: 4rem 0;
}

.plan-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.plan-card {
  background: #fff;
  border: 1.5px solid #e0e7ef;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
}

/* 通常は少し小さめ */
.plan-recommend {
  border-color: var(--hero-blue);
  box-shadow: 0 8px 18px rgba(0, 90, 170, 0.15);
  transform: scale(0.96);
  transition: transform .70s cubic-bezier(0.25, 1.4, 0.5, 1.0),
              box-shadow .35s ease-out;
}

/* 表示された瞬間に「ふわっ → 少し大きく → 元に戻る」 */
.plan-recommend.is-show {
  transform: scale(1.03); /* ← まず少し行き過ぎる */
}

@keyframes plan-pop {
  0%   { transform: scale(0.95); }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1.00); }
}

/* そのあと hover が適用される */
@media (hover: hover) {
  .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  }
  .plan-recommend:hover {
    transform: translateY(-6px) scale(1.05);
  }
}



.plan-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--hero-blue);
  color: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.plan-badge.recommend {
  background: #ffb400;
  color: #000;
}

.plan-badge.set{
  background: #2BB7C5;
}

.plan-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.plan-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--hero-blue);
  margin-bottom: 12px;
}

.plan-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.plan-btn {
  display: inline-block;
  border-radius: 8px;
  background: rgba(0, 90, 170, 0.08);
  color: var(--hero-blue);
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  padding: 14px 0;
  text-align: center;
}

.plan-btn--strong {
  background: var(--hero-blue);
  color: #fff;
}




/* =========================================================
   Before/After　セクション
========================================================= */
.section-bfa {
  padding: 4rem 20px;
}

.section-bfa .section-title--center {
  text-align: center;
  color: var(--hero-blue);
  margin-bottom: 8px;
}

.section-bfa .section-lead--center {
  text-align: center;
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 32px;
}

/* ▼ スマホ：横スライド（フリックで左右） */
.bfa-wrap {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.bfa-shot {
  flex: 0 0 80%;         /* 画面の8割くらいの幅 */
  max-width: 360px;
  position: relative;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 16px;
  scroll-snap-align: center;
}

.bfa-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  color: #374151;
  background: #D1D5DB;
}

.bfa-label--after {
  background: var(--hero-blue); 
  color: #fff;
}

/* 画像枠（今はプレースホルダ） */
.bfa-img {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 32px;
  background: #f5f7fb;
  border: 1px dashed rgba(0, 90, 170, 0.3);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bfa-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.bfa-img--placeholder span {
  font-size: 1.3rem;
  color: #999;
}

.bfa-shot-title {
  margin-top: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}

.bfa-shot-meta {
  margin-top: 4px;
  font-size: 1.3rem;
  color: #666;
}







/* =========================================================
   technology セクション
========================================================== */
.section-tech {
  padding: 4rem 20px;
}

.section-tech .section-title--center {
  text-align: center;
  color: var(--hero-blue);
  font-size: 2.2rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* リストレイアウト */
.tech-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

/* 各カード */
.tech-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* 画像エリア ＋ 番号バッジ */
.tech-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;  /* 写真の比率を統一 */
}

.tech-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左上の丸い番号 */
.tech-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--hero-blue);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* テキスト部分 */
.tech-body {
  padding: 16px 18px 20px;
}

.tech-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #123059;
  margin-bottom: 8px;
}

.tech-text {
  font-size: 1.4rem;
  line-height: 1.9;
  color: #333;
}


/* スマホだけ改行させたい <br class="sp-only"> 用 */
.sp-only {
  display: inline;
}




/* =========================================================
   priceセクション
========================================================= */
/* 料金カテゴリ見出し */
.price-block__title {
  margin: 72px 0 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 36, 68, 0.14);

  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;

  color: var(--hero-blue);
  position: relative;
}

.price-block__title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 3px;
  background: rgba(15,36,68,.5);
  transform: translateX(-50%);
  border-radius: 999px;
}



/* 価格表の枠そのもの */
.price-table {
  border: 1px solid #d5e0ea;
  border-radius: 16px;
  overflow: hidden;          /* 角丸をきれいに保つ */
  background: #fff;
}

/* 各行の基本 */
.price-row {
  display: grid;
  grid-template-columns: 1fr; /* SP：1列 */
  padding: 16px 16px;
  border-top: 1px solid #eef3f7;
}

.price-row:first-child {
  border-top: none;
}

.price-col {
  padding: 3px 0;
}

.price-col.name {
  font-weight: 700;
  color: #123059;
}

.price-col.price {
  color: var(--hero-blue);
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 6px;
}

.price-col.desc {
  font-size: 1.2rem;
  color: #555;
  margin-top: 4px;
}


/* ▼ おすすめ行（ここがプロ調整ポイント） */
.price-row--recommend {
  position: relative;
  background: #f3f8fc;
  box-shadow: inset 0 0 0 1px rgba(0,90,170,0.18),
              0 2px 8px rgba(0,90,170,0.12);
  padding-top: 30px;   /* バッジ分の余白を足す */
}

/* 「おすすめ」バッジを行の中に収める */
.price-row__badge {
  position: absolute;
  top: 8px;            /* もう少し中に */
  left: 16px;
  padding: 4px 12px;
  background: var(--hero-blue);
  color: #fff;
  font-size: 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}

.price-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-label__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

/* 定番＝今の青バッジ */
.price-label__badge--standard {
  background: var(--hero-blue);
}

/* 人気No.1＝おすすめプランの黄色と同じ色 */
.price-label__badge--popular {
  background: #ffb400;
  color: #000;
}

/* コミコミ＝少しだけトーンを変えたブルー or グリーン系 */
.price-label__badge--set {
  background: #2BB7C5; /* 以前のアクセントカラーでもOK */
}

/* おすすめだけ白背景＋青枠 */
.price-row__badge--osusume {
  background: #fff;
  border: 2px solid var(--hero-blue);
  color: var(--hero-blue);
}

/* おすすめだけ白背景＋青枠 */
.price-row--recommend .price-row__badge--osusume {
  background: #fff;
  border: 2px solid var(--hero-blue);
  color: var(--hero-blue);
}






/* =========================================================
  notes セクション
========================================================= */

.section-notes {
  padding: 4rem 20px;
  background: #f7faff; /* 優しい青背景で読みやすく */
}

.section-notes .section-title--center {
  text-align: center;
  color: var(--hero-blue);
  margin-bottom: 32px;
}

.notes-list {
  display: grid;
  gap: 20px;
}

.note-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.note-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #123059;
  margin-bottom: 6px;
}

.note-text {
  font-size: 1.0rem;
  line-height: 1.5;
  color: #333;
}







/* =========================================================
   area　セクション
========================================================= */
.section-area {
  padding: 4rem 20px;
  background: #f7faff;
}

.section-area .section-title--center {
  text-align: center;
  color: var(--hero-blue);
  margin-bottom: 10px;
}

.section-area .section-lead--center {
  text-align: center;
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 32px;
}

/* メイン枠 */
.area-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* タイトル */
.area-title {
  font-size: 1.6rem;
  color: #123059;
  font-weight: 700;
  margin-bottom: 16px;
}

/* リスト */
.area-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  font-size: 1.4rem;
  color: #333;
  list-style-type: none;
}

/* 注意書き */
.area-note {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #666;
  line-height: 1.8;
}

.area-list li {
  padding: 6px 0;
}


/* =========================================================
   pet　セクション
========================================================= */

.section-pet {
  padding: 4rem 0;
  background: #fff;
}

/* カード本体 */
.pet-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 28px;
  background: var(--bg-soft, #f5f7fb);
  border-radius: 16px;
  border: 1px solid #e0e7ef;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

/* 肉球アイコン */
.pet-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--hero-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pet-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* リード文 */
.pet-card__lead {
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: 700;
  color: #223;
  margin-bottom: 16px;
}

/* 箇条書き */
.pet-list {
  margin: 0 0 16px;
  padding-left: 1.6em;
  list-style: none;
}

.pet-list li {
  position: relative;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 6px;
}

.pet-list li::before {
  content: "・";
  position: absolute;
  left: -1.1em;
  top: 0;
  color: var(--hero-blue);
  font-weight: 700;
}

/* 注意書き */
.pet-note {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #777;
  margin-top: 4px;
}



/* =========================================================
   voice / before after 横スクロール　ヒント
========================================================= */

.hscroll{
  position: relative;
}


.hscroll .swipe-hint{
  position:absolute;
  left: 50%;
  right: auto;
  bottom:10px;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  background: rgba(15,36,68,.08);
  color: rgba(15,36,68,.75);
  backdrop-filter: blur(6px);
  pointer-events:none;
  transform: translateX(-50%);
}


.swipe-hint{
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.swipe-hint.is-hide{
  opacity: 0;
  visibility: hidden;
}








/* =========================================================
   voice セクション
========================================================= */
/* 横スクロール */
.voice-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* スクロールバーを表示 */
.voice-slider::-webkit-scrollbar {
  height: 6px;
}

.voice-slider::-webkit-scrollbar-track {
  background: #eef3f8;
  border-radius: 3px;
}

.voice-slider::-webkit-scrollbar-thumb {
  background: #99b5d7;
  border-radius: 3px;
}

/* カード本体 */
.voice-card {
  flex: 0 0 85%;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center; 
}

/* 名前 */
.voice-card__name {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: #003366;
  text-align: left;
}

/* 星評価 */
.voice-card__stars {
  color: #ffb400;
  font-size: 1.4rem;
  margin: 4px 0 6px;
  text-align: center;
}

.voice-card__photo {
  margin: 8px auto 10px; /* 中央に配置 */
  display: block;
  border-radius: 14px;
  max-width: 180px; /* ちょい大きくしてもOK */
}


/* タグ（小さなラベル） */
.voice-card__tag {
  display: inline-block;
  background: #e8f1ff;
  color: #0050b8;
  padding: 2px 8px;
  font-size: 1.15rem;
  border-radius: 6px;
  margin: 6px auto 14px;
}

/* コメント文 */
.voice-card__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(0,0,0,0.75);
  text-align: left; /* コメントは左揃えで読みやすい */
}



/* dots（共通） */
.dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:10px;
}

.dots .dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(15,36,68,.22);
  border:0;
  padding:0;
  cursor:pointer;
}

.dots .dot.is-active{
  background: rgba(15,36,68,.65);
}

/* Voice専用：ちょい下に余白 */
.dots--voice{
  padding-bottom: 4px;
}

.dots--voice .dot {
  width: 6px;
  height: 6px;
  opacity: .4;
}

.dots--voice .dot.is-active {
  width: 8px;
  height: 8px;
  opacity: 1;
}



/* PCで右にCTAがあるので、本文領域が被らないようにしたい場合（任意） */
@media (min-width: 768px){
  .section-voice .container{
    padding-right: 96px; /* 右フローティングCTAの幅に合わせて調整 */
  }
}







/* =========================================================
   QA セクション
========================================================= */
/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 16px;
  background: #f5f7fb;
  border: none;
  text-align: left;
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.faq-q {
  color: var(--hero-blue);
  font-weight: 700;
  margin-right: 0px;
}


.faq-text {
  font-weight: 600;
  line-height: 1.5;
}


.faq-icon{
  position: relative;
  width: 22px;         /* 見た目はお好みで微調整 */
  height: 22px;
  margin-top: 0.2em;
  flex-shrink: 0;
  color: var(--hero-blue); /* 既存トーン維持 */
  font-size: 0;        /* 文字の + を表示しない（重要） */
}

/* 横棒 */
.faq-icon::before{
  content:"";
  position:absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
  border-radius: 2px;
}

/* 縦棒（＋の縦線） */
.faq-icon::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: currentColor;
  transform: translateX(-50%);
  border-radius: 2px;
  transition: opacity .2s ease;
}

/* active のとき縦棒を消す → − */
.faq-item.active .faq-icon::after{
  opacity: 0;
}




.faq-answer {
  display: none;
  font-size: 1.45rem;
  color: rgba(0,0,0,0.75);
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(15,36,68,.04);
  border-left: 3px solid var(--hero-blue);
  border-radius: 6px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}


.faq-answer__label {
  font-weight: 700;
  color: var(--hero-blue);
  margin-right: 6px;
}









/* =========================================================
   CTA セクション
========================================================= */
/* =========================
   CONTACT 簡潔版（追記）
========================= */



/* セクション全体：余白を少し詰める */
.section-cta{
  padding: 52px 0;
}

/* CONTACT見出し：過剰に大きい場合はここで抑える（任意） */
.section-heading__title span{
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.2;
}

/* LINE / FORM ブロック */
.contact-block{
  max-width: 720px;
  margin: 0 auto 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: none; /* “カード感”を弱める */
}

.contact-block--line{
  background: rgba(15,36,68,.04);
  border-color: rgba(0, 90, 170, 0.14);
}

.contact-block__title{
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.contact-block__text{
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: rgba(0,0,0,.74);
  line-height: 1.7;
}

.contact-block__note{
  margin: 12px 0 0;
  font-size: 1.2rem;
  color: rgba(0,0,0,.60);
  line-height: 1.6;
}

/* LINE ボタン＋QR：QRは小さめに */
.line-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-line{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: rgba(0,0,0,.86);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.line-qr{
  width: 74px;  /* 小さめ */
  height: 74px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 90, 170, 0.22);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 6px;
}

.line-qr__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* フォーム：大枠のカード感を弱め、まとまり良く */
.contact-form{
  max-width: 720px;
  margin: 0 auto;
  background: transparent;          /* ブロック側で囲っているため */
  padding: 0;                       /* ブロック側で余白を持つ */
  border-radius: 0;
  box-shadow: none;
}

/* ラベルと入力：サイズを抑えて読みやすく */
.form-group{
  margin-bottom: 16px;
}

.form-group label{
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

/* required バッジ：主張しすぎない */
.form-group .required{
  margin-left: 8px;
  color: rgba(217,83,79,.95);
  font-size: 1.15rem;
  font-weight: 800;
}

.form-group.is-required > label{
  opacity: 1;
}

/* 選択された方法に対応する入力欄を軽く強調 */
.form-group.is-required input{
  border-color: rgba(59, 102, 179, 0.5);
  background: #fff;
}


/* input/textarea/select */
.form-group input,
.form-group textarea,
.form-group select{
  width: 100%;
  background: #f8f9fc;
  border: 1px solid rgba(0,0,0,0.10);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1.45rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
  border-color: var(--hero-blue);
  outline: none;
  background: #fff;
}

/* 返信方法（チェック） */
.reply-checks{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.reply-check{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 700;
  color: rgba(0,0,0,.86);
}

.reply-check input{
  width: 20px;
  height: 20px;
}

/* 注釈：中央揃えはやめて、左揃えで読みやすく */
.form-note{
  font-size: 1.2rem;
  color: rgba(0,0,0,0.60);
  line-height: 1.6;
}

.form-note--left{
  text-align: left;
  margin-top: 8px;
}

/* 送信ボタン：今のトーンのまま、幅だけスマホで見やすく */
.form-submit{
  text-align: left;
  margin-top: 18px;
}

.btn-primary{
  width: 100%;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1.5rem;
}

.reply-radios{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}



/* 必須バッジ（小さめ） */
.reply-radio .required{
  margin-left: 8px;
  font-size: 1.15rem;
}


/* 外枠（1つの囲み）は残す */
.reply-group{
  padding: 12px;
  border-radius: 12px;
  background: #f8f9fc;
  border: 1px solid rgba(0,0,0,.08);
}

/* 各行は“カード化しない” */
.reply-radio{
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  border: 0;              /* ←ここ重要：常時の枠を消す */
  background: transparent;/* ←ここ重要：常時の背景を消す */
  cursor: pointer;
}

.reply-radio input{
  margin: 0;
}

.reply-radio__text{
  font-size: 1.45rem;
  font-weight: 800;
  color: rgba(0,0,0,.86);
}

/* 選択中は“薄い背景”だけ 
.reply-radio:has(input:checked){
  background: rgba(0, 90, 170, 0.06);
}

.reply-radio:has(input:checked)::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--hero-blue);
}
*/

/* フォーム内のはみ出し対策：これが最優先 */
.contact-form,
.contact-form *{
  box-sizing: border-box;
}

/* 入力系は確実に親幅に収める */
.contact-form input,
.contact-form textarea,
.contact-form select{
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* もし親が横にはみ出す場合の保険（通常は不要だが安全） */
.contact-form{
  overflow-x: hidden;
}


/* PC：LINEボタンとQRを横で安定させる */
@media (min-width: 768px){
  .contact-block{
    padding: 20px 18px;
  }
  .line-actions{
    flex-wrap: nowrap;
  }
}








/* =========================================================
   page law, privacy
========================================================= */
  body.has-floating-cta .page-inner {
    padding-bottom: 128px;
  }

.page-inner {
  max-width: 920px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}








/* =========================================================
   6. メディアクエリ（レスポンシブ調整）
========================================================= */

/* 小さいスマホ用調整 */
@media (max-width: 360px) {
  .hero__points-circle {
    gap: 8px;
  }
  .circle-badge {
    width: 96px;
    height: 96px;
    font-size: 11px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .box-018 {
    width: 100px; /* ちょうど良い幅 */
    padding: 16px 10px;
  }
}


@media (min-width: 600px) {
    .hero__points-circle {
    justify-content: center;
    width: 70%;
    gap: 20px;
  }
}

  .pc-br {
    display: none;
  }

/* タブレット以上（hoverがある環境） */
@media (min-width: 768px) {

  .sp-br {
    display: none;
  }

  .pc-br {
    display: block;
  }


   /*---footer-----------------*/
    /* =========================
      PCで2カラム化
    ========================= */

      .footer-main{
        grid-template-columns: 1fr 1fr;
        gap: 24px 40px;
      }

      /* 役割差をつける */
      .footer-col-left{
        font-weight: 500;
      }

      .footer-col-right{
        color: rgba(15, 36, 68, .72);
      }


  
  .hero__sub-link:hover {
    background: rgba(50, 120, 220, 0.1);
    color: #1a5fb8;
  }

  .hero__middle {
    margin-top: 0;
    display: flex;
    justify-content: center;
  }


  .hero__cta:hover {
    box-shadow: 0 8px 18px rgba(0, 80, 170, 0.35);
    filter: brightness(1.05);
    animation: hero-cta-bounce 0.28s ease-out;
  }
  .hero__cta:hover .hero__cta-icon {
    animation: hero-cta-icon-slide 0.28s ease-out;
  }

  /* service section PC向けに少しだけサイズアップ */
  .section-service {
    padding: 6rem 0;
  }

  .section-heading__label {
    margin-bottom: 1rem; /* 今0.8remなら1remに */
  }


  .section-heading__title {
    font-size: 2.0rem;
  }

  .section-heading__lead {
    max-width: 40rem;
    font-size: 1.3rem;
  }

  .section-heading__title span::before,
  .section-heading__title span::after {
    width: 60px;
  }

  .service-card {
    display: flex;
    flex-direction: column;
  }
  .service-card__link {
    margin-top: auto; /* リンクを一番下へ */
    padding-top: 12px;
  }


  /*commitment sectionーーーーーーーーーーーーーーー*/
  /* PCレイアウト：横3並び */
  .section-commitment {
    padding: 6rem 0 6rem;
  }

  .commitment-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3等分 */
    gap: 1.5rem;
  }

  .commitment-item {
    flex: 1;
    padding: 2.8rem 2.0rem;
    height: 100%; /* 中身の高さを揃えやすくする用（任意） */
    text-align: center;              /* 全体センター揃え */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .commitment-item__head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    flex-direction: column;          /* 横並び → 縦並び */
    gap: 0.8rem;
    margin-bottom: 1.6rem;
  }

  .commitment-item__number {
    flex-shrink: 0;                /* ← これがポイント */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1f5ea8;
  }

  .commitment-item__title {
    margin: 0;
    font-size: 1.1rem;               /* ちょい小さめにして改行を抑える */
    line-height: 1.5;
  }

  .commitment-item__text {
    margin-top: 0.8rem;
    font-size: 1.0rem;
    line-height: 1.9;
    max-width: 20rem;                /* 行の長さを短めにして読みやすく */
    text-align: left;                /* 中央に置きつつテキストは読みやすく左揃え */
  }

  /*===before/after============================*/
  /* ▼ PC：2列固定・横並び */
  .bfa-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
  }

  .bfa-shot {
    flex: none;
    max-width: none;
  }

  /*-----technology セクション-------------*/
  .section-tech {
    padding: 80px 20px;
  }

  .tech-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .sp-only {
    display: none;
  }

  /*----price　セクション---------------------*/
  /* PC 幅レイアウト：項目 / 金額 / 内容 の3列 */
 /* 行全体の揃え方 */
  .price-row {
    display: grid;
    grid-template-columns: 220px 120px 1fr;
    align-items: center;       
    padding: 14px 20px;
  }

  /* 左列（品名） */
  .price-col.name {
    line-height: 1.6;
    margin-top: 0;
  }

  /* 中央（価格） */
  .price-col.price {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;

    position: relative;
    top: -2px;            /* ★ ここで少しだけ“上に持ち上げる” */
    margin-top: 0;
  }

  /* 右列（内容） */
  .price-col.desc {
    line-height: 1.6;
    margin-top: 0;
  }

  /* おすすめ行だけ微調整 */
  .price-row--recommend {
    padding-top: 36px;       /* バッジ分の余白を調整 */
  }

  .price-row__badge {
    top: 12px;
  }


  /*---notes--------------------------------*/
/* PC時：2カラムにして読みやすく */
  .notes-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-notes {
    padding: 90px 20px;
  }


  /*---area--------------------------------------*/

/* PC表示：2列にできる（任意） */
  .area-list {
    grid-template-columns: repeat(2, 1fr);
  }

    .area-list li {
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .area-box {
    padding: 32px 28px;
  }



  /*---voice--------------------------------------*/
/* PC表示：3列 */
  .voice-slider {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .voice-card {
    flex: none;
  }



/*==page law, privacy==============================================*/
  body.has-floating-cta{
    padding-bottom: calc(0px + env(safe-area-inset-bottom));
  }
  .page-inner {
    padding-left: 32px;
    padding-right: 96px; /* CTA回避 */
    padding-bottom: 10px;
  }

    body.has-floating-cta .page-inner {
    padding-bottom: 10px;
  }
  
}








@media (min-width: 870px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* ★ここで2列に固定 */
    max-width: 900px;
    margin: 0 auto;
  }
}






/* PC版：ヒーローを2カラムにして全体を大きめに */
@media (min-width: 960px) {
  .hero {
    padding: 80px 24px 88px;
  }

  .hero__inner {
    max-width: 1080px;
    margin: 0 auto;
  }

  .hero__top {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 64px;
    max-width: 900px;
    margin: 0 auto;
  }


  .hero__title {
    font-size: 32px;
  }
  .hero__title span {
    font-size: 35px;
  }
  .hero__sub {
    font-size: 18px;
    margin-top: 4px;
  }

  .hero__illust {
    text-align: right;
  }
  .hero__illust img {
    max-width: 420px;
  }

  .hero__middle {
    width: 100%;
    margin-top: 28px;
    display: flex;
    justify-content: center;
  }
  .hero__points-circle {
    justify-content: center;
    width: 70%;
    gap: 20px;
  }

  .circle-badge {
    width: 150px;
    height: 150px;
    font-size: 15px;
    line-height: 1.7;
  }
  .circle-badge span {
    color: var(--compl);
    font-size: 17px;
  }

  .box-018 p {
    font-size: 16px;
    letter-spacing: 0.3cap;
  }
  .box-018 p span {
    font-size: 20px;
    color: var(--compl);
    font-weight: bold;
  }

  .hero__bottom {
    margin-top: 50px;
    display: flex;
    justify-content: center;
  }
  .hero-btn {
    min-width: 320px;
    font-size: 16px;
  }


}




/* PC hover（hero-btn） */
@media (hover: hover) {
  .hero-btn:hover {
    opacity: 0.9;
  }
}


/*=+=+=+=+L=L+=+=+=+=L=L=LL=L=*/
.section {
  padding: 80px 20px;
  background: #fff;
}

/* 初期状態：ちょっと下＋薄く */
.section.js-observe {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 画面に入ったら：上に上がってくる */
.section.is-show {
  opacity: 1;
  transform: translateY(0);
}






html, body{
  overflow-x: hidden;
}
/* 画像が親幅を超えないように（基本） */
img{
  max-width: 100%;
  height: auto;
}

/* offenderに出ているブロックを親幅に収める */
.bfa-shot,
.bfa-img,
.bfa-body,
.voice-card{
  max-width: 100%;
  box-sizing: border-box;
}

/* 何かが横に飛び出している場合でも“枠内で切る” */
.bfa-shot,
.voice-card{
  overflow: hidden; /* または overflow-x: clip; */
}

.voice-card{
  width: 100%;
}

.voice-card *{
  min-width: 0; /* flex配下のはみ出し定番対策 */
}

html, body{
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* 口コミの横並び“親”がどれでも効くように候補をまとめて指定 */
.voice-track,
.voice-list,
.voice-cards,
.voice-slider,
.voice-wrap,
.voice-scroller{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* その中の横並びが flex の場合の定番 */
.voice-track > *,
.voice-list > *,
.voice-cards > *,
.voice-slider > *,
.voice-wrap > *,
.voice-scroller > *{
  min-width: 0;
}
