@charset "UTF-8";

/* Reset and Reboot styles (based on Bootstrap Reboot) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth; /* Add smooth scroll for anchor links */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #333; /* Slightly softer black for better readability */
  text-align: left;
  background-color: #fefefe;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700; /* Bolder headings */
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 0;
  list-style: none;
}

a {
  color: #ff6b35; /* Use primary color for links */
  text-decoration: none;
  background-color: transparent;
  transition: color 0.3s ease;
}

a:hover {
  color: #e05a2d;
  text-decoration: none;
}

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
  height: auto;
}

/* Variables & Global Styles */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #f4a261;
  --text-color: #333;
  --bg-light: #fff;
  --bg-dark: #f8f9fa;
  --title-font: 'Oswald', sans-serif; /* NEW FONT */
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
  --border-radius: 16px; /* Unified border-radius */
}

body {
    color: var(--text-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}
.container--narrow {
    max-width: 800px;
}


/* Section Title */
.c-section-title {
  font-family: var(--title-font); /* Use new title font */
  font-size: clamp(3.5rem, 10vw, 6rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #e9ecef;
  -webkit-text-stroke: 2px var(--primary-color);
  text-stroke: 2px var(--primary-color);
  text-transform: uppercase;
}
.c-section-title + p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4rem; /* Increased margin */
    color: var(--primary-color);
}

/* Header */
.l-header {
  width: 100%;
  padding: 1rem 1.5rem;
  position: fixed; /* Make header sticky */
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.l-header img {
  width: clamp(120px, 15vw, 160px);
}
.l-header__menu {
  display: flex;
  gap: 1.5rem;
}
.l-header__menu a {
  font-family: var(--title-font);
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  padding-bottom: 0.5rem;
}
.l-header__menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}
.l-header__menu a:hover::after {
  width: 100%;
}

@media (max-width: 767px) {
  .l-header__menu { display: none; }
}


/* Hero Section */
.p-index {
    overflow: hidden; /* Prevent horizontal scroll */
}
.p-index__hero {
  padding-top: 160px; /* Account for fixed header + extra space */
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}
.p-index__hero::before { /* Background gradient circle */
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background-image: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 70%);
    z-index: -1;
}
.p-index__hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive heading */
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.p-index__hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.p-index__hero h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
}
.p-index__hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* General Section Styling */
.p-index > section {
    padding-top: 120px;    /* Increased vertical space */
    padding-bottom: 120px; /* Increased vertical space */
}
.p-index__hero { /* Hero needs its own padding */
    padding-top: 140px;
    padding-bottom: 100px;
}


/* Challenge & Solution Section */
.p-index__mission {
    background-color: var(--bg-light);
}
.p-index__mission .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}
.p-index__mission__row__col {
    flex: 1 1 400px;
}
.p-index__mission__row__col h3 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.p-index__mission__row__col ul li {
    margin-bottom: 1.5rem;
}
.p-index__mission__row__col ul li p {
    font-size: 0.95rem;
    color: #555;
}
.p-index__mission__row__col div {
    background: #fff3e0;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}
.p-index__mission__row__col div h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Service Overview Section */
.p-index__keywords {
    background: var(--gradient);
    color: white;
    text-align: center;
}
.p-index__keywords .c-section-title {
    color: rgba(255,255,255,0.8);
    -webkit-text-stroke: 2px white;
    text-stroke: 2px white;
}
.p-index__keywords .c-section-title + p {
    color: white;
}
.p-index__keywords__main-box {
    background: rgba(255,255,255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}
.p-index__keywords__main-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.p-index__keywords__main-box p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.service-details {
    text-align: left;
    background-color: rgba(255,255,255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}
.service-details h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}
.service-details ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.service-details ul li strong {
    margin-right: 0.5em;
}
.p-index__keywords__goal-box {
    background-color: rgba(255,255,255,0.9);
    color: var(--text-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}
.p-index__keywords__goal-box h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Support Process Section */
.p-index__numbers {
    background-color: var(--bg-dark);
    text-align: center;
}
.p-index__numbers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}
.process-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent; /* for color accent */
}
.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.process-card__number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}
.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
/* Card colors */
.process-card:nth-child(1) { border-color: #ff6b35; }
.process-card:nth-child(1) .process-card__number { background: #ff6b35; }
.process-card:nth-child(2) { border-color: #4ecdc4; }
.process-card:nth-child(2) .process-card__number { background: #4ecdc4; }
.process-card:nth-child(3) { border-color: #e74c3c; }
.process-card:nth-child(3) .process-card__number { background: #e74c3c; }
.process-card:nth-child(4) { border-color: #9b59b6; }
.process-card:nth-child(4) .process-card__number { background: #9b59b6; }
.process-card:nth-child(5) { border-color: #f39c12; }
.process-card:nth-child(5) .process-card__number { background: #f39c12; }

.process-card.goal {
    background: var(--gradient);
    color: white;
}
.process-card.goal .process-card__number {
    background: rgba(255,255,255,0.2);
    font-size: 1rem;
}

/* Contact Section */
.p-index__guideline {
    text-align: center;
}
.p-index__guideline__cta-box {
    background: var(--gradient);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    margin: 2rem auto;
}
.p-index__guideline__cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.p-index__guideline__cta-box ul {
    list-style: '✓ ';
    padding-left: 1.5rem;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}
.p-index__guideline__cta-box ul li {
    margin-bottom: 1rem;
}
.p-index__guideline__consult-box {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin: 3rem auto;
}
.p-index__guideline__consult-box h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.p-index__guideline__consult-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}
.p-index__guideline__consult-grid h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.p-index__guideline__inner__button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}
.p-index__guideline__inner__button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}
.p-index__guideline__footer {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
}
.p-index__guideline__footer p {
    margin-bottom: 0.5rem;
}

/* JS-driven styles */
.l-header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.process-card,
.p-index__mission__row__col,
.p-index__guideline__consult-grid > div {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.process-card.is-visible,
.p-index__mission__row__col.is-visible,
.p-index__guideline__consult-grid > div.is-visible {
  opacity: 1;
  transform: translateY(0);
}