@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 18px;
  max-width: 100%;
  width: 100%;
  margin: auto;
  overflow-x: hidden;
}

#title,
#footer {
  background: rgba(0, 0, 0, 1);
  text-align: center;
  position: relative;
  z-index: -1;
}

#footer {
  color: #ffffff;
  font-size: 14px;
  position: relative;
  bottom: 0;
}

.page_title {
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  position: relative;
  width: 100%;
  z-index: 2;
}

.page_title img {
  position: relative;
  z-index: 3;
}

.page_title::before {
  content: "";
  position: absolute;
  background-image: url(../images/bg_before.png?20220222);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  left: 0;
  z-index: 1;
}

.page_title::after {
  content: "";
  position: absolute;
  background-image: url(../images/bg_after.png?20220222);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: right;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.top_image {
  padding: 50px 0;
  width: 100%;
}

.top_image img {
  max-width: 100%;
}

.slide{
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 750px;;
  padding: 30px inherit;
  margin: 0 auto;
  text-align: center;
}

.slide ul{
  margin: 0;
  padding: 50px auto;
  padding-bottom: 60%;
}

.slide ul img{
  margin: 0 auto 0;
  padding: 0 auto;
}

.slide ul li{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  animation-iteration-count: infinite;
  animation-duration: 10s;
}

.slide ul li:nth-child(1){
  animation-name: slide;
  animation-delay: -2s;
}

.slide ul li:nth-child(2){
  animation-name: slide;
  animation-delay: 4s;
  opacity: 0;
}

@keyframes slide{
  0%{
    opacity: 0;
  }
  50%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}

.main_content {
  max-width: 1200px;
  margin: auto;
  padding: 50px 0;
}

.main_content h3 {
  background: linear-gradient(#333333, #000000);
  color: #ffffff;
  font-weight: 400;
  padding: 10px 20px;
  position: relative;
  z-index: 2;
}

.main_content h3::before {
  content: "";
  position: absolute;
  background-image: url(/images/bg_after.png?20220222);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: right;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  z-index: 3;
}

.main_content h3.address{
  width: 600px;
  font-size: 24px;
  padding: 20px;
  margin: auto;
  margin-bottom: 70px;
}

.main_content h3.address::before{
  display: none;
}

.main_content h3.address div{
  font-size: 20px;
}

.main_content ul.column3 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: auto 0;
  padding-top: 20px;
  padding-bottom: 80px;
}

.main_content ul.column3 li {
  width: 30%;
  padding: 1.6%;
}

.main_content ul.column3 li img {
  max-width: 100%;
}

.tx_red {
  color: #cc0000;
  float: right;
  font-weight: 700;
}

@media screen and (max-width:1100px) {

  .main_content ul.column3 {
    padding-top: 50px;
  }

  .main_content ul.column3 li {
    width: 44%;
    padding: 3%;
  }
}

@media screen and (max-width:680px) {
  .main_content h3.address{
  width: 90%;
    margin-bottom: 0;
  }
}

@media screen and (max-width:480px) {
  
  .main_content {
    padding-bottom: 0;
  }
  
    .main_content ul.column3 li {
    width: 70%;
    padding: 0  15% 15%;
  }
  
  .main_content h3.address{
    width: 98%;
    padding: 3% 1%;
    margin-bottom: 0;
  }

}