/* ALL */
html {
    height: 100%;
    font-family: Neucha, sans-serif;
  }

h1 {
    margin-top: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 1px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 16px 0;
    grid-gap: 22px;
}

h1::after,
h1::before {
    content: " ";
    display: block;
    border-bottom: 2px solid #ccc;
    background-color: #f8f8f8;
}

.container {
    margin: 5% auto 1% auto;
    box-sizing: border-box;
    border: 2px solid #ccc;
    background-color: #f8f8f8;
    padding: 15px 30px;
}

.flex{
    display: flex;
    justify-content: space-between;
}

.flex-2{
    flex: 2;
    padding: 0px 30px;
    box-sizing: border-box;
}

.flex-start{
    justify-content: flex-start;
}

.input{
    box-sizing: border-box;
    width: 150px;
    margin-left: 25px;
    margin-bottom: 10px;
}

.nitku{
    width: 200px;
    margin-bottom: 0px;
}

.masa-pajak{
    width: 80px;
    margin-bottom: 0px;
}

.tahun-pajak{
    width: 100px;
    margin-bottom: 0px;
}

.align-right{
    text-align: right;
}

.align-left{
    text-align: left;
}

.align-center{
    text-align: center;
}

.btn {
    background-color: #f8f8f8;
    width: 100px;
    height: 30px;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 1rem;
    line-height: 23px;
    outline: none;
    padding: 3px 10px;
    text-decoration: none;
    transition: all 235ms ease-in-out;
}

.btn:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
}

.btn:focus {
    box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 4px -6px;
}

.sidemenu-left{
    height: 100vh;
    background-color: #41403e;
    color: #fff;
    position: sticky;
    top: 0;
    transition: all .4s;
    /* width: 200px; */
}

.sidemenu-left .close{
    width: 5%;
}

.sidemenu-label{
    padding-top: 15px;
    margin-right: 10px;
}

.btn_sidemenu{
    height: 50px;
    width: 50px;
    border-radius: 25px;
    /* background-color: #ccc; */
    display: block;
    /* margin-left: auto;
    margin-right: auto; */
    margin-bottom: 10px;
}

.btn_sidemenu img {
    width: 25px;
    height: 25px;
    margin-left: 12.5px;
    margin-top: 10px;
    filter: invert(82%) sepia(95%) saturate(1961%) hue-rotate(202deg) brightness(156%) contrast(100%);
}

.hide{
    display: none;
}

.hamburger{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: relative;
    right: 0;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
}

/*ボタン内側*/
.hamburger span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #fff;
  	width: 45%;
  }

.hamburger span:nth-of-type(1) {
	top:15px;	
}

.hamburger span:nth-of-type(2) {
	top:23px;
}

.hamburger span:nth-of-type(3) {
	top:31px;
}

/*activeクラスが付与されると線が回転して×に*/

.hamburger.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.hamburger.active span:nth-of-type(2) {
	opacity: 0;/*真ん中の線は透過*/
}
.hamburger.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/* INDEX */
.login{
    width: 25%;
    margin: 5% auto 1% auto;
}

.sign-in{
    margin-left: 32.5%;
}

.error{
    margin-top: 15px;
    color: red;
    text-align: center;
}

/* HOME */
.space-evenly{
    justify-content: space-evenly;
}

.flex_coloumn{
    display: flex;
    flex-direction: column;
}

.btn_background{
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background-color: #ccc;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.btn_background img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-top: 10px;
}


/* CALC */
.checkbox{
    width: 20px;
    height: 20px;
    align-self: self-start;
    margin-bottom: 20px;
}

.calc{
    background-color: #f8f8f8;
    width: 100px;
    height: 30px;
    border-radius: 10px;
    padding: 5px 10px;
    box-sizing: border-box;
    margin-left: 46.5%;
}

.hasil{
    font-size: 14pt;
    line-height: 1.5;
}

/* IMPORT */
.import-left{
    width: 35vw;
    padding: 25px;
}

.import-right{
    width: 35vw;
    padding: 25px;
}

.import-right h2{
    font-size: 1.5rem;
}

.custom-file-input{
    margin-bottom: 15px;
}

.import-label{
    padding-top: 5px;
}

.import-list{
    line-height: 1.5rem;
    margin-left: 15px;
}

#secret{
    margin: 0px;
    position: absolute;
    right: 10vw;
    top: 190px;
    cursor: pointer;
}


/* PREVIEW DATA UPLOAD */
.sidemenu-right {
    position: fixed;
    right: 8%;
    top: 90%;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background-color: #41403e;
}

.sidemenu-right:last-child {
    right: 3%;
}

.btn_download img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    margin-top: 10px;
    filter: invert(82%) sepia(95%) saturate(1961%) hue-rotate(202deg) brightness(156%) contrast(100%);
}

.db_table {
    box-sizing: border-box;
    border-collapse: collapse;
    margin: 50px auto 100px auto;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 950px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    color: #41403e;
}

.db_tr {
    background-color: #f8f8f8;
    border-bottom: 1px solid #dddddd;
}

.db_tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.db_tr:last-of-type {
    border-bottom: 2px solid #ccc;
}

.db_th {
    padding: 20px 40px;
    background-color: #888;
    color: #fff;
}

.db_th:last-child {
    border: 0px;
}

.db_td {
    padding: 20px 30px;
}

.db_td:last-child {
    padding: auto 0px;
    border: 0px;
}

/* .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted #41403e;
  } */
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #41403e;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    margin-left: -60px;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #41403e transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }