@charset "utf-8";

/* -------------------------------------------------------------- */
/* Template#032 Designed by 日影石 https://hikageishi.websozai.jp */
/* -------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=EB+Garamond');
* {
    margin: 0;
    padding: 0;
}

body {
    background: #EEE;
    line-height: 1.5;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体","メイリオ",Meiryo,sans-serif, 'EB Garamond', serif;
    font-weight: 500;	/*フォントの太さ*/
    letter-spacing: 0.05em;	/*文字間隔*/
    color: #333;
    font-size: 15px;
    text-align: justify; 
}

/* ヘッダー */
header {
    background: url("../img/header.jpg");
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* サイトタイトル */
.title {
    font-family: serif;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.8);
    border-radius: 50%;
    height: 200px;
    width: 200px;
    box-shadow: 0 0 20px #000;
}
h1 {
    padding-top: 80px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    color: #BBB;
}
h1 a,
h1 a:hover {
    color: #BBB;
    text-decoration: none;
}
p.subtitle {
    padding-bottom: 100px;
    text-align: center;
    color: #777;
}

/* リンクタグ */
a {
    color: #202020;
    text-decoration: none;
}
a:hover {
    color: #FFF;
    text-decoration: none;
}



/* メニュー */
nav {
    height: 45px;
    position: relative;
    background-color: #333;
}
nav ul {
    position: absolute;
    left: 10%;
    display: table;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    text-align: center;
}
nav ul li {
    background-color: #333;
    display: table-cell;
    min-width: 50px;
}
nav ul li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 0;
    text-decoration: none;
    color: #aaa;
}
nav ul li.current {
    font-weight: bold;
}
nav ul li.current a {
    color: #00B0F0;
}
nav ul li a:hover {
    background-color: #666;
}

/* 内容 */
main {
    margin: 10px auto;
    height: auto !important;
    min-height: 100%;
    background-color: #EEE;
    color: #202020;
    width: 646px;
    padding: 50px;
    display: block;
    line-height: 2.0;
}

/* 更新履歴 */
.info {
    border: 1px solid #333;
    color: #333;
    background-color: #FFFFFF;
    margin: 10px 0 0 0;
    padding: 3px;
    height: 100px;
    overflow: auto;
}

.box {
    border: 1px solid #333;
    width: auto;
    margin: 20px 0;
    padding: 20px;
    color: #333;
    background-color: #FFFFFF;
}
/* メールフォーム */
textarea {
    border: 1px solid #333;
    color: #333;
    background-color: #FFFFFF;
    width: 100%;
    max-width: 400px;
}
input,
button {
    list-style: none;
    margin: 10px 0;
    border: 1px solid #333;
    color: #333;
    background-color: #FFFFFF;
    width: 90px;
}
.button {
    background-color: #FFFFFF;
}
.button:active {
    background-color: #666;
    color: #fff;
}

/* リンク集  */
.banner {
    border: 0;
    float: left;
    margin-right: 20px;
}

/* 画像周り */
.center {
    text-align: center;
}
img {
    max-width: 100%;
    height: auto;
}

/* 見出し */
h2 {
    margin: 20px 0;
    padding: 0 10px;
    background-color: #333;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;	/*フォントの太さ*/
}
h3 {
    margin: 20px 0;
    color: #333;
    border-bottom: 1px solid #333;
}

/* 引用 */
blockquote {
    color: #333;
    background-color: #FFFFFF;
    padding: 20px;
    position: relative;
    z-index: 1;
}
blockquote:before {
    content: "“";
    font-size: 600%;
    line-height: 1em;
    color: #ccc;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* リスト */
ol {
    margin: 0 10px;
}
ul {
    margin: 0 10px;
    list-style-type: square;
}
li {
    margin: 0 10px;
}

/* 強調 */
em {
    font-weight: bold;
    font-style: normal;
}
strong {
    color: #FFFFFF;
    background-color: #333;
}

/* Pタグ */
p {
    padding-bottom: 10px;
}

/* フッター */
footer {
    height: 50px;
    text-align: center;
}

/* ページ先頭バック */
.back {
 position: fixed;
 bottom: 60px;
 right: 10px;
  
 padding:2pt;
 background-color: #FFF;
 filter:alpha(opacity=85);
 -moz-opacity:0.85;
 -khtml-opacity: 0.85;
 opacity:0.85;

 text-shadow: 0 -1px 1px #FFF, -1px 0 1px #FFF, 1px 0 1px #aaa; 
 -webkit-box-shadow: 1px 1px 2px #E7E7E7;
 -moz-box-shadow: 1px 1px 2px #E7E7E7; 
 -webkit-border-radius: 3px; 
 -moz-border-radius: 3px; 

    font-size: 15px;
}

/* マーカー*/
.marker {
background: linear-gradient(transparent 0%, #FFF );
}
/* マーカーnew ffffbe */
.new {
background: linear-gradient(transparent 0%, #EFE);
    font-weight: bold;
    font-style: normal;
    color: #005739;
}

/* マーカーclap 
.clap {
background: linear-gradient(transparent 0%, #FFF);
    font-weight: bold;
    font-style: normal;
    color: #f68b1f;
}*/


/* メディアクエリ */
@media only screen and (max-width: 740px) {

    body {
        box-sizing: border-box;
        height: 100%;
    }
    main {
        width: 85%;
        padding: 0 7.5%;
        margin: 0;
        line-height: 2.5;
    }
    textarea {
        width: 95%;
    }
}

@media screen and (max-width: 600px) {
    #menu ul {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media screen and (max-width:360px) {
    .banner {
        float: none;
    }
}
