@charset "utf-8";

/* ここからが全体 */

:root {
	--color-bg: #ffffff;
	/*背景色*/
	--color-text: #333333;
	/*文字色*/
	--color-line: #cccccc;
	/*線の色*/
	--fs-heading: clamp(24px, 0.75vw + 21.2px, 32px);
	/*見出しサイズ（レスポンシブ対応）*/
	--fs-body: clamp(14px, 0.94vw + 10.5px, 24px);
	/*文字サイズ（レスポンシブ対応）*/
	--space-section: clamp(60px, 8vw, 150px);
	/*セクションの間隔（レスポンシブ対応）*/
}

main {
	background-color: var(--color-bg);
}


.flex {
	display: flex;
}

.nikyu-icon {
	width: 50px;
	height: 50px;
}

/* classにnumbered-listを追加すると丸1になります */
.numbered-list {
	list-style: none;
	padding-left: 0;
	counter-reset: my-counter;
}

.numbered-list li {
	counter-increment: my-counter;
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 8px;
}

.numbered-list li::before {
	content: counter(my-counter);
	display: grid;
	place-items: center;
	width: clamp(14px, 4vw, 24px);
	height: clamp(14px, 4vw, 24px);
	border: 1px solid #333333;
	border-radius: 50%;
	background-color: #ffffff;
	color: #000000;
	font-size: clamp(8px, 2vw, 14px);
	flex-shrink: 0;
}


/* ここまで全体 */

/* ここからファーストビューセクション */

.Hero img {
	max-width: 1920px;
	width: 100%;
	display: block;
	margin: 0 auto;
}

/* ここまでファーストビューセクション */

/* ここからコンセプトセクション */

.concept {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding-block: var(--space-section);
}

.concept h2,
.concept h3 {
	font-size: var(--fs-heading);
	color: var(--color-text);
}

.concept p {
	font-size: var(--fs-body);
	color: var(--color-text);
}

.concept img {
	width: 45%;
}

.concept-text {
	gap: 50px;
	display: flex;
	align-items: center;
}

.reverse {
	flex-direction: row-reverse;
}

.tyuigaki {
	font-size: clamp(12px, 2vw, 20px);
}

/* ここまでコンセプトセクション */

/* ここからコンセプトセクション_タブレット版 */

@media screen and (max-width: 768px) {
	.concept {
		width: 100%;
		margin: 0 auto;
		padding-block: var(--space-section);
	}

	.concept img {
		width: 50%;
	}

	.concept-text h2,
	.concept-text h3 {
		font-size: 18px;
	}

	.concept p {
		font-size: 14px;
	}
}

/* ここまでコンセプトセクション_タブレット版 */

/* ここからコンセプトセクション_スマホ版 */

@media screen and (max-width: 480px) {
	.concept {
		width: 100%;
		margin: 0 auto;
		padding-block: var(--space-section);
	}

	.concept img {
		width: 100%;
	}

	.concept-text {
		flex-direction: column;
		gap: 50px;
		align-items: center;
	}
}

/* ここまでコンセプトセクション_スマホ版 */

/* ここからインフォメーションセクション */

.D-info-note {
	max-width: 1440px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	gap: 50px;
	padding-block: var(--space-section);
}

#D-info-title {
	max-width: 1920px;
	width: 100%;
	margin: 0 auto;
	aspect-ratio: 1920 / 518;
	background-image: url(../images/dogimg/D-info-01.jpg);
	background-size: cover;
	background-position: center 38%;
	background-repeat: no-repeat;
	position: relative;
}

#D-info-title::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(103, 103, 103, 0.3);
}

#D-info-title h2 {
	font-size: clamp(20px, 6vw, 64px);
	font-weight: 900;
	font-family: 'Inter', sans-serif;
	text-shadow: 0 0 10px #2D2C2C;
	color: white;
	position: relative;
	z-index: 1;
	margin: 0;
}

#D-info-title p {
	font-size: clamp(8px, 2vw, 16px);
	font-weight: bold;
	text-shadow: 0 0 10px #2D2C2C;
	color: white;
	position: relative;
	z-index: 1;
}

.D-info-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

}

.D-heading {
	border-bottom: 2px solid var(--color-line);
	font-size: var(--fs-heading);
	color: var(--color-text);
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 0 auto;
	width: fit-content;
}

.D-text {
	font-size: var(--fs-body);
	color: var(--color-text);
}

.D-request {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
}

/* ここからカード */

.dog-card {
	background-color: var(--color-bg);
	list-style: none;
	padding: 20px 25px 20px 25px;
	border: 3px solid #cccccc;
	border-radius: 3%;
	max-width: 345px;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.dog-card h4 {
	font-size: clamp(16px, 2vw, 18px);
	color: var(--color-text);
	text-align: center;
	border-bottom: 2px solid #cccccc;
	min-height: 4.5em;
	line-height: 1.5;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-top: 0;
}

.dog-card p {
	font-size: clamp(14px, 2vw, 16px);
	color: var(--color-text);
	padding-top: 20px;
}

.dog-card img {
	max-width: 130px;
	width: auto;
	height: 160px;
	justify-content: center;
	margin: 0 auto 10%;
}

/* .card-img {
	max-width: 130px;
	width: 100%;
	height: auto;
	margin: 0 auto 10%;
} */

.dog-card-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 35px;
	justify-items: center;
	padding: 100px 60px 0 60px;

}

/* ここまでカード */

/* ここからインフォメーション_タブレット版 */

@media screen and (max-width:768px) {
	.nikyu-icon {
		width: 40px;
		height: 40px;
	}

	.D-heading {
		font-size: 18px;
	}

	.dog-card-list {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, 1fr);
		margin: 0 auto;
		height: auto;
		padding: 100px 20px 0 20px;
	}

	.dog-card {
		width: 90%;
	}

	.dog-card img {
		max-width: 100px;
		width: auto;
		height: 130px;
		justify-content: center;
		margin: 0 auto 10%;
	}
}

/* ここまでインフォメーション_タブレット版 */

/* ここからインフォメーション_スマホ版 */

@media screen and (max-width:480px) {
	.nikyu-icon {
		width: 30px;
		height: 30px;
	}

	.D-heading {
		font-size: 14px;
	}

	.dog-card-list {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(6, 1fr);
		margin: 0 auto;
		height: auto;
		padding: 100px 20px 0 20px;
	}

	.dog-card {
		width: 90%;
	}

}

/* ここまでインフォメーション_スマホ版 */

/* ここまでインフォメーションセクション */