@charset "UTF-8";

/* 基本色 */
:root {
	--main-color: #fff;
	--accent-color: #BF6A7A;
	--dark-main-color: #E4216F;
	--text-color: #222;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--gray-color: #ddd;
	--large-width: 1000px;
	--middle-width: 800px;
}


/* 基本設定： フォントサイズ */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;}



/* 基本設定： ページ全体 */
body {
	margin: 0;
	font-family: 'メイリオ',
		'Hiragino Kaku Gothic Pro', 
		sans-serif;
}

/*トップのイメージ*/

.topimg img { /*古いブラウザ用非表示*/
	display: none; 
}

/* ▼表示領域が600px以上の場合 */
@media (min-width: 600px) {
.topimg div.top_mini { display: none; }  /* miniを非表示 */
.topimg img.big  { 
	display: block;
	margin-bottom:70px;	} /* bigを表示 */
}
/* ▼表示領域が600px未満の場合 */
@media (max-width: 599px) {
.topimg img.big  { display: none; }  /* bigを非表示 */
 .topimg div.top_mini {/* miniを表示 */
	display: block; 
	height:100vh;
	background-image:url(img/index_img_mini.jpg);
	background-position:left top;
	background-size:contain;
	min-height:350px;
	background-repeat:no-repeat;
	margin-bottom:0;
	} 
}

.topimg img.big {
	width: 100%; 
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* 社長の挨拶 */
.manager {
	background-color: #fff;
	background-color: var(--main-color);
	color: #222;
	color: var(--text-color);
	margin-bottom:120px;

}

.manager .text {
	padding: 10px 20px;

}


.manager p {
	margin-top: 0;
	margin-bottom: 20px;
/*	font-size: 14px;*/
	line-height: 1.8;
}

.manager .photo {
	min-height: 220px;
	background-image: url(img/index_manager2.jpg);
	background-size: cover;
}

@media (min-width: 768px) {
	.manager .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.manager .photo {
		flex: 1;
	}

	.manager .text {
		flex: 2;
		padding: 20px 15px 10px 40px;
	}
}

/* 製造工程 */

.process{
	background-color: #fff;
	color: #111;
	color: var(--text-color);
	max-width: 1000px;
	max-width: var(--large-width);
	margin: 30px auto 150px;
}

.process p{
	padding-left:15px;
	padding-right:10px;


}

.process .container {
	display: flex;
	flex-wrap: wrap;

}

.process .container .pm{
	flex:1 1 300px;
	width:230px;
	margin:10px;
}

.process h2{	/*付箋風ピンク*/
	text-decoration: none;
	font-weight:normal;
	padding: 0.5rem;
	background: #E4216F;
	border-left: solid 10px #BA195A;
	color: #fff;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.22);
	opacity:0.9;
	font-size: 1rem;

}

.process h3{	/*付箋風オレンジ*/
	text-decoration: none;
	font-weight:normal;
	padding: 0.5rem;
	background: #FF6315;
	border-left: solid 10px #BE460A;
	color: #fff;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.22);
	opacity:0.9;
	font-size: 1rem;
	margin-left:30px;
}

.process .pm_title{
	min-height:100px;
	position:relative;
}

.process .ct_title{
	min-height:100px;
	position:relative;
}

.process .pre_title{
	min-height:100px;
	position:relative;
}

.process .sew_title{
	min-height:100px;
	position:relative;
}

.process .ins_title{
	min-height:100px;
	position:relative;
}

@media (min-width: 768px) {	/*画面が大きい場合は重ねる、小さい画面では上下に並ぶ*/
	.process .pm_title h2{
		width:50%;
		min-width:280px;
		position:absolute;
		top:0;
		left:0;
	}
	
	.process .pm_title h3{
		width:40%;
		min-width:200px;
		position:absolute;
		top:20px;
		left:40%;
	}
	
	.process .ct_title h2{
		width:30%;
		min-width:200px;
		position:absolute;
		top:0;
		left:0;
	}
	
	.process .ct_title h3{
		width:30%;
		min-width:200px;
		position:absolute;
		top:20px;
		left:20%;
	}
	.process .pre_title h2{
		width:30%;
		min-width:200px;
		position:absolute;
		top:0;
		left:0;
	}
	
	.process .pre_title h3{
		width:30%;
		min-width:200px;
		position:absolute;
		top:20px;
		left:20%;
	}
	.process .sew_title h2{
		width:30%;
		min-width:200px;
		position:absolute;
		top:0;
		left:0;
	}
	
	.process .sew_title h3{
		width:30%;
		min-width:200px;
		position:absolute;
		top:20px;
		left:20%;
	}
	.process .ins_title h2{
		width:40%;
		min-width:200px;
		position:absolute;
		top:0;
		left:0;
	}
	
	.process .ins_title h3{
		width:40%;
		min-width:200px;
		position:absolute;
		top:20px;
		left:30%;
	}
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* フッター */
footer {
	color: #fff;
	background-color: #E4216F;
	background-color: var(--dark-main-color);
}

footer .container {
	padding: 40px 20px;
}


@media (min-width: 768px) {
	footer .container {
		display: flex;
		flex-wrap: wrap;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}

/* フッターA： サイト情報 */
.footA {
	margin-bottom: 30px;
}

.footA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	letter-spacing: 0.2em;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
}

.footA a {
	color: inherit;
	text-decoration: none;
}


/* フッターB： フッターメニュー */
.footB div {
	margin-bottom: 20px;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 14px;
}

.footB img{
	width:250px;
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.footB a:hover {
	background-color: rgba(0,0,0,0.3);
}


@media (min-width: 768px) {
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 40px;
	}
}


/* フッターC： コピーライト */
.footC {
	font-size: 12px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 会社情報 */

.history .text {
	padding: 0 20px;
}

.history .photo {
	min-height: 300px;
	background-position: center;
	background-size: cover;
}

.history table {
	border-collapse: collapse;
	border-top: solid 1px #ddd;
	border-top: solid 1px var(--gray-color);

}

.history th,
.history td {
	padding-top: 1.7rem;
	padding-bottom: 1.7rem;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

.history th {
	padding-right: 1rem;
	text-align: left;
	word-break: keep-all;
}


@media (min-width: 768px) {
	.history .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
		flex-direction:row-reverse;
	}

	.history .photo {
		flex: 2;
	}

	.history .text {
		flex: 2;
		padding: 0 50px;
	}
}

/* お問い合わせページ: 問い合わせ先 */
.contact {
	margin-top: 20px;
	margin-bottom: 20px;
	margin-right: 20px;
	padding: 20px;
	border: solid 1px #ddd;
	border: solid 1px var(--gray-color);
	text-align: center;
	
}

.contact span	{
	display: inline-block;
	margin-bottom: 20px;
	font-size: 2.2rem;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: #E75869;
	color: #fff;
}

.contact h2 {
	margin-top: 0;
	font-size: 1.2rem;
}

.contact a {
	font-size: 1.2rem;
	color: inherit;
	text-decoration: none;
}


@media (min-width: 768px) {
	.contact-wrap {
		display: flex;
	}

	.contact {
		flex: 1;
	}

	.contact:last-child {
		margin-right: 0px;
	}
}

.post .container {
	max-width: 800px;
	max-width: var(--middle-width);
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
}

/* コンテンツページ共通 */

h1 {
	border-left: solid 0.75rem #BA195A;
	font-size: 1.5rem;
	padding: 7px 20px;
	margin-left: auto;
	margin-right: auto;
	max-width:950px;
}

/* デザイン画 */


.design p{
	padding-left:15px;
	padding-right:10px;
	margin-bottom:50px;

}
.design .container {
	padding-top: 2px;
	padding-bottom:30px;
	max-width: 1000px;
	max-width: var(--large-width);
	margin:0 auto 100px;

}

.design .sketch {
	padding-bottom: 10px;
	text-align: left;
	display: flex;
	align-items: flex-start;

}

.design .sketch2 {
	align-items: flex-start;
	display: flex;
	justify-content:flex-end;
	padding-bottom: 10px;

}


img.design_art{
	max-width:30vw;
	max-height:400px;
	flex:0 1 30%;
}

img.design_text{
	max-width:70vw;
	flex:0 1 auto;

}

/*スナップ写真*/
.snap .container{
	padding-top: 2px;
	padding-bottom:30px;
	max-width: 1000px;
	max-width: var(--large-width);
	margin:0 auto 120px;
	display: flex;
	flex-wrap:wrap;
}


.snap .container img{
	flex:1 1 30%;
	width:300px;
	margin:10px;

}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */


/* ヘッダー */
header {
	width: 100%;
	background-color: #fff;
	position: static;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

/* ヘッダー	サイト名 */
.headA{
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	color: #E4216F;
	color: var(--dark-main-color);
	font-family: 'ITC Bradley Hand', 'Montserrat', sans-serif;
	font-size: 24px;
	text-decoration: none;
}


/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: #FCC0CD;
}

@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.headB ul {
		display: flex;
	}
}


/* ヘッダーC： トグルボタン */

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
		opacity: 0.5;
		cursor: pointer;
	}

	.headC:hover {
		opacity: 0.3;
	}

	.headB {
		display: none;
	}
}

@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}
