:root {
  --color-white: #ffffff;
  /* Brand palette: ivory and beige surfaces, brown text, green actions. */
  --color-bg: #fbf7ef;
  --color-surface: #fffdf9;
  --color-beige: #eee3d3;
  --color-border: #dfd1be;
  --color-control-border: #9a8268;
  --color-text: #44382f;
  --color-muted: #6f6256;
  --color-primary: #27634e;
  --color-primary-dark: #1e4d3d;
  --color-primary-light: #f5eee2;
  --color-diving: #0a6ebd;
  --color-gourmet: #d9622b;
  --color-travel: #1e9e8a;
  --color-money: #c79a2a;
  --color-success: #1e9e8a;
  --shadow-card: 0 4px 18px rgba(68, 56, 47, 0.07);
  --site-width: 1100px;
  --article-width: 720px;
  --font-base: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-latin: "Catamaran", var(--font-base);
}

body {
  overflow-wrap: anywhere;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.75;
}

body:has(.cp-modal[aria-hidden="false"]),
body:has(.cp-lightbox[aria-hidden="false"]),
body:has(.cp-toc-sheet[aria-hidden="false"]) {
  overflow: hidden;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button {
  border: 0;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

::selection {
  background: var(--color-beige);
  color: var(--color-text);
}

.cp-container {
  width: min(100% - 36px, var(--site-width));
  margin-inline: auto;
}

.cp-skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 10px 14px;
}

.cp-skip-link:focus {
  transform: none;
}

.cp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.cp-logo {
  color: var(--color-primary);
  font-family: var(--font-base);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

.cp-logo__en {
  display: block;
  margin-top: 5px;
  color: var(--color-muted);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.cp-section {
  padding-block: 42px;
}

.cp-section--soft {
  background: var(--color-bg);
}

.cp-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.cp-section-heading__title {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.cp-section-heading__note {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cp-section-heading__link {
  flex: 0 0 auto;
  color: var(--color-text);
  font-size: 13px;
  text-decoration: none;
}

.cp-section-heading__link:hover {
  color: var(--color-primary);
}

.cp-section-lead {
  max-width: 680px;
  color: var(--color-muted);
}

.cp-empty-space {
  height: 18px;
}

.cp-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
