/* =========================================
   基本設定
========================================= */

* {
    box-sizing: border-box;
}

html {

    scroll-behavior: auto;
}

body {

    margin: 0;

    background: #2d2d2f;

    color: #ffffff;

    font-family:
        "Natsuzemi Maru Gothic",
        sans-serif;
}


/* =========================================
   ORDERページ全体
========================================= */

.order-page {

    position: relative;

    width: min(100%, 1920px);

    margin: 0 auto;

    padding-bottom: 0px;

    overflow: hidden;

    background-color: #2d2d2f;


    background-image:

        linear-gradient(
            rgba(113, 111, 112, 1) 3px,
            transparent 3px
        ),

        linear-gradient(
            90deg,
            rgba(113, 111, 112, 1) 3px,
            transparent 3px
        );

    background-size: 64px 64px;
}


/* =========================================
   ヘッダー
========================================= */

.site-header {

    position: absolute;

    top: 20px;

    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 120px);

    max-width: 1680px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 10;
}


/* =========================================
   ロゴ
========================================= */

.site-logo {

    display: block;

    width: 240px;

    transition:
        transform 0.2s ease;
}

.site-logo img {

    display: block;

    width: 100%;

    height: auto;
}

.site-logo:hover {

    transform:
        scale(1.05);
}


/* =========================================
   ナビゲーション
========================================= */

.navigation {

    display: flex;

    align-items: center;

    gap: 16px;

    transform:
        translate(30px, -30px);
}

.nav-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 145px;

    height: 52px;

    text-decoration: none;

    transition:
        transform 0.15s ease;
}

.nav-button img {

    display: block;

    width: 100%;

    height: auto;
}

.nav-button:hover {

    transform:
        translateY(-3px);
}

.nav-button:active {

    transform:
        translateY(1px);
}


/* =========================================
   ORDERタイトル
========================================= */

.page-title {

    margin: 0;

    padding-top: 130px;

    display: flex;

    justify-content: center;
}

.page-title img {

    display: block;

    width: 160px;

    height: auto;
}


/* =========================================
   ご依頼についての説明
========================================= */

.order-introduction {

    width: min(
        900px,
        calc(100% - 80px)
    );

    margin: 35px auto 0;

    text-align: center;

    font-size: 17px;

    line-height: 1.9;
}

.order-introduction p {

    margin: 0;
}


/* =========================================
   黄色文字
========================================= */

.yellow-text {

    margin: 0;

    color: #f1c53a;

    font-size: 17px;

    font-weight: 700;

    text-align: center;
}

.note-text {

    margin: 5px 0 0;

    color: #ffffff;

    font-size: 14px;

    text-align: center;
}


/* =========================================
   X・メール・フォーム
========================================= */

.contact-links {

    width: min(
        900px,
        calc(100% - 80px)
    );

    margin: 45px auto 0;
}

.contact-icons {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 45px;

    margin-top: -10px;
}

.contact-icon {

    display: block;

    width: 200px;

    transition:
        transform 0.2s ease;
}

.contact-icon img {

    display: block;

    width: 100%;

    height: auto;
}

.contact-icon:hover {

    transform:
        translateY(-8px)
        scale(1.04);
}


/* =========================================
   ご依頼内容を送る際のテンプレ
========================================= */

.template-section {

    width: min(
        900px,
        calc(100% - 80px)
    );

    margin: 0 auto;

    text-align: center;
}

.template-title {

    display: block;

    color: #f1c53a;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.7;

    text-decoration: none;

    cursor: pointer;
}

.template-title:hover {

    text-decoration: underline;
}


/* =========================================
   デザイン・動画制作の切り替え
   ※この2枚は横並び
========================================= */

.category-section {

    width: min(
        900px,
        calc(100% - 80px)
    );

    margin: 45px auto 0;

    text-align: center;
}

.category-switch {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 35px;

    margin-top: -60px;
}


/* =========================================
   「デザイン」「動画制作」の画像
========================================= */

.category-button {

    display: block;

    width: 230px;

    transition:
        transform 0.2s ease;
}

.category-button img {

    display: block;

    width: 100%;

    height: auto;
}

.category-button:hover {

    transform:
        translateY(-5px);
}


/* =========================================
   セクション移動位置
========================================= */

#design,
#movie {

    scroll-margin-top: 100px;
}


/* =========================================
   デザイン依頼
========================================= */

.price-section {

    width: min(
        850px,
        calc(100% - 80px)
    );

    margin: 35px auto 0;

    text-align: center;
}


/* =========================================
   デザイン依頼の画像
========================================= */

.price-section .section-image {

    width: 300px;

    margin: 0 auto 25px;

    transform:
        translate(-220px, -150px);
}

.price-section .section-image img {

    display: block;

    width: 100%;

    height: auto;
}


/* =========================================
   デザイン料金の見出し用の箱
========================================= */

.price-section .sub-title-wrap {

    width: 520px;

    margin:
        0 auto;

    text-align: left;
}


/* =========================================
   デザイン料金の見出し
========================================= */

.price-section .design-sub-title {

    display: inline-block;

    margin:
        10px 0 20px;

    padding:
        5px 25px;

    background: #4771bc;

    border:
        4px solid #171717;

    border-radius: 30px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.2;

    text-align: center;

    transform:
        translate(-30px, -260px);
}


/* =========================================
   デザイン料金の文章ブロック
========================================= */

.price-section .price-list {

    width: 520px;

    margin:
        0 auto 30px;

    text-align: left;

    transform:
        translate(0px, -260px);
}


/* =========================================
   デザイン料金の各項目
========================================= */

.price-section .price-item {

    margin-bottom: 20px;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.65;

    text-align: left;
}

.price-section .price-item h3 {

    margin: 0;

    color: #f1c53a;

    font-size: 17px;

    font-weight: 700;

    text-align: left;
}

.price-section .price-item p {

    margin: 0;

    font-size: 15px;

    font-weight: 600;

    text-align: left;
}


/* =========================================
   動画制作依頼
========================================= */

.movie-section {

    width: min(
        850px,
        calc(100% - 80px)
    );

    margin: 70px auto 0;

   margin: 70px auto 0;

    text-align: center;
}


/* =========================================
   動画制作依頼の画像
========================================= */

.movie-section .section-image {

    width: 300px;

    margin: 0 auto 25px;

    transform:
        translate(-220px, -380px);
}

.movie-section .section-image img {

    display: block;

    width: 100%;

    height: auto;
}


/* =========================================
   動画料金の見出し用の箱
========================================= */

.movie-section .sub-title-wrap {

    width: 520px;

    margin:
        0 auto;

    text-align: left;
}


/* =========================================
   動画料金の見出し
========================================= */

.movie-section .movie-sub-title {

    display: inline-block;

    margin:
        10px 0 20px;

    padding:
        5px 25px;

    background: #4771bc;

    border:
        4px solid #171717;

    border-radius: 30px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.2;

    text-align: center;

    transform:
        translate(-30px, -485px);
}


/* =========================================
   動画料金の文章ブロック
========================================= */

.movie-section .price-list {

    width: 520px;

    margin:
        0 auto 30px;

    text-align: left;

    transform:
        translate(0px, -485px);
}


/* =========================================
   動画料金の各項目
========================================= */

.movie-section .price-item {

    margin-bottom: 20px;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.65;

    text-align: left;
}

.movie-section .price-item h3 {

    margin: 0;

    color: #f1c53a;

    font-size: 17px;

    font-weight: 700;

    text-align: left;
}

.movie-section .price-item p {

    margin: 0;

    font-size: 15px;

    font-weight: 600;

    text-align: left;
}


/* =========================================
   フッター前の余白
========================================= */

.footer-space {
    height: 0;
    margin-top: -250px;
}


/* =========================================
   フッター
========================================= */

.site-footer {

    background: #1f1f20;

    padding: 25px;

    margin-top: 0;

    text-align: center;

    font-size: 13px;
}

.site-footer p {

    margin: 0;
}


/* =========================================
   タブレット
========================================= */

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

    .site-header {

        width:
            calc(100% - 60px);
    }

    .navigation {

        gap: 8px;
    }

    .nav-button {

        width: 115px;

        height: auto;
    }

    .contact-icon {

        width: 170px;
    }

    .category-button {

        width: 200px;
    }

}


/* =========================================
   スマートフォン
========================================= */

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

    .order-page {

        padding-bottom: 80px;

        background-size:
            45px 45px;
    }


    /* =====================================
       ヘッダー
    ===================================== */

    .site-header {

        position: relative;

        top: auto;

        left: auto;

        transform: none;

        width:
            calc(100% - 30px);

        margin: 20px auto 0;

        flex-direction: column;

        gap: 20px;
    }

    .site-logo {

        width: 140px;
    }


    /* =====================================
       ナビゲーション
    ===================================== */

    .navigation {

        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 8px;

        transform: none;
    }

    .nav-button {

        width: 100%;

        height: auto;
    }


    /* =====================================
       ORDERタイトル
    ===================================== */

    .page-title {

        padding-top: 45px;
    }

    .page-title img {

        width: 130px;
    }


    /* =====================================
       ご依頼について
    ===================================== */

    .order-introduction {

        width:
            calc(100% - 40px);

        margin-top: 30px;

        font-size: 13px;

        line-height: 1.8;
    }

    .yellow-text {

        font-size: 13px;
    }

    .note-text {

        font-size: 12px;
    }


    /* =====================================
       X・メール・フォーム
    ===================================== */

    .contact-links {

        width:
            calc(100% - 40px);

        margin-top: 35px;
    }

    .contact-icons {

        gap: 8px;

        margin-top: 15px;
    }

    .contact-icon {

        width:
            calc((100vw - 70px) / 3);
    }


    /* =====================================
       ご依頼テンプレ
    ===================================== */

    .template-section {

        width:
            calc(100% - 40px);

        margin-top: 30px;
    }


    /* =====================================
       デザイン・動画制作切り替え
    ===================================== */

    .category-section {

        width:
            calc(100% - 40px);

        margin-top: 35px;
    }

    .category-switch {

        gap: 10px;

        margin-top: 10px;
    }


    /* =====================================
       「デザイン」「動画制作」
    ===================================== */

    .category-button {

        width:
            calc((100vw - 60px) / 2);

        transform: none;
    }

    .category-button:hover {

        transform:
            translateY(-5px);
    }


    /* =====================================
       セクション移動位置
    ===================================== */

    #design,
    #movie {

        scroll-margin-top: 30px;
    }


    /* =====================================
       デザイン依頼
    ===================================== */

    .price-section {

        width:
            calc(100% - 40px);

        margin-top: 45px;
    }


    .price-section .section-image {

        width: 240px;

        transform: none;

        margin-bottom: 20px;
    }


    .price-section .sub-title-wrap {

        width:
            100%;

        margin:
            0 auto;

        text-align: left;
    }


    .price-section .design-sub-title {

        font-size: 14px;

        padding:
            5px 18px;

        border-width: 3px;

        transform: none;
    }


    .price-section .price-list {

        width:
            100%;

        margin:
            0 auto 30px;

        text-align: left;

        transform: none;
    }

    .price-section .price-item {

        margin-bottom: 18px;

        font-size: 14px;

        line-height: 1.7;

        text-align: left;
    }

    .price-section .price-item h3 {

        font-size: 14px;

        text-align: left;
    }

    .price-section .price-item p {

        margin: 0;

        font-size: 13px;

        text-align: left;
    }


    /* =====================================
       動画制作依頼
    ===================================== */

    .movie-section {

        width:
            calc(100% - 40px);

        margin-top: 70px;

        margin-bottom: 0;
    }


    .movie-section .section-image {

        width: 240px;

        transform: none;

        margin-bottom: 20px;
    }


    .movie-section .sub-title-wrap {

        width:
            100%;

        margin:
            0 auto;

        text-align: left;
    }


    .movie-section .movie-sub-title {

        font-size: 14px;

        padding:
            5px 18px;

        border-width: 3px;

        transform: none;
    }


    .movie-section .price-list {

        width:
            100%;

        margin:
            0 auto 30px;

        text-align: left;

        transform: none;
    }

    .movie-section .price-item {

        margin-bottom: 18px;

        font-size: 14px;

        line-height: 1.7;

        text-align: left;
    }

    .movie-section .price-item h3 {

        font-size: 14px;

        text-align: left;
    }

    .movie-section .price-item p {

        margin: 0;

        font-size: 13px;

        text-align: left;
    }


    /* =====================================
       フッター
    ===================================== */

    .site-footer {

        margin-top: 100px;

        padding: 20px;

        font-size: 12px;
    }

}
