html{
  background: linear-gradient(to bottom,#74a6ec,#f096c2)
}

.ck{
  text-align: left;
    color: #ffffff; /* 文字色 */
  text-shadow: 
    1px 1px 0 #000000, /* 右下 */
    -1px -1px 0 #000000, /* 左上 */
    1px -1px 0 #000000, /* 右上 */
    -1px 1px 0 #000000; /* 左下 */
  font-family: serif;
  font-size: 60px;
 }

  .imi{
  font-family:serif;
   font-size: 25px;
   color: #ffffff; 
  text-shadow: 
    1px 1px 0 #000000, /* 右下 */
    -1px -1px 0 #000000, /* 左上 */
    1px -1px 0 #000000, /* 右上 */
    -1px 1px 0 #000000; /* 左下 */
 }

 .kuuhaku{
  padding: 40px;
 }



 /*囲み線*/
 .box{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.box:before, .box:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.box:before {left: 10px;}
.box:after {right: 10px;}
.box p {
    margin: 0; 
    padding: 0;
}


  body {
   margin: 0;
}




 h2{
   font-family: 'Times New Roman', Times, serif;
   color: black;
  position: relative;
  display: inline-block;
  padding: 0 55px;
}

h2:before, h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 2px;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
}

h2:before {
  left:0;
}
h2:after {
  right: 0;
}




/*スライドショー*/
.slider-wrapper {
  display: flex; 
  overflow: hidden; 
}

.slider {
  animation: scroll-left 30s infinite linear .10s both;
  display: flex; 
}

.slide {
  width: calc(100vw / 3); 
}

.slide img {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*ボタン*/
.button a {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.button a:hover {
  background: #6bb6ff;
  color: #FFF;
}
.button a:hover:after {
  right: 1.4rem;
}
/* hover(マウスオーバー)で拡大 */
.slide {
  cursor: pointer;
  overflow: hidden;
}
.slide img {
  transition: transform 0.4s;
}
.slide:hover img {
  transform: scale(1.1);
}


 a:link{
  color: #000000;
 }

 a:visited{
  color: #000000;
 }

 a:hover{
  color: #ff7070;
 }

html{
    scroll-behavior: smooth;
}
.gotop{
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #999;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #333;
    opacity: 0.5;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}
.gotop::before{
    content: "";
    display: block;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    width: 25%;
    height: 25%;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
.gotop:hover{
    opacity: 1;
}
@media(max-width:750px){
    .gotop{
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        opacity: 1;
        border: none;
        background: none;
        bottom: 10px;
        right: 10px;
    }
    .gotop::before{
        bottom: 0;
    }
  }

 .syasin{
  text-align: center;
 }


footer{
  font-size: 30px;
  text-align: center;
}

 #otoiawase{
  font-family: serif;
 }

  
    .image-container {
      position: relative;
      display: inline-block;
    }

    .image-container img {
      display: block;
      width: 100%;
      height: auto;
    }

    .overlay-text {
      /* 位置の調整 */
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

