@charset "utf-8";
/* CSS Document */
/* gform.css */


.gform {
  margin: 2em auto;
  max-width: 900px;
  width: calc(710 / 750 * 100%);
  background: #fff;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: clamp(15px,calc(30 / 750 * 100vw),30px);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
  padding: 1em;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  
  --c-01: #ccc;
  --c-02: #f6ff20;
  --c-att: #f00;
  --c-att2: #f7bbbb;
  --font: "Noto Sans JP", serif;
}
.gform__title h2 {
  text-align: center;
  font-weight: 500;
}
.gform__information {
  margin: 2em auto;
}

.gform__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
}
.gform__item + .gform__item {
  margin-top: 0.5em;
} 

.gform__label {
  box-sizing: border-box;
  display: block;
  padding: .5em 0;
  margin: 0;
}
.gform__text {
  box-sizing: border-box;
  display: block;
  padding: 0;
  margin: 0;
  width: 100%;
}
.contact__item--addr .gform__label {
  width: 6em;
  margin: 0;
}

.contact__item--addr .gform__text {
  width: calc(100% - 6em);
  margin: 0;
}
.gform__input {
  box-sizing: border-box;
  display: block;
  margin: 0;
  font-size: 1em;
  padding: 0.5em;
  line-height: 1.5em;
  background: #eeeeee;
  border: 1px solid #eeeeee;
  border-radius: 0;
  font-family: var(--font);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}
.gform__item select  {
  box-sizing: border-box;
  display: block;
  margin: 0;
  padding: 0.5em;
  line-height: 1.5em;
  font-size: 1em;
  background: #eeeeee;
  background-image: url(ic_ar_v.svg);
  background-repeat: no-repeat;
  -webkit-background-size:  1em auto;
  background-size:  1em auto;
  background-position: 97% 50%;
  border: 1px solid #eeeeee;
  border-radius: 0;
  font-family: var(--font);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}
.gform__error {
  box-sizing: border-box;
  margin: 0;
  padding: 0 0.5em;
  display: block;
}
.gform__error {
  color: var(--c-att);
}
.gform__item--error input,
.gform__item--error textarea {
  background-color: var(--c-att2);
}

.gform--confirm input[readonly],
.gform--confirm .gform__item select,
.gform--confirm textarea[readonly] {
  border: none;
  background: none;
}
.gform--confirm .gform__text {
  position: relative;
}
.gform--confirm .gform__text:before {
  content: "";
  display: block;
  z-index: 99;
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* 疑似select */
.gform__input--select {
  cursor: pointer;
  background-image: url(./ic_ar_v.svg);
  background-repeat: no-repeat;
  -webkit-background-size: 1em auto;
  background-size: 1em auto;
  background-position: calc(100% - .5em) 50%;
}
.gform__select {
  border: 1px solid #ccc;
  border-top: none;
  font-size: 0.92em;
}
.gform__select__item input {
  display: none;
}
.gform__select__item span {
  display: block;
  cursor: pointer;
  box-sizing: border-box;
  padding: .5em;
  font-size: .92em;
}
.gform__select__item span:hover ,
.gform__select__item input:checked + span {
  background: var(--c-01);
}

/* gform__checkbox__item */
.gform__checkbox__item {
  display: inline-block;
  margin-right:auto;
  cursor: pointer;
  font-size: .74em;
}
.gform__checkbox__item input {
  width: 2em;
  height: 2em;
  vertical-align: middle;
  margin: 0 0.5em 0 0;
}
.text__req {
  font-weight: bold;
  color: #fd5715;
}

.lpbox .gform__btn {
  text-align: center;
  margin: 2em auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
  flex-flow: column;
}

.gform__btnitem {
  display: block;
  padding: .8em 2em;
  border-radius: .5em;
  background:var(--c-01);
  cursor: pointer;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.5);
  transform: translate3d(0,0,0);
  transition: all .3s ease;
  margin: 0 1em;
}
.gform__btnitem:hover {
  box-shadow: 0px 0px 0px rgba(0,0,0,0.5);
  transform: translate3d(3px,3px,0);
}

.gform__item--req .gform__label:after{
  content: "*";
  color: var(--c-att);
}

.lpbox .gform__btnitem--back {
  margin: 2em auto 0;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  font-size: 1.2em;
}

@media screen and (min-width: 751px) {
  .gform {
    padding: 50px;
  }
  .gform__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-align-items: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
  }
  .gform__label {
    width: 30%;
  }
  .gform__text {
    width: 70%;
  }
  
}


/*---------------------------------------------------*/


.lpbox .contact__label {
  font-size: 1em;
  font-weight: bold;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 0 0.5em;
  width: 100%;
}
.lpbox .contact__label span {
  display: block;
  margin: 0;
}
.lpbox .contact__label--req:after {
  content: "必須";
  background: #fd5715;
  color: #fff;
  font-weight: 500;
  font-size: 0.7em;
  display: block;
  line-height: 1.5em;
  padding: 0.1em .4em;
}
.lpbox .contact__item {
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  padding: calc(40 / 690 * 100%) 0;
}
.lpbox .contact__item + .contact__item {
  border-top: 1px solid #747474;
}
.lpbox .contact__box .gform__item--2col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -ms-align-items: stretch;
  align-items: stretch;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
}
.lpbox .contact__text {
  font-size: 0.8em;
  line-height: 1.5em;
}
.lpbox .gform__btnitem--confirm {
  display: block;
  width: calc(360 / 630 * 100%);
  cursor: pointer;
  margin: 1em auto;
}
.lpbox .gform__btnitem--send {
  display: block;
  width: calc(360 / 630 * 100%);
  cursor: pointer;
  margin: 1em auto;
}


@media screen and (min-width:750px){
  .gform {
  width: 100%;
  max-width: 100%;
  }
  .lpbox .contact__label {
    justify-content: flex-start;
    gap: 10px
  }
  .lpbox .contact__item {
    padding: 35px 0;
  }
  .lpbox .contact__box .gform__item--2col{
      justify-content: flex-start;
    gap: 30px;
  }
  .lpbox .contact__box .gform__item--2col .gform__text {
    max-width: 320px;
    margin: 0;
  }
  .gform__text {
    width: 100%;
  }
  .gform__item select {
    cursor: pointer;
    max-width: 250px;
    padding: 15px 20px;
  }
  .gform__input {
    padding: 15px 20px;
  }
  .contact__item--addr .gform__label {
    
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
      -ms-align-items: center;
      align-items: center;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: flex-start;
  }
  
  .contact__item--addr .gform__label span {
    margin: 0;
  }
  .lpbox .contact__item:last-of-type {
    border-bottom: 1px solid red;
  }
  .lpbox .contact__item--priv {
    text-align: center;
  }
  .lpbox .contact__item--priv .gform__checkbox__item {
      font-size: 18px;
    vertical-align: middle;
  }
  .gform__checkbox__item input {
    margin-right: 10px;
  }
  .lpbox .gform__btnitem--back {
    font-size: 18px;
  }
}