﻿/*
style.css
kumnooie CSS
*/

/*=======================================
リセット
=======================================*/

a, abbr, acronym, address, applet, article, aside, audio,
b, big, blockquote, body, caption, canvas, center, cite, code,
dd, del, details, dfn, dialog, div, dl, dt, em, embed,
figure,fieldset, figcaption, figure, form, footer,
header, hgroup, h1, h2, h3, h4, h5, h6, html,
i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, output, p, pre, q, ruby,
s, samp, section, main, small, span, strike, strong, sub, summary, sup,
tt, table, tbody, textarea, tfoot, thead, time, tr, th, td,
u, ul, var, video {
font-family: inherit;
font-size: 100%;
font-weight: inherit;
font-style: inherit;
vertical-align: baseline;
white-space: normal;
text-align: left;
margin: 0;
padding: 0;
border: 0;
outline: 0;
background: transparent;
}

article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section, main {
display: block;
}

ol, ul {
list-style: none;
}

blockquote, q {
quotes: none;
}

table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
}

th, td {
padding: 10px;
border: 1px solid #ccc;
}

a{
text-decoration: none;
}

html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

body {
  line-height: 1.6;
  min-width: 1080px;
  overflow-x: hidden;
  position: relative;
}

h1,h2,h3,h4,h5,h6 {
  line-height: 1.1;
}

main {
  display:block; /* for IE11 */
}

header a:hover,
header a:hover img,
main a:hover img,
footer a:hover {
  outline: 0;
  opacity: 0.7;
  transition: all 0.8s ease 0s;
}

.ov {
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

em {
  font-style: normal;
}

img {
  vertical-align: bottom;
  max-width: 100%;
}

.object-fit-img {
  object-fit: cover;
}

p + p {
  margin-top: 20px;
}

/*=======================================
テンプレート用
=======================================*/

/* フロート */
.flL { 
  display: inline; float: left;
}
.flR {
  display: inline; float: right;
}
.flImgL{
  display: inline; float: left; margin-right: 20px;
}
.flImgR {
  display: inline; float: right; margin-left: 20px;
}
.flImgC {
  display: block; margin: 0 auto;
}

/* 行ぞろえ */
.taL {
  text-align: left;
}
.taC {
  text-align: center;
}
.taR {
  text-align: right;
}

/* Zen Maru Gothic */
.zenMaru {
font-family: 'Zen Maru Gothic', sans-serif;
}

/* フォントサイズ */
.fzS {
  font-size:  75%; /* base 16px -> 12px */
}
.fzM {
  font-size: 112.5%; /* base 16px -> 18px */
}
.fzMl {
  font-size: 150%; /* base 16px -> 24px */
}
.fzL {
  font-size: 225%; /* base 16px -> 36px */
}

/* フォントウエイト */
.fwN {
  font-weight: normal;
}
.fwB {
  font-weight: bold;
}

/* フォントカラー */
.red {
  color:#ff0000;
}
.blue {
  color:#2c4a8f;
}
.brown {
  color:#996600;
}
.purple {
  color:#cc3399;
}
.green {
  color:#009966;
}

.yellow {
  color:#fed136;
}
.orange {
  color:#ff6600;
}
.white {
  color:#fff;
}

/* ラインマーカー */
.marker {
  background: -webkit-linear-gradient(transparent 60%,#ffff8e 70%);
  background: linear-gradient(transparent 60%,#ffff8e 70%);
  background: -webkit-linear-gradient(transparent 60%,#ffff8e 60%);
  font-weight: bold;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

/*=======================================
共通部分
=======================================*/

/* clearfix */
.clearfix:after {
  clear: both;
  content: "";
  display: block;
}

/* button */
.linkBtnWrap {
  margin-top: 40px;
}

.linkBtn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 60px;
  padding-left: 40px;
  padding-right: 70px;
  background-color: #fff;
  border: 2px solid #1285c5;
  border-radius: 100vw;
  color: #2db0e3 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  -webkit-transition: .2s ease-out;
  transition: .2s ease-out;
  box-sizing: border-box;
}
.linkBtn:hover {
  background-color: #1285c5 !important;
  border: 2px solid #fff;
  color: #fff !important;;
}

.linkBtn:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 24px;
   width: 18px;
  height: 18px;
  background-image: url(../images/common/icon_linkbtn_b_on.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.linkBtn:hover:before {
  background-image: url(../images/common/icon_linkbtn_b.svg);
}

/* pc or sp switch */
.pc {
  display:block !important;
}
.sp {
  display: none !important;
}
.pc_inline {
  display:inline !important;
}
.sp_inline {
  display:none !important;
}

/* レスポンシブテーブル */
.rwdTbl th {
  width: 30%;
  background-color: rgba(49, 66, 78, 0.7);
  color: #fff;
  text-align: left;
}

.rwdTbl td {
  background-color: rgba(255, 255, 255, 1);
}

/* サイト全体共通 */
body {
  background: #fff;
  font-family: "游ゴシック", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic";
  color: #333;
  letter-spacing: 0.03em;
}

/* ヘッダー */
header .inner,
main .inner,
footer .inner {
  margin: 0 auto;
  width: 1080px;
}

header {
  position: relative;
  height: 194px;
  margin-bottom: 0;
  background-color: #1285c5;
  background-image: url(../images/common/bg_header.jpg);
  background-size: cover;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: inherit;
}

header #siteId {
  margin-top: 0;
}

header #siteId img {
  max-width: 360px;
}

/* ヘッダインフォ */
#headerInfo {
  align-items: flex-end;
}

#headerInfo .adrs,
#headerInfo .tel {
  text-align: right;
}

#headerInfo .adrs span,
#headerInfo .tel {
  color: #fff;
}
#headerInfo .adrs span,
#footerInfo .adrs span {
  font-size: 87.5%;
}
#headerInfo .adrs span:nth-child(1),
#footerInfo .adrs span:nth-child(1) {
  padding-right: 1em;
}
#headerInfo .adrs span:nth-child(2),
#footerInfo .adrs span:nth-child(2) {
  padding-left: 1em;
  border-left: 1px solid #fff;
}
#headerInfo .tel,
#footerInfo .tel {
  margin-top: 8px;
  font-size: 112.5%;
  font-weight: bold;
  line-height: 1;
}
#headerInfo .tel span,
#footerInfo .tel span {
  font-size: 175%;
}

/* グローバルメニュー */
nav.gNavi {
  display: block;
  position: relative;
  margin-top: 22px;
  z-index: 100;
}
nav.gNavi ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

nav.gNavi ul li {
  position: relative;
  height: 100%;
  font-weight: bold;
}

nav.gNavi ul li:not(:last-child) a {
  position: relative;
  display: inline-block;
  margin: 12px 25px;
  text-decoration: none;
  letter-spacing: 0.15em;
}

nav.gNavi ul li:not(:last-child) a span {
  display: inline-block;
  color: #fff;
  letter-spacing: .05em;
  text-align: center;
}

nav.gNavi ul li:not(:last-child) a:after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

nav.gNavi ul li:not(:last-child) a:hover:after {
  transform: scale(1, 1);
}

nav.gNavi li:last-child {
  padding-left: 25px;
}

nav.gNavi ul .linkBtn {
  max-width: 160px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #f5911e;
  border: none;
  border-radius: 100vw;
  color: #fff !important;
}

nav.gNavi ul .linkBtn:hover {
  background-color: #f5ba76;
  border: none;
  color: #fff;
  opacity: 1.0;
}

nav.gNavi ul .linkBtn:before,
nav.gNavi ul .linkBtn:hover:before {
  content: none;
}

/* 上下メニュー共通 */
nav ul li {
  display: inline-block;
}

/* フッター */
footer {
  position: relative;
  padding: 30px 0;
  background: linear-gradient(0deg, rgb(1, 125, 197), rgb(3, 169, 228));
}

footer #footerNav ul {
  text-align: center;
}

footer #footerNav li a {
  padding-left: 50px;
  color: #fff;
}

footer #footerNav li a i {
  padding-right: 0.5em;
  transform: scale(0.7);
}

footer .footerContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 40px auto 0;
}

footer #footerInfo p,
footer .copyright {
  color: #fff;
}

footer #footerLogo img {
  max-width: 360px;
}

/* ボタン */
footer #footerInfo .ftBtn {
  position: relative;
  text-align: center;
}
footer #footerInfo .ftBtn a {
  display: inline-block;
  padding: 8px 30px;
  background: #fff;
  border-radius: 100vh;
  color: #f5911e;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
footer #footerInfo .ftBtn a i {
  transform: scale(0.7);
}
footer #footerInfo .ftBtn a:hover {
  background: #f5911e;
  color: #fff;
  opacity: 1.0;
}

footer .copyright {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
}


/* メインコンテンツ共通 */
main {
  display:block; /* for IE11 */
}

#container {
  position: relative;
}

main p {
}

main section p:last-child {
  margin-bottom: 0;
}

main a {
  color: #1285c5;
  font-weight: normal;
  text-decoration: underline;
  transition: all 0.2s ease;
}

main a:hover, main a:active {
  text-decoration: none;
}

main li {
}

main p,
main li,
main dl,
main table {
  line-height: 1.6;
}

/* 下層ページのタイトル */
/*
.pageHeader {
  display: table;
  position: relative;
  width: 100%;
  height: 240px;
  margin: 0;
  background: url(../images/common/bg_town.png)repeat-x center bottom, url(../images/common/bg_pagettl.jpg) no-repeat center center;
  background-size: auto,cover;
  background-color: #ccc;
  color: #fff;
}

.pageHeader > div {
  display: table-cell;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center bottom;
  vertical-align: middle;
  text-align: center; 
}
*/

.pageHeader {
  display: table;
  position: relative;
  width: 100%;
  height: 240px;
  margin: 0;
  background: url(../images/common/bg_pagettl.jpg) no-repeat center center;
  background-size: cover;
  background-color: #ccc;
  color: #fff;
}

.pageHeader > div {
  display: table-cell;
  background: url(../images/common/bg_town.png) repeat-x center bottom;
  vertical-align: middle;
  text-align: center; 
}

.pageHeader h2 {
  font-size: 250%;
  font-weight: bold;
  letter-spacing: 0.3em;
  line-height: 1;
  text-shadow:
  0px 4px 3px rgba(0,0,0,0.2),
  0px 8px 13px rgba(0,0,0,0.1),
  0px 18px 23px rgba(0,0,0,0.1);
  text-align: center; 
}

/* headlines */
.secTtl {
  position: relative;
  margin-bottom: 60px;
  text-align: center;
}
.secTtl > span {
  position: relative;
  display: inline-block;
  color: #1285c5;
  font-size: 225%;
  font-weight: 500;
  letter-spacing: 0.25em;
}

.secTtl > span::before,
.secTtl > span::after {
  content: "";
  width: 74px;
  height: 35px;
  background-size: auto 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
}

.secTtl > span::before {
  left: -100px;
  background-image: url(../images/common/img_cloud_before.png);
}
.secTtl > span::after {
  right: -100px;
  background-image: url(../images/common/img_cloud_after.png);
}

.ttl01 {
  text-align: center;
}

.ttl01 span {
  display: inline-block;
  position: relative;
  padding: 0 1rem;
  background-color: #1285c5;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 175%;
  letter-spacing: 0.1em;
}

.ttl01 span:before,
.ttl01 span:after {
  position: absolute;
  top: 55%;
  width: 3rem;
  height: 0.1rem;
  background-color: #1285c5;
  content: '';
}

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

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

.ttl02 {
  margin-bottom: 20px;
  padding: 0 0 7px 0.5em;
  border-bottom: 2px dotted #ccc;
  font-size: 137.5%;
  font-weight: 500;
}

/* DL */
.line_tbl {
  border-bottom-width: 1px;
  border-top-style: dotted;
  border-bottom-color: #ccc;
  background-color: transparent;
}
.line_tbl dt {
  float: left;
  clear: left;
  width: 160px;
  padding: 10px;
  text-align: center;
  border-top-width: 1px;
  border-top-style: dotted;
  border-top-color: #ccc;
}
.line_tbl dd {
  padding: 10px;
  margin-left: 160px;
  border-top-width: 1px;
  border-top-style: dotted;
  border-top-color: #ccc;
}
.line_tbl dt:first-child,
.line_tbl dt:first-child + dd {
  padding-top: 0;
  border-top: none;
}

/* img caption */
figure {
  position: relative;
  overflow: hidden;
}
figure img {
  vertical-align: bottom;
}
figcaption {
  position: absolute;
  bottom: -30px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 30px;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
}
figure:hover figcaption {
   bottom: 0;
}
figure figcaption p {
  padding-top: 2px;
  color: #fff;
  text-align: center;
}

/* border_box */
.border_box {
  padding: 1em;
  border: 2px solid #ccc;
}

section {
  min-width: 1080px; /* 背景切れ対策 */
  padding: 80px 0;
}

main section.lightYellow {
  background: #f8f6ed;
}

main section.lightGray {
  background: #f0f0f0;
}

/*=======================================
カラムレイアウト
=======================================*/
.flexContainer {
  display: flex;
  justify-content: space-between;
  -webkit-box-pack: justify;
  -webkit-flex-wrap: wrap!important;
  flex-wrap: wrap!important;
}

.flexContainer:after {
  content: "";
  display: block;
  height: 0;
}

.flexItem {
  position: relative;
/*  padding-bottom: 65px; 隣り合う高さ揃える時 */
}

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

.flexItem figure img{
  width: 100%;
}

/* 2col */
.flexContainer.col2 .flexItem {
  width: calc(50% - 16px);
  width: -ms-calc(50% - 16px);
  width: -webkit-calc(50% - 16px);
}
.flexContainer.col2:after {
  width: calc(50% - 16px);
}

/* 3col */
.flexContainer.col3 .flexItem {
  width: calc(33.3333% - 16px);
  width: -webkit-calc(33.3333% - 16px);
}
.flexContainer.col3:after {
  width: calc(33.3333% - 16px);
}

/* 4col */
.flexContainer.col4 .flexItem {
  width: calc(25% - 16px);
  width: -webkit-calc(25% - 16px);
}
.flexContainer.col4:after {
  width: calc(25% - 16px);
}

/* イメージ＆テキスト横並び（2:8ぐらい） */

.rowReverse {
  flex-direction: row-reverse;
}

.flexContainer.imgTxt.rowReverse .txt {
  margin: 0 3% 0 0;
}

.flexImgtxt {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flexImgtxt img {
  width: 100%;
}

.wd20 {
  width: 24.5%;
}

.wd80 {
  width: 72%;
}

/* ページトップへ戻る */
#pageTop{
  position:fixed;
  bottom:20px;
  right:20px;
  cursor:pointer;
}

/*=======================================
top
=======================================*/

/* mainvisual */
.mainvisual {
  position: relative;
  width: 100vw;
  min-height: 550px;
  height: 550px; /* for ie */
  background-position:center center;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

/* 垂直中央 */

  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;

  -webkit-box-align: center;
  -ms-flex-align: center;

/* 水平中央 */
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.mainvisual .mask {
  padding: 0.5em 1em;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 237.5%;
  font-weight: 500;
}

.eachTextAnime span{
opacity: 0;
}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
  0% {opacity:0;}
  100% {opacity:1;}
}

#top #topWork {
  background-image: url(../images/top/img_house.png);
  background-position: right 180px top 100px;
  background-repeat: no-repeat;
  background-size: 400px 288px;
}

#top #topWork ul {
  max-width: 66%;
  margin-left: 1.5em;
}

#top #topWork li {
  padding-left: 0.5em;
  text-indent: -1em;
  font-size: 150%;
  font-weight: bold;
  line-height: 1.8;
}

#top #topWork li i {
  padding: 0 0.5em 0;
}

#top #topWork .content {
  margin-top: 60px;
}

#top #topWork .flexContainer.col3 {
  margin-top: 30px;
}

#top #topAccess {
  padding: 0;
}

#top #topAccess .googleMap,
#company #companyAccess .googleMap {
  position: relative;
  padding-bottom: 30%;
  height: 0;
  overflow: hidden;
}
#top #topAccess .googleMap iframe,
#company #companyAccess .googleMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
}

/*=======================================
company
=======================================*/