@charset "UTF-8";
/*-----------------------------------------------------
　共通
------------------------------------------------------*/
.p-top-sec-common {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 80px;
    position: relative;
}
.p-top-sec-common::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#dd122b), to(#0e1336));
    background-image: -webkit-linear-gradient(left, #dd122b 0%, #0e1336 100%);
    background-image: linear-gradient(to right, #dd122b 0%, #0e1336 100%);
}
.p-top-sec-common-in {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.p-top-sec-common-in h2.p-top-sec-common-in__h2 {
    width: 100%;
    margin: 0 auto 60px;
    padding-top: 70px;
    padding-left: 30px;
    border-left: 1px solid #dd122b;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 46px;
    font-weight: bold;
    color: #4d4d4d;
}
.p-top-sec-common-in h2.p-top-sec-common-in__h2 span {
    display: block;
    font-family: 'Comfortaa', cursive;
    font-size: 24px;
    font-weight: 300;
    color: #dd122b;
}
.p-top-sec-common-in p.p-top-sec-common-in__readtext {
    margin: 0 auto 40px;
    font-size: 1.85vw;
    font-weight: 500;
    text-align: center;
}
p.p-top-common-btn {
    width: 320px;
    margin: 40px auto 0;
}
p.p-top-common-btn a {
    display: block;
    width: 100%;
    padding: 16px 0 12px;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    border-radius: 10px;
    background: #dd122b;
    box-shadow: 0 5px 0 0 #96122b;
    transform: translate3d(0, -5px, 0);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
p.p-top-common-btn a:hover {
    box-shadow: 0 0px 0 0 #96122b;
    transform: translate3d(0, 5px, 0);
}
@media (min-width: 1400px) {
    .p-top-sec-common-in p.p-top-sec-common-in__readtext {
        font-size: 26px;
    }
}
@media (max-width: 599px) {
    .p-top-sec-common-in {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
    }
    .p-top-sec-common-in h2.p-top-sec-common-in__h2 {
        width: 100%;
        margin: 0 auto 8%;
        padding-top: 10%;
        padding-left: 5%;
        border-left: 1px solid #dd122b;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 8.4vw;
        font-weight: bold;
        color: #4d4d4d;
    }
    .p-top-sec-common-in h2.p-top-sec-common-in__h2 span {
        display: block;
        font-family: 'Comfortaa', cursive;
        font-size: 5.4vw;
        font-weight: 300;
        color: #dd122b;
    }
    .p-top-sec-common-in p.p-top-sec-common-in__readtext {
        margin: 0 auto 30px;
        font-size: 4vw;
        font-weight: 500;
        text-align: center;
    }
    p.p-top-common-btn {
        width: 90%;
        margin: 8% auto 0;
    }
    p.p-top-common-btn a {
        display: block;
        width: 100%;
        padding: 16px 0 12px;
        font-size: 4.6vw;
        font-weight: bold;
        text-align: center;
        color: #FFF;
        border-radius: 10px;
        background: #dd122b;
        box-shadow: 0 5px 0 0 #96122b;
        transform: translate3d(0, -5px, 0);
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    p.p-top-common-btn a:hover {
        box-shadow: 0 0px 0 0 #96122b;
        transform: translate3d(0, 5px, 0);
    }
}
/*-----------------------------------------------------
　MV
------------------------------------------------------*/
.p-top-mv {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.p-top-mv .p-top-mv__mov {
    width: 100%;
    /*padding-top: 56.25%;*/
    padding-top: 43%;
    position: relative;
    overflow: hidden;
}
.p-top-mv .p-top-mv__mov video {
    position: absolute;
    top: -16.25%;
    left: 0;
    width: 100%;
    height: auto;
}
.p-top-mv .p-top-mv-in {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(2, 126, 197, 0.10);
}
.p-top-mv .p-top-mv-in p.p-top-mv-in__copy {
    width: 100%;
    margin: 3% auto 14% 0;
    padding-left: 10%;
    font-size: 3.6vw;
    font-weight: 900;
    color: #0e1336;
    text-shadow: #FFF 0 0 8px;
    line-height: 1.5;
    padding-bottom: 0.8%;
}
.p-top-mv .p-top-mv-in p.p-top-mv-in__readtext {
	width:75%;
    padding-left:22%;
    font-size: 1.5vw;
    font-weight: bold;
    color: #0e1336;
    text-shadow: #FFF 0 0 10px;
}
.p-top-mv .p-top-mv-in p.p-top-mv-in__readimg{
	position: absolute;
	width:12%;
	left:8%;
	bottom:10%
}
.p-top-mv .p-top-mv-bnr{
    width: calc(24% - 0px);
    position: absolute;
    top: 8%;
    right: 0px;
    z-index: 10;
}
.p-top-mv .p-top-mv-bnr a img{
    display: block;
    width: 100%;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.p-top-mv .p-top-mv-bnr a:hover img{
    opacity: 0.7;
}

.p-top-mv ul.p-top-mv-contactbox {
    width: 24%;
    position: absolute;
    bottom: 11%;
    right: 0;
    z-index: 10;
}
.p-top-mv ul.p-top-mv-contactbox li {
    margin-bottom: 1px;
    display: flex;
    flex-direction: column;
}
.p-top-mv ul.p-top-mv-contactbox li a {
    display: block;
    width: 100%;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a {
    padding: 24px 0;
    background: #0e1336;
    border-radius: 10px 0 0 0;
    position: relative;
    transition: 0.3s ease-in-out;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a:hover {
    background: #dd122b;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a::before {
    display: inline-block;
    content: "";
    width: 2.8vw;
    height: 2.6vw;
    background: url("/wp-content/themes/cpi-web/assets/images/common/icon_mail.svg") no-repeat;
    background-size: 100%;
    position: absolute;
    top: calc((100% - 2.6vw)/2);
    left: 4%;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a::after {
    display: block;
    content: "";
    width: 10%;
    height: 1px;
    background: #FFF;
    position: absolute;
    top: 50%;
    right: 0;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a p.p-top-mv-contactbox__mail-text {
    padding-left: 19%;
    font-size: 2vw;
    font-weight: bold;
    color: #FFF;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a p.p-top-mv-contactbox__mail-text span {
    display: block;
    font-size: 1.5vw;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a {
    padding: 20px 0;
    background: #0e1336;
    border-radius: 0 0 0 10px;
    position: relative;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a::before {
    display: inline-block;
    content: "";
    width: 3vw;
    height: 3vw;
    background: url("/wp-content/themes/cpi-web/assets/images/common/icon_tel_ye.svg") no-repeat;
    background-size: 100%;
    position: absolute;
    top: calc((100% - 3.5vw)/2);
    left: 4%;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text {
    padding-left: 19%;
    font-family: 'Lato', sans-serif;
    font-size: 2.8vw;
    font-weight: 500;
    line-height: 1;
    color: #ff9800;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text span {
    display: block;
    font-weight: 500;
    color: #FFF;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text span.ttl {
    margin-bottom: 2%;
    font-size: 1.1vw;
    font-weight: bold;
}
.p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text span.date {
    margin-top: 4%;
    font-size: 1.4vw;
}
/*スクロールダウン*/
.p-top-mv-scrolldown {
    position: absolute;
    bottom: -50px;
    left: 50%;
    z-index: 5;
}
.p-top-mv-scrolldown:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -2.5px;
    z-index: 10;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e4001a;
    animation:
        circlemove 2.4s ease-in-out infinite, cirlemovehide 2.4s ease-out infinite;
}
.p-top-mv-scrolldown:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 100px;
    background: #0e1336;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
    0% {
        bottom: 100px;
    }
    100% {
        bottom: 0;
    }
}
@keyframes circlemoveSP {
    0% {
        bottom: 60px;
    }
    100% {
        bottom: 0;
    }
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
    0% {
        opacity: 0
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}
@media (max-width: 1000px) {
    .p-top-mv .p-top-mv-bnr{
        width: calc(24% - 0px);
        position: absolute;
        top: 5%;
        right: 0px;
        z-index: 10;
    }
}
@media (max-width: 880px) {
    .p-top-mv ul.p-top-mv-contactbox {
        width: 24%;
        position: absolute;
        bottom: 6%;
        right: 0;
        z-index: 10;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a {
        padding: 14px 0;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a {
        padding: 14px 0;
    }
}
@media (max-width: 599px) {
    .p-top-mv .p-top-mv__mov {
        width: 100%;
        padding-top: 56.25%;
        position: relative;
        overflow: hidden;
    }
    .p-top-mv .p-top-mv__mov video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .p-top-mv .p-top-mv-in {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        background: rgba(2, 126, 197, 0.10);
    }
    .p-top-mv .p-top-mv-in p.p-top-mv-in__copy {
        width: 100%;
        margin: 4.5% auto 12.5% 0;
        padding-left: 0;
        font-size: 4.8vw;
        font-weight: 900;
        color: #0e1336;
        text-shadow: #FFF 0 0 8px;
        line-height: 1.4;
        text-align: center;
    }
    .p-top-mv .p-top-mv-in p.p-top-mv-in__readtext {
		width:95%;
		padding-left: 28%;
        /*padding-left: 0;*/
        font-size: 2.7vw;
        font-weight: bold;
        color: #0e1336;
        text-shadow: #FFF 0 0 10px;
        /*text-align: center;*/
        letter-spacing: -0.02rem;
    }
	.p-top-mv .p-top-mv-in p.p-top-mv-in__readimg{
		position: absolute;
		width:20vw;
		left:4vw;
		bottom:auto;
		top:31vw;
	}

    .p-top-mv .p-top-mv-bnr{
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 10;
    }
    .p-top-mv ul.p-top-mv-contactbox {
        width: 100%;
        position: relative;
        display: flex;
        justify-content: space-between;
    }
    .p-top-mv ul.p-top-mv-contactbox li {
        width: calc((100% - 1px)/2);
        margin-bottom: 0;
        display: flex;
        flex-direction: row;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a, .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a {
        display: flex;
        align-items: center;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a {
        padding: 2% 0 0;
        background: #0e1336;
        border-radius: 0 0 0 0;
        position: relative;
        transition: 0.3s ease-in-out;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a::before {
        display: inline-block;
        content: "";
        width: 7.0vw;
        height: 6.8vw;
        background: url("/wp-content/themes/cpi-web/assets/images/common/icon_mail.svg") no-repeat;
        background-size: 100%;
        position: absolute;
        top: calc((100% - 6.8vw)/2);
        left: 5%;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a::after {
        display: none;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a p.p-top-mv-contactbox__mail-text {
        padding-left: 24%;
        font-size: 4.8vw;
        font-weight: bold;
        color: #FFF;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__mail a p.p-top-mv-contactbox__mail-text span {
        display: block;
        font-size: 3.5vw;
        line-height: 1.2;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a {
        padding: 20px 0 16px;
        background: #0e1336;
        border-radius: 0 0 0 0;
        position: relative;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a::before {
        display: inline-block;
        content: "";
        width: 7vw;
        height: 7vw;
        background: url("/wp-content/themes/cpi-web/assets/images/common/icon_tel_ye.svg") no-repeat;
        background-size: 100%;
        position: absolute;
        top: calc((100% - 7vw)/2);
        left: 4%;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text {
        padding-left: 20%;
        font-family: 'Lato', sans-serif;
        font-size: 5.6vw;
        font-weight: 500;
        line-height: 1;
        color: #ff9800;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text span {
        display: block;
        font-weight: 500;
        color: #FFF;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text span.ttl {
        margin-bottom: 4%;
        font-size: 1.1vw;
        font-weight: bold;
    }
    .p-top-mv ul.p-top-mv-contactbox li.p-top-mv-contactbox__tel a p.p-top-mv-contactbox__tel-text span.date {
        margin-top: 4%;
        font-size: 3.0vw;
    }
    /*スクロールダウン*/
    .p-top-mv-scrolldown {
        position: absolute;
        /*bottom: 56%;*/
        bottom: 72%;
        left: 97%;
        z-index: 5;
    }
    .p-top-mv-scrolldown:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: -2.5px;
        z-index: 10;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #e4001a;
        animation:
            circlemoveSP 2.4s ease-in-out infinite, cirlemovehideSP 2.4s ease-out infinite;
    }
    .p-top-mv-scrolldown:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 1px;
        height: 60px;
        background: #0e1336;
    }
}
/*-----------------------------------------------------
　NEWS
------------------------------------------------------*/
.p-top-news-wrap {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
    display: flex;
}
.p-top-news-wrap .p-top-news-wrap__head {
    width: 26%;
    padding: 20px;
    background: linear-gradient(to left, #1f1f25 0%, #1e2336 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in {
    width: 100%;
}
.p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in h3 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #FFF;
}
.p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in h3 span {
    display: block;
    font-size: 18px;
    font-weight: 300;
    color: #dd122b;
}
.p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in p.p-top-news-wrap__head__btn {
    width: 68%;
    margin: 20px auto 0;
}
.p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in p.p-top-news-wrap__head__btn a {
    display: block;
    width: 100%;
    padding: 2px 0 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #ff9800;
    border: 1px solid #ff9800;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
}
.p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in p.p-top-news-wrap__head__btn a:hover {
    color: #FFF;
    background: #ff9800;
}
.p-top-news-wrap .p-top-news-wrap__main {
    width: 74%;
    padding: 12px 30px;
    background: #FFF;
}
.p-top-news-wrap .p-top-news-wrap__main ul li {
    width: 100%;
    padding: 0 20px;
    border-bottom: 1px solid #e7e7e7;
}
.p-top-news-wrap .p-top-news-wrap__main ul li:last-child {
    border-bottom: none;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a {
    width: 100%;
    padding: 18px 0;
    color: #4d4d4d;
    display: flex;
    align-items: flex-start;
    transition: 0.3s ease-in-out;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a:hover {
    opacity: 0.6;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-date {
    width: 80px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: bold;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-tag {
    width: 100px;
    margin-right: 20px;
    padding: 3px 0 0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    border-radius: 20px;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-tag.info {
    color: #dd122b;
    border: 1px solid #dd122b;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-tag.event {
    color: #ff9800;
    border: 1px solid #ff9800;
}
.p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-text {
    width: calc(100% - 220px);
    font-size: 14px;
}
@media (max-width: 599px) {
    /*@media (max-width: 768px) {*/
    .p-top-news-wrap {
        width: 100%;
        margin: 0 auto;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        display: block;
    }
    .p-top-news-wrap .p-top-news-wrap__head {
        width: 100%;
        padding: 20px 5%;
        background: linear-gradient(to left, #1f1f25 0%, #1e2336 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in {
        width: 100%;
    }
    .p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in h3 {
        font-size: 6.8vw;
        font-weight: bold;
        text-align: center;
        color: #FFF;
    }
    .p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in h3 span {
        display: block;
        font-size: 4.8vw;
        font-weight: 300;
        color: #dd122b;
    }
    .p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in p.p-top-news-wrap__head__btn {
        /*width: 68%;*/
        width: 180px;
        margin: 6px auto 0;
    }
    .p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in p.p-top-news-wrap__head__btn a {
        display: block;
        width: 100%;
        padding: 2px 0 0;
        font-size: 3.5vw;
        font-weight: 600;
        text-align: center;
        color: #ff9800;
        border: 1px solid #ff9800;
        border-radius: 100px;
        transition: 0.3s ease-in-out;
    }
    .p-top-news-wrap .p-top-news-wrap__head .p-top-news-wrap__head-in p.p-top-news-wrap__head__btn a:hover {
        color: #FFF;
        background: #ff9800;
    }
    .p-top-news-wrap .p-top-news-wrap__main {
        width: 100%;
        padding: 12px 5%;
        background: #FFF;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li {
        width: 100%;
        padding: 0 10px;
        border-bottom: 1px solid #e7e7e7;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li:last-child {
        border-bottom: none;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a {
        width: 100%;
        padding: 18px 0;
        color: #4d4d4d;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        transition: 0.3s ease-in-out;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a:hover {
        opacity: 0.6;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-date {
        width: 28%;
        margin-right: 3%;
        font-size: 4.0vw;
        font-weight: bold;
        line-height: 1.8;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-tag {
        width: 36%;
        margin-right: 0;
        padding: 2px 0 0;
        font-size: 3.5vw;
        font-weight: 500;
        text-align: center;
        border-radius: 100px;
        line-height: 1.5;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-tag.info {
        color: #dd122b;
        border: 1px solid #dd122b;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-tag.event {
        color: #ff9800;
        border: 1px solid #ff9800;
    }
    .p-top-news-wrap .p-top-news-wrap__main ul li a p.p-top-news-wrap__main-text {
        width: 100%;
        margin-top: 12px;
        font-size: 3.5vw;
    }
}
/*-----------------------------------------------------
　サービス
------------------------------------------------------*/
.p-top-service-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.p-top-service-wrap .p-top-service-wrap__main {
    width: calc((100% - 60px)/3); 
	/*width: calc((100% - 60px)/4);*/
    margin-right: 20px;
    margin-bottom: 30px;
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
    display: flex;
    flex-direction: column;
}
.p-top-service-wrap .p-top-service-wrap__main:last-child {
    margin-right: 0;
}
.p-top-service-wrap__main .p-top-service-wrap__main-imgbox {
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px 24px;
    background: linear-gradient(to bottom, #1f1f25 0%, #1e2336 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.p-top-service-wrap__main .p-top-service-wrap__main-imgbox figure {
    width: 40%;
    margin: 0 auto 10px;
}
.p-top-service-wrap__main .p-top-service-wrap__main-imgbox p {
    width: 100%;
    font-size: 1.55vw;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    line-height: 1.5;
}
.p-top-service-wrap__main .p-top-service-wrap__main-textbox {
    width: 100%;
    margin: 0 auto;
    padding: 30px 5px;
    font-size: 1.11vw;
    text-align: center;
}
.p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn {
    width: 180px;
    margin: 20px auto 0;
}
.p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn a {
    display: block;
    width: 100%;
    padding: 2px 0 0;
    font-size: 1.11vw;
    text-align: center;
    color: #dd122b;
    border-radius: 20px;
    border: 1px solid #dd122b;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn a:hover {
    color: #FFF;
    background: #dd122b;
}
.p-top-service-wrap .p-top-service-wrap__sub {
    width: calc((100% - 80px)/5);
    margin-bottom: 20px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
}
.p-top-service-wrap .p-top-service-wrap__sub:nth-child(5n) {
    margin-right: 0;
}
.p-top-service-wrap .p-top-service-wrap__sub a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 30px 10px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.p-top-service-wrap .p-top-service-wrap__sub a:hover {
    /*transform: translateY(-6px);*/
    transform: translate3d(0, -10px, 0)
}
.p-top-service-wrap .p-top-service-wrap__sub a figure {
    width: 34%;
    margin: 0 auto 20px;
}
.p-top-service-wrap .p-top-service-wrap__sub a p {
    font-size: 1.11vw;
    font-weight: 500;
    text-align: center;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.p-top-service-wrap .p-top-service-wrap__sub a:hover p {
    color: #dd122b;
}
@media (min-width: 1400px) {
    .p-top-service-wrap__main .p-top-service-wrap__main-imgbox p {
        font-size: 22px;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox {
        font-size: 16px;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn a {
        font-size: 16px;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a p {
        font-size: 15.5px;
    }
}
@media (max-width: 870px) {
    .p-top-service-wrap .p-top-service-wrap__main {
		width: calc((100% - 15px)/2);
        margin-right: 15px;
        margin-bottom: 15px;
        background: #FFF;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        display: flex;
        flex-direction: column;
    }
	.p-top-service-wrap .p-top-service-wrap__main:nth-child(2) {
		margin-right: 0;
	}
	.p-top-service-wrap__main .p-top-service-wrap__main-imgbox figure {
		width: 20%;
		margin: 0 auto 10px;
	}
    .p-top-service-wrap__main .p-top-service-wrap__main-imgbox {
        width: 100%;
        margin: 0 auto;
        padding: 30px 10px 24px;
        background: linear-gradient(to bottom, #1f1f25 0%, #1e2336 100%);
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn {
        width: 80%;
        margin: 20px auto 0;
    }
    .p-top-service-wrap .p-top-service-wrap__sub {
        width: calc((100% - 40px)/5);
        margin-bottom: 10px;
        margin-right: 10px;
        display: flex;
        flex-direction: column;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a {
        display: block;
        width: 100%;
        height: 100%;
        padding: 20px 10px;
        border-radius: 10px;
        background: #FFF;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a figure {
        width: 50%;
        margin: 0 auto 20px;
    }
}
@media (max-width: 599px) {
    .p-top-service-wrap.block {
        display: block;
    }
    .p-top-service-wrap .p-top-service-wrap__main {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        background: #FFF;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        display: block;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-imgbox {
        width: 100%;
        margin: 0 auto;
        padding: 20px 5% 14px;
        background: linear-gradient(to bottom, #1f1f25 0%, #1e2336 100%);
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-imgbox figure {
        width: 30%;
        margin: 0 auto 10px;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-imgbox p {
        width: 100%;
        font-size: 3.8vw;
        font-weight: bold;
        text-align: center;
        color: #FFF;
        line-height: 1.5;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox {
        width: 100%;
        margin: 0 auto;
        padding: 20px 5%;
        font-size: 3.5vw;
        text-align: center;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn {
        width: 180px;
        margin: 10px auto 0;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn a {
        display: block;
        width: 100%;
        padding: 2px 0 0;
        font-size: 3.5vw;
        text-align: center;
        color: #dd122b;
        border-radius: 100px;
        border: 1px solid #dd122b;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .p-top-service-wrap__main .p-top-service-wrap__main-textbox p.p-top-service-wrap__main-textbox__btn a:hover {
        color: #FFF;
        background: #dd122b;
    }
    .p-top-service-wrap .p-top-service-wrap__sub {
        /*width: calc((100% - 20px)/3);*/
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
        /*margin-right: 10px;
        display: flex;
        flex-direction: column;*/
        display: block;
    }
    .p-top-service-wrap .p-top-service-wrap__sub:nth-child(5n) {
        /*margin-right: 10px;*/
        margin-right: 0;
    }
    .p-top-service-wrap .p-top-service-wrap__sub:nth-child(3n) {
        margin-right: 0;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a {
        /*display: block;*/
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 4% 4%;
        border-radius: 10px;
        background: #FFF;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a:hover {
        /*transform: translateY(-6px);*/
        transform: translate3d(0, -6px, 0)
    }
    .p-top-service-wrap .p-top-service-wrap__sub a figure {
        width: 16%;
        margin: 0 4% 0 0;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a p {
        width: 80%;
        font-size: 3.5vw;
        font-weight: 500;
        text-align: left;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .p-top-service-wrap .p-top-service-wrap__sub a:hover p {
        color: #dd122b;
    }
}
/*-----------------------------------------------------
　強み
------------------------------------------------------*/
.p-top-strengths-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.p-top-strengths-wrap .p-top-strengths-wrap__main {
    width: calc((100% - 60px)/3);
    margin-right: 30px;
    margin-bottom: 30px;
    background: #f2f2f2;
    box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.p-top-strengths-wrap .p-top-strengths-wrap__main:nth-child(3n), .p-top-strengths-wrap .p-top-strengths-wrap__main:last-child {
    margin-right: 0;
}
.p-top-strengths-wrap .p-top-strengths-wrap__main:nth-last-child(-n+2) {
    margin-bottom: 20px;
}
.p-top-strengths-wrap__main figure {
    width: 100%;
    margin: 0 auto;
    padding: 40px 15%;
    background: #FFF;
    border-radius: 10px 10px 0 0;
}
.p-top-strengths-wrap__main .p-top-strengths-wrap__main-textbox {
    width: 100%;
    margin: 0 auto;
    padding: 18px 10px;
    font-size: 1.3vw;
    font-weight: bold;
    text-align: center;
    color: #4d4d4d;
}
@media (min-width: 1400px) {
    .p-top-strengths-wrap__main .p-top-strengths-wrap__main-textbox {
        font-size: 18px;
    }
}
@media (max-width: 870px) {
    .p-top-strengths-wrap .p-top-strengths-wrap__main {
        width: calc((100% - 30px)/3);
        margin-right: 15px;
        margin-bottom: 15px;
        background: #f2f2f2;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
    }
}
@media (max-width: 599px) {
    .p-top-strengths-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main {
        width: calc((100% - 10px)/2);
        margin-right: 10px;
        margin-bottom: 10px;
        background: #f2f2f2;
        box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
        border-radius: 10px;
        display: flex;
        flex-direction: column;
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main:first-child {
        width: 100%;
        margin-right: 0;
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main:nth-child(3n), .p-top-strengths-wrap .p-top-strengths-wrap__main:last-child {
        margin-right: 0;
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main:nth-last-child(-n+2) {
        margin-bottom: 10px;
    }
    .p-top-strengths-wrap__main figure {
        width: 100%;
        margin: 0 auto;
        padding: 20px 10%;
        background: #FFF;
        border-radius: 10px 10px 0 0;
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main:first-child figure {
        width: 100%;
        margin: 0 auto;
        padding: 20px 10% 0;
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main:first-child figure img {
        width: 60%;
        margin: 0 auto;
    }
    .p-top-strengths-wrap__main .p-top-strengths-wrap__main-textbox {
        width: 100%;
        margin: 0 auto;
        padding: 10px 7%;
        font-size: 3.4vw;
        font-weight: bold;
        text-align: center;
        color: #4d4d4d;
        background: #f2f2f2;
        border-radius: 0 0 10px 10px;
        /*word-break: break-all;*/
    }
    .p-top-strengths-wrap .p-top-strengths-wrap__main:first-child .p-top-strengths-wrap__main-textbox {
        padding: 20px 5%;
        font-size: 3.8vw;
    }
}



/*-----------------------------------------------------
　 blog リンク
------------------------------------------------------*/
.p-top-blog-wrap {
    width: 100%;
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}
.p-top-blog-wrap .p-top-blog-wrap__main {
    width: calc((100% - 3%)/2); 
    margin-bottom: 20px;
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(177, 177, 188, 0.75);
    display: flex;
}
.p-top-blog-wrap .p-top-blog-wrap__main:nth-child(even){
    margin-right: 0;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-imgbox {
    width: 38.8%;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-imgbox figure{
	position: relative;
	width:100%;
	height:100%;
	padding-top: 66.5%;
    background: linear-gradient(to bottom, #1f1f25 0%, #1e2336 100%);
	background: #ccc;
	overflow: hidden
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-imgbox figure img{
	position: absolute;
	min-width:100%;
	min-height:100%;
	top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
	object-fit: cover;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-textbox {
    width: 61.2%;
    margin: 0 auto;
	padding: 2em 0.3em;
    font-size: 1.25vw;
    text-align: center;
	display: flex;
	flex-direction: column;
	align-content: space-between;
	align-items: center;
	justify-content: space-between;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-textbox span{
	font-size: 0.8em;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn {
    width: 180px;
    margin: 20px auto 0;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn a {
    display: block;
    width: 100%;
    padding: 2px 0 0;
    font-size: 1.11vw;
    text-align: center;
    color: #dd122b;
    border-radius: 20px;
    border: 1px solid #dd122b;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn a:hover {
    color: #FFF;
    background: #dd122b;
}



@media (min-width: 1400px) {
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox {
        font-size: 14px;
    }
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn a {
        font-size: 16px;
    }
}
@media (max-width: 870px) {
    .p-top-blog-wrap .p-top-blog-wrap__main {
        margin-bottom: 15px;
    }
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn {
        width: 80%;
        margin: 20px auto 0;
    }
}
@media (max-width: 599px) {
    .p-top-blog-wrap.block {
        display: block;
    }
    .p-top-blog-wrap .p-top-blog-wrap__main {
        width: 100%;
    }
	
	.p-top-blog-wrap__main .p-top-blog-wrap__main-imgbox {
    width: 33%;
}
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox {
		width: 67%;
        font-size: 2.8vw;
    }
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn {
        width: 180px;
        margin: 10px auto 0;
    }
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn a {
        display: block;
        width: 100%;
        padding: 2px 0 0;
        font-size: 3.5vw;
        text-align: center;
        color: #dd122b;
        border-radius: 100px;
        border: 1px solid #dd122b;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .p-top-blog-wrap__main .p-top-blog-wrap__main-textbox p.p-top-blog-wrap__main-textbox__btn a:hover {
        color: #FFF;
        background: #dd122b;
    }
}
