@charset "UTF-8";
/*================================================
メインビジュアル
================================================*/
.mainv {
    background: no-repeat center / cover url("../img/mainv.jpg");
    padding: 56px 10px 280px;
    text-align: center;
}
.mainvTtl__lead{
    justify-content: center;
    gap: 12px;
}
.mainvTtl__lead-item {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 2rem;
    color: #015A78;
    font-weight: bold;
    padding: 4px 16px;
}
.mainvTtl__lead-item::before {
    transform: skewX(-30deg);
    content: ""; 
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    z-index: -1;
    background-color:#fff;
}
.mainv h1 {
    color: #fff;
    font-size: 4rem;
    margin-top: 44px;
}
.mainv h1 .bgTxt {
    font-size: 5.6rem;
    color: #fff;
}
@media screen and (max-width: 768px) {
    .mainv {
        padding: 30px 15px 140px;
        background: no-repeat center bottom / cover url(../img/mainv_sp.jpg);
    }
    .mainvTtl__lead {
        display: flex;
        gap: 8px;
    }
    .mainvTtl__lead-item {
        font-size: 1.4rem;
        padding: 4px 6px;
    }
    .mainvTtl__lead-item::before {
        transform: skewX(-20deg);
    }
    .mainv h1 {
        font-size: 2.4rem;
        margin-top: 20px;
    }
    .mainv h1 .bgTxt {
        font-size: 3.2rem;
    }
}
/*================================================
ログイン
================================================*/
.phcLogin {
    width: 27%;
    background: #015A78;
    padding: 44px 40px;
    position: relative;
}
.phcLogin::before,.phcLogin::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    border-bottom: 14px solid #0092C1;
    border-top: 0;
    transform: rotate(315deg);
}
.phcLogin::before {
    top: -2px;
    left: -9px;
}
.phcLogin::after {
    transform: rotate(135deg);
    bottom: -2px;
    right: -9px;
}
.phcLogin p {
    color: #fff;
    font-weight: bold;
    margin-bottom: 16px;
}
.phcLogin__ttl {
    font-size: 2rem;
}
@media screen and (max-width: 768px) {
    .phcLogin {
        width: 100%;
        padding: 30px 20px;
    }
    .phcLogin__ttl {
        font-size: 1.8rem;
    }
}
/*================================================
「プレハブ住宅建築」のお客様満足向上をめざして
================================================*/
.explanation {
    padding-top: 20px;
}
.explanation__box {
    align-items: center;
    margin-bottom: 180px;
}
.container__txt {
    width: 58%;
}
.container__txt h2 {
    font-size: 3.6rem;
    margin-bottom: 40px;
}
.container__img {
    width: 38%;
}
.explanation__btn-item {
    width: calc((100% / 3) - 20px);
    border: 1px solid #005B78;
    padding: 54px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.explanation__btn-number {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
    font-weight: bold;
    font-size: 4rem;
    padding: 12px 26px;
}
.explanation__btn-number::before {
    transform: skewX(-20deg);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-color: #005B78;
}
.explanation__btn-item h3 {
    font-size: 2rem;
    margin: 20px auto 10px 0;
    text-align: left;
}
.explanation__btn-item p {
    flex-grow: 1;
    margin-bottom: 20px;
}
@media screen and (max-width: 768px){
    .container__txt,.container__img {
        width: 100%;
    }
    .explanation__box {
        margin-bottom:  120px;
    }
    .container__txt {
        margin-bottom: 20px;
    }
    .container__txt h2 {
        font-size: 2.6rem;
        margin-bottom: 20px;
    }
    .explanation__btn-item {
        width: 100%;
        padding: 32px 20px 19px;
        margin-bottom: 80px;
    }
    .explanation__btn-item:last-child {
        margin-bottom: 0;
    }
    .explanation__btn-number {
        font-size: 2.6rem;
        padding: 10px 16px;
        top: -44px;
    }
    .explanation__btn-item h3 {
        font-size: 1.8rem;
    }
}