html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
/*    font-family: YuMincho, '游明朝',"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif; */
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",YuGothic,'Yu Gothic',Verdana,Meiryo,sans-serif;
    font-size: 16px;
    color: #555;
}
h2 {
    color: #555;/*文字色*/
    border-bottom: dashed 2px #555;
}
h2 .icon {
    font-size: 110%;
    padding: 0 10px 0 5px;
}
ul,li {
    margin: 0;
    padding: 0;
}
li {
    list-style-type: none;
}
select,
input[type="text"],
input[type="password"],
textarea {
    border:0;
    padding:10px;
    font-size:1.1em;
    color:#aaa;
    border:solid 1px #ccc;
/*
    width: 90%;
*/
    width: calc(100% - 22px);
    height: 20px;
}
select {
    height: 40px;
}
textarea {
    height: 150px;
}
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    box-shadow: 0 0 7px #1abc9c;
    border: 1px solid #1abc9c;
}
/*Radioのみ*/
label.radio {
    position      : relative;
    display       : inline-block;
    width         : 15px;
    height        : 15px;
    border        : 1px solid #666;
    border-radius : 100%;
    overflow      : hidden;
    cursor        : pointer;
}
label.radio:before {
    content          : '';
    display          : block;
    width            : 11px;
    height           : 11px;
    border-radius    : 100%;
    position         : absolute;
    top              : 2px;
    left             : 2px;
    z-index          : 1;
    background-color : #555; 
}
label.radio input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    margin     : 0px;
    position   : absolute;
    z-index    : 2;
    top        : -2px;
    left       : -23px;
    width      : 20px;
    height     : 20px;
    display    : block;
    box-shadow : 20px 0px #FFF;
}
label.radio input[type="radio"]:checked {
    box-shadow : none;
}
label.radio input[type="radio"]:focus {
    box-shadow : 20px 0px #FFF;
    opacity    : 0.2;
}
/*RadioとText*/
label.radio_text {
    cursor       : pointer;
    position     : relative;
    margin-right : 20px;
    overflow     : hidden;
    padding-left : 20px;
    padding-bottom : 7px;
    display      : inline-block;
}
label.radio_text:before {
    position      : absolute;
    width         : 15px;
    height        : 15px;
    border        : 1px solid #666;
    border-radius : 50%;
    left          : 0px;
    top           : 4px;
    content       : '';
    z-index       : 3;
}
label.radio_text:after {
    content          : '';
    position         : absolute;
    width            : 11px;
    height           : 11px;
    border-radius    : 100%;
    left             : 3px;
    top              : 7px;
    background-color : #555;
    z-index          : 1;
}
label.radio_text input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    position   : absolute;
    z-index    : 2;
    width      : 20px;
    height     : 20px;
    left       : -23px;
    top        : 1px;
    margin     : 0px;
    box-shadow : 20px -1px #FFF;
}
label.radio_text input[type="radio"]:checked {
    box-shadow : none;
}
label.radio_text input[type="radio"]:focus {
    opacity    : 0.2;
    box-shadow : 20px -1px #FFF;
}
/*CheckBox */
label.checkbox {
    cursor     : pointer;
    width      : 20px;
    height     : 20px;
    border     : 1px solid #B3B3B3;
    background : #fff;
    overflow   : hidden;
    position   : relative;
    display    : inline-block;
    box-sizing : border-box;
}
label.checkbox input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    margin     : 0;
    padding    : 0;
    position   : absolute;
    left       : 20px;
    width      : 20px;
    height     : 20px;
    left       : -40px;
    box-shadow : 39px 0px #FFF;
    z-index    : 2;
}
label.checkbox input[type="checkbox"]:checked {
    box-shadow : none;
}
label.checkbox input[type="checkbox"]:checked:focus {
    box-shadow : 39px 0px #666;
    opacity    : 0.1;
}
label.checkbox input[type="checkbox"]:focus {
    box-shadow : 39px 0px #EEE;
}
label.checkbox:after {
    content           : '';
    position          : absolute;
    top               : 40%;
    left              : 5px;
    display           : block;
    margin-top        : -8px;
    width             : 8px;
    height            : 12px;
    border-right      : 3px solid #555;
    border-bottom     : 3px solid #555;
    transform         : rotate(45deg);
    -webkit-transform : rotate(45deg);
    -moz-transform    : rotate(45deg);
    z-index           : 1;
}
/*CheckBoxとText */
label.checkbox_text {
    cursor       : pointer;
    margin-right : 20px;
    overflow     : hidden;
    position     : relative;
    padding-left : 25px;
    padding-bottom : 5px;
    display      : inline-block;
    box-sizing   : border-box;
}
label.checkbox_text:before {
    content  : '';
    position : absolute;
    width    : 20px;
    height   : 20px;
    left     : 0px;
    top      : 0;
    border   : 1px solid #B3B3B3;
    z-index  : 3;
}
label.checkbox_text:after {
    content           : '';
    position          : absolute;
    top               : 40%;
    left              : 6px;
    display           : block;
    margin-top        : -8px;
    width             : 8px;
    height            : 12px;
    border-right      : 3px solid #555;
    border-bottom     : 3px solid #555;
    transform         : rotate(45deg);
    -webkit-transform : rotate(45deg);
    -moz-transform    : rotate(45deg);
    z-index           : 1;
}
label.checkbox_text input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    position   : absolute;
    left       : -40px;
    width      : 20px;
    height     : 20px;
    display    : block;
    box-shadow : 41px 0px #FFF;
    z-index    : 2;
    margin     : 0px;
    padding    : 0px;
}
label.checkbox_text input[type="checkbox"]:checked {
    box-shadow : none;
}
label.checkbox_text input[type="checkbox"]:checked:focus {
    box-shadow : 40px 0px #666;
    opacity    : 0.1;
}
label.checkbox_text input[type="checkbox"]:focus {
    box-shadow : 41px 0px #EEE;
}
input[type="submit"],
input[type="button"] {
    border:solid 1px #555;
    padding:10px 20px;
    margin:0 10px 20px;
    font-size:1.0em;
    text-transform:uppercase;
    color:#fff;
    cursor:pointer;
    background: #555;
}
input[type="submit"]:hover,
input[type="button"]:hover {
    border:solid 1px #888;
    background: #888;
}
input[type="submit"].warn,
input[type="button"].warn {
    border:solid 1px #d50000;
    background: #d50000;
}
input[type="submit"].warn:hover,
input[type="button"].warn:hover {
    border:solid 1px #ffaaaa;
    background: #ffaaaa;
}
input[type="submit"].cancel,
input[type="button"].cancel {
    border:solid 1px #e9e9e9;
    background: #e9e9e9;
}
input[type="submit"].cancel:hover,
input[type="button"].cancel:hover {
    border:solid 1px #f4f4f4;
    background: #f4f4f4;
}
input[type="button"].plus,
input[type="button"].minus {
    border:solid 1px #999;
    background: #999;
    text-align: right;
}
a {
    color: #555;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

#container {
    width: 100%;
}
#content {
    padding: 0 20px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}
#content h4 {
    margin-left: calc( ( 100% - 800px ) / 2 );
    margin-bottom: 0;
    width: 800px;
}
/**
 * フォーム
 */
#content form div {
    margin: 20px 0 30px;
}
#content form div.btn,
#modal form div.btn {
    text-align: center;
    margin: 20px 0 0;
}
#content form a.minus {
    text-align: center;
    font-size: 15px;
    margin-left: calc( ( 100% - 800px ) / 2 );
}
#content form .required {
    color: #f00;
    margin: 0 0 0 5px;
}
#content form p.error {
    color: #f00;
    margin: 5px 0 0 5px;
}
#content form p.error:before {
    content: "* ";
}
#content form p.notice {
    color: #ff9932;
    margin: 5px 0 0 5px;
}
#content form p.notice:before {
    content: "* ";
}
label.required_label {
    cursor: pointer;
    margin: 0 0 0 10px;
    padding:10px;
    border: 1px solid #434343;
    border-radius: 5px;
}
input[type="checkbox"].required_check {
    display: none;
}
.required_check:checked + label.required_label {
    background-color: red;
}
#content div.form_errors {
    border: 2px solid #f95661;
    border-radius: 5px;
    padding: 20px 30px;
    width: 740px;
    margin: 0 auto;
}
#content div.form_errors li {
    color: #f95661;
    list-style: initial;
}
#content div.success_message {
    border: 2px solid #55c72c;
    border-radius: 5px;
    padding: 5px 30px;
    margin: 0 auto;
    margin-bottom: 20px;
}
#content > div.success_message > p {
    color: #55c72c;
}
#content > div.success_message > li {
    color: #55c72c;
    list-style: initial;
    padding: 10px 0;
}
#content div.error_message {
    border: 2px solid #f95661;
    border-radius: 5px;
    padding: 5px 30px;
    margin: 0 auto;
    margin-bottom: 20px;
}
#content > div.error_message > p {
    color: #f95661;
}

/**
 * テーブル
 */
#content table {
/*    border-top: 1px solid #555;
    border-left: 1px solid #555; */
    font-size: 14px;
    margin: 0 0 20px;
    text-align: center;
}
#content table.search {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
#content table.list {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}
#content table.detail,
#modal table.detail {
    width: 800px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 15px;
    font-size: 12px;
    clear: right;
}
#content table tr {
    background: #fcfaf8;
}
#content table tr.even {
    background: #efefef;
}
#content table tr a {
    text-decoration: underline;
}
/*
#content table.list tr:hover {
    background: #bbb;
}
*/
#content table th {
    background: #999;
    color: #fff;
    border-right: 1px solid #aaa;
    padding: 5px;
}
#content table.list th {
    height: 30px;
}
#content table.search th {
    border-bottom: 1px solid #aaa;
}
#content table th.last {
    border-right: none;
}
#content table.search th.last {
    border-bottom: 1px solid #555;
}
#content table.detail th,
#content table.detail td,
#modal table.detail th,
#modal table.detail td {
    padding: 10px;
}
#content table.detail th,
#modal table.detail th {
    background: #999;
    vertical-align: middle;
    text-align: left;
    width: 100px;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: normal;
    font-size: 14px;
}
#content table.detail th:after,
#modal table.detail th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #999;
    border-width: 10px;
    margin-top: -10px;
}
/* firefox */
@-moz-document url-prefix() {
    #content table.detail th::after,
    #modal table.detail th:after {
        float: right;
        padding: 0;
        left: 30px;
        top: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: relative;
        pointer-events: none;
        border: 10px solid transparent;
        border-left: #555 10px solid;
        margin-top: -10px;
    }
}
#content table td {
    color: #555;
    padding: 5px;
}
#content table td.last {
}
#content table tbody tr td span {
    display: block;
    margin-top: 5px;
    text-align:left;
    font-size: .7rem;
}
#content table.list td {
    height: 45px;
}
#content table.detail td,
#modal table.detail td {
    background: #f8f8f8;
    width: 360px;
    padding-left: 20px;
    text-align: left;
}
#content table.detail td .icon,
#modal table.detail td .icon {
    font-size: 40px;
    margin: 0 10px 0 0;
}
#content table.detail td ul,
#modal table.detail td ul {
    margin: 10px 0 10px 5px;
}
#content table.detail td input[type="submit"],
#content table.detail td input[type="button"] {
    margin: 0 0 0 3px;
}

#content div.form_description {
  width: 800px;
  margin: 0 auto;
  padding: 20px 10px;
  border: 2px solid #999;
  border-radius: 5px;
}
#content div.form_description p {
  font-size: .8rem;
}

/**
 * 幅
 */
.w5 {
    width: 5% !important;
}
.w10 {
    width: 10% !important;
}
.w15 {
    width: 15% !important;
}
.w20 {
    width: 20% !important;
}
.w25 {
    width: 25% !important;
}
.w30 {
    width: 30% !important;
}
.w35 {
    width: 35% !important;
}
.w40 {
    width: 40% !important;
}
.w45 {
    width: 45% !important;
}
.w50 {
    width: 50% !important;
}
.w55 {
    width: 55% !important;
}
.w60 {
    width: 60% !important;
}
.w65 {
    width: 65% !important;
}
.w70 {
    width: 70% !important;
}
.w75 {
    width: 75% !important;
}
.w80 {
    width: 80% !important;
}
.w85 {
    width: 85% !important;
}
.w90 {
    width: 90% !important;
}
.w95 {
    width: 95% !important;
}
.w100 {
    width: 100% !important;
}

/**
 * メッセージ
 */
.message {
    text-align: center;
    margin: 10px 70px 50px;
    padding: 125px 0;
    background: #fcfaf8;
}
.course_message {
    text-align: center;
    margin: 10px auto 50px !important;
    padding: 125px 0;
    background: #fcfaf8;
    width: 800px;
}
.empty {
    text-align: center;
    margin: 65px 70px 50px;
    padding: 125px 0;
    background: #fcfaf8;
}

/**
 * タブ
 */
.tab {
    width: 800px;
    margin: 30px auto 10px;
    border-bottom: 2px solid #999;
}
.tab ul {
    width: 800px;
    color: #fff;
    font-size: 13px;
}
.tab li {
    display: inline-block;
    width: 90px;
    height: 19px;
    background: #999;
    text-align: center;
    padding: 9px 0;
}
.tab li.active {
    background: #555;
}
.tab li a {
    color: #fff;
}

/**
 * ページャ
 */
.pager {
  margin: 0 auto 20px;
  text-align: right;
}
.pager ul {
}
.pager li {
    display: inline-block;
    width: 20px;
    height: 20px;
}
.pager li.active {
    font-weight: bold;
}

/**
 * ログイン
 */
#content #login {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 30px;
    width: 400px;
    height: 400px;
    background:#fff;
}
#content #login h1 {
    text-align: center;
}

/**
 * モーダル
 */
#overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3;
    display: none;
}
#overlay #modal {
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 800px;
    height: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    overflow-x: hidden;
    overflow-y: hidden;
}
#overlay #modal #inner {
    width: 800px;
    height: 500px;
    overflow-y: scroll;
}
#overlay #modal .close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 28px;
}
#overlay #modal .close a:hover {
    text-decoration: none;
}

/**
 * ローディング
 */
#loading {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #c6c7c7;
    z-index: 100;
    display: none;
}
#loading p {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -40px;
    width: auto;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}
/**
 *  コース名管理
 */
input[type="button"].course_name_button {
    float: right;
    width: 50px;
    margin: 0;
    padding: 3px 6px;
    font-size: 10px;
    background: #fff;
    color: #555;
}
input[type="button"].course_name_button:hover {
    background: #555;
    color: #fff;
}
#content ul.child_name_change {
    display: flex;
    justify-content: space-between;
    width: 800px;
    margin: 0 auto;
}
#content form a.child_name_plus {
    text-align: center;
    font-size: 15px;
}
#content form a.child_name_minus {
    text-align: center;
    font-size: 15px;
    display: none;
}
input[type="button"].name_plus {
    border:solid 1px #999;
    background: #999;
    text-align: right;
}
input[type="button"].name_minus {
    border:solid 1px #e9e9e9;
    background: #e9e9e9;
    text-align: right;
    display: none;
}
input[type="button"].name_plus:hover {
    border:solid 1px #c0c0c0;
    background: #c0c0c0;
}
input[type="button"].name_minus:hover {
    border:solid 1px #f4f4f4;
    background: #f4f4f4;
}
/**
 *  ティー管理
 */
input[type="button"].course_tee_regular {
    float: right;
    width: 100px;
    margin: 0;
    padding: 3px 6px;
    font-size: 10px;
    background: #fff;
    color: #555;
    cursor: default;
}
input[type="radio"].regular_flg {
    display: none;
}
label.regular_flg_label {
    cursor: pointer;
    padding-left: 20px;
    margin-top: 20px;
    position: relative;
}
.regular_flg_label::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 4px;
}
input[type="radio"].regular_flg:checked + .regular_flg_label::after {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    left: 5px;
    width: 7px;
    height: 14px;
    transform: rotate( 40deg );
    border-bottom: 3px solid #555;
    border-right: 3px solid #555;
}
/**
 *  画像管理
 */
input[type="radio"].main_flg {
    display: none;
}
label.main_flg_label {
    cursor: pointer;
    padding-left: 20px;
    margin-top: 20px;
    position: relative;
}
.main_flg_label::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 4px;
}
input[type="radio"].main_flg:checked + .main_flg_label::after {
    content: "";
    display: block;
    position: absolute;
    top: -5px;
    left: 5px;
    width: 7px;
    height: 14px;
    transform: rotate( 40deg );
    border-bottom: 3px solid #555;
    border-right: 3px solid #555;
}
/**
 * レイアウト管理
 */
#content h4.layout {
    width: 1035px;
    margin: 30px auto 0;
}
#content table.course_layout {
    width: 1035px;
    margin: auto;
    border-collapse: collapse;
    border-spacing: 0;
}
#content table.course_layout th {
    background: #999;
    color: #fff;
    border: 1px solid #fff;
    font-weight: normal;
}
#content table.course_layout tbody th {
    width: 45px;
}
#content table.course_layout tbody td {
    background: #fff;
    color: #999;
    border: 1px solid #999;
    font-size: 16px;
    height: 30px;
}
#content input[type="text"].yard_error {
    background: #FFC0CB;
}
/**
 * ヘッダー
 */
#header {
    height: 60px;
    background: #555;
    color: #fff;
}
#header h1 {
    margin: 0;
    padding: 10px 30px 0;
}
#header .login {
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 14px;
}
#header .login a,
#header .login span {
    color: #fff;
}

/**
 * フッター
 */
#footer {
    width: 100%;
    height: 150px;
    margin-top: 20px;
    background: #555;
    color: #fff;
}
#footer .delimiter {
    padding: 0 20px 0;
    background: #fff;
    color: #555;
    font-size: 12px;
}
#footer div.menu {
    width: 180px;
    float: left;
}
#footer ul {
    margin: 20px 0 0;
    padding: 0 0 0 30px;
}
#footer ul li {
    font-weight: 200;
    font-size: 14px;
    margin: 0 0 3px 4px;
    padding-left: 15px;
}
#footer ul p.title {
    font-weight: bolder;
    font-size: 16px;
    margin: 10px 0 3px;
}
#footer ul li a {
    color: #fff;
}
footer {
    position: absolute;
    right: 10px;
    bottom: 0;
    clear: both;
    padding: 0 30px;
}

/**
 * 評価
 */
.evaluation {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin: 5px 0 0 !important;
}
.evaluation input[type='radio'] {
    display: none;
}
.evaluation label {
    position: relative;
    padding: 10px 10px 0;
    color: gray;
    cursor: pointer;
    font-size: 52px;
}
.evaluation label .text {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: gray;
}
.evaluation label:hover,
.evaluation label:hover ~ label,
.evaluation input[type='radio']:checked ~ label {
    color: #ffcc00;
}
.evaluation input[type='radio']:checked:disabled ~ label {
    color: #ffcc00;
    cursor: default;
}
.evaluation input[type='radio']:disabled ~ label {
    color: #555;
    cursor: default;
}

#dashboard p {
    text-align: center;
}
#dashboard #gmenu {
    width: 90%;
    margin: 30px auto;
    padding: 25px 30px 15px;
    background: #f4f4f4;
}
#dashboard #gmenu .icon {
    font-size: 60px;
    padding: 0 15px;
}
#dashboard #gmenu li {
    display: inline-block;
    margin: 10px 50px 0 0;
}
#dashboard #gmenu li.last {
    margin: 0;
}
#dashboard #gmenu li p {
    margin: 0;
    padding: 10px 0 0;
    font-size: 14px;
}
#dashboard #gmenu li a:hover {
    text-decoration: none;
    color: #ccc;
}
#dashboard table {
    width: 100%;
}
#dashboard ul.graph {
    margin: 20px 0 30px;
}
#dashboard .graph li {
    display: inline-block;
    width: 49%;
    text-align: center;
}
#dashboard .graph li p {
}
