* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

h3,
h4,
h5,
h6,
div,
span,
a,
ul,
li,
small,
input {
    text-decoration: none;
    color: inherit;
    font-size: inherit;
    font-weight: normal;
    list-style: none;
}

/*
FONT SIZE
*/
html {
    font-size: 62.5%;
}
h1 {
    font-size: 3rem;
}
h2{
    font-size: 2.4rem;
}
a{
    font-size: 2rem;
}
p{
    font-size: 1.6rem;
}
input{
    font-size: 1.4rem
}


.body_type1{
    height: 100vh;
    display: grid;
    grid-template-rows: 7.5vh 1fr;
}

header{
    display: grid;
    grid-template:
    "...... h1____ ...... b_slct toDrop back__ logout ......" 100%
    /2.5vw auto 2.5vw 1fr 12.5vw 12.5vw 12.5vw 2.5vw;
}

.main_index{
    display: grid;
    grid-template:
    "...... ...... ......" 2.5vh
    "...... h2_idx ......" 2rem
    "...... ...... ......" 2.5vh
    "...... ul_idx ......" 1fr
    "...... ...... ......" 2.5vh
    /2.5vw 1fr 2.5vw;

}


.main_single{
    display: grid;
    grid-template:
    "...... ...... ...... ...... ......" 2.5vh
    "...... hd_cha ...... hd_tab ......" 4vh
    "...... ct_slc ...... ca_tab ......" 4vh
    "...... ...... ...... ct_tab ......" 2.5vh
    "...... ct_cha ...... ct_tab ......" 4fr
    "...... ...... ...... ct_tab ......" 2.5vh
    "...... hd_mem ...... ct_tab ......" 4vh
    "...... ...... ...... ct_tab ......" 1vh
    "...... ct_mem ...... ct_tab ......" 1fr
    "...... ...... ...... ...... ......" 2.5vh
    /2.5vw min(46.25vw, 700px) 2.5vw 1fr 2.5vw;
}


.h2_idx{
    grid-area: h2_idx;
}
.ul_idx{
    grid-area: ul_idx;
}

.h1____{
    grid-area: h1____;
}
.b_slct{
    grid-area: b_slct;
    display: flex;
    align-items: center;
}
.toDrop{
    grid-area: toDrop;
}
.back__{
    grid-area: back__;
}
.logout{
    grid-area: logout;
}

.hd_cha{
    grid-area: hd_cha;
}
.ct_slc{
    grid-area: ct_slc;
}
.ct_cha{
    grid-area: ct_cha;
}
.hd_mem{
    grid-area: hd_mem;
}
.ct_mem{
    grid-area: ct_mem;
}
.hd_tab{
    grid-area: hd_tab;
}
.ca_tab{
    grid-area: ca_tab;
}
.ct_tab{
    grid-area: ct_tab;
    opacity: 0;
}

h2{
    color: #12284a;
}

/*
セレクトボックス共通設定
*/
select {
    font-size: 1.4rem;
    padding: 0 1rem;
    height: 4rem;
    width: 16rem;
    border: none;
    border-radius: 0.5rem;
    color: #333;
    background-color: #e0dfdf;
}


/*
紺ボタン共通
*/
.button {
    border: 0;
    background-color: #12284a;
    color: #FFFFFF;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}

.button:hover,.button:active,.button:focus {
    background-color: #061121;
}




/*
header設定
*/

header{
    background-color: #988459;
    color: #ffffff;
}

.h1_in_header{
    display: flex;
    align-items: center;
}

.button_in_header{
    display: flex;
    align-items: center;
    justify-content: center;
	color: #FFFFFF;
    transition: .3s;
}

.button_in_header:hover{
    background-color: rgba(255, 255, 255, 0.2);
}


.ct_slc{
    display: flex;
    column-gap: 1rem;
}
/*--------------------------------------------
TABLE(TOOLTIP)
--------------------------------------------*/
.noShow{
    display: none;
}
/*--------------------------------------------
メモ
--------------------------------------------*/
.hd_mem{
    display: flex;
    justify-content: space-between
}
.memo{
    /* flex: 1; */
    border-color: transparent;
    border-radius: 0.5rem;
    background-color: #e0dfdf;
    padding: 10px;
}
.memo:focus{
    border-color: #12284a;
    border-width: 2px;
}

.button_save{
    padding: 0 3rem 0;
	border-radius: 0.5rem;
    max-height: 4rem;
    /* height: 4rem; */
}

/*--------------------------------------------
login_form.php
--------------------------------------------*/
.login_form {
    max-width: 360px;
    margin: 100px auto auto;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    row-gap: 15px;
}

.input_login {
    padding: 15px;
    font-size: 14px;
    border: 0;
    background-color: #f2f2f2;
}
.button_login {
    padding: 15px;
    font-size: 14px;
}


/*--------------------------------------------
index.php
--------------------------------------------*/
/* ul */
.custemer_list{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 95%;
    row-gap: 0.5rem;
}
/* a */
.link_customer_page{
    padding: 0 2rem;
}
.link_customer_page:hover{
    transition: all 0.3 ease;
    font-weight: bold;
}
