@charset "utf-8";
/*
Theme Name: hamada-ss
Author: YES-REFORM CO., LTD.
*/

:root {
/* ブランドカラー */
--color-primary:#363f6c;
--color-secondary: #d9edf8;
--color-accent: #f57d0d;

/* テキストカラー */
--text-primary: #222;
--text-secondary: #0a3863;

/* 境界・背景カラー */
--border-color: #d5d4d4;
--bg-grey:#eeeeee;
--bg-lightgrey:#f4f4f4;

/* フォントファミリー */
--font-primary:"Noto Sans JP", sans-serif; /* 400 */
--font-secondary:"Zen Old Mincho", serif; /* 900 */
--font-number:"Jost", sans-serif; /* 500 */
--font-english:"Jost", sans-serif; /* 500 */

/* フォントサイズ */
--font-size-body: clamp(1.5rem, 1.5vw + 0.5rem, 1.6rem);
--font-size-accent: clamp(1.7rem, 1.5vw + 0.5rem, 2rem);
--font-size-heading: clamp(2.4rem, 3vw + 0.8rem, 3.6rem);
--font-size-subheading: clamp(1.8rem, 2vw + 0.6rem, 2.4rem);
--font-size-caption: clamp(1.2rem, 1vw + 0.4rem, 1.4rem);

/* 行間 */
--line-height-base: 1.8;
--line-height-heading: 1.3;
--line-height-caption: 1.4;

/* 装飾 */
--shadow-primary: 5px 5px 20px 0.4px rgba(30, 38, 30, 0.25);

}

/* Body
========================================== */
html{}
html, body {
	width: 100%;
	font-size: 62.5%;
	overflow-x: clip; /*sticky用*/
}
body {
	line-height: var(--line-height-base);
	background-color: #fff;
	font-size: var(--font-size-body);
	font-family: var(--font-primary);
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: var(--text-primary);
}
body.is-home{}

@media screen and (max-width: 599px) {
	body {word-wrap: break-word;font-size: 1.5rem;}
}



/* header
========================================== */
.header{
	z-index: 1200;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
}
.headerArea{
	background-color: transparent;
	transition: background-color 1s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px 0 20px;
}
/*.is-sub .headerArea{background-color: rgba(54,63,108,0.9);}*/
.headerArea.scrolled {background-color: rgba(54,63,108,0.9);}

.headerLogo{max-width: 110px;}
.headerLogo a{
	display: block;
	line-height: 1.3;
	text-decoration: none;
	text-align: center;
	color: #fff;
}
.headerLogo img {
	width: 100%;
	height: auto;
}
.headerLogo a:hover{opacity: 0.7;transition: 0.3s;}

.headerNaviWrap{
	display: flex;
	gap: 0 30px;
	align-items: center;
	justify-content: flex-end;
}

.headerNavi > ul{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
	gap: 0 2.5em;
	height: 80px;
}
.headerNavi > ul > li {position: relative;}
.headerNavi > ul > li > a,
.headerNavi > ul > li button{
	display: block;
	color:#fff;
	text-decoration: none;
	transition: .3s;
}
.headerNavi > ul > li > a:hover{text-decoration: underline;}
.headerNavi .subMenu .hasLink,
.headerNavi .subMenu button{
	display: flex;
	align-items: center;
	gap: 10px;
}
.headerNavi .subMenu .hasLink::after,
.headerNavi .subMenu button::after{
	content: "";
	display: block;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	width: 8px;
	height: 8px;
	transform:rotate(135deg);
	transition: 0.3s;
}
.subMenuBox{
	position: absolute;
	top: calc(100% + 26px);
	left: 50%;
	width: fit-content;
	max-width: 90vw;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
	box-sizing: border-box;
	transition: all 0.3s ease;
	z-index: 3000;
	padding: 1.2em 1.5em;
	background-color:rgba(54,63,108,0.9);
}
.headerNavi > ul .subMenu:hover .subMenuBox{
	opacity: 1;
	visibility: visible;
}

.subMenuList{
	display: flex;
	flex-direction: column;
	gap:0.4em 0;
}
.subMenuList > li{
	position: relative;
	padding-left: 20px;
}
.subMenuList > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1em;
	width: 10px;
	height: 1px;
    background-color:#fff;
    transition: 0.3s;
}
.subMenuList > li a{
	display: inline-block;
	white-space: nowrap;
	width: 100%;
	color: #fff;
	text-decoration: none;
	transition: 0.3s;
}
.subMenuList > li a:hover{
	text-decoration: underline;
}

.headerTel{
	line-height: 1.2;
	font-family: var(--font-number);
	text-align: center;
	color: #fff;
}
.headerTel .number{font-size:2.6rem;white-space: nowrap;}
.headerTel .hours{
	display: block;
}
.headerContact a{
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding:1em 1em;
	min-width: 12em;
	background-color: var(--color-accent);
	box-sizing: border-box;
	border: 1px solid transparent;
	color: #fff;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	transition: 0.3s;
}
.headerContact a:hover{
	background-color: var(--color-primary);
	border-color: #fff;
}

.spMenuWrap{display: none;}
.spMenu,
.spBtn,
.overlay {
	opacity: 0;
	pointer-events: none;
}
@media screen and (max-width:1400px){
	.headerTel .number{font-size:2rem;}
	.headerNavi > ul{gap: 0 1.5em;}
}
@media screen and (max-width:1200px){
	.headerNaviWrap{gap: 0 20px;}
	.headerContact a{min-width: 8em;}
}

@media screen and (max-width:1024px){
	.headerArea{z-index: 10;padding:0;height:60px}
	.headerLogo{max-width: 100%;margin-left:10px;}
	.headerLogo img{width: auto;height: 40px;}
	.headerNaviWrap{display: none;}

	.spMenuWrap{display: block;}
	.spBtn{
		opacity: 1;
		pointer-events: auto;
		position:fixed;
		top:8px;
		right:8px;
		display: inline-block;
		width: 45px;
		height:45px;
		padding: 14px 11px 15px;
		background-color:#fff;
		cursor: pointer;
		z-index: 2000;

		/*線を消す*/
		outline: none;
        border: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
	}
	.spBtn div {position: relative;}
	.spBtn span {
		display: block;
		position: absolute;
		height: 2px;
		width: 100%;
		background:var(--color-primary);
		left: 0;
		transition: .3s ease;
	}
	.spBtn span:nth-child(1) {top: 0;}
	.spBtn span:nth-child(2) {top: 8px;}
	.spBtn span:nth-child(3) {top: 16px;}
	.spBtn.active span:nth-child(1) {
		top: 8px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.spBtn.active span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.spBtn.active span:nth-child(3) {
		top: 8px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.spMenu{
		overflow-y: auto;
		-webkit-overflow-scrolling: touch; /* iOSで慣性スクロール */
		position: fixed;
		top: 0; right: 0;
		width: 100%;
		height: 100%;
		z-index: 1000;
		transition: transform 0.3s ease;
		padding: 80px 2em 60px;
		background-color:rgba(54,63,108,1);
	}
	.spMenu.active{
		opacity: 1;
		pointer-events: auto;
	}
	.spMenu::-webkit-scrollbar{width: 10px;}
	.spMenu::-webkit-scrollbar-track{background: transparent;}
	.spMenu::-webkit-scrollbar-thumb {background: transparent;}

	.spNavi{
		margin-bottom:30px;
		border-top: 1px solid #737998;
	}
	.spNavi > ul > li{
		border-bottom: 1px solid #737998;
	}
	.spNavi > ul > li a{
		position: relative;
		display: block;
		padding:15px 20px;
		font-optical-sizing: auto;
		font-size: 1.5rem;
		font-weight: 500;
		color: #fff;
		text-decoration: none;
		cursor: pointer;
	}
	.spNavi > ul > li ul{margin-left: 1em;}
	.spsubMenuList{padding-bottom: 10px;}

	.subMenu.hasLink{position: relative;}
	.subMenu.hasLink a{
		display: block;
		width: fit-content;
	}
	.subMenu:not(.hasLink) .spMenuTrigger{
		position: relative;
		display: block;
		padding:15px 30px 15px 20px;
		width: 100%;
		font-optical-sizing: auto;
		font-size: 1.5rem;
		font-weight: 500;
		color:#fff;
		cursor: pointer;
	}
	.subMenu.hasLink .spMenuTrigger{
		position: absolute;
		top: 8px;
		right: 0;
		width: 40px;
		height: 40px;
		cursor: pointer;
	}

	.spNavi .spMenuTrigger::before{
		content: "";
		position: absolute;
		top: 45%;
		right: 20px;
		transform:rotate(135deg) translateX(-50%);
		width: 10px;
		height: 10px;
		border-top: 2px solid #fff;
		border-right: 2px solid #fff;
		transition: transform 0.3s, top 0.3s;
	}
	.subMenu.is-open .spMenuTrigger::before {
		transform: rotate(-45deg) translateX(50%);
		top: 55%;/
	}

	.spNavi li a:hover{text-decoration: underline;}
	.spsubMenuBox {display: none;}

	.spInfo{
		margin-bottom: 30px;
		text-align: center;
		color: #fff;
		font-size: 1.4rem;
	}
	.spInfo .spLogo{margin-bottom: 20px;}
	.spInfo .spLogo img{max-width: 80%;height: auto;}
	.spInfo .spLogo a{display: block;}
	.spInfo .spTel{
		margin-top: 20px;
		font-family: var(--font-number);}
	.spInfo .spTel a{
		line-height: 1.3;
		display: block;
		width: fit-content;
		margin: 0 auto;
		text-decoration: none;
		font-size:3rem;
		color: var(--color-accent);
	}
}

/* contents
========================================== */
.contents {
	margin: 0 auto;
	width: 100%;
}
.contents p+p {margin-top: 1.5em;}
.contentsInner {
	margin: 0 auto;
	padding: 30px 0 60px;
	width: 1200px;
}

@media screen and (max-width:1200px) {
	.contentsInner {
		width: 100%;
        padding-left: clamp(20px, 4vw, 30px);
        padding-right: clamp(20px, 4vw, 30px);
	}
}

@media screen and (max-width:599px) {
	.contentsInner {
		padding: 50px 20px;
	}
}

/* mv
========================================== */
.mvArea {
	z-index: 1;
	position: relative;
	width: 100%;
}
.mvArea .mvImage img{
	width: 100%;
	height: auto;
}
.mvArea .mvText{
	z-index: 100;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 1200px;
	text-align: center;
}
.mvArea .mvText .main{
	line-height: 1.5;
	margin-bottom: 40px;
	color: #fff;
	font-family: var(--font-secondary);
	font-size:min(5.833vw,7rem);
	font-weight: 600;
	opacity: 0;
	animation: fade-in 1.5s ease-in-out forwards;
}
.mvArea .mvText .sub{
	color: #fff;
	font-weight: 600;
	font-family: var(--font-secondary);
	font-size:min(2.167vw,2.6rem);
	opacity: 0;
	animation: fade-in 1.5s ease-in-out .5s forwards;
}

.mvArea .mvText .main span{display: inline-block;}
.mvArea .mvText .sub span{display: inline-block;}


@keyframes fade-in {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@media screen and (max-width:1200px) {
	.mvArea .mvText{
		width: 100%;
		padding: 0 clamp(20px, 5vw, 30px);
	}
}

@media screen and (max-width:1024px) {
	.mvArea .mvText{padding-top: 60px;}
}
@media screen and (max-width:599px) {
	.mvArea .mvText .sub{font-size: 1.4rem;}
}

/* 私たちについて
========================================== */
.aboutArea{
	position: relative;
	padding: 100px 0;
}
.aboutArea::before{
	z-index: -1;
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 80%;
	background-color: var(--bg-lightgrey);
	transform: translateY(-50%) skewY(-8deg);
}
.aboutArea .contentsInner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap:30px 5%;
}
.aboutArea .aboutTitle{
	line-height: var(--line-height-heading);
	margin-bottom: 1em;
	font-family: var(--font-secondary);
	font-size: var(--font-size-subheading);
	font-weight: 900;
	color: var(--color-primary);
}
.aboutArea .contentsInner .textBlock{width: 45%;}
.aboutArea .contentsInner .aboutSlider{width: 55%;padding-bottom: 50px;}
.aboutArea .contentsInner .aboutSlider img{
	max-width: 100%;
	height: auto;
}

.aboutSlider .swiper-pagination {bottom:0;}
.aboutSlider .swiper-pagination-bullet {
    width: 80px;
    height: 10px;
    border-radius: 0;
    background: #d5d4d4;
    opacity: 1;
    margin: 0 5px !important; 
}

.aboutSlider .swiper-pagination-bullet-active {
    background:var(--color-primary);
}

@media screen and (max-width:840px) {
	.aboutArea{
		padding: 60px 0 0;
	}
	.aboutArea::before{
		display: none;
	}
	.aboutArea .contentsInner{
		flex-direction: column;
		gap:40px;
	}
	.aboutArea .contentsInner .textBlock{width:100%;}
	.aboutArea .contentsInner .aboutSlider{width:100%;text-align: center;}
}
@media screen and (max-width:599px) {
	.aboutArea .contentsInner .btnLinkMore.right{text-align: center;}
}

/* 事業内容
========================================== */
.businessArea{
	padding:60px 0;
}

.businessArea .textBlock{
	display: flex;
	align-items: center;
	gap: 5%;
	margin-bottom: 50px;
}
.businessArea .textBlock .ttlMain{margin-bottom: 0;}
.businessArea .businessTitle{
	line-height:1.5;
	font-family: var(--font-secondary);
	font-size: clamp(2rem, 2vw + 0.6rem, 3rem);
	font-weight: 900;
	color: var(--color-primary);
}
.businessArea .scrollWrap{
	margin-bottom: 30px;
}
.businessArea .menuBlock{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 40px 5%;
	margin-bottom: 60px;
}
.businessArea .menuBlock .item{
}
.businessArea .menuBlock .item a{
	text-decoration: none;
}
.businessArea .menuBlock .item .imageBlock{
	position: relative;
	overflow: hidden;
	margin-bottom: 25px;
}
.businessArea .menuBlock .item .imageBlock:before{
	content: "";
	display: block;
	aspect-ratio: 1/1;
	background-color: #222;
}
.businessArea .menuBlock .item .imageBlock img{
	z-index: 1;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	object-fit: cover;
	transition: 0.4s ease;
}
.businessArea .menuBlock .item:hover .imageBlock img{
	opacity: 0.7;
	transform: scale(1.05);
}
.businessArea .menuBlock .item .title{
	line-height: var(--line-height-heading);
	margin-bottom: 1em;
	font-family: var(--font-secondary);
	font-size: var(--font-size-accent);
	font-weight: 900;
	color: var(--color-primary);
}
.businessArea .menuBlock .item:hover .title{color: var(--color-accent);}


.businessArea .btnArea{
	display: flex;
	justify-content: center;
	gap: 1.5em;
}

@media screen and (max-width:840px) {
	.businessArea .textBlock{
		display: block;
	}
	.businessArea .textBlock .ttlMain{margin-bottom: 1.5em;}
}
@media screen and (max-width:599px) {
	.businessArea .contentsInner{
		flex-direction: column;
		gap:30px;
	}

	.businessArea .btnArea{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.businessArea .menuBlock{
		display: flex;
		flex-wrap:nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding:0 calc(50% - 125px) 30px;
		gap: 20px;
		width: 100%;

	}
	.businessArea .menuBlock .item{
		width: auto;
		flex: 0 0 250px;
		scroll-snap-align: center;
		filter:none;
	}
	.businessArea .menuBlock::-webkit-scrollbar{height: 10px;}
	.businessArea .menuBlock::-webkit-scrollbar-track{background: var(--bg-lightgrey);}
	.businessArea .menuBlock::-webkit-scrollbar-thumb {background: var(--color-primary);
	}

	.businessArea{padding:0;}
}



/* 施工事例
========================================== */
.caseArea{
	position: relative;
	padding: 100px 0 0;
}
.caseArea::before{
	z-index: -1;
	content: '';
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-lightgrey);
	transform:skewY(3deg);
}
.caseArea .headBlock{
	display: flex;
	justify-content: space-between;
	gap:30px;
	margin: 0 auto 40px;
	max-width: 1200px;
}
.caseArea .caseMenu{
	display: flex;
	align-items: center;
	gap: 30px;
}
.caseArea .caseMenu li a{
	position: relative;
	line-height: var(--line-height-heading);
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	gap:0 1em;
	padding: .3em 2em 40px;
	color: var(--color-primary);
	font-family: var(--font-secondary);
	font-size: var(--font-size-accent);
	font-weight: 900;
	text-align: center;
	text-decoration: none;
}
.caseArea .caseMenu li a:hover{
	color: var(--color-accent);
	transition: .3s;
}
.caseArea .caseMenu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
	width: 100%;
	height:30px;
    -webkit-mask-image: url("assets/img/icon_case_arrow.svg");
    mask-image: url("assets/img/icon_case_arrow.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    background-color:var(--color-primary); 
    transition: background-color 0.4s ease, transform 0.4s ease;
}
.caseArea .caseMenu li a:hover::after {
    background-color: var(--color-accent);
    transform: translateY(3px);
}
.caseArea .corpArea{
	background:url(assets/img/corp_bg.jpg)left bottom/cover no-repeat;
	padding:80px 0 100px;
}
.caseArea .personalArea{
	background:url(assets/img/personal_bg.jpg)left bottom/cover no-repeat;
	padding:80px 0 100px;
}
.caseTitle{
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
    text-align: center;
	line-height:var(--line-height-heading);
	padding: .3em 1em;
	width: fit-content;
	white-space: nowrap;
	background-color: #222;
	font-family: var(--font-secondary);
	font-weight: 900;
	font-size:var(--font-size-subheading);
	color: #fff;}

.caseText{
	margin: 0 auto 3em;
	text-align: center;
	font-size: var(--font-size-accent);
	color: #fff;
}

@media screen and (max-width:1200px) {
	.caseArea .headBlock{
		padding:0 clamp(20px, 5vw, 30px);
	}

	.caseArea .corpArea,
	.caseArea .personalArea{
		padding:80px clamp(20px, 5vw, 30px) 100px;
	}
}

@media screen and (max-width:840px) {
	.caseArea .headBlock{
		flex-direction: column;
		gap: 0;
	}
}
@media screen and (max-width:599px) {
	.caseArea .caseMenu li a{
		padding: .3em 1em 40px;
	}
}

/* 法人事例 */
.corpCaseWrap {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: auto auto;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto 60px;
	grid-template-areas: 
		"a1 a1 a1 a1 a1 a1 a1 a2 a2 a2 a2 a2" /* 上段 7:5 (640:520に近似) */
		"b1 b1 b1 b1 b2 b2 b2 b2 b3 b3 b3 b3"; /* 下段 4:4:4 (等分) */
}

/* 各エリアの定義（ここは今のコードのままでOKですが念のため） */
.corpCaseWrap .item:nth-child(1) { grid-area: a1; }
.corpCaseWrap .item:nth-child(2) { grid-area: a2; }
.corpCaseWrap .item:nth-child(3) { grid-area: b1; }
.corpCaseWrap .item:nth-child(4) { grid-area: b2; }
.corpCaseWrap .item:nth-child(5) { grid-area: b3; }

.corpCaseWrap .item {
    position: relative;
    overflow: hidden;
}
.corpCaseWrap .item a {
    display: block;
    text-decoration: none;
    color: #fff;
    height: 100%;
}
.corpCaseWrap .item .imageBlock img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.corpCaseWrap .item .imageBlock img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.corpCaseWrap .item:hover .imageBlock img {
    transform: scale(1.05);
}
.corpCaseWrap .item .textBlock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    /* --- アニメーションの設定 --- */
    opacity: 0; 
    visibility: hidden;
    transition: all 0.4s ease;
}

.corpCaseWrap .item:hover .textBlock {
    opacity: 1;
    visibility: visible;
}
@media screen and (max-width:1200px) {
}
@media screen and (max-width: 840px) {
	.corpCaseWrap {
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas: none;
		gap: 20px;
	}
	.corpCaseWrap .item:nth-child(n) {
		grid-area: auto;
	}
	.corpCaseWrap .item .imageBlock::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 70%;
		background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
		pointer-events: none;
		z-index: 1;
	}
	.corpCaseWrap .item .imageBlock img {
		height: auto;
		aspect-ratio: 16 / 9;
		transform: none !important;
	}
	.corpCaseWrap .item .textBlock {
		z-index: 2;
		opacity: 1!important;
		visibility: visible;
		background-color: transparent !important;
	}
}
@media screen and (max-width: 599px) {
	.corpCaseWrap {
		grid-template-columns: 1fr;
	}
}

/* 個人 */
.personalCaseWrap {
	display: grid;
	grid-template-columns: 350fr 810fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto 60px;
}
.personalCaseWrap .item {
    position: relative;
    overflow: hidden;
}
.personalCaseWrap .item a {
    display: block;
    text-decoration: none;
    color: #fff;
    height: 100%;
}
.personalCaseWrap .item .imageBlock img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.personalCaseWrap .item .textBlock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    /* --- アニメーションの設定 --- */
    opacity: 0; 
    visibility: hidden;
    transition: all 0.4s ease;
}

.personalCaseWrap .item:hover .textBlock {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width:1200px) {
}
@media screen and (max-width: 840px) {
	.personalCaseWrap {
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas: none;
		gap: 20px;
	}
	.personalCaseWrap .item .imageBlock::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 70%;
		background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
		pointer-events: none;
		z-index: 1;
	}
	.personalCaseWrap .item .imageBlock img {
		height: auto;
		aspect-ratio: 16 / 9;
		transform: none !important;
	}
	.personalCaseWrap .item .textBlock {
		z-index: 2;
		opacity: 1!important;
		visibility: visible;
		background-color: transparent !important;
	}
}
@media screen and (max-width: 599px) {
	.personalCaseWrap {
		grid-template-columns: 1fr;
	}
}

/* リンク
========================================== */
.linkArea{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap:30px 10%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 0;
}

.linkArea .linkPartner{
	background: url(assets/img/partner_bg.jpg)right top/cover no-repeat;
}
.linkArea .linkFaq{
	background: url(assets/img/faq_bg.jpg)right top/cover no-repeat;
}
.linkArea a{
	display: block;
	text-decoration: none;
	color: #fff;
	transition: 0.3s;
}
.linkArea h2{
	position: relative;
	padding: 1em 1em 1em 45px;
}
.linkArea h2::before{
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	content: "";
	width: 8px;
	height: 8px;
	background-color: #fff;
	border-radius: 9999px;
	transition: 0.3s;
}
.linkArea h2::after{
	position: absolute;
	right: 30px;
	top: 50%;
	transform:rotate(45deg) translateY(-50%);
	content: "";
	width: 15px;
	height: 15px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transition: 0.3s;
}
.linkArea img{
	width: 90%;
	height: auto;
	padding-right: 40px;
	padding-bottom: 10px;
	border-bottom: 1px solid #929292;
	transition: 0.3s;
}
.linkArea a:hover{
	color: var(--color-accent)
}
.linkArea a:hover img{opacity: .5;}
.linkArea a:hover h2::before{
	background-color:var(--color-accent);
}
.linkArea a:hover h2::after{
	right: 25px;
	border-color: var(--color-accent);
}

@media screen and (max-width:1200px) {
	.linkArea{
		gap:30px 5%;
		padding: 60px clamp(20px, 5vw, 30px);
	}
}
@media screen and (max-width:599px) {
	.linkArea{
		grid-template-columns:1fr;
		gap:20px 5%;
		padding: 30px clamp(20px, 5vw, 30px);
	}
}



/* 新着情報
========================================== */
.newsArea{}
.newsArea .contentsInner{
	display: flex;
	gap: 5%;
}
.newsArea .titleBlock{width: 35%;}
.newsArea .titleBlock .ttlMain{width: 100%;}
.newsArea .newsBlock{width: 60%;}
.newsList li{
	line-height: 1.3;
	display: flex;
	flex-wrap: wrap;
	gap:1em 2em;
	padding:1.5em 1em;
	border-bottom: 1px solid var(--border-color);
}
.newsList li .category{
	line-height: 1;
	width:100%;
}
.newsList li .category a{
	line-height: 1.2;
	display: inline-block;
	padding: 0.3em 1em;
	font-size: 1.4rem;
	text-align: center;
	text-decoration: none;
	background-color:var(--color-primary);
	color: #fff;
	transition: 0.3s;
}
.newsList li .date{
	width: 6em;
	color: #929292;
	font-family: var(--font-number);
}

.newsList li .category a:hover{
	background-color: var(--color-accent);
}
.newsList li .title{width: calc(100% - 8em);}
.newsList li .title a{
	display: block;
	text-decoration: none;}

.newsList li .title a:hover{text-decoration: underline;}


@media screen and (max-width:1200px) {
	.newsArea{padding: 0;}
}

@media screen and (max-width:840px) {
	.newsArea .contentsInner {
		display: flex;
		flex-direction: column;
	}
	.newsArea .titleBlock {display: contents;}
	.newsArea .ttlMain {order: 1;padding-right: 40px;}
	.newsArea .newsBlock{order: 2;width: 100%;}
	.newsArea .btnLinkMore {
		order: 3;
		margin-top: 2em;
		text-align: center;
	}

	.newsArea .newsBlock .title{width: 100%;}
	.newsList li .title{width:100%;}
}



/* 採用情報
========================================== */
.recruitArea{
	background:url(assets/img/recruit_bg.jpg)left top /cover no-repeat;
	padding:100px 0;
}
.recruitArea .recruitTitle{
	line-height:1.5;
	margin-bottom: 1.5em;
	font-family: var(--font-secondary);
	font-size: clamp(2rem, 2vw + 0.6rem, 3rem);
	font-weight: 900;
	color:#fff;
}
.recruitArea .contentsInner{
	display: flex;
	justify-content: space-between;
}
.recruitArea .linkBlock{
	flex: 1;
}
.recruitArea .textBlock{
	color: #fff;
}
.recruitArea .btnArea{
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}
@media screen and (max-width:840px) {
	.recruitArea .contentsInner {
		display: flex;
		flex-direction: column;
	}
	.recruitArea .linkBlock {
		display: flex;
		flex-direction: column;
		display: contents;
	}
	.recruitArea .ttlMain {
		order: 1;
		margin-bottom: 20px;
	}
	.recruitArea .textBlock {
		order: 2;
		margin-bottom: 40px;
	}
	.recruitArea .btnArea{
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
		order: 3;
	}

}
@media screen and (max-width:599px) {
	.recruitArea{padding:0;}
}

/* お問い合わせ
========================================== */
.ctaArea{
	background:url(assets/img/contact_bg.jpg)left top /cover no-repeat;
	padding:80px 0;
	color: #fff;
}
.ctaArea .btnLink{
	margin-top: 2em;
}
.ctaArea .btnLink a{
	display: inline-flex;
	padding-right:120px;
	min-width: auto;
}
.ctaArea .btnLink a::before{
	width: 100px;
}
@media screen and (max-width:1200px) {


}
@media screen and (max-width:840px) {
	.ctaArea .btnLink{text-align: center;}
}
@media screen and (max-width:599px) {
	.ctaArea{padding:0;}
	.ctaArea .btnLink a{
		padding-right:70px;
	}
	.ctaArea .btnLink a::before{
		width: 60px;
	}
}

/* footer
========================================== */
footer {width: 100%;}
.footerWrap {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	padding:100px 0 30px;
	max-width: 1200px;
	gap:  5%;
}
.footerWrap a:hover img{
	opacity: .6;
	transition: .3s;
}
.footerInfo{width: 200px;}
.footerInfo .footerLogo {
	margin: 0 0 20px;
	width: 200px;
}
.footerInfo .footerLogo a{display: block;}
.footerInfo .footerLogo img{
	max-width: 100%;
	height: auto;
}
.footerInfo .footerAddress{margin: 10px 0;}
.footerInfo .footerTel{
	width: fit-content;
	text-align: center;
	font-family: var(--font-number);
	font-weight: 500;
}
.footerInfo .footerTel a{
	line-height: 1.3;
	display:block;
	text-decoration: none;
	font-size: var(--font-size-subheading);
	color: var(--color-accent);
}
.footerInfo .footerSns{
	margin-top: 20px;
}
.footerInfo .footerSns li a{
	line-height: 1;
	display: flex;
	gap: 10px;
	align-items: center;
	text-decoration: none;
	text-align: right;
	font-size: 1.2rem;
}

.footerNaviWrap{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap:1.5em 2em;
}
.footerNavi li + li{margin-top: 1.5em;}
.footerNavi > li{
	position: relative;
	line-height: 1.2;
	padding-left: 30px;
	font-weight: 500;
}
.footerNavi > li::before{
	content:"";
	position: absolute;
	left: 0;
	top: 10px;
	background-color: var(--text-primary);
	width: 15px;
	height: 1px;
}
.footerNavi li a{
	text-decoration: none;
	font-weight: 600;
	color: var(--text-primary);
}
.footerNavi li a:hover{
	text-decoration: underline;
}
.footerNavi li ul{margin-top: 1.5em;}
.footerNavi li ul li{
	position: relative;
	padding-left:1em;
}

.footerNavi li ul li a{
	font-weight: 400;
	color: var(--text-primary);
}

.copyright {
	margin: 0 auto;
	padding:2rem 1rem;
	text-align: center;
	font-size: 1.2rem;
	font-family: var(--font-number);
}

@media screen and (max-width: 1200px) {
	.footerWrap {
		padding-right:clamp(20px, 5vw, 30px);
		padding-left:clamp(20px, 5vw, 30px);
	}
	.footerNaviWrap{gap: 2em;}
}

@media screen and (max-width: 840px) {
	.footerWrap {
		flex-direction: column;
		padding:60px clamp(20px, 5vw, 30px);
		gap:50px;
	}
	.footerInfo{width: 100%;text-align: center;}
	.footerInfo .footerLogo{margin: 0 auto 20px;}
	.footerInfo .footerTel{
		margin: 0 auto;
	}
	.footerInfo .footerSns{
		margin: 20px auto 0;
		width: fit-content;
	}
}

@media screen and (max-width: 599px) {
	.footerNaviWrap{
		grid-template-columns: repeat(2,1fr);
	}
}
@media screen and (max-width: 380px) {
}

/* pageTop
========================================== */
#pageTop{
	position:fixed;
	line-height: 1;
	right:20px;
	bottom:20px;
	z-index: 100;}
#pageTop a{
	display: block;
	position:relative;
	padding:20px;
	background-color:var(--color-primary);
	box-sizing: border-box;
	color:#fff;
	font-size: 1.2rem;
	text-decoration: none;
	transition: all .3s;
}
#pageTop a::before{
	position:absolute;
	content: "";
	top:17px;
	left:50%;
	margin-left: -4px;
	width: 8px;
	height: 8px;
	border-top: solid 1px #fff;
	border-right: solid 1px #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	transition: all .3s;
	}

#pageTop:hover a::before{top:13px;}
@media screen and (max-width: 1200px) {
	#pageTop{
		right:0;}
}

@media screen and (max-width: 840px) {
	#pageTop{display: none!important}
}