@charset "UTF-8";

/* ==============================================
   base.css — CSS変数・リセット・基本タイポグラフィ
   ピラティス&ヨガ スタジオ 凪（なぎ）用テーマ
   案件適用時は :root の変数値のみを変更すること
============================================== */

:root {
  /* --- Color ---
     ウォームナチュラルテーマ。セージグリーン × オフホワイト */
  --color-bg:            #f8f6f2;
  --color-bg-dark:       #f0ede7;
  --color-bg-deep:       #e8e4dc;
  --color-bg-surface:    rgba(0, 0, 0, 0.025);
  --color-text:          #2d2926;
  --color-text-sub:      #6b6560;
  --color-primary:       #7a9e7e;
  --color-primary-hover: #5e8463;
  --color-border-gold:   rgba(122, 158, 126, 0.35);
  --color-border-light:  rgba(0, 0, 0, 0.08);
  --color-white:         #ffffff;
  --color-error:         #c0392b;

  /* --- Typography --- */
  --font-serif:  "Noto Serif JP", "Yu Mincho", serif;
  --font-sans:   "Noto Sans JP", sans-serif;

  --font-size-xs:   0.8125rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-lg:   1.125rem;
  --font-size-xl:   1.5rem;
  --font-size-2xl:  2rem;

  --line-height-base:  1.8;
  --line-height-tight: 1.4;
  --line-height-loose: 2.2;

  --letter-spacing-tight:  0.03em;
  --letter-spacing-base:   0.08em;
  --letter-spacing-wide:   0.15em;
  --letter-spacing-wider:  0.25em;

  /* --- Spacing --- */
  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-6:  3rem;
  --space-8:  4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* --- Layout --- */
  --container-max:    1080px;
  --container-wide:    960px;
  --container-narrow:  760px;
  --header-height:     4.375rem;

  /* --- Shape & Motion --- */
  --radius-sm:       0.5rem;
  --radius-md:       0.875rem;
  --transition-base: 0.3s ease;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* --- Extended Typography --- */
  --font-weight-heading: 300;
  --font-weight-body:    400;

  /* --- Radius Extended --- */
  --radius-lg:   1.25rem;
  --radius-pill: 9999px;

  /* --- Shadow --- */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.09);

  /* --- Section Padding --- */
  --section-padding-y:    var(--space-12);
  --section-padding-y-lg: var(--space-16);

  /* --- Button Shape --- */
  --btn-radius:             var(--radius-lg);
  --btn-padding-inline:     var(--space-6);
  --btn-min-height:         3.25rem;
  --color-btn-primary-text: var(--color-white);

  /* --- Semantic Border --- */
  --color-border-btn: rgba(45, 41, 38, 0.25);

  /* --- Header / Footer --- */
  --color-header-bg:   rgba(248, 246, 242, 0.96);
  --color-footer-text: #6b6560;
  --color-footer-copy: #999592;

  /* --- Interaction --- */
  --color-primary-subtle: rgba(122, 158, 126, 0.12);

  /* --- Home Hero Overlay --- */
  --color-hero-title:         #f5f3f0;
  --color-hero-sub:           #e8e4dc;
  --color-hero-overlay-start: rgba(45, 41, 38, 0.82);
  --color-hero-overlay-mid:   rgba(45, 41, 38, 0.38);
  --color-hero-overlay-end:   rgba(45, 41, 38, 0.05);

  /* --- Interior Page Hero --- */
  --color-page-hero-title: var(--color-text);
}

/* -----------------------------------------------
   Reset
----------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-heading);
}

p {
  margin: 0;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}
