@charset "utf-8";
/*
Theme Name: バイク任意保険ナビ
Author: 保険デザインパートナーズ株式会社
Description: バイク任意保険案内サイト専用テーマ
Version: 1.2.1
Text Domain: bike-insurance-navi
*/

:root{
  --cream:#f8f1e9;
  --teal:#027465;
  --teal-d:#015c50;
  --teal-l:#def0ef;
  --teal-l2:#d4ede7;
  --mint:#f4faf9;
  --orange:#ef8200;
  --orange-d:#d97600;
  --rose:#c0507c;
  --rose-l:#f7e2ea;
  --ink:#333;
  --sub:#5a5a5a;
  --line:#e6dfd3;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  color:var(--ink);
  line-height:1.85;
  background:var(--cream);
  font-family:"BIZ UDPGothic","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;
  font-size:18px;
}
img{max-width:100%;height:auto;}
a{color:var(--teal);}
.wrap{max-width:1000px;margin:0 auto;padding:0 18px;}

/* header / nav */
.site-head{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(248,241,233,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.site-head .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 18px;
  flex-wrap:wrap;
}
.brand{font-weight:700;color:var(--teal);text-decoration:none;font-size:1.18rem;line-height:1.3;}
.brand small{display:block;font-size:.7rem;color:var(--sub);font-weight:400;}
.gnav ul{display:flex;gap:2px;flex-wrap:wrap;list-style:none;margin:0;padding:0;}
.gnav li{margin:0;}
.gnav a{font-size:.86rem;color:var(--ink);text-decoration:none;padding:6px 10px;border-radius:6px;}
.gnav a:hover{background:var(--teal-l);color:var(--teal);}

/* top hero */
.hero2{background:var(--teal);color:#fff;overflow:hidden;padding:0 0 2%;}
.hero2 .h12{padding:1%;}
.hero2 .imgarea{padding:2% 10%;text-align:center;}
.hero2 .imgarea img{width:100%;max-width:1920px;height:auto;border-radius:20px;}
.hero2 .wrap{
  background-color:#328e82;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:center;
  max-width:800px;
  width:100%;
  margin:0 auto;
  padding:20px 18px 30px;
  border:5px solid #70b0a3;
  border-radius:20px;
  box-shadow:0 15px 35px rgba(0,0,0,.2),0 5px 15px rgba(0,0,0,.1);
}
.hero-photo2{
  background:#cfe6e0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><rect width="120" height="120" fill="%23cfe6e0"/></svg>');
  border-radius:14px;
  min-height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#5a8a80;
  font-size:.82rem;
  text-align:center;
  padding:14px;
  border:2px dashed #9cc4ba;
}
.hero2 .ribbon{
  display:inline-block;
  background:var(--cream);
  color:var(--teal);
  border:2px solid var(--teal);
  border-radius:100px;
  padding:8px 25px;
  margin:0 0 10px;
  font-size:16px;
  font-weight:700;
  line-height:1.4;
}
.hero2 h1{font-size:2.15rem;line-height:1.28;margin:0 0 10px;font-weight:700;letter-spacing:.01em;}
.hero2 h1 .hl{color:#ffe1a6;}
.hero2 h1 .big{font-size:2.7rem;display:block;}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(50px);}
  to{opacity:1;transform:translateY(0);}
}
.animate-image{animation:fadeIn 1s ease-out forwards;}

/* legacy/common hero */
.hero{background:var(--teal);color:#fff;overflow:hidden;}
.hero .wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:18px;align-items:center;padding:26px 18px 30px;}
.hero-photo{
  background:#cfe6e0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><rect width="120" height="120" fill="%23cfe6e0"/></svg>');
  border-radius:14px;
  min-height:240px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#5a8a80;
  font-size:.82rem;
  text-align:center;
  padding:14px;
  border:2px dashed #9cc4ba;
}
.hero-copy .ribbon{color:#ffe1a6;font-weight:700;font-size:1rem;margin:0 0 6px;display:inline-flex;align-items:center;gap:8px;}
.hero-copy .ribbon::before,.hero-copy .ribbon::after{content:"";width:2px;height:18px;background:#ffe1a6;display:inline-block;}
.hero-copy .ribbon::before{transform:rotate(-20deg);}
.hero-copy .ribbon::after{transform:rotate(20deg);}
.hero h1{font-size:2.15rem;line-height:1.28;margin:4px 0 10px;font-weight:700;letter-spacing:.01em;}
.hero h1 .hl{color:#ffe1a6;}
.hero h1 .big{font-size:2.7rem;display:block;}
.hero .sub{margin:0 0 16px;font-size:.96rem;color:#e3f1ee;}

/* common button and notes */
.btn-cta{
  display:block;
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
  background:var(--orange);
  color:#fff !important;
  padding:18px 45px;
  border-radius:999px;
  text-decoration:none !important;
  font-weight:700;
  font-size:1.1rem;
  transition:.25s;
}
.btn-cta:hover{background:var(--orange-d);box-shadow:0 2px 0 var(--orange-d);transform:translateY(2px);}
.reco{margin:11px 2px 0;font-size:.76rem;color:#d2e7e2;line-height:1.6;}
.notice{margin:7px 2px 0;font-size:.73rem;color:#bcd9d3;line-height:1.55;}

/* sections and headings */
section{padding:42px 0;}
section.mint{background:var(--mint);}
section.teal-band{background:var(--teal-l);}
.rib{
  text-align:center;
  margin:0 0 8px;
  font-weight:700;
  color:var(--teal);
  font-size:1.5rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.rib::before,.rib::after{content:"";width:3px;height:22px;background:var(--teal);display:inline-block;border-radius:2px;}
.rib::before{transform:rotate(-22deg);}
.rib::after{transform:rotate(22deg);}
.h2{text-align:center;font-size:1.7rem;font-weight:700;color:var(--ink);margin:0 0 8px;line-height:1.4;}
.h2 .em{color:var(--teal);}
.lead{max-width:760px;margin:0 auto 22px;text-align:center;color:var(--sub);font-size:.98rem;}
.note-sm{font-size:.78rem;color:#8a8a8a;margin:10px auto 0;max-width:820px;}

/* intro */
.intro-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;max-width:840px;margin:0 auto;}
.intro-box p{margin:0 0 10px;}
.intro-box p:last-child{margin:0;}
.badge-rose{display:inline-block;background:var(--rose-l);color:var(--rose);font-weight:900;font-size:.8rem;border-radius:6px;padding:3px 10px;margin-bottom:8px;}

/* feature cards */
.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.feat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 18px;text-align:center;}
.feat .ic{width:54px;height:54px;border-radius:50%;background:var(--teal-l);color:var(--teal);font-size:1.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;}
.feat h3{margin:0 0 8px;color:var(--teal);font-size:1.06rem;}
.feat p{margin:0;font-size:.9rem;color:var(--sub);text-align:left;}

/* price example */
.price-ex{background:#fff;border:2px solid var(--teal-l2);border-radius:14px;max-width:560px;margin:0 auto;padding:22px;text-align:center;}
.price-ex .car{color:var(--sub);font-size:.92rem;}
.price-ex .yen{font-size:2.4rem;font-weight:700;color:var(--orange);margin:6px 0;}
.price-ex .cond{font-size:.78rem;color:#8a8a8a;text-align:left;margin-top:12px;border-top:1px dashed var(--line);padding-top:10px;}

/* steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:s;}
.step{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 14px;text-align:center;position:relative;}
.step .n{counter-increment:s;width:100px;height:34px;border-radius:20px;background:var(--teal);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;}
.step .n::before{content:"STEP " counter(s);position:absolute;}
.step .n span{position:relative;}
.step h4{margin:0 0 6px;color:var(--teal);font-size:1rem;}
.step p{margin:0;font-size:.84rem;color:var(--sub);}

/* comparison table */
.tbl-wrap{overflow-x:auto;}
.tbl{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff;min-width:560px;border:1px solid var(--line);}
.tbl th,.tbl td{border:1px solid var(--line);padding:11px 12px;text-align:left;vertical-align:top;}
.tbl thead th{background:var(--teal);color:#fff;text-align:center;font-weight:700;}
.tbl thead th.hl{background:var(--orange);}
.tbl tbody th{background:var(--teal-l);color:var(--teal);width:24%;}
.tbl .ok{color:var(--teal);font-weight:700;}
.tbl .ng{color:#b23b3b;font-weight:700;}

/* why */
.why{background:var(--rose-l);border:1px solid #ecc9d6;border-radius:14px;padding:22px;max-width:840px;margin:0 auto;}
.why h3{margin:0 0 8px;color:var(--rose);font-size:1.2rem;}
.why p{margin:0 0 8px;color:#6b4250;font-size:.95rem;}
.why p:last-child{margin:0;}

/* faq */
.faq{max-width:840px;margin:0 auto;}
.faq details{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:10px;overflow:hidden;}
.faq summary{cursor:pointer;list-style:none;padding:14px 44px 14px 48px;font-weight:700;color:var(--ink);position:relative;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::before{content:"Q";position:absolute;left:16px;top:13px;width:22px;height:22px;background:var(--teal);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.82rem;}
.faq summary::after{content:"+";position:absolute;right:16px;top:11px;font-size:1.3rem;color:var(--orange);}
.faq details[open] summary::after{content:"−";}
.faq .a{padding:0 16px 16px 48px;color:var(--sub);font-size:.92rem;position:relative;}
.faq .a::before{content:"A";position:absolute;left:16px;top:0;width:22px;height:22px;background:var(--orange);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.82rem;}

/* article cards: front page, archive, related posts */
.arts{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}
.art{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:15px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  box-shadow:none;
  transition:.25s;
}
.art:hover{box-shadow:0 6px 16px rgba(2,116,101,.12);transform:translateY(-3px);}
.art-thumb{width:100%;overflow:hidden;margin-bottom:20px;text-align:center;}
.art-thumb img{width:100%;height:auto;max-height:none;aspect-ratio:16 / 9;object-fit:cover;border-radius:12px;display:block;margin:0 auto;}
.art .cat{display:inline-block;background:var(--teal);color:#fff;font-size:.7rem;padding:2px 8px;border-radius:5px;margin-top:12px;margin-bottom:10px;}
.art h4{margin:9px 0 0;color:var(--teal);font-size:.96rem;line-height:1.55;}
.art-date{font-size:14px;}
.art-excerpt{line-height:1.8;}

/* front-page card image */
.column-image{text-align:center;margin:20px 0;}
.column-image img{width:100%;max-width:320px;height:200px;object-fit:cover;border-radius:20px;display:block;margin:0 auto;}

/* column list page */
.page-hero + .wrap{padding-top:50px;padding-bottom:60px;}
.column-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.column-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:15px;
  overflow:hidden;
  box-shadow:none;
}
.column-card:hover{box-shadow:0 6px 16px rgba(2,116,101,.12);transform:translateY(-2px);}
.column-card a{display:block;text-decoration:none;color:inherit;}
.column-thumb{width:100%;overflow:hidden;}
.column-thumb img{width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover;border-radius:12px;display:block;}
.column-body{padding:20px;}
.column-card .cat{display:inline-block;background:var(--teal);color:#fff;padding:5px 12px;border-radius:20px;font-size:13px;margin-top:12px;margin-bottom:10px;}
.column-cat{display:inline-block;background:var(--teal);color:#fff;font-size:.7rem;padding:2px 8px;border-radius:5px;margin-top:12px;}
.column-body h2{margin:9px 0 0;color:var(--teal);font-size:.96rem;line-height:1.55;}
.column-excerpt{font-size:.9rem;color:var(--sub);line-height:1.7;}

/* bottom cta */
.cta-band{background:var(--teal);color:#fff;}
.cta-band .wrap{padding:38px 18px;text-align:center;}
.cta-band p.rib{
  display:inline-block;
  color:#ffe1a6;
  border:2px solid var(--teal);
  border-radius:100px;
  padding:8px 25px;
  margin:0 auto 10px;
  font-size:16px;
  font-weight:700;
}
.cta-band p.rib::before,.cta-band p.rib::after{display:none;}
.cta-band h2{margin:0 0 15px;font-size:1.5rem;}
.cta-band p.t{margin:0 auto 18px;max-width:600px;color:#e3f1ee;font-size:.96rem;}
.cta-band .btn-cta{max-width:480px;margin:0 auto;}
.cta-band .reco,.cta-band .notice{max-width:640px;margin-left:auto;margin-right:auto;}

/* seo */
.seo{font-size:.9rem;color:var(--sub);max-width:880px;margin:0 auto;}
.seo h3{color:var(--teal);font-size:1.05rem;margin:18px 0 6px;}
.seo p{margin:0 0 10px;}

/* single / page hero */
.page-hero{background:linear-gradient(135deg,#027465,#0b9c89);color:#fff;padding:60px 20px;}
.page-hero .wrap{max-width:1100px;margin:auto;}
.page-hero h1{margin:0 0 15px;font-size:2.2rem;line-height:1.4;font-weight:700;}
.page-hero p{margin:0;opacity:.95;font-size:1rem;}
.crumb{background:#f5f5f5;border-bottom:1px solid #e5e5e5;font-size:.9rem;}
.crumb .wrap{max-width:1100px;margin:auto;padding:12px 20px;}
.crumb a{color:var(--teal);text-decoration:none;}
.post-meta{color:#fff;font-size:.9rem;margin-top:10px;}
.prose{max-width:820px;margin:50px auto;line-height:2;font-size:17px;}
.post-thumbnail{margin-bottom:35px;}
.post-thumbnail img{width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:18px;display:block;}
.single .entry-content img,.prose img{width:auto;max-width:100%;height:auto;object-fit:contain;}
.prose h2:not(.free-heading){
  margin:60px 0 25px;
  padding:14px 20px;
  background:var(--teal);
  color:#fff;
  border-radius:10px;
  font-size:1.7rem;
}

/* 自由に装飾するH2 */
.prose h2.free-heading{
  margin:25px 0;
}
.single-post .prose h3{
  margin:45px 0 20px;
  padding:4px 0 4px 15px;
  border-left:6px solid var(--orange);
  background:#fff;
  color:var(--teal);
  font-size:1.4rem;
  font-weight:700;
  line-height:1.5;
}
@media(max-width:768px){
  .single-post .prose h3{
    font-size:1.2rem;
    padding-left:12px;
    border-left-width:5px;
  }
}
.prose p{margin-bottom:1.8em;}
.prose ul,.prose ol{margin:25px 0;padding-left:28px;}
.prose table{width:100%;border-collapse:collapse;margin:35px 0;}
.prose th{background:var(--teal);color:#fff;padding:12px;}
.prose td{border:1px solid #ddd;padding:12px;}
/* 投稿内の角丸ボックス */
.prose .round-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
  margin:25px 0;
  box-shadow:0 4px 14px rgba(2,116,101,.08);
}

.prose .round-box > *:first-child{
  margin-top:0;
}

.prose .round-box > *:last-child{
  margin-bottom:0;
}
/* 記事内：タイトル・画像・本文の白枠ボックス */
.prose .article-image-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  margin:24px 0;
  box-shadow:0 4px 14px rgba(2,116,101,.08);
}

.prose .article-image-box-title{
  margin:0;
  padding:13px 18px;
  background:var(--teal);
  color:#fff;
  font-size:1.08rem;
  font-weight:700;
  line-height:1.5;
}

.prose .article-image-box img{
  display:block;
  width:100%;
  height:auto;
}

.prose .article-image-box-body{
  padding:18px 20px;
}

.prose .article-image-box-body p{
  margin:0 0 12px;
}

.prose .article-image-box-body p:last-child{
  margin-bottom:0;
}

.prose .article-image-box-body ul,
.prose .article-image-box-body ol{
  margin-bottom:0;
}

@media(max-width:820px){
  .prose .article-image-box-title{
    padding:12px 15px;
    font-size:1rem;
  }

  .prose .article-image-box-body{
    padding:15px;
  }
}

.inline-cta{max-width:900px;margin:60px auto;padding:40px;text-align:center;background:#f6fbfa;border-radius:18px;}
.single .inline-cta{max-width:820px;background:var(--teal);border-radius:20px;}
.single .inline-cta .reco,.single .inline-cta .notice{color:#fff;line-height:1.9;}
.single .inline-cta .btn-cta{display:inline-block;}
.single .inline-cta .btn-cta:hover{background:#d96f00;}
.home .reco,.home .notice{color:#fff;}

/* footer */
.site-foot{background:#143c36;color:#cfe0db;font-size:.86rem;}
.site-foot .wrap{padding:30px 18px;}
.agent-box{background:#0f312c;border:1px solid #2c5b53;border-radius:12px;padding:16px 18px;margin-bottom:18px;}
.agent-box h3{margin:0 0 10px;font-size:1rem;color:#fff;}
.agent-box dl{margin:0;display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;}
.agent-box dt{color:#8cc;opacity:.85;}
.agent-box dd{margin:0;}
.foot-links{list-style:none;margin:0 0 14px;padding:0;display:flex;gap:18px;flex-wrap:wrap;}
.foot-links a{color:#cfe0db;}
.foot-note{font-size:.76rem;color:#9bbab3;line-height:1.7;}
.copyright{margin-top:12px;font-size:.76rem;color:#7fa49c;}

/* hamburger */
.menu-toggle{display:none;width:44px;height:44px;background:none;border:0;border-radius:9px;cursor:pointer;padding:7px;position:relative;z-index:53;}
.menu-toggle span{display:block;width:27px;height:3px;border-radius:3px;background:var(--teal);margin:5px auto;transition:transform .25s,opacity .2s;}
.menu-overlay{display:none;}
.menu-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* responsive */
@media(max-width:820px){
  .site-head .wrap{flex-wrap:nowrap;}
  .menu-toggle{display:block;}
  .gnav{
    position:fixed;
    top:0;
    right:0;
    width:min(82vw,320px);
    height:100dvh;
    background:var(--cream);
    flex-direction:column;
    padding:78px 22px 30px;
    transform:translateX(110%);
    visibility:hidden;
    transition:transform .28s ease,visibility .28s;
    z-index:52;
    box-shadow:-8px 0 24px rgba(0,0,0,.16);
  }
  .gnav.open{transform:translateX(0);visibility:visible;}
  .gnav ul{display:flex;flex-direction:column;list-style:none;margin:0;padding:0;}
  .gnav li{margin:0;}
  .gnav a{display:block;padding:15px 6px;border-bottom:1px solid var(--line);border-radius:0;font-size:.95rem;font-weight:700;}
  .menu-overlay.show{display:block;position:fixed;inset:0;background:rgba(20,60,54,.42);z-index:49;}
  body.menu-open{overflow:hidden;}

  .hero .wrap{grid-template-columns:1fr;}
  .hero h1,.hero2 h1{font-size:1.7rem;}
  .hero h1 .big,.hero2 h1 .big{font-size:2.1rem;}
  .hero2 .wrap{margin:4px auto;width:96%;}
  .hero2 .imgarea{padding:2%;}

  .feats{grid-template-columns:1fr;}
  .steps{grid-template-columns:repeat(2,1fr);}
  .arts,.column-list{grid-template-columns:1fr;}
  .agent-box dl{grid-template-columns:1fr;gap:2px 0;}
  .agent-box dt{margin-top:8px;}
}

@media(max-width:768px){
  .page-hero{padding:40px 20px;}
  .page-hero h1{font-size:1.7rem;}
  .prose{font-size:16px;}
  .inline-cta{padding:25px;}
  .btn-cta{width:100%;box-sizing:border-box;}
}
/* 投稿ページ：アイキャッチ画像を中央寄せ */
.single-post .post-thumbnail{
  text-align:center;
}

.single-post .post-thumbnail img{
  display:block;
  width:100%;
  max-width:720px;
  height:auto;
  margin:0 auto;
}

/* 投稿本文内の画像を少し小さくする */
.single-post .prose img{
  display:block;
  width:auto;
  max-width:450px;
  height:auto;
  margin-left:auto;
  margin-right:auto;
}
@media(max-width:768px){
  .single-post .post-thumbnail img,
  .single-post .prose img{
    width:100%;
    max-width:100%;
  }
}
/* スマホ表示の横スクロール防止 */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
@media (max-width: 820px) {
  .gnav {
    max-width: 100%;
  }
}

/* ========================================
   スクロール後に表示する固定CTA・ページトップ
======================================== */

.bike-fixed-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100vw - 36px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.bike-fixed-actions.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* 無料見積りボタン */
.bike-fixed-actions__estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 23px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--orange, #ef8200);
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.bike-fixed-actions__estimate span {
  font-size: 23px;
  line-height: 1;
}

.bike-fixed-actions__estimate:hover,
.bike-fixed-actions__estimate:focus-visible {
  background: var(--orange-d, #d97600);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* ページ上部へ戻る丸ボタン */
.bike-fixed-actions__top {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--teal, #027465);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
  font-family: inherit;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.bike-fixed-actions__top:hover,
.bike-fixed-actions__top:focus-visible {
  background: var(--teal-d, #015c50);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.bike-fixed-actions__estimate:focus-visible,
.bike-fixed-actions__top:focus-visible {
  outline: 3px solid rgba(239, 130, 0, 0.35);
  outline-offset: 3px;
}

/* スマホ表示 */
@media (max-width: 640px) {
  .bike-fixed-actions {
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    gap: 7px;
    width: calc(100% - 20px);
    max-width: none;
  }

  .bike-fixed-actions__estimate {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    padding: 10px 12px;
    border-width: 1px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .bike-fixed-actions__estimate span {
    font-size: 20px;
  }

  .bike-fixed-actions__top {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-width: 1px;
    font-size: 23px;
  }
}

/* 小さいスマホ */
@media (max-width: 370px) {
  .bike-fixed-actions__estimate {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }
}

/* 動きを減らす設定を使用している端末 */
@media (prefers-reduced-motion: reduce) {
  .bike-fixed-actions,
  .bike-fixed-actions__estimate,
  .bike-fixed-actions__top {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}