/* =========================================================
   SE構法×ガレージハウスLP 追加スタイル
   ・テーマ既存の ul/li・.sec05__pointcontent・.titleblock との衝突を避けるため
     全セレクタを .page.se-garage 配下に限定（詳細度を上げて上書き）
   ・ブレークポイント: 〜1024px（タブレット）/ 〜768px（SP）
   ========================================================= */

.page.se-garage {
  overflow-x: hidden;
}
.page.se-garage img {
  max-width: 100%;
  height: auto;
}
.se-garage .page__firstview .bg {
  height: 100%;
}
/* ---------- FV ---------- */
.page.se-garage .se-fv {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 56vw, 700px);
  padding: 48px 0;
}
.page.se-garage .se-fv .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page.se-garage .se-fv .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page.se-garage .se-fv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}
.page.se-garage .se-fv .content-width {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page.se-garage .se-fv__inner {
  display: block;
  position: static;
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 0;
  text-align: left;
  color: #fff;
}
.page.se-garage .se-fv__inner h2 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
}
.page.se-garage .se-fv__inner h2 .dib {
  display: inline-block;
  color: #fff;
}
.page.se-garage .se-fv__sub {
  margin: 1.2em 0 0;
  font-size: clamp(13px, 1.5vw, 17px);
  line-height: 1.9;
  color: #fff;
}
.page.se-garage .se-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.6em 0 1.4em;
  padding: 0;
  position: static;
}
.page.se-garage .se-badge p {
  margin: 0;
  padding: 12px 18px;
  width: auto;
  height: auto;
  position: static;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}
.page.se-garage .se-badge strong {
  font-size: clamp(15px, 1.6vw, 18px);
  color: #fff;
}
.page.se-garage .se-cta {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
}
.page.se-garage .se-cta__btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
  padding: 20px 64px 20px 40px;
  background: linear-gradient(135deg, #e2ceb9 0%, #cdac92 50%, #836145 100%);
  color: #2a1a10;
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 24px rgba(205, 172, 146, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
.page.se-garage .se-cta__btn::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #2a1a10;
  border-right: 2px solid #2a1a10;
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.25s ease;
}
.page.se-garage .se-cta__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.page.se-garage .se-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(205, 172, 146, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  filter: brightness(1.05);
  opacity: 1;
}
.page.se-garage .se-cta__btn:hover::before {
  left: 120%;
}
.page.se-garage .se-cta__btn:hover::after {
  right: 20px;
}
.page.se-garage .se-cta__btn:active {
  transform: translateY(0);
}
.page.se-garage .se-cta__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.page.se-garage .se-cta__btn small {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  /* 茶色の縁取り＋やわらかい影 */
  text-shadow:
    -1px -1px 0 #7a5238,
    1px -1px 0 #7a5238,
    -1px 1px 0 #7a5238,
    1px 1px 0 #7a5238,
    0 -1px 0 #7a5238,
    0 1px 0 #7a5238,
    -1px 0 0 #7a5238,
    1px 0 0 #7a5238,
    0 2px 6px rgba(90, 56, 34, 0.55);
}
.page.se-garage .se-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(149, 96, 4, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.06);
  opacity: 1;
}
.page.se-garage .se-cta__btn:hover::before {
  left: 120%;
}
.page.se-garage .se-cta__btn:hover::after {
  right: 20px;
}
.page.se-garage .se-cta__btn:active {
  transform: translateY(0);
}
.page.se-garage .se-cta__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---------- Section1 共感 ---------- */
.page.se-garage .se-worry__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 22%, 240px);
  gap: 32px;
  align-items: center;
  margin: 32px 0 0;
}
.page.se-garage .se-worry__list {
  display: block;
  margin: 0;
  padding: 12px 24px;
  width: auto;
  background: #faf6f2;
  border-radius: 12px;
}
.page.se-garage .se-worry__list p {
  position: relative;
  width: auto;
  margin: 0;
  padding: 16px 0 16px 40px;
  border-bottom: 1px dashed #d9c4b3;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  text-align: left;
}
.page.se-garage .se-worry__list p:last-child {
  border-bottom: 0;
}
/* チェックマーク（丸＋✓ をCSSで描画） */
.page.se-garage .se-worry__list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #a47e5f;
  box-shadow: 0 2px 6px rgba(164, 126, 95, 0.35);
}
.page.se-garage .se-worry__list p::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 25px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.page.se-garage .se-worry__img {
  margin: 0;
  text-align: center;
}
.page.se-garage .se-worry__img img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
}
.page.se-garage .se-solution {
  margin: 40px 0 0;
  font-size: clamp(16px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.page.se-garage .se-solution .dib {
  display: inline-block;
}

/* ---------- 3カラムカード（Section2 / 3 / 4） ---------- */
.page.se-garage .se-grid-wrap {
  margin-top: 32px;
}
.page.se-garage .se-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
}
.page.se-garage .se-card {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.page.se-garage .se-card__title {
  margin: 0 0 12px;
  padding-left: 1.1em;
  position: relative;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}
.page.se-garage .se-card__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  border-left: 0.6em solid #333;
  border-top: 0.35em solid transparent;
  border-bottom: 0.35em solid transparent;
}
.page.se-garage .se-card__title span {
  color: #703300;
}
.page.se-garage .se-card__img {
  margin: 0 0 12px;
}
.page.se-garage .se-card__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.page.se-garage .se-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}
.page.se-garage .se-grid--text .se-card {
  padding: 20px;
  border: 1px solid #ddd;
  background: #fff;
}
.page.se-garage .se-grid--text .se-card__title {
  padding-left: 0;
}
.page.se-garage .se-grid--text .se-card__title::before {
  display: none;
}
.page.se-garage .se-trust__img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.page.se-garage .se-trust__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Section5 イワナミ ---------- */
.page.se-garage .se-iwanami__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}
.page.se-garage .se-iwanami__text dl {
  margin: 0;
}
.page.se-garage .se-iwanami__text dt {
  margin: 1.2em 0 0;
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 18px);
}
.page.se-garage .se-iwanami__text dt:first-child {
  margin-top: 0;
}
.page.se-garage .se-iwanami__text dd {
  margin: 0.4em 0 0;
  font-size: 14px;
  line-height: 1.9;
}
.page.se-garage .se-iwanami__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Section6 オファー ---------- */
.page.se-garage .se-offer-list {
  margin: 0;
  padding: 0;
}
.page.se-garage .se-offer-list p {
  margin: 0;
  padding: 6px 0 6px 1.2em;
  text-indent: -1.2em;
  line-height: 1.7;
}
.page.se-garage .se-offer-list p::before {
  content: "・";
}
.page.se-garage .se-consult__title {
  margin: 0 0 0.8em;
  font-size: clamp(18px, 2.2vw, 24px);
}
.page.se-garage .se-form-lead {
  margin: 24px 0 8px;
  font-weight: 700;
}
/* ---------- 動画セクション ---------- */
.page.se-garage .se-movie__wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 32px auto 0;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.page.se-garage .se-movie__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .page.se-garage .se-movie__wrap {
    margin-top: 20px;
    border-radius: 8px;
  }
}
/* ---------- タブレット ---------- */
@media (max-width: 1024px) {
  .se-garage .page__firstview .bg {
    height: 100%;
  }
  .page.se-garage .se-fv {
    padding: 48px 30px;
  }
  .page.se-garage .se-grid {
    gap: 20px;
  }
  .page.se-garage .se-card__text {
    font-size: 13px;
  }
  .page.se-garage .se-worry__inner,
  .page.se-garage .se-iwanami__body {
    gap: 24px;
  }
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .se-garage .page__firstview .bg {
    height: 100%;
  }
  .se-garage .page__firstview {
    height: 100%;
  }
  .page.se-garage .se-fv {
    min-height: 0;
    padding: 40px;
  }
  .page.se-garage .se-fv::after {
    background: rgba(0, 0, 0, 0.1);
  }
  .page.se-garage .se-badge {
    flex-direction: column;
    gap: 8px;
  }
  .page.se-garage .se-badge p {
    padding: 10px 14px;
  }
  .pge.se-garage .se-cta__btn {
    display: block;
    padding: 16px 44px 16px 20px;
    border-radius: 14px;
  }

  .page.se-garage .se-worry__inner {
    grid-template-columns: 1fr;
  }
  .page.se-garage .se-worry__list {
    padding: 8px 16px;
  }
  .page.se-garage .se-worry__img img {
    max-width: 180px;
  }
  .page.se-garage .se-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page.se-garage .se-grid--text {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page.se-garage * {
    transition: none !important;
  }
  .page.se-garage .se-cta__btn:hover {
    transform: none;
  }
}
