@charset "UTF-8";

/*
common
================================================ */

:root {
  --main-font: 'Roboto', 'Noto sans JP', sans-serif;
  --bg-color: #fff;
  --black: #333;
  --white: #ffffff;
  --gray: #F6F6F6;
  --gray02: #DBDBDB;
  --blue: #3493D3;
  --blue100: #3E3EAB;
  --blue200: #3275A8;
  --skyblue: #DBEAF5;
  --green: #4BB45C;
  --orange: #F2A73B;
  --orange200: #AC701B;
  --red: #E74040;
}

html {
  font-size: 62.5%;
}

body {
  background-color: var(--bg-color);
  color: var(--black);
  font-family: var(--main-font);
  letter-spacing: 0.07em;
  min-height: 100vh;
}

main {
  position: relative;
  z-index: var(--MAIN_INDEX);
}

.sp-br {
  display: none;
}

.tab-br {
  display: none;
}

.pc-br {
  display: inline;
}

.container {
  width: 75%;
  max-width: 1440px;
  margin: 0 auto;
}

.title {
  font-size: 32px;
  text-align: center;
}

button {
  border: none;
}

/* メディアクエリは適宜変更 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .pc-br {
    display: none;
  }

  .tab-br {
    display: inline;
  }
}

/* メディアクエリは適宜変更 */
@media screen and (max-width: 767px) {
  .pc-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }
}

/*
header
================================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.header_logo {
  width: 224px;
  margin-top: 16px;
  margin-left: 40px;
}

.header_title {
  position: absolute;
  top: 70%;
  left: 10%;
  font-size: 48px;
  font-weight: 400;
  color: var(--white);

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header {
    position: static;
    display: flex;
    align-items: center;
    height: 60px;
    background-color: var(--white);
  }

  .header_title {
    font-size: 32px;
  }

  .header_logo {
    margin: 0;
    margin-left: 16px;
    width: 224px;
  }
}

.inner_title {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;

}

.inner_title .title {
  text-align: left;
  margin-bottom: 1em;
  margin-left: 50px;
  position: relative;
  font-weight: 500;
}

.inner_title .title::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #333;
  position: absolute;
  top: 50%;
  left: -40px;
}

.top_text {
  font-size: 18px;
  margin-bottom: 60px;
}

.form_text_top {
  margin-top: 60px;
}

.form_mv {
  position: relative;
  height: 530px;
  background-image: url(../imgs/page_title.jpg);
  background-size: cover;
  background-position: center bottom;
}

.form_mv::after {
  content: "出典: Laserline GmbH, Germany";
  color: var(--white);
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-size: 13px;
}

.form_bottom_item {
  max-width: 600px;
  border: 2px solid #333;
  margin: 0 auto;
}

.form_bottom_item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px;
}

.form_bottom_item .tel {
  font-size: 16px;
}

.form_bottom_item .tel span {
  font-size: 24px;
}

.form_bottom_item .open_hour {
  font-size: 16px;
}

@media (max-width:767px) {
  .form_mv {
    height: 430px;
  }

  .header_title {
    font-size: 38px;
  }

  .form_bottom_item {
    gap: 30px;
    padding: 40px 20px;
  }

  .top_text {
    font-size: 16px;

  }

  .top_text p {
    margin-top: 1em;

  }
}

@media (max-width:767px) {
  .form_bottom_item {
    flex-direction: column;
  }
}


/*
tel
================================================ */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .title {
    font-size: 28px;
  }

}

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

  .title {
    font-size: 20px;
  }

}

/*
form
================================================ */
.form {
  margin-top: 120px;
  position: relative;
  z-index: 1;
}

.form-area {
  width: 1000px;
  margin: 0 auto;
  z-index: 1;
}

.form-area__table {
  border-spacing: 0;
  width: 100%;

}

.form-left {
  width: 30%;
  font-size: 18px;
  font-weight: 700;
  padding: 0;
  background-color: var(--gray);
  padding: 1em;
  border: 1px solid #ccc;
}

.form-left_box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-left_box small {
  font-size: 12px;
}

.required {
  background-color: var(--red);
  padding: 4px 8px;
  color: var(--white);
  font-size: 14px;
}

.form-right {
  width: 70%;
  padding: 10px;
  border: 1px solid #ccc;
}

.checkbox_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-area__table input[type="text"],
.form-area__table input[type="email"] {
  width: 100%;
  border: none;
  background-color: var(--white);
  font-size: 16px;
  padding: 4px 8px;
  line-height: 1.5;
  border: 1px solid #ccc;
}

.form-area__table input[type="checkbox"],
.form-area__table input[type="radio"] {
  display: none;
}

.checkbox {
  cursor: pointer;
  display: inline-block;
  position: relative;
  font-size: 16px;
}

.requirement {
  display: flex;
  flex-wrap: wrap;
  /* SNSを見た */
  gap: 4px;
}

.checkbox::before {
  content: '';
  display: inline-block;
  height: 16px;
  width: 16px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--gray02);
  transform: translateY(2px);
  margin-right: 2px;
}

.checkbox::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--blue);
  border-radius: 9999px;
  position: absolute;
  left: 13px;
  top: 15px;
  opacity: 0;
}

.checkbox_box {
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-area__table textarea.checkbox_textarea {
  width: auto;
  font-size: 15px;
}

form#mailformpro label._mr40 {
  margin-right: 40px;
}

input[type=checkbox]:checked+.checkbox::after {
  opacity: 1;
}

input[type=radio]:checked+.checkbox::after {
  opacity: 1;
}

.form-area__table textarea {
  width: 100%;
  border: none;
  background-color: var(--white);
  font-size: 16px;
  padding: 4px 8px;
  line-height: 1.5;
  border: 1px solid #ccc;
}

.form-area__table input[type="text"].checkboxText {
  font-size: 15px;
  width: auto;
}

.form-area__table input[type="file"] {
  background-color: var(--white);
  border: 1px solid var(--gray02);
  padding: 12px 14px;
  font-size: 14px;
}

.form-area__table input#file-upload-button {
  background-color: var(--white);
  border: 1px solid var(--black);
}

.text-note {
  font-size: 14px;
}

.form-area__note {
  font-size: 14px;
  margin-top: 1em;
}

.form-area__note>a {
  color: var(--blue);
}

.send-button_wrapper {
  position: relative;
}

.send-button {
  display: block;
  width: 240px;
  cursor: pointer;
  color: var(--white);
  background-color: #666666;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin: 0 auto;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  transition: all .3s;
}

@media (any-hover: hover) {
  .send-button:hover {
    opacity: .6;
  }
}

.margin {
  margin-top: 20px;
}

.margin._file {
  margin-top: 20px;
  background-color: var(--white);
  padding: 12px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .form {
    margin-top: 100px;
  }

  .form-area {
    width: 88%;
    margin-top: 40px;
    padding: 40px 20px;
  }

  .form-left {
    width: 190px;
    font-size: 14px;
    padding: 0.4em;
  }

  .form-right {
    width: calc(100% - 210px);
  }

  .required {
    font-size: 12px;
  }

  .form-area__note {
    margin: 0 auto;
    width: calc(100% - 40px);
  }

  .requirement {
    gap: 6px;
  }
}

@media screen and (max-width: 767px) {
  .form {
    margin-top: 64px;
  }

  .form-area {
    margin-top: 24px;
    width: 92%;
    padding: 0px;
    padding-bottom: 20px;
  }

  .form-area__table {
    border-spacing: 0px;
  }

  .form-left {
    display: block;
    width: 100%;
    font-size: 16px;
    margin-top: 20px;
    padding-inline: 20px;
  }

  .required {
    font-size: 12px;
    padding: 2px 6px;
  }

  .form-right {
    margin-top: 4px;
    display: block;
    width: 100%;
    padding-inline: 3%;
  }

  .form-left_box {
    gap: 12px;
    justify-content: flex-start;
  }

  .form-area__table input[type="text"],
  .form-area__table input[type="email"] {
    font-size: 15px;
    border: 1px solid #333;
  }

  .checkbox {
    font-size: 15px;
  }

  .requirement {
    gap: 6px;
  }

  .form-right._checkbox {
    gap: 4px;
  }

  .form-right._file {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .form-area__table input[type="file"] {
    width: fit-content;
    padding: 4px;
    font-size: 12px;
  }

  .text-note {
    font-size: 12px;
  }

  .send-button {
    font-size: 16px;
    width: 240px;
    padding: 20px 16px;
  }

  .form-area__note {
    margin-top: 12px;
    font-size: 15px;
    padding-inline: 20px;
  }

  .send-button_shadow {
    height: 56px;
  }

  .margin._pc {
    margin-top: 0px;
  }
}

/*
footer
================================================ */

.page-top {
  background-image: url(../imgs/page-top.jpg);
  background-size: 100%;
  background-position: center;
  display: flex;
  align-items: center;
  width: 400px;
  height: 120px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto;
  margin-top: 64px;
  position: relative;
  transition: all .3s;
  padding-left: .8em;
}

.page-top::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateX(100%);
  transition: all .3s;
}

.page-top::after {
  content: '';
  display: block;
  width: 10px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateX(100%) rotate(45deg);
  transform-origin: 100% 0;
  right: 5%;
  transition: all .3s;
}


.page-top::after {
  content: '';
  display: block;
  width: 10px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  transform: translateX(100%) rotate(45deg);
  transform-origin: 100% 0;
  right: 5%;
  transition: all .3s;
}


@media screen and (max-width: 1024px) {
  .page-top::after {
    right: 6%;
  }

}

@media (any-hover: hover) {
  .page-top:hover {
    background-size: 105%;
  }

  .page-top:hover::before {
    right: 35px;
  }

  .page-top:hover::after {
    right: 3.5%;
  }
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  .page-top {
    font-size: 18px;
    width: 320px;
    height: 100px;
  }
}

@media screen and (max-width: 767px) {
  .page-top {
    width: 240px;
    height: 80px;
    font-size: 14px;
    margin-top: 40px;
    background-size: cover;
  }

  .copyright {
    margin-top: 40px;
  }

  .page-top::before {
    width: 20px;
    right: 23px;
  }

  .page-top::after {
    width: 10px;
    right: 5.5%;

  }
}

.checkbox {
  border: 1px solid #eee;
  padding: 10px;
}

/*
サンクスページ
================================================ */
.thanks_title {
  margin-top: 160px;
  text-align: center;
  font-size: 32px;
}

.thanks_text {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  line-height: 2.5;
  margin-bottom: 160px;
}

@media screen and (max-width: 767px) {
  .thanks_title {
    margin-top: 80px;
    font-size: 20px;
  }

  .thanks_text {
    margin-bottom: 80px;
  }
}