.c-header {
  background-color: rgb(238, 238, 243);
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 1rem 1rem;
  /* カスタマイズしてください */
  width: 100%;
}

.c-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* 丸型にするために追加 */
  overflow: hidden;
  /* 丸型からはみ出る部分を隠す */
  width: 5vw;
  /* 初期のロゴの大きさを指定 */
  height: 5vw;
  /* 初期のロゴの大きさを指定 */
  min-width: 30px;
  /* 最小サイズを指定 */
  min-height: 30px;
  /* 最小サイズを指定 */
}

.c-header__logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像の比率を保ったまま丸型に収める */
}

.c-header__list {
  background-color: #f8f4f4;
  /* カスタマイズしてください */
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  left: 0;
  padding: 2rem;
  /* カスタマイズしてください */
  position: absolute;
  transform: translateX(-100%);
  transition: 0.3s;
  /* カスタマイズしてください */
  top: 100%;
  width: 100%;
}

.c-header__list-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #000;
  /* カスタマイズしてください */
  display: block;
  margin-right: 20px;
  /* カスタマイズしてください */
  text-decoration: none;
  padding: 10px 0px; 
  /* カスタマイズしてください */
}

.c-header__list-link:hover {
  filter: opacity(0.6);
  /* カスタマイズしてください */
}

#hamburger:checked~.c-header__list {
  transform: translateX(0%);
  transition: 0.3s;
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #000;
  /* カスタマイズしてください */
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4;
  /* カスタマイズしてください */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked~.c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  align-items: center;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* カスタマイズしてください */
  height: px;
  /* カスタマイズしてください */
  justify-content: center;
  width: 50px;
  /* カスタマイズしてください */
}

.c-hamburger-menu__button-mark {
  background-color: #040303;
  /* カスタマイズしてください */
  display: block;
  height: 1px;
  /* カスタマイズしてください */
  transition: 0.3s;
  /* カスタマイズしてください */
  width: 20px;
  /* カスタマイズしてください */
}

#hamburger:checked~.c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(1) {
  transform: translate(3px, 1px) rotate(45deg);
  /* カスタマイズしてください */
  transform-origin: 0%;
  /* カスタマイズしてください */
}

#hamburger:checked~.c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(2) {
  opacity: 0;
}

#hamburger:checked~.c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(3) {
  transform: translate(2px, 3px) rotate(-45deg);
  /* カスタマイズしてください */
  transform-origin: 0%;
  /* カスタマイズしてください */
}


body {
  padding-top: 50px;
  /* メニューバーの高さに合わせて適宜調整してください */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}







.img-box {
  width: 100%;
  height: 100vh;
  /* 高さをビューポートの高さに基づいて設定 */
  overflow: hidden;
  position: relative;
}

.img-box .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 親要素の高さに合わせる */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: scale(1.2);
  }

  100% {
    opacity: 0;
    z-index: 0;
  }
}

/* 1枚目のスライド */
.img-box .slide:first-of-type {
  background-image: url(picture/IMG_5112.JPG);
}

/* 2枚目のスライド */
.img-box .slide:nth-of-type(2) {
  background-image: url(picture/IMG_5113.JPG);
  animation-delay: 4s;
}

/* 3枚目のスライド */
.img-box .slide:last-of-type {
  background-image: url(picture/IMG_5114.JPG);
  animation-delay: 8s;
}


/* タイトルのスタイル */
.img-box .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  /* スライドショーの上に表示するために z-index を高く設定 */
  color: white;
  font-size: 6vw;
  /* ビューポート幅に応じたフォントサイズ */
  text-align: center;
}

/* メディアクエリでフォントサイズを調整 */
@media (max-width: 768px) {
  .img-box .title {
    font-size: 6vw;
    /* 小さな画面サイズに合わせてフォントサイズを大きくする */
  }
}

@media (max-width: 480px) {
  .img-box .title {
    font-size: 6vw;
    /* さらに小さな画面サイズに合わせてフォントサイズを大きくする */
  }
}






main {
  padding: 20px;
}

section {
  padding: 40px 20px;
  margin: 20px 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.section-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
}

/* アニメーション */
.animate {
  opacity: 1;
  transform: translateY(0);
}










ul {
  padding: 0;
  list-style: none;
}

a {
  color: #f0f1f2;
  text-decoration: none;
}

a:hover {
  color: #f9f5f5;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer {
  padding: 2rem;
  font-size: 15px;
  color: #edeff2;
  background: #7eb5e4;
}

.footer__navi-heading {
  font-weight: 600;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__social a {
  display: inline-block;
  width: 24px;
  opacity: 0.7;
}

.footer__social a:not(:last-child) {
  margin-right: 16px;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
