﻿@charset "utf-8";

/*******************************************************

　共通

*******************************************************/

/*-------------------------------------
　　段落
-------------------------------------*/
p {
  margin: 0 0 20rem 0;
  padding: 0;
}
a {
  color: var(--mainColor);
  transition: 0.5s;
  text-decoration: none;
}
a:hover {
  color: var(--subColor);
  text-decoration: underline;
}
ul, dl, dt, dd {
  list-style: none;
  padding: 0;
  margin: 0;
}

/*-------------------------------------
　　見出し 
-------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 150%;
}

/*-------------------------------------
　　画像・ギャラリー
-------------------------------------*/
img {
  max-width: 100%;
  height: initial;
  vertical-align: bottom;
}

/*******************************************************

　トップページ

*******************************************************/

.flexbox {
  display: flex;
  padding: 60rem 0 40rem 0;
}
.flexbox h2 {
  line-height: 100%;
  writing-mode: vertical-rl;
  margin-right: 40rem;
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 36rem;
}
.flexbox h2 strong {
  order: 2;
  padding: 0 15rem 0 30rem;
  letter-spacing: 10rem;
}
.flexbox h2 span {
  display: block;
  font-size: 20rem;
  color: var(--mainColor);
  order: 1;
}

.flexbox h2:after, .flexbox h2 strong:after {
  content: '';
  border-left: 1px solid var(--subColor);
  position: absolute;
}
.flexbox h2:after {
  height: 5em;
  left: 0;
}
.flexbox h2 strong:after {
  transform: rotate(-15deg);
  height: 2em;
  left: -2rem;
  top: 3em;
}
.flexbox h2.grow:after {
  animation: grow1 3s;
}
.flexbox h2.grow strong:after {
  transform: rotate(-15deg);
  animation: grow2 3s;
}
@keyframes grow1 {
  from { opacity: 0; height: 0em; }
  to { opacity: 1; height: 5em; }
}
@keyframes grow2 {
  from { opacity: 0; height: 0em; top: 5em; }
  to { opacity: 1; height: 2em; top: 3em; }
}


@media screen and (max-width: 824px) {
  .flexbox {
    display: block;
    padding-top: 30rem;
    padding-bottom: 10rem;
  }
  .flexbox h2 {
    margin: 0rem;
    writing-mode: initial;
    text-align: center;
  }
  .flexbox h2 strong {
    padding: 0;
    order: 1;
    letter-spacing: 0rem;
  }
  .flexbox h2 span {
    order: 2;
    margin-bottom: 15rem;
  }
  .flexbox h2:after, .flexbox h2 strong:after {
    display: none;
  }
  .flexbox>div>p br {
    display: none;
  }
}

/*-------------------------------------
　メイン画像
--------------------------------------*/
#main {
  background: url("../images/main.jpg") no-repeat center bottom;
  /*background-attachment: fixed;*/
  background-size: cover;
  text-align: center;
  padding: 140rem 65rem 40rem 65rem;
}
#main img {
  animation: fade-in 2s;
  animation-fill-mode: forwards;
  position: relative;
}
@keyframes fade-in {
  from { opacity: 0; top: 100px; }
  to { opacity: 1; top: 0px; }
}

@media screen and (max-width: 824px) {
  #main {
    background-attachment: local;
  }
}

/*-------------------------------------
　メッセージ
--------------------------------------*/
#message {
  background: url("../images/message_pic2.png") no-repeat 5% 10px, url("../images/message_bg.jpg") repeat center center;
}
#message .flexbox {
  background: url("../images/message_pic1.png") no-repeat right bottom;
  background-size: 450px;
  font-size: 20rem;
}
#message p {
  text-shadow: 1px 1px 1px #FFF,  -1px -1px 1px #FFF, -1px 1px 1px #FFF,  1px -1px 1px #FFF;
}
#message p>strong {
  font-size: 26rem;
  background: linear-gradient(transparent 60%, #FFFF00 0%); 
}

@media screen and (max-width: 1400px) {
  #message .flexbox {
    font-size: 18rem;
  }
  #message .flexbox {
    background-size: 400px;
  }
}
@media screen and (max-width: 824px) {
  #message {
    background: none, url("../images/message_bg.jpg") repeat center center;
  }
  #message .flexbox {
    background: url("../images/message_pic1.png") no-repeat center bottom;
    background-size: 280px;
    padding-bottom: 300px;
  }
}

/*-------------------------------------
　グループ紹介
--------------------------------------*/
#about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: none, url("../images/message_bg.jpg") repeat center center;
}
#about h2 {
  width: 100%;
  background: url("../images/recruit_bg.jpg") no-repeat center center;
  text-align: center;
  color: #FFF;
  padding: 5rem 0;
  position: relative;
}
#about h2.grow:before, #about h2:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid var(--subColor);
  animation: grow3 5s;
  z-index: 100;
  position: absolute;
  bottom: 2px;
}
#about h2.grow:after {
  top: 1px;
  right: 0;
}
@keyframes grow3 {
  from { opacity: 1; width: 0; }
  to { opacity: 1; width: 100%; }
}
.groupList {
    width: 50%;
    border-top: 1px solid var(--bgColor);
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 30rem 30rem 30rem 10rem;
}
.groupList:nth-of-type(2n) {
    border-left: 1px solid var(--bgColor);
    justify-content: flex-start;
    padding: 30rem 10rem 30rem 30rem;
}
.groupList:nth-of-type(4n-3) {
    background: #FFF;
}
.groupList:nth-of-type(4n-4) {
    background: #FFF;
}

.groupList>dl {
  max-width: 570px;
  width: 100%;
  position: relative;
  padding-right: 200px;
}
.groupList>dl .pic {
  float: right;
  position: absolute;
  top: 50rem;
  right: 0;
  width: 190px;
}
.groupList>dl .pic img {
  width: 100%;
}
.groupList>dl .text {
  margin-bottom: 10rem;
}
.groupList>dl .data {
  font-size: 16rem;
  line-height: 160%;
}
.groupList>dl .title {
  font-size: 24rem;
}
.groupList>dl .title:after {
  content: '';
  display: block;
  width: 4em;
  height: 100%;
  padding-bottom: 10rem;
  margin-bottom: 10rem; 
  border-bottom: 1px solid var(--mainColor);
}

@media screen and (max-width: 1024px) {
  .groupList {
      width: 100%;
      padding: 20rem !important;
    justify-content: center !important;
  }
}
@media screen and (max-width: 424px) {
  .groupList>dl {
    padding-right: 0px;
  }
  .groupList>dl .pic {
    position: initial;
    width: 100%;
    margin-top: 10rem;
  }
}

/*-------------------------------------
　採用情報
--------------------------------------*/
#recruit {
  background: url("../images/recruit_bg.jpg") no-repeat center center;
  background-size: cover;
  border-top: 2px solid var(--subColor);
  border-bottom: 2px solid var(--subColor);
  box-shadow: 0px 3px var(--mainColor), 0px -3px var(--mainColor);
  margin-top: 3px;
}
#recruit>.flexbox * {
  color: #FFF;
}
#recruit>.flexbox h2:after, #recruit>.flexbox h2 strong:after {
  border-color: #FFF;
}

/*-------------------------------------
　最新情報
--------------------------------------*/
.newsList {
  margin-bottom: 20rem;
  width: 100%;
}
.newsList li {
  background: var(--bgColor);
  margin-bottom: 2rem;
  padding: 10rem 0rem 10rem 15rem;
  font-size: 16rem;
}
.newsList li * {
  margin-right: 1em;
  display: inline-block;
}
@media screen and (max-width: 824px) {
  .newsList li {
    font-size: 18rem;
  }
  .newsList li time {
    display: block;
  }
}