@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;
}

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;
    left: 0;
    top: 0;
    width: 100%;
    height: 75px;
    background-color: #fafafa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
    z-index: 1000;
}

.header-title {
    font-size: 30px;
    margin-left: 20px;
}

.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;

}


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

/*scroll*/

.scroll {
    width: 120px;
    height: 70px;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    text-align: center;
    z-index: 1;
}

.scroll h2 {
    color: rgba(255, 255, 255, 0.6);
}

.scroll a {
    cursor: pointer;
    width: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- 全体の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--*/
main {
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}

.main-top {
    text-align: center;
    width: 100%;
    height: 400px;
    background-color: #fff;
}

.main-text {
    text-align: center;
    margin: auto;
    width: 700px;
    position: relative;
    top: 100px;
}

.main-top h2 {
    font-weight: 100;
}

.main-top p {
    position: relative;
    top: 50px;
    line-height: 3;
}


#textbox {
    width: 500px;
    height: 400px;
    background-color: #fff;
    text-align: center;
    border-style: solid;
}

.topic {
    width: 400px;
    height: auto;
    position: relative;
    top: 30px;
    left: 280px
}

.sec01 {
    width: 900px;
    height: 500px;
    position: relative;
    top: 50px;
    left: 280px;
}

#nagaoka {
    width: 550px;
}

.nagaoka {
    position: absolute;
    right: -12px;
}

.textbox {
    width: 500px;
    height: 300px;
    position: absolute;
    right: -10px;
    top: 130px;
    background-color: #fff;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
}

.textbox2 {
    width: 500px;
    height: 300px;
    position: absolute;
    top: 120px;
    background-color: #fff;
    box-shadow: -2px 4px 4px rgba(0, 0, 0, 0.4);
}

.container {
    text-align: center;
    padding-top: 40px;
}


/* ここから下がボタンのCSS　*/
.btn-animation-02 {
    display: inline-block;
    width: 200px;
    height: 40px;
    text-align: center;
    background-color: #0e0f0c;
    border: 2px solid #0e0f0c;
    font-size: 14px;
    color: #0e0f0c;
    text-decoration: none;
    position: relative;
    bottom: 24px;
    right: 80px;
}

.btn-animation-02 span {
    position: relative;
    top: 9px;
    z-index: 1;
}

.btn-animation-02::before,
.btn-animation-02::after {
    content: "";
    display: block;
    background-color: #FFF;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    transition: .2s;
}

.btn-animation-02::before {
    left: 0;
}

.btn-animation-02::after {
    right: 0;
}

.btn-animation-02:hover:before,
.btn-animation-02:hover:after {
    width: 0;
    background-color: #FFF;
}

.btn-animation-02:hover {
    color: #FFF;
}

#text {
    position: absolute;
    top: 20px;
    left: 20px;
}

#text2 {
    margin-left: 10px;
    margin-top: 10px;
    line-height: 2;
}

#inter {
    font-family: Marion;
    font-size: 60px;
    margin-top: 20px;
    margin-left: 10px;
}

#rigth_text {
    position: relative;
    left: 230px;
}

/*--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: 15px;
}

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

}

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

}

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

/*--レスポンシブ--*/
@media screen and (max-width: 633px) and (min-width:415px) {
    #menu1 {
        margin-top: 26px;
    }

    .nav li:first-child {
        border-top: solid 1px white;
    }

    .box {
        width: 100%;
        height: 300px;
    }
}

@media screen and (max-width: 375px) {
    #menu1 {
        margin-top: 26px;
    }

    .nav li:first-child {
        border-top: solid 1px white;
    }

    .box {
        width: 100%;
        height: 250px;
    }
}

@media screen and (max-width: 414px)and (min-width:376px) {
    #menu1 {
        margin-top: 26px;
    }

    .nav li:first-child {
        border-top: solid 1px white;
    }

    .box {
        width: 100%;
        height: 280px;
    }
}
