@charset "utf-8";

/* 下層ページ用css */

section {
    padding: 100px 0;
}

@media screen and (max-width:780px) {
    section {
        position: relative;
        padding: 40px 0 80px;
    }
}

h2 {
    margin-bottom: 100px;
    font-size: 26px;
    font-weight: 600;
}

@media screen and (max-width:768px) {
    h2 {
        margin-bottom: 38px;
        font-size: 22px;
    }
}

.inner {
    width: 1000px;
}

.page__ttl {
    background-color: #f2f2f2;
    width: 100%;
    height: 200px;
    position: relative;
}

.page__ttl-img::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.page__ttl-text {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    margin: auto;
    text-align: center;
    font-size: 40px;
    letter-spacing: 8px;
    line-height: 17px;
    font-weight: 100;
    white-space: nowrap;
    color: #fff;
}

.page__ttl-text span::before {
    content: "\A";
    white-space: pre-wrap;
}

.page__ttl-text span {
    font-size: 14px;
    letter-spacing: 0px;
}

@media screen and (max-width:768px) {
    .page__ttl {
        height: 120px;
    }

    .page__ttl-text {
        font-size: 24px;
    }

    .page__ttl-text span {
        font-size: 11px;
    }
}

.bg_gy {
    background: #f2f2f2;
}

.bg_wh {
    background: #fff;
}

.contents {
    padding: 64px 80px;
}

.contents p {
    font-weight: 600;
    letter-spacing: 1px;
}

.contents__ttl {
    font-weight: 600;
    font-size: 21px;
}

@media screen and (max-width:768px) {
    .contents {
        padding: 40px 32px;
    }

    .contents p {
        font-size: 12px;
        line-height: 22px;
        font-weight: 400;
    }

    .contents__ttl {
        margin-bottom: 8px;
        font-size: 18px;
    }
}


/* COMPANY */

.page__ttl-company {
    background-image: url(https://mac-enterprise.com/img/company__ttl-bg_.jpg);
    background-position: center 60%;
    background-size: cover;
}
.page__company {
    padding: 100px 0;
}
.page__company dl {
    display: flex;
    flex-flow: row wrap;
    padding: 0 0 80px 0;
}
.page__company dt {
    flex-basis: 20%;
    padding: 16px 80px 16px 0;
    border-bottom: 1px solid #b3b3b3;
    text-align-last: justify;
    white-space: nowrap;
}
.page__company dd {
    flex-basis: 80%;
    padding: 16px 0;
    border-bottom: 1px solid #b3b3b3;
}
.page__company dd.flex {
    justify-content: flex-start;
    align-items: flex-start;
}
.page__company dd .date {
    flex-basis: 15%;
    white-space: nowrap;
}
.page__company dt.last,
.page__company dd.last {
    border: 0;
}

@media screen and (max-width:905px) {
    .page__company {
        padding: 40px 0;
    }
    .page__company h2 {
        margin-bottom: 16px;
    }
    .page__company dl {
        flex-direction: column;
        padding: 0;
    }
    .page__company dt {
        flex-basis: 100%;
        padding: 16px 0 4px;
        font-weight: 600;
        text-align-last: unset;
        border: 0;
    }
    .page__company dd {
        font-size: 14px;
        padding-top:0;
    }
    .page__company dt.last {
        border: 0;
    }
    .page__company dd ul .flex {
        display: block;
        line-height:18px;
        margin-bottom: 20px;
    }
    .page__company dd ul .flex:last-child {
        margin-bottom: 0px;
    }
}

.page__history {
    background-image: url(https://mac-enterprise.com/img/history-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page__history-block {
    display: block;
    width: 820px;
    max-width: 90%;
    margin: auto;
    padding: 80px 120px;
    background: rgba(255, 255, 255, 0.65);
}
.page__history-block h2 {
    margin:0;
    font-size:40px;
    font-weight:400;
    letter-spacing:2.4px;
}
.page__history-block p {
    line-height: 24px;
    margin-top: 24px;
    font-weight: 600;
    filter: drop-shadow(0 0 0.5px rgba(255, 255, 255));
    text-shadow: 0px 0px 8px #fff;
}

@media screen and (max-width:768px) {
    .page__history-block {
        padding: 40px 24px;
    }
    .page__history-block h2 {
        font-size:32px;
    }
    .page__history-block p {
        font-size:13px;
        line-height:21px;
    }
}


/* STRENGTH , MISSION */

.strength__ttl {
    position: relative;
    display: block;
    width: 100%;
    height: 312px;
    margin: 0 auto;
    background-image: url(https://mac-enterprise.com/img/strength.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mission__ttl {
    position: relative;
    display: block;
    width: 100%;
    height: 312px;
    margin: 0 auto;
    background-image: url(https://mac-enterprise.com/img/company/mission__ttl.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.vision__ttl {
    position: relative;
    display: block;
    width: 100%;
    height: 312px;
    margin: 0 auto;
    background-image: url(https://mac-enterprise.com/img/company/vision__ttl.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.strength__ttl h3,
.mission__ttl h3,
.vision__ttl h3 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 8px;
}

@media screen and (max-width:768px) {

    .strength__ttl,
    .mission__ttl,
    .vision__ttl {
        height: 160px;
    }

    .strength__ttl h3,
    .mission__ttl h3,
    .vision__ttl h3 {
        font-size: 24px;
    }

    .page__team .flex,
    .page__equipment .flex {
        flex-direction: column;
    }

    .page__equipment .flex__movie {
        width: 100%;
    }

    .page__equipment .flex__movie video {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .page__equipment .contents__ttl {
        margin: 16px 0 8px;
    }
}


/* EQUIPMENT */

.page__ttl-equipment {
    background-image: url(https://mac-enterprise.com/img/equipment__ttl-bg.png);
    background-position: center 50%;
    background-size: cover;
}
.page__equipment .flex {
    width: 1164px;
    max-width: 90%;
}
.page__equipment .contents {
    padding: 0;
}
.page__equipment .contents__ttl {
    margin-bottom: 40px;
}
.page__equipment .flex .mg64 {
    flex-basis: 64px;
}
.page__equipment .flex .mg24 {
    flex-basis: 24px;
}
.page__equipment .flex__movie {
    flex-basis: 64%;
}
.page__equipment .flex__movie video {
    width: 100%;
    height:auto;
    object-fit: cover;
}
.page__equipment .flex__text {
    flex-basis: 36%;
}
@media screen and (max-width:1024px) {
    .page__equipment .flex__movie video {
        height: 360px;
    }
}
@media screen and (max-width:768px) {
    .page__equipment .contents__ttl {
        margin: 16px 0 8px;
    }
}
@media screen and (max-width:430px) {
    .page__equipment .flex__movie video {
        height:240px;
    }
}
@media screen and (max-width:375px) {
    .page__equipment .flex__movie video {
        height:200px;
    }
}


/* CONTACT */

.page__contact .inner {
    width: 764px;
}

.page__contact hr {
    margin-bottom: 80px;
    border-top: 1px solid #cccccc;
    border-bottom: 0;
}

.page__contact h2 {
    margin-bottom: 48px;
}

.page__contact p {
    font-weight: 600;
}

.page__ttl-contact h1 {
    color: #000;
}

.page__contact a.privacy {
    border-bottom: 1px solid;
}

.page__contact a.privacy:hover {
    border: 0;
    color: #ccc;
}
.page__contact .flex .btn {
    flex-basis:48%;
}


/* FORM */

.table__form tr {
    font-size: 14px;
}
.table__form .required::after {
    content: "※";
    white-space: nowrap;
    padding-left: 8px;
    color: #f00;
}
.table__form input,
.table__form textarea {
    border: 1px solid #ccc;
    padding: 16px 10px;
    width: 100%;
}
.table__form input:hover,
.table__form input:focus,
.table__form textarea:hover,
.table__form textarea:focus {
    background: #f2f2f2;
}
.table__form tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}
.table__form th {
    flex-basis: 22%;
    font-weight: 600;
}
.table__form td {
    flex-basis: 78%;
}
.opacity {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}
.checkbox:hover {
    cursor: pointer;
}
.checkbox {
    position: absolute;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 300px;
    height: 100%;
}
.customCheckbox {
    height: 16px;
    width: 16px;
    margin-right: 8px;
    border: 1px solid #000;
    box-sizing: border-box;
    z-index: -1;
}
.checkbox:checked {
    border: 1px solid #8b98a5;
    background-color: #000;
}
.checkbox:checked+.customCheckbox {
    background-color: #000;
}
.checkbox:checked+.customCheckbox>.checkmark {
    opacity: 1;
}
.checkbox:focus-visible+.customCheckbox {
    outline: 2px solid #000;
    outline-offset: 2px;
}
@media screen and (max-width:768px) {
    .table__form tr {
        flex-direction: column;
        padding: 8px 0;
    }
    .table__form th,
    .table__form td {
        flex-basis: unset;
        width: 100%;
    }
    .table__form th {
        padding-bottom: 8px;
    }
}