@charset "utf-8";

/* -----------------------------
	オフィスページ作成
-------------------------------- */
.header-area{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.page-title-area {
	position: relative;
	height: 700px;
	background:
		linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)),
		url("../img/company-yokohama-title-bg.jpg") no-repeat center center / cover;
}

.page-title-area .inner{
	height: auto;
}

.page-title-area .section-title {
	position: absolute;
	bottom: 90px;
	left: 0;
	background: rgba(255, 255, 255, 0.5);
	padding: 70px 90px 70px 200px;
	border-radius: 0 20px 20px 0;
	z-index: 2;
}

@media screen and (max-width: 768px) {
	.page-title-area {
		padding: 140px 20px 30px !important;
		background: url(../img/cmn-title-bg-sp.png) no-repeat center center / cover !important;
	}
	.page-title-area .inner{
		height: inherit;
	}
	.page-title-area .inner .img{
		margin: 0 0 15px;
	}
	.page-title-area .section-title {
		bottom: auto;
		position: relative;
		background: none;
		padding: 0;
		border-radius: 0;
	}
	.page-title-area {
		position: relative;
		padding: 200px 20px 30px;
		height: auto;
		background:
			linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .3)),
			url("../img/company-yokohama-title-bg.jpg") no-repeat center center / cover;
	}
}

/* -----------------------------
	MV下メニュー　service-top
-------------------------------- */
.service-top{
	padding: 80px 0 0;
}

.service-top .ttl-box{
	text-align: center;
	margin: 0 0 50px;
}

.service-top .ttl-box .en-ttl{
	display: inline-block;
}

@media screen and (max-width: 768px) {
	.service-top{
		padding: 40px 0 0;
	}

	.service-top .ttl-box{
		margin: 0 0 30px;
		padding: 0 20px;
	}

	.service-top .ttl-box .jp-ttl{
		font-size: 2.2rem;
	}
}

/* -----------------------------
	弁護士ご挨拶　topmessage-area
-------------------------------- */
.topmessage-area {
	padding: 100px 0;
	position: relative;
}
.topmessage-area{
	padding: 80px 0 90px;
	position: relative;
}
.topmessage-area .inner{
	display: flex;
	justify-content: space-between;
	gap: 60px;
}
.topmessage-area .txt-box{
	/* width: 640px; */
	width: calc(100% - 560px);
}
.topmessage-area .txt-box .txt:not(:first-child){
	margin: 15px 0 0;
}
.topmessage-area .catch{
	margin: 30px 0 20px;
}
.topmessage-area .img-box{
	text-align: center;
	width: 520px;
	/* width: calc(100% - 640px); */
}
.topmessage-area .img-box{
	border-radius: 10px;
}
.topmessage-area .img-box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.topmessage-area .img.name{
	margin: 20px 0 0;
	text-align: right;
}
.topmessage-area .img.name img{
	height: 25px;
	width: auto;
}
@media screen and (max-width: 768px) {
	.topmessage-area{
		padding: 30px 20px 40px;
	}
	.topmessage-area::before{
		position: absolute;
		content: "";
		background-image: url(../img/com-mes.jpg);
		background-size: contain;
		width: 117px;
		height: 142px;
		right: 20px;
	}
	.topmessage-area .inner{
		display: block;
	}
	.topmessage-area .txt-box{
		width: 100%;
	}
	.topmessage-area .img-box{
		width: 100%;
		margin: 0 0 20px;
	}
	.topmessage-area .catch{
		margin: 20px 0;
	}
	.topmessage-area .img-box .img.name img{
		width: 180px;
	}

	.topmessage-area .img.name img{
		height: 20px;
		width: auto;
	}
}

/* -----------------------------
	message-area
-------------------------------- */
.message-area{
	margin: 0 auto 100px;
}
.message-area .bg-wrap {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    gap: 40px;
    width: calc(100% - 80px);
}

.message-area .bg-wrap::before{
	display: none;
}

.message-area .bg-wrap .txt-box{
    padding: 40px 0 40px 40px;
    width: calc(100% - 450px);
}

.message-area .bg-wrap .img{
    width: 420px;
	height: auto;
}

@media screen and (max-width: 768px) {
	.bg-wht{
		width: calc(100% - 40px);
		margin: 0 auto;
	}

	.message-area{
		margin: 0 auto 40px;
	}

	.message-area .bg-wrap{
		flex-wrap: wrap;
        width: 100%;
        gap: 20px;
	}
	.message-area .bg-wrap .img{
		width: 100%;
		height: 200px;
		order: 0;
	}
	.message-area .bg-wrap .txt-box{
		width: 100%;
		order: 1;
		padding: 0 20px 20px;
	}
}
/* -----------------------------
	横浜オフィス　flow-area
-------------------------------- */
.office-flow-area {
	background-color: var(--rightblue);
}
.topflow-area .intro-box .catch {
	margin: 30px 0 10px;
}
.topflow-area .intro-box .txt {
	font-weight: 500;
	letter-spacing: 0.05em;
}
.topflow-area .top-flow-list {
	display: flex;
	margin: 50px 0 0;
}
.topflow-area .top-flow-list li {
	width: calc((100% - 116px) / 5);
	gap: 29px;
	background-color: var(--rightblue);
	padding: 20px 10px 35px;
	margin: 0 29px 0 0;
	position: relative;
}
.topflow-area .top-flow-list li:last-of-type {
	margin: 0;
}
.topflow-area .top-flow-list li::before {
	content: "";
	display: block;
	width: 29px;
	height: 100%;
	background: url("../img/top-flow-arrow.png") no-repeat center / 100% auto, var(--rightblue);
	position: absolute;
	top: 0;
	right: -29px;
}
.topflow-area .top-flow-list li:last-of-type::before {
	display: none;
}
.topflow-area .top-flow-list li .title-en {
	font-size: 1.2rem;
	line-height: 1;
	color: var(--main-color);
	font-family: var(--font-en);
	font-weight: 700;
	flex-shrink: 0;
	position: absolute;
	top: -20px;
	left: 6px;
}
.topflow-area .top-flow-list li .title-en span {
	display: inline-block;
	font-size: 2.6rem;
}
.topflow-area .top-flow-list li .img {
	text-align: center;
}
.topflow-area .top-flow-list li .flow-ttl {
	font-size: 1.8rem;
	font-family: var(--jp-serif);
	font-weight: 600;
	margin: 25px auto 0;
	text-align: center;
}
.topflow-area .support-box {
	/* margin: 50px 0 0; */
	position: relative;
	/* padding: 20px;
    background: url(../img/bg-consultation.jpg) no-repeat center / cover; */
}
.topflow-area .support-box::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: url(../img/bg-consultation.jpg) no-repeat center / cover;
	z-index: 0;
}
.topflow-area .support-box::after {
	position: absolute;
	content: "\f0e0";
	content: "\f105";
	font-size: 1.2rem;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background-color: var(--main-color);
	color: #fff;
	border-radius: 50%;
	bottom: 30px;
	right: 30px;
	font-weight: 900;
	z-index: 1;
	display: none;
}
.topflow-area .support-box a {
	position: relative;
	display: block;
	align-items: center;
	gap: 60px;
	padding: 40px;
	transition: .5s;
	top: 0px;
	/* background: url(../img/bg-texture01.jpg) no-repeat center / cover; */
}
.topflow-area .support-box a .bg-wrap {
	display: flex;
	align-items: center;
	background: url(../img/bg-texture01.jpg) no-repeat center / cover;
	position: relative;
	flex-direction: row-reverse;
	text-align: inherit;
	justify-content: space-between;
}
.topflow-area .support-box a .bg-wrap::before {
	background: none;
}
/* .topflow-area .support-box .img{
    height: 260px;
} */
.topflow-area .support-box .txt-box .en-ttl {
	font-size: 1.8rem;
	letter-spacing: 0.2em;
}
.topflow-area .support-box .txt-box .jp-ttl {
	font-size: 2.2rem;
	font-weight: bold;
	margin: 0 0 15px;
}
.topflow-area .support-box .catch {
	font-size: 2.2rem;
	letter-spacing: 0.05em;
	margin: 15px 0 0;
	font-weight: 600;
}
.support-box .txt-box {
	padding-left: 40px;
	width: calc(100% - 450px);
}
.message-area .txt-box .txt.bold {
	color: #D42525;
}
@media screen and (max-width: 768px) {
	.topflow-area .support-box a .bg-wrap {
		display: block;
	}
	.topflow-area {
		padding: 50px 20px;
	}
	/* .topflow-area::before {
		display: none;
	} */
	.topflow-area .intro-box .catch {
		font-size: 1.8rem;
		font-weight: 600;
		line-height: 1.6;
		margin: 20px 0 0;
	}
	.support-box .txt-box {
		padding: 20px;
		width: 100%;
	}
	.topflow-area .top-flow-list {
		flex-wrap: wrap;
		position: relative;
		margin: 20px 0 0;
	}
	.topflow-area .top-flow-list::before {
		position: absolute;
		content: "";
		width: 1px;
		height: 100%;
		background-color: var(--main-color);
		left: 30px;
		top: 0px;
	}
	.topflow-area .top-flow-list li {
		width: 100%;
		padding: 10px 0 10px 60px;
		margin: 0 0 10px 0;
		display: flex;
		align-items: center;
		gap: 20px;
	}
	.topflow-area .top-flow-list li::before {
		display: none !important;
	}
	.topflow-area .top-flow-list li .img {
		width: 60px;
	}
	.topflow-area .top-flow-list li .img img {
		width: 100%;
		height: 100%;
	}
	.topflow-area .top-flow-list li .flow-ttl {
		margin: 0;
	}
	.topflow-area .top-flow-list li .title-en {
		top: 50%;
		transform: translateY(-50%);
		left: 17px;
	}
	.topflow-area .consultation-box::before {
		background: var(--main-color);
	}
	.topflow-area .consultation-box::after {
		width: 22px;
		height: 22px;
		line-height: 22px;
		right: 15px;
		bottom: 15px;
	}
	.topflow-area .consultation-box a {
		padding: 10px;
	}
	.topflow-area .consultation-box a::after {
		position: absolute;
		content: "";
		width: 180px;
		height: 140px;
		background: var(--yellow);
		top: -20px;
		right: -20px;
		z-index: -1;
	}
	.topflow-area .consultation-box a .bg-wrap {
		flex-wrap: wrap;
		gap: 0px;
		background: none;
	}
	.topflow-area .consultation-box a .bg-wrap::before {
		background: none;
	}
	.topflow-area .consultation-box .img {
		height: 151px;
	}
	.topflow-area .consultation-box .txt-box {
		padding: 20px 20px 25px 20px;
		width: 100%;
		background: url(../img/bg-texture01-sp.jpg) no-repeat center / cover;
	}
	.topflow-area .consultation-box .txt-box .en-ttl {
		font-size: 1.6rem;
		left: 0.1em;
	}
	.topflow-area .consultation-box .txt-box .jp-ttl {
		font-size: 2.4rem;
	}
	.topflow-area .consultation-box .catch {
		font-size: 1.6rem;
	}
	.topmessage-area .img.name img {
		height: 20px;
		width: auto;
	}
}
.topflow-area .top-flow-list li {
	background: #fff;
}
.topflow-area .top-flow-list li::before {
	content: "";
	display: block;
	width: 29px;
	height: 100%;
	background: url("../img/top-flow-arrow-gray.png") no-repeat center / 100% auto, #fff;
	position: absolute;
	top: 0;
	right: -29px;
}
/* -----------------------------
	無料相談の3つの方法
-------------------------------- */
.three-methods-area h3 {
	display: inline-block;
	font-size: 2.0rem;
	font-weight: 700;
	margin: 0 0 20px;
	padding: 8px 10px;
	color: var(--main);
	border-bottom: 1px solid var(--main);
	position: relative;
	background: #133891;
	color: #FFE600;
}
/* .three-methods-area h3::before{
	position: absolute;
	content: "";
	background-image: url(../img/icon-walk.svg);
	width: 30px;
	height: 30px;
	background-size: cover;
	left: 0px;
	top: -4px;
} */
.methods-list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 50px 0 100px;
}
.methods-list .methods-item {
	width: calc((100% - 60px) / 3);
	padding: 35px 20px 20px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
	position: relative;
	border-radius: 10px;
}
.methods-list .methods-item .img {
	position: relative;
	margin: 0 0 20px;
}
.methods-list .methods-item h4 {
	font-size: 1.7rem;
	line-height: 1.5;
}
.methods-list .methods-item .txt {
	margin: 15px 0 0;
	font-size: 1.5rem;
}
.methods-list .methods-item .num {
	font-size: 2.0rem;
	line-height: 1;
	color: #fff;
	font-family: var(--font-en);
	font-weight: 700;
	padding: 10px 20px;
	background: var(--main-grade);
	border-radius: 27px;
	display: block;
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	letter-spacing: 0.06em;
}
.methods-list .methods-item .num em {
	font-size: 1.1rem;
	display: block;
	margin: 0 0 2px;
}
.methods-list .methods-item img {
	border-radius: 10px;
}
@media screen and (max-width: 768px) {
	.three-methods-area {
		padding: 0 20px;
	}
	.methods-list {
		margin: 50px 0 60px;
		margin: 50px 0 40px;
	}
	.methods-list .methods-item {
		width: 100%;
	}
}


/* -----------------------------
	ギャラリー
-------------------------------- */
.gallery-area{
	padding: 80px 0 100px;
	background: var(--rightblue);
}

.gallery-area .gallery-list {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 30px auto 0;
}

.gallery-area .gallery-list li {
	width: calc((100% - 80px) / 5);
}

.gallery-area .gallery-list a {
	position: relative;
	display: flex;
	padding: 5px;
	border: 1px solid #d6d6d6;
	background-color: #fff;
	justify-content: center;
	align-items: center;
}

.gallery-area .gallery-list a:hover {
	border-color: var(--main-color);
}

.gallery-area .gallery-list a i {
	position: absolute;
	right: 10px;
	bottom: 10px;
	color: var(--main-color);
}

.gallery-area .gallery-list .photo-item {
	line-height: 190px;
	height: 200px;
}

.gallery-area .gallery-list .photo-item img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}

.gallery-area .gallery-list .photo-caption {
	margin: 5px 0 0 0;
	text-align: center;
}

@media screen and (max-width: 768px) {
	
	.gallery-area {
		padding: 40px 20px;
		margin: 0 auto 60px;
	}
	
	.gallery-area .contents-wrap {
		width: calc(100% - 30px);
		padding: 15px 20px 20px 20px;
	}
	
	.gallery-area .machine {
		display: block;
	}
	
	.gallery-area .machine .photo {
		width: 60%;
		margin: 0 auto;
	}
	
	.gallery-area .machine .list li {
		display: block;
		margin-top: 20px !important;
	}
	
	.gallery-area .machine .list .num {
		font-size: 2rem;
		display: block;
		width: auto;
		height: auto;
		margin: 0 0 3px 0;
		text-align: left;
		border: none;
		border-radius: 0;
	}
	
	.gallery-area .machine .list .text {
		width: 100%;
	}
	
	.gallery-area .machine .list .text-ttl {
		font-size: 2rem;
		line-height: 1.3;
		margin: 0 0 10px 0;
		padding: 0 0 7px 0;
	}
	
	.gallery-area .gallery-list {
		margin: 25px 0 0 0;
		gap: 10px;
	}
	
	.gallery-area .gallery-list li {
		width: calc((100% - 10px) / 2);
	}
	
	.gallery-area .gallery-list li:nth-child(2n) {
		margin-right: 0;
	}
	
	.gallery-area .gallery-list .photo-item {
		line-height: 90px;
		height: 100px;
	}
	
	.gallery-area .gallery-list .photo-caption {
		font-size: 1.4rem;
		line-height: 1.4;
	}
	
}