/* 3案で共通の土台。色はロゴと同じ値を使う */
:root {
  --navy: #1c376d;
  --navy-deep: #13264d;
  --yellow: #fcc800;
  --yellow-soft: #fff4c2;
  --white: #ffffff;
  --ink: #1f2a44;
  --muted: #5c6782;
  --line: #d9deea;
  --mist: #f3f5f9;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 写真の仮枠。写真を受け取ったら <img> に置き換える */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: repeating-linear-gradient(-45deg, #e6eaf2 0 14px, #eff2f7 14px 28px);
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}

.ph::before {
  content: "PHOTO";
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--navy);
  opacity: 0.55;
}

.ph__label {
  display: inline-block;
  padding: 4px 14px;
  border: 1px dashed #9aa5bc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }
  body {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
