/*
Theme Name: Reamermedical
Theme URI: https://vietry.com.vn/
Author: Vietry
Author URI: https://vietry.com.vn/
Description: A theme by Vietry
Version: 1.0
License: Vietry
License https://vietry.com.vn/
Tags: Vietry
Text Domain: https://vietry.com.vn/
*/
.ctrl-01 {
  display: flex;
}
.under .wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.under .wp-pagenavi li a,
.under .wp-pagenavi li span {
  margin-top: 0px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #0db14b;
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.under .wp-pagenavi li span,
.under .wp-pagenavi li a:hover {
  background: #0db14b;
  color: #fff !important;
  text-decoration: none !important;
}
.under .wp-pagenavi li a:hover {
  background: #0db14b;
  color: #fff;
}
.search-form dl dt {
  font-weight: bold;
  margin-bottom: 5px;
}
.search-form dl dd {
  margin-bottom: 10px;
  border: 1px solid #e7eef6;
  border-radius: 10px;
  padding: 5px 10px;
  box-sizing: border-box;
}
.search-form dl dd ul {
  display: flex;
  flex-wrap: wrap;
  height: 70px;
  align-items: center;
}
.search-form dl dd ul li {
  margin-right: 15px;
}
.search-form dl:first-child {
  height: auto;
  width: 100%;
  box-sizing: border-box;
}
.search-form dl:first-child ul {
  height: auto;
}

.search-form dl dd ul li label {
  margin-left: 5px;
}
.search-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}
.search-form form > dl {
  width: 48%;
}
.search-form form input[type='submit'] {
  background: #ed1164;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s all;
}
.search-form form input[type='submit']:hover {
  background: #0db14b;
}
/*--- register form ---*/
div.wpmem_msg {
  margin: 10px auto;
  padding: 20px 5px;
  border: solid 1px #ff0000;
  background-color: #ffeeee;
  text-align: center;
  color: #ff0000;
  font-size: 12px;
}
#wpmem_login,
#wpmem_msg,
#wpmem_reg,
.wpmem_msg {
  margin: 0 auto;
}
#wpmem_reg legend {
  display: none;
}
#wpmem_reg fieldset {
  display: flex;
  flex-wrap: wrap;
}
#wpmem_reg fieldset > label,
#wpmem_reg fieldset > div {
  box-sizing: border-box;
}
#wpmem_reg fieldset > label {
  width: 30%;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  text-align: left;
  padding-left: 15px;
  background: #0db14b;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  overflow: hidden;
  cursor: default;
}
#wpmem_reg fieldset > label .req {
  background: url(./images/mfp_must.gif) no-repeat;
  text-indent: -9999999px;
  width: 30px;
  height: 16px;
  margin-right: 10px;
}
.req-text {
  display: none;
}
#wpmem_reg fieldset > div.button_div {
  width: 100%;
  box-sizing: border-box;
  border-right: none;
  text-align: center;
}
#wpmem_reg fieldset > div.button_div input,
#wpmem_login fieldset > div.button_div input {
  background: #0db14b;
  color: #fff;
  padding: 10px 40px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s all;
}
#wpmem_reg fieldset > div.button_div input:hover,
#wpmem_login fieldset > div.button_div input:hover {
  background: #ed1164;
}
#wpmem_reg fieldset > div {
  width: 70%;
  margin: 0 !important;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
#wpmem_reg fieldset > div input {
  margin: 20px;
  max-width: 575px;
  box-sizing: border-box;
}
#wpmem_reg fieldset > div input[type='submit'] {
  margin: 20px auto;
}
.under #wpmem_login,
.under #wpmem_msg,
.under #wpmem_reg,
.under .wpmem_msg {
  width: 100%;
  box-sizing: border-box;
}
#wpmem_login legend {
  display: none;
}
#wpmem_login input[type='password'],
#wpmem_login input[type='text'],
#wpmem_reg input[type='date'],
#wpmem_reg input[type='email'],
#wpmem_reg input[type='number'],
#wpmem_reg input[type='password'],
#wpmem_reg input[type='text'],
#wpmem_reg input[type='url'],
#wpmem_reg textarea {
  box-sizing: border-box;
}
#member .ctrl-01 > p {
  width: calc(100% / 2 - 10px);
}
#member .ctrl-01 > p a {
  width: 100%;
  box-sizing: border-box;
}
.mb40 {
  margin-bottom: 40px;
}
.google_strview iframe {
  width: 100%;
  box-sizing: border-box;
}
.drawing li {
  border: 1px solid #ccc;
}
.viewpdf {
  background: #0cb04b url(images/pdf.png) no-repeat left 15px center;
  background-size: 31px;
  display: block;
  width: 151px;
  padding: 5px;
  border-radius: 5px;
  text-decoration: none;
  padding-left: 50px;
  box-sizing: border-box;
  color: #fff;
  transition: 0.3s all;
}
.viewpdf:hover {
  background: #ed1164 url(images/pdf.png) no-repeat left 15px center;
  background-size: 31px;
  color: #fff;
}
.under .section .under_btn01 {
  margin: 0 auto 0;
}
.wp-member-profile ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.wp-member-profile ul li {
  width: 250px;
  box-sizing: border-box;
  margin: 10px;
}
.wp-member-profile ul li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s all;
  display: block;
  text-align: center;
  padding: 10px 10px;
  padding-left: 30px;
  font-weight: bold;
}
.wp-member-profile ul li:first-child a {
  background: #ed1164 url(images/ico-info.svg) no-repeat left 10px center;
  background-size: 30px;
}
.wp-member-profile ul li:nth-child(2) a {
  background: #ed1164 url(images/ico-pw.svg) no-repeat left 10px center;
  background-size: 30px;
}
.wp-member-profile ul li:last-child a {
  background: #ed1164 url(images/ico-logout.svg) no-repeat left 10px center;
  background-size: 30px;
}
.wp-member-profile ul li:first-child a:hover {
  background: #0cb04b url(images/ico-info.svg) no-repeat left 10px center;
  background-size: 30px;
}
.wp-member-profile ul li:nth-child(2) a:hover {
  background: #0cb04b url(images/ico-pw.svg) no-repeat left 10px center;
  background-size: 30px;
}
.wp-member-profile ul li:last-child a:hover {
  background: #0cb04b url(images/ico-logout.svg) no-repeat left 10px center;
  background-size: 30px;
}
#user-profile {
  position: fixed;
  right: 95px;
  bottom: 140px;
  width: 70px;
  height: 70px;
  background: #ed1164;
  z-index: 999999;
}
#user-profile a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  background: #ed1164 url(images/ico-profile.svg) no-repeat center center;
  background-size: 50px;
  box-sizing: border-box;
  position: relative;
  transition: 0.3s all;
}
#user-profile a:hover {
  background: #0cb04b url(images/ico-profile.svg) no-repeat center center;
  background-size: 50px;
}
#user-profile a:after {
  position: absolute;
  width: 100%;
  height: 20px;
  background: #0cb04b;
  color: #fff;
  content: 'プロフィール';
  font-size: 10px;
  bottom: -20px;
  left: 0;
  text-align: center;
  padding-top: 3px;
  box-sizing: border-box;
}
#footer #logout_link {
  display: none;
}
.trust {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}
.trust dl {
  width: calc(100% / 3 - 15px);
}
.trust dl dt img {
  border-radius: 22px;
}
.trust dl dd {
  text-align: center;
  font-weight: bold;
  padding-top: 10px;
  letter-spacing: 2px;
}
@media screen and (max-width: 720px) {
  .under #wpmem_reg label.checkbox,
  .under #wpmem_reg label.select,
  .under #wpmem_reg label.text,
  .under #wpmem_reg label.textarea,
  .under #wpmem_reg label.number {
    width: 30%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
  }
  .under #wpmem_login .div_text,
  .under #wpmem_reg .div_checkbox,
  .under #wpmem_reg .div_select,
  .under #wpmem_reg .div_text,
  .under #wpmem_reg .div_textarea,
  .under #wpmem_reg .div_number {
    width: 70%;
  }

  .search-form dl dd ul {
    height: auto;
  }
  .search-form dl dd ul li {
    margin-right: 8px;
  }
  .member_images li,
  .member_images li:nth-child(6n) {
    margin-right: 1.5vw;
  }
  .member_images li:nth-child(3n) {
    margin-right: 0;
  }
  .ctrl-01 {
    flex-wrap: wrap;
  }
  .ctrl-01 p {
    margin-bottom: 10px;
  }
  #member .ctrl-01 > p {
    width: 100%;
    box-sizing: border-box;
    max-width: 360px;
  }
  .under .section .under_btn01 {
    margin: 0 auto 10px;
  }
  /*--login--*/
  /*#wpmem_login .button_div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
#wpmem_login input[type="checkbox"] {
	order: 2;
	width: 20px;
	overflow: hidden;
	position: relative;
}
#wpmem_login .button_div label {
	order: 1;
}

#wpmem_login input[type="submit"] {   
    order: 3;
}*/

  .under #wpmem_login .button_div {
    position: relative;
    float: right;
    width: auto !important;
  }
  #wpmem_login input[type='checkbox'] {
    position: absolute;
    left: -25px;
    bottom: 2px;
  }

  #wpmem_login .button_div,
  #wpmem_login .link-text,
  #wpmem_reg .button_div {
    width: 100% !important;
    box-sizing: border-box;
    clear: both;
  }
}
@media screen and (max-width: 640px) {
  .under #wpmem_reg label.checkbox,
  .under #wpmem_reg label.select,
  .under #wpmem_reg label.text,
  .under #wpmem_reg label.textarea,
  .under #wpmem_reg label.number,
  #wpmem_reg fieldset > label {
    width: 100%;
    box-sizing: border-box;
  }
  .under .section #wpmem_login .div_text,
  .under .section #wpmem_reg .div_checkbox,
  .under .section #wpmem_reg .div_select,
  .under .section #wpmem_reg .div_text,
  .under .section #wpmem_reg .div_textarea,
  .under .section #wpmem_reg .div_number {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
  }
  .under .section #wpmem_register_form .div_text,
  .under .section #wpmem_register_form .div_checkbox,
  .under .section #wpmem_register_form .div_select,
  .under .section #wpmem_register_form .div_text,
  .under .section #wpmem_register_form .div_textarea,
  .under .section #wpmem_register_form .div_number {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
  }
  .under #wpmem_reg fieldset > div input {
    max-width: 84vw;
  }
  .viewpdf {
    margin: 0 auto;
  }
  #user-profile {
    right: 6px;
  }
  .trust {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .trust dl {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
  }
}
@media screen and (max-width: 380px) {
  .under .under_btn01 a {
    width: 270px !important;
  }
  #member .ctrl-01 > p {
    width: 100%;
    box-sizing: border-box;
  }
  .under #wpmem_login,
  .under #wpmem_reg {
    font-size: 14px;
  }
  .under #wpmem_reg fieldset > div.button_div input,
  .under #wpmem_login fieldset > div.button_div input {
    padding: 10px 15px;
    margin-left: 5px;
  }
}

.trust_list {
  display: block !important;
}

.trust_list > .row {
  display: flex;
  justify-content: center;
}

.trust_list > .row:not(:first-child) {
  margin-top: 15px;
}

.trust_list > .row > *:not(:first-child) {
  margin-left: 30px;
}

