@charset "UTF-8";

/*********************************
footer くるくるlink
*********************************/
#btn-contact,
#btn-pagetop {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
}
#btn-contact:before,
#btn-pagetop:before {
  content: "";
  display: block;
  padding-top: 100%;
}
#btn-contact div,
#btn-pagetop div {
  position: absolute;
  box-sizing: border-box;
}

.icon-contact {
  margin: 0;
  width: 100%;
  height: 100%;
  background: url(/images/pc/common/btn-contact.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
}
.icon-pagetop {
  margin: 0;
  width: 100%;
  height: 100%;
  background: url(/images/pc/common/btn-pagetop.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60%;
}

/*********************************
typography
*********************************/
.page-title {
  margin: 0 0 1em;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游明朝 Medium", "Yu Mincho Medium", YuMincho, serif;
  border-bottom: 2px solid #1D2573;
}

h4 {
  margin: 0 0 .5em;
  border-bottom: 1px solid #cccccc;
  color: #23607b;
}

article .txt {
  margin-bottom: 24px;
}

/*********************************
メイン ビジュアル
*********************************/
#main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url(/images/pc/index/main-visual01.jpg) center center/cover no-repeat;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游明朝 Medium", "Yu Mincho Medium", YuMincho, serif;
}
#main-visual::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(123, 123, 123, 0.41);
}
#main-visual .title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
}
#main-visual h1 {
  margin: 0 auto;
  width: 200px;
  color: #fff;
  text-align: center;
}
#main-visual h1 img {
  width: 100%;
}
#main-visual p {
  text-align: center;
  color: #ffffff;
}
#main-visual a {
  padding-top: 60px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  transform: translate(-50%, -50%);
  color: #fff;
  font: normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
  box-sizing: border-box;
}
#main-visual a:hover {
  opacity: .5;
}
#main-visual a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
  animation: sdb04 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb04 {
  0% {-webkit-transform: rotate(-45deg) translate(0, 0);}
  20% {-webkit-transform: rotate(-45deg) translate(-10px, 10px);}
  40% {-webkit-transform: rotate(-45deg) translate(0, 0);}
}
@keyframes sdb04 {
  0% {transform: rotate(-45deg) translate(0, 0);}
  20% {transform: rotate(-45deg) translate(-10px, 10px);}
  40% {transform: rotate(-45deg) translate(0, 0);}
}

/*********************************
other page タイトル ビジュアル
*********************************/
.title-visual {
  position: relative;
  padding: 7% 0;
  z-index: -1;
  width: 100%;
  background: url(/images/pc/index/main-visual01.jpg) center center/cover no-repeat;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游明朝 Medium", "Yu Mincho Medium", YuMincho, serif;
}
.title-visual::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(62, 62, 62, 0.41);
  z-index: -2;
}
.title-visual .title {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
}
.title-visual .txt {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
}

/*********************************
インデックス ニュース
*********************************/
#news {
  position: relative;
  width: 100%;
}
#news .title {
  position: absolute;
  margin: 0;
  padding: 0.5%;
  color: #ffffff;
  font-size: 2vw;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游明朝 Medium", "Yu Mincho Medium", YuMincho, serif;
}

#news .float-left {
  width: 25%;
  height: 100%;
}
#news .float-right {
  padding: 3% 5%;
  width: 75%;
}

#news ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#news li {
  padding: 1% 0 0;
  border-bottom: 1px solid #3a5e9b;
}
#news .date {
  color: #878787;
  font-size: 0.9vw;
}
#news .txt {
  margin: 0.5em;
  font-size: 1.0vw;
}

/** NEWS回転ボックス **/
.horizontal-box {
  padding: 0 !important;
}
.horizontal-box .cube {
  height: 100%;
  cursor: pointer;
  perspective: 250px;
  position: relative;
  overflow: hidden;
}

.horizontal-box .cube div {
  width: 100%;
  height: 100%;
  transition: all, 1.0s ease;
  box-sizing: border-box;
  position: absolute;
  top: 0;
}
.horizontal-box .cube .front {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(0deg);
  transform-origin: 50% 50% -12.25vw;
  opacity: 1;
}
.horizontal-box .cube .back {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(-180deg);
  transform-origin: 50% 50% -12.25vw;
  opacity: 0;
}
.horizontal-box .cube .right {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(90deg);
  transform-origin: 50% 50% -12.25vw;
  opacity: 0;
  position: relative;
}
.horizontal-box .cube .left {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(-90deg);
  transform-origin: 50% 50% -12.25vw;
  opacity: 0;
  position: relative;
  top: -100%;
}
.horizontal-box .cube:hover .front {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(-180deg);
  opacity: 0;
}
.horizontal-box .cube:hover .back {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(-360deg);
  opacity: 1;
}
.horizontal-box .cube:hover .right {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(-90deg);
  opacity: 1;
}
.horizontal-box .cube:hover .left {
  background: url(/images/pc/index/news_bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: rotateY(-270deg);
  opacity: 1;
}

/** キューブ背面の文字画像設定：上の日本語 **/
.horizontal-box .cube .back img.top {
  width: 100%;
  transition: all, 1.0s ease-in-out;

  transition-delay: 0.15s;

  position: absolute;
  top:   -8%;
  left: -25%;
  transform: translate(0%, 0%);
}
.horizontal-box .cube:hover .back img.top {
  left: 50%;
  transform: translate(-50%, 0%);
}

/** キューブ背面の文字画像設定：下の英語 **/
.horizontal-box .cube .back img.bottom {
  width: 100%;
  transition: all, 1.0s ease-in-out;

  transition-delay: 0.15s;

  position: absolute;
  top:   8%;
  left: 50%;
  transform: translate(-25%, 0%);
}
.horizontal-box .cube:hover .back img.bottom {
  left: 50%;
  transform: translate(-50%, 0%);
}

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

table th {
  padding: 1%;
  border-top: 1px solid rgba(102,181,215,1);
  border-bottom: 1px solid rgba(102,181,215,1);
  color: #23607b;
}
table td {
  padding: 1%;
  border-top: 1px solid rgba(102,181,215,1);
  border-bottom: 1px solid rgba(102,181,215,1);
}


/*********************************
定義リスト
*********************************/
article dl {
  margin: 0;
  width: 100%;
  border-bottom: 1px solid rgba(102,181,215,.25);
}

article dt {
  vertical-align: top;
  color: #23607b;
}

article dd {
  vertical-align: top;
}

/*********************************
project
*********************************/
.main-project article {
  margin-bottom: 24px;
}
.main-project p {
  margin-right: 1.5%;
}

/*********************************
recruit
*********************************/
h4.caption-m {
  margin-bottom: 40px;
  line-height: 3;
  border-bottom: none;
}
h4.caption-m.recruit {
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  h4.caption-m {
    font-size: 16px;
    line-height: 1.8;
  }
}
@media screen and (min-width: 769px) {
  h4.caption-m {
    padding-left: 3%;
    font-size: 1.4vw;
  }

  .recruit-message p {
    line-height: 2.0;
  }
}


/*********************************
map
*********************************/
#map {
  width: 100%;
  display: block;
  margin-top: 20px;
  border: 1px solid #dddddd;
}

/*********************************
sitemap
*********************************/
.sitemap {
  display: flex;
}

/*********************************
回転キューブのナビゲーション
*********************************/
#cube-nav {
  position: relative;
  z-index: 9997;
}
#cube-nav dl {
  margin: 0px !important;
}

/* キューブ回転アニメーションの進行速度 */
#cube-nav dl dt a div {
  transition: all, 1.0s ease;
}

#cube-nav dl dt:nth-child(1) {background-size: 125%; background-position: -1.8vw -1.8vw; height: auto; overflow: hidden; perspective: 0;}
#cube-nav dl dt:nth-child(2) {background-size: 135%; background-position: -1.8vw -1.8vw; height: auto; overflow: hidden; perspective: 0;}
#cube-nav dl dt:nth-child(3) {background-size: 135%; background-position: -1.8vw -1.8vw; height: auto; overflow: hidden; perspective: 0;}
#cube-nav dl dt:nth-child(4) {background-size: 135%; background-position: -1.8vw -1.8vw; height: auto; overflow: hidden; perspective: 0;}

#cube-nav dl dt:nth-child(1) a div {background: url(/images/pc/index/blocknav01.jpg); background-size: contain; background-position: center center;}
#cube-nav dl dt:nth-child(2) a div {background: url(/images/pc/index/blocknav02.jpg); background-size: contain; background-position: center center;}
#cube-nav dl dt:nth-child(3) a div {background: url(/images/pc/index/blocknav03.jpg); background-size: contain; background-position: center center;}
#cube-nav dl dt:nth-child(4) a div {background: url(/images/pc/index/blocknav04.jpg); background-size: contain; background-position: center center;}

/** Firefox用の奥行き設定 **/
@-moz-document url-prefix() {
  #cube-nav dl dt:nth-child(1),
  #cube-nav dl dt:nth-child(2),
  #cube-nav dl dt:nth-child(3),
  #cube-nav dl dt:nth-child(4) {
    overflow: visible;
    perspective: 300px;
  }
}
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
  #cube-nav dl dt:nth-child(1),
  #cube-nav dl dt:nth-child(2),
  #cube-nav dl dt:nth-child(3),
  #cube-nav dl dt:nth-child(4) {
    overflow: visible;
    perspective: 300px;
  }
}
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt:nth-child(1),
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt:nth-child(2),
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt:nth-child(3),
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt:nth-child(4) {
  overflow: hidden;
  perspective: 0;
}

/** キューブ上面の文字画像設定：下の英字 **/
#cube-nav dl dt a div:nth-child(4) img.bottom {
  transition: all, 1.0s ease-out;

  transition-delay: 0.15s;

  position: absolute;
  top: 25%;
}
#cube-nav dl dt:hover a div:nth-child(4) img.bottom {
  top: 10%;
}
/** キューブ上面の文字画像設定：下の英字 **/

/** キューブ上面の文字画像設定：上の日本語 **/
#cube-nav dl dt a div:nth-child(4) img.top {
  transition: all, 1.0s ease-out;

  transition-delay: 0.15s;

  position: absolute;
  top: -40%;
}
#cube-nav dl dt:hover a div:nth-child(4) img.top {
  top: -10%;
}
/** キューブ上面の文字画像設定：上の日本語 **/

#cube-nav dl dt a div:nth-child(4)::before {
  content: "";
  display: block;

  position: absolute;
  top:    0;
  bottom: 0;
  left:   0;
  right:  0;

  background-color: rgba(255, 255, 255, 0.3);
}

/** キューブ上面の画像設定 **/
#cube-nav dl dt:nth-child(1) a div:nth-child(1) {background: url(/images/pc/index/blocknav01.jpg); background-size: contain; overflow: hidden;}
#cube-nav dl dt:nth-child(2) a div:nth-child(1) {background: url(/images/pc/index/blocknav02.jpg); background-size: contain; overflow: hidden;}
#cube-nav dl dt:nth-child(3) a div:nth-child(1) {background: url(/images/pc/index/blocknav03.jpg); background-size: contain; overflow: hidden;}
#cube-nav dl dt:nth-child(4) a div:nth-child(1) {background: url(/images/pc/index/blocknav04.jpg); background-size: contain; overflow: hidden;}

#cube-nav dl dt a div:nth-child(1) {
  background-size: contain;
  background-position: center center;

  transform: rotateX(90deg);

  transform-origin: 50% 50% -8.225vw;

  background-color: #fff;
  opacity: 0.0;
}
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt a div:nth-child(1) {
  -webkit-transform-origin: 50% 50% -12.5vw;
   opacity: 0.3;
}
/** キューブ上面の画像設定 **/

/** キューブ前面の画像設定 **/
#cube-nav dl dt:nth-child(1) a div:nth-child(2) {background: url(/images/pc/index/blocknav01.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(2) a div:nth-child(2) {background: url(/images/pc/index/blocknav02.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(3) a div:nth-child(2) {background: url(/images/pc/index/blocknav03.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(4) a div:nth-child(2) {background: url(/images/pc/index/blocknav04.jpg); background-size: contain;}

#cube-nav dl dt a div:nth-child(2) {
  background-size: contain;
  background-position: center center;

  transform: rotateX(0deg);

  transform-origin: 50% 50% -8.225vw;

  background-color: #333333;
  opacity: 1.0;
}
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt a div:nth-child(2) {
  -webkit-transform-origin: 50% 50% -12.1vw;
}
/** キューブ前面の画像設定 **/

/** キューブ底面の画像設定 **/
#cube-nav dl dt:nth-child(1) a div:nth-child(3) {background: url(/images/pc/index/blocknav01.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(2) a div:nth-child(3) {background: url(/images/pc/index/blocknav02.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(3) a div:nth-child(3) {background: url(/images/pc/index/blocknav03.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(4) a div:nth-child(3) {background: url(/images/pc/index/blocknav04.jpg); background-size: contain;}

#cube-nav dl dt a div:nth-child(3) {
  background-size: contain;
  background-position: center center;

  transform: rotateX(-90deg);

  transform-origin: 50% 50% -8.225vw;

  background-color: #333333;
  opacity: 0;
}
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt a div:nth-child(3) {
  -webkit-transform-origin: 50% 50% -12.1vw;
}
/** キューブ底面の画像設定 **/

/** キューブ背面の画像設定 **/
#cube-nav dl dt:nth-child(1) a div:nth-child(4) {background: url(/images/pc/index/blocknav01.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(2) a div:nth-child(4) {background: url(/images/pc/index/blocknav02.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(3) a div:nth-child(4) {background: url(/images/pc/index/blocknav03.jpg); background-size: contain;}
#cube-nav dl dt:nth-child(4) a div:nth-child(4) {background: url(/images/pc/index/blocknav04.jpg); background-size: contain;}

#cube-nav dl dt a div:nth-child(4) {
  background-size: contain;
  background-position: center center;

  transform: rotateX(180deg);

  transform-origin: 50% 50% -8.225vw;

  background-color: #333333;
  opacity: 0;
}
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt a div:nth-child(4) {
  -webkit-transform-origin: 50% 50% -12.1vw;
}
/** キューブ背面の画像設定 **/

/** ホバー後のキューブの設定 **/
#cube-nav dl dt:hover a div:nth-child(1) {
  opacity: 1;

  transform: rotateX(-90deg);
}
#cube-nav dl dt:hover a div:nth-child(2) {
  opacity: 0;
  background-color: #333333;

  transform: rotateX(-180deg);
}
#cube-nav dl dt:hover a div:nth-child(3) {
  opacity: 1;
  background-color: #333333;

  transform: rotateX(-270deg);
}
#cube-nav dl dt:hover a div:nth-child(4) {
  opacity: 1;
  background-color: #333333;

  transform: rotateX(0deg);
}
_::-webkit-full-page-media, _:future, :root #cube-nav dl dt:hover a div:nth-child(2) {
   opacity: 0.3;
}
/** ホバー後のキューブの設定 **/

.cube-list dt {
  width: 25%;
  height: auto;

  box-sizing: border-box;
  position: relative;
  float: left;
}
.cube-list dt:before {
  content: "";
  display: block;
  padding: 33.369% 50%;
}
.cube-list a {
  color: rgba(255, 255, 255, 0.75);
}
.front, .top, .bottom, .back {
  width: 100%;
  height: 100%;

  position: absolute;
  top:  0;
  left: 0;
}
.front img, .top img, .bottom img, .back img {
  width: 100%;

  position: absolute;
  top:  0;
  left: 0;
}
.front img {
  transition: all, 0.5s;
}


/*********************************
form
*********************************/
[type="submit"].btn {
  -webkit-appearance: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
  outline: none;

  width: 40%;
  height: auto;
  font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif;
  font-size: 18px;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  background: linear-gradient(to bottom, #43bce2, #16728f);
  border: 1px solid #59C4E5;
  box-shadow: inset 0px 0px 2px rgba(255, 255, 255, 0.7);
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4), 0px 1px 0px rgba(255, 255, 255, 0.3);
}

[type="submit"].btn:hover {
  background: linear-gradient(to bottom, #16728f, #43bce2);
}

.contact input,
.contact textarea{
  display: block;
  width: 100%;
  height: 34px;
  padding: 8px 12px;
  font-size: 1.6remrem;
  color: #333333;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  box-sizing: border-box;
}

.contact input:focus,
.contact textarea:focus{
  outline: none;
  border: 1px solid #66afe9;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.contact textarea {
  height: 150px;
}

.btn-center {
  margin-top: 1%;
  text-align: center;
}

.contact .required,
.contact .optional {
  margin-left: 1em;
  padding-bottom: 1.5px;
  color: #ffffff;
  border-radius: 3px;
}
.contact .required {
  background: #ff0000;
}
.contact .optional {
  background: #909090;
}

/*----------*/
@media screen and (max-width: 768px) {
  /*-- typography --*/
  .page-title {
    font-size: 6vw;
  }
  h4 {
    font-size: 4vw;
  }

  /*-- main-visual --*/
  #main-visual p {
    font-size: 4vw;
  }

  /*-- title-visual --*/
  .title-visual {
    height: 180px;
  }
  .title-visual .title {
    font-size: 2.0em;
  }
  .title-visual .txt {
    font-size: 1.3em;
  }

  /*-- 定義リスト --*/
  article dl {
    margin-bottom: 10px;
    padding: 3px 0;
  }

  article dt {
    margin-bottom: 3px;
    width: 100%;
    font-size: 4vw;
    font-weight: bold;
  }

  article dd {
    margin-bottom: 3px;
    padding-bottom: 1%;
    width: 100%;
    margin: 0;
  }

  /*-- map --*/
  #map {
    height: 230px;
  }

  /*-- sitemap --*/
  .sitemap {
    flex-flow: column;
  }

  .sitemap h3 {
    font-size: 1.2em;
  }

  .sitemap p {
    border-bottom: 1px solid rgba(102,181,215,.25);
  }

}
@media screen and (min-width: 769px) {
  /*-- typography --*/
  .page-title {
    font-size: 2.0vw;
  }
  h4 {
    font-size: 1.175vw;
  }
  article p {
    font-size: 1.0vw;
    box-sizing: border-box;
    padding-left: 3%;
  }

  /*-- main-visual --*/
  #main-visual p {
    font-size: 1.8vw;
  }

  /*-- title-visual --*/
  .title-visual .title {
    font-size: 1.8vw;
  }
  .title-visual .txt {
    font-size: 1vw;
  }

  /*-- 定義リスト --*/
  article dl {
    display: table;
    width: 100%;
    padding: 15px 0;
  }

  article dt {
    display: table-cell;
    width: 18%;
  }

  article dd {
    display: table-cell;
    width: calc(100% - 200px)
  }

  /*-- map --*/
  #map {
    height: 480px;
  }

  /*-- sitemap --*/
  .sitemap {
    justify-content: space-around;
    white-space: nowrap;
  }
  
  /*-- inquery --*/
  article.contact dt {
    width: 15em;
  }
  article.contact dt span:nth-child(1) {
    display: inline-block;
    width: 9em;
  }
}