@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
}

body {
    line-height: 1
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block
}

ul {
    list-style: none
}

blockquote,q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

del {
    text-decoration: line-through
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input,
select {
    vertical-align: middle
}


/*================================================
 *  一般・共通設定
 ================================================*/

body {
    font-size: 20px;
    background-color: #900000;
    color: #666;
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 2em;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}

footer {
    -webkit-order: 1;
    -moz-order: 1;
    -ms-order: 1;
    -o-order: 1;
    order: 1;
}


/*================================================
 *  ヘッダー
 ================================================*/

header {
    width: 100%;
    height: 700px;
    background: url(../images/photo02.jpg) no-repeat center;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

h1 {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 44px;
    line-height: 2em;
}


/*================================================
 *  ナビゲーション
 ================================================*/

#menuHoge {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 30px 0;
    text-align: center;
    color: #fff;
    z-index: 2000;
    cursor: pointer;
}

#menuHoge span {
    display: block;
    width: 80%;
    margin: 0 auto;
    position: relative;
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
}

#menuHoge span::before,
#menuHoge span::after {
    content: "";
    position: absolute;
    border-top: 2px solid #900000;
    top: 50%;
}

#menuHoge span a {
    font-weight: bold;
}

#menuHoge span::before {
    left: 0;
    width: 40%;
}

#menuHoge span::after {
    right: 0;
    width: 40%;
}

nav {
    /*
    position: fixed;
    width: 100%;
    height: 100%;
*/
    /*    background-color: rgba(221,216, 202,0.95);*/
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    z-index: 1000;
    -webkit-order: 1;
    -moz-order: 1;
    -ms-order: 1;
    -o-order: 1;
    order: 1;
}


/*
#menu::-webkit-scrollbar {
    width: 12px;
}
 
#menu::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #900000;
}
 
#menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #fff;
}
*/

#menu {
    padding: 100px 0;
    width: 80%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

#menu li {
    width: 30%;
}

a {
    color: #ddd8ca;
    padding: 0px 10px;
}

a:hover {
    color: #666;
}

#menu li a {
    text-decoration: none;
}

.kiji a {
    color: #900000;
    text-decoration: underline;
}

.kiji a:hover {
    text-decoration: none;
}

a:visited {
    color: #666;
}


/*
#menu li a {
    background-color: transparent;
}
*/


/*================================================
 *  囲い
 ================================================*/

.cover {
    overflow: hidden;
}

#contents {
    width: 100%;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: #fff;
    -webkit-transform: rotateZ(15deg);
    transform: rotateZ(15deg);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.main {
    box-sizing: border-box;
    -webkit-transform: rotateZ(-15deg);
    transform: rotateZ(-15deg);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 30px;
}

.kiji p a {
    text-shadow: none;
}


/*================================================
 *  メイン本文
 ================================================*/

h2 {
    font-size: 36px;
    line-height: 2em;
    text-align: center;
    margin-top: 100px;
}

.kiji {
    margin-top: 50px;
    width: 100%;
    max-width: 960px;
}

p {
    margin-top: 1em;
    margin-bottom: 1em;
}

ul.post {
    margin-left: 1.5em;
    list-style-type: disc;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

ol.post {
    margin-left: 1.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}


/*リストを内側に入れる*/

h3 {
    font-weight: bold;
    padding: .5em .75em;
    background-color: #f6f6f6;
    border-radius: 6px;
    font-size: 120%;
}

h4 {
    padding-left: 0.5em;
    margin: 0.5em;
    border-bottom: 2px solid #ccc;
    font-size: 110%;
}


/*見出し追加*/


/*================================================
 *  フッター
 ================================================*/

footer {
    position: relative;
    width: 100%;
    background-color: #900000;
}

.copyright {
    padding: 50px 0;
    text-align: center;
    color: #ddd8ca;
}


/*================================================
 *  トップ行き
 ================================================*/

#totop {
    position: fixed;
    right: 5%;
    bottom: 30px;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

#totop a {
    padding: 0;
}

#totop:hover {
    bottom: 40px;
}

#totop img {
    display: block;
}


/*================================================
 *  タブレット向け
 ================================================*/

@media screen and (max-width:979px) {
    h1 {
        font-size: 36px;
    }
    header {
        height: 500px;
    }
    #menu {
        width: 90%;
        height: 70%;
    }
    #menu li {
        width: 50%;
    }
    #contents {
        -webkit-transform: rotateZ(0);
        transform: rotateZ(0);
        padding-top: 10px;
    }
    h2 {
        font-size: 30px;
    }
    .main {
        width: 90%;
        -webkit-transform: rotateZ(0);
        transform: rotateZ(0);
        padding: 0px;
    }
}


/*================================================
 *  スマートフォン向け
 ================================================*/

@media screen and (max-width:767px) {
    h1 {
        font-size: 24px;
    }
    header {
        height: 300px;
    }
    #menu {
        padding: 50px 0;
        width: 95%;
    }
    #menuHoge {
        padding: 10px 0;
    }
    #menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    }
    #menuHoge span::before {
        width: 25%;
    }
    #menuHoge span::after {
        width: 25%;
    }
    #contents {
        padding-top: 10px;
        padding-bottom: 50px;
    }
    h2 {
        font-size: 30px;
        margin-top: 30px;
    }
    .main {
        width: 95%;
    }
    .kiji {
        margin-top: 25px;
    }
}
