/*
 Theme Name:   tankyulink
 Theme URI:    tankyulink
 Description:  WordPress Theme for tankyulink
 Author:       DONGURI
 Author URI:   https://www.don-guri.com/
 Template:     twentynineteen
 Version:      0.0.1
 Tags:         news, entertainment
 Text Domain:  twentynineteen
*/
@charset "utf-8";

/*!
 * mediaqueries
 
 * @media screen and (max-width: 1280px) {}
 * @media screen and (max-width: 1024px) {}
 * @media screen and (max-width: 767px) {}
 * @media screen and (max-width: 567px) {}
 * @media screen and (max-width: 374px) {}
 
 * @media screen and (min-width: 375px) {}
 * @media screen and (min-width: 568px) {}
 * @media screen and (min-width: 768px) {}
 * @media screen and (min-width: 1025px) {}
 * @media screen and (min-width: 1281px) {}
*/

.l-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 0 20px;
}
.l-section_container {
	z-index: 1;
	position: relative;
	width: 100%;
}


/**
 * title
 -------------------------------------------------- */
.c-title {
	line-height: 1;
	font-weight: 700;
	text-align: center;
}
.c-title .sub {
	display: block;
	margin-top: 40px;
	font-size: 1.3rem;
}
.t {
	max-width: 100%;
}
@media screen and (max-width: 767px) {
	.c-title .t {
		height: calc(91px / 2);
	}
}
@media screen and (max-width: 567px) {
	.c-title .sub {
		margin-top: 20px;
		font-size: 1rem;
	}
}
@media screen and (max-width: 374px) {
	.c-title .t {
		height: calc(91px / 2.8);
	}
}
/* inview */
.c-title.js-inview.anima .t,
.c-title.js-inview.anima .sub {
	transition: opacity .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c-title.js-inview.anima .sub { transition-delay: .1s; }
.c-title.js-inview.anima:not(.in-view) .t,
.c-title.js-inview.anima:not(.in-view) .sub {
	transition-duration: .1s;
}
.c-title.js-inview:not(.in-view) .t,
.c-title.js-inview:not(.in-view) .sub {
	opacity: 0;
	transform: scale(.94);
}


/**
 * button
 -------------------------------------------------- */
.c-button {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 320px;
	height: 80px;
	margin: 80px auto 0;
	border: 2px solid currentcolor;
}
/* inview */
.c-button.js-inview.anima {
	transition: opacity .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}
.c-button.js-inview.anima:not(.in-view) {
	transition-duration: .1s;
}
.c-button.js-inview:not(.in-view) {
	opacity: 0;
	transform: scale(.94);
}


/**
 * bg
 -------------------------------------------------- */
.l-bg {
	display: flex;
	z-index: -1;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.js-fixed .l-bg {
	position: absolute;
}
.l-bg::before,
.l-bg::after {
	content: "";
	flex-basis: 50%;
}
.l-bg.-keyvisual::before { background: white; }
.l-bg.-keyvisual::after { background: black; }
.l-bg.-concept::before { background: #6746f9; }
.l-bg.-concept::after { background: #ebebeb; }
.l-bg.-project::before { background: white; }
.l-bg.-project::after { background: #fbf355; }
.l-bg.-message::before { background: #ffbbfe; }
.l-bg.-message::after { background: #6746f9; }
.l-bg.-news::before { background: black; }
.l-bg.-news::after { background: #23eecd; }
.l-bg.-instagram::before { background: white; }
.l-bg.-instagram::after { background: white; }

.l-bg.-project_archive::before { background: white; }
.l-bg.-project_archive::after { background: #fbf355; }
.l-bg.-news_archive::before { background: white; }
.l-bg.-news_archive::after { background: #ebebeb; }

.l-bg.-project_article::before { background: #ebebeb; }
.l-bg.-project_article::after { background: #ffbbfe; }
.l-bg.-news_article::before { background: white; }
.l-bg.-news_article::after { background: #ebebeb; }


/**
 * 投稿一覧
 -------------------------------------------------- */
.post_photo .spacer {
	display: block;
	position: relative;
	width: 100%;
	height: 0;
}
.post_photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.post_date {
	color: #888;
	font-size: 1.1rem;
}
.post_date time {
}
.post_excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: .3em;
}
/* inview */
.c-post_item.js-inview.anima {
	transition: opacity .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c-post_item.js-inview.anima:not(.in-view) {
	transition-duration: .1s;
}
.c-post_item.js-inview:not(.in-view) {
	opacity: 0;
	transform: scale(.94);
}


/**
 * カテゴリー一覧
 -------------------------------------------------- */
.c-category {
	margin-top: 140px;
}
@media screen and (min-width: 768px) {
	.c-category {
		margin-top: 96px;
	}
}

.c-category,
.c-category_item,
.c-category_item a {
	display: flex;
	justify-content: center;
	align-items: center;
}
.c-category_item:not(:first-child)::before {
	content: "/";
	margin: 0 4px;
}
.c-category_item a {
	position: relative;
	padding: 8px 0;
	font-size: 1rem;
	line-height: 1.6;
	white-space: nowrap;
}
.c-category_item a::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 100%;
	height: calc(100% - 12px);
	background: linear-gradient(currentcolor, currentcolor) right bottom / 0 1px no-repeat;
	transition: background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c-category_item a.is-select::before,
html:not(.isTouch) .c-category_item a:hover::before {
	background-position: left bottom;
	background-size: 100% 1px;
}
@media screen and (max-width: 374px) {
	.c-category_item a {
		letter-spacing: 0;
	}
}
@media screen and (min-width: 375px) {
	.c-category_item a {
		font-size: 1.1rem;
	}
	.c-category_item a::before {
		width: calc(100% - .1em);
	}
}
@media screen and (min-width: 568px) {
	.c-category_item a {
		font-size: 1.6rem;
	}
}
@media screen and (min-width: 768px) {
	.c-category_item a {
		padding: 8px 12px;
		font-size: 2.1rem;
	}
	.c-category_item a::before {
		left: 12px;
		width: calc(100% - 24px - .1em);
	}
	.c-category_item a::before {
		background-size: 0 2px;
	}
	.c-category_item a.is-select::before,
	html:not(.isTouch) .c-category_item a:hover::before {
		background-size: 100% 2px;
	}
}


/**
 * タグ一覧
 -------------------------------------------------- */
.c-tag {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 20px;
	font-size: 1.1rem;
}
.c-tag_item {
	margin: 8px 4px 0;
}
.c-tag_item a {
	display: block;
	padding: 0 2px;
	background: #ededed;
}
@media screen and (max-width: 374px) {
	.c-tag {
		font-size: 1rem;
	}
}
@media screen and (max-width: 767px) {
	.c-tag {
		margin-left: -4px;
	}
}
@media screen and (min-width: 768px) {
	.c-tag {
		justify-content: center;
	}
	.c-tag_item a {
		padding: 0 4px;
	}
}


/**
 * アーカイブ一覧
 -------------------------------------------------- */
.l-archive {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	padding: 160px 20px;
}
@media screen and (min-width: 768px) {
	.l-archive {
		padding: 240px 20px;
	}
}

.c-archive {
	margin-top: 48px;
}
.c-archive_item {
	margin-top: 20px;
}
.c-archive .post_photo .spacer {
	padding-bottom: calc(105% / 2);
}
.c-archive .post_text {
	margin-top: 12px;
}
.c-archive .post_excerpt {
	font-size: 1.6rem;
}

@media screen and (max-width: 374px) {
	.c-archive_item:not(:first-child) {
		margin-top: 20px;
	}
}
@media screen and (min-width: 375px) {
	.c-archive {
		display: flex;
		flex-wrap: wrap;
	}
}
@media screen and (min-width: 375px) and (max-width: 567px) {
	.c-archive_item {
		flex-basis: calc(50% - 10px);
	}
	.c-archive_item:nth-child(2n) {
		margin-left: 20px;
	}
}
@media screen and (min-width: 568px) and (max-width: 767px) {
	.c-archive_item {
		flex-basis: calc(33.33333% - 40px / 3);
	}
	.c-archive_item:not(:nth-child(3n+1)) {
		margin-left: 20px;
	}
}
@media screen and (min-width: 768px) {
	.c-archive_item {
		flex-basis: calc(33.33333% - 80px / 3);
		margin-top: 40px;
	}
	.c-archive_item:not(:nth-child(3n+1)) {
		margin-left: 40px;
	}
}


/**
 * ページネーション
 -------------------------------------------------- */
.c-paginate {
	margin-top: 40px;
}
.c-paginate-links,
.c-paginate .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
}
.c-paginate .page-numbers {
	width: 50px;
	height: 50px;
	border: 1px solid black;
	font-size: 1.4rem;
}
.c-paginate .page-numbers.current {
	color: white;
	background: black;
}
.c-paginate .page-numbers + .page-numbers {
	margin-left: 10px;
}

@media screen and (min-width: 768px) {
	.c-paginate {
		margin-top: 80px;
	}
	.c-paginate-links .page-numbers {
		width: 60px;
		height: 60px;
	}
}

html:not(.isTouch) .c-paginate .page-numbers {
	z-index: 1;
	position: relative;
	border-color: black;
	transition: color .3s;
}
html:not(.isTouch) .c-paginate .page-numbers::after {
	content: "";
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	transform-origin: 0 0;
	transition: transform .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
html:not(.isTouch) .c-paginate .page-numbers:not(:hover)::after {
	transform: scaleY(0);
	transform-origin: 100% 100%;
}
html:not(.isTouch) .c-paginate .page-numbers:hover {
	color: white;
}








