﻿/*
Theme Name: Cast Retouch SWELL Child
Theme URI: https://retouch.holeinone-adult.net/
Author: Cast Photo Works
Description: SWELLを親テーマとして使う、風俗店向け画像加工サービスLP用の子テーマです。
Template: swell
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: cast-retouch-swell-child
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700;800;900&display=swap');

:root {
  --ink: #151321;
  --bg: #fff7fb;
  --card: #ffffff;
  --muted: #6f6876;
  --pink: #ff2f92;
  --pink2: #ff74bd;
  --yellow: #ffd33d;
  --cyan: #00c5e8;
  --purple: #22183d;
  --line: rgba(21, 19, 33, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 47, 146, .2), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(255, 211, 61, .25), transparent 26%),
    var(--bg);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.78;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 48px);
  color: white;
  transition: background .2s ease, box-shadow .2s ease;
}
.header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 247, 251, .94);
  box-shadow: 0 12px 34px rgba(21, 19, 33, .1);
  backdrop-filter: blur(14px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--pink2));
  font-size: 13px;
}
.nav { display: flex; gap: 22px; font-size: 14px; font-weight: 800; }
.header-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}
.header-button,
.btn.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--pink2) 58%, var(--cyan));
  box-shadow: 0 14px 36px rgba(255, 47, 146, .35);
}
.btn.ghost {
  color: white;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,47,146,.18);
}
.btn.full { width: 100%; }

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  color: white;
}
.hero-bg,
.hero-shade { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(21,19,33,.96), rgba(21,19,33,.75) 44%, rgba(21,19,33,.24)),
    radial-gradient(circle at 20% 38%, rgba(255,47,146,.38), transparent 26%),
    radial-gradient(circle at 78% 25%, rgba(255,211,61,.22), transparent 24%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 96vh;
  margin: 0 auto;
  padding: 126px 0 54px;
  display: grid;
  align-content: center;
}
.badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}
.badge.dark { color: white; background: var(--pink); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}
.lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.9;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-weight: 800;
}
.band {
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(90deg, var(--yellow), #ff8cc8, var(--cyan));
  text-align: center;
  font-weight: 900;
}
.band p { margin: 0 auto; max-width: 1080px; }
.quick-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--ink);
  background: var(--purple);
}
.quick-proof div {
  min-height: 118px;
  padding: 24px 18px;
  text-align: center;
  background: linear-gradient(135deg, #fff, #fff0c7);
}
.quick-proof strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 900;
}
.quick-proof span {
  display: block;
  margin-top: 8px;
  color: var(--pink);
  font-weight: 800;
}
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}
.section-title { max-width: 820px; margin-bottom: 30px; }
.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards article,
.plan,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(255,47,146,.08);
}
.cards article { padding: 24px; min-height: 230px; }
.cards strong { display: block; font-size: 19px; line-height: 1.5; font-weight: 800; }
.cards p, .text, details p { color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: center;
}
.service-box { display: grid; gap: 12px; }
.service-box div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 16px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}
.service-box span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--pink2));
  font-weight: 900;
}
.example { padding-top: 20px; }
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.mock { padding: 20px; border-radius: 8px; background: white; border: 1px solid var(--line); }
.mock span { display: inline-block; margin-bottom: 12px; color: var(--pink); font-weight: 900; }
.portrait {
  aspect-ratio: 4/3;
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 34%, rgba(255,255,255,.95) 0 8%, transparent 9%),
    radial-gradient(ellipse at 52% 64%, rgba(255,255,255,.88) 0 22%, transparent 23%),
    linear-gradient(135deg, #4e475c, #191725);
}
.after .portrait {
  background:
    radial-gradient(circle at 52% 34%, rgba(255,255,255,.98) 0 8%, transparent 9%),
    radial-gradient(ellipse at 52% 64%, rgba(255,255,255,.92) 0 22%, transparent 23%),
    linear-gradient(135deg, #ff8cc8, #ffd33d 52%, #00c5e8);
}
.arrow { font-size: 44px; font-weight: 900; color: var(--pink); }
.price-section {
  padding: 86px max(16px, calc((100vw - 1120px) / 2));
  color: white;
  background:
    radial-gradient(circle at 15% 16%, rgba(255,47,146,.35), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(255,211,61,.24), transparent 27%),
    var(--purple);
}
.price-grid,
.price-cards {
  display: grid;
  grid-template-columns: 1.05fr .98fr .9fr;
  gap: 18px;
  width: min(1120px, 100%);
}
.plan,
.price-card {
  padding: 28px;
  color: var(--ink);
  background: #fff;
}
.plan.main,
.price-card.main { border: 3px solid var(--yellow); }
.plan p,
.price-card .plan-name {
  margin: 0 0 8px;
  color: var(--pink);
  font-weight: 900;
}
.plan h3,
.price-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.16;
  font-weight: 900;
}
.price-card ul,
.price-card li { color: var(--ink); }
.price-card .btn { color: var(--ink); }
.price-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
ul { margin: 24px 0; padding: 0; list-style: none; }
li { position: relative; padding-left: 22px; margin: 10px 0; }
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.flow li { min-height: 160px; padding: 22px; border-radius: 8px; background: white; border: 1px solid var(--line); }
.flow li::before { display: none; }
.flow b { display: block; font-size: 20px; }
.flow span { color: var(--muted); }
.policy,
.policy-section {
  padding: 88px 16px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple) 55%, #0e8ea6);
}
.policy-inner { width: min(1120px, 100%); margin: 0 auto; }
.policy-section .section-title {
  width: min(820px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(1120px, 100%);
  margin-inline: auto;
  margin-top: 28px;
}
.policy-grid p {
  margin: 0;
  padding: 20px;
  min-height: 92px;
  border-radius: 8px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
}
details { margin: 12px 0; }
summary { padding: 18px 20px; cursor: pointer; font-weight: 900; }
details p { margin: 0; padding: 0 20px 20px; }
.contact,
.contact-section {
  padding: 90px 16px;
  color: white;
  background: #151321;
  text-align: center;
}
.contact-section > div {
  width: min(820px, 100%);
  margin: 0 auto;
}
.contact h2,
.contact-section h2 { max-width: 820px; margin: 0 auto; }
.contact p,
.contact-section p { max-width: 700px; margin: 18px auto 0; color: rgba(255,255,255,.78); }
.contact-box {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
}
.contact-box .btn {
  width: 100%;
}
.contact-box strong { font-size: 22px; }
.contact-box span { color: var(--yellow); font-weight: 900; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 4vw, 48px);
  color: rgba(255,255,255,.72);
  background: #0f0d17;
  font-size: 13px;
}
.footer p { margin: 0; }

@media (max-width: 900px) {
  .nav { display: none; }
  .cards.three,
  .split,
  .before-after,
  .price-cards,
  .price-grid,
  .flow,
  .policy-grid,
  .quick-proof { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); text-align: center; }
}
@media (max-width: 560px) {
  body { line-height: 1.82; }
  .header {
    min-height: 58px;
    padding: 9px 12px;
    background: rgba(21, 19, 33, .86);
    backdrop-filter: blur(14px);
  }
  .logo strong { display: none; }
  .logo span { width: 38px; height: 38px; font-size: 12px; }
  .header-button { min-height: 38px; padding: 9px 11px; font-size: 12px; }
  .hero { min-height: auto; }
  .hero-bg { object-position: 58% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(21,19,33,.96), rgba(21,19,33,.84) 58%, rgba(21,19,33,.66)),
      radial-gradient(circle at 20% 28%, rgba(255,47,146,.28), transparent 32%),
      radial-gradient(circle at 80% 18%, rgba(255,211,61,.18), transparent 30%);
  }
  .hero-content {
    width: min(100% - 28px, 1120px);
    min-height: auto;
    padding: 98px 0 42px;
    align-content: start;
  }
  .badge { font-size: 12px; padding: 6px 10px; }
  h1 { font-size: 34px; line-height: 1.18; }
  h2 { font-size: 27px; line-height: 1.34; }
  .lead { margin-top: 18px; font-size: 15px; line-height: 1.86; }
  .actions { gap: 10px; margin-top: 24px; }
  .btn { width: 100%; min-height: 48px; padding: 13px 14px; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .hero-points span { display: grid; place-items: center; min-height: 42px; padding: 8px; text-align: center; font-size: 12px; border-radius: 8px; }
  .band { padding: 16px 14px; font-size: 14px; text-align: left; }
  .quick-proof div { min-height: auto; padding: 18px 14px; }
  .quick-proof strong { font-size: 26px; }
  .section { width: min(100% - 28px, 1120px); padding: 64px 0; }
  .section-title { margin-bottom: 22px; }
  .cards article,
  .price-card,
  .flow li,
  details { padding: 20px; }
  .cards strong { font-size: 18px; }
  .service-box div { min-height: 62px; padding: 14px; }
  .service-box span { width: 34px; height: 34px; }
  .price-section, .policy, .policy-section, .contact, .contact-section { padding-block: 58px; }
  .policy-section .section-title { margin-bottom: 22px; }
  .price-card h3 { font-size: 30px; }
  .price-card li { padding-left: 18px; margin: 8px 0; }
  .policy-grid p { min-height: auto; padding: 18px; }
  .contact-box { padding: 20px 16px; }
  .contact-box strong { font-size: 19px; }
  .footer { flex-direction: column; }
}


/* Price card readability fix */
.price-section .price-card,
.price-section .price-card *:not(.btn),
.price-section .price-card h3,
.price-section .price-card li {
  color: var(--ink) !important;
}
.price-section .price-card {
  background: #fff !important;
}
.price-section .price-card .plan-name {
  color: var(--pink) !important;
}
.price-section .price-card .btn {
  color: var(--ink) !important;
}

/* Hard override because SWELL may override CSS variables inside sections. */
.price-section .price-card,
.price-section .price-card h3,
.price-section .price-card li,
.price-section .price-card ul,
.price-section .price-card strong,
.price-section .price-card b {
  color: #151321 !important;
}
.price-section .price-card .plan-name {
  color: #ff2f92 !important;
}
