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

/*全体*/

html{
	scroll-behavior: smooth;
	background:#FFE362;
	background-image:
		url("img/Polygon4.png"),
		url("img/dotcircle-big.png"),
		url("img/dotcircle.png"),
		url("img/Polygon1.png"),
		url("img/Polygon2.png"),
		url("img/Polygon3.png"),
		url("img/Polygon4.png"),
	    url("img/dotcircle.png"),
		url("img/dotcircle-big.png"),
		url("img/Polygon2.png"),
		url("img/Polygon4.png"),
		url("img/dotcircle.png"),
		url("img/dotcircle-big.png"),
		url("img/Polygon3.png");
	background-repeat: no-repeat;
	background-position: 
		top 2%  right 20%,
		top 5%  left 15%,
		top 10% right 10%,
		top 20% left 16%,
		top 30% right 10%,
		top 35% left 18%,
		top 40% right 15%,
	    top 45% left 8%,
	    top 52% right 9%,
	    top 60% left 12%,
		top 68% right 9%,
		top 79% left 16%,
	    top 87% right 12%,
	    top 92% left 20%;
}

body{
	background-image: url("img/dot-long.png");
	background-repeat: repeat-x;
	background-position: bottom 3.4% left 0;
}

main{
	max-width: 100%;
	padding-top: 0;
	line-height: 1.7;
}

/*max-widthを1000pxにする*/
.mw-1000{
	max-width: 1000px;
	margin: 0 auto;
}

section{
	margin: 0 auto 5rem;
}

p{
	line-height: 1.7;
}


.wrap{
	margin: 0;
	padding: 0 0.5rem;
}


.topButton{
	background: #EF8244;
}

h2{
	
}


h2 br{
	display: none;
}

/*
h2 span{
	position: absolute;
	margin-top: -0.4%;
	font-size: 1.6rem;
	color: #fff;
	font-weight: bold;
	padding-left: 45px;
	height: 83px;
	display: flex;
	align-items: center;
}*/

/*
h2 span{
	position: absolute;
	font-size: 1.6rem;
	color: #fff;
	font-weight: bold;
	padding-left: 45px;
	display: flex;
	align-items: center;
	top: 18%;
}


h2 span:before{
	content: '';
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	position: absolute;
	vertical-align: middle;
	left: 15px;
	margin-right: 20px;
	margin-bottom: 3px;
}

.midashi{
	background-image: url("img/midashi.png");
	background-size: contain;
	background-repeat: no-repeat;
	height: 83px;
	position: relative;
}

.mida{
	background: #EF8244;
	color: #fff;
	font-size: 1.7rem;
	padding-left:20px;
	display: flex;
	gap:30px;
}

.mida:before{
	content: '';
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	vertical-align: middle;
	margin-right: 30px;
	margin-bottom: 3px;
	position: absolute;
}


.mida span{
	position: absolute;
	z-index: 1000;
}
*/
h2 {
  /* 外側の茶色の枠線 */
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  border: 1px solid #9b725f; 
  padding: 10px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;     /* 上にずらす分の余白 */
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1; /* 重なり順を正しく制御 */
}

h2::before {
  /* オレンジの背景部分 */
  content: "";
  position: absolute;
  top: -8px;    /* 上にずらす量 */
  left: -8px;   /* 左にずらす量 */
  width: 100%;
  height: 100%;
  background-color: #f28d53; /* オレンジ色 */
  z-index: -1;  /* 文字の背面に配置 */
}

.dot {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  margin-top: -17px;
}

.h2-text{
	margin-top: -15px;
	padding: 5px 0;
}



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

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


/*ヘッダー=============================================*/
header{
	width: 100%;
}

.garland{
	height: 110px;
	background-image: url("img/garland1.png");
	background-size: 20%;
	background-repeat: repeat-x;
}

/*ヒーロー画像エリア*/
.hero-area{
	text-align: center;
	background-position: center center;
	width: 100%;
	margin-top: -80px;
	margin-bottom: 30px;
	padding: 0 10px;
}


/*メニュー部分===============*/
nav{
	margin-bottom: 30px;
	max-width: 1000px;
	margin: 0 auto 30px;
}

nav ul{
	display: flex;
	flex-grow: 1;
	justify-content: center;
	margin: 0 10px;
	border-width: 1px 0 1px 0;
	border-style:  solid;
	border-color: #000;
}

nav li{
	display: flex;
	text-align: center;
	width: calc(100% /3);
	justify-content: center;
	font-family: "Goblin One", serif;
    font-weight: 400;
    font-style: normal;
	align-items: center;
	font-size: 1.4rem;
}


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

nav a:hover{
	background: #fff;
	color: #EF8244;
	transition: 0.3s;
	opacity: 1;
}


/*=======================================
main
======================================*/
main{
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 10px;
	
}

.main-wrapper{
	background: #fff;
	padding: 30px 25px;
	border-radius: 25px;
}

/*========================================
　　スライダー
========================================*/

.splide__slide{
	text-align: center;
}

/* 画像の下にページネーション分のスペースを作る */
.splide__track {
  padding-bottom: 35px; /* まずは 24〜40px で調整 */
}


/*=======================================
　　最初の文章
=========================================*/

.p-first-wrap{
	border-width: 2px 0 2px 0;
	border-style: solid;
	border-color: #C79479;
	max-width: 1000px;
	margin: 0 auto 50px;
}

.p-first {
	padding: 20px;
	width: 100%;
	max-width: 1000px;
	line-height: 1.8;	
}

.p-first strong{
	color: #7a5c3e;
	font-size: 1.2rem;
	font-family: "Noto Serif JP", serif;
}



/*=======================================
「デザイン例」
=========================================*/
.design-block{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 50px;
	gap:20px 12px;
}

.design-content{
	border: 2px solid #F49E26;
	width: 32%;
	padding: 10px;
}


.design h3{
	font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
	background: rgba(239,130,68,0.40);
	padding: 3px 3px 3px 5px;
	border-left: 6px solid #EF8244;
}

.design-nobori div{
	display: flex;
	justify-content: center;
	padding: 14px 10px;
	gap:12px;
	background-image: url("img/design-nobori-back.png");
	background-repeat: no-repeat;
	background-size: 90%;
	background-position: center;
}

.design-yoko div{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
	gap:20px;
	height: 90%;
	background-image: url("img/design-yoko-back.png");
	background-repeat: no-repeat;
	background-size: 83%;
	background-position: center;
}

.design-maku div{
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("img/design-nobori-back.png");
	background-repeat: no-repeat;
	background-size: 90%;
	background-position: center;
	height: 90%;
	font-weight: bold;
}

.design-bottom div{
	height: 270px;
}

/*====「こんなデザインが2000種類・・・」===*/

.design-block-2000{
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	position: relative;
	padding: 16px;
  border: 4px solid #854F3F;
  border-radius: 20px;
  background-color: #fff3be;
}

.design-block-2000:before{
	content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 13px 26px 13px;
  border-color: transparent transparent #854F3F;
  translate: -50% -100%;
}

.design-block-2000:after{
	content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 8.5px 17.1px 8.5px;
  border-color: transparent transparent #fff3be;
  translate: -50% -100%;
}

.design-block-2000 p{
	border-top: 8px double #EF8244;
	border-bottom: 8px double #EF8244;
	padding: 15px 10px;
	color: #854F3F;
	font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.design-block-2000 span{
	background: linear-gradient(transparent 50%, #fff 50%);
}

.design-block-2000 strong{
	font-style: italic;
	font-size: 1.7rem;
	color: #FF1010;
	padding: 0 5px;
}


/*=========================================
　「ジャンル一覧」
====================================*/
.genre h3{
	font-weight: bold;
	border-left: 10px solid  rgba(239,130,68,0.40);
	border-bottom: 2px solid  rgba(239,130,68,0.40);
	padding: 3px 0 3px 8px;
	margin-bottom: 20px;
}

.genre ul{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-template-rows: auto;
	justify-content: space-between;
	gap:30px 16px;
	margin-bottom: 50px;
	padding: 0 0.5rem;
}

.genre li{
	
	text-align: center;	
	border-radius: 30px;
	color: #fff;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}

.genre li a{
	height: 60px;
	padding: 0 5px;
	width: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.li-1 a:before{
	content: '';
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

.li-1 a:after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 3px #F49E26;
  border-right: solid 3px #F49E26;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
}

.genre li a:before{
	content: '';
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

.li-2 a:after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 3px #EF8244;
  border-right: solid 3px #EF8244;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
}

.li-3 a:after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 3px #854F3F;
  border-right: solid 3px #854F3F;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
}


.genre li br{
	display: none;
}

.li-1{
	background: #F49E26;
}

.li-2{
	background: #EF8244;
}

.li-3{
	background: #854F3F;
}

/*文字数多いやつ*/
.small{
	font-size: 0.9rem;
}

/*===「オリジナル品も作ります」===*/
.ori-semi{
	margin-bottom: 30px;
}

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

.mail{
	text-align: center;
}

.mail a{
	color: #fff;
	font-size: 1.7rem;
	font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
	background: #854F3F;
	display:flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	border-radius: 40px;
	box-shadow: 0 10px 0 #F49F3A;
	transition: 0.2s;
}

.mail a:hover{
	box-shadow: unset;
	transform: translateY(3px);
}

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

/*線*/
.border-2{
	border-top: 1px solid #174388;
	border-bottom: 3px solid #174388;
	padding: 5px 0 0 0;
	margin-bottom: 80px;
}

/*========================================
 戻るボタン
=======================================*/

.modoru a{
	font-family: "Noto Serif JP", serif;
	background: #b09761;
	border: 2px solid #b09761;
}


.modoru a:hover{
	color: #b09761;
}

/*vcsの説明部分*/
.about_vcs{
	max-width: 1000px;
	margin: 0 auto;
}


/*=============================================
「footer」
===============================================*/

footer{
	background: #FFE362;
	height: 150px;
	color: #000;
}


/*==============================================
カテゴリー別ページ
===============================================*/

@media screen and (max-width: 832px){
	/*=============================
	ジャンル一覧
	=============================*/
	
	.genre li br{
		display: block;
	}
	
	.genre ul{
		gap: 30px 12px;
	}
}


@media screen and (max-width: 820px){
	
	/*=================================
	「デザイン例」
	===================================*/
	
	.design-block{
		flex-wrap: wrap;
		gap:20px;
	}
	
	.design-content{
		width: 48%;
	}
	
	.design-nobori div{
		background-size: 80%;
	}
	
	.design-yoko div{
		background-size: 72%;
	}
	
	.design-maku{
		height: 300px;
	}
	
}


@media screen and (max-width: 814px){
	nav ul{
	flex-wrap: wrap;
	justify-content: space-between; 
}
	
	
	nav li{
	width: calc(100%/3);
	align-items: center;
}
	
	
	nav a{
	height: 3rem;
		font-size: 1.5rem;
}
	
	/*h2*/
	
	h2 br{
		display: block;
	}
	
	.h2br{
	line-height: 1.2;
}
	
	/*=================================
	「デザイン例」
	==================================*/
	
	.design-block-2000{
		gap:12px;
		font-size: 1.2rem;
	}

}


@media screen and (max-width: 690px){
	.genre ul{
		grid-template-columns:repeat(2, 1fr);
		padding: 0;
	}
	.genre li a{
		justify-content: flex-start;
		padding-left: 16px;
	}
	
	.or1{
		background: #F49E26;
	}
	.or1 a::after{
		border-top: solid 3px #F49E26;
        border-right: solid 3px #F49E26;
	}
	
	.or2{
		background: #EF8244;
	}
	
	.or2 a:after{
		border-top: solid 3px #EF8244;
        border-right: solid 3px #EF8244;
	}
	
	.br{
		background: #854F3F;
	}
	
	.br a:after{
		border-top: solid 3px #854F3F;
        border-right: solid 3px #854F3F;
	}
}

@media screen and (max-width: 619px){

	
	
	h2{
	    font-size: 1.3rem;
	}
	
	h3 {
		font-size: 1.2rem;
	}
	
	nav a{
	height: 3rem;
		font-size: 1rem;
}

	
	@media screen and (max-width: 600px){
		
		.main-wrapper{
			padding: 16px;
		}
		
		/*=============================
		「デザイン例」
		=================================*/
		
		.design-content{
		width: 100%;
			height: 310px;
	}
	
	.design-block{
		flex-wrap: wrap;
		flex-direction: column;
		gap:20px;
	}
		
		.design-nobori div{
		background-size: 300px 200px;
	}
	
	.design-yoko div{
		background-size: 230px 230px;
	}
		
		.design-maku div{
			background-size: 300px 200px;
		}
		
  /*2000以上・・・*/
		
	.design-block-2000{
		flex-direction: column;
	}
		
		/*=======================
		「ジャンル一覧」
		=============================*/
		.mail a{
			font-size: 1.3rem;
		}


}
	@media screen and (max-width: 555px){
		
		
		
		h1{
			min-width: 360px;
		}
		
		
		h2{
			font-size: 1.2rem;
		}
		
		
	/*========================================
	「ジャンル一覧」
	====================================*/
		
		.genre li{
			font-size: 0.85rem;
		}
    
		
	}

@media screen and (max-width: 440px){
	.design-nobori div{
		background-size: 240px 200px;
	}
	
	.design-yoko div{
		background-size: 230px 230px;
	}
		
		.design-maku div{
			background-size: 240px 200px;
		}
}
	
	@media screen and (max-width: 389px){
	/*==========================
	ジャンル一覧
	==========================*/
		.genre li{
			border-radius: 10px;
		}
		
		.genre li a{
			padding-left: 5px;
		}
		
		.genre li a:before{
			right: 4px;
		}
		
		.genre li a:after{
			right: 14px;
		}
		
		.ad{
			font-size: 0.8rem!important;
		}
		
		/*===「お問い合わせはこちらから」===*/
		.mail a{
			font-size: 1.1rem;
		}
	}

@media screen and (max-width: 360px){
	
	
	
	/*=====================================
	メニュー
	=====================================*/
	nav a{
	height: 3rem;
	font-size: 0.8rem;
}
	
	
	
	
}