/*
Theme Name: miyagisendai-office
*/

@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* commmon
---------------------------------------------------------------------------*/
html,body{
	margin-top: 0;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 1.05rem;
	line-height: 2rem;
	background-color: white;
	letter-spacing: 1px;
}
body{
	/*background-image: url(./images/cubes.png);*/
}
#top {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,figcaption{
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	font-weight: normal;
}
ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
img {
	border: none;
	vertical-align: bottom;
}
a{
	text-decoration: none;
	color: black;
}
.left{
	text-align: left;
}
.right{
	text-align: right;
}
.clear{
	clear:both;
}
.center{
	text-align: center;
}
.bold{
	font-weight:bold;
}
i{
	margin-right: 0.4em;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
h2 {
	font-size: 1.8em;
	padding: 1rem 0;
	position: relative;
	width: 100%;
	text-align: center;
	margin-bottom: 2rem;
	letter-spacing: 2px;
}
h3{
	font-size: 1.2rem;
	padding: 1rem 0;
	letter-spacing: 0.2rem;	
}
h4{
	margin: 1rem 0;
	font-weight: bold;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}
.small{
	font-size:90%;
}
.table-scroll {
	overflow-x: auto;
}



/* header
---------------------------------------------------------------------------*/
header {
	height: 150px;
	width:100%;
	position: fixed; 
	top: 0px;
	left: 0px;
	z-index: 100;
	background-color: white;
	background: rgba(255,255,255,0.9);
	border-bottom: 1px solid #ccc;
	transition: .3s;
	box-sizing: border-box;
	box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
}
#header {
	position: relative;
	margin:0 auto;
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
	padding-top: 20px;
	display: flex;
	align-items: center;
  -moz-transition: height 0.3s;
  -o-transition: height 0.3s;
  -webkit-transition: height 0.3s;
  transition: height 0.3s;
}
#header #logo {
	flex-grow: 1;
}
#header #logo h1 {
	position: relative;
	left: 0;
	top: 0;
}
#header #logo h1 img{
	width: 400px;
}
#header #contact {
	flex-grow: 1;
	font-size: 0.7em;
	text-align: right;
	display: flex;
	gap: 20px;
	justify-content: right;
}
#header #contact a{
	border: 1px solid;
	padding: 5px 30px;
}
#header #contact a:hover{
	color: white;
	background-color: #0066B3;
	transition : 0.3s;
}
#header #contact #phone{
	float: right;
}
#header #contact #phone .number{
	font-size: 1.2rem;
	font-weight: bold;
	display: block;
	padding: 0.3rem 0;
}
#header #contact #phone .notice{
	font-size: 0.8em;
}

/* navi
---------------------------------------------------------------------------*/
header #navi {
	clear: both;
	top: 30px;
	font-size: 0;
	position: relative;
	margin: 0 auto;	
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
}
header #navi p{
	margin-bottom: 4px;
}
header #navi p a{
}
header #navi p i{
	margin-right: 10px;
}
header #navi ul#index{
	text-align: left;
	width: 100%;
	border-left: 1px dotted black;
	white-space: nowrap;
}
header #navi ul#index li{
	font-size: 0.9rem;
	display:inline-block; 
	width: calc(100% / 6);
	text-align: center;
	box-sizing: border-box;
	border-right: 1px dotted black;
}
header #navi li a{
	display:block;
	color: black;
	text-decoration: none;
	letter-spacing: 2px;
}
header #navi li a:hover{
	color: #0066B3;
}
header #navi li.stay a{
	color: #0066B3;
}
header #navi .underline a {
	position: relative;
	display: inline-block;
	text-decoration: none;
}
header #navi .underline a::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #0066B3;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
}
header #navi .underline a:hover::after {
	transform: scale(1, 1);
}


/*  sp-menu
---------------------------------------------------------------------------*/
header .menu-sp-btn {
	display: none;
	position: absolute;
	z-index: 9999;
	top: 25px;
	right: 20px;
	width: 25px;
	height: 20px;
}
header .menu-sp-btn span {
	display: block;
	height: 3px;
	border-radius: 3px;
	width: 100%;
	margin-bottom: 6px;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, opacity 0.1s ease-in-out 0.1s, -webkit-transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
	-webkit-transform: translateZ(0);
					transform: translateZ(0);
}
header .menu-sp-btn span:last-child {
	margin-bottom: 0;
}
header .menu-sp-btn.is-clicked span:first-child {
	-webkit-transform: translateY(9px) rotateZ(-135deg);
			-ms-transform: translateY(9px) rotate(-135deg);
					transform: translateY(9px) rotateZ(-135deg);
}
header .menu-sp-btn.is-clicked span:nth-child(2) {
	opacity: 0;
}
header .menu-sp-btn.is-clicked span:last-child {
	-webkit-transform: translateY(-9px) rotateZ(135deg);
			-ms-transform: translateY(-9px) rotate(135deg);
					transform: translateY(-9px) rotateZ(135deg);
}


@media only screen and (max-width:767px){

	#header #navi ul#index li{
		text-align: left;
	}
	#header #navi ul#index li ul{
		position: relative;
		width: 100%;
		padding-top: 0;
		display: block !important;
	}
}



/* main
---------------------------------------------------------------------------*/
main {
	position: relative;
	top: 150px;
}





/* section
---------------------------------------------------------------------------*/
section{
	width:100%;
	clear: both;
	padding: 1.5rem 0;
}
section p+section{
	margin-top: 20px;
}
section .section-inner{
	margin: 0 auto;
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
}



/* icatch
---------------------------------------------------------------------------*/
#toppage #icatch{
	line-height: 3rem;
	background-position: top;
	background: black;
	width: 100%;
	height: calc(100vh - 150px);
	box-sizing: border-box;
	padding: 0px;
	margin: 0;
}
#toppage #icatch .box {
	margin: 0 auto;
	width: 100%;
	display: flex;
	height: calc(100vh - 150px);
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}
#toppage #icatch .box p{
	margin: 0 auto;
	text-shadow: 1px 1px 1px black;
	color: white;
	font-size: 2rem;
	line-height: 4rem;
	letter-spacing: 2px;
}
#toppage #icatch .box p span{
	font-size: 1.4rem;
}
#toppage #icatch .box p:first-child{
	font-size: 3rem;
}




/* トップページ
---------------------------------------------------------------------------*/
#toppage h2::after{
	content: "";
	width: 3rem;
	border-bottom: 2px solid #0066B3;
	display: block;
	margin: 0 auto;
	margin-top: 2.5rem;
}
#toppage #about{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 100px auto 0 0;
}
#toppage #about .aboutbox{
	display: flex;
	justify-content: space-evenly;
}
#toppage #about .aboutbox .summary{
	padding-right: 80px;
	box-sizing: border-box;
	width: 65%;
}
#toppage #about .aboutbox .photo{
	width: 35%;
}
#toppage #about .aboutbox img{
	width: 100%;
}
#toppage #about .aboutbox img:nth-child(1){
	margin-bottom: 3rem;
}
#toppage #about p{
	text-align: left;
}
#toppage #about p.company{
	font-size: 1.2rem;
	margin-bottom: 2rem;
}
#toppage #about p{
	margin-bottom: 2rem;
}
#toppage #about p.leadtext{
	font-size: 1.8rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid black;
	padding-bottom: 2rem;
	text-align: center;
}
#toppage #service{
	padding: 50px 0;
	background: aliceblue;
}
#toppage #service h3{
	font-size: 0.9rem;
	padding: 10px;
	text-align: center;
	font-weight: normal;
	letter-spacing: 0;
}
#toppage #service ul{
	display: flex;
	justify-content: space-around;
	padding-bottom: 50px;
	flex-wrap: wrap;
}
#toppage #service li{
	padding: 10px;
	position: relative;
	background: white;
	margin: 1%;
	width: 28%;
	border: 1px solid #0066B3;
	box-sizing: border-box;
}
#toppage #service li .service-box{
	display: flex;
	align-items: center;
	gap: 20px;
    font-size: 0.9rem;
}
#toppage #service li .service-box .photo{
	width: 100px;
}
#toppage #service li .service-box .title{
	flex: 1;
}
#toppage #service li img{
	max-width: 100%;
}
#toppage #service .detail{
	text-align: center;
}
#toppage #service .detail a{
	background: #0066B3;
	color: white;
	padding: 0.5rem 4rem;
	border-radius: 15px;
	font-size: 0.9rem;
}
#toppage #service .detail a:hover{
	color: #0066B3;
	background-color: white;
	border: 2px solid #0066B3;
	border-radius: 20px;
	transition : 0.3s;
}
#toppage #company {
	padding: 50px 0;
}
#toppage #company ul{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap: 20px;
}
#toppage #company li{
	text-align: center;
	font-size: 0.9rem;
}
#toppage #company li i{
	color: #0066B3;
}
#toppage #company li img{
	width: 100%;
	margin-bottom: 5px;
}
#toppage #company li a:hover p{
	transition : 0.3s;
	color: #0066B3;
}
#toppage #company li a:hover img{
	transition : 0.3s;
	opacity: 0.5;
}
#toppage #news{
	padding: 50px 0;
    margin-bottom: 100px;
}
#toppage #news ul{
}
#toppage #news ul li:first-child{
	border-top: 1px dashed;
}
#toppage #news ul li{
	border-bottom: 1px dashed;
	padding: 10px;
	display: flex;
}
#toppage #news ul li i{
	color: #0066B3;
	font-size: 0.8rem;
}
#toppage #news ul li .date{
	width: 160px;
}



/* 下層ページ共通
---------------------------------------------------------------------------*/
#subpage h2{
	margin: 0;
	padding: 0;
	letter-spacing: 6px;
}
#subpage h3{
	font-size: 1.6rem;
	padding: 1rem 1rem;
	letter-spacing: 0.2rem;
	box-sizing: border-box;
	margin-bottom: 3rem;
	text-align: center;
	color: #0066B3;
	border-bottom: 3px solid #0066B3;
	position: relative;
}
#subpage h4{
	margin: 1rem 0;
	font-weight: bold;
	background: #0066B3;
	color: white;
	padding: 0.5rem 1rem;
	font-size: 1.3rem;
	text-align: center;
}
section table{
	border-collapse:collapse;
	border-spacing:0px;
	width: 100%;
	border-top: 1px solid #ccc;
}
section table th, section table td{
	border-bottom: 1px solid #ccc;
	padding: 1rem;
    line-height: 1.6rem;
    font-size: 1rem;
}
section table th{
	width: 25%;
	text-align: center;
	font-weight: normal;
	background: #eee;
	font-size: 0.9rem;
}
#subpage .pagetitle{
	padding: 3rem 0;
	background: #0066B3;
	margin-bottom: 3rem;
	color: white;
}
#subpage .pagetitle h2{
	font-size: 1.4rem;
}
#subpage section{
	padding-bottom: 100px;
}


/* company
---------------------------------------------------------------------------*/
#subpage #company .greeting{
	display: flex;
}
#subpage #company .greeting .photo{
	width: 36%;
	text-align: center;
	padding-left: 50px;
}
#subpage #company .greeting .photo span{
	text-align: right;
}
#subpage #company .greeting .message{
	width: 64%;
}
#subpage #company .greeting .message p{
	margin-bottom: 1rem;
    text-indent: 1rem;
}
#subpage #company .greeting img{
	width: 100%;
	border-radius: 50px;
}
#subpage #company .greeting .sign{
	text-align: center;
	margin-top: 0.2rem;
}
#subpage #company #company-slogans ul{
	text-align: center;
	border: 1px solid;
	padding: 2rem 0;
	box-sizing: border-box;
}
#subpage #company #company-slogans ul li{
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-size: 1.3rem;
	margin-bottom: 0.3rem;
}
#subpage #company #company-slogans ul li span{
	color: red;
    font-size: 1.8rem;
    margin: 0 0.2rem;
}


/* office
---------------------------------------------------------------------------*/
#subpage #office #office-summary{
	padding-bottom: 40px;
}
#subpage #office #office-summary ul{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
}
#subpage #office #office-summary ul li a{
	padding: 5px 20px;
	box-sizing: border-box;
	background: aliceblue;
	font-size: 0.9rem;
	display: block;
}
#subpage #office #office-index ul li{
	margin-bottom: 90px;
}
#subpage #office section:nth-last-of-type(1){
	margin-bottom: 0;
}
#subpage #office .office-box{
	display: flex;
	gap: 5%;
	border: 1px solid #ccc;
	padding: 30px;
}
#subpage #office .office-box .photo{
	flex: 1;
	width: 40%;
}
#subpage #office .office-box .photo img{
	max-width: 100%;
}
#subpage #office .office-box table{
	width: 55%;
}
#subpage #office .office-box table th{
}
#subpage #office .office-box table td{
}
#subpage #office .office-box2{
	border: 1px solid #ccc;
	padding: 30px;
}
#subpage #office .map{
}
#subpage #office .map a{
	display: inline-block;
	font-size: 0.8rem;
	float: right;
	background: aliceblue;
	padding: 0 0.5rem;
}
#subpage #office .map a i{
	margin-left: 5px;
}




/*sustainability
---------------------------------------------------------------------------*/
#sustainability .image{
	position: relative;
}
#sustainability .slogans{
	position: absolute;
	text-align: center;
	left: 0;
	right: 0;
	top: 150px;
	color: white;
	font-size: 1.6rem;
	text-shadow: 1px 0px 5px #000000, 0px 0px 5px #000000;
	letter-spacing: 2px;
	font-style: italic;
}
#sustainability .message-box{
	display: flex;
	gap: 80px;
	align-items: center;
}
#sustainability .message-box .photo{
	width: 360px;
}
#sustainability .message-box .photo img{
	max-width: 100%;
}
#sustainability .message-box .message{
	flex: 1;
}
#sustainability .message-box .message p{
	text-indent: 1rem;
	margin-bottom: 1rem;
}
#sustainability #sustainability-sdgs table{
	width: 100%;
	min-width: 600px;
}
#sustainability #sustainability-sdgs table th{
	font-size: 0.8rem;
}
#sustainability #sustainability-sdgs table td{
	font-size: 0.9rem;
}
#sustainability #sustainability-sdgs table th,
#sustainability #sustainability-sdgs table td{
	text-align: center;
}
#sustainability #sustainability-sdgs table td:nth-child(3){
	text-align: left;
}

#sustainability #sustainability-sdgs table th:nth-child(1){
	width: 8%;
}
#sustainability #sustainability-sdgs table th:nth-child(2){
	width: 9%;
}
#sustainability #sustainability-sdgs table th:nth-child(4){
	width: 10%;
}
#sustainability #sustainability-sdgs table ul.explanation{
	margin-left: 1rem;
	margin-top: 1rem;
}
#sustainability #sustainability-sdgs table ul.explanation li{
	list-style-type: disc;
    font-size: 0.8rem;
    line-height: 1.4rem;
}
#sustainability .about-sdgs{
	font-size: 0.8rem;
	padding: 2rem;
	border: 1px solid black;
	line-height: 1.4rem;
	margin-top: 2rem;
}
#sustainability #sustainability-sdgs table ul.icon{
	float: left;
}
#sustainability #sustainability-sdgs table ul.icon li{
	float: left;
	width: 50%;
	padding: 5px;
	box-sizing: border-box;
}
#sustainability #sustainability-sdgs table ul.icon li img{
	max-width: 100%;
}
#sustainability #sustainability-sdgs .sdgs-statement{
	text-align: center;
	margin-bottom: 1rem;
}
@media only screen and (max-width:767px){
	#sustainability #sustainability-sdgs .sdgs-statement{
		text-align: left;
	}
	#sustainability .message-box{
		flex-direction: column;
		gap: 20px;
	}
	#sustainability .message-box .photo{
		width: 100%;
	}

}


/* service
---------------------------------------------------------------------------*/
#subpage #service .leadtext{
	margin-bottom: 3rem;
	padding: 0 30px;
	font-size: 1rem;
}
#subpage #service #message .photo{
	display: flex;
	justify-content: space-around;
	margin-bottom: 2rem;
}
#subpage #service #message .photo li{
}
#subpage #service #message .photo li img{
	width: 100%;
}
#subpage #service #message p{
	text-indent: 1rem;
	margin-bottom: 1rem;
}
#subpage #service #message p:last-child{
	margin-bottom: 0;
}
#subpage #service #product{
    /*background: aliceblue;*/
}
#subpage #service #product ul.index{
	display: flex;
	flex-wrap: wrap;
}
#subpage #service #product ul.index li{
	width: 49%;
	margin-bottom: 2%;
	border: 1px solid #0066B3;
	box-sizing: border-box;
	padding: 20px;
	display: flex;
	background: white;
}
#subpage #service #product ul.index li:nth-child(odd){
	margin-right: 2%;
}
#subpage #service #product ul.index li .item-box{
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
}
#subpage #service #product ul.index li .item-box .photo{
	width: 150px;
}
#subpage #service #product ul.index li .item-box .photo img{
	width: 100%;
}
#subpage #service #product ul.index li .item-box .text{
	flex: 1;
    line-height: 1.6rem;
}
#subpage #service #product ul.index li .item-box .text .title{
	color: #0066B3;
	border-bottom: 2px dashed;
	padding: 0.8rem 0;
	margin-bottom: 0.8rem;
}
#subpage #service #product ul li .item-box .text .summary{
	font-size: 0.9rem;
	line-height: 1.6rem;
}
#subpage #service #customer ul{
	display: flex;
	justify-content: space-around;
}
#subpage #service #customer ul li{
	padding: 10px;
	text-align: center;
	font-size: 0.9rem;
}
#subpage #service #customer ul li img{
	width: 100%;
	margin-bottom: 0.5rem;
}
#subpage #service #customer .memo{
	text-align: right;
}
#subpage #service #supplier .supplier-nichias{
	margin-bottom: 2rem;
	font-weight: 500;
}
#subpage #service #supplier ul{
	list-style-type: disc;
	margin: 0;
	padding: 0;
	column-count: 4;
	font-size: 0.8rem;
	margin-left: 1rem;
	line-height: 1.2rem;
}    
#subpage #service #supplier ul li{
	margin-bottom: 0.5rem;
    padding-right: 1rem;
}
#subpage #service #supplier .memo{
	text-align: right;
	font-size: 0.8rem;
}
@media only screen and (max-width:767px){
	#subpage #service #customer ul {
    	flex-wrap: wrap;
	}
	#subpage #service #customer ul li{
		width: 45%;
		padding: 0;
		margin-bottom: 2rem;
	}
	#subpage #service #supplier ul{
		column-count: 1;
	}
	#subpage #service #product ul.index li {
		width: 100%;
		margin-bottom: 20px;
	}
	#subpage #service #product ul.index li .item-box {
		flex-direction: column;
		gap: 0;
	}
	#subpage #service #product ul.index li .item-box .photo{
		width: 100%;
	}
	#subpage #service #product ul.index li:last-child .item-box .text .title{
		padding-top: 0;
	}
	#subpage #service #product ul.index li:nth-child(odd){
		margin-right: 0;
	}
}


/* recruit
---------------------------------------------------------------------------*/
#recruit #staff-message .tab_menu{
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.8s ease;
	width: calc(100%/3);
	float: left;
	padding: 5px;
	box-sizing: border-box;
}
#recruit #staff-message .tab_menu div{
	text-align: center;
}
#recruit #staff-message input:checked + .tab_menu div:after{
	content: "\f0d7";
	font-family: FontAwesome;
	color: #0066B3;
}
#recruit #staff-message .staff-index img{
	width :100%;
}
#recruit #staff-message .tab_menu:last-child{
	margin-right: 0;
}
#recruit #staff-message  input[name="tab_menu"] {
	display: none;
}
#recruit #staff-message .tab_contents {
	display: none;
}
#recruit #staff-message #menu01:checked ~ .message #data01,
#recruit #staff-message #menu02:checked ~ .message #data02,
#recruit #staff-message #menu03:checked ~ .message #data03 {
	display: block;
	animation: appear .8s ease;
}
@keyframes appear {
	0%{
	  opacity: 0;
	}
	100%{
	  opacity: 1;
	}
}
#recruit #staff-message input:not(:checked) + .tab_menu {
	opacity: 0.4;
}
#recruit #staff-message .message{
	display: inline-block;
}
#recruit #staff-message .message .question{
	color: #0066B3;
	padding: 0.2rem 0;
	box-sizing: border-box;
	border-bottom: 2px dotted #0066B3;
	margin-bottom: 0.5rem;
}
#recruit #staff-message .message .question span{
	background: #0066B3;
	color: white;
	display: inline-flex;
	margin-right: 1rem;
	padding: 0 1rem;
	font-size: 0.8rem;
}
#recruit #staff-message .message .answer{
	margin-bottom: 2rem;
	padding: 1rem;
}
#recruit #staff-message .message .answer:last-child{
	margin-bottom: 0;
}
#recruit #staff-message .message-box{
	display: flex;
	gap: 50px;
	flex-direction: row-reverse;
	border: 2px solid #0066B3;
    margin-bottom: 2rem;
    padding: 50px;
}
#recruit #staff-message .message-box .photo{
	width: 300px;
}
#recruit #staff-message .message-box .photo img{
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	margin-bottom: 2rem;
	border: 1px solid;
}
#recruit #staff-message .message-box .text{
	flex: 1;
}
#recruit #requirements .notice{
	text-align: center;
}
@media (max-width: 1024px) and (min-width: 768px) {
	#recruit #staff-message .message-box .photo{
		display: none;
	}
}
@media only screen and (max-width:767px){
	#recruit #staff-message .message-box .photo{
		display: none;
	}
	#recruit #staff-message .message-box{
		padding: 0;
		border: 0;
	}
	#recruit #staff-message .message .answer{
	    padding: 1rem 0;
	}
	#recruit #staff-message .message .question span{
	    margin-right: 0.5rem;
	}
}



/* contact
---------------------------------------------------------------------------*/
#contact form .attention{
	font-size: 0.8rem;
	margin-left: 1rem;
}
#contact form .email{
	width: 70%;
}
#contact form .otoiawase,
#contact form .privacy{
	width: 70%;
}
#contact form .hissu{
	background: red;
	color: white;
	font-size: 0.7rem;
	padding: 0 3px;
	border-radius: 5px;
	float: right;
	line-height: 1rem;
}
#contact .message{
	text-align: center;
	margin-bottom: 2rem;
}
#contact .error{
	border: 1px solid red;
	padding: 30px;
	margin-bottom: 30px;
}
#contact .error li{
	color: red;
	list-style: disc;
	margin-left: 1rem;
	font-size: 0.9rem;
	line-height: 1.6rem;
}
#contact .btn{
	margin: 2rem 0;
	text-align: center;
}
#contact .btn input{
	padding: 5px 40px;
	font-size: 1rem;
}
@media only screen and (max-width:767px){
	#contact form .attention{
		display: inline-block;
		margin-left: 0;
	}
	#contact form .hissu{
		float: none;
		margin-left: 1rem;
	}
	#contact form .email,
	#contact form .otoiawase,
	#contact form .privacy{
		width: 96%;
	}
	#contact .message{
		text-align: left;
	}

}



/* footer-contact
---------------------------------------------------------------------------*/
#subpage #footer-contact{
	margin-top: 50px;
}
#footer-contact{
	background: url(/images/footbox-bg.jpg);
	padding: 100px 0;
	background-size: cover;
	background-position-y: center;
	margin-bottom: 0;
}
#footer-contact p{
	color: white;
	text-align: center;
}
#footer-contact p:first-child{
	margin-bottom: 2rem;
	font-size: 1.5rem;
}
#footer-contact p a{
	color: white;
	border: 1px solid white;
	padding: 5px 30px;
	font-size: 0.9rem;
}
#footer-contact p a:hover{
	transition : 0.3s;
	background: white;
	color: black;
}
@media only screen and (max-width:767px){
	#footer-contact{
		margin-bottom: 0;
        padding: 40px 0;
	}
	#footer-contact p:first-child{
		font-size: 1.2rem;
	}
}




/* footer
---------------------------------------------------------------------------*/
#footer {
	position: relative;
	top: 150px;
	width:100%;
	clear: both;
	text-align: left;
	line-height:1.5em;
	font-size:0.85em;
	background-color: #f8f8f8;
}
#footer-inner {
	margin: 0 auto;
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
	padding: 3rem 0;
}
#footer-company{
	border-top: 1px solid #ccc;
	clear:both;
	font-size: 0.7rem;
	line-height: 1.5em;
	padding-top: 3rem;
	text-align: center;
}
#footer .copy {
	clear:both;
	width:100%;
	text-align: center;
	display:block;
	font-size: 0.6rem;
	padding:0.5rem 0;
	background-color: white;
}
#footer #sitemap {
	float: left;
	margin-bottom: 2rem;
	width: 100%;
}
#footer #sitemap a{
	color: black;
}
#footer #sitemap ul{
	display: flex;
	justify-content: space-around;
}
#footer #sitemap ul li{
	float: left;
	text-align: center;
}
#footer #sitemap ul li p{
	font-weight:bold;
	margin-bottom: 0.5rem;
}
#footer #sitemap ul li i{
	color: #0066B3;
}
#footer-company img{
	width: 300px;
	margin-bottom: 20px;
}


/* topback
---------------------------------------------------------------------------*/
#page-top {
	position: fixed;
	bottom: 0px;
	right: 50px;
	margin:0;
	z-index:100;
	display:none;
}
#page-top a {
	color: #0066B3;
	text-align: center;
	display: block;
	margin:0;
	font-size: 250%;
}
#page-top a:hover {
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}




/* navi
---------------------------------------------------------------------------*/
@media print, screen  and (min-width: 768px){
	#navi ul#index{
		display:block !important;
	}
	a#menu{display:none;}
}



/*===============================================
 狭いブラウザとタブレット向け(iPad Pro～iPad Mini)
===============================================*/
@media (max-width: 1024px) and (min-width: 768px) {

	#header,
	header #navi,
	section .section-inner{
		width: 90vw;
	}
	header #navi ul#index,
	header #navi ul#index li {
		border: 0;
	}
	header #navi ul#index li {
		font-size: 0.7rem;
	}
	#toppage #icatch,
	#toppage #icatch .box{
		height: 600px !important;
	}
	#toppage #icatch .box p:first-child{
		font-size: 2rem;
	}
	#toppage #about .aboutbox .summary{
		padding: 0;
		padding-right: 60px;
	}
	#footer #sitemap{
		padding: 20px 0;
		margin-bottom: 0;
	}
	#footer-company{
		padding: 20px 0;
	}
	#toppage #about p.leadtext{
		font-size: 1.3rem;
	}
	#footer-inner{
		padding: 0;
	}
	#header #contact a{
		padding: 5px 10px;
	}
	h2{
		font-size: 1.4em;
	}
	#footer #sitemap ul li {
    	font-size: 0.8rem;
	}

	/*service
	---------------------------------------------------------------------------*/
	#subpage #service .service-box{
		flex-direction: column;
	}
	#subpage #service .service-box .photo{
		width: 100%;
		margin-bottom: 2rem;
	}
	#subpage #service .service-box .text{
		width: 100%;
		padding: 0;
	}
	#subpage #service .service-box .text .title{
		font-size: 1.3rem;
	}

	/*sustainability
	---------------------------------------------------------------------------*/
	#subpage #sustainability .message-box{
		gap: 30px;
	}
	#subpage #sustainability .message-box .photo {
    	width: 200px;
	}
}



/*===============================================
 スマホ：画面の横幅が767pxまで
===============================================*/
@media only screen and (max-width:767px){
	/*common 
	---------------------------------------------------------------------------*/
	html,body{ 
		width:100%; 
		min-width: 300px;
		line-height: 1.8rem;
		font-size: 1rem;
	}
	body{ 
		width:100%; 
		overflow-x:hidden;
	}
	h2 {
		font-size: 1.2em;
	}
	h3{
		font-size: 1.0rem;
	}
	.only-sp{
		display: block;
	}
	.only-pc{
		display: none;
	}
	#main{
		width:100%;
		float:none;
		clear:both;
		padding-bottom: 0;
	}
	#container{
		width:100%;
		float:none;
		clear:both;
		top: 70px;
	}
	#contents{
		float:none;
		clear:both;
		margin:0px;
	}
	
	/* header
	---------------------------------------------------------------------------*/
	header{
		height: 70px;
	}
	#header{
		width:100%;
		padding-bottom: 0;
		padding-top: 0;
		z-index:0;
		clear:both;
		margin:0;
	}
	#header #logo h1{
		top: 20px;
	}
	#header #navi{
		width: 100%;
		top: 25px;
	}
	header #description{
		display: none;
	}
	#header #navi ul#index{
		position: relative;
		border-top: 1px solid #ccc;
	}
	#header #navi ul#index li{
		display:block;
		margin-left: 0;
		font-weight: normal;
		padding: 0;
		width: 100%;
	}
	#header #navi ul#index li:first-child{
		border: none;
	}
	#header #logo{
		margin-left: 15px;
	}
	#header #logo h1 img{
		width: 240px;
	}
	#header #contact{
		display: none;
	}

	/* navigation
	---------------------------------------------------------------------------*/
	#menu{
		display: block;
	}
	#navi{
		z-index:100;
		clear:both;
		padding:0;
		position:relative;
		width:100%;
	}
	#navi a{
		font-size: 100%;
	}
	#navi a.menu{
		display:block;
		font-weight: bold;
		text-align:left;
		top:-62px;
		right:15px;
		position:absolute;
		width:50px;
		right: 20px;
	}
	#navi a#menu span{padding-left:10px;}
	#navi a#menu:hover{cursor:pointer;}
	#navi ul#index{
		display: none;
		width:100%;
		position:absolute;
		right: 0;
		top:0px;
		z-index:100;
	}
	#navi ul#index li{
		float: none;
		clear:both;
		width:100%;
		height:auto;
		background-color: white;
		background: rgba(255,255,255,0.9);
	}
	#navi ul#index li a,#navi ul#index li.current-menu-item li a{
		display: block;
		padding:10px 5px 10px  10px ;
		text-align:left;
		border-bottom:1px dashed #ccc;
	}
	#navi ul#index li a img{display:none;}
	#navi div.panel{float:none;}

	/* sp-menu
	---------------------------------------------------------------------------*/
	header .menu-sp-btn {
		display: block;
	}
	header .menu-sp-btn span {
		background-color: #0066B3;
	}

	/* sp-nav
	---------------------------------------------------------------------------*/
	nav.sp-menu{
		position: absolute;
		width: 100%;
		top: 70px;
		left: 100%;
		z-index: 1;
		padding: 0;
		background-color: #00326F;
		-webkit-box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
		background-color: rgba( 0, 0, 0, 0.7 );
	}
	nav.sp-menu.is-displayed {
		left: 0;
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
	}
	nav.sp-menu ul li{
		text-align: center;
		border-bottom: 1px solid white;
	}
	nav.sp-menu ul li a{
		color: white;
		display:block;
		padding: 8px 0;
		font-size: 0.9rem;
		letter-spacing: 2px;
	}
	nav.sp-menu ul li a span{
		display: block;
		font-size: 70%;
		line-height: 1;
	}
	header li.login a{
		border: 0;
	}

	/*slider
	---------------------------------------------------------------------------*/
	#slider{
		top: 70px;
	}
	.slick-box img{
		width: 320px;
	}
		
	/*icatch
	---------------------------------------------------------------------------*/
	#toppage #icatch {
		height: 300px !important;
	}
	#toppage #icatch .box{
		height: 300px !important;
	}
	#toppage #icatch .box p:first-child {
		font-size: 1.5rem;
	}
	#toppage #icatch .box p span {
		font-size: 1rem;
	}

	/*main
	---------------------------------------------------------------------------*/
	main {
		position: relative;
		top: 70px;
	}

	/*section
	---------------------------------------------------------------------------*/
	section{
		width: 100%;
		margin-top: 1rem;
		margin-bottom: 1rem;
		padding: 0;
	}
	section .section-inner{
		width: 90%;
		padding: 0;
	}
	
	section table.responsive{
		font-size: 90%;
		border-top: 0;
	}
	section table.responsive th, section table.responsive td{
		padding: 0.5rem 0;
		display: block;
		border-bottom: 0;
		width: 100%;
	}
	section table.responsive td{
		margin-bottom: 1rem;
	}
	section table.responsive th{
	    text-align: left;
		box-sizing: border-box;
		padding: 0.2rem 0;
		border-bottom: 2px solid black;
		background: none;
		color: #gray;
	}

	/*topback
	---------------------------------------------------------------------------*/
	#page-top {
		position: fixed;
		bottom:0;
		right: 10px;
		margin:0;
		z-index:100;
	}
	#page-top a {
		text-decoration: none;
		text-align: center;
		display: block;
		margin:0;
	}
	#page-top img {
		width: 40px;
	}

	/*footer
	---------------------------------------------------------------------------*/
	#footer{
		width:100%; 
		font-size:80%;
		display:inline-block;
		clear:both;
		top: 70px;
	}
	#footer-inner{
		width: 100%;
		padding: 0;
	}
	#footer #sitemap{
		margin-bottom: 0;
	}
	#footer #sitemap ul{
		flex-direction: column;
	}
	#footer #sitemap ul li{
		width: 100%;
		border-bottom: 1px solid white;
		box-sizing: border-box;
		padding: 10px;
	}
	#footer-company{
		margin-left: 0;
		padding-bottom: 3rem;
	}


	/*common
	---------------------------------------------------------------------------*/
	#sub-main{
		top: 80px;
	}
	#subpage .pagetitle{
		margin: 0;
		padding: 2rem 0;
	}
	#subpage .pagetitle h2{
		font-size: 1.1rem;
	}
	#subpage section {
		padding-bottom: 50px;
	}
	#subpage h3{
		font-size: 1rem;
		line-height: 1.6rem;
		padding: 1rem 0;
	}
	#subpage h4{
		font-size: 1rem;
		padding: 2px;
	}
	#subpage #service .leadtext{
		padding: 0;
	}
	
	/*トップページ調整用
	---------------------------------------------------------------------------*/
	#toppage #about{
		margin-top: 50px;
	}
	#toppage #about div:first-child{
		padding: 0;
	}
	#toppage #about .aboutbox{
		flex-direction: column;
	}
	#toppage #about p{
		padding-left: 0;
	}
	#toppage #about p.leadtext{
		font-size: 1.2rem;
	}
	#toppage #about .aboutbox{
		width: 100%;
	}
	#toppage #about p.company{
		margin-bottom: 1rem;
		font-size: 1rem;
	}
	#toppage #about p.leadtext{
		margin-bottom: 2rem;
		font-size: 1.1rem;
		padding-bottom: 2rem;
	}
	#toppage #about .aboutbox img{
		margin: 20px 0;
		width: 100%;
	}
	#toppage #about .aboutbox img:nth-child(1) {
		margin-bottom: 0;
	}
	#toppage #about .aboutbox .summary{
		padding: 0;
	}
	#toppage #about .aboutbox .summary,
	#toppage #about .aboutbox .photo{
		width: 100%;
	}
	#toppage #service{
		padding: 50px 0;
	}
	#toppage #service ul{
		flex-direction: column;
	}
	#toppage #service li{
		margin-bottom: 10px;
		width: 100%;
	}
	#toppage #service li a {
		flex-direction: column;
	}
	#toppage #service li .text {
    	padding: 0 20px 20px 20px;
	}
	#toppage #service li .photo img{
		width: 100%;
	}
	#toppage #company{
		margin-bottom: 0;
		padding: 20px 0;
	}
	#toppage #service .detail a{
		padding: 0.5rem 1rem;
	}
	#toppage #company ul{
		flex-wrap: wrap;
	}
	#toppage #company li{
		width: 46%;
	}
	#toppage #news{
		padding: 20px 0;
	}
	#toppage #news ul li{
		flex-direction: column;
	}
	#toppage #news ul li .date {
		font-size: 0.9rem;
	}


	/*company
	---------------------------------------------------------------------------*/
	#subpage #company .greeting {
		flex-direction: column;
	}
	#subpage #company .greeting img{
		width: 100%;
		padding: 0;
	}
	#subpage #company #company-slogans ul li{
		font-size: 1rem;
	}
	#subpage #company .greeting .message,
	#subpage #company .greeting .photo{
		width: 100%;
	}
	#subpage #company .greeting .photo{
		padding-left: 0;
	}



	/*office
	---------------------------------------------------------------------------*/
	#subpage #office #office-summary ul{
		display: none;
	}
	#subpage #office #office-summary{
		padding-bottom: 0;
	}
	#subpage #office .office-box{
		flex-direction: column;
		gap: 0;
	}
	#subpage #office .office-box .photo{
	    margin-bottom: 2rem;
	}
	#subpage #office .office-box .photo,
	#subpage #office .office-box table{
		width: 100%;
	}
	#subpage #office .map a{
		float: none;
		margin: 0.5rem 0;
	}

	/*sustainability
	---------------------------------------------------------------------------*/
	#sustainability .slogans{
		font-size: 1rem;
		top: 40px;
	}
}



/*印刷調整
---------------------------------------------------------------------------*/
@media print {
	header{
		position: absolute;
	}
	#slider{
		background: url(images/icatch01.jpg) no-repeat center center;
		height: 400px;
	}
	.slick-box{
		display:none;
	}
}

