/* Offset CSS
=============================================== */

/* SHANON POP UP
-------------------------------------------------------------------------------------- */
.smpWebWidget {
  max-width: 300px;
}
.web-widget-text {
  text-align: center;
}
.smp-widget-area img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.smp-widget-area img:hover {
  cursor: pointer;
}
.smp-widget-button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #67c5ff;
  border: transparent solid 2px;
  border-radius: 3px;
  transition: 0.4s;
  outline: none;
  font-weight: bold;
}

.smp-widget-button:hover {
  background: #67c5ff;
  color: white;
}
.smp-widget-close-button {
  position: absolute;
  top: 1%;
  right: 2%;
  font-size: 26px;
  font-weight: bold;
  border: none;
  color: #999;
  justify-content: center;
  align-items: center;
  border-radius: 15%;
  width: 1.25em;
  height: 1.25em;
  padding: 0;
  cursor: pointer;
  transition: 0.1s;
  text-align: center;
}
.ss-popup-area {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  max-height: 90vh;
  animation: fadeIn 1s ease 0s 1 normal;
  border-radius: 4px;
  z-index: 99999;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*popup html*/
.ss-popup-html-area {
  max-width: 300px;
}
.ss-popup-html-area .smp-widget-content {
  padding: 0 2% 2% 2%;
}
.ss-popup-html-area .smp-widget-header {
  min-width: 300px;
  width: 100%;
  padding: 2%;
}
.ss-popup-html-area .smp-widget-title-text {
  font-size: 1rem;
}
.ss-popup-html-area .smp-widget-body-text {
  margin-bottom: 3%;
  width: 100%;
}
.ss-popup-html-area .smp-widget-image {
  width: 100%;
}
.ss-popup-html-area .smp-widget-button {
  margin-top: 3%;
  width: 100%;
  height: 5vh;
  font-size: 1.25vw;
}
/*form*/
.ss-popup-form-area {
  background-color: #ffffff;
}
.ss-popup-form-area .smp-widget-header {
  height: 3vh;
}

/* Spinner */
.smpForm .ss_submit_loader {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.25);
}
.smpForm .spinner::before {
  content: "";
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100px;
  width: 100px;
  margin-top: -50px;
  margin-left: -50px;
  border-radius: 50%;
  border: 0.5em solid #ffffff;
  border-top-color: rgba(0, 0, 0, 0);
  -webkit-animation: spinner 1s infinite infinite;
  animation: spinner 1s linear infinite;
}

@-webkit-keyframes spinner {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Responsive CSS */
/* PC */
@media screen and (min-width: 768px) {
  .smpForm .ss_grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

/* ipad */
@media screen and (max-width: 767px) {
  .ss-popup-area {
    max-width: 90%;
  }
  .smp-widget-header {
    font-size: 5vw;
  }
  .smp-widget-close-button {
    margin-top: 1%;
    font-size: 4vw;
  }
   .ss-popup-form-area
    .smpForm
    .ss_grid
    input:not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([type="datetime-local"]) {
    width: 100%;
    height: 2.5vh;
    border-radius: 2px;
  }
  .ss-popup-html-area .smp-widget-button {
    width: 100%;
    height: 6vh;
    font-size: 5vw;
    margin-top: 0;
    border-radius: 0;
  }
}

/* Vertical Screen (Smartphone) */
@media screen and (max-width: 480px) {
  .smpForm .ss_leftComment {
    display: block;
    font-size: 3vw;
  }
  .smpForm .ss_grid input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
  }
}


/* SHANON FORM
-------------------------------------------------------------------------------------- */
.smpForm {
  padding: 0 !important;
  margin: 0 !important;
}

.smpForm fieldset {
  margin: 0;
  padding: var(--space-16) 0;
}

@media (max-width: 767px) {

  .smpForm {
    width: 100% !important;
  }

  .smpForm fieldset {
    padding: var(--space-16) 0;
  }

  .smpForm .ss_field:first-child {
    padding: 0;
  }

}

.smpForm .ss_field:not(:first-child):hover,
.smpForm .ss_enquete_field:hover {
  background-color: var(--color-neutral) !important;
}

.smpForm .ss_field:nth-child(odd),
.smpForm .ss_enquete_field:nth-child(even) {
  background-color: var(--color-neutral);
  padding-bottom: 0;
}

.smpForm select,
.smpForm textarea,
.smpForm input[type="text"],
.smpForm input[type="password"],
.smpForm input[type="datetime"],
.smpForm input[type="datetime-local"],
.smpForm input[type="date"],
.smpForm input[type="month"],
.smpForm input[type="time"],
.smpForm input[type="week"],
.smpForm input[type="number"],
.smpForm input[type="email"],
.smpForm input[type="url"],
.smpForm input[type="search"],
.smpForm input[type="tel"],
.smpForm input[type="color"],
.smpForm .uneditable-input {
  display: inline-block;
  width: 100%;
  padding: var(--space-12);
  background-color: var(--color-neutral);
  border: 1px solid var(--color-primary-light-2);
  border-radius: var(--border-radias-xs);
  box-sizing: border-box;
  box-shadow: none;
  font-size: var(--font-size-16);
  vertical-align: middle;
  transition: border linear 0.2s;
}

.smpForm textarea:focus,
.smpForm input[type="text"]:focus,
.smpForm input[type="password"]:focus,
.smpForm input[type="datetime"]:focus,
.smpForm input[type="datetime-local"]:focus,
.smpForm input[type="date"]:focus,
.smpForm input[type="month"]:focus,
.smpForm input[type="time"]:focus,
.smpForm input[type="week"]:focus,
.smpForm input[type="number"]:focus,
.smpForm input[type="email"]:focus,
.smpForm input[type="url"]:focus,
.smpForm input[type="search"]:focus,
.smpForm input[type="tel"]:focus,
.smpForm input[type="color"]:focus,
.smpForm .uneditable-input:focus {
  background-color: var(--color-neutral);
  border-color: var(--color-primary) !important;
  box-shadow: none;
  outline: none;
}

.smpForm input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  width: var(--space-20);
  height: var(--space-20);
  margin: 0.25em 0.5em 0.25em 0.25em;
  background-color: var(--color-neutral);
  border: 1px solid var(--color-primary-light-2);
  border-radius: var(--border-radias-xxs);
  cursor: pointer;
  outline: none;
  vertical-align: -10px;
}

.smpForm input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.smpForm input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 8px;
  height: 12px;
  border-right: 2px solid var(--color-neutral);
  border-bottom: 2px solid var(--color-neutral);
  transform: rotate(45deg);
}

.smpForm input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  width: var(--space-20);
  height: var(--space-20);
  margin: 0.25em 0.5em 0.25em .1em;
  background-color: var(--color-neutral);
  border: 1px solid var(--color-primary);
  border-radius: 50vh;
  cursor: pointer;
  outline: none;
  vertical-align: -10px;
}

.smpForm input[type="radio"]:checked {
  background-color: var(--color-primary);
}

.smpForm input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 8px;
  height: 12px;
  border-right: 2px solid var(--color-neutral);
  border-bottom: 2px solid var(--color-neutral);
  transform: rotate(45deg);
}

.smpForm .ss_required_field input:focus,
.smpForm .ss_enquete_field input:focus,
.smpForm .ss_required_field textarea:focus,
.smpForm .ss_enquete_field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 6px var(--color-neutral-light-3);
}

.smpForm select {
  border-color: #EFEFEF !important;
}

.smpForm select:focus,
.smpForm input[type="file"]:focus {
  background-color: var(--color-neutral);
  outline: 1px solid var(--color-primary-dark-1);
  outline-offset: -2px;
}

.smpForm .label,
.smpForm .badge {
  display: inline-block;
  padding: 2px 4px;
  font-size: var(--font-size-12);
  font-weight: bold;
  line-height: 14px;
  color: var(--color-neutral);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #999999;
}

.smpForm .label {
  border-radius: 4px;
  vertical-align: top;
}

.smpForm .badge {
  padding-right: 9px;
  padding-left: 9px;
  border-radius: 9px;
}

.smpForm .label:empty,
.smpForm .badge:empty {
  display: none;
}

.smpForm a.label:hover,
.smpForm a.label:focus,
.smpForm a.badge:hover,
.smpForm a.badge:focus {
  color: var(--color-neutral);
  text-decoration: none;
  cursor: pointer;
}

.smpForm .ss_contents fieldset {
  padding-top: var(--space-20);
  padding-bottom: 0;
  border: none;
}

.smpForm .ss_form_title {
  margin-bottom: 0.5em;
  color: var(--color-primary);
  font-size: var(--font-size-18);
  font-weight: bold;
}

.smpForm .ss_grid,
.smpForm .ss_input {
  display: block;
}

/* Form */
.smpForm #ss_name .ss_grid,
.smpForm #ss_name_ka .ss_grid,
.smpForm #ss_company_name .ss_grid,
.smpForm #ss_zip .ss_grid,
.smpForm #ss_prefecture_master_id .ss_grid,
.smpForm #ss_address1 .ss_grid,
.smpForm #ss_address2 .ss_grid,
.smpForm #ss_address3 .ss_grid,
.smpForm #ss_tel .ss_grid,
.smpForm #ss_email .ss_grid,
.smpForm #ss_email_conf .ss_grid {
  display: flex;
  gap: 0 var(--space-20);
  width: 100%;
}

/* 2Form */
.smpForm #ss_name .ss_grid .ss_input:first-child,
.smpForm #ss_name_ka .ss_grid .ss_input:first-child {
  width: calc((100% - 5em) / 2);
}

.smpForm #ss_name .ss_grid .ss_leftComment,
.smpForm #ss_name_ka .ss_grid .ss_leftComment {
  display: block;
}

.smpForm #ss_name .ss_grid .ss_input:nth-child(2) input,
.smpForm #ss_name_ka .ss_grid .ss_input:nth-child(2) input {
  flex: 1;
}

.smpForm #ss_name .ss_grid .ss_input:nth-child(2)  input,
.smpForm #ss_name_ka .ss_grid .ss_input:nth-child(2)  input {
  width: calc(100% - 3.5em);
}

.smpForm #ss_name .ss_grid .ss_input + .ss_input,
.smpForm #ss_name_ka .ss_grid .ss_input + .ss_input {
  flex: 1;
}

.smpForm #ss_name_ka .ss_grid .ss_input + .ss_input input {
  width: 100%;
}

@media (max-width: 767px) {

  .smpForm #ss_name .ss_grid .ss_input:first-child,
  .smpForm #ss_name_ka .ss_grid .ss_input:first-child {
    width: 100%;
  }

}

/* 2Form(ZIP) */
.smpForm #ss_zip .ss_grid .ss_input {
  flex-basis: 18em;
}

.smpForm #ss_zip .ss_grid .ss_input input {
  width: 100%;
}

.smpForm #ss_zip .ss_grid .ss_input + .ss_input {
  flex: 1;
}

.smpForm #ss_zip .ss_grid .ss_leftComment {
  margin: 0 1em;
}

.smpForm #ss_zip .ss_grid .ss_input + .ss_input input {
  width: 30rem;
}

/* 1Form */
.smpForm #ss_company_name .ss_grid .ss_input,
.smpForm #ss_division .ss_grid .ss_input,
.smpForm #ss_position .ss_grid .ss_input,
.smpForm #ss_address1 .ss_grid .ss_input,
.smpForm #ss_address2 .ss_grid .ss_input,
.smpForm #ss_address3 .ss_grid .ss_input,
.smpForm #ss_tel .ss_grid .ss_input,
.smpForm #ss_email .ss_grid .ss_input,
.smpForm #ss_email_conf .ss_grid .ss_input {
  flex-basis: 100%;
}

.smpForm #ss_company_name .ss_grid .ss_input input,
.smpForm #ss_division .ss_grid .ss_input input,
.smpForm #ss_position .ss_grid .ss_input input,
.smpForm #ss_address1 .ss_grid .ss_input input,
.smpForm #ss_address2 .ss_grid .ss_input input,
.smpForm #ss_address3 .ss_grid .ss_input input,
.smpForm #ss_tel .ss_grid .ss_input input,
.smpForm #ss_email .ss_grid .ss_input input,
.smpForm #ss_email_conf .ss_grid .ss_input input {
  width: calc(100% - 18rem);
}

/* 2Form(Prefectures) */
.smpForm #ss_prefecture_master_id .ss_grid .ss_input {
  flex-basis: 51rem;
}

.smpForm #ss_prefecture_master_id .ss_grid .ss_input input {
  width: 100%;
}

@media (max-width: 767px) {

  .smpForm #ss_name .ss_grid,
  .smpForm #ss_name_ka .ss_grid,
  .smpForm #ss_company_name .ss_grid,
  .smpForm #ss_prefecture_master_id .ss_grid,
  .smpForm #ss_address1 .ss_grid,
  .smpForm #ss_address2 .ss_grid,
  .smpForm #ss_address3 .ss_grid,
  .smpForm #ss_tel .ss_grid,
  .smpForm #ss_email .ss_grid,
  .smpForm #ss_email_conf .ss_grid {
    flex-direction: column;
  }

  .smpForm #ss_name .ss_grid .ss_input,
  .smpForm #ss_name_ka .ss_grid .ss_input {
    flex-basis: auto;
  }

  .smpForm #ss_name .ss_grid .ss_input input,
  .smpForm #ss_name_ka .ss_grid .ss_input input {
    width: 100%;
  }

  .smpForm #ss_name .ss_grid .ss_input + .ss_input,
  .smpForm #ss_name_ka .ss_grid .ss_input + .ss_input {
    margin: 20px 0 0 0;
  }

  .smpForm #ss_name .ss_grid .ss_input + .ss_input input,
  .smpForm #ss_name_ka .ss_grid .ss_input + .ss_input input {
    width: 100%;
  }

  .smpForm #ss_zip .ss_grid .ss_input {
    width: 30%;
    flex-basis: auto;
  }

  .smpForm #ss_zip .ss_grid .ss_input + .ss_input {
    width: 70%;
  }

  .smpForm #ss_zip .ss_grid .ss_input + .ss_input input {
    width:calc(100% - 4rem);
  }

  .smpForm #ss_zip .ss_grid .ss_leftComment {
    display: inline-block !important;
  }

  .smpForm #ss_prefecture_master_id .ss_grid .ss_input {
    width: 100%;
    flex-basis: auto;
  }

  .smpForm #ss_company_name .ss_grid .ss_input input,
  .smpForm #ss_division .ss_grid .ss_input input,
  .smpForm #ss_position .ss_grid .ss_input input,
  .smpForm #ss_address1 .ss_grid .ss_input input,
  .smpForm #ss_address2 .ss_grid .ss_input input,
  .smpForm #ss_address3 .ss_grid .ss_input input,
  .smpForm #ss_tel .ss_grid .ss_input input,
  .smpForm #ss_email .ss_grid .ss_input input,
  .smpForm #ss_email_conf .ss_grid .ss_input input {
    width:100%;
  }

  .smpForm #ss_prefecture_master_id .ss_grid .ss_input {
    flex-basis: auto;
  }

}

.smpForm .ss_privacy {
  margin: 0;
  padding: var(--space-16) var(--space-20);
  background-color: var(--color-neutral-light-4);
  border-radius: var(--border-radias-sm);
  word-break: break-all;
}

.smpForm .ss_privacy_field {
  padding: 0 !important;
}

.smpForm .ss_privacy_field,
.smpForm .ss_privacy_field .ss_grid {
  background-color: transparent;
}

.koe-link {
  position: relative;
  display: inline-block;
  margin-top: 0.5em;
  padding-left: 1.75em;
}

.koe-link::after {
  content: '\f0a9';
  position: absolute;
  left: 0;
  color: var(--color-primary-light-1);
  font-family: "Font Awesome 7 Free";
  font-size: 1.25em;
  font-weight: 900;
  line-height: 1.36;
}

.smpForm .ss_upComment,
.smpForm .ss_leftComment,
.smpForm .ss_rightComment,
.smpForm .ss_bottomComment {
  font-size: 87.5%;
  line-height: 1.7;
}

.smpForm .ss_upComment {
  margin-bottom: 0.5em;
}

.smpForm .ss_leftComment {
  color: var(--color-text);
}

.smpForm .ss_rightComment {
  margin-left: 0.5em;
}

.smpForm .ss_bottomComment {
  margin-top: 0.5em;
}

@media (max-width: 767px) {

  .smpForm .ss_upComment,
  .smpForm .ss_leftComment,
  .smpForm .ss_rightComment,
  .smpForm .ss_bottomComment {
    display: block;
    margin-right: 0;
    margin-left: 0;
  }

  .smpForm .ss_rightComment {
    margin-bottom: 0.5em;
  }

}

.smpForm .ss_enquete_form {
  background-color: var(--color-neutral);
}

.smpForm .ss_enquete_title {
  margin-bottom: 0.5em;
  color: var(--color-primary);
  font-size: var(--font-size-18);
  font-weight: bold;
}

@media (max-width: 767px) {

  .smpForm .ss_enquete_form .ss_grid .ss_input table,
  .smpForm .ss_enquete_form .ss_grid .ss_input tbody,
  .smpForm .ss_enquete_form .ss_grid .ss_input tr,
  .smpForm .ss_enquete_form .ss_grid .ss_input th,
  .smpForm .ss_enquete_form .ss_grid .ss_input td {
    display: block;
  }

  .smpForm .ss_enquete_form .ss_grid .ss_input th,
  .smpForm .ss_enquete_form .ss_grid .ss_input td {
    padding: 6px 0 6px 24px;
  }

}

.smpForm .ss_user_notnull {
  display: inline-block;
  position: relative;
  margin-left: 0.5em;
  padding-right: 2.2em;
  color: #DB406E;
  font-size: var(--font-size-14);
}

.smpForm .ss_user_notnull::after {
  content: '必須';
  display: inline-block;
  position: absolute;
  top: auto;
  right: 0;
  font-weight: normal;
  text-align: center;
}

.smpForm .ss_btnArea {
  margin-top: 2vh;
}

.smpForm .ss_btnArea input {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.25em 0.5em;
  min-width: 30rem;
  padding: var(--space-16) var(--space-20) var(--space-16) var(--space-24);
  background: var(--color-btn-cp) url("/asset/images/icon-download.svg") no-repeat 96% center;
  background-size: 2.5em;
  border: none;
  border-radius: var(--border-radias-btn-cp);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: var(--color-neutral) !important;
  font-weight: 700;
  line-height: 1.7;
  transition: 0.4s;
}

.smpForm .ss_btnArea input:hover,
.smpForm .ss_btnArea input:active,
.smpForm .ss_btnArea input:focus {
  cursor: pointer;
}

@media (min-width: 1281px) {

  .smpForm .ss_btnArea input {
    font-size: var(--font-size-24);
  }

}

@media (min-width: 768px) and (max-width: 1280px) {

  .smpForm .ss_btnArea input {
    font-size:var(--font-size-lg);
  }

}

@media (max-width: 767px) {

  .smpForm .ss_btnArea input {
    min-width: 0;
    width: 100%;
    background-size: 6vh;
    padding: var(--space-18) var(--space-12);
    font-size: var(--font-size-20);
  }

}

.smpForm .ss_btnArea input:hover {
  background-color: var(--color-btn-cp-hover);
}

.smpForm .ss_btnArea p {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

@media (max-width: 767px) {

  .smpForm .ss_btnArea p {
    display: block;
  }

}
