@charset "UTF-8";
/* ********************************************
// --- リセット ---
// ※ブラウザのデフォルトCSSをリセット
// ***************************************** */

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    background-image: url(../img/p0428_m.png);

}

header,
footer,
nav,
menu,
article,
aside,
section,
details,
figcaption,
figure {
    display: block;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

a img {
    border: none;
}

strong {
    font-weight: normal;
}

i {
    font-style: normal;
}

a {
    text-decoration: none;
    color: #5972ff;
}

.wrap {
    overflow: hidden;
}

/*header*/
.header {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 75px;
    background-color: #fafafa;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
}

.header-title {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
    margin-left: 20px;
    padding-top: 15px;
    color: #010202;
    z-index: 2;
}

.global-nav {
    position: fixed;
    right: -320px;
    /* これで隠れる */
    top: 0;
    width: 300px;
    /* スマホに収まるくらい */
    height: 100vh;
    padding-top: 40px;
    background-color: #fff;
    transition: all .6s;
    z-index: 200;
    overflow-y: auto;
    /* メニューが多くなったらスクロールできるように */
}

.hamburger {
    position: absolute;
    right: 0;
    top: 10px;
    width: 40px;
    /* クリックしやすいようにちゃんと幅を指定する */
    height: 40px;
    /* クリックしやすいようにちゃんと高さを指定する */
    cursor: pointer;
    z-index: 300;
}

.global-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-nav__item {
    text-align: center;
    padding: 0 14px;
}

.global-nav__item a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #111;
}

.global-nav__item a:hover {
    background-color: #eee;
}

.hamburger__line {
    position: absolute;
    left: 1px;
    width: 30px;
    height: 2px;
    background-color: #111;
    transition: all .6s;
}

.hamburger__line--1 {
    top: 13px;
}

.hamburger__line--2 {
    top: 20px;
}

.hamburger__line--3 {
    top: 27px;
}

.black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
}

/* 表示された時用のCSS */
.nav-open .global-nav {
    right: 0;
}

.nav-open .black-bg {
    opacity: .8;
    visibility: visible;
}

.nav-open .hamburger__line--1 {
    transform: rotate(45deg);
    top: 20px;
}

.nav-open .hamburger__line--2 {
    width: 0;
    left: 50%;
}

.nav-open .hamburger__line--3 {
    transform: rotate(-45deg);
    top: 20px;

}

.routebox {
    font-size: 12px;
    margin-right: 55px;
    margin-top: 22px;
}

.log {
    width: 100px;
    position: absolute;
    top: 1px;
    left: 30px;
}

/* --- 全体のBOX定義 ---------------------------------------- */
.box {
    position: relative;
    width: 100%;
    height: 800px;
    margin: auto;
    overflow: hidden;
}

/* --- 背景の指定 ------------------------------------------- */
.box .bgImg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    animation: bgAnime 20s infinite;
    /* 4画像 × 各5s = 20s */
}

/* --- 段差で背景画像のアニメーションを実行 ----------------- */
.box .src1 {
    background-image: url(../img/1ee877b157a97ac6bf34f596fc9ec881.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    /* 背景の画像を指定 */
    background-size: cover;
    width: 100%;
    max-width: 100%;
    height: auto
}

.box .src2 {
    background-image: url(../img/40531611.jpg);
    /* 背景の画像を指定 */
    animation-delay: 5s;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.box .src3 {
    background-image: url(../img/1____.jpg);
    /* 背景の画像を指定 */
    animation-delay: 10s;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.box .src4 {
    background-image: url(../img/file_9_37_1.jpg);
    /* 背景の画像を指定 */
    animation-delay: 15s;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@keyframes bgAnime {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* --- 前面の文字定義（サンプルのため変更してください） ----- */
.box .boxString {
    position: absolute;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 127, 255, 0.7);
    /* 半透明の青 */
    color: #fff;
    top: 50%;
    /* 中央寄せ */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
}

/*main*/
section {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 10px 0 10px 0;
}



.imgbox,
.imgbox2,
.imgbox3,
.imgbox4 {
    position: absolute;
    width: 100%;
    height: 200px;
    background: url("https://cdn.pixabay.com/photo/2017/03/23/16/48/japanese-cherry-trees-2168858_1280.jpg") #f0f1f6 no-repeat center center;
    background-size: cover;
    transition: all 0.5s ease-out;
    transform: matrix3d(1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 1);
    will-change: transform;
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -ms-filter: grayscale(0);
    -o-filter: grayscale(0);
    filter: grayscale(0);
}

.imgbox:hover {
    transform: matrix3d(1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 0.9);

    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.imgbox2:hover {
    transform: matrix3d(1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 0.9);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.imgbox3:hover {
    transform: matrix3d(1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 0.9);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.imgbox4:hover {
    transform: matrix3d(1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 0.9);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.imgbox2 {
    background: url("https://cdn.pixabay.com/photo/2017/03/27/14/49/beach-2179183_1280.jpg") #f0f1f6 no-repeat center;
    background-size: cover;
}

.imgbox3 {
    background: url("https://cdn.pixabay.com/photo/2017/09/26/16/32/autumn-leaves-2789234_1280.jpg") #f0f1f6 no-repeat center;
    background-size: cover;
}

.imgbox4 {
    background: url("https://cdn.pixabay.com/photo/2015/12/03/19/02/ski-1075456_1280.jpg") #f0f1f6 no-repeat top;
    background-size: cover;
}

.title {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
}

.title a {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

/*--footer--*/
footer {
    background-color: rgba(0, 0, 0, 0.5);
    height: 130px;
}

.copy {
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    text-align: center;
    height: 20px;
    margin-top: 20px;
    padding-top: 30px;
    width: 200px;
    font-size: 20px;
}

.footer-nav {
    width: 480px;
    margin: auto;
    padding-top: 20px;

}

.footer-nav li {
    text-align: center;
    width: 100px;
    padding-right: 20px;
    float: left;

}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
}

@media screen and (min-width: 480px) {
    .img {
        width: 100%;
        height: auto;
    }

    .route ul .route_item a p {
        width: 100%;
        margin: 20px 0;
        font-size: 16px;
    }
}

.route ul .route_item a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-justify-content: flex-start;
    -webkit-align-items: center;
    -webkit-flex-wrap: wrap;
    margin: 0 0 30px 0;
    text-decoration: none;
    color: #000;
}

.route ul .route_item a p {
    position: relative;
    width: 300px;
    margin: 0 0 0 3%;
    font-size: 21px;
    font-weight: 700;
}
