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

.obj-fit img{
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.br-tb{
	display: none;
}

.br-sp{
	display: none;
}

.br-tbsp{
	display: none;
}

#message.cnt_area .wrap.inn{
	margin-top: -200px;
}

#message .page_ttl {
	font-size: 3.4rem;
}

#message .message_body {
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 0;
}

#message .profile_img{
	max-width: 480px;
	margin: 0 auto;
}

#message .message_intro{
	margin-top: 40px;
}

#message .message_intro p {
	font-size: 1.6rem;
	line-height: 1.9;
	margin-bottom: 16px;
}

#message .message_intro a{
	text-decoration: underline;
	color: #006cc9;
	transition: all .3s;
}

#message .message_intro a:hover{
	opacity: .7;
}

#message .message_intro .message_lead {
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1.7;
	margin-bottom: 24px;
	text-align: center;
}

#message .message_intro .message_lead span {
    display: inline;
    position: relative;
    background: linear-gradient(to top, rgba(0, 108, 201, 0.1) 19px, transparent 19px);
}

#message .message_intro .message_signature {
	margin-top: 24px;
	margin-left: auto;
	width: fit-content;
	text-align: left;
}

#message .message_intro .message_signature_role {
	font-size: 1.5rem;
	margin-bottom: 4px;
}

#message .message_intro .message_signature_name {
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 0;
}

/* ボタン */
.underpage-btn__common{
	text-align: center;
}

.underpage-btn-text {
  text-align: center;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 500;
}

.underpage-btn-wrap {
  margin-top: 1.5rem;
  display: flex;
  gap: 4rem;
}

.underpage-btn {
  max-width: 400px;
  width: 100%;
  padding-block: 1rem;
}

.underpage-btn--reserve {
  background: #ff7646;
  display: flex;
  align-items: center;
  justify-content: center;
}

.underpage-btn--reserve-text {
  color: #fff;
  font-size: clamp(14px, 1.16vw, 22px);
  font-weight: 700;
}

.underpage-btn-icon {
  max-width: clamp(18px, 1.47vw, 28px) !important;
  width: 100%;
  height: auto;
  margin: 0 !important;
}

.underpage-btn--tel {
  border: 3px solid #2666c4;
  background: #fff;
  display: flex;
  gap: 1.6rem;
  align-items: center;
  justify-content: center;
  pointer-events: auto !important;
}

.underpage-btn--tel-text-wrap {
  color: #2666c4;
  display: flex;
  flex-direction: column;
}

.underpage-btn--tel-text {
  font-size: clamp(9px, 0.74vw, 14px);
  font-weight: 700;
  line-height: 1;
}

.underpage-btn--tel-number {
  font-size: clamp(19px, 1.58vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.underpage-btn--tel-time {
  font-size: clamp(6px, 0.53vw, 10px);
  font-weight: 500;
  line-height: 1;
}
.underpage-btn-text {
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 600;
}

.underpage-btn-wrap{
  justify-content: center;
}

.underpage-btn {
    display: flex;
    align-items: center;
    justify-content: center;  
}

/* 経歴 */
#message .message_achievements {
	background: #F4F8FB;
	margin: 80px -75px 0;
	padding: 80px 75px;
}

.block_ttl{
  font-weight: bold;
  font-size: 2.4rem;
  text-align: center;
  color: #006CC9;
  position: relative;
  margin-bottom: 32px;
	padding-bottom: 30px;
  line-height: 1.68;
	border-bottom: 1px solid #006CC9;
}

.block_ttl span {
    display: inline;
    position: relative;
    background: linear-gradient(to top, rgba(0, 108, 201, 0.1) 19px, transparent 19px);
}

#message .message_stats {
	display: flex;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}

#message .message_stats__item {
	flex: 1;
	background: #fff;
	padding: 20px 16px;
	text-align: center;
}

#message .message_stats__label {
	font-size: 1.6rem;
	margin-bottom: 8px;
	font-weight: 700;
}

#message .message_stats__value {
	font-size: 1.6rem;
	font-weight: bold;
	color: #006cc9;
}

#message .message_stats__value--text {
	font-size: 2.4rem;
	padding-top: 10px;
}

#message .message_stats__num {
	font-size: 4rem;
}

#message .message_stats__note {
	font-size: 1.3rem;
	color: #666;
	text-align: right;
	margin: 8px 0 40px;
}

#message .message_achievements__block {
	margin-bottom: 40px;
}

#message .message_achievements__block:last-child {
	margin-bottom: 0;
}

#message .message_h3 {
	font-size: 1.9rem;
	font-weight: bold;
	margin: 0 0 16px;
	padding-bottom: 6px;
	border-bottom: 1px solid #CDD6DD;
}

#message .message_list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

#message .message_list li {
	font-size: 1.6rem;
	padding-left: 20px;
	position: relative;
	line-height: 1.7;
}

#message .message_list li::before {
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #006cc9;
	position: absolute;
	left: 4px;
	top: 12px;
}

#message .message_career {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#message .message_career__item {
	display: flex;
	gap: 16px;
}

#message .message_career__num {
	font-size: 2rem;
	font-weight: bold;
	color: #006cc9;
	min-width: 36px;
	line-height: 1.3;
	margin: 0;
}

#message .message_career__body {
	flex: 1;
}

#message .message_career__org {
	font-size: 1.6rem;
	font-weight: bold;
	margin: 0 0 4px;
}

#message .message_career__desc {
	font-size: 1.5rem;
	color: #444;
	margin: 0;
}

#message .message_text{
	font-size: 1.3rem;
	color: #666;
	margin-bottom: 12px;
}

/* 基本プロフィール */
.message_profile {
	padding-top: 80px;
}

.message_profile_table {
	width: 100%;
	border-collapse: collapse;
	/* border-top: 1px solid #CDD6DD; */
	margin-top: 32px;
}

.message_profile_table th,
.message_profile_table td {
	padding: 20px 24px;
	text-align: left;
	border-bottom: 1px solid #CDD6DD;
	font-size: 1.6rem;
	line-height: 1.7;
	vertical-align: top;
}

.message_profile_table th {
	width: 220px;
	font-weight: bold;
	color: #006cc9;
}

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

.message_profile_sns li {
	margin-bottom: 6px;
}

.message_profile_sns li:last-child {
	margin-bottom: 0;
}

.message_profile_sns a {
	color: #006cc9;
	text-decoration: underline;
	word-break: break-all;
	transition: opacity .3s;
}

.message_profile_sns a:hover {
	opacity: .7;
}

/* YouTube動画 */
.message_youtube {
	padding-top: 80px;
}

.message_youtube_lead {
	font-size: 1.6rem;
	line-height: 1.8;
	text-align: center;
}

.message_youtube .youtube_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.4rem;
	margin-top: 32px;
}

.message_youtube .youtube_embed {
	position: relative;
	aspect-ratio: 16 / 9;
	cursor: pointer;
	overflow: hidden;
}

.message_youtube .youtube_embed img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.3s;
}

.message_youtube .youtube_embed:hover img {
	opacity: 0.8;
}

.message_youtube .youtube_play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	background-color: rgba(0, 0, 0, 0.7);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	z-index: 1;
	transition: background-color 0.3s;
}

.message_youtube .youtube_play span {
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 18px;
	border-color: transparent transparent transparent #fff;
	position: relative;
	left: 3px;
	margin: 0 auto;
}

.message_youtube .youtube_caption {
	font-size: 1.4rem;
	line-height: 1.6;
}

/* 税理士法人NCPとは */
.message_ncp {
	padding-top: 80px;
}

.message_ncp_img {
	max-width: 640px;
	margin: 32px auto 0;
	overflow: hidden;
}

.message_ncp_body {
	max-width: 800px;
	margin: 32px auto 0;
	padding-bottom: 80px;
}

.message_ncp_body p {
	font-size: 1.6rem;
	line-height: 1.9;
	margin-bottom: 16px;
}

.message_ncp_body p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
	#message.cnt_area .wrap.inn{
		padding: 10vw 5% 0;
		margin-top: -10vw;
	}
	#message .message_achievements {
		margin: 80px -5% 0;
		padding: 80px 5%;
		flex-direction: column;
		align-items: center;
	}

	.message_youtube .youtube_list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*------------------------------ sp ------------------------------*/
@media screen and (max-width: 767px) {
	.br-tb{
		display: block;
	}
	.br-tbsp{
		display: block;
	}
	#message.cnt_area .wrap.inn {
			margin-top: 0;
			padding: 10vw 5% 0;
			box-shadow: none;
	}
	#message .page_ttl {
		font-size: 2.4rem;
		white-space: nowrap;
	}
	#message .message_body {
    padding: 40px 0 60px;
  }
	#message .message_intro .message_lead {
		font-size: 2rem;
	}
	.block_ttl{
		font-size: 2.2rem;
	}
	#message .message_intro .message_signature_role {
		font-size: 1.3rem;
		margin-bottom: 0;
	}
	#message .message_intro .message_signature_name {
		font-size: 1.7rem;
	}
	#message .message_signature {
		margin-left: 0;
		width: auto;
		text-align: left;
	}
	#message .message_career__item {
		gap: 0;
	}
	.underpage-btn-wrap {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}
	.underpage-btn {
		max-width: 100%;
		width: 100%;
		min-height: 7rem;
		padding: 0.5rem;
	}
	.underpage-btn--reserve-text{
		font-size: 1.8rem;
	}
	.underpage-btn--tel-text {
		font-size: 1.2rem;
	}
	.underpage-btn--tel-number {
    font-size: 2rem;
  }
	.underpage-btn--tel-time{
		font-size: 1rem;
	}
	#message .message_achievements {
		margin: 60px -5% 0;
		padding: 60px 5%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}
	#message .message_stats__note{
		margin: 8px 0 30px;
	}
	#message .message_achievements__block {
			margin-bottom: 30px;
	}
	#message .message_h3 {
		font-size: 1.8rem;
	}
	.message_profile {
		padding-top: 60px;
	}
	.message_profile_table,
	.message_profile_table tbody,
	.message_profile_table tr,
	.message_profile_table th,
	.message_profile_table td {
		display: block;
		width: 100%;
	}
	.message_profile_table tr {
		border-bottom: 1px solid #CDD6DD;
	}
	.message_profile_table th {
		padding: 12px 4px;
		border-bottom: none;
	}
	.message_profile_table td {
		padding: 4px 4px 12px;
		border-bottom: none;
	}
	.message_profile_table th {
		padding-bottom: 4px;
	}
	.message_youtube {
		padding-top: 60px;
	}
	.message_youtube .youtube_list {
		grid-template-columns: 1fr;
	}
	.message_ncp {
		padding-top: 60px;
	}
	.message_ncp_body {
		padding-bottom: 0;
	}
}

@media screen and (max-width: 490px) {
	.br-tb{
		display: none;
	}
	.br-sp{
		display: block;
	}
	#message .message_stats {
		flex-direction: column;
	}
}