@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");

:root {
  --font-notoSans: "Noto Sans JP", sans-serif;
}
body {
  font-family: YuGothic, "Yu Gothic", YuGothic, "Yu Gothic", sans-serif;
  line-height: 1.6;
  /* margin: 20px auto; */
  margin: 0;
  padding: 0;
  /* レスポンシブスタイルに合わせてpaddingを変更 */
  /* max-width: 1000px; */
  /* レスポンシブスタイルに合わせてmax-widthを追加 */
}
.sp-only {
  display: none;
}
@media screen and (max-width: 540px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
.section__inner {
  margin: 0 auto;
  padding: 60px 10px 0;
  max-width: 1080px;
  overflow-x: hidden;
}
.text-bold {
  font-weight: bold;
}
.color-pink {
  color: #fd6180;
}

/* mv */
.mv__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: clamp(250px, 250 / 540 * 100vw, 360px);
}
.mv__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(../img/mv_bg.webp) no-repeat center center/cover;
  filter: brightness(0.6);
  height: 100%;
  width: 100%;
}
.mv__tite {
  position: relative;
  color: #fff;
  font-family: var(--font-notoSans);
  font-size: clamp(28px, 28 / 540 * 100vw, 36px);
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  text-align: center;
  z-index: 1;
}

/* movie */
.movie__tite {
  color: #333;
  font-family: var(--font-notoSans);
  font-size: 24px;
  font-weight: normal;
  height: 1.4;
  margin: 0;
  text-align: center;
}
.movie__body {
  margin: 36px auto 0;
  width: 100%;
  max-width: 640px;
}
.movie__body iframe {
  aspect-ratio: 640/395;
  height: 100% !important;
  width: 100% !important;
}

/* measures */
.measures__text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-family: var(--font-notoSans);
  font-size: clamp(16px, 16 / 540 * 100vw, 28px);
  line-height: 1.4;
  margin: 0;
  text-align: center;
}
.measures__text + .measures__text {
  margin-top: 16px;
}
.measures__text .text-lg {
  font-size: clamp(24px, 24 / 540 * 100vw, 36px);
}
.measures__illust {
  margin: 36px auto 0;
  width: 60%;
}
.measures__illust img {
  width: 100%;
}
.measures__lead {
  background-color: #333;
  color: #fff;
  font-family: var(--font-notoSans);
  font-size: clamp(24px, 24 / 540 * 100vw, 36px);
  font-weight: bold;
  line-height: 1.4;
  margin: 36px auto 0;
  padding: 24px 0;
  text-align: center;
}
@media screen and (max-width: 540px) {
  .measures__illust {
    margin: 16px auto 0;
    width: 80%;
  }
}

/* prevention */
.prevention {
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}
.prevention::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../img/section_bg.webp) no-repeat center 25% / cover;
  height: calc(100% - 60px * 2);
  width: 2400px;
  z-index: -1;
}
.prevention__inner {
  padding-bottom: 60px;
}
.prevention__illust {
  margin: 0 auto;
  width: 90%;
  max-width: 600px;
}
.prevention__illust img {
  width: 100%;
}
@media screen and (max-width: 540px) {
  .prevention::before {
    width: 100%;
  }
}

/* logo */
.logo {
  position: relative;
  overflow-x: hidden;
  z-index: 1;
}
.logo::before {
  content: "";
  position: absolute;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: url(../img/section_bg.webp) no-repeat center 25% / cover;
  height: calc(100% - 60px);
  width: 2400px;
  z-index: -1;
}
.logo__inner {
  padding-bottom: 60px;
}
.logo__illust {
  background-color: #fff;
  margin: 95px auto;
  height: auto;
  width: 240px;
}
.logo__illust img {
  width: 100%;
}
@media screen and (max-width: 540px) {
  .logo::before {
    width: 100%;
  }
  .logo__illust {
    margin: 60px auto 0;
  }
}

/* footer */
.footer {
  background-color: #a3eff8;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
}
.footer__title,
.footer__tel {
  color: #333;
  font-family: var(--font-notoSans);
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}
.footer__tel {
  text-decoration: none;
}
@media screen and (max-width: 540px) {
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }
  .footer__title {
    font-size: 16px;
  }
}

/* チェックシート */
.check {
  margin: 20px auto;
  padding: 0 10px;
  max-width: 1080px;
}
.content {
  margin: 20px auto;
  padding: 0 10px;
  /* レスポンシブスタイルに合わせてpaddingを変更 */
}
.check .h1 {
  font-size: min(24 / 375 * 100vw, 48px);
  text-align: center;
}
.h2 {
  text-align: center;
  padding: 12px;
  background-color: #f1f1f1;
  margin: 0 10px;
  /* レスポンシブスタイルに合わせてmarginを追加 */
}
.h2 h2 {
  font-size: min(22 / 375 * 100vw, 24px);
  margin: 0;
}
.txt_center {
  text-align: center;
}
.checklist {
  padding: 20px;
  background: #ffffff;
  border-top: solid 5px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin-bottom: 20px;
}
form label {
  display: block;
  margin-bottom: 10px;
}
/* チェックボックスのカスタムデザイン */
.checklist input[type="checkbox"] {
  appearance: none;
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #5d627b;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}
.checklist input[type="checkbox"]:checked {
  background-color: #5d627b;
}
.checklist input[type="checkbox"]:checked::before {
  content: "\2713";
  position: absolute;
  top: 1px;
  left: 5px;
  font-size: 14px;
  color: white;
}
/* チェックボックスのカスタムデザイン */
button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  /* background-color: #4caf50; */
  background-color: #c62121;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: 22px;
}
button:hover {
  background-color: #9c3030;
}
#totalOutput {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.result-container {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.result {
  /* background-color: #c67800; */
  background-color: #00c34d;
  color: white;
  padding: 10px;
  border-radius: 5px;
}
.result p {
  margin: 0;
}
.left,
.right {
  text-align: center;
  /* レスポンシブスタイルに合わせてtext-alignを追加 */
}
.left {
  font-size: 14px;
}
.right {
  margin-top: 8px;
  box-sizing: border-box;
  font-size: 20px;
}
/* ボタン用のスタイルを追加 */
.btnline a {
  display: inline-block;
  /* リンクをブロックではなくインラインにする */
  margin-top: 10px;
  /* 上側のマージンを追加 */
  /* background-color: #ceb849; */
  background-color: #00c34d;
  border: 14px solid transparent;
  border-radius: 35px;
  text-decoration: none;
  color: white;
  padding: 8px 20px;
  transition: background-color 0.3s ease;
}
.btnline a:hover {
  /* background-color: #b0a63d; */
  background-color: #00993d;
}
.clear {
  clear: both;
}
.result-none {
  background-color: #e0f7cd;
  color: #2d6b00;
  padding-bottom: 24px;
}
.result-doubt {
  background-color: #ffedd3;
  color: #c67800;
  padding-bottom: 24px;
}
.result-warning {
  background-color: #ffd9d9;
  color: #c62121;
  padding-bottom: 24px;
}
/* レスポンシブスタイル */
@media (max-width: 600px) {
  .left,
  .right {
    float: none;
    width: 100%;
  }
}
/* レスポンシブスタイル */
@media (max-width: 1100px) {
  .result-container {
    height: auto;
  }
  .result-doubt,
  .result-none,
  .result-warning {
    height: auto;
    padding-bottom: 10px;
  }
}

.line__title {
  font-size: min(20 / 540 * 100vw, 32px);
  margin-top: 0;
  text-align: center;
}
.line__text {
  text-align: center;
}
.line__btn {
  text-align: center;
}
.line__btn a {
  box-sizing: border-box;
  display: inline-block;
  background-color: #4caf50;
  border-radius: 5px;
  color: white;
  font-size: min(22 / 375 * 100vw, 28px);
  padding: 10px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 400px;
}
.line__btn a:hover {
  background-color: #00993d;
}

@media screen and (max-width: 540px) {
  .line__title {
    font-size: min(22 / 375 * 100vw, 22px);
  }
  .line__text {
    text-align: left;
  }
}

/* video(2023_10_19) */
.video{
  margin: 20px auto 0;
  width: 100%;
  max-width: 900px;
}
.video video{
  width: 100%;
}
