@charset "utf-8";

/* ====== Base / Reset ====== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
  /* 基準サイズはここ */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
}

/* iOSフォーム要素の初期化（必要なら） */
input,
button,
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
}

/* 画像LP前提：セクション画像だけ100%にしたいなら範囲を限定 */
.lp-content img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  width: 100%;
}

/***** LPここから *****/
.lp-content {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

@media screen and (min-width: 901px) {
  /*
    PC表示では、1枚画像のまま「中央コンテンツ＋外側背景」に近い見え方を作る。
    画像全体を画面幅より少し大きい 128vw で中央配置し、左右を .lp-content でクリップすることで、
    901px 付近でも白い余白を出さず、画像内の左右背景が少し見える状態にする。
    ※中央1180pxと外側背景を完全に分離して制御しているわけではない。
  */
  .lp-content > section,
  .main > section:not(.section24) {
    position: relative;
    left: 50%;
    /* min() は2つの値のうち小さい方を採用する。最大1920pxにしつつ、狭いPC幅では128vwで少しだけ画像内の左右背景を見せる */
    width: min(1920px, 128vw);
    max-width: none;
    transform: translateX(-50%);
  }

  .lp-content picture {
    display: block;
  }

  .lp-content picture > img {
    max-width: none;
    width: 100%;
  }
}

/* ボタン */
.section02 {
  /* ボタンを画像の上に重ねるための基準 */
  position: relative;
  background: #c9eef8;
}

.section02__btn {
  position: absolute;
  /* 画像より前面に出す。今の重なりなら1で十分 */
  z-index: 1;
  /* left: 0; right: 0; margin: auto; で左右中央に配置 */
  right: 0;
  left: 0;
  margin: auto;
}

.section02__btn--sp {
  /* PCでは非表示、スマホ幅で表示 */
  display: none;
  width: 84%;
  /* スマホ画像の高さに対するボタン上端の位置 */
  top: 66%;
}

.section02__btn--pc {
  width: 30%;
  /* PC画像の高さに対するボタン上端の位置 */
  top: 53%;
}

.section05,
.section13,
.section17,
.section23 {
  /* ボタンを画像の上に重ねるための基準 */
  position: relative;
}

.section05__btn,
.section13__btn,
.section17__btn,
.section23__btn {
  position: absolute;
  /* 画像より前面に出す。今の重なりなら1で十分 */
  z-index: 1;
}

.section05__btn--sp,
.section13__btn--sp,
.section17__btn--sp,
.section23__btn--sp {
  /* PCでは非表示、スマホ幅で表示 */
  display: none;
  width: 84%;
  /* left: 0; right: 0; margin: auto; で左右中央に配置 */
  right: 0;
  left: 0%;
  margin: auto;
  /* スマホ画像の高さに対するボタン上端の位置 */
  top: 73%;
}

.section05__btn--pc,
.section13__btn--pc,
.section17__btn--pc,
.section23__btn--pc {
  width: 28%;
  /* PC画像では右側の青いパネル内に配置 */
  left: 50%;
  /* PC画像の高さに対するボタン上端の位置 */
  top: 63%;
}

.section24 {
  background: #3d94d8;
  color: #004b64;
  padding: 7.5% 1% 2%;
}

.section24__inner {
  width: 70%;
  max-width: 1000px;
  margin: 0 auto;
}

.section24__title {
  font-weight: 700;
  color: #fff;
  font-size: clamp(25px, 3vw, 50px);
  line-height: 1.1;
  text-align: center;
  margin: 0 0 10%;
}

.section24__title span {
  display: block;
  color: rgba(255, 255, 255, 0.28);
  font-size: clamp(12px, 1.5vw, 30px);
  letter-spacing: 1px;
}

.section24__title::after {
  content: "";
  display: block;
  width: min(46%, 220px);
  border-bottom: 4px dotted #fff;
  margin: 16px auto 0;
}

.section24__card {
  overflow: hidden;
  background: #c9eef8;
  border-radius: 14px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
  font-size: clamp(12px, 1.5vw, 24px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 1px;
}

.section24__list {
  margin: 0;
}

.section24__row {
  display: flex;
  gap: 3%;
  padding: 3% 8%;
  background: #fff;
}

.section24__row:nth-child(even),
.section24__note {
  background: #c7e9ff;
}

.section24__row dt,
.section24__row dd {
  margin: 0;
}

.section24__row dt {
  flex-shrink: 0;
  text-align: right;
}

.section24__row dd {
  flex: 1;
}

.section24 a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.section24 a:hover {
  opacity: 0.7;
}

.section24__note {
  padding: 4% 8% 5.5%;
}

.section24__note p {
  margin: 0;
}

.section24__note p + p {
  margin-top: 20px;
}

.section24 .section24__back-top {
  display: block;
  width: fit-content;
  color: #fff;
  font-size: clamp(12px, 1.5vw, 24px);
  font-weight: 500;
  text-decoration: underline;
  margin: 10% auto 0;
}

/* 拡大縮小 */
.cta-style {
  display: block;
  -webkit-animation: cta_style8 2s infinite ease-in-out;
  animation: cta_style4 1s infinite ease-in-out;
}

@keyframes cta_style4 {

    0%,
    100% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.0);
    }
}


/*** フッター ***/
.footer-section {
  background: #007525;
  padding: 32px;
  text-align: center;
  color: #fff;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 900px) {
  .lp-content {
    overflow: visible;
  }

  .footer-section {
    padding: 16px;
  }

  .section02__btn--sp {
    /* スマホではSP用ボタンを表示 */
    display: block;
  }

  .section02__btn--pc {
    /* スマホではPC用ボタンを非表示 */
    display: none;
  }

  .section05__btn--sp,
  .section13__btn--sp,
  .section17__btn--sp,
  .section23__btn--sp {
    /* スマホではSP用ボタンを表示 */
    display: block;
  }

  .section05__btn--pc,
  .section13__btn--pc,
  .section17__btn--pc,
  .section23__btn--pc {
    /* スマホではPC用ボタンを非表示 */
    display: none;
  }

  .section24 {
    padding: 11% 4% 8.5%;
  }

  .section24__inner {
    width: auto;
    max-width: 690px;
  }

  .section24__title {
    font-size: clamp(30px, 10vw, 50px);
    margin-bottom: 20%;
  }

  .section24__title span {
    font-size: clamp(15px, 5vw, 30px);
  }

  .section24__title::after {
    width: 84%;
    margin-top: 16px;
  }

  .section24__card {
    border-radius: 10px;
    box-shadow: none;
    font-size: clamp(14px, 4vw, 30px);
    line-height: 1.65;
  }

  .section24__row {
    gap: 0.5%;
    padding: 4.5% 5%;
  }

  .section24__row--stack {
    flex-direction: column;
  }

  .section24__row dt {
    text-align: left;
  }

  .section24__note {
    padding: 5% 5% 6%;
  }

  .section24 .section24__back-top {
    font-size: clamp(14px, 4vw, 28px);
    margin-top: 48px;
  }
}
