@charset "utf-8";

body {
    background-color: #fff;
    /*
    background: url(images/menuhai.jpg) repeat-y center center/100%;
    */
    color: #4C4948;
    font-family:"Yu Mincho Medium", "游明朝 Medium", YuMincho, "游明朝体", "ヒラギノ明朝 Pro W3", "メイリオ", sans-serif;
    margin: 0;
}

#header_wrap {
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 1;
    background-color: #fff;
}

header {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    /*
    border: 1px dotted #00f;
    */
}

    header .header_l {
        float: left;
        width: 135px;
        /*
        background-color: #0ff;
        */
        display: inline-block;
        padding: 0 0 0 1.5rem;

    }
    header .header_l a {
        
    }
    header .header_l a img {
    }
    header .header_l .logo-pc {
        display: block;
    }
    header .header_l .logo-sp {
        display: none;
    }
    
    header .header_r {
        float: right;
        /*
        background-color: #0ff;
        */
        display: inline-block;
    }
    header .header_r .header_r_up {
    }
    header .header_r .header_r_up p.contact {
        width: 25%;
        /*
        text-align: right;
        */
        margin: .5rem 75% 0 75%;
    }

    header .header_r .header_r_down {

    }

    .header_down_hr, .header_up_hr {
        color: #4C4948;
        background-color: #fff;
    }

/*
header p.header_info {
    display: block;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    text-align: left;
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    padding: .5rem 0;
}
*/

#contents_wrap {
    position: relative;
    top: 7rem;
}

#main_contents,
#main_contents_sp {
    position: relative;
    width: 100%;
}
#main_contents_sp {
    display: none;
    top: 3rem;
}

#main_contents:before {
    content: "";
    display: block;
    padding-top: 40%;
}
#main_contents_sp:before {
    content: "";
    display: block;
    padding-top: 83%;
}
#main_contents_sp.header_02top:before {
    padding-top: 68%;
}

#main_pic,
#main_pic_sp {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.main_pic_l {
    position: relative;
    width: 50%;
    height: 100%;
    float: left;
    /*
    border: 1px dotted #00f;
    */
}
.main_pic_l_img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto; /*上下左右中央に*/
    width: 50%; /*widthの指定は必須*/
    height: 75%; /*heightの指定は必須*/
}
.main_pic_l_img .img {
    /*
    border: 1px dotted #00f;
    */
}
.main_pic_r {
    position: relative;
    width: 49%;
    height: 100%;
    float: right;
    text-align: center;
    /*
    border: 1px dotted #00f;
    */
}
.main_pic_r_form {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto; /*上下左右中央に*/
    width: 100%; /*widthの指定は必須*/
    height: 25%; /*heightの指定は必須*/
    /*
    border: 1px dotted #00f;
    */
}

.main_pic_top {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 12%;
    height: 50%;
}
#main_contents.header_03about #main_pic .main_pic_top,
#main_contents.header_04riyou #main_pic .main_pic_top,
#main_contents.header_05privacy #main_pic .main_pic_top,
#main_contents.header_06tokutei #main_pic .main_pic_top,
#main_contents.header_07mail #main_pic .main_pic_top,
#main_contents.header_08kessai #main_pic .main_pic_top,
#main_contents.header_09kaime #main_pic .main_pic_top,
#main_contents.header_10touroku #main_pic .main_pic_top {
    width: 20%;
    height: 25%;
    margin: auto auto auto 1.5rem;
}
#main_contents.header_03about #main_pic .main_pic_top,
#main_contents.header_05privacy #main_pic .main_pic_top {
    width: 30%;
}
#main_contents.header_07mail #main_pic .main_pic_top {
    float: left;
    width: 25%;
}

.main_pic_top_sp {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 25%;
    height: 40%;
}
#main_contents_sp.header_03about #main_pic_sp .main_pic_top,
#main_contents_sp.header_04riyou #main_pic_sp .main_pic_top,
#main_contents_sp.header_05privacy #main_pic_sp .main_pic_top,
#main_contents_sp.header_06tokutei #main_pic_sp .main_pic_top,
#main_contents_sp.header_07mail #main_pic_sp .main_pic_top,
#main_contents_sp.header_08kessai #main_pic_sp .main_pic_top,
#main_contents_sp.header_09kaime #main_pic_sp .main_pic_top,
#main_contents_sp.header_10touroku #main_pic_sp .main_pic_top {
    width: 50%;
    height: 50%;
    margin: auto auto auto 1.5rem;
}

#contents hr {
    border: 0;
    border-bottom: 2px dotted #4C4948;
    margin: 0;
    padding: 1rem 0 0 0;
}

#contents.contents_03about {
    text-align: center;
}
#contents.contents_06tokutei {
}
#contents.contents_06tokutei h3 {
    font-size: 1rem;
    color: #898989;
    margin: .5rem 0;
    padding: 0;
}
#contents.contents_06tokutei p {
    margin: 0;
    padding: 0 0 1rem 0;
}
#contents.contents_06tokutei table {
    width: 100%;
}
#contents.contents_06tokutei table tr {
}
#contents.contents_06tokutei table th {
    text-align: left;
    border-bottom: 2px dotted #4C4948;
}
#contents.contents_06tokutei table th h3 {
}
#contents.contents_06tokutei table td {
    border-bottom: 2px dotted #4C4948;
    padding: 0 0 0 1rem;
    margin: 0;
}

#contents.contents_08kessai table {
    width: 100%;
}
#contents.contents_08kessai table tr {
    border-bottom: 1px dotted #898989;
    
}
#contents.contents_08kessai table th {
    width: 20%;
    text-align: left;
    vertical-align: top;
}
#contents.contents_08kessai table td {
    width: 80%;
}
#contents.contents_08kessai table td input.submit_button {
    width: 5rem;
    margin: 0;
    padding: .1rem 0 .4rem 0;
}

#contents.contents_08kessai table hr {
    margin: 0 0 1rem 0;
}
#contents.contents_08kessai table .sp_br {
    display: none;
}
#contents.contents_08kessai table br.sp_br,
#contents.contents_08kessai table hr.sp_br {
    display: block;
}

.main_pic_right {
    content: "";
    display: block;
    position: relative;
    float: right;
    width: 80%;
    height: 100%;
}
.contents_07mail {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
    width: 100%;
    height: 25%;
}

#contents.contents_10touroku table {
    width: 100%;
}
#contents.contents_10touroku table hr {
    margin: 0 0 1rem 0;
}
#contents.contents_10touroku table tr {
    border-bottom: 1px dotted #898989;
}
#contents.contents_10touroku table th {
    text-align: left;
    vertical-align: top;
    width: 30%;
}
#contents.contents_10touroku table td {
    text-align: left;
    vertical-align: top;
}
#contents.contents_10touroku table td input {
    background-color: #f00;
    border: 0;
    padding: .25rem;
}
#contents.contents_10touroku table td select {
    border: 1px solid #f00;
}

#contents.contents_10touroku table .sp_br {
    display: none;
}
#contents.contents_10touroku table br.sp_br,
#contents.contents_10touroku table hr.sp_br {
    display: block;
}

form.login_form:before {
    content: "";
    display: block;
}
form.login_form {
    margin: 0 auto;
    position: relative;
    width: 70%;
    background: url(/images/loginbottan.png) no-repeat center top/100%;
}

form.login_form input#id:before,
form.login_form input#pass:before {
    content: "";
    display: block;
}

form.login_form input#id,
form.login_form input#pass {
    position: relative;
    display: block;
    width: 60%;
    float: right;
    background-color: transparent;
    border: 0 none white;
    /*
    box-shadow: 0px 1.6px 3.6px rgb(0 0 0 / 13%), 0px 0px 2.9px rgb(0 0 0 / 11%);
    */
    outline: 0;
}
form.login_form input#id:focus,
form.login_form input#pass:focus {
    border: 0;
    box-shadow: 0;
}

.before_page {
    text-align: right;
    margin: 1rem 0;
}
.before_page a {
    color: #ec6d81;
}

.login_button:before {
    content: "";
    display: block;
    padding-top: 15%;
}
.login_button {
    position: relative;
    width: 100%;
    border: 1px solid #fff;
    cursor: pointer;
    width: 45%;
    margin-top: .5rem;
    background-color: transparent;
    color: #fff;
    background: url(/images/login.png) no-repeat left top/100%;
}
.logout_button {
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    display: block;
    width: 144.5px;
    height: 37.5px;
    line-height: 37.5px;
    cursor: pointer;
    margin: 0 auto;
    /*
    background: url(/images/logout.png) no-repeat left top/100%;
    */
}

.submit_button_wrap {
    text-align: center;
}
.submit_button {
    text-align: center;
    margin: 1rem auto;
    border: 1px solid #4c4948;
    padding: 4px 2px 2px 2px;
    /*
    background: #fff;
    border-radius: 1rem;
    */
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: normal;
}

.main_contents {
    padding: 1rem;
    /*
    background-color: #fff;
    */
    background: url(/images/hai.jpg) repeat-y center center/100%;
    /*
    background-color: #fff;
    opacity: 0.55;
    */
}
.bkRGBA {
    /* 背景画像の透過用css */
    height: 100%;
    background: rgba(255,255,255,0.5);
}

.main_contents h2 {
    background-color: #ec6d81;
    color: #fff;
    width: fit-content;
    font-weight: normal;
    font-size: 1.2rem;
    padding: .1rem .5rem;
    margin-top: 0;
}

.main_contents.top form.login_form {
    text-align: center;
    margin: 1rem 0;
}

.modal_content nav {
    padding: 0;
    font-size: 1.5rem;
}
.modal_content nav ul {
    /*
    background-color: #fff;
    margin: 1rem 1rem 0 auto;
    border-top: 2px solid #f19ca6;
    border-bottom: 2px solid #f19ca6;
    font-size: .9rem;
    */

    /*
    width: fit-content;
    display: block;
    padding: 0;
    text-align: left;
    */
}
.modal_content nav ul li {
    display: inline-block;
    margin: .5rem .5rem .5rem 0;
    padding: 0 0 1rem .5rem;
    /*
    border-left: 4px solid #f19ca6;
    */
}
.modal_content nav ul li a {
    color: #4C4948;
    text-decoration: none;
    /*
    border-bottom: 1px solid #fff
    */
}
.modal_content nav ul li a:hover {
    /*
    text-decoration: underline;
    */
    border-bottom: 0;
}

.modal_wrap #trigger { display: none; }
.modal_wrap .close_button { display:none; }

div.main_contents.top {
    display: none;
}

div.main_contents.koukai_error {
    text-align: center;
    margin: 1rem 0;
}

div.main_contents.koukai {
    text-align: center;
}
div.main_contents.koukai .koukai_title {
    font-size: large;
    color: #333;
    text-align: center;
    padding: 5px;
}
div.main_contents.koukai .race { color: #666600; }
div.main_contents.koukai .win { color: #006666; }
div.main_contents.koukai .bet {}
div.main_contents.koukai .ad_link {
    text-align: right;
}

div.main_contents.company_o {
    text-align: center;
}
div.main_contents.company_o p {
    padding: 1.5rem 0 0 0;
    border-bottom: 1px solid #7a6a55;
}
div.main_contents.company_o p span.small {
    font-size: .8rem;
}
div.main_contents.company_o p:last-child {
    border-bottom: 0;
}

div.main_contents table {
    width: 100%;
    border-spacing: 0;
}
div.main_contents table tr {}
div.main_contents table tr th {
    border-bottom: 2px solid #7a6a55;
    text-align: left;
    width: 25%;
    vertical-align: top;
    padding: .5rem 0;
}
div.main_contents.newregist table tr th {
    margin-top: .5rem;
    border-bottom: 0;
    border-top: 2px solid #7a6a55;
}

div.main_contents table tr td {
    border-bottom: 2px solid #7a6a55;
    text-align: left;
    vertical-align: top;
    width: 75%;
    padding: .5rem .5rem .5rem 1rem;
}
div.main_contents.newregist table tr td {
    margin-top: .5rem;
    border-bottom: 0;
    border-top: 2px solid #ec6d81;
}
div.main_contents table tr:nth-last-child(1) th,
div.main_contents table tr:nth-last-child(1) td {
    border: 0;
}

div.main_contents.order table tr:nth-last-child(2) th,
div.main_contents.order table tr:nth-last-child(2) td,
div.main_contents.order table tr:nth-last-child(3) th,
div.main_contents.order table tr:nth-last-child(3) td,
div.main_contents.order table tr:nth-last-child(4) th,
div.main_contents.order table tr:nth-last-child(4) td {
    border: 0;
}

.main_contents.r_policy_01 h3,
.main_contents.r_policy_02 h3,
.main_contents.r_policy_03 h3 {
    width: 100%;
    border-top: 1px solid #7a6a55;
    padding-top: .5rem;
    margin: .5rem 0 0 0;
    font-size: 1rem;
}
.main_contents.r_policy_01 ul,
.main_contents.r_policy_02 ul,
.main_contents.r_policy_03 ul { 
    padding: 0;
    margin: 0;
    list-style: none;
}
.main_contents.r_policy_01 ul li,
.main_contents.r_policy_02 ul li,
.main_contents.r_policy_03 ul li {}

footer {
    background-color: #000;
    color: #fff;
    /*
    background-color: #00f;
    */
}
div.footer_ul_wrap {
    background-color: #c9c9ca;
}
footer ul {
    color: #4C4948;
    margin: 0 auto;
    padding: 1.5rem 0rem;
    /*
    border: 1px dotted #00f;
    */
}

.footer_ul_sp {
    display: none;
}

footer ul li {
    list-style: none;
    display: inline-block;
    width: 32.3%;
    text-align: center;
    letter-spacing: 0.06rem;
}
footer ul li a {
    color: #000 ;
    text-decoration: none;
}
footer ul li a:hover {
    color: #000;
    text-decoration: underline;
}
footer p {
    display: block;
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    /*
    border: 1px dotted #00f;
    */
}
footer p span {
    display: block;
    padding: 1.5rem 1.5rem 0 1.5rem;
}
footer h2 {
    font-size: 1rem;
    text-align: center;
    margin: 0;
    padding: 1rem 0;
    /*
    border: 1px dotted #00f;
    */
}

/*
div.footer_menu #footer_menu_table_sp {
    display: none;
}
div.footer_menu #footer_menu_table {
    width: 100%;
}
div.footer_menu #footer_menu_table td {
    width: 25%;
}
*/

.arrow-right {
    float: left;
    margin: 5px;
    width: 0;
    height: 0;
    border-left: 8px solid black;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

div.main_contents.mail_block_setting {
    text-align: center;
}

/* /dmorder.php, /u/bankinfo.php, /u/company_o */
.dmorder.main_contents .week_select {
    text-align: center;
}

.dmorder.main_contents h2.select_info {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #ff0;
}
.main_contents h2.info_label {
    font-size: 1rem;
    color: #fff;
}

.dmorder.main_contents h2.info_label,
.dmorder.main_contents h3.info_label,
.company_o.main_contents h2.info_label {
    font-size: 1rem;
    margin-bottom: 0;
}
.dmorder.main_contents p,
.company_o.main_contents p {
    margin-top: 0;
}
.dmorder.main_contents h2.info_label.red {
    /*color: #ec6d81;*/
    color: #f00;
}
.dmorder.main_contents p.attension {
}
.order.main_contents p.attension a,
.dmorder.main_contents p.attension a {
    color: #ec6d81;
}

.dmorder.main_contents input.dmselect {
    background-color: #fff;
    margin-bottom: 1rem;
}

/* /u/order.php */
.order.main_contents h2.info_label {
    font-size: 1rem;
}
.order.main_contents h3.info_label {
    font-size: 1rem;
/*    font-weight: normal;*/
    margin-bottom: 0;
}
.order.main_contents p {
    margin-top: 0;
}
.order.main_contents select {
    background-color: #4c4948;
    border: 0;
    color: #fff;
    padding: .4rem 2.5rem .5rem 1.5rem;
    height: 2rem;
}
.order.main_contents .select-wrap:before {
    top: 6px;
    right: 6px;
}
.order.main_contents .submit_button {
    margin: .5rem auto;
    /*
    border: 0;
    background-color: #fff;
    padding: 6px 12px;
    */
    background-color: transparent;
    width: 80px;
    color: #4c4948;
}

.order.main_contents select option {
    padding: 1rem;
}

/*
.order.main_contents h2.info_label.kessai {
    text-align: center;
    border-top: 2px solid #777700;
    border-bottom: 2px solid #777700;
    color: #777700;
}
*/
.order.main_contents h3.info_label.red {
    /*color: #ec6d81;*/
    color: #f00;
    margin: 0;
}
.order.main_contents hr {
    border: 1px solid #ec6d81;
}

/* /u/p_policy.php */
.p_policy.main_contents h2 {
    font-size: 1rem;
}
.p_policy.main_contents h3 {
    padding-top: .5rem;
    border-top: 1px solid #7a6a55;
}

.middle_red {
    /*color: #ec6d81;*/
    color: #f00;
}

/* ----- newregist.php ----- */
.newregist.main_contents ul.info_attension {
    margin: 0;
    padding: 1rem 0 0 0;
    border-top: 2px solid #ec6d81;
    list-style: none;
}
.newregist.main_contents ul.info_attension li {
    margin: 0;
    padding: 0 0 .3rem 0;
}
.newregist.main_contents form table td input {
    border: 1px solid #333;
    border-radius: 1rem;
    padding: .2rem .5rem;
}
/*
.newregist.main_contents form table td select.age {
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 1rem;
    padding: .2rem .5rem;
}
*/


select{
    outline:none;
    text-indent: 0.01px;
    text-overflow: '';
    background: none transparent;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    padding: 0 2rem 0 1.5rem;
    border: 1px solid #333;
    /*
    border-radius: 1rem;
    */
    height: 1.75rem;
}
select option{
  background-color: #fff;
  color: #333;
}
select::-ms-expand {
  display: none;
}
select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #828c9a;
}

.select-wrap {
    width: fit-content;
    position:relative;
    top: -3px;
}
.select-wrap:before {
    z-index: 1;
    position: absolute;
    right: 4px;
    top: 4px;
    content: "　";
    font-family: "IonIcons";
    line-height: 20px;
    color: #7F878C;
    pointer-events: none;
    width: 20px;
    background: url(/images/buttonb.png) no-repeat;
    background-size: 20px 20px;
}


.required {
    color: #e60012;
}

br.sp_br {
    display: none;
}

/*#header_sp,*/
#main_pic_sp {
    display: none;
}

/*
1095x439
*/
#main_contents.header_01login { background: url(/images/pc/01login.jpg) no-repeat left/100%; }
#main_contents.header_02top { background: url(/images/pc/02top.jpg) no-repeat left/100%; }
#main_contents.header_03about { background: url(images/pc/03about.jpg) no-repeat right/82%; }
#main_contents.header_04riyou { background: url(images/pc/04riyou.jpg) no-repeat right/82%; }
#main_contents.header_05privacy { background: url(images/pc/05privacy.jpg) no-repeat right/82%; }
#main_contents.header_06tokutei { background: url(images/pc/06tokutei.jpg) no-repeat right/82%; }
#main_contents.header_07mail { background: url(images/pc/07mail.jpg) no-repeat right/82%; }
#main_contents.header_08kessai { background: url(images/pc/08kessai.jpg) no-repeat right/82%; }
#main_contents.header_09kaime { background: url(images/pc/09kaime.jpg) no-repeat right/82%; }
#main_contents.header_10touroku { background: url(images/mainlogo01.png) no-repeat top center/25%; }

/* ----- スマホ ----- */
@media screen and (max-width:575px) {

    /*
    header .title:before {
        padding-top:13.1%
    }
    */
    header .header_l {
        width: 30%;
        padding: .5rem 0 0 1rem;
    }
    header .header_l .logo-pc {
        display: none;
    }
    header .header_l .logo-sp {
        display: block;
    }

    .header_up_hr, .header_down_hr {
        display: none;
    }

    header .header_r .header_r_up p.contact {
        width: 60%;
        text-align: right;
        margin: .5rem 0 0 1.5rem;
        /*
        margin: 0 1.5rem;
        padding: .65rem 2.5rem;
        */
    }
    header .header_r .header_r_up p.contact a {
        /*
        display: block;
        width: 30%;
        background: url(/images/toiawase.png) no-repeat center top/100%;
        */
    }

    #contents_wrap {
        top: 0rem;
    }

    #main_contents_sp.header_01login { background: url(images/sp/01login.jpg) no-repeat center/90%; }
    #main_contents_sp.header_02top { background: url(images/sp/02top.jpg) no-repeat center/90%; }
    #main_contents_sp.header_03about { background: url(images/sp/03about.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_04riyou { background: url(images/sp/04riyou.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_05privacy { background: url(images/sp/05privacy.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_06tokutei { background: url(images/sp/06tokutei.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_07mail { background: url(images/sp/07mail.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_08kessai { background: url(images/sp/08kessai.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_09kaime { background: url(images/sp/09kaime.jpg) no-repeat top right/85%; }
    #main_contents_sp.header_10touroku { background: url(images/mainlogo01.png) no-repeat top center/25%; }

    #main_pic,
    #main_contents {
        display: none;
    }
    #main_pic_sp,
    #main_contents_sp {
        display: block;
    }
    #contents {
        margin: 0 1.5rem;
    }
/*
    #main_pic_bg {
        padding-top: 2rem;
    }
    #main_pic_bg .main_pic_left {
        float: left;
        width: 15%;
    }
    #main_pic_bg .main_pic_middle {
        float: left;
        width: 70%;
    }
    #main_pic_bg .main_pic_right {
        float: left;
        width: 15%;
    }
*/
    form.login_form {
        font-size: 1.2rem;
        color: #fff;
    }

    .modal_wrap input{
        display: none;
    }
    
    .modal_overlay{
        display: flex;
        justify-content: center;
        overflow: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        opacity: 0;
        transition: opacity 0.5s, transform 0s 0.5s;
        transform: scale(0);
    }
    
    .modal_trigger{
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .modal_content{
        align-self: flex-start;
        width: 100%;
        padding: .5rem 4rem;
        box-sizing: border-box;
        background: #fff;
        line-height: 1rem;
        transform: translateY(-100%);
        transition: 0.5s;

        background: url(/images/spmenu2.png) no-repeat center/100% 100%;
        /*
        background-color: #01385a;
        border-top: 2rem solid #ec6f81;
        border-bottom: 2rem solid #ec6f81;
        */
    }

    .modal_content nav ul {
        /*
        border-top: 2px solid #ec6d81;
        border-bottom: 2px solid #ec6d81;
        */
        margin: 0 auto;
        padding: 2.5rem 0;
        list-style: none;
        width: 100%;
    }
    .modal_content nav ul li {
        display: block;
        border-left: 0;
        margin: 1rem 0;
        text-align: left;
        /*
        border-bottom: 1px solid #406398;
        */
    }
    .modal_content nav ul li a {
        color: #4C4948;
        text-decoration: none;
        font-size: 1.2rem;
    }
    .modal_content nav ul li a:hover {
        color: #4C4948;
    }
    
    .modal_wrap .close_button{
        display: block;
        position: absolute;
        top: 1rem;
        right: .5rem;
        font-size: 2rem;
        cursor: pointer;
        color: #fff;
    }
    
    .modal_wrap input:checked ~ .modal_overlay{
        opacity: 1;
        transform: scale(1);
        transition: opacity 0.5s;
    }
    
    .modal_wrap input:checked ~ .modal_overlay .modal_content{
        transform: translateY(20px);
    }

    .open_button{
        position: fixed;
        top: .5rem;
        right: 1rem;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 33px;
        height: 33px;
        z-index: 1;
        cursor: pointer;
        background: url(/images/hunberger.png) no-repeat center top/100%;
    }
/*
    .open_button{
        position: fixed;
        top: 0;
        right: 1.5rem;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 30px;
        z-index: 1;
        cursor: pointer;
    }
    #nav-open span, #nav-open span:before, #nav-open span:after {
        position: absolute;
        height: 3px;
        width: 30px;
        border-radius: 3px;
        background: #ccc;
        display: block;
        content: '';
        cursor: pointer;
    }
    #nav-open span:before {
        bottom: -8px;
    }
    #nav-open span:after {
        bottom: -16px;
    }
*/
    /*
    .header_title_right nav {
        display: none;
    }
    */

    div.main_contents table tr th {
        font-size: .9rem;
        width: 32%;
    }
    div.main_contents table tr td {
        font-size: 1rem;
        width: 68%;
    }

    footer {
        position: relative;
        top: 3rem;
    }
    footer ul {
    }

    .footer_ul_pc {
        display: none;
    }
    .footer_ul_sp {
        display: block;
    }
    
    footer ul li {
        display: list-item;
        width: 100%;
        font-size: 1rem;
        line-height: 2rem;
        letter-spacing: 0.25rem;
    }
    footer h2 {
    }

    br.sp_br {
        display: block;
    }

    form.login_form input#id,
    form.login_form input#pass {
        line-height: .75rem;
        font-size: .75rem;
    }
    form.login_form input#pass {
        margin-bottom: .7rem;
    }

    #contents.contents_08kessai table {
        width: 100%;
    }
    #contents.contents_08kessai table tr {
        border-bottom: 1px dotted #898989;
        
    }
    #contents.contents_08kessai table th {
        display: block;
        width: 100%;
        text-align: left;
        vertical-align: top;
    }
    #contents.contents_08kessai table td {
        display: block;
        width: 100%;
    }
    #contents.contents_08kessai table .sp_br {
        display: block;
    }
    #contents.contents_08kessai table br.sp_br,
    #contents.contents_08kessai table hr.sp_br {
        display: none;
    }
    
    #contents.contents_10touroku table {
    }
    #contents.contents_10touroku table hr {
        border: 0;
    }
    #contents.contents_10touroku table tr {
    }
    #contents.contents_10touroku table th {
        display: block;
        width: 100%;
    }
    #contents.contents_10touroku table td {
        display: block;
        width: 100%;
    }
    #contents.contents_10touroku {
        font-size: 1rem;
    }
    #contents.contents_10touroku ul {
        padding: 0;
    }
    #contents.contents_10touroku ul li {
        font-size: .75rem;
        list-style: none;
    }
    #contents.contents_10touroku table .sp_br {
        display: block;
    }
    #contents.contents_10touroku table br.sp_br,
    #contents.contents_10touroku table hr.sp_br {
        display: none;
    }
    
}

/* ----- 小 ----- */
@media screen and (min-width:576px) {

    header {
        height: 85px;
    }
    header, #main_contents, #contents, #main_pic_wrap, footer ul, footer p, footer h2 {
        width: 576px;
        margin: 0 auto;
    }
    footer,
    #contents_wrap {
        position: relative;
        top: 6rem;
    }

    header .header_l {
        width: 100px;
    }

    header .header_r nav {
        font-size: .7rem;
    }
    header .header_r nav ul {
        margin: 0 1rem 0 1rem;
        padding: 0;
    }
    header .header_r nav ul li {
        font-size: 0.8rem;
        letter-spacing: 0rem;
        margin: .3rem 0;
        padding: 0 .5rem;
        border-left: 1px dotted #4C4948;
    }

    form.login_form input#id,
    form.login_form input#pass {
        line-height: .7rem;
    }
    #contents.contents_10touroku {
        font-size: .75rem;
    }

}

/* ----- 小 ----- */
@media screen and (min-width:670px) {

    header {
        height: 90px;
    }
    header, #main_contents, #contents, #main_pic_wrap, footer ul, footer p, footer h2 {
        width: 670px;
        margin: 0 auto;
    }
    footer,
    #contents_wrap {
        position: relative;
        top: 6.5rem;
    }

    header .header_l {
        width: 110px;
    }

    header .header_r nav {
        font-size: .8rem;
    }
    header .header_r nav ul {
        margin: 0 1rem 0 1rem;
        padding: 0;
    }
    header .header_r nav ul li {
        font-size: 1rem;
        letter-spacing: 0rem;
        margin: .2rem 0;
        padding: 0 .5rem;
        border-left: 1px dotted #4C4948;
    }

    form.login_form input#id,
    form.login_form input#pass {
        line-height: 1rem;
    }
    form.login_form input#pass {
        margin-bottom: .4rem;
    }
    #contents.contents_10touroku {
        font-size: .8rem;
    }

}

/* ----- 中 ----- */
@media screen and (min-width:768px) {

    header {
        height: 100px;
    }
    header, #main_contents, #contents, #main_pic_wrap, footer ul, footer p, footer h2 {
        width: 768px;
        margin: 0 auto;
    }
    footer,
    #contents_wrap {
        position: relative;
        top: 7rem;
    }

    header .header_l {
        width: 150px;
    }

    header .header_r nav {
        font-size: .9rem;
    }
    header .header_r nav ul {
        margin: .5rem 1rem 0 1.5rem;
        padding: 0;

    }
    header .header_r nav ul li {
        font-size: 1rem;
        letter-spacing: 0.1rem;
        margin: .3rem 0;
        padding: 0 .5rem;
        border-left: 1px dotted #4C4948;
    }

    form.login_form input#id,
    form.login_form input#pass {
        line-height: 1rem;
        font-size: 1rem;
    }
    form.login_form input#pass {
        margin-bottom: .7rem;
    }
    #contents.contents_10touroku {
        font-size: 1rem;
    }

}

/* ----- 大 ----- */
@media screen and (min-width:975px) {

    header {
        height: 114px;
    }
    header, #main_contents, #contents, #main_pic_wrap, footer ul, footer p, footer h2 {
        width: 975px;
        margin: 0 auto;
    }
    footer,
    #contents_wrap {
        position: relative;
        top: 8rem;
    }

    header .header_l {
        width: 170px;
    }


    header .header_r nav {
        font-size: 1rem;
    }
    header .header_r nav ul {
        margin: 0 2rem 0 1.5rem;
        padding: 0;
    }
    header .header_r nav ul li {
        font-size: 1.3rem;
        letter-spacing: 0.2rem;
        margin: .25rem 0;
        padding: 0 .6rem;
        border-left: 1px dotted #4C4948;
    }

    form.login_form input#id,
    form.login_form input#pass {
        line-height: 1.4rem;
        font-size: 1.4rem;
    }
    form.login_form input#pass {
        margin-bottom: .5rem;
    }
    #contents.contents_10touroku {
        font-size: 1.25rem;
    }

}

/* ----- 特大 ----- */
@media screen and (min-width:1292px) {

    header {
        height: 214px;
    }
    header, #main_contents, #contents, #main_pic_wrap, footer ul, footer p, footer h2 {
        width: 1292px;
        margin: 0 auto;
    }
    footer,
    #contents_wrap {
        position: relative;
        top: 15rem;
    }

    header .header_l {
        width: 320px;
    }

    header .header_r nav {
        font-size: 1.4rem;
    }
    header .header_r nav ul {
        margin: 3rem 1.5rem 0 auto;
    }
    header .header_r nav ul li {
        font-size: 1.6rem;
        letter-spacing: 0.4rem;
        margin: .5rem 0;
        padding: 0 .5rem;
        border-left: 1px dotted #4C4948;
    }

    form.login_form input#id,
    form.login_form input#pass {
        line-height: 1.8rem;
        font-size: 1.8rem;
    }
    form.login_form input#pass {
        margin-bottom: 1rem;
    }

    #contents.contents_10touroku {
        font-size: 1.5rem;
    }

}