
.site-logo {
  padding: 5%;
  width: 80%;   /* ← 好きな幅にする */
  height: auto;   /* 縦横比を維持 */
}


/* 画面全体に背景画像 */
body {
  margin: 0;
  font-family: sans-serif;
  /*
  background-image: url("img/bg.webp");
  background-size: cover;
  */
  background-image: url("img/renga3.png");
  background-repeat: repeat;
  background-size: auto; /* そのままのサイズでタイル */
  background-position: center;
  background-attachment: fixed;
  line-height: 1.7;
  color: #333;
}

/* スマホでも文字が小さくならない */
html {
  font-size: 18px;
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }
}

/* ガラス風ぼかしボックス */
.box {
  max-width: 800px;
  margin: 10px auto;
  padding: 10px 25px;

  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* タイトル */
h1 {
  margin-top: 60px;
  font-size: 2rem;
}

h2 {
  scroll-margin-top: 100px; /* ← ナビバーの高さに合わせて調整 */
}


h3 {
  margin-top: 0;
  font-size: 1rem;
}
.catch {
  font-size: 1.2rem;
  margin: 0;
}

/* 写真 */
.photo {
  width: 100%;
  border-radius: 8px;
}

/* リンク */
a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}


.navbar a {
  margin-right: 20px;   /* ← a と a の間に隙間を作る */
}

.flag {
  height: 30px;   /* 好きな幅に変更 */
  width: auto;  /* 縦横比を維持 */
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal:target {
  display: flex; /* ← これで表示される */
}

.modal-bg {
  position: absolute;
  inset: 0;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 90%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.modal-content img {
  max-width: 100%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
}
