
a{
  text-decoration: none;
}
p,li,dl,dd{
  font-size: 18px;
}
body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 0;
  line-height: 28px;
}
.main{
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  vertical-align: middle;
  object-fit: cover;
}
.flex-box{
  display: flex;
}
button {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
button img {
  display: block;
}
.sp-only{
  display: none !important;
}
.pc-only{
  display: block !important;
}
@media only screen and (max-width: 980px) {
  main{
    padding: 0 50px;
  }
}
@media only screen and (max-width: 767px) {
  p,li,dl,dd{
    font-size: 14px;
    line-height: 1.8em;
  }
  main{
    padding: 0 5vw;
  }
  .pc-only{
    display: none !important;
  }
  .sp-only{
    display: block !important;
  }
}

/* header */
.l-header{
  position: sticky;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  background-color: #FFF;
  z-index: 9999;
}
.l-header__inner{
  max-width: 1336px;
  height: 89px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.l-header__logo{
  width: 122px;
}
.l-header__btn-list{
  text-align: right;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  width: 280px;
  display: none;
}
.l-header__btn{
  background-color: #FAC211;
  width: 164px;
  border-radius: 28px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  height: 58px;
  padding-top: 16px;
  box-sizing: border-box;
}
.l-header__btn a{
  color: #FFF;
}
.btn-intern{
  font-size: 15px;
  padding-top: 8px;
  line-height: 21px;
}
.hero__entry-btn:hover{
  opacity: 0.7;
}
.l-header__hamburger{
  width: 66px;
  height: 58px;
  background-color: #FAC211;
  border-radius: 100px;
  position: relative;
  display: none;
}
.hamburger_border {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 1px;
  background-color:#FFF;
  transition: all .6s;
}
.hamburger_border_top {
  top: 22px;
}
.hamburger_border_center {
  top: 28px;
}
.hamburger_border_bottom {
  top: 34px;
}
.l-header__hamburger::after{
  content: 'menu';
  position: absolute;
  bottom: -25px;
  color: #FAC211;
  font-size: 16px;
  left: 50%;
  transform: translateX(-50%);
}
@media only screen and (max-width: 980px) {
  .l-header__inner{
    margin-left: 30px;
    width: 95%;
  }
  .l-header__btn-list{
    margin-right: 30px;
    width: 250px;
  }
}
@media only screen and (max-width: 767px) {
  .l-header__inner{
    margin: 0 5vw;
    height: 60px;
  }
  .l-header__btn-list{
    margin-right: 5vw;
    justify-content: flex-end;
    margin-top: -10px;
  }
  .l-header__logo{
    width: 90px;
  }
  .l-header__hamburger{
    width: 45px;
    height: 40px;
  }
  .hamburger_border_top {
    top: 15px;
  }
  .hamburger_border_center {
    top: 21px;
  }
  .hamburger_border_bottom {
    top: 27px;
  }
  .l-header__hamburger::after{
    font-size: 12px;
    bottom: -22px;
  }
}

/* hero */
.hero {
  max-width: 1264px;
  margin: 80px auto 0;
}
@media only screen and (max-width: 980px) {
  .hero {
    margin: 80px auto;
  }
}
@media only screen and (max-width: 767px) {
  .hero {
    margin: 30px auto;
  }
}

/* flow */
.flow {
  max-width: 944px;
  margin: 70px auto 0;
}
@media only screen and (max-width: 767px) {
  .flow {
    margin: 40px auto;
  }
}

/* contact */
.contact{
  max-width: 944px;
  margin: 75px auto 0;
  border-top: 1px solid #00833E;
  padding-top: 50px;
}
.contact__list{
  padding-left: 0 !important;
}
.contact li{
  display: flex;
  align-items: center;
  padding: 15px 0;
}
.contact__title{
  width: 190px;
  text-align: left;
  font-weight: 400;
  font-size: 20px;
  color: #00833E;
}
.contact__req{
  background-color: #00833E;
  border-radius: 16px;
  font-size: 18px;
  color: #FFF;
  margin-right: 40px;
  width: 80px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}
.contact__item{
  width: 575px;
}
.contact input{
  border: 1px solid #00833E;
  border-radius: 20px;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  box-sizing: border-box;
  background-color: #FFFBF3;
  padding: 10px 15px;
}
.contact__textarea{
  background-color: #FFF;
  padding: 12px 10px;
  border: 1px solid #00833E;
  border-radius: 20px;
  margin-left: 120px;
}
.contact textarea{
  background-color: #FFF;
  padding: 10px;
  border: none;
  width: 98%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7em;
}
.select-year-header{
  padding-right: 10px;
}
.select-year,.select-month,.select-date{
  padding: 0 25px 0 10px;
}
.contact__item-select{
  display: flex;
  align-items: center;
}
.item-select-flex{
  display: flex;
}
.contact select{
  border: 1px solid #00833E;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  box-sizing: border-box;
  background-color: #FFFBF3;
  padding: 8px 35px 8px 15px;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.select-item{
  position: relative;
}
.select-item::after{
  position: absolute;
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  top: 50%;
  right: 10px;
  margin-top: -3px;
  border-bottom: 2px solid #00833E;
  border-right: 2px solid #00833E;
  transform: rotate(45deg) translateY(-50%);
  transition: all .4s ease-in-out;
  transform-origin: 50% 0;
}
.contact__item-rdo{
  font-size: 16px;
}
.contact__item-rdo input{
  width: 50px;
  accent-color: #00833E;
}
.contact__item-rdo span{
  padding: 5px 0;
  display: inline-block;
  width: 38%;
}
.contact__item-check input{
  width: 50px;
}
/* 送信ボタン */
.contact__btn-wrap{
  display: block;
  position: relative;
  width: 293px !important;
  margin: 80px auto 0;
}
.contact__btn{
  display: block;
  color: #FFF;
  background-color: #00833E !important;
  text-align: center;
  height: 61px;
  font-size: 28px !important;
  font-weight: 800 !important;
  border-radius: 20px !important;
  box-sizing: border-box;
}
.contact__btn-wrap::after{
  /* 擬似要素で三角アイコンをつくる */
  content: '';
  display: inline-block;
  border-style: solid;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent #fff;
  display: inline-block;
  width: 0;
  height: 0;
  /* 矢印アイコンの位置を設定 */
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%); /* translateYのみ */
}
.contact__btn:hover{
  cursor: pointer;
  opacity: 0.7;
}
.contact__error{
  padding-left: 0 !important;
}
.contact__error li{
  color: red;
  font-size: 14px !important;
  padding: 0;
}

@media only screen and (max-width: 980px) {
  .contact li{
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .contact__title{
    width: auto;
    padding-right: 20px;
  }
  .contact__item{
    width: 100%;
  }
  .contact__item-rdo {
    width: 100%;
  }
  .contact__textarea{
    margin-left: 0;
  }
  .contact__btn-wrap{
    width: 340px !important;
    margin: 60px auto 0;
  }
}
@media only screen and (max-width: 767px) {
  .contact {
    margin: 35px auto 0;
    padding-top: 0px;
  }
  .contact li{
    padding: 5px 0;
  }
  .contact__title{
    font-size: 16px;
  }
  .contact__req{
    font-size: 14px;
    width: 60px;
    height: 30px;
    padding: 0;
  }
  .contact input{
    font-size: 14px;
  }
  .contact__item-rdo {
    padding-left: 0px;
  }
  .contact__item-rdo input {
    width:40px;
    transform:scale(1.0);
  }
  .contact__item-rdo span {
    text-indent: -1.8em;
    padding-left: 1.8em;
    width: 100%;
  }
  .contact select{
    font-size: 14px;
    padding: 6px 28px 6px 10px
  }
  .select-year-header{
    padding-right: 5px;
  }
  .select-year, .select-month, .select-date {
    padding: 0 10px 0 5px;
  }
  .select-date{
    padding-right: 0;
  }
  .select-item::after{
    width: 6px;
    height: 6px;
    right: 8px;
  }
  /* 送信ボタン */
  .contact__btn-wrap{
    width: 280px !important;
    margin: 40px auto 0;
  }
  .contact__btn{
    font-size: 20px !important;
    height: 55px;
  }
}

/* footer */
.footer {
  background-image: url(../../img/pharmacist/footer-bg_pc.png);
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 130px;
  background-position: right;
}
.footer__inner{
  padding-top: 54px;
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}
/* .footer__logo{
  position: absolute;
  max-width: 126px;
  left: 0;
  top: 40px;
} */
.footer__logo{
  max-width: 126px;
  margin:0 auto;
}
.footer__entry-text{
  font-weight: 700;
  font-size: 24px;
  color: #00833E;
}
.footer__entry-btn{
  background-color: #FAC211;
  width: 236px;
  text-align: center;
  padding: 24px 0;
  border-radius: 40px;
  margin: 20px auto 0;
}
.footer__entry-btn a{
  color: #FFF;
  font-size: 24px;
  font-weight: 600;
}
.footer__entry-btn:hover{
  opacity: 0.7;
}
.footer .flex-box{
  max-width: 400px;
  margin: 60px auto 0;
  justify-content: space-between;
}
.footer .flex-box a{
  color: #00833E;
  text-decoration: solid;
  font-family: "din-2014", sans-serif;
  font-weight:800;
  border-bottom: 1px solid;
}
.footer__inc{
  color: #00833E;
  font-weight: 700;
  font-size: 12px;
  padding: 40px 0 30px;
  margin-bottom: 0;
}
@media only screen and (max-width: 980px){
  .footer__logo{
    left: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .footer {
    margin-top: 60px;
  }
  .footer__inner{
    padding: 30px 8vw 60px;
  }
  .footer__logo{
    width: 200px;
    margin:0 auto;
    position: static;
  }
  .footer .flex-box{
    margin: 30px auto 0;
  }
  .footer .flex-box a{
    font-size: 14px;
  }
  .footer__nav-entry{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    width: 236px;
    z-index: 2;
    background-color: #FAC211;
    padding: 15px 0;
    text-align: center;
    border-radius: 40px;
  }
  .footer__nav-entry a{
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
  }
}