@charset "utf-8";
/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トラステック標準WEBサイト PHP + BootStrap
宮川動物病院　カスタム対応
	ver.2025.07.09.miyagawa-ah.com
	新着情報・お知らせ　スタイルシート
────────────────────────────────────────
FileName:		/resources/css/topics.css
Editor:			TRUSTEC
Description:	新着情報・お知らせ　スタイルシート。
────────────────────────────────────────
2025/05/30:		サンプル開発開始。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/





/* ::::: [CUSTOM PROPERTIES] ::::: */
:root {
}





/* ::::: [COMMON-PARTS: OVER WRITE] ::::: */
/* ::::: [BUTTON-STYLES: BTN-AND-MORE] ::::: */
#topics-page-title {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/topics/topics-intro-background.jpg);
}

@media(max-width: 767px){
    #topics-page-title {
        background-image: url(../images/topics/topics-intro-background-md.jpg);
        padding-top: 1rem !important;
    }
}

/* Setting
--------- --------- --------- ------- */
.btn-outline-andmore,
.btn-andmore {
	margin: auto;
    margin-bottom: 1em;
}

.btn-andmore .href-txt,
.btn-outline-andmore .href-txt{
    margin-right: 0;
    margin-left: 2.5em;
    line-height: 2em;
    width: 11em;
    text-align: start;
}
.href-icon{
    left: 1em;
}
.href-icon:before, .href-icon:after {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2em;
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    top: 0;
    right: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.6s;
    justify-content: center;
    align-items: center;
}
.href-icon:after {
  transform: translateX(100%);
}
.btn-outline-andmore{
    background-color: #ffffff;
    color: #6a9e5e !important;
}
.btn-outline-andmore .href-icon{
	background-color: #6a9e5e;
	color: #ffffff !important;
}

@media screen and (max-width: 1000px) {
	.btn-outline-andmore:active .href-icon{
		background-color: #ffffff;
		color: #6a9e5e !important;
	}
	.btn-andmore:active + .href-icon{
		transition: .3s;
		color: #6a9e5e !important;
		background-color: #ffffff !important;
	}
	.btn-outline-andmore:active{
		background-color: #6a9e5e;
		color: #ffffff !important;
	}
	.btn-andmore:active {
		background-color: #ffffff;
		color: #6a9e5e !important;
	}
	.btn-outline-andmore:active .btn-outline-andmore:before,
	.btn-andmore:active .href-icon:before{
		animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
		animation-delay: 0s;
	}
	.btn-outline-andmore:active .href-icon:after,
	.btn-andmore:active .href-icon:after{
		animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
		animation-delay: 0.2s;
	}
}

 /*PCの時は:hover*/
@media screen and (min-width: 1001px) {
	.btn-andmore:hover {
		background-color: #ffffff;
		color: #6a9e5e !important;
	}
	.btn-outline-andmore:hover{
		background-color: #6a9e5e;
		color: #ffffff !important;
	}
	.btn-outline-andmore:hover .href-icon{
		transition: .3s;
		background-color: #ffffff !important;
		color: #6a9e5e !important;
	}
	.btn-andmore:hover .href-icon {
		transition: .3s;
		color: #ffffff !important;
		background-color: #6a9e5e;
	}
	.btn-outline-andmore:hover .href-icon:before,
	.btn-andmore:hover .href-icon:before{
		animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
		animation-delay: 0s;
	}
	.btn-outline-andmore:hover .href-icon:after,
	.btn-andmore:hover .href-icon:after{
		animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
		animation-delay: 0.2s;
	}
}

@keyframes transformLeftRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes transformRightLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* image
--------- --------- --------- ------- */
.topics-image-container{
    padding: 0;
	margin: auto;
    margin-bottom: 1rem;
	width: 100%;
	height: 57vh;
}
.slick-list{
	border-radius: 1rem;
}
.topics-image-container figure{
    object-fit: cover;
    width: fit-content;
	margin-bottom: 0;
    height: 57vh;
}
.topics-image-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	height: fit-content;
}
.topics-image-single{
	margin: auto;
    max-height: 650px;
    object-fit: contain;
    max-width: 1094px;
    overflow: hidden;
}
.topics-image-section .single figure{
	margin: auto;
}
.topics-image-section .multiple{
    width: 100%;
}
.topics-image-multiple{
	margin: auto;
    max-height: 500px;
    object-fit: contain;
    max-height: 55vh;
    overflow: hidden;
}
.search-photo-nav-wrap{
	width: 100%;
	margin-left: 0;
}
.search-photo-nav .slick-track{
	width: 100% !important;
}
.thumbnail{
	height: 230px !important;
	width: 32% !important;
    text-align: center;
    margin: 0 1%;
    margin-bottom: 1rem;
    overflow: hidden;
}
.thumbnail:first-child{
	margin-left: 0;
}
.thumbnail:last-child{
	margin-right: 0;
}
.thumbnail:not(.slick-current) {
	filter: brightness(70%);
}
.thumbnail img{
    object-fit: cover;
	object-position: center;
    overflow: hidden;
	width: 100%;
	height: 100%;
	border-radius: 1rem;
}
@media(max-width: 776px){
	.search-photo-nav-wrap{
		display: none;
	}
}
.prev-arrow,
.next-arrow {
    display: block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    top: 45%;
}
.next-arrow {
    right: 0;
}
.prev-arrow {
	left: 0;
    transform: rotate(180deg);
    margin-right: 20px;
}
.prev-arrow::before,
.next-arrow::before{
    position:absolute;
    content: "";
    width:10px;
    height:10px;
    border-right: 2px solid #0d0d0d;
    border-top: 2px solid #0d0d0d;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}


/* ::::: [COMMON-PARTS: OVER WRITE] ::::: */
/* ::::: [TOPICS-LOG-FEED] ::::: */

/* Setting
--------- --------- --------- ------- */
.log-feed.topics {
}
.log-feed.topics .log-feed-wrapper {
}

/**		*/
#select-category {
}





/* ::::: [TOPICS-FEED] ::::: */

/* Setting
--------- --------- --------- ------- */
#topics-feed {
    margin-top: calc(var(--common-margin-width) / 2);
    margin-bottom: calc(var(--common-margin-width) * 1);
}

#topics-feed .topics-list-wrapper {
}

#topics-feed .topics-detail-wrapper {
}

/* List
--------- --------- --------- ------- */
#topics-feed .list-log-feed {
}

#topics-feed {
	--topics-background-color: rgba(0, 0, 0, 0.03);
	--topics-caption-color: #606060;
	border-radius: 1rem;
}

/*	List Item	*/
#topics-feed ul{
	list-style: none;
	margin: auto;
	padding: 0.3em 0;
	width: 100%;
	max-width: 1100px;
}
#topics-feed li {
	width: 100%;
}

#topics-feed .list-log-feed-item {
    display: flex;
    align-items: center;
}

#topics-feed .list-log-feed-item {
}
#topics-feed .list-log-feed-item:first-child {
}
.list-log-feed .list-log-feed-item:not(:last-child){
	border: none;
}
#topics-feed .list-log-feed-item .item-date {
	color: var(--topics-caption-color);
}

/* Detail
--------- --------- --------- ------- */
#topics-feed .detail-log-feed {
}

/*	Picture	*/
#topics-feed .detail-log-feed .feed-detail-picture {
	background-color: var(--topics-background-color);
	padding: 0.5rem;
	height: 100%;
}
#topics-feed .detail-log-feed .feed-detail-picture img {
	width: 100%;
	height: 100%;
	max-width: initial;
	object-fit: contain;
}
@media(max-width: 767px){
	#topics-feed .detail-log-feed .feed-detail-picture,
	.topics-image-container,
	.topics-image-container figure{
		height: 50vh;
	}
}

/* Caption
--------- --------- --------- ------- */
#topics-feed .log-feed-caption {
	color: var(--topics-caption-color);
	font-size: inherit;
	line-height: var(--common-line-height);
}

/* Files
--------- --------- --------- ------- */
.topics-detail-files {
	background-color: var(--topics-background-color);
	font-size: var(--common-font-size-smaller);
	line-height: var(--common-line-height);
	padding: 1em;
	border-radius: 1em;
}

/*	Download & Related Links	*/
#topics-feed .topics-detail-files .log-file-link,
#topics-feed .topics-detail-files .log-related-link {
	font-weight: var(--common-font-weight-bold);
	line-height: var(--common-line-height);
}

/* Select Category
--------- --------- --------- ------- */
#select-category {
}

.selectbox-001 {
	--selectbox-background-color: #f0f0f0;
	--selectbox-color: #404040;
	--selectbox-font-size: var(--common-font-size);
	--selectbox-font-weight: var(--common-font-weight-bold);
	--selectbox-arrow-background-color: #404040;
	--selectbox-arrow-width: 2.5em;

	position: relative;
}

.selectbox-001::before,
.selectbox-001::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.selectbox-001::before {
	background-color: var(--selectbox-arrow-background-color);;
	width: var(--selectbox-arrow-width);
	height: var(--selectbox-arrow-width);
	border-radius: 0 3px 3px 0;
	display: inline-block;
	right: 0;
}

.selectbox-001::after {
	width: 0.5em;
	height: 0.5em;
	border-bottom: 3px solid #fff;
	border-right: 3px solid #fff;
	position: absolute;
	top: 50%;
	right: calc(var(--selectbox-arrow-width) / 2);
	transform: translate(50%, -50%) rotate(45deg);
}

.selectbox-001 select {
	appearance: none;

	background-color: var(--selectbox-background-color);
	color: var(--selectbox-color);
	font-size: var(--selectbox-font-size);
	font-weight: var(--selectbox-font-weight);

	min-width: 16em;
	height: var(--selectbox-arrow-width);
	padding: .4em 3.6em .4em .8em;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.selectbox-001 select:focus {
	outline: 2px solid var(--selectbox-arrow-background-color);
}

/* @media
--------- --------- --------- ------- */
/*	DisplayWidth < XS	*/
@media (max-width: 575px) {
	/**		*/
	#select-category {
	}
	#select-category #code_category {
		width: 100%;
	}
}



#topics-detail-title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 0;
    border-bottom: solid 2px #476b3f;
}
.section-title .title{
    color: var(--common-article-title-color1);
    font-size: max(1.8rem, 2vw);
    letter-spacing: .1em;
    font-weight: 900;
    font-family: var(--common-title-font);
    margin-bottom: .4em;
    line-height: 1.5em;
    text-align: start;
}
.section-title .title:before{
	background-color: #6699cc;
    top: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 5em;
    z-index: -1;
}
.section-title .title:before{
    z-index: -10;
}
@media (max-width: 575px) {
	.section-title .title{
		font-size: max(1.4rem, 1.2vw);
	}
}
.date_up{
    color: #6a9e5e;
    font-size: max(1.2rem, 1.1vw);
    letter-spacing: var(--common-letter-spacing-title);
    font-weight: 900;
    font-family: var(--common-title-font);
	padding-left: 0.3em;
    margin-bottom: 0.1em;
}

.h-topics {
	font-size: 1.5rem;
	font-weight: var(--common-font-weight-bold);
	line-height: var(--common-line-height);
	letter-spacing: 0.05em;

	padding: 0 1rem 0.5rem 1rem;
	border-bottom: solid 0.5rem rgba(0, 0, 0, 0.1);
}

/* @media
--------- --------- --------- ------- */
/*	DisplayWidth < XS	*/
@media (max-width: 575px) {
	.h-topics {
		font-size: 1.2rem;
		font-weight: var(--common-font-weight-bold);
		line-height: var(--common-line-height);
		letter-spacing: 0.05em;
	}
}



#annotation_flg_close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 3.5em 5em;
    margin-top: calc(clamp(4rem, 7vw, 8rem) / 3);
    margin-bottom: calc(clamp(4rem, 7vw, 8rem) / 1.5);
}
.caption_flg_close {
	line-height: 1.8em;
    font-size: max(1.7rem, 1.7vw);
    font-family: var(--common-title-font);
    font-weight: 900;
    width: fit-content;
    text-align: center;
    letter-spacing: .1em;
}
.caption_flg_close::before {
    content: '\f071';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: .5em;
    color: #c23b3b;
}
.annotation_text{
    font-size: max(1rem, 1.05vw);
    line-height: 1.8em;
}
.list-relatedlink li{
	gap: .7em;
    line-height: 2em;
    font-size: max(1rem, 1.05vw);
}
.list-relatedlink li::before{
    content: none;
}


alert alert-empty {

}


#topics-list .list-log-feed-item a {
    width: 100%;
    padding: 0.8em 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5em;
    position: relative;
	transition: all 0.3s ease-out;
	transition: .3s;
}
@media screen and (max-width: 1000px) {
	.list-log-feed-item a:active + .item-title{
		transition: .3s;
		background-color: transparent !important;
		color: #6a9e5e !important;
	}
}

 /*PCの時は:hover*/
@media screen and (min-width: 1001px) {
	.list-log-feed-item a:hover .item-title {
		transition: .3s;
		background-color: transparent !important;
		color: #6a9e5e !important;
	}
}
#topics-list .list-log-feed-item a::after{
	background-color: #476b3f;
	bottom: 0;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .5s;
	width: 100%;
	z-index: 2;
}
#topics-list .list-log-feed-item a::before{
	background-color: #dddddd;
	bottom: 0;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 1;
	opacity: .6;
}
@media (max-width: 767px) {
	#topics-list .list-log-feed-item a  {
		flex-direction: column;
		gap: 0.25em;
	}
}
@media screen and (max-width: 1000px) {
	#topics-list .list-log-feed-item a:active::after {
	  transform-origin: left top;
	  transform: scale(1, 1);
	}
}
 /*PCの時は:hover*/
@media screen and (min-width: 1001px) {
	#topics-list .list-log-feed-item a:hover::after {
	  transform-origin: left top;
	  transform: scale(1, 1);
	}
}

#topics-list .list-log-feed-item .item-data {
    color: #6a9e5e;
    font-size: max(.9rem, .9vw);
    letter-spacing: var(--common-letter-spacing-title);
    font-weight: 900;
    font-family: var(--common-title-font);
}

#topics-list .list-log-feed-item .item-text {
	flex-grow: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: Ellipsis;
	min-width: 0;
	color: var(--common-color);
	font-size: max(1.2rem, 1.1vw);
	font-family: var(--common-subtitle-font);
    letter-spacing: var(--common-letter-spacing-title);
	font-weight: 500;
    margin-bottom: 0.5em;
}
.list-log-feed-item .item-title{
	transition: .3s;
    white-space: break-spaces;
    min-width: 0;
    color: var(--common-color);
    font-size: max(1rem, 1.1vw);
    font-family: var(--common-title-font);
    letter-spacing: var(--common-letter-spacing-title);
    font-weight: 600;
    margin-bottom: 0.5em;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
#topics-detail-text p{
    line-height: 1.8em;
}

.page-number{
	display: inline-block;
	font-size: 1rem;
    font-family: var(--common-title-font);
	color: var(--common-color);
	font-weight: var(--common-font-weight-bold);
	border-bottom: solid 2px #d1d1d1;
	padding: 0.2em 0.3em;
}
.page_now{
	color: var(--common-color);
	border-bottom-color: #476b3f;
}
.page-number:hover{
	border-bottom-color: #476b3f;
	color: var(--common-color);
}