*{
  box-sizing: border-box;
}
.under500{
  display:none;
}
br.over500{
  display:block;
}
br.under500{
  display:none;
}
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  background: #f9f9f9;
}
.hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
}
.hero-slider {
  position: relative;
  height: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slideTop{
  object-position:50% 20%;
}
.slideRight{
  object-position:100% 50%;
}
.hero-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 2px 2px  rgb(0 0 0 / 0.5);
  padding: 1rem;
  border-radius: 10px;
  color: white;
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 600px;
}
section {
  padding: 2rem 1rem;
  text-align: center;
}
.action p + h2{
  margin-top:60px;
}
.outline .img{
  width: 1080px;
  max-width: calc(100% + 2em);
  margin-left: -1em;
}
.outline{
  background-color: rgb(0 200 50 / 0.1);
}
.outline .title img{
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
}
.outline .announce{
  font-size:16px;
/*  color:#e83828;
  font-weight: 900; */
  padding:0px 10px 10px;
}
.outline .video{
  width: 1080px;
  max-width: calc(100% + 2em);
  margin-left: -1em;
}
.outline .outline-info{
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  background-color: #e83828;
  padding: 10px 40px;
  text-align: left;
  color:#fff;
}
.outline .note{
  text-align: left;
  width: 540px;
  max-width:100%;
  margin:20px auto;
}
.outline .map{
  width: 1000px;
  max-width:100%;
  margin:50px auto;
}
.outline .map .route{
  display: block;
}
.outline .map .routeB{
  max-width: 800px;
  margin:0px auto;
}
.outline .map img{
  max-width: 100%;
}
.outline .map .note{
  max-width: 100%;
  width:630px;
  margin-bottom:50px;
}
.donate-button {
  background-color: #245b4f;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
form input {
  padding: 0.5rem;
  width: 80%;
  max-width: 400px;
  margin-bottom: 0.5rem;
}
form button {
  padding: 0.5rem 1.5rem;
  background-color: #666;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-size:16px;
}
#messageList {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}
.history{
  background:url(./img/bg_history.webp) no-repeat;
  background-size:cover;
  color:#fff;
  text-align:left;
  min-height:90vh; 
  background-position:35% 50%;
}
.wading p{
  text-align:left;
}
.slide2 {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide2.active {
  opacity: 1;
  z-index: 1;
}
.line-stamp{
  background-color: rgb(200 0 100 / 0.1);
  margin: 0.5em 1em;
}
.thanks p{
  width:1000px;
  max-width:100%;
  margin:1em auto;
  line-break:strict;
  word-break: keep-all;
}
.episode{
  max-width:100%;
}
.bg-green{
  background-color:rgb(0 200 50 / 0.1);
  padding:1em;
  margin-bottom:1em;
}
.bg-blue{ 
  background-color:rgb(0 50 200 / 0.1);
  padding:1em;
}
footer {
  padding: 1rem;
  text-align: center;
  background-color: #eee;
  font-size: 0.8rem;
}
.fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.5s, transform 1s;
}.fade.active {
	opacity: 1;
	transform: translateY(0px);
}
@media screen and (max-width:800px){
  .bg-green p,
  .bg-blue p{
    text-align:left;
  }
}
@media screen and (max-width:600px){
  .hero{
    height:60vh;
  }
  .thanks p{
    width:1000px;
    word-break: break-all;
  }
}
@media screen and (max-width:500px){ 
  .over500{
    display:none;
  }
  .under500{
    display:block;
  }
  br.over500{
    display:none;
  }
  br.under500{
    display:block;
  }
  .hero{
    height:50vh;
  }
  .action p br{
    display:none;
  }
  .outline .outline-info{
    padding: 10px 10px;
  }
  .outline .outline-info h2{
    font-size:90%;
  }
} 
