/* UMIKAZE — styles derived from umikaze_mockup_v2 */
:root {
  --color-background-primary: #ffffff;
  --color-background-secondary: #f3f9fc;
  --color-text-primary: #263238;
  --color-text-secondary: #546e7a;
  --color-border-tertiary: rgba(0, 0, 0, 0.08);
  --font-sans: system-ui, -apple-system, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --border-radius-lg: 12px;
  --border-radius-md: 8px;
  --sun-orange: #ff8c00;
  --hero-text-color: #ffd700;
  /* ゴールド文字が背景から浮くよう、細い緑青系の縁取り風の影 */
  --hero-text-shadow: 0 1px 1px rgba(0, 50, 80, 0.45),
    0 2px 12px rgba(0, 70, 100, 0.22);
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-primary);
  background: var(--color-background-primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 12px 16px;
  background: #0096d6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.card-frame {
  width: 100%;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--color-background-primary);
}

.nav {
  background: #0096d6;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
}

.nav-logo {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

a.nav-logo-link {
  color: inherit;
  text-decoration: none;
}

a.nav-logo-link:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero {
  background: linear-gradient(175deg, #29b6f6 0%, #0096d6 100%);
  padding: 36px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-sun-wrap {
  position: relative;
  z-index: 2;
}

.sun {
  width: 52px;
  height: 52px;
  background: var(--sun-orange);
  border-radius: 50%;
  margin: 0 auto 14px;
}

.hero h1 {
  color: var(--hero-text-color);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 6px;
  position: relative;
  z-index: 2;
  text-shadow: var(--hero-text-shadow);
}

.hero p {
  color: var(--hero-text-color);
  font-size: 13px;
  margin: 0 0 8px;
  position: relative;
  z-index: 2;
  text-shadow: var(--hero-text-shadow);
}

.hero-wave {
  color: var(--hero-text-color);
  font-size: 11px;
  letter-spacing: 0.15em;
  margin: 0 0 60px;
  position: relative;
  z-index: 2;
  text-shadow: var(--hero-text-shadow);
}

.hero-cloud-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
}

.cloud-bar {
  background: #fff;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 3px solid #ff8c00;
}

.tag {
  background: #e1f5fe;
  color: #0277bd;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.tag:focus-visible {
  outline: 2px solid #0277bd;
  outline-offset: 2px;
}

.tag[aria-current="true"] {
  background: #ff8c00;
  color: #fff;
}

.section {
  padding: 20px 24px;
  background: var(--color-background-primary);
}

.section-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0 0 14px;
  letter-spacing: 0.05em;
  border-left: 3px solid #ff8c00;
  padding-left: 10px;
}

.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 4px;
}

.article-card {
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.article-card a {
  text-decoration: none;
  color: inherit;
}

.article-card > a:focus-visible {
  outline: 2px solid #0096d6;
  outline-offset: 2px;
}

.article-img {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.article-img.sea {
  background: #b3e5fc;
}

.article-img.food {
  background: #fac775;
}

.article-img.event {
  background: #9fe1cb;
}

.article-body {
  padding: 10px 12px;
}

.article-body h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 4px;
  line-height: 1.4;
}

.article-body time {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.map-section {
  background: var(--color-background-secondary);
  border-top: 0.5px solid var(--color-border-tertiary);
  padding: 20px 24px;
}

.map-placeholder {
  background: #b3e5fc;
  border-radius: var(--border-radius-lg);
  height: min(220px, 40vh);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0.5px solid var(--color-border-tertiary);
}

.map-placeholder span {
  font-size: 13px;
  color: #0277bd;
  font-weight: 500;
}

.map-placeholder small {
  font-size: 11px;
  color: #0288d1;
}

.map-pins {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pin {
  background: var(--color-background-primary);
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-md);
  padding: 6px 10px;
  font-size: 12px;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0096d6;
  flex-shrink: 0;
}

.pin-dot.orange {
  background: #ff8c00;
}

.restaurants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.rest-card {
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-md);
  padding: 10px 12px;
  background: var(--color-background-primary);
}

.rest-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.rest-meta {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.rest-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  background: #e1f5fe;
  color: #0277bd;
  padding: 2px 8px;
  border-radius: 10px;
}

.footer {
  background: #0096d6;
  padding: 16px 24px;
  text-align: center;
  border-radius: 0;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* 404 */
.error-main {
  padding: 40px 24px;
}

.error-heading {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 12px;
}

.error-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 20px;
}

.error-back {
  color: #0096d6;
  font-weight: 500;
  text-decoration: none;
}

.error-back:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
