@charset "utf-8";
/* CSS Document */
/*--------------------------------------------------
 common 共通の設定
----------------------------------------------------*/
.pcOnly {
  display: block;
}
.spOnly {
  display: none;
}
article {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  text-align: justify;
  line-height: 2;
  color: #333333;
  display: block;
  width: 100%;	
}
article p {
	font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 2;
  color: #333333;
}


/*見出し*/
article h2 {
  font-size: 3rem;
  position: relative;
  padding: 1.5rem;
  text-align: center;
}
article h2 span {
  font-size: 1.8rem;
  display: block;
}
article h2:before {
  position: absolute;
  bottom: -5px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #5B7D87;
}
article h3 {
  font-size: 2rem;
  font-weight: 600;
}

article img{
max-width: 100%;
}
/*テキスト*/
article .txt {
  max-width: 600px;
  margin: 50px auto;
}
/*スマホ表示*/
@media screen and (max-width: 767px) {
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: block;
  }
  article .txt {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 　画像切り替え　 */
.pc { display: block !important; }
.sp { display: none !important; }
 
@media only screen and (max-width: 767px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
	article img {
		width: 100%;
	}
}

/*--------------------------------------------------
 #top
----------------------------------------------------*/

#top{
	width: 100%;
	padding-top:2rem;
	display: block;
} 
#top h1 {
	max-width: 1200px;
	margin: 0 auto;
	font-size: 3rem;
	overflow: hidden;
}
#top img {
	margin: 2rem auto 0;
}
@media screen and (max-width:1260px){
	#top h1 {
		width: 90%;
	}
}
@media screen and (max-width:767px){
	#top img {
		width: 100%;
	}
}

/*--------------------------------------------------
 #lead
----------------------------------------------------*/
#lead{
	background-image: url(../img/lamp2.svg);
	background-position: 90% 0;
	background-repeat: no-repeat;
	background-size: 10%;
}

/*スマホ表示*/
@media screen and (max-width: 767px) {
	#lead{
		background-position: 90% 0;
		background-size: 40%;
	}
}

/*--------------------------------------------------
 #plan
----------------------------------------------------*/
#plan figure {
  max-width: 960px;
  margin: 50px auto;
  text-align: center;
}

/*スマホ表示*/
@media screen and (max-width: 767px) {
  #plan figure {
    padding-left: 10px;
    padding-right: 10px;
  }
}

#plan ul {
	max-width: 960px;
	width: 80%;
	margin: 0 auto;
}
#plan ul li{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 100px;
}
#plan ul li img{
	width: 60%;
}
#plan ul li p {
	width: calc(50% - 150px) ;
	position: relative;
}
#plan ul li.second p{
	order: 0;
}
#plan ul li.second img{
	order: 1;
}
#plan ul li p::before {
	content: '';
	width: 1px;
	height: 170px;
	position: absolute;
	bottom: 0;
	left: -2em;
	background-color: #333333;
}
#plan ul li.second p::before {
	bottom: 0;
	left: inherit;
	right: -2em;
}
@media screen and (max-width:767px){
	#plan ul {
		width: 90%;
		margin: 0 auto;
	}
	#plan ul li{
		flex-wrap: wrap;
	}
	#plan ul li p,#plan ul li img {
		width: 100%;
	}
	#plan ul li p{
		order: 0;
		margin-bottom: 35px;
	}
	#plan ul li.second p::before {
		right: inherit;
		bottom: inherit;
		left: -2em;
	}
	#plan ul li p::before{
		width: 173px;
		height: 1px;
		top: -30px;
		bottom: inherit;
	}
	#plan ul li img {
		order: 1;
	}
}

/*--------------------------------------------------
 #photos
----------------------------------------------------*/

#photo_list {
  max-width: 960px;
  margin: 0 auto 50px;
  display: grid;
  gap: 11.4285714px;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));/* サムネの画像サイズによって変える */
  text-align: center;
}
/*スマホ表示*/
@media screen and (max-width: 767px) {
  #photo_list {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/*--------------------------------------------------
 #area,#gionfes
----------------------------------------------------*/
#area figure,
#gionfes figure{
  max-width: 960px;
  margin: 50px auto;
}
/*スマホ表示*/
@media screen and (max-width: 767px) {
  #area figure,
  #gionfes figure{
    padding-left: 10px;
    padding-right: 10px;
  }
}
/*--------------------------------------------------
 #virtualtour
----------------------------------------------------*/
#virtualtour {
  max-width: 960px;
  margin: 50px auto;
}
.vrbox {
  width: 100%;
}
.vrbox iframe {
  height: 600px;
}
#virtualtour .vrbox {
  width: 100%;
}
/*スマホ表示*/
@media screen and (max-width: 767px) {
  .vrbox iframe {
    padding-left: 10px;
    padding-right: 10px;
    height: 400px;
  }
}
/*--------------------------------------------------
 #details
----------------------------------------------------*/

#details{
	background-image: url(../img/lamp2.svg), url(../img/lamp1.svg),url(../img/lamp2.svg);
	background-position: 90% 0, 10% 50%,70% 80%;
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: 15%, 15%, 20%;
}

#details div {
  max-width: 960px;
  margin: 50px auto 0;
}
#details table {
  box-sizing: border-box;
  border-collapse: collapse;
  width: 100%;
}
#details table th, #details table td {
  border-block-end: 1px solid #DDDAD1;
  padding-inline-start: 8px;
  vertical-align: middle;
  font-style: normal;
  height: 2.8em;
  text-align: justify;
}
#details table th {
  width: 15%;
  font-weight: normal;
}
/*スマホ表示*/
@media (max-width: 767px) {
  #details{
	background-position: 90% 0, 10% 50%,70% 80%;
	background-size: 30%, 30%, 40%;
  }	

  #details div {
    padding-left: 10px;
    padding-right: 10px;
  }
  #details table {
    width: 100%;
  }
  #details table th, #details table td {
    display: block;
    width: 100%;
    height: auto;
    border-block-end: 0px;
    padding: 3px 10px;
  }
  #details table th {
    background-color:rgba(200,231,238,0.59);
  }
}
/*--------------------------------------------------
 #gmap
----------------------------------------------------*/
#gmap {
  text-align: center;
  margin: 5vw auto;
}
#gmap iframe {
  max-width: 960px;
}
/*スマホ表示*/
@media (max-width: 639px) {
  #gmap iframe {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/*--------------------------------------------------
 #form
----------------------------------------------------*/
#form {
  text-align: center;
  margin: 5vw auto;
}

#form img {
	max-width: 400px;
}
/*スマホ表示*/
@media (max-width: 639px) {
	#form img {
	  margin: 5vw auto;
	}
}
/* ---------------------------
.toform
------------------------------ */
#toform {
  height: 90px;
  width: 90px;
  position: fixed;
  bottom: 3%;
  right: 1.5%;
  z-index: 11;
  line-height: 90px;
  background: #00334E;
  border-radius: 50%;
  transition: all 0.3s;
  opacity: 0;
}
#toform:hover {
  transform: scale(1.2);
  background: #EE6F57;
}
#toform a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  position: absolute;
  top: 22%;
  left: 22%;
}
#toform span {
  align-self: center;
  color: #FFFFFF;
  font-size: 50px;
}
.bl_backToTop {
  z-index: 98;
}
#toform.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#toform.DownMove {
  animation: DownAnime 1s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(200px);
  }
}
/*スマホ表示*/
@media screen and (max-width:639px) {
  #toform {
    height: 70px;
    width: 70px;
  }
  #toform span {
    font-size: 40px;
  }
}