@charset "UTF-8";

/* common
====================================================================================================================================== */
.inline_block {
    display: inline-block;
}

.nowrap {
    white-space: nowrap;
}

.line_height_min02 {
    line-height: 2;
}

.font_xss {
    font-size: 0.7rem;
}

.logo_sholder {
    display: block;
    white-space: nowrap;
    font-weight: normal;
    font-size: 0.7rem;
}

.logo_sholder_main {
    display: block;
    white-space: nowrap;
    margin-top: 0.4em;
    font-size: 1.25em;
}

a.no_underline,
input.no_underline,
.no_underline a,
.no_underline input,
.no_underline button {
    text-decoration: none !important;
}

a.underline,
input.underline {
    text-decoration: underline !important;
}

.color_box,
h2,
h3 {
    overflow: hidden;
}

h2.simple {
    font-size: 1.5rem;
}

h2.top_title.big {
    font-size: 1.7rem;
    margin-bottom: 6.5rem;
}

#conts ul li:last-child,
#conts ol li:last-child {
    margin-bottom: 0;
}


/* 調整用
====================================================================================================================================== */

#globalnavi ul.sp_menu_close {
    font-size: 1em;
}

.top_title {
    position: relative;
    z-index: 10;
}

.mini_width {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.head_icon {
    width: 76px;
    line-height: 1;
    margin-right: -0.5rem;
}

table.one_day_flow tbody th {
    min-width: 5em;
}

.color_box {
    line-height: 2;
    /* background: rgba(253,245,222,0.08);
    border: 0; */
}

.color_box h3 {
    font-size: 1.1em;
}

.bg_illust {
    position: relative;
}


/* 追加CSS */
.bg_illust .illust_box {
    position: absolute;
    right: 2%;
    bottom: -10%;
    z-index: -1;
    margin: 0;
    max-width: min(35%, 180px);
}

.bg_illust .illust_box.illust_ruhe,
.bg_illust .illust_box.illust_medicine {
    max-width: min(30%, 130px);
}

.bg_illust .illust_box.illust_soupya {
    max-width: min(50%, 240px);
    margin-right: -8%;
}

.bg_illust .illust_box.illust_meiso {
    max-width: min(42%, 200px);
    margin-right: -3%;
}

.button_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button_area a.button_line.simple {
    line-height: 1.4;
    font-weight: normal;
    font-size: 1rem;
    padding: 1.25em;
    min-width: 0;
}

/* soupyano画室 */
.banner_wrap {
    margin: 0 auto 2em;
    rotate: 2deg;
    max-width: 520px;
}

.top_banner {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 1.8rem;
    background: rgba(250, 242, 217, 0.13);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.bnr_caption {
    font-size: 0.8rem;
    opacity: 0.75;
}

@media screen and (min-width: 768px) {
    .common_box .img_box {
        margin-right: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .color_box {
        padding: 1.8rem 2rem;
    }

    .logo_sholder {
        font-size: 0.55rem;
    }

    .head_icon {
        width: 66px;
    }

    /* 追加CSS */
    .bg_illust .illust_box {
        bottom: 0;
    }

    .button_grid {
        margin-left: -17%;
        margin-right: -17%;
    }
}

@media screen and (max-width: 540px) {
    .button_area a {
        min-width: 60vw;
    }

    /* global navi */
    #globalnavi .button_area {
        width: 80%;
    }

    #globalnavi .nav_list {
        margin-bottom: 3em;
    }

    #globalnavi .nav_list li {
        margin-bottom: 1.5em;
    }

    #globalnavi .nav_list li a img {
        height: 1.85em;
    }

    #globalnavi .button_area a .button_text img {
        height: 2.3em;
    }


    /* soupyano画室 */
    .banner_wrap {
        max-width: 300px;
    }

    .top_banner {
        padding: 1.5rem 1rem;
    }
}