:root {
  --brand-red: #f05542;
  --brand-brown: #331a14;
  --brand-green: #4caf50;
  --brand-bg: #fffbf5;
  --brand-light-red: #fff0ef;
  --brand-light-green: #e8f5e9;
  --brand-light-orange: #fff3e0;
  --brand-light-purple: #f3e5f5;
  --brand-off-white: #faf6f2;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  scroll-behavior: smooth;
  background-color: var(--brand-bg);
  color: var(--brand-brown);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}
p {
  font-size: 1rem;
}
body.no-scroll {
  overflow: hidden;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }
}
.brand-brown {
  color: var(--brand-brown);
}
.brand-red {
  color: var(--brand-red);
}

.bg-light-red {
  background-color: var(--brand-light-red);
  color: var(--brand-red);
}
.bg-off-white {
  background-color: var(--brand-off-white);
}

.bg-light-green-circle {
  background-color: var(--brand-light-green);
  color: var(--brand-green);
}
.bg-light-orange-circle {
  background-color: var(--brand-light-orange);
  color: var(--brand-red);
}
.bg-light-purple-circle {
  background-color: var(--brand-light-purple);
  color: var(--brand-brown);
}

.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--brand-bg) 0%,
    var(--brand-light-red) 100%
  );
}

.btn-primary {
  background-color: var(--brand-red);
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #d44332;
  transform: translateY(-2px);
}
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(51, 26, 20, 0.05);
  box-shadow: 0 4px 20px rgba(51, 26, 20, 0.05);
}
.hero-overlay {
  background-image: linear-gradient(
      to right,
      rgba(255, 251, 245, 0.3) 20%,
      rgba(255, 251, 245, 0.2) 70%,
      rgba(255, 251, 245, 0.1) 100%
    ),
    url("images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.95) contrast(1.05);
}

.hero-text-mobile {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1)),
      url("images/hero.webp");
    background-position: 80%;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.profile-container {
  position: relative;
  display: inline-block;
}

.profile-image {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 20px;
  background: var(--brand-green);
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===============================
   Calendar
   =============================== */
.calendar-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding-bottom: 75%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .calendar-container {
    padding-bottom: 600px;
  }
}

/* ===============================
   Text Sizes
   =============================== */
.text-xs,
.text-[10px] {
  font-size: 14px !important;
}
.text-sm {
  font-size: 14px;
}
@media (min-width: 768px) {
  .text-sm {
    font-size: 15px;
  }
}

/* ===============================
   Canvas Chart
   =============================== */
#roadmapChart {
  max-width: 100% !important;
}
canvas {
  display: block;
  max-width: 100%;
}

/* ===============================
   Hero Text Shadow (Mobile)
   =============================== */
.hero-text-mobile {
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff,
    1px -1px 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

#mobile-menu-btn {
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}

#mobile-menu-btn span {
  position: absolute;
  left: 50%;
  width: 28px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: 0.3s ease;
}

#mobile-menu-btn span:nth-child(1) {
  top: 12px;
}
#mobile-menu-btn span:nth-child(2) {
  top: 19px;
}
#mobile-menu-btn span:nth-child(3) {
  top: 26px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#mobile-menu-btn.mobile-menu-open span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

#mobile-menu-btn.mobile-menu-open span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.mobile-menu-open span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 40;
  display: none;
}

#mobile-menu-overlay.show {
  display: block;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: #fff;
  z-index: 50;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

#mobile-menu.show {
  transform: translateX(0);
}

/* ===============================
   Tables / Results
   =============================== */
.results-table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.results-table tr {
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
}
.results-table tr:last-child {
  border-bottom: none;
}
.results-table td {
  padding: 0.5rem 1rem;
}
.results-table td:first-child {
  width: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  color: white;
}
.results-table td:last-child {
  text-align: right;
  color: var(--brand-brown);
  font-weight: 700;
}

.result-number {
  font-weight: 900;
  color: var(--brand-red);
  margin-right: 2px;
  vertical-align: middle;
}
.result-unit {
  color: var(--brand-brown);
  vertical-align: baseline;
  margin-left: 6px;
}

.cell-rank-2 {
  background-color: #3972b4;
}
.cell-rank-pre2 {
  background-color: #3eb2db;
}
.cell-rank-3 {
  background-color: #40ad9a;
}
.cell-rank-4 {
  background-color: #7db655;
}
.cell-rank-5 {
  background-color: #b1ca3f;
}

/* ===============================
   Smooth Scroll Margin
   =============================== */
.scroll-mt-header {
  scroll-margin-top: 5rem;
}

/* ===============================
   Form Success Message
   =============================== */
#contact-success-msg {
  display: none;
}

/* ===============================
   Layout & Container
   =============================== */
.container-max {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-max {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-max {
    padding: 0 2rem;
  }
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}

.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .lg\\:col-span-5 {
    grid-column: span 5 / span 5;
  }
  .lg\\:col-span-7 {
    grid-column: span 7 / span 7;
  }
  .lg\\:col-span-8 {
    grid-column: span 8 / span 8;
  }
}

/* ===============================
   Navigation
   =============================== */
nav {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  height: 5rem;
  align-items: center;
}

.nav-logo {
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 3rem;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-main {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: bold;
  color: var(--brand-brown);
}

.nav-logo-sub {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--brand-red);
}

.nav-menu {
  display: none;
  gap: 2rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: bold;
}

@media (min-width: 1023px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  color: var(--brand-brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--brand-red);
}

a.nav-cta {
  background-color: var(--brand-red);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

a.nav-cta:hover {
  color: white;
  background-color: #d44332;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
}

@media (min-width: 1023px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-content {
  background-color: white;
  border-top: 1px solid #e5e7eb;
  z-index: 50;
}

@media (min-width: 1023px) {
  .mobile-menu-content {
    display: none;
  }
}

.mobile-menu-inner {
  max-width: 1280px;
  margin: 3rem auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-link {
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  color: #374151;
  padding: 0.5rem 0;
  text-decoration: none;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  width: 100%;
  background-color: var(--brand-red);
  color: white;
  border-radius: 0.75rem;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 0.5rem;
  text-decoration: none;
}

/* ===============================
   Spacing Utilities
   =============================== */
.min-h-screen {
  min-height: 100vh;
}
.overflow-x-hidden {
  overflow-x: hidden;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-10 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.px-10 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}

@media (min-width: 768px) {
  .md\\:p-7 {
    padding: 1.75rem;
  }
  .md\\:p-8 {
    padding: 2rem;
  }
  .md\\:p-12 {
    padding: 3rem;
  }
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .lg\\:mb-0 {
    margin-bottom: 0;
  }
}

/* ===============================
   Width & Height
   =============================== */
.w-full {
  width: 100%;
}
.w-auto {
  width: auto;
}
.w-2 {
  width: 0.5rem;
}
.w-16 {
  width: 4rem;
}
.w-20 {
  width: 5rem;
}
.h-1 {
  height: 0.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-10 {
  height: 2rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-40 {
  height: 10rem;
}
.h-80 {
  height: 20rem;
}

@media (min-width: 1024px) {
  .lg\\:w-2\\/5 {
    width: 40%;
  }
  .lg\\:w-3\\/5 {
    width: 60%;
  }
}

.max-w-sm {
  max-width: 24rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-7xl {
  max-width: 80rem;
}

/* ===============================
   Display & Position
   =============================== */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-0 {
  top: 0;
}
.z-10 {
  z-index: 10;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}

.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline-flex {
  display: inline-flex;
}
.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\\:flex {
    display: flex;
  }
  .md\\:inline {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .lg\\:flex {
    display: flex;
  }
}

.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-grow {
  flex-grow: 1;
}

/* ===============================
   Text Styles
   =============================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.font-bold {
  font-weight: bold;
}
.font-extrabold {
  font-weight: 800;
}
.font-black {
  font-weight: 900;
}
.font-medium {
  font-weight: 500;
}

.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}

@media (min-width: 640px) {
  .sm\\:text-4xl {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .md\\:text-3xl {
    font-size: 1.875rem;
  }
  .md\\:text-4xl {
    font-size: 2.25rem;
  }
  .md\\:text-5xl {
    font-size: 3rem;
  }
  .md\\:leading-tight {
    line-height: 1.25;
  }
  .md\\:text-base {
    font-size: 1rem;
  }
}

.text-base {
  font-size: 1rem;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-none {
  line-height: 1;
}

.uppercase {
  text-transform: uppercase;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.underline {
  text-decoration: underline;
}
.decoration-dotted {
  text-decoration-style: dotted;
}
.underline-offset-4 {
  text-decoration-thickness: from-font;
  text-underline-offset: 4px;
}

/* ===============================
   Colors
   =============================== */
.text-white {
  color: white;
}
.text-red-500 {
  color: #ef4444;
}
.text-red-600 {
  color: #dc2626;
}
.text-red-700 {
  color: #b91c1c;
}
.text-orange-500 {
  color: #f97316;
}
.text-orange-700 {
  color: #c2410c;
}
.text-green-500 {
  color: #22c55e;
}
.text-green-600 {
  color: #16a34a;
}
.text-green-700 {
  color: #15803d;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-500 {
  color: #6b7280;
}
.text-gray-600 {
  color: var(--brand-brown);
}
.text-gray-700 {
  color: #374151;
}
.text-gray-800 {
  color: #1f2937;
}
.text-stone-400 {
  color: #a8a29e;
}
.text-stone-600 {
  color: #57534e;
}
.text-stone-800 {
  color: #292524;
}

.bg-white {
  background-color: white;
}
.bg-gray-50 {
  background-color: #f9fafb;
}
.bg-gray-100 {
  background-color: #f3f4f6;
}
.bg-gray-200 {
  background-color: #e5e7eb;
}
.bg-stone-50 {
  background-color: #fafaf9;
}
.bg-stone-100 {
  background-color: #f5f5f4;
}
.bg-stone-700 {
  background-color: #44403c;
}
.bg-stone-800 {
  background-color: #292524;
}
.bg-red-50 {
  background-color: #fef2f2;
}
.bg-red-100 {
  background-color: #fee2e2;
}
.bg-red-400 {
  background-color: #f87171;
}
.bg-orange-50 {
  background-color: #fff7ed;
}
.bg-orange-100 {
  background-color: #ffedd5;
}
.bg-green-50 {
  background-color: #f0fdf4;
}
.bg-green-100 {
  background-color: #dcfce7;
}

.bg-opacity-90 {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ===============================
   Borders & Radius
   =============================== */
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 0.8rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-8 {
  border-width: 8px;
}
.border-t {
  border-top-width: 1px;
}
.border-t-8 {
  border-top-width: 8px;
}
.border-b {
  border-bottom-width: 1px;
}

@media (min-width: 640px) {
  .sm\\:border-b-0 {
    border-bottom-width: 0;
  }
  .sm\\:border-r {
    border-right-width: 1px;
  }
}

.border-gray-50 {
  border-color: #f9fafb;
}
.border-gray-100 {
  border-color: #f3f4f6;
}
.border-gray-200 {
  border-color: #e5e7eb;
}
.border-stone-100 {
  border-color: #f5f5f4;
}
.border-orange-50 {
  border-color: #fff7ed;
}
.border-green-50 {
  border-color: #f0fdf4;
}
.border-red-50 {
  border-color: #fef2f2;
}

/* ===============================
   Shadows
   =============================== */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===============================
   Transforms & Transitions
   =============================== */
.transform {
  transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1)
    scaleY(1);
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover\\:bg-gray-50:hover {
  background-color: #f9fafb;
}
.hover\\:text-red-500:hover {
  color: #ef4444;
}
.hover\\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.hover\\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

/* ===============================
   Overflow & Resize
   =============================== */
.overflow-hidden {
  overflow: hidden;
}
.resize-none {
  resize: none;
}

.cursor-pointer {
  cursor: pointer;
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\\:ring-2:focus {
  box-shadow: 0 0 0 3px rgba(240, 85, 66, 0.5);
}
.focus\\:ring-red-500:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.5);
}

.hero-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
  }
  .hero-main {
    grid-column: span 8 / span 8;
  }
}

.hero-title-box {
  max-width: 780px;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1rem 1rem 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1.25;
  }
}

.hero-description {
  color: var(--brand-brown);
  line-height: 1.625;
  max-width: 38rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: bold;
  margin-top: 0;
}

.hero-cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-cta {
  background-color: var(--brand-red);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: bold;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.hero-cta:hover {
  background-color: #d44332;
  transform: translateY(-2px);
}

/* ===============================
   Section Styles
   =============================== */
.section {
  padding: 5rem 0;
}

.section-white {
  background-color: white;
}
.section-gray {
  background-color: #f9fafb;
}
.section-off-white {
  background-color: var(--brand-off-white);
}

.scroll-margin {
  scroll-margin-top: 5rem;
}

.section-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-container-lg {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  color: var(--brand-brown);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 4rem;
  height: 0.25rem;
  background-color: #f87171;
  margin: 0 auto;
  border-radius: 9999px;
  margin: 1rem auto 3rem auto;
}

@keyframes floating-y {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

/* ===============================
   About Section
   =============================== */
.greeting-section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
  background: #fff url("images/bg_greeting_sp.webp") no-repeat 100% bottom;
  background-size: cover;
  height: 100%;
  overflow: hidden;
  position: relative
}

.greeting-section::after {
  content: none;
}

@media (min-width: 768px) {
  .greeting-section {
    background: #fff url("images/bg_greeting.webp") no-repeat center center;
    background-position: center center;
    background-size: cover;
  }
}

.greeting-container {
  max-width: 49rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  border-radius: 0.75rem;
}

.greeting-container::after {
  content: none;
}

@media (min-width: 768px) {
  .greeting-container::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -150px;
    background: url("images/ph_greeting.webp") no-repeat center center;
    background-size: cover;
    width: calc(992px / 2.5);
    height: calc(774px / 2.5);
    display: block;
    z-index: 0;
  }
}

.greeting-quote-wrapper {
  position: relative;
}

.greeting-content {
  position: relative;
  z-index: 10;
}

.greeting-label {
  color: #f97316;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 0.9375rem);
}

.greeting-title {
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  .greeting-title {
    font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  }
}

.greeting-br {
  display: none;
}

@media (min-width: 640px) {
  .greeting-br {
    display: block;
  }
}

.greeting-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--brand-brown);
  line-height: 1.625;
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 0.9375rem);
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff,
    1px -1px 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

@media (min-width: 768px) {
  .greeting-text {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  }
}

.greeting-emphasis {
  font-weight: bold;
  color: var(--brand-brown);
}

.greeting-signature {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff,
    1px -1px 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}

.greeting-role {
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 0.9375rem);
  color: var(--brand-brown);
  margin-bottom: 0.25rem;
}

.greeting-name {
  font-size: clamp(2.2rem, 1rem + 0.5vw, 1.25rem);
  font-weight: bold;
  font-family: "Oooh Baby", cursive;
  letter-spacing: -1px;
  margin: -1rem 0 0 0;
}

.quote-mark {
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-size: 8rem;
  color: rgba(251, 146, 60, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

@media (min-width: 768px) {
  .quote-mark {
    top: -3rem;
    left: -2rem;
    font-size: 12rem;
  }
}

/* ===============================
   Reason Section (選ばれる理由)
   =============================== */
.reason-section {
  padding: 5rem 0 6rem 0;
  background-color: var(--brand-off-white);
  scroll-margin-top: 5rem;
  position: relative;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reason-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(51, 26, 20, 0.05);
  box-shadow: 0 4px 20px rgba(51, 26, 20, 0.05);
  padding: 2rem;
  text-align: center;
}

.reason-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  margin: 0 auto 1.5rem;
}

.reason-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.reason-description {
  color: var(--brand-brown);
  line-height: 1.625;
}

/* フェードインアニメーション */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential fade-in for reason cards */
.reason-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reason-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.reason-card:nth-child(1) {
  transition-delay: 0.1s;
}

.reason-card:nth-child(2) {
  transition-delay: 0.3s;
}

.reason-card:nth-child(3) {
  transition-delay: 0.5s;
}

/* ===============================
   Roadmap Section
   =============================== */
.roadmap-section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
  background: #fbfbfb;
}

.roadmap-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .roadmap-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .roadmap-chart-col {
    grid-column: span 7 / span 7;
  }
  .roadmap-cases-col {
    grid-column: span 5 / span 5;
  }
}

.roadmap-chart-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
}

.roadmap-chart-wrapper {
  height: 20rem;
  width: 100%;
}

.roadmap-cases {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roadmap-case {
  padding: 1rem;
  border-radius: 0.8rem;
  border: 2px solid;
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.roadmap-case.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-1 {
  border-color: #ffedd5;
}
.case-2 {
  border-color: #dcfce7;
}
.case-3 {
  border-color: #fee2e2;
}

.case-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.badge-1 {
  background-color: #ffedd5;
  color: #c2410c;
}

.badge-2 {
  background-color: #dcfce7;
  color: #15803d;
}

.badge-3 {
  background-color: #fee2e2;
  color: #b91c1c;
}

.case-text {
  font-weight: bold;
  color: #1f2937;
  margin: 0;
}

/* ===============================
   Results Section (合格実績)
   =============================== */
.results-section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
  background: #fff url("images/bg_result.webp") no-repeat center 0;
  background-size: contain;
}

.results-container {
  max-width: 24rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.results-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* ===============================
   Calendar Section
   =============================== */
.calendar-section {
  padding: 5rem 0;
  background: url("images/bg_calendar_sp.webp") no-repeat 0 0;
  background-size: cover;
  position: relative;
  scroll-margin-top: 5rem;
  height: 100%;
}

@media (min-width: 768px) {
  .calendar-section {
    background: url("images/bg_calendar.webp") no-repeat center center;
    background-size: cover;
  }
}

.calendar-wrapper {
  background-color: white;
  padding: 1rem;
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
  .calendar-wrapper {
    padding: 2rem;
  }
}

/* ===============================
   Price Section (料金)
   =============================== */
.price-section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
  background: #fbfbfb;
  border-top: 20px solid #e0e0e0;
  background-color: #fff; /* 背景色 */
  background-image: linear-gradient(
      90deg,
      transparent 0%,
      transparent 50%,
      #fff 50%,
      #fff 100%
    ),
    linear-gradient(180deg, #eee 1px, transparent 1px);
  background-size: 8px 100%, 100% 2.5em;
  line-height: 2.5em;
  height: 100%;
}

@media (min-width: 768px) {
  .price-section {
    height: 100vh;
  }
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0;
}

.price-subtitle {
  color: var(--brand-brown);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.price-badge-container {
  display: inline-flex;
  flex-direction: column;
  background-color: white;
  border-radius: 0.8rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  overflow: hidden;
}

@media (min-width: 640px) {
  .price-badge-container {
    flex-direction: row;
  }
}

.price-badge-item {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

@media (min-width: 640px) {
  .price-badge-item {
    border-bottom: none;
    border-right: 1px solid #f3f4f6;
  }
  .price-badge-item:last-child {
    border-right: none;
  }
}

.price-badge-label {
  text-align: left;
}

.price-badge-label-en {
  display: block;
  font-size: 0.625rem;
  font-weight: bold;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-badge-label-ja {
  font-size: 1.125rem;
  font-weight: bold;
  color: #374151;
}

.price-badge-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: #ef4444;
}

.price-badge-value span {
  font-size: 0.9rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-card {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-0.25rem);
}

.price-card-basic {
  border-top: 8px solid #f87171;
}
.price-card-advanced {
  border-top: 8px solid #44403c;
}

.price-card-header {
  margin-bottom: 0;
}

.price-card-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1;
}

.badge-basic {
  background-color: #fef2f2;
  color: #dc2626;
}

.badge-advanced {
  background-color: #f5f5f4;
  color: #57534e;
}

.price-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 1rem 0 0 0;
}

.price-card-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1rem;
}

.price-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #292524;
}

.price-unit {
  font-size: 1.125rem;
  font-weight: bold;
  color: #6b7280;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--brand-brown);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0;
  margin-bottom: 0;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-note {
  text-align: center;
  color: #6b7280;
  margin: 0;
  font-size: 1rem;
}

/* ===============================
   Access Section (アクセス)
   =============================== */
.access-section {
  padding: 5rem 0;
  background-color: var(--brand-off-white);
  scroll-margin-top: 5rem;
}

.access-header {
  text-align: center;
  margin-bottom: 3rem;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .access-grid {
    gap: 3rem;
  }
}

.branch-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid #f5f5f4;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.branch-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .branch-card {
    padding: 2rem;
  }
}

.branch-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.branch-marker {
  width: 0.5rem;
  height: 1.5rem;
  border-radius: 9999px;
}

.marker-red {
  background-color: #ef4444;
}
.marker-green {
  background-color: #22c55e;
}

.branch-address {
  color: var(--brand-brown);
  margin: 0.5rem 0 0 0;
  font-weight: bold;
}

.branch-station {
  color: #6b7280;
  display: flex;
  align-items: center;
  margin: 0 0 0.75rem 0;
  gap: 0.25rem;
}

.branch-station svg {
  height: 0.9rem;
  width: 0.9rem;
}

.branch-photo {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.8rem;
  margin-bottom: 0;
}

.branch-map-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--brand-brown);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.branch-map-link:hover {
  background-color: #f9fafb;
}

.branch-map-link img {
  height: 1rem;
  width: 1rem;
}

/* ===============================
   Contact Section (お問い合わせ)
   =============================== */
.contact-section {
  padding: 5rem 0;
  background-color: white;
  scroll-margin-top: 5rem;
  background: url("images/bg_contact.webp") no-repeat center center;
  background-size: cover;
}

.contact-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-subtitle {
  color: var(--brand-brown);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.contact-form-wrapper {
  background-color: #fafaf9;
  padding: 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f5f5f4;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 3rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #374151;
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
}

.form-required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  padding: 1rem;
  font-size: 1rem;
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 2px rgba(240, 85, 66, 0.5);
}

.form-textarea {
  height: 10rem;
  resize: none;
}

.form-submit-wrapper {
  padding-top: 1rem;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--brand-red);
  color: white;
  padding: 1.25rem;
  border-radius: 0.8rem;
  font-weight: bold;
  font-size: 1.125rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
}

.form-submit-btn:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-color: #d44332;
}

.success-message {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  height: 2rem;
  width: 2rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.success-text {
  color: var(--brand-brown);
  line-height: 1.625;
}

.success-reset-btn {
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #9ca3af;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.success-reset-btn:hover {
  color: #ef4444;
}

/* ===============================
   Footer
   =============================== */
footer {
  padding: 1rem 0;
  background-color: #292524;
  color: white;
}

.footer-container {
  max-width: 80rem;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo-main {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-logo-sub {
  font-size: 0.75rem;
  font-weight: bold;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #a8a29e;
  margin: 0;
}

/* ===============================
   Page Layout
   =============================== */
.page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===============================
   Branch Photo
   =============================== */
.branch-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quote-mark {
  font-family: serif;
  font-size: 80px;
  line-height: 1;
  color: rgba(240, 85, 66, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: 0;
}
