@charset "UTF-8";

/*---------------------------------*/
/*リストアイコン*/

.inner_item_txt ul li {
    list-style: none;
    position: relative;
    padding-left: 35px;
}

.inner_item_txt ul li:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: url("/common/upload_data/aiwininternationalschoolcojp/image/leaf_list.png") no-repeat left top;
    top: .6rem;
    left: 0;
    pointer-events: none;
}

@media screen and (max-width: 800px) {
    .inner_item_txt ul li {
        padding-left: 26px;
    }
}

/*見出し*/

#h+section .heading.block_header_2 {
    display: flex;
    align-items: center;
}

#h+section .heading.block_header_2 .h {
    font-size: 3.3rem;
    font-weight: bold;
    color: var(--i_sub_color);
    margin: 0;
}

#h+section .heading.block_header_2 p {
    font-size: 2.6rem;
    font-weight: 500;
    color: #bfac79;
    letter-spacing: 0;
    padding-left: 15px;
}

@media screen and (max-width: 800px) {
    #h+section .heading.block_header_2 {
        flex-direction: column;
        align-items: flex-start;
    }

    #h+section .heading.block_header_2 p {
        padding: 0;
        font-size: 1.8rem;
    }
}

/*txt*/

#txt+section>.content_wrapper {
    padding: 50px 40px;
    background: #efe8df;
    width: calc(100% - 40px);
}

#txt+section .heading.block_header_2 .h {
    font-size: 3rem;
    letter-spacing: 0.1rem;
    line-height: 1;
}

#txt+section .heading.block_header_2 .h:first-letter {
    font-size: 6rem;
    font-weight: 500;
}

#txt+section .heading.block_header_2 p {
    letter-spacing: 0;
    color: var(--i_sub_color);
    font-weight: bold;
    line-height: 1.2;
}

@media screen and (max-width: 900px) {
    #txt+section .wrapper_item {
        display: flex;
        flex-direction: column-reverse;

    }

    #txt+section>.content_wrapper {
        padding: 20px 15px;
    }

    #txt+section .inner_item_img {
        max-width: 80% !important;
        padding-top: 80% !important;
        margin-bottom: 0;
        margin-top: 20px;
    }
}

/*lv*/
#lv p span {
    padding-top: 75px;
}

#lv p span::before {
    position: absolute;
    display: block;
    content: "ABOUT US";
    font-size: 4rem;
    top: 0;
    pointer-events: none;
}

@media screen and (max-width: 600px) {
    #lv p span {
        padding-top: 50px;
    }

    #lv p span::before {
        font-size: 3rem;
    }
}

/*btn*/
a[id^="btn"]+.contents_btn01 .content_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    width: calc(100% - 40px);
}

a[id^="btn"]+.contents_btn01 .content_wrapper>a {
    width: 100% !important;
    box-sizing: border-box;
    max-width: 300px;
    padding: 7px 10px !important;
    margin: 0;
}

a[id^="btn"]+.contents_btn01 a span {
    position: relative;
    padding: 0 0 20px;
}

a[id^="btn"]+.contents_btn01 a span::before {
    position: absolute;
    display: block;
    content: "三国校";
    bottom: 0;
    pointer-events: none;
    width: 100%;
    text-align: center;
    font-weight: 500;
    font-size: 1.5rem;
    left: 0;
}

a[id^="btn"]+.contents_btn01 a:nth-of-type(2) span::before {
    content: "豊中校";
}

a[id^="btn"]+.contents_btn01 a:nth-of-type(3) span::before {
    content: "千里山校";
}

#btn_a+.contents_btn01 a:nth-of-type(1) span::before {
    content: "夙川校";
}


#btn_a+.contents_btn01 a:nth-of-type(2) span::before {
    content: "スタッフ紹介";
}

#btn_a+.contents_btn01 a:nth-of-type(3) span::before {
    content: "入園のご案内へ";
}


/**#btn_a+.contents_btn01 .content_wrapper {
    justify-content: space-evenly;
}

#btn_a+.contents_btn01 .content_wrapper>a {
    max-width: 400px;
}**/

@media screen and (max-width: 980px) {
    #btn+div {
        padding-bottom: 10px;
    }

    a[id^="btn"]+.contents_btn01 .content_wrapper>a {
        margin-bottom: 10px;
    }

    a[id^="btn"]+.contents_btn01 .content_wrapper {
        justify-content: center;
    }
}

@media screen and (max-width: 980px) and (min-width: 480px) {
    a[id^="btn"]+.contents_btn01 .content_wrapper>a {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media screen and (max-width: 480px) {
    a[id^="btn"]+.contents_btn01 .content_wrapper>a {
        max-width: 320px;
        padding: 3px 10px !important;
    }

    a[id^="btn"]+.contents_btn01 .content_wrapper>a:last-of-type {
        margin-bottom: 0;
    }

    a[id^="btn"]+.contents_btn01 a span {
        font-size: 1.6rem;
    }

    a[id^="btn"]+.contents_btn01 a span::before {
        font-size: 1.4rem;
    }
}