/*共通*/
body {
    text-align: center;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    margin: 0 auto;
    color: #3d3838;
    background-color: #fff2f2;
}

header{
    background-color: #fff;
}

.maincontent{
    width: 70%;
    margin: 0 auto;
}

h1{
    padding: 20px 0 10px 0;
}

h2 { /*見出し*/
    position: relative;
    display: inline-block;
    margin: 1rem 0;
}

h2:before {
content: '';
position: absolute;
bottom: -15px;
display: inline-block;
width: 60px;
height: 5px;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
background-color: #3d3838;
border-radius: 2px;
}


.button{
    font-size: 120%;
    border: none;
    width: 300px;
    height: 50px;
    color: #fff;
    background-color: #e65050;
    border-radius: 100vh;
    display:block;
    margin:30px auto;
}
form > .button{
    margin:0px auto;
}

table,
th,
td {
    border-collapse: collapse;
    border: 1px solid #e65050;
    padding: 15px;
}

th {
    color: #fff;
    background: #e65050;
}

table{
    background-color: #ffffff;
}

table.record tr:nth-child(2n+1) td {
    background-color: #fafafa;
}

nav {
    padding-bottom: 10px;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    list-style: none;
    display: inline-block;
    width: 10%;
    min-width: 90px;
}

nav li:not(:last-child) {
    border-right: 2px solid #ddd;
}

nav a {
    text-decoration: none;
    color: #3d3838;
}

nav a.current {
    color: #e65050;
    border-bottom: 2px solid #e65050;
}

nav a:hover {
    color: #F7CB4D;
    border-bottom: 2px solid #F7CB4D;
}

.register,.record,.analysis,.setting{
    margin: 20px 0;
}

/*登録*/
label {
    display: block;
}

textarea{
    width: 100%;
    height:90px;
    border: 1px solid #3d3838;
    border-radius: 5px;
    background-color: #fff;
    color: #3d3838;
    font-size: 20px;
    resize:vertical;
}

.input_range{
    margin: 10px 15px;
}

.input_range{
    width: 100%;
}

input[type="range"] {
    -webkit-appearance: none; 
    appearance: none;
    cursor: pointer;
    outline: none;
    height: 14px;
    width: 100%;
    background: #fff;
    accent-color: #e65050;
    border-radius: 10px;
    border: solid 1px #3d3838;
}
/* WebKit向け つまみ */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; 
    width: 24px;
    height: 24px;
    background: #e65050;
    clip-path: path("M12 4.248c-3.148-5.402-12-3.825-12 2.944 0 4.661 5.571 9.427 12 15.808 6.43-6.381 12-11.147 12-15.808 0-6.792-8.875-8.306-12-2.944z");
    transform: scale(1.5);
}

/* Moz向け つまみ */
input[type="range"]::-moz-range-thumb {
    background: #e65050;
    width: 24px;
    height: 24px;
    clip-path: path("M12 4.248c-3.148-5.402-12-3.825-12 2.944 0 4.661 5.571 9.427 12 15.808 6.43-6.381 12-11.147 12-15.808 0-6.792-8.875-8.306-12-2.944z");
    border: none;
}

/* WebKit向け 記録スライダー*/
.input_small input[type="range"] {
    background: #bdbdbd;
}
/* WebKit向け 記録つまみ*/
.input_small input[type="range"]::-webkit-slider-thumb {
    position: relative;
    top:-2px;
    background: #3d3838;
    transform: scale(0.9);
} 
.register{
    accent-color: #e65050;
}

.register_content{
    width: 70%;
    margin: auto;
    font-weight: bold;
    text-align: left;
}

.register_r{
    width: 90%;
    white-space: nowrap;
}

.today_date{
    font-size:  250%;
    background-color: transparent;
    border: transparent;
    margin:  0 auto;
    text-align: center;
    width: 100%;
}

.selectbox{
    width: 100%;
    height: 35px;
    border: 1px solid #3d3838;
    border-radius: 5px;
    background-color: #fff;
    color: #3d3838;
    font-size: 20px;
}

/*記録*/
.page_i{
    margin: 0;
    padding: 10px 15px;
    font-size: 80%;
    color: #fff;
    background: #3d3838;
    position: relative;
    top: 8px;
    text-decoration:none;
    border: 1px solid #3d3838;
    border-radius: 4px;
}

.page_i:hover{
    color: #3d3838;
    background: #fff;
    border: 1px solid #3d3838;
}

.table-r{
    margin: 20px 0 40px 0;
    table-layout:auto;
}

/*分析*/
.analysis-r{
    text-align: right;
}

.table-f{
    font-weight: bold;
    table-layout:fixed;
}