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

/*全体*/

html{
	scroll-behavior: smooth;
}

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

section{
	margin-bottom: 5rem;
}

p{
	line-height: 1.7;
}


h2{
	color: #fff;
	background: #5f0b75;
	font-size: 1.7rem;
	text-align: center;
	padding: 0px 10px;
	margin-bottom: 2rem;
	font-family: "Zen Antique", serif;
	font-weight: 600;
	display: flex;
    align-items: center;
	position: relative;
	border: 1px solid #5f0b75;
}

h2 span{
	border-right:10px solid #fff;
	border-left:10px solid #fff;
	width: 100%;
	padding: 10px 0;
}

h2:before{
	content: "";
	position: absolute;
	height: 100%;
	width: 8px;
	background: #fff;
	left: 11px;
	margin: 0 14px;
}

h2:after{
	content: "";
	position: absolute;
	right: 11px;
	height: 100%;
	width: 8px;
	background: #fff;
	margin: 0 14px;
}

h3:not(.h3-pol):not(.h3-pon){
	color: #fff;
	background: #CC5677;
	padding: 5px 0;
	font-size: 1.5rem;
	text-align: center;
	font-family: "Zen Antique", serif;
	font-weight: 600;
	margin-bottom: 2rem;
}

h3 span{
	border-bottom: 3px solid #B3375A;
	border-top: 3px solid #B3375A;
	display: block;
}

h4{
	display: inline-block;
	color: #fff;
	background: #5f0b75;
	padding: 5px 50px;
	font-weight: 600;
	margin-bottom: 10px;
	border-radius: 3px;
	font-family: "Zen Antique", serif;
}

img{
	max-width: 100%;
	width: auto;
}


/*ヘッダー=============================================*/
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;
}

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


/*当店についての文章============================*/
.about-p{
	margin-bottom: 2rem;
	margin-top: 1rem;
	background: #ECE9FB;
	padding: 12px;
	border: 2px solid #5f0b75;
}

.about-p strong{
	color: #5f0b75;
	font-size: 1.1rem;
}

.about-p strong:first-child{
	border-bottom: 2px solid #5f0b75;
	font-family: "Zen Antique", serif;
	font-size: 1.2rem;
}

/*=======================================
「当店のポリエステル生地」
=========================================*/
.kiji-ul{
	gap:10px;
	margin-bottom: 3rem;
}

.kiji-ul li:first-child{
	width: 49%;
	border: 2px solid #5f0b75;
}

.kiji-ul li:last-child{
	width: 49%;
	border: 2px solid #B3375A;
}

.h3-pol{
	margin-bottom: 0;
	background: #ECE9FB;
	color: #5f0b75;	
	padding: 5px 0;
	font-size: 1.5rem;
	text-align: center;
	font-weight: 600;
	font-family: "Zen Antique", serif;
}

.h3-pon{
	margin-bottom: 0;
	background: #FAEFF2;
	color: #B3375A;	
	padding: 5px 0;
	font-size: 1.5rem;
	text-align: center;
	font-weight: 600;
	font-family: "Zen Antique", serif;
}

.kiji-ul h3 span{
	border-top:none;
	border-bottom: 4px solid #fff;
}

.kiji-ul li p{
	padding: 10px;
	border-top: 1px solid #5f0b75;
}

/* 生地の厚さとか */

.kiji-content div{
	width: 49%;
	display: flex;
	flex-direction: column;
	gap:12px;
	align-items: center;
	margin-bottom: 3rem;
}

.kiji-content h4{
	width: 100%;
	padding: 10px 5px;
	text-align: center;
	font-family: "Zen Antique", serif;
}

.h4-pol{
	background: #ECE9FB;
	color: #5f0b75;
	border: 2px solid #5f0b75;
	font-size: 1.1rem;
}

.h4-pon{
	background: #FAEFF2;
	color: #B3375A;
	border: 2px solid #B3375A;
	font-size: 1.1rem;
}

.kiji-content dl{
	display: flex;
	justify-content: space-between;
	gap:12px;
}

.kiji-content dt{
	text-align: center;
}

.kiji-content dt img{
	border: 1px solid #000;
}

.kiji-content dt, .kiji-content dd{
	width: 49%;
}

/* youtube */
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
 padding: 0 20px;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}


/*=========================================
取扱商品 .products
====================================*/

/*のぼり旗================================*/
/*h4下ブロック全体*/
.size-block{
	position: relative;
	margin-bottom: 2.5rem;
}

/*女性と文章の部分*/
.w-ul{
	display: flex;
	justify-content: center;
	align-items: stretch;
	border: 6px double #5f0b75;
	width: 70%;
	margin: 0 auto;
	position: absolute;
	top:20px;
	left: 0;
}

.w-ul li:first-child{
	width: 27%;
	border-right: 2px solid #5f0b75;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.w-ul img{
	flex-grow: 1;
}

.w-ul li:last-child{
	width:72%;
	padding: 12px;
	display: flex;
	align-items: center;
	
}

/*のぼり旗のサイズ画像*/
.size-dl{
	align-items: flex-end;
}

.size-dl img{
	width: 90%;
}

.size-dl dt{
	text-align: center;
	margin-bottom: 15px;
}

.size-dl dd{
	text-align: center;
	width: 95%;
	padding: 5px;
	margin: 0 auto;
	font-weight: bold;
}

.dd-pon{
	background: #FAEFF2;
    color: #B3375A;
    border: 1px solid #B3375A;
}

.dd-pol{
	background: #ECE9FB;
    color: #5f0b75;
    border: 1px solid #5f0b75;
}

/*詳しくはこちらボタン*/

.products-nobori .btn-contact a:after{
	content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #B3375A;
    margin-left: 20px;
}

/*神社幕=================================*/

.jinjamaku-block{
	gap:10px;
	align-items: center;
}

.w-ul-2{
	display: flex;
	border: 6px double #5f0b75;
	width: 63%;
}

.w-ul-2 li:first-child{
	width: 18%;
	border-right: 2px solid #5f0b75;
	display: flex;
}

.w-ul-2 li:last-child{
	width: 82%;
	padding: 12px;
	display: flex;
	align-items: center;
	/*background: #ECE9FB;*/
}

.w-ul-2 img{
	flex-grow: 1;
}

.jinjamaku-img{
	width: 35%
}

/*紅白幕=====================*/
.products-kohaku > div{
	gap:10%;
}

.kohaku-btn{
	height: 270px;
	width: 270px;
	background: #FAEFF2;
	border:3px solid #B3375A;
	border-radius: 50%;
	padding: 5px;
	filter: drop-shadow(2px 2px 2px #b2b2b2);
	transition: .1s;
}

.kohaku-btn a{
	color: #B3375A;
	font-size: 1.2rem;
	border: 1px solid #b3375a;
	border-radius:50%;
	display:flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin: 0 auto;
	font-family: "Zen Antique", serif;
	font-weight: 600;
	
}

.kohaku-btn a:after{
	content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #B3375A;
  margin-left: 6px;
}

.kohaku-btn2{
	height: 270px;
	width: 270px;
	background: #ECE9FB;
	border: 3px solid #5f0b75;
	padding: 5px;
	filter: drop-shadow(2px 2px 2px #b2b2b2);
	transition: .1s;
}


.kohaku-btn2 a{
	color: #5f0b75;
	font-size: 1.2rem;
	border: 1px solid #5f0b75;
	display:flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin: 0 auto;
	font-family: "Zen Antique", serif;
	font-weight: 600;
	padding: 10px;
	position: relative;
	text-align: center;
}

.kohaku-btn2 a:after{
	content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #5f0b75;
  margin-left: 6px;
	position: absolute;
	bottom: 20%;
}

.kohaku-btn:hover, .kohaku-btn2:hover{
	filter: unset;
	transform: translateY(2px);
}


/*立て看板=========================*/
.products-tatekan .flex-between{
	gap:15px;
}

/*立て看板の画像*/
.products-tatekan .flex-between div{
	width: 16%;
	display:flex;
	align-items: center;
}

/*説明文部分*/
.products-tatekan ul{
	width: 80%;
	border: 2px solid #5f0b75;
	padding: 10px;
	display: flex;
	flex-direction: column;
}

.products-tatekan li:first-child{
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #5f0b75;
	border-top: 2px solid #5f0b75;
	border-bottom: 2px solid #5f0b75;
	padding: 3px;
	font-family: "Zen Antique", serif;
}

.products-tatekan li:last-child{
	padding: 10px;
	background: #ECE9FB;
	flex-grow: 1;
}

/*==============================================
「当店のメリット」 .merit
================================================*/
.merit-inner{
	gap:15px;
}


.merit-img{
	width: 18%;
	display: flex;
	align-items: center;
}

.merit-p{
	width: 81%;
	border: 2px solid #5f0b75;
	padding: 8px;
	margin: 10px 0;
}

.merit-p p{
	background: #ECE9FB;
	height: 100%;
	padding: 10px;
}

.merit-inner strong{
	color: #5f0b75;
	font-size: 1.1rem;
}

/*デメリット===============*/
.demerit li{
	text-indent: -1em;
	padding-left: 1em;
}


/*===============================================
当社フォントについて #font
=================================================*/
#font p{
	margin-bottom: 1em;
}

#font ul{
	gap:12px;
}

#font li{
	border: 1px solid #ccc;
}

#font figure{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:10px;
}

#font figure img{
	padding: 10px 5px;
}

#font figcaption{
	text-align: center;
	font-size: 1.3rem;
	line-height: 1.1;
	padding: 10px 5px;
	background: #5f0b75;
	color: #fff;
	font-weight: 600;
	width: 100%;
}

#font figcaption span{
	font-size: 0.9rem;
	background: #fff;
	color: #5f0b75;
	padding: 0px 3px;
}

/*=============================================
「よく作成される旗サイズ」 .popularsize
=============================================*/
.popularsize-block{
	display: flex;
	border: 6px double #5f0b75;
	width: 80%;
	margin: 0 auto 1.5rem;
}

.popularsize-img{
	border-right: 2px solid #5f0b75;
	display: flex;
}

.popularsize ul{
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	padding: 12px;
	background: #ECE9FB;
	flex-grow: 1;
}

.popularsize li{
	font-size: 1.2rem;
	margin: 0 auto;
}

/*.popularsize p{
	background: #F8E5FF;
	padding: 12px;
}*/

/*=================================================
「旗色の例」#color
==================================================*/
.color-dl-block{
	gap:10px;
	margin-bottom: 1rem;
}

#color dl{
	text-align: center;
}

#color dt{
	margin-bottom: 12px;
}

#color dl dd{
	font-size: 1.2rem;
	line-height: 1.1;
}

#color dl dd:last-child{
	font-size: 0.9rem;
}

#color p{
	font-size: 1.2rem;
	text-align: center;
	font-weight: 600;
}

/*===========================================
「家紋一覧」.kamon
==============================================*/
.kamon > div{
	display: flex;
	align-items: center;
	gap:3%;
}

.kamon ul{
	gap:7px;
}

/* icomoon */
.icon-shift{
	color: #fff;
	font-size: 50px;
	background: #5f0b75;
	border-radius: 50%;
	padding: 7px;
	border: 8px double #fff;
}

.kamon-a-wrap{
	border: 3px solid #B3375A;
	background: #FAEFF2;
	padding: 5px;
	text-align: center;
	width: 35%;
	filter: drop-shadow(2px 2px 2px #b2b2b2);
	transition: .1s;
}

.kamon-a-wrap br{
	display: none;
}

.kamon a{
	font-size: 1.2rem;
	text-align: center;
	font-weight: 700;
	padding: 20px 5px;
	color: #B3375A;
	border: 1px solid #B3375A;
	height: 100%;
	display: block;
	font-family: "Zen Antique", serif;
	position: relative;
}

.kamon a :after{
	content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #B3375A;
  position: absolute;
	top: 40%;
	margin-left: 6px;
}

.kamon-a-wrap:hover{
	filter: unset;
	transform: translateY(2px);
}


/*=========================================
「デザイン例」
============================================*/
#design ul{
	flex-wrap: wrap;
	gap:20px 10px;
	margin-bottom: 3rem;
}

#design li{
	width: 15%;
}

#design figcaption{
	font-size: 1.3rem;
	font-weight: 600;
}

/*お問い合わせはこちらから*/

.btn-contact{
	border: 3px solid #B3375A;
	background: #FAEFF2;
	padding: 5px;
	width: 90%;
	margin: 0 auto;
	text-align: center;
	filter: drop-shadow(2px 2px 2px #b2b2b2);
	transition: .1s;
}

.btn-contact a{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: #B3375A;
	border: 1px solid #B3375A;
	padding: 12px 5px;
	height: 100%;
	font-family: "Zen Antique", serif;
	font-weight: 700;
}

.btn-contact:hover{
	filter: unset;
	transform: translateY(2px);
}


/*ウェブアイコン：メール*/
.icon-mail4{
	margin-left: 15px;
	font-size: 2.2rem;
}


@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: 768px){
	/*========================================
	取り扱い商品
	====================================*/
	/*のぼり旗======================*/
	
	.size-block{
		position: static;
	}
	
	/*女性と文字の部分*/
	.w-ul{
		position: static;
		width: 95%;
		margin-bottom: 1.5rem;
	}
	
	.w-ul li:first-child{
		width: 20%;
	}
	
	.w-ul li:last-child{
		width: 79%;
	}
	
	.size-dl{
		flex-direction: column;
		align-items: center;
		gap:30px;
	}
	
	.size-dl dd{
		width: 70%;
	}
	
	/*神社幕*/
	.w-ul-2 li:first-child{
	    width: 27%;
	    border-right: 1px solid #5f0b75;
	    display: flex;
    }

   .w-ul-2 li:last-child{
	    width: 72%;
	    padding: 12px;
	    display: flex;
	    align-items: center;
	   flex-grow: 1;
    }
	
	/*立て看板*/
	
	.products-tatekan .flex-between{
			gap:10px;
		}
	
	.products-tatekan .flex-between div{
		width: 18%;
	}
	
	/*=======================================
	「よく作成される旗サイズ」
	========================================*/
	.popularsize-block{
		width: 100%;
	}
	
	
	/*==========================================
	「当社フォントについて」
	============================================*/
	#font ul{
		flex-wrap: wrap;
		gap:25px 10px;
	}
	
	#font ul:after{
		content: "";
		display: block;
		height: 0;
		width: 48%;
	}
	
	#font li{
		width: 23%;
	}
	
	/*===========================================
「家紋一覧」.kamon
==============================================*/
.kamon > div{
	display: flex;
	align-items: center;
	gap:2%;
}

.kamon ul{
	gap:3px;
	flex-wrap: wrap;
	justify-content: center;
	width: 30%;
}

	.kamon li{
		text-align: center;
		width: 48%;
	}
	
	.kamon li:last-child{
		margin-top: -10px;
	}
	
	.kamon-a-wrap{
		flex-grow: 1;
	}
	
	/*============================================
	「デザイン例」
	======================================*/
	
	#design ul li{
		width: 23%;
	}
	
}

@media screen and (max-width: 619px){
	
	h2{
	    font-size: 1.5rem;
	}
	
	/*======================================
	取り扱い商品
	===========================================*/
	.w-ul{
		width: 100%;
	}
	
	.w-ul li:first-child{
		width: 27%;
	}
	
	.w-ul li:last-child{
		width:72%;
	}
	
	/*神社幕*/
	.jinjamaku-block{
		flex-direction: column;
		align-items: center;
		gap:25px;
	}
	
	.w-ul-2{
	width: 100%;
}

	.jinjamaku-img{
		width: 95%;
		text-align: center;
	}
	
	
	/* 紅白幕 */
	.kohaku-btn, .kohaku-btn2{
		height: 180px;
		width: 180px;
	}
	
	.kohaku-btn a, .kohaku-btn2 a{
		font-size: 1rem;
	}
	
	.kohaku-btn2 a{
		line-height: 1.2;
	}
	
	.kohaku-btn2 a:after{
		bottom: 14%;
	}
	
	
	/*=======================================
	「旗色の例」
	====================================*/
	.color-dl-block{
		flex-wrap: wrap;
	}
	
	#color dl{
		width: 22%;
	}
	

/*購入はこちらからボタン====================*/
.buy a{
	font-size: 1.5rem;
}
}
	@media screen and (max-width: 555px){
		
	/*=========================================
	「当社のポリエステル生地」
	========================================*/
		.kiji-ul{
			flex-direction: column;
			gap:12px;
		}
		
		.kiji-ul li:first-child{
			width: 100%;
		}
		
		.kiji-ul li:last-child{
			width: 100%;
		}
		
		.kiji-content{
			flex-direction: column;
		}
		
		.kiji-content div{
			width: 100%;
		}
		
		.kiji-content dl{
			margin: 0 10px;
		}
		
		.youtube {
            width: 100%;
            aspect-ratio: 16 / 9;
            padding: 0px;
        }
		
		/*=====================================
		取扱商品
		===========================================*/
		/*立て看板===========*/
		
		.products-tatekan .flex-between{
			gap:25px;
			flex-direction: column;
			align-items: center;
		}
		
		/*立て看板の画像*/
		.products-tatekan .flex-between div{
			width: 100%;
			justify-content: center;
		}
		
		
		.products-tatekan ul{
			width: 100%;
		}
		
		/*=======================================
		当店のメリット
		==========================================*/
		.merit-inner{
			flex-direction: column;
		}
		
		.merit-img{
			width: 100%;
			justify-content: center;
		}
		
		.merit-p{
			width: 100%;
		}
		
		/*==========================================
	「当社フォントについて」
	============================================*/
	#font ul{
		flex-wrap: wrap;
		gap:25px 10px;
	}
	
	#font ul:after{
		content: "";
		display: block;
		height: 0;
		width: 48%;
	}
	
	#font li{
		width: 31%;
	}
		
	/*=======================================
	「よく作成される旗サイズ」
	========================================*/
		
		.popularsize-img{
			width: 25%;
		}
		
		.popularsize ul{
			padding: 10px;
		}
		
		.popularsize li{
			font-size: 1.1rem;
		}
		
		/*=========================================
		「家紋一覧」
		==========================================*/
		
		.icon-shift{
			font-size: 30px;
		}
		
		.kamon-a-wrap a{
			line-height: 1.1;
		}
		
		.kamon-a-wrap br{
			display: block;
		}
		
		/*============================================
	「デザイン例」
	======================================*/
	
	#design ul li{
		width: 30%;
	}
		
		/*「お問い合わせはこちらから」*/
		
		.btn-contact{
			width: 100%;
		}
		
	}

@media screen and (max-width: 480px){
	
	/*======================================
	取り扱い商品
	===========================================*/
	.w-ul{
		width: 100%;
		display: block;
	}
	
	.w-ul li:first-child{
		display: none;
	}
	
	.w-ul li:last-child{
		width:100%;
	}
	
	
	.size-dl dd{
		width: 98%;
	}
	
	
	/* 紅白幕 */
	.products-kohaku > div{
	gap:4%;
   }
	
	.kohaku-btn2 a:after{
		bottom: 12%;
	}
	

}