@charset "UTF-8";

/*＝＝メイン*/
/*H１アアニメーション　画像ソース・色など以外は commonCSSに*/
#secTop {
	background: url(../img/main/secMain_reitaisai.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}

#secTop > .topTitle h1{
	color: #fff;
	font-size: 4vw;
	font-weight: 100;
}

#secTop > #startborder h1{
/*	background-color: rgba(255,255,255,0.7);*/
}

.change-border01::after,
.change-border01::before,
.change-border01__inner::after,
.change-border01__inner::before {
	background-color: #fff;
}

.container {
	padding-top: 6vw;
}

h2 {
	text-align: center;
	margin-bottom: 2vw;
 }

/* 22px @ 390px increasing to 40px @ 1080px */
h2 {
  font-size: min(max(22px, calc(1.375rem + ((1vw - 3.9px) * 2.6087))), 40px);
  /* Note: The calc base value (1.375rem) MUST be stated in REM to maintain accessibility */
  /* Where: 2.6087 = 100 * font-size_difference / viewport_width_difference */

  /* Safari resize fix */
  min-height: 0vw;
  /*border-bottom: 1px solid #808080;
  padding: 10px 16px;
  min-width: 240px;
  max-width: 95vw;
  text-align: center;
  margin: 0px auto 4vw;*/
}



h3 {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1vw;
	color: #e60012;
}

/* 18px @ 390px increasing to 20px @ 1080px */
h3 {
  font-size: min(max(18px, calc(1.125rem + ((1vw - 3.9px) * 0.2899))), 20px);
  min-height: 0vw;
}


/*＝＝＝＝＝＝＝＝＝＝＝＝ここからスタート*/


.leadTxt{
	text-align: left;
    margin-bottom: 40px;
}

.itemBox{
	width: 80%;
    margin: 0px auto 30px;
    padding: 20px;
    background-color: rgba(240,240,240,0.5);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    transition: 1s;
}

.rootTxtLink{
	padding: 20px 0 0;
}

.inner{
	padding: 0 2.5vw 6vw;
}

.shintoRitual_title{
	text-align: center;
}

.shintoRitual{
	display: flex;
    justify-content: space-between;
}

.shintoRitual dl{
    box-sizing: border-box;
    padding: 10px;
    width: calc(100% / 5);
}

.shintoRitual dt{
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 8px;
    height: 40px;
    max-height: 40px;
}

.shintoRitual img{
    width: 100%;
}

.shintoRitual_txt{
	padding-bottom: 10px;
    display: block;
    height: 150px;
    max-height: 150px;
}

/*
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　　　スマホ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/


@media handheld, only screen and (max-width: 767px) {
	#secTop {
		background: url(../img/main/secMain_reitaisai_sp.jpg) no-repeat;
		background-size: cover;
		background-position: center;
	}

	.topCau {
		padding: 1vw 1vw;
		text-align: left;
	}

	.shintoRitual{
		flex-wrap: wrap;
	}

	.shintoRitual dl {
		margin: 0 auto 30px ;
	    text-align: center;
	    width: auto;
	}

	.shintoRitual img{
	    width: auto;
	}

	.shintoRitual dt{
	    height: auto;
	    max-height: auto;
	}

	.shintoRitual_txt{
	    height: auto;
	    max-height: auto;
	}

/*＝＝＝＝＝写真ひだり　SP*/







}


@media handheld, only screen and (max-width: 480px) {


}
