@charset "UTF-8";

/* html, body { height: 100%; } */

/* body {
    background-color: whitesmoke
}
*/

/*main#main {
main {
    flex: none;
    max-width: none;
    width: 100%;
}
*/
#contents {
    margin: 0vh 4vw 0vh 4vw;
}

/* スマホ向け */
@media (max-width: 767px) {
    main{
        width :auto;
    }
    #contents {
        width: auto;
        margin: 0vh 3vw 0vh 2vw;
    }
    .age_class {
        margin-left: auto;
    }
}

/* jQuery UI 1.9.xにアップデートしてautocompleteウィジェットの要素の後に表示される
「n results are available, use up and down arrow keys to navigate.」を非表示にする。*/ 
.ui-helper-hidden-accessible { display: none; }

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance:textfield !important;
}

div#primary.clearfix{
    display: block;
}

.authcode{
    text-align: center;
}

.miss_code_msg{
    color: red;
}

.hide {
    display: none;
}

.user_area{
    /*height: 6vh;*/
    display: flex;
    align-items: baseline;
    margin-bottom: 1%;
}

.user_name{
    width: 20vw;
    vertical-align: middle;
}

.user_image {
    width: 10%;
    vertical-align: middle;
}

.calender_area {
    /*width: 100%;*/
    height: 35px;
    display: flex;
    /*gap: 15px;*/
}

.calender_area * {
    border: 0;
    padding: 0;
    align-self: center;
    height: 100%;
}

.js-previous-date ,
.js-next-date {
    padding: 10px;
}

.js-previous-date image,
.js-next-date image {
    width: 10%;
}

.flatpickr_area {
    position: relative;
    background-color: pink;
    width: 20vw;
}

.js-display-date-div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center; /* absoluteの関係で、vertical-align:middle は使えない */
}
.js-display-date {
    display: block;
    padding-top: 1%;
    font-size: 18px;
}


/* 日曜日：赤 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7n + 1),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n + 1) {
    color: red;
}
/* 土曜日：青 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n) {
    color: blue;
}

/* ブラウザ向け */
@media (min-width: 1021px) {

.button_area_1 {
    display: flex;
    width: 60%;
    padding: 20px 0px 20px 0px;
}

}
.container_84 {
    width: auto;
    display: flex;
    gap: 0 15px;
    align-items: flex-start;
    height: 55vh;
}



/* .amcharts-main-div {
    height: 370px;
} */

/* .container_84 .tablediv{
    height: 475px;
    overflow-y: scroll;
} */
/* 
.container_84 .tablediv::-webkit-scrollbar {
  display: none;
} */

/* .container {
    overflow: scroll;
    margin: 20px;
    padding: 25px;
    width: 700px;
    height: 200px;
    border: 2px solid #ccc;
} */
/* 
table tbody .temp{
    display: none;
}
 */
body.page-id-30 .container{
    margin: auto;
    box-sizing: border-box;
    min-width: 95%;
}


.ui-widget-content {
    /* border: 1px solid #666!important; */
    background: #eee!important;
    color: #393!important;
}

.tablediv table {
    /* table-layout: fixed; */
    margin :0;
    /* display: flex; */
    border-collapse:separate;
    border-spacing: 0;
}

.tablediv {
    width: 60%;
    border-collapse:separate;

}

table.histtable td.food_name > input{
    width: 100%;
    /* 日本語入力 chromeで動作しない*/
    ime-mode:active;
}

.tablediv tr{
    height:40px;
}

.tablediv td,
.tablediv th {
    height: 30px;
}

table.histtable input{
    border:none;
    width:inherit;
    text-overflow: ellipsis;
}

table.histtable td.gram > input{
    width: 100%;
    text-align:center;
}

.histtable button{
    padding: 5px 1.5vw !important;
}

.width100 {
    width: 100%;
}
/*
.th1{
    width: 70%;
}
.th2 {
    width: 10%;
}
.th3 {
    width: 10%
}
*/

/* .width70 { */
/* width: 70%; */
/* width: calc(761px*0.7); */
/* width:521px; */
/* } */
/* .width10 { */
/* width: 10%; */
/* width: calc(761px*0.1); */
/* } */

/* .width10 { */
/* width: 10%; */
/* width: calc(761px*0.1); */
/* } */


/*
    table デザイン
*/
table th:first-child{
    border-radius: 5px 0 0 0;
}

table th:last-child {
    border-radius: 0 5px 0 0;
    border-right: 1px solid #d4d5d6;
}

table th {
    text-align: center;
    color: white;
    background: linear-gradient(#7fd5dd, #5ab4bd);
    border-left: 1px solid #d4d5d6;
    border-top: 1px solid #d4d5d6;
    border-bottom: 1px solid #d4d5d6;
    box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
    /* width: 25%; */
    padding: 10px 0;
}

table td {
    text-align: center;
    border-left: 1px solid #a8b7c5;
    border-bottom: 1px solid #a8b7c5;
    border-top: none;
    box-shadow: 0px -3px 5px 1px #eee inset;
    /* width: 25%; */
    /* padding: 10px 0; */
}

table td:last-child {
    border-right: 1px solid #a8b7c5;
}

table tr:last-child td:first-child {
    border-radius: 0 0 0 5px;
}

table tr:last-child td:last-child {
    border-radius: 0 0 5px 0;
}

/* オートコンプリートの装飾 */
ul.ui-autocomplete {
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0em 0.5em 0em 0.5em;
    border: none;
    border-radius: 8px;
    cursor: default;
    background-color: #ffffff;
    max-height: 40%;
    overflow-y: scroll;
}
/* オートコンプリートのリスト */
ul.ui-autocomplete ul{
    scroll-margin-inline-end: 30px;
}
/* 各リスト項目のパディング設定 */
.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 3px 1em 3px .4em;
}

/* リスト全体の背景 */
.ui-widget-content {
    border: 1px solid #666 !important;
    background: #eee !important;
    color: #393 !important;
}

/* リスト hover 時のカラー */
.ui-state-active {
    border: 1px solid #67969c !important;
    background: #3cbfd3 !important;
    font-weight: bold !important;
    color: #ffffff;
}







/* 
    bottun
 */
a.disabled{
    pointer-events: none;
}

.btn,
a.btn,
button.btn {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

.btn--orange,
a.btn--orange {
    color: #fff;
    background-color: #eb6100;
}

.btn--orange:hover,
a.btn--orange:hover {
    color: #fff;
    background: #f56500;
}

a.btn--radius {
    border-radius: 100vh;
}

button.button8 {
    /* 文字サイズを1.4emに指定 */
    /* font-size: 1.4em; */

    /* 文字の太さをboldに指定 */
    font-weight: bold;

    /* 縦方向に10px、
     * 横方向に30pxの余白を指定 */
    padding: 10px 30px;

    /* 文字色を白色に指定 */
    color: #fff;

    /* ボタンの色 */
    background-color: #eb6100;

    /* ボーダーをなくす */
    border-style: none;

    /* ボタンの影の指定
     * 影の横幅を2px
     * 縦長を2px
     * ぼかしを3px
     * 広がりを1px
     * 色を#666（グレー）に指定 */
    box-shadow: 2px 2px 3px 1px #666;
    -moz-box-shadow: 2px 2px 3px 1px #666;
    -webkit-box-shadow: 2px 2px 3px 1px #666;

    /* テキストの影の指定
     * 影の横幅を1px
     * 縦長を1px
     * ぼかしを2px
     * 色を#000（黒）に指定 */
    text-shadow: 1px 1px 2px #000;

    /* グラデーションの指定 */
    /* background: -moz-linear-gradient(bottom, #36d, #248 50%, #36d);
    background: -webkit-gradient(linear, left bottom, left top, from(#36d), color-stop(0.5, #248), to(#36d)); */

    /* 角丸の指定 */
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

}

button.button8:hover {
    /* 透明度を20%に指定 */
    opacity: 0.8;
}

button.update {
    margin-left: auto;
}

/* button.cancel {
    
} */
button.clear {
    margin-left: 20px;
}

.datepicker{
    width: 200px;
}


/* グラフスタイル start*/
/*タブ切り替え全体のスタイル*/
.tabs {
    margin-left: auto;
    margin-right: 0;
    /* margin: 0 auto; */
    /* padding-bottom: 40px; */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 38%;

    /* chanadd */
    /* height: 400px; */

}

/*タブのスタイル*/
.tab_item {
    width: calc(100%/3);
    height: 50px;
    border-bottom: 3px solid #5ab4bd;
    background-color: #d9d9d9;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 0 0 0;
    clear: both;
    overflow: hidden;
}

/* chanadd */
.tab_content_description{
    width: 100%;
    height: 50vh;
}
.tab_content_description > div{
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
}

/*選択されているタブのコンテンツのみを表示*/
#input:checked ~ #input_content,
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
    background-color: #5ab4bd;
    color: #fff;
}

/* グラフスタイル end*/


/* ユーザー設定画面 */
#wpmem_profile_form > fieldset,
#wpmem_pwdchange_form > fieldset{
    margin: 10px 0;
}



/* 狭いブラウザとタブレット向け */
@media (max-width: 1020px) and (min-width: 768px) { }

/* スマホ向け */
@media (max-width: 767px) {

    .flatpickr_area {
        width: 50vw;
    }
    .button_area_1 {
        display: flex;
        width: auto;
        padding: 10px 5px 20px 5px;
    }

    .button_area_1 .button8{
        padding: 3vw;
        font-size: 0.9em;
    }
    .container_84 {
        flex-direction: column-reverse;
        width: auto;
        height: 50vh;
        padding-left: 10px;
    }

    .tablediv {
        width: 100%;
        height: inherit;
        /*padding-left: 1%;*/
    }

    .inputdiv{
        height:100%;
    }

    .tab_item {
        width: calc(100%/4);
    }

    .tabs {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        align-self:center
    }

    /* .tab_content_description{
        width: 100%;
        height: 60vh;
    } */

    /* .tab_content div{
        width: 100%;
        height: 100%;
    } */
    /* .amcharts-chart-div {
        width: inherit;
        height: inherit;
    } */

    /* .tab_content_description > div{
        width: 100%;
        height: 100%;
        background-color: #FFFFFF;
    } */


    td {
        /* padding: 10px 10px 20px 10px; */
        padding: 0;
    }

    .th1{
        width: 50%;
    }

    .th2 {
        width: 20%;
    }

    .th3 {
        width: 15%
            /* width: calc(100%/7); */
    }

    /* 
    .chart-container {
        position: relative;
        margin: auto;
        height: 100%;
        width: 100%;
    } */


}
