@charset "UTF-8";

/*---------------------------------*/
/*ボタン*/
#btn+.contents_btn01 .content_wrapper>a {
    width: 100% !important;
    box-sizing: border-box;
    max-width: 600px;
}

@media screen and (max-width: 480px) {
    #btn+.contents_btn01 .content_wrapper>a {
        max-width: 300px;
    }
}

/*見出し*/

#bg+section.dec1_1:not(.block_images_21)>.content_wrapper {
    background: var(--i_main_color);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.8em;
}
@media screen and (max-width: 800px) {
#bg+section.dec1_1:not(.block_images_21)>.content_wrapper {
    font-size: 1.6rem;
 }
}

/*表*/

#table_color+div thead tr {
    display: none;
}

.block_table_6 table td {
    border: none;
    background: #fafafa;
    vertical-align: baseline;
}

div[class*="block_table"] table.t_align_center td {
    font-size: 2.2rem;
    padding-bottom: 30px;
}

div[class*="block_table"] table.t_align_center td:first-of-type {
    font-size: 1.8rem;
}

div[class*="block_table"] table.t_align_center td small {
    font-size: 1.5rem;
    line-height: 0;
}

div[class*="block_table"] table.t_align_center td:last-child {
    text-align: left;
}

#table_color+div table tr td:nth-child(2),
#table_color+div table tr td:nth-child(3) {
    position: relative;
}

#table_color+div table tr td:nth-child(2):before,
#table_color+div table tr td:nth-child(3):before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: calc(50% - 0.5px);
    height: 100%;
    width: 1px;
    border-left: 2px dashed var(--i_main_color);
    pointer-events: none;
}

#table_color+div table tr td:nth-child(3):before {
    border-left: 2px dashed var(--i_sub_color);
}

#table_color+div table tr:nth-of-type(odd) td:nth-child(2) div,
#table_color+div table tr:nth-of-type(odd) td:nth-child(3) div {
    color: var(--i_sub2_color);
    z-index: 5;
    position: relative;
}

.block_table_6.w20 table tr:nth-of-type(1)>td:first-child {
    width: 10%;
}

#table_color+div .heading.block_header_1 {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 2px solid var(--i_main_color);
}

#table_color+div .heading.block_header_1 p {
    font-size: 3rem;
}

#table_color+div .heading.block_header_1 .h {
    color: var(--i_main_color);
    font-weight: bold;
    padding-left: 5px;
}

#table_color+div>.content_wrapper {
    padding: 60px;
    background: #fafafa;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
    width: calc(100% - 40px);
    max-width: 960px !important;
    position: relative;
}

#table_color+div>.content_wrapper::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 89.1%;
    left: -40px;
    top: 5.45%;
    background: url("/common/upload_data/aiwininternationalschoolcojp/image/course.png") repeat-y left center;
    z-index: 1;
    pointer-events: none;
    background-size: 40px;
}

#table_color+div::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 90%;
    top: 5%;
    left: 0;
    background: #e4d2b5;
    pointer-events: none;
}

#table_color+div .outer {
    border-bottom: 2px solid var(--i_main_color);
    padding-bottom: 30px;
}

@media screen and (min-width: 951px) {
    #table_color+div .outer {
        overflow: unset;
        position: relative;
    }

    #table_color+div table {
        position: relative;
    }

    #table_color+div .outer:before,
    #table_color+div table:before,
    #table_color+div table:after {
        position: absolute;
        display: block;
        content: "";
        width: 200px;
        height: 200px;
        right: 0;
        border-radius: 50%;
        z-index: 1;
        pointer-events: none;
    }

    #table_color+div table:before {
        top: 320px;
        background: url("/common/upload_data/aiwininternationalschoolcojp/image/early-nursery_image5.jpg") no-repeat right center / contain;
    }

    #table_color+div table:after {
        top: 39%;
        background: url("/common/upload_data/aiwininternationalschoolcojp/image/early-nursery_image2.jpg") no-repeat right center / contain;
    }

    #table_color+div .outer:before {
        bottom: 130px;
        background: url("/common/upload_data/aiwininternationalschoolcojp/image/early-nursery_image4.jpg") no-repeat right center / contain;
    }
}



@media screen and (max-width: 950px) {
    #table_color+div>.content_wrapper::before {
        display: none;
    }

    #table_color+div>.content_wrapper::after {
        left: -10px;
        background-size: 10px;
        height: 95.6%;
        top: 2.2%;
    }

    #table_color+div>.content_wrapper {
        padding: 30px 15px;
    }

    div[class*="block_table"] table.t_align_center td {
        font-size: 1.8rem;
    }

    .block_table_6.wauto table {
        white-space: unset;
    }
}

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

#lv p span::before {
    position: absolute;
    display: block;
    content: "";
    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 .content_wrapper {
    justify-content: space-evenly;
}

a[id^="btn"]+.contents_btn01 .content_wrapper>a {
    max-width: 400px !important;
}

#btn_a+.contents_btn01 a:nth-of-type(1) span::before {
    content: "お問い合わせ";
}

#btn_a+.contents_btn01 a:nth-of-type(2) span::before {
    content: "5歳児";
}

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

    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 !important;
        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;
    }
}

/* ----------- */
.block_html ul li,
.block_html ol li {
    list-style-type: none;
}

#r+section::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: calc(100% - 200px);
    top: 100px;
    left: 0;
    background: #c8bb9b;
    pointer-events: none;
}

.day {
    max-width: 960px;
    padding: 60px;
    background: #fafafa;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 0;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
}






.time {
    border-bottom: 2px solid var(--i_main_color);
    padding-left: 30px;
}

.time dl {
    display: flex;
    align-items: stretch;
    position: relative;
}

.time dl:nth-of-type(-n+2) .circle2,
.time dl:nth-of-type(n+14) .circle2 {
    opacity: 0;
}

.time dl:nth-of-type(-n+2) dd:first-of-type::after,
.time dl:nth-of-type(n+13) dd:first-of-type::after,
.time dl:last-of-type dd:first-of-type::before {
    display: none;
}

span[class^="circle"] {
    width: 18px;
    height: 18px;
    display: inline-block;
    background: var(--i_main_color);
    border: 2px solid var(--i_main_color);
    border-radius: 50px;
    box-sizing: border-box;
}

span.circle2 {
    background: var(--i_sub_color);
    border: 2px solid var(--i_sub_color);
}

.time dl:nth-of-type(odd) span[class^="circle"] {
    background: #fafafa;
}

span.circle {
    margin-right: 8px;
}

.time dd:first-of-type {
    position: relative;
    padding-bottom: 50px;
    margin-right: 25px;
}

.time dd:first-of-type::before,
.time dd:first-of-type::after {
    position: absolute;
    display: block;
    content: "";
    top: 4px;
    height: 100%;
    width: 2px;
    border-left: dashed 2px var(--i_main_color);
    z-index: -1;
    pointer-events: none;
}

.time dd:first-of-type::after {
    border-left: dashed 2px var(--i_sub_color);
}

.time dd:first-of-type::before {
    left: 8px
}

.time dd:first-of-type::after {
    right: 6px;
}

.time dt {
    font-size: 1.8rem;
    min-width: 65px;
}

.time dd:last-of-type {
    font-size: 2.2rem;
    padding-bottom: 30px;
}

.time dt .sp {
    display: none;
}

.time dl small {
    display: block;
    font-size: 1.65rem;
    line-height: 1.4;
    padding-top: 10px;
}

.time dl:nth-of-type(5)::before,
.time dl:nth-of-type(8)::before,
.time dl:nth-of-type(15)::before {
    position: absolute;
    display: block;
    content: "";
    width: 200px;
    height: 200px;
    top: 0;
    right: 10px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}


ul.curriculum1_list {
    margin: 30px 0 0;
    padding: 20px 20px 20px 50px;
    border: solid 2px #54215b;
}

ul.curriculum1_list li {
    float: left;
    width: 50%;
    line-height: 30px;
    list-style: square outside;
    color: #54215b;
}

@media screen and (max-width: 900px) {

    .time dl:nth-of-type(5)::before,
    .time dl:nth-of-type(8)::before,
    .time dl:nth-of-type(15)::before {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    .time dl {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: inherit;
    }

    .time dt .sp {
        display: block;
    }

    .time dd:last-of-type {
        display: none;
    }

    span[class^="circle"] {
        width: 12px;
        height: 12px;
    }

    .time {
        padding-left: 0;
    }

    .time dd:first-of-type::before,
    .time dd:first-of-type::after {
        top: 9px;
    }

    .time dd:first-of-type::before {
        left: 5px;
    }

    .time dd:first-of-type {
        min-width: 35px;
        margin-right: 15px;
    }

    .time dl small {
        font-size: 1.5rem;
    }

    .time dt {
        padding-bottom: 20px;
    }

    .day {
        padding: 20px;
    }

    .day ul {
        flex-direction: column;
        text-align: center;
    }

    .day ul li:first-of-type {
        font-size: 2.6rem;
        padding-bottom: 10px;
    }

    .day ul li:first-of-type small {
        padding-left: 0;
        display: block;
    }

    .day::before {
        width: 15px;
        height: calc(100% - 102px);
        top: 61.5px;
        left: -15px;
    }

    #r+section::before {
        height: calc(100% - 100px);
        top: 50px;
    }
}

/*----------------追加修正----------------*/

/*h4見出し調整*/
@media screen and (max-width: 800px) {
    #h4+section .heading.block_header_4 {
        
        align-items: flex-start;
    }

    #h4+section .heading.block_header_4 .h,
    #h4+section .heading.block_header_4 p {
        width: auto;
    }

    #h4+section .heading.block_header_4 p {
        padding: 0 10px 0 0;
    }

    a[id^="h4"]+section .heading.block_header_4::before,
    a[id^="h4"]+div .content_wrapper>.heading.block_header_4::before {
        height: 1px;
        top: auto;
        bottom: 1rem;
    }
}

/*リスト調整*/
ul.curriculum1_list {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.curriculum1_list li {
    font-size: 1.45rem;
}

#waku+section>.content_wrapper {
    padding: 20px 20px 20px 50px;
    border: solid 2px #54215b;
    width: calc(100% - 40px);
    max-width: 1160px !important;
}

@media screen and (max-width: 900px) {
    #waku+section {
        padding-bottom: 0;
    }

    #waku+section>.content_wrapper {
        padding: 10px 10px 10px 30px;
    }

    ul.curriculum1_list li {
        float: none !important;
        width: 100% !important;
    }
}

/*ポップアップ*/
section:has(div[id^="table"]) {
    position: fixed;
    width: calc(100% - 20px);
    max-width: 960px;
    height: 62%;
    top: 19%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 51;
    padding: 60px 30px;
    background: #f2eee9;
    box-sizing: border-box;
    display: none;
}

.close_bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

div[id^="table"] div:first-of-type {
    border: 3px solid #000;
    max-height: 410px;
    overflow-y: auto;
}

div[id^="table"] dl {
    display: flex;
}

div[id^="table"] dl:not(:last-of-type) {
    border-bottom: 1px solid #000;
}

div[id^="table"] dt {
    background: #adba21;
    color: #fff;
    width: 100%;
    max-width: 200px;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 10px;
    box-sizing: border-box;
}

div[id^="table"] dd {
    background: #fff;
    font-size: 1.4rem;
    line-height: 1.6;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

div[id^="table"] li {
    padding-left: 12px;
    position: relative;
}

div[id^="table"] li::before {
    position: absolute;
    display: block;
    content: "";
    width: 5px;
    height: 5px;
    top: calc(50% - 2.5px);
    left: 0;
    border-radius: 50px;
    background: #000;
    pointer-events: none;
}

section:has(div[id^="table"])>.content_wrapper {
    padding: 0;
}

.close {
    margin-top: 15px;
    text-align: right;
    position: relative;
    content: none;
    right: auto;
    top: auto;
}

.close p {
    display: inline-block;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    margin-bottom: 0 !important;
}

.close p::before,
.close p::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
}

.close p::before {
    left: 0;
    top: .2rem;
    width: 100%;
    height: 100%;
    background: url("/common/upload_data/aiwininternationalschoolcojp/image/close.png") no-repeat left center;
}

.close p::after {
    width: 44.6px;
    height: 1px;
    right: 0;
    background: var(--i_txt_color);
}

.close p:hover::after {
    opacity: 0;
}

.curriculum3_list li p.open {
    cursor: pointer;
    transition: .4s ease-in-out;
}

.curriculum3_list li p.open:hover {
    opacity: 0.7;
}

@media screen and (max-width: 480px) {
    div[id^="table"] dl {
        flex-direction: column;
    }

    div[id^="table"] dt {
        max-width: none;
    }

    div[id^="table"] div:first-of-type {
        max-height: 250px;
    }

    section:has(div[id^="table"]) {
        padding: 60px 10px;
    }
}
header .header_contents .header_col1 .btn .translate a p {
    margin-bottom: 0;
}

.inner_item_txt p {
margin-bottom: 0px;
}

a[id^="h4"]+div .content_wrapper>.heading.block_header_4 p {
    color: var(--i_main_color);
}
a#h4 + div {
    margin-bottom: 60px;
}
/**/
.widget_form .heading.block_header_4 {
    margin-bottom: 130px;
}

a[id^="h4"]+div .content_wrapper>.heading.block_header_4 .h,
a[id^="h4"]+div .content_wrapper>.heading.block_header_4 p {
    background: #fafafa;
}

.widget_form>.content_wrapper {
    background: #fafafa;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    padding: 80px 120px;
    box-sizing: border-box;
    width: calc(100% - 40px);
}

.widget_form:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: calc(100% - 130px);
    bottom: 50px;
    left: 0;
    background: var(--i_sub_color);
    pointer-events: none;
}

@media screen and (max-width: 767px) {

    .widget_form>.content_wrapper {
        padding: 20px;
    }

    .widget_form::before {
        height: calc(100% - 75px);
        bottom: 20px;
    }

}

追従バナー変更

.follow>a {
    display: none;
}


/*フォーム調整*/

.widget_form .privacypolicy {
    text-align: left;
    margin: 50px 0 0;
}

.submit+p {
    text-align: left;
    padding-top: 20px;
    display: none;
}

main form .submit span::before,
main form .submit span::after {
    display: none;
}

.widget_form form .submit input {
    border-radius: 0;
    min-width: 300px;
    color: #5d2c63 !important;
    border: solid 2px #5d2c63;
    font-size: 1.9rem;
    font-weight: normal;
    padding: 9px 5px !important;
    margin-bottom: 1px;
}

.widget_form form dl {
    border-bottom: 1px dotted #aaa;
    padding-bottom: 0;
    margin-bottom: 0;
}

.widget_form form dl:nth-of-type(1) {
    border-top: none;
}

.widget_form form dt {
    font-weight: bold;
    min-width: auto;
    width: 300px;
    box-sizing: border-box;
}

.widget_form form dt,
.widget_form form dd {
    padding: 20px;
}

input[type="text"],
textarea {
    border-radius: 5px;
}


.widget_form form dl:nth-of-type(5),
.widget_form form dl:nth-of-type(9) {
    margin-bottom: 60px;
}

.widget_form form dl:nth-of-type(n+12) {
    display: flex;
    flex-direction: column;
}

.widget_form form dl:nth-of-type(10) dt {
    color: var(--i_main_color);
}

.widget_form form dl:nth-of-type(10) .cap {
    line-height: 1.5;
    font-size: 1.6rem;
}

.widget_form form dl:nth-of-type(n+12) dt {
    padding-bottom: 0;
    width: 100%;
}


.widget_form form dl:nth-last-of-type(-n+3) {
    flex-direction: row-reverse;
    justify-content: center;
    border: none;
    padding-top: 35px;
}

.widget_form form dl:nth-last-of-type(-n+3) dt {
    padding: 0;
    width: auto;
    font-weight: normal;
}

.widget_form form dl:nth-last-of-type(-n+3) dd {
    padding: 0;
}

.widget_form form dl:nth-last-of-type(-n+3) input[type="checkbox"]+label {
    padding-right: 0;
}

.widget_form form dl:last-of-type {
    padding-bottom: 20px;
    padding-top: 60px;
}

.cap {
    font-weight: bold;
}

.widget_form .heading+.add_text {
    font-size: 1.8rem;
}

.widget_form form dt span {
    color: #f40 !important;
    font-size: 2rem;
}

.widget_form form input[id*="form_zip"] {
    width: 100%;
}

dl:nth-of-type(6) dt, dl:nth-of-type(10) dt {
    color: var(--i_main_color);
    font-size: 1.8rem;
}

dl:nth-of-type(6) dd, dl:nth-of-type(10) dd {
    display: none !important;
}

@media screen and (max-width: 900px) {
    .widget_form form dl:nth-last-of-type(-n+3) dd {
        display: flex;
        align-items: baseline;
    }
}

@media screen and (max-width: 767px) {
    .widget_form form {
        font-size: 1.4rem;
    }

    .widget_form form .submit {
        margin: 0;
    }

    .widget_form form .submit,
    .widget_form form .submit span,
    .widget_form form .submit input {
        display: block;
    }

    .widget_form form .submit input {
        width: 100%;
        min-width: auto;
    }

    .widget_form form dl {
        border-bottom: dashed 1px #ccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .widget_form form dt {
        border-bottom: none;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .widget_form form dd {
        padding: 0;
    }

    .widget_form .heading+.add_text {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .widget_form .heading.block_header_4 {
        margin-bottom: 55px;
    }

    .widget_form form dl:nth-of-type(1) {
        padding-top: 0;
        margin-top: 0;
    }

    .widget_form form dl:nth-of-type(10) .cap {
        font-size: 1.4rem;
    }

    .widget_form form dl:nth-last-of-type(-n+3) {
        padding-top: 30px;
    }
}

/*ラジオチェックボタン調整*/

main form input[type="radio"]+label,
main form input[type="checkbox"]+label {
    padding: 0 15px 0 5px;
}

.widget_form form input[type=radio]:checked+label::after,
.widget_form form input[type=checkbox]:checked+label::after,
.widget_form form input[type=radio]+label::before,
.widget_form form input[type=checkbox]+label::before {
    display: none;
}

.widget_form form input[type="radio"],
.widget_form form input[type="checkbox"] {
    display: inline-block;
}

.widget_form form input[type="radio"],
.widget_form form input[type="checkbox"] {
    width: auto;
    padding: 0;
    line-height: inherit;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

@media screen and (max-width: 767px) {

    .widget_form form input[type="radio"]+label,
    .widget_form form input[type="checkbox"]+label {
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
}

/*フッター調整*/
main {
    z-index: 20;
}



@media screen and (max-width: 767px) {
    footer {
        margin-top: -20px;
    }

    #h4+div {
        padding-top: 40px;
    }
}

/*Lv*/
#lv p {
    height: 45%;
}

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

@media screen and (max-width: 600px) {
    #lv p {
        height: 60%;
    }

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


.faq-link{
color: blue;
}


/*------------カラー変更---------------*/
.widget_form .heading.block_header_4 {
    color: var(--i_main_color) !important;
}
.widget_form .privacypolicy {
    color: #000;
}
.widget_form .heading + .add_text font {
    color: #ff4400 !important;
}

/*---------------contact us--------------*/

.widget_form form{
    color: black;
}


.content_wrapper>.heading.block_header_4 {
    display: flex;
    align-items: center;
}

.content_wrapper>.heading.block_header_4:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background: var(--i_main_color);
    top: 3rem;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

 .content_wrapper>.heading.block_header_4 .h,
 .content_wrapper>.heading.block_header_4 p {
    background: #fafafa;
    font-size: 3.5rem !important;
    font-weight: 700;
    padding: 0 !important;
    line-height: 1.5;
    margin-bottom: 0;
}
@media screen and (max-width: 800px) {
 .content_wrapper>.heading.block_header_4 .h,
 .content_wrapper>.heading.block_header_4 p {
    font-size: 2.2rem !important;
}
.content_wrapper>.heading.block_header_4::before {
        height: 1px;
        top: 2rem;
    }
}

/*---------------FAQ---------------*/

@media screen and (max-width: 800px) {
.contents_box01.pb30+.contents_box01.pt0{
padding-top: 0px!important;
}
.heading.block_header_1 .h, .heading.block_header_6 p {
        font-size: 1.8rem;
    }
}
html {
  scroll-behavior: smooth; /* ページ全体にスムーススクロールを適用 */
}

