/* Optional visual refresh. Set-Design.ps1 switches this layer on or off.
   Original content, hero backgrounds, video, petals and scripts are retained. */

/* Shared controls */
.btn {
  min-height: 50px;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease, color 180ms ease;
}
.btn[data-lang-en] { display: inline-flex; }
html:lang(ja) .btn[data-lang-ja] { display: inline-flex !important; }
.btn-primary {
  background: var(--pink-hover);
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 6px 18px rgba(236,39,95,.16);
}
.btn-primary:hover {
  background: #c9003b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(236,39,95,.24);
}
.btn-outline {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.btn-outline:hover {
  background: rgba(236,39,95,.1);
  border-color: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-sm { min-height: 42px; padding: 10px 20px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #ff7c9f;
  outline-offset: 5px;
}

/* Navigation */
.header {
  background: rgba(10,10,10,.94);
  border-bottom-color: rgba(255,255,255,.1);
  box-shadow: 0 6px 28px rgba(0,0,0,.12);
}
.header .container {
  max-width: 1600px;
  padding-inline: clamp(20px, 2.5vw, 40px);
  gap: 24px;
}
.nav { margin-left: auto; min-width: 0; }
.nav-links { gap: 2px; }
.nav-links a {
  display: inline-block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 550;
  color: rgba(255,255,255,.72);
  transition: background 180ms ease, color 180ms ease;
}
html:lang(ja) .nav-links a[data-lang-ja] { display: inline-block !important; }
.nav-links a::after { display: none; }
.nav-links a:hover { background: rgba(255,255,255,.06); }
.nav-links a.active { background: rgba(236,39,95,.12); color: #ff8baa; }
.header-actions { gap: 12px; flex-shrink: 0; }
.japan-time {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: .72rem;
}
.lang-toggle {
  padding: 3px;
  gap: 2px;
  border-radius: 10px;
  background: #171717;
  border-color: rgba(255,255,255,.1);
}
.lang-toggle button {
  border-radius: 7px;
  min-width: 38px;
  min-height: 30px;
  padding: 6px 9px;
  font-size: .72rem;
  color: rgba(255,255,255,.68);
}
.lang-toggle button:hover { color: white; background: rgba(255,255,255,.08); }
.lang-toggle button.active { background: var(--pink-hover); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.menu-toggle {
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}
.menu-toggle span { width: 20px; }

/* Content surfaces; the hero and its effects keep their original styling. */
.section:not(.cta-section) { padding-block: clamp(64px, 7vw, 96px); }
.section-title { margin-bottom: 42px; }
.section-title h2 { letter-spacing: -.035em; }
.section-title p { color: rgba(255,255,255,.65); line-height: 1.8; }
.section .badge, .section-sm .badge {
  padding: 6px 12px;
  border: 1px solid rgba(236,39,95,.22);
  border-radius: 6px;
  background: rgba(236,39,95,.055);
  color: #ff789b;
  font-size: .69rem;
  letter-spacing: .14em;
}
.glass-card, .contact-info-item {
  background: linear-gradient(145deg, #191719 0%, #111112 72%);
  border-color: rgba(255,255,255,.1);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 12px 32px rgba(0,0,0,.12);
}
.glass-card:hover {
  border-color: rgba(236,39,95,.32);
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 16px 36px rgba(0,0,0,.18);
}
.steps-grid, .features-grid { gap: 18px; }
.step-card { text-align: left; padding: 28px 24px; position: relative; }
.step-card .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid rgba(236,39,95,.24);
  border-radius: 12px;
  background: rgba(236,39,95,.07);
  font-size: .95rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #ff789b;
  opacity: 1;
}
.step-card h4 { line-height: 1.5; letter-spacing: -.02em; }
.step-card p { color: rgba(255,255,255,.65); line-height: 1.85; margin-bottom: 0; }
/* The detailed process reads as one connected journey, not separate cards. */
#import-process { scroll-margin-top: calc(var(--header-h) + 24px); }
#import-process .section-title { text-align: left; margin-bottom: 40px; }
#import-process .badge {
  position: relative;
  padding: 0 0 0 36px;
  border: 0;
  border-radius: 0;
  background: none;
  margin-bottom: 20px;
  letter-spacing: .18em;
}
#import-process .badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--pink);
}
#import-process .section-title h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  letter-spacing: -.04em;
}
#import-process .section-title p { max-width: none; margin: 0; }
#import-process .process-steps {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(125deg, #171416, #0f0e10 70%);
}
#import-process .process-step {
  display: grid;
  grid-template-columns: 40px 48px minmax(0, .85fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 24px;
  padding: 32px 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 220ms ease, opacity .8s ease, transform .8s ease;
}
#import-process .process-step:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.1); }
#import-process .process-step:hover { background: rgba(236,39,95,.035); box-shadow: none; }
#import-process .process-step-marker { position: relative; align-self: stretch; }
#import-process .process-step:not(:last-child) .process-step-marker::after {
  content: '';
  position: absolute;
  top: 40px;
  bottom: -65px;
  left: 19px;
  width: 1px;
  background: linear-gradient(rgba(236,39,95,.28), rgba(255,255,255,.12));
}
#import-process .process-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(236,39,95,.3);
  border-radius: 50%;
  background: #201319;
  color: #f88eac;
  font-size: .75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#import-process .process-icon { display: block; color: #f06188; }
#import-process .process-step-heading { min-width: 0; padding-top: 5px; }
#import-process .process-step h4 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.025em;
}
#import-process .process-step-description { min-width: 0; padding-top: 3px; }
#import-process .process-step p { margin: 0; color: #aaa5ab; font-size: .925rem; line-height: 1.85; }
@media (max-width: 900px) {
  #import-process .process-step { grid-template-columns: 40px 40px minmax(0, 1fr); gap: 14px 20px; }
  #import-process .process-step-marker { grid-row: span 2; }
  #import-process .process-icon { width: 40px; height: 40px; }
  #import-process .process-step-description { grid-column: 2 / -1; padding-top: 0; }
  #import-process .process-step-heading { align-self: center; padding-top: 0; }
}
@media (max-width: 600px) {
  #import-process .section-title { margin-bottom: 32px; }
  #import-process .process-steps { border-radius: 14px; }
  #import-process .process-step { grid-template-columns: 32px 36px minmax(0, 1fr); padding: 24px 20px; gap: 14px 16px; }
  #import-process .process-number { width: 32px; height: 32px; font-size: .7rem; }
  #import-process .process-step:not(:last-child) .process-step-marker::after { top: 32px; bottom: -49px; left: 15px; }
  #import-process .process-icon { width: 36px; height: 36px; }
  #import-process .process-step h4 { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  #import-process .process-step { transition: none; }
}

.feature-card { padding: 30px; align-items: flex-start; }
.feature-icon, .contact-info-item .icon {
  background: rgba(236,39,95,.07);
  border: 1px solid rgba(236,39,95,.16);
  border-radius: 14px;
}
.feature-card h4 { font-size: 1.025rem; letter-spacing: -.015em; }
.feature-card p, .contact-info-item p { color: rgba(255,255,255,.65); line-height: 1.8; }
.why-section { border-top: 1px solid rgba(255,255,255,.06); }

/* Why Sakura: one panel, four principles. Scoped to the homepage section. */
#why-us {
  background: radial-gradient(ellipse at 100% 0%, rgba(236,39,95,.055), transparent 55%), #0b0a0b;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
#why-us .section-title { text-align: left; margin-bottom: 40px; }
#why-us .badge {
  padding: 0 0 0 36px;
  position: relative;
  background: none;
  border: 0;
  border-radius: 0;
  letter-spacing: .18em;
  margin-bottom: 20px;
}
#why-us .badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--pink);
}
#why-us .section-title h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.04em;
  margin-bottom: 0;
}
#why-us .section-title h2 .text-pink { display: block; }
#why-us .why-separator { display: none; }
#why-us .features-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(125deg, #171416, #0f0e10 70%);
}
#why-us .feature-card {
  display: block;
  min-width: 0;
  padding: 32px 36px 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background 220ms ease, opacity .8s ease, transform .8s ease;
}
#why-us .feature-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
#why-us .feature-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
#why-us .feature-card:hover { background: rgba(236,39,95,.035); box-shadow: none; }
#why-us .feature-symbol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  color: #f06188;
}
#why-us .feature-symbol svg { display: block; flex-shrink: 0; }
#why-us .symbol-detail { opacity: .4; }
#why-us .symbol-point { fill: var(--pink); stroke: #171416; stroke-width: 2; }
#why-us .feature-index {
  align-self: flex-start;
  padding-top: 4px;
  color: #777078;
  font-size: .75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}
#why-us .feature-card h4 {
  margin-bottom: 12px;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.025em;
}
#why-us .feature-card p {
  max-width: 47ch;
  color: #aaa5ab;
  font-size: .925rem;
  line-height: 1.85;
}
@media (max-width: 700px) {
  #why-us .section-title { margin-bottom: 32px; }
  #why-us .features-grid { grid-template-columns: 1fr; border-radius: 14px; }
  #why-us .feature-card { padding: 26px 24px 30px; }
  #why-us .feature-card:nth-child(odd) { border-right: 0; }
  #why-us .feature-card:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.1); }
  #why-us .feature-symbol { margin-bottom: 20px; }
  #why-us .feature-symbol svg { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #why-us .feature-card { transition: none; }
}

.cta-section {
  width: calc(100% - 48px);
  max-width: 1232px;
  margin: 24px auto 64px;
  padding: 64px 24px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  background: linear-gradient(115deg, #ec275f, #d20b43);
  box-shadow: 0 20px 60px rgba(236,39,95,.09);
}
.cta-section h2 { letter-spacing: -.03em; }
.cta-section .btn-outline {
  background: var(--white);
  color: #b8093b;
  border-color: white;
  box-shadow: 0 6px 18px rgba(90,0,25,.15);
}
.cta-section .btn-outline:hover { background: #fff0f5; color: #9c0832; }

/* Forms and information */
.contact-info-item { padding: 30px 20px; min-width: 0; }
.contact-info-item a { overflow-wrap: anywhere; }

/* Contact symbols share the restrained line style of Why Sakura. */
.contact-line-icon { display: block; flex-shrink: 0; color: #f06188; }
#contact .contact-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(125deg, #171416, #0f0e10 70%);
}
#contact .contact-info-item {
  align-items: stretch;
  text-align: left;
  gap: 0;
  padding: 32px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background 220ms ease;
}
#contact .contact-info-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
#contact .contact-info-item:hover { transform: none; background: rgba(236,39,95,.035); }
#contact .contact-info-symbol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
#contact .contact-info-index {
  align-self: flex-start;
  padding-top: 4px;
  color: #777078;
  font-size: .75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}
#contact .contact-info-item h4 { margin-bottom: 12px; font-size: 1.15rem; font-weight: 600; letter-spacing: -.025em; }
#contact .contact-info-item p { color: #aaa5ab; font-size: .9rem; line-height: 1.85; }
@media (max-width: 860px) {
  #contact .contact-info-grid { grid-template-columns: 1fr; border-radius: 14px; }
  #contact .contact-info-item { padding: 26px 24px 30px; }
  #contact .contact-info-item:not(:last-child) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  #contact .contact-info-symbol { margin-bottom: 20px; }
  #contact .contact-info-symbol .contact-line-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #contact .contact-info-item { transition: none; }
}

.contact-form { gap: 24px; margin-top: 28px; }
.form-group { min-width: 0; }
.form-group label[data-lang-en] { display: block; margin-bottom: 9px; }
html:lang(ja) .form-group label[data-lang-ja] { display: block !important; margin-bottom: 9px; }
.form-group input, .form-group textarea, .form-group select {
  min-height: 50px;
  background-color: #0c0c0d;
  border-color: rgba(255,255,255,.16);
  border-radius: 10px;
  font-size: 1rem;
  color: #f6f6f6;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #918c93; }
.form-group input:hover, .form-group textarea:hover, .form-group select:hover { border-color: rgba(255,255,255,.3); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  background-color: #111012;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236,39,95,.1);
}
.social-link { width: 56px; height: 56px; border-radius: 14px; }
.profile-table th { color: #ff8baa; font-weight: 500; }
.profile-table th, .profile-table td { padding: 20px 16px; }
.profile-table tr:last-child { border-bottom: 0; }
.profile-table td { overflow-wrap: anywhere; }
.legend-item { background: #151416; border-radius: 10px; }
.legend-num { border-radius: 8px; }
.auction-grade .grade { color: #ff8baa; border: 1px solid rgba(236,39,95,.2); }
.auction-grade p { color: rgba(255,255,255,.65); }
.legal-content { line-height: 1.85; }
.president-content blockquote { color: rgba(255,255,255,.7); }

/* Accordion and slideshow controls */
.faq-grid { align-items: start; gap: 14px; }
.accordion-item { border-color: rgba(255,255,255,.12); border-radius: 14px; background: #141315; }
.accordion-header { padding: 22px 24px; background: transparent; line-height: 1.6; }
.accordion-header:hover { background: rgba(255,255,255,.025); }
.accordion-item.active { border-color: rgba(236,39,95,.45); }
.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(236,39,95,.09);
  color: #ff8baa;
}
.accordion-body-inner { color: rgba(255,255,255,.68); }
.slideshow { border-radius: 18px; border-color: rgba(255,255,255,.14); }
.slideshow-arrow {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(10,10,10,.75);
  border-color: rgba(255,255,255,.3);
}
.slideshow-dots {
  align-items: center;
  gap: 0;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(12px);
}
.slideshow-dots button {
  width: 28px;
  height: 28px;
  position: relative;
  background: transparent;
  border-radius: 6px;
}
.slideshow-dots button::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background 180ms ease, transform 180ms ease;
}
.slideshow-dots button.active { background: transparent; transform: none; }
.slideshow-dots button.active::after { background: var(--pink); transform: scale(1.3); }
.slideshow-dots button:hover::after { background: white; }

/* Footer */
.footer { background: #0e0d0f; border-top: 1px solid rgba(255,255,255,.09); }
.footer-grid { gap: 40px; }
.footer h4 { color: rgba(255,255,255,.78); font-size: .73rem; letter-spacing: .13em; }
.footer-links a, .footer-contact-item, .footer-contact-item a, .footer-about p { color: rgba(255,255,255,.6); }
.footer-links a:hover, .footer-contact-item a:hover { color: #ff8baa; }
.footer-contact-item { align-items: flex-start; gap: 10px; }
.footer-contact-item .contact-line-icon { width: 18px; height: 18px; margin-top: 3px; }
.footer-contact-item a { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 1.25fr);
    gap: 32px;
  }
}
.footer-links li { margin-bottom: 12px; }
.footer-grid > div > li { list-style: none; margin-bottom: 12px; }
.footer-grid > div > li > a { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-grid > div > li > a:hover { color: #ff8baa; }
.footer-bottom { border-top-color: rgba(255,255,255,.08); padding-block: 24px; }

/* Responsive refinements */
@media (min-width: 1401px) and (max-width: 1450px) {
  .header .container { gap: 14px; padding-inline: 20px; }
  .header .logo-img { height: 26px; }
  .nav-links a { padding-inline: 7px; font-size: .75rem; }
}
@media (max-width: 1400px) {
  .nav-links {
    top: calc(100% + 10px);
    right: 16px;
    width: min(360px, calc(100vw - 32px));
    height: auto;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    padding: 14px;
    gap: 4px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: #141214;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
  }
  .nav-links.open { display: flex; right: 16px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 12px 14px; font-size: .9rem; }
  html:lang(ja) .nav-links a[data-lang-ja] { display: block !important; }
}
@media (max-width: 768px) {
  .header .container { gap: 8px; padding-inline: 16px; }
  .header .logo { min-width: 0; flex-shrink: 1; }
  .header .logo-img { height: auto; width: min(230px, 48vw); }
  .header-actions { gap: 8px; }
  .section-title { margin-bottom: 32px; }
  .feature-card { padding: 24px; gap: 16px; }
  .cta-section { width: calc(100% - 32px); padding: 44px 16px; margin-bottom: 48px; border-radius: 18px; }
  .cta-section .container { padding-inline: 0; }
  .cta-section .hero-buttons { align-items: center; }
  .slideshow-arrow { width: 40px; height: 40px; }
  .footer-grid { gap: 32px; }
  .footer-bottom { gap: 16px; }
}
@media (max-width: 480px) {
  .lang-toggle button { min-width: 30px; padding-inline: 6px; }
  .menu-toggle { width: 36px; height: 36px; }
  .feature-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .feature-card { gap: 14px; padding: 22px 18px; }
  .profile-table th, .profile-table td { padding: 16px 8px; font-size: .83rem; }
  .profile-table th { width: 34%; }
  .accordion-header { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .glass-card, .nav-links a, .lang-toggle button,
  .social-link, .slideshow-arrow, .slideshow-dots button::after { transition: none; }
  .btn:hover, .contact-info-item:hover, .social-link:hover { transform: none; }
}
