@charset "utf-8";
/*
Theme Name: manubol
*/
/*-------------------------------------------*/
/*  CONTENTS:
/*--------------------------------------------
1.0 - こども書店とは
2.0 - 広告掲載について
3.0 - 問い合わせフォーム
---------------------------------------------*/

/*-------------------------------------------*/
/*  1.0 - こども書店とは
/*-------------------------------------------*/

.kodomo {
    padding: 0 20px;
    text-align: center;
}
.kodomo img {
    width: 100%;
}
.kodomo div {
    margin-bottom: 40px;
}
.kodomo h2 {
    margin-bottom: 10px;
}
.kodomo ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.kodomo .support_card {
    margin-top: 40px;
    padding: 20px 40px 1px;
    box-sizing: border-box;
    background: #ECF2F9;
}
.kodomo h3 {
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: bold;
}
.kodomo .support_card p {
    text-align: left;
}

@media screen and (min-width:900px) {
    .kodomo {
        padding: 0;
        margin: 0 auto;
    }
    .kodomo div img {
        width: 800px;
    }
    .kodomo h2 img {
        width: 800px;
    }
    .kodomo ul {
        width: 800px;
        grid-template-columns: repeat(3, 1fr);
        margin: 0 auto;
        padding: 0;
    }
    .kodomo ul li:nth-child(4) {
        display: none;
    }
    .kodomo.message ul li:nth-child(4) {
        display: block;
    }
    .banner.bnr728 {
        display: block;
    }
    .kodomo .support_card {
        width: 800px;
        margin-top: 60px;
        padding: 30px 40px 10px;
        box-sizing: border-box;
        background: #ECF2F9;
    }
    .kodomo h3 {
        margin-bottom: 10px;
        font-size: 2.2rem;
        font-weight: bold;
    }
    .kodomo .support_card p {
        text-align: left;
    }
}

/*-------------------------------------------*/
/*  2.0 - 広告掲載について
/*-------------------------------------------*/

.inquiry {
    padding: 0 20px;
}
.inquiry img {
    width: 100%;
}
.inquiry > div {
    margin-bottom: 40px;
}
.inquiry h2 {
    margin-bottom: 10px;
}
.inquiry h3 {
    padding: 0 10px 2px 10px;
    background: transparent;
    border-left: solid 7px #304399;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: bold;
}
.inquiry li {
    margin-bottom: 80px;
}
.inquiry h4 {
    margin-bottom: 10px;
}
.ad_content {
    margin-top: 20px;
    display: grid;
    border-bottom: 1px solid #949494;
    border-right: 1px solid #949494;
}

.ad_content div {
    padding: 10px;
    border-top: 1px solid #949494;
    border-left: 1px solid #949494;
}
.ad_content div:nth-child(2n+1) {
    text-align: center;
    background: #F0F7FE;
}
.ad_content div:nth-child(2n) {
    background: #fff;
}
@media screen and (min-width:900px) {
    .inquiry {
        width: 800px;
        margin: 0 auto 40px;
    }
    .ad_content {
          display: grid;
          grid-template-columns: 150px 1fr;
    }
}

/*-------------------------------------------*/
/*  3.0 - 問い合わせフォーム
/*-------------------------------------------*/
.inquiry_form {
    padding: 0 20px;
    margin: 0 auto 40px;
}
.inquiry_form div {
    margin-bottom: 30px;
}
.inquiry_form h2 {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 20px;
}
.inquiry_form .center {
    text-align: left;
    margin-top: 20px;
}
.Form-Item {
    margin-bottom: 30px;
}
.Form-Item-Label {
    font-weight: bold;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
}
.Form-Item-Label {
    margin-bottom: 10px;
}
.Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8em 1em;
    font-size: 1.6rem;
    width: 100%;
    background: #eaedf2;
    box-sizing: border-box;
}
.Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8em 1em;
    height: 216px;
    width: 100%;
    background: #eaedf2;
    font-size: 1.6rem;
    box-sizing: border-box;
}
.Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #c1003d;
    color: #fff;
    font-size: 1.3rem;
}
.Form-Btn {
    width: 280px;
    height: 50px;
    margin: 20px auto;
    border-radius: 4px;
    background: #304399;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 30px;
    margin: 0 auto;
    border-radius: 5px;
    text-align: center;
    font-size: 1.5rem;
    color: #FFF;
    transition: all 0.3s ease-in-out;
    border: none;
}

@media screen and (min-width:900px) {
    .inquiry_form {
        width: 800px;
    }
    .inquiry_form div.Form-Item {
        border-bottom: 1px solid #ddd;
        padding-top: 24px;
        padding-bottom: 24px;
        margin-bottom: 0;
        width: 100%;
        display: flex;
        align-items: center;
        flex-flow: nowrap;
        justify-content: space-between;
    }
    .Form-Item-Label {
        width: 100%;
        max-width: 248px;
        letter-spacing: 0.05em;
    }
    .Form-Item-Input {
        flex: 1;
        width: 400px;
    }
    .Form-Item-Textarea {
        flex: 1;
        width: 400px;
    }
    .inquiry_form .center {
        text-align: center;
    }
    .inquiry_form input[type="submit"] {
        cursor: pointer;
    }
}