/* ぐるコレ site — shared styles (tokens from the owner-approved prototype). */
:root {
  --cream: #FFF6EA;
  --peach: #FBE8D5;
  --terra: #C2634A;
  --terra-btn: #B3563B;
  --terra-deep: #A24A31;
  --brown: #3A2A21;
  --brown-deep: #2E2019;
  --muted: #6B5748;
  --line: rgba(58, 42, 33, .12);
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  --header-h: 60px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--brown);
  font-family: var(--font-body); font-size: 16px; line-height: 1.85;
  line-break: strict; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
h1, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
@supports (word-break: auto-phrase) { h1 { word-break: auto-phrase; text-wrap: balance; } }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 246, 234, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  height: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 2px #fff, 2px 3px 0 rgba(58, 42, 33, .18); }
.brand__name { font: 900 21px/1 var(--font-display); letter-spacing: .01em; white-space: nowrap; }
.g { color: var(--brown-deep); }
.k { color: var(--terra); }
.arc-link {
  font: 700 13px/1 var(--font-display); letter-spacing: .08em; text-decoration: none;
  color: var(--terra-deep); padding: .8em 1em; border: 1.5px solid currentColor; border-radius: 999px;
  white-space: nowrap;
}
.arc-link:hover { background: var(--peach); }

/* teaser */
.teaser { padding: 40px var(--gutter) 56px; }
.teaser__in { max-width: 880px; margin-inline: auto; text-align: center; }
.teaser__logo { width: min(320px, 70%); margin: 0 auto 28px; }
.teaser__catch {
  font: 900 clamp(22px, 5.6vw, 40px)/1.5 var(--font-display); color: var(--brown-deep);
  letter-spacing: .02em; margin-bottom: 32px;
}
.teaser__catch .ph { display: inline-block; }
.teaser__photo { margin: 0 0 32px; }
.teaser__photo img { width: 100%; border-radius: 24px; box-shadow: 0 8px 24px -12px rgba(58, 42, 33, .3); }
.teaser__photo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: right; }
.teaser__soon { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.teaser__os { font: 700 18px/1 var(--font-display); color: var(--brown-deep); }
.teaser__badge {
  font: 700 15px/1 var(--font-display); color: #fff; background: var(--terra-btn);
  padding: .65em 1.3em; border-radius: 999px; letter-spacing: .08em;
}

/* documents (legal, 404) */
.doc { max-width: 760px; margin-inline: auto; padding: 40px var(--gutter) 64px; width: 100%; }
.doc--center { text-align: center; padding-top: 72px; }
.doc h1 { font: 900 clamp(24px, 5vw, 32px)/1.4 var(--font-display); margin-bottom: 24px; color: var(--brown-deep); }
.doc p + p { margin-top: 1em; }
.doc h2 { font: 700 clamp(18px, 4.2vw, 21px)/1.5 var(--font-display); color: var(--brown-deep); margin: 2.4em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.doc h3 { font: 700 16px/1.6 var(--font-display); color: var(--brown-deep); margin: 1.8em 0 .5em; }
.doc ul { margin: .9em 0; padding-left: 1.4em; }
.doc li + li { margin-top: .35em; }
.doc li::marker { color: var(--terra); }
.doc p + ul, .doc ul + p { margin-top: .9em; }
.doc a { color: var(--terra-deep); text-underline-offset: .15em; }
.doc--center a.btn { color: #fff; }
.doc__lang { text-align: right; font-size: 14px; margin-bottom: 8px; }
.doc__lang a { color: var(--terra-deep); }
.btn {
  display: inline-block; background: var(--terra-btn); color: #fff; text-decoration: none;
  font: 700 15px/1 var(--font-display); padding: 1em 1.8em; border-radius: 999px;
}

/* footer */
.site-footer {
  background: #F3E1CB; color: var(--muted);
  padding: 34px var(--gutter) 44px; font-size: 13px; line-height: 1.9; text-align: center;
}
.site-footer p + p { margin-top: 2px; }
.site-footer a { color: var(--muted); }
.site-footer__links a { display: inline-block; margin: 0 .7em; padding: .3em 0; }

@media (max-width: 400px) {
  :root { --gutter: 16px; --header-h: 56px; }
  .brand__icon { width: 32px; height: 32px; border-radius: 9px; }
  .brand__name { font-size: 18px; }
  .arc-link { font-size: 12px; padding: .75em .9em; }
}

/* released header: page links */
.site-header__r { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.site-nav { display: flex; gap: clamp(2px, 1vw, 8px); }
.site-nav a {
  font: 700 14px/1 var(--font-display); text-decoration: none; color: var(--brown-deep);
  padding: .9em .75em; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { background: var(--peach); }
@media (max-width: 400px) { .site-nav a { font-size: 13px; padding: .9em .55em; } }
@media (max-width: 520px) { .brand__name { display: none; } }
