:root {
  --navy: #16213e;
  --navy-dark: #0d1526;
  --navy-soft: #2a3b63;
  --orange: #f5820c;
  --orange-soft: #ffb066;
  --white: #ffffff;
  --bg: #f6f1e7;
  --text: #23293a;
  --text-soft: #6b6455;
  --border: #e4dcc9;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --red: #e0364f;
  --red-dark: #c41f38;
  --shadow: 0 12px 32px rgba(22, 33, 62, 0.10);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ---------- Header ---------- */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(245,130,12,0.28);
  color: var(--white);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.brand span { color: var(--orange); }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav-links a { opacity: 0.85; transition: opacity 0.25s ease, color 0.25s ease; }
.nav-links a:hover { opacity: 1; color: var(--orange-soft); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: var(--orange-soft); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { text-align: left; max-width: 640px; }
.hero-eyebrow {
  display: inline-block;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--orange-soft);
  border-bottom: 1px solid rgba(255,176,102,0.4);
  padding-bottom: 10px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 22px;
  min-height: 2.8em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero h1 .typed-cursor {
  display: inline-block;
  width: 3px;
  background: var(--orange);
  margin-left: 4px;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero p.lead {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-soft); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.9); }

.hero-price-badge {
  margin-top: 52px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 14px 26px;
  border-radius: 2px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.hero-price-badge strong { font-size: 22px; color: var(--orange-soft); }

/* ---------- Section headings ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 640px;
  margin-bottom: 56px;
}
.section-num {
  display: none;
  flex-shrink: 0;
  font-size: 0;
  padding-top: 14px;
}
.section-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  opacity: 0.6;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--navy);
}
.section-head p {
  color: var(--text-soft);
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- fade-in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Strengths (選ばれる理由) ---------- */
.compare-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}
.compare-box {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 26px 24px;
  text-align: center;
  border-radius: var(--radius);
}
.compare-market { background: var(--bg); border: 1px dashed var(--border); }
.compare-us { background: var(--navy); box-shadow: var(--shadow); }
.compare-label { display: block; font-size: 12.5px; margin-bottom: 10px; }
.compare-market .compare-label { color: var(--text-soft); }
.compare-us .compare-label { color: rgba(255,255,255,0.7); }
.compare-price { display: block; font-family: "Shippori Mincho", serif; font-weight: 800; font-size: 26px; }
.compare-market .compare-price { color: var(--text-soft); text-decoration: line-through; text-decoration-color: rgba(107,100,85,0.5); }
.compare-us .compare-price { color: var(--orange-soft); font-size: 34px; }
.compare-arrow { font-size: 22px; color: var(--orange); flex-shrink: 0; }
.compare-note { text-align: center; font-size: 12px; color: var(--text-soft); margin-bottom: 60px; }

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.strength-item { text-align: left; }
.strength-num {
  display: block;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  color: var(--orange);
  opacity: 0.45;
  margin-bottom: 10px;
}
.strength-item h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 8px; }
.strength-item p { font-size: 13px; color: var(--text-soft); }

/* ---------- Services ---------- */
.services-list {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
}
.service-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; padding-bottom: 0; }
.service-index {
  flex-shrink: 0;
  width: 44px;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  color: var(--orange);
  opacity: 0.45;
}
.service-row-body h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--navy); }
.service-row-body p { font-size: 14px; color: var(--text-soft); }
.service-row-body .row-note { display: block; margin-top: 4px; font-size: 12px; color: var(--text-soft); opacity: 0.75; }

/* ---------- Pricing (panel) ---------- */
.price-panel {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 44px 8px;
}
.price-panel-head { margin-bottom: 28px; }
.price-panel-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}
.price-panel-sub { display: block; font-size: 12.5px; color: var(--text-soft); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}
.price-features li strong { color: var(--orange); font-weight: 700; }
.price-panel-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0;
  margin-bottom: 8px;
  border-top: 2px solid var(--navy);
}
.price-panel-total > span:first-child { font-size: 14px; font-weight: 700; color: var(--navy); }
.price-amount { font-size: 32px; font-weight: 800; color: var(--navy); }
.price-amount small { font-size: 12.5px; font-weight: 500; color: var(--text-soft); margin-left: 4px; }
.price-options { border-top: 1px solid var(--border); }
.price-option-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.price-option-row span { font-size: 12.5px; color: var(--text-soft); }
.price-option-row span small { display: block; color: var(--text-soft); opacity: 0.75; font-size: 11px; margin-top: 2px; }
.price-option-row strong { flex-shrink: 0; font-size: 12.5px; color: var(--orange); font-weight: 700; white-space: nowrap; }

/* ---------- Portfolio ---------- */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.portfolio-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.portfolio-row:nth-child(even) { direction: rtl; }
.portfolio-row:nth-child(even) > * { direction: ltr; }
.portfolio-row-thumb {
  aspect-ratio: 16/11;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.thumb-1 {
  background: url('images/thumb-shokudo-maruya.jpg') center 18% / cover no-repeat;
}
.thumb-2 {
  background: url('images/thumb-hairsalon-luce.jpg') center 20% / cover no-repeat;
}
.thumb-3 {
  background: url('images/thumb-izakaya-tanuki.jpg') center 22% / cover no-repeat;
}
.portfolio-num {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}
.portfolio-row-body h3 { font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.portfolio-row-body p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 18px; max-width: 380px; }
.portfolio-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Flow ---------- */
.flow-list {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
}
.flow-item {
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.flow-item:last-child { border-bottom: 1px solid var(--border); }
.flow-index {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.45;
  flex-shrink: 0;
  width: 52px;
}
.flow-item-body h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.flow-item-body p { font-size: 13.5px; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s ease;
}
.contact-list a:first-child { border-top: 1px solid var(--border); }
.contact-row:hover { padding-left: 12px; }
.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-icon.icon-line { background: #06c755; }
.contact-icon.icon-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.contact-icon.icon-mail { background: #4285f4; }
.contact-icon.icon-phone { background: var(--navy); }
.contact-row:hover .contact-icon { transform: scale(1.08); box-shadow: 0 6px 16px rgba(22,33,62,0.22); }
.contact-row-body { flex: 1; }
.contact-row-body h3 { font-size: 14.5px; color: var(--navy); margin-bottom: 4px; }
.contact-row-body .value { font-size: 13.5px; color: var(--orange); font-weight: 700; word-break: break-word; }
.contact-arrow { color: var(--text-soft); font-size: 18px; transition: transform 0.25s ease, color 0.25s ease; }
.contact-row:hover .contact-arrow { color: var(--orange); transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.faq-item:first-child { padding-top: 0; }
.faq-q {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}
.faq-q span {
  flex-shrink: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
}
.faq-a { font-size: 14px; color: var(--text-soft); padding-left: 34px; }

/* ---------- Payment button (in pricing) ---------- */
.payment-link-wrap { text-align: center; margin-top: 40px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 44px 0 28px;
  text-align: center;
  font-size: 13px;
}
footer.site-footer .brand { color: var(--white); margin-bottom: 14px; }
footer.site-footer .foot-links { display: flex; justify-content: center; gap: 20px; margin: 18px 0; flex-wrap: wrap; }
footer.site-footer .foot-links a { transition: color 0.25s ease; }
footer.site-footer .foot-links a:hover { color: var(--orange-soft); }
.footer-mark {
  font-size: clamp(48px, 12vw, 160px);
  font-weight: 800;
  text-align: center;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 0 8px;
  line-height: 1;
  user-select: none;
}

/* ---------- Page transition ---------- */
body.page-transition { animation: fadeInPage 0.5s ease; }
@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }
a.page-link { transition: opacity 0.3s ease; }

/* ---------- Payment select page ---------- */
.payment-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
.payment-hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-icon { width: 0.85em; height: 0.85em; flex-shrink: 0; }
.payment-hero p { color: rgba(255,255,255,0.75); font-size: 14.5px; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}
.method-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  transition: border-color 0.25s ease;
  display: block;
}
.method-card:hover { border-color: var(--navy); }
.method-card.bank { border-top-color: var(--blue); }
.method-card.paypay { border-top-color: var(--red); }
.method-card.bank:hover { border-color: var(--blue); }
.method-card.paypay:hover { border-color: var(--red); }
.method-icon { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--navy); }
.method-card.bank .method-icon { color: var(--blue); }
.method-card.paypay .method-icon { color: var(--red); }
.method-card h2 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.method-card p { font-size: 13.5px; color: var(--text-soft); margin-bottom: 22px; }
.method-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  transition: background 0.25s ease;
}
.method-card.bank .method-btn { background: var(--blue); }
.method-card.bank:hover .method-btn { background: var(--blue-dark); }
.method-card.paypay .method-btn { background: var(--red); }
.method-card.paypay:hover .method-btn { background: var(--red-dark); }

.detail-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  border: 1px solid var(--border);
}
.detail-card table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.detail-card table th, .detail-card table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.detail-card table th { color: var(--text-soft); font-weight: 600; width: 38%; }
.detail-card table td { color: var(--navy); font-weight: 700; }
.notice-box {
  background: #fff6ea;
  border: 1px solid #ffe0b0;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13.5px;
  color: #8a5a12;
  margin-top: 20px;
}
.notice-box.red { background: #fdeceb; border-color: #f6c3bd; color: #a3312a; }
.notify-form { margin-top: 28px; }
.notify-form .bot-field-wrap { position: absolute; left: -9999px; }
.notify-form .form-row { margin-bottom: 16px; }
.notify-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 6px; }
.notify-form .req { color: var(--orange); font-size: 11px; margin-left: 6px; }
.notify-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
}
.notify-form input[type="text"]:focus { outline: none; border-color: var(--orange); }
.notify-success {
  margin-top: 28px;
  text-align: center;
  background: #eefaf0;
  border: 1px solid #bfe6c6;
  border-radius: var(--radius);
  padding: 18px;
  font-size: 14.5px;
  color: #216633;
  font-weight: 600;
}
.qr-box {
  text-align: center;
  margin: 24px 0;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
}
.qr-box img { width: 200px; margin: 0 auto 14px; border-radius: 2px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.back-link:hover { color: var(--orange); }

@media (max-width: 780px) {
  section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .strength-grid { grid-template-columns: 1fr; gap: 28px; }
  .compare-arrow { transform: rotate(90deg); }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    padding: 4px 24px 12px;
    gap: 0;
    border-bottom: 1px solid rgba(245,130,12,0.28);
    box-shadow: 0 16px 24px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 15px;
    opacity: 1;
  }
  .nav-links a:last-child { border-bottom: none; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero p.lead { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .portfolio-row { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-row:nth-child(even) { direction: ltr; }
  .price-panel { padding: 32px 24px 8px; }
  .price-panel-total { flex-direction: column; align-items: flex-start; gap: 6px; }
  .price-panel-total > span:first-child { white-space: nowrap; }
  .price-option-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price-option-row strong { white-space: normal; }
}
