/* ir
---------------------------*/
.ir-news__announcement {
	a:hover {
		.ir-news__announcement--txt {
			color: var(--green);
		}

		.ir-news__announcement--icon {
			color: var(--black);
		}
	}

	.ir-news__announcement--icon-pdf {
		border: 1px solid var(--green);
	}

	@media (max-width: 767px) {
		.ir-news__announcement--txt {
			font-size: .875rem;
		}
	}
}

.ir__h2 {
	padding-bottom: 8px;
	margin-bottom: 1.43em;
	/* (40 / 28)=1.43 */
	position: relative;

	&:before {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 1px;
		background: var(--gray-100);
	}

	&:after {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		bottom: 0;
		width: 40px;
		height: 1px;
		background: var(--green);
	}
}

.ir__h2--single {
	padding-bottom: 8px;
	margin-bottom: 1.43em;
	/* (40 / 28)=1.43 */
	position: relative;

	&:after {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		bottom: 0;
		width: 40px;
		height: 1px;
		background: var(--green);
	}
}

/* ir タブ切り替え
---------------------------*/
.ir-news__tab {
	&.active {
		color: #fff;
		background: var(--green);
	}

	@media (max-width: 767px) {
		font-size: .8125rem;
	}
}

.ir-news__announcement {
	display: none;
}

.ir-news__announcement.show {
	display: block;
}

/* ir 共通レイアウト
---------------------------*/
.disclosure__box {
	&:not(:first-child) {
		border-bottom: 1px solid var(--gray-100);
	}
}

/* ir faq
---------------------------*/
.qa-box {
	margin-bottom: 16px;
	background-color: #f2f2f2;
	border-radius: 5px;
	font-size: .875rem;

	summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
		padding: 2em 3em 2em 5.5em;
		color: var(--black);
		background: #fff;
		border-radius: 4px;
		cursor: pointer;

		&::-webkit-details-marker {
			display: none;
		}

		&::before {
			content: '';
			display: block;
			position: absolute;
			top: 0;
			left: 32px;
			bottom: 0;
			margin: auto;
			width: 32px;
			height: 32px;
			background: url(../../images/icons/icon-q_green.webp) no-repeat center /contain;
			z-index: 10;
		}

		&::after {
			transform: translateY(-25%) rotate(45deg);
			width: 10px;
			height: 10px;
			margin-left: 10px;
			border-bottom: 2px solid var(--black);
			border-right: 2px solid var(--black);
			content: '';
			transition: transform .3s;
			position: absolute;
			right: 1em;
		}
	}

	p {
		transform: translateY(-10px);
		opacity: 0;
		margin: 0;
		padding: 2em 3em;
		color: var(--black);
		background: #fff;
		border-radius: 0 0 4px 4px;
		transition: transform .5s, opacity .5s;
	}

	&[open] {
		summary {
			color: #fff;
			background: var(--green);
			border-radius: 4px 4px 0 0;

			&::after {
				transform: rotate(225deg);
				border-color: #fff;
			}

			&::before {
				background: url(../../images/icons/icon-q_white.webp) no-repeat center /contain;
			}
		}

		p {
			transform: none;
			opacity: 1;
		}
	}

	@media (max-width: 767px) {
		summary {
			padding: 1em 3em 1em 3.5em;

			&::before {
				left: 16px;
				width: 24px;
				height: 24px;
			}
		}

		p {
			padding: 1em 2em;
		}
	}
}

#investor-business {
	.product__img {
		width: 100%;
	}
}

.page-template-page-ir_other .ir-news__announcement .eirDataArea .eirBlock:nth-of-type(3) {
	display: none !important;
}


/* すべて */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="0"] a {
	background-color: #090625;
} */

/* 有報 */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="3"] a {
	background-color: rgb(221, 123, 40);
} */
/* 決算 */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="2"] a {
	background-color: #3A91B3;
} */

/* 適時開示 */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="1"] a {
	background-color: #3B69AF;
} */

/* .s_eirTab .activeTarget.active[data-eir-ctrl="3"] a {
	background-color: #045F38;
} */
/* IR資料 */

/* 株主総会 */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="4"] a {
	background-color: #3A906B;
} */

/* お知らせ */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="5"] a {
	background-color: #7F59BB;
} */

/* PR情報 */
/* .s_eirTab .activeTarget.active[data-eir-ctrl="6"] a {
	background-color: rgba(183, 41, 64, 0.6);
} */
.s_eirTab li a {
    border-radius: 0.25rem;
}

/* タブ別背景色定義 */
.s_eirTab li.tab-all.active a {
	background-color: #090625;
}
.s_eirTab li.tab-disclosure.active a {
	background-color: #3B69AF;
}
.s_eirTab li.tab-financial.active a {
	background-color: #3A91B3;
}
.s_eirTab li.tab-securities.active a {
	background-color: rgb(221, 123, 40);
}
.s_eirTab li.tab-meeting.active a {
	background-color: #3A906B;
}
.s_eirTab li.tab-notice.active a {
	background-color: #7F59BB;
}
.s_eirTab li.tab-pr.active a {
	background-color: rgba(183, 41, 64, 0.6);
}
.s_eirTab li.tab-cg.active a {
	background-color: #045F38;
}




.ir-contact {
	&:hover {
		.multiply {
			opacity: 0.4;
		}

		color: var(--green);

		.btn-common__txt {
			&::after {
				transform: scaleX(1);
			}
		}

		.btn-common__photo {
			background: var(--green);
			border: 2px solid var(--green);
			border-radius: 28px;
		}

		.btn-common__arrow {
			display: none;
		}

		.btn-common__arrow--hover {
			display: block;
		}
	}
}
