@charset "UTF-8";

/* 共通部分 */
body{
  width: 100%;
  font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','メイリオ', Meiryo,'ヒラギノ明朝 ProN','Hiragino Mincho ProN','AcademyEngravedLetPlain',serif;
}

.inner{
  width: 80%;
  margin: 0 auto;
}


/* ヘッダー */
header{
  width: 100%;
  height: 16vh;
  background: #f0f0f0;
  position: fixed;
  z-index: 2;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
}

header .inner{
  height: 100%;
}

header img{
  height: 100%;
  padding: 1%;
}

.contact{
  float: right;
  height: 16vh;
  padding: 4.6vh 0;
}

.tel{
  float: right;
  line-height: 3vh;
  padding: 5vh 0 5vh 2em;
  font-size: 1.5vw;
  color:#494949;
  text-align: center;
}

.btn {
  display: inline-block;
  position: relative;
  padding: 0.35em 1em;
  background: #7086f1;
  color: #fff;
  text-decoration: none;
  font-size: 4vh;
  transition: .4s;
}

.btn:before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: -webkit-calc(100% - 16px);
  width: 100%;
  height: 0;
  border: solid 8px transparent;
  border-bottom-color: #c2caf2;
  transition: .4s;

}

.btn:active {
  padding: 0.32em 0.9em;
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
}

.btn:active:before {
  width: -webkit-calc:100%)
  width:100%;
}

.btn:active:before {
  top:-12px;
  border-width: 6px;
}

.btn:hover{
  background: #465499;
}

/* ファーストビュー */
.fv{
  padding-top: 16vh;
  height: 75vh;
  background-color: #f0f0f0;
}

.fv .logo{
  height: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv .logo h1{
  height: 100%;
  padding: 1.5%;
}

.fv .copy{
  height: 40%;
  margin: 0 auto;
  color: #494949;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

}

.copy p{
  font-size: 5vh;
}

/* ナビ */
.nav{
  background-color: #7086f1;
  height: 25vh;
}

.nav .inner{
  height: 100%;
}

.nav-left{
  float: left;
  display: inline-block;
  width: 33%;
  text-align: center;
  height: 100%;
  position: relative;
}

.nav-center{
  margin:0 auto;
  display: inline-block;
  width: 33%;
  text-align: center;
  height: 100%;
  position: relative;
}

.nav-right{
  float: right;
  display: inline-block;
  width: 33%;
  text-align: center;
  height: 100%;
  position: relative;
}

.nav .icon{
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav .icon img{
  height: 90%;
}

.nav .text{
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;

}

.nav .text p{
  font-size: 2vw;
  color: #fff;
}


.nav a{
  text-decoration: none;
}

/* メインコンテンツ */
.main{
  background-color: #f0f0f0;
  padding-top: 2vw;
}

h2 {
  padding: 2vw 3vw;
  color: #494949;
  background: #fff;
  border-left: solid 5px #ff872f;
  border-bottom: solid 3px #d7d7d7;
  font-size: 2vw;
  margin-top: 5vw;
}

.main .inner{
  padding-bottom: 2vw;
}

#about,
#philosophy,
#history{
  background-color: #fff;
  width: 100%;
  padding-bottom: 4vw;
}

.conteiner{
  width: 90%;
  margin: 0 auto;
  text-align: center;
  padding-top: 5%;
}

table{
  width: 100%;
  color: #494949;
}

tr{
  border-bottom: 1px solid #d9d9d9;
  line-height: 1.5em;
}

tr:last-child{
  border-bottom: none;
}

th{
  width: 50%;
  text-align: center;
  padding:1em 0;
  border-right: 1px solid #d9d9d9;
  vertical-align: middle;
}

td{
  width: 50%;
  text-align: center;
  padding:1em 0;
}

.t {
  position: relative;
  display: inline-block;
  padding: 3vw 5vw;
  color: #494949;/*文字色*/
  font-size: 2vw;
  font-weight: bold;
}

.t:before,
.t:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 2.5vw;
  height: 1px;
  background-color: black;
}

.t:before {
  left:0;
}

.t:after {
  right: 0;
}

.tx{
  text-align: center;
  font-size: 1vw;
  color:#494949;
  line-height: 2em;
  padding: 1vw;
}


/* トップボタン */
#pageTop {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  text-align: center;
}

#pageTop a {
  display: block;
  z-index: 5;
  padding: 3vw;
  border-radius: 50%;
  background-color: #7086f1;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  font-size: 2vw;
  font-weight: bold;
  line-height: 3vw;
}

#pageTop a:hover {
  text-decoration: none;
  background-color: #f0f0f0;
  color: #7086f1;
}


/* フッター */
footer{
  background-color: #7086f1;
}

.footer-left{
  float: left;
  width: 50%;
  color: #fff;
  text-align: center;
  font-size: 2vw;
  padding: 4vw 0;
}

.footer-right{
  float: right;
  width: 50%;
  color: #fff;
  text-align: center;
  font-size: 2vw;
  padding: 4vw 0;
}

.icon-left{
  width: 50%;
  float: left;
}

.icon-right{
  width: 50%;
  float: right;
}

.icon img{
  height: 9vh;
}

footer a{
  text-decoration: none;
  color: #fff;
}

footer p{
  padding: 2vw;
}

.copyright{
  text-align: center;
  padding: 1em;
  color: #fff;
}

#top .btn-edge {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 0 30px;
  height: 100%;
  background: #51587b;
  font-size: 4vh;
  color: #fff;
  transition: .4s;
  line-height: 7vh;
}

#top .btn-edge:before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 21px #7086f1;
  border-bottom: solid 7vh transparent;
  z-index: 1;
  transition: .4s;
}

#top .btn-edge:after {
  position: absolute;
  content: '';
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 21px transparent;
  border-bottom: solid 7vh #7086f1;
  z-index: 1;
  transition: .4s;
}

#top .btn-edge:hover:before,
#top .btn-edge:hover:after {
  border-left-width: 30px;
}

#top .btn-edge:hover {
  background: #2c3148;
}

/* コンタクトページ */
#contact header{
  position: static;
}

#contact .main{
  height: 100vh;
}

#contact .main .inner{
  height: 90%;
  padding: 0;
}

.btn-edge {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 0 30px;
  height: 100%;
  background: #51587b;
  font-size: 4vh;
  color: #fff;
  transition: .4s;
  line-height: 7vh;
}

.btn-edge:before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 21px #f0f0f0;
  border-bottom: solid 7vh transparent;
  z-index: 1;
  transition: .4s;
}

.btn-edge:after {
  position: absolute;
  content: '';
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 21px transparent;
  border-bottom: solid 7vh #f0f0f0;
  z-index: 1;
  transition: .4s;
}

.btn-edge:hover:before,
.btn-edge:hover:after {
  border-left-width: 30px;
}

.btn-edge:hover {
  background: #2c3148;
}

#contact footer{
  margin-top: -10vh;
}

#contact footer .inner{
  width: 50%;
  text-align: center;
  padding: 4vw 0;
  color:#fff;
  font-size: 2vw;
}

#contact .icon img{
  height: 10vh;
}

#contact .main .inner div{
  text-align: center;
  font-size: 2vw;
  line-height: 2;
}


.clearfix::after{
  content: "";
  display: block;
  clear: both;
}
