@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{
	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;
}

.flex{
	display: flex;
	gap:15px;
}


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

.h1-wrapper{
	background: #5f0b75;
	padding: 25px 5px 30px;
	position: relative;
}

h1{
	font-size: 2.8rem;
	color: #fff;
	background: #5f0b75;
	text-align: center;
	font-family: "Zen Antique", serif;
	font-weight: 600;
	line-height: 1;
}

h1 span{
	font-size: 1.3rem;
}

.flower-1{
	position: absolute;
	bottom: 0px;
	right: 0;
	width: 150px;
}

.flower-2{
	position: absolute;
	transform: rotate(180deg);
	top: 0;
	left: 0;
	width: 110px;
}
/*
h1:before{
	content: "";
	display: block;
	height: 3px;
	width: 100%;
	left:0;
	background: #fff;
	position: absolute;
	bottom:8px;
}

h1:after{
	content: "";
	display: block;
	height: 3px;
	width: 100%;
	left:0;
	background: #fff;
	position: absolute;
	bottom:16px;
}
*/
nav{
	margin-bottom: 40px;
}

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-jinjamaku p{
	margin-bottom: 40px;
}

.about-jinjamaku .btn-contact a:after{
	content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #B3375A;
    top: 43%;
    margin-left: 6px;
}

/* 詳しくはこちら部分 */
details{
	transition: height 0.4s ease;
	margin-bottom: 20px;
}

summary{
	color: #B3375A;
	font-family: "Zen Antique", serif;
	font-weight: 700;
	font-size: 1.2rem;
	border: 3px solid #B3375A;
    background: #FAEFF2;
    padding: 10px 5px;
    text-align: center;
    filter: drop-shadow(2px 2px 2px #b2b2b2);
    transition: .1s;
	margin: 0 auto;
	cursor: pointer;
}


.details-wrap{
	padding: 20px 15px;
	border-width: 0 2px 2px;
	border-color: #B3375A;
	border-style: dotted ;
}

.details-wrap div{
	margin-bottom: 40px;
}

details h3{
	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.5;
  z-index:-1;
	text-align: left;
}

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

details h3 span{
	border-bottom: 2px dashed #fff;
	display: block;
	padding-right: 5px;
	border-top: 0;
}

details h4{
	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: 5px;
	margin-left: 1rem;
	background-color: initial;
	color: initial;
	display: block;
	border-radius: 0;
}

details p{
	margin-left: 1.1rem;
	margin-bottom: 20px!important;
}



/*=========================================
「横幕の生地について」
====================================*/

.kiji figcaption{
	padding: 0 0.5em;
	margin-top: 10px;
}

.kiji h3{
	background: none;
	text-align: left;
	padding: 4px 3px 4px 10px;
	color: initial;
	border-left: 8px solid #B3375A;
	margin-bottom: 15px;
}

.kiji p{
	margin-bottom: 20px;
}

.kiji .flex-between{
	gap: 15px;
}


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

.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;
}


/*==============================================
「横幕参考サイズ」 .size
================================================*/
.size-block {
	margin-bottom: 30px;
	text-align: center;
	gap: 15px;
}

.size-block img{
	margin-bottom: 15px;
	width: 45%;
}

.size-block p{
	width: 48%;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: left;
}

.size table{
	border: 1px solid #000;
	width: 100%;
}

.size th, .size td{
	border: 1px solid #000;
	text-align: center;
}

/*「サイズ例」 */
.size-samples-block{
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 40px;
}

.size-samples-block h4{
	font-weight: bold;
	font-size: 1.1rem;
	margin-bottom: 10px;
	border-left: 9px solid #5f0b75;
	border-bottom: 1px solid #5f0b75;
	display: block;
	background: initial;
	border-radius: 0;
	color: initial;
	font-family: "ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ","Meiryo",sans-serif;
	padding: 2px 3px 2px 7px;
}

.size-samples-block p{
	margin-bottom: 15px;
}

.size-samples-block img{
	width: 85%;
}

/* 「参考単価」 */
.sanko-price{
	
}

.sanko-price table{
	border: 2px solid #851c6c;
}

.sanko-price th, .sanko-price td{
	border: 1px solid #851c6c;
	width: 25%;
	word-break: keep-all;
	overflow-wrap:break-word;
	vertical-align: middle;
	line-height: 1.3;
	padding: 5px 0;
}

.sanko-price th{
	background: #851c6c;
	color: #fff;
	border: 1px solid #fff;
}



/*===============================================
「デザイン例」 
=================================================*/
.samples .flex-center{
	gap:15px;
	align-items: center;
	margin-bottom: 30px;
}

.fukidashi{
	position: relative;
    display: inline-block;
    margin-left: 16px;
    padding: 16px;
    border-radius: 12px;
    background-color: #fff;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #000000;
	border: 2px solid #B3375A;
	font-weight: bold;
}

.fukidashi::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #B3375A transparent transparent;
  translate: -100% -50%;
  transform: skew(0, -25deg);
  transform-origin: right;
}

.fukidashi::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 0 15.2px 15.2px 0;
  border-color: transparent #fff transparent transparent;
  translate: -100% calc(-50% - 0.4px);
  transform: skew(0, -25deg);
  transform-origin: right;
}

.samples li{
	width: 32%;
	background: #ECE9FB;
	color: #5f0b75;
	font-weight: bold;
	text-align: center;
	font-family: "Zen Antique", serif;
	border-radius: 10px;
	padding: 4px;
	filter: drop-shadow(2px 2px 2px #b2b2b2);
	transition: .1s;
	border: 2px solid #5f0b75;
}

.samples li a{
	display: block;
	font-size: 1.1rem;
	padding: 15px 5px 25px;
	border: 1px solid #5f0b75;
	position: relative;
	border-radius: 10px;
	
}

.samples li a:after{
	content: '';
    width: 0;
    height: 0;
    border-style: solid;
  border-color: transparent;
  border-width: 0.64952em 0.375em;
  border-top-color: currentColor;
  border-bottom: 0;
    position: absolute;
    bottom: 10px;
    left: 49%;
	display: block;
}

.samples li:hover{
	filter: unset;
	transform: translateY(2px);
}

.samples li a:hover{
	opacity: 1;
}

/*=============================================
「デザイン例（神社幕・神前幕）」 
=============================================*/
.samples-jinjamaku h3{
	background: #fff;
	color: #000;
	text-align: left;
	font-size: 1rem;
	margin-bottom: 15px;
}

.sample-block{
	gap: 30px 15px;
	flex-wrap: wrap;
}

.sample-block div{
	width: 48%;
}
/*=================================================
「デザイン例（玄関幕・門幕）1」.samples-genkan1
==================================================*/
.samples-genkan1 h3{
	background: #fff;
	color: #000;
	text-align: left;
	font-size: 1rem;
	margin-bottom: 15px;
}

/*===========================================
「デザイン例（玄関幕・門幕）2」.samples-genkan2
==============================================*/
.samples-genkan2 h3{
	background: #fff;
	color: #000;
	text-align: left;
	font-size: 1rem;
	margin-bottom: 15px;
}

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


/*=========================================
「家紋一覧」
============================================*/
.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);
}

/*=========================================
「幕房・幕紐」
============================================*/
.fusa-himo-p{
	margin-bottom: 20px;
}

.fusa-himo h4{
	margin-bottom: 25px;
	font-size: 1.2rem;
	background: none;
	color: initial;
	border-left: 7px solid #5f0b75;
	padding-left: 10px;
	border-radius: 0;
}

.fusa-color-block{
	margin-bottom: 40px;
}

.fusa-color-block .flex-around{
	gap:20px;
}

.fusa-color-block .flex-center{
	gap:10px;
}

/* 「サイズ」 */

.fusa-size-flex{
	gap: 15px;
	margin: 40px 0;
	align-items: center;
}

.fusa-table-wrapper{
	width: 60%;
}

.fusa-size-flex table{
	border: 2px solid #851c6c;
	width: 100%;
}

caption{
	font-weight: bold;
}

.fusa-size-flex th, .fusa-size-flex td{
	border: 1px solid #851c6c;
	text-align: center;
	padding: 3px;
}

.fusa-size-flex th{
	color: #fff;
	background: #851c6c;
}

.fusa-size-img{
	text-align: center;
}

/* 幕紐 */
.himo-block{
	margin-bottom: 40px;
	gap:15px;
}

.himo-p{
	margin-bottom: 15px;
}

.himo-block figcaption{
	text-align: center;
	font-weight: bold;
}

/*=========================================
「紅白幕・くじら幕・五色幕」
============================================*/

.maku-others .flex-around{
	flex-wrap: wrap;
	gap:30px 15px;
	margin-bottom: 20px;
}

.maku-others .flex-around li{
	width: 48%;
}

.maku-others p{
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 40px;
}


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

.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){
	/*========================================
	取り扱い商品
	====================================*/
	
	
	/*=======================================
	「よく作成される旗サイズ」
	========================================*/
	
	
	/*==========================================
	「当社フォントについて」
	============================================*/
	
	
	/*===========================================
「家紋一覧」.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){
	h1{
		font-size: 2rem;
	}
	
	h1 span{
		font-size: 1rem;
	}
	
	h2{
	    font-size: 1.3rem;
	}
	
	/*======================================
	取り扱い商品
	===========================================*/
	
	
	/*=======================================
	「旗色の例」
	====================================*/
	
	

/*購入はこちらからボタン====================*/
.buy a{
	font-size: 1.5rem;
}
}
	@media screen and (max-width: 555px){
		
	/*=========================================
	「横幕の生地について」.kiji
	========================================*/
		.kiji .flex-between{
			flex-direction: column;
			text-align: center;
			gap: 20px;
		}
		
		.kiji figure{
			width: 100%;
		}
		
	/*==========================================
		「横幕参考サイズ」
		=========================================*/
		/*「サイズ例」 */

        .size-samples-block img{
	         width: 100%;
	     }
		
		
    /*=====================================
		「デザイン例」 .samples
	===========================================*/
		.samples ul{
			flex-wrap: wrap;
			gap:15px;
		}
		
		.samples li{
			width: 48%;
		}
		
	/*=======================================
	「デザイン例（神社幕・神前幕）」.samples-jinjamaku
	==========================================*/
		.sample-block{
			flex-direction: column;
			align-items: center;
		}
		
		.sample-block div{
			width: 95%;
			text-align: center;
		}
		
		
		/*==========================================
	「幕房・幕紐」.fusa-himo
	============================================*/
		.fusa-color-block{
			flex-direction: column;
		}
		
		.fusa-size-flex{
			flex-direction: column;
			gap:20px;
		}
		
		/* 表 */
		.fusa-table-wrapper{
			width: 100%;
		}
		
	/*=======================================
	「紅白幕・くじら幕・・・」.others
	========================================*/
		
		.maku-others .flex-around{
			flex-direction: column;
			align-items: center;
		}
		
		.maku-others .flex-around li{
			width: 95%;
		}
		
		/*=========================================
		「家紋一覧」
		==========================================*/
		
		.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%;
	}
	

}