@charset "UTF-8";

/* ==============================================
   base.css — CSS変数・リセット・基本タイポグラフィ
   案件適用時は :root の変数値のみを変更すること
============================================== */

:root {
  /* --- Color ---
     将来の案件ではこの変数値を変えるだけでテーマ変更できる */
  --color-bg:            #fbf8f3;
  --color-bg-dark:       #f3ede5;
  --color-bg-deep:       #e8ded2;
  --color-bg-surface:    rgba(255, 255, 255, 0.72);
  --color-text:          #2f2722;
  --color-text-sub:      #7d6f66;
  --color-primary:       #a9835a;
  --color-primary-hover: #8f6f46;
  --color-border-gold:   rgba(169, 131, 90, 0.34);
  --color-border-light:  rgba(95, 74, 57, 0.14);
  --color-white:         #ffffff;
  --color-error:         #d32f2f;

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

  --font-size-xs:   0.8125rem;  /* 13px */
  --font-size-sm:   0.875rem;   /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg:   1.125rem;   /* 18px */
  --font-size-xl:   1.5rem;     /* 24px */
  --font-size-2xl:  2rem;       /* 32px */

  --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; /* 70px */

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

/* -----------------------------------------------
   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: normal;
}

p {
  margin: 0;
}

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

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