.back_body{
    background-size: cover;
    background-repeat: no-repeat;
    background-color: cornsilk;
}

@media screen and (min-width: 667px) {
    .back_body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: url('img/loginPC.JPG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: cornsilk;
        transform-origin: center center;
        z-index: -1; /* 背景に */
    }
}

.body.back {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.month_setting{
  display: flex;
  gap: 15px;       /* 項目間のスペース */
  list-style: none; /* ● を消す */
  padding: 0;
  margin: 0;
}

.main{
    width: 90vw;
    margin: 1.0em 25em;
    align-items: center;
    justify-content: center;
    padding: 2.0em 0.3em;
    backdrop-filter: blur(5px);
    border-radius: 5%
}
.inputT{
    width: 15%;
    height: 2em;              /* 高さを一定に */
    vertical-align: middle;   /* ←これでラベルと上下を揃える */
    box-sizing: border-box;
    border-radius: 5px;
}

.type_input{
    text-align: center;
    width: 15%;
    height: 2em;
    vertical-align: middle;
    box-sizing: border-box;
    border-radius: 5px;
}


/* 8/18---950pxから750pxへ */
@media screen and (max-width: 1025px) {
    .main{
        width: 90vw;
        margin: 1.0em;
        padding: 2.0em 0.3em;
        border-radius: 20%;
        backdrop-filter: 5px;
    }
    .inputT{
        width: 30%;
    }
    .type_input{
        width: 30%;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
        border-radius: 5px;
    }
}

.form-row {
  display: flex;
  justify-content: center;
  align-items: center; /* ラベルと入力欄の上下を中央揃えにする */
  margin-bottom: 10px;
}

.form-label {
  width: 100px; /* ラベルの幅を固定して整列 */
  font-weight: bold;
}

.title {
    width: fit-content;
    margin: 1rem auto 1rem;
}

.error {
    text-align: center;
}

.form {
    width: fit-content;
    margin: auto;
    font-size: 20px;
}


.form th {
    text-align: left;
    vertical-align:top;
}

.logBtn {
text-align: center;
margin-top: 1rem;
}

.day_set_input{
    font-size: 16px;
}

/*hamburger*/
/*OK*/
.c-header {
    position: sticky;
    /* height: 3.7em; */
    height: 5em;
    top: 0;
    background-color: #e8e8e8;
    z-index: 1000;
    /* border-bottom: 2px solid #e8e8e8; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.c-header__list {
  display: flex;
  justify-content: space-around;  /* 要素を均等配置 */
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.c-header__list-item {
  flex: 1;                        /* 各 li を均等幅に */
  text-align: center;             /* 中央寄せ */
}

/*特に使用なし*/
.c-header__list-link {
    color: #000;
    display: block;
    margin-right: 20px;
    text-decoration: none;
    padding: 10px 0px;
}
/*ホバーした時の挙動*/
.c-header__list-link:hover {
    filter: opacity(0.6);
}

.c-hamburger-menu__input {
    display: none;
}

.c-hamburger-menu__bg {
    background-color: #000;
    cursor: pointer;
    display: none;
    height: 100vh;
    left: 0;
    opacity: 0.03;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

#hamburger:checked~.c-hamburger-menu__bg {
    display: block;
}

.c-hamburger-menu__button {
    display: none;
}

/*スマホサイズ*/
@media screen and (max-width: 750px) {
    .c-hamburger-menu__button {
        align-items: center;
        appearance: none;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 32px;
        justify-content: center;
        width: 32px;
    }
}
/*ハンバーガーボタン*/
.c-hamburger-menu__button-mark {
    background-color: #000;
    display: block;
    height: 1px;
    transition: 0.3s;
    width: 20px;
}
/*ハンバーガーボタンの挙動*/
@media screen and (max-width: 750px) {
    #hamburger:checked~.c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(1) {
        transform: translate(2px, 1px) rotate(45deg);
        transform-origin: 0%;
    }
    #hamburger:checked~.c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(2) {
        opacity: 0;
    }
    #hamburger:checked~.c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(3) {
        transform: translate(2px, 3px) rotate(-45deg);
        transform-origin: 0%;
    }
}

/*トグルボタン*/
.input {
    border: 1px solid #0c0c0d4d;
    color: #ffffff;
    display: inline-block;
    margin: 0 4px;
}
.input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #0c0c0d1a;
    border-radius: 8px;
    height: 16px;
    width: 32px;
}
.input[type="checkbox"]:active {
    background-color: #0c0c0d4d;
}
.input[type="checkbox"]:checked {
    background-color: #4BD865;
    border-color: #4BD865;
}
.input[type="checkbox"]::before {
    background-color: currentColor;
    border-radius: 6px;
    content: "";
    display: inline-block;
    height: 12px;
    margin-left: 1px;
    margin-top: 1px;
    transition: margin-left .2s cubic-bezier(.07, .95, 0, 1);
    width: 12px;
}
.input[type="checkbox"]:checked::before {
    background-color: #ffffff;
    margin-left: 17px;
}
.input[type="checkbox"].text {
    position: relative;
}
.input[type="checkbox"].text::after {
    content: attr(data-text-off);
    font-size: 8px;
    position: absolute;
    right: 2px;
    top: 2px;
}
.input[type="checkbox"].text:checked::after {
    color: #ffffff;
    content: attr(data-text-on);
    left: 2px;
    right: auto;
}

/*カレンダー設定*/
.year-header{
    text-align: center;
    font-weight: bold;
    background-color: #fa8072;
    }
    .month-header{
    text-align: center;
    font-weight: bold;
    background-color: #87cefa;
    }
    .row {
        display:flex;
        margin:5px 2px 5px 2px;
        justify-content: center;
    }
    .cell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        text-align: center;
        width: 120px;
    }
    .dCell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        text-align: center;
        width: 30%;
    }
    .sCell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        text-align: center;
        width: 30%;
    }
    .aCell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        text-align: center;
        width: 40%;
    }
    .dSCell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 0.5px solid;
        border-radius: 4px;
        text-align: center;
        width: 30%;
    }
    .sSCell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 0.5px solid;
        border-radius: 4px;
        text-align: center;
        width: 30%;
    }
    .aSCell {
        margin: 1px 1px 1px 1px;
        padding: 5px;
        border: 0.5px solid;
        border-radius: 4px;
        text-align: center;
        width: 40%;
    }
    .header {
        font-weight: bold;
        background-color: #f8f8f8;
    }
    .today { 
        background-color: #adff2f; 
    }
    .saturday {
        color: blue;
    }    
    .holiday {
        color: red;
    }

    .radius-btn {
        text-decoration: none; /* aタグの下線を非表示に */
        color: #000; /* 文字色 */
        /*font-size: 1.2rem; /* フォントサイズ */
    }

    .radius-btn:hover { 
        transition: .3s; /* 変化時間 0.3秒 */
        background-color: #191970; /* 背景色 */
        color: #fff;
    }

    #myChart {
      max-width: 300px;
      max-height: 300px;
      margin: 30px auto;
    }

    .vacation_table{
        margin: auto;
    }

    .vacation_submit{
        margin: auto;
    }