@charset "utf-8";
/* CSS Document */
#nav li a {
        padding: 20px;
        border-bottom: 1px dotted;
    transition-duration: 0.5s;
    }
#nav li a:hover {
       background: #DDDDDD
    }
.contents {
  display: flex;
}
#sec01{
	margin-bottom: 100px;
	padding-bottom: 50px;
}
#sec02,#sec03,#sec04,#sec05,#sec06{
	margin-bottom: 100px;
	padding-top: 50px;
	padding-bottom: 50px;
}
#sec02 > div,#sec03 > div,#sec04 > div,#sec05 > div,#sec06 > div{
	max-width: 980px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
#sec01 img {
	width: 100%;
	height: auto;
}



#sec01 .text p {
      opacity: 0;
      animation: fadeIn 1s ease-in-out 1s forwards; /* 1秒遅れでアニメーション開始 */
    }
#sec01 .text p:nth-child(2) {
      opacity: 0;
      animation: fadeIn 2s ease-in-out 1s forwards; /* 1秒遅れでアニメーション開始 */
    }
#sec01,#sec02,#sec05{
	background-image: url(../img/bk1.jpg);
	background-repeat: repeat;
	margin-bottom: 0px;
}

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }



#main {
  margin-left: 320px;
  width: 100%;
}

.text {
	position: absolute;
	right: 0;
	left: 0;
	margin: 0 auto;
	max-inline-size: max-content;
	margin-inline: auto;
	bottom: 20%;
}
.text p {
    font-size: 2vw;
    /* line-height: 4vw; */
    margin-bottom: 2.5vw;
    background: linear-gradient(transparent 50%, #ffb100 50%);
    max-inline-size: max-content;
	margin-inline: left;
}
#main #sec01 p:nth-child(2) {
	top: 50px;
}
.ptitle {
	background: linear-gradient(transparent 70%, #48aefb 30%);
	max-inline-size: max-content;
	font-size: 3vw;
	line-height: 1;
	margin-bottom: 0px;
}
.ptitle + p {
	margin-bottom: 50px;
}
.w2 {
	margin-bottom: 50px;
}


#sec02 div .w2 {
	display: flex;
	justify-content: space-between;
}
#sec02 div .w2 div {
	width: 40%;
}
#sec03 {
    background-color: #ebe8d9
}
.w3 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.w3 div {
	width: 45%;
	margin-bottom: 60px;
	text-align: center;
}
.divunder100 {
	margin-bottom: 100px;
}
div table {
	border: 1px solid #929292;
	width: 100%;
	margin-bottom: 50px;
}
div table td ,div table th{
	padding: 15px;
	border: 1px solid #A8A8A8;
	font-size: 1.2vw;
}
div table th {
	background-color: #E1E1E1;
}
div .re a {
	max-inline-size: max-content;
	margin-inline: auto;
	display: block;
	margin-top: 100px;
	padding: 15px 30px;
	background-color: #FFB833;
}
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.tdimg img {

}









@media screen and (min-width:768px) {
  .contents #header #logo {
    width: 100%;
    height: 320px;
    border-bottom: 1px solid #ACACAC;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body .contents header {
	margin-left: 0px;
	padding: 0px;
	overflow: auto;
	border-right: 1px solid #ACACAC;
  }
.ptitle,.ptitle + p {
	margin-left: 20px;
}
.headerwaku {
    
}



}
@media screen and (max-width:767px) {
    body {
        margin-top: 70px
    }
  #main {
    margin-left: 0px;
    margin-top: -70px;
    padding-top: 70px;
  }
  #header {
    width: 100%;
    height: 70px;
    background-color: #FFFFFF;
      display: flex;
  }
.text {
    bottom: 35%;
        transform: rotate(351deg);
}
.text p {
    font-size: 6vw;
    /* line-height: 4vw; */
    margin-bottom: 2.5vw;
    background: linear-gradient(transparent 50%, #ffb100 50%);
    max-inline-size: max-content;
	margin-inline: left;
}
.ptitle {
	background: linear-gradient(transparent 70%, #48aefb 30%);
	max-inline-size: max-content;
	font-size: 10vw;
	line-height: 1;
	margin-bottom: 0px;
	text-align: center;
}
.ptitle + p {
	margin-bottom: 50px;
	font-size: 3vw;
}
#sec02 div .w2 {
	display: block;
	justify-content: space-between;
	margin-bottom: 0px;
}
#sec02 div .w2 div {
	width: 70%;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
}
.w3 div {
	width: 70%;
	margin-bottom: 60px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
div table td, div table th {
	padding: 15px;
	border: 1px solid #A8A8A8;
	font-size: 4vw;
}
.map {
	padding-top: 120%;

}





}
