@charset "UTF-8";

/* =========================================================
   site03 — responsive.css「Liquid Depth」
   Mobile(≤599) / Tablet(≥600) / Desktop(≥1025)
   ※ 見出し・数値サイズは style.css の clamp() が担当。
     ここではレイアウト（グリッド・余白）とベース字送りを調整。
   ========================================================= */

/* --- Mobile (SP) --- */
@media (max-width: 599px) {
  body { font-size: 16px; line-height: 1.85; }
  .brand-logo { height: 36px; }
  .hero { min-height: 560px; padding: 100px 0 72px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; padding: 32px 16px; }
  .stat { padding: 0; }
  .stat-label { font-size: 12px; margin-top: 10px; line-height: 1.55; }
  .stat-value { font-size: 2rem; }
  .stat-value .unit { font-size: 0.45em; }
  .hero-sticker { width: 104px; height: 104px; right: 12px; top: 84px; font-size: 10px; padding: 6px; letter-spacing: 0; }
  .hero-sticker strong { font-size: 22px; }

  /* keep-all だと日本語の見出しが改行できず、句点の行頭落ちと列幅の押し広げが起きる */
  h1, h2, h3, h4, .hero h1, .section-header h2, .page-hero h1, .cta-section h2 {
    word-break: normal;
    word-break: auto-phrase;
  }
  p, li, dd { text-wrap: pretty; }
  .section-header p br, .cta-section p br { display: none; }
  .service-block { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; padding-left: 20px; padding-right: 20px; }
  .hero::after { height: 90px; background-size: 1200px 90px, 1200px 90px, 1200px 90px; }
  .hero-bg::after {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.97) 0%,
        rgba(255,255,255,0.86) 45%,
        rgba(255,255,255,0.55) 75%,
        rgba(255,255,255,0.30) 100%);
  }
  .service-block { padding: 20px; }
  .cta-section { padding: 48px 24px; }
  .concept-card { padding: 32px 24px; }
}

/* --- Tablet 以上 --- */
@media (min-width: 600px) {
  .container { padding: 0 32px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature { grid-column: 1 / -1; }
  .strengths { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .dl-info > dl > div { grid-template-columns: 200px 1fr; }
  .dl-info dt { border-right: 1px solid var(--line); }
}

/* --- Service block layout on tablet+ --- */
@media (min-width: 768px) {
  .service-block { grid-template-columns: 1fr 1.4fr; align-items: center; }
  .service-block.reverse { direction: rtl; }
  .service-block.reverse > * { direction: ltr; }
}

/* --- Desktop --- */
@media (min-width: 1025px) {
  body { font-size: 18px; }

  .site-header { height: 80px; }
  .gnav { display: block; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .brand-logo { height: 48px; }

  .hero {
    padding: 176px 0 132px;
    min-height: 720px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-sticker { width: 152px; height: 152px; right: 24px; top: 92px; font-size: 14px; }
  .hero-sticker strong { font-size: 34px; }
  .hero::after { height: 130px; background-size: 1200px 130px, 1200px 130px, 1200px 130px; }

  .section { padding: 104px 0; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
  }
  .service-card--feature .service-illustration {
    margin: 0;
    aspect-ratio: 5 / 3;
    border-radius: var(--radius);
  }

  .news-item {
    grid-template-columns: 130px 110px 1fr;
    align-items: center;
    gap: 24px;
  }
  .news-item h3 { font-size: 17px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }

  .page-hero { padding: 156px 0 92px; }
  .page-hero::after { height: 80px; background-size: 1200px 80px, 1200px 80px; }

  .concept-card { padding: 56px 48px; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-copy > * { opacity: 1; transform: none; }
  .hero-bg img { transform: none; animation: none; }
}
