/* 全体のスタイル */
* {
    margin: 0;
    font-size: 100%;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif
}

body {
    background: #FFF;
    -webkit-text-size-adjust: 100%
}

.clear {
    clear: both
}

.clear hr {
    display: none
}

/* トップ部分のスタイル */
#top {
    display: block;
    padding: 2px 1vw 0;
    margin: 1px 0;
    background: #412405
}

#top h1 {
    display: block;
    color: #fff;
    text-align: center
}

/* ヘッダー部分のスタイル */
#head {
    display: block;
    max-width: 1000px;
    margin: 0 auto 1vw;
    max-height: 100px
}

#logo img {
    display: block;
    max-width: 621px;
    margin: 0 auto;
    padding: 0 5px;
    height: auto
}


#slider {
    width: 100%;
    height: 100%;
    margin-top: 15px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden
}

@keyframes load {
    from {
        left: -100%
    }

    to {
        left: 0
    }
}

.slides {
    width: 600%;
    height: 100%;
    position: relative;
    ;
    animation: slide 45s infinite
}

.slider {
    width: 16.666%;
    height: 100%;
    float: left;
    position: relative;
    z-index: 1;
    overflow: hidden
}

.image img {
    width: 100%;
    height: 100%
}

.legend {
    border: 300px solid transparent;
    border-left: 800px solid rgba(0, 0, 0, .4);
    border-top: 0;
    position: absolute
}

.content {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden
}

.content-txt {
    max-width: 100vw;
    height: 150px;
    float: left;
    position: relative;
    top: 2vw;
    animation: content-s 7.5s infinite
}

.content-txt a {
    color: #fff;
    text-decoration: none
}

.content-txt h2 {
    font-size: 1.8em;
    text-transform: uppercase;
    text-align: left;
    padding: 0 5vw 0.5vw;
    line-height: 1.2em
}

.content-txt p {
    font-size: 0.8em;
    text-align: left;
    padding: 0 5vw 0
}

@keyframes slide {

    0%,
    100%,
    12% {
        margin-left: 0%
    }

    17%,
    29% {
        margin-left: -100%
    }

    34%,
    46% {
        margin-left: -200%
    }

    51%,
    63% {
        margin-left: -300%
    }

    68%,
    80% {
        margin-left: -400%
    }

    85%,
    96% {
        margin-left: -500%
    }
}

@keyframes content-s {

    0%,
    80%,
    90%,
    100% {
        left: -100vw
    }

    10% {
        left: 20px
    }

    15%,
    30%,
    40%,
    50%,
    60%,
    70% {
        left: 0
    }
}

#sp {
    text-align: center
}

/* スマートフォン用のスタイル */
#sp {
    text-align: center
}

@media screen and (min-width: 1000px) {
    #h-con {
        position: sticky;
        top: 0;
        z-index: 2
    }

    #menu li {
        width: 240px
    }

    #conten #copy,
    #conten .left {
        display: inline-block;
        max-width: 50%;
        margin: 0 5px 0 0;
        vertical-align: top
    }

    #conten #copy p {
        display: block;
        margin: 2em 0
    }

    #conten #news,
    #conten .right {
        display: inline-block;
        max-width: 45%;
        margin: 0 0 0.5em 5px
    }

    #copy div {
        display: block;
        max-width: 330px
    }

    .waku,
    .ti1 h2 {
        display: block;
        margin: 0.5em 1em
    }

    .right h2 {
        display: block;
        margin: 1.5em 0em 0.5em
    }

    footer .left {
        display: block;
        float: left;
        margin: 2em 1em
    }

    footer nav {
        display: block;
        float: right;
        margin: 0 2em 0 0
    }

    footer nav ul.link {
        font-size: 0.9em;
        margin: 3em 2em 2em 0;
        float: left
    }
}

@media screen and (max-width: 999px) {
    #logo img {
        max-width: 90%
    }

    #menu li {
        width: 48%
    }

    main article {
        margin: 0 1em
    }

    #copy div,
    .ti1 h2 {
        margin: 1em 0 0.5em;
        vertical-align: top
    }

    #conten #copy p {
        display: block;
        margin: 1em 0
    }

    #news {
        margin: 0 0 1em
    }

    .waku {
        display: block;
        margin: 0.5em 0
    }

    footer .left {
        display: block;
        margin: 2em 1em 0
    }

    footer nav {
        display: block;
        padding: 0 2em 2em 0;
        font-size: 0.9em
    }
}

/* メニュー部分のスタイル */
#menu {
    display: block;
    background: linear-gradient(#fff, #ffc960, #d3a139, #ffc960);
    overflow: hidden
}

#menu ul {
    list-style: outside none;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    max-width: 1016px
}

#menu li {
    display: inline-block;
    /*display: inline;
    /zoom: 1;*/
    margin: 5px 1px;
    padding: 0;
    border-radius: 60px;
    vertical-align: middle
}

#menu a {
    height: 1.8em;
    display: flex;
    margin: 0 auto;
    border-radius: 60px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: #ffc960 solid 2px;
    color: #fff;
    text-shadow: 0 3px 5px #666;
    box-shadow: inset 0px -2px 20px 10px rgba(0, 0, 0, .6);
    transition: all 0.2s
}

#menu a:hover {
    text-decoration: underline;
    text-shadow: 0 3px 5px #666;
    box-shadow: none
}

/* サブメニュー部分のスタイル */
#smenu {
    display: block;
    background: linear-gradient(#412405, #ffc960, #fff);
    overflow: hidden
}

#smenu ul {
    list-style: none outside none;
    text-align: center;
    padding: 0;
    margin: 5px auto;
    max-width: 1016px
}

#smenu li {
    display: inline-block;
    /*display: inline;
    /zoom: 1;*/
    width: 110px;
    margin: 5px 1px;
    padding: 4px;
    background: #412405;
    border-radius: 15px;
    vertical-align: middle
}

#smenu li.br {
    background: #990000
}

#smenu li.bb {
    background: #003366
}

#smenu li.bg {
    background: #006666
}

#smenu a {
    height: 45px;
    display: flex;
    margin: 0 auto;
    font-size: 14px;
    border: #ffc960 solid 2px;
    color: #fff;
    text-shadow: 0 3px 5px #666;
    box-shadow: inset 0px -2px 20px 10px rgba(0, 0, 0, .6);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s
}

#smenu a:hover {
    text-decoration: underline;
    border-radius: 50px
}

/* ビデオ部分のスタイル */
video {
    display: block;
    width: 100%
}

main {
    display: block
}

/* コンテンツ部分のスタイル */
#conten {
    display: block;
    max-width: 1216px;
    margin: 0px auto;
    font-size: 1em;
    line-height: 1.75em;
    text-align: center
}

article p {
    text-align: left
}

#copy h2,
.ti1 h2 {
    text-align: left;
    font-size: 28px;
    line-height: 1.2em
}

.ti h2 {
    display: flex;
    background: rgb(227, 250, 250); /* 背景色を変更 */
    color: #000 !important; /* 文字色を黒に変更 */
    border: #060ee7 solid 2px;   /* 枠の色と太さを変更 */
    border-radius: 5px;    /* 枠のかどのRを変更 */
    font-size: 1.8em;
    align-items: center;
    justify-content: center;
    height: 40px
}

.waku h3 {
    display: block;
    font-weight: bold;
    text-align: left
}

.waku h3:before {
    content: "■";
    color: #FF9900
}

.waku p {
    line-height: 1.75em;
    color: #333
}

#past {
    display: block;
    margin: 0.5em 1em;
    text-align: right
}

.ti1 h2 {
    display: block;
    font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif
}

.img1 img {
    display: block;
    width: 100%;
    margin: 3vw auto;
    height: auto
}

/* フッター部分のスタイル - ogawa-footer.phpで管理 */