﻿/* =========================================
   墨出し器具「墨ちゃん」商品ページ
   ========================================= */

.sumichan-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 15px 50px;
	box-sizing: border-box;
	color: #333;
	font-size: 16px;
	line-height: 1.7;
}

.sumichan-page * {
	box-sizing: border-box;
}

.sumichan-page img {
	max-width: 100%;
	height: auto;
}


/* -----------------------------------------
   ファーストビュー
   ----------------------------------------- */

.sumichan-hero {
	position: relative;
	margin: 15px 0 35px;
	padding: 35px 40px;
	background:
		linear-gradient(135deg, #ffd900 0%, #ffd900 70%, #f3c900 100%);
	border: 3px solid #1e1e1e;
	overflow: hidden;
}

.sumichan-hero::before {
	content: "";
	position: absolute;
	top: -80px;
	right: -100px;
	width: 480px;
	height: 300px;
	background: #1d1b0a;
	border-radius: 45% 20% 50% 30%;
	transform: rotate(-5deg);
	opacity: 0.98;
}

.sumichan-hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 40px;
}

.sumichan-hero-text {
	flex: 1;
}

.sumichan-hero-image {
	flex: 0 0 38%;
	text-align: center;
}

.sumichan-page h1 {
	margin: 0 0 15px;
	color: #171717;
	font-size: 38px;
	line-height: 1.3;
	font-weight: 700;
}

.sumichan-catch {
	display: inline-block;
	margin: 0 0 18px;
	padding: 7px 15px;
	background: #1d1d1d;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
}

.sumichan-lead {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.8;
}


/* -----------------------------------------
   共通セクション
   ----------------------------------------- */

.sumichan-section {
	margin: 45px 0;
}

.sumichan-page h2 {
	position: relative;
	margin: 0 0 25px;
	padding: 13px 18px 13px 24px;
	background: #1d1d1d;
	color: #fff;
	font-size: 25px;
	line-height: 1.4;
	border-left: 10px solid #ffd400;
}

.sumichan-page h3 {
	margin: 25px 0 12px;
	padding-bottom: 8px;
	font-size: 20px;
	color: #222;
	border-bottom: 3px solid #ffd400;
}


/* -----------------------------------------
   こんなお悩みに
   ----------------------------------------- */

.sumichan-problem {
	padding: 25px 30px;
	background: #fffbea;
	border: 2px solid #ffd400;
	border-radius: 5px;
}

.sumichan-problem ul {
	margin: 0;
	padding-left: 1.5em;
}

.sumichan-problem li {
	margin: 7px 0;
	font-weight: bold;
}


/* -----------------------------------------
   3つの特長
   ----------------------------------------- */

.sumichan-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.sumichan-feature {
	padding: 22px;
	background: #fff;
	border: 1px solid #ddd;
	border-top: 6px solid #ffd400;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sumichan-feature-number {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 11px;
	background: #1d1d1d;
	color: #ffd400;
	font-size: 18px;
	font-weight: bold;
	border-radius: 20px;
}

.sumichan-feature h3 {
	margin-top: 5px;
}


/* -----------------------------------------
   YouTube動画
   ----------------------------------------- */

.sumichan-video-box {
	max-width: 850px;
	margin: 0 auto;
	padding: 20px;
	background: #f5f5f5;
	border: 2px solid #ddd;
}

.sumichan-video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
	background: #000;
}

.sumichan-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}


/* -----------------------------------------
   価格表
   ----------------------------------------- */

.sumichan-price-box {
	margin: 25px 0;
	padding: 25px;
	background: #fffbea;
	border: 3px solid #ffd400;
}

.sumichan-price-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.sumichan-price-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.sumichan-price-table th,
.sumichan-price-table td {
	padding: 14px 16px;
	border: 1px solid #bbb;
	text-align: center;
	vertical-align: middle;
}

.sumichan-price-table th {
	background: #1d1d1d;
	color: #fff;
	font-weight: bold;
}

.sumichan-price-table td:last-child {
	font-size: 19px;
	font-weight: bold;
	color: #b3261e;
	white-space: nowrap;
}

.sumichan-price-note {
	margin: 12px 0 0;
	font-size: 14px;
}


/* -----------------------------------------
   使用方法 STEP
   ----------------------------------------- */

.sumichan-steps {
	/*display: grid;
	grid-template-columns: repeat(3, 1fr);*/
	gap: 20px;
}

.sumichan-step {
	position: relative;
	padding: 20px;
	background: #fff;
	border: 2px solid #ffd400;
}

.sumichan-step-label {
	display: inline-block;
	margin: -20px 0 15px -20px;
	padding: 7px 15px;
	background: #ffd400;
	color: #111;
	font-size: 18px;
	font-weight: bold;
}

.sumichan-step img {
	display: block;
	/*margin: 0 auto 15px;*/
}


/* -----------------------------------------
   溝の使い分け
   ----------------------------------------- */

.sumichan-groove {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 25px;
	background: #f7f7f7;
	border-left: 6px solid #ffd400;
}

.sumichan-groove-image {
	flex: 0 0 42%;
}

.sumichan-groove-text {
	flex: 1;
}


/* -----------------------------------------
   商品仕様
   ----------------------------------------- */

.sumichan-spec {
	width: 100%;
	border-collapse: collapse;
}

.sumichan-spec th,
.sumichan-spec td {
	padding: 13px 16px;
	border: 1px solid #ccc;
}

.sumichan-spec th {
	width: 30%;
	background: #eee;
	color: #222;
	text-align: left;
}

.sumichan-spec td {
	background: #fff;
}


/* -----------------------------------------
   交換パーツ
   ----------------------------------------- */

.sumichan-parts {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 25px;
	background: #fffbea;
	border: 2px solid #ffd400;
}

.sumichan-parts-image {
	flex: 0 0 30%;
}

.sumichan-parts-text {
	flex: 1;
}


/* -----------------------------------------
   使用上の注意
   ----------------------------------------- */

.sumichan-caution {
	padding: 22px 25px;
	background: #fff;
	border: 2px solid #d7d7d7;
	border-left: 7px solid #d63030;
}

.sumichan-caution-title {
	margin-bottom: 10px;
	color: #b22020;
	font-size: 18px;
	font-weight: bold;
}


/* -----------------------------------------
   問い合わせ
   ----------------------------------------- */

.sumichan-contact {
	margin-top: 45px;
	padding: 35px 25px;
	background: #f2f8f6;
	border: 3px solid #008663;
	text-align: center;
}

.sumichan-contact-title {
	margin-bottom: 12px;
	color: #006f53;
	font-size: 25px;
	font-weight: bold;
}

.sumichan-contact-btn {
	display: inline-block;
	min-width: 300px;
	margin-top: 15px;
	padding: 15px 30px;
	background: #008663;
	color: #fff !important;
	font-size: 19px;
	font-weight: bold;
	text-decoration: none !important;
	border-radius: 4px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.18);
	transition: 0.2s;
}

.sumichan-contact-btn:hover {
	background: #006f52;
	transform: translateY(-1px);
}


/* -----------------------------------------
   小さな黄色ラベル
   ----------------------------------------- */

.sumichan-label {
	display: inline-block;
	padding: 4px 10px;
	background: #ffd400;
	color: #111;
	font-weight: bold;
}


/* -----------------------------------------
   スマートフォン
   ----------------------------------------- */

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

	.sumichan-page {
		padding: 0 10px 35px;
		font-size: 15px;
	}

	.sumichan-hero {
		padding: 25px 18px;
	}

	.sumichan-hero::before {
		width: 300px;
		height: 180px;
		top: -60px;
		right: -120px;
	}

	.sumichan-hero-inner {
		display: block;
	}

	.sumichan-page h1 {
		font-size: 29px;
	}

	.sumichan-catch {
		font-size: 20px;
	}

	.sumichan-lead {
		font-size: 16px;
	}

	.sumichan-hero-image {
		margin-top: 25px;
	}

	.sumichan-page h2 {
		font-size: 21px;
		padding: 11px 13px 11px 17px;
		border-left-width: 7px;
	}

	.sumichan-features,
	.sumichan-steps {
		grid-template-columns: 1fr;
	}

	.sumichan-groove,
	.sumichan-parts {
		display: block;
	}

	.sumichan-groove-image,
	.sumichan-parts-image {
		margin-bottom: 20px;
		text-align: center;
	}

	.sumichan-price-table {
		min-width: 580px;
	}

	.sumichan-spec th {
		width: 35%;
	}

	.sumichan-contact {
		padding: 25px 15px;
	}

	.sumichan-contact-btn {
		width: 100%;
		min-width: 0;
		font-size: 17px;
	}
}