@charset "utf-8";
/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
汎用
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
.mincho {
	font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
	font-weight: 600;
}
.libre {
	font-family: "Libre Baskerville", serif;
}
.flex {
	display: flex;
}
.container {
	max-width: 120rem;
	width: 90%;
	margin: 0 auto;
}
.container-2 {
	max-width: 100rem;
	width: 75%;
	margin: 0 auto;
}
.sec_p-ttl {
	position: relative;
	height: 35.5rem;
	padding-top: 17.7rem;
	margin-bottom: 3rem;
}
.sec_p-ttl > div {
	height: 100%;
}
.sec_p-ttl .ttl-wrap {
	width: 31rem;
	padding: 4.5rem 0;
	background-color: #fff;
}
.sec_p-ttl .ttl-wrap h1 {
	font-size: 2.4rem;
	font-weight: 700;
	color: #3e3a39;
	letter-spacing: 0.1em;
}
.sec_p-ttl .ttl-wrap p {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.35;
	color: #3e3a39;
	margin-bottom: 16px;
	letter-spacing: 0.12em;
}
.sec_p-ttl .img-wrap {
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	width: 70vw;
	z-index: -1;
	left: calc(50% - 25rem);
}
@media (max-width: 1200px) {
	.sec_p-ttl .img-wrap {
		left: 25rem;
		width: 77vw;
	}
}
@media (max-width: 1200px) {
	.sec_p-ttl .img-wrap {
		left: 25rem;
		width: 77vw;
	}
}
@media (max-width: 768px) {
	.sec_p-ttl {
		margin-top: 58px;
		padding-top: 6rem;
		height: auto;
		margin-bottom: 0;
	}
	.sec_p-ttl .img-wrap {
		left: 0;
		margin-left: 5%;
		width: 95%;
		height: 140px;
	}
	.sec_p-ttl .ttl-wrap {
		padding: 2rem 2rem 2rem 4rem;
		background-color: #fff;
		margin-top: 3rem;
		margin-left: -4rem;
	}
	.sec_p-ttl .ttl-wrap p {
		font-size: 2.8rem;
		margin-bottom: 8px;
	}
	.sec_p-ttl .ttl-wrap h1 {
		font-size: 1.5rem;
		color: #9f9b9a;
	}
}
.img-wrap img {
	object-fit: cover;
	object-position: center center;
	height: 100%;
	width: 100%;
}
input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #f2f2f2 inset;
}
/*--------------------------------------------------------------------------
部品
--------------------------------------------------------------------------*/
#top-btn {
	width: 20px;
	height: 200px;
	font-size: 1.3rem;
	position: fixed;
	bottom: 5%;
	left: 97.5%;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	cursor: pointer;
	text-shadow: -1px -1px 1px #fff, -1px -1px 1px #fff;
	z-index: 100;
	padding-top: 130px;
}
#top-btn:before {
	content: "";
	width: 1px;
	height: 105px;
	background-color: #3e3a39;
	box-shadow: -1px -1px #fff;
	position: absolute;
	top: 0;
	left: 5px;
}

#top-btn-sp {
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 5%;
	right: 5%;
	cursor: pointer;
	text-shadow: -1px -1px 1px #fff, -1px -1px 1px #fff;
	z-index: 100;
	/* border-radius: 100%; */
	background-color: rgba(0, 0, 0, 0.5);
	padding: 10px;
}
#top-btn-sp svg {
	width: 20px;
	height: 20px;
}
/*------------------------------------
汎用見出し
------------------------------------*/
.g-h {
	font-size: 1.6rem;
	color: #9f9b9a;
	line-height: 1;
}
.g-h-center {
	text-align: center;
	font-size: 1.6rem;
	text-indent: 0.1em;
	line-height: 1;
}
.g-h-2 {
	font-size: 3.2rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1;
}
.g-h-2-center {
	text-align: center;
	font-size: 3.2rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-indent: 0.22em;
	line-height: 1;
}
@media (max-width: 768px) {
	.g-h-2-center {
		font-size: 28px !important;
	}
}
/*------------------------------------
MORE
------------------------------------*/
.more {
	font-size: 2rem;
	letter-spacing: 0.08em;
	padding: 1.7rem 0;
	border: 1px solid #3e3a39;
	text-align: center;
	text-indent: 0.08em;
	display: block;
	line-height: 1;
}
/*------------------------------------
パンくずリスト
------------------------------------*/
/*------------------------------------
ページネーション
------------------------------------*/
/*--------------------------------------------------------------------------
ヘッダー
--------------------------------------------------------------------------*/
header {
	width: 100%;
	height: 8rem;
}
header .header-wrap {
	justify-content: space-between;
	height: 100%;
}
header .toplogo {
	padding-left: 4rem;
	align-items: center;
}
header .toplogo a {
	font-size: 1.6rem;
	letter-spacing: 0.22em;
	position: relative;
}
header .toplogo a:before {
	content: "";
	position: absolute;
	background: url(../img/common/logo.svg) no-repeat;
	width: 2.7rem;
	height: 2.7rem;
	top: 50%;
	transform: translateY(-50%);
	left: -4rem;
}
header nav ul {
	align-items: center;
}
header nav ul li:not(:last-child) {
	margin-right: 2.4rem;
}
header nav ul li a {
	font-size: 1.4rem;
}
/*--------------------------------------------------------------------------
フッター
--------------------------------------------------------------------------*/
#footer {
	background-color: #283c64;
	border: 1px solid #707070;
	padding: 6rem 0 1.7rem;
}
#footer a,
#footer p,
#footer span {
	color: #fff;
	font-size: 1.2rem;
}
#footer .info-wrap {
	padding: 1rem 3.4rem 0 0;
	border-right: 1px solid #fff;
}
#footer .logo {
	font-size: 1.8rem;
	letter-spacing: 0.22em;
	position: relative;
	padding-left: 3.3rem;
	margin-bottom: 1.5rem;
}
#footer .logo:before {
	content: "";
	position: absolute;
	background: url(../img/common/logo-w.svg) no-repeat;
	width: 2.1rem;
	height: 2.1rem;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}
#footer .info-wrap p {
	font-weight: 700;
}
#footer .info-wrap p:first-of-type {
	padding-top: 0.5rem;
	margin-bottom: -0.2rem;
}
#footer .info-wrap p:nth-of-type(2) {
	padding-top: 0;
	line-height: 1.3;
}
#footer .nav-wrap {
	padding: 1.1rem 0 1.1rem 4rem;
}
#footer .nav-wrap ul li a {
	font-size: 1.4rem;
  position: relative;
}
#footer .nav-wrap ul li a span {
	font-size: 1.4rem;
}
#footer nav ul li {
	padding: 0.4rem 0;
	line-height: 1;
	font-weight: 900;
}
#footer nav ul li:last-child {
	height: 34.19px;
}
#footer nav ul li:not(:last-child) span {
	margin-right: 1.6rem;
	font-weight: 700;
	position: relative;
}
#footer nav ul li:not(:last-child) span:after {
	position: absolute;
	content: "";
	right: -0.8rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0.4rem;
	height: 1px;
	background: #fff;
}
#footer nav ul li:last-child a:after {
	content: "";
	position: absolute;
	top: -1px;
	right: -22px;
	background:url(https://nishi-koubou.com/wp-content/themes/nishi-kenchiku/img/common/external-link.svg) no-repeat left top/contain;
	width: 20px;
	height: 20px;
}
#footer .copyright {
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-align: center;
	text-indent: 0.08em;
	margin-top: 3.4rem;
}
/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
フロントページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
/*------------------------------------
main-visual
------------------------------------*/
.front-mv img {
	width: 100%;
	height: calc(100vh - 8rem);
	object-fit: cover;
}
/*------------------------------------
concept
------------------------------------*/
#front .concept {
	padding-top: 8.6rem;
	padding-bottom: 18.4rem;
	position: relative;
}
#front .concept .h-wrap {
	width: 367px;
	margin-left: 8.5%;
}
#front .concept .h-wrap .head {
	padding: 2.6rem 2.6rem 0 0;
	background-color: #fff;
	width: 260px;
	margin-top: 3rem;
}
#front .concept .h-wrap h2 {
	font-size: 2.6rem;
	font-weight: 900;
	line-height: 1.9;
	margin-top: 1rem;
}

#front .concept .img-wrap {
	width: 69%;
	height: 46rem;
	position: absolute;
	top: 8.6rem;
	right: 0;
	z-index: -1;
}
#front .concept .desc {
	padding: 3rem 3rem 0 0;
	width: 370px;
	height: 230px;
	background-color: #fff;
}
#front .concept .desc p {
	font-size: 1.4rem;
	line-height: 2.1;
}
#front .concept .desc a {
	font-size: 1.4rem;
	font-weight: 700;
	position: relative;
	display: flex;
	flex-direction: row-reverse;
	padding-right: 4.6rem;
	margin-top: 4.5rem;
	width: 150px;
	float: right;
}
#front .concept .desc a:after {
	content: "";
	display: block;
	background: url(../img/front/more.svg) no-repeat;
	width: 2.3rem;
	height: 0.8rem;
	position: absolute;
	right: 0;
	top: calc(50% - 0.4rem);
}
/*------------------------------------
works
------------------------------------*/
#front .works {
	padding-bottom: 18.4rem;
}
#front .works p {
	margin-bottom: 5.6rem;
	padding-top: 1rem;
}
#front .works h2 {
	display: block;
}
#front .works h3 {
	font-weight: 700;
	font-size: 2rem;
	padding-top: 2rem;
	letter-spacing: 0.1em;
}
#front .works-swiper {
	overflow: hidden;
}

#front .works-swiper .swiper-container.swiper2 .swiper-slide {
	/* transform: translateX(-55%); */
}
#front .works-swiper .swiper-slide img {
	height: auto;
	width: 100%;
}
#front .works .more {
	margin: 7rem auto 0;
	width: 32rem;
}
#front .works .cap {
	margin-bottom: 0;
}
#front .works .cap,
#front .works .cap span {
	font-size: 1.3rem;
	letter-spacing: 0.08em;
}
#front .works .img-wrap {
	height: 25vw;
}
@media (min-width: 1920px) {
	#front .works .img-wrap {
		height: 17.5vw;
	}
}
@media (max-width: 768px) {
	#front .works .img-wrap {
		height: 60vw;
	}
}
#front .works .img-wrap img {
	object-fit: cover;
	object-position: center center;
	height: 100%;
	width: 100%;
}

/*------------------------------------
recruit
------------------------------------*/
#front .recruit {
	position: relative;
	padding-top: 14.5rem;
	padding: 14.5rem 0 18.4rem 0;
}
#front .recruit .h-wrap {
	width: 367px;
	margin-left: calc(91.5% - 367px);
}
#front .recruit .h-wrap .head {
	padding: 2.6rem 0 0 2.6rem;
	background-color: #fff;
	width: 260px;
}
#front .recruit p {
	font-size: 3.4rem;
	font-weight: 700;
	padding-top: 1.6rem;
}
#front .recruit .img-wrap {
	width: 69%;
	height: 46rem;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
#front .recruit .desc {
	padding: 0 0 3rem 3rem;
	background-color: #fff;
}
#front .recruit .desc p {
	font-size: 1.4rem;
	line-height: 2.1;
	padding-top: 2.7rem;
	font-weight: 400;
}
#front .recruit .desc a {
	font-size: 1.4rem;
	font-weight: 700;
	position: relative;
	display: flex;
	flex-direction: row-reverse;
	padding-right: 4.6rem;
	margin-top: 3.6rem;
}
#front .recruit .desc a:after {
	content: "";
	display: block;
	background: url(../img/front/more.svg) no-repeat;
	width: 2.3rem;
	height: 0.8rem;
	position: absolute;
	right: 0;
	top: calc(50% - 0.4rem);
}
/*------------------------------------
instagram
------------------------------------*/
#front .insta {
	padding-bottom: 20rem;
}
#front .insta h2 {
	margin-bottom: 5.6rem;
}
#front .insta .insta_list {
	flex-wrap: wrap;
}
#front .insta .insta_list li {
	width: calc(100% / 4 - 6rem / 4);
	margin-bottom: 2rem;
}
#front .insta .insta_list li:not(:nth-child(4n)) {
	margin-right: 2rem;
}
#front .insta .more {
	margin: 5.2rem auto 0;
	width: 32rem;
	position: relative;
	text-indent: -1em;
}
#front .insta .more:before {
	content: "";
	position: absolute;
	top: 18px;
	right: 40px;
	background: url(https://nishi-koubou.com/wp-content/themes/nishi-kenchiku/img/common/external-link__black.svg)
		no-repeat left top/contain;
	width: 20px;
	height: 20px;
}
#front .insta .more:hover:before {
	background-image: url(https://nishi-koubou.com/wp-content/themes/nishi-kenchiku/img/common/external-link.svg);
}
/*------------------------------------
ggmap
------------------------------------*/
#front .ggmap iframe {
	width: 100%;
	height: 46rem;
	vertical-align: bottom;
}

/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
アバウトページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
#about .sec_caption {
	margin-top: 12rem;
}
#about .sec_caption .flex {
	justify-content: space-between;
}
#about .sec_caption p:nth-child(1) {
	width: 24%;
	font-size: 2.4rem;
	font-weight: 700;
}
#about .sec_caption p:nth-child(2) {
	width: 70%;
	font-size: 1.4rem;
}
#about .sec_images .line {
	height: 8rem;
	width: 1px;
	margin: 6.4rem auto;
}
#about .sec_images .flex {
	justify-content: space-between;
}
#about .sec_images picture {
	width: 31%;
}
#about .g-h-center {
	color: #9f9b9a;
}
#about .g-h-center span {
	display: block;
	font-weight: 900;
	padding-top: 1.3rem;
	line-height: 1.2;
	font-size: 2.8rem;
}
#about .sec_info {
	margin-top: 12rem;
}
#about .sec_info h2 {
	font-size: 28px;
	font-weight: 900;
	text-align: center;
	letter-spacing: 3px;
	text-indent: 3px;
}
#about .sec_info table {
	width: 90%;
	max-width: 820px;
	margin: 5.5rem auto 6.4rem;
}
#about .sec_info table tr {
	border-bottom: 0.5px solid #9f9b9a;
}
#about .sec_info table th,
#about .sec_info table td {
	padding: 2rem 5rem;
	font-size: 1.7rem;
	line-height: 1.5;
}
#about .sec_info table th {
	font-weight: 700;
	text-align: left;
}
#about .sec_sdgs {
	margin-bottom: 220px;
}
#about .sec_sdgs picture {
	width: 50%;
	padding-right: 40px;
}
#about .sec_sdgs .text {
	width: 50%;
}
#about .sec_sdgs .container {
	max-width: 820px;
	padding-top: 65px;
	align-items: center;
}
#about .sec_sdgs h2 {
	font-size: 17px;
	font-weight: 900;
	line-height: 2.5;
}
#about .sec_sdgs p {
	font-size: 14px;
}
/* 線の描写 */
#about .sec_images .line {
	position: relative;
}
#about .sec_images .line::after {
	content: "";
	/*描画位置*/
	position: absolute;
	top: 0;
	/*線の形状*/
	width: 1px;
	height: 4rem;
	background-color: #3e3a39;
	/*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
	0% {
		height: 0;
		top: 0;
		opacity: 0;
	}
	30% {
		height: 4rem;
		opacity: 1;
	}
	100% {
		height: 0;
		top: 8rem;
		opacity: 0;
	}
}

/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
ワークスアーカイブページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
#archive-works {
	margin-bottom: 20rem;
}
#archive-works .archive-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-top: 10.8rem;
}
#archive-works .archive-wrap li {
	width: 48%;
	margin-bottom: 5rem;
}

#archive-works .archive-wrap li .img-wrap {
	height: 34rem;
}

#archive-works .archive-wrap li .img-wrap img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center center;
}
#archive-works .archive-wrap li .text-wrap .flex {
	align-items: center;
	justify-content: space-between;
	padding-top: 6px;
}
#archive-works .archive-wrap li .text-wrap .address {
	color: #3e3a39;
	font-size: 1.4rem;
	letter-spacing: 0.22em;
}
#archive-works .archive-wrap li .text-wrap .title {
	font-size: 18px;
	font-weight: 700;
	color: #3e3a39;
	letter-spacing: 0.22em;
}
#archive-works .archive-wrap li .text-wrap .date {
	font-size: 15px;
	font-weight: 700;
	color: #9f9b9a;
	display: block;
	font-family: "Zen Kaku Gothic New", serif;
	letter-spacing: 0.22em;
}
#archive-works .archive-wrap li .text-wrap .flex:last-of-type {
	justify-content: flex-start;
}
#archive-works .archive-wrap li .text-wrap .map-pin {
	margin-right: 8px;
}
#archive-works.tieup .sec_p-ttl .ttl-wrap {
	width: 42rem;
}

/*--------------------------------------------------------------------------
ページネーション
--------------------------------------------------------------------------*/

.wp-pagenavi {
	justify-content: center;
	display: flex;
	text-align: center;
	padding-top: 7rem;
}
.wp-pagenavi > * {
	width: 34px;
	height: 40px;
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 700 !important;
	border: 1px solid #3e3a39 !important;
	padding: 12px 0 !important;
	line-height: 1;
	margin: 0 4px !important;
	text-indent: 0.2em;
	position: relative;
}
.wp-pagenavi .current {
	background-color: #3e3a39;
	color: #fff;
	font-family: "Libre Baskerville", serif;
}

.nextpostslink:before {
	content: "";
	background-image: url(../img/common/next.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 6px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.previouspostslink:before {
	content: "";
	background-image: url(../img/common/prev.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 6px;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
/* single */
.post__pagination {
	display: flex;
	width: 270px;
	margin: 4rem auto 23rem;
}
.post__pagination > div {
	width: 30px;
	justify-content: space-between;
}
.post__pagination > a {
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;
	width: 100px;
	margin: 0 50px;
	text-align: center;
}
.post__pagination__left a,
.post__pagination__right a {
	width: 30px;
	display: block;
	padding: 1px 10px;
	height: 25px;
}
.post__pagination img {
	cursor: pointer;
	height: 18px;
}

/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
ワークス個別ページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
#single-works h1 {
	font-size: 2.2rem;
	font-weight: 700;
	padding-top: 2rem;
}
#single-works h2 {
	font-size: 1.8rem;
	font-weight: 900;
}
#single-works p {
	font-size: 1.4rem;
	margin-bottom: 2.4rem;
}
#single-works .date,
#single-works .address {
	font-size: 1.4rem;
}
#single-works .map-pin {
	margin-right: 8px;
}
#single-works .sec_add-box {
	padding-top: 8rem;
}
#single-works .sec_add-box .img-wrap {
	margin-bottom: 4rem;
}
#single-works .sec_add-box .img-wrap.img3 {
	margin-left: 4rem;
}
#single-works .container > .img-wrap {
	height: 50vw;
}
/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
コンタクトページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/

#contact h2 {
	display: flex;
	align-items: center;
}
#contact .sec_caption {
	padding-top: 3.5rem;
	margin-bottom: 9rem;
}
#contact .sec_caption p {
	line-height: 3;
	font-size: 1.4rem;
}
#contact .sec_form h2 {
	font-size: 1.7rem;
	font-weight: 900;
	margin-bottom: 10px;
}
#contact .sec_form h2 img {
	margin-right: 15px;
}
#contact .sec_form > p {
	font-size: 1.4rem;
	font-weight: 700;
}
#contact .sec_form form {
	padding-top: 3rem;
}
#contact .sec_form form > p {
	margin-bottom: 3.2rem;
}
#contact .sec_form form p label {
	display: flex;
}
#contact .sec_form form p label span:first-child {
	font-size: 1.5rem;
	font-weight: 900;
	width: 200px;
	display: inline-block;
	align-self: center;
}
#contact .sec_form form p label span.flexStart {
	align-self: flex-start;
}
#contact .sec_form form p label span:last-child {
	width: calc(100% - 200px);
	display: block;
	font-size: 0;
}
#contact .sec_form form p label span input,
#contact .sec_form form p label span textarea {
	background-color: #f2f2f2;
	padding: 8.25px 15px;
	font-size: 1.5rem;
	font-weight: 400;
	width: 100%;
}
#contact .sec_form form p label span textarea {
	height: 240px;
}
#contact .sec_form form .box {
	margin-left: 200px;
}
#contact .sec_form form .box h3 {
	font-size: 1.4rem;
	font-weight: 900;
	padding: 1.3rem 0 2rem;
}
#contact .sec_form form .box .cap {
	font-size: 1.4rem;
}
#contact .sec_form form .box label span:last-child {
	font-size: 1.4rem;
	width: 100%;
}
#contact .sec_form form .wpcf7-checkbox {
	display: block;
	padding-top: 2rem;
}
#contact .sec_form form .wpcf7-checkbox > span {
	margin: 0;
}
#contact .sec_form form a {
	position: relative;
}
#contact .sec_form form a:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: #3e3a39;
	bottom: -2px;
	left: 0;
}
#contact .sec_form form .submit-wrap {
	width: 40rem;
	margin: 4.5rem auto 11rem;
	position: relative;
	border: 1px solid #3e3a39;
}
#contact .sec_form form #submit {
	padding: 2rem;
	color: #3e3a39;
	font-size: 1.6rem;
	font-weight: 900;
	display: block;
	transition: 0.5s;
	width: 100%;
}
#contact .sec_form form .submit-wrap.active #submit {
	color: #fff;
	transition: 0.5s;
}
#contact .sec_form form .submit-wrap::after {
	content: "";
	position: absolute;
	width: 0;
	height: calc(100% + 1px);
	left: 0;
	top: 0;
	right: auto;
	z-index: -1;
	transition: 0.5s;
	background-color: #3e3a39;
}
#contact .sec_form form .submit-wrap.active::after {
	transition: 0.5s;
	width: calc(100% + 1px);
}
.wpcf7-response-output {
	border: none !important;
	text-align: center;
}

/* チェックボックスデザインのリセット */
input[type="checkbox"] {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
/* チェックボックスデザイン */
input[type="checkbox"] {
	cursor: pointer;
	padding-left: 30px; /*label手前にチェックボックス用の余白を開ける*/
	position: relative;
}

input[type="checkbox"]::before,
input[type="checkbox"]::after {
	content: "";
	display: block;
	position: absolute;
}

input[type="checkbox"]::before {
	background-color: #fff;
	border-radius: 0%;
	border: 2px solid #9f9b9a;
	width: 15px; /*チェックボックスの横幅*/
	height: 15px; /*チェックボックスの縦幅*/
	transform: none !important;
	top: 6px;
	left: 0;
}

input[type="checkbox"]::after {
	border-bottom: 3px solid #666464; /*チェックの太さ*/
	border-left: 3px solid #666464; /*チェックの太さ*/
	opacity: 0; /*チェック前は非表示*/
	height: 6px; /*チェックの高さ*/
	width: 11px; /*チェックの横幅*/
	transform: rotate(-45deg);
	top: 8px; /*チェック時の位置調整*/
	left: 3px; /*チェック時の位置調整*/
}

input[type="checkbox"]:checked::after {
	opacity: 1; /*チェック後表示*/
}

#contact .sec_tel {
	display: flex;
	align-items: center;
	border-top: 1px solid #707070;
	padding: 2.5rem 0 12.8rem;
}
#contact .sec_tel .a {
	width: 32%;
	font-size: 1.7rem;
	font-weight: 900;
	color: #3e3a39;
	align-items: center;
}
#contact .sec_tel .a img {
	margin-right: 12px;
}
#contact .sec_tel .b {
	width: 36%;
	font-size: 3.7rem;
	color: #221a1a;
	text-align: center;
}
#contact .sec_tel .c {
	width: 32%;
	font-size: 1.5rem;
	color: #221a1a;
}
@media screen and (min-width: 767px) and (max-width: 1080px) {
	#contact .sec_tel {
		flex-direction: column;
	}
	#contact .sec_tel .a {
		width: 100%;
		justify-content: center;
	}
	#contact .sec_tel .b {
		width: 100%;
	}
	#contact .sec_tel .c {
		width: 100%;
		text-align: center;
	}
}
#contact .wpcf7-spinner {
	position: absolute;
}
/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
404ページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
#page404 {
	/* height: calc(100vh - 510px); */
	height: calc(100vh - 420px);
	text-align: center;
}
@media screen and (max-width: 768px) {
	#page404 {
		height: calc(100vh - 245px);
	}
}
#page404 h1 {
	margin-top: 10rem;
	font-size: 3rem;
}
#page404 a {
	width: 25rem;
	padding: 1rem;
	margin-top: 10rem;
	background-color: #3e3a39;
	color: #fff;
	display: inline-block;
}
#page404 .large {
	font-size: 8rem;
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 900;
	color: #999;
}
/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
プライバシーポリシーページ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
#privacy .sec_p-ttl {
	margin-bottom: 6rem;
}
#privacy .sec_p-ttl .ttl-wrap {
	width: 40rem;
}
#privacy .main {
	margin-bottom: 15rem;
}
#privacy .main h2 {
	font-size: 2rem;
	font-weight: 700;
	padding-top: 3rem;
	margin-bottom: 0.5rem;
	letter-spacing: .1em;
}
#privacy .main p {
	font-size: 1.6rem;
	line-height: 1.8;
	letter-spacing: .1em;
}
#privacy .main ul li {
	padding-left: 1em;
	text-indent: -1em;
	font-size: 1.6rem;
	line-height: 1.8;
}
@media (max-width: 900px) {
	.header-wrap nav ul li a {
		font-size: 1.2rem;
	}
}
@media (max-width: 768px) {
	#privacy .main p {
		font-size: 1.4rem;
		line-height: 2;
	}
}

/*--------------------------------------------------------------------------
スライダーのアニメーション
--------------------------------------------------------------------------*/

.top-slider li img {
	overflow: hidden;
	transform-origin: 50% 50%;
}
@keyframes zoom {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.1);
	}
}
@media (min-width: 769px) {
	.top-slider li[tabindex="0"] img,
	.top-slider .slick-current img {
		animation: zoom 8s linear 0s forwards;
	}
}

@media (max-width: 768px) {
	.top-slider li {
		overflow: visible;
	}
	.top-slider li img {
		position: relative !important;
		width: 200%;
		max-width: 1536px;
		left: 0;
	}
	.top-slider li[tabindex="0"] img,
	.top-slider .slick-current img {
		animation: move 10s linear forwards;
	}
}
@keyframes move {
	0% {
		left: -25%;
	}
	100% {
		left: -75%;
	}
}

.about-slider li {
	padding: 0 24px;
}
.about-slider {
	width: calc(100% + 48px);
	margin-left: -24px;
}

.works-slider li {
	padding: 0 24px;
}
@media (max-width: 480px) {
	.works-slider {
		width: calc(100% + 48px);
		margin-left: -24px;
	}
}

/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
以下ホバーアニメーション　ホバーが効く端末のみ
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------------------*/
@media (hover: hover) {
	.underline {
		position: relative;
		cursor: pointer;
	}
	.underline::after {
		content: "";
		position: absolute;
		width: 0;
		height: 1px;
		background-color: #3e3a39;
		transition: 0.5s;
		left: 0;
		right: auto;
		bottom: 2px;
	}
	.underline:hover:after {
		width: 100%;
		transition: 0.5s;
	}

	.move-right:after {
		transition: 0.5s;
	}
	.move-right:hover:after {
		transition: 0.5s;
		transform: translateX(8px);
	}
	.prev,
	.prev:hover,
	.next,
	.next:hover {
		transition: 0.5s;
		position: relative;
	}
	.prev,
	.next {
		left: 0;
	}
	.prev:hover {
		left: -8px;
	}
	.next:hover {
		left: 8px;
	}

	.underline2 {
		position: relative;
	}
	.underline2::before {
		content: "";
		position: absolute;
		width: 0;
		height: 1px;
		background-color: #ffffff;
		transition: 0.5s;
		left: 0;
		right: auto;
		bottom: -8px;
	}
	.underline2:hover:before {
		width: 100%;
		transition: 0.5s;
	}
	.wave:hover {
		color: #ffffff;
		transition: 0.5s;
	}
	.wave {
		position: relative;
	}
	.wave:after {
		content: "";
		position: absolute;
		width: 0;
		height: calc(100% + 1px);
		left: 0;
		top: -1px;
		right: auto;
		z-index: -1;
		transition: 0.5s;
	}
	.wave:hover:after {
		background-color: #283c64;
		transition: 0.5s;
		width: calc(100% + 1px);
	}

	.wp-pagenavi > a {
		position: relative;
	}
	.wp-pagenavi > a:hover {
		color: #ffffff;
		transition: 0.5s;
	}
	.wp-pagenavi > a:after {
		content: "";
		position: absolute;
		width: 0;
		height: calc(100% + 1px);
		left: -1px;
		top: -1px;
		right: auto;
		z-index: -1;
		transition: 0.5s;
	}
	.wp-pagenavi > a:hover:after {
		background-color: #3e3a39;
		transition: 0.5s;
		width: calc(100% + 2px);
	}

	.post__pagination > a:hover {
		transition: 0.5s;
		opacity: 0.6;
	}
	.nextpostslink:hover::before {
		filter: brightness(10);
	}
	.previouspostslink:hover::before {
		filter: brightness(10);
	}

	.insta_list li {
		overflow: hidden;
	}
	.insta_list li a {
		overflow: hidden;
	}
	.insta_list li a img {
		transition: 0.5s;
	}
	.insta_list li a:hover img {
		transition: 0.5s;
		transform-origin: 50% 50%;
		transform: scale(1.1);
	}

	.img-wrap {
		overflow: hidden;
	}
	.zoom img {
		transition: 0.5s;
	}
	.zoom:hover img {
		transition: 0.5s;
		transform-origin: 50% 50%;
		transform: scale(1.1);
	}
	.logo {
		transition: 0.5s;
		margin-top: 5px;
	}
	.logo:hover {
		transition: 0.5s;
		opacity: 0.6;
	}
	#top-btn::before {
		transition: 0.5s linear;
	}
	#top-btn:hover::before {
		transition: 0.2s linear;
		top: 0;
		bottom: auto;
		height: 0;
	}
	#top-btn::after {
		content: "";
		transition: 0.5s linear;
		background-color: #3e3a39;
		width: 1px;
		height: 0;
		top: auto;
		bottom: 95px;
		position: absolute;
		left: 5px;
		transition-delay: 0.2s;
	}
	#top-btn:hover::after {
		transition: 0.2s linear;
		height: 105px;
		transition-delay: 0.2s;
	}
	#contact .sec_form form .box a {
		transition: 0.5s;
	}
	#contact .sec_form form .box a:hover {
		opacity: 0.6;
	}
	#contact .sec_tel .b {
		pointer-events: none;
	}
	#contact .sec_form form .submit-wrap {
		transition: 0.5s;
	}
	#contact .sec_form form .submit-wrap:hover {
		transition: 0.5s;
		box-shadow: 4px 4px 8px #aaa;
	}
}
