@charset "UTF-8";

body {
font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: #f9f9f9;
    padding: 80px 30px 30px;
    color: #333;
    line-height: 1.7;
    font-size: 14px;
}

p{
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
form{
    width: 750px;
    margin: 0 auto;
}
.form-wrapper {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}
.form-wrapper .wpcf7{
    margin: 0;
    list-style-type: disc;
    border-top: solid 1px #b0b0b0;
    padding: 40px 0 20px;    
}

h1 {
    font-size: 28px;
    margin: 25px;
    text-align: center;
}
.logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    z-index: 999;
}
.form-desc {
font-size: 14px;
        margin: 0 auto 50px;
    text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

form p{
    margin-bottom: 25px;
    text-align: left;
}

input[type="text"],
textarea {
  width: 100%;
  margin-top: 5px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px;
  box-sizing: border-box;
}
input[type="email"],
textarea {
  width: 100%;
  margin-top: 5px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px;
  box-sizing: border-box;
}
input[type="tel"],
textarea {
  width: 100%;
  margin-top: 5px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 18px;
  box-sizing: border-box;
}


textarea {
  resize: vertical;
}

.consent {
  font-size: 14px;
}

.consent input {
  margin-right: 6px;
}

.privacy-box {
  background: #f4f4f4;
  padding: 20px;
  font-size: 14px;
  border-radius: 8px;
  margin-top: 30px;
}

.privacy-box h2 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #00163e;
}

.privacy-scroll {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
  line-height: 1.7;
  scrollbar-width: thin;
}

.privacy-scroll::-webkit-scrollbar {
  width: 8px;
}

.privacy-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

button {
  background-color: #00163e;
  color: #fff;
  font-size: 16px;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #333;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.wpcf7-list-item label{
    margin: 40px 20px 30px 0;
    font-size: 13px;
    text-align: center;
    display: contents;
    align-items: baseline;
    justify-content: center;
}
.wpcf7-form-control-wrap .wpcf7-list-item{
    margin: 0 5px 0 15px;
}
.radio_btn{
        margin-bottom: 0;
}

.wpcf7-textarea{
    margin-bottom: 5px;
}

.wpcf7-submit{
    width: 320px;
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    display: block;
    margin: 10px auto 20px;
    cursor: pointer;
    transition: opacity 0.2s ease, cursor 0.2s ease;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.wpcf7-submit:hover {
  opacity: 0.8;
}

.wpcf7-previous{
    width: 320px;
    border: solid 1px #333;
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    display: block;
    margin: 90px auto 10px;
    cursor: pointer;
    transition: opacity 0.2s ease, cursor 0.2s ease;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.wpcf7-previous:hover {
  opacity: 0.8;
}

input[type="checkbox"]{
    transform: translateY(2px);
}

/*
.screen-reader-response ul{
    display: none
}
.wpcf7-response-output{
        display: none
}
*/


.screen-reader-response p{
    text-align: center;
    margin-bottom: 50px;
}



.after-br-text {
    display: block;
    width: 100%;
    overflow-wrap: break-word;
}


.wpcf7-response-output{
    color: red;
    border: solid 1px red!important;
}

.wpcf7-not-valid-tip{
    color: #dc3232;
    font-size: 12px;
    font-weight: normal;
    display: block;
}

#agree-checkbox{
    text-align: center;
    display: block;
    margin-right: 13px;
}

.wpcf7-submit:disabled{
        cursor: not-allowed;
    opacity: 0.4;
}

.acceptance{
    text-align: center;
    display: block;
    margin: 15px 0 80px;
}

.wpcf7-acceptance input[type="checkbox"] {
  vertical-align: middle;
  margin: 0 6px 0 0;
}

.privacy-scroll {
    max-height: 150px;
    overflow-y: auto;
    margin-top: 50px;
    padding: 20px;
    line-height: 1.7;
    scrollbar-width: thin;
    background-color: #f2f2f2;
}
