/* =============================================
  media query
============================================= */
/* =============================================
  px vw
============================================= */
/* =============================================
  default settings
============================================= */
:root {
  --color-primary: #ffd900;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
  background-color: #f7f7f6;
}
body.active {
  overflow: hidden;
}

img {
  width: 100%;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: #000;
}

ul, ol {
  list-style: none;
}

.inner {
  max-width: calc(600px + 8rem);
  margin: 0 auto;
  padding: 0 4rem;
}
@media screen and (max-width: 768px) {
  .inner {
    padding: 0 2rem;
  }
}

.pc {
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp {
    display: inline-block;
  }
}

.btn {
  width: 100%;
  height: 4.5rem;
  line-height: 4.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  transition: opacity ease 0.3s;
  color: #000;
}
.btn:hover {
  opacity: 0.7;
}
.btn--yellow {
  background: var(--color-primary);
}
.btn--gray {
  background: #efefef;
}
.btn--half {
  width: calc(50% - 1rem);
}

.error {
  margin-top: 0.5rem;
  font-size: 1.4rem;
  color: #CE335D;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .error {
    font-size: 1.2rem;
  }
}

.section-title {
  font-size: 2.4rem;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}
.section-text {
  margin-top: 1rem;
  color: #555352;
  line-height: 1.8;
}

.require {
  font-size: 1.2rem;
  color: #CE335D;
}

/* =============================================
  header
============================================= */
.header {
  width: 100%;
  height: 6.5rem;
  line-height: 6.5rem;
  background-color: #fff;
  box-shadow: 3px 0 3px #ececec;
}
.header__logo {
  width: 6rem;
  display: inline-block;
  transition: opacity ease 0.3s;
}
.header__logo:hover {
  opacity: 0.7;
}

/* =============================================
  contact
============================================= */
.contact,
.confirm,
.thanks {
  padding: 5rem 0;
}
.contact__btn,
.confirm__btn,
.thanks__btn {
  margin-top: 4rem;
  text-align: center;
}

/* =============================================
  form
============================================= */
.form {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin-top: 3rem;
}
.form__text {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.form__item {
  margin-bottom: 3rem;
}
.form__item:last-child {
  margin-bottom: 0;
}
.form__item dt {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.form__item dd {
  font-size: 1.4rem;
}
.form__item dd input {
  width: 100%;
  height: 4rem;
  border: 1px solid #e1e1e1;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 1.4rem;
}
.form__item dd input::-moz-placeholder {
  color: #adadad;
  font-size: 1.4rem;
}
.form__item dd input::placeholder {
  color: #adadad;
  font-size: 1.4rem;
}
.form__item dd select {
  width: -moz-fit-content;
  width: fit-content;
  height: 4rem;
  border: 1px solid #e1e1e1;
  padding: 0 1rem;
  font-size: 1.4rem;
  border-radius: 0.5rem;
  color: #000;
}
.form__item dd textarea {
  width: 100%;
  height: 15rem;
  border: 1px solid #e1e1e1;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1.4rem;
}
.form__item dd .radio-wrap {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.form__item dd .radio-wrap label {
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  font-size: 1.4rem;
}
.form__item dd .radio-wrap label input {
  margin-right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
}
.form__btn {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

/* =============================================
  privacy
============================================= */
.privacy {
  border: 1px solid #e1e1e1;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-top: 3rem;
}
.privacy__ttl {
  font-size: 1.4rem;
  text-align: justify;
  line-height: 180%;
}
.privacy__sentence {
  text-align: justify;
  background: #efefef;
  margin-top: 2rem;
  padding: 1rem;
  font-size: 1.4rem;
  height: 20rem;
  overflow-y: scroll;
}
.privacy__sentence p {
  line-height: 180%;
}
.privacy__text {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 2rem;
}
.privacy__input {
  text-align: center;
  margin-top: 1rem;
}
.privacy__input label {
  position: relative;
  font-size: 1.4rem;
}
.privacy__input label input {
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  position: absolute;
}
.privacy__input label input:checked + span::before {
  opacity: 1;
}
.privacy__input label input:checked + span::after {
  border: 0.1rem solid #000;
  border-radius: 0;
}
.privacy__input label span {
  position: relative;
  padding-left: 2.5rem;
  cursor: pointer;
}
.privacy__input label span::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 1.3rem;
  height: 0.8rem;
  border-left: 0.2rem solid var(--color-primary);
  border-bottom: 0.2rem solid var(--color-primary);
  transform: rotate(-45deg);
  opacity: 0;
}
.privacy__input label span::after {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  border: 0.1rem solid #000;
}

/* =============================================
  footer
============================================= */
.footer {
  padding-bottom: 5rem;
}
.footer__text {
  text-align: center;
  color: #5c5c5c;
  font-size: 1.4rem;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .footer__text {
    font-size: 1.2rem;
  }
}
.footer__text a {
  text-decoration: underline;
  color: #000;
}