@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Kosugi Maru", Arial, "メイリオ", sans-serif;
  font-weight: 500;
  font-size: large;
  color: #4d525c;
  padding: 0 5px; /* 狭い画面幅でのパディング */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
body ul {
  list-style-type: none;
}

/*===============================ヘッダーメインタイトル============*/
header {
  height: auto;
  width: 100%;
  min-width: 380px;
}
header .houjin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #d2eed1;
  width: 100%;
  padding: 20px;
}
header .houjin p {
  margin: 30px 0;
}
header h1 {
  width: 100%;
  max-width: 430px;
  padding-top: 10px;
  font-size: medium;
  font-weight: lighter;
  margin-left: 4px;
  letter-spacing: 1px;
  line-height: 2em;
  color: #4b4b4b;
}
header h1 img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
header h1 span {
  font-size: 28px;
  font-weight: bold;
}
header p {
  line-height: 1.8;
  margin-top: 30px;
  margin-bottom: 20px;
  margin-right: 30px;
  color: #000000;
}

/*----------------------------------------------------------------イメージ画像 */
.album {
  position: relative;
  width: 100%;
  height: auto;
  min-height: auto; /* 固定高さを解除 */
  aspect-ratio: 16/9; /* 画像の比率に合わせて調整（例: 16/9, 3/2, 4/3） */
}
.album .photo {
  position: absolute;
  border: none;
  width: 100%;
  max-width: 100%; /* 親要素の幅に合わせる */
  height: 100%; /* 親要素の高さに合わせる */
  min-height: auto; /* 固定高さを解除 */
  -o-object-fit: contain;
     object-fit: contain; /* 画像全体が切れないように表示する */
  opacity: 0;
  animation: album 50s infinite;
  transition: transform 0.5s ease; /* スムーズな移動のためのトランジションを追加 */
}
.album .photo:nth-child(1) {
  animation-delay: 0s;
}
.album .photo:nth-child(2) {
  animation-delay: 10s;
}
.album .photo:nth-child(3) {
  animation-delay: 20s;
}
.album .photo:nth-child(4) {
  animation-delay: 30s;
}
.album .photo:nth-child(5) {
  animation-delay: 40s;
}

@keyframes album {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.annai {
  width: 100%;
  max-width: 1000px;
  /*-----------------------グローバルナビゲーション-------------*/
}
.annai address {
  margin-left: 10px;
  width: 100%;
  line-height: 2em;
  font-size: 18px;
  font-style: normal;
  letter-spacing: 0.1em;
}
.annai .riyoujikan {
  height: 100px;
  line-height: 2em;
  margin-top: 40px;
  padding-left: 10px;
  padding-top: 0;
  font-size: 18px;
}
.annai .navi {
  width: 100%;
  max-width: 1000px;
}
.annai .navi ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 10px;
}
.annai .navi ul li {
  width: 46%;
  letter-spacing: 0.3em;
  font-weight: bolder;
  font-size: 20px;
  font-family: "Kosugi Maru", sans-serif;
  margin-bottom: 20px;
}
.annai .navi ul li a {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #292e29;
  text-decoration: none;
  background-color: #9ce3f8;
  border: solid 1px #9ce3f8;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.annai .navi ul li a:hover {
  color: #000; /* 文字色を黒に変更 */
  background-color: #e0f2f7;
  transform: scale(1.05); /* 1.05倍に拡大 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 影を追加 */
  border: solid 6px #9ce3f8;
}
.annai .navi ul #omousi {
  /*申込一覧のボタンのみに適用*/
}
.annai .navi ul #omousi a {
  background-color: #fda8bb;
  border-color: #fda8bb;
}
.annai .navi ul #omousi a:hover {
  color: #000;
}

/*--本文--*/
main {
  width: 100%;
  max-width: 1000px;
  min-width: 380px;
  margin: 0 auto;
}

h2 {
  font-family: "Noto Sans JP", sans-serif; /* フォントを変更 */
  margin-bottom: 20px;
}

article {
  width: 100%;
  margin-top: 40px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*お知らせ欄の表示*/
.osirase {
  width: 100%;
  height: auto;
  /* お知らせの日付のスタイル */
  /* お知らせリストのスタイル調整 (必要に応じて) */
}
.osirase ul {
  width: 100%;
  text-align: left;
  padding: 10px;
}
.osirase ul li {
  margin: 20px;
  font-weight: bold;
}
.osirase ul li p {
  margin-top: 5px;
  font-weight: normal;
  line-height: 1.8em;
}
.osirase ul li p span {
  color: red;
}
.osirase .news-date {
  background-color: #fff; /* 背景色 (例: カーキ色) */
  padding: 2px 6px; /* 内側の余白 */
  border-radius: 4px; /* 角を少し丸める */
  margin-right: 8px; /* 日付とテキストの間の余白 */
  display: inline-block; /* 背景色がテキスト幅に収まるように */
  font-weight: bold; /* 文字を少し太くする場合 */
}
.osirase .osirase ul li {
  margin-bottom: 1em; /* 各お知らせ項目の下の余白 */
}
.osirase .osirase ul li p {
  display: inline; /* 日付と同じ行にテキストを表示させる場合 */
  margin-left: 0; /* display:inlineにした場合の調整 */
}

.content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.content .maps iframe {
  width: 100%;
  height: 500px;
}
.content .kalender iframe {
  width: 100%;
  height: 500px;
}

/*告知写真の表示*/
.kokuti {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  max-width: 1000px;
  height: auto;
}
.kokuti a {
  width: 46%;
}
.kokuti a img {
  width: 100%;
  height: auto;
  border: solid 1px #5c5b5b;
  margin-top: 30px;
}

.sns {
  width: 100%;
}
.sns .fb {
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  flex-direction: column; /* 縦に並べる */
  width: 100%; /* 画面いっぱいの幅にする */
}
.sns .fb iframe {
  width: 80%; /* iframe の幅を調整 */
  max-width: 500px; /* iframe の最大幅を調整 */
  border: none;
  margin-top: 40px;
}

footer {
  width: 100%;
  max-width: 100vw;
  min-width: 380px;
  height: auto;
  min-height: 300px;
  margin-top: 40px;
  background-color: #e0f2f7;
  padding: 20px;
  background-image: url(../img/footer.png);
  background-position: left bottom; /* 画像を左下に配置 */
  background-repeat: no-repeat; /* 画像を繰り返さない */
  background-size: 100%;
}
footer .footer-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-bottom: 40px;
}
footer .footer-links section {
  width: 46%;
  margin-left: 10px;
  margin-top: 20px;
  /* SNS アイコンのスタイル */
}
footer .footer-links section ul {
  line-height: 1.7;
}
footer .footer-links section div {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
footer .footer-links section div img {
  width: 100px;
  margin-top: 10px; /* アイコン間の余白 */
}
footer .footer-links section div .sns-icon {
  width: 40px; /* アイコンの幅 */
  height: 40px; /* アイコンの高さ */
  margin-right: 20px;
}
footer small {
  display: block;
  margin-bottom: 100px;
}

.teisei {
  color: red;
}

@media screen and (min-width: 901px) {
  /*ウィンドウ幅が最大901px以上の場合に適用*/
  body {
    padding: 0 20px;
  }
  header {
    height: auto;
    margin-bottom: 20px;
  }
  header .houjin {
    padding-left: 100px;
  }
  header .houjin p {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
  }
  header .album {
    margin: 20px auto;
    width: 100%;
    max-width: 1100px;
    height: 550px;
    display: flex;
    justify-content: center;
  }
  header .album .photo {
    width: 100%;
    border: #fff solid 5px;
    border-radius: 10px;
  }
  header .annai {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 25px auto;
  }
  header .annai div {
    width: 50%;
  }
  header .annai .riyoujikan {
    margin-left: 10px;
    height: 120px;
  }
  header .annai address {
    margin-left: 20px;
    padding-bottom: 20px;
    border-bottom: #5c5b5b solid 1px;
  }
  header .annai .navi {
    width: 40%;
    flex-wrap: wrap;
    text-align: center;
  }
  header .annai .navi ul li {
    width: 48%;
    font-size: 80%;
    margin-top: 30px;
    display: flex; /* Flexbox を適用 */
    justify-content: flex-end; /* 右端に配置 */
  }
  header .annai .navi ul li a {
    width: 150px;
    height: 150px;
    background-color: #9ce3f8;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
  }
  header .annai .navi ul li a:hover {
    border: solid 1px #9ce3f8;
  }
  .osirase {
    background-color: #fcf7b6;
  }
  .jyoudan {
    display: flex;
    flex-direction: column; /* 縦方向に整列 */
    align-items: center; /* 水平方向の中央揃え */
    justify-content: center; /* 垂直方向の中央揃え */
  }
  .jyoudan section {
    width: 100%;
    border-bottom: #5c5b5b solid 1px;
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .jyoudan .content {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .jyoudan .content h2 {
    border-top: none;
  }
  .jyoudan .content .maps {
    width: 25%;
  }
  .jyoudan .content .kalender {
    width: 70%;
  }
  .kokuti {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
  }
  .kokuti a {
    width: 24%;
    height: 40%;
  }
  .kokuti a img {
    width: 100%;
    height: auto;
  }
  .fb {
    width: 100%;
    max-width: 1000px; /* 最大幅を1000pxに設定 */
    margin: 0 auto; /* 中央寄せ */
  }
  footer {
    padding: 40px auto;
    background-size: 70%; /* 画像を70%に縮小 */
  }
  footer .footer-links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  footer .footer-links section {
    width: 22%;
    margin-left: 20px;
  }
  footer .footer-links section img {
    width: 100px;
  }
  footer small {
    text-align: right;
  }
}/*# sourceMappingURL=top.css.map */