@charset "utf-8";
/* ------------------------------------
    cont_header visual
------------------------------------ */
#pg_index .cont_header.visual{
    margin:0 0 90px;
}
#pg_index .cont_header.visual::after {
    width:45%;
    background:url(../img/header_bg_pc_left.png) no-repeat;
    background-size:cover;
}
#pg_index .cont_header.visual::before{
    position: absolute;
    content:"";
    background:url(../img/header_bg_pc_right.png) no-repeat center center;
    background-size:cover;
    right:0;
    width:55%;
    height:100%;
}
.cont_header.visual .wrap{
    margin-left:50px;
    display: inline-flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
}
.cont_header.visual p span{
    display: inline-block;
	border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent #fff;
	margin: 0 15px;
}

/* min-1281px */
@media only screen and (min-width: 1281px) {
    .cont_header.visual h1 .br-middle{
        display: none;
    }
}
/* 800px */
@media only screen and (max-width: 800px) {
    .cont_header.visual .wrap{
        margin:auto;
    }
}
/* 768px */
@media only screen and (max-width: 768px) {
    #pg_index .cont_header.visual{
        margin:0 0 30px;
    }
    #pg_index .cont_header.visual::before{
        background:url(../img/header_bg_mb_right.png) no-repeat right;
        width:100%;
    }
    #pg_index .cont_header.visual::after{
        width:50%;
    }
    .cont_header.visual h1 {
        font-size: 4rem;
        line-height:1.2;
    }
    .cont_header.visual p{
        width:auto;
    }
    .cont_header.visual p span{
        border-width: 6px 0 6px 11px;
    }
}
/* min-641px */
@media only screen and (min-width: 641px) {
    .cont_header.visual p br.sp{
        display: none;
    }
}
/* 640px */
@media only screen and (max-width: 640px) {
    #pg_index .cont_header.visual::before{
        width:50%;
        z-index: -2;
        background-position:center;
    }
    .cont_header.visual p span{
        margin-left: 0;
    }
}
/* 400px */
@media only screen and (max-width: 400px) {
    #pg_index .cont_header.visual::before{
        background:url(../img/header_bg_sp_right.png) no-repeat center;
    }
}

.base_wrap {
	width: 94%;
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	max-width: 1100px;
}

/* ------------------------------------
    cont_index
------------------------------------ */
.cont_index {
    display:grid;
    gap:20px;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    overflow: hidden;
}
.cont_index li {
    position: relative;
    text-align: center;
    font-weight: bold;
    padding-top: 100%;
    overflow: hidden;
}
.cont_index li a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content:end;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}
.cont_index li img{
    height:100%;
    transition: transform .6s ease;
}
.cont_index li:hover img{
    transform: scale(1.1);
}
.cont_index li p{
    align-items:flex-end;
    color: #fff;
    display: flex;
    justify-content:space-between;
    margin:0;
    font-size: 2rem;
    padding:15px 20px;
    position: absolute;
    width: 100%;
}
.cont_index li p::after{
    content:"";
    position: absolute;
    border-color: transparent transparent transparent #fff;
    border-width: 8px 0 8px 13px;
    border-style: solid;
    bottom:18px;
    right:20px;
    transition: 0.5s;
}
.cont_index li a:hover p::after{
    right:10px;
}

/* min-1081px */
@media (min-width: 1081px){
    .cont_index br.br-middle{
        display:none;
    }
}
/* 768px */
@media only screen and (max-width: 768px) {
    .cont_index{
        display: block;
    }
    .cont_index li{
        width: 100%;
        margin: 0 0 10px;
        padding-top:50%;
    }
    .cont_index li img{
        display: none;
    }
    .cont_index li:first-child {
        background: transparent url(../img/n01_sp.png) center center / cover no-repeat;
    }
    .cont_index li:nth-child(2) {
        background: transparent url(../img/n02_sp.png) center center / cover no-repeat;
    }
    .cont_index li:nth-child(3) {
        background: transparent url(../img/n03_sp.png) center center / cover no-repeat;
    }
    .cont_index li:nth-child(4) {
        margin-right: 0;
        background: transparent url(../img/n04_sp.png) center center / cover no-repeat;
    }
    .cont_index li::before{
        padding-top: 45%;
    }
    .cont_index li p{
        position: relative;
        font-size: 2rem;
    }
    .cont_index br.br-middle{
        display:none;
    }
}


/* ------------------------------------
    btn_area
------------------------------------ */
#pg_index .btn_area {
    justify-content: space-between;
    display: flex;
}
#pg_index .btn_area a{
    display: grid;
    grid-template-columns: 1fr 20%;
    align-items: center;
    padding:0 0 0 20px;
    margin:0;
    border-radius:0;
    background: var(--main-color);
    max-width:350px;
    width:100%;
    border: none;
    color:#fff;
    text-align: left;
    height:50px;
}
#pg_index .btn_area a::after{
    content:none;
}
#pg_index .btn_area a span{
    display: inline-block;
    width:100%;
    height: 100%;
    background: #acacac;
    position: relative;
    background-image: linear-gradient(to left, #acacac 0%, #acacac 50%, var(--main-color) 50%, var(--main-color) 100%);
    transition: background-position ease 0.4s;
    background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 200% auto;
}
#pg_index .btn_area a:hover span{
    background-position: 0 0;
}
#pg_index .btn_area a span::before{
    content: "";
    position: absolute;
    display: block;
    width: 25px;
    height: 5px;
    top: 50%;
    left:50%;
    transform: translate(-50% ,-50%) skew(45deg);
    border-bottom: 1px solid #fff;
    border-right: 2px solid #fff;
    transition: .3s;
}
#pg_index .btn_area a:hover span::before{
    left:55%;
    width:30px;
}

/* 1080px */
@media only screen and (max-width: 1080px) {
    #pg_index .btn_area{
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* 768px */
@media only screen and (max-width: 768px) {
    #pg_index .btn_area{
        gap:10px;
        margin: 30px auto 20px;
		flex-direction: column;
    }
    #pg_index .btn_area a {
        width: 100%;
        max-width: 100%;
    }
}
/* ------------------------------------
    btn_area end
------------------------------------ */


/* ------------------------------------
    print
------------------------------------ */
@media print{
    #pg_index .cont_header.visual::before{
        width:65%;
    }
    #pg_index .cont_header.visual::after{
        width:35%;
    }
    #pg_index .cont_header.visual h1 {
        font-size: 4rem;
    }
    #pg_index .btn_area{
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

}

