/** 汎用css **/
/* normalize */
html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 100%;
    vertical-align:baseline;
}
*{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
article, header, footer, aside, figure, figcaption, nav, section {
    display:block;
}
html, body{ height:100%; }
body {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    position:relative;
    margin:0;
    background: #f3f3f3;
}
ol, ul {
    list-style: none;
    list-style-type: none;
}
a{color:#7c4670;text-decoration:none;}


/* カスタムプロパティ */
:root {
  --text-color-red: #ff2c2c;
}


/* common */
.clearfix:after{display:block;content:"";clear:both;}
.left{float:left;}
.right{float:right;}

.pt20{padding-top:20px !important;}
.pb20{padding-bottom:20px !important;}

.mt10{margin-top:10px !important;}
.mt20{margin-top:20px !important;}

.mb5{margin-bottom:5px !important;}
.mb10{margin-bottom:10px !important;}
.mb20{margin-bottom:20px !important;}
.mb30{margin-bottom:30px !important;}
.mb40{margin-bottom:40px !important;}

.mr10{margin-right:1rem !important;}
.mr20{margin-right:2rem !important;}
.mr30{margin-right:3rem !important;}

.ml10{margin-left:.525rem !important;}

.text_c{text-align:center;}
.text_r{text-align:right;}

.fw-bold{font-weight: bold;}

.fs12{font-size:12px !important;}
.fs14{font-size:14px !important;}
.fs16{font-size:16px !important;}
.fs18{font-size:18px !important;}
.fs24{font-size:24px !important;}

.w90p{width:90% !important;}
.w80p{width:80% !important;}
.w70p{width:70% !important;}
.w60p{width:60% !important;}
.w50p{width:50% !important;}
.w40p{width:40% !important;}
.w30p{width:30% !important;}
.w25p{width:25% !important;}
.w20p{width:20% !important;}
.w15p{width:15% !important;}
.w10p{width:10% !important;}

.h100{height:100px !important;}
.h200{height:200px !important;}

.pre-line{
    white-space: pre-line;
    line-height: 1.2;
}
h2{
    font-size:1.2em;
    font-weight:bold;
}
h2 span{
    display:inline-block;
    padding:0 0.2em;
    /*background: linear-gradient(transparent 75%, #ffff00 0%);*/
    font-weight: bold; 
}
h3{
    font-size:1.125em;
    font-weight: bold; 
}

.is_active{
    opacity: .6;
}

.td_u{text-decoration:underline !important;}

.dl_table{
    display: table;
    width: 100%;
}
.dl_table > dl{
    display: table-row;
}
.dl_table > dl > dt,
.dl_table > dl > dd{
    display: table-cell;
}

.flex{
    display: -webkit-flex; /* Safari */
    display: flex;
}
.flex.flex_align_c{
    align-items:center;
    -webkit-align-items:center;
}
.flex.justify-content-center{
    justify-content: center;
}
.flex.justify-content-space-around{
    justify-content: space-around;
}
.flex.justify-content-space-between{
    justify-content: space-between;
}

.space_evenly{
    justify-content: space-evenly;
}

.flex.col-2 div.student{
    width:25%;
    padding:10px;
}
.flex .f_item:not(:last-child){
    margin-right: 20px;
}

.none{
    display: none;
}

.inline > *{
    display: inline-block;
}

.error-message { color: var(--text-color-red); }
.not-permitted-message { color: var(--text-color-red); }
.form-error{ border-color: var(--text-color-red)!important; }
.attention { color: var(--text-color-red); }

.msg > .message{
    display:block;
    padding:20px;
    border:2px solid #000;
    text-align:center;
    margin-bottom:20px;
    font-size:12px;
}
.msg > .message.success{
    color:#000;
}
.msg > .message.error{
    color:var(--text-color-red);
    border-color:var(--text-color-red);
}

.box{
    background: #fff;
    padding: 10px;
    margin-bottom: 24px;

}

.required:before{
    content: '*';
    vertical-align: middle;
    margin-right: .175em;
}

.pointer-events-none{
    pointer-events:none;
    cursor: not-allowed;
}

/* layout */
.container{
    height: 100%;
    overflow: hidden;
}
.container.customer,
.container.admin{
    padding: 60px 0 0 160px;
}

/* ヘッダー */
.header_container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}
.header_container header{
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.header_container header .logo{
    margin-right: 1.25rem;
}
.header_container header .logout a{
    display: inline-block;
    color: #fff;
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    border-radius: 20px;
    background: #07488a;
    background: linear-gradient(90deg, rgba(7,72,138,1) 0%, rgba(11,103,168,1) 50%, rgba(24,137,197,1) 100%);
}
.header_container header .header_menu{
    display: flex;
    justify-content: end;
    align-items:center;
    -webkit-align-items:center;
}
.header_container header .header_menu > * + *{
    margin-left: 1em;
}

#side_navigation{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    margin-top: 60px;
    min-width: 160px;
    width: 160px;
    z-index: 9999;
}
#side_navigation nav{
    overflow: auto;
    height: 100%;
}
#side_navigation nav ul li a{
    display: block;
    padding: 15px 20px;
    font-size: 14px;
}
#side_navigation nav ul li.active a,
#side_navigation nav ul li a:hover{
    background: rgba(0,0,0,0.2);
}

/* フッター */
footer{
    width: 100%;
    font-size: 12px;
}
.copyright{
    width: 100%;
    font-size: 12px;
    text-align: center;
    padding: .75rem 0;
}

/* 顧客 フッターメニュー */
footer .footer_menu .flex{
    justify-content: center;
    -webkit-justify-content: center;
}
footer  .footer_menu .flex li + li{
    margin-left: 1em;
    padding-left: 1em;
    border-left: 1px solid #808080;
}
footer .footer_menu .flex li a{
    color: #000;
}

/* メイン */
.container .contents_wrap{
    height: 100%;
    overflow: auto;
}
.container.admin .contents,
.container.customer .contents{
    min-width: 800px;
    padding: 20px 20px 30px;
}

/* ページタイトル */
.title_wrap{
    margin-bottom: 1em;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

/* アイコン画像 */
/* アイキャッチ画像 */
.icon,
.eyecatch,
.blog_header,
.bannar{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #C0C0C0;
    display: inline-block;
    margin: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.icon{
    border-radius: 50%;;
    width: 90px;
    height: 90px;
}

.eyecatch{
    width: 64px;
    height: 40px;
}

.blog_header{
    width: 600px;
    height: 160px;
}

/* フォーム */
input[type=number],
input[type=text],
input[type=password],
input[type=tel],
input[type=email],
textarea{
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    padding: 10px 12px;
    background: rgb(232, 240, 254);
    font-family: inherit;
}
input[type=number],
select{
    padding: 10px 12px;
    border-radius: 6px;
}
select{
    border: none;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    background: rgb(232, 240, 254);
    font-family: inherit;
}
header select{
    padding: 5px 10px;
    font-size: 14px;
}
[type=file]{
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 2px;
    background: #faf7f7;
    width: 260px;
    cursor: pointer;
    vertical-align: middle;
}

input:disabled{
    cursor: not-allowed;
    background-color: #e7e7e7!important;
    color: rgba(84,84,84, .7);
}

.radio input[type="radio"],
.check input[type="checkbox"] {
    display:none;
}
.radio label ,
.check label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 0 0 0 24px;
    color: #000;
    font-size: 14px;
    text-align: left;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
}
.radio label{
    background:url(/img/radio_off.svg) left center no-repeat;
    background-size: auto 100%;
}
.check label{
    background:url(/img/check_off.svg) left center no-repeat;
    background-size: auto 100%;
}
.check label:before{
    border-radius: 0;
}
.radio label:hover,
.check label:hover{
    opacity: .8;
}
.radio input[type=radio]:checked + label{
    background:url(/img/radio_on.svg) left center no-repeat;
    background-size: auto 100%;
}
.check input[type=checkbox]:checked + label{
    background:url(/img/check_on.svg) left center no-repeat;
    background-size: auto 100%;
}
.radio input[type=checkbox]:disabled + label,
.check input[type=checkbox]:disabled + label{
    opacity: .6;
    cursor: not-allowed;
}

.medium{
    width: 100%;
    max-width: 420px;
}
.medium_large{
    width: 100%;
    max-width: 640px;
}
.large{
    width: 100%;
    max-width: 900px;
}

/* ボタン */
.btn{
    appearance: none;
    color: #fff;
    padding: .5rem 1.2rem;
    margin: 2px auto;
    font-size:14px;
    border:none;
    border-radius: 2rem;
    display:inline-block;
    text-align: center;
    text-decoration:none;
    vertical-align: middle;
    cursor: pointer;
    background: #07488a;
}
.btn:hover{
    opacity: 0.9;
}
.login_box .btn{
    background: transparent linear-gradient(270deg, #0092BB 0%, #008BC5 33%, #56378A 69%, #C3004A 100%) 0% 0%;
}

.btn.btn_secondary{
    background: #1889c5;
}
.btn.btn_back,
.btn.btn_delete{
    background: #8a8a8a!important;
}
.btn_danger{
    background: #ff5252!important;
}
.btn.btn_small{
    padding: 5px 10px;
    font-size: 12px;
}

.btn.btn_outline{
    background: #fff!important;
    border: 2px solid;
    color: #07488a;
}

.btn.submit{
    font-weight:normal;
    letter-spacing: 0.2em;
}

.list_table .btn{
    padding: 6px 15px;
    font-size: 14px;
    white-space: nowrap;
}

input[type=text] + .btn,
select + .btn{
    margin-left: 0.5em;
}
.btn.btn_disabled,
.btn[disabled=disabled]{
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* 一覧検索エリア */
.search_area .flex{
    justify-content: start;
}
.search_area .check{
    margin-left: 1.2em;
    font-size: 14px;
}
.search_area .flex.c_box > div{
    margin-left: 0.5em;
}
.search_area .flex.c_box > div:last-child{
    margin-right: 0.5em;
}
.search_area .btn{
    margin: 0;
}

/* 表示件数等  */
.guide_box{
    display: flex;
    justify-content: end;
    margin-bottom: 0.25rem;
    font-size: .85rem;
    padding-right: .75rem;
}
.guide_box .total{
    margin-left: .95rem;
}

.login_box{
    width: 500px;
    margin: 60px auto 30px;
    border:1px solid #ccc;
    background: #fff;
    padding:30px;
    font-size:14px;
}
.login_box h2{
    margin-bottom:1em;
}
.login_box .message.error{
    font-weight: bold;
    color: #c00;
    text-align: center;
    padding: 0.5em 0;
}
.login_box dl dt,
.login_box dl dd{
    padding-bottom: 10px;
}
.login_box input[type=text],
.login_box input[type=password]{
    width: 100%;
}
.login_box .btn_wrap{
    margin-top: 20px;
}
.login_box .btn{
    display: block;
    margin: 0 auto;
}
input.btn:disabled,
button.btn:disabled {
    /*background: #bdbaba;*/
    opacity: 0.3;
    cursor: default;
}

.btn.submit{
    width: 300px;
    line-height: 3rem;
    padding: 0;
    position:relative;
    font-size: 1.25rem;
    font-weight: bold;
}
/*
.btn.submit:active{
    box-shadow: none;
    transform: translateY(5px);
}
*/

.dl_form dl{
    margin-bottom: 30px;
}
.dl_form dl dt{
    font-weight: bold;
    margin-bottom: 4px;
}
.dl_form dl dd{
}

/* ページャー */
.pager{
    margin-bottom: 20px;
}

.pager > li{
    display: inline-block;
    min-width: 30px;
}

.pager > li:not(:last-child){
    margin-right: 10px;
}

.pager > li.disabled{
    color:#ccc;
}

.pager > li a,
.pager > li span{
    background: #ACACAC;
    color: #fff;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.pager > li.active a{
    background: #21686A;
}

.pager > li a:hover{
    //要望あり、色を変更してます。12/7 kawasaki
    //background: #eee;
    background: #21686A;
}

/* モーダル */
#modal{
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 99999;
}

#modal .overlay{
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    z-index: 90000;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
    width: 100vw;
    height: 100vh;
}

#modal.active{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

#modal .modal_content{
    background: #fff;
    width: 78vw;
    max-width: 890px;
    display: none;
    z-index: 100000;
    padding: 2.25rem 20px;
}

#modal.active .modal_content{
    display: block;
}

#modal .modal_inner{
    text-align: center;
    max-height: 80vh;
    overflow: auto;
}

/* テーブル */
table{
    width: 100%;
    border-collapse:collapse;
    font-size: 14px;
    color: #2B2B2B;
}
table th,
table td{
    padding: .325rem .725rem;
    vertical-align: middle;
}
table th,
table thead tr{
    background: #058FDA;
}
table th,
table th a{
    color: #fff;
    font-weight: bold;
}
table tbody tr:nth-child(odd){
    background: #fff;
}
table tbody tr:nth-child(even){
    background: #DDF3FE;
}
table tbody td{
    color: #2B2B2B;
}

.list_table{
    width: 100%;
    overflow: auto;
    border-radius: 6px;
    margin-bottom:.75rem;
}
.list_table table tbody tr:nth-child(even){
    background: #ddf3fe;
}
.list_table table tbody tr:hover{
    background: #ddd;
}
.list_table table thead th,
.list_table table tbody td.operation{
    white-space: nowrap;
}
.list_table table tbody td{
     line-height: 1.2;
}
.list_table table thead th,
.list_table table tbody td,
.list_table table tbody td input,
.list_table table tbody td select{
    /*word-break: break-word;*/
    font-size: 12px;
}
.list_table table input.amount{
    width: 80px;
}
.list_table table th.check_wrap{
    text-align: left;
}
.list_table tr.is_edit td{
    color: var(--text-color-red);
}

/* sticky(テーブルの固定) */
.sticky_table{
    overflow:auto;
    width: 100%;
}
.sticky_table{
}

/* 頭を固定 */
.sticky_table.start table tr th:first-child,
.sticky_table.start table tr td:first-child{
    position: sticky;
    top: 0;
    left: 0;
    padding-right: .725rem;
    padding-left: .725rem;
}

/* 末尾を固定 */
.sticky_table.end table tr th:last-child,
.sticky_table.end table tr td:last-child{
    position: sticky;
    top: 0;
    right: 0;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.sticky_table.first table tr th:first-child,
.sticky_table.end table tr th:last-child{
    background: rgba(5,143,218,.85);
}
.sticky_table.start table tbody tr:nth-child(odd) td:first-child,
.sticky_table.end table tbody tr:nth-child(odd) td:last-child{
    background: rgba(255,255,255,.8);
}
.sticky_table.start table tbody tr:nth-child(even) td:first-child,
.sticky_table.end table tbody tr:nth-child(even) td:last-child{
     background: rgb(221 243 254 / 80%);
}
/* 末尾を固定 */

.form_table{margin-bottom: 20px;}
.form_table table th{
    text-align: left;
    width: 200px;
    max-width: 200px;
}
.form_table table tr + tr th,
.form_table table tr + tr td{
    border-top: 2px solid #f9f9f9;
}
.form_table table tr:nth-child(odd),
.form_table table tr:nth-child(even){
    background: #fff;
}
.form_table textarea{
    width: 100%;
    resize: vertical;
}
.form_table table tr td + td,
.form_table table tr td + th{
    border-left: 5px solid #f9f9f9;
}

.form_table.search{margin-bottom:10px;}
.form_table img{
    max-width:550px;
    height:auto;
    max-height:400px;
    vertical-align:bottom;
}
table tbody .added td{
    color: var(--text-color-red);
}
table tbody .deleted{
    background: #cacaca!important;
    text-decoration: line-through;
}

.control_csv .message {
    margin-top: 20px;
}

/** vue js modal **/
.vm--container{
    z-index: 99999!important;
}

/* loading animation */
.is_loading{
    text-align: center;
    font-size: 12px;
}
.sk-fading-circle {
    margin: 100px auto 20px;
    width: 40px;
    height: 40px;
    position: relative;
}
.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #07488a;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg); 
}
.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg); 
}
.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s; 
}
.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s; 
}
.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s; 
}
.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s; 
}
.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s; 
}
.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s; 
}
.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s; 
}
.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% { opacity: 0; }
    40% { opacity: 1; } 
}
