﻿@media screen and (max-width:768px) {

body{
  position: relative;
  min-width: 100%;
  font-weight:300;
}

header,
section,
#pageHeader .inner,
main .inner,
footer .inner {
  width: 100%;
}

/* smartphone only */
.pc {
  display: none !important;
}

.pc_inline {
  display: none !important;
}

.sp {
  display: block !important;
}

.sp_inline {
  display: inline !important;
}

/*============================================================================

	header

============================================================================*/

header {
	display:none;
}

/*============================================================================

	#navi

============================================================================*/
.gNavi{
  display:none !important;
}

.sp_navi {
  display:block;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:62px;
  border-bottom: 0;
  font-size:16px;
  font-weight:bold;
  z-index: 10000;
}
.sp_navi h1{
  position: absolute;
  display: table !important;
  text-align: left;
  padding-left:6%;
  height: 100%;
}
.sp_navi h1 span,
.sp_navi h1 img{
  display:block;
  width: 188px;
  height: 36px;
}
.sp_navi h1 a{
  display: table-cell;
  vertical-align:middle;
}
.sp_navi h1 img{
  z-index: 9999;
  position:relative;
}
.sp_navi dl{
  position:relative;
  height:inherit;

}
.sp_navi dl dt {
  height: 62px;
  font-weight:bold;
  cursor:pointer;
  padding: 0 4%;
  font-size:18px;
  display:block;
  color:#fff;
  background: #fff;
  background-image: url(../images/common/bg_header_sp.jpg);
  background-size: cover;
  line-height: 2;
}
.sp_navi dl dt a {
  background: rgba(255, 255, 255, 0.7);
}
.sp_navi dl dt i{
  margin-right:2%;
}
.sp_navi dl dd {
  position:relative;
  right:-100%;
  background-color: rgba(255,255,255,0.85);
  transition:ease-in-out 0.3s;
  opacity:0;
}

/* 横から出てくるアニメーション */
.sp_navi dl dd.sp_navi3{
opacity:1;
right:0;

}

.sp_navi ul{
  padding:4% 2% 4% 8%;
}
.sp_navi ul li {
  width: 50% ;
  float: left ;
  line-height:1.4;
  font-size:15px;
  font-weight:normal;
}
.sp_navi ul li i{
  width: 10px;
  margin-right: 4%;
  color: #1F2774;
  font-size: 11px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  display: table-cell;
  left: -6px;
}
.sp_navi ul li i,
.sp_navi ul li span{
  display:table-cell;
  vertical-align:middle;
}
.sp_navi ul li i.fa-facebook-square,.sp_navi ul li i.fa-home{
  font-size:16px;
}
.sp_navi ul li:hover {
}
.sp_navi ul li a {
  display: table;
  width:92%;
  height: 40px;
  margin-right:8%;
  padding: 0;
  color:#333;
  text-decoration:none;
  font-size: 16px;
}
.sp_navi ul li a:hover {
}
/*ボタンの動き*/
.sp_navi dt a {
  display: block;
  width: 42px;
  height:42px;
  position: absolute;
  top:9px;
  right: 10px;
  z-index: 9999999;
}
.sp_navi dt a span {
  display: block;
  background: #1285c5;
  width: 24px;
  height: 2px;
  position: absolute;
  left: 9px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
}
.sp_navi dt a span:first-child {
  top: 12px;
}
.sp_navi dt a span:nth-child(2) {
  margin-top: -1px;
  top: 50%;
}
.sp_navi dt a span:last-child {
  bottom: 12px;
}
.sp_navi dt a.active span:first-child {
  -webkit-transform: translateY(8px) rotate(225deg);
  -moz-transform: translateY(8px) rotate(225deg);
  -ms-transform: translateY(8px) rotate(225deg);
  transform: translateY(8px) rotate(225deg);
}
.sp_navi dt a.active span:nth-child(2) {
  opacity: 0;
}
.sp_navi dt a.active span:last-child {
  -webkit-transform: translateY(-8px) rotate(-225deg);
  -moz-transform: translateY(-8px) rotate(-225deg);
  -ms-transform: translateY(-8px) rotate(-225deg);
  transform: translateY(-8px) rotate(-225deg);
}

/*============================================================================

	#main

============================================================================*/
main {
  margin: 0 auto;
  width: 100%;
}

main .inner {
  width: 95%;
}

main img {
  width: 100%;
  max-width: 100%;
}

main .contentImg {
  margin-top: 10px;
}

#container {
  padding-bottom: 30px;
}

section {
  min-width: initial; /* 背景切れ対策 */
  min-width: auto;
  padding: 30px 0;
}

main h4, main p, main th, main td, main li, main dt, main dd {
  font-size: 87.5%;
}

main figcaption p {
  font-size: 81.25%;
}

table.rwdTbl,
table.rwdTbl tr,
table.rwdTbl th,
table.rwdTbl td {
  box-sizing: border-box;
}
.rwdTbl { 
  width: 100%;
}
.rwdTbl th,
.rwdTbl td {
  width: 100%;
  display: block;
  border-top: none;
  text-align: center;
}
table.rwdTbl tr:first-child th {
  border-top: 1px solid #ddd;
}

#pageTop {
  right:0;
  bottom: 10px;
}

#pageTop img {
  max-width: 60%;
}

/*============================================================================

	#footer

============================================================================*/
footer {
  padding: 0 0 20px 0;
}

footer .inner {
}

footer #footerNav {
  background: #1285c5;
}

footer #footerNav ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #59a9d6;
}

footer #footerNav li {
  display: block;
  float: left;
  width: 50%;
  margin-top: 0;
  border-bottom: 1px solid #59a9d6;
}

footer #footerNav li:last-child {
  width: 100%;
}

footer #footerNav li a {
  display: block;
  margin: 0;
  padding: 0 0;
  background: #1285c5;
  line-height: 44px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
}

footer #footerNav li:nth-child(odd) {
  border-right: 1px solid #59a9d6;
}

footer .footerContent {
  display: block;
  width: 95%;
  margin-top: 30px;
}

footer #footerLogo p,
footer #footerInfo p,
footer #footerInfo .adrs {
  text-align: center;
}

footer #footerLogo p img {
  width: 60%;
}

footer #footerInfo p {
}

#footerInfo .adrs {
}

#footerInfo .adrs span {
  display: inline-block;
}

#footerInfo .adrs span:nth-child(1),
#footerInfo .adrs span:nth-child(2) {
  padding: 0;
}

#footerInfo .adrs span:nth-child(2) {
  border: none;
  padding: 0;
}

#footerInfo .adrs span {
}

#footerInfo .linkBtnWrap {
  margin-top: 30px;
}

#footerInfo .linkBtn {
    max-width: 64%;
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #f5911e;
    border: none;
    color: #fff;
  font-size: 125%;
  line-height: 1.0;
}

#footerInfo .linkBtn i {
  transform: scale(0.7);
}

footer #footerlogo p,
footer #footerInfo p {
  margin-top: 15px;
}

footer .copyright {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 75%;
}

/*============================================================================

	templates

============================================================================*/
/* pageheader */
/* topページ以外のメインビジュアル */
.pageHeader {
  position: relative;
  width: 100%;
  height: 130px;
  margin: 62px 0 0 0;
}
.pageHeader > div {
  background-size: 65%;
}
.pageHeader h2 {
  margin-top: -10px;
  font-size: 175%;
}

/* フォントサイズ */
.fzS {
  font-size:  85%; /* 12px */
}
.fzM {
  font-size: 114%; /* 16px */
}
.fzMl {
  font-size: 142%; /* 20px */
}
.fzL {
  font-size: 171%; /* 24px */
}

.secTtl {
  margin-bottom: 30px;
}
.secTtl > span {
  font-size: 125%;
  letter-spacing: 0.25em;
}

.secTtl > span::before,
.secTtl > span::after {
  width: 41px;
  height: 19px;
}

.secTtl > span::before {
  left: -50px;
}
.secTtl > span::after {
  right: -50px;
}
.ttl01 span {
  font-size: 112.5%;
}
.ttl01 span:before,
.ttl01 span:after {
  position: absolute;
  top: 50%;
  width: 2rem;
}

.ttl01 span:before {
  left: -2rem;
}

.ttl01 span:after {
  right: -2rem;
}

.ttl02 {
  font-size: 112.5%;
}

/*  回り込み  */
.flImgL,
.flImgR,
.flImgC {
  width: 50%;
}

/*  news line  */
.line_tbl dt {
  width: 100px;
}
.line_tbl dd {
  margin-left: 100px;
}

/* img caption */
figcaption {
  bottom: 0;
  background: rgba(0,0,0,.6);
  -webkit-transition: none;
  transition: none;
}

figure figcaption p {
  padding-top: 5px;
}

/* カラムレイアウト */
.flexContainer,
.flexImgtxt {
  display: block;
  justify-content: space-between;
  -webkit-box-pack: justify;
  -webkit-flex-wrap: wrap!important;
  flex-wrap: wrap!important;
}
.flexContainer.col2 .flexItem,
.flexContainer.col3 .flexItem,
.flexContainer.col4 .flexItem,
.flexImgtxt .wd20,
.flexImgtxt .wd80 {
  width: 100%;
}

.flexItem + .flexItem {
  margin-top: 30px;
}
.flexItem figure + p {
  margin-top: 15px;
}

/* 横並び */
.flexImgtxt .wd80 {
  margin-top: 30px;
}

.flexImgtxt .wd20 {
  max-width: 75%;
  margin: 0 auto;
}

.linkBtnWrap,
.linkBtnWrap.taR,
.linkBtnWrap.taL {
  text-align: center;
}

/*=======================

	top

========================*/
.mainvisual {
  width: 100%;
  margin-top: 62px !important;
  min-height: 320px;
  height: 320px;
}
.mainvisual > .mask {
  margin: 0 0.5em;
  font-size: 125%;
}
.mainvisual > .mask img {
  max-width: 100%;
  height: auto;
}

#container {
  padding-bottom: 0;
}

#top #topWork {
  background-position: center top 80px;
  background-size: 70%;
}

#top #topWork ul {
  max-width: 100%;
  padding-top: 200px;
}

#top #topWork li {
  font-size: 125%;
}

#top #topAccess .googleMap,
#company #companyAccess .googleMap {
    padding-bottom: 90%;
}




}