h1 {
    color: #919191;
    font-size: 60%;
    font-weight: normal;
    padding: 0 2rem;
}

main.top_page section {
    margin-bottom: 3rem;
    padding: 3rem 0;
}
.top_page h2 {
    text-align: center;
    font-size: 180%;
}
.top_page h2.title {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.top_page h2.title::before {
    content: '';
	position: absolute;
	top: 0;
	left: 50%;
	/*transform: translate(-50%) rotate(30deg);*/
	width: 4px;
	height: 30px;
	background-color: #003882;
}
.top_page h2 + p {
    text-align: center;
    padding-bottom: 5rem;
    font-size: 120%;
}
.top_page p.textC {
    margin: 0 auto;
}
.top_page ul.post_list.column3 {
    margin: 0 auto !important; 
    padding: 0;  
}

#hero {
    background-image: url(/img/apro-main.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: rgba(0, 56, 130, .8);
    background-blend-mode:lighten;
    min-height: 40vh;
    padding: 10vh 0;
}
#hero h2, #hero p {
    color: #fff;
}
#hero h2 {
    font-size: 300%;
    text-shadow:#003882 1px 0 10px ;
    line-height: 1.7;
}
#hero h2 + p {
    font-size: 160%;
    text-shadow:#003882 1px 0 10px ;
}
#hero > div {
    color: #fff;
}
#hero .white:hover {
    border: 2px solid #fff;
    color: #fff;
}
#hero .orange:hover {
    border-color: #fff;
    color: #f23300;
}

#lead h2 {
    padding-bottom: 2rem;
}
#lead p {
    line-height: 2;
    padding-bottom: 0;
}

#service {
    background-color:#f7f8ed ;
}
#service section {
    padding: 0;
    max-width: 1300px;
    margin: 0 auto;
    border: 1px solid #dadada;
    background-color: #fff;
    text-align: center;
}
#service section a {
    display: flex;
    text-decoration: none;
}
#service section:nth-of-type(2) {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
#service section .service_type {
    padding: 5rem 3rem;
}
#service section .service_type h3 {
    font-size: 24px;
}
#service section .service_img {
    background-blend-mode:lighten;
    background-size: cover;
    flex: 3;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}
#service section:nth-of-type(1) .service_img {
    background-color:rgba(204,232,242,0.5);
    background-image: url(/img/service_img01.jpg) ;
    background-position: right bottom;
}
#service section:nth-of-type(2) .service_img {
    background-color:rgba(255,141,141,0.5);
    background-image: url(/img/service_img02.jpg) ;
    background-position: right center;
}
#service section:nth-of-type(3) .service_img {
    background-color:rgba(192,163,46,0.5);
    background-image: url(/img/service_img03.jpg) ;
    background-position: right top;
}
#service section .service_type {
    flex: 2;
}
#service section:nth-of-type(3) {
    margin-bottom: 4rem;
}
#service section .service_img div {
    margin-top: auto;
    text-align: right;
    margin-bottom: 1rem;
    margin-right: 1rem;
}
#service section:nth-of-type(2) .service_img div {
    text-align: left;
    margin-right: 0;
    margin-left: 1rem;
}

#recruit {
    background-color: rgba(255,255,255,0.5);
    background-image: url(/img/bg_recruit.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: lighten;
}

#partner {
    background-color: #cbebe5;
    background-image: url(/img/bg_partner.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

#recruit, #partner {
    margin-bottom: 0;
}

#recruit h3, #partner h3 {
    font-size: 160%;
}
#recruit p:last-child, #partner p:last-child {
    padding-top: 3rem;
}

#news > div {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}
#news article {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;  
}
#news article div:nth-of-type(1) {
    flex: 1;
}
#news article div:nth-of-type(2) {
    flex: 5;
}
#news article div:nth-of-type(2) p {
    margin-top: 0;
}
#news article a {
    text-decoration: none;
    padding-bottom: 5px;
    background-image: linear-gradient(#333, #333);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;
}
#news article a:hover {
    background-position: bottom left;
    background-size: 100% 1px;
}

/*
  画面幅が 993px 以上
*/
@media screen and (min-width:993px) {
}

/*
  画面幅が 992px 以下
*/
@media screen and (max-width: 992px) {
    body {
    }
    
    main.top_page section {
        margin-bottom: 3rem;
        padding: 1rem 10px;
    }

    .top_page h2 {
        font-size: 150%;
    }
    .top_page h2 + p {
        padding-bottom: 0;
        font-size: 110%;
    }

    #hero h2 {
        font-size: 180%;
    }
    #hero h2 + p {
        font-size: 120%;
    }

    #service section a {
        flex-flow: column;
    }
    #service section .service_type {
        padding: 1.5rem;
    }
    #service section .service_img div {
        padding: 14vh 0 2vh;
        margin: 0;
    }
    #service section:nth-of-type(2) a {
        flex-direction: column-reverse;
    }
    #service section:nth-of-type(2) .service_img div {
        text-align: right;
    }
    #service section .service_img div p {
        display: none;
    }
    
    #news article {
        display: block;
        padding-bottom: 10px;
        border-bottom: 1px solid #dadada;
        position: relative;
        padding-right: 30px;
    }
    #news article::after {
        content: "";
        /* 疑似要素を絶対配置 */
        position: absolute; 
        right: 10px; /* 親要素の右端からの位置 */
        top: 50%; /* 親要素の上端から中央へ */
        /* 矢印の形状を作成 */
        width: 8px; 
        height: 8px;
        border-top: 2px solid #222; /* 上側の境界線 */
        border-right: 2px solid #222; /* 右側の境界線 */
        /* 45度回転させて矢印の形にする */
        transform: translateY(-50%) rotate(45deg); 
    }
    #news article time {
        margin-bottom: 5px;
    }
}