/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans JP', YuGothic, "Yu Gothic Medium", "Yu Gothic", -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, Verdana, Meiryo, sans-serif;
    color: #070606;
}
:root {
    --main-font: 'Noto Sans JP', YuGothic, "Yu Gothic Medium", "Yu Gothic", -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, Verdana, Meiryo, sans-serif;
    --english-font: 'Arial', sans-serif;
    --main-color: #070606;
    --accent-color: #fff;
}

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

@media screen and (max-width: 800px) {
    .pc {
        display: none !important;  
    }
    .sp {
        display: block !important;
    }
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1;
    width: 100%;
    background: white;
}
@media screen and (max-width: 800px) {
    .header {
        position: relative;
    }
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 100px;
}

.header__logo {
    max-width: 183px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 43px;
}

.header__nav-link {
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.69;
    color: var(--main-color);
}

.header__nav-link--contact {
    display: flex;
    align-items: center;
    gap: 17px;
    background-color: #F71F21;
    padding: 12px 37px;
    transition: background-color 0.3s ease;
}

.header__nav-link--contact:hover {
    background-color: #D91A1D;
}

.header__nav-text {
    color: #fff;
    line-height: 1;
}

.header__nav-icon {
    width: 13px;
    height: 13px;
}

/* メインビジュアル */
.hero {
    position: relative;
}

.hero__container {
    position: relative;
}

.hero__image {
    width: 100%;
    height: 719px;
    object-fit: cover;
}

.hero__content {
    position: absolute;
    top: 289px;
    left: 100px;
}

.hero__title {
    font-family: var(--english-font);
    font-weight: bold;
    font-size: 100px;
    line-height: 1.15;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.hero__subtitle {
    font-weight: 500;
    font-size: 28px;
    color: var(--accent-color);
    line-height: 1.36;
}

/* サービスセクション */
.services {
    margin: 75px 100px 91px;
}

/* セクションヘッダーコンポーネント */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.section-header__icon {
    width: 38px;
    height: auto;
}

.section-header__title {
    font-family: var(--english-font);
    font-size: 20px;
    line-height: 1.15;
    color: #F71F21;
}

.services__title {
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 29px;
    line-height: 1.37;
}

.services__description {
    font-weight: 700;
    font-size: 18px;
    line-height: 2.05;
    margin-bottom: 29px;
}

/* 特徴セクション */
.features {
    display: flex;
    gap: 34px;
    margin-bottom: 54px;
}

.feature {
    width: 100%;
}

.feature__image {
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

.feature__title {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.38;
    margin-bottom: 25px;
}

.feature__description {
    font-weight: 400;
    font-size: 16px;
    color: #070606;
    line-height: 1.81;
}

/* データセンターセクション */
.datacenter {
    display: flex;
    flex-direction: column;
}

.datacenter--pc {
    display: block;
}

.datacenter--sp {
    display: none;
}

.datacenter__container {
    display: flex;
    gap: 41px;
}

.datacenter__image-wrapper {
    flex: 1;
    max-width: 580px;
    width: 100%;
}

.datacenter__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.datacenter__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.datacenter__title {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.38;
    margin-bottom: 23px;
}

.datacenter__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.81;
    margin-bottom: 69px;
}

.datacenter__subtitle {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.85;
    margin-bottom: 18px;
}

/* 会社概要セクション */
.company {
    background-color: #F7F7F7;
    padding: 89px 100px 87px;
}

.company__title {
    font-weight: 700;
    font-size: 60px;
    line-height: 1.37;
    margin-bottom: 28px;
}

.company__info {
    margin-left: 335px;
}

.company__details {
    margin-bottom: 33px;
}

.company__detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 17px;
}

.company__detail-item:nth-child(5) {
    margin-bottom: 33px;
}

.company__detail-term {
    max-width: 208px;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.38;
}

.company__detail-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.38;
    width: 100%;
}

/* ボタンコンポーネント */
.button {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    justify-content: center;
}

.button--external {
    background-color: #F71F21;
    padding: 12px 37px;
    gap: 15px;
    max-width: 237px;
    line-height: 1;
}

.button--external:hover {
    background-color: #D91A1D;
}

.button--company {
    max-width: 320px;
    justify-content: center;
    padding: 12px 37px;
    line-height: 1;
    text-align: center;
}

.button--footer {
    max-width: 200px;
    justify-content: center;
    line-height: 1;
}

.button__text {
    color: var(--accent-color);
    font-weight: 300;
}

.button__icon {
    width: 13px;
    height: 13px;
}

/* フッター */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #030303;
    padding: 28px 100px;
}

.footer__copyright {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.71;
    color: var(--accent-color);
}

/* レスポンシブデザイン */
@media screen and (max-width: 800px) {

    .header__container {
        justify-content: center;
    }

    .section-header  {
        margin-bottom: 31px;
    }

    .section-header__title {
        font-size: 16px;
    }

    .header__nav {
        display: none;
    }

    .hero__image {
        height: 615px;
    }

    .hero__content {
        margin: 0 35px;
        top: 247px;
        left: 0;
    }

    .hero__title {
        font-size: 12vw;
    }

    .hero__subtitle {
        font-size: 4.4vw;
        line-height: 1.38;
    }

    .services {
        margin: 52px 35px 74px;
    }

    .services__title {
        font-size: 40px;
        margin-bottom: 21px;
    }

    .services__description {
        font-size: 16px;
        line-height: 1.75;
        margin-bottom: 38px;
    }

    .features {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 52px;
    }

    .feature__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .feature__description {
        font-size: 14px;
        line-height: 1.71;
    }

    .datacenter--pc {
        display: none;
    }

    .datacenter--sp {
        display: block;
    }

    .datacenter__container {
        flex-direction: column;
        gap: 0;
    }

    .datacenter__title {
        font-size: 30px;
        margin-bottom: 19px;
    }

    .datacenter__subtitle {
        margin-bottom: 14px;
    }

    .datacenter__description {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.71;
    }

    .datacenter__image-wrapper {
        max-width: 100%;
    }

    .datacenter__image {
        margin-bottom: 14px;
    }

    .company {
        padding: 54px 35px 72px;
    }
    
    .company__title {
        font-size: 40px;
        margin-bottom: 39px;
    }

    .company__info {
        margin-left: 0;
    }

    .company__detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
        margin-bottom: 26px;
    }

    .company__detail-item:nth-child(5) {
        margin-bottom: 22px;
    }

    .company__detail-term {
        width: auto;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 34px 35px 26px;
    }

    .button--company {
        max-width: 100%;
        padding: 12px 36px;
    }

    .footer__copyright {
        order: 2;
        font-size: 10px;
    }

    .button--footer {
        order: 1;
    }
}