:root {
  --header-h: 72px; /* JSで上書き */
  --cta-h: 76px;    /* JSで上書き */
  --page-max-w: 750px;
}

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

html, body { height: 100%; }

html { scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

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

/* Header */
.l-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.l-header__inner {
  width: min(100%, var(--page-max-w));
  margin-inline: auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.l-header__brand { display: grid; gap: 2px; }

.l-header__logo {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 30px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

.l-header__logo-link { text-decoration: none; color: #111; }

.l-header__sub {
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho",
    "MS Mincho", serif;
  font-size: clamp(12px, 3.2vw, 15px);
  letter-spacing: 0.15em;
  color: #393939;
  text-decoration: none;
}

/* Hamburger */
.c-hamburger {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 2000;
}

.c-hamburger span {
  width: 24px;
  height: 2px;
  background: #000;
  display: block;
  margin: 6px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* SP Nav */
.l-header__nav {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h, 60px);
  height: calc(100vh - var(--header-h, 60px));
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 1500;
}

.l-header__nav.active { 
	transform: translateX(0);
	background-color:rgb(252 210 192 / 93%);
}

.l-header__list {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.l-header__item + .l-header__item { margin-top: 18px; }

.l-header__link {
  display: block;
  text-align: center;
  font-size: 18px;
  padding: 10px 8px;
  text-decoration: none;
  color: #111;
  white-space: nowrap;
}

/* Hamburger active */
.c-hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.c-hamburger.active span:nth-child(2) { opacity: 0; }
.c-hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* PC */
@media screen and (min-width: 960px) {
  .c-hamburger { display: none; }

  .l-header__nav {
    position: static;
    transform: none;
    height: auto;
    background: transparent;
  }

  .l-header__list {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .l-header__item + .l-header__item { margin-top: 0; }

  .l-header__link { font-size: 14px; }
}

/* Main */
.l-main {
  padding-top: var(--header-h);
  /* padding-bottom: var(--cta-h);  */
}

.p-lp {
  width: min(100%, var(--page-max-w));
  margin-inline: auto;
}

.p-anchor { height: 0; }

/* Floating CTA */
.floating-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background-color: rgb(255 255 255 / 88%);
  padding-bottom: env(safe-area-inset-bottom);
}

.floating-cta__inner {
  width: min(100%, var(--page-max-w));
  margin-inline: auto;
  padding: 10px 12px;
}
/* PC */
@media (min-width: 960px) {
  .floating-cta__inner {
    max-width: 420px; /* ←CTAの実サイズ設計 */
    padding: 12px 0;  /* 横paddingは不要 */
  }
}

.floating-cta__link {
  display: block;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transform-origin: center;
  transition: transform 0.1s ease-in-out;
}

.floating-cta__link:active,
.floating-cta__link:hover { transform: scale(0.985); }

@media (prefers-reduced-motion: reduce) {
  .floating-cta__link:active,
  .floating-cta__link:hover { transform: none; }
}

/* Footer */
.l-footer {
  width: min(100%, var(--page-max-w));
  margin-inline: auto;
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom));
  text-align: center;
}

.l-footer__inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 24px 14px;
  background-color: #000;
}

.l-footer__sns {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.l-footer__sns-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.l-footer__sns-link img {
  width: 33px;
  height: 33px;
  object-fit: cover;
}

.l-footer__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}
