.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%;
  position: fixed; /* ヘッダーを固定 */
  top: 0;
  z-index: 1000;
}

.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: 80px; /* メニューバーの高さに合わせて適宜調整してください */
  font-family: Arial, sans-serif;
}

.timeline {
  list-style: none;
  padding: 0;
}

.timeline > li {
  margin-bottom: 60px;
  position: relative;
}

.timeline-date {
  margin-bottom: 10px;
  font-weight: bold;
}

.timeline-content {
  border-left: 3px #b8b8b4 solid;
  padding-left: 20px;
  position: relative;
}

.timeline-content:before {
  content: '';
  width: 12px;
  height: 12px;
  background: #6fb6c1;
  position: absolute;
  left: -8px;
  top: 24px;
  border-radius: 100%;
}

.timeline-image-container {
  /* 固定サイズを削除 */
  max-width: 200px; /* 最大幅を制限 */
  max-height: 300px; /* 最大高さを制限 */
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 8px;
}

.timeline-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* for Desktop */
@media (min-width: 640px) {
  .timeline > li {
    overflow: hidden;
    margin: 0;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    padding-left: 30px;
  }
  .timeline-content:before {
    left: -12px;
  }
  .timeline-image-container {
    float: left;
    margin-right: 20px;
  }
}

@media (min-width: 1024px) {
  .timeline-content {
    width: 80%;
  }
}

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));
  }
}

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

/* モーダルウィンドウのスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.img {

	max-height: 100px;
}