@charset 'utf-8';

/* common */

.topics section {
    padding: 40px 20px;
}

/* 見出し修正 */
.topics-body > h2 {
    background-color: #f0f3f5;
    border-radius: 8px;
    font-weight: bold !important;
    font-size: 2.6rem;
    line-height: 1.7;
    margin: 25px 0 !important;
    padding: 10px 20px;
}

.topics-body > h3 {
    position: relative;
    font-weight: bold !important;
    font-size: 2rem;
    line-height: 1.7;
    margin: 15px 0 !important;
    padding: 15px;
}
.topics-body > h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: #46a3a8;
}

.topics-body > h4 {
    font-weight: bold !important;
    font-size: 1.8rem;
    border-left: solid 1px #46a3a8;
    margin: 15px 0 !important;
    padding-left: 5px;
}
.topics-body p {
    line-height: 1;
}
.topics-body strong {
    background: linear-gradient(transparent 60%, #fff89a 60%);
    font-weight: bold;
}
/* 見出し修正 */

.topics section.breadcrumbs {
    padding: 5px 1em;
}

.topics section.topics-lists {
}

.topics section.topics-lists .inner {
    max-width: 1260px;
    margin: 0 auto;
}
/*
.topics section ul {
	list-style: none;
	padding: 0;
}
*/
.topics section .main-block.fadein.show {
    background: rgb(234 234 234);
}

/*.topics section .main-block .header-block.flex h2 {*/
.topics section .main-block .header-block.flex h1 {
    color: #302d2c;
}

/* 統一性が無いので消してみる　20230331 sakai
	.topics section.breadcrumbs {
		background: none;
		color: #444;
		background: #eaeaea;
	}

		.topics section.breadcrumbs ul li,
		.topics section.breadcrumbs ul li a {
			color: #444444;
		}
			.topics section.breadcrumbs .inner ul li::after {
				background-image: url(../img/common/icon-arrow-02-gry.png);
			}
	*/
.topics section.topics-lists {
    padding: 20px;
}

.topics section.topics-lists .inner .section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topics section.topics-lists .inner .section-head ul.flex.category-lists {
    gap: 1em;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.topics section.topics-lists .inner .section-head ul.flex.category-lists a {
    background: #ccc;
    color: #ffffff;
    padding: 0.2em 2em;
    font-size: 1.4rem;
    font-weight: normal;
    border-radius: 100px;
}

.topics section.topics-lists .inner .section-head ul.flex.category-lists li.active h2 {
    display: inline-flex;
}

.topics section.topics-lists .inner .section-head ul.flex.category-lists li.active a {
    background: #000001;
    margin: 0;
}

.topics section.topics-lists h3 {
    /*font-size: 3.2rem;*/
    font-size: 16px;
    margin-top: 0px;
    font-weight: normal;
}

.topics section.topics-lists h3.title {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    /*font-size: 16px;*/
    font-size: 1.5rem;
}
/*
.topics section.topics-lists ul {
	margin: 0;
	display: flex !important;
}
*/
.topics section.topics-lists .section-body ul.flex {
    margin: 60px 0;
    flex-wrap: wrap;
    gap: 40px;
}

.topics section.topics-lists .section-body ul.flex li {
    line-height: 1.4;
    font-weight: normal;
    width: calc(25% - 30px);
    overflow: hidden;
    position: relative;
}

.topics section.topics-lists .section-body ul.flex li img {
    /*width: 100%;*/
    object-fit: cover;
    /*height: 150px;*/
    width: 279px;
    height: 157px;
}

.topics.detail section.topics-list {
}

.topics.detail section.topics-list .inner {
    max-width: 1150px;
    margin: auto;
}

.topics.detail section.topics-list .inner .topics-head {
    margin-bottom: 10px;
}

/*.topics.detail section.topics-list .inner .topics-head h3 {*/
.topics.detail section.topics-list .inner .topics-head h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    margin-top: 0;
}

.topics.detail section.topics-list .inner .topics-head .flex {
    gap: 2em;
    align-items: center;
    font-weight: normal;
}

.topics.detail section.topics-list .inner .topics-head .flex p {
    margin: 0;
}

.topics.detail section.topics-list .inner .topics-body {
    /*background-color: papayawhip;*/
    background-color: #fff;
    padding: 10px;
}

.topics.detail section.topics-list .inner .topics-body figure {
    margin: 60px 0;
}

.topics.detail section.topics-list .inner .topics-body figure img {
    width: 100%;
}

.topics.detail section.topics-list .inner .topics-body p {
    line-height: 1.7 !important;
    font-weight: normal;
}

@media screen and (max-width: 1320px) {
    .topics .wrapper {
        padding-top: 0px;
    }

    .topics.detail section.kv.cm {
        /* display: none; */
    }
}

@media screen and (min-width: 1025px) {
}

@media screen and (max-width: 1024px) {
    .topics .wrapper {
        padding-top: 0px;
    }

    .topics.detail section.kv.cm {
        /* display: none; */
    }

    .topics section.topics-lists .inner .section-head ul.flex.category-lists a {
        font-size: 1.4rem;
        margin-bottom: 0;
        display: inline-block;
    }

    .topics section.topics-lists .inner .section-head ul.flex.category-lists {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .topics section.topics-lists .section-body ul.flex li {
        width: 100%;
    }

    .topics.detail section.topics-list .inner .topics-head h3 {
        font-size: 2.4rem;
    }

    .topics.detail section.topics-list .inner .topics-head h1 {
        font-size: 2.3rem;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .topics section.topics-lists h2 {
        margin: 0px;
    }
}
/***************************************************************************/
@media screen and (max-width: 600px) {
    .topics-body > h2 {
        font-size: 2rem;
        line-height: 1.5;
        margin: 20px 0 !important;
        padding: 5px 10px;
    }

    .topics-body > h3 {
        position: relative;
        font-weight: bold !important;
        font-size: 1.8rem;
        line-height: 1.5;
        margin: 20px 0 !important;
        padding: 10px;
    }

    .topics-body > h3 span::before {
        left: 0;
    }

    .topics-body > h4 {
        margin: 15px 0 !important;
        padding-left: 1px;
    }

    .topics-body > h4 span {
        font-weight: bold !important;
        font-size: 2rem;
    }
}
