@charset "UTF-8";

/** 共通 */
.common-section {
    padding: 3rem 0 5rem 0;
}

/** Top画像&ビデオ */
main {
    width: 100%;
    background-color: #f5f5f5;
}
.main-image-container {
    position: relative;
    width: 100%;
}
.caption-block {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    color: white;
    margin: auto;
}
.caption-block h2 {
    font-size: 5.5rem;
    font-weight: bold;
    letter-spacing: 2.5rem;
    width: 100%;
    overflow: hidden;
    padding-top: 3rem;
}
.play-image {
    position: absolute;
    width: 10%;
    top: 40%;
    right: 0;
    left: 0;
    margin: auto;
}
.video-screen {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: black;
}
.video-container, .video-container > iframe {
    width: 100%;
    height: 100%;
}
.close {
    position: absolute;
    width: 2.5%;
    height: auto;
    top: 10px;
    right: 10px;
}

/** メインコンテンツ */
main p {
    text-align: center;
    margin: 0;
}
.main-container {
    padding: 25px 0 20px 0;
}
.main-container h3 > span {
    font-size: 2rem;
}
.main-container > p{
    margin: 2rem 0;
}
.simulation-type-container {
    margin: 2rem 0;
}
.simulation-type-content {
    position: relative;
    display: block;
    float: left;
    width: 33.3333%;
    margin-bottom: 1rem;
}
.simulation-type-container img {
    display: block;
}
.simulation-type-container .image-filter {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.simulation-type-container .image-filter:hover {
    background-color: rgba(184,184,184,0.5);
}
.simulation-type-container p {
    display: block;
    position: absolute;
    font-size: 2.4rem;
    top: 35%;
    left: 10%;
}
.simulation-type-container p > span {
    color: #f9dd3d;
}
.simulation-type-container:after {
    content: '';
    display: block;
    clear: both;
}

/** サービス */
.service {
    width: 100%;
}
.feature {
    width: 90%;
    margin: 0 5% 0 5%;
}
.feature:after {
    content: '';
    display: block;
    clear: both;
}
.feature h2 {
    margin-bottom: 30px;
}
.feature h2 > span {
    font-size: 1.6rem;
}
.feature-inner {
    width: 50%;
    float: left;
    margin-bottom: 3rem;
}
.feature-content {
    width: 80%;
    margin: 0 10%;
}
.feature-content > h3 {
    margin-top: 2rem;
}
.feature-content > img {
    width: 40%;
    margin: 0 30% 0 30%;
}
.feature-content > p {
    font-size: 1.7rem;
}

/** 納品までの流れ */
.flow {
    background-color: #f5f5f5;
}
.flow h2 > span {
    font-size: 1.6rem;
}
.flow-inner {
    margin: 4rem 0;
    background-color: white;
}
.flow-content > div {
    width: 50%;
    float: left;
}
.flow-content h3 {
    font-size: 1.6rem;
    margin: 3rem 0 2rem 0;
}
.flow-content h3 > img {
    width: 20%;
    margin: 0 40%;
}
.flow-content p {
    width: 80%;
    margin: 0 10%;
}
.step-img {
    display: block;
}
.flow-content:after {
    content: '';
    display: block;
    clear: both;
}

/** CONTACT */
.contact {
    width: 100%;
}
.inquiry-block, .info-block {
    position: relative;
    height: 90px;
    width: 480px;
}
.inquiry-block {
    background-color: #f9dd3d;
    border-radius: 4px;
    -webkit-box-shadow: 4px 4px 0 -1px #f5b97c;
    -moz-box-shadow: 4px 4px 0 -1px #f5b97c;
    box-shadow: 4px 4px 0 -1px #f5b97c;
    margin: 0 auto;
}
.inquiry-block:hover {
    background-color: #f9cb35;
}
.inquiry-block > a, .info-block > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.inquiry-block > a > p, .info-block > a > p {
    width: 100%;
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    text-align: center;
    padding-top: 32px;
}
.info-block {
    border: 1px solid black;
    margin: 25px auto 0 auto;
}
.contact > .container > p {
    font-size: 1.1rem;
    letter-spacing: 0.8rem;
    margin-right: 7%;
    text-align: right;
    margin-top: 30px;
}

@media (max-width: 768px) {

    /** Top画像&ビデオ */
    .play-image {
        top: 32%;
        width: 34%;
    }
    .main-container {
        padding: 40px 0;
    }
    .video-container {
        position: relative;
        padding-top: 30px;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        margin-top: 50%;
    }
    .video-container > iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .close {
        width: 7%;
        top: 30px;
        right: 20px;
    }
    .caption-block h2 {
        font-size: 7rem;
        line-height: 7rem;
        letter-spacing: 1rem;
    }

    /**  メインコンテンツ */
    .simulation-type-content {
        float: none;
        width: 100%;
        margin: 0;
    }
    .simulation-type-container p {
        display: block;
        top: 50%;
        left: 5%;
        right: auto;
    }
    .simulation-type-container .image-filter:hover {
        background-color: rgba(184,184,184,0.5);
    }

    /** service */
    .feature {
        width: 100%;
        margin: 0;
    }
    .feature-inner {
        width: 100%;
        float: none;
        margin-bottom: 60px;
    }
    .feature-content {
        width: 90%;
        margin: 0 5%;
    }
    .feature-content > h3 {
        margin-top: 3rem;
    }
    .feature-content > img {
        width: 50%;
        margin: 0 25% 0 25%;
    }
    .feature-content > p {
        font-size: 1.7rem;
        margin-top: 3rem;
    }

    /** 納品までの流れ */
    .flow-inner {
        background-color: #f5f5f5;
    }
    .flow-content > div {
        width: 100%;
        float: none;
    }
    .flow-content h3 {
        font-size: 1.6rem;
        margin: 3rem 0 2rem 0;
    }
    .flow-content h3 > img {
        width: 30%;
        margin: 0 35%;
    }
    .flow-content p {
        width: 90%;
        margin: 0 5%;
    }
    .step-img {
        width: 90%;
        margin: 5%;
    }
    .arrow-block {
        margin-top: 3rem;
    }
    .arrow-block img {
        width: 8%;
        margin: 0 46%;
    }

    /** contact */
    .inquiry-block, .info-block {
        height: 120px;
        width: 90%;
    }
    .inquiry-block > a > p, .info-block > a > p {
        padding-top: 40px;
    }
    .info-block {
        margin-top: 40px;
    }
    .contact > .container > p {
        margin-top: 60px;
    }
}

@media (max-width: 414px) {
    .main-container {
        padding: 20px 0;
    }
    main .p1, main .p2, main .p3 {
        line-height: 2.5rem;
        font-size: 1.3rem;
    }
    main .p1 > strong {
        font-size: 1.5rem;
    }
    .caption-block h2 {
        font-size: 7rem;
        line-height: 7rem;
    }

    /** service */
    .feature-inner {
        margin-bottom: 30px;
    }
    .feature-content > h3 {
        margin-top: 10px;
    }
    .feature-content > p {
        font-size: 1.4rem;
        margin-top: 20px;
    }

    /** contact */
    .inquiry-block, .info-block {
        height: 70px;
    }
    .inquiry-block > a > p, .info-block > a > p {
        font-size: 1.3rem;
        padding-top: 25px;
    }
    .info-block {
        margin-top: 20px;
    }
    .contact > .container > p {
        margin-top: 40px;
    }
}