/* =========================================================
   WordPress制作マニュアル販売ページとCTA最終調整
========================================================= */

/* =========================================================
   START FROM 39 — WORDPRESS SITE MANUAL SALES PAGE
   販売用 WordPressサイト制作マニュアル
   Status: Final
========================================================= */

/* =========================================================
   01. DESIGN TOKENS / BASE
========================================================= */

.sf39-product {
  --sp-green: #07564e;
  --sp-deep: #033e39;
  --sp-gold: #b28a32;
  --sp-gold-light: #e7ca87;
  --sp-ivory: #f7f4ec;
  --sp-paper: #fffefa;
  --sp-ink: #282824;
  --sp-muted: #69655c;
  --sp-line: #d8d1c4;

  color: var(--sp-ink);
  background: var(--sp-ivory);

  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

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

.sf39-product a:focus-visible,
.sf39-product summary:focus-visible {
  outline: 2px solid var(--sp-gold);
  outline-offset: 3px;
}

/* =========================================================
   02. HERO
========================================================= */

.sf39-product__hero {
  padding: 104px 24px 96px;

  color: #fff;
  background: linear-gradient(135deg, #054b44, #087064);

  text-align: center;
}

.sf39-product__hero-inner {
  max-width: 940px;

  margin: auto;
}

.sf39-product__eyebrow,
.sf39-product__label {
  margin: 0 0 16px;

  color: var(--sp-gold);

  font: 700 12px/1.4 Georgia,
    serif;
  letter-spacing: 0.2em;
}

.sf39-product__eyebrow {
  color: var(--sp-gold-light);
}

.sf39-product__hero h1 {
  margin: 0;

  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.03em;
}

.sf39-product__subtitle {
  margin: 28px auto 0;

  color: rgba(255, 255, 255, 0.86);

  font-size: 17px;
}

.sf39-product__price-line {
  display: flex;

  flex-direction: column;
  align-items: center;

  margin: 34px 0 27px;
}

.sf39-product__price-line span {
  color: var(--sp-gold-light);

  font-size: 13px;
  font-weight: 700;
}

.sf39-product__price-line strong {
  font: 500 52px/1.2 Georgia,
    serif;
}

.sf39-product__price-line small {
  font: 600 14px/1.4 "Noto Sans JP",
    sans-serif;
}

.sf39-product__price-line del {
  color: rgba(255, 255, 255, 0.6);

  font-size: 13px;
}

.sf39-product__micro {
  margin: 16px 0 0;

  color: rgba(255, 255, 255, 0.66);

  font-size: 11px;
}

/* =========================================================
   03. BUTTONS
========================================================= */

.sf39-product__button {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;
  gap: 42px;

  min-width: 360px;
  min-height: 58px;

  padding: 15px 22px;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition: transform 0.22s ease,
    box-shadow 0.22s ease;
}

.sf39-product__button span {
  transition: transform 0.22s ease;
}

.sf39-product__button--gold {
  color: var(--sp-deep);
  background: var(--sp-gold-light);
}

.sf39-product__button--light {
  color: var(--sp-deep);
  background: #fff;
}

@media (hover: hover) {
  .sf39-product__button:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);

    transform: translateY(-4px);
  }

  .sf39-product__button:hover span {
    transform: translateX(4px);
  }
}

/* =========================================================
   04. COMMON SECTION
========================================================= */

.sf39-product__section {
  max-width: 1160px;

  margin: auto;
  padding: 90px 34px;
}

.sf39-product__section-head {
  text-align: center;
}

.sf39-product__section h2,
.sf39-product__closing h2 {
  margin: 0 0 24px;

  color: var(--sp-deep);

  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.55;
}

.sf39-product__center-copy {
  color: var(--sp-muted);
}

/* =========================================================
   05. INTRODUCTION / PROBLEMS
========================================================= */

.sf39-product__intro {
  text-align: center;
}

.sf39-product__problems {
  max-width: 760px;

  margin: 42px auto;
  padding: 26px 36px;

  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  box-shadow: 0 16px 38px rgba(24, 65, 57, 0.07);

  text-align: left;
}

.sf39-product__problems p {
  position: relative;

  margin: 0;
  padding: 12px 0 12px 34px;

  border-bottom: 1px solid #ebe4d8;
}

.sf39-product__problems p:last-child {
  border: 0;
}

.sf39-product__problems p::before {
  content: "✓";
  position: absolute;
  left: 3px;

  color: var(--sp-gold);

  font-weight: 700;
}

/* =========================================================
   06. OUTCOMES
========================================================= */

.sf39-product__outcome {
  max-width: none;

  background: #eeebe3;
}

.sf39-product__outcome > .sf39-product__section-head,
.sf39-product__outcome > .sf39-product__grid {
  max-width: 1092px;

  margin-right: auto;
  margin-left: auto;
}

.sf39-product__grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  margin-top: 44px;
}

.sf39-product__grid article {
  padding: 32px 28px;

  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
}

.sf39-product__grid b {
  color: var(--sp-gold);

  font: italic 22px Georgia,
    serif;
}

.sf39-product__grid h3 {
  margin: 18px 0 10px;

  color: var(--sp-deep);

  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 21px;
}

.sf39-product__grid p {
  margin: 0;

  color: var(--sp-muted);

  font-size: 14px;
}

/* =========================================================
   07. CURRICULUM
========================================================= */

.sf39-product__curriculum {
  max-width: 930px;
}

.sf39-product__curriculum ol {
  display: grid;

  grid-template-columns: 1fr 1fr;

  margin: 44px 0 0;
  padding: 0;

  border-top: 1px solid var(--sp-line);
  border-left: 1px solid var(--sp-line);

  list-style: none;
}

.sf39-product__curriculum li {
  display: grid;

  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;

  padding: 20px;

  background: var(--sp-paper);
  border-right: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.sf39-product__curriculum li span {
  color: var(--sp-gold);

  font: italic 18px Georgia,
    serif;
}

.sf39-product__curriculum strong,
.sf39-product__curriculum small {
  display: block;
}

.sf39-product__curriculum strong {
  color: var(--sp-deep);
}

.sf39-product__curriculum small {
  margin-top: 3px;

  color: var(--sp-muted);

  font-size: 11px;
}

/* =========================================================
   08. FEATURES
========================================================= */

.sf39-product__features {
  max-width: none;

  color: #fff;
  background: var(--sp-green);
}

.sf39-product__features .sf39-product__section-head,
.sf39-product__feature-row {
  max-width: 1092px;

  margin-right: auto;
  margin-left: auto;
}

.sf39-product__features h2 {
  color: #fff;
}

.sf39-product__feature-row {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  gap: 1px;

  margin-top: 42px;

  background: rgba(255, 255, 255, 0.2);
}

.sf39-product__feature-row > div {
  padding: 30px 24px;

  background: var(--sp-green);
}

.sf39-product__feature-row span {
  color: var(--sp-gold-light);

  font-size: 22px;
}

.sf39-product__feature-row strong {
  display: block;

  margin: 14px 0 8px;
}

.sf39-product__feature-row p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 13px;
}

/* =========================================================
   09. AUTHOR
========================================================= */

.sf39-product__author {
  display: grid;

  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 64px;
}

.sf39-product__author-mark {
  display: grid;

  aspect-ratio: 1;

  color: rgba(178, 138, 50, 0.35);
  border: 1px solid var(--sp-gold);
  border-radius: 50%;

  font: italic 92px Georgia,
    serif;

  place-items: center;
}

.sf39-product__author p:not(.sf39-product__label) {
  color: var(--sp-muted);
}

/* =========================================================
   10. FIT / NOT FIT
========================================================= */

.sf39-product__fit {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 24px;

  max-width: 1040px;
}

.sf39-product__fit > div {
  padding: 42px;

  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
}

.sf39-product__fit h2 {
  font-size: 31px;
}

.sf39-product__fit ul {
  margin: 20px 0 0;
  padding-left: 1.3em;
}

.sf39-product__fit li {
  margin: 10px 0;
}

/* =========================================================
   11. PURCHASE
========================================================= */

.sf39-product__purchase {
  max-width: 820px;

  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  box-shadow: 0 22px 55px rgba(24, 65, 57, 0.11);

  text-align: center;
}

.sf39-product__purchase del {
  color: var(--sp-muted);
}

.sf39-product__big-price {
  margin: 8px 0 22px;

  color: var(--sp-deep);

  font: 500 64px Georgia,
    serif;
}

.sf39-product__big-price small {
  font: 600 15px "Noto Sans JP",
    sans-serif;
}

.sf39-product__purchase ul {
  display: inline-block;

  margin: 0 0 28px;
  padding: 0;

  list-style: none;

  text-align: left;
}

.sf39-product__purchase li::before {
  content: "✓";

  margin-right: 12px;

  color: var(--sp-gold);
}

.sf39-product__purchase .sf39-product__micro {
  color: var(--sp-muted);
}

/* =========================================================
   12. PURCHASE FLOW
========================================================= */

.sf39-product__flow-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  gap: 16px;

  margin-top: 42px;
}

.sf39-product__flow-grid > div {
  padding: 28px 22px;

  background: var(--sp-paper);
  border-top: 2px solid var(--sp-gold);
}

.sf39-product__flow-grid b,
.sf39-product__flow-grid strong {
  display: block;
}

.sf39-product__flow-grid b {
  color: var(--sp-gold);

  font: italic 20px Georgia,
    serif;
}

.sf39-product__flow-grid strong {
  margin: 13px 0 6px;

  color: var(--sp-deep);
}

.sf39-product__flow-grid p {
  margin: 0;

  color: var(--sp-muted);

  font-size: 13px;
}

/* =========================================================
   13. FAQ
========================================================= */

.sf39-product__faq {
  max-width: 900px;
}

.sf39-product__faq details {
  background: var(--sp-paper);
  border-bottom: 1px solid var(--sp-line);
}

.sf39-product__faq summary {
  padding: 22px 25px;

  color: var(--sp-deep);

  font-weight: 700;

  cursor: pointer;
}

.sf39-product__faq details p {
  margin: 0;
  padding: 0 25px 22px;

  color: var(--sp-muted);
}

/* =========================================================
   14. CLOSING CTA
========================================================= */

.sf39-product__closing {
  padding: 96px 24px;

  color: #fff;
  background: var(--sp-deep);

  text-align: center;
}

.sf39-product__closing h2 {
  color: #fff;
}

.sf39-product__closing > p:not(.sf39-product__label) {
  margin-bottom: 30px;

  color: rgba(255, 255, 255, 0.76);
}

.sf39-product__mobile-br {
  display: none;
}

/* =========================================================
   15. TABLET / MOBILE
========================================================= */

@media (max-width: 780px) {
  .sf39-product {
    font-size: 15px;
  }

  .sf39-product__hero {
    padding: 68px 20px 62px;
  }

  .sf39-product__hero h1 {
    font-size: 35px;
    line-height: 1.48;
  }

  .sf39-product__mobile-br {
    display: block;
  }

  .sf39-product__subtitle br,
  .sf39-product__intro h2 br,
  .sf39-product__center-copy br {
    display: none;
  }

  .sf39-product__price-line strong {
    font-size: 44px;
  }

  .sf39-product__button {
    width: 100%;
    min-width: 0;

    gap: 18px;
  }

  .sf39-product__section {
    padding: 62px 18px;
  }

  .sf39-product__section h2,
  .sf39-product__closing h2 {
    font-size: 29px;
  }

  .sf39-product__problems {
    padding: 18px;
  }

  .sf39-product__grid,
  .sf39-product__curriculum ol,
  .sf39-product__fit {
    grid-template-columns: 1fr;
  }

  .sf39-product__feature-row,
  .sf39-product__flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sf39-product__author {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sf39-product__author-mark {
    width: 150px;

    margin: auto;
  }

  .sf39-product__fit > div {
    padding: 30px 24px;
  }

  .sf39-product__purchase {
    margin: 34px 18px;
    padding: 54px 22px;
  }

  .sf39-product__big-price {
    font-size: 52px;
  }

  .sf39-product__closing {
    padding: 70px 20px;
  }
}

@media (max-width: 460px) {
  .sf39-product__feature-row,
  .sf39-product__flow-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   16. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .sf39-product__button,
  .sf39-product__button span {
    transition: none !important;
  }
}

/* =========================================================
   Consolidated: wordpress-site-manual-sales-polish.css
========================================================= */

/* =========================================================
   START FROM 39 — SALES PAGE
   Typography & CTA Polish — Final

   Add this block after the main .sf39-product CSS.
========================================================= */

/* =========================================================
   ---------------------------------------------------------
   1. Hero title
---------------------------------------------------------
========================================================= */

.sf39-product__hero h1 {
  font-size: clamp(38px, 4.25vw, 56px);
  line-height: 1.46;
  letter-spacing: 0.02em;
}

.sf39-product__hero h1 > span {
  display: block;
}

/* =========================================================
   Keep the main title and supplementary tag together on desktop.
========================================================= */

.sf39-product__title-row {
  display: flex !important;

  align-items: baseline;
  justify-content: center;
  gap: 0.28em;

  white-space: nowrap;
}

.sf39-product__title-tag {
  font-size: 0.72em;
}

/* =========================================================
   ---------------------------------------------------------
   2. Section headings
---------------------------------------------------------
========================================================= */

.sf39-product__section h2,
.sf39-product__closing h2 {
  font-size: clamp(29px, 3.4vw, 40px);
  line-height: 1.58;
}

/* =========================================================
   ---------------------------------------------------------
   3. Closing CTA
---------------------------------------------------------
========================================================= */

.sf39-product__closing .sf39-product__button--gold {
  color: var(--sp-deep);
  background: var(--sp-gold-light);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   ---------------------------------------------------------
   4. Tablet and mobile
---------------------------------------------------------
========================================================= */

@media (max-width: 780px) {
  .sf39-product__hero h1 {
    font-size: 31px;
    line-height: 1.5;
  }

  .sf39-product__title-row {
    flex-direction: column;
    align-items: center;
    gap: 4px;

    white-space: normal;
  }

  .sf39-product__title-main {
    font-size: 29px;
    white-space: nowrap;
  }

  .sf39-product__title-tag {
    color: var(--sp-gold-light);

    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
  }

  .sf39-product__section h2,
  .sf39-product__closing h2 {
    font-size: 27px;
  }
}

/* =========================================================
   ---------------------------------------------------------
   5. Small mobile
---------------------------------------------------------
========================================================= */

@media (max-width: 380px) {
  .sf39-product__hero h1 {
    font-size: 28px;
  }

  .sf39-product__title-main {
    font-size: 26px;
  }
}
