﻿@charset "utf-8";

/* -----------------------------------------------------------
   事例 詳細
-------------------------------------------------------------- */
@media screen and (min-width: 769px) {

	/*▽下部追従のCV導線ない場合は削除してください*/
	/*header {
		position: absolute !important;
	}*/
}

.niwork-detail {
	margin: 100px 0 0;
}

.top-block{
	display: flex;
}
.top-block img{
	object-fit: contain;
	margin: 0 30px 0 0;
	object-position: top;
	max-width: 50%;
}
.top-block .new-icon{
    background: #333;
    border-radius: 30px;
    color: #fff;
    padding: 2px;
    margin: 0 10px 10px 0;
    line-height: 1;
    width: 50px;
    height: 50px;
    font-family: var(--en);
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-block .niwork-detail__title {
	font-size: 3rem;
	font-weight: bold;
	/*margin-top: 30px;*/
	line-height: 1.5;
	letter-spacing: .05em;
	margin: 0 0 20px;
}
.top-block .tag-list{
	display: flex;
	color: var(--main);
	margin: 0 0 10px;
	gap: 10px;
}
.top-block .overview-block{
	margin: 30px 0 0;
}
.top-block .overview-block dl{
	display: flex;
	padding: 12px 0;
	border-bottom: solid 1px var(--main);
	line-height: 1.5;
}
.top-block .overview-block dt{
	width: 150px;
	font-weight: bold;
}
.top-block .overview-block .title {
   border-left: double 5px var(--main);
	font-weight: bold;
	font-size: 1.8rem;
	padding: 0 0 0 10px;
	line-height: 1.3;
}


@media screen and (max-width: 768px) {
	.niwork-detail {
		margin: 50px 0 0;
	}

	.niwork-detail__title {
		font-size: 2.2rem;
		margin: 20px 0 0;
		line-height: 1.7;
	}
	
	.top-block{
		display: block;
	}
	.top-block img{
		margin: 0 0 10px;
		max-width: 100%;
	}

	.top-block .niwork-detail__title {
		font-size: 2.6rem;
		margin: 0 0 10px;
	}
	.top-block .tag-list{
		margin: 0 0 10px;
	}
	.top-block .overview-block{
	}
	.top-block .overview-block dl{
		display: block;
	}
	.top-block .overview-block dt{
		width: 100%;
	}
}


/* -----------------------------
	-area
-------------------------------- */
.nicms-back{
	margin: 100px 0;
}
@media screen and (max-width: 768px){
	.nicms-back{
		margin: 30px 0 50px;
	}
}


/* -----------------------------------------------------------
    niwork-detail__thumbnail
-------------------------------------------------------------- */
.niwork-thumb__bawrap {
	align-items: center;
	display: flex;
	gap: 5%;
}

.single-image .niwork-thumb__bawrap {
	justify-content: center;
}

.niwork-thumb__ba {
	flex-shrink: 0;
}

[data-detailthumb="before"] {
	width: 38%;
	position: relative;
}

.niwork-detail__thumbnail.single-image [data-detailthumb="before"] {
	display: none;
}

[data-detailthumb="after"] {
	width: 57%;
}

[data-detailthumb="before"]::before {
	border-style: solid;
	border-width: 22px 0 22px 11px;
	border-color: transparent transparent transparent #ddd;
	content: "";
	right: -9%;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 0;
	height: 0;
}

.niwork-thumb__bawrap .thumb-bawrap {
	position: relative;
}

.niwork-thumb__bawrap .thumb-ba {
	aspect-ratio: 3/2;
	width: 100%;
}

.niwork-thumb__bawrap .thumb-ba img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.niwork-thumb__bawrap .thumb-caption {
	color: #fff;
	font-family: var(--en);
	left: 0;
	top: 0;
	position: absolute;
	padding: 6px 10px 7px;
}

[data-detailthumb="before"] .thumb-caption {
	background: var(--gray);
	font-size: 1.3rem;
	position: absolute;
}

[data-detailthumb="after"] .thumb-caption {
	background: var(--main);
	font-size: 1.7rem;
}

.niwork-detail__thumbnail.single-image [data-detailthumb="after"] .thumb-caption {
	display: none;
}

@media screen and (max-width: 768px) {
	.niwork-thumb__bawrap {
		gap: 30px;
		flex-direction: column;
	}

	[data-detailthumb="before"] {
		width: 70%;
	}

	[data-detailthumb="after"] {
		width: 100%;
	}

	[data-detailthumb="before"]::before {
		border-color: #ddd transparent transparent transparent;
		border-width: 12px 20px 0px 20px;
		bottom: -20px;
		right: 0;
		left: 50%;
		top: auto;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}

	.niwork-thumb__bawrap .thumb-caption {
		padding: 4px 8px 5px;
	}

	[data-detailthumb="before"] .thumb-caption {
		font-size: 1.2rem;
	}

	[data-detailthumb="after"] .thumb-caption {
		font-size: 1.5rem;
	}
}



/* -----------------------------------------------------------
   共通 テーブル
-------------------------------------------------------------- */
.works-cmn-table {
	width: 100%;
	border-collapse: collapse;
	line-height: 2.2;
	margin: 30px 0 0;
}

.works-cmn-table tr {
	border-bottom: 1px solid var(--border2);
}

.works-cmn-table th {
	text-align: left;
	vertical-align: top;
	font-weight: bold;
	padding: 15px 0 15px 20px;
	width: 200px;
	font-size: 1.7rem;
}

.works-cmn-table td {
	padding: 20px;
}

.works-cmn-table .disc-list li {
	position: relative;
	text-indent: -.8rem;
}

.works-cmn-table .disc-list li::before {
	content: "・";
	display: inline-block;
}

.cmntable-tel-cap {
	margin: 0 0 0 10px;
	display: inline-block;
}

@media screen and (min-width: 769px) {
	.cmntable-tel a[href^="tel:"] {
		color: var(--cmnblack)
	}
}

@media screen and (max-width: 768px) {
	.works-cmn-table {
		margin: 20px 0 0;
	}

	.works-cmn-table table {
		margin: 0;
		display: block;
	}

	.works-cmn-table tbody {
		display: block;
	}

	.works-cmn-table tr {
		display: block;
		border-bottom: 1px solid var(--border2);
	}

	.works-cmn-table th {
		font-size: 1.7rem;
		color: var(--sub);
		padding: 10px 0 3px;
		display: block;
		width: auto;
		line-height: 1.5;
	}

	.works-cmn-table td {
		padding: 0 15px 15px 10px;
		display: block;
		line-height: 1.8;
	}

	.cmntable-tel-cap {
		font-size: 1.55rem;
		margin: 5px 0 0;
	}
}

/* -----------------------------------------------------------
    niwork-detail__gallery
-------------------------------------------------------------- */
#niworks-detail .lb-nav a.lb-next {
	opacity: 1;
	background-position: right -15px top 48%;
}

#niworks-detail .lb-nav a.lb-prev {
	opacity: 1;
	background-position: left -15px top 48%;
}
.gallery-list{
	display: flex;
	gap: 20px;
	margin: 30px 0 0;
	flex-wrap: wrap;
}
.niwork-detail__gallery {
	width: 100%;
	
	margin: 60px 0 0;
}

.niwork-detail__gallery a {
	display: block;
	width: calc((100% - 40px) / 3);
	min-width: calc((100% - 40px) / 3);
}

.niwork-detail__gallery img {
	width: 100%;
	object-fit: contain;
}

.niwork-detail__gallery .img {
	aspect-ratio: 3/2;
	position: relative;
	width: 100%;
	overflow: hidden;
}
.niwork-detail__gallery .photo-item{
	position: relative;
}
.niwork-detail__gallery .photo-item::before {
	align-items: center;
	background: var(--main);
	bottom: 0;
	border-radius: 3px 0 0 0;
	color: #fff;
	content: "\f002";
	display: flex;
	font: 900 1.4rem/1 var(--webicon);
	position: absolute;
	right: 0;
	width: 30px;
	height: 30px;
	justify-content: center;
	padding: 2px 0 0;
	z-index: 2;
}

.niwork-detail__gallery .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .5s;
}

@media screen and (min-width: 769px) {
	.niwork-detail__gallery a:hover .img img {
		transform: scale(1.1, 1.1);
	}
}

.niwork-detail__gallery figcaption {
	color: var(--cmnblack) !important;
	display: block;
	margin: 10px 0 0;
	line-height: 1.5;
}

@media screen and (max-width: 768px) {
	.gallery-list{
		gap: 10px;
		width: 100%;
		margin: 20px 0 0;
	}
	.niwork-detail__gallery {
		
		margin: 40px 0 0;
	}

	.niwork-detail__gallery a {
		width: calc((100% - 10px) / 2);
		min-width: calc((100% - 10px) / 2);
	}

	.niwork-detail__gallery figure {
		align-items: center;
		display: flex;
		gap: 15px;
	}

	.niwork-detail__gallery .img {
		flex-shrink: 0;
		width: 50%;
	}

	.niwork-detail__gallery .img::before {
		font-size: 1.2rem;
		height: 25px;
		width: 25px;
	}

	.niwork-detail__gallery figcaption {
		font-size: 1.5rem;
		margin: 0;
	}
}

/* -------------------------------------------------------------
    nicms-back
-------------------------------------------------------------- */
#niworks-detail .nicms-back {
	margin: 50px auto 0;
}

@media screen and (max-width: 768px) {
	#niworks-detail .nicms-back {
		margin: 30px auto 0;
	}
}

/* -------------------------------------------------------------
    フルリッチ
-------------------------------------------------------------- */
.niwork-fullrich {
	margin-top: 30px;
}

.niwork-fullrich h1, .niwork-fullrich h2, .niwork-fullrich h3, .niwork-fullrich h4 {
	font-weight: bold;
	line-height: 1.4;
}

.niwork-fullrich h1 {
	font-size: 2.7rem;
	font-weight: bold;
	border-bottom: 6px solid var(--main);
	padding: 0 0 15px;
	margin: 50px 0 30px;
}

.niwork-fullrich h2 {
	background: var(--main);
	color: #fff;
	font-size: 2.6rem;
	margin: 50px 0 30px;
	padding: 10px 20px 12px;
	position: relative;
	letter-spacing: .05em;
	border-radius: 5px;
}

.niwork-fullrich h3 {
	border-bottom: dotted 3px var(--main);
	color: var(--main);
	margin: 40px 0 30px;
	padding: 0 0 10px;
	font-size: 2.4rem;
	letter-spacing: .05em;
}

.niwork-fullrich h4 {
	margin: 30px 0 20px;
	padding: 4px 0 0 16px;
	font-size: 2.3rem;
	position: relative;
}

.niwork-fullrich h4::before {
	background: var(--main);
	position: absolute;
	top: 2px;
	left: 0;
	display: block;
	content: '';
	width: 6px;
	height: 100%;
}

.niwork-fullrich p {
	margin-bottom: 1.5em;
	font-size: 1.6rem;
	letter-spacing: .035em;
	line-height: 2;
	overflow-wrap: break-word;
}

@media screen and (max-width: 768px) {
	.niwork-fullrich {
		margin-top: 20px;
	}

	.niwork-fullrich h1, .niwork-fullrich h2, .niwork-fullrich h3, .niwork-fullrich h4 {
		line-height: 1.5;
	}

	.niwork-fullrich h1 {
		border-bottom-width: 4px;
		font-size: 2.3rem;
		line-height: 1.5;
		margin: 30px 0 20px;
		padding: 0 0 10px;
	}

	.niwork-fullrich h2 {
		margin: 30px 0 20px;
		padding: 8px 15px 10px;
		font-size: 2rem;
	}

	.niwork-fullrich h3 {
		margin: 30px 0;
		padding: 0 0 10px;
		font-size: 1.9rem;
	}

	.niwork-fullrich h4 {
		margin: 30px 0 20px;
		padding: 0 0 0 12px;
		font-size: 1.8rem;
	}

	.niwork-fullrich h4::before {
		top: 0;
		width: 5px;
	}

	.ninews-fullrich p {
		margin-bottom: 1em;
		line-height: 2;
		letter-spacing: .05em;
	}
}

/* -----------------------------
	movie-area
-------------------------------- */
.movie-area{
	margin: 100px auto 0;
	display: table;
}
@media screen and (max-width: 768px){
	.movie-area{
				margin: 10px 0 0;

	}
	.movie-area iframe{
		width: 100%;
		height: 180px;
	}
}

/* -----------------------------
	voice-area
-------------------------------- */
.voice-area{
	margin: 50px 0 50px;
	
}
.voice-area .inner{
}
.voice-area .inner > div{
	display: flex;
	align-items: center;
}
.voice-area .inner > div img{
	width: 150px;
	height: 150px;
	border-radius: 5px;
	object-fit: cover;
	margin: 0 20px 0 0;
	border-radius: 100px;
}
.voice-area .inner .txt-box{
background: #fff;
    border: solid 1px var(--main);
    padding: 30px;
    position: relative;
    border-radius: 15px;
    margin-left: 1.5em;
    max-width: calc(100% - 1.5em);
	background: var(--lightgreen);
	width: 100%;
}
.voice-area .inner .txt-box::before,
.voice-area .inner .txt-box::after{
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	left: -1.5em;
	border-top: 10px solid transparent;
	border-right: 1.5em solid var(--main);
	border-bottom: 10px solid transparent;
}
.voice-area .inner .txt-box::after{
	left: calc( 4px - 1.5em );
	border-right: solid 1.5em var(--lightgreen);
}
.voice-area .inner .txt-box .title {
    background: var(--main);
    color: #fff;
    display: inline-block;
    padding: 0 10px;
	font-weight: bold;
	position: absolute;
	top: -15px;
	font-size: 2rem;
}
@media screen and (max-width: 768px){
	.voice-area{
		margin: 40px 0 40px;
		position: relative;
	}
	.voice-area .inner{
		padding: 0;
		
	}
	.voice-area .inner .txt-box{
		border-radius: 5px;
		padding: 15px;
		margin: 0 0 0 60px;
		width: 80%;
	}
	.voice-area .inner .txt-box::before,
	.voice-area .inner .txt-box::after{
		top: 30px;
		border-top: 8px solid transparent;
		border-right: 8px solid var(--main);
		border-bottom: 8px solid transparent;
		left: -9px;
	}
	.voice-area .inner .txt-box::after{
		left: -8px;
		border-right: 8px solid var(--lightgreen);
	}
	.voice-area .inner .txt-box .title {
		font-size: 1.6rem;
	}
	.voice-area .inner > div{
		display: block;
	}
	.voice-area .inner > div img{
		position: absolute;
		width: 55px;
		height: 55px;
		top: 4px;
        z-index: 1;
        left: -10px;
	}
	.voice-area .inner .basic-txt{
		padding: 10px 0 0;
	}
}

/* -----------------------------
	staff-area
-------------------------------- */
.staff-area{
	margin: 50px 0 50px;
}
.staff-area .inner{
}
.staff-area .inner > div{
	display: flex;
	align-items: center;
}
.staff-area .inner > div img{
	width: 150px;
	height: 150px;
	border-radius: 5px;
	object-fit: cover;
	margin: 0 20px 0 0;
	border-radius: 100px;
}
.staff-area .inner .txt-box{
background: #fff;
    border: solid 1px var(--main);
    padding: 30px;
    position: relative;
    border-radius: 15px;
    margin-left: 1.5em;
    max-width: calc(100% - 1.5em);
	background: var(--lightgreen);
	width: 100%;
}
.staff-area .inner .txt-box::before,
.staff-area .inner .txt-box::after{
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	left: -1.5em;
	border-top: 10px solid transparent;
	border-right: 1.5em solid var(--main);
	border-bottom: 10px solid transparent;
}
.staff-area .inner .txt-box::after{
	left: calc( 4px - 1.5em );
	border-right: solid 1.5em var(--lightgreen);
}
.staff-area .inner .txt-box .title {
    background: var(--main);
    color: #fff;
    display: inline-block;
    padding: 0 10px;
	font-weight: bold;
	position: absolute;
	top: -15px;
	font-size: 2rem;
}
@media screen and (max-width: 768px){
	.staff-area{
		margin: 40px 0 40px;
		position: relative;
	}
	.staff-area .inner{
		padding: 0;
		
	}
	.staff-area .inner .txt-box{
		border-radius: 5px;
		padding: 15px;
		margin: 0 0 0 60px;
		width: 80%;
	}
	.staff-area .inner .txt-box::before,
	.staff-area .inner .txt-box::after{
		top: 30px;
		border-top: 8px solid transparent;
		border-right: 8px solid var(--main);
		border-bottom: 8px solid transparent;
		left: -9px;
	}
	.staff-area .inner .txt-box::after{
		left: -8px;
		border-right: 8px solid var(--lightgreen);
	}
	.staff-area .inner .txt-box .title {
		font-size: 1.6rem;
	}
	.staff-area .inner > div{
		display: block;
	}
	.staff-area .inner > div img{
		position: absolute;
		width: 55px;
		height: 55px;
		top: 4px;
        z-index: 1;
        left: -10px;
	}
	.staff-area .inner .basic-txt{
		padding: 10px 0 0;
	}
}


/* -----------------------------------------------------------
    list-area
-------------------------------------------------------------- */
.niwork-relation-area {
	margin: 100px 0 0;
}
.niwork-relation-area .niwork-list{
	display: flex;
	gap: 20px;
}

.list-area {
	/*background: var(--cmnbg);*/
	margin: 30px auto 0;}
.list-area .cate-list{
	display: flex;
	margin: 0 0 10px;
}
.list-area .cate-list p{
	background: #333;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
    padding: 5px;
    margin: 0 5px 5px 0;
}
.list-area .tag-list{
	display: flex;
}
.list-area .tag-list .tag{
	color: var(--main);
	font-size: 1.3rem;
}

.disc{
	font-size: 1.4rem;
}
.niwork-list {
	display: flex;
	flex-wrap: wrap;
}
.niwork-list a{
	width: calc((100% / 2 ) - 10px);
	display: flex;
	color: #333;
	transition: .3s all;
}
.niwork-list a:hover{
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}
.niwork-list a img{
	width: 40%;
	height: 100%;
	object-fit: cover;
	margin: 0 20px 0 0;
}
.niwork-list__link {
	background: #F5F5F5;
	display: block;
	padding: 20px;
	position: relative;
	border-radius: 15px;
}

.niwork-list__link::before {
	bottom: 20px;
	content: "\f178";
	font: 900 1.7rem/1 var(--webicon);
	transition: .5s;
	position: absolute;
	right: 20px;
}

.niwork-list__ttl {
	color: var(--cmnblack);
	font-weight: bold;
	font-size: 2.3rem;
	line-height: 1.5;
	letter-spacing: .05em;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: inherit;
	margin: 0 0 10px;
}

@media screen and (min-width: 769px) {
	.niwork-list__link:hover {
		border-color: var(--link);
	}

	.niwork-list__link:hover::before {
		right: 15px;
	}
}



@media screen and (max-width: 768px) {
		.niwork-relation-area {
		margin: 60px 0 0;
	}
	
	.list-area {
		margin: 0 auto 0;
		padding: 0 0;
	}

	.niwork-list {
		gap: 30px;
		padding: 0 20px 10px;
	}
	.niwork-relation-area .niwork-list{
		display: block;
		gap: 20px;
		margin: 20px 0 0;
	}
	.niwork-relation-area .niwork-list a{
		width: 100%;
        display: block;
        margin: 0 0 20px;
	}
	.niwork-list a img{
		width: 100%;
		height: 200px;
		margin: 0 0 15px;
	}
	.list-area .cate-list{
		margin: 0;
	}

	.niwork-list__link {
		padding: 15px 15px 20px;
		        border-radius: 10px;
	}

	.niwork-list__link::before {
		font-size: 1.6rem;
		bottom: 15px;
		right: 15px;
	}

	.niwork-list__ttl {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		font-size: 2rem;
		line-height: 1.5;
		-webkit-line-clamp: 2;
		max-height: 65px;
		white-space: unset;
	}
}
