@charset "utf-8";
/* CSS Document */

/* 全体 */
body {
  overflow-wrap: anywhere;
  word-break: break-all;
  line-break: strict;
}

p {
  text-align: justify;
  word-break: break-all;
}

/* =============== */
/* 　　 index 　　　*/
/* =============== */
.hours-attention {
  text-indent: -1em;
  padding-left: 1em;
}

.busihours-square {
  margin-right: 5px;
  color: #008db7;
}

.contact-index p:nth-child(3) {
  margin-top: 40px;
}

.contact-flex {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
}

.contact-flex li {
  flex: 1 1 0;
}

.category-inner {
  transform: scale(1);
  transform-origin: center;
  height: 100%;
  border-radius: 10px;
  box-shadow: 2px 2px 4px #b7b7b7;
  background-color: #fff;
  transition: transform 0.2s ease;
}

.contact-container {
  position: relative;
  height: 100%;
  padding: 40px 30px 60px;
}

.contact-container p {
  letter-spacing: 0;
  line-height: 1.7;
}

.contact-h3 {
  position: relative;
  margin-bottom: 10px;
  padding-top: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0;
}

.contact-h3::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 0.8em;
  height: 0.2em;
  background-color: #008db7;
  content: "";
}

.contact-container .link-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 4rem;
  height: 4rem;
  background-color: #efefef;
}

.contact-container .link-btn::before {
  width: 0.8rem;
  height: 0.8rem;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
}

.contact-break {
  display: none;
}

.category-inner:hover {
  transform: scale(1.02);
}

/* ------------------------------------------------
   responsive  index
------------------------------------------------- */
/* 1439～960px ---------------------------------- */
@media screen and (max-width: 1439px) {
}

@media screen and (max-width: 1199px) {
  .contact-container {
    padding: 30px 20px 60px;
  }

  .contact-h3 {
    font-size: 1.6rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 1099px) {
  /* index */
  .contact-h3 {
    height: 62px;
  }

  /* .contact-category {
    height: 280px;
  } */

  .contact-break {
    display: block;
  }
}

/* 959～560px tab -------------------------------- */
@media screen and (max-width: 959px) {
  /* index */
  .contact-h3 {
    height: auto;
  }

  .contact-flex {
    flex-direction: column;
    gap: 20px;
  }

  .contact-category {
    width: 65%;
    margin: 0 auto;
  }

  .contact-container {
    padding: 30px;
  }

  .contact-container p {
    width: 85%;
  }

  .contact-break {
    display: none;
  }

  .contact-container .link-btn {
    bottom: 30px;
    right: 25px;
  }
}

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

  .contact-h3::before {
    top: 6px;
  }
}

/* 559px～ SP -------------------------------- */
@media screen and (max-width: 559px) {
  .contact-flex {
    margin-top: 40px;
  }

  .contact-category {
    width: 90%;
  }

  .contact-container {
    padding: 24px 26px 30px;
  }

  .contact-container p {
    width: 100%;
    line-height: 1.3;
    font-size: 1.5rem;
  }

  .contact-break {
    display: block;
  }

  .contact-container .link-btn {
    display: none;
  }
}

/* ======================= */
/*    form                 */
/* ======================= */
/* step全体 */
.contact-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 40px;
}

.step {
  display: flex;
  align-items: center;
}

/* 丸 */
.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #c8c8c8;
  color: #fff;
  font-size: 1.3rem;
}

/* アクティブ */
.circle.is-active {
  transform: scale(1.3);
  background: #008db7;
  color: #fff;
}

/* 横棒 */
.line {
  width: 140px;
  height: 2px;
  margin: 0 45px;
  background: #c8c8c8;
}

.form-intro {
  margin-top: 60px;
  text-align: center;
}

/* form ------------------------------*/
.form-container {
  margin: 120px 0 60px;
}

.formTable {
  width: 100%;
  margin: 50px auto;
  border-collapse: collapse;
}

.formTable tr {
  border-top: solid 1px #c8c8c8;
}

.formTable tr:first-child {
  border-top: none;
}

.formTable th {
  width: 250px;
  padding: 40px 10px 40px 28px;
}

.formTable td {
  padding: 40px 28px 40px 20px;
}

.formTable label {
  font-size: 1.6rem;
}

.formTable .label-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6rem;
}

/* 入力エリア */
.formTable .inputArea {
  width: 100%;
  height: 40px;
  padding-left: 10px;
  background-color: #efefef;
  font-size: 1.4rem;
}

.formTable textarea {
  width: 100%;
  height: 200px;
  padding: 10px;
  background-color: #efefef;
}

/* ※必須 */
.formTable .required {
  color: #008db7;
  font-size: 1.1rem;
  vertical-align: middle;
}

/* 補足 */
.formTable small {
  display: block;
  color: #999;
  font-size: 1.1rem;
}

/* 添付file */
.file-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-input {
  display: none;
}

.file-wrapper label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: #008db7;
  border: solid 0.8px #008db7;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.file-wrapper label:hover {
  background-color: #fff;
  color: #008db7;
  transition: 0.2s;
}

.file-name {
  color: #333;
  font-size: 1.2rem;
}

/* ラジオボタン */
.radio-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 160px);
  row-gap: 16px;
}

.radioinp {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radioinp + label {
  position: relative;
  padding-left: 20px;
  cursor: pointer;
}

.radioinp + label::before {
  position: absolute;
  top: 52%;
  left: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.radioinp:checked + label::after {
  position: absolute;
  top: 52%;
  left: 8px;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #313131;
  content: "";
}

.radio-label {
  display: inline-block;
  font-size: 1.6rem;
  vertical-align: middle;
}

/* -------------------------------
　エラー設定 
------------------------------- */
/* 添付ファイル */
.file-error {
  margin-top: 5px;
  color: #008db7;
  font-size: 1.1rem;
}

/* アドレス不一致 */
.email-error {
  display: none;
  margin-top: 5px;
  color: #008db7;
  font-size: 1.1rem;
}

.email-error.is-visible {
  display: block;
}

/* 未入力*/
.inputRequired.error,
textarea.error {
  border: 2px solid #008db7;
}

.radio-wrapper.error {
  padding: 6px;
  border: 2px solid #008db7;
  border-radius: 4px;
}

.error-message {
  display: none;
  color: #008db7;
  font-size: 1.1rem;
}

.error-message.is-visible {
  display: block;
}

/* お問合せにあたってのご注意 */
.attention-box {
  margin: 60px 0;
  padding: 30px;
  border: solid 1px #c8c8c8;
}

.attention-h3 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: bold;
}

.attention-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.5;
  text-align: justify;
}

.incharge {
  display: inline-block;
  margin-top: 20px;
  border-bottom: solid 1.5px #333;
  font-weight: 500;
}

.exlink {
  color: #008db7;
}

.exlink:hover {
  border-bottom: 1px solid #008db7;
  transition: opacity 0.3s fade-in;
}

.consent {
  margin-bottom: 60px;
  text-align: center;
}

.btn-flex {
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-block;
  width: 200px;
  height: 50px;
  border: 1px solid transparent;
  background-color: #333;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn:hover {
  border-color: #333;
  background: #fff;
  color: #333;
}

/* ------------------------------------------------
   responsive  form
------------------------------------------------- */
/* 1439～960px ---------------------------------- */
@media screen and (max-width: 1439px) {
}

@media screen and (max-width: 1199px) {
  /* step */
  .line {
    width: 120px;
    margin: 0 30px;
  }
}

@media screen and (max-width: 1099px) {
  .radio-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 959～560px tab -------------------------------- */
@media screen and (max-width: 959px) {
  /* step */
  .circle {
    width: 70px;
    height: 70px;
  }
}

@media screen and (max-width: 768px) {
  /* step */
  .contact-steps {
    margin: 50px auto;
  }
  .circle {
    width: 60px;
    height: 60px;
  }

  .line {
    width: 80px;
    margin: 0 30px;
  }

  .form-container {
    margin-top: 80px;
  }

  .formTable th {
    display: block;
    width: auto;
    padding: 25px 20px 5px;
  }

  .formTable td {
    display: block;
    padding: 5px 20px 20px;
  }
}

/* 559px～ SP -------------------------------- */
@media screen and (max-width: 559px) {
  /* step */
  .circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .line {
    width: 30px;
    margin: 0 20px;
  }

  .form-intro {
    text-align: justify;
  }

  .formTable {
    margin-top: 0;
  }

  .input-area {
    margin-top: 20%;
  }

  .btn {
    width: 150px;
  }

  .radio-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .attention {
    margin: 40px 0;
  }

  .attention-box {
    max-height: 250px;
    margin: 40px 0;
    padding: 33px 27px 33px 20px;
    overflow-y: auto;
    -webkit-overflow-scrollng: touch;
  }

  .exlink {
    border-bottom: 1px solid #008db7;
  }

  .exlink:hover {
    border-bottom: none;
  }

  .consent {
    margin-bottom: 40px;
    text-align: justify;
  }
}

/* ============= */
/*   確認ページ   */
/* ============= */
.tableColor {
  width: 100%;
  margin: 50px auto;
  border-collapse: collapse;
}

.tableColor tr {
  border-bottom: 1px solid #c8c8c8;
}

.tableColor th {
  width: 250px;
  padding: 45px 10px 45px 28px;
}

.tableColor td {
  padding: 45px 28px 45px 20px;
}

.contact-cont h4 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
}

#formWrap h4 {
  margin-bottom: 50px;
  font-size: 18px;
}

.textAlign {
  text-align: center;
}

.btnWrap {
  display: flex;
  justify-content: center;
  gap: 0 200px;
  width: 700px;
  margin: 20px auto 0;
}

/* ------------------------------------------------
   responsive  check
------------------------------------------------- */
/* 1439～960px ---------------------------------- */
@media screen and (max-width: 1439px) {
}

@media screen and (max-width: 1199px) {
}

/* 959～560px tab -------------------------------- */
@media screen and (max-width: 959px) {
  .btnWrap {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    gap: 20px 0;
  }
}

@media screen and (max-width: 768px) {
  .tableColor tr {
    border-bottom: none;
  }

  .tableColor th {
    display: block;
    width: auto;
    padding: 10px 20px;
    background: #efefef;
  }

  .tableColor td {
    display: block;
    padding: 10px 20px 20px;
  }
}

/* 559px～ SP -------------------------------- */
@media screen and (max-width: 559px) {
  .textAlign {
    text-align: justify;
  }
}

/* =============== */
/*   送信完了画面   */
/* =============== */
.thanks-h3 {
  margin-bottom: 100px;
  font-size: 3rem;
  font-weight: 700;
}

.thanks-message {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 45px;
  width: 600px;
  margin: 130px auto 0;
}

.thanks-message p {
  text-align: center;
}

.companyname {
  font-size: 1.6rem;
}

/* ------------------------------------------------
   responsive  thx
------------------------------------------------- */
/* 1439～960px ---------------------------------- */
@media screen and (max-width: 1439px) {
}

@media screen and (max-width: 1199px) {
}

/* 959～560px tab -------------------------------- */
@media screen and (max-width: 959px) {
}

@media screen and (max-width: 768px) {
  .thanks-message {
    width: auto;
  }
}

/* 559px～ SP -------------------------------- */
@media screen and (max-width: 559px) {
  .thanks-message {
    margin-top: 20%;
  }
  .thanks-message p {
    text-align: justify;
  }

  .thanks-h3 {
    margin-bottom: 20%;
  }
}
