@charset "utf-8";

/*! legal pages (privacy policy 等) : main.css を前提とした追加スタイル */

/* header
------------------------------------------------------------ */
.legal-head {
    padding: 0 120px;
}

.legal-head_cw {
    background: #fff;
    box-shadow: 0px 0px 50px #00000029;
    margin: auto;
    height: 100px;
    padding: 0 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.legal-head_logo a {
    display: inline-block;
    line-height: 0;
}

.legal-head_logo img {
    height: 60px;
    width: auto;
}

.legal-head_nav a {
    color: #000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.legal-head_nav a::before {
    content: "";
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -8px;
    background: #000;
    transform: scale(0);
    transform-origin: left;
    transition: all 300ms 0s ease;
}

.legal-head_nav a:hover::before {
    transform: scale(1);
}

/* layout
------------------------------------------------------------ */
.legal-wrap {
    padding: 60px;
}

.legal-main {
    background: #fff;
    padding: 80px 120px;
}

.legal-inner {
    max-width: 900px;
    margin: auto;
    color: #000;
}

.legal-line {
    width: 60px;
    height: 10px;
    background: #000;
    margin: 30px 0;
}

/* title
------------------------------------------------------------ */
.legal-eyebrow {
    font-family: 'cera', sans-serif;
    font-size: 50px;
    font-weight: bold;
    line-height: 1.1;
    margin: 0;
}

.legal-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
    margin: 20px 0 0;
}

.legal-lead {
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

/* article
------------------------------------------------------------ */
.legal-sec {
    margin-top: 50px;
}

.legal-sec h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 15px;
}

.legal-sec p {
    font-size: 14px;
    line-height: 2;
    margin: 0 0 1em;
}

.legal-sec p:last-child {
    margin-bottom: 0;
}

.legal-sec a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.legal-sec a:hover {
    opacity: 0.6;
}

.legal-term {
    font-weight: 600;
}

/* list */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: legal-item;
    font-size: 14px;
    line-height: 2;
}

.legal-list > li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 0.6em;
    counter-increment: legal-item;
}

.legal-list > li:last-child {
    margin-bottom: 0;
}

.legal-list > li::before {
    content: counter(legal-item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

/* definition list */
.legal-dl {
    display: grid;
    grid-template-columns: 7em 1fr;
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

.legal-dl dt {
    font-weight: 600;
}

.legal-dl dd {
    margin: 0;
}

/* footer of the document
------------------------------------------------------------ */
.legal-date {
    margin-top: 60px;
    font-size: 14px;
    line-height: 2;
    font-weight: 600;
}

.legal-back {
    margin-top: 60px;
}

.legal-back a {
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border: solid 3px #000;
    border-radius: 60px;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 300ms 0s ease;
}

.legal-back a:hover {
    background: #000;
    color: #fff;
}

/* responsive
------------------------------------------------------------ */
@media( max-width:1049.98px ){
    .legal-head {
        padding: 0;
    }

    .legal-head_cw {
        padding: 0 30px;
    }

    .legal-wrap {
        padding: 30px;
    }

    .legal-main {
        padding: 50px 40px;
    }

    .legal-eyebrow {
        font-size: 35px;
    }

    .legal-title {
        font-size: 20px;
    }
}

@media(max-width: 767.98px){
    .legal-head_cw {
        height: 60px;
        padding: 0 20px;
    }

    .legal-head_logo img {
        height: 40px;
    }

    .legal-head_nav a {
        font-size: 11px;
    }

    .legal-wrap {
        padding: 20px;
    }

    .legal-main {
        padding: 40px 20px;
    }

    .legal-line {
        width: 40px;
        height: 7px;
        margin: 20px 0;
    }

    .legal-eyebrow {
        font-size: 30px;
    }

    .legal-title {
        font-size: 16px;
    }

    .legal-lead,
    .legal-sec p,
    .legal-list,
    .legal-dl,
    .legal-date {
        font-size: 13px;
    }

    .legal-sec {
        margin-top: 40px;
    }

    .legal-sec h2 {
        font-size: 15px;
    }

    .legal-list > li {
        padding-left: 1.8em;
    }

    .legal-dl {
        grid-template-columns: 1fr;
    }

    .legal-dl dd {
        margin-bottom: 0.5em;
    }

    .legal-dl dd:last-child {
        margin-bottom: 0;
    }

    .legal-back a {
        height: 40px;
        font-size: 11px;
    }
}
