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


/*==================================================================

		$index　＊　mainvisual

==================================================================*/
#top_mainvisual {
	--mv-h: 780px;		/* 写真の高さ */
	--pt-size: 150px;	/* pointsの丸の大きさ */
	--pt-gap: 20px;		/* pointsの間隔 */
	--dt-size: 30px;	/* dtの文字サイズ */

	display: grid;
	width: calc(100% - 20px);
	margin: 0 auto 10px;
	position: relative;
	top: 10px;
}

/* スライダーとpointsを同じマスに重ねる */
#top_mainvisual .slider,
#top_points {
	grid-area: 1 / 1;
}
#top_mainvisual .slider {
	min-width: 0;	/* slickの幅計算をgrid内で正しくするため */
}
/* slickが動き出す前に、2枚目以降が縦に並んで見えるのを防ぐ */
#top_mainvisual .slider > div:nth-child(n+2) {
	display: none;
}



/*------------------------------ スライド1枚 ------------------------------*/
/* 写真の下に「pointsがはみ出す高さ」ぶんの余白をつくる
   → スライドの下端 = pointsの下端 になる */
#top_mainvisual .slider > div,
#top_mainvisual .slick-slide {
	position: relative;
	padding-bottom: calc(var(--pt-size) - 40px);
}



/*------------------------------ 写真 ------------------------------*/
#top_mainvisual figure {
	height: var(--mv-h);
	border-radius: 10px;
	overflow: hidden;
}
#top_mainvisual figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*------------------------------ 写真：ゆっくり縦に動かす ------------------------------*/
#top_mainvisual figure img {
	height: 115%;	/* 動かす分だけ、写真を枠より15%高くする */
	animation: mv_move 14s linear infinite alternate;
}
@keyframes mv_move {
	from { transform: translateY(0); }
	to   { transform: translateY(-13%); }	/* 115%の写真が、ちょうど枠いっぱいまで動く距離 */
}
/* 動きを減らす設定にしている人には動かさない */
@media (prefers-reduced-motion: reduce) {
	#top_mainvisual figure img {
		height: 100%;
		animation: none;
	}
}
/* SP：3枚目の写真だけ左寄りに見せる */
@media screen and (max-width:640px) {
	#top_mainvisual figure img[src*="mv03"] {
		object-position: 20% center;
	}
}



/*------------------------------ 文言 ------------------------------*/
/* スライドの下端(= pointsの下端)に合わせて置く
   → 文字が増えたら上に伸びる */
#top_mainvisual dl {
	position: absolute;
	left: 0; right: 0;
	bottom: 0;
	display: grid;
	row-gap: 20px;
	width: 90%;
	max-width: 1660px;
	margin: 0 auto;
	padding-right: calc(var(--pt-size) * 4 + var(--pt-gap) * 3);
}
#top_mainvisual dt {
	font-size: var(--dt-size);
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 2px;
	text-shadow:
		0 0 5px #fff,
		0 0 10px #fff,
		0 0 20px #fff,
		0 0 40px #fff;
}
#top_mainvisual dt em {
	color: var(--color-green-text);
}
#top_mainvisual dd {
	font-weight: 500;
	letter-spacing: 1px;
	text-shadow:
		0 0 5px #fff,
		0 0 10px #fff,
		0 0 20px #fff;
}



/*------------------------------ points ------------------------------*/
/* 写真の下端から40px上にかかる位置 */
#top_points {
	position: relative;
	z-index: 2;
	align-self: start;
	justify-self: center;
	display: flex;
	justify-content: flex-end;
	gap: var(--pt-gap);
	width: clamp(90%, 90% + (1840px - 100vw) * 0.4, 98%);
	margin-top: calc(var(--mv-h) - 40px);
}

/* 4色 */
#top_points li:nth-child(1) { --c: #96ce5f; }
#top_points li:nth-child(2) { --c: #4cba87; }
#top_points li:nth-child(3) { --c: #5cbbc9; }
#top_points li:nth-child(4) { --c: #5c9cc9; }

#top_points li {
	transition: 0.3s ease-out;
}
#top_points li:hover {
	transform: translateY(-6px);
}
#top_points li a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: var(--pt-size);
	height: var(--pt-size);
	padding-bottom: 10px;
	border-radius: 50%;
	background: var(--c);
	color: #fff;
	line-height: 1.5;
	text-align: center;
	font-size: 15px;
}
#top_points li a:hover {
	color: #fff;
}
#top_points i {
	display: flex;
	margin-bottom: 12px;
}
#top_points li:nth-child(1) img { height: 29px; }
#top_points li:nth-child(2) img { height: 38px; }
#top_points li:nth-child(3) img { height: 19px; }
#top_points li:nth-child(4) img { height: 31px; }

/* 矢印 */
#top_points li a::after {
	position: absolute;
	content: "";
	left: 50%;
	bottom: 12px;
	width: 12px; height: 12px;
	background: url("../images/icon04.svg") no-repeat 0 0 / contain;
	transform: translateX(-50%) rotate(90deg);
	transition: 0.3s ease-out;
}
#top_points li a:hover::after {
	transform: translate(-50%, 3px) rotate(90deg);
}



/*------------------------------ 幅が狭いとき ------------------------------*/
@media screen and (max-width:1540px) {
	#top_mainvisual { --mv-h: 760px; --pt-size: 130px; --pt-gap: 14px; --dt-size: 26px; padding-bottom: 20px; }
	#top_points li a { font-size: 14px; }
	#top_mainvisual dl { bottom: -18px;}
	#top_points { margin-top: calc(var(--mv-h) - 20px);}
}
@media screen and (max-width:1420px) {
	#top_mainvisual { --mv-h: 700px; --pt-size: 125px; --pt-gap: 10px; --dt-size: 26px; }
	#top_mainvisual dl { row-gap: 20px;}
	#top_mainvisual dd { font-size: 15px; letter-spacing: 0;}
	#top_points i { margin-bottom: 2px; }
	#top_points li img { transform: scale(.85); }
	#top_points li a::after { bottom: 8px;}
}
/*------------------------------ SP ------------------------------*/
@media screen and (max-width:640px) {

	#top_mainvisual {
		--mv-h: 360px;
		display: block;
		padding-bottom: 0;
		margin-top: 60px;
	}

	/* スライド：pointsが重ならないので下の余白はなし */
	#top_mainvisual .slider > div,
	#top_mainvisual .slick-slide {
		padding-bottom: 0;
	}

	/* 文言：写真の下に流して、少しだけ写真にかける */
	#top_mainvisual dl {
		position: relative;
		bottom: auto;
		width: auto;
		margin: -19px 0 0;
		padding: 0 15px;
		row-gap: 14px;
	}
	#top_mainvisual dt {
		font-size: 20px;
		letter-spacing: 0px;
		line-height: 1.8;
	}
	#top_mainvisual dd {
		font-size: 14px;
		line-height: 1.8;
	}

	/* points：2×2の角丸カード */
	#top_points {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		width: 100%;
		margin: 30px 0 40px;
	}
	#top_points li:hover {
		transform: translateY(-3px);
	}
	#top_points li a {
		flex-direction: row;
		justify-content: flex-start;
		gap: 0 15px;
		width: 100%;
		height: 68px;
		padding: 0 34px 0 18px;
		border-radius: 10px;
		font-size: 15px;
		line-height: 1.4;
		text-align: left;
	}
	#top_points i {
		flex-shrink: 0;
		justify-content: center;
		width: 42px;
		height: 42px;
		margin-bottom: 0;
		border-radius: 100%;
		border: 1px solid #FFF;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#top_points li:nth-child(1) img { height: 24px; }
	#top_points li:nth-child(2) img { height: 28px; }
	#top_points li:nth-child(3) img { height: 17px; }
	#top_points li:nth-child(4) img { height: 22px; }

	/* 矢印：右端の真ん中・下向き */
	#top_points li a::after {
		left: auto;
		right: 14px;
		top: 50%;
		bottom: auto;
		transform: translateY(-50%) rotate(90deg);
	}
	#top_points li a:hover::after {
		transform: translateY(-30%) rotate(90deg);
	}

}





/*============================================================================

	#top_whichtype　＊　あなたはどのタイプ？歯並び・噛み合わせのお悩みから探す

============================================================================*/
#top_whichtype {
	position: relative;
	width: calc(100% - 20px);
	left: 10px;
	border-radius: 10px;
	padding: 90px 0 150px;
	background: url("../images/bg02.jpg") no-repeat center top / cover;
	text-align: center;
}
/* 下300pxを白にグラデーション */
#top_whichtype::after {
	position: absolute;
	content: "";
	left: 0; right: 0; bottom: 0;
	height: 150px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
/* 中身をグラデーションより上に */
#top_whichtype > * {
	position: relative;
	z-index: 1;
}
@media screen and (max-width:640px) {
	#top_whichtype {
		padding: 60px 15px 80px;
	}
}



/*------------------------------ h2 ------------------------------*/
#top_whichtype h2 {
	margin-bottom: 50px;
	line-height: 1.8;
}
#top_whichtype .ttl_dot {
	margin-bottom: 15px;
	justify-content: center;
}
#top_whichtype .ttl_dot::after {
	content: "";
	margin-top: -2px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--color-green);
}
@media screen and (max-width:640px) {
	#top_whichtype h2 {
		margin-bottom: 35px;
		font-size: 19px;
		line-height: 1.7;
	}
	#top_whichtype .ttl_dot {
		margin-bottom: 10px;
	}
	#top_whichtype .ttl_dot::after {
		width: 6px; height: 6px;
	}
}



/*------------------------------ 丸 ------------------------------*/
#top_whichtype ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 70px;
	max-width: 1300px;
	margin: 0 auto 50px;
}
#top_whichtype li {
	width: 200px; height: 200px;
	border-radius: 50%;
	background: rgb(var(--c) / .7);
	box-shadow: 0 0 20px rgba(200,200,200,.7);
	transition: 0.3s ease-out;
}
#top_whichtype li:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 30px rgb(var(--c) / .55);
}

/* 3色の繰り返し */
#top_whichtype li:nth-child(3n+1) { --c: 36 172 138; }	/* 緑 */
#top_whichtype li:nth-child(3n+2) { --c: 51 175 179; }	/* 青 */
#top_whichtype li:nth-child(3n) { --c: 100 183 81; }	/* 黄緑 */

#top_whichtype li a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	color: #FFF;
}
#top_whichtype li i {
	display: flex;
	margin-bottom: 12px;
}
#top_whichtype li img {
	height: 38px;
	width: auto;
}
#top_whichtype li:nth-of-type(1) img { height: 37px;}
#top_whichtype li:nth-of-type(2) img { height: 36px; margin-left: 9px;}
#top_whichtype li:nth-of-type(6) img { height: 40px;}
#top_whichtype li:nth-of-type(7) img { height: 40px;}

#top_whichtype li p {
	line-height: 1.5;
	text-align: center;
}
@media screen and (max-width:1440px) {
	#top_whichtype ul { gap: 0 60px;}
}
@media screen and (max-width:1340px) {
	#top_whichtype ul { gap: 0 50px;}
}
@media screen and (max-width:640px) {
	#top_whichtype ul {
		flex-direction: column;
		gap: 12px 0;
		margin-bottom: 40px;
	}
	#top_whichtype li {
		width: 100%; height: auto;
		border-radius: 10px;
	}
	#top_whichtype li:hover {
		transform: translateY(-3px);
	}
	#top_whichtype li i {
		flex-shrink: 0;
		justify-content: center;
		width: 50px;
		height: 50px;
		margin-bottom: 0;
		border: 1px solid #FFF;
		border-radius: 100%;
		align-items: center;
		background: rgb(var(--c) / .7);
	}
	#top_whichtype li img {
		height: 30px;
	}
	#top_whichtype li:nth-of-type(1) img { height: 27px;}
	#top_whichtype li:nth-of-type(2) img { height: 26px; margin-left: 4px; margin-top: 2px;}
	#top_whichtype li:nth-of-type(3) img { margin-left: -3px;}
	#top_whichtype li:nth-of-type(5) img { margin-left: 1px; margin-top: 2px;}
	#top_whichtype li:nth-of-type(6) img { height: 30px; margin-left: -2px; margin-top: -2px;}
	#top_whichtype li:nth-of-type(7) img { height: 30px; margin-left: -2px; margin-top: -2px;}
	#top_whichtype li:nth-of-type(9) img { height: 27px; margin-left: 1px; margin-top: 2px;}

	#top_whichtype li p {
		font-size: 15px;
		line-height: 1.6;
		text-align: left;
	}
}


/*------------------------------ 矢印 ------------------------------*/
#top_whichtype li a {
	position: relative;
	padding-bottom: 16px;
}
#top_whichtype li a::after {
	position: absolute;
	content: "";
	left: 50%;
	bottom: 15px;
	width: 12px; height: 12px;
	background: url("../images/icon04.svg") no-repeat 0 0 / contain;
	transform: translateX(-50%) rotate(90deg);
	transition: 0.3s ease-out;
}
#top_whichtype li a:hover::after {
	transform: translate(-50%, 0px) rotate(-90deg);
}
@media screen and (max-width:640px) {
	#top_whichtype li a {
		flex-direction: row;
		justify-content: flex-start;
		gap: 0 16px;
		min-height: 70px;
		padding: 6px 36px 6px 15px;
	}
	#top_whichtype li a::after {
		left: auto;
		right: 14px;
		top: 50%;
		bottom: auto;
		width: 10px; height: 10px;
		transform: translateY(-50%);
	}
	#top_whichtype li a:hover::after {
		transform: translate(4px, -50%);
	}
}


/*------------------------------ ボタン ------------------------------*/
#top_whichtype .btn {
	margin: 0 auto;
	padding: 26px 90px;
	font-size: 19px;
	border-radius: 5px;
}
@media screen and (max-width:640px) {
	#top_whichtype .btn {
		width: 100%;
		max-width: 100%;
		padding: 18px 10px;
		font-size: 15px;
		line-height: 1.6;
		text-align: center;
		border-radius: 40px;
	}
}





/*============================================================================

	#top_medical　＊　治療内容

============================================================================*/
#top_medical {
	margin-bottom: 100px;
}
#top_medical ul {
	position: relative;
	z-index: 9;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 50px;
	width: 90%;
	max-width: 1600px;
	margin: -60px auto 0;
}
#top_medical a {
	display: block;
	color: #222;
}
#top_medical a:hover {
	color: var(--color-green-text);
}
@media screen and (max-width:640px) {
	#top_medical {
		margin-bottom: 70px;
	}
	#top_medical ul {
		grid-template-columns: 1fr;
		gap: 40px 0;
		margin-top: 0px;
	}
}


/*------------------------------ 画像 ------------------------------*/
#top_medical figure {
	margin-bottom: 25px;
	border-radius: 10px;
	overflow: hidden;
}
#top_medical img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: 0.4s ease-out;
}
#top_medical a:hover img {
	transform: scale(1.05);
}
@media screen and (max-width:640px) {
	#top_medical figure {
		margin-bottom: 18px;
	}
	#top_medical img {
		height: 200px;
	}
}


/*------------------------------ 英字ラベル・見出し ------------------------------*/
#top_medical .ttl_dot {
	margin-bottom: 8px;
	font-size: 13px;
	gap: 14px;
}
#top_medical .ttl_dot::before {
	margin-top: 1px;
}
#top_medical h3 {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 2px;
}
@media screen and (max-width:640px) {
	#top_medical h3 {
		font-size: 20px;
		letter-spacing: 1px;
	}
}


/*------------------------------ View More ------------------------------*/
#top_medical p {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0 10px;
	margin-top: -28px;
	font-family: var(--font-en);
	font-size: 14px;
	color: var(--color-green-text);
	letter-spacing: 1px;
}
#top_medical p::after {
	content: "";
	width: 10px; height: 20px;
	background: url("../images/icon05.svg") no-repeat center / contain;
	transition: 0.3s ease-out;
}
#top_medical a:hover p::after {
	transform: translateX(4px);
}
@media screen and (max-width:640px) {
	#top_medical p {
		margin-top: -26px;
	}
}






/*============================================================================

	#top_about　＊　かねがえ矯正歯科クリニックについて

============================================================================*/
#top_about {
	position: relative;
	width: calc(100% - 20px);
	left: 10px;
	border-radius: 10px;
	height: 750px;
	background:
		url("../images/bg03.png") repeat,
		url("../images/top/img04.jpg") no-repeat center;
	background-size: 4px 4px , cover;
	color: #fff;
}
#top_about .inner {
	position: absolute;
	left: 6%;
	bottom: 100px;
}
@media screen and (max-width:640px) {
	#top_about {
		height: auto;
		padding: 280px 20px 25px;
		background-position: 0 0, 37% top;
	}
	#top_about .inner {
		position: static;
	}
}



/*------------------------------ h2 ------------------------------*/
#top_about h2 {
	margin-bottom: 38px;
}
#top_about .ttl_dot {
	margin-bottom: 20px;
}
@media screen and (max-width:640px) {
	#top_about h2 {
		margin-bottom: 20px;
		font-size: 19px;
	}
	#top_about .ttl_dot {
		margin-bottom: 8px;
	}
}



/*------------------------------ 文章 ------------------------------*/
#top_about .text {
	margin-bottom: 48px;
	line-height: 2.2;
}
@media screen and (max-width:640px) {
	#top_about .text {
		margin-bottom: 25px;
		line-height: 1.8;
		font-size: 14px;
	}
}


/*------------------------------ ボタン ------------------------------*/
#top_about a {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 310px;
	padding: 14px 30px;
	border: 1px solid #fff;
	border-radius: 5px;
	color: #fff;
}
#top_about a::after {
	position: absolute;
	content: "";
	top: 50%;
	right: 30px;
	width: 12px; height: 16px;
	background: url("../images/icon04.svg") no-repeat center / contain;
	transform: translateY(-50%);
	transition: 0.3s ease-out;
}
#top_about a:hover {
	color: #fff;
	letter-spacing: 2px;
	background: rgba(255,255,255,.15);
}
#top_about a:hover::after {
	transform: translate(6px, -50%);
}
@media screen and (max-width:640px) {
	#top_about a {
		width: 100%;
		padding: 10px 30px;
	}
}









/*============================================================================

	#top_topics　＊　お知らせ・医療コラム

============================================================================*/
#top_topics {
	padding: 110px 0;
}
#top_topics .inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 100px;
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
}
@media screen and (max-width:640px) {
	#top_topics {
		padding: 70px 0;
	}
	#top_topics .inner {
		grid-template-columns: 1fr;
		gap: 60px 0;
	}
}



/*------------------------------ h2・View All の配置 ------------------------------*/
#top_news,
#top_column {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"dot ."
		"ttl btn"
		"list list";
	min-width: 0;
}
#top_topics .ttl_dot { 
	grid-area: dot; 
	margin-bottom: 12px;
}
#top_topics h2 {
	grid-area: ttl;
	align-self: last baseline;
	margin-bottom: 0;
	font-size: 30px;
}
#top_topics ul { grid-area: list; }
#top_topics .inner > div > a {
	grid-area: btn;
	align-self: last baseline;
}
@media screen and (max-width:640px) {
	#top_topics .ttl_dot {
		margin-bottom: 6px;
	}
	#top_topics h2 {
		font-size: 24px;
	}
}
/* 件数が少ないときに、行が縦に間延びしないように上に詰める */
#top_news,
#top_column {
	align-content: start;
}
#top_topics ul {
	align-content: start;
}


/*------------------------------ リスト ------------------------------*/
#top_topics ul {
	display: grid;
	gap: 0 30px;
	margin-top: 30px;
	border-top: 1px solid #ddd;
}
/* お知らせ：日付 / タイトル */
#top_news ul { grid-template-columns: auto minmax(0, 1fr); }
/* コラム：日付 / カテゴリー / タイトル */
#top_column ul { grid-template-columns: auto auto minmax(0, 1fr); }

/* li と a も ul の列をそのまま使う */
#top_topics li,
#top_topics li a {
	display: grid;
	grid-template-columns: subgrid;
	grid-column: 1 / -1;
	align-items: center;
}
#top_topics li {
	border-bottom: 1px solid #ddd;
}
#top_topics li a {
	padding: 28px 5px;
	color: #222;
}
#top_topics li a:hover {
	color: var(--color-green-text);
}
#top_topics time {
	font-family: var(--font-en);
	font-size: 15px;
	color: var(--color-green-text);
	font-variant-numeric: tabular-nums;
}
#top_topics li span {
	padding: 2px 12px;
	border-radius: 5px;
	background: var(--color-green);
	color: #fff;
	font-size: 14px;
	line-height: 1.8;
	text-align: center;
}
/* タイトルは1行で、はみ出たら… */
#top_topics li p {
	font-size: 17px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media screen and (max-width:640px) {
	#top_topics ul {
		gap: 0 12px;
		margin-top: 20px;
	}
	#top_topics li a {
		padding: 18px 5px;
	}
	#top_topics time {
		font-size: 14px;
	}
	#top_topics li span {
		font-size: 12px;
	}
	#top_topics li p {
		grid-column: 1 / -1;
		font-size: 15px;
	}
}



/*------------------------------ View All ------------------------------*/
#top_topics .inner > div > a {
	display: flex;
	align-items: center;
	gap: 0 10px;
	font-family: var(--font-en);
	font-size: 14px;
	color: var(--color-green-text);
	letter-spacing: 1px;
}
#top_topics .inner > div > a::after {
	content: "";
	width: 10px; height: 20px;
	background: url("../images/icon05.svg") no-repeat center / contain;
	transition: 0.3s ease-out;
}
#top_topics .inner > div > a:hover::after {
	transform: translateX(4px);
}
@media screen and (max-width:640px) {
	#top_topics .inner > div > a { position: relative; top: 6px;}
}







/*============================================================================

	#top_contact　＊　ご予約・お問い合わせ

============================================================================*/
#top_contact ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 40px;
	max-width: 1600px;
	margin: 0 auto;
}

/* 4色(--c：カードの色 / --c2：右下の丸の色) */
#top_contact li:nth-child(1) { --c: #4ac2a6; --c2: #10af8a; }
#top_contact li:nth-child(2) { --c: #3ab4b8; --c2: #04a5aa; }
#top_contact li:nth-child(3) { --c: #519fb9; --c2: #1890b8; }
#top_contact li:nth-child(4) { --c: #94c264; --c2: #7db641; }

#top_contact li {
	position: relative;
	border-radius: 10px;
	background: var(--c);
	overflow: hidden;
	transition: 0.3s ease-out;
}
#top_contact li a {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 35px 10px 45px;
	color: #fff;
	text-align: center;
	z-index: 1;
}

#top_contact li:hover {
	transform: translateY(-6px);
	box-shadow: 0 5px 10px rgba(200,200,200,.5);
}
#top_contact li a:hover {
	color: #fff;
}


/*------------------------------ アイコン ------------------------------*/
#top_contact i {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 90px; height: 90px;
	margin-bottom: 16px;
	border: 1px solid #fff;
	border-radius: 50%;
}
/* アイコンの大きさは個別に調整 */
#top_contact li:nth-child(1) i img { width: 37px; }
#top_contact li:nth-child(2) i img { width: 44px; }
#top_contact li:nth-child(3) i img { width: 56px; }
#top_contact li:nth-child(4) i img { width: 39px; }



/*------------------------------ 文字 ------------------------------*/
#top_contact dt {
	font-size: 16px;
	color: #fff665;
}
#top_contact dd {
	font-size: 23px;
	line-height: 1.5;
	height: 44px;
}
#top_contact em {
	font-family: var(--font-en);
	letter-spacing: 3px;
	font-size: 30px;
}
#top_contact p {
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.6;
}

#top_contact li:nth-child(1) p { font-family: var(--font-en); font-size: 15px;}
#top_contact li:nth-child(2) dd { font-size: 19px; }
#top_contact li:nth-child(2) dd em { margin: 0 2px; position: relative; top: 2px;}
#top_contact li:nth-child(3) dd { padding-top: 4px; }
#top_contact li:nth-child(4) dd { padding-top: 4px; }



/*------------------------------ 右下の丸と矢印 ------------------------------*/
#top_contact li::before {
	position: absolute;
	content: "";
	right: -30px;
	bottom: -30px;
	width: 80px; height: 80px;
	border-radius: 50%;
	background: var(--c2);
	z-index: 0;
	transition: 0.5s ease-out;
}
#top_contact li::after {
	position: absolute;
	content: "";
	right: 10px;
	bottom: 12px;
	width: 15px; height: 15px;
	background: url("../images/icon06.svg") no-repeat center / contain;
	transform: rotate(45deg);
	z-index: 2;
}

#top_contact li:hover::before {
	transform: scale(14);
}


/*------------------------------ 幅が狭いとき ------------------------------*/
@media screen and (max-width:1660px) {
	#top_contact ul { gap: 0 20px;}
}
@media screen and (max-width:1640px) {
	#top_contact ul { gap: 0 10px; padding: 0 10px;}
}
@media screen and (max-width:1480px) {
	#top_contact p {font-size: 13px;}
}


/*------------------------------ SP ------------------------------*/
@media screen and (max-width:640px) {

	#top_contact ul {
		grid-template-columns: 1fr;
		gap: 12px 0;
		padding: 0;
		width: calc(100% - 20px);
	}
	#top_contact li {
		height: 120px;
	}

	/* 左にアイコン、右に文字 */
	#top_contact li a {
		display: grid;
		grid-template-columns: 68px 1fr;
		grid-template-areas:
			"icon dl"
			"icon p";
		align-items: center;
		gap: 0 16px;
		padding: 16px 20px 25px 20px;
		text-align: left;
	}
	#top_contact i {
		grid-area: icon;
		width: 68px; height: 68px;
		margin-bottom: 0;
		margin-top: 3px;
	}
	#top_contact dl { grid-area: dl; }
	#top_contact p { grid-area: p; }

	/* アイコンの大きさ(PCの約75%) */
	#top_contact li:nth-child(1) i img { width: 30px; }
	#top_contact li:nth-child(2) i img { width: 35px; }
	#top_contact li:nth-child(3) i img { width: 42px; }
	#top_contact li:nth-child(4) i img { width: 33px; }

	/* 文字 */
	#top_contact dt {
		font-size: 14px;
	}
	#top_contact dd {
		height: auto;
		font-size: 20px;
		letter-spacing: 1px;
	}
	#top_contact em {
		font-size: 24px;
		line-height: 1;
		letter-spacing: 1.5px;
	}
	#top_contact p {
		font-size: 12px;
	}
	#top_contact li:nth-child(1) p { font-size: 14px;}
	#top_contact li:nth-child(2) dd { font-size: 17px; }
	#top_contact li:nth-child(3) dd,
	#top_contact li:nth-child(4) dd { padding-top: 0; }

}






