/*-----------------------------------------
(1)基本タグ
(2)全体
(3)ヘッダーエリア
(4)メインエリア
(5)サイドエリア
(6)フッターエリア
(7)各種設定
    (7-1)フォント・マージン・テキスト配置
    (7-2)ボタン設定
    (7-3)その他の背景枠など
(-)ソーシャルボタン
-----------------------------------------*/

/* (1)基本タグ
-----------------------------------------*/

html{
    padding:0;
    margin:0;
}

body {
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
    font-size:16px;
    text-align: center; 
    background-color:#FAFAFA;
    -webkit-text-size-adjust: none;
    overflow-x : auto ;
    padding:0;
    margin:0;
    background: url("/img/background/menu.png") repeat fixed;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    body {
        font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
    }
}

/* スクロールバー設定 */
body::-webkit-scrollbar {
    width: 8px;
    height: auto;
}
body::-webkit-scrollbar-track {
    background-color: #ccc;
}
body::-webkit-scrollbar-thumb {
    background-color: #0062AE;
    border-radius: 6px;
}

h1 {
    font-size:16px;
    text-decoration:none;
    padding:0;
    margin:0;
}

h1.disp_title a {
    color:#FFFFFF;
    text-decoration:none;
}

h2 {
    font-size:14px;
    text-decoration:none;
    padding:0;
    margin:0;
}

h3 {
    font-size:14px;
    text-decoration:none;
    padding:0;
    margin:0;
}

h4 {
    font-size:14px;
    text-decoration:none;
    padding:0;
    margin:0;
}

a {
    color:#6BA0D7;
    font-weight:bold;
    text-decoration:underline;
}

a:hover {
    color:#CC0000;
    text-decoration:underline;
}

img {
    border: 0;
}

input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    color: #fff;
    border-radius: 5px;
    border: 2px solid #fff;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    background: linear-gradient(140deg, rgba(0,51,153,1) 0%, rgba(0,0,0,1) 90%);
    cursor: pointer;
}

input[type="submit"]:hover {
    background: linear-gradient(140deg, rgba(100,0,0,1) 0%, rgba(0,0,0,1) 90%);
}

/* ローディング
-----------------------------------------*/
#loader-bg {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: #000;
    z-index: 99;
    opacity:0.3;
}
#loader {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    text-align: center;
    color: #fff;
    z-index: 99;
}
#loader-bg.off, #loader.off {
    display: none;
}


/* (2)全体
-----------------------------------------*/

.wrap {
    display: inline-block;
    background-size:100% 100%;
    position:relative;
    width:1024px;
    text-align: center; 
    color: #ddd;
    overflow-x : hidden ;
    margin:30px 0 30px 0;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    .wrap {
        width:100%;
    }
}

/* (3)ヘッダーエリア
-----------------------------------------*/
.header_bg {
    position: relative;
    background-color:#000;
    width:100%;
    height: 40px;
    line-height: 40px;
}
.header_text {
    position: relative;
    padding: 0;
    font-size: 18px;
    text-align: left;
    left: 50px;
    float: left;
    color: #fff;
}
.header_text a {
    color: #fff;
    text-decoration:none;
}
.header_text a:hover {
    opacity: 0.5;
}
.header_text.right{
    position: relative;
    float: right;
    left: -50px;
}
.header_btn {
    background-color:#078B7D;
    color: #fff;
    font-size: 14px;
    padding: 4px 10px;
    margin:0 10px;
    border-radius:5px;
    border: 2px solid #078B7D;
}
.header_btn a {
    text-decoration:none;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    .header_text {
        font-size: 14px;
        left: 5px;
    }
    .header_text.right{
        left: -5px;
    }
}


/* ヘッダー下部 */
.header_bottom_bg {
    display: inline-block;
    position:relative;
    width:1024px;
    height: auto;
    text-align: center; 
    overflow-x : hidden ;
    margin:10px 0;
}

/* お知らせ欄 */
.header_info_bg {
    width: 100%;
    height: auto;
    text-align: left; 
    font-size: 14px;
    color: #fff;
    background-color:#666;
    border: 2px solid #fff;
    border-bottom: 0;
    box-sizing: border-box;
}
.header_info_midashi {
    display: inline-block;
    position:relative;
    padding: 5px 10px;
    width: 80px;
    background-color:#001D49;
    border-right: 2px solid #fff;
    color: #fff;
    text-align: center; 
    box-sizing: border-box;
}
.header_info_data {
    display: inline-block;
    position:relative;
    width: 900px;
    padding: 0 0 0 10px;
    box-sizing: border-box;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    .header_bottom_bg {
        width: 100%;
        margin: 0;
        border: 0;
        background-color:#000;
    }
    .header_info_midashi {
        display: none;
    }
    .header_info_bg {
        border: 0;
        border-top: 0px solid #fff;
        border-bottom: 2px solid #fff;
        box-sizing: border-box;
        margin:0 0 5px 0;
    }
    .header_info_data {
        display: block;
        width: 100%;
        background-color:#993300;
        width: auto;
        padding: 3px 5px;
    }
}

/* キャラクターデータ */
.head_char_bg {
    display: flex;
    padding: 0;
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #fff;
    background-color:#000;
    border: 2px solid #fff;
    box-sizing: border-box;
    text-align: center;
}
.head_char_bg p {
    padding:0;
    margin:0;
}
.head_char_bg .char_img {
    flex: 1;
    position:relative;
    width:100px;
    height:auto;
    border: 2px solid #000;
    box-sizing: border-box;
    padding: 0;
}
.head_char_bg .char_img a {
    color: #fff;
    text-decoration:none;
}
.head_char_bg .char_img a:hover {
    color:#CC0000;
}
.head_char_bg .char_img img {
    width:90px;
    height:auto;
}
.head_char_bg .char_img img:hover {
    opacity:0.5;
}
.head_char_bg .char_prof {
    flex: 2;
    position:relative;
    width:600px;
    height:auto;
    border-right: 2px dotted #fff;
    text-align: left;
    margin: 5px 0 0 10px;
    padding: 0;
    font-size: 16px;
}
.head_char_bg .char_prof p {
    padding: 3px 0;
    border-bottom: 1px dotted #999;
    width: 87%;
    font-size: 14px;
}
.head_char_bg .char_prof .val {
    color: #00ff00;
}
.head_char_bg .char_prof a {
    display: inline-block;
    padding: 2px 10px;
    margin: 3px 10px 0 0;
    background-color: #fff;
    border: 1px solid #0000cc;
    color: #0000cc;
    font-size: 12px;
    text-decoration: none;
}
.head_char_bg .char_prof a:hover {
    background-color: #0000cc;
    color: #fff;
}
.head_char_bg .char_prof .head {
    position:relative;
    display: inline-block;
    width: 44%;
    font-size: 12px;
    padding: 3px 0;
}
.head_char_bg .char_prof .bar_bg {
    position:relative;
    display: inline-block;
    width: 32%;
    height: 5px;
    background-color: #555;
    border-radius: 20px;
    top: -3;
    overflow: hidden;
    margin:0 5px 0 0;
}
.head_char_bg .char_prof .bar_data {
    height: 5px;
    background: linear-gradient(to right, #f6d365, #52c234);
    border-radius: 20px;
}
.head_char_bg .char_prof .bar_data.stamina {
    background: linear-gradient(to right, #ff416c, #00b4db);
}
.head_char_bg .char_para_bg {
    flex: 2;
    display: flex;
    position:relative;
    width:300px;
    height:auto;
    text-align: left;
    padding: 5px 0;
}
.head_char_bg .char_para_bg .bar_bg {
    display: inline-block;
    width: 90%;
    height: 5px;
    background-color: #555;
    border-radius: 20px;
    overflow: hidden;
    margin:2px 0 8px 0;
}
.head_char_bg .char_para_bg .bar_data {
    height: 5px;
    background-color: #37E0FA;
    border-radius: 20px;
}

.head_char_bg .char_para_l {
    flex: 1;
    position:relative;
    width:150px;
    height:auto;
    margin: 0 0 0 10px;
}
.head_char_bg .char_para_r {
    flex: 1;
    position:relative;
    width:150px;
    height:auto;
    margin: 0;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    .head_char_bg {
        display: inline-block;
        border: 0;
    }
    .head_char_bg .char_prof p {
        width: 94%;
    }
    .head_char_bg .char_img {
        width:100%;
        height:auto;
    }
    .head_char_bg .char_img img {
        width:100px;
        height:100px;
    }
    .head_char_bg .char_prof {
        display: inline-block;
        width:100%;
        height:auto;
        border-right: 0;
        margin: 0;
        padding: 5px 10px;
        border-top: 1px dotted #999;
        border-bottom: 1px dotted #999;
    }
    .head_char_bg .char_para_bg {
        width:100%;
        height:auto;
        margin: 0 0 20px 0;
    }
    .head_char_bg .char_para_bg .bar {
        display: inline-block;
        width: 95%;
    }
    .head_char_bg .char_para_l {
        width:50%;
        height:auto;
    }
    .head_char_bg .char_para_r {
        width:50%;
        height:auto;
    }
}



/* (4)メインエリア
-----------------------------------------*/

.main {
    width:100%;
    text-align: left; 
}
.main_head {
    display: inline-block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0;
    margin: 10px 0;
    background-color:#1756BD;
    box-sizing: border-box;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.main_head.red {
    background-color:#AF0000;
}
.sub_head {
    display: inline-block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0;
    margin: 10px 0;
    background-color:#fff;
    border-top: 2px solid #1756BD;
    border-bottom: 2px solid #1756BD;
    box-sizing: border-box;
    color: #1756BD;
    font-size: 18px;
    text-align: center;
}

/* スクロール固定 */
#head_fix_row {
    width:100%;
}
#head_fix_row.fixed {
    position: fixed;
    top: 0;
    z-index: 1;
    max-width: 1024px;
    border-bottom: 2px solid #666;
    box-shadow: 0px 5px 5px #999;
}
#head_fix_row.fixed.none {
    opacity: 0;
    z-index: 0;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    #head_fix_row {
        width:auto;
    }
    #head_fix_row.fixed {
        position: relative;
        max-width: auto;
    }
}


/* (4-1)メインエリア：TOP
-----------------------------------------*/
.game_top {
    position: relative;
    text-align: center;
    width: 100%;
    height: auto;
}

.game_top .top_img img {
    width: 100%;
    height: auto;
}


/* (4-2)メインエリア：NPC
-----------------------------------------*/
.npc_data_bg {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 20px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    font-size: 16px;
    color: #333;
    background-color: #000;
    border: 0;
    text-align: center;
}
.npc_data_l {
    flex: 0.4;
    position:relative;
    width:30%;
    height:auto;
    background: #000;
    padding: 0;
}
.npc_data_l p {
    margin: 5px 0;
}
.npc_data_l .npc_data_title {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color:#000;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}
.npc_data_l img {
    position:relative;
    width: 100%;
    max-width: 200px;
    height: auto;
}
.npc_data_r {
    flex: 1;
    position:relative;
    width:auto;
    height:auto;
    background: #000;
    color: #fff;
    padding: 0 0;
}

.npc_data_r .head {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background-color:#1756BD;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}
.npc_data_r .npc_detail {
    position: relative;
    display: inline-block;
    width: 96%;
    min-height: 100px;
    height:auto;
    padding: 0 5px;
    text-align: left;
    font-size: 16px;
}
.npc_data_r .npc_detail p {
    margin: 10px 0;
}
.npc_data_r .npc_detail .msg {
    margin: 10px 0 20px 0;
}
.npc_data_r .npc_detail .head {
    font-size: 16px;
    color: #fff;
    background-color:#666;
    text-align: center;
    padding: 5px 0;
    margin: 10px 0 0 0;
}
.npc_data_r .npc_detail .head.red {
    background-color:#ff0000;
}
.npc_data_r .npc_detail .data {
    font-size: 14px;
    color: #333;
    background-color:#fff;
    text-align: left;
    padding: 5px 5px;
}
.npc_data_form_bg {
    padding: 10px 0 20px 0;
    margin: 0 auto;
    width: 100%;
    height: auto;
    font-size: 16px;
    background: #000;
    color: #fff;
    border: 0px solid #333;
    box-sizing: border-box;
    text-align: center;
}
.npc_data_form {
    margin: 0;
}
.npc_data_label_bg {
    margin: 10px 0 20px;
}
.npc_data_form input.npc_data_submit {
    position: relative;
    display: inline-block;
    width:300px;
    height:60px;
    text-align: center;
    background: #AF0000;
    color: #fff;
    font-size: 16px;
    cursor:pointer;
}
.npc_data_form input.npc_data_submit:hover {
    opacity: 0.5;
}

.npc_data_form_bg .label_head {
    display: block;
    width:80%;
    margin: 0 auto 10px auto;
    padding: 5px 0;
    background: #666;
}
.npc_data_form_bg .label_head.red {
    background: #ff0000;
}
.npc_data_form_bg .radio_label {
    display: inline-block;
    width:auto;
    padding: 3px 10px;
    margin: 10px 3px;
    border-radius: 4px;
    background:#fff;
    border:2px solid #666;
    box-sizing: border-box;
    color: #666;
    cursor:pointer;
}
.npc_data_form_bg .radio_label.num_three {
    min-width: 100px;
}
.npc_data_form_bg .radio_label:hover {
    color: #ff0000;
    border:2px solid #ff0000;
    background:#FFF3F4;
    box-sizing: border-box;
}
.npc_data_form_bg input[type=radio].input_radio_data {
    display: none;
}
.npc_data_form_bg input:checked + label {
    font-weight:bold;
    color: #ff0000;
    border:2px solid #ff0000;
    background:#FFF3F4;
    box-sizing: border-box;
}

#input_anime_text p {
    display: none;
    margin: 20px 0;
    line-height: 20px;
}
#input_anime_text p.fadeIn {
    display: block;
    opacity: 0;
    animation: slideAnimeText 1s ease-in-out forwards;
}
/* テキストスライドインアニメーション */
@keyframes slideAnimeText {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* (4-3)メインエリア：ログ
-----------------------------------------*/
.log_text p {
    width: 98%;
    padding:2px 5px;
    margin:5px 0px;
    font-size:16px;
    list-style-type:none;
}
/* 戦闘前 */
.log_text .lost_eq .value, .battle_result_msg .lost_eq .value {
    color: #FF9E9E;
}
.log_text .decrease_eq .value, .battle_result_msg .decrease_eq .value {
    color: #FF9E9E;
}
.log_text .lost_item .value, .battle_result_msg .lost_item .value {
    color: #FF9E9E;
}
.log_text .lost_skill .value, .battle_result_msg .lost_skill .value {
    color: #FF9E9E;
}
/* 戦闘中 */
.log_text .battle_start {
    color: #24CAE3;
}
.log_text .battle_att {
    color: #aaa;
}
.log_text .battle_att.att_char {
    color: #fff;
}
.log_text .battle_att .skill {
    color: #00ff00;
}
.log_text .battle_att .value {
    color: #FF9E9E;
}
/* 戦闘終了後 */
.log_text .lvup .value, .battle_result_msg .lvup .value {
    color: #ffff00;
}
.log_text .lvup.para .value, .battle_result_msg .lvup.para .value {
    color: #00ff00;
}
.log_text .drop_item .value, .battle_result_msg .drop_item .value {
    color: #00ff00;
}
.log_text .drop_item.gold .value, .battle_result_msg .drop_item.gold {
    color: #ffff00;
    font-weight:bold;
}
.log_text .event_item .value, .battle_result_msg .event_item .value {
    color: #00ffff;
}
.log_text .battle_result.win, .battle_result_msg .battle_result.win {
    color: #ffff00;
    font-weight:bold;
    font-size: 22px;
}
.log_text .battle_result.lose, .battle_result_msg .battle_result.lose {
    color: #D5D5D5;
    font-weight:bold;
    font-size: 20px;
}


/* (6)フッターエリア
-----------------------------------------*/
.footer_share {
    display: none;
    position:fixed;
    bottom: 10px;
    left: 0;
    padding:5px;
    text-align:center;
    list-style-type:none;
    z-index:1;
    
    background-color:rgba(255,255,255,0.7);
    -webkit-border-radius:5px;
    border-radius:5px;
}
.footer_share ul {
    padding:0;
    margin:0;
    font-size:14px;
    list-style-type:none;
}
.footer_share ul li a {
    display: block;
    padding: 10px;
    color: #FFF;
    border-radius: 5px;
    text-decoration:none;
}
.footer_share ul li {
    padding: 5px 0px 5px 0px;
}
/* ツイッター */
.footer_share .twitter a {
    background:#00acee;
}
/* Facebook */
.footer_share .facebook a {
    background:#3b5998;
}
/* はてぶ */
.footer_share .hatebu a {
    background:#5d8ac1;
}
/* LINE */
.footer_share .line a {
    background:#4DCC00;
}

.footer_fix_bg {
    display: flex;
    position: fixed;
    bottom: 0px;
    padding: 0;
    width: 100%;
    height: 60px;
    font-size: 14px;
    color: #fff;
    background-color:#000;
    border-top: 2px solid #fff;
    box-sizing: border-box;
    text-align: center;
    z-index: 10;
}
.footer_fix_btn {
    flex: 1;
    position:relative;
    width:50px;
    height:auto;
    border-right: 2px dotted #fff;
    text-align: left;
    margin: 0 0 0 0;
    text-align: center;
}
.footer_fix_btn.fix_btn_4 {
    border-right: 0;
}
.footer_fix_btn a {
    display: block;
    width:100%;
    height:58px;
    color: #fff;
    text-decoration:none;
}
.footer_fix_btn a:hover {
    color: #fff;
    background-color:#009900;
}
.footer_fix_btn img {
    width:30px;
    height:30px;
    text-decoration:none;
    margin: 5px 0 2px 0;
}

.copyright {
    width:100%;
    min-height: 50px;
    margin:20px 0 0 0;
    padding: 20px 0 20px 0;
    color: #fff;
    font-size:14px;
    text-align:center;
}
.copyright.index {
    min-height: 200px;
    background-color:#000;
}
.copyright_link_area  {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    position:relative;
    text-align:left;
    width:100%;
}
.copyright_link_area ul {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    position:relative;
    vertical-align: top;
    text-align:left;
    width:95%;
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    .copyright_link_area ul {
        width:auto;
        left: -30px;
    }
}
.copyright_link_area ul ol {
    padding:0;
    margin:0;
    font-weight:bold;
}

.copyright_link_area ul.foot_ul_2_1 {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    position:relative;
    padding:0;
    margin:0;
    width:120px;
    float:left;
}

.copyright_link_area ul.foot_ul_2_2 {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    position:relative;
    padding:0;
    margin:0;
    width:120px;
}

.copyright_link_area li {
    position:relative;
    display:block;
    text-align:left;
    padding:8px 0 0 20px;
    margin:0;
}

.copyright_link_area a {
    text-decoration:none;
    color:#cccccc;
    padding:0;
    margin:0;
}

.copyright_link_area li a:hover {
    color:#cccccc;
    text-decoration:underline;
}



/* (7-1)フォント・マージン・テキスト配置
-----------------------------------------*/

.margin_b {
    margin:0 0 10px 0;
}
.txt_left {
    text-align:left;
    padding:0 0 0 10px;
}
.txt_right {
    text-align:right;
    padding:0 10px 0 0;
}
.txt_center {
    text-align:center;
    padding:5px 0 5px 0;
}
.txt_middle_bg {
    position: relative;
    width: 100%;
    height: 500px;
}
.txt_middle {
    position: relative;
    top: 30%;
}
.txt_float_left {
    float:left;
    padding:5px 10px 0 5px;
}

.txt_float_right {
    float:right;
    padding:0 5px 0 5px;
}

.float_clear {
    clear:both;
}

.line_top {
    width:100%;
    border-top: 1px solid #cccccc;
}

.line_top_gray {
    width:100%;
    border-top: 1px solid #777777;
}

.fs_10 {
    font-size:10px;
}

.fs_12 {
    font-size:12px;
}

.fs_14 {
    font-size:14px;
}

.fs_16 {
    font-size:16px;
}

.fs_18 {
    font-size:18px;
}

.fs_20 {
    font-size:20px;
}

.fs_24 {
    font-size:24px;
}

.fs_28 {
    font-size:28px;
}

.fw_bold {
    font-weight:bold;
}

.fc_dark_gray {
    color:#444444;
}

.fc_red {
    color:#ff0000;
}

.fc_green {
    color:#00ff00;
}

.fc_pink {
    color:#FF7C7C;
}

.fc_blue {
    color:#0000ff;
}

.fc_white {
    color:#ffffff;
}

.fc_gray {
    color:#999;
}

.fc_yellow {
    color:#ffff00;
}

.fc_brown {
    color:#B50000;
}

.fc_dark_green {
    color:#009900;
}

.bg_comment {
    width:90%; 
    text-align:left;
    border: 2px solid #1756BD; 
    padding:5px 5px 5px 5px;
    background-color: #FBFBFB; 
}

.bg_blockquote {
    position: relative;
    padding:5px 5px 5px 5px;
    background-color: #F6F6F6; 
    border: 1px solid #CCC;
    border-radius: 6px;
    text-align:left;
}
.bg_blockquote:before,
.bg_blockquote:after {
    position: absolute;
    font-size: 4em;
    opacity: .1;
    content: '“';
}
.bg_blockquote:before {
    top: 30px;
    left: 20px;
}
.bg_blockquote:after {
    bottom: 0px;
    right: 20px;
    transform: rotateY(180deg);
}

.bg_blue {
    padding:5px 5px;
    background-color:#0066FF;
    color:#ffffff;
}

.bg_blue_txt {
    padding:5px 5px 5px 5px;
    background-color:#E3EFFF;
    border: 1px solid #0066FF;
}

.bg_green {
    padding:5px 0 5px 0;
    border-top: 1px solid #336600;
    border-bottom: 1px solid #336600;
    color:#336600;
}

.bg_aqua {
    padding:10px 5px 10px 5px;
    background-color:#DDF0FF;
}

.bg_pink {
    padding:3px 5px 3px 5px;
    background-color:#FFAAAA;
    color:#ffffff;
    text-align: center; 
}

.bg_white {
    padding:5px 5px 5px 5px;
    background-color:#ffffff;
    border: 1px solid #999;
    text-align: left;
}

.bg_red {
    padding:0px 5px 0px 5px;
    background-color:#ff0000;
    color:#ffffff;
    text-align: center; 
}

.bg_red_txt {
    padding:5px 0 5px 5px;
    background-color:#7E0005;
    color:#ffffff;
    border: 1px solid #ff0000;
}

.bg_gray {
    padding:0px 5px 0px 5px;
    background-color:#ddd;
    color:#444;
    border: 0px solid #999;
    text-align: center; 
}



/* (7-2)ボタン設定
-----------------------------------------*/

.top_btn_bg {
    width: 100%;
    height: auto;
    padding: 20px 0;
    text-align: center; 
}
.top_btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 200px;
    margin: 0 10px;
    padding: 10px 20px;
    font-weight: bold;
    background-image: linear-gradient(to top, #000 0%, #fff 90%, #FDFDFD 100%);
    border-radius: 100vh;
    color: #fff;
    border: 1px solid #999;
    box-shadow: 0 3px 2px 1px #fcfcfc, 0 4px 6px #cecfd1, 0 -2px 2px #cecfd1, 0 -4px 2px #eee, inset 0 0 2px 2px #cecfd1;
    transition: 0.5s;
}
.top_btn:hover {
    color: #BDFBFF;
    text-decoration:none;
    background-image: linear-gradient(to top, #fff 0%, #666 90%, #333 100%);
}
@media screen and (min-device-width : 0px) and (max-device-width : 839.9px) {
    .top_btn {
        width: 120px;
        margin: 0 5px;
    }
}

.btn_blue_bg {
    width: 100%;
    height: auto;
    text-align: center; 
}
.btn_blue, .btn_red, .btn_gray {
    display: inline-block;
    position: relative;
    width: 300px;
    height: 40px;
    line-height: 40px;
    background-color: #003399;
    border: 2px solid #fff;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.btn_gray {
    border-radius: 5px;
    cursor: auto;
}
.btn_red, input[type="submit"].btn_red {
    background: linear-gradient(140deg, rgba(200,0,0,1) 0%, rgba(0,0,0,1) 90%);
}
.btn_red, input[type="submit"].btn_red:hover {
    background: linear-gradient(140deg, rgba(120,0,0,1) 0%, rgba(0,0,0,1) 90%);
}
.btn_gray, input[type="submit"].btn_gray {
    background: linear-gradient(140deg, rgba(100,100,100,1) 0%, rgba(0,0,0,1) 90%);
}
.btn_blue:hover, .btn_red:hover {
    /*opacity: 0.5;*/
    color: #fff;
}
.btn_blue_bg .form_bg {
    display: inline-block;
    position: relative;
    width: 300px;
    margin: 0 5px;
    padding: 0;
}
.btn_blue_bg .form_bg .btn_blue, .btn_blue_bg .form_bg .btn_red, .btn_gray {
    line-height: 0;
    margin: 0 0 20px 0;
}

.popup_btn_bg {
    display: inline-block;
    position: fixed;
    bottom: 58px;
    width: 100%;
    height: 120px;
    z-index: 5;
    margin: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
.popup_btn {
    display: inline-block;
    position: absolute;
    bottom: 34px;
    width: 300px;
    height: 50px;
    line-height: 50px;
    margin-left: -150px;
    z-index: 10;
    background-color: #003399;
    border: 2px solid #999;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.popup_btn:hover {
    background-color: #AF0000;
    color: #fff;
}

.next_prev_form_bg {
    display: flex;
    position: relative;
    width:100%;
    height: 50px;
    line-height: 50px;
    padding: 0;
    text-align: center; 
}
.next_form {
    flex: 1;
    margin:0 10px;
    text-align: left;
}
.prev_form {
    flex: 1;
    margin:0 10px;
    text-align: right;
}
.next_prev_form_bg .prev_btn, .next_prev_form_bg .next_btn {
    position: relative;
    width:150px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    border: 2px solid #fff;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    background: linear-gradient(140deg, rgba(0,51,153,1) 0%, rgba(0,0,0,1) 90%);
    cursor: pointer;
}
.next_prev_form_bg .prev_btn:hover, .next_prev_form_bg .next_btn:hover {
    background: linear-gradient(140deg, rgba(150,0,0,1) 0%, rgba(0,0,0,1) 90%);
}
.prev_form.none, .next_form.none {
    display: none;
}
.next_none {
    display: none;
    margin: 0 10px;
    text-align: left;
}
.prev_none {
    display: none;
    margin: 0 10px;
    text-align: right;
}
.next_prev_none_btn {
    display: inline-block;
    position: relative;
    width:150px;
    height: 40px;
    background: #eee;
    border: 1px solid #999;
    color: #999;
    text-align: center;
    line-height: 40px;
    box-sizing: border-box;
    cursor:auto;
}
.next_none.none, .prev_none.none {
    display: inline-block;
    flex: 1;
}

.top_link {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 10;
}
.top_link .scroll_btn {
    color: #fff;
    background: rgba(34,34,34,0.7);
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-decoration:none;
    cursor:pointer;
}
.scroll_btn {
    cursor:pointer;
}

/* 点滅 */
@keyframes set_blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}


/* (7-3)その他の背景枠など
-----------------------------------------*/
.ad_area_bg {
    display: inline-block;
    position:relative;
    min-width: 336px;
    min-height: 280px;
    margin: 10px 0 10px 0;
    text-align: center;
}
.ad_area_bg.hidden {
    min-width: 336px;
    min-height: 100px;
    margin: 0;
}

.form_area {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    width:90%;
    height:90px;
    background-color:#F0F8FF;
    border:solid 2px #003399;
    padding:0 0 0 0;
    text-align: left;
}

.help_area {
    display: inline-block;
    width:99%;
    height:auto;
    background-color:#eee;
    border:solid 2px #666;
    color: #333;
    padding:10px 10px;
    margin:10px auto;
    text-align: left; 
    box-sizing: border-box;
}
.help_area .help_head {
    display: inline-block;
    width:100%;
    height:auto;
    background: #666;
    color: #fff;
    text-align: center;
    padding:5px 0;
    margin: 0 0 10px 0;
}
.help_area ul {
    margin: 0;
    padding: 0 10px 0 20px;
}
.help_area ul li {
    padding: 5px 0;
}

.contact_main_l {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    width:80%;
    background-color:#F0F8FF;
    text-align: left;
    padding:0 0 0 10px;
}

.contact_main_r {
    display: -moz-inline-box; /*for Firefox 2*/
    display: inline-block; /*for modern*/
    /display: inline; /*for ie5?7*/
    /zoom: 1; /*for ie5?7*/
    background-size:100% 100%;
    -moz-background-size:100% 100%;
    -webkit-background-size:100% 100%;
    width:80%;
    text-align: left;
    vertical-align: middle;
    padding:0 0 0 10px;
}

.mail_textarea textarea {
    width: 90%;
    height: 200px;
}


/* (-)ソーシャルボタン
-----------------------------------------*/

.sns-tag-cloud {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align:center;
    margin: 20px 0 10px 0;
}

/* SNSシェアボタン */
.sns-tag-cloud {
    padding-inline-start: 0px;
    font-size: 12px;
    font-weight: bold;
}

.sns-tag-cloud-under {
    padding-inline-start: 0px;
    font-size: 12px;
    font-weight: bold;
    text-align:center;
}

a.sns-tag-cloud-hatenab {
    display: inline-block;
    padding: 10px;
    margin:3px;
    line-height: 1;
    text-decoration: none;
    color: #00A4DE;
    border: 1.5px solid;
    border-color: #00A4DE;
    border-radius: 3px;
    background-color: #fff;
}
a.sns-tag-cloud-hatenab:hover {
    background: #00A4DE; 
    color: #fff; 
}

a.sns-tag-cloud-facebook {
    display: inline-block;
    padding: 10px;
    margin:3px;
    line-height: 1;
    text-decoration: none;
    color: #4064AC;
    border: 1.5px solid;
    border-color: #4064AC;
    border-radius: 3px;
    background-color: #fff;
}
a.sns-tag-cloud-facebook:hover {
    background: #4064AC; 
    color: #fff; 
}

a.sns-tag-cloud-twitter {
    display: inline-block;
    padding: 10px;
    margin:3px;
    line-height: 18px;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    border-radius: 5px;
    background-color: #333;
    font-weight: normal;
}
a.sns-tag-cloud-twitter:hover {
    background: #000044;
    color: #fff;
}

a.sns-tag-cloud-pocket {
    display: inline-block;
    padding: 10px;
    margin:3px;
    line-height: 1;
    text-decoration: none;
    color: #EF4056;
    border: 1.5px solid #EF4056;
    border-color: #EF4056;
    border-radius: 3px;
    background-color: #fff;
}
a.sns-tag-cloud-pocket:hover {
    background: #EF4056; 
    color: #fff; 
}

a.sns-tag-cloud-line {
    display: inline-block;
    padding: 10px;
    margin:3px;
    line-height: 1;
    text-decoration: none;
    color: #21BA4E;
    border: 1.5px solid;
    border-color: #21BA4E;
    border-radius: 3px;
    background-color: #fff;
}
a.sns-tag-cloud-line:hover {
    background: #21BA4E; 
    color: #fff; 
}
