@charset 'utf-8';

.page-h2 {
    font-family: Shippori Mincho;
    font-size: 32px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 0.1em;
    text-align: center;
    color: var(--blue);
    padding-bottom: 60px;

    @media screen and (max-width: 1080px) {
        font-size: 20px;
        line-height: 1.5em;
        padding-bottom: 25px;
    }
}

.overview {
    .message {
        padding: 110px 0;

        @media screen and (max-width: 1080px) {
            padding: 55px 0;
        }

        .container {
            padding-top: 33px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            @media screen and (max-width: 1080px) {
                padding-top: 16px;
            }

            .left {
                width: 39%;

                @media screen and (max-width: 1080px) {
                    width: 100%;
                }
            }

            .right {
                width: 50%;
                background-image: url(../../img/page/overview/message-bg.png);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;

                @media screen and (max-width: 1080px) {
                    width: 100%;
                    margin-top: 20px;
                    padding-top: 20px;
                }

                @media screen and (max-width: 767px) {
                    padding-left: 15px;
                    padding-right: 15px;
                }

                .title {
                    font-family: Shippori Mincho;
                    font-size: 36px;
                    font-weight: 400;
                    line-height: 50px;
                    letter-spacing: 0.05em;
                    text-align: left;
                    color: var(--blue);
                    padding-bottom: 60px;

                    @media screen and (max-width: 1080px) {
                        font-size: 20px;
                        line-height: 1.5em;
                        padding-bottom: 30px;
                    }
                }

                .text {
                    font-family: Noto Serif JP;
                    font-size: 18px;
                    font-weight: 400;
                    line-height: 40px;
                    letter-spacing: 0.15em;
                    text-align: left;
                    padding-bottom: 2.2em;

                    @media screen and (max-width: 1080px) {
                        font-size: 14px;
                        line-height: 2em;
                    }
                }

                .right1 {
                    font-family: Shippori Mincho;
                    font-size: 18px;
                    font-weight: 400;
                    line-height: 33px;
                    letter-spacing: 0.06em;
                    text-align: right;
                    padding-top: 1.2em;

                    @media screen and (max-width: 1080px) {
                        font-size: 14px;
                        line-height: 1.8em;
                    }
                }

                .right2 {
                    font-family: Shippori Mincho;
                    font-size: 29px;
                    font-weight: 400;
                    line-height: 36px;
                    letter-spacing: 0.1em;
                    text-align: right;

                    @media screen and (max-width: 1080px) {
                        font-size: 20px;
                        line-height: 1em;
                    }
                }
            }
        }
    }

    .vision {

        .container2 {
            background-color: #F5F9FF;
            padding: 100px 104px;

            @media screen and (max-width: 1600px) {
                padding: 100px 50px;
            }

            @media screen and (max-width: 1080px) {
                padding: 30px 15px;
            }

            .vision-box {
                background-color: #fff;
                padding: 40px;
                margin-top: 30px;

                @media screen and (max-width: 1080px) {
                    padding: 20px;
                    margin-top: 20px;
                }

                .text {
                    font-family: Shippori Mincho;
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 38px;
                    letter-spacing: 0.15em;
                    text-align: center;
                    word-break: keep-all;

                    @media screen and (max-width: 1080px) {
                        font-size: 16px;
                        line-height: 1.8em;
                    }
                }
            }
        }


        .group {
            padding-top: 51px;

            @media screen and (max-width: 1080px) {
                padding-top: 26px;
            }

            .pic {
                display: block;
                margin: auto;
            }
        }
    }

    .profile {
        padding: 110px 0 100px;

        @media screen and (max-width: 1080px) {
            padding: 50px 0;
        }

        .inner {
            background-color: var(--light-blue);
            padding: 100px 106px;

            @media screen and (max-width: 1600px) {
                padding: 100px 50px;
            }

            @media screen and (max-width: 1080px) {
                padding: 30px 0;
            }

            .table {
                max-width: 900px;
                padding-top: 30px;
                margin: 0 auto;

                @media screen and (max-width: 1080px) {
                    padding-top: 15px;
                    padding-left: 15px;
                    padding-right: 15px;
                }

                .row {
                    display: grid;
                    grid-template-columns: 1fr 3.9fr;
                    align-items: baseline;
                    border-top: 1px solid var(--blue);
                    padding: 26px 50px;

                    &:last-child {
                        border-bottom: 1px solid var(--blue);
                    }

                    @media screen and (max-width: 1600px) {
                        grid-template-columns: 1fr 1.8fr;
                        padding: 26px 20px;
                    }

                    @media screen and (max-width: 1080px) {
                        grid-template-columns: 1fr 2.5fr;
                        padding: 15px 0;
                    }

                    .key {
                        font-family: Noto Serif JP;
                        font-size: 20px;
                        font-weight: 500;
                        line-height: 28.74px;
                        text-align: left;
                        color: var(--blue);

                        @media screen and (max-width: 1080px) {
                            font-size: 14px;
                            line-height: 1.5em;
                        }
                    }

                    .value {
                        font-family: Noto Serif JP;
                        font-size: 20px;
                        font-weight: 400;
                        line-height: 30px;
                        letter-spacing: 0.05em;
                        text-align: left;

                        @media screen and (max-width: 1080px) {
                            font-size: 14px;
                            line-height: 1.5em;
                        }

                        .telephone {
                            @media screen and (max-width: 1080px) {
                                text-decoration: underline;
                            }
                        }
                    }
                }
            }
        }
    }

    .history {
        padding: 10px 0;
    }

    .history table,
    .history td,
    .history th {
        border: 1px solid #dadada;
        border-collapse: collapse;
    }

    .history table {
        margin-top: 20px;
        width: 100%;
    }

    .history th,
    .history td {
        padding-top: 14px;
        padding-bottom: 14px;
        height: 53px;
        font-family: Noto Serif JP;
        font-size: 16px;
        font-weight: 400;
        line-height: 22.99px;
        text-align: left;
    }

    @media screen and (max-width: 1080px) {

        .history th,
        .history td {
            padding-top: 10px;
            padding-bottom: 10px;
            font-size: 14px;
            line-height: 1.5em;
        }
    }

    .history th {
        width: 26%;
        background: #F5F9FF;
        padding-left: 95px;
    }

    @media screen and (max-width: 1600px) {
        .history th {
            padding-left: 40px;
        }
    }

    @media screen and (max-width: 1080px) {
        .history th {
            width: 32%;
            padding-left: 12px;
        }
    }

    .history td {
        padding-left: 42px;
    }

    @media screen and (max-width: 1080px) {
        .history td {
            padding-left: 12px;
        }
    }

    .access {
        padding: 110px 0 200px;

        @media screen and (max-width: 1080px) {
            padding: 55px 0 100px;
        }

        .inner {
            background-color: var(--light-blue);
            padding: 30px 106px 106px;

            @media screen and (max-width: 1600px) {
                padding: 30px 50px 106px;
            }

            @media screen and (max-width: 1080px) {
                padding: 30px 15px;
            }

            iframe {
                margin: 15px 0 18px;
                width: 100%;
                aspect-ratio: 2.25;

                @media screen and (max-width: 1080px) {
                    margin: 0;
                    aspect-ratio: 1.618;
                }
            }

            .blue-text {
                font-family: Zen Old Mincho;
                font-size: 22px;
                font-weight: 400;
                line-height: 31.86px;
                text-align: left;
                color: var(--blue);
                padding: 25px 0 18px;

                @media screen and (max-width: 1080px) {
                    font-size: 18px;
                    line-height: 1.5em;
                    padding: 18px 0 5px;
                }
            }

            .black-text {
                font-family: Noto Serif JP;
                font-size: 18px;
                font-weight: 400;
                line-height: 25.87px;
                letter-spacing: 0.05em;
                text-align: left;

                @media screen and (max-width: 1080px) {
                    font-size: 14px;
                    line-height: 1.5em;
                }
            }

            .link {
                font-family: Noto Serif JP;
                font-size: 18px;
                font-weight: 400;
                line-height: 25.87px;
                letter-spacing: 0.05em;
                color: var(--blue);
                position: relative;
                margin-top: 39px;
                text-decoration: underline;
                text-underline-offset: 0.5em;

                @media screen and (max-width: 1080px) {
                    font-size: 16px;
                    line-height: 1.5em;
                    margin-top: 20px;
                }

                &:hover {
                    opacity: 0.5;
                }

                .link-pic {
                    position: absolute;
                    bottom: 6px;
                    right: 0;

                    @media screen and (max-width: 1080px) {
                        bottom: 5px;
                    }
                }
            }
        }
    }
}