/* リセット関連 */
ul {
    list-style:none;
    padding-inline-start: 0;
}

button{
background-color: transparent;
border: none;
cursor: pointer;
outline: none;
padding: 0;
appearance: none;
}

html {
overflow-y: scroll;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin: 0;
padding: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style: normal;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption,th {
text-align: left;
}
q:before,q:after {
content: '';
}
object,embed {
vertical-align: top;
}
hr,legend {
display: none;
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%;
}
img,abbr,acronym,fieldset {
border: 0;
}
li {
list-style-type: none;
}
sup {
vertical-align: super;
font-size: 0.5em;
}
img {
vertical-align: top;
}
i {
font-style: normal;
}
a {
text-decoration:none;
color: black;
}
  
/* リセット関連 ここまで*/

.dn {
    display: none;
}

.num {
    text-align: right !important;
}

input {
    width: 90%;
    padding: 0.25rem;
    border-radius: 5px;
    border: #CCC 1px solid;
}

select {
    padding: 0.25rem;
    border-radius: 5px;
    border: #CCC 1px solid;
}

textarea {
    min-width: 98%;
    max-height: 16px;
    padding: 0.25rem;
    border-radius: 5px;
    border: #CCC 1px solid;
}
  
.container {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1800px){
    .container {
        width: 1920px;
    }  
}

.header {
    width: 100%;
    height: 50px;
    background-color:#222222 ;
    display: flex;
    justify-content: space-between;
    color: #fff;
    align-items: center;
}

.header_l {
    display: flex;
}

.logo {
    margin-left: 1.5rem;
}

.place {
    margin-left: 2.5rem;
    padding-top: 3px;
}

.funeral_place {
    background-color: #fff;
    border-radius: 50px;
    color: #000;
    padding: 5px 10px;
}

nav ul {
    margin-left: 2rem;
    display: flex;
    padding-top: 3px;
}

nav ul li {
    margin-left: 2rem;
    display: flex;
}

nav a {
    color: #fff;
}

main {
    width: 90%;
    height: 95vh;
    margin: 0 auto;
}

.search_area {
    width: 100%;
    height: 70px;
    background-color:#EEEEEE ;
    display: flex;
    border-radius: 0 0 5px 5px;
}

.summary_area {
    width: 100px;
}

.summary_area p {
    margin-top: 0.5rem;
    font-weight: 900;
}

.summary_table {
    border-collapse: separate;
    border-spacing: 15px;
}

.summary_table th {
    width: 160px;
    border-radius: 5px;
    background-color: #fff;
    text-align: center;
    font-size: 14px;
}

.summary_table tr {
    height: 2rem;
}

.summary_table td {
    font-weight: 900;
    text-align: right;
    margin-left: 0.5rem;
    font-size: 14px;
}

.summary_table .amount {
    width: 120px;
}

.searchbox {
    margin: 1rem 0 0 1rem;
}

.searchbox input {
    width: 100px;
    padding: 0.5rem;
    border-radius: 5px;
    border: #CCC 1px solid;
    margin-left: 1rem;
}

.searchbox select {
    padding: 0.5rem;
    border-radius: 5px;
    border: #CCC 1px solid;
}



.search_btn {
    background-color: #555;
    border-radius: 5px;
    color: #fff;
    padding: 0.4rem 1.5rem;
    margin-left: 1rem;
}

.search_btn:hover {
    opacity: 0.7;
    transition: .3s;
}

.btn_area {
    margin-top: 0.5rem;
}

.section_area {
    width: 1712px;
    margin: 0 auto;
    display: flex;
    margin-top: 0.25rem;
}

.color_define {
    margin-top: 1rem;
}

.color_define ul, .color_define li {
    display: flex;
    line-height: 30px;
    margin-left: 1rem;
}

.color_box {
    width: 50px;
    height: 30px;
    display: inline-block;
}

.section_table {
    width: 100%;
    margin-top: 1rem;
    border-radius: 5px;
}

.section_table td {
    border: 2px solid #666;
    text-align: center;
    width: 112px;
    height: 80px;
    font-size: 14px;
}

.list_table {
    margin-top: 0.25rem;
}

.list_table th {
    background-color: #438380;
    text-align: center;
    padding: 0.5rem;
    border-right: #a7bd97 1px dotted;
    color: #fff;
}

.list_table th:last-of-type {
    border-right: none;
}

.list_table th:first-of-type {
    border-radius: 5px 0 0 0;
}

.list_table th:last-of-type {
    border-radius: 0 5px 0 0;
}

.list_table td, .reception_table td {
    padding: 0.25rem 0.5rem;
    height: 100%;
}

/* １行ずつ色変更　不要なら削除 even:奇数行　odd:偶数行 */
.list_table tr:nth-child(even) { 
    background-color: #ffffff; 
} 
.list_table tr:nth-child(odd) {
    background-color: #ddd; 
}

.reception_table tr:nth-child(odd) {
    background-color: #ffffff; 
}

.detail_btn {
    background-color: #1c2e53;
    border-radius: 5px;
    color: #fff;
    padding: 0.25rem 0.5rem;
}

.detail_btn:hover {
    opacity: 0.7;
    transition: .3s;
}

.circle_red {
    background-color: #ec4646;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 25px;
    margin-left: 5px;
    display: inline-block;
}

.circle_red_chart {
    background-color: #ec4646;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 16px;
    margin-left: 5px;
    display: inline-block;
}

.circle_yellow {
    background-color: #cfba1f;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 25px;
    margin-left: 5px;
    display: inline-block;
}

.circle_yellow_chart {
    background-color: #cfba1f;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    margin-left: 5px;
    display: inline-block;
}

.circle_blue {
    background-color: #4249dc;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 25px;
    margin-left: 5px;
    display: inline-block;
}

.circle_blue_chart {
    background-color: #4249dc;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    margin-left: 5px;
    display: inline-block;
}

.circle_pet {
    background-color: #db9233;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    margin-left: 5px;
    display: inline-block;
}

.customer_area {
    width: 850px;
}

.detail_ttl {
    width: 90%;
    border-bottom: #EEE 1px solid;
    font-size: 16px;
    padding: 0.5rem;
}

.customer_area table {
    width: 95%;
    margin: 0.5rem 0;
    border-collapse: separate;
    border-spacing: 0 5px;
}

.customer_area th, .memorial_area th {
    width: 80px;
    font-size: 14px;
    background-color: #EEE;
    border-radius: 5px;
    text-align: center;
}

.customer_area td, .memorial_area td {
    width: 160px;
    height: 20px;
    padding: 5px 5px 5px 1rem;
    font-size: 16px;
}

.burial_area {
    width: 850px;
}

.burial_area input {
    padding: 0.25rem;
    border: none;
    border-bottom: #CCC 1px solid;
    border-radius: 0;
}

.burial_area textarea {
    width: 99%;
    max-height: 22px;
    line-height: 22px;
    padding: 0;
    border: none;
    border-bottom: #CCC 1px solid;
    border-radius: 0;
    margin-top: 5px;
    margin-bottom: 0;
    resize: none;
}

.burial_area table {
    margin-top: 0.5rem;
}

.burial_area table thead tr th {
    text-align: center;
    border: #ccc 1px solid;
    background-color: #eee;
    font-size: 16px;
}

.burial_area table tbody tr th {
    width: 120px;
    border: #ccc 1px solid;
    text-align: center;
    font-size: 14px;
}

.burial_area table tbody tr td {
    width: 140px;
    border: #ccc 1px solid;
    font-size: 14px;
}

.memorial_area {
    width: 1600px;
    margin: 0 auto;
}

.memorial_area table {
    width: 100%;
    margin: 10px 0;
    border-collapse: separate;
    border-spacing: 0 5px;
}

.memorial_content {
    width: 100%;
    background-color: #444444;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    margin-top: 10px;
}

.info_area {
    width: 1600px;
    height: 100px;
    background-color:#EEEEEE ;
    display: flex;
    border-radius: 0 0 5px 5px;
    margin: 0 auto;
}

.info_area h2 {
    display: inline-block;
    text-align: center;
    margin: auto 20px;
}

.info_area table  {
    margin: 10px 0;
}

.info_area table th {
    width: 100px;
    border: 1px solid #888;
    text-align: center;
}

.info_area table td {
    width: 100px;
    border: 1px solid #888;
    padding: 0 10px 0 10px;
    background-color: #fff;
    font-size: 14px;
}

/* modal */

/* モーダルを開くボタン */
.modal-open {
    color: #fff;
    background: #444444;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

  /* モーダルと背景の指定 */
.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,50%);
    padding: 40px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
}
  
  /* モーダルの擬似要素の指定 */
.modal:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    margin-left: -0.2em;
}
  
/* クラスが追加された時の指定 */
.modal.is-active{
    opacity: 1;
    visibility: visible;
}
  
/* モーダル内側の指定 */
.modal-container{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 900px;
    max-height: 900px;
    width: 90%;
}
  
/* モーダルを閉じるボタンの指定 */
.modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
}
  
/* モーダルのコンテンツ部分の指定 */
.modal-content{
    background: #eee;
    text-align: left;
    line-height: 1.8;
    padding: 20px;
}
  
/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content a:hover {
    opacity: 0.7;
}

.reception_area {
    width: 1712px;
    margin-top: 1rem;
}

.mandatory::after {
    content: "*";
    color: red;
}

.chart_table td {
    overflow: hidden;
}

.chart_table td:hover {
    filter: brightness(1.10); /* 明るくする */
}

.chart_table td a {
    margin: -40px;
    padding: 40px 40px;
}

/* sidemenu */

.hamburger {
    cursor: pointer;
}

.side_menu {
    background: rgb(63, 63, 63);
    position: absolute;
    z-index: 1;
    top: 3.125rem;
    right: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    text-align: center;
    width: 0;
    height: 50px;
    line-height: 50px;
    transition: .5s;
}

.side_menu a {
    color:#FFF   
}

.side_menu.open_menu {
    width: 15%;
}

/* ログインForm Layout */
.form-wrapper {
    background: #fafafa;
    margin: 1.5rem auto;
    padding: 0 1em;
    max-width: 370px;
  }
  
  .form-wrapper h1 {
    text-align: center;
    padding: 1em 0;
  }
  
  .form-wrapper form {
    padding: 0 1.5em;
  }
  
  .form-item {
    margin-bottom: 0.75em;
    width: 100%;
  }
  
  .form-item input {
    background: #fafafa;
    border: none;
    border-bottom: 2px solid #e9e9e9;
    color: #666;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    height: 50px;
    transition: border-color 0.3s;
    width: 100%;
  }
  
  .form-item input:focus {
    border-bottom: 2px solid #c0c0c0;
    outline: none;
  }
  
  .button-panel {
    margin: 2em 0 0;
    width: 100%;
    padding: 0 0 2em 0;
  }
  
  .button-panel .button {
    background: #3e4a88;
    border: none;
    color: #fff;
    cursor: pointer;
    height: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.3s ease-in-out;
    width: 100%;
  }
  
  .button:hover {
    background: #01188B;
  }
  
  .form-footer {
    font-size: 1em;
    padding: 2em 0;
    text-align: center;
  }
  
  .form-footer a {
    color: #8c8c8c;
    text-decoration: none;
    transition: border-color 0.3s;
  }
  
  .form-footer a:hover {
    border-bottom: 1px dotted #8c8c8c;
  }

  .input_bg_change {
    background-color: #ffff00;
  }

  .cat {
    font-size: 10px;
    font-weight: bold;
    position:absolute;
    right: 5px;
    top: 2px;
  }

  /* .notation {
    font-size: 10px;
    font-weight: bold;
    position:absolute;
    left: 5px;
    top: 5px;
    background-color:#db9233 ;
    border-radius: 5px;
    color: #FFFFFF;
    padding: 0.125rem;
  } */