:root {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 62.5%;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.05em;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-in-out;
}

* {
  overscroll-behavior-x: none !important;
}

html,
body {
  overscroll-behavior: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(50vh - 7rem);
  scroll-padding-top: calc(50svh - 7rem);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background-color: #FAFAFA;
}

.mt05 {
  margin-top: 0.5rem;
}

.mb05 {
  margin-bottom: 0.5rem;
}

.ml05 {
  margin-left: 0.5rem;
}

.mr05 {
  margin-right: 0.5rem;
}

.mt1 {
  margin-top: 1rem;
}

.mb1 {
  margin-bottom: 1rem;
}

.ml1 {
  margin-left: 1rem;
}

.mr1 {
  margin-right: 1rem;
}

.hide {
  display: none;
}

.required {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.25em;
  background-color: rgba(255, 0, 0, 0.5);
  color: white;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 4px;
  transform: translateY(-1px);
}

#counseling {
  flex: 1;
  width: 600px;
  margin: 0 auto;
  padding: 5rem;
  background-color: white;
  font-size: 1.6rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
@media (max-width: 767px) {
  #counseling {
    width: calc(100% - 4rem);
    padding: 2rem;
  }
}
#counseling h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 1rem;
  background-color: black;
  color: white;
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
}
@media (max-width: 767px) {
  #counseling h1 {
    flex-direction: column;
    padding: 2.5rem 0 2rem;
  }
}
#counseling h1 img {
  height: 2rem;
  margin: 0;
}
#counseling h1 span {
  margin-left: 1rem;
}
@media (max-width: 767px) {
  #counseling h1 span {
    margin: 0;
  }
}
#counseling .wpcf7:has(.invalid) + .sending p {
  animation: none;
}
#counseling .wpcf7:has(.invalid) + .sending p .close {
  display: inline-block;
  animation: hop 1s ease-in-out infinite;
}
#counseling .wpcf7 {
  width: 100%;
}
#counseling .wpcf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
#counseling .wpcf7 .wpcf7-form > p {
  margin: 3rem 0 0.5rem 0;
  font-weight: 500;
}
#counseling .wpcf7 .wpcf7-form > label {
  width: 100%;
  margin: 2rem 0 0.5rem 0;
}
#counseling .wpcf7 .wpcf7-form > label > p {
  margin: 0 0 0.5rem;
  font-weight: 500;
}
#counseling .wpcf7 .wpcf7-form > hr {
  width: calc(100% + 2rem);
  height: 1px;
  margin: 3rem -1rem 0;
  border: none;
  border-top: 1px dashed #E6E6E6;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap {
  display: inline-block;
  max-width: 100%;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap [name=your-age],
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap [name=your-tall],
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap [name=your-weight] {
  width: 4em;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap[data-name=your-addr], #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap[data-name=your-sport], #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap[data-name=your-text] {
  width: 100%;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap[data-name=your-addr] input {
  width: 100%;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 767px) {
  #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
    flex-wrap: wrap;
    width: 100%;
  }
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=your-age], #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=your-tall], #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=your-weight], #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=your-alcohol-week], #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=your-alcohol-amount] {
  width: 5em;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=zip] {
  width: 8em;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control[name=your-sport] {
  width: 100%;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item {
  margin: 0;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item .wpcf7-list-item-label {
  padding-right: 5px;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item .wpcf7-list-item-label::before {
  display: none;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item:has(input[type=radio]:checked), #counseling .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item:has(input[type=checkbox]:checked) {
  background-color: rgba(255, 0, 0, 0.1);
  border-radius: 4px;
}
#counseling .wpcf7 .wpcf7-form .flex-row {
  display: flex;
  align-items: center;
}
#counseling .wpcf7 .wpcf7-form input,
#counseling .wpcf7 .wpcf7-form textarea,
#counseling .wpcf7 .wpcf7-form select {
  padding: 1rem;
  font-size: 1.6rem;
  border: 1px solid rgb(127, 127, 127);
  border-radius: 4px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  #counseling .wpcf7 .wpcf7-form input,
  #counseling .wpcf7 .wpcf7-form textarea,
  #counseling .wpcf7 .wpcf7-form select {
    max-width: 90vw;
  }
}
#counseling .wpcf7 .wpcf7-form label:has(input[type=radio], input[type=checkbox]) {
  cursor: pointer;
}
#counseling .wpcf7 .wpcf7-form input[type=radio],
#counseling .wpcf7 .wpcf7-form input[type=checkbox],
#counseling .wpcf7 .wpcf7-form input[type=submit]:not([disabled]) {
  cursor: pointer;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-submit {
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1;
}
#counseling .wpcf7 .wpcf7-form .question {
  margin: 3rem -6rem;
  padding: 3rem 6rem;
  background-color: #F6F6F6;
}
@media (max-width: 767px) {
  #counseling .wpcf7 .wpcf7-form .question {
    margin: 3rem -3rem;
    padding: 3rem;
  }
}
#counseling .wpcf7 .wpcf7-form .question > p {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-weight: 500;
}
#counseling .wpcf7 .wpcf7-form .question > p:nth-of-type(n+2) {
  margin-top: 3rem;
}
#counseling .wpcf7 .wpcf7-form .question > label > p {
  margin: 0;
  font-weight: 500;
}
#counseling .wpcf7 .wpcf7-form .question > hr {
  width: calc(100% + 2rem);
  height: 1px;
  margin: 3rem -1rem 0;
  border: none;
  border-top: 1px dashed #C8C8C8;
}
#counseling .wpcf7 .wpcf7-form .question .goal-other,
#counseling .wpcf7 .wpcf7-form .question .found-searchword,
#counseling .wpcf7 .wpcf7-form .question .found-acquaintance,
#counseling .wpcf7 .wpcf7-form .question .found-media,
#counseling .wpcf7 .wpcf7-form .question .ideal-other,
#counseling .wpcf7 .wpcf7-form .question .injury-detail {
  display: block;
  margin: 2rem 0 0.5rem 2rem;
  padding: 1rem;
  background-color: white;
  font-size: 1.4rem;
  border: 1px solid #C8C8C8;
}
@media (max-width: 767px) {
  #counseling .wpcf7 .wpcf7-form .question .goal-other,
  #counseling .wpcf7 .wpcf7-form .question .found-searchword,
  #counseling .wpcf7 .wpcf7-form .question .found-acquaintance,
  #counseling .wpcf7 .wpcf7-form .question .found-media,
  #counseling .wpcf7 .wpcf7-form .question .ideal-other,
  #counseling .wpcf7 .wpcf7-form .question .injury-detail {
    margin: 2rem 0 0.5rem 0;
  }
}
#counseling .wpcf7 .wpcf7-form .question .goal-other.hide,
#counseling .wpcf7 .wpcf7-form .question .found-searchword.hide,
#counseling .wpcf7 .wpcf7-form .question .found-acquaintance.hide,
#counseling .wpcf7 .wpcf7-form .question .found-media.hide,
#counseling .wpcf7 .wpcf7-form .question .ideal-other.hide,
#counseling .wpcf7 .wpcf7-form .question .injury-detail.hide {
  display: none;
}
#counseling .wpcf7 .wpcf7-form .question .goal-other .wpcf7-form-control-wrap,
#counseling .wpcf7 .wpcf7-form .question .found-searchword .wpcf7-form-control-wrap,
#counseling .wpcf7 .wpcf7-form .question .found-acquaintance .wpcf7-form-control-wrap,
#counseling .wpcf7 .wpcf7-form .question .found-media .wpcf7-form-control-wrap,
#counseling .wpcf7 .wpcf7-form .question .ideal-other .wpcf7-form-control-wrap,
#counseling .wpcf7 .wpcf7-form .question .injury-detail .wpcf7-form-control-wrap {
  width: 100%;
}
#counseling .wpcf7 .wpcf7-form .question .goal-other .wpcf7-form-control-wrap .wpcf7-form-control,
#counseling .wpcf7 .wpcf7-form .question .found-searchword .wpcf7-form-control-wrap .wpcf7-form-control,
#counseling .wpcf7 .wpcf7-form .question .found-acquaintance .wpcf7-form-control-wrap .wpcf7-form-control,
#counseling .wpcf7 .wpcf7-form .question .found-media .wpcf7-form-control-wrap .wpcf7-form-control,
#counseling .wpcf7 .wpcf7-form .question .ideal-other .wpcf7-form-control-wrap .wpcf7-form-control,
#counseling .wpcf7 .wpcf7-form .question .injury-detail .wpcf7-form-control-wrap .wpcf7-form-control {
  width: 100%;
}
#counseling .wpcf7 .wpcf7-form .question textarea {
  width: 100%;
  resize: vertical;
}
#counseling .wpcf7 .wpcf7-form .rules ul {
  height: auto;
  max-height: 40vh;
  max-height: 40svh;
  margin: 0;
  padding: 1rem 1rem 1rem calc(1rem + 1em);
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  list-style: decimal;
}
@media (max-width: 767px) {
  #counseling .wpcf7 .wpcf7-form .rules ul {
    height: 40vh;
    height: 40svh;
  }
}
#counseling .wpcf7 .wpcf7-form .rules ul li {
  font-size: 1.2rem;
  text-align: justify;
}
#counseling .wpcf7 .wpcf7-form .rules ul li:nth-of-type(n+2) {
  margin-top: 0.5em;
}
#counseling .wpcf7 .wpcf7-form [data-name=rules-accept] {
  margin-top: 1rem;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-submit {
  width: 16rem;
  margin-top: 3rem;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-not-valid-tip {
  display: inline-block;
  width: auto;
  padding: 0.25em;
  background-color: rgba(255, 0, 0, 0.5);
  color: white;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1;
}
#counseling .wpcf7 .wpcf7-form .wpcf7-response-output {
  margin: 2rem 0 1rem;
  background-color: white;
  z-index: 999;
}
#counseling .wpcf7 .wpcf7-form.invalid .wpcf7-response-output, #counseling .wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output, #counseling .wpcf7 .wpcf7-form.payment-required .wpcf7-response-output {
  padding: 1rem;
  text-align: justify;
  border-color: red;
}
#counseling .sending {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
#counseling .sending.hide {
  display: none;
}
#counseling .sending p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: white;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.25);
  animation: hop 1s ease-in-out infinite;
}
#counseling .sending p .close {
  display: none;
  margin-top: 1rem;
  padding: 0.5rem;
  color: red;
  line-height: 1;
  border: 1px solid red;
}
#counseling .sending p .close .pc {
  display: inline-block;
}
#counseling .sending p .close .sp {
  display: none;
}
@media (max-width: 767px) {
  #counseling .sending p .close .pc {
    display: none;
  }
  #counseling .sending p .close .sp {
    display: inline-block;
  }
}
#counseling .copyright {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  margin: 0;
  color: #C8C8C8;
  font-size: 1.2rem;
  text-align: center;
}
#counseling .thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
}
#counseling .thanks button[type=button] {
  margin: 3rem auto 0;
  padding: 1rem;
  font-size: 1.6rem;
  line-height: 1;
}

@keyframes hop {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-0.5rem);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}/*# sourceMappingURL=counseling_sheet.css.map */