@charset "UTF-8";
@import url(//fonts.googleapis.com/earlyaccess/notosansjp.css);

/* 変数の定義 */
:root {
  --content-width: 1920px;
  --min-content-width: 375px;
}
html {
  /* コンテンツ幅でのフォントサイズ */
  /* font-size: clamp(1px, 1.11vw, 16px); */
  max-width: var(--content-width);
  margin: 0 auto;

  scroll-behavior: smooth;
  scroll-padding-top: clamp(1px, calc(120 / 1920 * 100vw), 120px);

  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo,
    sans-serif;
}
header {
  display: flex;
  width: 100%;
  max-width: 1920px;
  padding: clamp(1px, calc(30 / 1920 * 100vw), 30px)
    clamp(1px, calc(110 / 1920 * 100vw), 100px)
    clamp(1px, calc(30 / 1920 * 100vw), 30px)
    clamp(1px, calc(60 / 1920 * 100vw), 60px);
  justify-content: space-between;
  position: fixed;
  z-index: 999;

  background-color: #22c1cb;
}
@media screen and (max-width: 767.98px) {
  header {
    padding: 0;
  }
}
a {
  transition: 0.3s;
}
a:hover {
  opacity: 0.6;
}
h1.header-logo {
  display: block;
  width: calc(197 / 1920 * 100vw);
  max-width: 197px;
  height: auto;
}
@media screen and (max-width: 767.98px) {
  h1.header-logo {
    width: calc(216 / 750 * 100vw);
    max-width: unset;
    margin-top: calc(40 / 750 * 100vw);
    margin-left: calc(40 / 750 * 100vw);
  }
}

.header-btns {
  display: flex;
  width: calc(372 / 1920 * 100vw);
  max-width: 372px;
  justify-content: space-between;
}
@media screen and (max-width: 767.98px) {
  .header-btns {
    width: calc(254 / 750 * 100vw);
  }
}
.header-btns a {
  display: block;
  width: 47%;
}
@media screen and (max-width: 767.98px) {
  .header-btns a {
    width: 50%;
  }
}
img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
/*  */
.fv-contact-content {
  width: 100%;
  padding: clamp(1px, calc(70 / 1920 * 100vw), 70px) 0;
  background-color: #e3edee;
}
@media screen and (max-width: 767.98px) {
  .fv-contact-content {
    padding: clamp(1px, calc(40 / 750 * 100vw), 40px)
      clamp(1px, calc(75 / 750 * 100vw), 75px);
  }
}
.fv-contact-form {
  width: calc(1250 / 1920 * 100vw);
  max-width: 1250px;
  height: 100%;
  margin: 0 auto;
  padding: 1em 2em;
  background-color: white;
}
@media screen and (max-width: 767.98px) {
  .fv-contact-form {
    width: 100%;
    padding: 4em 2em;
  }
}
#sec03 {
  position: relative;
}
.sec03-btn {
  display: block;
  width: calc(660 / 1920 * 100vw);
  max-width: 660px;
  height: auto;
  position: absolute;
  left: 50%;
  bottom: clamp(1px, calc(100 / 1920 * 100vw), 100px);
  transform: translateX(-50%);
  transition: 0.3s;
}
@media screen and (max-width: 767.98px) {
  .sec03-btn {
    width: calc(660 / 750 * 100vw);
  }
}
.sec03-btn:hover {
  opacity: 0.6;
}
#sec08 {
  width: 100%;
  padding: clamp(1px, calc(70 / 1920 * 100vw), 70px) 0;
  background-color: #e3edee;
}
@media screen and (max-width: 767.98px) {
  #sec08 {
    padding: clamp(1px, calc(40 / 750 * 100vw), 40px)
      clamp(1px, calc(75 / 750 * 100vw), 75px);
  }
}

footer {
  width: 100%;
  max-width: 1920px;
  padding: clamp(1px, calc(30 / 1920 * 100vw), 30px) 0;
  color: white;
  background-color: #23c3cd;
  text-align: center;
  line-height: 2;
}
@media screen and (max-width: 767.98px) {
  footer {
    font-size: calc(18 / 750 * 100vw);
  }
}

.sec08_h2 {
  font-size: clamp(1px, calc(40 / 1920 * 100vw), 40px);
  text-align: center;
  margin-bottom: clamp(1px, calc(80 / 1920 * 100vw), 80px);
}
.sec08_img {
  width: calc(400 / 1920 * 100vw);
  max-width: 400px;
  height: auto;
  margin: 0 auto clamp(1px, calc(80 / 1920 * 100vw), 80px);
}
@media screen and (max-width: 767.98px) {
  .sec08_img {
    width: calc(400 / 750 * 100vw);
  }
}

form {
  width: 100%;
  padding: 0.5em 0;
}
@media screen and (max-width: 767.98px) {
  form {
    padding: 1em 0;
  }
}
form p {
  font-size: 36px;
  text-align: center;
  margin-bottom: 0.5em;
}
@media screen and (max-width: 767.98px) {
  form p {
    font-size: calc(36 / 750 * 100vw);
    margin-bottom: 0.5em;
  }
}
.contact-form {
  text-align: center;
}
.form-tr {
  display: flex;
  width: 80%;
  margin: 0.25em auto;
  font-size: 24px;
  align-items: center;
}
@media screen and (max-width: 767.98px) {
  .form-tr {
    width: 94%;

    margin: 0.25em auto;
    font-size: calc(20 / 750 * 100vw);
  }
}
label {
  width: 18%;
  padding-right: 0.5em;
  text-align-last: justify;
}
input {
  width: 82%;
  padding: 0 0.5em;
  border: solid 1px #666666;
  border-radius: 0.25em;
  line-height: 1.6;
}
button {
  width: fit-content;
  margin: 0 auto;
  padding: 0.5em 4em;
  background-color: #fc485c;
  font-size: 24px;
  color: white;
  text-align: center;
}
@media screen and (max-width: 767.98px) {
  button {
    margin: 1em auto;

    font-size: calc(24 / 750 * 100vw);
  }
}
button:hover {
  opacity: 0.7;
}
/* ポップアップ用CSS */
#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(76, 175, 80, 0.9);
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-size: 18px;
  text-align: center;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
