@charset "UTF-8";

/* ==========================================================================
   1. Design System (Tokens)
   ========================================================================== */
:root {
  /* Colors */
  --c-primary: #0F2540;
  /* Deep Navy: Trust, Authority */
  --c-primary-light: #1A3A5E;
  --c-secondary: #E6EEF5;
  /* Soft Blue: Backgrounds */
  --c-accent: #C98A0C;
  /* Muted Gold: Action */
  --c-accent-hover: #E09E1A;
  --c-text-main: #222222;
  /* Dark Charcoal */
  --c-text-body: #444444;
  /* Readable Gray */
  --c-text-light: #777777;
  /* Muted Text */
  --c-bg-body: #FBFCFD;
  /* Off-white temperature */
  --c-bg-white: #FFFFFF;
  --c-border: #E0E0E0;
  --c-border-light: #F0F0F0;
  --c-success: #0C7C59;

  /* Typography */
  /* Typography */
  --font-base: "Yu Gothic Medium", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --lh-tight: 1.3;
  --lh-base: 1.75;
  /* High readability */
  --lh-loose: 2.0;

  /* Spacing (Fluid) */
  --sp-xs: 0.5rem;
  /* 8px */
  --sp-sm: 1rem;
  /* 16px */
  --sp-md: 2rem;
  /* 32px */
  --sp-lg: 4rem;
  /* 64px */
  --sp-xl: clamp(4rem, 8vw, 7.5rem);
  /* Section Padding */

  /* Layout */
  --width-container: 1120px;
  --width-text: 800px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Effects */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 12px 32px rgba(15, 37, 64, 0.08);
  /* Colored shadow */
  --trans-base: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Animation */
  --trans-slow: 1.0s cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Typography Plus */
  --font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS Mincho E", "MS PMincho", "MS Mincho", serif;
}

/* Scroll Animation */
.js-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--trans-slow), transform var(--trans-slow);
  will-change: opacity, transform;
}

.js-fade.is-vis {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Text Logo Styles */
.logo-text {
  font-family: var(--font-serif);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.logo-text--header {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text--footer {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 1rem;
  color: white;
  /* Footer bg is dark usually, wait footer bg is dark charcole/black? */
}

/* Utility for rich text */
.text-serif {
  font-family: var(--font-serif);
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--c-bg-body);
  color: var(--c-text-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--c-primary);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-xs);
}

p {
  margin: 0 0 var(--sp-sm) 0;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: opacity var(--trans-base);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 0 var(--sp-sm);
}

/* Text & Alignment */
.text-center {
  text-align: center;
}

.text-bold {
  font-weight: var(--fw-bold);
}

.text-primary {
  color: var(--c-primary);
}

.text-accent {
  color: var(--c-accent);
}

.u-mb-sm {
  margin-bottom: var(--sp-sm);
}

.u-mb-md {
  margin-bottom: var(--sp-md);
}

.u-mb-lg {
  margin-bottom: var(--sp-lg);
}

/* Visibility */
.u-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .u-sp-only {
    display: block;
  }

  .u-pc-only {
    display: none;
  }
}

/* Components: Badge */
.c-badge {
  display: inline-block;
  background-color: var(--c-secondary);
  color: var(--c-primary);
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  padding: 0.4em 1em;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-sm);
}

/* Components: Buttons (High Quality) */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  transition: transform var(--trans-base), box-shadow var(--trans-base), background-color var(--trans-base);
  cursor: pointer;
  line-height: 1;
  letter-spacing: 0.02em;
}

.c-btn--primary {
  background-color: var(--c-accent);
  color: var(--c-bg-white);
  box-shadow: 0 4px 12px rgba(201, 138, 12, 0.3);
}

.c-btn--primary:hover {
  background-color: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 138, 12, 0.4);
}

.c-btn--secondary {
  background-color: var(--c-bg-white);
  color: var(--c-primary);
  border: 1px solid var(--c-primary);
}

.c-btn--secondary:hover {
  background-color: var(--c-secondary);
}

.c-btn--lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  min-width: 240px;
}

.c-btn--icon {
  gap: 0.5rem;
}


.c-btn--line {
  background-color: #06C755;
  color: white;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.c-btn--line:hover {
  background-color: #05b34c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.4);
  color: white;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.header {
  height: 72px;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--c-border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__link {
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: var(--c-text-main);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--c-accent);
  transition: width var(--trans-base);
}

.header__link:hover {
  color: var(--c-primary);
}

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  color: white;
}

.header__cta:hover {
  color: white;
  opacity: 0.9;
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  padding: 10px;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--c-primary);
  position: absolute;
  left: 0;
  transition: var(--trans-base);
}

.header__toggle span:nth-child(1) {
  top: 12px;
}

.header__toggle span:nth-child(2) {
  top: 21px;
}

.header__toggle span:nth-child(3) {
  bottom: 12px;
}

/* ==========================================================================
   5. Sections
   ========================================================================== */
.section {
  padding: var(--sp-xl) 0;
}

.section-head {
  text-align: center;
  margin-bottom: var(--sp-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--c-accent);
}

.section-desc {
  color: var(--c-text-body);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: calc(var(--sp-xl) * 0.8) 0;
  background: linear-gradient(135deg, #F8FAFC 0%, #EBF4F9 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle Pattern */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 138, 12, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--c-text-body);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--c-border-light);
}

.hero__visual-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--c-primary);
  border-bottom: 2px solid var(--c-secondary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Concerns (Checklist) */
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.concern-card {
  background: var(--c-bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--c-accent);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.concern-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--c-accent);
}

.concern-text {
  font-weight: var(--fw-medium);
  margin: 0;
}

/* Features (Strengths) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--c-bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-base);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-num {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--c-secondary);
  opacity: 0.7;
  z-index: 0;
  line-height: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--c-primary);
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--c-text-body);
  position: relative;
  z-index: 1;
}

/* Flow */
.flow-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 30px;
  bottom: -40px;
  width: 2px;
  background-color: var(--c-secondary);
  z-index: 0;
}

.step-item:last-child::after {
  display: none;
}

.step-num {
  width: 60px;
  height: 60px;
  background-color: var(--c-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(15, 37, 64, 0.2);
}

.step-content {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-q {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  background-color: white;
  transition: background-color 0.2s;
}

.faq-q:hover {
  background-color: #fcfcfc;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  color: var(--c-primary);
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid transparent;
  color: var(--c-text-body);
  line-height: 1.8;
}

details[open] .faq-a {
  border-top-color: var(--c-border-light);
  padding-top: 1rem;
}

/* CTA Block (Shared) */
.cta-block {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--c-accent);
}

.cta-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 2rem 0;
  text-align: left;
}

.cta-info-box {
  flex: 1;
  max-width: 500px;
}

.cta-tel {
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  line-height: 1.2;
  margin: 0.5rem 0;
}

.cta-tel a {
  color: inherit;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Prep List */
.prep-list {
  background: white;
  border: 1px solid var(--c-secondary);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.prep-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--c-border-light);
  display: flex;
  align-items: center;
}

.prep-list li:last-child {
  border-bottom: none;
}

.prep-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--c-primary);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background-color: #111;
  color: #888;
  padding: 3rem 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.footer-logo {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-nav a {
  color: #ccc;
  margin-right: 1.5rem;
}

.footer-nav a:hover {
  color: white;
}

.footer-copy {
  text-align: center;
  padding-top: 2rem;
}

/* ==========================================================================
   6. Responsive
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --sp-xl: 3.5rem;
    --sp-lg: 2.5rem;
    --sp-md: 1.5rem;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 72px);
    /* Explicit height to ensure full screen coverage */
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .header__link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--c-border-light);
  }

  .header__cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    background-color: var(--c-accent);
    /* Ensure it stands out */
    color: white;
  }

  .header__toggle {
    display: block;
  }

  h1 {
    font-size: 1.75rem;
    /* Smaller H1 */
  }

  h2 {
    font-size: 1.5rem;
    /* Smaller H2 */
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero__lead {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
    /* Stack buttons on mobile */
    align-items: stretch;
    /* Full width buttons */
  }

  .c-btn--lg {
    width: 100%;
    /* Full width buttons */
    min-width: auto;
    padding: 1rem;
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-flex {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
  }

  .cta-block {
    padding: 2rem 1.5rem;
    /* Reduced padding */
  }

  .cta-tel {
    font-size: 2rem;
  }

  .step-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }

  .step-item::after {
    left: 20px;
    top: 40px;
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .concern-card {
    flex-direction: column;
    /* Stack icon and text */
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   7. Forms (Contact)
   ========================================================================== */
.form-container {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
  color: var(--c-primary);
}

.form-label .required {
  background-color: #e53935;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.form-label .optional {
  background-color: #90a4ae;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
  background-color: #fcfcfc;
}

.form-control:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(201, 138, 12, 0.1);
  background-color: white;
}

textarea.form-control {
  min-height: 200px;
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 3rem;
}

.company-details-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
}

.company-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  border-bottom: 1px solid var(--c-border-light);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.company-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.company-info-label {
  font-weight: var(--fw-bold);
  color: var(--c-primary);
}

@media (max-width: 768px) {
  .form-container {
    padding: 1.5rem;
  }

  .company-details-card {
    padding: 1.5rem;
  }

  .company-info-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   8. Reason Box (Mobile Optimized)
   ========================================================================== */
.reason-box {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid transparent;
  /* Align with others visually if needed, but white block is fine */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  /* Slight lift */
}

.reason-box__problem {
  flex: 1;
  font-weight: 500;
}

.reason-box__arrow {
  color: var(--c-accent);
  flex-shrink: 0;
  font-weight: bold;
}

.reason-box__solution {
  font-weight: bold;
  color: var(--c-primary);
  flex: 1;
}

@media (max-width: 768px) {
  .reason-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
  }

  .reason-box__arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .reason-box__solution {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    background-color: #f7fcff;
    /* Very subtle highlight specific to solution */
    padding: 1rem;
    border-radius: var(--radius-sm);
    color: var(--c-primary);
  }
}
