@charset "utf-8";

/* ============== Base ============== */
body{
  font-family: "Murecho", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  color: #333;
}
.serif{
  font-family: "Noto Serif", serif; font-weight: 700;
}
.yellow_line{
  background: linear-gradient(transparent 50%, #F7FF1A 50%);
}
.wrap{
  position: relative;
}

.br-sp{
  display: none;
}

.br-pc{
  display: block;
}

@media screen and (max-width:768px){
  .br-sp{
    display: block;
  }
  .br-pc{
    display: none;
  }
}

/* ============== Header ============== */
header{
  z-index: 11000;              /* ドロワーより上だが、開いたら非表示にする */
  position: fixed;
  top: 0; left: 0; width: 100%;
  background-color: rgb(255 255 255 / 90%);
  transition: opacity .2s ease;
}
header.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.header-bar{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 58px;
}
.logo-area{
  display: flex;
  justify-content: center;
  max-width: 430px;
  align-items: center;
  gap: 24px;
}

.logo-area .logoimg-wowow{
  width: 100%;
}
.hojin{
  max-width: 120px;
  width: 100%;
  text-align: center;
  padding: 2px;
  font-weight: 900;
}
.hojin p{
  position: relative;
  display: inline-block;
  color: #034685;
  padding: 3px 0px 3px 2px;
  font-size: 1.125rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
}

.hojin p::before,
.hojin p::after{
  position: absolute;
  content:"";
  top: 50%;
  width: 13px;
  height: 2px;
  background-color: #034685;
}

.hojin p::before {
  right: 100%;
  margin-right: 8px;  /* 文字から8px離す */
  transform: translateY(-50%);
}

.hojin p::after {
  left: 100%;
  margin-left: 8px;   /* 文字から8px離す */
  transform: translateY(-50%);
}

/* PCナビ */
.header-bar nav ul{
  display: flex;
  justify-content: flex-end;
  gap: 48px;
  align-items: center;
}
.header-bar nav ul li a{
  color: #333;
  font-size: clamp(1rem, 0.936rem + 0.26vw, 1.25rem);
}
.header-bar nav ul li a:hover{
  border-bottom: #333 solid 2px;
}

/* ============== Hamburger (ヘッダー内) ============== */
.hamburger{
  z-index: 11010;            /* ヘッダー内で最前面 */
  display: none;             /* SPで表示 */
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: relative;
}
.hamburger__lines{
  position: relative;
  display: block;
  width: 33px; height: 1px;            /* 中央線：1px */
  background: #5E5E5E;
  transition: background .25s ease, transform .25s ease;
}
.hamburger__lines::before,
.hamburger__lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 33px; height: 1px;            /* 太さ1px */
  background: #5E5E5E;
  transition: top .25s ease, transform .25s ease, background .25s ease;
}
.hamburger__lines::before{ top: -9px; } /* 上線：間隔9px */
.hamburger__lines::after { top:  9px; } /* 下線：間隔9px */

/* クリック時 = 「×」へ変形（開いている間はヘッダーごと非表示になる想定だが、念のため残す） */
.hamburger.is-active .hamburger__lines{
  background: transparent;
}
.hamburger.is-active .hamburger__lines::before{
  top: 0; transform: rotate(45deg); background: #fff;
}
.hamburger.is-active .hamburger__lines::after{
  top: 0; transform: rotate(-45deg); background: #fff;
}

/* ============== Drawer (上から下に) ============== */
.drawer{
  z-index: 10020;            /* ヘッダーより下（開時にheaderを隠す運用） */
  position: fixed;
  left: 0; right: 0; top: 0;
  width: 100vw;
  height: 80vh;              /* 汎用 */
  height: 80dvh;             /* 対応環境で優先（iOS安定） */
  background: rgba(43,43,43,0.95); /* #2B2B2B 95% */
  color: #FFFFFF;
  transform: translate3d(0,-100%,0); /* 画面外（上） */
  transition: transform .3s ease;
  overflow: auto;
  padding: 88px 24px 0 24px; /* 上は×ボタン分の余白 */
  will-change: transform;
  backface-visibility: hidden;
}
.drawer.is-open{ transform: translate3d(0,0,0); }

/* ×ボタン（ドロワー右上） */
.drawer__close{
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px; /* ヒット面 */
  background: transparent; border: none; cursor: pointer;
  z-index: 2;
}
.drawer__close::before,
.drawer__close::after{
  content:"";
  position:absolute; top:50%; left:50%;
  width:33px; height:1px; background:#fff;
  transform-origin:center;
}
.drawer__close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.drawer__close::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* メニュー（40px間隔／1rem／bold／白） */
.drawer__list,
.drawer nav ul{
  display: flex;
  flex-direction: column;
  gap: 40px;                 /* 指定どおり 40px */
  margin: 24px 0;
  padding: 0;
  position: relative;
  z-index: 1;                /* ×より下 */
}
.drawer__list a,
.drawer nav ul li a{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: block;
  text-align: center;
}
.drawer__list a:hover, .drawer__list a:focus,
.drawer nav ul li a:hover, .drawer nav ul li a:focus{
  text-decoration: underline;
}

/* 幕（外側クリックで閉じる & チラ見え防止） */
.drawer-backdrop{
  z-index: 10010;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity .2s ease;
}
.drawer-backdrop.is-open{ opacity: 1; }

/* 動き控えめ設定 */
@media (prefers-reduced-motion: reduce){
  .hamburger__lines,
  .hamburger__lines::before,
  .hamburger__lines::after,
  .drawer,
  .drawer-backdrop{
    transition: none !important;
  }
}

@media screen and (max-width:768px){
  .header-bar{
    padding: 16px 8px;
  }
  .logo-area{
    max-width: 260px;
  }
  .hojin{
    max-width: 85px;
  }

  .hojin p{
    font-size: 0.875rem;
  }
  .hojin p::before,
  .hojin p::after{
    height: 1px;
  }
}

/* ============== Responsive Switch ============== */
@media (max-width: 1059px){
  .global-nav{ display: none; }          /* PCナビを非表示 */
  .hamburger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============== FV ============== */
.fv {
  position: relative;
  background-image: url(../images/fv.webp);
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto; /* 上: キャッチ, 下: catch2 */
  align-items: end;
  background-color: #000;
}

.catch {
  padding-top: 190px;
  padding-left: 48px;
  align-self: start;
}

.catch h1 {
  color: #F7FF1A;
  font-size: clamp(1.625rem, 1.02rem + 2.48vw, 4rem);
  font-weight: 900;
  display: inline-block;
  position: relative;
  transform: rotate(-8deg);
  transform-origin: left bottom;
}

.catch h1 .bgline {
  position: relative;
  display: inline-block;
}

.catch h1 .bgline::after {
  content: "";
  position: absolute;
  left: -0.5em;
  bottom: -0.9em;
  width: 110%;
  aspect-ratio: 16 / 9; /* 元画像の比率に合わせる */
  background-image: url(../images/fv-line.webp);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: -1;
  transform: rotate(8deg);
}

.catch h1 .title-small {
  font-size: clamp(0.875rem, 0.843rem + 0.13vw, 1rem);
  vertical-align: text-top;
}

.catch h1 .txt-small {
  position: relative;
  font-size: clamp(1.25rem, 0.804rem + 1.83vw, 3rem);
}

.catch h1 .txt-small::before{
  position: absolute;
  content: "";
  background-image: url(../images/doted.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 75%;
  height: 24px;
  transform: rotate(8deg);
  left: 0;
  right: 0;
  margin: 0 auto;
}

.catch2 {
  /* position: absolute; */
  position: static;
  margin-right: 5%;
  /* right: 5%; */
  /* bottom: 0; */
}

@media screen and (max-width:768px) {

  .fv{
    height: 80vh;
    height: 80svh;
  }

  .catch2 {
    margin-left: 1%;
    margin-right: 0;
    padding-right: 8px;
  }
}

@media screen and (max-width:400px){
  .fv{
    height: 90vh;
    height: 90svh;
  }
}

.catch2 .fvflex {
  max-width: 689px;
  margin: auto 0 auto auto;
}

.catch2 .fvflex ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
  padding-bottom: 16px;
}

.catch2 .fvflex ul li {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  max-width: 224px;
  padding: 8px 16px 8px 8px;
  border-radius: 38px;
  background-color: rgba(38, 28, 22, 0.8);
}

@media screen and (max-width:768px) {
  .catch2 .fvflex ul li {
    gap: 8px;
  }
}

.catch2 .fvflex ul li span {
  color: #fff;
  font-size: clamp(0.938rem, 0.699rem + 0.98vw, 1.875rem);
}

.catch2 .fvflex ul li img {
  width: 40px;
  height: 40px;
}

.catch2 .subtitle {
  font-size: clamp(0.875rem, 0.62rem + 1.05vw, 1.875rem);
  color: #fff;
  padding-top: 4px;
  padding-left: 16px;
  padding-bottom: 16px;
  background-image: url(../images/fv-line2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  text-align: right;
}

.catch2 .subtitle .spBgimg {
  background-image: none;
}

@media screen and (max-width:768px) {
  .catch2 .subtitle {
    background-image: none;
    padding: 0;
    text-align: right;
  }
  .catch2 .subtitle .spBgimg {
    background-image: url(../images/fv-line2.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
  }

  .catch2 .fvflex ul li img {
  width: 27px;
  height: 27px;
}
}

.catch2 .small {
  text-align: right;
  color: #FFFFFF;
  padding-bottom: 16px;
}

@media screen and (max-width:768px) {
  .catch2 .small {
    text-align: right;
  }
}

@media screen and (max-width:768px) {
  .catch {
    padding-left: 16px;
    padding-top: 150px;
  }
}

/* ============== Section 1 ============== */
.sec1-img-color {
  background-image: url(../images/bg-sec1.webp);
  background-size: cover;
  padding: 64px 16px;
}

.sec1-bg-color {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(to right, #DFDFDF 0%, #FFFFFF 50%, #DFDFDF 100%);
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  gap: 8px;
  justify-content: space-evenly;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center;
}

.sec1-img-color .sec1-bg-color .cnt_txt_box {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.sec1-img-color .sec1-bg-color .cnt_txt_box h2 {
  max-width: 332px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  background-color: #333333;
  color: #fff;
  font-weight: bold;
  font-size: clamp(1rem, 0.745rem + 1.05vw, 2rem);
}

.sec1-img-color .sec1-bg-color .cnt_txt_box p {
  font-size: clamp(1rem, 0.745rem + 1.05vw, 2rem);
  font-weight: bold;
}

.sec1-img-color .sec1-bg-color .cnt_txt_box p.txt1 {
  padding-top: 32px;
  line-height: 1.8;
}

.sec1-img-color .sec1-bg-color .cnt_txt_box p.txt2 {
  line-height: 1.5;
}

.sec1-img-color .sec1-bg-color .cnt_txt_box .point_txt {
  color: #F04E23;
}

.sec1-img-color .sec1-bg-color .cnt_txt_box .high_txt {
  font-size: clamp(2rem, 1.586rem + 1.7vw, 3.625rem);
}

.sec1-img-color .sec1-bg-color .cnt_txt_box .high2_txt {
  font-size: clamp(1.5rem, 1.118rem + 1.57vw, 3rem);
}

.sec1-img-color .sec1-bg-color .cnt_img {
  max-width: 267px;
  width: 100%;
}

@media screen and (max-width:768px) {
  .sec1-bg-color {
    max-width: 343px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .sec1-img-color .sec1-bg-color .cnt_txt_box p.txt1 {
    padding-top: 16px;
  }
  .sec1-img-color .sec1-bg-color .cnt_txt_box p.txt2 {
    line-height: 1;
  }
  .sec1-img-color .sec1-bg-color .cnt_img {
    max-width: 343px;
    width: 100%;
  }
  .sec1-img-color .sec1-bg-color .cnt_img img {
    width: 100%;
  }
  .sec1-img-color .sec1-bg-color .cnt_txt_box h2{
    max-width: 250px;
    padding: 6px 0;
  }
}

/* ============== Section 2 ============== */
.value {
  padding: 120px 16px;
}

.value h2 {
  text-align: center;
  font-size: clamp(1.5rem, 1.245rem + 1.05vw, 2.5rem);
  font-weight: bold;
  color: #003399;
  padding-bottom: 48px;
}

.value h2 .txtLow {
  font-size: clamp(1.188rem, 0.98rem + 0.85vw, 2rem);
}

.value .contentsBox {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.value .contentsBox ol li.mainlist_contentsBox {
  padding-top: 48px;
}

.value .contentsBox ol li h3 {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  align-items: center;
  font-size: clamp(1.25rem, 1.059rem + 0.78vw, 2rem);
  padding-bottom: 18px;
}

.value .contentsBox ol li h3 .border_dash {
  border-bottom: 1px dashed #333;
  line-height: 2.5;
}

@media screen and (max-width: 768px) {
  .value .contentsBox ol li h3 {
    gap: 16px;
  }
}

.value .contentsBox ol li .txtbox {
  line-height: 2;
  font-size: 1rem;
  padding-bottom: 40px;
}

/* ========= sports-gameslist ========= */
.value .contentsBox ol li .sports-gameslist .gameslistbox {
  display: flex;
  justify-content: flex-start;
  gap: 46px;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .value .contentsBox ol li .sports-gameslist .gameslistbox {
    justify-content: center;
  }
}

.value .contentsBox ol li .sports-gameslist .gameslistbox .listbox {
  max-width: 300px;
  width: 100%;
}

.value .contentsBox ol li .sports-gameslist .gameslistbox .listbox p.sports_title {
  text-align: center;
  background-color: #262626;
  color: #fff;
  padding: 8px 0;
  margin-bottom: 16px;
}

.value .contentsBox ol li .sports-gameslist .gameslistbox .listbox .gameimages {
  max-width: 300px;
  margin: 0 auto 24px;
}

.value .contentsBox ol li .sports-gameslist .gameslistbox .listbox .gameimages img {
  width: 100%;
}

.value .contentsBox ol li .sports-gameslist .gameslistbox li.league_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

.value .contentsBox ol li .sports-gameslist .small {
  text-align: right;
  padding-top: 8px;
}

@media screen and (max-width: 768px) {
  .value .contentsBox ol li .sports-gameslist .small {
    text-align: center;
  }
}

/* ========= レスポンシブ調整 ========= */
@media screen and (max-width: 769px) {
  .value {
    padding: 56px 16px;
  }
  .value h2 {
    padding-bottom: 32px;
  }
  .value .contentsBox ol li.mainlist_contentsBox {
    padding-top: 0;
  }
  .value .contentsBox ol li.mainlist_contentsBox h3 div img {
    width: 40px;
    height: 40px;
  }
  .value .contentsBox ol li.contentsBoxlist_flex {
    flex-wrap: wrap;
    flex-direction: row;
  }
}

/* ========= タイトルの下線調整 共通 ========= */
.value h2 .titleLineWrap,
.value h2 .titleLine {
  position: relative;
  display: inline-block;
}

/* ========= タイトルの下線調整 PC ========= */
@media screen and (min-width: 769px) {
  .value h2 .titleLineWrap::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 32px;
    background-image: url(../images/sec2-title-line.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
  }
  .value h2 .titleLine::before {
    content: none;
  }
}

/* ========= タイトルの下線調整 SP ========= */
@media screen and (max-width: 768px) {
  .value h2 .titleLineWrap::before {
    content: none;
  }
  .value h2 .titleLine::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background-image: url(../images/sec2-title-line.svg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
  }
}

/* ========= contentsBoxlist_flex ========= */
.value .contentsBox ol li.contentsBoxlist_flex {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-direction: row-reverse;
  padding-top: 70px;
  align-items: center;
}

@media screen and (max-width:768px) {
  .value .contentsBox ol li.contentsBoxlist_flex {
    gap: 0;
    justify-content: center;
  }
}

.value .contentsBox ol li.contentsBoxlist_flex .list_title {
  font-size: clamp(1.25rem, 1.059rem + 0.78vw, 2rem);
}

@media screen and (max-width:768px) {
  .value .contentsBox ol li.contentsBoxlist_flex .list_title {
    font-size: 1.125rem;
  }
   .value .contentsBox ol li.contentsBoxlist_flex div h3 div img {
    width: 40px;
    height: 40px;
  }
}

/* ========= contentsBoxlist_flex 3番目 ========= */
.value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) {
  justify-content: space-between;
  flex-direction: row;
}

@media screen and (max-width:768px) {
  .value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) {
    justify-content: center;
  }
}

.value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) .contentsBoxlist_flexImg {
  max-width: 300px;
  width: 100%;
}

.value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) .list_title {
  font-size: clamp(1.25rem, 1.059rem + 0.78vw, 2rem);
}

@media screen and (max-width:768px) {
  .value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) .list_title {
    line-height: 1.5;
  }
}

.value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) .list_title span.num_high {
  font-size: clamp(1.25rem, 0.931rem + 1.31vw, 2.5rem);
}

.value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) .list_title span.txt_low {
  font-size: clamp(1.25rem, 1.186rem + 0.26vw, 1.5rem);
}

.value .contentsBox ol li.contentsBoxlist_flex:nth-of-type(3) .txtbox {
  max-width: 583px;
}

.voice h2 {
  text-align: center;
  color: #003399;
  font-size: clamp(1.5rem, 1.245rem + 1.05vw, 2.5rem);
  padding-bottom: 64px;
}

.voice h2 .titleLine {
  position: relative;
}

.voice h2 .titleLine::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background-image: url(../images/sec2-title-line.svg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.voice .bg_img,
.voice .bg_img2 {
  background-image: url(../images/bg-sec3-voice1.webp);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 90px;
  padding-bottom: 72px;
}

.voice .bg_img2 {
  background-image: url(../images/bg-sec3-voice2.webp);
}

.voice .bg_img .bg_contents,
.voice .bg_img2 .bg_contents {
  max-width: 881px;
  margin: 0 auto;
}

.voice .bg_img .bg_contents .voiceTitle,
.voice .bg_img2 .bg_contents .voiceTitle {
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 26px 0;
  max-width: 497px;
  margin: 0 auto;
  border-radius: 5px;
  border: 3px solid #fff;
  font-size: clamp(1.5rem, 1.373rem + 0.52vw, 2rem);
}

.voice .bg_img .bg_contents .voiceTitle span,
.voice .bg_img2 .bg_contents .voiceTitle span {
  font-size: clamp(1rem, 0.873rem + 0.52vw, 1.5rem);
}

.voice .bg_img .bg_contents .voiceBoxflex,
.voice .bg_img2 .bg_contents .voiceBoxflex {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 80px;
  padding-top: 64px;
  flex-wrap: wrap;
}

.voice .bg_img .bg_contents .voiceBoxflex::after,
.voice .bg_img2 .bg_contents .voiceBoxflex::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 21.5px 0 21.5px 37.2px;
  border-color: transparent transparent transparent #FFFFFF;
  top: 55%;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceBeforeBox,
.voice .bg_img .bg_contents .voiceBoxflex .voiceAfterBox,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceBeforeBox,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceAfterBox {
  position: relative;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.80);
  border-radius: 5px;
  padding-top: 64px;
  padding-left: 24px;
  padding-right: 24px;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceBeforeBox .title,
.voice .bg_img .bg_contents .voiceBoxflex .voiceAfterBox .title,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceBeforeBox .title,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceAfterBox .title {
  position: absolute;
  background-color: #0056A7;
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 40px;
  max-width: 208px;
  margin: 0 auto;
  border-radius: 5px;
  top: -32px;
  right: 0;
  left: 0;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceAfterBox .title,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceAfterBox .title {
  background-color: #F04E23;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceAfterBox .voiceAnswer p,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceAfterBox .voiceAnswer p {
  font-size: 1rem;
  padding-bottom: 24px;
  align-items: center;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceAfterBox .voiceAnswer span,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceAfterBox .voiceAnswer span {
  color: #F04E23;
  font-weight: bold;
  line-height: 1.2;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceAfterBox .voiceAnswer span.ansermark,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceAfterBox .voiceAnswer span.ansermark {
  font-size: 1.125rem;
  line-height: 0.5;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceBeforeBox .voiceAnswer p,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceBeforeBox .voiceAnswer p {
  font-size: 1rem;
  padding-bottom: 24px;
  align-items: center;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceBeforeBox .voiceAnswer span,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceBeforeBox .voiceAnswer span {
  color: #0056A7;
  font-weight: bold;
  line-height: 1.2;
}

.voice .bg_img .bg_contents .voiceBoxflex .voiceBeforeBox .voiceAnswer span.ansermark,
.voice .bg_img2 .bg_contents .voiceBoxflex .voiceBeforeBox .voiceAnswer span.ansermark {
  font-size: 1.125rem;
  line-height: 0.5;
}

.voice .bg_img .bg_contents .ownervoice,
.voice .bg_img2 .bg_contents .ownervoice {
  margin-top: 24px;
  background-color: rgba(255, 255, 255, 0.80);
  border-radius: 5px;
  padding: 24px;
}

.voice .bg_img .bg_contents .ownervoice h4,
.voice .bg_img2 .bg_contents .ownervoice h4 {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  padding-bottom: 8px;
  font-size: 1.25rem;
}

.voice .bg_img .bg_contents .ownervoice .txtbox,
.voice .bg_img2 .bg_contents .ownervoice .txtbox {
  line-height: 2;
  font-size: 1rem;
}

.voice .othertitle {
  text-align: center;
  padding-top: 58px;
  padding-bottom: 86px;
  font-size: clamp(1rem, 0.873rem + 0.52vw, 1.5rem);
}

.voice .bg_img .bg_contents .pcNone,
.voice .bg_img2 .bg_contents .pcNone{
  display: none;
}

@media screen and (max-width:830px) {

  .voice .bg_img .bg_contents .pcNone,
  .voice .bg_img2 .bg_contents .pcNone{
    display: block;
    max-width: 314px;
    margin: 0 auto;
    width: 100%;
    padding-top: 24px;
  }
  
  .voice .othertitle {
    padding-bottom: 88px;
  }
  .voice .bg_img,
  .voice .bg_img2 {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 56px;
    background-image: none;
    background-color: #404040;
  }

.voice .bg_img .bg_contents .voiceTitle,
.voice .bg_img2 .bg_contents .voiceTitle {
  padding: 24px 32px;
}

.voice .bg_img .bg_contents .voiceBoxflex::after,
.voice .bg_img2 .bg_contents .voiceBoxflex::after {
  border-width: 11px 0 11px 19.1px;
  border-color: transparent transparent transparent #FFFFFF;
  top: 45%;
  right: 0;
  left: 0;
  margin: 0 auto;
  transform: rotate(90deg );
}

.voice .bg_img .bg_contents .voiceBoxflex::after{
  top: 43%;
}

.voice .bg_img .bg_contents .ownervoice, .voice .bg_img2 .bg_contents .ownervoice{
  max-width: 400px;
  margin: 24px auto 0;
}
}

@media screen and (max-width:376px) {
  .voice .bg_img .bg_contents .voiceBoxflex::after{
  top: 45%;
}
}

.serviceDetail h2 .titleLine {
  position: relative;
  z-index: 1;
}

.serviceDetail h2 .titleLine::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background-image: url(../images/sec4-title-line.svg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.serviceDetail {
  background-color: #F9F9F9;
  padding-top: 58px;
  padding-bottom: 58px;
}

@media screen and (max-width:768px) {
  .serviceDetail {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.serviceDetail h2 {
  text-align: center;
  color: #003399;
  font-size: clamp(1.5rem, 1.245rem + 1.05vw, 2.5rem);
  padding-bottom: 64px;
}

.serviceDetail .connection {
  max-width: 936px;
  margin: 0 auto;
}

.serviceDetail .connection .txt {
  text-align: center;
  font-size: clamp(1rem, 0.873rem + 0.52vw, 1.5rem);
}

.serviceDetail .connection .hightxt {
  text-align: center;
  font-weight: 900;
  padding-top: 24px;
  font-size: clamp(1.5rem, 1.373rem + 0.52vw, 2rem);
}

.serviceDetail .connection .hightxt span {
  font-size: clamp(2rem, 1.873rem + 0.52vw, 2.5rem);
}

.serviceDetail .connection .img {
  max-width: 800px;
  padding-top: 24px;
  margin: 0 auto;
}

.serviceDetail .connection .small {
  text-align: right;
  font-size: clamp(0.625rem, 0.561rem + 0.26vw, 0.875rem);
  max-width: 800px;
  margin: 0 auto;
}

.serviceDetail .flow {
  max-width: 1000px;
  margin: 74px auto 0;
  padding-top: 32px;
  padding-bottom: 60px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(120, 120, 120, 0.4);
}

@media (max-width: 767px) {
  .serviceDetail .flow {
    max-width: 342px;
  }
}

.serviceDetail .flow .point {
  text-align: center;
  font-size: clamp(1.5rem, 1.373rem + 0.52vw, 2rem);
}

.serviceDetail .flow .point .hightxt {
  font-size: clamp(1.5rem, 1.245rem + 1.05vw, 2.5rem);
  color: #003399;
  font-weight: bold;
}

.serviceDetail .flow .point .maxtxt {
  font-size: clamp(3.5rem, 2.99rem + 2.09vw, 5.5rem);
}

.serviceDetail .flow .steparea {
  max-width: 936px;
  margin: 0 auto;
}

.serviceDetail .flow .steparea ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  justify-items: center;
}

.serviceDetail .flow .steparea ol li {
  position: relative;
  max-width: 192px;
  width: 100%;
}

.serviceDetail .flow .steparea ol li::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 21px 0 21px 36.4px;
  border-color: transparent transparent transparent #003399;
  right: -40px;
  top: 120px;
  margin: 0 auto;
}

.serviceDetail .flow .steparea ol li:last-child::before {
  display: none;
}

.serviceDetail .flow .steparea ol li .stepnumber {
  max-width: 76px;
  margin: 0 auto;
  padding: 19px 0;
}

.serviceDetail .flow .steparea ol li .stepicon {
  max-width: 98px;
  margin: 0 auto;
}

.serviceDetail .flow .steparea ol li p {
  text-align: center;
  padding: 27px 0 12px;
  font-weight: bold;
  font-size: clamp(1rem, 0.936rem + 0.26vw, 1.25rem);
}

@media (max-width: 767px) {
  .serviceDetail .flow .steparea ol {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    justify-content: center;
  }
  .serviceDetail .flow .steparea ol li {
    max-width: none;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    column-gap: 16px;
    width: 100%;
    max-width: 307px;
    padding: 27px 0;
  }
  .serviceDetail .flow .steparea ol li::before {
    left: 0;
    right: 0;
    margin: 0 auto;
    border-width: 10px 0 10px 17.3px;
    transform: rotate(90deg);
  }
  .serviceDetail .flow .steparea ol li .stepnumber,
  .serviceDetail .flow .steparea ol li .stepicon {
    margin: 0;
    padding: 0;
    width: 60px;
  }
  .serviceDetail .flow .steparea ol li p {
    text-align: left;
    padding: 0 0 0 16px;
    line-height: 1.4;
  }
}

.deviceSpec h3 {
  text-align: center;
  color: #003399;
  font-size: clamp(1.5rem, 1.245rem + 1.05vw, 2.5rem);
  padding-top: 58px;
  padding-bottom: 64px;
}

@media screen and (max-width:768px) {
  .deviceSpec h3 {
    padding-bottom: 32px;
  }
}

.deviceSpec h3 .titleLine {
  position: relative;
  z-index: 1;
}

.deviceSpec h3 .titleLine::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 24px;
  background-image: url(../images/sec5-title-line.svg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.deviceSpec .specBox {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding-top: 32px;
  padding-bottom: 32px;
  box-shadow: 0 2px 4px rgba(120, 120, 120, 0.4);
}

@media screen and (max-width:768px) {
  .deviceSpec .specBox {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.deviceSpec .specBox .specBoxtxt {
  max-width: 727px;
  margin: 0 auto;
  font-size: clamp(0.875rem, 0.843rem + 0.13vw, 1rem);
  line-height: 1.5;
}

/* .deviceSpec .specBox .specBoxtxt div small{
  font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
}

.deviceSpec .specBox .specBoxtxt div small a{
  color: #333;
  border-bottom: 1px solid #333;
  font-weight: bold;
} */

.contact_bg {
  background-image: url(../images/bg-sec5.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 104px;
  padding-bottom: 104px;
}

.ly_section {
  background-color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 58px;
  padding-bottom: 58px;
}

@media screen and (max-width:768px) {
  .ly_section {
    margin: 0 16px;
    padding-left: 8px;
    padding-right: 8px;
  }
}

.ly_section .bl_heading {
  text-align: center;
  color: #003399;
  font-size: clamp(1.5rem, 1.245rem + 1.05vw, 2.5rem);
  padding-bottom: 64px;
}

@media screen and (max-width:768px) {
  .ly_section .bl_heading {
    padding-bottom: 40px;
  }
}

.ly_section .bl_heading span {
  position: relative;
  z-index: 1;
}

.ly_section .bl_heading span::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url(../images/sec5-title-line.svg);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

@media screen and (max-width:768px) {
  .ly_section .bl_heading span::before {
    bottom: -24px;
  }
}

.ly_section .bl_lead {
  text-align: center;
}

.ly_section .attentionArea {
  max-width: 800px;
  margin: 32px auto;
  padding: 32px 0;
  border: 1px solid #333;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width:768px) {
  .ly_section .attentionArea {
    padding: 32px 16px;
  }
}

.ly_section .attentionArea .attentionflex {
  display: flex;
  justify-content: center;
}

.ly_section .attentionArea .attentionflex strong {
  font-size: 1.5rem;
}

.ly_section .attentionArea p {
  text-align: center;
}

.ly_form .bl_formList {
  max-width: 625px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: left;
  padding: 32px 0;
  border-bottom: 1px dashed #333;
}

@media screen and (max-width:768px) {
  .ly_form .bl_formList {
    max-width: 300px;
    margin: 0 auto;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    justify-items: center;
    padding: 24px 0;
  }
}

.bl_form_label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
}

.ly_form .bl_formList .bl_form_ttl {
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
}

.ly_form .bl_formList .bl_form_ttl label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
}

.ly_form .bl_formList .bl_form_ttl .el_label__caution {
  background-color: #3B7CFE;
  padding: 2px 20px;
  color: #fff;
}

.ly_form .bl_formList .bl_form_cont {
  max-width: 300px;
  width: 100%;
}

.ly_form .bl_formList .bl_form_cont input:not([type="radio"]) {
  background-color: #EDF3FF;
  border: none;
  padding: 8px 0 8px 16px;
  width: 100%;
  margin-top: 8px;
}

.ly_form .bl_formList .bl_form_cont textarea {
  border: none;
  resize: none;
  background-color: #EDF3FF;
  width: 100%;
  padding: 8px 16px 8px 16px;
}

.ly_form .bl_formList .bl_form_cont .hp_txt_small{
  font-size: 0.875rem;
}

.bl_agree .ly_inner {
  text-align: center;
  padding-top: 40px;
}

.bl_agree .ly_inner label .hp_txt_underline {
  color: #333;
  border-bottom: 1px solid #333;
}

.ly_submit .bl_submit {
  max-width: 300px;
  margin: 40px auto 80px;
}

.ly_submit .bl_submit input[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: linear-gradient(
    to top,
    #F7FF1A 54%,
    #FDFFBD 78%,
    #F7FF1A 100%
  );
  display: block;
  width: 100%;
  padding: 24px 0;
  border: none;
  position: relative;
  cursor: pointer;
  color: #000;
  border-radius: 50px;
  box-shadow: 2px 2px 0 #C0C534;
}

.attentionAreaBottom {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #333;
  padding: 24px 16px;
}

.attentionAreaBottom .telflex {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.attentionAreaBottom .telflex .telinfo .telLabel {
  background-color: #3a3a3a;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  max-width: 87px;
  margin: 0 auto 16px;
  font-weight: bold;
}

.attentionAreaBottom .telflex .telinfo p {
  text-align: center;
  font-size: clamp(1rem, 0.888rem + 0.46vw, 1.438rem);
  font-weight: bold;
}

.attentionAreaBottom .telflex .telarea {
  margin-bottom: 24px;
}

.attentionAreaBottom .telflex .telarea .infotime {
  text-align: center;
  border: 1px solid #333;
  max-width: 415px;
  margin: 0 auto;
  padding: 7px 0;
}

.attentionAreaBottom .telflex .telarea .infotime span.telLabel {
  background-color: #3a3a3a;
  padding: 2px 12px;
  color: #fff;
  margin-right: 8px;
}

.attentionAreaBottom .telflex .telarea .telnumflex {
  display: flex;
  justify-content: center;
}

.attentionAreaBottom .telflex .telarea .telnumflex .teltxt {
  font-size: clamp(2.063rem, 1.871rem + 0.78vw, 2.813rem);
  color: #333;
  padding-bottom: 24px;
}

@media screen and (min-width: 769px) {
  .telarea .pc-only-tell {
    display: flex !important;
  }
  .telarea .sp-only-tell {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .telarea .pc-only-tell {
    display: none !important;
  }
  .telarea .sp-only-tell {
    display: flex !important;
  }
}

.attentionAreaBottom .infobox {
  padding-top: 32px;
  border-top: 2px dotted #2C2C2C;
}

.attentionAreaBottom .infobox p {
  text-align: center;
}

.attentionAreaBottom .infobox p .attentionhigh {
  color: #F04E23;
}

footer {
  background-color: #003399;
  padding: 72px 0 16px;
}

footer ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 48px;
}

footer ul li {
  border-right: 1px solid #fff;
  padding-right: 48px;
}

footer ul li:last-child {
  border-right: none;
  padding-right: 0;
}

footer ul li a {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
}

footer ul li a:hover {
  border-bottom: 1px solid #fff;
}

footer .ly_inner{
  text-align: center;
  color: #fff;
  padding-top: 40px;
  font-size: 0.875rem;
}

@media screen and (max-width:768px) {
  footer ul{
    gap:24px;
  }
  footer ul li {
    padding-right: 24px;
  }
}

/* ========= voiceセクション：スマホ時の順序調整 ========= */
@media screen and (max-width:830px) {
  .voice .bg_contents {
    display: flex;
    flex-direction: column;
  }

  /* 店舗名 */
  .voice .bg_contents .voiceTitle {
    order: 0;
  }

  /* オーナーの声を voiceTitle の直後に */
  .voice .bg_contents .ownervoice {
    order: 1;
  }

  /* 課題ボックス類は後ろへ */
  .voice .bg_contents .voiceBoxflex {
    order: 2;
  }
}

/* 共通 */
.fixed-btn {
  position: fixed;
  z-index: 9999;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 初期状態：中身は非表示にしておく */
.fixed-btn .pc-only,
.fixed-btn .sp-only {
  display: none;
}

/* PC用 */
@media (min-width: 769px) {
  .fixed-btn {
    right: 0;
    top: 50%;
    transform: translateY(-40%);
    opacity: 0;
    pointer-events: none;
  }
  /* 表示状態のときにだけ見える */
  .fixed-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
  /* PCはpc-onlyだけ表示 */
  .fixed-btn .pc-only { display: block; }
  .fixed-btn .sp-only { display: none; }
}

/* SP用 */
@media (max-width: 768px) {
  .fixed-btn {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    top: auto;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    padding-bottom: env(safe-area-inset-bottom);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  /* 表示状態 */
  .fixed-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .fixed-btn .sp-only a {
    display: block;
    width: 100%;
  }
  .fixed-btn .sp-only img {
    display: block;
    width: 100%;
    height: auto;
  }
  .fixed-btn .pc-only { display: none; }
  .fixed-btn .sp-only { display: block; }
}

/* 同意チェック */
.bl_agree {
  width: 96%;
  margin: 2em auto; }
  @media screen and (min-width: 768px) {
    .bl_agree {
      width: 100%;
      max-width: 800px; } }
  .bl_agree > .ly_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; }