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

/* タブレット（一般的なサイズ） */
@media screen and (max-width: 1024px) {}



/* 小さめタブレット・スマホ大きめ */
@media screen and (max-width: 896px) {}



/* スマホ（iPhoneなど） */
@media screen and (max-width: 767px) {
    main {
        padding: 0;
        margin: 0;

        /* メインビジュアル */
        .main-visual {
            margin-top: 50px;

            .main-visual-area {
                width: 100%;
                margin: 0 auto;

                .main-visual-img {
                    width: 100%;

                    img {
                        width: 100%;
                        object-fit: cover;
                    }
                }

                .main-visual-text {

                    h1 {
                        line-height: 2;
                        font-size: 1.4em;

                        .phone-only {
                            display: block;
                        }

                    }
                }

            }

            .main-visual-contact {
                display: none;

                p {}
            }
        }

        /* メインコンテンツ */
        .main-content {
            width: 100%;
            height: auto;
            margin-top: 120px;

            /* 経営理念 */
            .philosophy-area {
                width: 90%;

                .philosophy-title-area {
                    .philosophy-title {
                        h2 {}
                    }

                    .philosophy-sub-title {
                        p {}
                    }
                }

                .philosophy-text {
                    width: 100%;
                    margin: 0 auto;
                    margin-top: 30px;

                    p {}
                }
            }

            /* 共通スタイル */
            .main-section {
                width: 100%;



                .section-title-area {
                    width: 100%;
                    margin-top: 120px;

                    .section-title {
                        h2 {
                            font-size: 20px;
                            text-align: center;

                        }
                    }

                    .section-sub-title {
                        p {
                            font-size: 10px;
                        }
                    }
                }

                .main-content-area {
                    width: 100%;
                    height: auto;
                    flex-direction: column;
                    gap: 60px;

                    .main-content-img {
                        display: block;
                        width: 100%;
                        margin: 0 auto;

                        img {
                            width: 100%;
                            object-fit: cover;
                        }
                    }

                    .main-content-text {
                        width: 90%;
                        margin: 0 auto;
                        height: auto;
                        font-size: 18px;
                        line-height: 1.4;
                        text-align: center;

                        p {}

                        .main-content-text-title {
                            text-align: center;
                            font-size: 18px;
                        }

                        .font-text {
                            margin-top: 40px;
                            font-size: 12px;
                            text-align: left;
                        }

                    }

                }

            }

            .main-reverse-section {
                width: 100%;

                .section-reverse-title-area {
                    width: 100%;
                    margin-top: 120px;

                    .section-reverse-title {
                        h2 {
                            font-size: 20px;
                            text-align: center;
                        }
                    }

                    .section-reverse-sub-title {
                        p {
                            font-size: 10px;
                        }
                    }
                }

                .main-reverse-content-area {
                    display: flex;
                    flex-direction: column-reverse;
                    height: auto;


                    .main-reverse-content-img {
                        display: block;
                        width: 100%;
                        margin: 0 auto;


                        img {
                            width: 100%;
                            object-fit: cover;
                        }
                    }

                    .main-reverse-content-text {
                        width: 90%;
                        margin: 0 auto;
                        height: auto;
                        font-size: 18px;
                        line-height: 2;
                        text-align: center;

                        p {}

                        .main-reverse-content-text-title {
                            text-align: center;
                            font-size: 18px;
                        }

                        .font-reverse-text {
                            margin-top: 30px;
                            text-align: left;
                        }

                        .link {
                            margin-top: 40px;
                        }
                    }
                }
            }
        }
    }
}



/* 超小型スマホ（iPhone SEなど） */
@media screen and (max-width: 440px) {

    /* main {
        padding: 0;
        margin: 0;

        /* メインビジュアル */
    .main-visual {
        .main-visual-area {
            width: 100%;
            margin: 0 auto;

            .main-visual-img {
                width: 100%;

                img {
                    width: 100%;
                    object-fit: cover;
                }
            }

            .main-visual-text {

                h1 {
                    line-height: 2;
                    font-size: 1.4em;

                    .phone-only {
                        display: block;
                    }

                    span {}
                }
            }

        }

        .main-visual-contact {
            display: none;

            p {}
        }
    }

    /* メインコンテンツ */
    .main-content {
        width: 100%;
        height: auto;
        margin-top: 50px;

        /* 経営理念 */
        .philosophy-area {
            width: 90%;

            .philosophy-title-area {
                .philosophy-title {
                    h2 {}
                }

                .philosophy-sub-title {
                    p {}
                }
            }

            .philosophy-text {
                width: 100%;
                margin: 0 auto;
                margin-top: 30px;

                p {}
            }
        }

        /* 共通スタイル */
        .main-section {
            width: 100%;

            .section-title-area {
                width: 90%;
                margin-top: 60px;

                .section-title {
                    h2 {
                        font-size: 20px;
                        text-align: center;

                    }
                }

                .section-sub-title {
                    p {
                        font-size: 10px;
                    }
                }
            }

            .main-content-area {
                width: 100%;
                height: auto;
                flex-direction: column;

                .main-content-img {
                    display: block;
                    width: 100%;
                    margin: 0 auto;

                    img {
                        width: 100%;
                        object-fit: cover;
                    }
                }

                .main-content-text {
                    width: 90%;
                    margin: 0 auto;
                    height: auto;
                    font-size: 18px;
                    line-height: 1.4;
                    text-align: center;

                    p {}

                    .main-content-text-title {
                        text-align: center;
                        font-size: 18px;
                    }

                    .font-text {
                        margin-top: 30px;
                    }

                    .font-medium {}

                    .link {}
                }

            }

        }

        .main-reverse-section {
            width: 100%;

            .section-reverse-title-area {
                width: 90%;
                margin-top: 60px;

                .section-reverse-title {
                    h2 {
                        font-size: 20px;
                        text-align: center;
                    }
                }

                .section-reverse-sub-title {
                    p {
                        font-size: 10px;
                    }
                }
            }

            .main-reverse-content-area {
                display: flex;
                flex-direction: column-reverse;
                height: auto;


                .main-reverse-content-img {
                    display: block;
                    width: 100%;
                    margin: 0 auto;


                    img {
                        width: 100%;
                        object-fit: cover;
                    }
                }

                .main-reverse-content-text {
                    width: 90%;
                    margin: 0 auto;
                    height: auto;
                    font-size: 18px;
                    line-height: 2;
                    text-align: center;

                    p {}

                    .main-reverse-content-text-title {
                        text-align: center;
                        font-size: 18px;
                    }

                    .font-reverse-text {
                        margin-top: 30px;
                    }

                    .font-medium {}

                    .link {}
                }
            }
        }
    }
}

