/* BeTempo LP — hand-written CSS, no build step. */

:root {
  --teal: #4fc3b0;
  --teal-dark: #2f9d8c;
  --teal-light: #e6f6f3;
  --teal-pale: #f4fbf9;
  --yellow: #f2c14e;
  --pink: #f08a98;
  --orange: #f5a54b;
  --ink: #3f3f3f;
  --ink-soft: #6b6b6b;
  --line: #e4e8e7;
  --bg: #ffffff;
  --bg-alt: #f8faf9;
  --radius: 14px;
  --max: 1080px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 0.5em; font-weight: 700; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { text-align: center; margin-bottom: 8px; }
.section__lead { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 0 auto 40px; text-wrap: pretty; }
.section__lead--wide { max-width: 800px; text-wrap: balance; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--teal-dark);
  letter-spacing: 0.08em; margin-bottom: 8px;
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700;
  text-decoration: none; text-align: center; transition: transform 0.1s, box-shadow 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(79, 195, 176, 0.35); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--ghost { background: #fff; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn--ghost:hover { background: var(--teal-light); }
.btn--small { padding: 10px 20px; font-size: 0.95rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo img { height: 48px; width: auto; }
.header__nav { display: none; gap: 24px; align-items: center; }
.header__nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.header__nav a:hover { color: var(--teal-dark); }
@media (min-width: 860px) { .header__nav { display: flex; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--teal-pale) 0%, #fff 100%); padding: 56px 0 64px; }
.hero__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.hero h1 { font-size: 1.9rem; line-height: 1.4; margin-bottom: 20px; }
@media (min-width: 600px) { .hero h1 { font-size: 2.4rem; } }
.hero h1 .accent { color: var(--teal-dark); }
.nowrap { display: inline-block; white-space: nowrap; }
.hero__sub { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero__note { font-size: 0.9rem; color: var(--ink-soft); }
.hero__note span { margin-right: 1em; white-space: nowrap; }
.hero__visual { display: flex; flex-direction: column; align-items: center; }
.apps {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  width: min(420px, 100%);
}
.apps__tile {
  background: #fff; border-radius: var(--radius); padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(63, 63, 63, 0.08); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 160px;
}
/* Keep text at the outer corners so the centre hub sits in whitespace. */
.apps__tile:nth-child(2n) { align-items: flex-end; text-align: right; }
.apps__tile:nth-child(1), .apps__tile:nth-child(2) { padding-bottom: 28px; }
.apps__tile:nth-child(3), .apps__tile:nth-child(4) { padding-top: 28px; justify-content: flex-end; }
.apps__tile strong { font-size: 1.05rem; margin-top: 6px; }
.apps__tile small { color: var(--ink-soft); font-size: 0.8rem; line-height: 1.5; }
.apps__icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.apps__icon svg { width: 26px; height: 26px; }
.apps__tile--teal .apps__icon { background: var(--teal); }
.apps__tile--yellow .apps__icon { background: var(--yellow); }
.apps__tile--pink .apps__icon { background: var(--pink); }
.apps__tile--orange .apps__icon { background: var(--orange); }
.apps__tile:nth-child(1) { border-top: 4px solid var(--teal); }
.apps__tile:nth-child(2) { border-top: 4px solid var(--yellow); }
.apps__tile:nth-child(3) { border-top: 4px solid var(--pink); }
.apps__tile:nth-child(4) { border-top: 4px solid var(--orange); }
.apps__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; background: #fff;
  box-shadow: 0 10px 28px rgba(63, 63, 63, 0.16); border: 3px solid var(--teal-light);
  display: flex; align-items: center; justify-content: center;
}
.apps__hub img { width: 58px; }
.apps__note { font-size: 0.85rem; color: var(--ink-soft); margin: 16px 0 0; text-align: center; }

/* Cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card--pain { display: flex; gap: 12px; align-items: flex-start; }
.card--pain::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--pink); margin-top: 0.55em;
}
.card--pain:nth-child(3n+2)::before { background: var(--yellow); }
.card--pain:nth-child(3n)::before { background: var(--orange); }
.card--pain p { margin: 0; }

/* Story */
.story { max-width: 760px; margin: 0 auto; }
.story__values { display: grid; gap: 16px; margin: 28px 0; }
@media (min-width: 640px) { .story__values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--teal-light); border-radius: var(--radius); padding: 20px; }
.value h3 { color: var(--teal-dark); font-size: 1.05rem; margin-bottom: 6px; }
.value p { margin: 0; font-size: 0.95rem; }
.story__close { text-align: center; font-weight: 700; font-size: 1.1rem; margin-top: 24px; }

/* Features */
.feature { display: grid; gap: 24px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; }
  .feature:nth-of-type(even) .feature__text { order: 2; }
}
.feature__text h3 { font-size: 1.4rem; }
.feature__tag {
  display: inline-block; background: var(--teal); color: #fff; font-size: 0.8rem; font-weight: 700;
  border-radius: 6px; padding: 2px 10px; margin-bottom: 8px;
}
.feature__tag--yellow { background: var(--yellow); color: var(--ink); }
.feature__tag--pink { background: var(--pink); }
.feature__tag--orange { background: var(--orange); }
.feature__lead { font-weight: 700; font-size: 1.05rem; }
.feature__text ul { font-size: 0.95rem; }
.shot {
  aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
  font-size: 0.9rem; background: var(--bg-alt);
}
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.shot:has(img) { aspect-ratio: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); overflow: hidden; }
.shot span { padding: 0 16px; text-align: center; }
.shot--hero { width: min(520px, 100%); background: #fff; }
.shot--phone { aspect-ratio: 9 / 16; width: min(240px, 100%); margin: 0 auto; }
/* Two text columns, no screenshot. */
.feature--text-only { align-items: start; }
.feature--text-only .feature__text h3 { font-size: 1.2rem; }
@media (min-width: 860px) { .feature--text-only .feature__text { order: 0 !important; } }
.common { background: var(--teal-light); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.common ul { margin: 0; }

/* Combo diagram */
.combo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 32px 0; }
.combo__box { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 24px; text-align: center; min-width: 200px; }
.combo__box strong { display: block; font-size: 1.05rem; }
.combo__box small { color: var(--ink-soft); }
.combo__box--teal { border-color: var(--teal); background: var(--teal-light); }
.combo__plus { font-size: 2rem; font-weight: 700; color: var(--teal-dark); }
.combo__apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.combo__apps span { background: #fff; border-radius: 6px; padding: 2px 10px; font-size: 0.85rem; border: 1px solid var(--teal); }

/* Pricing */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { background: var(--teal-light); font-size: 0.9rem; }
.price-table td:nth-child(2), .price-table td:nth-child(3), .price-table th:nth-child(2), .price-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .highlight td { background: #fffbea; font-weight: 700; }
.price-table .price { font-size: 1.15rem; font-weight: 700; }
.price-tax-note { display: none; font-size: 0.9rem; color: var(--ink-soft); margin: 12px 0 0; }
@media (max-width: 600px) {
  .price-table th:nth-child(3), .price-table td:nth-child(3) { display: none; }
  .price-table th, .price-table td { padding: 12px 12px; }
  .price-tax-note { display: block; }
}
.price-notes { font-size: 0.9rem; color: var(--ink-soft); margin-top: 20px; }
.price-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.badge { background: #fff; border: 2px solid var(--teal); color: var(--teal-dark); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.steps__note { text-align: center; font-size: 0.9rem; color: var(--ink-soft); margin: 20px auto 0; max-width: 760px; }
.steps__cta { text-align: center; margin-top: 28px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--teal-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { text-align: center; max-width: 640px; margin: 0 auto; }
.contact__mail { margin-top: 20px; font-size: 0.95rem; color: var(--ink-soft); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.9rem; color: var(--ink-soft); }
.footer__inner { display: grid; gap: 16px; }
@media (min-width: 640px) { .footer__inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer__logo img { height: 44px; width: auto; margin-bottom: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.footer__links a { color: var(--ink-soft); text-decoration: none; }
.footer__links a:hover { color: var(--teal-dark); }
.footer__copy { margin: 12px 0 0; }

/* Entry page (betempo.jp): intro + two equal cards. */
.entry { display: flex; flex-direction: column; min-height: 100vh; }
.entry__main { flex: 1; padding: 48px 0 72px; background: linear-gradient(180deg, var(--teal-pale) 0%, #fff 100%); }
.entry__intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.entry__mark { width: 72px; margin: 0 auto 16px; }
.entry__intro h1 { font-size: 1.9rem; margin-bottom: 12px; }
.entry__intro p { color: var(--ink-soft); margin: 0; }
.pc-only { display: none; }
@media (min-width: 860px) { .pc-only { display: inline; } }
.choices { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--teal); padding: 32px 28px 28px;
  box-shadow: 0 8px 24px rgba(63, 63, 63, 0.06); display: flex; flex-direction: column;
}
.choice h2 { font-size: 1.3rem; margin-bottom: 10px; }
.choice p { color: var(--ink-soft); font-size: 0.98rem; }
.choice__status {
  align-self: flex-start; background: var(--bg-alt); color: var(--ink-soft); margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 0.8rem; font-weight: 700;
}
.choice__note { font-size: 0.9rem; margin: auto 0 0; padding-top: 8px; }
.choice__action { margin-top: auto; padding-top: 8px; }
.choice__action .btn { width: 100%; }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.legal h1 { font-size: 1.7rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; margin-top: 36px; border-left: 4px solid var(--teal); padding-left: 12px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-alt); white-space: nowrap; }
.legal .meta { color: var(--ink-soft); font-size: 0.9rem; margin-top: 40px; }
.legal ol { padding-left: 1.6em; }
