@charset "utf-8";
/* CSS Document */

@media screen and (min-width: 768px) {
    [class*="comm_btn"] {
        min-width: 14em;
    }
}
[class*="comm_btn"] {
    margin: 0.25em 0.1em;
}

/* == title == */
.cstm_ttlinner {
    max-width: 860px;
    max-height: 340px;
    width: 100%;
    height: 40vw;
    margin: auto;
    background: center no-repeat url("images/main-pc.jpg");
    background-size: cover;
}
.cstm_ttlinner h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    margin: -5% 0 0.5em 5%;
}
.cstm_ttllife {
    background: #f0002c;
    color: #ffffff;
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0 0 0 5%;
}

.cstm_ttlicon {
    margin: 10px 0 0 5%;
    max-width: 280px;
    width: 50%;
    font-size: 0px;
}
.cstm_ttlicon li {
    display: inline-block;
    width: 14%;
    margin: 0 1.5% 1.5% 0;
}


.cstm_pagettl {
    font-size: 36px;
    text-align: center;
    font-weight: bold;
}
.cstm_pagesubttl {
    text-align: center;
    color: #002C6A;
    font-weight: bold;
    font-size: 24px;
}

.cstm_subttl {
    text-align: center;
    color: #002C6A;
    font-weight: bold;
    font-size: 24px;
}



/* ## lead ## */
.cstm_pagelinkbox {
    text-align: center;
    padding: 1.5em;
}


/* ## body ## */
.cstm_textbox {
    padding-bottom: 1.5em;
}
.cstm_iconbox {
    text-align: left;
    font-size: 0;
}
.cstm_iconbox img {
    display: inline-block;
    margin: 0 0.5rem 1rem 0;
}

#seizou,
#kensetsu,
#tetsudo {
    margin-top: -2.5em;
    padding-top: 6em;
}


/* ## related items ## */
.cstm_relateditemsWrap { align-items: stretch; }
.cstm_relateditems { border: 1px solid #999999; overflow: hidden; }
@media screen and (min-width: 768px) {
    .cstm_relateditems:nth-child(even) { border-left: none; }
}
.cstm_relateditems_name {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.15em;
    background: #002C6A;
    padding: 0.5em;
    margin-left: -2em;
    margin-right: -2em;
}
.cstm_relateditems_img {
    display: block;
    text-align: center;
    padding-bottom: 1em;
}
.cstm_relateditems_img img {
    max-width: 90%;
    margin: auto;
}
.cstm_relateditems_disc {
    padding: 0 1em 1em 1em;
}
.cstm_relateditems_disc p {
    line-height: 1.4;
    padding-bottom: 1.4em;
}
.cstm_relateditems_disc strong {
    font-weight: bold;
    color: #002C6A;
}
.cstm_relateditems_iconlist {
    text-align: center;
    font-size: 0;
    max-width: 300px;
    margin: auto;
    padding-bottom: 1.5rem;
}
.cstm_relateditems_iconlist li {
    display: inline-block;
    width: 14%;
    margin: 0.2rem 1%;
}

.cstm_biglink {
    display: block;
    width: 100%;
    font-size: 1.15em;
    font-weight: bold;
    max-width: 640px;
    border: #002C6A 1px solid;
    border-radius: 4px;
    padding: 1.5em 10em 1.5em 1.5em;
    margin: auto;
    background: url("images/LZ-WA10+W1HS.png") right center no-repeat;
    background-size: 10em;
}


@media screen and (max-width: 767px) {
    /* == title == */
    .cstm_ttlinner {
        max-height: 100vh;
        height: 85vw;
        background-image: url("images/main-sp.jpg");
    }
    .cstm_ttlinner h1 {
        padding-top: 8%;
    }
    .cstm_ttlinner h2 {
        font-size: 4.5vw;
    }

    .cstm_pagettl {
        font-size: 6vw;
    }
    .cstm_pagesubttl {
        font-size: 3.6vw;
        letter-spacing: -0.02em;
    }
}


