@charset "UTF-8";

/* =========================
   CTA COMMON
========================= */
.cta-page {
  background: #faf8f9;
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
}

.cta-page .list-header {
  background: #faf8f9;
}

/* =========================
   CTA HERO
========================= */
.cta-hero {
  position: relative;
  height: 550px;
  overflow: hidden;
}

.cta-hero__bg {
  position: absolute;
  inset: 0;
}

.cta-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(43, 43, 43, 0.75), rgba(43, 43, 43, 0.55));
  z-index: 1;
}

.cta-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1540px, calc(100% - 80px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  transform: translateY(-30px);
}

.cta-hero__label {
  width: 370px;
  height: 70px;
  margin: 0 0 34px;
  background: #8b1e1e;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.cta-hero__title {
  margin: 0 0 26px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
}

.cta-hero__lead {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

/* =========================
   CONSULT
========================= */
.cta-consult {
  padding: 12px 0 70px;
  background: #faf8f9;
}

.cta-consult__inner {
  width: min(1540px, calc(100% - 80px));
  margin: 0 auto;
}

.cta-consult__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #111;
}

.cta-consult__line {
  display: block;
  width: 200px;
  height: 5px;
  margin: 18px auto 0;
  background: #8b1e1e;
}

.cta-consult__grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, 550px);
  justify-content: center;
  gap: 30px 60px;
}

.cta-consult-card {
  position: relative;
  width: 550px;
  height: 120px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 34px 0 40px;
}

.cta-consult-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #8b1e1e;
}

.cta-consult-card__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-top: -45px;
  border: 2px solid #8b1e1e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #8b1e1e;
}

.cta-consult-card__text {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: #111;
}

/* =========================
   MESSAGE CTA
========================= */
.cta-message {
  padding: 0 0 70px;
  background: #faf8f9;
}

.cta-message__inner {
  width: min(1200px, calc(100% - 80px));
  min-height: 150px;
  margin: 0 auto;
  background: #8b1e1e;
  display: grid;
  grid-template-columns: 1fr 265px;
  align-items: center;
  gap: 40px;
  padding: 24px 40px 24px 56px;
}

.cta-message__text {
  margin: 0 auto;
  max-width: 800px;
  font-family: "Noto Serif JP", serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  text-align: center;
}

.cta-message__btn {
  width: 265px;
  height: 60px;
  flex: 0 0 265px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  color: #8b1e1e;
  border: 1px solid #fff;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.cta-message__btn:hover {
  background: transparent;
  color: #fff;
}

/* =========================
   POINT SECTION
========================= */
.cta-point {
  background: #fff;
  padding: 56px 0 70px;
}

.cta-point__inner {
  width: min(1340px, calc(100% - 80px));
  margin: 0 auto;
}

.cta-point__content {
  width: 100%;
}

.cta-point__text {
  display: grid;
  grid-template-columns: 560px 600px;
  grid-template-areas:
    "title image"
    "line image"
    "body image"
    "accent image";
  justify-content: center;
  column-gap: 66px;
  row-gap: 18px;
  align-items: center;
}

.cta-point__title {
  grid-area: title;
  margin: 0;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.55;
  color: #111;
  text-align: center;
}

.cta-point__line {
  grid-area: line;
  display: block;
  width: 320px;
  height: 4px;
  margin: 0 auto;
  background: #8b1e1e;
}

.cta-point__image {
  grid-area: image;
  margin: 0 auto;
  width: 600px;
  height: 400px;
  overflow: hidden;
}

.cta-point__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-point__body {
  grid-area: body;
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.8;
  color: #111;
  letter-spacing: 0.08em;
}

.cta-point__accent {
  grid-area: accent;
  margin: 18px 0 0;
  padding-top: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
  color: #8b1e1e;
}

/* =========================
   SUPPORT SECTION
========================= */
.cta-support {
  background: #faf8f9;
  padding: 70px 0 90px;
}

.cta-support__inner {
  width: min(1540px, calc(100% - 80px));
  margin: 0 auto;
}

.cta-support__title {
  margin: 0;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #111;
}

.cta-support__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 350px);
  justify-content: center;
  gap: 20px;
}

.cta-support-card {
  position: relative;
  width: 320px;
  min-height: 380px;
  background: #fff;
  padding: 26px 26px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.cta-support-card__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #8b1e1e;
  transition:
    height 0.28s ease,
    opacity 0.28s ease;
}

.cta-support-card__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  transition: transform 0.28s ease;
  margin-top: 20px;
}

.cta-support-card__icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.cta-support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.cta-support-card:hover .cta-support-card__line {
  height: 6px;
}

.cta-support-card:hover .cta-support-card__icon {
  transform: translateY(-4px);
}

.cta-support-card__title {
  margin: 20px 0 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: #111;
}

.cta-support-card__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #111;
}

.cta-support__bottom {
  position: relative;
  margin-top: 72px;
  text-align: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  padding: 40px 40px 44px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.cta-support__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 4px;
  background: #8b1e1e;
}

.cta-support__catch {
  margin: 0;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.6;
  color: #8b1e1e;
  position: relative;
  display: inline-block;
}

.cta-support__sub {
  margin: 8px 0 38px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
}

.cta-support__btn {
  width: 500px;
  height: 80px;
  margin: 0 auto;
  background: #8b1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #fff;
  border: 1px solid #8b1e1e;
  transition: all 0.25s ease;
}

.cta-support__btn:hover {
  background: #fff;
  color: #8b1e1e;
}

@media (max-width: 767px) {
  /* =========================
     CTA HERO
  ========================= */
  .cta-hero {
    height: 220px;
    min-height: 220px;
  }

  .cta-hero__inner {
    width: calc(100% - 32px);
    transform: translateY(-10px);
  }

  .cta-hero__label {
    width: 170px;
    height: 25px;
    margin: 0 0 12px;
    font-size: 10px;
    line-height: 1;
  }

  .cta-hero__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.5;
  }

  .cta-hero__lead {
    font-size: 12px;
    line-height: 1.5;
  }

  /* =========================
     CONSULT
  ========================= */

  .list-header {
    display: none;
  }

  .cta-consult {
    padding: 20px 0 35px;
  }

  .cta-consult__inner {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .cta-consult__title {
    font-size: 17px;
    line-height: 1.4;
  }

  .cta-consult__line {
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
  }

  .cta-consult__grid {
    margin-top: 24px;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 12px;
  }

  .cta-consult-card {
    display: flex;
    align-items: center;
    width: 180px;
    height: 65px !important;
    padding: 10px 10px 0 5px;
    gap: 8px;
    align-items: flex-start;
  }

  .cta-consult-card::after {
    width: 3px;
  }

  .cta-consult-card__icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-top: -5px;
    margin-left: 5px;
    border: 1px solid #8b1e1e;
    font-size: 8px;
    line-height: 1;
  }

  .cta-consult-card__text {
    font-size: 12px;
    line-height: 1.4;
    margin-left: -5px;
  }

  .sp-br {
    display: none; /* SPでは改行しない */
  }

  /* =========================
     MESSAGE CTA
  ========================= */
  .cta-message {
    padding: 0;
  }

  .cta-message__inner {
    width: 100%;
    min-height: 70px;
    height: 70px;
    grid-template-columns: 1fr auto;
    gap: 10px !important;
    padding: 0 12px;
  }

  .cta-message__text {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
    letter-spacing: 0.01em;
  }

  .cta-message__btn {
    width: 115px;
    height: 30px;
    flex: 0 0 115px;
    font-size: 11px;
    font-weight: 700;
  }

  .cta-point {
    padding: 32px 0 30px;
  }

  .cta-point__inner {
    width: calc(100% - 32px);
  }

  .cta-point__text {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "line"
      "image"
      "body"
      "accent";
    row-gap: 14px;
    column-gap: 0;
  }

  .cta-point__title {
    font-size: 17px;
    line-height: 1.55;
    text-align: center;
    white-space: nowrap;
  }

  .cta-point__line {
    width: 180px;
    height: 2px;
    margin: 0 auto;
  }

  .cta-point__image {
    width: 280px;
    height: 160px;
    margin: 0 auto;
  }

  .cta-point__body {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: left;
  }

  .cta-point__accent {
    margin: 8px 0 0;

    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .cta-point__textblock {
    max-width: 300px;
    margin: 0 auto;
  }

  .cta-point__body {
    margin: 0;
  }

  .cta-point__accent {
    margin-top: 6px;
  }

  .cta-support {
    padding: 40px 0 50px;
  }

  .cta-support__inner {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  /* タイトル */
  .cta-support__title {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 22px;
  }

  .cta-support__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 0;
  }

  .cta-support-card {
    position: relative;
    width: 340px;
    min-height: 145px;
    height: auto;
    margin: 0 auto;
    padding: 18px 16px 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .cta-support-card__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #8b1e1e;
  }

  .cta-support-card__icon-title {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* center → flex-start */
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
  }

  .cta-support-card__icon {
    width: 25px;
    height: 25px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .cta-support-card__icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    display: block;
  }

  .cta-support-card__title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
  }

  .cta-support-card__text {
    width: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
  }

  .cta-support__bottom {
    margin-top: 32px;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .cta-support__bottom::before {
    display: none;
  }

  .cta-support__catch {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
  }

  .cta-support__sub {
    margin: 6px 0 18px;
    font-size: 12px;
    line-height: 1.7;
  }

  .cta-support__btn {
    width: 260px;
    height: 45px;
    margin: 0 auto;
    font-size: 14px;
  }
}
