:root {
  --bs-thead-heading-color: #ededed;
  --bs-btn-bg-color: linear-gradient(to top, rgb(229, 229, 229) 0%, rgb(255, 255, 255) 100%);
  --bs-btn-bg-color-submit: linear-gradient(to top, rgb(0, 0, 0) 0%, rgb(163, 163, 163) 100%);
}

body {
  background-color: #fff;
  font-family: 'Noto Sans JP', 'IBM Plex Sans JP', sans-serif;
  margin: 0;
}

a {
  color: #3473B5;
}

h1,
h2,
h3,
h4,
h5 {
  color: #3f4246;
}

h3 {
  font-size: 1rem;
}

P {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0
}

select,
input,
textarea {
  border-color: #dee2e6;
  border-radius: 5px;
}

input[type=radio] {
  width: 17px;
  height: 17px;
}

input[type=radio]:checked {
  accent-color: #333;
}

select {
  padding: 5px 10px;
}

.m-l-15 {
  margin-left: 15px
}

.ml-auto {
  margin-left: auto;
}

/*  buttons  */
.btn {
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #d0d9d9;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  background-image: var(--bs-btn-bg-color);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #686de0;
  --bs-btn-border-color: #d0d9d9;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #686de0;
  --bs-btn-disabled-border-color: #686de0;
}

.btn-circle {
  border-radius: 100%;
  width: 40px;
  height: 40px;
  padding: 10px
}

.btn-circle.btn-sm,
.btn-group-sm>.btn-circle.btn {
  width: 35px;
  height: 35px;
  padding: 8px 10px;
  font-size: 14px
}

.btn-circle.btn-lg,
.btn-group-lg>.btn-circle.btn {
  width: 50px;
  height: 50px;
  padding: 14px 15px;
  font-size: 18px;
  line-height: 23px
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 14px 15px;
  font-size: 24px
}

.btn-xs {
  padding: .25rem .5rem;
  font-size: 10px
}

.btn-rounded {
  border-radius: 60px;
  padding: 7px 18px
}

.btn-group-lg>.btn-rounded.btn,
.btn-rounded.btn-lg {
  padding: .75rem 1.5rem
}

.btn-group-sm>.btn-rounded.btn,
.btn-rounded.btn-sm {
  padding: .25rem .5rem;
  font-size: 12px
}

.btn-rounded.btn-xs {
  padding: .25rem .5rem;
  font-size: 10px
}

.btn-rounded.btn-md {
  padding: 12px 35px;
  font-size: 16px
}

.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-primary,
.btn-warning {
  color: #fff
}

.btn-outline-primary:hover:hover,
.btn-outline-warning:hover:hover,
.btn-primary:hover,
.btn-warning:hover {
  color: #fff
}

.btn-primary:hover,
.btn-add:hover {
  color: #000;
  border-color: #000;
}

.label {
  margin: 0;
}

.btn-secondary {
  color: #000;
  background-color: #f8f9fa;
}

.btn-add,
.btn-import {
  color: #424242;
  padding: 5px 15px 5px;
}

.btn.btn-secondary svg {
  fill: #6d7e7a;
}

.btn-success {
  color: #000;
  background-color: #00c292;
  border-color: #00c292
}

.btn-success:hover {
  color: #000;
  background-color: #26cba2;
  border-color: #1ac89d
}


.btn-outline-secondary {
  color: #212529;
  background: #fff;
  border-color: #dee2e6
}

.btn-outline-secondary:hover {
  border-color: #ced4da
}

.button-group .btn {
  margin-bottom: 5px;
  margin-right: 5px
}

.no-button-group .btn {
  margin-bottom: 5px;
  margin-right: 0
}

.btn .text-active {
  display: none
}

.btn.active .text-active {
  display: inline-block
}

.btn.active .text {
  display: none
}

.btn-danger,
.btn-info,
.btn-outline-danger:hover,
.btn-outline-info:hover,
.btn-outline-success:hover,
.btn-success {
  color: #fff
}

.btn svg {
  margin-right: 5px;
}


.admin .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-right: 0;
  margin-left: 0;
}

.admin .row .col-12 {
  margin-bottom: 30px;
}

header {
  background-color: #fff;
  max-width: 100vw;
}

header.row {
  margin: 0;
  display: flex;
  align-items: center;
}

.header_logo {
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.header_logo a {
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-self: center;
  justify-content: flex-start;
  flex-flow: row;
  text-decoration: none;
}

.header_logo a img {
  max-width: 50px;
}

.row>main {
  padding: 0;
}

.container {
  max-width: 100vw;
  min-height: calc(100vh - 126px);
  margin: 0;
  padding: 0;
}

.btn:hover {
  opacity: .8;
}

.btn svg {
  fill: #424242;
}

.btn.nav-link svg {
  fill: #8d97ad;
}

.btn.nav-link.active svg {
  fill: #fb9679;
}

.btn.btn_delete svg {
  fill: #a9aaad;
  height: 20px;
  width: 20px;
}

.btn_cancel {
  color: #000;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn_save {
  min-width: 320px;
}

.btn_group .btn {
  margin: 0 auto;
  max-width: 320px;
}

.btn_group .btn_save {
  margin-bottom: 1rem;
}

.form-group .btn_delete {
  padding: 1rem 0;
  color: #212529;
  font-weight: 400;
}

.btn_detail {
  font-size: 14px;
  border-radius: 50rem;
  background-color: #00c292;
  color: #fff;
  padding: 3px 15px;
}

.div_button {
  margin-bottom: 30px;
}



.btn_edit,
.btn_delete {
  background-color: #fff;
  border: 1px solid #BABABA;
  color: #4E4E4E;
}


#return_top {
  position: fixed;
  right: 5px;
  bottom: 15px;
}

#return_top .btn-primary {
  background-color: #fcfeff;
  border-color: #95afc0;
  color: #95afc0;
}

.copyright {
  font-size: 11px;
  padding: 30px 0;
}


/* After loading   */
.after_load_msg {
  padding: 20px 0;
  text-align: center;
  font-weight: 500;
}
.after_load_msg p{
    font-weight: 600;
}
.lst_drug {
  padding: 0 15px 40px;
}

.lst_drug table {
  width: 100%;
}

.lst_drug td {
  padding: 5px 10px;
  border: 1px solid #E5EBEC;
}

.lst_drug td.drug_name {
  width: calc(100% - 76px);
  border-right: none;
}

.lst_drug td.btn_dlt {
  width: 76px;
  border-left: none;
}

.div_btns {
  padding: 0 15px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.div_btns .btn_submit {
  margin-left: auto;
  background: linear-gradient(#f2beac 0%, #df6236 100%);
  border: 1px solid #edf2f2;
  width: 136px;
  height: 56px;
  font-size: 18px;
  font-weight: 700;
}

.btn_more {
  width: 148px;
  height: 56px;
}

.btn_more svg {
  width: 30px;
  height: 30px;
}

.div_memo_front {
  background-color: #FFF2EF;
  border: 1px solid #DFC8C3;
  color: #2B2928;
  padding: 15px;
  margin: 0 15px;
  font-size: 14px;
}

input.btn_more[type=file] {
  border: 1px solid #cfcfcf;
  font-size: 0;
  position: relative;
}

.btn_more::file-selector-button {
  border: 0;
  font-size: 0;
  opacity: 0;
}

input.btn_more::before {
  content: '';
  background: url(../images/icon_camera.svg) no-repeat 0 0 / contain;
  width: 24px;
  height: 20px;
  display: inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
}

input.btn_more::after {
  content: 'もう1枚';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 13px;
  left: 0;
  margin: auto;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding-left: 25px;
}


/* Photo */
.photo .container{
  min-height: calc(100vh - 126px);
}
.loading_camera{
  padding: 20px;
  margin: 50px auto;
    width: 90vw;
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: #dedede;
    border-radius: 8px;
}
input.btn_launch[type=file] {
  font-size: 0;
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}
.loading_camera label{
  font-size: 16px;
}
.loading_camera svg{
  fill:#858585;
  width: 50px;
  height: 50px;
}
.btn_launch::file-selector-button {
  border: 0;
  font-size: 0;
  opacity: 0;
}
.loading_camera input.btn_launch::before {
  content: '';
  background: url(../images/icon_camera.svg) no-repeat 0 0 / contain;
  width: 24px;
  height: 20px;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
}

.loading_camera input.btn_launch::after {

}
.btn_launch {
  width: 148px;
  height: 56px;
}

.btn_launch svg {
  width: 30px;
  height: 30px;
}


/* Area/Pref   */
.after_load_msg h1 {
  border-bottom: 3px solid #b4d189;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  width: auto;
  margin: 0 auto 10px;
  display: inline-flex;
  align-items: center;
}

.area_list {
  padding: 0 15px;
  margin-bottom: 50px;
}

.div_area {
  margin-bottom: 30px;
}

.div_area h2 {
  border: 2px solid #A9CA78;
  color: #4B602B;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
}
.div_area h2:hover,
.div_area h2:active{
  background-color: rgb(169 202 120 / 50%);
}

.div_area.opened {
  border-left: 2px solid #A9CA78;
  border-right: 2px solid #A9CA78;
  border-bottom: 2px solid #A9CA78;
  border-radius: 25px;
}

.div_area.opened h2 {
  background-color: #A9CA78;
  color: #fff;
}

.div_area h2 svg {
  margin-left: auto;
  fill: #A9CA78;
  transform: rotate(0);
  animation: rotate-anime2 .3s linear;
}

.div_area.opened h2 svg {
  fill: #fff;
  transform: rotate(-180deg);
  animation: rotate-anime .3s linear;
}

@keyframes rotate-anime {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
  }
}

@keyframes rotate-anime2 {
  0% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.div_area ul {
  overflow: hidden;
  height: 0;
  display: none;
  flex-flow: wrap;
  padding: 15px;
  transition: height .35s ease;
}

.div_area.opened ul {
  display: flex;
}

.div_area ul li {
  width: 33.3333%;
  margin-bottom: 15px;
}

.div_area ul li a {
  color: #333;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

/* City  */
.pref_list {}

.pref_list h2 {
  background-color: #A9CA78;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 15px;
  border-radius: 0 50px 50px 0;
}

.pref_list ul {
  padding: 0;
  border-top: 1px solid #E9EEEF;
  margin-bottom: 40px;
}

.li_city a {
  text-decoration: none;
  color: #333;
  display: inline-flex;
  justify-content: flex-start;
  width: 100%;
  padding: 10px 15px;
  border-bottom: 1px solid #E9EEEF;
  position: relative;
}

.li_city a::after {
  content: '';
  width: 15px;
  height: 15px;
  background: url(../images/icon_arrow.svg) no-repeat 0 0 / contain;
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto
}
.li_city a:hover,
.li_city a:active{
  background-color:rgb(169 202 120 / 50%);
}
.li_city a:hover::after,
.li_city a:active::after{
  right: 15px;
}

.search_city .btn_back {
  margin-left: 15px;
}

.div_map {
  width: 100vw;
  height: calc(100vh - 184.5px);
}

.div_map iframe {
  width: 100%;
  height: 100%;
}


/* Modal */
.modal.show .modal-dialog {
  margin-top: 30px;
  margin-left: 5vw;
  max-width: 90vw;
}

.modal-content {
  background-color: rgba(255, 255, 255, .9);
}

.modal-header {
  padding: 15px 0;
}

.modal-title {
  background-color: #a9ca78;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  padding: 15px 0;
  text-align: center;
  width: 100%;
}

.modal-header .btn-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #fff;
  opacity: 1;
  border-radius: 50%;
  width: 42px;
  height: 42px;
}

.modal-body {
  padding: 0;
}
.modal-body dl{
  padding-bottom: 30px;
}
.modal-body dt {
  padding: 5px 15px;
  background-color: #dadada;
}

.modal-body dd {
  padding: 10px 15px;
}
.under_map{
  text-align: center;
  padding: 10px 15px;
}