@charset "utf-8";
@import url("root.css");
/***************************************
-------------- CONTACT --------------
***************************************/
p.subtitle {
  display: block;
  text-align: center;
  margin: 0 auto var(--sp-space);
}
p.subtitle a {
  color: var(--base-color01);
  text-decoration: underline;
}
span.must {
  display: block;
  width: 48px;
  font-size: calc(1.8rem * 0.7 );
  text-align: center;
  background: var(--base-color01);
  color: var(--base-color03);
  border-radius: 4px;
  margin-right: 10px;
}

section form {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0;
  box-sizing: border-box;
}
.mailform {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-space);
}

form dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding-bottom: 5px;
  font-size: 1.8rem;
}
form dd {
  width: 100%;
  background: var(--base-color03);
  font-size: 1.8rem;
}
form dd.check,
form dd.upload,
form dd.select {
  width: 100%;
}
form dd.check label,
form dd.upload input {
  font-size: 1.8rem;
}

form dd.select select {
  background: var(--base-color03);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #333;
    font-size: 1.8rem;
    box-sizing: border-box;
    vertical-align: bottom;
	    border: 1px solid #333;
		border-radius: 3px;
}
#mailformpro select {
    padding: 8px;
    border: 1px solid #333;
    font-size: 1.6rem;
    box-sizing: border-box;
}
button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(75%, 400px);
    padding: 15px;
    border: none;
    background: var(--base-color01);
    color: var(--base-color03);
    text-align: center;
    margin: 5rem auto;
    font-size: 1.8rem;
    border-radius: 12px;
}
button[type="submit"]:hover {
  opacity: 0.8;
  cursor: pointer; 
}

#mailformpro input[type="checkbox"] {
  all: revert;
}


.selectbox-3 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-3::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-3 select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.radio-1 {
    display: flex;
    flex-wrap: wrap;
    gap: .3em 2em;
    border: none;
	font-size:18px;
}

.radio-1 label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
	font-size:18px;
}

.radio-1 label::before,
.radio-1 label:has(:checked)::after {
    border-radius: 50%;
    content: '';
}

.radio-1 label::before {
    width: 18px;
    height: 18px;
    background-color: #e6edf3;
}

.radio-1 label:has(:checked)::after {
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #333333;
    animation: anim-radio-1 .3s linear;
}

@keyframes anim-radio-1 {
    0% {
        box-shadow: 0 0 0 1px transparent;
    }
    50% {
        box-shadow: 0 0 0 10px #333333;
    }
    100% {
        box-shadow: 0 0 0 10px transparent;
    }
}

.radio-1 input {
    display: none;
}

#form h3{
font-size: 30px;
    font-weight: 400;
    color: var(--base-color01);
}
/* =======================
  PC
======================== */
@media screen and (min-width: 1200px) {}
/* =======================
  TABLET
======================== */
@media screen and (max-width:1199px) {
}
/* =======================
  SP
======================== */
@media screen and (max-width: 599px) {
  .mailform {
    flex-wrap: wrap;
  }
  form dt {
    margin-bottom: 5px;
  }
  form dt,form dd {
    width: 100%;
  }

}