@charset "UTF-8";
/* ==========================================
   コメントカルーセル
   ========================================== */

.mog-comment-carousel {
	margin-top: 0;
	padding-top: 40px;
}

.mog-comment-carousel__wrapper {
	position: relative;
	padding: 0;
	margin-bottom: 20px;
}

/* カルーセルリスト */
.mog-comment-carousel__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Slickのoverflow: hiddenを上書き */
.mog-comment-carousel__list.slick-slider {
	overflow: visible !important;
	padding: 0 14px;
	box-sizing: border-box;
}

.mog-comment-carousel__list .c-comment__list-item {
	padding: 15px;
	margin: 0 8px;
	background: #FFFFFF;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
	box-sizing: border-box;
}

/* Slick スライド設定 */
.mog-comment-carousel__list.slick-initialized .slick-slide {
	height: auto;
}

.mog-comment-carousel__list.slick-initialized .slick-track {
	display: flex;
	align-items: flex-start;
}

.mog-comment-carousel__list.slick-initialized .slick-slide > div {
	height: auto;
}

.mog-comment-carousel__list.slick-initialized .slick-slide > div > li {
	height: auto;
}

/* カスタム矢印ボタン */
.mog-comment-carousel__arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 100;
	display: block;
}

.mog-comment-carousel__arrow--prev {
	left: -5px;
}

.mog-comment-carousel__arrow--next {
	right: -5px;
}

.mog-comment-carousel__arrow:before {
	font-family: 'design_plus';
	font-size: 28px;
	font-weight: bold;
	color: var(--tcd-primary-color);
	display: block;
	line-height: 40px;
	text-align: center;
}

.mog-comment-carousel__arrow--prev:before {
	content: '\e90f';
}

.mog-comment-carousel__arrow--next:before {
	content: '\e910';
}

/* 無効化された矢印 */
.mog-comment-carousel__arrow.is-disabled {
	cursor: default;
	opacity: 0.3;
}

.mog-comment-carousel__arrow.is-disabled:before {
	color: var(--tcd-primary-color);
}

/* ドットナビゲーション */
.mog-comment-carousel__list .slick-dots {
	position: relative;
	bottom: auto;
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.mog-comment-carousel__list .slick-dots li {
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
}

.mog-comment-carousel__list .slick-dots li button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid var(--tcd-primary-color);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0;
	color: transparent;
}

.mog-comment-carousel__list .slick-dots li button:before {
	display: none;
}

.mog-comment-carousel__list .slick-dots li.slick-active button {
	background: var(--tcd-primary-color);
	border-color: var(--tcd-primary-color);
}

/* コメントアイテム内のスタイル調整 */
.mog-comment-carousel .c-comment__item-header {
	margin-bottom: 10px;
}

.mog-comment-carousel .c-comment__item-body {
	font-size: 14px;
	line-height: 1.6;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.mog-comment-carousel .c-comment__item-body p {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 15px;
	padding: 0 8px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.mog-comment-carousel .c-comment__item-date {
	font-size: 12px;
	color: #999;
}

.mog-comment-carousel .p-comment__item-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.mog-comment-carousel .p-comment__item-author_thumbnail {
	position: relative;
	display: inline-block;
	flex: 0 0 40px;
	height: 40px;
	margin-right: 0;
	border-radius: 9999px;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}

.mog-comment-carousel .p-comment__item-author_thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	overflow: hidden;
}

/* WordPress標準のavatar */
.mog-comment-carousel .avatar,
.mog-comment-all__list .avatar {
	display: block;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	min-height: 40px;
	border-radius: 9999px;
	object-fit: cover;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}

.mog-comment-carousel .p-comment__item-author_name {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	max-height: 3.6em;
	overflow: hidden;
	word-break: break-all;
}

/* もっと見る / 閉じるボタン */
.mog-comment-carousel__more,
.mog-comment-all__close {
	text-align: center;
	margin-top: 20px;
}

/* 全件表示（縦並び） */
.mog-comment-all__wrapper {
	padding: 0;
}

.mog-comment-all__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mog-comment-all__list .c-comment__list-item {
	padding: 15px;
	margin: 0;
	background: #FFFFFF;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
	box-sizing: border-box;
}

.mog-comment-all__close {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* フォームラッパー */
.mog-comment-carousel .c-comment__form-wrapper {
	margin-top: 50px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

/* ==========================================
   iftec.cssから移行
   ========================================== */

/* コメント著者情報（名前と年代・職業を縦並び） */
.mog-comment-carousel .p-comment__item-author_info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* 年代・職業の横並びコンテナ */
.mog-comment-carousel .p-comment__item-author_meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #666666;
}

/* 年代表示 */
.mog-comment-carousel .p-comment__item-author_age {
	font-size: 12px;
	color: #666666;
	font-weight: 400;
	margin: 0;
	line-height: 1;
	letter-spacing: 0.04em;
}

/* 職業表示 */
.mog-comment-carousel .p-comment__item-author_job {
	font-size: 12px;
	color: #666666;
	font-weight: 400;
	margin: 0;
	line-height: 1;
	letter-spacing: 0.04em;
}

/* コメント日時を非表示 */
.mog-comment-carousel .c-comment__item-date {
	display: none !important;
}

/* トラックバック機能を非表示 */
.mog-comment-carousel #js-comment__tab {
	display: none !important;
}

.mog-comment-carousel #js-trackback-area {
	display: none !important;
}

.mog-comment-carousel .c-comment__item-act {
	margin-top: 0;
	padding-left: 0;
	position: static;
}

/* コメント送信ボタン */
.mog-comment-carousel .c-comment__form-submit.p-button {
	display: block;
	height: auto;
	min-width: 168px;
	width: 168px;
	line-height: 1;
	padding: 12px 8px;
	border-radius: 9999px;
	margin-top: 12px;
}

