@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

/* ==========================================================
   MASAKI LP Typography / Design Tokens
   ========================================================== */

:root {
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-heading: var(--font-base);
  --font-body: var(--font-base);
  --font-latin: "Montserrat", "Noto Sans JP", sans-serif;

  --color-brand: #6f4b3e;
  --color-brand-light: #b4866b;
  --color-brand-dark: #432f2f;
  --color-accent: #dcd3b2;

  --color-heading: #302833;
  --color-heading-strong: #432f2f;
  --color-text: #000b00;
  --color-muted: #6b625d;

  --color-link: var(--color-brand);
  --color-link-hover: var(--color-brand-light);
  --color-hover: var(--color-brand-light);
  --color-logo: var(--color-brand-dark);
  --color-price: var(--color-brand-dark);

  --color-white: #fff;
  --color-background: #fff;
  --color-background-soft: #f7f3ed;
  --color-section-bg: #dcd3b2;
  --color-warm-bg: #f3ede6;
  --color-brand-soft: #eee4dc;

  --color-border-soft: #c9b9aa;
  --color-border: #b4866b;

  --content-wide: 1200px;
  --content-default: 900px;
  --header-height: 50px;
  --breakpoint-sp: 768px;

  --color-green-soft: var(--color-brand-soft);
  --color-green-gray-light: var(--color-section-bg);
}

/* ==========================================================
   Base
   ========================================================== */

h1.entry-title {
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.5;
  overflow-x: hidden !important;
}

body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.top-page {
  padding-top: var(--header-height);
}

.top-fv {
  min-height: calc(100vh - var(--header-height));
}

.lp-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.l-container {
  width: min(100% - 32px, var(--content-wide));
  margin-inline: auto;
}

.l-container--narrow {
  width: min(100% - 32px, var(--content-default));
  margin-inline: auto;
}

.section {
  width: min(100% - 32px, var(--content-default));
  margin: 3rem auto;
  padding: 1.5rem;
}

/* ==========================================================
   Headings
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0.5rem auto;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: center;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  color: var(--color-heading-strong);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

h4,
h5,
h6 {
  color: var(--color-heading);
}

/* ==========================================================
   Body text
   ========================================================== */

p {
  margin: 0.1rem auto;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.08em;
}

strong,
b {
  font-weight: 700;
  color: var(--color-heading-strong);
}

small,
.small-title {
  font-size: 0.8em;
  color: var(--color-muted);
}

/* ==========================================================
   Links / Interaction
   ========================================================== */

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--color-link-hover);
  }
}

::selection {
  color: var(--color-text);
  background: rgba(180, 134, 107, 0.3);
}

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

/* ==========================================================
   Utility
   ========================================================== */

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    letter-spacing: 0.06em;
  }

  p {
    letter-spacing: 0.06em;
  }

  .section {
    width: min(100% - 40px, var(--content-default));
    margin: 2.5rem auto;
    padding: 1.25rem 0;
  }

  .sp-only {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
