@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/

body {
    margin: 0px;
    padding: 0px;
    -webkit-text-size-adjust: none;
    color: #000000;
    /*全体の文字色*/
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /*フォント種類*/
    font-size: 16px;
    /*文字サイズ*/
    line-height: 2;
    /*行間*/
    background: linear-gradient(-45deg, rgba(255, 170, 127, .8), rgba(0, 85, 255, .8)),
    url("../images/bg.jpg");
    background-size: cover;

    /*background-color: #0000;
    background-image: url("../images/bg.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: right bottom;
    背景色*/
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-weight: normal;
}

ul {
    list-style-type: none;
}

ol {
    padding-left: 40px;
    padding-bottom: 15px;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}

iframe {
    width: 100%;
}

#box {
    border: solid 0px #000000;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 10px 10px;
    /*上、左右、下に空けるブロックの外側へのスペース*/
    padding: 10px;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/

a {
    color: #6699ff;
    /*リンクテキストの色*/
    transition: 0.3s;
    /*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}

a:hover {
    color: #d08047;
    /*マウスオン時の文字色*/
}

/*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/

#container {
    max-width: 1400px;
    /*最大幅*/
    margin: 50px 50px 0;
    /*上、左右、下に空けるブロックの外側へのスペース*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/

/*headerブロック*/

header {
    position: relative;
    text-align: center;
    /*内容を中央よせ*/
}

/*ロゴ画像設定*/

#logo img {
    width: 35%;
    /*画像幅*/
    margin-bottom: 10px;
    /*画像の下に空けるスペース*/
}

/*トップページのロゴ画像設定*/

#top #logo img {
    position: absolute;
    right: 5%;
    /*headerブロックに対して右から5%の場所に配置*/
    top: 40%;
    /*headerブロックに対して上から40%の場所に配置*/
    z-index: 11;
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/

/*画像ブロック*/

#mainimg {
    margin-bottom: 40px;
    /*画像の下に空けるスペース*/
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    /*影の設定。右へ、左へ、広げる幅。0,0,0は黒のことで0.2は透明度20%のこと。*/
    border-radius: 10px;
    /*角を丸くする指定。この１行を削除すれば角丸がなくなります。*/
}


/*メニュー
---------------------------------------------------------------------------*/

/*メニュー全体を囲むブロック*/

#menubar {}

/*メニュー１個あたりの設定*/

#menubar ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
    /*メニューの下に空けるスペース*/
}

#menubar li a {
    color: #acacac;
    /*文字色*/
    text-decoration: none;
    padding: 15px 10px;
    /*各メニュー内の余白。上下に15px、左右に30pxあけるという意味。*/
}

/*マウスオン時、現在表示中、の設定*/

#menubar li a:hover,
#menubar li.current a {
    color: #66CDAA;
    /*文字色*/
    border-bottom: 4px solid rgb(255, 170, 127);
    /*下線の幅、線種、色*/
}

/*コンテンツ（見出しバーや文字などが入っているブロック）
---------------------------------------------------------------------------*/

/*コンテンツのh2タグの設定*/

h1 {
    color: #444;
    font-size: 24px;
    border-bottom: solid 3px #cce4ff;
    position: relative;
}

h1:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #5472cd;
    bottom: -3px;
    width: 20%;
}

#contents h2 {
    color: #444;
    font-size: 20px;
    position: relative;
    padding: 0.25em 0;
}

#contents h2:after {
    content: "";
    display: block;
    height: 4px;
    background: -moz-linear-gradient(to right, rgb(255, 170, 127), transparent);
    background: -webkit-linear-gradient(to right, rgb(255, 170, 127), transparent);
    background: linear-gradient(to right, rgb(255, 170, 127), transparent);
}

/*コンテンツのh3タグの設定*/

h3{
color: #505050;/*文字色*/
padding: 15px;/*文字周りの余白*/
display: inline-block;/*おまじない*/
line-height: 1.3;/*行高*/
background: rgb(255, 170, 127);/*背景色*/
vertical-align: middle;/*上下中央*/
border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}

h3:before {
content: '●';
color: white;
margin-right: 8px;
}

h4 {
    color: #444;
    font-size: 24px;
    border-bottom: solid 3px rgb(255, 170, 127);
    position: relative;
}

h4:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #5472cd;
    bottom: -3px;
    width: 20%;
}

/*コンテンツのp(段落)タグ設定*/

#contents p {
    padding: 0px 20px 14px;
    /*上、左右、下への余白*/
}

#contents h2 + p,
#contents h3 + p {
    margin-top: -5px;
}

/*Galleryページ
---------------------------------------------------------------------------*/

/*各ブロックごとの設定*/

.list {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    /*下線の幅、線種、色*/
    padding: 20px;
    /*ボックス内の余白*/
}

/*h4見出しの設定*/

.list h4 {
    color: #d08047;
    /*文字色*/
}

/*画像の設定*/

.list img {
    width: 20%;
    /*画像幅*/
    float: left;
    /*画像を左に回り込み*/
    margin-right: 3%/*画像の右側に空けるスペース*/
}

/*段落タグ*/

.list p {
    padding: 0 !important;
}

/*フッター(ページ最下部のcopyrightのパーツ)設定
---------------------------------------------------------------------------*/

footer {
    clear: both;
    text-align: center;
    /*文字をセンタリング*/
    padding: 50px 0px 0px;
    /*上、左右、下へのボックス内の余白*/
}

footer a {
    text-decoration: none;
    border: none;
}

footer .pr {
    display: block;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/

/*ブロック全体の設定*/

#new dl {
    padding-left: 20px;
    margin-bottom: 15px;
}

/*日付設定*/

#new dt {
    font-weight: bold;
    /*太字にする設定。標準がいいならこの行削除。*/
    float: left;
    width: 8em;
}

/*記事設定*/

#new dd {
    padding-left: 8em;
}

/*テーブル
---------------------------------------------------------------------------*/

/*tテーブルブロック設定*/

.ta1 {
    width: 100%;
    margin-bottom: 15px;
}

.ta1,
.ta1 td,
.ta1 th {
    word-break: break-all;
    border: 1px solid #999;
    /*テーブルの枠線の幅、線種、色*/
    padding: 10px;
    /*テーブル内の余白*/
    text-align: center;
    /*センタリング*/
}

/*テーブル１行目に入った見出し部分*/

.ta1 th.tamidashi {
    width: auto;
    text-align: center;
    color: aliceblue background: #eee;
    /*背景色*/
}

/*テーブルの左側ボックス*/

.ta1 th {
    width: auto;
    /*幅*/
    text-align: center;
    /*センタリング*/
}

/*その他
---------------------------------------------------------------------------*/

.look {
    background: #e5e5e5;
    padding: 5px 10px;
    border-radius: 4px;
}

.mb15,
.mb1em {
    margin-bottom: 15px;
}

.color1 {
    color: #d08047;
}

.pr {
    font-size: 12px;
}



/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:800px) {

    /*コンテナー（ホームページを囲む一番外側のブロック）
---------------------------------------------------------------------------*/
    #container {
        margin: 20px 20px 0;
        /*上、左右、下に空けるブロックの外側へのスペース*/
    }

}



/*画面幅580px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:580px) {

    /*全体の設定
---------------------------------------------------------------------------*/
    body {
        font-size: 12px;
        /*文字サイズ*/
        line-height: 1.5;
        /*行間*/
    }

    /*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
    /*ロゴ画像設定*/
    #logo img {
        width: 90%;
        /*画像幅*/
    }
    /*トップページのロゴ画像設定*/
    #top #logo img {
        width: 45%;
        /*画像幅*/
        top: 35%;
        /*headerブロックに対して上から40%の場所に配置*/
    }

    /*メニュー
---------------------------------------------------------------------------*/
    /*メニュー１個あたりの設定*/
    #menubar li {
        display: block;
        /*縦並びにする設定*/
        margin-bottom: 10px;
    }
    #menubar li a {
        text-decoration: none;
        padding: 8px 0px;
        /*各メニュー内の余白。*/
    }

    /*Galleryページ
---------------------------------------------------------------------------*/
    /*各ブロックごとの設定*/
    .list {
        padding: 10px;
        /*ボックス内の余白*/
    }

    /*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
    /*アイコン*/
    #new h2::before {
        float: right;
        /*右に回り込み*/
        background: #fff;
        /*背景色*/
        color: #666;
        /*文字色*/
        border-radius: 50%;
        /*角丸のサイズ*/
        width: 18px;
        /*幅*/
        line-height: 18px;
        /*高さ*/
        text-align: center;
        /*文字をセンタリング*/
    }
    /*プラスアイコンの文字*/
    #new h2.close::before {
        content: "＋";
    }
    /*マイナスアイコンの文字*/
    #new h2.open::before {
        content: "−";
    }

    /*テーブル
---------------------------------------------------------------------------*/
    /*tテーブルブロック設定*/
    .ta1,
    .ta1 td,
    .ta1 th {
        padding: 5px;
        /*テーブル内の余白*/
    }

}

#contents {}

#menu {
    margin-bottom: 30px;
}


/*年齢認証*/

.modal {
    position: fixed;
    display: none;
    z-index: 9999;
    top: 40%;
    left: 50%;
    width: 400px;
    height: 200px;
    margin: -120px 0 0 -220px;
    padding: 20px;
    text-align: center;
}

.modal p {
    margin-bottom: 10px;
}

.modal a {
    cursor: pointer;
}