/*
==========================================================================
  Common  header/footer / breadcrumb / pagetop / headding
========================================================================== */

/* Header
----------------------------------------------------------------- */
/* pc */
.l-header {
  width: 100%;
  position: fixed;
  z-index: 990;
	margin: 0 auto;
	overflow: visible;
}
.l-header-inner {
	width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 0;
  justify-content: space-between;
  align-items: center;
}
.p-header__logo {
  width: 12%;
  max-width: 193px;
}
.p-header__nav {
  width: 81%;
  max-width: 1167px;
}

/* sp */
#p-header_sp {
  display: none;
}

/* navi */
.g-navi {
  width: 100%;
  max-width: 1080px;
  margin: 0 0 0 auto;
  justify-content: space-between;
}

.g-navi-list_item {
	display: block;
  position: relative;
  z-index: 900;
}

.g-navi-list_item a {
  color: #fff;
  text-shadow:0px 0px 3px #424242;
  padding: 10px;
  position: relative;
}

.g-navi-list_item a:hover {
  opacity: 1;
}

.g-navi-list_item a:hover::after {
  content: "";
  position: absolute;
  z-index: 990;
  top: 50px;
  left: 0;
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
}

.g-navi-list_item > ul > li a:hover::after {
  content: none;
}

.g-navi-list_item_sp {
  display: none;
}

/* dropdown menu */
.inner_navi_list {
	display: none;
	-moz-box-shadow: 0px 0px 5px 0px rgba(119, 119, 119, 0.8);
	-webkit-box-shadow: 0px 0px 5px 0px rgba(119, 119, 119, 0.8);
	-ms-box-shadow: 0px 0px 5px 0px rgba(119, 119, 119, 0.8);
	box-shadow: 0px 0px 5px 0px rgba(119, 119, 119, 0.8);
	min-width: 300px;
}

.inner_navi_item {
  z-index: 999;
	display: block;
	width: 100%;
  background-color: #fff;
}
.inner_navi_item a {
	width: 100%;
	max-width: 270px;
	padding: 10px 10px 10px 25px;
	font-size: 14px;
	/* font-size: 18px; */
	/* padding: 10px 5px 10px 15px; */
	/* font-weight: bold; */
	font-weight: normal;
  text-shadow: none;
  color: #00479d;
	position: relative;
	/*white-space: nowrap;*/
}
.inner_navi_item a:hover {
	opacity: 0.5;
}
.inner_navi_item a::before {
  content: "-";
  position: absolute;
  top: 30%;
	left: 10px;
  color:#00479d;
}
.g-navi-list_item:hover .inner_navi_list {
  display: block;
  position: absolute;
  z-index: 999;
  top: 60px;
	left: 0;
	width: auto;
  height: auto;
  padding: 10px 0;
  background-color: #fff;
}

/* js area***/
.js-headerColor {
	background-color: rgba(0, 108, 171, 0.9);
	animation: fadeIn 0.3s ease 1;
	/* height:70px; */
}
@keyframes fadeIn {
	0% {opacity: 0}
	25% {opacity: .25}
	50% {opacity: .5}
	75% {opacity: .75}
	100% {opacity: 1}
}

.p-header__logo.js-resizeLogo {
	width: 12%;
}

.l-header-inner.js-resizeBar {
 	padding: 5px 20px;
}

/* current */
.current {
	position: relative;
}
.current::after {
  content: "";
  position: absolute;
  z-index: 990;
  top: 50px;
  left: 0;
  display: block;
  width: 100%;
  height: 4px;
	background-color: #fff;
}

br.pc{
	display: inline;
}
br.sp{
	display: none;
}

.pc--inline_block{ display: inline-block; }
.sp--inline_block{ display: none; }

@media screen and (max-width: 768px) {
	/* pc */
	#p-header_pc {
		display: none;
	}
	br.pc{
		display: none;
	}
	br.sp{
		display: inline;
	}
	.pc--inline_block{ display: none; }
	.sp--inline_block{ display: inline-block; }

	/*sp*/
	#p-header_sp {
		display: block;
		position: relative;
		z-index: 993;
	}
	.header_sp_in {
	  position: relative;
		z-index: 995;
	  top: 0;
		width: 100%;
		height: 65px;
	  margin: 0px auto;
	  padding: 10px 0;
	}
	.header_sp_in.is_navi_open_ht {
		height: 800px;
	}
	.logo_sp {
		position: absolute;
		z-index: 1001;
    top: 10px;
    left: 4%;
		width: 20%;
		max-width: 90px;
		height: 55px;
	}
	.gnav_btn {
		position: absolute;
		z-index: 1001;
		top: 5px;
		right: 4%;
		width: 40px;
		height: 40px;
	}
	.menu {
		position: absolute;
		display: block;
    width: 100%;
    box-shadow:0px 0px 3px #424242;
		border-bottom: solid 1px #fff;
	}
	.menu:first-child {
		top: 0;
	}
	.menu:nth-child(2) {
		top: 15px;
	}
	.menu:last-child {
		top: 30px;
	}
	#globalnav {
		position: relative;
		z-index: 998;
	}
	.globalnav_in {
  	position: fixed;
		z-index: 999;
		top: 0;
		left: 0;
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 100vh;
		-webkit-overflow-scrolling: touch;
		background: rgba(1,79,149,.9);
		margin: 0 0 0 auto;
		-webkit-transform: translate(-120%);
		-ms-transform: translate(-120%);
		transform: translate(-120%);
	}
	.globalnav_in_sp {
    width: 100%;
		/* height: 100vh; */
		overflow-y: scroll;
		margin: 60px 0 0;
	}
	.navi-list__item_sp {
		border-bottom: 1px solid #818181;
	}
	.navi-list__item_sp:first-child {
		border-top: 1px solid #818181;
	}
	.navi-list__item_sp a {
		position: relative;
		padding: 15px;
		color: #fff;
		font-weight: bold;
		text-align: center;
		font-size: 18px;
	}
	.navi-list__item_sp a::after {
		position: absolute;
		content: "\f054";
		font-family:'Font Awesome 5 Free';
		font-weight: 900;
		font-size: 24px;
		top: 20%;
		right: 10px;
  	color: #fff;
	}

	.is_navi_open {
		-webkit-transform: translate(0);
		-ms-transform: translate(0);
		transform: translate(0);
		-webkit-transition: .35s ease;
		-moz-transition: .35s ease;
		transition: .35s ease;
	}
	.is_navi_open.menu {
		border-color: #fff;
   -webkit-transition: .35s ease-in-out;
   -moz-transition: .35s ease-in-out;
   transition: .35s ease-in-out;
	}
	.is_navi_open.menu:first-child {
    top: 15px;
		left: 5px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: translate(-45deg);
    transform: rotate(-45deg);
	}
	.is_navi_open.menu:nth-child(2),
	.is_navi_open.menu:last-child {
    top: 15px;
		left: 5px;
		-webkit-transform: rotate(45deg);
		-ms-transform: translate(45deg);
    transform: rotate(45deg);
	}

	/* inner navi*/
	.navi-list__item_sp .inner_navi_list_sp a::after {
		content: "\0bb";
		font-size: 11px;
		top: 35%;
	}
	.inner_navi_list_sp {
		flex-wrap: wrap;
		align-content: center;
	}
	.inner_navi_item_sp {
		width: 50%;
	background-color: rgba(0, 108, 171, 0.8);
		border-top: 1px solid #818181;
		border-left: 1px solid #818181;
		border-right: 1px solid #818181;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.inner_navi_item_sp a {
		padding: 10px 20px 10px 10px;
		background-color: rgba(0, 108, 171, 0.8);
		color: #fff;
		text-align: left;
		font-size: 11px;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.current::after {
		top: 70px;
	}
	.g-navi-list_item a:hover::after {
		top: 70px;
	}
}


/* Footer
----------------------------------------------------------------- */
.l-footer {
	background: url(../image/common/bg_footer.png) no-repeat;
	background-size: cover;
}
.footer-inner {
	max-width: 1004px;
	margin: 0 auto;
	padding: 60px 0 25px;
  flex-wrap: wrap;
}
.l-footer-menu-box {
	width: 100%;
	flex-wrap: wrap;
	justify-content: space-between;
}
.l-footer-menu-title {
	width: 15%;
	color: #fff;
}
.l-footer-menu-title a {
	color: #fff;
}
.l-footer-menu-list {
	width: 85%;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 0 auto 40px;
}
.l-footer-menu-list li{
	display: inline-block;
	margin-right: 30px;
}
.l-footer-menu_item a {
	color: #fff;
	line-height: 2;
	position: relative;
	padding-left: 0.8rem;
}
.l-footer-banner-list {
	width: 100%;
	/*justify-content: space-between;*/
	justify-content:center;
}
.l-footer-banner_item {
	display: inline-block;
	margin-right: 10px;
}
.l-copy-area {
	width: 100%;
	margin: 0 auto;
	padding: 25px 0;
	border-top: 1px solid #818181;
}
.copyright {
	text-align: center;
	font-size: 14px;
	color: #fff;
}
.l-footer-menu_item a::before {
	position: absolute;
	content: "\f054";
	font-family:'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 10px;
	top: 5px;
	left: 0;
}

@media screen and (max-width: 768px) {
	.l-footer {
		background-position: top right;
	}
	.footer-inner {
		max-width: 100%;
		margin: 0 auto;
		padding: 25px 4% 0;
    flex-wrap: wrap;
	}
	.l-footer-menu-box {
    width: 50%;
    align-content: flex-start;
  }
  .l-footer-menu-box .u-flex {
    display: block;
  }
	.l-footer-menu-title {
		width: 100%;
		font-size: 16px;
		margin-bottom: 20px;
	}
	.l-footer-menu-list {
		width: 100%;
		flex-wrap: wrap;
		justify-content: flex-start;
		margin: 0 auto 40px;
	}
	.l-footer-menu_item {
		margin-bottom: 15px;
	}
	.l-footer-menu_item a {
		position: relative;
		font-size: 14px;
		padding: 0 0 0 15px
	}

	.l-footer-menu_item a::before {
		position: absolute;
		content: "\f054";
		font-family:'Font Awesome 5 Free';
		font-weight: 900;
		font-size: 10px;
		top: 5px;
		left: 0;
	}

	.l-footer-banner-list {
		width: 100%;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.l-footer-banner_item {
		width: 46%;
		margin-right: 0px;
		margin-bottom: 10px;
	}

	.l-copy-area {
		width: 100%;
		margin: 0 auto;
		padding: 15px 0;
	}
	.copyright {
		font-size: 9px;
	}
}


/* breadcrumb
----------------------------------------------------------------- */
.breadcrumb {
  width: 100%;
  margin: 0 auto;
  padding: 30px 0;
}
.breadcrumb-list {
  width: 100%;
}
.breadcrumb-item {
  display: inline-block;
  position: relative;
  font-size: 13px;
  padding-left: 20px;
}
.breadcrumb-item:first-child {
	padding-left: 0;
}
.breadcrumb-item::after {
  position: absolute;
  top: 0;
  right: -20px;
  content: ">";
  font-size: 13px;
}
.breadcrumb-item:last-child::after {
  content: none;
}

@media screen and  (max-width: 768px) {
	.breadcrumb {
		width: 100%;
		margin: 0 auto;
		padding: 10px 0 30px;
	}
	.breadcrumb .l-inner {
		padding: 0
	}
}

/* pagetop
----------------------------------------------------------------- */
.page_top {
  width: 100px;
  height: 100px;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 900;
}
.page_top a {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  text-decoration: none;
}
.page_top a::before{
  content: url(../image/common/top_btn.png);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .page_top {
    width: 80px;
    height: 80px;
    z-index: 800;
  }
  .page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
  }
  .page_top a::before{
    content: url(../image/common/sp_top_btn.png);
    position: absolute;
    width: 100%;
    height: 100%;
  }
}


/* page title area
----------------------------------------------------------------- */
.page-mv-title-area {
	max-height: 100%;
	height: 466px;
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto;
	padding: 80px 0;
	background: url(../image/company/bg_page_title_zumen.png) no-repeat right;
}
.page-mv-img-box {
	position: absolute;
	top: 0;
	/* width: 80%; */
	/* max-width: 1320px; */
	height: 100%;
	max-height: 395px;
	margin: 0 auto 0 0;
	overflow: hidden;
}
.page-mv-img-box picture img {
	width: 100%;
}
.page-mv-title-box {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	bottom: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
  margin: 0 auto;
	text-align: center;
}
.page-mv-title-text {
	color: #fff;
	font-size: 43px;
	text-align: center;
}
.blend_softlight {
	mix-blend-mode: soft-light;
}

@media screen and (max-width: 768px) {
  .page-mv-title-area {
    margin: 0;
		padding: 0;
		height: 265px;
		max-height: 100%;
  }
	.page-mv-img-box {
		width: 100%;
		max-width: 100%;
		height: 240px;
		max-height: 100%;
	}
	.page-mv-title-box {
		top: 45%;
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}
	.page-mv-title-text {
		font-size: 36px;
	}
	.page-mv-title-area .pt_bgpattern::after {
		content: none;
	}
}

@media screen and (min-width: 769px) and  (max-width: 1024px)  {
	.page-mv-title-area {
		height: 308px;
		max-height: 100%;
  }
	.page-mv-img-box {
		height: 306px;
		max-height: 100%;
	}
}

@media screen and (min-width: 1920px) {
		.page-mv-img-box {
			position: absolute;
			top: 0;
			width: 80%;
			/* max-width: auto; */
			height: 100%;
			max-height: 395px;
			margin: 0 auto 0 0;
			overflow: hidden;
	}
	.message-img-box {
		width: 30vw;
	}
}


/* headding
----------------------------------------------------------------- */
.u-headding {
	letter-spacing: 0.01em;
  font-weight: bold;
	color: #00479d;
	font-size: 36px;
	margin-bottom: 80px;
}

.u-headding_underBar {
	letter-spacing: 0.01em;
  font-weight: bold;
	color: #00479d;
	position: relative;
}

.u-headding_underBar::after {
	position: absolute;
	bottom: -25px;
	left: 50%;
	content: "";
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	display: block;
  width: 70px;
  height: 5px;
  background-color: #00479d;
}

@media screen and (max-width: 768px) {
	.u-headding {
		font-size: 20px;
		margin-bottom: 40px;
	}
}

/* text
----------------------------------------------------------------- */
.u-text {
	font-size: 16px;
	line-height: 1.5;
}
.u-text.c-center{
	text-align: justify;
}
.u-text_en {
  font-family: "ITCAvant";
  font-weight: bold;
}
.u-text_em {
	font-weight: bold;
}
@media screen and (max-width: 768px) {
	.u-text {
		font-size: 15px;
	}
}

/* other common parts
----------------------------------------------------------------- */
.fixed-hanshin-name-box {
	top: 405px;
	left: 0;
	z-index: -1;
	position: absolute;
	width: 230px;
	max-width: 100%;
}

@media screen and (max-width: 768px) {
	.fixed-hanshin-name-box {
		display: none;
	}
}

/* page common parts
----------------------------------------------------------------- */
/* COMEPANY  *** ----------*/
.office-list {
	margin-bottom: 25px;
}
.office-name {
	margin-bottom: 30px;
}
.office-img-box {
	width: 48%;
}
.office-text-box{
	flex: 1;
}
.com-gallery-list {
	justify-content: space-between;
}
.com-gallery-list {
	margin-bottom: 45px;
}
.com-gallery_item {
	width: 100%;
		text-align: center;
}

@media screen and  (max-width: 768px) {
	.office-list {
		flex-wrap: wrap;
		margin-bottom: 50px;
	}
	.office-name {
		margin-bottom: 25px;
	}
	.office-img-box {
		width: 100%;
		margin-bottom: 20px;
		text-align: center;
	}

	.com-gallery-list {
		flex-wrap: wrap;
	}
	.com-gallery_item {
		width: 100%;
		text-align: center;
	}
}

/* case *****
------------------------------*/
.case-headding {
	font-size: 36px;
  margin-bottom: 80px;
}

.case-ttl {
  font-size: 18px;
  font-weight: bold;
	color: #00479d;
	word-break: break-all;
}

.case_item {
	margin-bottom: 100px;
}

.case-img  img {
	width: 240px;
	max-width: 100%;
	height: 100%;
	min-height: 100%;
}

@media screen and  (max-width: 768px) {
  .case-headding {
    font-size: 24px;
  }

  .case-ttl {
		width: 48%;
    font-size: 16px;
	}
	.case-list {
		display: block;
		margin-bottom: 60px;
	}

	.case_item{
		margin-bottom: 30px;
	}

	.case-list-link {
		width: 100%;
		display: -webkit-box;
    display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.case-img {
		width: 48%;
	}
}

@media screen and  (min-width: 768px) and (max-width: 1023px) {
	.office-list {
		flex-wrap: nowrap;
		margin-bottom: 50px;
	}
	.office-img-box {
		width: 48%;
		margin-bottom: 20px;
	}

	.com-gallery-list {
		flex-wrap: nowrap;
	}
}

/* frame *** --------------- */
.frame-heading-box {
	width: 100%;
	max-width: 1000px;
	padding: 45px 80px;
	margin-bottom: 45px;
	border: 7px solid #e7e7e7;
	border-image: url("../image/common/pc/bg_frame.png") 20 / 20px stretch;
}
.frame-heading-box .emphasis {
  font-size: 30px;
  color: #00479d;
	letter-spacing: 0.01em;
	display: block;
	margin-bottom: 10px;
	white-space: normal;
}

@media screen and  (max-width: 768px) {
	.frame-heading-box {
		border: 7px solid #fff;
		border-image: url('../image/common/sp/bg_frame_sp.png') 20 / 20px stretch;
		background: none;
	}
	.frame-heading-box {
		max-width: 100%;
		padding: 30px;
	}
  .frame-heading-box .emphasis {
		font-size: 20px;
		white-space: initial;
	}
}

/*
言語切り替え
*/
.lang_block{
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	font-size: 16px;
}
.lang_block > img{
	margin-right: 5px;
}
.lang_block > span{
	display: inline-block;
	margin: 0 5px;
}
.lang_block a{
	margin: 0 5px;
	color: white;
	width: auto;
}
@media screen and (max-width: 768px) {
	.lang_block{
		width: 100%;
		top: 0;
		right: 0;
		padding:30px  15px;
		position: relative;
		justify-content: center;
	}
	.lang_block a {
		margin: 0 2rem;
	}
}