@charset "utf-8";

/* ------------------------------------
    cont_header visual
------------------------------------ */
.cont_header.visual {
    height: 290px;
    margin:0 auto 90px;
}
.cont_header.visual::after{
    background:#242424 url(../img/header_bg_pc.jpg) no-repeat center;
    background-size: contain;
}
/* 1372px */
@media only screen and (max-width:1372px) {
    .cont_header.visual::after{
        background-size: contain;
        background-color:transparent;
    }
}
/* 768px */
@media only screen and (max-width: 768px) {
    .cont_header.visual {
        margin: 0 0 40px;
    }
    .cont_header.visual::after{
        background:url(../img/header_bg_md.jpg) no-repeat center;
        background-size: contain;
    }
}
/* 480px */
@media only screen and (max-width: 480px) {
    .cont_header.visual{
        height: 145px;
        background: #242424;
        z-index: -1;
    }
}
/* 400px */
@media only screen and (max-width: 400px) {
    .cont_header.visual{
        height: 290px;
        background: transparent;
    }
    .cont_header.visual::after{
        background:url(../img/header_bg_sp.jpg) center no-repeat;
        background-size:contain;
    }
}
/* ------------------------------------
    cont_header visual end
------------------------------------ */



/* ------------------------------------
    main
------------------------------------ */
#pg_index section {
    margin: 0 auto 90px;
    font-size: 1.8rem;
}
.base_wrap {
	width: 94%;
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
}
/* ------------------------------------
    main end
------------------------------------ */



/* ------------------------------------
    cont_index
------------------------------------ */
.cont_index {
    gap:25px;
    justify-content:center;
    display: grid;
    grid-template-columns: repeat(3, max(260px));
}
.cont_index li {
    display: flex;
    position: relative;
    text-align: center;
}
.cont_index li a {
    display: flex;
    flex-direction: column;
    color:var(--main-color);
    gap:20px;
}
.cont_index li img{
    height:212px;
    width:100%;
    object-fit: cover;
    display:block;
}
/* 768px */
@media only screen and (max-width: 768px) {
    .cont_index{
        display: block;
    }
    .cont_index li{
        width: 100%;
        margin: 0 0 20px;
    }
    .cont_index li::before{
        padding-top: 45%;
    }
    .cont_index li img{
        height:auto;
    }
    .cont_index li a{
        align-items: flex-start;
        gap:10px;
    }
}
/* ------------------------------------
    cont_index end
------------------------------------ */


/* ------------------------------------
    btn_area
------------------------------------ */
.btn_area.three_column{
    display: flex;
    gap:25px;
    margin: 60px auto 0;
}
.btn_area.three_column a{
    font-size: 1.5rem;
    line-height: 2;
}
/* 1100px */
@media only screen and (max-width:1100px) {
    .btn_area.three_column{
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* 768px */
@media only screen and (max-width: 768px) {
    .btn_area.three_column{
        gap:10px;
        margin:40px auto 0;
    }
    .btn_area.three_column a {
        width: 100%;
        max-width:80%;
        margin: 5px 0;
    }
}
/* 400px */
@media only screen and (max-width: 400px) {
    .btn_area.three_column a {
        max-width:100%;
    }
}
/* ------------------------------------
    btn_area end
------------------------------------ */



/* ------------------------------------
    print
------------------------------------ */
@media print{
    .cont_header.visual {
        height: 220px;
    }
    .btn_area.three_column{
        flex-wrap: wrap;
        justify-content: center;
    }
}


