@charset "utf-8";
/* CSS Document */

/*全体*/

html{
	scroll-behavior: smooth;
}

main{
	max-width: 1000px;
	padding-top: 0;
	line-height: 1.7;
}

section{
	margin-bottom: 4rem;
}

p{
	line-height: 1.7;
}

/*ヘッダー=============================================*/
header{
	max-width: 1000px;
	margin: 0 auto;
}

nav ul{
	display: flex;
	flex-grow: 1;
	color: #fff;
	background: #C43F65;
	justify-content: space-between;
	width: 100%;
}

nav li{
	display: flex;
	text-align: center;
	width: calc((100% - 5px)/6);
	justify-content: center;
	font-family: "Zen Antique", serif;
	font-weight: 600;
}

nav li + li{
	border-left : 1px solid #fff;
}

nav a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 12px 3px;
}

nav a:hover{
	background: #C42754;
	opacity: 1;
}


/*================================================
main
=================================================*/
/* メイン画像 */
.jinja-main-img{
	margin-bottom: 1rem;
}


.about-p1{
	margin: 1.5rem 0;
	border-top: 3px solid #5f0b75;
	border-bottom: 3px solid #5f0b75;
	padding: 12px; 
}

h2{
	position: relative;
  padding: 10px 0px 10px 50px;
  background: #5f0b75;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-left: -12px;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  z-index:-1;
}

h2:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 50px white;
  border-bottom: solid 90px transparent;
  z-index:-2
}

h2 span{
	border-bottom: 2px dashed #fff;
	display: block;
	padding-right: 5px;
}

dt{
	background-image: linear-gradient(#CC5677 50%, #5f0b75 50%);
  background-size: 8px 100%;
  background-repeat: no-repeat;
  padding-left: 18px;
 border-bottom: 1px solid #5f0b75;
	margin-bottom: 10px;
}

dd{
	margin-bottom: 1rem;
	padding-left: 1em;
}

.jinja-yoto p:first-child{
	margin-bottom: 1.5rem;
	background: #ECE9FB;
	border-bottom: 2px solid #5f0b75;
	padding: 7px 5px;
}

.jinja-yoto-dl-block{
	margin-bottom: 3rem;
}

.jinja-yoto p:last-child{
	border-top: 3px solid #5f0b75;
	border-bottom: 3px solid #5f0b75;
	padding: 12px;
}

/* 戻るボタン */
.modoru a{
	padding: 1rem 3rem;
}

@media screen and (max-width: 814px){
	nav ul{
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}
	
	nav li{
	width: calc(100%/3);
	align-items: center;
}
	nav li:nth-child(1), nav li:nth-child(2),nav li:nth-child(3){
		border-bottom: 1px solid #fff;
	}
	
	nav li:nth-child(4){
		border-left: 0;
	}
	
	nav a{
	height: 3.5rem;
}
	

}




@media screen and (max-width: 525px){
	h2{
		font-size: 1.1rem;
	}
}

@media screen and (max-width: 440px){
	h2{
		font-size: 16px;
		line-height: 1.7;
	}
	
}