html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%; /* 高さを100%に設定 */
	background-color:#dde6e8; /* ベース背景カラー */
}
body{
  overflow-x: hidden;
}

.pc{display:block;}
.sp{display:none;}
@media only screen and (max-width: 798px) {
	.pc{display:none;}
	.sp{display:block;}
}

img{
  width: 100%;
}

*{
  box-sizing: border-box;
}

/*******************

link status

********************/	
a {
	text-decoration: none;
	color: inherit;
	transition: .3s;
}	

a:hover {
	opacity: 0.2;              		/* 半透明 */
	transform: translateY(-5px); 	/* 少し浮かせる（視覚効果UP） */
}

/*******************

typefaces

********************/
.gnavi-type {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight:700;
	font-size: 16px;
	font-style:normal;
	letter-spacing: 1px;
	color: #000000;
}
@media only screen and (max-width: 1100px) {
	.gnavi-type{
		font-size: 14px;
	}
}

.basical_type_jpn01, .basical_type_jpn02 {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight:700;
	font-size: 24px;
	font-style: normal;
	letter-spacing: 0px;	
	color: #000000;		
}

.basical_type_jpn02 {
	font-size: 16px;
}	

.basical_type_en01 {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-size: 28px;		
	font-weight:700;
	font-style: normal;	
	color: #000000;		
}

.footer-nav-list, .footer_description, .footer_copyright {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight:700;
	font-size: 16px;
	font-style: normal;
	letter-spacing: 0px;	
	color: #000000;					
}

/* override */
.footer_description {
	font-size: 14px;		
}

.footer_copyright {
	font-size: 12px;
}

/*******************

other mouse over u.i.

********************/	
.hover-switch {
	cursor: pointer;
}



#wrapper{
	padding-top: 150px;
}

/*******************

main contents design

********************/		
.main_contents_area01{
    background-color:#dde6e8; /* 通常背景カラー */		
	margin: 0 auto;
}

.main_contents_area02, .main_contents_area03{
	margin-top:80px;
	position: relative;
	overflow: hidden;
	padding-top: 60px;    
	padding-bottom: 150px;
	background-color: #f0f0f0;  /* 背景カラー統一 */		
	background-image:
		url("../img/bg_curve_top.png");

	background-repeat: no-repeat, no-repeat;
	background-position: top center, bottom center;
	background-size: contain, contain;  /* ←ここを変更 */
}	

/* over ride */
.main_contents_area02 {
	background-image:
		url("../img/bg_curve_top.png"),
		url("../img/bg_curve_bottom.png");		
}


#footer {
    background-color:#B8D5DE; /* 通常背景カラー */		
}


/*******************

header design

********************/	
.header_margin {
	height: 150px;  /* ヘッダー分の空白を取る */
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	box-shadow: none !important;
	z-index: 999;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color:#dde6e8;
	transition: .3s;
}
#header.scr{
	height: 60px;
}

.header-nav {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 30px;
	padding-right: 80px;		
}
#header.scr .header-nav{
	padding-top: 5px;
}
@media only screen and (max-width: 1100px) {
	.header-nav{
		padding-right: 50px;		
	}
}	

.header-nav ul {
	display: flex;
	gap: 25px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.header-nav ul li {
	position: relative;
}

.header-nav ul li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -12px;              /* 斜線の位置調整 */
	top: 0;
	width: 2px;
	height: 20px;
	background: #000;
	transform: rotate(30deg);
}

/* logo area */	
#logo_area {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: fixed;
	top: 30px;
	left: 100px; /* ← ここで左右バランス調整（cv_btnと対称になる位置） */
	z-index: 1000;
}
#logo_area img {
	width: auto;
	height: auto;
	max-width: none; /* サイズ制限なし */
	max-height: none; /* サイズ制限なし */
	display: block;
}
#logo_area span{
	display: none;
}
@media only screen and (max-width: 1400px) {
	#logo_area {
	  left: 30px;
	  width: 100px;
	  display: block;
	}
	#logo_area img{
		width: 100%;
	}
}
@media only screen and (max-width: 1000px) {
	#header{
		background: none;
	}
	#logo_area {
	  left: 10px;
	  top: 10px;
	}
}
@media only screen and (max-width: 798px) {
	#logo_area{
		top: 10px;
		left: 10px;
		width: auto;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}
	#logo_area a{
		width: 100px;
	}
	#logo_area span{
		display: block;
		width: 200px;
		margin-left: 15px;
		transform: translateY(-5px);
	}
	#header{
		height: 0;
		background-color:#dde6e8;
	}
}




/*

gナビデザイン

*/
.gnavi-type li {
	position: relative;
	padding: 0 15px; /* ← 左右15pxに変更（斜め線との余白均等化） */
	margin-top: 5px;
}
@media only screen and (max-width: 1400px) {
	.gnavi-type li {
		padding: 0 5px;
	}
}
@media only screen and (max-width: 1100px) {
	.gnavi-type li {
		padding: 0 1px;
	}
}

/* 斜め線 */
.gnavi-type > li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 2px;
	height: 35px;
	background: #000000;
	transform: rotate(30deg);
}

/* メガメニュー内は斜め線を無効にする */
.gnavi-type .megamenu li::after {
	content: none !important;
}	

/* floating CV 	btn */
.cv-float {
  position: fixed;
  top: 30px;
  right: 100px;
  z-index: 1000;
}
.cv-float .sp-cv{
	display: none;
}
.cv-float img {
  width: auto; /* サイズはお好みで */
  height: auto;
}	
@media only screen and (max-width: 1400px) {
	.cv-float {
	  right: 30px;
	  width: 15%;
	}
	.cv-float img{
		width: 100%;
	}
}
@media only screen and (max-width: 1000px) {
	.cv-float .pc-cv{
		display: none;
	}
	.cv-float .sp-cv{
		display: block;
	}
	.cv-float{
		top: inherit;
		right: inherit;
		left: 50%;
		bottom: 10px;
		max-width: 260px;
		width: 90%;
		transform: translateX(-50%);
	}
	.cv-float:hover{
		transform: translateX(-50%);
	}
}

/* メガメニュー */
.has-megamenu {
	position: relative;
}

.megamenu {
	display: none;
	position: absolute;
	top: 100%;
	left: -30px;
	background: #FFFFFF;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	z-index: 1001;
	width: 300px; /* お好みで調整 */
}

.megamenu li {
	list-style: none;
	padding-top: 15px;
	padding-left: 25px;
	padding-right: 20px;
}

.megamenu li a {
	position: relative;
	display: block;
	padding-right: 30px;
	background: url('../img/megamenu_arrow.png') no-repeat right center / contain;
}

.megamenu li:last-child {
	margin-bottom: 20px;
}

.megamenu a {
	color: #000;
	font-size: 16px;
	font-weight: bold;
	transition: 0.3s ease;
}

.megamenu a:hover {
	opacity: 0.5;
	transform: translateY(-3px);
}

/* ホバー時表示 */
.has-megamenu:hover .megamenu {
	display: block;
}


/*******************

main contents 

********************/	
.branch_layout01 {
	max-width: 1000px;
	height: auto;		
	margin: 0 auto;		
}

.branch_layout02 {
	max-width: 1280px;
	height: auto;		
	width: 96%;
	margin: 0 auto;
/*		background-color: #5460A7;*/
	margin-top: 50px;
}
	
#mv,.cv_area, .cv_closing_area {
	max-width: 837px;
	width: 100%;
	text-align: center;
	margin: 30px auto 0;
}		
.cv_area a{
	display: block;
}
.cv_area a:hover{
	transform: none;
}
/* override */
.cv_closing_area{
	margin-top: 60px;
}

.h1_type {
	margin-top: 40px;
	text-align: left;
}	

.row_contents_area {
	width: auto;
	height: auto;
	max-width: 100%;
	display: block;
}
	
.row_contents_area img {
	width: auto;
	height: auto;
	max-width: 100%;
	margin-right: 42px;
	margin-bottom: 40px;
}	
.row_contents_area img:last-child {
	margin-right: 0;
}
#flow .row_contents_area img{
	margin-right: 33px;
}

.row_contents_area_detail {
	width: 100%;
	height: auto;				
	margin-top: 40px;
	display: flex;
	align-items: flex-start; /* flexを使っているので画像を自然な縦横比にする（長体防止） */
	justify-content: center;   /* ← 横並びを中央寄せ */
	align-items: flex-end;     /* ← 画像を下揃え（縦方向） */		
	flex-wrap: wrap;
}
@media only screen and (max-width: 1030px) {
	.row_contents_area_detail img {
		max-width: none;
		width: calc(100% / 3 - 20px);
		margin-right: 20px;
	}
}


.cta_area01 {
	margin-top: 70px;
	margin-bottom: 100px;
}

.normal_area, .normal_area_02, #voice_area, #qa_area {
	width: 100%;
	height: auto;
	max-width: 1000px;  /* 中央寄せ＋幅制限ならこれも */
	margin: 0 auto;
	text-align: center;  /* ←これ追加 */
	margin-top: 120px;
}

/* override */
#voice_area {
	text-align: left;  
}

/* override */
#qa_area {
	margin-top: 70px;		
}

.normal_area_margin{
	margin-top: 90px;		
}	

.voice_B {
	margin-left: auto;				
}

.cv_closing_area_margin {
	margin-top: 120px;		
}	

/*******************

footer design

********************/		
#footer_layout{
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center; /* ← 横並びで中央寄せ */
	align-items: center;     /* ← 上下も中央寄せ */
	padding-top: 10px;
}

.footer_logo {
	width: auto;
	height: auto;
	max-width: 200px; /* お好みで */
	object-fit: contain; /* これで長体防止 */
	margin-top: 20px;		
}

.footer_text_area {
	display: flex;
	flex-direction: column;
	align-items: center;  /* ← テキスト内も中央寄せ */
	text-align: center;
	margin-left: 30px;
}

.footer-nav {
	text-align: center;
	margin-top: 20px;
}

.footer-nav ul {
	display: flex;
	flex-direction: row;   /* 縦並び */
	gap: 10px 25px;                 /* 項目間スペース */
	padding: 0;
	margin: 0 auto;
	list-style: none;
}

.footer-nav ul li a:hover {
	text-decoration: underline;
}

.footer_description {
	line-height: 1.6;
	margin: 10px 0 0 0;  /* ← 左マージン削除＋余白調整 */
}

.footer_copyright {
	margin-top: 30px; /* ここを調整（70pxだと空きすぎ） */
	padding-bottom: 20px;
	text-align: center;
}	
@media only screen and (max-width: 798px) {
	#footer{
		padding-bottom: 80px;
	}
	#footer_layout{
		display: block;     /* ← 上下も中央寄せ */
		padding-top: 30px;
	}

	.footer_logo {
		max-width: 120px;
		display: block;
		margin: 0 auto 20px;
	}

	.footer_text_area {
		display: flex;
		flex-direction: column;
		align-items: center;  /* ← テキスト内も中央寄せ */
		text-align: center;
		margin-left: 0;
	}

	.footer-nav {
		text-align: center;
		margin-top: 20px;
	}

	.footer-nav ul {
		display: flex;
		gap: 10px;
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer-nav ul li a{
		font-size: 12px;
	}
	.footer-nav ul li a:hover {
		text-decoration: underline;
	}

	.footer_description {
		line-height: 1.6;
		margin: 30px 0 0 0;  /* ← 左マージン削除＋余白調整 */
		font-size: 12px;
	}

	.footer_copyright {
		margin-top: 30px; /* ここを調整（70pxだと空きすぎ） */
		padding-bottom: 20px;
		text-align: center;
	}	
}



/* accordion */
.accordion_item {
	margin-bottom: 20px;
	border-bottom: 0px;
}

.accordion_btn_01, .accordion_btn_02 {
	width: 100%;
	height: 60px;
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	background-color: #B8D5DE;
	display: flex;
	align-items: center;        /* 縦方向中央揃え */
	justify-content: flex-start;/* 横方向は左寄せ */
	padding: 0 60px 0 20px;     /* 左は20px、右はアイコン用に60px確保 */
	text-align: left;           /* テキストの左寄せを明示 */
}

.accordion_btn_01::after {
	content: '–';
	position: absolute;
	right: 30px;                /* 右端固定 */
	font-size: 40px;
}

.accordion_btn_01.active::after {
	right: 20px;                /* 右端固定 */		
	content: '＋';
}


.accordion_btn_02::after {
	content: '＋';
	position: absolute;
	right: 20px;                /* 右端固定 */
	font-size: 40px;
}

.accordion_btn_02.active::after {
	right: 30px;                /* 右端固定 */		
	content: '–';
}





.accordion_content {
	display: flex;
	align-items: flex-start;       /* ← 上寄せに変更 */
	padding: 20px 60px 20px 20px;   /* 上下20pxの余白に調整（60px固定は削除） */
	background-color: #f0f0f0;
}

.answer_head {
	flex: 0 0 auto;
	margin-right: 0.5em;            /* A. と本文の間のスペース */
	line-height: 1.8;
}

.answer_head .basical_type_en01 {
	font-weight: bold;
	display: inline-block;
	line-height: 1.8;                /* 本文と揃える */
	margin: 0;
	padding: 0;
	transform: translateY(-0.4em);  /* A. をちょい上げる */
}		

.answer_text {
	flex: 1;
	line-height: 1.8;                /* 本文の行間 */
	display: block;                  /* ここはflexじゃなく blockが正解 */
	text-align: left;   /* 本文は左寄せ */
}

.answer_text .basical_type_jpn02 {
	margin: 0;
	padding: 0;
}

/* スマホ用レスポンシブデザイン */
@media screen and (max-width: 767px) {
}

#header #nav-toggle {
  display: none;
}
#feature .midashi{
	max-width: 475px;
}
#feature .h1_type{
	max-width: 711px;
}
#feature .row_contents_area_detail{
}
#about{
	max-width: 474px;
}
.stance02 .h1_type{
	max-width: 446px;
}
.why .midashi{
	max-width: 703px;
	margin: 0 auto;
}
#five_point.normal_area{
	max-width: 1103px
}
#five_point .h1_type{
	max-width: 329px;
}
#five_point .normal_area_margin{
	margin-right: auto;
}
#five_point .p01{
	max-width: 1021px;
}
#five_point .p02{
	max-width: 1027px
}
#five_point .p03{
	max-width: 977px;
}
#five_point .p05{
	max-width: 1002px;
	margin-left: auto;
	margin-right: auto;
}
#flow .h1_type{
	max-width: 358px;
}
.voice .midashi{
	max-width: 352px;
}
.voice .h1_type{
	max-width: 786px;
}
.voice .v01{
	max-width: 913px;
}
.voice .v02,
.voice .v03{
	max-width: 918px;
}
.voice .v04{
	max-width: 847px;
}
.faq .midashi{
	max-width: 363px;
}
.faq .h1_type{
	max-width: 532px;
}
.contact .h1_type{
	max-width: 308px;
}
@media only screen and (max-width: 798px) {
	.h1_type{
		margin-top: 20px;
	}
	#feature .midashi{
		max-width: none;
		width: 65%;
	}
	#feature .h1_type{
		max-width: 711px;
	}
	#feature .row_contents_area_detail{
	}
	#about{
		max-width: none;
		width: 70%;
	}
	.stance02 .h1_type{
		max-width: none;
		width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
	.why .midashi{
		max-width: 703px;
		margin: 0 auto;
	}
	#five_point.normal_area{
		max-width: 1103px
	}
	#five_point .h1_type{
		max-width: none;
		width: 46%;
		margin-left: auto;
		margin-right: auto;
	}
	#five_point .normal_area_margin{
		margin-right: auto;
	}
	#five_point .p01{
		max-width: 1021px;
	}
	#five_point .p02{
		max-width: 1027px
	}
	#five_point .p03{
		max-width: 977px;
	}
	#five_point .p05{
		margin-left: -6%;
		margin-right: -6%;
	}
	#flow .h1_type{
		max-width: 358px;
	}
	.voice .midashi{
		max-width: none;
		width: 50%;
	}
	.voice .h1_type{
		max-width: 786px;
	}
	.voice .v01,
	.voice .v02,
	.voice .v03,
	.voice .v04{
		max-width: none;
		width: 90%;
		margin-bottom: 30px;
		margin-top: 0;
	}
	.faq .midashi{
		max-width: none;
		width: 50%;
	}
	.faq .h1_type{
		max-width: none;
		width: 60%;
		margin-left: auto;
		margin-right: auto;
	}
	.contact .h1_type{
		max-width: none;
		width: 38%;
		margin-left: auto;
		margin-right: auto;
	}
}
@media only screen and (max-width: 1000px) {
  #header #nav-toggle {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: #b8d5de;
    z-index: 10010;
  }
  #header #nav-toggle button {
    display: block;
    border: none;
    position: relative;
    cursor: pointer;
    outline: none;
    padding: 0;
  }
  #header #nav-toggle button span {
    width: 30px;
    height: 2px;
    background-color: #4b1a18;
    position: absolute;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 15px;
  }
  #header #nav-toggle button span:nth-child(1) {
    top: 18px;
  }
  #header #nav-toggle button span:nth-child(2) {
    top: 28px;
  }
  #header #nav-toggle button span:nth-child(3) {
    top: 38px;
  }
  #header.open #nav-toggle span {
  }
  #header.open #nav-toggle span:nth-child(1) {
    top: 28px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  #header.open #nav-toggle span:nth-child(2) {
    width: 0;
    right: 50%;
  }
  #header.open #nav-toggle span:nth-child(3) {
    top: 28px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  #header nav {
    right: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    overflow-y: auto;
    background-color: #fff;
    opacity: 0;
    z-index: 100;
    display: block;
    padding: 60px 20px 20px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  #header.open nav {
    right: 0;
    opacity: 1;
  }
  .header-nav ul{
  	display: block;
  }
  .gnavi-type > li::after{
  	display: none;
  }
  .header-nav ul{
  	display: block!important;
  }
  .gnavi-type li{
  	margin-top: 30px;
  }
  .gnavi-type li a{
  	font-size: 16px;
  }
  .megamenu{
  	position: relative;
  	top: inherit;
  	left: inherit;
  	background: none;
  	box-shadow: none;
  	width: auto;
  	padding-top: 15px;
  }
  .megamenu li{
  	padding-top: 0;
  	margin-top: 20px;
  }
  .megamenu li a{
  	display: inline-block;
  	font-size: 14px;
  }
	.header-nav .cv-float{
		top: inherit;
		right: inherit;
		left: inherit;
		bottom: inherit;
		max-width: 160px;
		width: 90%;
		transform: none;
		margin: 30px auto 0;
		position: relative;
		display: block;
		padding-left: 25px;
	}
}
@media only screen and (max-width: 798px) {
	#logo_area a{
		width: 60px;
	}
	#logo_area span{
		display: block;
		width: 160px;
		margin-left: 10px;
	}
	#wrapper{
		padding-top: 80px;
	}
	.branch_layout01{
		width: 90%;
	}
	.row_contents_area_detail{
		margin-top: 20px;
	}
	.row_contents_area_detail img,
	#flow .row_contents_area img{
		width: calc(100% / 2 - 10px);
		margin: 0 20px 20px 0;
	}
	.row_contents_area_detail img:nth-of-type(2n),
	#flow .row_contents_area img:nth-of-type(2n){
		margin-right: 0;
	}
	.main_contents_area02,
	.main_contents_area03{
		margin: 20px 0 0;
		padding: 0 0;
		background: none;
	}
	.branch_layout02.stance02{
		width: 100%;
		margin-top: 0;
	}
	.cta_area01{
		margin: 0 0 30px;
	}
	.sp-white{
		background-color: #f0f0f0;
		padding: 40px 5%;
	}
	.normal_area,
	.normal_area_02,
	#voice_area,
	#qa_area{
		margin-top: 30px;
	}
	.normal_area_margin{
		margin-top: 20px;
	}
	.basical_type_en01{
		font-size: 20px;
	}
	.accordion_btn_01,
	.accordion_btn_02{
		padding: 10px 40px 10px 10px;
		height: auto;
	}
	.basical_type_jpn01,
	.basical_type_jpn02{
		font-size: 16px;
	}
	.accordion_btn_01::after {
		content: '–';
		position: absolute;
		right: 10px;
		font-size: 20px;
	}
	.accordion_btn_01.active::after {
		right: 10px;
		content: '＋';
	}
	.accordion_btn_02::after {
		content: '＋';
		position: absolute;
		right: 10px;
		font-size: 20px;
	}
	.accordion_btn_02.active::after {
		right: 10px;
		content: '–';
	}
	.accordion_content{
		padding: 10px 40px 10px 10px;
	}
	.cv_closing_area_margin{
		margin-top: 30px;
	}
	.branch_layout02.contact{
		width: 100%;
		margin-top: 20px;
	}
	.cv_closing_area{
		background: url(../img/bg_curve_top_sp.png) no-repeat top center / cover;
		margin-top: 20px;
		padding: 40px 0;
	}
}
.sp-top{
	display: none;
}
@media only screen and (max-width: 798px) {
	.sp-top{
		display: block;
		background-color: #dde6e8;
		padding: 10px 0;
		text-align: center;
	}
	.sp-top:hover{
		transform: none;
		opacity: 1;
	}
	.sp-top img{
		width: 30px;
	}
}