
/* リセット */
#CMS_MAIN_HYBRID .yosakoinet-common .main-block .block-title{
    display: none;
}
.yosakoinet-common .main-block.block-spot-detail{
    margin-top: 0;
    padding: 0;
}
.yosakoinet-common .main-block .block-title{
    display: none;
}
.yosakoinet-common main{
    max-width: 100%;
    padding: 0 0 100px; 
     background-color: #FFF5ED;


}

.yosakoinet-common .main-block.block-spot-detail{
        margin-top: 0px;
         background-color: transparent;
        
}
.yosakoinet-common .original-contents .mybus .btn-block a[href$=".pdf"]:after,
.yosakoinet-common .original-contents .section.timetable a[href$=".pdf"]:after{
    content: none;
}

.yosakoinet-common footer .footer-sns{
    display: none;
}
/* 全体 */
.mybus {
    /* padding-bottom: 100px; */
}
.yosakoinet-common .block-spot-detail .original-contents:first-child .mybus{
    padding-bottom: 40px;
}

.yosakoinet-common .block-spot-detail .original-contents{
    margin-top: 0;
}
.yosakoinet-common .breadcrumb{
    padding: 20px;
    background-color: #fff;
    max-width: calc(100% - 40px);
}

/* スタイルリセット */
.section .lsn{
    list-style: none;
    padding: 0;
    margin: 0;

}

/* 文字前装飾 */
.add-deco{
    position: relative;
    margin: 0;
}
.add-deco.add-deco__image{
    padding-left: 50px;
}
.add-deco.add-deco__image::before{
    content: "";
    width: 45px;
    height: 27px;
    background-image: url(/images/page-image/mybus/deco_1.jpg?2);
    position: absolute;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.add-deco.add-deco__image.add-deco__image-triangle::before{
    background-image: url(/images/page-image/mybus/deco_2.jpg);
}
/* 文字前装飾：ブロック */
.add-deco.add-deco__block{
    line-height: 20px;
    padding-left: 70px;
}
.add-deco.add-deco__block::before{
    content: "";
    position: absolute;
    width: 55px;
    height: 20px;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.add-deco.add-deco__block--pink::before{
    background-color: #F7A4A8;
}
.add-deco.add-deco__block--lightyellow::before{
    background-color: #FFF8A4;
}
.add-deco.add-deco__block--yellow::before{
    background-color: #FBD05D;
}
.add-deco.add-deco__block--pink-calendar::before{
    background-color: #FFBDBB;
}
/* 文字前装飾：ブロック ver正方形 */
.add-deco.add-deco__block.add-deco__block--square{
    padding-left: 30px;
    font-size: 18px;
}
.add-deco.add-deco__block.add-deco__block--square::before{
    width: 20px;
    height: 20px;
    background-color: #F58322;
}
.add-deco.add-deco__block.add-deco__block--half{
    padding-left: 40px;
}
.add-deco.add-deco__block.add-deco__block--half::before{
    width: 30px;
    height: 20px;
}

/* 文字前装飾:枠線 */
.add-deco.add-deco__block.add-deco__block--border::before{
    border: 2px solid #000;
}
.add-deco.add-deco__block.add-deco__block--half.add-deco__block--border::before{
    border: 1px solid #000;
}

/* 幅 */
.section .w-half{
    width: 50%;
}

/* 余白 */
.section .mt10{
    margin-top: 15px;
}
.section .mt20{
    margin-top: 25px;
}
.section .mt30{
    margin-top: 30px;
}
.section .mt40{
    margin-top: 40px;
}
.section .mt50{
    margin-top: 50px;
}

/* line-height */
.section .lh-d{
    line-height: calc(28 /16);
}

/* font */
.section p.fwb{
    font-weight: bold;
}
.section p.fwm{
    font-weight: 500;
    font-size: 18px;
}
.section p.fz-small{
    font-size: 14px;
}
.section .deco__under{
    text-decoration: underline;
}
.section .tac{
    text-align: center;
}
.section .tar {
    text-align: right;
}



/* お知らせ */
.mybus .news {
    width: 90%;
    background-color: #fff;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    max-width: 1200px;
}
.mybus .news .news__inner{
    padding: 15px 50px 15px 0;
    display: grid;
    grid-template-columns: 300px 1fr;

}
.mybus .news .news__title p {
  font-weight: bold;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.mybus .news p {
  margin: 0;
}
.mybus .news .news__date {
  color: #E8384A;
  margin-right: 15px;
}
.yosakoinet-common .block-spot-detail .original-contents .mybus .news a {
  color: #000;
}
.mybus .news .news__list {
  max-height: 225px;
  overflow: auto;
}
.mybus .news .news__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  border-bottom: 1px solid #D7D7D7;
  padding: 15px 0;
}
.mybus .news .news__item:last-child{
    border-bottom: none;
}
.mybus .news .news__item>*:first-child {
  color: #F58322;
}

/* section */
.section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0;
    background-color: #fff;
    border-radius: 20px;
}
.s-block{
    padding: 40px 50px;
}
.section .section__title{
    background-color: #F58322;
    border-radius: 8px;
}
.section .section__title p{
    padding: 15px 20px;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    color: #fff;
}
/* 問合せ */
.section .section__title.section__title--contact {
    background-color: transparent;    
}
.section .section__title.section__title--contact p{
    font-size: 30px;
    text-align: center;
    padding: 0;
    color: #000;
}
.section .section__image{
    margin-top: 40px;
}
.section .s-block__text{
    margin-top: 40px;
}
.section .s-block__text p{
    margin: 0;
}

.section .s-block__text--attention{
    color: #767676;
    font-weight: 500;
    font-size: 14px;
}
.section .s-block__text--attention a{
    text-decoration: none;
    color: #F58322 !important;
}

/* 特典協賛施設 */
.tag p{
    margin: 0;
}
.tag .tag__btn-block{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
}
.tag .tag__btn-block .tag__btn{
    border: 2px solid #F58322;
    border-radius: 8px;
    cursor: pointer;
}

.tag .tag__btn-block .tag__btn p{
    font-weight: bold;
    color: #F58322;
    text-align: center;
    padding: 12px 0;
}
.tag .tag__btn-block .tag__btn.active{
    background-color: #F58322;
}
.tag .tag__btn-block .tag__btn.active p{
    color: #fff;
}
.tag .tag__item {
    display: none;
    grid-template-columns: 33% 160px 1fr;
    margin-top: 20px;
}
.tag .tag__item.active{
    display: grid;
}
.tag .tag__item p{
    padding: 20px;
    border-right: 1px solid #F58322;
    border-top: #F58322 solid 1px;
    font-weight: bold;
}
.tag .tag__item p:nth-of-type(n + 1){
    font-weight: 500;
}
.tag .tag__item p:nth-of-type(3n){
    color: #F26D30;
    font-size: 17px;
}
.tag .tag__title {
    background-color: #FFF5ED;
}
.tag .tag__item p:nth-of-type(3n + 1){
    border-left: #F58322 1px solid;
}
.tag .tag__item p:first-child{
    border-top-left-radius: 8px;
}
.tag .tag__item p:nth-of-type(3){
    border-top-right-radius: 8px;
}
.tag .tag__item p:nth-last-of-type(3){
    border-bottom-left-radius: 8px;
}
.tag .tag__item p:last-of-type{
    border-bottom-right-radius: 8px;
}
.tag .tag__item p:nth-last-of-type(-n+ 3){
    border-bottom: #F58322 solid 1px;
}
/* tag title は tag > pより後に書く */
.tag .tag__item p.tag__title{
    color: #000;
    font-weight: bold;
}


/* ダウンロードボタン */
.btn-block{
    width: 70%;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 問合せ */
.contact__block{
    display: flex;
    gap: 90px;
    border-top: dotted 2px #000;
    padding-top: 30px;
}

/* アコーディオン */
.acc {
    border: #F58322 1px solid;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 40px;
}
.acc p{
    margin: 0;
}
.acc .acc__btn{
    font-weight: bold;
    font-size: 20px;
    position: relative;
    z-index: 10;
    background-color: #fff;
    cursor: pointer;
}
.acc .acc__btn p{
    padding: 15px 20px;
    color: #F58322;
}
.acc__cross{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 20px;
    width: 24px;
    height: 24px;
}
/* 十字 */
.cross{
    position: relative;
  width: 100%;
  height: 100%;
}
.cross::before,
.cross::after {
  content: "";
  position: absolute;
  background: #F58322;
}
/* 横線 */
.cross::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
/* 縦線 */
.cross::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transition: all .3s;
}
.acc .acc__btn.active .cross::after{
    transform: rotate(90deg);
}

.acc .acc__block{
    border-top: 1px solid #EA4667;
    padding: 0;
    /* display: none; */
    height: 0;
    visibility: hidden;
    transition: all .3s;
    transform: translateY(-50px);
        position: relative;
    z-index: 0;
}
.acc .acc__block.active {
    padding: 30px 0;
    /* display: block; */
    visibility: visible;
    height: 100%;
    transform: translateY(0);
}
.acc .acc__block--inner{
    width: 90%;
    margin: 0 auto 0;
    
    
}
.acc .acc__title{
    background-color: #FFF5ED;
    padding: 10px 20px;
    border-radius: 5px;
}
.acc .acc__title:not(:first-of-type){
    margin-top: 30px;
}
.acc .acc__title p{
    color: #F58322;
    font-size: 20px;
    font-weight: bold;
}

.acc__list{
    /* リセット */
    list-style: none;
    padding: 0;
    margin: 25px 0 0;


    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.acc__list li p{
    position: relative;
    padding-left: 30px;
    font-weight: bold;
}
.acc__list li p:first-child:before{
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #F58322;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.acc__list li p:not(:first-child){
    margin-top: 5px;
}
.acc__list li a{
    color: #000 !important;
}
.acc .acc__list li.acc__item--oneline{
    grid-column: 1/ 3;
}
.acc__block-btn.acc__block-btn--sale{
    width: 60%;
    margin: 40px auto 0;
}
.acc__block-btn.acc__block-btn--wheelechair{
    width: 300px;
    margin: 40px auto 0;
}
.acc__block-btn img{
    width: 100%;
    height: auto;
    vertical-align: top;
}
/* カレンダー */
.calendar{
    display: grid;
}
.calendar--wheelchair{
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: fit-content;
}


/* モーダル */
.modal .modal__btn.modal__btn--wheelchair{
    width: 300px;
    margin: 0 auto;
}
.modal .modal__btn.modal__btn--timetable{
    width: 340px;
    cursor: pointer;
}

.modal .modal__title{
    /* border-left: 2px solid #EA4667; */
}
.modal .modal__title p{
    padding-left: 10px;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    margin: 0;
}
.modal .modal__title p::before{
    content: "";
    position: absolute;
    width: 3px;
    height: 80%;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #F58322;
}
.modal .modal__item {
    opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 1000px;
  max-height: 70vh;
  background: #fff;
  padding: 50px 60px;
  border-radius: 8px;
  /* overflow: auto; */
  right: 0;
  margin: auto;
  height: fit-content;
  z-index: 10000;
}
.modal .modal__item.is-active{
     opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal .modal__item .close{
    position: absolute;
  top: -30px;
  right: -20px;
  width: 60px;
}
.modal .modal__item .modal__item-inner{
    max-height: 70vh;
  overflow: auto;
}
.modal .modal__mask {
     background: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  z-index: 10000;
}
.modal .modal__mask.is-active {
  display: block;
}

.modal__image--calendar{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.btn-block__link{
    width: 80%;
    max-width: 800px;
}

/* q&A */
.qa > div{
    display: grid;
    grid-template-columns: 30px 1fr;
}
.qa > div > p:nth-of-type(2){
    padding: 0 10px;
}
.qa > div.question {
     background: #FBF1F3;
    border-radius: 8px;
    padding: 0 15px;
    margin-top: 20px;
    font-weight: 600;
}
.qa > div.answer > p:first-child{
    color: #F58322;
}
.qa > div.answer 
{
    padding: 0 15px;
}




/* プレビュー */
.preview.yosakoinet-common .modal__item.is-active {
  width: 40%;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 40%;
}


.preview.yosakoinet-common .modal__mask.is-active {
  width: 60%;
  right: 0;
  left: 40%;
}

/* sp */

.yosakoinet-common-sp .pc-only {
  display: none !important;
}

.yosakoinet-common-sp .sp-only {
  display: block !important;
}


.yosakoinet-common-sp .mybus .news .news__inner {
  grid-template-columns: 1fr;
  width: 90%;
  padding: 0;
  border-radius: 10px;
  padding: 30px 0;
  margin: 0 auto;
}

.yosakoinet-common-sp .mybus .news .news__list {
  padding: 0 20px;
  margin-top: 15px;
}
.yosakoinet-common-sp .mybus .news .news__item{
    grid-template-columns: 1fr;
    gap: 5px;
}

.yosakoinet-common-sp .mybus .news .news__title p{
    font-size: 24px;
}
.yosakoinet-common-sp .contact__block{
    flex-direction: column;
    gap: 30px;
}

.yosakoinet-common-sp .section{
    border-radius: 10px;
}

.yosakoinet-common-sp .s-block{
    padding: 20px 15px;
}
.yosakoinet-common-sp .section .section__title p{
        padding: 10px;
    font-size: 20px;
    line-height: 1;
}

.yosakoinet-common-sp .acc{
    margin-top: 20px;
}
.yosakoinet-common-sp .acc__cross {
        right: 10px;
    width: 15px;
    height: 15px;
}

.yosakoinet-common-sp .acc .acc__btn p{
    padding: 10px;
    font-size: 16px;
}

.yosakoinet-common-sp .acc__list{
    grid-template-columns: 1fr;
    gap: 10px;
}
.yosakoinet-common-sp .acc .acc__list li.acc__item--oneline{
    grid-column: 1/2;
}
.yosakoinet-common-sp .acc__list li p{
    font-size: 14px;
}
.yosakoinet-common-sp .add-deco.add-deco__block::before{
    bottom: auto;
}
.yosakoinet-common-sp .modal .modal__btn.modal__btn--timetable{
    width: 100%;
}
.yosakoinet-common-sp .section .section__image{
    margin-top: 25px;
}
.yosakoinet-common-sp .tag .tag__btn-block{
    grid-template-columns: 1fr 1fr;
}
.yosakoinet-common-sp .tag .tag__btn-block .tag__btn p{
    font-size: 14px;
        height: calc(100% - 24px);
        display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.yosakoinet-common-sp .btn-block{
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 20px;
    width: 90%;
}


.yosakoinet-common-sp .tag .tag__item p.tag__title{
    display: none;
}

.yosakoinet-common-sp .tag .tag__item{
    grid-template-columns: 1fr;
}
.yosakoinet-common-sp .tag .tag__item p{
    border: none;
    padding: 0;
    background-color: #FFF5ED;
    text-align: center;
}
.yosakoinet-common-sp .tag .tag__item p:nth-of-type(3n + 1){
    /* titleに適用スタイル */
    /* padding-top: 10px; */
    padding: 10px 10px 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.yosakoinet-common-sp .tag .tag__item p:nth-of-type(3n + 2) {
    /* tel に適用スタイル */
    padding-bottom: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 14px;
}
.yosakoinet-common-sp .tag .tag__item p:nth-of-type(3n + 2)::before{
    content: "TEL:";
}
.yosakoinet-common-sp .tag .tag__item p:nth-of-type(3n + 3) {
    /* 内容に適用スタイル */
     background-color: transparent;
     padding: 15px 0;
}

.yosakoinet-common-sp .acc__block-btn.acc__block-btn--sale{
    width: 100%;
}
.yosakoinet-common-sp .sp-mt15{
    margin-top: 15px;
}
.yosakoinet-common-sp .sp-mt20{
    margin-top: 20px;
}
.yosakoinet-common-sp .add-deco.add-deco__block::before{
    width: 50px;
}
.yosakoinet-common-sp .add-deco.add-deco__block{
    padding-left: 60px;
}
.yosakoinet-common-sp .acc p{
    font-size: 14px;
}
.yosakoinet-common-sp .section  .acc p.fwm{
    font-size: 14px;
}
.yosakoinet-common-sp .section p.fwm{
    font-size: 16px;
}
.yosakoinet-common-sp .acc__block-btn.acc__block-btn--wheelechair{
    width: 100%;
}

.yosakoinet-common-sp .section .w-half{
    width: 100%;
}
.yosakoinet-common-sp .modal__image--calendar{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.yosakoinet-common-sp .section .s-block__text{
    margin-top: 20px;
}

.yosakoinet-common-sp .add-deco.add-deco__block.add-deco__block--square{
    padding-left: 20px;
    font-size: 17px;
    line-height: 1;
}
.yosakoinet-common-sp .add-deco.add-deco__block.add-deco__block--square::before{
    width: 17px;
    height: 17px;
}
.yosakoinet-common-sp .acc .acc__block--inner{
    width: 93%;
}

.yosakoinet-common-sp .btn-block__link{
    width: 90%;
    min-width: auto;
}
.yosakoinet-common-sp .modal__item.is-active{
    padding: 30px 20px;
}
.yosakoinet-common-sp .modal .modal__item .close {
        top: -15px;
    right: 0px;
        width: 35px;
}
.yosakoinet-common-sp .modal .modal__btn.modal__btn--wheelchair{
    width: 100%;
}




.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 999;
  background-color: transparent;
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

/* 表示状態 */
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.yosakoinet-common-sp .to-top{
  width: 42px;
  height: 42px;
  right: 5px;
}

.yosakoinet-common .block-spot-detail .modified-date{
  max-width: 1024px;
}
.yosakoinet-common-sp .block-spot-detail .modified-date{
  max-width: 92%;
}

.yosakoinet-common .related-pages{
    display: none;
}