@charset "utf-8";

body {
    background-color: #595757;
    color: #000;
    /*
    font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-family: arial, sans-serif, 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
*/
    font-family: 'Sawarabi Mincho', sans-serif;
    margin: 0;

    background: url(/images/backa.png) no-repeat top right/50%;
    background-color: #fff;
}

header {
    text-align: center;
    /*
    background-color: #f19ca6;
    */
}
header p.to_user {
    margin: 0;
    padding: .5rem 0;
    font-size: 1.2rem;
}
header img {
    /*
    width: 100%;
    */
}
.header_title {
    position: relative;
    width: 100%;
    /*
    background: url(/images/backa.png) no-repeat top right/50%;
    background-color: #fff;
    */
    margin: 0 auto;
}
.header_title:before {
    content:"";
    display: block;
    padding-top: 13.75%;
}
.header_bg {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    /*
    border: 2px dashed blue;
    */
}

.header_title .header_title_left { 
    width: 15%;
    height: 100%;
    float: left;
    padding: .5rem 0 1.5rem 0;
    padding-left: 2%;
    padding-right: 0%;
    /*
    border: 2px dashed #f00;
    */
}
.header_title .header_title_right { 
    width: 80%;
    height: 100%;
    float: right;
    padding: .5rem 0 1.5rem 0;
    /*
    border: 2px dashed #f00;
    */
}

.header_info {
}
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;
}

#main_pic_wrap {
    background-color: #f19ca6;
}
#main_pic,
#main_pic_sp {
    position: relative;
    width: 100%;
    /*
    */
    margin: 0;
    padding: 2% 0 0 0;
}
#main_pic:before,
#main_pic_sp:before {
    content:"";
    display: block;
    padding-top: 39%; /* 高さを幅の75%に固定 */
}
#main_pic_sp:before {
    padding-top:73.84%;
}
#main_pic_bg,
#main_pic_sp_bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /*
    border: 2px dashed blue;
    background-color: #00f;
    */
    padding-top: 3%;
}
#main_pic_bg .main_pic_left {
    float: left;
    width: 30%;
}
#main_pic_bg .main_pic_middle {
    float: left;
    width: 40%;
    /*
    border: 2px dashed #00f;
    */
}
#main_pic_bg .main_pic_right {
    float: left;
    width: 30%;
}
#main_pic_bg .main_pic_login {
    clear: both;
    width: 100%;
}

form.login_form { color: #fff;}
form.login_form #id {
    background-color: transparent;
    border: 2px solid #fff;
}
form.login_form #pass {
    background-color: transparent;
    border: 2px solid #fff;
}

.before_page {
    text-align: right;
    margin: 1rem 0;
}
.before_page a {
    color: #ec6d81;
}

.login_button {
    border: 0px;
    cursor: pointer;
    width: 144.5px;
    height: 37.5px;
    margin-top: 2rem;
    background: url(/images/login.png) no-repeat left top/100%;
}
.logout_button {
    display: block;
    width: 144.5px;
    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;
    background: #fff;
    color: #000;
    border: 1px solid #888;
    padding: .25rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: normal;
}

.main_contents {
    padding: 1rem;
    /*
    background-color: #fff;
    */
    background: url(/images/backb.png) no-repeat bottom left/50%;
    /*
    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;
    width: fit-content;
    display: block;
    margin: 1rem 1rem 0 auto;
    padding: 0;
    text-align: left;
    border-top: 2px solid #f19ca6;
    border-bottom: 2px solid #f19ca6;
    /*
    font-size: .9rem;
    */
}
.modal_content nav ul li {
    display: inline-block;
    margin: .5rem .5rem .5rem 0;
    padding: 0 0 0 .5rem;
    border-left: 4px solid #f19ca6;
}
.modal_content nav ul li a {
    color: #000;
    text-decoration: none;
}
.modal_content nav ul li a:hover {
    text-decoration: underline;
}

.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 {}

div.main_contents table {
    width: 100%;
    border-spacing: 0;
}
div.main_contents table tr {}
div.main_contents table tr th {
    border-bottom: 2px solid #ec6d81;
    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 #ec6d81;
}

div.main_contents table tr td {
    border-bottom: 2px solid #ec6d81;
    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 #ec6d81;
    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_info_source {
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}
.footer_info_source img {
    width: 75%;
}
footer {
    color: #fff;
    background-color: #595757;
    text-align: center;
    padding: 1rem;
}
footer p {
    text-align: left;
    margin: 0;
    padding: 0;
}
footer p.copyright {
    text-align: center;
    margin: .5rem 0;
}

div.footer_menu {
    background-color: #dcdddd;
    padding: 1rem;
}
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%;
}
div.footer_menu #footer_menu_table td a {
    font-size: .9rem;
    color: #000;
    text-decoration: none;
}
div.footer_menu #footer_menu_table td a:hover {
    color: #000;
    text-decoration: underline;
}

.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;
}
.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: #ec6d81;
    border: 0;
    color: #fff;
    padding: .4rem 2.5rem .5rem 1.5rem;
    height: 2.1rem;
}
.order.main_contents .select-wrap:before {
    top: 6px;
    right: 6px;
}
.order.main_contents .submit_button {
    margin: .5rem auto;
    border: 0;
    background-color: #ec6d81;
    color: #fff;
    padding: 6px 12px;
}

.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;
    margin: 0;
}
.order.main_contents hr {
    border: 1px solid #ec6d81;
}

/* /u/p_policy.php */
.p_policy.main_contents h2 {
    font-size: 1rem;
}

.middle_red {
    color: #ec6d81;
}

/* ----- 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;
}
.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;
}

#main_pic_sp {
    display: none;
}

/* ----- スマホ ----- */
@media screen and (max-width:575px) {
    #main_pic { display: none; }
    #main_pic_sp {
        display: block;
    }

    #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;
    }

    form.login_form #id,
    form.login_form #pass {
        background-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: 1rem;
        box-sizing: border-box;
        background: #fff;
        line-height: 1.4em;
        transform: translateY(-100%);
        transition: 0.5s;

        background-color: #fff;
        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: 1rem 0;
        list-style: none;
        width: 100%;
    }
    .modal_content nav ul li {
        display: block;
        border-left: 0;
        margin: 1rem 0;
        text-align: center;
    }
    .modal_content nav ul li a {
        color: #727171;
        text-decoration: none;
        font-size: 1.2rem;
    }
    
    .modal_wrap .close_button{
        display: block;
        position: absolute;
        top: 1rem;
        right: .5rem;
        font-size: 2rem;
        cursor: pointer;
        color: #f19ca6;
    }
    
    .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: 0;
        right: .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: 25px;/*長さ*/
        border-radius: 3px;
        /*
        background: #555;
        */
        background: #ec6d81;
        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 {
        padding: 1rem .5rem;
    }
    div.footer_menu {
        padding: 1rem .5rem;
    }
    div.footer_menu #footer_menu_table {
        display: none;
    }
    div.footer_menu #footer_menu_table_sp {
        display: block;
    }
    div.footer_menu #footer_menu_table_sp td {
        width: 25%;
    }
    div.footer_menu #footer_menu_table_sp td a {
        font-size: .9rem;
        color: #000;
        text-decoration: none;
    }
    div.footer_menu #footer_menu_table_sp td a:hover {
        color: #000;
        text-decoration: underline;
    }

    br.sp_br {
        display: block;
    }
    
}

/* ----- 小 ----- */
@media screen and (min-width:576px) {
    div.header_title_right nav {
        font-size: .7rem;
    }
    div.header_title_right nav ul {
        margin: 1rem .5rem 0 auto;
        border-top: 1px solid #f19ca6;
        border-bottom: 1px solid #f19ca6;
    }
    div.header_title_right nav ul li {
        margin: .3rem 0 .3rem 0;
        padding: 0 .1rem;
        border-left: 2px solid #f19ca6;
    }
}

/* ----- 小 ----- */
@media screen and (min-width:670px) {
    div.header_title_right nav {
        font-size: .8rem;
    }
    div.header_title_right nav ul {
        margin: 1.25rem .5rem 0 auto;
        border-top: 1.25px solid #f19ca6;
        border-bottom: 1.25px solid #f19ca6;
    }
    div.header_title_right nav ul li {
        margin: .3rem 0 .3rem 0;
        padding: 0 .1rem;
        border-left: 3px solid #f19ca6;
    }
}

/* ----- 中 ----- */
@media screen and (min-width:768px) {
    div.header_title_right nav {
        font-size: .9rem;
    }
    div.header_title_right nav ul {
        margin:  1.5rem 1.5rem 0 auto;
        border-top: 1px solid #f19ca6;
        border-bottom: 1px solid #f19ca6;
    }
    div.header_title_right nav ul li {
        margin: 4px 0 4px 0;
        padding: 0 0 0 .3rem;
        border-left: 4px solid #f19ca6;
    }
}

/* ----- 大 ----- */
@media screen and (min-width:975px) {
    div.header_title_right nav {
        font-size: 1rem;
    }
    div.header_title_right nav ul {
        margin: 2rem 2rem 0 auto;
        border-top: 2px solid #f19ca6;
        border-bottom: 2px solid #f19ca6;
    }
    div.header_title_right nav ul li {
        margin: .5rem 1rem .5rem 0;
        padding: 0 0 0 .5rem;
        border-left: 5px solid #f19ca6;
    }
}

/* ----- 特大 ----- */
@media screen and (min-width:1292px) {
    div.header_title_right nav {
        font-size: 1.4rem;
    }
    div.header_title_right nav ul {
        margin: 2.5rem 2.5rem 0 auto;
        border-top: 3px solid #f19ca6;
        border-bottom: 3px solid #f19ca6;
    }
    div.header_title_right nav ul li {
        margin: 6px 6px 6px 0;
        padding: 0 0 0 7px;
        border-left: 6px solid #f19ca6;
    }
}
