body {
    font-size: 13px;
}
.font-custom {
    /* font-family: "Noto Sans JP"; */
}
.form-input {
    padding: .3rem .5rem;
    font-size: 14px;
}

tr.parent {
    cursor: pointer;
}
tr.parent:hover td {
    background-color: #eee;
}
tr.child {
    display: none;
}

#dtype1 table {
    border-left: 1px solid #333;
    border-top: 1px solid #333;
}
#dtype1 table td {
    padding: 1px 3px;
    text-align: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}
#dtype1 table td.text-left {
    text-align: left;
}
#dtype1 .thead table td {
    width: calc(100% / 12);
}

#dtype2 {
    max-width: 800px;
    min-height: 1000px;
}
#dtype2 .thead .top {
    display: flex;
    justify-content: space-between;
}
#dtype2 .thead .top .cl {
    padding-left: 30px;
}
#dtype2 .thead .top .cl .name {
    display: inline-block;
    width: 200px;
    text-align: center;
    border-bottom: 1px solid #000;
    font-size: 20px;
}
#dtype2 .thead .top .cl .prefix {
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    font-size: 18px;
}
#dtype2 .thead .top .cr {
    text-align: center;
}
#dtype2 .thead .top .cr .date {
    margin-bottom: 5px;
    border-bottom: 1px solid #000;
}
#dtype2 .thead .top .cr .number {
    line-height: 1.2;
    font-weight: bold;
}
#dtype2 .thead .center .row {
    display: flex;
    justify-content: space-between;
}
#dtype2 .thead .center .row .cl {
    flex: 30%;
}
#dtype2 .thead .center .row .cl .mess1 {
    font-size: 12px;
}
#dtype2 .thead .center .row .cl .mess2 {
    margin-top: 25px;
    font-weight: bold;
    font-size: 14px;
}
#dtype2 .thead .center .row .cc {
    flex: 38%;
}
#dtype2 .thead .center .row .cc .crt {
    display: flex;
    justify-content: space-between;
}
#dtype2 .thead .center .row .cc .crt .crtl {
    padding-bottom: 5px;
}
#dtype2 .thead .center .row .cc .crt .crtl span {
    display: inline-block;
    padding: 2px 30px;
    text-align: center;
    border-radius: 7px;
    border: 4px solid #000;
    font-weight: bold;
    font-size: 18px;
}
#dtype2 .thead .center .row .cc .crt .crtr {
    padding: 3px 5px;
    width: 100px;
    border: 2px solid #000;
    border-bottom: none;
}
#dtype2 .thead .center .row .cc .crb {
    padding: 6px 8px;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 14px;
}
#dtype2 .thead .center .row .cr {
    flex: 28%;
    text-align: right;
}
#dtype2 .thead .center .row .cr img {
    display: inline;
}
#dtype2 table {
    border-left: 1px solid #333;
    border-top: 1px solid #333;
}
#dtype2 table td {
    padding: 1px 3px;
    text-align: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    font-weight: normal;
    font-size: 14px;
}
#dtype2 table td.text-left {
    text-align: left;
}

#dtype3 {
    max-width: 800px;
    min-height: 1000px;
}
#dtype3 table {
    border-left: 1px solid #333;
    border-top: 1px solid #333;
}
#dtype3 table td {
    padding: 1px 3px;
    text-align: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    font-size: 12px;
}
#dtype3 table td.text-left {
    text-align: left;
}
#dtype3 table td:nth-child(2) {
    width: 110px;
}
#dtype3 table td:nth-child(1),
#dtype3 table td:nth-child(3),
#dtype3 table td:nth-child(5),
#dtype3 table td:nth-child(6),
#dtype3 table td:nth-child(7) {
    width: 50px;
}
#dtype3 table td:nth-child(8) {
    width: 110px;
}

tr.nyukin_end td,
tr.nyukin_end:hover td {
    background-color: #ffa;
}

.bg-blue-custom {
  background-color: #003488;
}
.border-blue-custom {
  border-color: #003488;
}


#dtype4 {
    max-width: 800px;
    min-height: 1000px;
}
#dtype4 .thead .top {
    display: flex;
    justify-content: space-between;
}
#dtype4 .thead .top .cl {
    flex: 0 0 60%;
    padding-left: 30px;
}
#dtype4 .thead .top .cl .school {
    font-size: 20px;
}
#dtype4 .thead .top .cl .kana {
    margin-top: 5px;
    line-height: 1;
}
#dtype4 .thead .top .cl .name {
    display: inline-block;
    width: 200px;
    border-bottom: 1px solid #000;
    font-size: 20px;
}
#dtype4 .thead .top .cl .prefix {
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    font-size: 18px;
}
#dtype4 .thead .top .cl .text {
    margin-top: 15px;
}
#dtype4 .thead .top .cl .price_box {
    display: flex;
    margin-top: 10px;
    width: 330px;
    border: 1px solid #000;
}
#dtype4 .thead .top .cl .price_box .txt {
    display: flex;
    flex: 0 0 100px;
    justify-content: center;
    align-items: center;
    height: 40px;
    background-color: #000;
    font-size: 18px;
    color: #fff;
}
#dtype4 .thead .top .cl .price_box .price {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-size: 18px;
}
#dtype4 .thead .top .cr {
    flex: 0 0 26%;
}
#dtype4 .thead .top .cr .number {
    text-align: right;
}
#dtype4 .thead .top .cr .date {
    text-align: right;
}
#dtype4 .thead .top .cr .logo {
    margin-top: 5px;
}
#dtype4 .thead .top .cr .logo img {
    width: 200px;
}
#dtype4 .thead .top .cr .address {
    margin-top: 10px;
    padding-left: 5px;
}
#dtype4 table {
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}
#dtype4 table th {
    background-color: #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    color: #fff;
}
#dtype4 table td {
    padding: 3px 5px;
    text-align: center;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    font-weight: normal;
    font-size: 14px;
}
#dtype4 table td.text-left {
    text-align: left;
}
#dtype4 table .small {
    width: 80px;
}
#dtype4 table .midium {
    width: 100px;
}
#dtype4 table td.text-right {
    text-align: right;
}
#dtype4 .bikou table td {
    height: 80px;
    vertical-align: top;
}