/* ==================================

  Contact -  お問い合わせ

================================== */

h1 {
    text-align: center;
}
.top-bg-area {
    position: relative;
    width: 100%;
    height: auto;
}

.tba:before {
    content: "";
    display: block;
}

.bg-layer {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}

.logo-box {
    width: 10%;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index: 3;
}


.top-text-box {
    font-size: 1.6rem;
    line-height: 2.5;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: left;
    margin: 64px auto 32px;
}

.req {
    color: #FFF;
    font-size: 1.6rem;
    letter-spacing: 1rem;
    padding: 4px 0.5em 6px 1em;
    text-align: center;
    background-color: #de9d43;
    border-radius: 5px;
}

.opt {
    color: #FFF;
    font-size: 1.6rem;
    letter-spacing: 1rem;
    padding: 4px 0.5em 6px 1em;
    text-align: center;
    background-color: #8C8C8C;
    border-radius: 5px;
}

.item {
    padding: 4px 8px 6px 4px;
    font-size: 1.6rem;
    margin-left: 8px;
    text-align: left;
}

.item-box {
    margin-bottom: 32px;
    text-align: left;
}

input, select, textarea {
    font-family: fot-tsukuardgothic-std, 
        "游ゴシック体", YuGothic,
        "メイリオ", sans-serif;
    width: 100%;
    background-color: #FCFCFC;
    border: 1px solid #de9d43;
    font-size: 1.6rem;
}

input, select {
  vertical-align: middle;
  height: 45px;
  padding: 0 4px;
}

.item-box p {
    margin-left: 8px;
}

.item-privacy-box {
    margin: 128px auto;
    text-align: center;
}

.privacy-box {
    height: 200px;
    margin: 16px auto;
    overflow-y: scroll;
    background-color: #FCFCFC;
    border: 1px solid #de9d43;
}

.item-box input,
.item-box textarea {
    margin-top: 8px;
}

.comp-box {
    width: 45%;
    margin: 128px auto;
    font-size: 2.0rem;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.comp-box p:nth-of-type(1) {
    font-size: 2.2rem;
    margin-bottom: 32px;
}

.comp-link-box {
    margin: 64px auto;    
}

.comp-link-box a {
    display: block;    
}

@media screen and (max-width: 1024px) {
    .comp-box  {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .comp-box  {
        width: 80%;
    }
}

@media screen and (max-width: 640px) {
    .comp-box  {
        width: 90%;
        font-size: 1.6rem;
    }
    
    .comp-box p:nth-of-type(1) {
        font-size: 1.8rem;
    }
}



/* ==================================

  Button -  ボタン

================================== */

.btn-box {
    margin: 128px auto;
    text-align: center;
}

.btn-box p {
    margin-top: 16px;
    font-size: 1.4rem;
}

@media screen and (max-width: 640px) {
    .btn-box p {
        font-size: 1.5rem;
    }
}

.button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: auto;
    min-width: 120px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 24px;
    background-color: #101828;
    letter-spacing: 0.5rem;
    padding-left: 0.5rem;
}

.btn-disabled {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: auto;
    min-width: 120px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 24px;
    background-color: rgba(0,0,0,0);
    letter-spacing: 0.5rem;
    padding-left: 0.5rem;
    background-image: linear-gradient(45deg, #DDDDDD 0%, #DDDDDD 100%);
}

.button::after {
    position: absolute;
    z-index: 0;
    border-radius: 24px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition-duration: .3s;
    opacity: 0;
    background-color: #de9d43;
}

.button:hover {
    cursor: pointer;
}

.button:hover::after {
    opacity: 1;
}

.button__inner {
    width: 200px;
    font-size: 1.6rem;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 120px;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    color: #FFF;
    justify-content: center;
    align-items: center;  
}

@media screen and (max-width: 640px) {
    .button__inner {
        font-size: 1.6rem;
    }
}







.contact-area {
    max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 980px) {
  .contact-area {
    width: 90%;
  }
}
@media screen and (max-width: 640px) {
  .contact-area {
    width: 100%;
  }
}

form {
  width: 90%;
  margin: 64px auto;
}



.item-privacy-box {
  margin: 64px 0;
  text-align: center;
}

.item-privacy-box a {
  font-size: 1.4rem;
  transition: all 0.5s ease-out;
  color: #221816;
  padding-bottom: 16px;
  text-decoration: underline;
}

.item-privacy-box a:hover {
  color: #6A5837;
}





textarea {
  padding: 8px;
}

input[type='checkbox'] {
  display: none;
}

label {
  padding-right: 4px;
  cursor: pointer;
}

.questionnaire span {
  display: block;
}

input[type='checkbox'] + label:before {
  font-family: FontAwesome;
  display: inline-block;
}

input[type='checkbox'] + label:before {
  content: "\f096";
} /* unchecked icon */

input[type='checkbox'] + label:before {
  padding-right: 8px;
} /* space between checkbox and label */

input[type='checkbox']:checked + label:before {
  content: "\f046";
} /* checked icon */

input[type='checkbox']:checked + label:before {
  padding-right: 8px;
} /* allow space for check mark */

select::-ms-expand {
  display: none;
}

/* 矢印 */
.select-wrap {
  width: 100%;
  position: relative;
  display: inline-block;
}

.select-wrap::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0px;
  border-bottom: solid 2px #221816;
  border-right: solid 2px #221816;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -4px;
  z-index: 2;
}

.select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 45px;
  position: relative;
  z-index: 1;
  padding: 0 40px 0 10px;
}

input[type='submit'] {
    /*
  border: 2px solid #534741;
  background-color: #534741;
  color: #FFF;
  font-size: 1.4rem;
  */
  /*
    transition: all 0.5s ease-out;
  text-align: center;
  cursor: pointer;
  */
}

input[type='submit']:hover {
    /*
  border: 2px solid #534741;
  background-color: #FFF;
  
  background-color: #F5C534;
    */
}

.alert {
  color: #FF0000;
  font-weight: bold;
}

/* ラジオボタン */
.radio-input {
  display: none;
}

.radio-box span {
  display: block;
  margin-bottom: 4px;
}

.radio-input + label {
  padding-left: 20px;
  position: relative;
  margin-right: 20px;
}
.radio-input + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 1px solid #999;
  border-radius: 50%;
}

.radio-input:checked + label {
  /*color: #d01137;*/
}

.radio-input:checked + label::after{
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 3px;
  width: 9px;
  height: 9px;
  background: #6A5837;
  border-radius: 50%;
}




.submit-button-area {
  width: 90%;
  margin: 64px auto;
}

.submit-button-box {
  width: 49%;
  height: 50px;
  line-height: 50px;
}

.submit-button-box .btn {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #534741;
  background-color: #534741;
  color: #FFF;
  font-size: 1.4rem;
  transition: all 0.5s ease-out;
  text-align: center;
  cursor: pointer;
}

.submit-button-box .btn:hover {
  background: #FFF;
  color: #534741;
  margin-left: 0px;
  margin-top: 0px;
  border: 2px solid #534741;
}

@media screen and (max-width: 640px) {
  /* スマホの場合 */
  .submit-button-box .btn:active {
    background: #FFF;
    color: #534741;
    margin-left: 0px;
    margin-top: 0px;
    border: 2px solid #534741;
  }
}

.button-box {
  width: 350px;
  height: 45px;
  line-height: 50px;
  margin: 8px auto 0;
}

@media screen and (max-width: 640px) {
  .button-box {
    width: 80%;
  }
}

.button-box .btn {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #534741;
  background-color: #534741;
  color: #FFF;
  font-size: 1.4rem;
  transition: all 0.5s ease-out;
  text-align: center;
  cursor: pointer;
}

.button-box .btn:hover {
  background: #FFF;
  color: #534741;
  margin-left: 0px;
  margin-top: 0px;
  border: 2px solid #534741;
}

@media screen and (max-width: 640px) {
  /* スマホの場合 */
  .button-box .btn:active {
    background: #FFF;
    color: #534741;
    margin-left: 0px;
    margin-top: 0px;
    border: 2px solid #534741;
  }
}

.comp-text-box {
  width: 600px;
  margin: 0 auto;
  text-align: left;
}

.err-text {
    text-align: center;
    color: #F00;
    font-weight: bold;
    margin: 32px auto;
}

/* ==================================

  Privacy Policy -  プライバシーポリシー

================================== */

.p-area {
    width: 90%;
    margin: 16px auto;
    text-align: left;
}

.p-area p {
    line-height: 1.8;
    color: #333;
}

.p-area .p-date-box {
    text-align: right;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 64px;
}

.p-area .p-box {
    margin: 32px auto 64px;
}

.p-area .p-box p:nth-of-type(1) {
    text-align: left;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.p-area .p-box a {
    color: #221816;
}

.p-area .p-box p.item-text {
    margin-bottom: 8px;
}

.p-area .p-box p.item-text2 {
    margin-bottom: 32px;
}

.p-area ol {
    counter-reset: section;
    padding-left: 2.5em;
    text-indent: -1.2em;
}

.p-area li {
    list-style: none;
    line-height: 1.8;
}

.p-area ol > li:before {
    content : counters(section, '-') '. ';
    counter-increment : section;
}

.p-area ol li ol {
    margin: 16px 0;
    padding-left: 2.2em;
    text-indent: -2.2em;
}

.p-area ol li ol li ol {
    margin: 16px 0;
    padding-left: 3.2em;
    text-indent: -3.2em;
}


.notes {
    max-width: 800px;
    width: 90%;
    margin: 32px auto;
    text-align: left;
}

@media screen and (min-width: 768px) {
    .notes {
        text-align: center;
    }
}
