/**
 * #.# HOW TO JOIN 入会方法
 *
 *
 */

 .title-underline-blue {
    font-size: 20px !important;
}
 /*スクロール時*/
 html {
    scroll-behavior: smooth;
    scroll-padding-top: 185px;
}
.sp-br{
    display: none;
}
@media screen and (max-width:768px){
    /*スクロール時*/
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 70px;
    }
    .sp-br{
        display: block;
    }
    .title-underline-blue {
        margin-bottom: 20px !important;
        padding: 0 0 5px 10px;
        position: relative;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-bottom: 2px solid #EBEBEB;
    }
}
.gym-color {
    color:#17C1B0;
}
.personal-color {
    color:#05C3C3;
}
.studio-color {
    color:#E07171;
}
.golf-color {
    color:#599964;
}
.vip-color {
    color:#C58A00;
}

/*----------------- それぞれのリンク ------------------*/
.join-wrapper{
    display: grid;
    grid-template-columns: repeat(2,1fr);   
    gap: 16px;
}
.membership-intro {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}
.membership-content {
    display: grid;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 10px;
    align-items: center;
    grid-template-columns: 100px auto;
    gap: 4px;
}
.membership-title {
    font-weight: 600;
}
.membership-description {
    font-size: 14px;
    line-height: 1.4em;
    padding: 4px 0px 8px 0px;
}
.membership-link {
    text-align: right;
    font-size: 14px;
    color: #17C1B0;
    font-weight: 600;
    position: relative;
    padding-right: 20px;
}
.membership-link::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 6px;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-top: 2px solid #17C1B0;
    border-right: 2px solid #17C1B0;
}

@media screen and (max-width:768px){
    .membership-intro {
        font-size: 14px;
    }
    .join-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
    .membership-content {
        grid-template-columns: 70px auto;
    }
    .membership-description {
        font-size: 12px;
        line-height: 1.3em;
        padding: 4px 0px;
    }
    .membership-link {
        text-align: right;
        font-size: 12px;
        color: #17C1B0;
        font-weight: 600;
        position: relative;
        padding-right: 15px;
    }
    .membership-link::after {
        right: 5px;
        top: 6px;
        width: 8px;
        height: 8px;
    }
    
}

/*---------------- 入会手続きの流れ ---------------*/
.join-section {
    margin: 100px auto;
}
.join-section .title-underline-blue::after {
    width: 180px;
}
.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(6)::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;
}
.join-alert-message{
    text-align: center;
    margin: 0px auto 30px auto;
}
/* ---------- SP料金表 デザイン ---------- */
@media screen and (max-width:960px){
    .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-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;
    }
}
@media screen and (max-width:768px){
    /*スクロール時*/
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 70px;
    }
    .join-section .title-underline-blue::after {
        width: 145px;
    }
    .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: 50%;
    }
    .join-alert-message{
        margin: 20px 0px;
    }
}

/*------------- 入会手続きの流れ --------------*/
.notice-item {
    margin: 40px auto;
}
.notice-title {
    border-left: 4px solid #17C1AD;
    padding: 4px 8px;
    font-size: 18px;
    font-weight: 600;
}
.notice-list {
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    margin: 20px auto;
    padding: 20px 10px;
    line-height: 1.7em;
}
.visitor_step {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media screen and (max-width:768px){
    .notice-title {
        border-left: 3px solid #17C1AD;
        padding: 2px 8px;
        font-size: 16px;
        font-weight: 600;
    }
    .notice-list {
        border-top: 1px solid #d5d5d5;
        border-bottom: 1px solid #d5d5d5;
        margin: 9px auto;
        padding: 10px 5px;
        line-height: 1.5em;
    }
    .visitor_step {
        gap: 4px;
    }
    .notice-item {
        margin: 20px auto;
    }
}


/*------------- プラン案内 --------------*/
.membership-plan .title-underline-blue::after {
    width: 200px;
}
.plan-content {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 15px;
}
.plan-subtext {
    font-size: 14px;
    color: #333;
}
.link-corporate-arrow {
    width: fit-content;
    margin: 15px auto 5px;
    display: block;
    border-bottom: 2px solid #333;
    color: #222;
    font-weight: 600;
    font-size: 16px;
}
.link-corporate-arrow::before {
    content: "";
    margin: 0 -2px 0 2px;
    display: inline-block;
    border: 6px solid transparent;
    border-left: 10px solid #222;
}

@media screen and (max-width:768px){
    .membership-plan .title-underline-blue::after {
        width: 160px;
    }
    .plan-subtext {
        font-size: 12px;
        color: #333;
    }
    .link-corporate-arrow {
        width: fit-content;
        margin: 15px auto 5px;
        display: block;
        border-bottom: 2px solid #333;
        color: #222;
        font-weight: 600;
        font-size: 14px;
    }
}



/*------------- オプション --------------*/
.option-content{
    margin: 100px auto;
}
.option-sub-content {
    display: grid;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 0px 8px;
    align-items: center;
    grid-template-columns: 100px auto;
    gap: 4px;
}
.option-content .title-underline-blue::after {
    width: 120px;
}
.option-sub-content .membership-details {
    padding: 10px 0px;
}

@media screen and (max-width:768px){
    .option-sub-content {
        display: grid;
        border: 1px solid #d9d9d9;
        border-radius: 8px;
        padding: 8px;
        align-items: center;
        grid-template-columns: 70px auto;
        gap: 4px;
    }
    .option-content .title-underline-blue::after {
        width: 100px;
    }
}

/*------------- 無料体験 ----------*/
.free-trial {
    max-width: 960px;
    margin: 100px auto;
}
.trial-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 10px;
}
.trial-info {
    text-align: center;
    padding: 10px 0 40px 0;
}
/*リンク*/
.go-program-link {
    display: grid;
    grid-template-columns: repeat(2, 313px);
    gap: 10px;
    justify-content: center;
}
.go-program-link img {
    width: 30px;
}
.go-program-link a {
    display: flex;
    align-items: center;
    color: #fff;
    line-height: 1.2em;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: space-evenly;
	height: 55px;
}
.join-link {
    background: #107A6A;
}
.trial-link {
    background: #17C1B0;
}
@media screen and (max-width:960px){
    .trial-info span{
        display: block;
    }
}
@media screen and (max-width:768px){
    .trial-title {
        font-size: 16px;
        font-weight: 700;
        text-align: center;
        padding-bottom: 5px;
    }
    .trial-info {
        text-align: center;
        padding: 5px 9px 15px 10px;
    }
	.go-program-link {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin: 20px;			
		justify-content: center;
		align-items: stretch;
	}
	.go-program-link a {
		display: grid;
		align-items: center;
		color: #fff;
		grid-template-columns: auto 1fr;
		line-height: 1.2em;
		font-weight: 500;
		padding: 10px;
		border-radius: 8px;
		box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
		height: 55px;
		justify-content: space-around;
	}
	.go-program-link img {
		width: 30px;
		margin-left: 20px;
	}
	.go-program-link p {
		text-align: center;
	}
}