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

html {
	scroll-behavior: smooth;
}

body{
	min-width: 1000px;
	max-width: 1500px;
	line-height: 1.7;
	display: grid;
	font-family: 'Avenir','Helvetica Neue','Helvetica','Arial',
		'Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic',
		'メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
	letter-spacing: 0.1em;
	margin: 0 auto;
	position: relative;
}

/*トップへ戻るボタン*/
.pagetop {
  position:fixed; /*固定*/
  bottom:20px; /*場所を右下に移動*/
  right:2%; /*場所を右下に移動*/
  display:block; /*aタグをblock要素に変更*/
  background-color:rgba(0,0,0,0.4); /*以下、デザインはご自由に！！*/
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  font-size:11px;
  width:45px;
  height:45px;
  text-align:center;
  line-height:2px;
  padding-top:30px;
  box-sizing:border-box;
}

.pagetop:before {
  content:'↑';
  position:absolute;
  top:10px;
  left:0;
  width:100%;
  text-align:center;
  font-size:15px;
}

.pagetop:hover {
  opacity:0.7;
}


img {
max-width: 100%;
height: auto;
width /***/:auto;
}

p {
	font-family: 'Noto Serif JP', serif;
	line-height: 1.9;
	letter-spacing: 0.1em;
}

b-header{
	grid-area: b-header;
}

b-nav{
	grid-area: b-nav;
	
}

b-footer{
	grid-area: b-footer;
	background-color: whitesmoke;
}


.menu li {
	font-family:  YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	display: inline-block;
	padding: 15px 20px 15px;
	font-size: clamp(10px, 1vw, 0.9em);
}

b-nav a:hover, a.active{
	border-bottom: 2px solid silver;
 	padding-bottom: 2px;
}

.cb{
	margin: 0 auto;
	width: 80%;
	text-align: center;
}

.lb{
	margin: 10px auto;
	padding: auto;
	width: 90%;
	text-align: left;
}

.rb{
	padding: 1% 11%;
	text-align: right;	
}
.rb2{
	padding: 0 5%;
	text-align: right;	
}

/*ナビのドロップダウンリスト
------------------------------------------------*/
.menu {
	list-style-type:none;
	background-color: #fff;
}
.menu > li {
	display:inline-block;
	position:relative;
}
.menu > li > ul {
	display:none;
}
.menu > li:hover ul {
	display:block;
	position:absolute;
	padding: 0;
	margin: 0;
	top: 40px;
	left:0;
	list-style-type:none;
	background: #fff;
	z-index: 1;
}

.items a {
	display: block;
	padding: 5% auto;
}
/*topページ

------------------------------------------------*/
.top-logo {
	width: 30%;
	margin-bottom: 10px;
}
.top-text{
	margin: 50px auto;
	font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);/*min16px max18px*/
}

/*新着情報
------------------------*/
.newinfo-box{
	line-height: 1.7;
	margin: 40px auto;
	padding: 20px;
	border: solid 1px;
	max-width: 70%;	
}

.newinfo{
	font-size: 1em;
	text-align: left;
	border-bottom: 1px solid;
}
.lb {
	font-size: 0.8em;
	font-family: 'Noto Serif JP', serif;
}

.lb dt {
	padding-right: 10px;
}

.lb-item {
	margin-bottom: 	1em;
}

.sns-text {
	font-size: 1.2em;
	display: flex;
	justify-content: center;
	align-items: center;
	
}

.sns-text::before,
.sns-text::after {
	content: '';
	width: 1px;
	height: 30px;
	background-color: #333;
}

.sns-text::before {
	margin-right: 30px;
	transform: rotate(-35deg);
}

.sns-text::after {
	margin-left: 30px;
	transform: rotate(35deg);
}
/*topこのプロジェクトについて
-------------------------------------*/

/*topこのプロジェクトについて背景画像*/
.b-about-bg{
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 60px auto;
	position:relative;
	width: 80%;
}


/*ボタン*/
.b-about-bg a{
	display: block;
	width: 30%;
	min-width: 100px;
	padding: 15px 0;
	text-align: center;
	position:absolute;
	top:auto;
	right: 5%;
	bottom: 5%;
	background: rgba(255,255,255,0.6);
	font-size: clamp(0.8em, 1vw, 1em);
}
.b-about-bg a:hover{
	background: #333;
	color:#fff;
}

.b-about-bg h3{
	color:#fff;
}

.about-text {
	margin: 60px 60px;
	text-align: justify;
	color:#fff;
	font-size: clamp(10px, 1vw, 16px);
}

/*参加職人とその役割
--------------------------------------*/
.container{
	width: 80%;
	margin: 30px auto;
}

.grid{
	display: grid;
  	gap: 10px;
  	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	width: 80%;
	place-items:center;
	margin: 0 auto;
}

.craftman{
	height: auto;
}

/*職人ボタンの装飾*/
.hover {
  position: relative;
 
}
.hover .hover-img {
  margin: 0;
  padding: 0;
}
.hover-img img {
  width: 100%;
  height: 100%;
}

.hover .hover-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #fff;
  background-color: rgba(0,0,0,0.65);
  /*透明にして表示させない*/
  opacity: 0;
  /*ホバーの動き方*/
  transition: .3s ease-in-out;
}
.hover-text .text1 {
  font-size: 24px;
  padding: 20% 10px 0;
}
.hover-text .text2 {
  font-size: 18px;
  padding: 0 10%;
}
/*ホバーエフェクト*/
.hover:hover .hover-text {
  /*不透明にして表示*/
  opacity: 1;
}

/*top刀剣を楽しむ
--------------------------------------*/
.b-enjoy-bg {
	margin: 5% auto;
	position: relative;
}
/*ボタン*/
.b-enjoy-bg a{
	display: block;
	width: 30%;
	min-width: 100px;
	padding: 2% 0;
	position:absolute;
	right: 10%;
	bottom: 15%;
	background: rgba(255,255,255,0.6);
	font-size: clamp(0.8em, 1vw, 0.8em);
}

.b-enjoy-bg a:hover{
	background: #333;
	color:#fff;
}

/*topプロジェクト一覧
--------------------------------------*/
.b-project-bg {
	margin: 0 auto;
	position: relative;
}
/*ボタン*/
.b-project-bg a{
	display: block;
	width: 30%;
	min-width: 100px;
	padding: 2%;
	position:absolute;
	left: 10%;
	bottom: 15%;
	background: rgba(255,255,255,0.6);
	font-size: clamp(0.8em, 1vw, 0.8em);
}

.b-project-bg a:hover{
	background: #333;
	color:#fff;
}

/*shopping
--------------------------------------*/
.shopping {
	display: block;
	background-color: #e4eeef;
	margin: 10% auto;
	padding: 30px;
}

.shopping:hover {
	background: #cae1e3;
	color: #333;
}

.shopping a {
	display: block;
}

/*topお問い合わせ
--------------------------------------*/
.top-contact {
	margin: 0 auto 5%;
}

.contact-text {
	font-size: clamp(0.8em, 1vw, 0.8em);
	
}
.contact-grid{
	margin: 5% auto 10%;
	padding: 0 10%;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.mail-contact {
	padding: 0 18%;
}

.mail-contact2 {
	padding: 0 18%;
	margin-top: 20px;
}
.mail-contact p ,.mail-contact2 p{
	font-size: 0.7rem;
	margin: 20px auto;
}

.mail-contact a,.mail-contact2 a{
	padding: 1em 2em;
	display: flex; /*flexboxの指定*/
  	justify-content: center;  /*中央寄せ*/
	background-color: #dedede;
	font-size: clamp(0.8rem, 1vw, 1rem);
}

.mail-contact a:hover ,.mail-contact2 a:hover{
	border: 1px solid #68779a;
	background: #333;
	color: #fff;
}

.line-contact p {
	font-size: 0.7rem;
	margin: 20px auto;
}

.line-contact img {
	width: 30%; 
}


/*footer
--------------------------------------*/

.f-logo {
	width: 30%;
	margin: 30px;
}

.f-text {
	margin: 40px auto 0;
}

img.sns{
	width: 30px;
	margin: 10px 6px;
}

img.mini-sns{
	width: 20px;
	margin: 2px 5px;
}

.sponser{
	display: flex;
	justify-content: center;
}

.sponser a {
	display: inline-block;
}
.logo{
	width: 70px;
	margin: 20px 20px;
}

.s-logo{
	width: 50px;
	margin: 20px 20px;
}

h2{
	font-family: 'Noto Serif JP', serif;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.2rem;
	margin: 30px auto;
	position: relative;
	display: inline-block;
	padding: 0 100px;
}
/*装飾*/
h2:before,h2:after{
	content: '';
	position: absolute;
	top:50%;
	display: inline-block;
	width: 70px;
	height: 1px;
	background-color: #333;
}

h2:before{
	left: 0;
}

h2:after{
	right: 0;
}

h3{
	font-size: 18px;
	letter-spacing: 0.1rem;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin-top: 10px;
}


/* ID */

#hinfo{
	margin: 5px 20px;
	text-align: left;

}

#hsns{
	margin: 5px 20px;
	text-align: right;
}

#top-about{
	padding: 30px;
	background-image: url("../images/top-about.jpg");
	background-size: cover;
}

nav {
	display: none;
}


/*レスポンシブ
-----------------------------------------*/

@media screen and (max-width:600px){
body {
	min-width: 320px;
	font-size: 12px;
	line-height: 1.2;
}

#sp-top {
	margin-top: 40px;
}
.slide-wrap {
	margin-top: 40px;
}
.top-sns {
	display: none;
}
	
.fix-logo {
	position: fixed;
	box-sizing: border-box;
	background-color: #fff;
	top: 0;
	right: 0;
	padding: 10px 0;
	z-index: 1;
}
.menu {
	display: none;
}
	
.cb{
	width: 100%;
}

#over {
		width: 100%;
	}
	.top-text {
		font-size: 11px;
		letter-spacing: normal;
		width: 88%;
	}
	.newinfo-box {
		max-width: 95%;
		padding: 10px;
	}
	
	.s-box img {
	 width: 20px;
	}
	
	
	#top-slideshow {
	margin-top: 40px;
	}
/*topこのプロジェクトについて背景画像*/
.b-about-bg{
	margin: 30px auto;
	position:relative;
	width: 100%;
}


/*ボタン*/
.b-about-bg a{
	width: 200px;
	bottom: 3%;
}

.b-about-bg h3{
	font-size: 14px;
}

.about-text {
	margin: 30px auto;
	line-height: 1;
	font-size: 9px;
}
	
h2{
	font-size: clamp(1.25rem, 1.136rem + 0.57vw, 1.563rem);/*min20px max25px*/
	margin: 30px 0;
	padding: 0 60px;
}
	/*装飾*/
h2:before,h2:after{
	width: 30px;
}
	
.container{
	width: 100%;
}
.grid{	
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.f-logo {
	width: 40%;	
	}
	
.shopping {
		width: 80%;
	}
	
.mail-contact a,.mail-contact2 a {
	font-size: 0.7rem;
}

.mail-contact p ,.line-contact p{
	font-size: 9px;	
	}
/*ハンバーガーメニュー
-----------------------------------------*/	

nav {
	display: block;
	width: 220px;
	position: fixed;
	background-color: #fff;
	top: 0;
	left: -300px;
	bottom: 0;
	transition: all 0.5s;
	z-index: 10;
	opacity: 0;
}

.open nav {
		left: 0;
		opacity: 1;
	}

nav li {
		font-family:  YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	}
nav .inner {
	padding:  25px;
}

nav .inner ul li {
	margin: 0;

}

.solid-bottom {
	border-bottom: 1px solid #e4e4e4;
	}
.solid-top {
	border-top: 1px solid #e4e4e4;	
	}
	
nav .inner ul li a {
	display: block;
	padding: 1rem;
	transition-duration:  0.2s;
}
nav .inner ul li a:hover {
	background-color: #e4e4e4;
}

nav .inner ul li a:hover, a.active2 {
	background-color: #e4e4e4;	
	}
	
	.toggle-btn {
		display: block;
		position: fixed;
		top: 10px;
		right: 30px;
		width: 30px;
		height: 30px;
		z-index: 10;
		cursor: pointer;
	}
	
	.toggle-btn span {
		position: absolute;
		display: block;
		left: 0;
		width: 30px;
		height: 2px;
		background-color: #333;
		transition: all 0.5s;
		border-radius:  4px;
		
	}
	
	.toggle-btn span:nth-child(1) {
		top: 4px;
	}
	.toggle-btn span:nth-child(2) {
		top: 14px;
	}
	.toggle-btn span:nth-child(3) {
		bottom: 4px;
	}
	
	.open .toggle-btn span {
		background-color: #fff;
		z-index: 10;
	}
	
	.open .toggle-btn span:nth-child(1) {
		transform: translateY(10px) rotate(-315deg);
	}
	
	.open .toggle-btn span:nth-child(2) {
		opacity: 0;
	}
	
	.open .toggle-btn span:nth-child(3) {
		transform: translateY(-10px) rotate(315deg);
	}
	
	#mask {
		display: none;
		transition: all 0.5s;
	}
	
	.open #mask {
		display: block;
		background-color: #000;
		width: 100%;
		height:  100%;
		top:0;
		left: 0;
		position: fixed;
		opacity: 0.8;
		cursor: pointer;
		z-index: 9;
	}
	
	.nav-sns {
		padding: 0 40px;
	}
	
	/*アコーディオンメニュー
-----------------------------------------*/	
	
	
	.parent a::after {
		content: ' >';
		transform: rotate(90deg);
	}
}

/*モバイル版 微調整
-----------------------------------------*/

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

/*ボタン*/
.b-about-bg a {
	right: 20%;
	}
	
.grid{	
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
	
.hover-text .text1 {
  font-size: 15px;
}
	
.hover-text .text2 {
  font-size: 11px;
  padding: 0 10%;
}


.shopping a {
	font-size: 10px;
}
.mini-text {
	width: 80%;
	margin: 0 auto;
}

.f-logo {
	width: 50%;	
	}
}

@media screen and (max-width:400px) {
	.about-text p {
	letter-spacing: 0.05rem;
	}	
	
}