header {
    display: flex;
	  width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 119);
    align-items: center;
    color: blue;
	  margin: 0;  
    padding: 0; 
    box-sizing: border-box;
 }

 .header-image-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

  .header-image {
    background-image: url(images/IMG_1848.JPG;);
    width: 100%;
    height: 600px; 
    display: block;
    margin: 0 auto;
    opacity: 0.5;
 }

  .header-text {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  pointer-events: none;
 }
   
  .title {
    margin-right: auto;
    font-size: 40px;
    font-weight: bold;
  }
   
  .menu-item {
    list-style: none;
    display: inline-block;
    padding: 36px;
    font-size: 24px;
  }

  h2 {
    font-size: 86px;
    font-weight: normal;
    text-align: center;
    color: blue
   }

    .main-text {
      font-size: 36px; 
      line-height: 1.6; 
      color: #333; 
  }

  .footer {
    background-color: rgb(255, 255, 119); /* 背景色 */
    color: #333; /* 文字色 */
    text-align: center; /* 中央揃え */
    padding: 20px; /* 内側の余白 */
    position: fixed; /* 必要に応じて固定 */
    bottom: 0;
    width: 100%; /* フッターをページ全体の幅にする */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); 
    z-index: 1000; /* 他の要素より前面に表示 */
}

.footer-text {
    font-size: 14px; /* 文字サイズ */
    margin: 0; /* 余白をリセット */
}

.box1 {
  padding: 5em 5em;
  margin: 7em 30em;
  color:  blue;
  background: #e4fcff;/*背景色*/
  border-top: solid 6px #1dc1d6;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
  margin-left: auto;
}
.box1 p {
  margin: 0; 
  padding: 0;
  font-size: 40px
}

.center-image-wrapper {
  position: relative;
  width: 300px; /* .center-imageのwidthと合わせる */
  margin: 40px auto;
}

.center-image {
  display: block;
  width: 300px;
  height: auto;
  opacity: 0.5; /* 画像を薄くする */
}

.center-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-size: 32px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(255,255,255,0.6);
  pointer-events: none;
}

.center-image:hover {
  filter: brightness(70%);
  transition: filter 0.3s;
}

.left-image-wrapper {
  position: relative;
  width: 300px; /* .center-imageのwidthと合わせる */
  margin: 40px auto;
}

.left-image {
  display: block;
  width: 300px;
  height: auto;
  opacity: 0.5; /* 画像を薄くする */
}

.left-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-size: 32px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(255,255,255,0.6);
  pointer-events: none;
}

.left-image:hover {
  filter: brightness(70%);
  transition: filter 0.3s;
}

.right-image-wrapper {
  position: relative;
  width: 300px; /* .center-imageのwidthと合わせる */
  margin: 40px auto;
}

.right-image {
  display: block;
  width: 300px;
  height: auto;
  opacity: 0.5; /* 画像を薄くする */
}

.right-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-size: 32px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(255,255,255,0.6);
  pointer-events: none;
}

.right-image:hover {
  filter: brightness(70%);
  transition: filter 0.3s;
}