/*!
Theme Name: ROSE LABO NEW
Author: Ruska Inc.
Version: 1.0.0
*/

/* コンテンツ */

.main .page_header {
	background-color: #fafafa;
	background-size: 500px auto;
	padding: 2rem 0;
	margin: 0 0 2rem;
	text-align: center;
}
.main .page_header_title {
	font-family: 'futura-pt', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
	font-size: 2.5rem;
	font-weight: normal;
	margin: 0 0 1rem;
	position: relative;
	line-height: normal;
	text-align: center;
}
.main .page_header_title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #202020;
	bottom: 0;
	width: 3rem;
	margin: auto;
}
.main .page_header_text {
	text-align: inherit;
	margin: 0;
	font-size: 0.75rem;
	line-height: normal;
}
.post_header {
	margin: 4rem 0;
}
.post_header_title {
	font-family: 'futura-pt', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
	font-size: 2rem;
	font-weight: normal;
	margin: 0;
}
.post_header_date {
	margin: 0;
}
.post_header_image {
	margin-top: 2rem;
}
.post_header_image img {
	display: block;
	width: 100%;
}
.footer {
	margin-top: 4rem;
}
.main .inner {
	padding: 0 25px;
	box-sizing: content-box;
}

/* アーカイブ */

.archive_ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.archive_li {
	width: calc(50% - 1rem);
	margin-bottom: 3rem;
}
.archive_li:nth-child(2n) {
	margin-left: 2rem;
}
.archive_link {
	color: inherit;
}
.archive_image {
	height: 200px;
	padding: 0.5rem;
	background-color: #e1e2e3;
	display: block;
	margin-bottom: 1rem;
}
.archive_image img {
	object-fit: contain;
	height: 100%;
	width: 100%;
}
.archive_date {
	display: block;
	font-size: 0.75rem;
}
.archive_title {
	margin: 0.25rem 0 0;
	line-height: normal !important;
}
.page-numbers {
	display: flex;
	justify-content: center;
	margin: 4rem 0 0;
	padding: 0;
	list-style: none;
}
.page-numbers .page-numbers.current {
	border-bottom: 1px solid;
	font-weight: bold;
}
.page-numbers .page-numbers {
	margin: 0 1rem;
	font-size: 0.75rem;
	display: block;
	width: 1.5rem;
	text-align: center;
	line-height: 1.5rem;
	color: inherit;
}
.journal_child_header {
	margin-bottom: 4rem;
}
.journal_child_header_title {
	margin: 0 !important;
}
.journal_child_header img {
	display: block;
	width: 100%;
}
.journal_child_header p {
	margin: 1rem 0 0;
}

/* ジャーナル */

.top_journal {
	background-color: #FFF;
}
.top_journal_list {
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
}
.top_journal_list li:not(:first-child) {
	margin-top: 32px;
}
.top_journal_list a {
	display: grid;
	grid-column-gap: 16px;
	grid-template-columns: calc(50% - 16px) 1fr;
	grid-template-rows: auto auto 1fr;
	line-height: normal;
	color: inherit;
}
.top_journal_image {
	align-self: start;
	background-color: #E1E2E3;
	grid-column: 1/2;
	grid-row: 1/4;
	padding: 8px;
}
.top_journal_image img {
	display: block;
	width: 100%;
}
.top_journal_cat_title {
	font-size: 20px;
	grid-column: 2/3;
	grid-row: 1/2;
	margin-bottom: 8px;
}
.top_journal_date {
	align-self: end;
	font-size: 12px;
	grid-column: 2/3;
	grid-row: 2/3;
}
.top_journal_title {
	align-self: start;
	font-weight: normal;
	grid-column: 2/3;
	grid-row: 3/4;
}

/* 記事 */

.main h1,
.main h2,
.main h3,
.main h4,
.main h5,
.main h6 {
	margin: 1.5em auto;
}
.main p {
	line-height: 1.8;
	margin: 1.2em 0;
}
.main p a {
	color: #D283A0;
	text-decoration: underline;
	word-break: break-all;
}
/* .contents.post img {
	width: auto;
} */

@media (min-width: 768px) {
	
	.archive_image {
		padding: 1rem;
	}

	/* ジャーナル */

	.top_journal_list {
		display: flex;
		justify-content: space-between;
	}
	.top_journal_list li:not(:first-child),
	.top_journal_list li {
		margin: 0;
		width: calc(33.33% - 16px);
	}
	.top_journal_list a {
		display: block;
	}
	.top_journal_image {
		display: block;
		margin-bottom: 16px;
	}
	.top_journal_cat_title {
		display: block;
	}
	.top_journal_title {
		margin-left: .5em;
	}
	.top_media_image {
		padding: 16px;
	}
}
@media (min-width: 1024px) {
	
	/* コンテンツ */

	.post_header_image img {
		max-width: 600px;
		max-height: 600px;
		object-fit: contain;
		margin: auto;
	}

	/* アーカイブ */

	.archive_li {
		width: calc(33.33% - 1rem);
	}
	.archive_li:nth-child(2n) {
		margin-left: 0;
	}
	.archive_li:not(:nth-child(3n)) {
		margin-right: 1.5rem;
	}
	.archive_image {
		height: 300px;
	}
	.archive_date {
		font-size: 0.875rem;
	}
	.page-numbers .page-numbers {
		width: 2rem;
		font-size: 1rem;
	}

	/* ジャーナル */

	.top_journal_list li:not(:first-child),
	.top_journal_list li {
		width: calc(33.33% - (64px / 3));
	}
	.top_journal_cat_title {
		font-size: 24px;
	}
	.top_news_list {
		margin: 0 auto 48px;
		padding: 48px;
		width: 75%;
	}
}

  /* journal */
  #journal .text_box .category{
    margin: 1rem 1rem 1rem 0;
    padding: 0.2rem 0.5rem;
    display: inline-block;
    background: #ecf0f1;
    color: #829aa8;
    font-size: 12px;
    line-height: 1.3;
  }

  #journal .slick-slide img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    background: #f8f8f8;
    cursor: pointer;
  }

  #journal .slick-arrow.prev-arrow{
    left: 150px;
    cursor: pointer;
  }

  #journal .slick-arrow.next-arrow {
    right: 150px;
    cursor: pointer;
  }

  #journal .slick-slider:before,
  #journal .slick-slider:after{
    position: absolute;
    width: 20%;
    opacity: 0.8;
    height: 100%;
    content: "";
    display: block;
    background: #fff;
    top: 0;
    bottom: 0;
    z-index: 1;
  }

  #journal .slick-slider:before{
      left: 0;
  }

  #journal .slick-slider::after{
    right: 0;
  }

  #journal .text_box .title{
    margin-bottom: 0.5em;
    display: block;
    color: #808080;
    font-size: 16px;
    line-height: 1.5;
  }

  #journal .text_box .date{
    display: block;
    color: #d5d5d5;
    font-size: 12px;
  }

  #journal .slick-initialized .slick-slide{
      margin: 0 1rem;
  }
  
  @media screen and (min-width: 769px) {

    #journal #pageTop .section_area .section_container{
        width: 100%;
        max-width: initial;
        margin: 0 auto;
    }
  
  }