section
{
    margin: 40px 0 0;
}

header
{
    padding-bottom: 50px;
}

header h1
{
    color: white;
}

header h2
{
    font-size: 40px;
    color: white;
}


.content h2
{
    font-size: 20px;
    line-height: 1.5;

    padding: .4em 0;

    letter-spacing: 1.5px;

    border-bottom: solid 1px #ffa54c;
}


.content h2 .tit-span1
{
    padding: .4em 0;

    letter-spacing: 1.5px;

    border-bottom: #ffa54c 3px solid;
}

iframe
{
    margin-top: 30px;
    margin-bottom: 100px;
}

.info-cont-box
{
    display: flex;
    justify-content: space-between;

    margin-top: 50px;
}

.info-cont-left
{
    width: 55%;
}

.info-cont-right
{
    width: 45%;
}




/*ファーストビュー
------------------------------------------------------------------------------------------------------------------------*/
header
{
    background-image: url(../images/bg-child-com.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/*記事
------------------------------------------------------------------------------------------------------------------------*/


.category
{
    padding: 30px 50px;

    background: white;
}

.category .categury-list-box
{
    display: flex;
    justify-content: space-between;
}

.category .category-list
{
    display: flex;
    justify-content: space-between;
}

.category .categury-list-box p
{
    font-size: 30px;
    font-weight: bold;
}
.category .category-list li
{
    margin: 15px 5px 0;
    font-weight: bold;
}

.category .category-list li a:hover
{
    border-bottom: 2px solid #ffa54c;
}


.category .category-list li a:active
{
    border-bottom: 2px solid #ffa54c;
}

.one-article
{
    display: flex;
    justify-content: space-between;

    padding: 30px 0;

    border-bottom: 1px solid #dedede;
}
.one-article .img-box
{
    width: 30%;
}
.one-article img
{
    width: 200px;
    height: 150px;

    object-fit: cover;
}

.one-article .one-article-cont
{
    width: 70%;
}

.one-article .one-article-info
{
    display: flex;
}

.one-article .one-article-info p
{
    display: inline-block;
    color: #b5b6b6;
    font-family: 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
}


.article-btn
{
    margin-top: 30px;
    text-align: center;
}

.article-btn p
{
    display: inline-block;

    padding: 10px 100px;

    color: white;
    border-radius: 100px;
    background-color: black;
}

#article .category-tit
{
    padding: 1px 8px;
    font-size: 1em;
    color: white;
    border-radius: 100px;
    background: #ffa54c;
}

.page-btn
{
    display: flex;
    justify-content: center;
}

.page-btn li
{
    display: inline-block;
    display: inline-block;

    margin: 30px 5px;
    padding: 5px 8px 5px 12px;

    text-align: center;

    border: 1px solid #bdbdbd;
    border-radius: 4px;
}


.page-btn .current
{
    border: 1px solid#ffa54c;
    background: #ffa54c;
}

.page-btn .current a
{
    color: white;
}

.article-title
{
    font-size: 20px;
    font-weight: 600;
}


/*記事
------------------------------------------------------------------------------------------------------------------------*/
#article
{
    padding: 0 0 50px;
}
.article-tit-box
{
    padding-bottom: 300px;

    color: #fff;
    background-image: url(../images/bg-article.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.article-tit
{
    display: flex;
    flex-wrap: wrap;
}

#article .en-tit
{
    padding-top: 50px;

    color: #b3b3b3;
}

#article .article-tit h3
{
    display: inline-block;
}


#article .article-tit p
{
    display: inline-block;

    padding-top: 15px;
    padding-left: 40px;
}

.category
{
    margin-top: 0;
    padding: 30px 50px;

    background: white;
}

.category .categury-list-box
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category .category-list
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.category .categury-list-box p
{
    font-size: 30px;
}
.category .category-list li
{
    margin: 15px 5px 0;
}

.category .category-list li a:hover
{
    border-bottom: 2px solid #ffa54c;
}


.category .category-list li a:active
{
    border-bottom: 2px solid #ffa54c;
}

.one-article
{
    display: flex;
    justify-content: space-between;

    padding: 30px 0;

    border-bottom: 1px solid #dedede;
}
.one-article .img-box
{
    width: 30%;
}
.one-article img
{
    width: 200px;
    height: 150px;

    object-fit: cover;
}

.one-article .one-article-cont
{
    width: 70%;
}

.one-article .one-article-info
{
    display: flex;
}

.one-article .one-article-info p
{
    display: inline-block;
}


.article-btn
{
    margin-top: 30px;

    text-align: center;
}

.article-btn p
{
    display: inline-block;

    padding: 10px 100px;

    color: white;
    border-radius: 100px;
    background-color: black;
}

#article .category-tit
{
    padding: 3px 8px 1px 8px;
    margin: 0;
    font-size: 0.5em;
    color: white;
    border-radius: 100px;
    background: #ffa54c;
}


.article-title
{
    font-size: 20px;
    font-weight: 600;
}


.article-contentText
{
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 8rem;
}



@media screen and (max-width: 768px)
{
    header h2
    {
        font-size: 30px;
    }
    /*アーティクル-------------------------------------------------------------------*/
    #article .article-tit p
    {
        display: inline-block;

        padding-top: 15px;
        padding-left: 0;
    }

    .category
    {
        margin-top: 0;
        padding: 10px 10px 30px;
    }
    .category .category-list li
    {
        width: 145px;
        margin: 5px 5px 0;
        padding: 5px 0;
        text-align: center;
        background: #eee;
        border-radius: 3px;
    }

    .category .category-list li:hover
    {
        background: #ffa54c;
    }

    .category .category-list li a
    {
        font-weight: bold;
        color:#000;
    }

    .category .category-list li:active
    {
        background: #ffa54c;
    }

    .one-article img
    {
        width: 120px;
        height: 120px;
        object-fit: cover;
    }

    .one-article .img-box
    {
        width: 0;
    }
    .one-article .one-article-cont
    {
        width: 58%;
    }
    .one-article .one-article-info
    {
        font-size: 10px;
    }

    .article-title
    {
        font-size: 15px;
        font-weight: 600;
    }
    .article-contentText
    {
        font-size: 12px;
        line-height: 1.7;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 64px;
    }
}
