@charset "utf-8";
/*
Theme Name: 株式会社HAKOBUNE
Author: Kotaro Saito
Description:  株式会社HAKOBUNEのテーマ
version: 1.0.0
*/

/*common
-----------------------------------------------------------------------------------------*/
html,body{
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-family: "Zen Antique", serif;
	color: rgba(0, 0, 0, 1);
	font-size: 16px;
}

.font-noto {
	font-family: "Noto Sans JP", sans-serif;
}

.font-din{
	font-family: "din-2014", sans-serif;
	font-weight: 600;
}


@media screen and (min-width:768px) {
.sp{
	display: none;
}
}

@media screen and (max-width:767px) {
.pc{
	display: none;
}

html,body{
	font-size: 14px;
}
}


/*header
-----------------------------------------------------------------------------------------*/
.header-link{
	writing-mode: vertical-rl;
	font-weight: 700;
	position: absolute;
	right: 30px;
	top: 33px;
	gap: 33px;
	z-index: 100;
}

.header-link a{
	transition: 0.6s;
	color: rgba(255, 255, 255, 1);
}

.header-link a:hover{
	transition: 0.6s;
	border-left: 2px solid rgba(255, 255, 255, 1);
}

.sp-navigation{
	display: none;
}
@media screen and (max-width:767px) {
	.sp-navigation{
		display: block;
	}

	.header-link{
		display: none;
	}

	button.drawer-hamburger {
		background-color: rgba(255, 255, 255, 1);
		padding: 15px 15px 25px;
	}

	.drawer--right.drawer-open button.drawer-hamburger {
        right: 0;
    }

	 .drawer-nav {
		padding-top: 60px;
	 }
}

/*footer
-----------------------------------------------------------------------------------------*/
.footer-flex {
	justify-content: space-between;
	margin-bottom: 50px;
	align-items: center;
}

.footer-din{
	font-size: 3.6rem;
}

.footer-noto{
	text-align: left;
}

.footer-link{
	font-size: 0.9rem;
	gap: 50px;
}

@media screen and (max-width:1023px) {
	.footer-link{
		margin-top: 50px;
	}
}

.footer-link a{
	color: rgba(0, 0, 0, 1);
	display: inline-block;
	position: relative;
}

.footer-link a::after {
  background-color: rgba(0, 0, 0, 1); /* 下線の色 */
  bottom: -2px; /* 要素の下端からの距離 */
  content: ""; /* 要素に内容を追加 */
  height: 1px; /* 下線の高さ */
  left: 0; /* 要素の左端からの距離 */
  position: absolute; /* 絶対位置指定 */
  transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: right top; /* 変形の原点を左上に指定 */
  transition: transform .3s; /* 変形をアニメーション化 */
  width: 100%; /* 要素の幅 */
}
/* リンクにホバーした際の下線の表示 */
.footer-link a:hover::after {
  transform-origin: left top; /* 変形の原点を右上に指定 */
  transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}

.footer-menu{
	color: rgba(0, 0, 0, 1);
	font-size: 0.9rem;
	margin-right: 50px;
}

div.copy-right{
	padding: 60px 0 20px;
	border-top: 1px solid rgba(0, 0, 0, 1);
	margin-top: 150px;
}

@media screen and (max-width:767px) {
	div.copy-right {
		padding: 30px 0 20px;
		margin-top: 50px;
	}

	.footer-link{
		display: none;
	}

	.footer-din {
		line-height: 1;
	}

	.footer-flex {
		margin-bottom: 20px;
	}
}


/*NEWS
-----------------------------------------------------------------------------------------*/
.news-top{
	padding-bottom: 150px;
}

.home-flex{
	gap: 50px;
}

.hone-sidebar{
	width: 15%;
}

.home-archive{
	font-size: 1.5rem;
	text-align: left;
	margin-bottom: 15px;
}

.side-box{
	position: relative;
}

.side-box::after{
	position: absolute;
	content: '';
	background-image: url("./images/arrow-icon.png");
	top: 30%;
	right: 20px;
	width: 14px;
	height: 14px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.select-archive{
	width: 100%;
	height: 45px;
	appearance: none;
	padding-left: 20px;
}

.home-box{
	width: 80%;
}

.home-list{
	border: 1px solid rgba(0, 0, 0, 1);
	padding: 20px 45px 20px 0;
	margin-bottom: 50px;
}

.home-link{
	color: rgba(0, 0, 0, 1);
}

.home-mein-flex{
	align-items: center;
}

.home-ymd{
	text-align: right;
	padding: 0 45px;
	border-right: 1px solid rgba(0, 0, 0, 1);
}

.home-md{
	font-size: 1.5rem;
}

.home-title{
	font-size: 1.1rem;
	padding: 0 20px 0 45px;
}

.link-arrow{
	margin-left: auto;
}
@media screen and (max-width:767px) {
.link-arrow{
	display: none;
}
}

.arrow {
	position: relative;
	display: inline-block;
	width: 14px;
	height: 1px;
	margin: 4.3px 0 4.3px 20px;
	border-radius: 9999px;
	background-color: rgba(0, 0, 0, 1);
	padding-left: 20px;
}

.arrow::before,
.arrow::after {
	content: "";
	position: absolute;
	top: calc(50% - 0.5px);
	right: 0;
	width: 7px;
	height: 1px;
	border-radius: 9999px;
	background-color: rgba(0, 0, 0, 1);
	transform-origin: calc(100% - 0.5px) 50%;
}

.arrow::before {
	transform: rotate(45deg);
}

.arrow::after {
	transform: rotate(-45deg);
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border: none;
	padding: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 1);

}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	padding: 20px;
	margin: 10px;
	border: none;
	margin: 0 25px;
	color: rgba(0, 0, 0, 1);
}

a.nextpostslink, a.previouspostslink{
	color: rgba(0, 0, 0, 1);
	width: 40px;
	height: 40px;
	display: inline-block;
}


@media screen and (max-width:1250px) {
	.home-list {
		padding: 20px 20px 20px 0;
	}

	.home-ymd {
		padding: 0 30px 0 20px;
	}

	.home-title {
		padding: 0 20px 0 30px;
	}

	.home-flex {
		gap: 45px;
	}

}

@media screen and (max-width:1023px) {
	.hone-sidebar {
		width: 25%;
	}

	.home-box {
		width: 100%;
	}
}

@media screen and (max-width:767px) {
	.hone-sidebar {
        width: 50%;
    }

	.home-list {
		padding: 10px 10px 10px 0;
		margin-bottom: 10px;
	}

	.home-ymd {
		padding: 0 15px 0 10px;
	}

	.home-title {
		padding: 0 10px 0 10px;
	}

	.arrow {
		margin-left: 5px;
	}

	.home-flex {
		gap: 20px;
	}

	.news-top {
		padding-bottom: 50px;
	}
}



/*NEWS-single
-----------------------------------------------------------------------------------------*/
.single-top{
	width: 80%;
	margin: auto;
}

.single-box{
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 1);
	margin-bottom: 50px;
}

.single-content{
	text-align: left;
}

.single-link-flex{
	margin: auto;
	width: fit-content;
	margin-top: 50px;
}

.single-link-flex a{
	color: rgba(0, 0, 0, 1);

}

.single-link{
	margin: 0 50px;
}
@media screen and (max-width:1023px) {
	.single-top{
		width: 100%;
	}
}

@media screen and (max-width:767px) {
	.single-box {
		padding-bottom: 10px;
		margin-bottom: 20px;
	}

	.single-link-flex {
        margin-top: 20px;
    }
}


/*works
-----------------------------------------------------------------------------------------*/
.works-top-taxonomy{
	margin: 0 auto 100px;
	width: fit-content;
}

.works-top-taxonomy a{
	color: rgba(0, 0, 0, 1);
	padding: 0 50px;
	border-right: 1px solid rgba(0, 0, 0, 1);
}

.works-top-taxonomy li:last-child a{
	border-right: none;
}

.works-flex{
	gap: 100px 20px;
	margin-bottom: 100px;
}

.works-list{
	width: calc((100% - 20px*2)/3);
}

.works-img img{
	height: 300px;
	object-fit: cover;
}

.works-mein-flex{
	align-items: center;
	margin-top: 25px;
}


.works-ymd{
	width: 80px;
	padding: 0 20px 0 0;
}

.works-text{
	text-align: left;
	padding-left: 20px;
	width: calc(100% - 80px);
	font-size: 0.9rem;
}

.works-gallery img{
	height: 450px;
	object-fit: cover;
	width: 50%;
}

.mySwiper-gallery2{
	margin-bottom: 25px;
}


@media screen and (max-width:1023px) {
	.works-list {
		width: calc((100% - 20px) / 2);
	}
}

@media screen and (max-width:767px) {
	.works-top-taxonomy a {
    padding: 0 20px;
	}

	.works-list {
		width: 100%;
	}

	.works-top-taxonomy {
		margin: 0 auto 30px;
	}

	.works-img img {
		height: 150px;
	}

	.works-flex {
		gap: 50px;
		margin-bottom: 75px;
	}

	.works-mein-flex {
		margin-top: 10px;
	}

}


/*works-single
-----------------------------------------------------------------------------------------*/
.works-single-top{
	width: 90%;
	margin: auto;
}

.works-single-flex{
	align-items: center;
	border-bottom: 1px solid rgba(0, 0, 0, 1);
	padding-bottom: 25px;
	margin-bottom: 100px;
}

.works-single-ymd{
	padding: 0 65px;
	text-align: right;
	border-right: 1px solid rgba(0, 0, 0, 1);
}

.works-single-text{
	padding-left: 65px;
	text-align: left;
}

.works-single-img{
	width: 60%;
	margin: auto;
	margin-bottom: 100px;
}

.works-single-img img{
	object-fit: cover;
	height: 440px;
}

.works-single-din{
	width: 50px;
	text-align: left;
}

.works-single-box{
	gap: 50px;
	align-items: center;
}

.works-single-media{
	padding: 50px 25px;
	border: 1px solid rgba(0, 0, 0, 1);
	width: 45%;
}

.works-single-client{
	align-items: center;
	gap: 10px;
}

.works-single-client2{
	margin-bottom: 15px;
}

.works-single-results{
	width: 48%;
	text-align: left;
}

.works-single-content{
	width: 80%;
	margin: 200px auto;
	text-align: left;
}

.works-gallery-top{
	margin-bottom: 100px;
}
@media screen and (max-width:1023px) {
	.works-single-top{
		width: 100%;
	}

	.works-single-img {
		width: 80%;
	}

	.works-single-box {
		gap: 20px;
	}

	.works-single-results {
    width: 52%;
	}

	.works-single-content{
		width: 100%;
		margin: 100px 0;
	}

	.works-gallery img {
		width: 80%;
	}
}

@media screen and (max-width:767px) {
	.works-single-ymd {
		padding: 0 15px 0 0;
	}

	.works-single-text {
		padding-left: 15px;
	}

	.works-single-flex {
		padding-bottom: 10px;
		margin-bottom: 20px;
	}

	.works-single-img {
        width: 100%;
		  margin-bottom: 20px;
    }

	 .works-single-img img {
		height: 220px;
	}

	.works-single-media {
		padding: 10px;
		width: 100%;
	}

	.works-single-results{
		width: 100%;
	}

	.works-single-content{
		margin: 20px 0;
	}

	.works-gallery img {
        width: 100%;
		  height: 300px;
    }

	 .works-gallery-top{
		margin-bottom: 00px;
	 }

	 .mySwiper-gallery2 {
		margin-bottom: 10px;
	}
}




/*404
-----------------------------------------------------------------------------------------*/
div.error-message{
	font-size: 150%;
}

@media screen and (max-width:767px) {
div.error-message{
	font-size: 120%;
}
}
