/*
Template:ystandard
Theme Name:ystandard-rinne
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* common */

.tategaki{
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
}
.tategaki.center{
    margin-left: auto;
    margin-right: auto;
}
.wp-block-button__link:hover{
    box-shadow: none;
    opacity: 0.5;
}


/* header */

.site-header{
    background-color: transparent !important;
    z-index: 5;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}
.site-header .site-branding{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-right: 50px;
}
.site-header .site-branding .custom-logo{
    height: 32px;
    width: auto;
    filter: drop-shadow(0px 0px 3px var(--wp--preset--color--ys-green));
}
.global-nav__toggle .ys-icon, .global-nav__toggle svg{
    width: 32px;
    height: 30px;
}
.global-nav__toggle line{
    transform: translateX(-3px);
}
.global-nav__toggle line:first-child{
    transform: translateX(3px);
}
.global-nav__toggle:after{
    display: none;
}
.global-nav__toggle:not(.is-open) .ys-icon svg{
    filter: drop-shadow(0px 0px 3px var(--wp--preset--color--ys-green));
}
@media (max-width: 768px) {
    #global-nav__toggle{
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}
@media (max-width: 499px) {
    #masthead .container{
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
    .site-header .site-branding .custom-logo{
        height: 28px;
    }
    .site-header .site-branding{
        padding-right: 40px;
    }
    .header_sub_area .wp-block-buttons{
        gap:5px;
    }
    .header_sub_area .wp-block-button__link{
        padding:2px 0.9em !important;
        font-size: 11px !important;
    }
    #global-nav__toggle{
        padding: 0.3em 0.5em;
    }
}

/* === drawer === */

.widget-mobile-nav.widget-mobile-nav__top{
    display: flex;
    justify-content: center;
    align-items: center;
}
.widget-mobile-nav__top .tategaki{
    margin: 0 auto 1em;
}
.widget-mobile-nav__top .tategaki + p a{
    display: block;
    margin: 0.8em;
    font-size: 1.1em;
}
.widget-mobile-nav__top .tategaki + p br{
    display: none;
}
.widget-mobile-nav__top .link-instagram{
    margin: 2em 0 1.5em !important;
}


/* site content */

.page-template-default.page .site-content,
.no-title.has-background.home .site-content,
.no-title .site-content{
    margin-top: -64px;
}
.pc-content{
    display: flex;
    height: 100vh;
    margin: 0 auto;
    background-color: var(--wp--preset--color--ys-light-orange);
    color: var(--wp--preset--color--ys-green);
    background-image: url(img/bg_pc-con.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.admin-bar .pc-content{
    height: calc(100vh - var(--wp-admin--admin-bar--height));
}
.pc-content .pc_left-bar,
.pc-content .pc_right-bar{
    width: 30%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: scroll;
}
.pc-content .pc_left-bar .pc_bar-in,
.pc-content .pc_right-bar .pc_bar-in{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.pc-content .scroll-content{
    overflow-y: scroll;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--wp--preset--color--ys-green) 0 0 10px;
    scroll-behavior: smooth;
}

.pc-content .pc_left-bar .pc_bar-in{
    gap:3vh;
    padding-left: 1em;
    padding-right: 1em;
}
.pc-content .pc_left-bar .tategaki{
    height: 40vh;
    min-height: 320px;
    display: flex;
    justify-content: center;
}
.pc-content .pc_left-bar a{
    text-decoration: none;
}
.link-instagram{
    line-height: 1.4;
}
.link-instagram a .ystdb-inline--larger{
    font-size: 2.2em;
}

.pc-content .pc_right-bar .link-line_register a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    width: 190px;
    height: auto;
    line-height: 1.2;
    text-decoration: none;
    padding: 20px 10px 10px;
    background-color: #fff;
    border-radius: 50%;
    font-weight: 700;
    color: #06c755;
    border: #06c755 1.5px solid;
    margin: auto 0 auto auto;
    font-size: 1.2em;
}
.pc-content .pc_right-bar .link-line_register a img{
    width: 80px !important;
    height: auto;
    margin-top: 5px;
}
.pc-content .pc_right-bar .wp-block-media-text{
    max-width: 350px;
    width: 80%;
    margin-top: 3em;
}
.pc-content .pc_right-bar .wp-block-media-text__content{
    padding: 0 1em;
}
.pc-content .pc_right-bar .wp-block-media-text__content ul{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 1em;
}
.wp-block-button.link-more .wp-block-button__link,
.pc-content .pc_right-bar .wp-block-button__link{
    display: flex;
    justify-content: center;
    align-items: center;
}
.wp-block-button.link-more .wp-block-button__link img,
.pc-content .pc_right-bar .wp-block-button__link img{
    margin-left: 5px;
}
.pc-content .pc_right-bar .wp-block-button__link:hover{
    opacity: 1;
    background-color: var(--wp--preset--color--ys-light-orange) !important;
    color: var(--wp--preset--color--ys-green) !important;
}
@media screen and (max-width: 1300px){
    .pc-content .pc_right-bar .link-line_register a{
        width: 160px;
    }
    .pc-content .pc_right-bar .link-line_register a img{
        width: 50px !important;
    }
    .pc-content .pc_right-bar .link-line_register + p.width-fit{
        font-size: 0.9em !important;
        max-width: 90%;
    }
    .pc-content .pc_right-bar .link-line_register + p.width-fit + p{
        font-size: 1.4em !important;
        margin-top: 0;
        margin-bottom: 0.5em;
    }
    .pc-content .pc_right-bar .wp-block-media-text{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        margin-top: 0;
        height: 410px;
    }
    .pc-content .pc_right-bar .wp-block-media-text__media{
        height: 50%;
    }
    .pc-content .pc_right-bar .wp-block-media-text__media img{
        height: 100%;
    }
}
@media screen and (max-width: 1024px){
    .pc-content .pc_left-bar,
    .pc-content .pc_right-bar{
        display: none;
    }
}

/* footer */
.site-footer{
    position: relative;
    z-index: 1;
}
.footer-main{
    padding-top: 0;
}
.footer-widget__column>*{
    margin: 0;
}
.footer-main #page-top{
    padding: 0 1em;
}
.footer-main .footer-sns,
.footer-main .footer-links{
    margin: 0;
    padding: 0 1em;
    position: relative;
    z-index: 3;
}
.footer-main .widget_nav_menu ul{
    font-size: 1em;
    margin: 0 1em;
}
.footer-main .widget_nav_menu li{
    border-bottom: none;
}
.footer-main .widget_nav_menu a{
    display: block;
    font-weight: 700;
    padding: 0.25em;
}
.footer-main .widget_nav_menu a::before,
.footer-main .widget_nav_menu a::after{
    display: none;
}
.footer-main .wp-block-image{
    margin-right: 1em;
}

.site-info{
    margin-top: -1.5em;
}
.footer-copy{
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    padding: 0 1em;
}
@media screen and (max-width: 480px){
    .site-info{
        margin-top: 0;
    }
    .footer-main #page-top,
    .footer-main .footer-sns,
    .footer-main .footer-links{
        padding: 0;
    }
    .footer-main .widget_nav_menu ul{
        margin: 0;
    }
}


/* === studio === */

.site-content:has(.studio-header) > .container{
    padding-left: 0;
    padding-right: 0;
}
.site-content:has(.studio-header) .wp-block-group.alignfull{
    padding-left: 2em;
    padding-right: 2em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.studio-header{
    box-shadow: #fff 0 0 15px;
    border-radius: 270px 270px 10px 10px;
}
.studio-header .ystdb-column:first-child,
.studio-header .ystdb-column:first-child .wp-block-cover img,
.studio-header .ystdb-column:first-child .wp-block-cover__video-background{
    border-radius: 270px 270px 0 0;
}
.studio-header .ystdb-column:first-child .wp-block-cover{
    overflow: visible;
}
.studio-header .ystdb-column:nth-child(2){
    padding-left: 1.8em !important;
    padding-right: 1.8em !important;
    padding-top: 3em !important;
    position: relative;
    background-image: url(img/bg_ring4.png);
    background-position: center;
    background-size: 120%;
    background-repeat: no-repeat;
    background-color: var(--wp--preset--color--ys-green);
}
.studio-header .ystdb-column:nth-child(2) .wp-block-button__link img{
    vertical-align: middle;
    margin-left: 2px;
}
.studio-header .ystdb-column:last-child{
    border-radius: 0 0 10px 10px;
}
.studio-header .ystdb-column:last-child .line_register a{
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.studio-header .ystdb-column:last-child .line_register img{
    vertical-align: middle;
    margin-left: 5px;
    margin-bottom: 2px;
}
.studio-header .ystdb-column:first-child .wp-block-cover__inner-container{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: -1em;
}
.studio-header .ystdb-column:first-child .tategaki{
    line-height: 1.2;
    margin-bottom: 1em;
}
.studio-header .ystdb-column:first-child .tategaki strong{
    display: inline-block;
    background-color: #fff;
    color: var(--wp--preset--color--ys-green);
    padding: 0.5em 0.1em 0.5em 0;
    margin: 0 0.1em;
}
.has-inline-color{
    padding-left: 0.3em;
    padding-right: 0.3em;
}
.studio-header_lead{
    line-height: 2;
    letter-spacing: -1px;
}
.entry-content .link-scroll{
    position: absolute;
    right: 2em;
    top: 7em;
    margin: 0;
    transform: rotate(90deg);
    transform-origin: bottom right;
    font-size: 0.8em;
}
.entry-content .link-scroll a{
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.entry-content .link-scroll a::before{
    content: '';
    width: 100px;
    height: 1px;
    background-color: #fff;
    margin: 0 6px 0 0;
}
.entry-content .link-insta{
    position: absolute;
    left: -1em;
    top: 5em;
    margin: 0;
    transform: rotate(90deg);
    transform-origin: bottom left;
    font-size: 0.7em;
}
.entry-content .link-insta .ystdb-inline--smaller{
    display: inline-block;
    margin-right: 2em;
}
.entry-content .link-insta a{
    text-decoration: none;
}

#studio-top{
    background-image: url(img/bg_ring1.png);
    background-position: top center;
    background-size: 260%;
}
#studio-top::before{
    content: '';
    width: 100%;
    height: 150px;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0) 10%, rgba(0,0,0,1) 100%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
}
#studio-top > .wp-block-group__inner-container{
    position: relative;
    z-index: 2;
}
#studio-top .ystdtb-slider{
    margin-bottom: 3em;
}
#studio-top .ystdtb-slider .swiper{
    overflow:visible;
}
#studio-top .ystdtb-slider .swiper-pagination{
    bottom: -30px;
}
#studio-top .ystdtb-slider .wp-block-image{
    border-radius: 25px;
    overflow: hidden;
}
#studio-top .studio-name,
#studio-info > .wp-block-group__inner-container{
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.site-content:has(.studio-header) .wp-block-group.alignfull.googlemap{
    padding: 0;
    filter: grayscale(1);
}
.wp-embed-responsive .googlemap .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{
    padding-top: 45%;
}
#studio-founder{
    background-image: url(img/bg_ring2.png);
    background-position: top center;
    background-size: 260%;
}
#studio-founder > .wp-block-group__inner-container{
    background-color: var(--wp--preset--color--ys-light-green);
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 480px;
    margin: 2em auto;
}
#studio-founder > .wp-block-group__inner-container > p{
    padding-left: 1em;
    padding-right: 1em;
}
#studio-founder .wp-block-heading{
    margin: 0;
    padding: 1rem;
}
#studio-founder .wp-block-heading .ystdb-inline--smaller{
    font-size: 0.5em;
}
#studio-founder .wp-block-heading + p{
    margin: 0;
    padding: 8px 4px;
    line-height: 1.2;
    font-size: 1.24em !important;
    letter-spacing: -2px;
}
#studio-founder .wp-block-media-text{
    margin: 1.5em 1em;
    font-size: 0.8em;
}
#studio-founder .wp-block-media-text .wp-block-media-text__content{
    padding-top: 0;
}
#studio-founder h4.wp-block-heading{
    padding: 2em 1rem 1rem 2rem;
}
#studio-founder .studio-founder_supervisor{
    margin: 0;
    padding-top: 0;
    padding-right: 0;
}
#studio-founder .studio-founder_supervisor > .wp-block-group__inner-container{
    padding: 1em 50px 1em 1em;
    background-color: var(--wp--preset--color--ys-light-green);
    border-radius: 10px 0 0 10px;
}
#studio-founder .studio-founder_supervisor .wp-block-media-text{
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}
#studio-founder .ystdtb-slider{
    margin-top: 0;
}
#studio-founder .swiper{
    background-color: var(--wp--preset--color--ys-green);
}
#studio-founder .swiper-button-next,
#studio-founder .swiper-button-prev{
    width: 30px;
    height: 30px;
    background-color: var(--wp--preset--color--ys-green);
    border-radius: 50%;
}
#studio-founder .swiper-button-next:after,
#studio-founder .swiper-button-prev:after{
    font-size: 1em;
}
#studio-founder .swiper-button-disabled{
    opacity: 0;
}

.wp-block-media-text.profile .name{
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.2em;
}
.wp-block-media-text.profile .name .ystdb-inline--smaller{
    font-weight: 700;
    color: var(--wp--preset--color--ys-light-orange);
}
.wp-block-media-text.profile .title{
    font-weight: 700;
    color: var(--wp--preset--color--ys-light-orange);
    border-bottom: var(--wp--preset--color--ys-light-orange) dotted 1px;
    margin-bottom: 8px;
    margin-top: 8px;
}

/* feature */

#studio-feature{
    position: relative;
}
#studio-feature::before{
    content: '';
    width: 100%;
    height: 150px;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0) 10%, rgba(0,0,0,1) 100%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
}
#studio-feature .wp-block-group__inner-container{
    position: relative;
    z-index: 2;
}
#studio-feature .wp-block-group__inner-container > .wp-block-heading,
#studio-feature .wp-block-group__inner-container > p:has(mark){
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
#studio-feature .ystdb-column{
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}
#studio-feature .ystdb-column .wp-block-heading{
    margin: 1em 1em 0.5em;
    font-weight: 700;
    font-size: 1.4em !important;
    letter-spacing: 0;
}
#studio-feature .ystdb-column .wp-block-heading::after{
    content:'';
    display: block;
    width: 70%;
    height: 1.5px;
    max-width: 350px;
    background-color: var(--wp--preset--color--ys-green);
    margin: 8px auto 0;
}
#studio-feature .ystdb-column p{
    margin: 0 auto 1.5em;
    width: 90%;
    max-width: 450px;
    font-weight: 700;
    font-size: 1.1em;
}

/* studio-price */

#studio-price{
    background-image: url(img/bg_ring3.png);
    background-position: top center;
    background-size: 260%;
}
#studio-price_header{
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
#studio-price .wp-block-table{
    width: calc(100% + 16px);
    margin: 1em -8px 0;
}
#studio-price .wp-block-table table{
    border-collapse: separate;
    border-spacing: 8px;
    border-top: none;
}
#studio-price .wp-block-table table td{
    border: none;
    background-color: #fff;
    color: var(--wp--preset--color--ys-green);
    font-weight: 700;
    padding: 0.7em 0.25em 0.5em;
    font-size: 1.1em;
}
#studio-price .wp-block-table table tr:first-child td{
    background-color: var(--wp--preset--color--ys-green);
    color: var(--wp--preset--color--ys-light-orange);
    font-size: 1.3em;
    border-radius: 20px 20px 0 0;
    line-height: 1;
    padding: 1em 0.25em 0.7em;
}
#studio-price .wp-block-table table td:first-child{
    background-color: var(--wp--preset--color--ys-light-orange);
    font-size: 1.1em;
}
#studio-price .wp-block-table table td .ystdb-inline--larger{
    font-size: 1.6em;
}
#studio-price .wp-block-table table tr:first-child td:first-child{
    background-color: transparent;
}
#studio-price .wp-block-table figcaption{
    color: #fff;
    text-align: right;
    margin-top: 0;
    font-style: normal;
    font-size: 0.7em;
    font-weight: 600;
}
#studio-price .wp-block-table + p{
    margin-top: 0.5em;
}

#studio-price_plan{
    border-radius: 0 0 40px 40px;
    padding: 0.5em 0 0;
    overflow: hidden;
}
#studio-price_plan .wp-block-heading{
    margin: 1.5em 1em 0.5em;
    font-weight: 700;
    font-size: 1.4em !important;
    letter-spacing: 0;
    color: var(--wp--preset--color--ys-green);
}
#studio-price_plan .wp-block-heading::after{
    content:'';
    display: block;
    width: 70%;
    height: 1.5px;
    max-width: 350px;
    background-color: var(--wp--preset--color--ys-green);
    margin: 8px auto 0;
}
#studio-price_plan p{
    margin: 0 auto 1.5em;
    width: 90%;
    max-width: 450px;
    font-weight: 700;
    font-size: 1.1em;
}
#studio-price_plan .wp-block-image{
    margin-top: 2.5rem;
}
#studio-reserve_header{
    margin: -1.5em -2em 0;
    padding: 0;
    position: relative;
    z-index: 1;
}
#studio-reserve_header > .wp-block-group__inner-container{
    padding: 9em 2em 0;
    position: relative;
    background-image: url(img/bg_studio-reserve.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    background-color: #fff;
}
#studio-reserve_header > .wp-block-group__inner-container > *{
    position: relative;
    z-index: 3;
}
#studio-reserve_header p{
    width: fit-content;
    margin: 0 auto 2rem;
}
#studio-reserve_header .wp-block-buttons{
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
#studio-reserve_header + *{
    position: relative;
    z-index: 4;
}

.width-fit{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.studio-reserve_cal{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: scroll;
}
#yamadataro-cal, #yamadataro-cal-modal{
    padding: 0 !important;
}
#yamadataro-cal section.schedule-scroll,
#yamadataro-cal-modal section.schedule-scroll{
    max-width: 600px !important;
    min-width: 0 !important;
}

.studio-pilates_lead{
    opacity: 0.5;
    margin: 0;
    line-height: 1;
}
.studio-pilates_lead + p{
    margin-top: 0;
}
#studio-pilates .wp-block-image{
    margin: -1em 0 -4em;
}
#studio-pilates .wp-block-columns{
    gap: 1em;
    justify-content: flex-end;
}
#studio-pilates .wp-block-column{
    flex-basis: auto !important;
}
#studio-pilates .wp-block-columns a{
    display: block;
    aspect-ratio: 1;
    width: 140px;
    height: auto;
    line-height: 1.3;
    text-decoration: none;
    padding: 20px 10px 10px;
    background-color: #fff;
    border-radius: 50%;
    font-weight: 700;
    color: #06c755;
    border: #06c755 1.5px solid;
    margin: auto 0 auto auto;
}
#studio-pilates .wp-block-button__link{
    line-height: 1.4;
}
#studio-pilates .wp-block-button__link .ystdb-inline--smaller{
    font-size: 0.65em;
}
#studio-pilates .wp-block-button__link:hover{
    opacity: 1;
    background-color: var(--wp--preset--color--ys-light-orange) !important;
    color: var(--wp--preset--color--ys-green) !important;
}
#studio-pilates .footer-link{
    margin-left: -2em;
    margin-right: -2em;
    padding: 1em 0;
}
#studio-pilates .footer-link a{
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
#studio-pilates .footer-link a img{
    margin-left: 5px;
}
#studio-info .wp-block-button .wp-block-button__link br,
#studio-reserve_header .wp-block-button .wp-block-button__link br{
    display: none;
}
@media screen and (min-width: 600px){
    .studio-header_lead{
        font-size: 1.75em !important;
        letter-spacing: -1px;
    }
}
@media screen and (min-width: 500px){
    .link-scroll{
        right: 3.5em;
    }
}
@media screen and (max-width: 599px){
    .studio-pilates_lead{
        font-size: 14vw !important;
    }
}
@media screen and (max-width: 499px){
    .site-content:has(.studio-header) .wp-block-group.alignfull{
        padding-left: 1.2em;
        padding-right: 1.2em;
    }
    .studio-header .ystdb-column:first-child .tategaki{
        font-size: 1.4em !important;
    }
    .studio-header{
        border-radius: 270px 270px 15px 15px;
    }
    .studio-header .ystdb-column:nth-child(2){
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    #studio-reserve_header > .wp-block-group__inner-container{
        background-size: calc(100% - 1em) auto;
        padding: 6em 1.5em 0;
    }
    #studio-info .wp-block-button,
    #studio-reserve_header .wp-block-button{
        font-size: 1.32em !important;
    }
    #studio-pilates .wp-block-image{
        margin: -1em 0 -2em;
    }
    #studio-info .wp-block-button .wp-block-button__link br,
    #studio-reserve_header .wp-block-button .wp-block-button__link br{
        display: inline;
    }
    #studio-pilates .footer-link{
        font-size: 0.85em !important;
    }
}
@media screen and (max-width: 480px){
    .entry-content .link-scroll{
        font-size: 0.7em !important;
    }
    .studio-header_lead{
        font-size: 1.2em !important;
    }
    .studio-header_lead + .wp-block-columns .wp-block-column:first-child p{
        font-size: 0.5em !important;
    }
    .studio-header .ystdb-column.has-background p{
        font-size: 1.25em !important;
    }
    .studio-header .ystdb-column:last-child .line_register img{
        width: 22px !important;
    }
    #studio-top .studio-name .ystdb-heading__text,
    h2.wp-block-heading.has-ys-light-orange-color{
        font-size: 1.4em !important;
    }
    #studio-top .studio-name .ystdb-heading__subtext{
        font-size: 1.2em !important;
    }
    #studio-info .wp-block-buttons{
        margin-left: -0.25em;
        margin-right: -0.25em;
    }
    #studio-info .wp-block-button .wp-block-button__link,
    #studio-reserve_header .wp-block-button .wp-block-button__link{
        padding: 0.5em !important;
        font-size: 1em !important;
        line-height: 1.3;
    }
    #studio-info p,
    #studio-founder .studio-founder_supervisor > .wp-block-group__inner-container > p,
    #studio-price p:has(mark.has-inline-color.has-ys-green-color) + p{
        font-size: 0.8em;
    }
    #studio-info p:has(mark.has-inline-color.has-ys-green-color),
    #studio-feature p:has(mark.has-inline-color.has-ys-green-color),
    #studio-price p:has(mark.has-inline-color.has-ys-green-color){
        font-size: 1.2em !important;
    }
    #studio-price p:has(mark.has-inline-color.has-ys-green-color){
        letter-spacing: -0.8px;
    }
    #studio-feature .ystdb-column .wp-block-heading,
    #studio-price_plan .wp-block-heading{
        font-size: 1.1em !important;
    }
    #studio-feature .ystdb-column p,
    #studio-price_plan p{
        font-size: 0.9em !important;
    }
    #studio-price .wp-block-table{
        margin: 1em -8px 0.5em;
    }
    #studio-price .wp-block-table table tr:first-child td,
    #studio-price .wp-block-table table td{
        font-size: 1em;
    }
    #studio-price .wp-block-table table td:first-child{
        font-size: 0.9em;
    }
    #studio-price .wp-block-table table td .ystdb-inline--larger{
        font-size: 1.3em;
    }
    #studio-price .wp-block-table + p{
        font-size: 0.7em !important;
    }
    #studio-reserve_header p{
        font-size: 0.95em !important;
    }
    #studio-reserve_header p:first-child{
        font-size: 1.7em !important;
    }
    #studio-calendar{
        font-size: 1.7em !important;
    }
    #studio-calendar + p{
        font-size: 1.0em !important;
    }
    #studio-pilates p:nth-child(2){
        font-size: 0.95em !important;
    }
}
@media screen and (max-width: 400px){
    .studio-header .ystdb-column:first-child .tategaki{
        font-size: 1.2em !important;
    }
    #studio-pilates .wp-block-image{
        margin-bottom: -1em;
    }
    #studio-pilates .wp-block-columns a{
        font-size: 0.9em;
        width: 128px;
    }
    #studio-pilates .wp-block-column:last-child p{
        font-size: 1.5em !important;
    }
    #studio-pilates .wp-block-button__link{
        font-size: 1.4em !important;
    }
}

/* === studio 一覧 === */

.studio-list_title,
.studio-list_info{
    max-width: 480px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.studio-list_info .wp-block-image{
    margin-top: -1em;
    position: relative;
    z-index: 1;
}
.studio-list_info .ystdb-heading + p{
    position: relative;
    z-index: 2;
    line-height: 1.3;
    margin-left: -0.5em;
}

/* === front-page === */

.top_logo{
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* === page === */

.page-template-default.page .site-content{
    background-color: var(--content-bg);
    padding-top: 90px;
    margin-bottom: 0;
    position: relative;
}
.page-template-default.page .site-content::before {
    content: '';
    width: 100%;
    height: 64px;
    background: var(--wp--preset--color--ys-green);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
}
.page-template-default.page .site-content .content__main{
    padding: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}