/* ベーススタイル */
#gtm-fixed-float-banner{
    display: none;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: 13px;
    line-height: 1.6;
}
.inner{
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}
.pgtp{
    padding-top: 4%;
}
.pgbp{
    padding-bottom: 8%;
}
section{
}
section.typ2{
    background: #def3ff;
}
img{
    width: 100%;
}
a{
    text-decoration: #004ea2;
}
a:hover{
    opacity: 0.6;
}
b{
    font-weight: bold;
}
/* ページTOP */
  #back-to-top {
    position: fixed;
    top: 30px;
    right: 30px;
    display: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    background-color: #ebebeb;
    border: 2px solid #000;
    border-radius: 25px;
    z-index: 99;
  }
.all{
    width: 100%;
    margin: 0 auto;
}
a.effect {
    position: relative;
    overflow: hidden;
  }

  /* 擬似要素で光を作成 */
  a.effect::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg) translateX(0);
    pointer-events: none;
    animation: shine-animation 3s infinite;
  }

  @keyframes shine-animation {
    0% {
      transform: skewX(-25deg) translateX(0);
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    50% {
      transform: skewX(-25deg) translateX(300%);
      opacity: 1;
    }
    60% {
      opacity: 0;
    }
    100% {
      transform: skewX(-25deg) translateX(0);
      opacity: 0;
    }
  }

.toco_icon{
    width: 8%;
    margin: 0 auto;
}
.header{
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #c9c9c9;
}
.header .page_tit{
    padding: 0.5em;
    text-align: center;
}
.header .page_tit h1{
    font-size: 20px;
}
.header .menu_box a:hover{
    border-bottom: 1px #004ea2 solid;
    color: #004ea2;
}
.logo{
    padding: 0.8em 0;
}
.tb_box{
    display: table;
}
.logo img{
    width: 60%;
}
.logo_box{
    display: table-cell;
    vertical-align: middle;
}
.menu_box{
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 10%;
    border-right: 1px solid #000;
}
.menu_box.typ1{
    border-left: 1px solid #000;
}
.sec_inner{
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}
.mv{
    position: relative;
}
.service_btn{
    position: absolute;
    bottom:0%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1400px;
    width: 70%;
}
.service_btn a {
    border: 4px solid #000;
    box-shadow: 1px 1px 10px #ddd;
    flex: 1 1 auto; 
    text-align: center;
    text-decoration: none;
    background-color:#fffab1;
    border-radius: 20px;
    color: #333;
    width: 30%;
    padding: 1.5% 0;
}
.service_btn img {
    width: 80%;
}

@media (max-width: 768px) {
    .header .page_tit h1 {
    font-size: 19px;
    }
  .service_btn {
    bottom:-10%;
    flex-direction: column;
    gap: 5px;
    width: 50%;
  }
  .service_btn a {
    flex: none;
  }
  .service_btn a {
    border: 2px solid #000;
    box-shadow: 1px 1px 10px #ddd;
  text-decoration: none;
  border-radius: 10px;
  width: 100%;
  padding: 1.5% 0;
    }
  .service_btn img {
    width: 80%;
    }
}
.link_box {
  max-width: 1024px;
  margin: 2% auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.link_box a {
  flex: 1 1 calc((100% / 3) - 1rem);
  text-align: center;
  padding: 1em 0 0.5em 0;
  box-sizing: border-box;
  text-decoration: none;
  background: #fffab1;
  border-radius: 20px;
  border: 4px solid #474747;
  box-shadow: 1px 1px 10px #ddd;
}

.link_box img {
  width: 70%;
}
.link_box span{
    display: block;
    font-size: 12px;
}
.link_box img.one_sev {
  width: 28%;
}
.sp_box{
    display: none;
}
/* 画面が狭くなったら縦並びに */
@media (max-width: 768px) {
  .link_box {
    flex-direction: column;
  }
.link_box img.one_sev {
  width: 70%;
}
  .link_box a {
    flex: none;
    width: 80%;
    margin: 0 auto;
  }
}
.btn-scroll {
    text-align: center;
    font-size: 23px;
    color: #fff;
    font-weight: bold;
    padding: 1.5% 0 0 0;
    position: absolute;
    bottom: -18%;
    left: 0;
    width: 100%;
    height: 18%;
    background-color: #f17601;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: bounce 2s infinite;
}
.sec1{
    padding: 0.8% 0 0 0;
}
.sec2{
}
.sec3{
}
h2.h2_tit{
    text-align: center;
    font-size: 60px;
  padding: 0 0 2% 0;
  color: #004ea2;
  font-weight: bold;
}
h3.h3_tit{
    font-size: 36px;
  padding: 3% 0;
  color: #004ea2;
  text-align: center;
  font-weight: bold;
    position: relative;
  margin:0 0 3% 0;
}
h3.h3_tit:before {
  content: '';
  position: absolute;
  bottom: 10px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #004ea2;
  border-radius: 2px;
}
h4.h4_tit{
    font-size: 25px;
    color: #004ea2;
    font-weight: bold;
    margin: 4% 0 2% 0;
    text-align: center;
}
.cpy{
    text-align: center;
    background: #004ea2;
    color: #fff;
    padding: 1% 0;
    font-size: 13px;
}

#service{
}
.service_inner{
    margin: 0 0 5% 0;
}
.service_inner .txt_box{
    width: 80%;
    margin: 3% auto 0;
    line-height: 1.8;
    font-size: 20px;
}
.service_inner .txt_box a {
    color: #004ea2;
    font-weight: bold;
    border-bottom: 1px solid #004ea2;
}
.event_schedhle_wrap{
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}
.event_schedhle_box{
    margin: 0 auto 3%;
    padding: 3% 8%;
    background: #fff;
    box-shadow: 1px 1px 6px #979797;
    border-radius: 5px;
}
.schedhle_box{
    margin: 0 auto;
}
table{
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}
.schedhle_box td{
    vertical-align: baseline;
}
.servicesicon{
    text-align: center;
}
.servicesicon .servicesicon_tit{
    font-size: 22px;
    font-weight: bold;
}
.servicesicon span{
    color: #fff;
    display: inline-block;
    padding: 0.5em 2em;
    border-radius: 10px;
    margin: 0 0 0.5em 0;
}
.servicesicon span.internet{
    background-color: #e8169e;
}
.servicesicon span.catv{
    background-color: #f09d00;
}
.servicesicon span.iptel{
    background-color: #0053f0;
}
.servicesicon span.aicamera{
    background-color: #f00000;
}
.servicesicon span.ott{
        background-color: #3594b1;
}
.servicesicon span.mansionnet{
        background-color: #15a446;
}
.servicesicon span.otherservices{
        background-color: #af43be;
}
td.typ1{
    font-size: 22px;
    font-weight: bold;
    width: 15%;
}
td.typ2{
    vertical-align: middle;
    width: 50%;
}
td.typ3{
    vertical-align: top;
    width: 56%;
}
td.day{
    font-size: 30px;
    font-weight: bold;
}
td.day.saturday{
    color: #4168ff;
}
td.day.sunday{
    color: #ff0060;
}
a.a_btn {
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 10% 0;
    border: 3px solid #5b2600;
    border-radius: 100px;
    color: #fff;
    background-color: #eb6100;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 1px 1px 5px #adadad;
}
.map-inner{
  margin: 3% auto 0;
}
.map-inner iframe {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reward_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-template-rows: repeat(2, auto);
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 0 0 8% 0;
}

.reward_box a {
  display: block; /* aタグをブロック要素にして画像のサイズ調整しやすく */
}

.reward_box img {
  width: 100%;  /* 親のaタグ幅に合わせて可変 */
  height: auto;
  display: block; /* 画像下の余白を消す */
  box-shadow: 1px 1px 10px #8d8d8d;
}

.area_btn{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1024px;
    width: 94%;
    margin: 0 auto;
    align-items: stretch;
}
.area_btn a {
    border: 2px solid #858585;
    box-shadow: 1px 1px 2px #dbdbdb;
  flex: 1 1 auto; 
  text-align: center;
  padding: 1%;
  text-decoration: none;
  background-color:#ffb0df;
  border-radius: 5px;
  color: #333;
  max-width: 20%;
    flex-direction: column;
    justify-content: center; /* 縦中央寄せしたい場合 */
    height: 100%;
}
@media (min-width: 1024px) {
}
@media (max-width: 1024px) {
    .btn-scroll {
    font-size: 18px;
    padding: 1.5% 0 0 0;
    bottom: -20%;
    height: 20%;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .pgtp{
        padding-top:10%
    } 
    .pgbp{
        padding-bottom: 16%;
    }
.header .page_tit {
    padding: 0.3em;
    font-size: 16px;
}
.btn-scroll {
    font-size: 16px;
    padding: 5% 0 0 0;
    bottom: -25%;
    height: 25%;
}
.sec1{
    padding: 4% 0 0 0;
}
    .sec_inner {
    width: 94%;
}
    .logo{
    padding: 0 0 0.5em 0;
    font-size: 13px;
    }
    .tb_box{
    display: block;
    }
    .logo_box{
    display: block;
    text-align: center;
    margin: 0em 0 0.5em 0;
    }
    .logo img{
    width: 60%;
    }
    .mv img.kv {
    height: 100vw;
}
    .menu_box{
    width: 10%;
    background: #b6d1ef;
    padding: 0.3em;
    }
    .toco_icon {
    width: 20%;
    margin: 0 auto;
    }
    h2.h2_tit {
    font-size: 26px;
    }
    h3.h3_tit {
    font-size: 20px;
    }
    h3.h3_tit:before {
    bottom: 3px;
    width: 50px;
    height: 3px;
    }
    h4.h4_tit {
    font-size: 18px;
    }
    .service_inner .txt_box {
    width: 90%;
    margin: 3% auto 0;
    line-height: 1.6;
    font-size: 15px;
    }
    .service_inner {
    margin: 0px 0 10% 0;
    }
    td.typ2{
    display: none;
    }
    .pc_box{
        display: none;
    }
    .sp_box{
    display: block;
    }
    .event_schedhle_box{
    width: 90%;
    padding: 7% 4%;
    }
    td.typ1{
    font-size: 13px;
    font-weight: bold;
    width: 28%;
    }
    td.day{
    font-size: 26px;
    }
    .servicesicon{
        padding: 4% 0;
        font-size: 13px;
    }
    .servicesicon span {
    padding: 0.5em 1em;
    }
    a.a_btn {
    padding: 4% 0;
    border: 2px solid #5b2600;
    font-size: 15px;
    box-shadow: 1px 1px 3px #adadad;
    }
      .reward_box {
    grid-template-columns: 1fr; 
    grid-template-rows: auto;
  }
  .reward_box a {
    justify-self: center;
  }
}

