@charset "UTF-8";
/* CSS Document */

.flex-box {
    padding: 30px 15px 60px;
    width: calc(100% - 30px);
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
}
.flex-box li {
    margin-bottom: 30px;
    border: 0px solid #003f94;
    box-sizing: border-box;
    background-color: #c5dde6;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-flow: column;
    align-items: center;
    height: auto;
}
.image-box {
    display: block;
    position: relative;
    width: 90%;
    margin: 0;
}
.image-box::before {
    content: "";
    display: block;
    width: 100%;
    height: auto;
    padding-top: 70%;
    position: relative;
    top: 0;
    left: 0;
}
.flex-box li h3{
    color: #005187;
    font-size: 16px;
    text-align: center;
}
.flex-box li h4{
    color: #005187;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
}
#contents .flex-box li p{
    color: #005187;
    font-size: 14px;
    text-align: justify;
    line-height: 2;
    padding: 0;
    width: 100%;
}
.flex-box li:last-child{
    margin-bottom: 0;
}
.flex-box li img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    object-fit: contain;
    left: 50%;
    transform: translate(-50%,-50%);
}
.flex-box li:first-child img {
    width: 80%;
    height: 80%;
}
#cta-button {
    margin: 0 auto;
    text-align: center;
}
#cta-button a {
    display: flex;
    width: 320px;
    height: auto;
    flex-flow: column;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
    background: linear-gradient(to right, rgba(0,203,233,1) 0%, rgba(0,91,175,1) 100%);
    opacity: 1;
    transition: opacity 1s;
}
#cta-button a:hover{
    opacity: 0.7;
    transition: opacity 1s;
}
#cta-button a img {
    width: 100%;
    height: auto;
}
#cta-button a p{
    color: #fff;
    padding: 10px;
}
#cta-button a span {
    position: relative;
}
#cta-button a span::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    right: 15px;
    top: 50%;
    transform: translateY(-50%)rotate(-45deg);
}
#contact-button {
    margin: 40px auto 0;
    text-align: center;
}
#contact-button a {
    display: flex;
    width: 320px;
    height: 60px;
    flex-flow: column;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
    background: linear-gradient(to right, rgba(0,203,233,1) 0%, rgba(0,91,175,1) 100%);
    opacity: 1;
    transition: opacity 1s;
    font-size: 14px;
    letter-spacing: 0;
}
#contact-button a:hover{
    opacity: 0.7;
    transition: opacity 1s;
}
#contact-button a span {
    position: relative;
}
#contact-button a span::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    right: 15px;
    top: 50%;
    transform: translateY(-50%)rotate(-45deg);
}
#career-button {
    margin: 0 auto;
    text-align: center;
}
#career-button a {
    display: flex;
    width: 320px;
    height: 60px;
    flex-flow: column;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
    background: linear-gradient(to right, rgba(70,156,164,1) 0%, rgba(0,86,91,1) 100%);
    opacity: 1;
    transition: opacity 1s;
    font-size: 14px;
    letter-spacing: 0;
}
#career-button a:hover{
    opacity: 0.7;
    transition: opacity 1s;
}
#career-button a span {
    position: relative;
}
#career-button a span::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    right: 15px;
    top: 50%;
    transform: translateY(-50%)rotate(-45deg);
}
@media screen and (min-width:768px){
.flex-box {
    padding: 30px 30px 60px;
    width: calc(100% - 60px);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.flex-box li {
    margin-bottom: 7%;
    width: 47%;
}
.flex-box li:nth-child(7){
    width: 100%;
}
.flex-box li:nth-last-child(2){
    margin-bottom: 0;
}
}
@media screen and (min-width:960px){
.flex-box {
    padding: 30px 0 60px;
    width: 80%;
    margin: 0 auto;
}
#cta-button a {
    display: flex;
    width: 420px;
    height: auto;
    flex-flow: column;
    justify-content: center;
}
#contact-button a {
    display: flex;
    width: 420px;
    height: 70px;
    flex-flow: column;
    justify-content: center;
    font-size: 16px;
}
#career-button a {
    display: flex;
    width: 420px;
    height: 70px;
    flex-flow: column;
    justify-content: center;
    font-size: 16px;
}
}
@media screen and (min-width:1024px){
.flex-box {
    padding: 30px 0 60px;
    width: 100%;
    max-width: 960px;
}
}
@media screen and (min-width:1281px){
.flex-box {
    padding: 30px 0 60px;
    width: 100%;
    max-width: 1100px;
}
}
@media screen and (min-width:1441px){

}  