@charset "utf-8";
/* CSS Document */


.head {
  margin: 0;
  width: 100%;
  background: url(../img/head_contact.jpg) no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 300px;
  padding: 100px 20px 0;
}
.head h2 {
  text-align: center;
  color: #ffffff;
}
p {
  text-align: left;
}
main {
  margin: 0;
  padding: 30px 0;
}
ul.list_kome {
  margin-bottom: 1rem;
  margin-left: 1rem;
}
ul.list_kome li:before {
  content: '※';
  margin-left: -1rem;
  margin-right: 4px;
}

@media screen and (min-width: 768px) {
main {
  padding: 70px 0;
}
}
@media screen and (min-width: 900px) {
.head {
    background-position: bottom -90px center;
    height: 330px;
}
}
/*==============================================
 from
==============================================*/
.formWrap {
  margin: 0 auto 60px;
  width: 92%;
}
.formTable {
    border-top: 1px solid #ebebeb;
}
.formTable dl {
  border-bottom: 1px solid #ebebeb;
  margin: 0;
}
.formTable dt {
  border-bottom: 0;
  padding: 30px 0 20px;
  text-align: left;
  vertical-align: top;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  margin: 0;
}
.formTable dd {
  padding: 20px 0 30px;
  width: auto;
  margin: 0;
  text-align: left;
}
.must {
  position: absolute;
  top: 30px;
  right: 0;
}
.must {
  position: absolute;
  top: 34px;
  right: 0;
  color: #fff;
  background: #b6d554;
  padding: 0 0 0 6px;
  font-size: 14px;
  border-radius: 4px;
  letter-spacing: .3rem;
}
.other {
    margin-top: 20px;
}
.other p {
    margin-bottom: 8px;
}
.menuBox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.menuBox p {
  width: 50%;
}
.bg_gray {
  background: #e3e3e3;
  padding: 0 10px;
}




.select {
    border: 1px solid #9e9e9e;
    display: inline-block;
    position: relative;
    width: 100%;
}
.select::after {
    content: "\f0d7";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    pointer-events: none;
}
.select.w260 {
  width: 260px;
}
.select select {
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: #ffffff;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px;
    padding: 0 20px 0 10px;
    width: 100%;
    height: 38px;
    color: #333;
}
.checkBox label {
    position: relative;
    display: inline-block;
}
.checkBox label span {
    display: inline-block;
    margin-left: 35px;
    text-indent: -35px;
    position: relative;
    line-height: 1.4;
}
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
    left: 0;
    top: 0;
    margin: 3px 0;
}
.checkBox label span::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 1px solid #9e9e9e;
    border-radius: 3px;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
    background: #ffffff;
}
input[type="checkbox"]:checked + span::after {
    content: "";
    display: block;
    width: 15px;
    height: 9px;
    box-sizing: border-box;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    position: absolute;
    top: 10px;
    left: -26px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg) translateY(-50%);
}
input[type="checkbox"]:checked + span::before {
    background: rgba(0, 103, 133, .6);
}

::placeholder {
    color: #bebebe;
}
input[type="radio"] {
    background-color: initial;
    cursor: default;
    appearance: auto;
    margin: 3px 3px 0px 5px;
    padding: initial;
    border: initial;
}
.textType {
  border: 1px solid #9e9e9e;
}
.textType.yubin {
  width: 8rem;
  
}
input[type="text"] {
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
  min-height: 38px;
  font-size: 16px;
  padding: 0 10px;
}
.control[readonly] {
  background: rgba(233,179,2,.1);
}
.select + .textType,
.textType + .textType {
margin-top: 20px;
}
.textType_Box:not(:first-child) .text_h,
.textType_Box:not(:first-child) .textType {
    margin-top: 20px;
}
p.text_h {
  margin-bottom: 0;
}
.textType_Box:not(:first-child) .textType.mt8 {
  margin-top: 8px;
}
.tooltip2{ /*右にでる*/
    position: relative;
    cursor: pointer;
    display: inline-block;
}
.tooltip2 p {
    font-size: 12px;
    color: #ffffff;
    margin: 0 0 0 4px;
    padding: 0 8px;
    border-radius: 20px;
    background: #222222;
}
.description2 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #000;
    width: 120px;
}
.description2:before {
    content: "";
    position: absolute;
    top: 10%;
    right: 95%;
    border: 12px solid transparent;
    border-top: 12px solid #000;
    margin-left: -12px;
    transform: rotateZ(90deg);
}
.tooltip2:hover .description2{
    display: inline-block;
    top: 0px;
    left: 40px;
}
.description2 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #000;
    width: 100px;
    z-index: 2;
}
.description2.w200 {
    width: 200px;
}
textarea {
  padding: 10px;
  width: 100%;
  max-width: 100%;
  line-height: 1.5;
  border: 1px solid #9e9e9e;
  font-size: 16px;
  font-family: Helvetica, "メイリオ", Meiryo, sans-serif;
}
input[type="submit"], input[type="reset"], input[type="button"] {
  background: radial-gradient(circle, rgba(188, 213, 65, 1) 0%, rgba(5, 99, 134, 1) 100%);
  border-radius: 8px;
  border: 1px solid #006785;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: .2rem;
  -webkit-transition: background-color .3s 0s ease, color .3s 0s ease;
  transition: background-color .3s 0s ease, color .3s 0s ease;
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
  background: radial-gradient(circle, rgba(5, 99, 134, 1) 0%, rgba(188, 213, 65, 1) 100% 100%);
  opacity: 1;
}
.additionBtn input[type="button"] {
    background: #ffffff;
    border: 2px solid #006785;
    color: #006785;
    letter-spacing: .1rem;
    font-weight: 700;
}
.additionBtn input[type="button"]:hover {
  box-shadow: none;
  transform: translateY(5px);
}
.btn.submit, .btn.reset {
  position: relative;
}

.btn.submit::after, .btn.reset::after {
    content: "";
    background: url("../img/common/arrow.svg") no-repeat;
    background-size: 22px;
    position: absolute;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
}
.attText_b {
    margin-top: 8px;
    margin-bottom: 0;
}
.textPlus {
  margin-top: 0;
}
.textPlus p {
  margin-bottom: 8px;
}
.textPlus:nth-child(2) ,
.textPlus:nth-child(3) {
  margin-top: 20px;
}

.privacy {
    margin: 20px 10px;
  text-align: left;
}
.policy {
    margin-bottom: 10px;
}
.policy a {
  position: relative;
}
.policy a::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translate(0, -50%);
    pointer-events: none;
}
.btnBottom {
    margin: 40px auto;
}
.btnBottom .btn {
    width: 180px;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
}
.btn.reset {
  margin-top:20px;
}
.menuBox.radioBox {
  gap: 20px;
  margin-left: 10px;
}
.menuBox.radioBox p {
  width: calc(100% / 2 - 10px);
  margin-bottom: 0;
}
.radioBox label {
  align-items: center;
  cursor: pointer;
  display: flex;
}
.radioBox input[type="radio"]::before {
  background-color: rgba(0, 103, 133, .6);
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: 14px;
  left: 0;
  margin: auto;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 14px;
}
.radioBox input[type="radio"]:checked::before {
  opacity: 1;
}
.radioBox input[type="radio"] {
  appearance: none;
  border: 1px solid #9e9e9e;
  border-radius: 50%;
  height: 20px;
  left: -.5em;
  margin: 0;
  position: relative;
  min-width: 20px;
}
.timeSelect2 label {
  position: relative;
  display: inline-block;
  height: calc(32px + 2px);
  border: 1px solid #9e9e9e;
  border-radius: 8px;
  width: 8rem;
}
.timeSelect2 label::before {
  content: "\f017";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 0;
  right: calc(-32px - 6px);
  background-color: #333333;
  border-radius: 5px;
  color: #fff;
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
input[type="time"] {
  position: relative;
  padding-left: 10px;
  width: calc(100% + 32px + 10px);
  height: 100%;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
}
input[type="time"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="time"]::-webkit-clear-button {
  -webkit-appearance: none;
}
input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 0;
  width: 100%;
  height: 38px;
  background: rgba(255, 0, 0, 0.0);
  color: transparent;
  cursor: pointer;
  outline: none;
}
.timeRow {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 20px;
}
.timeBox {
  width: 50%;
}
/* アラート*/
.alert {
  font-weight: 700;
  color: #FF0000;
  margin-top: 10px;
}
.alert p {
  margin-bottom: 0;
}

#confim .formTable dd {
  padding: 0 10px 20px;
}
/*ポップアップ　追加*/
.popup-background {
  position: fixed;
  z-index : 100;
  top : 0;
  left : 0;
  height : 100vh;
  width : 100vw;
  background-color: rgb(0 0 0 / 60%);
  opacity : 0.5
}
.popup {
  --height: 85vh;
  --width: 90vw;
  z-index : 101;
  position: fixed;
  top : calc(50vh - calc(var(--height) / 2));
  left : calc(50vw - calc(var(--width) / 2));
  height : var(--height);
  width : var(--width);
  overflow : hidden;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 1px gray;
  overflow-y: scroll;
  scrollbar-color: #A91522 #ffffff;
  scrollbar-width: thin;
}
.popup > .close-button{
  --size : 20px;
  position:absolute;
  top : calc(var(--size)/4);
  left : calc(var(--width) - var(--size) * 5/4);
  height : var(--size);
  width : var(--size);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color : gray;
  font-size: var(--size);
  border-radius: calc(var(--size)/5);
}
.popup > .close-button:hover{
  background-color: red;
  color : white;
}
.popup > .content{
  padding: 10px;
  text-align: center;
}
.popup > .content > .card {
  border-bottom: 1px dotted #BAA356;
  margin: 16px 0;
  padding: 10px 0;
}
.card h6 {
  background: #BAA356;
  border-radius: 4px;
  padding: 4px;
  text-align: left;
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 14px;
}
.card p {
  margin-bottom: 4px;
  text-align: left;
}
.readType.hei3 textarea {
  font-size: 14px;
  background: rgba(255,229,30,.1);
}


.popup-flag{
  display: none;
}
.popup-flag:not(:checked) + .popup-background{
  display:none;
}
.popup-flag:not(:checked) + * + .popup{
  display:none;
}

.button-container{
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
}
.button-container > *{
  margin : 0 0 15px;
}
.popupbtn {
  color: #32A3FF;
  background-color: #ffffff;
  padding: 5px;
  border-radius: 8px;
  transition: 0.2s;
  font-weight: 700;
}
.popupbtn:hover{
  opacity: .7;
  /*color: white;
  background-color: #BAA356;*/
}
/*.popupbtn:active{
  color: white;
  background-color: #FFD856;
  transition: 0.05s;
}*/

.accordion-content {
  display: none;
}
.accordion-header {
  background-color: #BAA356;
  padding: 10px;
  margin: 10px 0 0;
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
  text-align: left;
  color: #ffffff;
  font-weight: 700;
}

.accordion-header::before,
.accordion-header::after{
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:12px;
  height:2px;
  margin:auto;
  background: #ffffff;
}
.accordion-header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.accordion-header.active::after{transform:rotate(0deg);}

.accordion-content {
  background-color: #FFF;
  padding: 10px;
}

.accordion-header:hover {
  background-color: rgba(186,163,86,.6);
}
.thanksBox h4 {
  margin-bottom: 2.4rem;
  line-height: 1.6rem;
}




@media screen and (min-width: 520px) {
  input[type="time"] {
    font-size: 16px;
  }
.timeRow {
    justify-content: flex-start;
  }
 .timeBox {
    width: 200px;
}
}


@media screen and (min-width: 768px) {
.bg_gray {
  padding: 0;
}
.formWrap {
  max-width: 1000px;
}
.formTable dl {
  display: flex;
  flex-wrap: wrap;
}
.formTable dt {
  width: 30%;
  padding: 30px 50px 30px 20px;
}
.formTable dd {
  width: 70%;
  padding: 30px 20px;
}
.textType_Box:not(:first-child) .textType.mt8 {
  margin-top: 20px;
}
.textType_Box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.textType_Box .text_h {
  width: 25%;
}
.textType_Box .textType {
  width: 75%;
}
.btn.reset {
  margin-top:0;
}
.btnBottom {
    margin: 60px auto;
    display: flex;
    justify-content: center;
    width: 400px;
}

#confim .formTable dd {
  padding: 30px 20px;
}
.thanksBox {
  padding-bottom: 80px;
}
.popup {
    --width: 60vw;
  }
.readType.hei3 textarea {
    height: 130px;
}
.readType.hei3.ichiyou textarea {
    height: 44px;
  }
}
@media screen and (min-width: 920px) {
.menuBox p {
  width: calc(100% / 3);
}
.popup {
    --width: 600px;
  }
}
/*==============================================
 RAFOSの施術についての入力フォーム
==============================================*/
.sub_h5 {
  margin-bottom: 0;
  margin-top: 20px;
  font-size: 1rem;
}
input[type='file'] {
  color: rgb(31, 41, 55);
  cursor: pointer;
  border: 1px solid rgb(191, 194, 199);
  border-radius: 0.375rem;
  padding-right: 0.5rem;
  width: 18rem;
  margin-right: 8px;
}

::file-selector-button,
::-webkit-file-upload-button {
  background-color: rgb(209, 213, 219);
  color: rgb(31, 41, 55);
  border: none;
  cursor: pointer;
  border-right: 1px solid rgb(191, 194, 199);
  padding: 0.25rem 1rem;
  margin-right: 1rem;
}
.sub_class {
  margin: 0;
  color: #FFA6A6;
  padding: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
  display: block;
}
.sub_class.condy {
  color: #63B61B;
}
.menuBox2 ul ,
.menuBox3 ul{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 0;
  margin-bottom: 30px;
}
.menuBox2 ul:last-child ,
.menuBox3 ul:last-child {
  margin-bottom: 0;
}

.menuBox2 li,
.menuBox3 li {
  width: 50%;
}
.menuBox2 li:first-child {
  width: 100%;
  color: rgba(169,21,34,.6);
  font-weight: 700;
  font-size: 1.1rem;
}
.menuBox4 ul{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
} 
span.txt_s {
  font-size: .8rem;
  font-weight: lighter;
}
.textType_Line {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-top: 16px;
}
.textType_Line p {
  margin: 0;
}
.textType_Line .textType {
  margin: 0 8px;
  width: 4rem;
}
.textType_Line .textType.nedan {
  width: 6rem;
}
.additionBtn {
  margin: 30px 0;
}
.hr {
  display: block;
  width: 100%;
  margin: 0;
  height: 30px;
  border-top: 1px dotted #cccccc;
}
.menuBox.zen p {
  width: 100%;
}
@media screen and (min-width: 768px) {
.sub_class {
    position: absolute;
    top: 30px;
    right: 0;
    margin-left: 10px;
    color: #FFA6A6;
    padding: 0;
    letter-spacing: 0;
}
.menuBox2 ul ,
.menuBox3 ul {
  gap: 16px;
}
.menuBox2 li ,
.menuBox3 li {
  width: calc(100% / 3 - 11px);
}
.menuBox4 ul{
  gap: 16px 30px;
} 
span.txt_s {
  display: block;
}
.textType_Line .textType {
  margin: 0 10px;
  width: 6rem;
}
.textType_Line .textType.nedan {
  width: 8rem;
}
}