@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Lato:wght@300;400;700&family=Noto+Sans+JP:wght@300;400;700&display=swap');

/* ========= Base ========= */
:root{
  --bg:#f5f5f5;
  --brand-grad: linear-gradient(90deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);
  --text:#111827;
  --muted:#6b7280;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  /* 英字はLato、日本語はNoto Sans JP で綺麗に。 */
  font-family: 'Lato','Noto Sans JP',sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========= Headings ========= */
/* h1/h2だけLora（見出し用セリフ体） */
h1, h2 {
  font-family: 'Lora', Georgia, serif !important; /* 他のCSSに負けないよう念のため */
  font-weight: 400;
  margin: 0 0 .5em;
  padding: 0 1em;
  line-height: 1.25;
}
/* h3以下は本文フォントのまま */
h3 {
  margin: 0 0 .5em;
  padding: 0 1em;
}

/* ========= Header / Nav ========= */
header {
  background: var(--brand-grad);
  color: #fff;
  padding: 1em;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: .5em 1em;
  overflow: hidden;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width .3s ease, left .3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* ========= Layout ========= */
main { padding: 2em; }

main section {
  text-align: center;
}

main section ul,
main section ol {
  list-style-position: inside;
  text-align: center;
  padding-left: 0;
}

p {
  padding: 0 1em;
  margin: 0 0 1em;
  color: #000;
}

/* ========= Hero ========= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform .2s ease-out;
  will-change: transform;
}

.hero-text {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0,0,0,.6);
  text-align: center;
  /* ヒーロー内もLoraで統一したいなら以下でOK */
  font-family: 'Lora', Georgia, serif;
}

/* ========= Images ========= */
.image-container {
  text-align: center;
  margin: 2em auto;
}

.image-container img {
  max-width: 50px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

/* ========= Footer ========= */
footer {
  background: var(--brand-grad);
  color: #fff;
  text-align: center;
  padding: 1em;
}
footer p { color: #fff; }

/* ========= Utilities ========= */
.sp-only { display: none; }

@media (max-width: 768px) {
  nav ul { flex-direction: column; align-items: center; }
  main { padding: 1em; }
  nav a { display: block; width: 100%; text-align: center; }
  .hero-text { font-size: 2rem; padding: 0 1em; }
  .sp-only { display: block; }
}

/* ========= Lang Switch ========= */
.lang-switch {
  position: fixed;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  background-color: #0077cc;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  text-decoration: none;
  transition: background-color .3s ease;
}
.lang-switch:hover { background-color: #005fa3; }


.hero-text,
.hero-text * {
  font-family: 'Lora', Georgia, serif !important;
  font-weight: 400 !important;
}


footer {
  background: var(--brand-grad);
  color: #f6f7fb;
  text-align: center;
  padding: 1.5em;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #f6f7fb;        /* テキストと同じ色で統一 */
  text-decoration: none; /* 下線を消す */
  margin: 0 0.5em;       /* 横に余白をつけて見やすく */
  transition: color 0.3s ease;
}

footer a:hover {
  color: #a5b4fc;        /* ホバー時にほんのり色変化（ブランドに合うアクセント色） */
}