@charset "utf-8";


/**/
html {
    scroll-behavior: smooth;
}
body{
    font-family: 'Yu Gothic', 'YuGothic', '游ゴシック', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    background-color: #fff;
}



/**/
.container{
    max-width:1180px;
    margin:0 auto;
    align-items: center;
    @media screen and (max-width: 1240px){
        max-width: 960px;
    }
    @media screen and (max-width: 1024px){
        max-width: 780px;
    }
    @media screen and (max-width: 768px){
        max-width: 84%;
    }
}



/**/
header{
    .container{
        max-width: 100%;
        padding: 113px 26px 0;
        @media screen and (max-width: 768px){
            padding: 113px 0 0 0;
        }
        .header{
            padding-top: 35px;
            margin-left: 30px;
            width: 251px;
            margin-bottom: 36px;
            position: absolute;
            top: 0;
            @media screen and (max-width: 768px){
                padding-top: 28px;
                width: 242px;
                margin-left: 48px;
            }
            @media screen and (max-width: 480px){
                margin-left: 18px;
            }
            .forhome{
                width: 251px;
                @media screen and (max-width: 768px){
                    width: 242px;
                }
                .logo{
                    width: auto;
                    height: 41px;
                    @media screen and (max-width: 768px){
                        width: 242px;
                        height: auto;
                    }
                }
            }
        }
        .header.fixed{
            position: fixed;
            padding: 0;
        }
        .mainvisual{
            max-width: 100%;
            background-color: #E9EFF3;
            height: 200px;
            align-items: center;
            justify-content: center;
            display: flex;
            .toc{
                font-family: 'Montserrat' , sans-serif;
                font-size: 48px;
                font-weight: 600;
                line-height: 48px;
                letter-spacing: 0.04em;
                text-align: center;
                color: #0D2F62;
                transform: scaleX(0.86);
                margin-bottom: 18px;
                @media screen and (max-width: 768px){
                    font-size: 32px;
                    line-height: 32px;
                }
            }
            .description{
                font-size: 16px;
                font-weight: 700;
                line-height: 16px;
                text-align: center;
                color: #0D2F62;
                @media screen and (max-width: 768px){
                    font-size: 13px;
                    line-height: 13px;
                }
            }
        }
    }
}



/**/
.greet{
    margin-top: 124px;
    padding: 0 24px;
    @media screen and (max-width: 1240px){
        padding: 100px 40px 0;
    }
    @media screen and (max-width: 1024px){
        padding: 100px 12px 0;
    }
    @media screen and (max-width: 768px){
        margin-top: 44px;
        padding: 0;
    }
    .phone{
        display: none;
        @media screen and (max-width: 768px){
            display: block;
            max-width: 92%;
            margin: 0 0 0 auto;
        }
    }
    .container{
        display: flex;
        justify-content: space-between;
        @media screen and (max-width: 768px){
            display: block;
            --width--contents: 100%;
        }
        .greet_text{
            max-width: 460px;
            align-self: self-start;
            margin-top: 74px;
            @media screen and (max-width: 1240px){
                max-width: 374px;
            }
            @media screen and (max-width: 1024px){
                max-width: 304px;
            }
            @media screen and (max-width: 768px){
                max-width: var(--width--contents);
                margin-top: 40px;
            }
            .ttl{
                font-size: 20px;
                font-weight: 500;
                line-height: 20px;
                text-align: left;
                color: #0D2F62;
                margin-bottom: 40px;
                span{
                    border-bottom: 1px solid #0D2F62;
                    padding-bottom: 2px;
                }
                @media screen and (max-width: 768px){
                    margin-bottom: 16px;
                    font-size: 16px;
                    line-height: 16px;
                }
            }
            .subheading{
                font-size: 20px;
                font-weight: 700;
                line-height: 20px;
                text-align: left;
                color: #333333;
                margin-bottom: 32px;
                @media screen and (max-width: 768px){
                    margin-bottom: 20px;
                    font-size: 16px;
                    line-height: 16px;
                }
            }
            .description{
                font-size: 14px;
                font-weight: 500;
                line-height: 33.6px;
                text-align: left;
                color: #333333;
                @media screen and (max-width: 768px){
                    font-size: 16px;
                    line-height: 38.4px;
                }
            }
        }
        .profile{
            --width--profile: 627px;
            @media screen and (max-width: 1240px){
                --width--profile: 510px;
            }
            @media screen and (max-width: 1024px){
                --width--profile: 414px;
            }
            @media screen and (max-width: 768px){
                max-width: var(--width--contents);
                margin-top: 68px;
            }
            .img{
                max-width: var(--width--profile);
                height: auto;
                margin-bottom: 48px;
                clip-path: polygon(0 0, 100% 0%, 100% 90%, 0 90%);
                @media screen and (max-width: 768px){
                    display: none;
                }
            }
            .text_home{
                border-left: 2px solid #0D2F62;
                padding-left: 28px;
                @media screen and (max-width: 1024px){
                    max-width: var(--width--profile);
                }
                @media screen and (max-width: 768px){
                    max-width: var(--width--contents);
                }
                .name{
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 24px;
                    color: #333333;
                    margin-bottom: 8px;
                    @media screen and (max-width: 768px){
                        font-size: 20px;
                        line-height: 20px;
                    }
                    span{
                        font-size: 16px;
                        font-weight: 500;
                        line-height: 16px;
                        @media screen and (max-width: 768px){
                            font-size: 14px;
                            line-height: 14px;
                        }
                    }
                }
                .en{
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 14px;
                    letter-spacing: 0.04em;
                    color: #333333;
                    font-family: 'manrope' ,sans-serif;
                    @media screen and (max-width: 768px){
                        font-size: 13px;
                        line-height: 13px;
                    }
                }
                .contents{
                    .en{
                        margin: 40px 0 20px;
                        font-size: 16px;
                        font-weight: 500;
                        line-height: 16px;
                        letter-spacing: 0.04em;
                        color: #333333;
                        font-family: 'manrope' ,sans-serif;
                        @media screen and (max-width: 768px){
                            margin: 36px 0 14px;
                            font-size: 14px;
                            line-height: 14px;
                        }
                    }
                    table{
                        font-size: 14px;
                        font-weight: 500;
                        line-height: 25.2px;
                        color: #333333;
                        @media screen and (max-width: 768px){
                            display: none;
                        }
                        tr td:nth-child(1){
                            padding-right: 14px;
                            @media screen and (max-width: 1024px){
                                white-space: nowrap;
                            }
                        }
                        tr td:nth-child(2){
                            @media screen and (max-width: 1024px){
                                word-wrap: break-word;
                            }
                        }
                        td{
                            vertical-align: top;
                            @media screen and (max-width <= 1240px) and (max-width >= 1024px){
                                white-space: nowrap;
                            }
                        }
                    }
                    .description{
                        display: none;
                        color: #333333;
                        @media screen and (max-width: 768px){
                            display: block;
                            font-size: 16px;
                            font-weight: 500;
                            line-height: 38.4px;
                            color: #333333;
                        }
                    }
                }
            }
        }
    }
}



.access{
    margin-top: 116px;
    @media screen and (max-width: 1240px){
        padding: 100px 40px 0;
    }
    @media screen and (max-width: 1024px){
        padding: 100px 12px 0;
    }
    @media screen and (max-width: 768px){
        margin-top: 128px;
        padding: 0;
    }
    .container{
        @media screen and (max-width: 768px){
            max-width: 100%;
        }
        .maxwidth{
            @media screen and (max-width: 768px){
                max-width: 84%;
                margin:0 auto;
                align-items: center;
            }
        }
        .ttl{
            font-family: 'manrope' ,sans-serif;
            font-size: 24px;
            font-weight: 600;
            line-height: 24px;
            letter-spacing: 0.04em;
            text-align: left;
            color: #617FA9;
            margin-bottom: 20px;
            @media screen and (max-width: 768px){
                font-size: 20px;
                line-height: 16px;
            }
            @media screen and (max-width: 480px){
                font-size: 16px;
            }
        }
        .heading{
            font-size: 32px;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: #0d2f62;
            margin-bottom: 52px;
            @media screen and (max-width: 1240px){
                margin-bottom: 32px;
            }
            @media screen and (max-width: 768px){
                font-size: 20px;
                font-weight: 700;
                line-height: 20px;
                margin-bottom: 40px;
            }
        }
        .contents{
            display: flex;
            justify-content: space-between;
            @media screen and (max-width: 1024px){
                display: block;
            }
            .ggmp{
                @media screen and (max-width: 1240px){
                    width: 460px;
                }
                @media screen and (max-width: 1024px){
                    width: 100%;
                    aspect-ratio: 375 / 200;
                    margin-bottom: 36px;
                }
                @media screen and (max-width: 768px){
                    height: auto;
                    aspect-ratio: 375 / 200;
                }
            }
            .text_home{
                @media screen and (max-width: 1024px){
                    display: flex;
                    justify-content: space-between;
                }
                @media screen and (max-width: 768px){
                    display: block;
                    max-width: 84%;
                    margin:0 auto;
                    align-items: center;
                }
                .box{
                    width: 517px;
                    height: 263px;
                    display: flex;
                    align-items: center;
                    background-color: #e9eff3;
                    padding: 24px;
                    @media screen and (max-width: 1240px){
                        padding: 32px 16px 16px;
                        width: 480px;
                    }
                    @media screen and (max-width: 1024px){
                        width: 380px;
                        height: auto;
                        display: block;
                    }
                    @media screen and (max-width: 768px){
                        width: 100%;
                        padding: 32px 40px 14px;
                    }
                    .frame{
                        width: 108px;
                        height: 70px;
                        @media screen and (max-width: 1240px){
                            width: 88px;
                        }
                        @media screen and (max-width: 1024px){
                            margin: 0 auto 16px;
                            height: 99px;
                            display: flex;
                            align-items: center;
                        }
                        .illust{
                            margin: 0 auto;
                        }
                    }
                    .text{
                        width: 311px;
                        margin-left: 24px;
                        @media screen and (max-width: 768px){
                            width: 100%;
                            margin-left: 0;
                        }
                        .subheading{
                            font-size: 24px;
                            font-weight: 500;
                            line-height: 24px;
                            color: #0d2f62;
                            @media screen and (max-width: 1024px){
                                text-align: center;
                            }
                        }
                        .guidance{
                            font-size: 14px;
                            font-weight: 700;
                            line-height: 14px;
                            color: #0D2F62;
                            margin: 24px 0 20px;
                            @media screen and (max-width: 1024px){
                                text-align: center;
                            }
                        }
                        .description{
                            font-size: 14px;
                            font-weight: 500;
                            line-height: 25.2px;
                            color: #333333;
                        }
                    }
                }
                .car{
                    .frame{
                        @media screen and (max-width: 1024px){
                            width: 108px;
                        }
                    }
                }
                .train{
                    height: 238px;
                    margin: 18px 0 0;
                    @media screen and (max-width: 1024px){
                        height: auto;
                        margin-top: 0;
                    }
                    @media screen and (max-width: 768px){
                        margin-top: 22px;
                    }
                    .text{
                        .description{
                            @media screen and (max-width: 1024px){
                                text-align: center;
                            }
                        }
                    }
                }
            }
        }
    }
}



/**/
.voice{
    margin-top: 120px;
    @media screen and (max-width: 1240px){
        padding: 0px 40px 0;
    }
    @media screen and (max-width: 1024px){
        padding: 0px 12px 0;
    }
    @media screen and (max-width: 768px){
        padding: 0;
    }
    .container{
        .ttl{
            font-family: 'manrope' ,sans-serif;
            font-size: 24px;
            font-weight: 600;
            line-height: 24px;
            letter-spacing: 0.04em;
            text-align: left;
            color: #617FA9;
            margin-bottom: 20px;
            @media screen and (max-width: 768px){
                font-size: 20px;
                line-height: 16px;
            }
            @media screen and (max-width: 480px){
                font-size: 16px;
            }
        }
        .heading{
            font-size: 32px;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: #0d2f62;
            margin-bottom: 52px;
            @media screen and (max-width: 1240px){
                margin-bottom: 32px;
            }
            @media screen and (max-width: 768px){
                font-size: 20px;
                font-weight: 700;
                line-height: 20px;
                margin-bottom: 40px;
            }
        }
        .contents{
            display: flex;
            justify-content: space-between;
            @media screen and (max-width: 768px){
                display: block;
            }
            .box{
                width: 562px;
                @media screen and (max-width: 1240px){
                    width: 450px;
                    height: auto;
                }
                @media screen and (max-width: 1024px){
                    width: 360px;
                }
                @media screen and (max-width: 768px){
                    width: 100%;
                }
                .number{
                    font-family: 'manrope' ,sans-serif;
                    font-size: 64px;
                    font-weight: 500;
                    line-height: 64px;
                    color: #0D2F62;
                }
                .text_home{
                    border-top: 3px solid #0D2F62;
                    border-bottom: 3px solid #0D2F62;
                    padding: 28px 8px 0 0;
                    height: 404px;
                    display: flex;
                    margin-top: -8px;
                    @media screen and (max-width: 1240px){
                        height: 520px;
                        justify-content: space-between;
                        gap: 28px;
                        padding: 24px 0 0;
                    }
                    @media screen and (max-width: 1024px){
                        display: block;
                        height: 560px;
                    }
                    @media screen and (max-width: 768px){
                        height: auto;
                        padding: 24px 0 28px;
                    }
                    .btn {
                        position: relative;
                        background-color: #0d2f62; /* 元の #0d2f62 から #ffffff に変更 */
                        --btn-height: 64px;
                        height: var(--btn-height);
                        width: 240px;
                        display: flex;
                        color: #fff; /* 元の #ffffff から #0d2f62 に変更 */
                        text-decoration: none;
                        text-align: center;
                        align-items: center;
                        justify-content: center;
                        border-radius: calc(var(--btn-height) / 2);
                        overflow: hidden; /* 擬似要素がはみ出さないように */
                        transition: color 0.3s ease;
                        border: 1px solid #0d2f62;
                        .btn_text {
                            font-size: 16px;
                            font-weight: 600;
                            line-height: 16px;
                            letter-spacing: 0.04em;
                            text-align: left;
                            align-self: center;
                            z-index: 1; /* 擬似要素の下に配置 */
                            text-indent: -16px;
                            transition: color 0.3s ease;
                        }
                    
                        .btn_icon {
                            background-color: #fff; /* 元の #ffffff から #0d2f62 に変更 */
                            z-index: 1; /* 擬似要素の下に配置 */
                    
                            .arrow {
                                span {
                                    background-color: #0d2f62; /* 元の #0d2f62 から #ffffff に変更 */
                                    transition: background-color 0.3s ease;
                                }
                            }
                        }
                    
                        /* 擬似要素を使用して左から右に背景色を変更するアニメーション */
                        &::before {
                            content: "";
                            position: absolute;
                            top: 0;
                            left: -100%; /* 初期状態では左端に配置 */
                            width: 100%;
                            height: 100%;
                            background-color: #fff; /* 元の #ffffff から #0d2f62 に変更 */
                            transition: transform 0.5s ease; /* 左から右へのアニメーション */
                            z-index: 0; /* テキストの背面に配置 */
                        }
                    
                        &:hover::before {
                            transform: translateX(100%); /* ホバー時に擬似要素を右に移動 */
                        }
                    
                        &:hover {
                            color: #0d2f62; /* 元の #0d2f62 から #ffffff に変更 */
                        }
                    
                        &:hover .btn_text {
                            color: #0d2f62; /* テキスト色を反転 */
                        }
                    
                        &:hover .btn_icon {
                            background-color: #0d2f62; /* アイコン背景色を反転 */
                    
                            .arrow span {
                                background-color: #fff; /* 矢印の色を元の #ffffff から #0d2f62 に変更 */
                            }
                        }
                    }

                    .left_side{
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        .pc{
                            margin-bottom: 40px;
                            @media screen and (max-width: 768px){
                                display: none;
                            }
                        }
                    }
                    .img{
                        width: auto;
                        height: 211px;
                        margin-right: 44px;
                        @media screen and (max-width: 1240px){
                            height: 180px;
                            margin-right: 0;
                        }
                        @media screen and (max-width: 1024px){
                            margin: 0 auto;
                            height: 211px;
                        }
                        @media screen and (max-width: 768px){
                            height: 40vw;
                        }
                        @media screen and (max-width: 480px){
                            height: 211px;
                        }
                    }
                    .text{
                        width: 266px;
                        padding-top: 14px;
                        @media screen and (max-width: 1240px){
                            width: 280px;
                        }
                        @media screen and (max-width: 1024px){
                            width: 100%;
                            padding-top: 16px;
                        }
                        .coname{
                            font-size: 14px;
                            font-weight: 500;
                            line-height: 16px;
                            color: #333333;
                            word-break: keep-all;
                            @media screen and (max-width: 768px){
                                line-height: 14px;
                            }
                        }
                        .name{
                            font-size: 24px;
                            font-weight: 700;
                            line-height: 24px;
                            color: #333333;
                            margin: 8px 0 28px;
                            @media screen and (max-width: 1024px){
                                margin: 14px 0 40px;
                            }
                        }
                        .description{
                            font-size: 14px;
                            font-weight: 500;
                            line-height: 28px;
                            color: #333333;
                            @media screen and (max-width: 768px){
                                font-size: 16px;
                                line-height: 32px;
                            }
                        }
                        .sp{
                            display: none;
                            margin-top: 28px;
                            @media screen and (max-width: 768px){
                                display: flex;
                            }
                        }
                    }
                }
            }
            .box:nth-child(2){
                @media screen and (max-width: 768px){
                    margin-top: 128px;
                }
            }
        }
    }
}



/**/
.special{
    margin-top: 146px;
    background-color: #E9EFF3;
    padding: 100px 0 96px;
    @media screen and (max-width: 1240px){
        padding: 100px 40px 96px;
    }
    @media screen and (max-width: 1024px){
        padding: 100px 12px 96px;
    }
    @media screen and (max-width: 768px){
        padding: 100 0 96px;
        margin-top: 120px;
    }
    .container{
        .ttl{
            font-family: 'manrope' ,sans-serif;
            font-size: 24px;
            font-weight: 600;
            line-height: 24px;
            letter-spacing: 0.04em;
            text-align: left;
            color: #617FA9;
            margin-bottom: 20px;
            @media screen and (max-width: 768px){
                font-size: 20px;
                line-height: 16px;
            }
            @media screen and (max-width: 480px){
                font-size: 16px;
            }
        }
        .heading{
            font-size: 32px;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: #0d2f62;
            margin-bottom: 52px;
            @media screen and (max-width: 1240px){
                margin-bottom: 32px;
            }
            @media screen and (max-width: 768px){
                font-size: 20px;
                font-weight: 700;
                line-height: 20px;
                margin-bottom: 40px;
            }
        }
        .contents{
            display: flex;
            justify-content: center;
            gap: 38px;
            @media screen and (max-width: 768px){
                display: block;
            }
            .tube{
                @media screen and (max-width: 768px){
                    width: 100%;
                    height: auto;
                    aspect-ratio: 518 / 293;
                    margin-bottom: 22px;
                }
            }
            .text_home{
                border-left: 3px solid #0D2F62;
                padding-left: 40px;
                padding-top: 4px;
                height: auto;
                align-self: flex-end;
                .title{
                    font-size: 36px;
                    font-weight: 500;
                    line-height: 36px;
                    color: #333333;
                    @media screen and (max-width: 768px){
                        font-size: 24px;
                        line-height: 24px;
                    }
                }
                .description{
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 28px;
                    color: #333333;
                    margin: 32px 0 48px;
                    @media screen and (max-width: 1024px){
                        word-break: keep-all;
                    }
                    @media screen and (max-width: 768px){
                        font-size: 16px;
                        line-height: 32px;
                        word-break: normal;
                        wbr{
                            display: none;
                        }
                        br{
                            display: none;
                        }
                    }
                }
                .btn {
                    position: relative;
                    background-color: #ffffff; /* 元の #0d2f62 から #ffffff に変更 */
                    --btn-height: 64px;
                    height: var(--btn-height);
                    width: 267px;
                    display: flex;
                    color: #0d2f62; /* 元の #ffffff から #0d2f62 に変更 */
                    text-decoration: none;
                    text-align: center;
                    align-items: center;
                    justify-content: center;
                    border-radius: calc(var(--btn-height) / 2);
                    overflow: hidden; /* 擬似要素がはみ出さないように */
                    transition: color 0.3s ease;
                    border: 1px solid #0d2f62;
                    .btn_text {
                        font-size: 16px;
                        font-weight: 600;
                        line-height: 16px;
                        letter-spacing: 0.04em;
                        text-align: left;
                        align-self: center;
                        z-index: 1; /* 擬似要素の下に配置 */
                        text-indent: -16px;
                        transition: color 0.3s ease;
                    }
                
                    .btn_icon {
                        background-color: #0d2f62; /* 元の #ffffff から #0d2f62 に変更 */
                        z-index: 1; /* 擬似要素の下に配置 */
                
                        .arrow {
                            span {
                                background-color: #ffffff; /* 元の #0d2f62 から #ffffff に変更 */
                                transition: background-color 0.3s ease;
                            }
                        }
                    }
                
                    /* 擬似要素を使用して左から右に背景色を変更するアニメーション */
                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: -100%; /* 初期状態では左端に配置 */
                        width: 100%;
                        height: 100%;
                        background-color: #0d2f62; /* 元の #ffffff から #0d2f62 に変更 */
                        transition: transform 0.5s ease; /* 左から右へのアニメーション */
                        z-index: 0; /* テキストの背面に配置 */
                    }
                
                    &:hover::before {
                        transform: translateX(100%); /* ホバー時に擬似要素を右に移動 */
                    }
                
                    &:hover {
                        color: #ffffff; /* 元の #0d2f62 から #ffffff に変更 */
                    }
                
                    &:hover .btn_text {
                        color: #ffffff; /* テキスト色を反転 */
                    }
                
                    &:hover .btn_icon {
                        background-color: #ffffff; /* アイコン背景色を反転 */
                
                        .arrow span {
                            background-color: #0d2f62; /* 矢印の色を元の #ffffff から #0d2f62 に変更 */
                        }
                    }
                }
            }
        }
    }
}



/**/
footer{
    margin: 52px 0 0;
    padding: 0 24px 16px;
    @media screen and (max-width: 768px){
        padding: 0 0px 24px;
    }
    .container{
        .footer{
            width: 251px;
            .forhome{
                width: 251px;
                .logo{
                    width: auto;
                    height: 41px;
                    margin-bottom: 40px;
                    @media screen and (max-width: 768px){
                        margin-bottom: 24px;
                        height: auto;
                        width: 242px;
                    }
                }
            }
        }
        .nav_footer{
            padding-bottom: 36px;
            border-bottom: 1px solid #E1EAEF;
            @media screen and (max-width: 768px){
                display: none;
            }
            .gnavi{
                display: flex;
                gap: 28px;
                .nav_text{
                    text-decoration: none;
                    span{
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 21px;
                        text-align: left;
                        color: #0d2f62;
                    }
                }
            }
        }
        .block{
            display: flex;
            justify-content: flex-end;
            @media screen and (max-width: 768px){
                border-bottom: 1px solid #E1EAEF;
                padding-bottom: 8px;
                margin-bottom: 24px;
                justify-content: flex-start;
            }
            .policy{
                font-size: 12px;
                font-weight: 500;
                line-height: 18px;
                color: #000;
                text-decoration: none;
                display: inline-block;
                margin: 10px 0 24px;
                @media screen and (max-width: 768px){
                    font-size: 13px;
                    line-height: 13px;
                    margin: 0 0 0;
                    color: #999;
                }
            }
        }
        .copyright{
            font-family: Noto Sans JP ,sans-serif;
            font-size: 12px;
            font-weight: 400;
            line-height: 17.38px;
            color: #333333;
            text-align: center;
            @media screen and (max-width: 768px){
                font-size: 13px;
                line-height: 13px;
            }
        }
    }
}


