
/*以下はmain*/
h1 {
    margin: 10px 0;
}

.img-g {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: -20px;
    
}

.img-g > img {
    width: 40%;
    max-width: 500px;
}


/*　共通ナビゲーションメニュー*/
.cmn-nav {
    margin: 4.5em 0.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cmn-nav > a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    color: var(--main-color);
    padding: 13px 23px;
    border-bottom: #A8AFEE 1px solid;
    position: relative;
    width: 150px;
    max-width: 285px;
    margin: 0 10px;
    flex-basis: 250px;

}

.cmn-nav > a:last-child {
    border-bottom: none;     
}

.cmn-nav > a::after {
    content: url(nav.svg);
    display: block;
    position: absolute;
    padding-right: 5px;
    top: 30%;
    right: 0;
}

/* NRTeKの強み*/
#strong {
    background-color: var(--main-color);
    padding: 1em 0;
}

#strong > .str-wr > .in > p {
    font-size: 24px;
    width: fit-content;
    margin: 1em 1em 1em 0;
}

#strong > .str-wr > .in {
    margin: 1em 0.5em;
}

#strong > .str-wr > .in > p {
    margin: 2px 0;
    display: inline;
    background-color: var(--sub-color);
    line-height: 1.6;
    font-weight: bold;
} 

.text > p {
    color: var(--sub-color);
    margin: 1em 0.5em;
}

/* お客様の求める洗浄装置を洗浄機メーカーのプロとしてご提案 */
#suggest > .hg > h2 {
    color: var(--main-color);
    display: inline;
    border-bottom: var(--main-color) 3px solid;
    margin: 2em 0.5em;
}

.hg {
    margin: 2em 0.5em;
}

details {
    background-color: var(--main-color);
    position: relative;
    margin-bottom: 0.5em;
    max-width: 700px;
}

summary {
    color: var(--sub-color);
    list-style: none;
    padding: 30px 0px 30px 20px;
    width: 200px;
}

summary::after {
    content: url(zyu.svg);
    display: inline;
    position: absolute;
    top: 42px;
    right: 25px;
}

details[open] summary::after {
    content: "";
    display: inline;
    position: absolute;
    top: 53px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    transform: translateX(-50%);
}

.box {
    vertical-align: middle;
    border-top: var(--sub-color) 1px solid;
    padding-top: 70px;
    padding-bottom: 35px;
}

.cb {
    padding: 0 1em;
}
.box > .cb > div {
    width: 270px;
}

.box > .cb > div > span {
    font-weight: 800;
    display: inline;
    color: var(--main-color);
    background-color: var(--sub-color);
    font-size: 24px;
    width: 80%;
    line-height: 1.6;
}

.box > .cb > p {
    color: var(--sub-color);
}

.box > .cb > p > span {
    background-color: var(--sub-color);
    color: var(--main-color);
}

.box > img {
    width: 100%;
    min-width: 320px;
    max-width: 560px;
    margin: 2em auto;

}

.box > .a-box {
    width: fit-content;
    margin: 0 auto;
}

.box > .a-box > a {
    margin: 2em auto;
    background-color: var(--sub-color);
    color: #444444;
    font-weight: bold;
    padding: 20px 37px 20px 20px;
    position: relative;
}

.box > .a-box > a::after {
        content: url(.././yz.svg);
        color: black;
        display:block;
        position: absolute;
        top: 20px;
        right: 12px;
}

.btn-hover:hover {
    filter: brightness(0.5);
    transition: all 0.5s;
}

.grid-box > .grid-cb > div {
    width: 270px;
}

.grid-box > .grid-cb > div > span {
    font-weight: 800;
    display: inline;
    color: var(--main-color);
    background-color: var(--sub-color);
    font-size: 24px;
    width: 80%;
    line-height: 1.6;
}

.grid-box > .grid-cb > p {
    color: var(--sub-color);
}

.grid-box > .grid-cb > p > span {
    background-color: var(--sub-color);
    color: var(--main-color);
}

.grid-box > img {
    width: 100%;
    min-width: 320px;
    max-width: 560px;
    margin: 2em  auto;
}

.grid-box > .a-box {
    width: fit-content;
    margin: 0 auto;
}

.grid-box > .a-box > a {
    margin: 2em auto;
    background-color: var(--sub-color);
    color: #444444;
    font-weight: bold;
    padding: 20px 70px 20px 40px;
    position: relative;
}

.grid-box > .a-box > a::after {
        content: url(.././yz.svg);
        color: black;
        display:block;
        position: absolute;
        top: 20px;
        right: 12px;
}

.im1 {
    background-image: url(01.svg);
    background-position:top 15px right 0px;
    background-repeat: no-repeat;
}

.im2 {
    background-image: url(02.svg);
    background-position:top 15px right 0px;
    background-repeat: no-repeat;
}

.im3 {
    background-image: url(03.svg);
    background-position:top 15px right 0px;
    background-repeat: no-repeat;
}

.im4 {
    background-image: url(04.svg);
    background-position:top 15px right 0px;
    background-repeat: no-repeat;
}

.im5 {
    background-image: url(05.svg);
    background-position:top 15px left 250px;
    background-repeat: no-repeat;
}

.im6 {
    background-image: url(06.svg);
    background-position:top 15px right 0px;
    background-repeat: no-repeat;
}

@media(min-width:900px) {
    #strong > .str-wr > .in > p {
        font-size: 35px;
    }
}

/* お客様の求める洗浄装置を洗浄機メーカーのプロとしてご提案　PC版 */
.pc-ditails {
    background-color: var(--main-color);
    position: relative;
    margin-bottom: 0.5em;
    display: none;
}

.pc-sum {
    color: var(--sub-color);
    list-style: none;
    padding: 30px 0px 30px 20px;
    width: 200px;
}



@media(min-width:500px) {
    details {
        margin: 1em auto;
    }
}

@media(min-width:768px) {
    #suggest {
        background-color: var(--main-color);
    }

    .mobile {
        display: none;
    }

    .pc-ditails {
        display: block;
    }
    
    .box {
        border-top: none;
        display: grid;
        grid-template-areas: 
        "cont img"
        "btn img"
        ". img";
        gap: 20px;
        max-width: 1200px;
    }

    .cb {
        grid-area: cont;
        max-width: 540px;
    }

    .box > img {
        grid-area: img;
    }

    .box > .a-box {
        grid-area: btn;
        margin: 1em;
    }


    .grid-box {
        display: grid;
        grid-template-areas:
        "img2 cont2"
        "img2 btn2"
        "img2 .";
        gap: 20px;
        margin: 0 auto;
        max-width: 1200px;
    }

    .grid-cb {
        grid-area: cont2;
        max-width: 540px;
    }
    .grid-box > .a-box {
        grid-area: btn2;
        margin: 1em;
    } 

    .grid-box > img {
        grid-area: img2;
    }


    .im1 {
        background-position:   top 50px left 40%;
    }
    
    .im2 {
        background-position: top 17px right 2%;
    }

    .im3 {
        background-position:   top 85px left 35%;
    }

    .im4 {
        background-position: top 17px right 2%;
    }
}

@media(min-width:1000px) {
    .box {
        margin:  0em auto;
    }
    .box > .cb > div {
        width: 325px;
    }

    .box > .cb > div > span {
        font-size: 2em;
    }

    .grid-box > .grid-cb > div {
        width: 375px;
    }

    .grid-box > .grid-cb > div > span {
        font-size: 2em;
    }

    .box > .cb > .size {
        width: 400px;
    }

    .im1 {
        background-position:   top 80px left 350px;
    }

    .im2 {
        background-position: top 25px right 10%;
    }

    .im4 {
        background-position: top 25px right 10%;
    }

}

/* 納品までの流れ */

.de-h {
    margin: 1em 0.5em;
}

.de-h > h2 {
    color: var(--sub-color);
    background-color: var(--main-color);
    width: fit-content;
    padding: 10px
}

/* メンテナンスサービスについて */
#mainte > .hgd > hgroup {
    margin: auto auto;
    width: fit-content;
    padding-top: 45px;
}

.hgd {
    background-color:rgba(0,0,0,0.75);
    height: 220px;
}

.hgd > hgroup > h2 {
    display: inline;
    background-color: var(--main-color);
    color: var(--sub-color);
    margin: 0;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.6;
}

.box-m {
    max-width: 590px;
}


@media(min-width:600px) {
    .hgd > hgroup > h2 {
        padding: 10px 25px;
    }

    .hgd > hgroup > h2 br {
        display: none;
    }

    #mainte > .hgd > hgroup {
        padding-top: 40px;
    }
}

@media(min-width:768px) {
    .surv-wr {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 auto;
    }
}

@media(min-width:1300px) {
    .surv-wr {
        margin: 2em auto;
    }
}

.hgd > hgroup > p {
    margin: 1em auto;
    width: fit-content;
    color: var(--sub-color);
}

.box-m {
    margin: 2em 0.5em;
}

.box-m > h3 {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
    width: fit-content;
    margin: 0 auto;
    font-size: 24px;
    font-weight: bold;
}

.surv-wr {
    margin: 2em auto;
    max-width: 1300px;
}

.surv-wr > img {
    width: 100%;
    max-width: 640px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

#deve > h3 {
    color: var(--sub-color);
    background-color: var(--main-color);
    font-size: 32px;
    font-weight: bold;
    width: fit-content;
    margin: 1em auto;
    padding: 5px 10px;
}

.all-wr {
    background-color: var(--main-color);
    padding: 0.5em 0    ;
}


.wr-c {
    border: var(--sub-color) 2px solid;
    margin: 0 auto;
    width: 95%;
    padding: 4em 0;

}

.wr-c > h4 {
    color: var(--sub-color);
    font-size: 18px;
    width: fit-content;
    margin: 0 auto;
}

.wr-c > h4 > span {
    font-size: 32px;
}

.wr-c > p {
    color: var(--sub-color);
    margin: 1em 0.5em;
    max-width: 430px;
}

.wr-c > div {
    width: fit-content;
    margin: 3em auto;
}

.wr-c > div > a {
    margin: 4em auto;
    background-color: var(--sub-color);
    color: #444444;
    font-weight: bold;
    padding: 20px 70px 20px 30px;
    position: relative;
}

.wr-c > div > a::after{
    content: url(.././yz.svg);
    color: black;
    display: block;
    position: absolute;
    top: 20px;
    right: 12px;
}

/* お見積もりのご依頼 */
#estimate {
    margin: 5em 0;
}

#estimate > .dih > h4 {
    display: inline;
    background-color: var(--main-color);
    color: var(--sub-color);
    margin: 0;
    font-weight: bold;
    font-size: 32px;
    line-height: 1.6;
}
.dih {
    margin: 2em 0.5em;
}

.text-bo {
    margin: 1em 0.5em;
}

#estimate >  .esti-box img {
    width: 100%;
    max-width: 640px;
    grid-area: image;
}

#estimate > .esti-box .a-b > a {
    margin: 4em auto;
    background-color: var(--sub-color);
    color: #444444;
    font-weight: bold;
    padding: 20px 70px 20px 30px;
    position: relative;
    border: var(--main-color) 1.5px solid;
    border-left: 8px var(--main-color) solid;
}

.a-b {
    width: fit-content;
    margin: 2em auto;
    grid-area: btn;
}

#estimate > .esti-box .a-b > a::after{
    content: url(.././yz.svg);
    color: black;
    display: block;
    position: absolute;
    top: 20px;
    right: 12px;
}


.estimate > .esti-box .a-b > a:hover{
    color: white;
    background-color: var(--main-color);
    transition: all 0.5s;
}

.text-bo {
    grid-area: text;
}

@media(min-width:500px) {
    #estimate > .dih > h4 {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
}

@media(min-width:640px) {
    .fv > h1 {
        font-size: 50px;
    }
    .cmn-nav > a:last-child {
        border-bottom: 1px solid #A8AFEE;     
    }

    .str-wr {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .text {
        max-width: 450px;
    }

    .in {
        max-width: 540px;
    }

    #suggest > .hg  {
        max-width: 500px;
        margin: 3em auto;
    }

    #suggest > .hg > h2 {
        font-size: 32px;
    }

    details{
        visibility: none;
    }

    #estimate > .dih > h4 {
        font-size: 48px;
    }
}

@media(min-width:768px) {
    .esti-box {
        display: grid;
        grid-template-areas: 
        "text image"
        "btn image";
        max-width: 1100px;
        margin: 0 auto;
    }
}

/* 洗浄機の開発事例 */
#deve {
    margin: 5em 0;
}

.dev-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--main-color);
}

.wr-c {
    max-width: 600px;
    height: 225px;
}

@media(min-width:800px) {
    #deve > h3 {
        font-size: 48px;
        padding: 10px 40px;
    }
}