/* TATSEI Travel — styles partagés */
:root {
  --tatsei-red: #bc002d;
  --logo-red: #c90127;
  --background: #ffffff;
  --surface: #fafafa;
  --text: #171717;
  --muted: #3f3f3f;
  --border: #dedede;
  --focus: #171717;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  padding: 78px 20px 52px;
  position: relative;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.language-nav {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 10;
}

.language-nav ul {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-nav li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-nav li + li::before {
  content: "/";
  color: #b7b7b7;
  font-weight: 400;
}

.language-nav a {
  color: #5b5b5b;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  transition: color 150ms ease;
}

.language-nav a:hover { color: var(--logo-red); }

.language-nav a[aria-current="page"] {
  color: var(--logo-red);
  font-weight: 800;
}

.language-nav a:focus-visible,
.facebook-link:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

main {
  width: min(100%, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 42px);
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 640px);
  height: auto;
  object-fit: contain;
}

.intro {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-title {
  margin: 0;
  color: var(--logo-red);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 750;
  line-height: 1.2;
  text-wrap: balance;
}

.intro-text {
  margin: 0;
  color: #333333;
  font-size: clamp(0.98rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.travel-news {
  width: min(100%, 660px);
  padding: clamp(22px, 4vw, 30px);
  border-top: 3px solid var(--logo-red);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
}

.travel-news-title {
  margin: 0 0 14px;
  color: var(--logo-red);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.3;
  text-wrap: balance;
}

.travel-news-text {
  margin: 0;
  color: #333333;
  font-size: clamp(0.96rem, 1.5vw, 1rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.travel-news-text + .travel-news-text { margin-top: 11px; }

.travel-news-highlight {
  color: var(--text);
  font-weight: 750;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--tatsei-red);
  border-radius: 999px;
  color: #ffffff;
  background: var(--tatsei-red);
  box-shadow: 0 6px 18px rgba(188, 0, 45, 0.16);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.facebook-link:hover {
  background: #a90029;
  box-shadow: 0 8px 22px rgba(188, 0, 45, 0.22);
  transform: translateY(-1px);
}

.facebook-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact {
  width: min(100%, 660px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-title {
  margin: 0;
  color: var(--logo-red);
  font-size: clamp(1.18rem, 2.3vw, 1.4rem);
  line-height: 1.3;
  text-wrap: balance;
}

.contact-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #222222;
  background: #ffffff;
  font-size: 0.93rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.contact-link:hover {
  border-color: var(--logo-red);
  color: var(--logo-red);
  transform: translateY(-1px);
}

.contact-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  body { padding: 68px 18px 40px; }
  .language-nav { top: 21px; right: 18px; }
  main { gap: 27px; }
  .logo { width: min(100%, 520px); }
  .travel-news { padding: 21px 18px; }
  .facebook-link { width: 100%; max-width: 340px; }
  .contact-links { width: 100%; flex-direction: column; align-items: center; }
  .contact-link { width: 100%; max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .language-nav a, .facebook-link, .contact-link { transition: none; }
}
