@charset "utf-8";

form.otoiawase-form {
  padding: 60px 10%;
  max-width: 920px;
  border-radius: 15px;
  margin: 50px auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid lightgray;
}
.oto-table input[type="text"], .oto-table input[type="url"], .oto-table input[type="email"], .oto-table input[type="tel"], .oto-table textarea {
  line-height: 1.5;
  border: 1px solid gray;
  padding: 12px;
  width: 85%;
  font-size: 1em;
  border-radius: 4px;
}
 .oto-table textarea {height: 180px;width: 93%;}
.oto-table input[type="number"], .oto-table input[type="date"]{
  line-height: 1.5;
  border: 1px solid gray;
  padding: 12px;
  width: 150px;
  font-size: 1em;
  letter-spacing: 1px;
  text-align:center;
  border-radius: 4px;
}
.oto-table select {
  padding: 12px;
  font-size: 1em;
  border-radius: 4px;
}
.oto-form-control-wrap input[type="email"]:nth-of-type(2){
  margin-top: 10px;
}
.oto-table input.p-postal-code,.oto-table input.p-region, .oto-table input.p-locality{max-width: 250px;display: block;margin-bottom: 10px;}
.oto-table input.p-street-address{
  width: 85%;
}
.oto-req,.oto-opt {
  font-size: .85em;
  padding: 0 7px;
  line-height: 1;
  letter-spacing: .2em;
  background: darkred;
  color: #fff;
  border-radius: 50px;
  margin-right: .5em;
}
.oto-opt {
  font-size: .85em;
  padding: 0 7px;
  line-height: 1;
  letter-spacing: .2em;
  background: #61b1f0;
  color: #fff;
  border-radius: 50px;
  margin-right: .5em;
}
.oto-unreq {
  font-size: .9em;
  padding: 5px;
  background: #bdbdbd;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}
form.otoiawase-form button {
  background-color: gray;
  border: 0;
  color: #fff;
  padding: 10px 10%;
  border-radius: 5px;
  font-size: 1em;
}
form.otoiawase-form button{
  margin: 20px auto 0;
}
form.otoiawase-form button:hover {
  opacity: .8;
}
.oto-clear-file,.oto-uploaded-message {
    display: none;
}
.oto-step-confirm .oto-clear-file,.oto-step-confirm .oto-uploaded-message {
    display: block;
}
.oto-step-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2em;
  position: relative;
  max-width: 650px;
  margin-inline: auto;
  padding: 0 20px;
}

.oto-step-bar .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
  font-size: 0.9em;
}

.oto-step-bar .step::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ccc;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 5px;
  font-weight: bold;
}

.oto-step-bar .step.active::before,
.oto-step-bar .step.completed::before {
  background: rgba(255,105,0,1);
}
.oto-step-bar::before {
  content: '';
  position: absolute;
  top: 14px;
  max-width: 450px;
  margin: 0 auto;
  left: 0;
  right: 0;
  height: 2px;
  background: #ccc;
  z-index: 0;
}

.oto-step-bar .step::before {
  background: #ccc;
}
#oto-loading-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.oto-loading-text {
  animation: fadeIn 0.3s ease-in-out;
  text-align: center;
  background: color(srgb 0 0 0 / 0.64);
  color: #fff;
  padding: 50px 0;
  width: 70%;
  max-width: 400px;
  border-radius: 15px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.oto-spinner {
  border: 4px solid #ffffff40;
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#otoiawase-submit-button, #otoiawase-conversion,.otoiawase-back-button {
  background-color: orange;
  color: #fff;
  transition: background-color 0.3s ease;
}
#otoiawase-conversion, .otoiawase-back-button {
 padding: 10px 5%;
 margin: 10px 5px;
 border: none;
 border-radius: 5px;
 }
.oto-file-info {font-size: .85em;}
.oto-file-drop {
  position: relative;
  border: 2px dashed #aaa;
  border-radius: 8px;
  background-color: #f9f9f9;
  padding: 2em;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s;
  cursor: pointer;
}
#otoiawase-conversion:hover, .otoiawase-back-button:hover {
 opacity:.8 }
.oto-file-drop:hover,
.oto-file-drop.dragover {
  border-color: #2196f3;
  background-color: #e8f4fd;
}

.oto-file-drop .oto-file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  top: 0;
  left: 0;
  z-index: 5;
}
.oto-radio-group label {
    margin-right: .5em;
}
.oto-file-drop-label {
  position: relative;
  z-index: 2;
  font-size: .85em;
}
.oto-file-item {
  font-size: .8em;
  position: relative;
  padding: 0;
  display: inline-flex;
  align-items: center;
  max-width: 300px;
  width: 90%;
  margin: 8px auto;
  text-align: left;
}
.oto-file-item img{
  vertical-align: top;
}
.oto-file-item span{
}
.oto-file-name {
  padding: 0 5%;
  text-align: left;
  border-radius: 10px;
  margin: 20px auto 0;
  max-width: 300px;
}
.oto-table td span.oto-list-item,.branch-radio-select label {margin-right: .5em;white-space: nowrap;}
.oto-table td span.oto-list-item:last-child {margin-right: 0;}
form.otoiawase-form button.oto-file-remove {
  background-color: darkred;
  border: 0;
  color: #fff;
  padding: 2px 0;
  min-width: 45px;
  border-radius: 20px;
  z-index: 9;
  font-size: .85em;
  margin: 0;
}
.oto-file-button {
  display: inline-block;
  margin-top: 0.3em;
  color: #2196f3;
  font-weight: bold;
  border-bottom: 1px dotted #2196f3;
  cursor: pointer;
}

.oto-file-error {
  margin-top: 0.5em;
  color: red;
  font-size: 0.9em;
}
.branch-group .oto-form-control-wrap {
  padding: 1.5% 3.5% 3.5%;
  background: #f5f5f5;
  margin-bottom: 10px;
  }
.branch-group .oto-form-control-wrap .oto-form-label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  font-size: .9em;
  vertical-align: top;
  }
.branch-group .oto-form-control-wrap .oto-form-koumoku p {
  margin-bottom: 0;
  font-size: .9em;
  }
.branch-group .oto-form-control-wrap .oto-form-koumoku label{margin-right:10px;white-space: nowrap;} 
.otoiawase-form .oto-description{font-size: .8em;margin-top: 8px;color: gray;}
.oto-consent-kiyaku {
  border: 1px solid gray;
  padding: 20px;
  margin-bottom: 0.5em;
  height: 100px;
  overflow-y: auto;
  font-size: 0.9em;
  line-height: 1.6;
}
.h-adr .oto-error-message{
    margin-bottom: .85em;
}
.branch-radio-select label {
  display: inline-block;
  margin: 0.3em;
  cursor: pointer;
}

.branch-radio-select input[type="radio"] {
  display: none;
}

.branch-radio-select span {
  display: inline-block;
  padding: 0.5em 1.2em;
  border: 2px solid #aaa;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #333;
  transition: all 0.3s ease;
}

.branch-radio-select input[type="radio"]:checked + span {
  background-color: orange;
  color: #fff;
  border-color: orange;
}
.branch-radio-select label {
  display: inline-block;
  margin: 0.3em;
  cursor: pointer;
}

.branch-radio-select input[type="radio"] {
  display: none;
}

.branch-radio-select span {
  display: inline-block;
  padding: 0.5em 1.2em;
  border: 1px solid #aaaaaa;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #333;
  transition: all 0.3s ease;
}

.branch-radio-select input[type="radio"]:checked + span {
  background-color: #2196f3;
  color: #fff;
  border-color: #2196f3;
}
.oto-table .your_website_url {
    display: none;
}
.oto-table .dashicons-arrow-right-alt2:before {
        font-size: .7em;
    }
.oto-table .oto-heading-row td {
    border-bottom: none;
    padding: 20px 0;
}
.oto-heading-row h3 {
  font-size: 1.25em;
  font-weight: 600;
  margin: 0;
  padding: 0.6em 1em;
  background: #e8f4fd;
  border-left: 5px solid #2196f3;
}
.oto-table tr:nth-child(n+2):has(+ tr.oto-heading-row) th,
.oto-table tr:nth-child(n+2):has(+ tr.oto-heading-row) td {
  border-bottom: none !important;
}
.oto-encryption-badge {
  display: flex;
  align-items: center;
  gap: 1em;
  max-width: 500px;
  margin: 2em auto;
  width: 80%;
  padding: 1em;
  background: #f6f9ff;
  border: 1px solid #d0e3f7;
  border-radius: 8px;
  font-size: 0.95em;
  color: #333;
}

.oto-encryption-badge img {
  max-width: 120px;
  height: auto;
}

.oto-encryption-text {
  margin: 0;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .oto-table th {
    width: 25%;
    text-align: left;
    border-bottom: 1px solid lightgray;
    font-size: .85em;
  }
  .oto-table td {
    border-bottom: 1px solid lightgray;
    padding: 28px 0;
  }
}
@media screen and (max-width: 1023px) {
form.otoiawase-form {
    padding: 20px 3%;
    max-width: 920px;
    margin: 20px auto;
}
  }
@media screen and (max-width: 767px) {
  .oto-encryption-badge {
  font-size: 0.8em;
  margin-top: 0;
}

.oto-encryption-badge img {
  max-width: 90px;
  height: auto;
}
      form.otoiawase-form {
        padding: 0;
        max-width: 920px;
        margin: 20px auto;
    }
  .oto_req {margin-right: 5px;}
  .oto-table tr, .oto-table td, .oto-table th {
    display: block;
    line-height: 1.2em;
  }
  .oto-file-info {
    margin: 8px 0 0;
}
  .oto-table td {
    padding: 5%;
    width: 90%;
  }
  .oto-table th {
    background: var(--navi-bg);
    text-align: left;
    padding: 10px;
    font-size: .8em;
  }
  form.otoiawase-form button {
    margin: 0 auto 25px;
}
  .oto-table input[type="text"], .oto-table input[type="url"], .oto-table input[type="email"], .oto-table input[type="tel"], .oto-table textarea {
    width: 90%;
  }
.oto-table textarea {
    height: 100px;
    width: 93%;
}
}
