﻿
/* CSS Document */
/* main top
------------------------------------------------------------*/
main.top > section > .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

main.top > section > .bg > span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  background: no-repeat center top / cover;
}

main.top #message {
  padding-top: 140px;
}

main.top #message > .bg span {
  background-image: url(../image/bg-message1.jpg);
}

main.top #message .message-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

main.top #message .message-block .item-img {
  line-height: 0;
  margin-right: 60px;
  max-width: 50%;
}

main.top #message .message-block .item-text {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

main.top #message .message-block .item-text p:not(:last-child) {
  margin-bottom: 20px;
}

main.top #message .message-block .item-text .btn-block {
  margin-top: 30px;
}

main.top #link {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

main.top #link section {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  text-align: center;
  position: relative;
  padding: 100px 30px;
  overflow: hidden;
}

main.top #link section > a {
  display: block;
}

main.top #link section > a:hover {
  text-decoration: none;
}

main.top #link section > a:hover .item-bg {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top #link section:not(:last-child) {
  border-right: 1px solid #FFF;
}

main.top #link .item-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: transform 0.8s ease;
  -moz-transition: transform 0.8s ease;
  -ms-transition: transform 0.8s ease;
  -o-transition: transform 0.8s ease;
  transition: transform 0.8s ease;
}

main.top #link .item-bg span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  background: no-repeat center / cover;
}

main.top #link .item-bg:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.6);
}

main.top #link .item-text {
  color: #FFF;
  position: relative;
  z-index: 2;
}

main.top #link .item-text .heading-lv01 span {
  color: #FFF;
}

main.top #link .item-text p {
  color: #FFF;
}

main.top #link .item-text p:not(:last-child) {
  margin-bottom: 15px;
}

main.top #link .item-text .btn-block {
  margin-top: 50px;
}

main.top #link .item-text .btn-block .btn:before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

main.top #profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  background: #222222;
  color: #FFF;
  border-top: 1px solid #FFF;
  padding: 0;
}

main.top #profile > * {
  width: 50%;
}

main.top #profile .item-text {
  padding: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

main.top #profile .item-text .heading-lv01 span {
  color: #FFF;
}

main.top #profile .item-text .sub {
  margin-bottom: 30px;
}

main.top #profile .item-text .date {
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "游明朝体", "Yu Mincho", YuMincho, "HG明朝E", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size: 30px;
  font-size: 1.875rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 30px;
}

main.top #profile .item-text .date span {
  font-size: 48px;
  font-size: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: normal;
}

main.top #profile .item-img {
  overflow: hidden;
  position: relative;
}

main.top #profile .item-img span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 120%;
  background: url(../image/bg-profile1.jpg) no-repeat center/cover;
}

main.top #recruit > .bg span {
  background-image: url(../image/bg-recruit.jpg);
}

main.top #recruit .recruit-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -70px -50px 0;
}

main.top #recruit .recruit-list li {
  width: calc(50% - 70px);
  margin: 0 70px 50px 0;
}

main.top #recruit .recruit-list .item-img {
  position: relative;
  line-height: 0;
  margin-bottom: 30px;
}

main.top #recruit .recruit-list .item-img a {
  display: block;
  -webkit-box-shadow: 0 4px 10px 0 rgba(34, 34, 34, 0.4);
  -moz-box-shadow: 0 4px 10px 0 rgba(34, 34, 34, 0.4);
  -ms-box-shadow: 0 4px 10px 0 rgba(34, 34, 34, 0.4);
  -o-box-shadow: 0 4px 10px 0 rgba(34, 34, 34, 0.4);
  box-shadow: 0 4px 10px 0 rgba(34, 34, 34, 0.4);
  overflow: hidden;
}

main.top #recruit .recruit-list .item-img a:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top #recruit .recruit-list .item-img img {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

main.top #recruit .recruit-list .item-img span {
  line-height: 1.6;
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 30px;
  background: rgba(34, 34, 34, 0.8);
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFF;
  text-align: center;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "游明朝体", "Yu Mincho", YuMincho, "HG明朝E", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

main.top #recruit .recruit-list .item-text p:not(:last-child) {
  margin-bottom: 15px;
}

main.top #recruit .recruit-list .item-text .btn-block {
  margin-top: 30px;
}

@media screen and (min-width: 701px) and (max-width: 1060px) {
  /* main top
------------------------------------------------------------*/
  main.top #link section {
    padding: 60px 20px;
  }
  main.top #link .item-text {
    color: #FFF;
    position: relative;
    z-index: 2;
  }
  main.top #link .item-text .heading-lv01 {
    font-size: 18px;
    font-size: 1.125rem;
  }
  main.top #link .item-text .heading-lv01 span {
    color: #FFF;
  }
  main.top #link .item-text .heading-lv01 span:nth-child(1) {
    font-size: 40px;
    font-size: 2.5rem;
  }
  main.top #link .item-text p {
    color: #FFF;
  }
  main.top #link .item-text p:not(:last-child) {
    margin-bottom: 15px;
  }
  main.top #link .item-text .btn-block {
    margin-top: 50px;
  }
  main.top #link .item-text .btn-block .btn:before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  main.top #recruit .recruit-list {
    margin: 0 -30px -50px 0;
  }
  main.top #recruit .recruit-list li {
    width: calc(50% - 30px);
    margin: 0 30px 50px 0;
  }
}

/*sp*/
@media screen and (max-width: 700px) {
  /* main top
------------------------------------------------------------*/
  main.top #message {
    padding-top: 80px;
  }
  main.top #message .message-block {
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  main.top #message .message-block .item-img {
    margin-right: 0;
    max-width: 100%;
    text-align: center;
  }
  main.top #message .message-block .item-text {
    width: auto;
    margin-bottom: 40px;
  }
  main.top #message .message-block .item-text p:not(:last-child) {
    margin-bottom: 20px;
  }
  main.top #message .message-block .item-text .btn-block {
    margin-top: 30px;
  }
  main.top #link {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  main.top #link section {
    width: 100%;
    padding: 20px 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
  }
  main.top #link section:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #FFF;
  }
  main.top #link .item-text .heading-lv01:not(:last-child) {
    margin-bottom: 20px;
  }
  main.top #link .item-text p:not(:last-child) {
    margin-bottom: 10px;
  }
  main.top #link .item-text .btn-block {
    margin-top: 20px;
  }
  main.top #profile {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  main.top #profile > * {
    width: 100%;
  }
  main.top #profile .item-text {
    padding: 40px 20px;
  }
  main.top #profile .item-text .sub {
    margin-bottom: 20px;
  }
  main.top #profile .item-text .date {
    font-size: 20px;
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
  main.top #profile .item-text .date span {
    font-size: 32px;
    font-size: 2rem;
  }
  main.top #profile .item-img {
    height: 200px;
  }
  main.top #profile .item-img span {
    height: 150%;
  }
  main.top #recruit .recruit-list {
    margin: 0 -20px -30px 0;
  }
  main.top #recruit .recruit-list li {
    width: calc(50% - 20px);
    margin: 0 20px 30px 0;
  }
}

@media screen and (max-width: 700px) and (max-width: 520px) {
  main.top #recruit .recruit-list li {
    width: calc(100% - 20px);
  }
}

@media screen and (max-width: 700px) {
  main.top #recruit .recruit-list .item-img {
    margin-bottom: 15px;
  }
  main.top #recruit .recruit-list .item-img span {
    bottom: 10px;
    font-size: 20px;
    font-size: 1.25rem;
  }
  main.top #recruit .recruit-list .item-text p:not(:last-child) {
    margin-bottom: 10px;
  }
  main.top #recruit .recruit-list .item-text .btn-block {
    margin-top: 20px;
  }
}
