@charset "UTF-8";
/*-----------------------------------------------
	全体
---------------------------------------------- */
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  font-size: 16px;
  font-family: 'Helvetica','Arial','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

main,
.footer {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* 画像 */
img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto; 
  max-width: none;
}

@media (hover:hover) {
  .btn:hover {
    filter: brightness(1.2);
  }
}

/*-----------------------------------------------
	フッター
---------------------------------------------- */
.footer {
  background-color: #fff;
  padding: 20px 10px;
	color: #252525;
	line-height: 2;
  font-size: 14px;
}
.footer a,.copyright {
  color: #252525;
}
.footer a {
  display: inline-block;
  text-decoration: underline;
}

.fv,
.contents,
.contents > picture,
.company-footer-image,
.company-footer-image > picture {
  display: block;
  width: 100%;
  max-width: 100%;
}
.footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  width: 100%;
}
.footer-links a:first-child {
  justify-self: end;
  text-align: right;
}
.footer-links a:last-child {
  justify-self: start;
  text-align: left;
}
.footer-separator {
  display: block;
  width: 1px;
  height: 1em;
  background-color: currentColor;
}
.footer p {
  padding: 0;
}
.copyright {
  text-align: center;
}
/*-----------------------------------------------
  PC・スマホ共通の固定CTA
---------------------------------------------- */

/* 画像内に目印を配置するための基準 */
.fv {
  position: relative;
}

/*
 * CTAを表示する見えない目印
 * 画像の上から85%の位置
 */
.cta-trigger {
  position: absolute;
  top: 85%;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
}

/* CTA全体を画面下部に固定 */
.cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  z-index: 1000;
  line-height: 0;
  padding-bottom: 0;

  /* 少し透明な白背景 */
  background-color: rgba(255, 255, 255, 0.1);

  /* 最初は画面外に隠す */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);

  /* 出現時の動き */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}

/* CTAが表示された状態 */
.cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* pictureタグをブロック要素として表示 */
.cta > picture {
  display: block;
}

/* CTA背景画像を切らずにすべて表示 */
.cta > picture > img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
}

/* 申し込みボタン */
.btn {
  position: absolute;
  top: 42%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  width: clamp(220px, 42vw, 600px);
}


/* CTAでフッターが隠れないようにする */
body.cta-visible {
  padding-bottom: 13.85vw;
}

/* CTA下部の補足テキスト */
.cta-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  margin: 0;

  color: #1a24af;
  font-size: clamp(12px, 1.2vw, 20px);
  line-height: 1.3;
  text-align: center;
}

.cta-email-copy {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: copy;
}

/* 画像内フッターのWebリンク */
.company-footer-image {
  position: relative;
}

.company-web-link {
  position: absolute;

  /* 画像内のWeb URL部分 */
  left: 52%;
  top: 95.2%;
  width: 25%;
  height: 3.7%;

  display: block;
  z-index: 2;
}

.company-mail-copy {
  position: absolute;
  left: 52%;
  top: 92.6%;
  z-index: 3;
  display: block;
  width: 18%;
  height: 3%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: copy;
}

.company-web-link::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 33%;
  bottom: 12%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.25s ease;
}

/*-----------------------------------------------
  スマホ表示
---------------------------------------------- */
@media screen and (max-width: 750px) {
  .footer-links {
    column-gap: 6px;
  }

  .footer-links a {
    font-size: 11px;
    white-space: nowrap;
  }

  /* CTAボタン */
  .btn {
    top: 40%;
    width: 90.27vw;
    max-width: 677px;
  }

  /* CTA下部の補足テキスト */
  .cta-note {
    width: 100%;
    box-sizing: border-box;
    bottom: 6%;
    padding: 0 4px;
    font-size: clamp(8px, 2.2vw, 11px);
    line-height: 1.2;
    white-space: nowrap;
  }

  /* 固定CTAの高さ分の余白 */
  body.cta-visible {
    padding-bottom: 30.4vw;
  }

  /* 画像内フッターのWebリンク */
  .company-web-link {
    left: 24%;
    top: 94%;
    width: 53%;
    height: 5%;
  }

  .company-mail-copy {
    position: absolute;
    left: 24%;
    top: 90.8%;
    z-index: 3;
    display: block;
    width: 48%;
    height: 4.2%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: copy;
  }

  /* Webリンクの下線 */
  .company-web-link::after {
    left: 5%;
    right: 11%;
    top: auto;
    bottom: 8%;
  }
}

@media (hover: hover) {
  .btn:hover {
    filter: brightness(1.2);
  }

  .company-web-link:hover::after {
    background-color: #ffcf00;
  }
}

/* URLコピー完了メッセージ */
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24%;
  z-index: 2000;

  margin: 0;
  padding: 10px 18px;
  border-radius: 6px;
  background-color: rgba(20, 30, 100, 0.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
}
