/**
 * #.# FREETRIAL
 *
 * 
 */

 /*スクロール時*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 185px;
}
  
/* タイトル サイズ調整 */
#price h2 {
    margin: 40px 0 !important;
    font-size: 26px !important;
}
/*無料体験*/
.bg-gym-color {
    background: #17C1B0;
}
.bg-personal-color {
    background: #05C3C3;
}
.bg-studio-color {
    background: #E07171;
}
.bg-yoga-color {
    background: #67b5b7;
}
.bg-pilates-color {
    background: #8d93c8;
}
.bg-boxing-color {
    background: #ea5550;
}
.bg-golf-color {
    background: #339544;
}
.notice {
    display: flex;
}
.notice a {
    display: inline-block;
    text-align: left;
}
.ticket-ribbon-wrapper {  
    display: block;
    position: relative;
    margin: 15px auto;
    padding: 10px 0;
    width: 100%;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}
.ticket-ribbon {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 5px 0;
    margin: 0 0 0 -20px;
    color: #fff;
    background: #17C1B0;
}
.ticket-ribbon h3{
    margin: 0;
    padding: 0 30px;
    border-top: dashed 1px #FFF;
    border-bottom: dashed 1px #FFF;
    font-size: 18px;
    line-height: 46px;
    font-weight: 600;
}
.ticket-ribbon:after {
    position: absolute;
    content: '';
    z-index: 1;
    top: 0;
    right: 0;
    width: 0px;
    height: 0px;
    border-width: 30px 15px 30px 0px;
    border-color: transparent #fff transparent transparent;
    border-style: solid;
}
.ticket-ribbon:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #0CA595;
}
.freeticket-info-underline {
    margin-top:60px;
    margin-bottom: 30px !important;
    padding-left: 10px;
    position: relative;
    font-size: 22px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #EBEBEB;
}
.freeticket-info-underline::after {
    content: "";
    width: 150px;
    height: 2px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: #17C1B0;
}
.free-trial-banner{
    margin-bottom:10px;
}
.free-trial-booking{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap: 70px 40px;
    margin: 60px 80px;
}
.step-container{
    display: flex;
    flex-direction: column;
    text-align: left;
    border:1px solid #E5E5E5;
    border-radius: 8px;
    position: relative;
    padding: 70px 20px 50px;
}
.step-container::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #17C1B0;
    position: absolute;
    top: 0;
    right: -33px;
    bottom: 0;
    margin: auto;
}
.step-container:nth-child(3) {
    grid-column: 1/3;
}
.step3-section-wrap{
    display: flex;
    gap: 50px;
}
.step3-section {
    width: 380px;
}
.step-container:nth-child(7)::after {
    display: none;
}
.step-title{
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    line-height: 22px;
    font-weight: 700;
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    color:#fff;
    background: #17C1B0;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.step-number{
    font-size: 26px;
}
.step-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.step-img img {
    height: 300px; 
    width: auto; 
}
.step-text{
    margin: 0 auto;
}
.free-ticket-btn {   
    display: none;
}
.free-plan-title {
    margin-bottom: 10px !important;
    padding: 0 0 5px 15px;
    position: relative;
    font-size: 20px !important;
    font-weight: 700 !important;
    display: flex;
    justify-content: space-between;
}
.free-plan-subtitle {
    display: flex;
    gap: 10px;
}
.free-plan-subtitle.gym {
    color: #17C1B0;
}
.free-plan-subtitle.personal {
    color: #05C3C3;
}
.free-plan-subtitle.studio {
    color: #E07171;
}
.free-plan-subtitle.golf {
    color: #339544;
}
.free-plan-subtitle img {
    width:30px;
}
.free-plan-title::after {
    content: "";
    width: 5px;
    height: 30px;
    position: absolute;
    left: 0;
}
.free-plan-title.gym::after {
    background: #17C1B0;
}
.free-plan-title.personal::after {
    background: #05C3C3;
}
.free-plan-title.studio::after {
    background: #E07171;
}
.free-plan-title.golf::after {
    background: #339544;
}
.free-plan-wrap {
    margin:30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 16px;
}
.free-plan-wrap dl {
    border:1px solid #EBEBEB;
    padding: 20px 30px 15px;
    border-radius: 16px;
}
.free-plan-img img {
    width:100%;
    height:200px;
    object-fit: cover;
    object-position: 50% 0%;
}
.free-plan-subtitle {
    font-size:18px;
    font-weight: 600;
}
.free-trial-items {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0px;
    border-bottom: 2px solid #e5e5e5;
    padding-left: 6px;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;;
}
.free-trial-items::after {
    content: "";
    width: 65px;
    position: absolute;
    bottom: -2px;
    left: 0;
}
.free-trial-items .notice {
    font-size: 14px;
    font-weight: normal;
}
#gym-free-plan .free-trial-items::after {
    border-bottom: 2.5px solid #17C1B0;
}
#personal-free-plan .free-trial-items::after {
    border-bottom: 2.5px solid #05C3C3;
}
#studio-free-plan .free-trial-items::after {
    border-bottom: 2.5px solid #E07171;
}
#golf-free-plan .free-trial-items::after {
    border-bottom: 2.5px solid #339544;
}
.items-list-heading {
    font-weight: 600;
    margin: 4px 0;
    font-size: 14px;
}
.items-required{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap:10px;    
    margin-top: 5px;
}
.items-required li {
    justify-content: center;
    font-size: 10px;
    line-height: 10px;
    text-align: center;
    display: flex;
    border-radius: 4px;
    height: 100%;
    aspect-ratio: 1;
    color: #fff;
    flex-direction: column;
    position: relative;
}
.items-required img {
    width: 70%;
    margin: 0 auto;
}
.items-required img.boxing-shoes {
    object-position: 0px 5px;
}
.star-color{
    color: #FFCE2D;
}
.star-mark {
    color: #FFCE2D;
    font-size: 16px;
    position: absolute;
    top: 7px;
    left: 7px;
}
.golf-logo{
    display: flex;
    align-items: center;
    gap: 4px;
}
.golf-logo img{
    height: 50px;
    object-fit: cover;
    margin-top: 4px;
}
.reservation-link{
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    display: block;
    margin: 35px auto;
    background:#17C1B0;
    line-height: 1.6em;
}
.btn-font-big {
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
#gym-free-plan .plan-details-section,
#personal-free-plan .plan-details-section {
    height: 120px;
}
#studio-free-plan .plan-details-section,
#golf-free-plan .plan-details-section {
    height: 220px;
}


/* ---------- SP料金表 デザイン ---------- */
@media screen and (max-width:960px){
    /*無料体験*/
    .price-plus-ticket dd {
        padding: 20px 0;
        font-size: 14px;
    }
    .plan-details-section {
        font-size: 14px;
    }
    .free-plan-wrap dl {
        padding: 15px 20px 10px;
    }
    .free-trial-booking {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-direction: row;
        overflow-x: scroll; 
        gap: 30px;
        margin: 0px;
        padding-bottom: 20px;
    }
    .star-mark {
        color: #FFCE2D;
        font-size: 15px;
        position: absolute;
        top: 3px;
        left: 3px;
    }
    .step-container {
        flex: 0 0 auto;
        height: 550px;
        width: 100%;
        align-items: flex-start;
        border:none;
        padding: 20px 20px 0px;
    }
    .step-container:nth-child(3) {
        width: auto;
    }
    .step3-section-wrap {
        gap: 30px;
        flex-direction: row;
    }
    .step3-section{
        width: 100%;
    }
    .step-title {
        font-size: 24px;
        display: block;
        color: #17c1b0;
        background:none;
        position: static;
        transform: none;
        left:auto;
        width: auto;
        height: auto;
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .step-img{
    margin: 20px auto;
    }
    .step-img img {
        height: 360px;
        width: 100%;
    }
    .step-container::after {
        right: 35px;
    }
    .step-container:nth-child(4)::after,
    .step-container:nth-child(6)::after {
        right: -25px;
    }
    #studio-free-plan .plan-details-section,
    #golf-free-plan .plan-details-section {
        height: 300px;
    }
    .golf-logo{
        display: grid;
        align-items: center;
        gap: 4px;
        flex-direction: row;
        grid-template-columns: repeat(auto-fit, 170px);
        justify-content: center;         
    }
}

@media screen and (max-width:768px){
    /*無料体験*/
    .star-mark {
        color: #FFCE2D;
        font-size: 18px;
        position: absolute;
        top: 5px;
        left: 5px;
    }
    .free-ticket-btn {   
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    .free-ticket-btn dd {
        color: #fff;
        font-weight: 500;
        border-radius: 8px;
        padding: 20px 10px;
        font-size: 14px;
    }
    .btn {
        position: relative;
    }
    .btn06::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-color: transparent;
        border: 2px solid #fff;
        border-radius: 50%;
    }
    .btn06::after {
        content: "";
        position: absolute;
        top: 42%;
        right: 16px;
        transform: rotate(135deg) translateY(0%);
        width: 8px;
        height: 8px;
        border-width: 2px 2px 0 0;
        border-style: solid;
    }
    .reservation-btn-wrap{
        width:100%;
    }
    .reservation-link{
        padding: 10px;
        line-height: 1em;
        position: fixed;
        z-index: 99999;
        bottom: 0;
        width:90%;
        margin: 15px auto;
    }
    .btn-font-big {
        font-size: 16px;
    }
    /*スクロール時*/
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 70px;
    }
    .ticket-ribbon-wrapper {
        margin: 15px auto 70px;
    }
    .ticket-ribbon {
        margin: 0px 0 0 -15px;
    }
    .ticket-ribbon h3 {
        margin: 0;
        padding: 0px 30px;
        border-top: dashed 1px #FFF;
        border-bottom: dashed 1px #FFF;
        font-size: 16px;
        line-height: 40px;
        font-weight: 600;
    }
    .ticket-ribbon:before {
        position: absolute;
        content: '';
        top: 100%;
        left: 0;
        border: none;
        border-bottom: solid 10px transparent;
        border-right: solid 15px #0CA595;
    }
    .step-container {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }
    .step-text {
        margin: 0 auto;
        height: 85px;
    }
    .step-title {
        font-size: 20px;
    }
    .step-img img {
        height: auto;
        width: 100%;
    }
    .step-container:nth-child(3) {
        width: 200%;
    }
    .free-plan-subtitle img {
        width: 20px;
    }
    .free-plan-subtitle {
        font-size: 16px;
    }
    .free-plan-subtitle {
        gap: 5px;
        align-items: center;
    }
    .items-required {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }
    .plan-details-section {
        height: auto !important;
    }
    .items-required li {
        font-size: 10px;
        line-height: 12px;
    }
    
}
