@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+JP:500,700&display=swap&subset=japanese);

/* =============================================
 全体設定
============================================= */

html {
  background-color: #ccc
}

html * {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  max-width: 600px
}

body {
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  background-color: #FBFFEA;
  color: #2B2B2B;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
}

html, body {
  min-height: 100vh;
}

.hbspt-form {
  display: none;
}

h1 {
  height: 47px;
  margin: 0;
  font-weight: normal;
}

.header_text {
  text-align: left;
  font-size: 12px;
  display: inline-block;
  vertical-align: top;
}

/* ボタンの装飾リセット */
button {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none
}

html {
  line-height: 1
}

ol, ul {
  list-style: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

caption, td, th {
  text-align: left;
  font-weight: inherit;
  vertical-align: middle
}

blockquote, q {
  quotes: none
}

blockquote:after, blockquote:before, q:after, q:before {
  content: "";
  content: none
}

a img {
  border: none
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block
}

a {
  color: inherit;
  text-decoration: inherit
}

*, ::after, ::before {
  box-sizing: border-box
}

.btn {
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 0
}

.btn img {
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in
}

.btn::after {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-transition: all .3s ease-in;
  transition: all .3s ease-in;
  opacity: 0
}

.inputRadio {
  display: inline-block;
  position: relative
}

.inputRadio input {
  display: none
}

.inputRadio1,.inputRadio2,.inputRadio3,.inputRadio4 {
  width: 100%
}
/* =============================================
 トップページ
============================================= */

#sec2, #sec3, #sec4, #sec5, #sec6, #sec7 {
  display: none
}

#sec1>div>img {
  max-width: 100%;
}

#sec1>div.wrapper>h3:before {
  content: "■";
  color: #93dbc5;
}

#sec1>div.wrapper>h3 {
  text-align: center;
}

#sec1>div.wrapper.active>ul>li:nth-child(7) {
  width: 92% !important;
}

#sec1>div.wrapper.active>ul {
  padding-left: 0;
}

#sec1>div.wrapper.active>ul>li {
  width: 48%;
  border-radius: 5px;
  padding-right: 0;
  margin: 1%;
}

#sec1>div.wrapper>ul>li:nth-child(1)>label:before {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  content: "";
  background: url(../img/doctor.svg) center / contain no-repeat;
  background-size: contain;
  width: 80px;
  height: 86px;
  z-index: 400;
}

#sec1>div.wrapper>ul>li:nth-child(2)>label:before {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  content: "";
  background: url(../img/man.svg) center / contain no-repeat;
  background-size: contain;
  width: 80px;
  height: 86px;
  z-index: 400;
}

 .inputRadio1 span {
  display: block;
  width: 100%;
  border-radius: 5px;
  position: relative;
  -webkit-transition: all .1s ease-in;
  transition: all .1s ease-in;
  background-color: #fff;
  border: 2px solid #555 !important;
} 

.inputRadio1>span>span {
  border: 2px solid #555 !important;
  padding: 15px 0 105px;
  background-color: #FFF;
  border: 1px solid #EFEFEF;
  font-size: 24px;
  line-height: 1.4;
  top: -5px;
  text-align: center
}

/* 項目を選択したらへこませる */
.inputRadio1:active {
  transform: translateY(4px);
  box-shadow: none;
}

header {
  background-color: #FBFFEA;
  position: relative;
  z-index: 50
}

footer {
  margin-top: auto;
}

footer .wrapper {
  padding: 5px 0 10px;
  border-top: 1px solid #8D8D8D;
  text-align: center;
  font-size: 10px;
  line-height: 1
}

footer>.wrapper>ul {
  padding: 0;
}

main .sec>.wrapper {
  padding: 15px 15px 40px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.sec>.wrapper .formHead {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  margin-left: 20px;
  padding: 15px 8px;
}

main .sec>.wrapper .formList {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0;
  justify-content: center;
}

.logo {
  padding: 4px;
}

.logo>img {
  width: 80px;
}

.topDetail {
  background: #F76B1C;
  width: 95%;
  height: 50px;
  color: #fff;
  text-align: center;
  padding: 4px;
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
}

.topAppealTxt {
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.topAppealTxt>.icon>img {
  width: 40px;
  height: 40px;
}

/* =============================================
 1ページ目（状況確認ページ）
============================================= */

h3 {
  font-weight: normal;
}

#sec2>div.wrapper>div>ul {
  padding-top: 3px;
  display: flex;
  margin: -2px auto 0px;
  flex-wrap: wrap;
  padding-left: 15px;
  justify-content: flex-end;
}

#sec2>div.wrapper>div>ul>li {
  padding-right: 5px;
  width: 40%;
  margin: 2%;
}

#sec2>div.wrapper>div:nth-child(4)>ul>li {
  padding-right: 5px;
  width: 84%;
  margin: 2%;
}

#sec2>div.wrapper>ul>li:nth-child(7) {
  width: 92%;
}

#sec2>div.wrapper>.comment>h3 {
  width: 60%;
}


main .sec>.wrapper .privacyBox {
  margin-bottom: 30px;
  line-height: 1
}

.topTextBox {
  text-align: center;
  color: #241815;
  font-weight: 700;
  letter-spacing: .01em;
  position: relative;
  transition: .4s;
}

#sec1>.wrapper {
  position: relative;
  -webkit-transition: .4s;
  transition: .4s
}

.formHead-top {
  margin-top: 0px;
}

.item-top {
  padding-right: 10px;
  width: 50%;
}

/* =============================================
 4ページ目（診療科目確認ページ）
============================================= */
h3>span {
  font-size: 18px;
  font-weight: bold;
}

#sec4>.wrapper>.comment>h3 {
  width: 60%;
}

.item {
  padding-right: 5px;
  width: 41%;
}

.item-left {
  margin-right: 5%;
  margin-bottom: 4%;
}

#lp02>header>div.topTextBox>div>p>em {
  color: #00a73c;
}

#sec1>div.topTextBox>div>p {
  line-height: 24px;
}

@keyframes shiny {
  0% {
    left: -30%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

@-webkit-keyframes shiny {
  0% {
    left: -30%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

@-moz-keyframes shiny {
  0% {
    left: -30%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}


#sec2>div:nth-child(4)>span {
  vertical-align: 30px;
  margin: 0 20px 0 15px;
  font-size: 12px;
}

#sec3>div:nth-child(3)>span {
  vertical-align: 30px;
  margin: 0 20px 0 15px;
  font-size: 12px;
}

#sec4>div:nth-child(3)>span {
  vertical-align: 30px;
  margin: 0 20px 0 15px;
  font-size: 12px;
}

#sec5>div:nth-child(3)>span {
  vertical-align: 30px;
  margin: 0 20px 0 15px;
  font-size: 12px;
}

#sec6>div:nth-child(3)>span {
  vertical-align: 30px;
  margin: 0 20px 0 15px;
  font-size: 12px;
}

.map {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 20px;
}

#sec1, #sec2, #sec3, #sec4, #sec5, #sec6 {
  margin-bottom: 20px;
}

.checkbox {
  display: flex;
  position: relative;
  height: 95px;
  border: 2px solid #555;
  box-sizing: border-box;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3em;
  flex-wrap: wrap;
  box-shadow: 4px 4px 0 #91B31C;
  background: #fdfcfa;
  z-index: 3;
  img {
    height: 90%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom :0;
    margin:  auto;
    opacity: 0.2;
  }
  p {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 3rem;
    text-align: center;
  }
}

.formList .item:first-child>label>p,
.formList .item:last-child>label>p {
  line-height: 3rem;
}
/* 項目を選択したらへこませる */
.checkbox:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* 戻るボタンの設定 */
.prevBtn {
 font-size: 10px;
 color: #737373;
 margin-top: 30px;
 margin-left: 25px;
}

.dli-chevron-round-left {
  display: inline-block;
  vertical-align: middle;
  color: #737373;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  transform: translateX(25%) rotate(-135deg);
}

.dli-chevron-round-left::before, .dli-chevron-round-left::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 0.1em;
}

.dli-chevron-round-left::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

.dli-chevron-round-left::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

#lp02>footer>div {
  background: black;
  color: white;
}

#sec1>div.wrapper.active>ul>li:nth-child(1)>label>span {
  display: block;
  width: 100%;
  border-radius: 5px;
  position: relative;
  -webkit-transition: all .1s ease-in;
  transition: all .1s ease-in;
  background: #fff;
}

.lightpink {
  background-color: #ff7d7d !important;
  color: #fff !important;
  transition: background-color 0.3s ease;
}

.inputRadio1.lightpink span > span {
  background-color: #ff7d7d !important;
  color: #fff !important;
  transition: background-color 0.3s ease;
}

#lp02>header>div.topTextBox>div>p {
  font-size: 13px;
}

#sec4>div.wrapper>div>ul>li>label>span>span {
  border-right: none !important;
}

/* =============================================
 6ページ目（電話番号、メールアドレス確認ページ）
============================================= */

#sec6>div.wrapper {
  text-align: center;
  position: relative;
  padding: 15px 0 40px 0;
}

#sec6>div.wrapper>.comment-multiple {
  display: flex;
  width: 100%;
}

#sec6>div.wrapper>.comment-multiple>img {
  height: 72px;
}

#sec6>div.wrapper>.comment-multiple>div {
  margin-left: 10px;
}

#sec6>div.wrapper>.comment-multiple>div>.formHead {
  width: 60%;
  padding: 15px 3px;
  margin-bottom: 30px;
  margin-top: 16px;
}

#sec6>div.wrapper>.comment-multiple>div>.formHeadSecond {
  margin-top: 30px;
}

#sec6>div.wrapper>.comment-multiple>div>.input {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.cta-btn {
  display: block;
  margin: 0 auto;
  max-width: 70%;
  height: 50px;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none; 
  color: #FFF;
  font-size: 20px;
  background-image: linear-gradient(45deg, #FFC107 0%, #ff8b5f 100%);
  transition: .4s;
  margin-top: 40px;
  position: relative;
  text-align: center;
}

.cta-btn::before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
  transform: rotate(45deg);
}

.cta-btn::after {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 26px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
  transform: rotate(45deg);
}

.cta-btn:hover {
  background-image: linear-gradient(45deg, #FFC107 0%, #f76a35 100%);
}

#sec6>div.wrapper>button {
  position: absolute;
  left: 15px;
}

#sec6>div.wrapper>.comment-multiple {
  flex-direction: column;
  position: relative;
}

.first-content {
  display: flex;
}

.first-content>img {
  height: 72px;
}

.first-content>h3 {
  width: 60%;
}

#sec6>div.wrapper>.comment-multiple>input {
  margin: 0 auto;
}

#sec6>div.wrapper>.comment-multiple>.input-first {
  margin-bottom: 120px;
}

@media (max-width: 467px) {
  #sec6>div.wrapper>.comment-multiple>.input-second {
    margin-top: 20px;
  }
}

#sec6>div.wrapper>.comment-multiple>h3 {
  width: 60%;
  max-width: 340px;
  margin-bottom: 30px;
  position: absolute;
  top: 170px;
  left: 130px;
}

@media (max-width: 370px) {
  #sec6>div.wrapper>.comment-multiple>h3 {
    margin-top: 20px;
  }
}

@media screen and (max-width: 375px) {
  #sec6 .formHeadSecond {
    margin: 0 auto 20px auto;
    text-align: center;
    word-break: break-word;
    padding: 15px 10px;
    box-sizing: border-box;
  }

  #sec6 .comment-multiple {
    flex-direction: column;
    align-items: center;
  }
}

#error-messages {
  text-align: center;
  margin: 20px auto;
}

#error-messages p {
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
}

/* =============================================
 5ページ目（苗字確認ページ）
============================================= */
#sec5>div.wrapper>div.privacy>p>a {
  color: #639B4A;
}

#sec5>div.wrapper>div.privacy>p {
  margin: 25px 0;
}

#sec5>div.wrapper>div.privacy {
  font-size: 0.7rem;
}

#sec5>div.wrapper {
  position: relative;
  text-align: center;
}

#sec5>div.wrapper>.comment>h3 {
  width: 60%;
}

.input {
  width: 70%;
  height: 45px;
  border: solid 3px #358477;
  border-radius: 5px;
}

.next-btn {
  display: block;
  margin: 0 auto;
  max-width: 58%;
  height: 45px;
  padding: 7px 20px;
  border-radius: 50px;
  text-decoration: none; 
  color: #FFF;
  font-size: 20px;
  letter-spacing: 5px;
  background-image: linear-gradient(45deg, #91B31C 0%, #639B4A 50%, #358477 100%);
  transition: .4s;
  position: relative;
  padding-left: 25px;
}

.next-btn::before {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
  transform: rotate(45deg);
}

.next-btn::after {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 26px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
  transform: rotate(45deg);
}

.next-btn:hover {
  background-image: linear-gradient(45deg, #91B31C 0%, #43722e 50%, #134e44 100%);
}

.comment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.person {
  width: 72px;
  height: 72px;
  margin-left: 25px;
  margin-right: 20px;
  margin-top: 12px;
}

.formHead {
  position: relative;
  display: block;
  background: #ECF5CB;
  border: solid 3px #23754F;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 auto;
  margin-top: 12px;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.4;
}

.formHead::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -25px;
  border: 14px solid transparent;
  border-right: 14px solid #ECF5CB;
  z-index: 2;
}

.formHead::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -29px;
  border: 14px solid transparent;
  border-right: 14px solid #23754F;
  z-index: 1;
}

.formHead h3 {
  margin: 0;
  padding: 0;
}

#sec5>div.wrapper>button {
  position: absolute;
  left: 15px;
}

/* =============================================
 3ページ目（地域確認ページ）
============================================= */

#sec3>div.wrapper>.comment>.comment-multiple {
  width: 60%;
  margin-left: 20px;
  margin-top: 20px;
}

#sec3>.wrapper>.comment {
  align-items: flex-start;
}

.comment-multiple>h3 {
  width: 100%;
}

.comment-multiple {
  display: block;
  width: 100%;
  text-align: center;
}

.formHead-multiple {
  position: relative;
  display: inline-block;
  background: #ECF5CB;
  border: solid 3px #23754F;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  padding: 15px 8px;
  width: 60%;
  margin: 0 auto;
}

.formHead-multiple::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -25px;
  border: 14px solid transparent;
  border-right: 14px solid #ECF5CB;
  z-index: 2;
}

.formHead-multiple::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -29px;
  border: 14px solid transparent;
  border-right: 14px solid #23754F;
  z-index: 1;
}

.formHeadSecond {
  position: relative;
  display: inline-block;
  background: #ECF5CB;
  border: solid 3px #23754F;
  border-radius: 10px;
  font-size: 14px;
  padding: 15px 3px;
  text-align: center;
}

@media (min-width: 470px) {
  .formList-nine {
    width: 90%;
  }
}

.item-nine{
  width: 100px;
  margin-bottom: 15px;
  margin-left: 10px;
}

.formList>.item-nine>label>p {
  line-height: 3rem;
}

#sec3>div.wrapper>h3:nth-child(3) {
  margin-top: 16px;
}

@-webkit-keyframes rabbit {
  0% {
    -webkit-transform: translate(0, 0);
  }

  50% {
    -webkit-transform: translate(-15px, 0);
  }

  75% {
    -webkit-transform: translate(0, 0);
  }
}

@keyframes rabbit {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-15px, 0);
  }

  75% {
    transform: translate(0, 0);
  }
}

/* =============================================
 7ページ目（Thanksページ）
============================================= */

#sec7>div.wrapper>.comment-multiple {
  display:flex;
  width: 100%;
}

#sec7>div.wrapper>.comment-multiple>img {
 height: 72px;
}

#sec7>div.wrapper>.comment-multiple>div>h3 {
  margin-bottom: 10px;
  margin-top: 0;
  margin-left: 20px;
  text-align: left;
}

#sec7>div.wrapper>.comment-multiple>div>.formHead {
  max-width: 220px;
  font-weight: bold;
  font-size: 18px;
}

#sec7>div.wrapper>.comment-multiple>div>.formHeadSecond:nth-child(3) {
  font-weight: bold;
  margin-bottom: 30px;
}

.inverted-triangle {
  background-color: #91B31C;
  width: 100px;
  height: 30px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  opacity: 40%;
  margin: 0 auto;
}

.cta-text {
  text-align: center;
  margin: 30px 0 15px 0;
  font-weight: bold;
}

.line {
  display: flex;
  justify-content: center;
  align-items: center;
}

.line>a>img {
  width: 95%;
}

.line>img {
  padding-left: 8%;
}