@charset "utf-8";

.notice
{
	display: block;
}

div#related_post_area{
	position: relative;
    overflow: hidden;
}

div#related_post_area a {
    text-decoration: none;
    cursor: pointer;
}

div#related_post_area li, dd {
    list-style-type: none;
}

div#related_post_area h2,
div#related_item_area h2{
	padding: 16px 0 16px 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.5;
}

ul#related-posts {
    display: flex;
    gap: 18px;
    justify-content: left;
	transition: transform 0.3s ease-in-out;
}

ul#related-posts li {
    border: solid #ccc 1px;
    background: #fff;
    box-sizing: border-box;
}

ul#related-posts li a {
    color: #333;
}

ul#related-posts li img {
    object-fit: cover;
    width: 100%;
    height: 200px;
}

ul#related-posts .text {
    padding: 16px;
    text-align: justify;
}

ul#related-posts .text .date {
    font-size: 13px;
    letter-spacing: 0.075em;
    text-align: right;
    margin-bottom: 8px;
    color: #AAAAAA;
}

ul#related-posts .text .title {
    font-size: 18px;
    line-height: 1.5;
}

#related-posts .swiper-slide {
	opacity:0.5 !important;
	height:unset !important;
	width: 35%;
}
  
#related-posts .swiper-slide-active,
#related-posts .swiper-slide-next{
	opacity:1.0 !important;
}

div#related_item_area{
	margin: 32px 0;
	position: relative;
	overflow: hidden;
}

.related-item{
    display: flex;
	flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.related-item a{
	text-decoration: none;
	width: inherit;
}

.related-item .name{
	text-align: left;
    margin: 16px;
    color: #444;
	font-weight: 600;
    font-size: 16px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	-webkit-line-clamp: 2;
}

.related-item .img{
    margin-right: unset !important;
	height: 20vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.related-item .img img{
	background: #FFF;
    background-size: contain;
    object-fit: contain;
    max-height: 20vh;
    max-width: 320px;
    margin: 0 auto;
}

.myItemsSwiper,
.myPostsSwiper{
    z-index: 1;
}

.swiper-button-prev,
.swiper-button-next {
  height: 40px;
  width: 40px;
  color: #000;
  font-weight: 600;
  font-size: 16px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  height: 40px;
  width: 40px;
  margin: auto;
  background-color:rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  z-index: -100;
}

.swiper-button-prev::after {
  left: 16px;
  transform: translateX(-16px);
}

.swiper-button-next::after {
  right: 16px;
  transform: translateX(16px);
}

#search_major_code_area
{
	padding-top: 32px;
	border-top: 1px solid #CCC;
}

#search_other_method_area
{
	margin: 32px 0px 64px 0px;
}

#search_major_code_area .list_title,
#search_other_method_area .list_title
{
	font-size: 16px;
	font-weight: 700;
	color: #3C78D8;
}

#search_major_code_area .list,
#search_other_method_area .list,
#search_part_symp_area .list
{
	flex-wrap: wrap;
}

#search_major_code_area .list a,
#search_other_method_area .list a
{
	margin: 16px 32px 0 0;
	font-size: 12px;
	text-decoration: none;
	color: inherit;
}

#search_major_code_area .list a:hover,
#search_other_method_area .list a:hover
{
	opacity: 0.6;
}

#search_part_symp_area
{
	margin: 0 16px 16px;
	padding-top: 32px;
	border-top: 1px solid #CCC;
}

#search_part_symp_area .list_part
{
	margin-top: 16px;
	font-weight: 700;
	font-size: 12px;
}

#search_part_symp_area .list a
{
	margin: 16px 16px 0 0;
	font-size: 10px;
	text-decoration: none;
	color: inherit;
}

#search_other_method_area .list a
{
	margin: 16px 16px 0 0;
	font-size: 12px;
	text-decoration: none;
	color: inherit;
}

#search_part_symp_area .list a:hover,
#search_other_method_area .list a:hover
{
	opacity: 0.6;
}


/*	mobile	*/
@media screen and (max-width: 430px)
{
	.myItemsSwiper img{
		max-width: 160px !important;
	}

	#related-posts .swiper-slide {
		width: 50%;
	}

	.related-item .name {
		font-size: 14px;
	}

    #search_major_code_area .list_title,
	#search_other_method_area .list_title
	{
		display: flex;
		align-items: center;
		padding: 10px 16px;
		background-color: rgba(30, 70, 155, 0.08);
		border: #000 solid 1px;
		font-size: 14px;
		font-weight: inherit;
		color: inherit;
	}

	#search_major_code_area .list,
	#search_other_method_area .list
	{
		display: none;
		border: solid 1px #000;
		border-top: none;
	}

	#search_major_code_area .list_title::after,
	#search_other_method_area .list_title::after
	{
		display: block;
  		width: 25px;
  		height: 15px;
		margin-left: auto;
		background: url("../img/icon_arrow.png") no-repeat 0;
		background-size: 25px;
		transform: rotate(90deg);
		content: "";
	}

	#search_major_code_area .list_title.disp::after,
	#search_other_method_area .list_title.disp::after
	{
		transform: rotate(270deg);
	}

	#search_major_code_area .list a,
	#search_other_method_area .list a
	{
		display: block;
		margin: 0;
		padding: 8px 40px;
		border-bottom: solid 1px #000;
		background: url("../img/icon_arrow.png") no-repeat 4px;
		background-position: calc(100% - 16px) 50%;
		background-size: 16px;
	}

	#search_major_code_area .list a:last-child,
	#search_other_method_area .list a:last-child
	{
		border-bottom: none;
	}

	#search_other_method_area
	{
    	margin-top: 16px;
	}

	#search_part_symp_area .list_title h2
	{
		font-size: 16px;
	}

	#search_other_method_area .list_title
	{
		display: flex;
		align-items: center;
		padding: 10px 16px;
		background-color: rgba(30, 70, 155, 0.08);
		border: #000 solid 1px;
		font-size: 14px;
		font-weight: inherit;
		color: inherit;
	}

	#search_other_method_area .list_title::after
	{
		display: block;
  		width: 25px;
  		height: 12px;
		margin-left: auto;
		background: url("../img/icon_arrow.png") no-repeat 0;
		background-size: 25px;
		transform: rotate(90deg);
		content: "";
	}

	#search_other_method_area .list_title.disp::after
	{
		transform: rotate(270deg);
	}

	#search_part_symp_area .part_symp_list
	{
		margin-top: 16px;
	}

	#search_part_symp_area .list_part
	{
		padding: 8px 16px;
		background-color: rgba(30, 70, 155, 0.08);
		border: #000 solid 1px;
		border-bottom: none;
		font-size: 12px;
		font-weight: inherit;
	}

	#search_part_symp_area .list_part.disp,
	#search_part_symp_area .list_part:nth-last-child(2)
	{
		border-bottom: #000 solid 1px;
	}

	#search_part_symp_area .list_part:not(:first-child)
	{
		margin-top: 0;
	}

	#search_part_symp_area .list_part:after
	{
	  	display: block;
	  	width: 25px;
	  	height: 12px;
		margin-left: auto;
		background: url("../img/icon_arrow.png") no-repeat 0;
		background-size: 25px;
		transform: rotate(90deg);
		content: "";
	}

	#search_part_symp_area .list_part.disp:after
	{
		transform: rotate(270deg);
	}

	#search_part_symp_area .list
	{
		display: none;
		flex-wrap: wrap;
		padding: 0 20px 16px 8px;
		border-left: solid 1px #000;
		border-right: solid 1px #000;
		padding: 0;
	}

	#search_part_symp_area .list:last-child
	{
		border-bottom: solid 1px #000;
	}

	#search_other_method_area .list
	{
		display: none;
		border: solid 1px #000;
		border-top: none;
	}

	#search_part_symp_area .list a,
	#search_other_method_area .list a
	{
		display: block;
		margin: 0;
		padding: 8px 40px;
		border-bottom: solid 1px #000;
		background: url("../img/icon_arrow.png") no-repeat 4px;
		background-position: calc(100% - 16px) 50%;
		background-size: 16px;
		font-size: 12px;
	}

	#search_part_symp_area .list a
	{
		line-height: 1.2;
	}

	#search_part_symp_area .list a:last-child,
	#search_other_method_area .list a:last-child
	{
		border-bottom: none;
	}

}
