/* 全体デザインの基本 */
body {
  font-family: Arial, sans-serif;
  background-color: #fef5e7;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ヘッダー */
.head{
  text-align: 100px;
}
/* 暖簾風のデザイン */
.main-header {
  padding-left: 20px; /* 全体の左側に余白を追加 */
  position: fixed; /* スクロールしても固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* ヘッダーの高さ */
  background-color: #333; /* 暖簾の背景色（濃いグレー） */
  color: white; /* 文字色を白に設定 */
  display: flex; 
  align-items: center; /* 縦方向も中央揃え */
  clip-path: polygon(
    0 0, 100% 0, 100% 90%, 
    90% 100%, 80% 90%, 
    70% 100%, 60% 90%, 
    50% 100%, 40% 90%, 
    30% 100%, 20% 90%, 
    10% 100%, 0 90%
  ); /* 暖簾の垂れ下がりを作成 */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* 暖簾の影 */
  z-index: 1000;
}
#content {
  margin-top: 70px; /* ヘッダーの高さ分の余白を追加 */
}
/* テキストスタイル */
.main-header p {
  font-size: 22px; /* テキストサイズを設定 */
  margin: 0; /* マージンをリセット */
  line-height: 1.5; /* 行間を調整 */
}
.main-header a {
  color: white; /* 文字色をそのまま */
  text-decoration: none; /* 下線を消す */
  font-size: 1.2rem;
  cursor: pointer;
}
.izakaya-small-text {
  font-size: 15px;
}
.image-container {
  display: flex; /* Flexboxを有効にする */
  justify-content: center; /* 水平方向に中央揃え */
  align-items: center; /* 垂直方向に中央揃え */
  height: 100vh; /* コンテナの高さを画面いっぱいに */
  
}

.image-container img {
  max-width: 100%; /* 画像がコンテナを超えないように */
  max-height: 100%; /* 縦方向も制限 */
}

/* 背景ストライプのオプション */
.main-header {
  background: repeating-linear-gradient(
    to right,
    #333,
    #333 10px,
    #555 10px,
    #555 20px
  ); /* 暖簾の縦ストライプを作成 */
}




/*h2,h3*を中央に配置*/
h2,
h3 {
  text-align: center;
}
/* 全体の<p>にフォントを適用 */
p {
  font-family: "Noto Serif JP", serif; /* Google Fontsの小杉丸を適用 */
  font-size: 1rem; /* フォントサイズ */
  line-height: 1.6; /* 行間を調整 */
  padding-left: 100px;
  margin: 10px 0; /* 上下の余白を設定 */
}


.apply-link {
  display: inline-block; /* リンクをボタンのように扱う */
  margin-left: 100px; /* 左側の余白を自動にする */
  margin-bottom: 40px; /* 下に40pxの余白を追加 */
  font-family: "Kosugi Maru", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  padding: 10px 20px;
  background-color: #f7d94c;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
hr {
  border: 0; /* デフォルトのスタイルをリセット */
  border-top: 1px solid #ddd; /* 薄いグレーの線を追加 */
  margin: 20px 0; /* 上下に余白を設定 */
}

.map-container {
  display: flex; /* 子要素を配置するためのFlexboxを有効にする */
  justify-content: center; /* 横方向で中央揃え */
  align-items: center; /* 縦方向で中央揃え（必要なら） */
  margin: 0 auto; /* 上下は中央にし、左右も中央に配置 */
}

.footer {
  background-color: #333; /* 背景色を濃いグレーに設定 */
  color: white; /* テキストを白に設定 */
  text-align: center; /* テキストを中央揃え */
  padding: 20px 0; /* 上下に20pxの余白を設定 */
  border-top: 2px solid #555; /* 上部に線を引いて枠を作成 */
}
.section {
  background-color: #005D7C; /* 背景色（薄い青） */
  padding: 20px; /* セクション内の余白 */
  border-radius: 10px; /* 角を丸くする（オプション） */
}



.section {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面全体を覆う */
  overflow: hidden; /* 星がセクション外に出ないようにする */
}
.section::before{
  position: absolute;
  top: 50px; /* 月の縦位置 */
  left: 50%; /* 月の横位置（画面中央） */
  transform: translateX(-50%);
  width: 100px; /* 月の幅 */
  height: 100px; /* 月の高さ */
  background-color: #f8e8b3; /* 月の黄色 */
  border-radius: 50%; /* 丸くする */
  box-shadow: -30px 0 0 30px black; /* 黒で隠して三日月を作る */
}

.section::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: white; /* 星の色 */
  border-radius: 50%; /* 星を丸くする */
  box-shadow: 
    50px 80px white,
    120px 150px white,
    500px 250px white,
    550px 150px white,
    600px 80px white,
    650px 300px white,
    700px 100px white,
    750px 180px white,
    800px 250px white,
    850px 50px white,
    900px 300px white,
    950px 120px white,
    1000px 200px white,
    1100px 150px white,
    1150px 80px white,
    1200px 250px white,
    1250px 50px white; /* ランダムな位置に星を配置 */

  animation: twinkling 2s infinite ease-in-out; /* 星のきらめき */
}

/* 星のきらめきを表現する */
@keyframes twinkling {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.moon {
  position: relative;
  top: 10%;
  left: 10%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background-color: #f8e8b3;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 200, 0.8);
}

/* 雲の共通スタイル */
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  box-shadow: 
    -40px -20px 0 -10px #fff,
    40px -20px 0 -10px #fff,
    0 20px 0 -10px #fff,
    20px 20px 0 -10px #fff,
    -20px 20px 0 -10px #fff;
}

/* 動く雲 */
.moving-cloud1 {
  width: 150px;
  height: 80px;
  top: 100px; /* 初期の縦位置 */
  left: 400px; /* 初期の横位置（画面外） */
  animation: move-cloud 30s linear infinite; /* アニメーション設定 */
}
.moving-cloud2 {
  width: 150px;
  height: 100px;
  top: 150px; /* 初期の縦位置 */
  left: -200px; /* 初期の横位置（画面外） */
  animation: move-cloud 50s linear infinite; /* アニメーション設定 */
}

/* 雲の移動アニメーション */
@keyframes move-cloud {
  0% {
    left: -200px; /* 画面の左外 */
  }
  100% {
    left: 100vw; /* 画面の右外 */
  }
}

