@charset "utf-8";
.top{
	 margin: -110px auto 0;
	}
/*------------------------
    メイン写真 sp
-------------------------*/	
.br_pc{
	display: none;	
}
.main_photo {
	width: 100%;
	height: 450px;
	margin-top: 110px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 60px;
	background-image: url(../images/newoffice/image.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.main_photo_inner {
	text-align: center;
	color: #ffffff;
	padding-top: 150px;
	
}
h1{
	display: inline-block;
	font-size: 4.0rem;
	line-height: 1.4em;
	border-bottom: 1px solid #ffffff;
	width: auto;
		margin: 0 auto;
	padding: 0 10px 5px;
}
.subti {
    font-size: 2.2rem;
	letter-spacing: .5em;
	padding-top: 10px;
}
.roman {
    font-size: 2.0rem;
	text-align: right;
}

h2{
	font-size: 3.5rem;
	color: #065e8f;
	padding-bottom: 50px;
	text-align: center;
	padding-top: 20px;
}
p.newoffice{
	text-align: center;
	margin-bottom: 60px;
}

.office_container {
	width: 100%;
	position: relative;
	height: auto;
	padding-top: 60vw;
	margin-bottom: 100px;
	margin-top: 20px;
	overflow-y: hidden;
}

.office_1f  {
	background-image: url(../images/newoffice/1f.png);
	width: 30%;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999px;
	position: absolute;
	z-index: 0;
	top: 0px;
	left: 15%;
	background-size: 100% auto;
	max-width: 480px;
}
	.office_2f  {
	background-image: url(../images/newoffice/2f.png);
	width: 30%;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999px;
	position: absolute;
	z-index: 0;
	top: 0px;
	right: 15%;
	background-size: 100% auto;
	max-width: 480px;
}
	.office_3f  {
	background-image: url(../images/newoffice/3f.png);
	width: 30%;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999px;
	position: absolute;
	z-index: 0;
	top: 0px;
	left: 15%;
	background-size: 100% auto;
	max-width: 480px;
}
	
	.office_container .text {
	display: block;
	width: 90%;
	position: relative;
	z-index: 0;
	max-width: 640px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 40px;
}
	
.office_container.container_1f .text {
	left: 0%;
	top: 0%;
}
.office_container .text h3 {
	font-size: 30px;
	line-height: 44px;
	margin-bottom: 20px;
	font-weight: bold;
}

.office_container .text p {
	color: #595757;
	font-size: 13px;
	line-height: 36px;
}

.office_container .office_image {
	position: absolute;
	width: 50%;
	height: 50vw;
	background-size: cover;
	z-index: 0;
}
.office_container .txt_mask {
	position: absolute;
	width: 50%;
	height: 50vw;
	z-index: 0;
	overflow-x: hidden;
	overflow-y: hidden;
}

.office_container.container_1f .office_image {
	right: 0px;
	top: 0px;
	background-image: url(../images/newoffice/1f.jpg);
	background-position: right 0%;
}
.office_container.container_1f .txt_mask {
	right: 0px;
	top: 0px;
}
.office_container.container_1f h4 {
	display: block;
	position: absolute;
	font-size: 70px;
	font-weight: bold;
	
}
.office_container.container_1f .txt_mask h4 {
	bottom: 10%;
	left: -30%;
	color: #ffffff;
}
.office_container.container_1f .office_image h4 {

	left: -30%;
	bottom: 10%;
	color: #003399;
}


	.office_container.container_2f .text {
	right: 0%;
	top: 0%;
}
.office_container.container_2f .office_image {
	left: 0px;
	top: 0px;
	background-image: url(../images/newoffice/2f.jpg);
}
.office_container.container_2f .txt_mask {
	position: absolute;
	left: 0px;
	top: 0px;
}
.office_container.container_2f h4 {
	display: block;
	position: absolute;
	font-size: 70px;
	font-weight: bold;
	line-height: 83px;
	
}
.office_container.container_2f .txt_mask h4 {
	bottom: -5%;
	right: -30%;
	color: #ffffff;
}
.office_container.container_2f .office_image h4 {
	right: -30%;
	bottom: -5%;
	color: #d70c18;
}

.office_container.container_3f .text {
	left: 0%;
	top: 0%;
}
.office_container.container_3f .office_image {
	right: 0px;
	top: 0px;
	background-image: url(../images/newoffice/3f.jpg);
}
.office_container.container_3f .txt_mask {
	right: 0px;
	top: 0px;
}
.office_container.container_3f h4 {
	display: block;
	position: absolute;
	font-size: 70px;
	font-weight: bold;
	line-height: 83px;
	
}
.office_container.container_3f .txt_mask h4 {
	bottom: -10%;
	left: -30%;
	color: #ffffff;
}
.office_container.container_3f .office_image h4 {
	left: -30%;
	bottom: -10%;
	color: #169c7d;
}
h4 .space  {
	letter-spacing: 0.2em;
}


.subimage_container {
	overflow-y: hidden;
	width: 100%;
	color: #ffffff;
	padding-bottom: 40px;
	bottom: 0px;
	position: relative;
	height: auto;
	padding-top: 40px;
	
}
.container_1f .subimage_container {
	background-color: #003399;
}
.container_2f .subimage_container {
	background-color: #d70c18;
}
.container_2f .subimage_container .sub_right {
	float: none;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}

.container_3f .subimage_container {
	background-color: #169c7d;
}
.subimage_container .subimage {
	width: 80%;
	position: relative;
	z-index: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 40px;
}
.container_1f .subimage_container .subimage {
	float: none;
}
.container_2f .subimage_container .subimage {
	float: none;
	width: 100%;
}
.container_3f .subimage_container .subimage {
	float: none;
}
.subimage_container .subimage .image {
	position: relative;
}

.subimage_container .subimage h5 {
	padding-bottom: 0px;
	display: block;
	position: absolute;
	left: 10px;
	z-index: 0;
	font-size: 30px;
	bottom: 10px;
	text-indent: 0px;
	line-height: 30px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
}
.container_1f .subimage_container .subimage h5 {
		color: #003399;
	}
.container_2f .subimage_container .subimage h5 {
		color: #d70c18;
	}
.container_3f .subimage_container .subimage h5 {
		color: #169c7d;
	}

.subimage_container .subimage p {
	width: 90%;
	display: block;
	margin-right: auto;
	margin-left: auto;
	font-size: 13px;
	line-height: 18px;
}
.subimage p strong {
	font-weight: bold;
}

.section.fade-in {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fid;
  animation-name: fid;
  visibility: visible !important;
}
.section2.fade-in {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fid2;
  animation-name: fid2;
  visibility: visible !important;
}
.section_d1.fade-in {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: fid2;
  animation-name: fid2;
  visibility: visible !important;
}
.section_d2.fade-in {
	animation-delay: 0.5s;
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: fid2;
  animation-name: fid2;
  visibility: visible !important;
}
.section_d3.fade-in {
	animation-delay: 1s;
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: fid2;
  animation-name: fid2;
  visibility: visible !important;
}


@-webkit-keyframes fid {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@keyframes fid {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes fid2 {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@keyframes fid2 {
  0% {
    opacity: 0;
    -webkit-transform: translateY(40px);
    -ms-transform: translateY(40px);
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (min-width:641px){
/*------------------------
    メイン写真 pc
-------------------------*/
.top{
	 margin: -80px auto 0;
	}
.main_photo {
	margin-top: 80px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 100px;
	height: 550px;
}
h1{
	font-size: 3.0rem
}
.subti {
    font-size: 2.0rem;
}
.roman {
    font-size: 1.6rem;
}	

}

@media (min-width:1201px){
	.br_pc{
	display: inherit;		
	}
	.main_photo {
	width: 100%;
	background-image: url(../images/newoffice/image2.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 1200px auto;
}
.office_container {
	width: 100%;
	position: relative;
	height: auto;
	padding-top: 50vw;
	margin-bottom: 100px;
	margin-top: 20px;
	overflow-y: hidden;
}

.office_1f  {
	background-image: url(../images/newoffice/1f.png);
	width: 25%;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999px;
	position: absolute;
	z-index: 0;
	top: 0px;
	left: 14%;
	background-size: 100% auto;
	max-width: 480px;
}
	.office_2f  {
	background-image: url(../images/newoffice/2f.png);
	width: 25%;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999px;
	position: absolute;
	z-index: 0;
	top: 0px;
	right: 14%;
	background-size: 100% auto;
	max-width: 480px;
}
	.office_3f  {
	background-image: url(../images/newoffice/3f.png);
	width: 25%;
	height: 100%;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999px;
	position: absolute;
	z-index: 0;
	top: 0px;
	left: 14%;
	background-size: 100% auto;
	max-width: 480px;
}
	
	.office_container .text {
	display: block;
	width: 40%;
	position: absolute;
	z-index: 0;
	max-width: 340px;
	margin-bottom: 0px;
}
.office_container .text h3 {
	font-size: 30px;
	line-height: 44px;
	margin-bottom: 20px;
	font-weight: bold;
}

.office_container .text p {
	color: #595757;
	font-size: 13px;
	line-height: 36px;
}
	
	
.office_container.container_1f .text {
	left: 36%;
	top: 13%;
}

.office_container .office_image {
	position: absolute;
	width: 30%;
	height: 40vw;
	background-size: cover;
	z-index: 0;
}
.office_container .txt_mask {
	position: absolute;
	width: 30%;
	height: 40vw;
	z-index: 0;
	overflow-x: hidden;
	overflow-y: hidden;
}
	
.office_container.container_1f .office_image {
	right: 0px;
	top: 0px;
	background-image: url(../images/newoffice/1f.jpg);
	background-position: 75% 0%;
}
.office_container.container_1f .txt_mask {
	right: 0px;
	top: 0px;
}
.office_container.container_1f h4 {
	display: block;
	position: absolute;
	font-size: 70px;
	font-weight: bold;
	
}
.office_container.container_1f .txt_mask h4 {
	color: #ffffff;
}
.office_container.container_1f .office_image h4 {
	color: #003399;
}
	h4.img_txt{
		position: absolute;
	bottom: 10%;
	left: -30%;
	}

	.office_container.container_2f .text {
	right: 35%;
	top: 10%;
}
.office_container.container_2f .office_image {
	left: 0px;
	top: 0px;
	background-image: url(../images/newoffice/2f.jpg);
	background-position: center 0%;
}
.office_container.container_2f .txt_mask {
	left: 0px;
	top: 0px;
}
.office_container.container_2f h4 {
	display: block;
	position: absolute;
	font-size: 70px;
	font-weight: bold;
	line-height: 83px;
	
}
.office_container.container_2f .txt_mask h4 {
	color: #ffffff;
}
.office_container.container_2f .office_image h4 {
	color: #d70c18;
}
	h4.img_txt2{
		position: absolute;
	bottom: -5%;
	right: -30%;
	}

.office_container.container_3f .text {
	left: 35%;
	top: 10%;
}
.office_container.container_3f .office_image {
	right: 0px;
	top: 0px;
	background-image: url(../images/newoffice/3f.jpg);
	background-position: center 0%;
}
.office_container.container_3f .txt_mask {
	right: 0px;
	top: 0px;
}
.office_container.container_3f h4 {
	display: block;
	position: absolute;
	font-size: 70px;
	font-weight: bold;
	line-height: 83px;
	
}
.office_container.container_3f .txt_mask h4 {
	bottom: -10%;
	left: -30%;
	color: #ffffff;
}
.office_container.container_3f .office_image h4 {
	left: -30%;
	bottom: -10%;
	color: #169c7d;
}
h4 .space  {
	letter-spacing: 0.2em;
}


.subimage_container {
	overflow-y: hidden;
	width: 100%;
	color: #ffffff;
	padding-bottom: 40px;
	bottom: 0px;
	position: relative;
	height: auto;
	padding-top: 0px;
}
.container_1f .subimage_container {
	background-color: #003399;
}
.container_2f .subimage_container {
	background-color: #d70c18;
}
.container_2f .subimage_container .sub_right {
	float: right;
	width: 81%;
}

.container_3f .subimage_container {
	background-color: #169c7d;
}
.subimage_container .subimage {
	width: 27%;
	position: relative;
	z-index: 0;
}
.container_1f .subimage_container .subimage {
	float: left;
}
.container_2f .subimage_container .subimage {
	float: left;
	width: 33.3%;
}
.container_3f .subimage_container .subimage {
	float: left;
}
.subimage_container .subimage .image {
	position: relative;
}

.subimage_container .subimage h5 {
	padding-bottom: 0px;
	display: block;
	position: absolute;
	left: 5px;
	z-index: 0;
	font-size: 30px;
	bottom: 5px;
	text-indent: 0px;
	line-height: 30px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
}
.container_1f .subimage_container .subimage h5 {
		color: #003399;
	}
.container_2f .subimage_container .subimage h5 {
		color: #d70c18;
	}
.container_3f .subimage_container .subimage h5 {
		color: #169c7d;
	}

.subimage_container .subimage p {
	width: 90%;
	display: block;
	margin-right: auto;
	margin-left: auto;
	font-size: 13px;
}
.subimage p strong {
	font-weight: bold;
}

}
