/* File: /css/common.css | Generated: 2026-01-06 16:45(UTC+09:00) */
:root {
  --color-primary: #5c9ccc;
  --color-primary-border: #4297d7;
  --color-link: #2e6e9e;
  --color-link-hover: #1d5987;
  --color-text: #222222;

  --color-bg: #f5f8f9;
  --color-surface: #fcfdfd;

  --color-border: #a6c9e2;
  --color-border-soft: #c5dbec;
  --color-border-strong: #79b7e7;

  --color-button-bg: #dfeffc;
  --color-button-hover-bg: #d0e5f5;

  --shadow-color: rgba(0, 0, 0, 0.10);
}

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

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid rgba(66, 151, 215, 0.45);
  outline-offset: 2px;
}

/* Shared layout for h26 link chain pages. */
.page-h26 .app,
.page-y26 .app,
.page-hoikuen .app,
.page-enji-yes .app,
.page-enji-donotknow .app {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(180deg, var(--color-button-bg), var(--color-surface));
}

.page-h26 .card,
.page-y26 .card,
.page-hoikuen .card,
.page-enji-yes .card,
.page-enji-donotknow .card {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 14px 36px var(--shadow-color);
}

.page-h26 .card,
.page-y26 .card,
.page-hoikuen .card {
  max-width: 640px;
}

.page-enji-yes .card,
.page-enji-donotknow .card {
  max-width: 760px;
}

.page-h26 .page-title,
.page-y26 .page-title,
.page-hoikuen .page-title,
.page-enji-yes .page-title,
.page-enji-donotknow .page-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.35;
  color: #c45500;
}

.page-h26 .question,
.page-y26 .question,
.page-hoikuen .question {
  margin: 0;
  font-size: 1rem;
}

.page-h26 .choices,
.page-y26 .choices,
.page-hoikuen .choices {
  margin-top: 18px;
  display: grid;
  gap: 28px;
}

.page-h26 .choice,
.page-y26 .choice,
.page-hoikuen .choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  background: var(--color-button-bg);
  color: var(--color-link);
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.page-h26 .choice:hover,
.page-y26 .choice:hover,
.page-hoikuen .choice:hover {
  background: var(--color-button-hover-bg);
  border-color: var(--color-border-strong);
  text-decoration: none;
}

.page-h26 .choice:active,
.page-y26 .choice:active,
.page-hoikuen .choice:active {
  transform: translateY(1px);
}

.page-h26 .choice__icon,
.page-y26 .choice__icon,
.page-hoikuen .choice__icon {
  flex: none;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.page-h26 .choice__label,
.page-y26 .choice__label,
.page-hoikuen .choice__label {
  flex: 1;
}

.page-h26 .choice__chevron,
.page-y26 .choice__chevron,
.page-hoikuen .choice__chevron {
  flex: none;
  font-size: 1.35em;
  line-height: 1;
  color: var(--color-link);
}

@media (min-width: 640px) {
  .page-h26 .app,
  .page-y26 .app,
  .page-hoikuen .app,
  .page-enji-yes .app,
  .page-enji-donotknow .app {
    padding: 40px 24px;
  }

  .page-h26 .card,
  .page-y26 .card,
  .page-hoikuen .card,
  .page-enji-yes .card,
  .page-enji-donotknow .card {
    padding: 30px 28px;
  }

  .page-h26 .choices,
  .page-y26 .choices,
  .page-hoikuen .choices {
    gap: 32px;
  }

  .page-h26 .choice,
  .page-y26 .choice,
  .page-hoikuen .choice {
    padding: 18px 16px;
  }
}

.page-h26 .contact,
.page-y26 .contact,
.page-hoikuen .contact {
  margin-top: 24px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  background: #fff6e8;
  text-align: left;
}

.page-h26 .contact__title,
.page-y26 .contact__title,
.page-hoikuen .contact__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #c45500;
}

.page-h26 .contact__line,
.page-y26 .contact__line,
.page-hoikuen .contact__line {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.page-h26 .contact__line + .contact__line,
.page-y26 .contact__line + .contact__line,
.page-hoikuen .contact__line + .contact__line {
  margin-top: 4px;
}

.page-h26 .contact__line-group,
.page-y26 .contact__line-group,
.page-hoikuen .contact__line-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.page-h26 .contact__line + .contact__line-group,
.page-y26 .contact__line + .contact__line-group,
.page-hoikuen .contact__line + .contact__line-group {
  margin-top: 4px;
}

.page-h26 .contact__line-stack,
.page-y26 .contact__line-stack,
.page-hoikuen .contact__line-stack {
  display: grid;
}

.page-h26 .contact__line-icon,
.page-y26 .contact__line-icon,
.page-hoikuen .contact__line-icon {
  display: block;
  width: auto;
  height: calc(2.8em + 4px);
}

.page-h26 .contact__tel,
.page-y26 .contact__tel,
.page-hoikuen .contact__tel {
  font-weight: 700;
  color: #cd0a0a;
  text-decoration: none;
}

.page-h26 .contact__tel:hover,
.page-y26 .contact__tel:hover,
.page-hoikuen .contact__tel:hover {
  text-decoration: underline;
}

.page-h26 .contact__hours,
.page-y26 .contact__hours,
.page-hoikuen .contact__hours {
  margin-left: 6px;
  color: var(--color-text);
  font-size: 0.9rem;
}

.page-h26 .contact__link,
.page-y26 .contact__link,
.page-hoikuen .contact__link {
  word-break: break-all;
}

@media (min-width: 640px) {
  .page-h26 .contact,
  .page-y26 .contact,
  .page-hoikuen .contact {
    padding: 18px 16px;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-weight: 700;
}

.back-link::before {
  content: "\2190";
  font-size: 1.1em;
  line-height: 1;
}

.current-highlight {
  color: #cd0a0a;
  text-decoration: underline;
}
