@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
/*サブページタイトル背景の打ち消し*/
#container::before {
	content: none;
}
/**/
#top_ttl img {
	width: 100%;
}
/* お知らせ */
#top_info {
	justify-content: center;
	align-items: flex-start;
	column-gap: 50px;
}
#top_info h3.info {
	font-weight : bold;
	font-size : 30px;
	line-height : 57px;
	color : #003499;
	position: relative;
	margin-top: 10px;
}
#top_info .ttl .txt {
	margin-top: 15px;
	font-size: 90%;
}
#top_info h3.info::before {
	content: "";
	background: url("../img/top/maru.png") no-repeat center/100%;
	width: 84px;
	height: 84px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: -1;
}
#top_info .in {
	width: 730px;
	max-height: 380px;
	overflow: auto;
}
#top_info dl {
	background: #f6f5f6;
	padding: 25px;
	border-radius: 10px;
	margin-bottom: 10px;
	color: #003499;
}
#top_info dt {
	color: #63d6e8;
}
/* 挨拶 */
#top_msg::before {
	background: url("../img/top/bg01.png") no-repeat bottom left/100%;
	top: auto;
	bottom: 0;
}
#top_msg .box .txt_box {
	width: 700px;
}
#top_msg .box .img_box {
	position: absolute;
	top:0;
	right: 0;
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	z-index: -1;
}
#top_msg .box .img_box .img {
	width: 38vw;
	margin-bottom: 50px;
}
#top_msg .box .img_box .img img {
	width: 90%;
	object-fit: cover;
	height: 340px;
	border-radius: 0 50px 50px 50px;
}
#top_msg .box .img_box .img.img02 img {
	width: 100%;
	border-radius: 50px 0 50px 50px;
	position: relative;
	margin-left: 50px;
}
#top_msg .ryojutsu {
	background: #fff;
	border-radius: 50px;
	padding: 50px;
	position: relative;
	border: 1px solid #b1eaf3;
}
#top_msg .ryojutsu::before {
	content: "";
	width: calc(100% - 15px);
	height: calc(100% - 15px);
	border-radius: 48px;
	border: 1px solid #b1eaf3;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
#top_msg .ryojutsu .ttl {
	position: absolute;
	background: #003499;
	padding: 0 20px;
	border-radius: 10px 0 10px 0;
	font-size : 23px;
	color : #fff;
	top: -15px;
	left: 50px;
}
#top_service .box {
	width: 48%;
}
#top_service .box a {
	display: inline-block;
	box-shadow: 0 0 20px rgba(103,247,195,0.5);
	border-radius: 30px;
	position: relative;
}
#top_service .box a:hover {
	opacity: 1;
	box-shadow: none;
}
#top_service .box a img {
	border-radius: 30px;
}
#top_service .box a:hover .img {
	background: #63d6e8;
	border-radius: 30px;
}
#top_service .box a:hover .img img {
	opacity: 0.5;
}
#top_service .box a .ttl {
	position: absolute;
	bottom: 0;
	left: 0;
	display: inline-block;
	text-align: center;
	background: rgba(99,214,232,0.8);
	z-index: 2;
	font-weight : bold;
	font-size : 35px;
	line-height : 57px;
	color : #003499;
	padding: 15px;
	width: 100%;
	border-radius: 0 0 30px 30px;
}
#top_service .box a:hover .ttl {
	background: #003499;
	color: #fff;
}
#top_contents .box {
	border: 1px solid #b1eaf3;
	border-radius: 30px;
	padding: 25px;
	margin-bottom: 30px;
	position: relative;
	column-gap: 15px;
}
#top_contents .top_line_box,
#external_links .top_line_box,
#top_history .top_line_box {
	position: relative;
}
#top_contents .top_line_box::before,
#external_links .top_line_box::before,
#top_history .top_line_box::before{
	content: "";
	position: absolute;
	top: 0;
	left: 10px;
	width: calc(100% - 10px);
	height: 2px;
	background: #003499;
	z-index: -1;
}
#top_contents .box::before {
	content: "";
	background: url("../img/top/bg02.png") no-repeat top left/100%;
	width: 120px;
	height: 162px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
#top_contents .box .img {
	width: 290px;
}
#top_contents .box .img img {
	border-radius: 10px;
	width: 100%;
}
#top_contents .box dl {
	width: calc(100% - 320px);
}
#top_contents .box dt {
	font-weight : bold;
	font-size : 38px;
	line-height : 57px;
	color : #003499;
}
/*(一社)東京都療術師会の歩み*/
#top_history .box_history {
	counter-reset: number;
}
#top_history dl {
	position: relative;
}
#top_history dl:not(:last-child)::after {
	position: absolute;
	content: "";
	width: 1px;
	background: #b1eaf3;
	top: 5px;
	bottom: -45px;
	left: 17px;
	z-index: -1;
}
#top_history dl + dl {
	margin-top: 40px;
}
#top_history dl dt {
	position: relative;
	counter-increment: number;
	color: #003499;
	font-weight: bold;
	font-size: 25px;
	padding: 0px 0 0px 2em;
}
#top_history dl dt::before {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0px;
	left: 0;
	content: counter(number);
	color: #63d6e8;
	border-radius: 50%;
	border: 1px solid #63d6e8;
	background: #fff;
	font-family: var(--font-cinzel);
	width: 1.3em;
	height: 1.3em;
}
#top_history dl dt span {
	display: block;
	font-size: 18px;
	font-weight: normal;
	line-height: 1;
}
#top_history dl dd {
	padding-left: 4em;
}
/*外部ページへのリンク*/
#external_links ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#external_links ul li {
	width: auto;
	margin-bottom: 20px;
}
#external_links ul li a {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 1px solid #b1eaf3;
	border-radius: 30px;
	color: #003499;
	color: var(--color-font);
	padding: 10px 70px 10px 30px;
}
#external_links ul li a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 25px;
	transform:translateY(-50%) rotate(45deg);
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}
#external_links ul li a:hover {
	background: rgba(99, 214, 232, 0.8);
	color: #003499;
}

@media print, screen and (min-width: 769px){ /* PCのみ */
	@media only screen and (max-width: 1350px) {
			#top_msg .box .txt_box {
				width: 65vw;
			}
			#top_msg .box .txt_box h3.sub {
				font-size: 28px;
			}
			#top_msg .box .img_box .img {
				width: 30vw;
			}
		}
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 120px;
	}
	#top_info dd {
		width: calc(100% - 120px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 908px) {  /* タブレット以下 */
	/*外部リンクボタンの調整*/
	#external_links ul {
		justify-content: flex-start;
		gap: 0 20px;
	}
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_info .in {
		width: 100%;
	}
	#top_info h3.info {
		margin-bottom: 30px;
		font-size: 25px;
	}
	#top_info .ttl .txt {
		margin-top: -10px;
	}
	#top_info dl {
		padding: 15px;
	}
	#top_msg::before {
		bottom: 20%;
	}
	#top_msg .box .txt_box {
		width: calc(100% - 30%);
	}
	#top_msg .box .img_box {
		width: 28%
	}
	#top_msg .box .img_box .img {
		width: 100%;
	}
	#top_msg .box .img_box .img.img02 img {
		margin-left: 30px;
	}
	#top_service .box a .ttl {
		font-size: 20px;
		line-height: 25px;
	}
	#top_contents .box {
		padding: 15px;
		align-items: center;
	}
	#top_contents .box dt {
		font-size: 25px;
		line-height: 1.8em;
	}
	/*(一社)東京都療術師会の歩み*/
	#top_history dl:not(:last-child)::after {
		bottom: -35px;
		left: 13px;
	}
	#top_history dl + dl {
		margin-top: 30px;
	}
	#top_history dl dt {
		font-size: 20px;
	}
	#top_history dl dt span {
		font-size: 16px;
	}
	/*外部ページへのリンク*/
	#external_links ul {
		display: block;
	}
	#external_links ul li {
		width: 100%;
	}
	#external_links ul li a {
		display:flex;
		width:100%;
		box-sizing:border-box;
	}
	#external_links ul li:last-of-type {
		margin-bottom: 0;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_info h3.info {
		text-align:center;
		font-size: 20px;
	}
	#top_msg .box .txt_box {
		width: 100%;
	}
	#top_msg .box .img_box {
		position: relative;
		width: 100%;
	}
	#top_msg .box .img_box .img {
		margin-bottom: 30px;
	}
	#top_msg .box .img_box .img img {
		height: 150px;
		border-radius: 0 30px 30px 30px;
	}
	#top_msg .box .img_box .img.img02 img {
		border-radius: 30px 0 30px 30px;
		margin-left: 0;
		right: -45px;
	}
	#top_msg .ryojutsu {
		padding: 20px;
		padding-top: 30px;
		border-radius: 15px;
	}
	#top_msg .ryojutsu .ttl {
		font-size: 20px;
		left: 10px;
	}
	#top_msg .ryojutsu::before {
		border-radius: 13px;
	}
	#top_service .box {
		width: 100%;
		margin-bottom: 30px;
	}
	#top_service .box:last-of-type {
		margin-bottom: 0;
	}
	#top_contents .box {
		border-radius: 15px;
	}
	#top_contents .box .img,#top_contents .box dl {
		width: 100%;
	}
	#top_contents .box .img {
		width: 80%;
		margin: 0 auto;
	}
	#top_contents .box dt {
		font-size: 20px;
	}
	/*(一社)東京都療術師会の歩み*/
	#top_history dl:not(:last-child)::after {
		bottom: -25px;
		left: 11px;
	}
	#top_history dl + dl {
		margin-top: 20px;
	}
	#top_history dl dt {
		font-size: 18px;
	}
	#top_history dl dt span {
		font-size: 14px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_history dl dt {
		font-size: 16px;
	}
}