@charset "UTF-8";

/*
  運命をひらく占い：電話占いウィル フッター広告
  既存CSSとの競合を避けるため、oh-will-ad を接頭辞に使用しています。
*/

.oh-will-ad,
.oh-will-ad * {
  box-sizing: border-box;
}

.oh-will-ad {
  position: relative;
  width: calc(100% - 32px);
  max-width: 800px;
  margin: 40px auto 26px;
  overflow: hidden;
  border: 1px solid #ddd8cd;
  border-radius: 12px;
  background: #fbfaf7;
  box-shadow: 0 10px 28px rgba(43, 53, 50, 0.08);
  color: #283330;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

.oh-will-ad__pr {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  min-width: 38px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(20, 34, 48, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: center;
}

.oh-will-ad__inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: stretch;
}

.oh-will-ad__visual {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #06132c;
  text-decoration: none;
}

.oh-will-ad__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.oh-will-ad__visual:hover .oh-will-ad__image,
.oh-will-ad__visual:focus-visible .oh-will-ad__image {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.oh-will-ad__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 26px 28px 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(182, 157, 101, 0.10), transparent 38%),
    #fbfaf7;
}

.oh-will-ad__service {
  margin: 0 0 5px;
  color: #8d7444;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.11em;
}

.oh-will-ad__title {
  margin: 0;
  color: #263531;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.oh-will-ad__text {
  margin: 10px 0 0;
  color: #4c5854;
  font-size: 13px;
  line-height: 1.78;
}

.oh-will-ad__points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.oh-will-ad__points li {
  position: relative;
  margin: 0;
  padding-left: 17px;
  color: #3b4945;
  font-size: 12px;
  line-height: 1.6;
}

.oh-will-ad__points li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #9b7a39;
  font-weight: 800;
}

.oh-will-ad__points strong {
  color: #785c25;
  font-weight: 800;
}

.oh-will-ad__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 17px;
  padding: 12px 18px;
  border: 1px solid #203f3a;
  border-radius: 8px;
  background: #244b44;
  box-shadow: 0 7px 16px rgba(36, 75, 68, 0.17);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.oh-will-ad__button span {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.oh-will-ad__button:hover,
.oh-will-ad__button:focus-visible {
  transform: translateY(-2px);
  background: #193c36;
  box-shadow: 0 10px 20px rgba(36, 75, 68, 0.23);
}

.oh-will-ad__visual:focus-visible,
.oh-will-ad__button:focus-visible {
  outline: 3px solid #c9a85f;
  outline-offset: 3px;
}

.oh-will-ad__note {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e7e2d9;
  color: #777f7c;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .oh-will-ad {
    width: calc(100% - 24px);
    margin-top: 32px;
    margin-bottom: 22px;
    border-radius: 10px;
  }

  .oh-will-ad__inner {
    grid-template-columns: 1fr;
  }

  .oh-will-ad__visual {
    min-height: 0;
  }

  .oh-will-ad__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 600 / 463;
    object-fit: cover;
  }

  .oh-will-ad__content {
    padding: 23px 20px 19px;
  }

  .oh-will-ad__title {
    font-size: 21px;
  }

  .oh-will-ad__points {
    display: grid;
    gap: 6px;
  }

  .oh-will-ad__button {
    min-height: 54px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oh-will-ad__image,
  .oh-will-ad__button {
    transition: none;
  }
}
