@charset "utf-8";

/* CSS Document */

@media screen and (max-width:768px) {
    #header_sp .header__logo-wrap {
        padding: 12px 15px 10px 14px
    }
    .inner {
        width: 94vw;
        margin: auto;
        padding: calc(40vw / (750 / 100)) 0
    }
    .main-title {
        font-size: calc(42vw / (750 / 100));
        font-weight: bold;
        color: #004097;
        border-bottom: 2px solid #004097;
        text-align: center;
    }
    .sta-list {
        margin: calc(40vw / (750 / 100)) auto calc(190vw / (750 / 100));
    }
    .sta-list>li {
        margin-bottom: calc(40vw / (750 / 100));
    }
    .sta-list>li>a {
        display: block;
        border-radius: 10px;
        background-color: #004097;
        font-size: calc(36vw / (750 / 100));
        font-weight: bold;
        color: #FFF;
        text-align: center;
        padding: calc(30vw / (750 / 100));
    }
    .ontheway-box {
        border: 1px solid;
        padding: calc(20vw / (750 / 100));
    }
    .ontheway-box__title {
        font-size: calc(36vw / (750 / 100));
        margin-bottom: calc(20vw / (750 / 100));
    }
    .ontheway-note>li {
        font-size: calc(26vw / (750 / 100));
        padding-left: 1.0em;
        position: relative;
    }
    .ontheway-note>li::before {
        content: "・";
        position: absolute;
        top: 0;
        left: 0;
    }
}

@media screen and (min-width:769px) {
    .inner {
        width: 992px;
        margin: auto;
        padding: 30px 0
    }
    .main-title {
        font-size: 24px;
        font-weight: bold;
        color: #004097;
        border-bottom: 2px solid #004097;
        text-align: center;
    }
    .sta-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 30px auto
    }
    .sta-list>li {
        width: calc(96% / 3);
        margin-right: 2%;
        margin-bottom: 2%;
    }
    .sta-list>li:nth-child(3n) {
        margin-right: 0
    }
    .sta-list>li>a {
        display: block;
        border-radius: 10px;
        background-color: #004097;
        font-size: 20px;
        font-weight: bold;
        color: #FFF;
        text-align: center;
        padding: 20px
    }
    .sta-list>li>a:hover {
        background-color: #888888
    }
    .ontheway-box {
        border: 1px solid;
        padding: 10px;
    }
    .ontheway-box__title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .ontheway-note>li {
        padding-left: 1.0em;
        position: relative
    }
    .ontheway-note>li::before {
        content: "・";
        position: absolute;
        top: 0;
        left: 0
    }
}


/* ドロップメニュー */

.sta-list>li {
    position: relative;
}

.sta-list>li:hover .drop-menu {
    visibility: visible;
    opacity: 1;
}

.sta-list li:hover .drop-menu>li>a {
    visibility: visible;
    opacity: 1;
}

.drop-menu {
    width: 100%;
    position: absolute;
    top: 100%;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: 0s;
}

.drop-menu>li>a {
    display: block;
    line-height: 40px;
    border-top: 1px solid #FFF;
    background: #2488ff;
    color: #FFF;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
    width: 100%;
    position: relative;
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
}


/* .drop-menu>li>a:after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    color: #FFF;
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 3%;
    bottom: 0;
    margin: auto;
} */

.drop-menu>li>a:hover {
    background: #1da1f2;
    color: #FFF;
}

.drop-menu>li>a:hover:after {
    color: #FFF;
}