
/* =========================
   ORDER PAGE - 基本設定
========================= */

.order-introduction,
.order-example,
.order-flow,
.order-contact {
    box-sizing: border-box;
}

/* ORDERページ共通の見出し */
.order-section-label {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin: 0 0 20px;
}

/* ORDERページ共通の文章 */
.order-introduction p,
.order-flow p,
.order-contact p {
    line-height: 2;
    letter-spacing: 0.06em;
}

/* =========================
   INTRODUCTION
========================= */

.order-introduction {
    position: relative;
    width: 100%;
    padding: 160px 0 100px;
}

/* 背景写真 */

.order-introduction-image {
    width: 85%;
    height: 560px;
    background-color: #e8e6e2;
    background-image: url("../images/order-introduction.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* 写真に重なる文章エリア */
.order-introduction-content {
    position: relative;
    width: 48%;
    margin: -180px 5% 0 auto;
    padding: 65px 60px;
    background-color: #e2d5c5;
    box-sizing: border-box;
}

/* メイン見出し */
.order-introduction-content h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin: 0 0 30px;
}

/* 説明文 */
.order-introduction-content > p:last-child {
    font-size: 20px;
    font-weight: 400;
    line-height: 2.2;
}

/* =========================
   スマホ・タブレット対応
========================= */

@media (max-width: 1024px) {
    .order-introduction {
        padding: 110px 0 70px;
    }

    .order-introduction-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .order-introduction-content {
        width: 90%;
        margin: -35px auto 0;
        padding: 35px 25px;
    }

    .order-introduction-content h2 {
        font-size: clamp(22px, 4vw, 30px);
    }

    .order-introduction-content > p:last-child {
        font-size: 16px;
    }
}

/* ORDERページのヘッダー */
.hero-header {
    z-index: 100;
}

/* =========================
   OUR WORKS - 製作事例
========================= */

.order-example {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0 140px;
}

/* 見出し */
.order-example-heading {
    margin-bottom: 60px;
}

.order-example-heading h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 0;
}

/* 商品を3列に並べる */
.order-example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* 各商品の画像 */
.order-example-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background-color: #e8e6e2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* 商品名 */
.order-example-item h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 22px 0 8px;
}

/* 英語の商品名 */
.order-example-item p {
    font-size: 14px;
    letter-spacing: 0.12em;
    color: #777;
    margin: 0;
}

/* タブレット */
@media (max-width: 1024px) {
    .order-example {
        padding: 70px 0 100px;
    }

    .order-example-grid {
        gap: 20px;
    }
}

/* スマホ */
@media (max-width: 767px) {
    .order-introduction {
        padding: 86px 0 55px;
    }

    .order-example {
        width: 88%;
        padding: 60px 0 90px;
    }

    .order-example-heading {
        margin-bottom: 35px;
    }

    .order-example-heading h2 {
        font-size: 30px;
    }

    .order-example-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .order-example-image {
        aspect-ratio: 4 / 3;
    }
}

/* =========================
   ORDER FLOW
========================= */

.order-flow {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 0 140px;
}

.order-flow-heading {
    margin-bottom: 70px;
}

.order-flow-heading h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 0;
}

/* 4つのステップを横並び */
.order-flow-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
}

.order-flow-item {
    border-top: 1px solid #aaa;
    padding-top: 25px;
}

.order-flow-number {
    display: block;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 30px;
}

.order-flow-item h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 20px;
}

.order-flow-item p {
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    margin: 0;
}

/* タブレット */
@media (max-width: 1024px) {
    .order-flow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 25px;
    }
}

/* スマホ */
@media (max-width: 767px) {
    .order-flow {
        width: 88%;
        padding: 70px 0 100px;
    }

    .order-flow-heading {
        margin-bottom: 40px;
    }

    .order-flow-heading h2 {
        font-size: 30px;
    }

    .order-flow-list {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .order-flow-number {
        margin-bottom: 18px;
    }
}

/* =========================
   CONTACT
========================= */

.order-contact {
    width: 100%;
    padding: 130px 24px 150px;
    background-color: #f0eee9;
    text-align: center;
}

.order-contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.order-contact h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin: 0 0 30px;
}

.order-contact-content > p:not(.order-section-label) {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 45px;
}

.order-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 18px 35px;
    border: 1px solid #333;
    color: #333;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.order-contact-button:hover {
    background-color: #333;
    color: #fff;
}

/* タブレット・スマホ */
@media (max-width: 767px) {
    .order-contact {
        padding: 85px 20px 100px;
    }

    .order-contact h2 {
        font-size: 26px;
    }

    .order-contact-content > p:not(.order-section-label) {
        font-size: 14px;
    }

    .order-contact-button {
        max-width: 100%;
        gap: 20px;
        padding: 16px 24px;
    }
}

/* OUR WORKS 制作事例の写真 */

.order-example-item:nth-child(1) .order-example-image {
    background-image: url("../images/order-naildesk.jpg");
}

.order-example-item:nth-child(2) .order-example-image {
    background-image: url("../images/order-cabinet.jpg");
}

.order-example-item:nth-child(3) .order-example-image {
    background-image: url("../images/order-works-3.jpg");
}
