@charset "UTF-8";
    :root{
      --brand:#009EE0;--accent:#f4ce2d;--ink:#333;--muted:#f6f7f9;    --radius: 16px;
    }
    body{color:var(--ink); word-break: auto-phrase;}
    .wrap{max-width:1120px;margin:0 auto;padding:0 16px;}
    .hero{position:relative;background:linear-gradient(0deg,rgba(0, 0, 0, 0.499),rgba(0, 19, 49, 0.35)),url('../images/sakusuma-hero3.jpg') center/cover no-repeat;color:#fff}
    .hero .wrap{padding:64px 16px 56px}
    .hero__title{font-size:clamp(22px,4.2vw,40px);font-weight:800;line-height:1.3;margin:0 0 8px;text-align: center;}
    .hero__lead{font-size:clamp(14px,2.4vw,18px);opacity:.95;margin:0 0 16px}
    .btn{display:inline-flex;align-items:center;justify-content:center;font-weight:700;border-radius:999px;padding:12px 18px;text-decoration:none}
    .btn--primary{background:#fff;color:var(--brand)}
    .btn--primary2{background:var(--brand);color:var(--muted)}
    .btn--accent{background:var(--accent);color:#000}
    .btn--ghost{border:2px solid #fff;color: #fff !important;}
    .btn-row{display:flex;gap:12px;justify-content: center;}
    .band{background:var(--muted);padding:40px 0}
    .grid{display:grid;gap:20px}
    .grid--2{grid-template-columns:1fr;}.grid--3{grid-template-columns:1fr;max-width: 96%;
    margin: 0 auto;}
    @media(min-width:900px){.grid--2{grid-template-columns:1fr 1fr}.grid--3{grid-template-columns:repeat(3,1fr)}}
    .card{background:#fff;border:1px solid #00b7ee;border-radius:12px;padding:20px}
    .h2{font-size:clamp(18px,3vw,28px);font-weight:800;margin:0 0 12px}
    .h3{font-size:18px;font-weight:700;margin:0 0 8px}
    .check li{margin:6px 0 6px 1.2em;position:relative;list-style:none;font-size: 2.5rem;}
    .check li::before{content:"✔";position:absolute;left:-1.2em;color:var(--brand)}
    .kpi{display:flex;gap:16px;flex-wrap:wrap}
    .kpi__item{flex:1 1 140px;background:#fff;border:1px solid #eee;border-radius:10px;padding:12px;text-align:center}
    .kpi__num{font-weight:800;font-size:22px;color:var(--brand)}
    .price{display:grid;gap:16px}
    @media(min-width:800px){.price{grid-template-columns:1fr 1fr}}
    .price .card strong{font-size:22px;color:var(--brand)}
    .cta-band{background:linear-gradient(90deg, var(--main12), var(--accent12));color:#fff;padding:28px 0;text-align:center}
    .footer{background:#111;color:#bbb;padding:32px 0;margin-top:32px}
    .links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
    .links a{color:#bbb;text-decoration:underline}
    /* モバイル固定CTA */
    .sticky-cta{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #eee;display:flex;gap:8px;justify-content:space-between;padding:10px;z-index:999}
    .sticky-cta .btn{flex:1}
    @media(min-width:900px){.sticky-cta{display:none}}
  
  .movie-iphone-demo {
  max-width: 900px;
  margin: auto;
  padding: 16px;
}

/* タブ */
.movie-seg {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  background: #c3c9cb;
  padding: 8px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.movie-seg > [role="tab"] {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
}
.movie-seg > [aria-selected="true"] {
  background: #111;
  color: #fff;
}

/* デバイス枠 */
.movie-device {
  max-width: 600px;
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 5.5;
  margin: 0 auto;
}
.movie-screen {
  position: absolute;
  inset: 0;
  padding: 9% 7% 13%;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}
.movie-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.movie-panel.is-active {
  opacity: 1;
  transform: none;
}
.movie-panel img,
.movie-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.movie-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 560px) {
  .movie-seg {
    gap: 6px;
  }
  .movie-seg > [role="tab"] {
    font-size: 13px;
    padding: 8px 12px;
  }
}


#features {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #e4e8ee;
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.features-image {
  max-width: 300px;
  flex: 1 1 45%;
  text-align: center;
  order: 1; /* 左側に固定 */
}

.features-image img {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.features-text {
  flex: 1 1 50%;
  order: 2; /* 右側に固定 */
}

.section-title {
  font-size: 4rem;
  font-weight: bold;
  color: #333;
  border-bottom: 5px solid #00b7ee;
  padding-left: 12px;
  margin-bottom: 25px;
}

.feature-item {
  background: #f7faff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.feature-item h3 {
  color: #0078c2;
  font-size: 3rem;
  margin-bottom: 6px;
}

.feature-item p {
  color: #444;
  font-size: 2.4rem;
  line-height: 1.7;
}

/* スマホ時は縦並びに変更 */
@media (max-width: 768px) {
  .features-wrap {
    flex-direction: column;
  }
  .features-image,
  .features-text {
    flex: 1 1 100%;
    order: unset;
  }
  .features-text {
    margin-top: 30px;
  }
}

#issues-solutions {
  background: #fff;
  /* padding: 90px 0; */
  border-top: 1px solid #e4e8ee;
  max-width: 96%;
  margin: 0 auto;
}
.wrap-2col {
  max-width: 1000px;
  margin: 0 auto;
  /* padding: 0 20px; */
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左：右 = 60:40 */
  gap: 32px;
  align-items: start;
}

#issues-solutions.section-title {
  color: #333;
  padding-left: 14px;
  margin-bottom: 12px;
}
.lead {
  color: #444;
  font-size: 2.5rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.issue-block {
  background: #f7faff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 24px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.issue-block h3 {
  color: #0078c2;
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.issue-block ul {
  margin: 0 0 14px 22px;
  padding: auto;
  list-style: disc;
}
.issue-block li {
  color: #333;
  font-size: 2.4rem;
  line-height: 1.8;
}
.issue-block .desc {
  color: #444;
  font-size: 2.4rem;
  line-height: 1.8;
}

/* 右カラム：まとめカード */
.col-right { position: relative; }
.solution-card {
  position: sticky;
  top: 24px;               /* スクロール追従（PC） */
  background: #ffffff;
  border: 1px solid #e4e8ee;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.solution-card h3 {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 12px;
}
.solutions-list {
  margin: 0 0 16px 18px;
  padding: 0;
  list-style: disc;
}
.solutions-list li {
  font-size: 2.5rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 6px;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
  justify-content: center;
}
.qbtn {
  display: inline-block;
  background: #eef7ff;
  color: #0078c2;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 2.55rem;
  text-decoration: none;
  border: 1px solid #d8e9fb;
}
.qbtn:hover { background: #dff0ff; }

.cta-btn {
  display: inline-block;
  background: #00b7ee;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 2.5rem;
  text-decoration: none;
}
.cta-btn:hover { background: #0095c8; }

/* レスポンシブ */
@media (max-width: 900px) {
  .wrap-2col {
    grid-template-columns: 1fr; /* 縦積み */
    margin: 0 auto;
  }
  /* .solution-card { position: static; } */
}

#chart-area{
    background: #ffffff;
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}
#system-structure{
  background: #fff;
    padding: 60px 0;
    border-top: 1px solid #e4e8ee;
}
/* ===== Requirements ===== */
#requirements{
  background: #fff;
    padding: 60px 0;
    border-top: 1px solid #e4e8ee;
}
.table--reqs{
  border:1px solid  #00b7ee;
 border-radius: var(--radius1);
  background:#fff;
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  box-shadow:var(--shadow);
}
.table--reqs th, .table--reqs td{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  text-align:left;
}
.table--reqs thead th{
  /* background:#f8f7ff;                  */
  color:var(--brand-ink);
  font-weight:700;
}
.table--reqs tbody tr:last-child td{ border-bottom:none }
.table--reqs td:first-child{ width:140px; font-weight:700; color:#374151 }
@media screen and (min-width:450px) and (max-width:640px){
  .table--reqs th, .table--reqs td{ font-size:.95rem; padding:10px }
  .table--reqs td:first-child{ width:auto }
}
@media screen and (max-width:450px){
  .table--reqs th, .table--reqs td{ padding:10px }
  .table--reqs td:first-child{ width:auto }
}
/* 注意書き */
.reqs__notes{
  margin:12px 0 0;
  padding-left:18px;
  color:#6b7280;
  font-size:1.6rem;
  line-height:1.6;
}
.reqs__notes li{ margin:.25rem 0; list-style: none;}
.reqs__notes li::before{
  content: '※';
}

/* ===== System Structure ===== */
.sys{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(20px,3vw,28px);
  align-items:center;
  font-size:  80%;
}
.sys__img{
  width:100%;
  height:auto;
  border-radius:12px;
  /* border:1px solid var(--line); */
}
.sys__desc p{
  margin:.5rem 0 1rem;
  color:#374151;
  
}
.sys__desc ul{
  margin:0 0 1rem 1.2rem;
  color:#4b5563;
  /* font-size:.95rem; */
   font-size:  50%;
  line-height:1.6;
}
.sys__desc li{margin:.3rem 0}
@media(max-width:860px){
  .sys{grid-template-columns:1fr;gap:16px}
  .sys__desc ul{margin-left:1rem}
}
/* ===== System Structure (vertical layout) ===== */
.sys--vertical{
  display:flex;
  flex-direction:column;
  align-items:center;
  background:#fff;
  border:1px solid  #00b7ee;
  border-radius: var(--radius1);
  box-shadow:var(--shadow);
  padding:clamp(20px,3vw,28px);
  text-align:left;
}
.sys__diagram{
  width:100%;
  margin-bottom:20px;
}
.sys__img{
  width:100%;
  height:auto;
  /* border-radius:12px;
  border:1px solid var(--line); */
}
.sys__desc{
  width:100%;
  max-width:800px;
}
.sys__desc p{
  margin:.5rem 0 1rem;
  color:#374151;
}
.sys__desc ul{
  margin:0 0 1rem 1.2rem;
  color:#4b5563;
  font-size:.95rem;
  line-height:1.6;
}
.sys__desc li{margin:.3rem 0}
@media(max-width:640px){
  .sys__desc ul{margin-left:1rem}
}
/* 表示制御 */
.only-mobile{display:none}
@media (max-width:860px){ .only-mobile{display:block} }

/* 横スクロール容器 */
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
}
.table--mobile{min-width:720px} /* 列幅を確保 */
.table-scroll::-webkit-scrollbar{height:8px}
.table-scroll::-webkit-scrollbar-thumb{background:#ddd;border-radius:8px}
/* 縦積み比較カード */
.cmp-stack{display:grid;gap:12px}
.cmp-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:14px
}
.cmp-term{margin:0 0 8px;font-size:1rem;color:var(--brand-ink)}
.cmp-cols{display:grid;gap:8px}
.cmp-col{
  border:1px dashed var(--line);border-radius:12px;padding:10px
}
.cmp-label{font-size:.85rem;color: #00b7ee;margin-bottom:4px}
.cmp-col.is-ours{border-color:var(--accent);background:#f7f3ff}
@media(min-width:861px){
  /* PCでは非表示（スマホ専用） */
  #comparison-mobile-scroll, #comparison-mobile-stack{display:none}
}
/* --- 既存修正版：スマホのみ表示 --- */
.only-mobile { display: none; }

/* スマホ(〜860px)のみ表示、タブレット・PCは非表示 */
@media (max-width: 860px) {
  .only-mobile { display: block; }
}

@media (min-width: 861px) {
  .only-mobile { display: none !important; }
}

:root{
  --main1:#5782BB;     /* サクスマ青 */
  --accent1:#009EE0;   /* サクスマ紫 */
  --bg1:#f5f7fb;       /* 背景淡色 */
  --card1:#ffffff;     /* カード背景 */
  --chip1:#eff3fb;     /* 補助色 */
  --text1:#1F1F1F;
  --radius1:14px;
  --shadow1:0 10px 24px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg1);color:var(--text1);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif}
.wrap{max-width:1100px;margin:auto;padding:28px 16px}
.h1{font-size:clamp(20px,2.8vw,28px);font-weight:800;color:var(--main1);text-align:center;margin:0 0 18px}
.sub{font-size:.95rem;opacity:.85;text-align:center;margin-bottom:18px}
.grid12{display:grid;gap:20px}
@media(min-width:960px){.grid12{grid-template-columns:1fr 1fr}}
.card2{
  background:var(--card1);border-radius:var(--radius1);box-shadow:var(--shadow1);
  border: 1px solid var(--main1);
  padding:20px 18px;position:relative;overflow:hidden;
}
.card2::after{
  content:"";position:absolute;inset:auto -40px -40px auto;width:140px;height:140px;border-radius:50%;
}
.head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.badge{
  background:linear-gradient(135deg,var(--main1),var(--accent1));
  color:#fff;border-radius:999px;padding:8px 14px;font-weight:700;letter-spacing:.02em;font-size: large;
}
.title{font-weight:800;color:var(--main1)}
.items{display:grid;gap:10px;margin:14px 0}
.row{
  display:flex;gap:10px;align-items:flex-start;background:var(--chip1);
  border-radius:10px;padding:10px 12px
}
.row .lbl{font-weight:700;font-size: large;}
.row .meta{font-size:1.6rem;opacity:.9}
.row .qty{margin-left:auto;text-align:right}
.card2.price{
  margin-top:8px;border-top:1px dashed rgba(0,0,0,.15);padding-top:12px;
  display:flex;align-items:center;gap:10px;justify-content:flex-end
}
.price .yen{font-size:clamp(22px,3.4vw);font-weight:900;color:var(--accent1)}
.note{font-size:2rem;opacity:.75;text-align:right;margin-top:4px}
.total{
  margin-top:14px;padding:14px;border-radius:12px;
  background:linear-gradient(135deg,rgba(87,130,187,.12),rgba(140,120,208,.12));
  border:1px solid rgba(87,130,187,.25);
}
.total .tlabel{font-weight:800;color:var(--main1)}
.total .tamount{float:right;font-size:clamp(22px,3.6vw,24px);font-weight:900;color:var(--accent1)}
.compare{margin-top:22px;text-align:center;font-size:.92rem}
hr.sep{border:none;height:1px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.15),transparent);margin:22px 0}

/* 金額 */
:root{
  --main12:#5782BB;
  --accent12:#78b3d0;
  --bg12:#f5f7fb;
  --card12:#ffffff;
  --chip12:#E9EFF9;
  --text12:#1F1F1F;
  --radius12:14px;
  --shadow12:0 10px 22px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
.wrap12{max-width:1100px;margin:auto;padding:28px 16px}
.grid12{display:grid;gap:22px}
@media(min-width:960px){.grid12{grid-template-columns:1fr 1fr}}

.card12{
  background:var(--card12);border-radius:var(--radius12);box-shadow:var(--shadow12);
  overflow:hidden;display:flex;flex-direction:column;
  border: 1px solid var(--main1);
  border-top: none;
}
.card-header12{
  background:linear-gradient(90deg,var(--main12),var(--accent12));
  color:#fff;padding:14px 16px;font-weight:800;letter-spacing:.02em;text-align:center;
    font-size: large;
}
.section12{padding:16px}
.table12{display:grid;gap:10px}
.row12{
  display:grid;grid-template-columns: 140px 1fr;
  gap:10px;background:var(--chip12);border-radius:12px;padding:12px 14px;align-items:center
}
.row12 .label12{font-weight:800;color:var(--main12)}
.row12 .value12{font-size:2rem}
.badge12{
  display:inline-grid;place-items:center;
  border-radius:999px;padding:6px 10px;background:#fff;color:var(--main12);
  border:1px solid rgba(0,0,0,.08);font-weight:700;margin-right:8px; font-size: large;
}
.total12{
  margin-top:14px;border-top:1px dashed rgba(0,0,0,.18);padding-top:12px;
  display:flex;justify-content:flex-end;gap:10px;align-items:baseline
}
.total12 .ttl12{font-weight:700}
.total12 .amt12{font-weight:900;color:var(--accent12);font-size:clamp(22px,3.4vw,30px)}
.note12{margin-top:12px;font-size:1.5rem;opacity:.85;line-height:1.6}
.hr12{height:1px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.15),transparent);margin:14px 0}
.feature12{
  background:#fff;border:1px solid rgba(87,130,187,.25);border-radius:12px;padding:12px;
  font-size:.92rem;
  max-width: 768px;
  margin: 0 18px;
}
.feature12 h3{margin:0 0 8px;font-size:2.4rem;color:var(--main12)}
ul{margin:0;padding-left:18px}
.small12{font-size:2rem;opacity:.8}
/* .value12 span{
  font-size: large;
  color: #009EE0;
  font-weight: bold;
} */
.yen{font-weight: bold; font-size: 3rem; color: #009EE0;}
.bth-row .btn--primary{
  border: 1px solid #009EE0;
  font-weight: bold;
  color: #fff !important;
  background-color: #5782BB;
  width: 200px;
}
#price{
  width: 94%;
}
/* === Hero Background Slideshow === */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 19, 49, 0.35)),
              url('../images/sakusuma-hero3.jpg') center/cover no-repeat;
  transition: background-image 1s ease-in-out;
}

/* フェードアニメーション（JS不要でCSSのみでもOK） */
/* @keyframes heroSlide {
  0%, 25% {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 19, 49, 0.35)),
                      url('../images/sakusuma-hero2.jpg');
  }
  26%, 50% {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 19, 49, 0.35)),
                      url('../images/sakusuma-hero34.jpg');
  }
  51%, 75% {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 19, 49, 0.35)),
                      url('../images/sakusuma-hero2.jpg');
  }
  76%, 100% {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 19, 49, 0.35)),
                      url('../images/sakusuma-hero34.jpg');
  }
} */
/* .hero--slideshow {
  animation: heroSlide 15s infinite;
} */
/* === menu tabs: pill style (movie-seg とは独立) === */
.menu-seg{
  max-width: 600px; margin: 0 auto 20px;
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
  background:#c3c9cb; padding:8px; border-radius:999px;
}
.menu-seg > [role="tab"]{
  border:0; background:transparent; padding:10px 14px;
  border-radius:999px; cursor:pointer; font-size:14px;
}
.menu-seg > [aria-selected="true"]{ background:#111; color:#fff; }
@media (max-width:560px){
  .menu-seg > [role="tab"]{ font-size:13px; padding:8px 12px; }
}
/* 枠や装飾がある場合 */
.movie-frame{ pointer-events: none; }   /* クリック貫通させる */
.movie-panel video{ pointer-events: auto; z-index: 2; }

/* ===== tabs2: サクスマテーマ（ブルー）ピル型タブ ===== */
.tabs2 {
  --tabs2-bg: #E8EEF7;                 /* 背景：淡いブルーグレー */
  --tabs2-pill-fg: #325C92;            /* 通常文字色（濃い青） */
  --tabs2-pill-border: #b9cbe3;        /* 枠線 */
  --tabs2-pill-active-bg: #5782BB;     /* アクティブ背景（テーマカラー） */
  --tabs2-pill-active-fg: #fff;        /* アクティブ文字色 */

  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--tabs2-bg);
  padding: 8px;
  border-radius: 999px;
  margin: 0 auto 16px;
  max-width: 600px;
}

/* ピルボタン */
.tabs2 .tab-btn12 {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--tabs2-pill-border);
  background: #fff;
  color: var(--tabs2-pill-fg);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.1s ease, border-color 0.25s ease;
}

/* hover / focus */
.tabs2 .tab-btn12:hover {
  background: rgba(87, 130, 187, 0.12);
  border-color: #9bb5dc;
}
.tabs2 .tab-btn12:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 130, 187, 0.25);
}

/* アクティブ */
.tabs2 .tab-btn12.active {
  background: var(--tabs2-pill-active-bg);
  color: var(--tabs2-pill-active-fg);
  border-color: var(--tabs2-pill-active-bg);
}

/* スマホ向け */
@media (max-width: 560px) {
  .tabs2 {
    gap: 6px;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tabs2 .tab-btn12 {
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* 押下感 */
.tabs2 .tab-btn12:active {
  transform: translateY(1px);
}

/* === menu-seg: サクスマテーマ（ブルー）ピル型タブ === */
.menu-seg {
  --menu-bg: #bfdde7;                 /* 背景：淡ブルー */
  --menu-fg: #325C92;                 /* 文字色 */
  --menu-border: #b9cbe3;             /* 枠線 */
  --menu-active-bg: #5782BB;          /* アクティブ背景 */
  --menu-active-fg: #fff;             /* アクティブ文字色 */

  max-width: 600px;
  margin: 0 auto 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--menu-bg);
  padding: 8px;
  border-radius: 999px;
}

/* 各タブボタン */
.menu-seg > [role="tab"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--menu-border);
  background: #fff;
  color: var(--menu-fg);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease,
              transform 0.1s ease, border-color 0.25s ease;
}

/* hover / focus */
.menu-seg > [role="tab"]:hover {
  border-color: #9bb5dc;
}
.menu-seg > [role="tab"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 130, 187, 0.25);
}

/* アクティブ状態 */
.menu-seg > [aria-selected="true"] {
  background: var(--menu-active-bg);
  color: var(--menu-active-fg);
  border-color: var(--menu-active-bg);
}

/* 押下感 */
.menu-seg > [role="tab"]:active {
  transform: translateY(1px);
}

/* スマホ対応 */
@media (max-width: 560px) {
  .menu-seg {
    gap: 6px;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .menu-seg > [role="tab"] {
    font-size: 13px;
    padding: 8px 14px;
  }
}
#price .btn-row a .btn--primary{
  max-width: 800px;
  background-color: #0095c8;
}
.mg0{
  max-width: 500px;
  margin: 0 auto;
}
 /* ===== Hero: 4枚クロスフェード（サクスマテーマ） ===== */
.hero--slideshow { animation: none !important; }

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  /* ベース（A） */
  background:
    linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,19,49,.35)),
    url('../images/sakusuma-hero2.jpg') center/cover no-repeat;
}

/* 各レイヤー */
.hero::before,
.hero::after,
.hero::marker,
.hero::backdrop {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

/* B (2枚目) */
.hero::before {
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,19,49,.35)),
    url('../images/sakusuma-hero34.jpg');
  animation: heroCross4 28s infinite ease-in-out;
  animation-delay: 0s;
}

/* C (3枚目) */
.hero::after {
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,19,49,.35)),
    url('../images/sakusuma-hero2.jpg');
  animation: heroCross4 28s infinite ease-in-out;
  animation-delay: 7s; /* 1/4周期ずらし */
}

/* D (4枚目) */
.hero::backdrop {
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,19,49,.35)),
    url('../images/sakusuma-hero34.jpg');
  animation: heroCross4 28s infinite ease-in-out;
  animation-delay: 14s;
}

/* ---- 4枚フェード (周期28秒：7秒ずつ) ---- */
@keyframes heroCross4 {
  0%, 20%   { opacity: 0; }
  25%, 45%  { opacity: 1; } /* フェードIN→保持 */
  50%, 100% { opacity: 0; } /* フェードOUT→次へ */
}

/* ヒーローテキストを前面に */
.hero .wrap,
.hero .content {
  position: relative;
  z-index: 1;
}

.cta-font {
    font-size: 2.8rem !important;
    line-height: 1.7;
}

/* ▼ サクスマ操作フロー共通 */
.sakusuma-flow {
  /* background: #f2f6fb; */
  padding: 32px 0;
}
.sakusuma-flow__wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}
.sakusuma-flow__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #045f9c; /* ブランド青系 */
}
.sakusuma-flow__lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #456;
}

/* ブロック単位 */
.sakusuma-flow__block {
  background: #fff;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
@media screen and (min-width:769px) {
  .sakusuma-flow__block {
  background: #fff;
  /* border: 1px solid #d5e2f0; */
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
}
.sakusuma-flow__block-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #035f97;
  text-align: center;
}
.sakusuma-flow__block-sub {
  font-size: 13px;
  color: #567;
  margin: 0 0 16px;
}

/* レイアウト：タブレット＋スマホ横並び */
.sakusuma-flow__row {
  /* display: grid; */
  gap: 20px;
}
@media (min-width: 880px) {
  .sakusuma-flow__row {
    grid-template-columns: 1fr 1fr;
  }
}

/* デバイス枠 */
.sakusuma-device {
  max-width: 720px;
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--brand);
  margin: 0 auto;
}
.sakusuma-device--phone {
  border-radius: 28px;
  max-width: 330px;
}
@media (max-width: 450px) {
  .sakusuma-device--phone {
  border-radius: 28px;
  max-width: 250px;
}
}
.sakusuma-device--tablet {
  border-radius: 20px;
}
.sakusuma-device__notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 10px;
  background: #c9d9ea;
  border-radius: 6px;
}
.sakusuma-device__screen img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 10 / 17;   /* スマホ縦画面比率 */
  object-fit: cover;
  background: #d7e3f3;
}
.sakusuma-device--tablet .sakusuma-device__screen img {
  aspect-ratio: 5/ 3.4;    /* タブレット横～斜め比率 */
}
.sakusuma-device--tablet1 .sakusuma-device__screen img {
  aspect-ratio: 6/ 3.4;    /* タブレット横～斜め比率 */
}
.sakusuma-device__label {
  position: absolute;
  top: -12px;
  left: 12px;
  background: #007acc;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* STEP説明 */
.sakusuma-flow__steps {
  margin-top: 16px;
}
.sakusuma-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  justify-content: center;
}
.sakusuma-step__num {
  width: 22px;
  height: 22px;
  background: #007acc;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.sakusuma-step__text {
  font-size: 2.4rem;
  line-height: 1.6;
  color: #334;
}

/* 補足メモ */
.sakusuma-flow__note {
  margin-top: 16px;
  border-top: 1px solid #d5e2f0;
  padding-top: 10px;
  background: #e3f1ff;
  border-radius: 8px;
  border-left: 4px solid #007acc;
}
.sakusuma-flow__note-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #035f97;
}
.sakusuma-flow__note-text {
  font-size: 13px;
  margin: 0;
  color: #345;
}
/* ▼ PCドロップダウン（table-right 内専用） */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

/* ▼ メニュー本体：サクスマテーマカラー対応 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 6px 0;
  margin: 0;
  list-style: none;

  /* ▼ 背景カラー（薄いサクスマブルー） */
  background: #E7F5FF; /* サクスマの補助カラー */
  border: 1px solid #B5DFF6; /* 少し濃い境界線 */
  border-radius: 6px;

  min-width: 170px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility 0s linear .25s;

  z-index: 100;
}

/* ▼ hover（または .open）で表示 */
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

/* ▼ メニュー内リンク（未選択） */
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #045A82;        /* サクスマ青濃色 */
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

/* ▼ hoverリンク：サクスマテーマカラー */
.dropdown-menu li a:hover {
  background: #009EE0;   /* メインカラー */
  color: #fff;           /* 白文字 */
  border-radius: 4px;
}

/* ▼ SPでは非表示 */
@media (max-width:768px){
  .dropdown { display:none; }
}

.fullform__wrap{
  width:min(1200px,100%);
  display:grid; grid-template-columns:1.05fr 1fr; gap:24px;
}
@media (max-width:980px){ .fullform__wrap{ grid-template-columns:1fr } }

.fullform__aside{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:clamp(20px,3vw,28px);
}
.fullform__aside h1{ margin:0 0 8px; font-size:clamp(22px,3vw,28px); color:var(--brand-ink) }
.fullform__aside p{ margin:0 0 10px; color:#374151 }
.fullform__aside ul{ margin:0; padding-left:18px; color:#4b5563; line-height:1.8 }

.fullform__card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:clamp(20px,3vw,28px);
}
.fullform__form{ width:100% }

.ff__grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px }
@media (max-width:640px){ .ff__grid{ grid-template-columns:1fr } }

.ff__row{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px }
.ff__label{ font-weight:700; color:var(--ink); font-size:.95rem }
.req{
  display:inline-block; font-size:.75rem; color:#fff; background:var(--brand);
  border-radius:999px; padding:.1rem .45rem; margin-right:.4rem; vertical-align:middle
}
.ff__input,.ff__textarea{
  width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px;
  font-size:1rem; font-family:inherit; background:#fff;
}
.ff__input:focus,.ff__textarea:focus{ outline:2px solid var(--accent); outline-offset:2px }

.ff__note{ color:var(--sub); font-size:.9rem; margin:4px 0 12px }

.ff__actions{ display:flex; gap:10px; flex-wrap:wrap }
.ff__submit{
  background:var(--brand); color:#fff; border:none; border-radius:999px;
  padding:.9rem 1.4rem; font-weight:800; cursor:pointer;
}
.ff__submit:hover{ background:var(--brand-ink) }
.ff__reset{
  background:#f1f5f9; color:var(--ink); border:none; border-radius:999px;
  padding:.9rem 1.4rem; cursor:pointer;
}
/* 小型端末での余白調整 */
@media (max-width:860px){
  .fullform{ padding:12px }
  .fullform__aside{ display:none } /* モバイルはフォームに集中 */
}
/* ===== Full-screen Request Form (説明上 / フォーム下) ===== */
.fullform{background:linear-gradient(180deg,#f7f5ff 0%,#fff 40%);display:flex;justify-content:center;padding:clamp(16px,3vw,32px)}
.fullform__wrap{width:min(800px,100%);display:flex;flex-direction:column;gap:24px}
.fullform__desc,.fullform__card{background:#fff;border:1px solid var(--brand);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(20px,3vw,28px)}
.fullform__desc h1{margin:0 0 8px;font-size:clamp(22px,3vw,28px);color:var(--brand-ink)}
.fullform__desc p{margin:0 0 10px;color:#374151;line-height:1.7}
.fullform__desc ul{margin:0;padding-left:18px;color:#4b5563;line-height:1.8}
.ff__form{width:100%}
.ff__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:640px){.ff__grid{grid-template-columns:1fr}}
.ff__row{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.ff__label{font-weight:700;color:var(--ink);font-size:2.55rem;text-align: left;}
.ff__label::before{content: "　";}
.req{display:inline-block;font-size:2.35rem;color:#fff;background:var(--brand);border-radius:999px; padding: .3rem .9rem;margin-right:.4rem;vertical-align:middle}
.ff__input,.ff__textarea{ width:100%;border:1px solid var(--brand);border-radius:10px;padding:12px 14px;font-size:2.6rem;font-family:inherit;background:#fff}
.ff__input:focus,.ff__textarea:focus{outline:2px solid var(--accent);outline-offset:2px}
.ff__note{color:var(--sub);font-size:1.9rem;margin:4px 0 12px}
.ff__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content: center;}
.ff__submit{background:var(--brand);color:#fff;border:none;border-radius:999px;padding:1.9rem 2.4rem;font-weight:800;cursor:pointer}
.ff__submit:hover{background:var(--accent12)}
.ff__reset{background:#f1f5f9;color:var(--ink);border:none;border-radius:999px;padding:.9rem 1.4rem;cursor:pointer}
@media (max-width:860px){.fullform__wrap{gap:16px}.fullform__desc,.fullform__card{padding:16px}}
/* ===== スマホ画面イメージ一覧 ===== */
.appshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}

::placeholder{
  color: #b2b2b2;
}