/*
Theme Name: Dr Personal Draft V2
Theme URI: https://xs874347.xsrv.jp/dr-personal/
Author: Harashima Planning
Description: Draft landing theme for Dr. Personal by Komorebi Terrace.
Version: 0.2.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: dr-personal
*/

:root {
  --drp-ink: #342f2a;
  --drp-muted: #716a61;
  --drp-line: #ded6c9;
  --drp-soft-line: #eee8dd;
  --drp-paper: #fffdf8;
  --drp-cream: #fbf7ee;
  --drp-gold: #dca300;
  --drp-gold-deep: #bc8200;
  --drp-olive: #7b7c47;
  --drp-green: #29a322;
  --drp-shadow: 0 18px 48px rgba(52, 47, 42, 0.13);
  --drp-radius: 8px;
  --drp-header-height: 70px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #fff 0, #fffdf8 34%, #f8f2e7 100%);
  color: var(--drp-ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

body.admin-bar .drp-header {
  top: 32px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.drp-site {
  min-height: 100vh;
  padding-bottom: 86px;
}

.drp-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.screen-reader-text,
.drp-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.drp-skip-link:focus {
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  clip: auto;
  background: #fff;
  border: 1px solid var(--drp-line);
  border-radius: var(--drp-radius);
}

.drp-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--drp-line);
  backdrop-filter: blur(18px);
}

.drp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--drp-header-height);
  gap: 22px;
}

.drp-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
}

.drp-brand__mark {
  width: 38px;
  flex: 0 0 auto;
  color: var(--drp-gold);
}

.drp-brand__sub {
  display: inline-block;
  margin-left: 12px;
  color: var(--drp-muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

.drp-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #403a34;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.drp-nav a {
  padding: 8px 2px;
}

.drp-nav a:hover,
.drp-nav a:focus-visible {
  color: var(--drp-gold-deep);
}

.drp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--drp-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.drp-menu-toggle svg {
  width: 28px;
}

.drp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--drp-line);
  border-radius: var(--drp-radius);
  background: #fff;
  box-shadow: 0 4px 14px rgba(52, 47, 42, 0.06);
  color: var(--drp-ink);
  font-weight: 800;
  line-height: 1.25;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.drp-btn:hover,
.drp-btn:focus-visible {
  transform: translateY(-1px);
  border-color: #c8bca9;
  box-shadow: 0 8px 18px rgba(52, 47, 42, 0.12);
}

.drp-btn--gold {
  background: linear-gradient(180deg, #e9b706 0%, #dca300 100%);
  border-color: #d39a00;
  color: #fff;
  text-shadow: 0 1px 0 rgba(83, 57, 0, 0.25);
}

.drp-btn--line {
  justify-content: flex-start;
  min-height: 68px;
  background: #f4fbef;
  border-color: #94d573;
}

.drp-btn__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
}

.drp-line-mark {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--drp-green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.drp-btn__arrow {
  margin-left: auto;
  font-size: 1.2rem;
}

.drp-section {
  padding: 72px 0;
}

.drp-section--tight {
  padding-top: 36px;
}

.drp-section__head {
  width: min(800px, 100%);
  margin: 0 auto 26px;
  text-align: center;
}

.drp-eyebrow {
  margin: 0 0 8px;
  color: var(--drp-gold-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.drp-heading {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(1.75rem, 3.4vw, 3.5rem);
  line-height: 1.25;
  font-weight: 600;
}

.drp-heading span {
  color: var(--drp-gold-deep);
}

.drp-lead {
  margin: 14px 0 0;
  color: var(--drp-muted);
  font-size: 1rem;
  font-weight: 700;
}

.drp-hero {
  padding: 32px 0 0;
}

.drp-hero__frame {
  overflow: hidden;
  border: 1px solid #cdbfae;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--drp-shadow);
}

.drp-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  align-items: stretch;
}

.drp-hero__copy {
  padding: clamp(28px, 4vw, 50px) clamp(24px, 4vw, 48px);
}

.drp-hero__text {
  margin: 18px 0 0;
  color: #4f473e;
  font-weight: 700;
}

.drp-hero__media {
  position: relative;
  min-height: 430px;
  background: #efe5d8;
}

.drp-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.62) 0%, rgba(255, 253, 248, 0) 30%);
  pointer-events: none;
}

.drp-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.drp-hero__actions {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.95fr;
  gap: 12px;
  margin-top: 28px;
}

.drp-hero__stack {
  display: grid;
  gap: 10px;
}

.drp-hero__price {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: none;
}

.drp-hero__actions > .drp-btn--gold {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.drp-hero__actions > .drp-btn--gold .drp-btn__arrow {
  margin: 0;
}

.drp-program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.drp-card {
  border: 1px solid var(--drp-line);
  border-radius: var(--drp-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(52, 47, 42, 0.06);
}

.drp-program {
  display: grid;
  min-height: 144px;
  align-content: center;
  justify-items: center;
  padding: 22px 16px;
  text-align: center;
}

.drp-program svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--drp-gold);
}

.drp-program:nth-child(n+2) svg {
  color: var(--drp-olive);
}

.drp-program h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.drp-program p {
  margin: 0;
  color: var(--drp-muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.drp-trainer {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: 26px;
  margin-top: 24px;
  padding: 24px 30px;
}

.drp-trainer__photo {
  overflow: hidden;
  border-radius: var(--drp-radius);
  background: #f1ebe1;
}

.drp-trainer__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.drp-trainer__name {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.4;
}

.drp-trainer__meta,
.drp-trainer__copy {
  margin: 0;
  color: var(--drp-muted);
  font-weight: 700;
}

.drp-trainer__copy {
  padding-left: 28px;
  border-left: 1px solid var(--drp-line);
}

.drp-flow {
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
  border-top: 1px solid var(--drp-soft-line);
  border-bottom: 1px solid var(--drp-soft-line);
}

.drp-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.drp-flow-card {
  position: relative;
  min-height: 238px;
  padding: 26px 18px 22px;
}

.drp-flow-card__num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--drp-gold);
  color: #fff;
  font-weight: 900;
}

.drp-flow-card svg {
  width: 42px;
  height: 42px;
  margin-left: 12px;
  color: var(--drp-ink);
  vertical-align: middle;
}

.drp-flow-card h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
}

.drp-flow-card p {
  margin: 0;
  color: var(--drp-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.drp-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.drp-access__panel {
  padding: 26px;
}

.drp-access__title {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.drp-access__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--drp-muted);
  font-weight: 700;
}

.drp-access__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.drp-access__list svg {
  width: 22px;
  flex: 0 0 22px;
  margin-top: 4px;
  color: var(--drp-gold-deep);
}

.drp-reservation {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(135deg, #35382b 0%, #687044 100%);
  color: #fff;
}

.drp-reservation .drp-btn {
  width: 100%;
}

.drp-reservation p {
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
  font-weight: 700;
}

.drp-footer {
  padding: 34px 0 120px;
  border-top: 1px solid var(--drp-line);
  color: var(--drp-muted);
  font-size: 0.88rem;
  text-align: center;
}

.drp-fixed-cta {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 18px;
  display: grid;
  width: min(560px, calc(100% - 28px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--drp-radius);
  background: #3f4434;
  box-shadow: 0 16px 36px rgba(52, 47, 42, 0.24);
  transform: translate(-50%, 120%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.has-scrolled .drp-fixed-cta {
  transform: translate(-50%, 0);
  opacity: 1;
}

.drp-fixed-cta a {
  display: grid;
  min-height: 64px;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 8px 6px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.1;
}

.drp-fixed-cta a:nth-child(2) {
  background: var(--drp-gold);
}

.drp-fixed-cta svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1020px) {
  .drp-nav {
    position: fixed;
    top: var(--drp-header-height);
    right: 16px;
    display: none;
    width: min(300px, calc(100vw - 32px));
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    background: #fffdf8;
    border: 1px solid var(--drp-line);
    border-radius: var(--drp-radius);
    box-shadow: var(--drp-shadow);
  }

  .is-menu-open .drp-nav {
    display: flex;
  }

  .drp-menu-toggle {
    display: inline-flex;
  }

  .drp-brand__sub {
    display: none;
  }

  .drp-hero__content {
    grid-template-columns: 1fr;
  }

  .drp-hero__media {
    min-height: 320px;
    order: -1;
  }

  .drp-hero__media img {
    min-height: 320px;
  }

  .drp-hero__actions {
    grid-template-columns: 1fr;
  }

  .drp-program-grid,
  .drp-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drp-trainer,
  .drp-access {
    grid-template-columns: 1fr;
  }

  .drp-trainer__copy {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .drp-site {
    padding-bottom: 78px;
  }

  .drp-container {
    width: min(100% - 24px, 1180px);
  }

  .drp-header__inner {
    min-height: 60px;
  }

  .drp-nav {
    top: 60px;
  }

  .drp-brand {
    font-size: 1.1rem;
  }

  .drp-brand__mark {
    width: 30px;
  }

  .drp-hero {
    padding-top: 14px;
  }

  .drp-hero__frame {
    border-radius: 14px;
  }

  .drp-hero__copy {
    padding: 24px 18px;
  }

  .drp-hero__media,
  .drp-hero__media img {
    min-height: 245px;
  }

  .drp-heading {
    font-size: 2rem;
  }

  .drp-section {
    padding: 50px 0;
  }

  .drp-program-grid,
  .drp-flow-grid {
    grid-template-columns: 1fr;
  }

  .drp-program {
    min-height: 118px;
  }

  .drp-trainer,
  .drp-access__panel,
  .drp-reservation {
    padding: 20px;
  }

  .drp-fixed-cta {
    bottom: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    transform: translate(-50%, 0);
    opacity: 1;
  }

  .drp-footer {
    padding-bottom: 100px;
  }
}
