@charset "UTF-8";

/*-------------------------------------------
全体
-------------------------------------------*/
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}
html {
  font-size: 100%;
}
body {
  background-color: #fff;
  color: #333;
  font-family: "A1 Gothic R", "Yu Gothic", "YuGothic", "Roboto", "Helvetica Neue", "Hiragino Kaku Gothic Pro", "Meiryo", "Arial", "sans-serif";
}
img {
  max-width: 100%;
  vertical-align: bottom;
  border-radius: 5px;
}
li {
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
}
iframe {
  vertical-align: bottom;
}

/*-------------------------------------------
横幅設定
-------------------------------------------*/
.wrapper {
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}

/*-------------------------------------------
セクションタイトル
-------------------------------------------*/
.section-title-v {
  letter-spacing: 0.1em;
  writing-mode: vertical-lr;
}
/* セクションタイトル（横） */
.section-title-h {
  letter-spacing: 0.1em;
}
.section-title-v .ja,
.section-title-h .ja {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}
.section-title-v .en,
.section-title-h .en {
  font-size: 14px;
  font-weight: normal;
}

/*-------------------------------------------
ボタン
-------------------------------------------*/
.btn {
  width: 100%;
  max-width: 200px;
  border: solid 1px #333;
  border-radius: 30px;
  display: block;
  font-size: 14px;
  padding: 10px 0;
  position: relative;
  text-align: center;
  transition: 0.3s ease-in-out;
}
.btn::before {
  content: "";
  width: 25px;
  height: 1px;
  background-color: #333;
  position: absolute;
  top: 20px;
  right: 15px;
}
.btn::after {
  content: "";
  width: 8px;
  height: 1px;
  background-color: #333;
  position: absolute;
  top: 18px;
  right: 14px;
  transform: rotate(35deg);
}
.btn:hover {
  background-color: #80c5d6;
  color: #fff;
  transform: translate(4px,4px);
}
.btn:hover::before {
  background-color: #fff;
}
.btn:hover::after {
  background-color: #fff;
}

/*-------------------------------------------
Navi
-------------------------------------------*/
.navi .menu {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  display: flex;
  gap: 100px;
}
.navi .menu li {
  position: relative;
}
.navi .menu li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 14px;
  line-height: 1;
  color: #000;
  
  /* font-family: "sofia-pro", "sans-serif"; */
  font-weight: 500; /* できれば実在する重さに！ */
  -webkit-font-smoothing: antialiased; /* 滑らかに見せる */
  font-family: inherit;

  letter-spacing: .18em;
  transition: background-color 200ms ease;
  transition: transform 0.3s ease;
}
.navi .menu li a::before {
  content: "";
  position: absolute;
  background: #80c5d6;
  width: 0;
  height: 0;
  left: 0;
  bottom: 2px;
  transition: width 300ms ease-out;
}
.navi .menu li a:hover {
  text-decoration: none;
  position: relative;
  color: #80c5d6;
  transform: translateY(-4px);
}
.navi .menu li a:hover::before {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
}

.navi .menu li .page {
  color: #80c5d6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  /* font-family: "sofia-pro", "sans-serif"; */
  letter-spacing: .18em;
}
.navi .menu li .page::before {
  position: absolute;
  content: "";
  background: #80c5d6;
  width: 100%;
  height: 1px;
  display: block;
  bottom: 0;
}

/*-------------------------------------------
Header Area
-------------------------------------------*/
#header-area {
  padding: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}
#header-area .header {
  height: 80px;
  margin-bottom: 28px;
}
#header-area .header h1 {
  font-size: 28px;
  letter-spacing: .15em;
  position: relative;
  text-align: center;
  margin: 10px 0;
}

/* 文字回転アニメーション */
.rotate {
  /* 3D変形させた際の、奥行きを指定 */
  perspective: 300px;
  text-decoration: none;
  display: inline-block;
}
.rotate>span {
  /* 背面の要素（2個目のspanタグ）を非表示にする */
  backface-visibility: hidden;
  /* アニメーション効果を0.5秒間で適用 */
  transition: transform .5s;
  display: block;
  height: 20px;
}
/* ホバー前 */
.rotate>span:first-child {
  /* 10px下に移動し縦中央に表示する */
  transform: translateY(10px) rotateX(0deg);
}
.rotate>span:last-child {
  /* 90度回転させ非表示にする */
  transform: rotateX(-90deg);
}
/* ホバー時 */
.rotate:hover>span:first-child {
  /* X軸周りに90度回転して非表示にする */
  transform: rotateX(90deg);
}
.rotate:hover>span:last-child {
  /* 10px上に移動し表示する */
  transform: translateY(-10px) rotateX(0deg);
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer .copyright {
  /* border-top: solid 1px; */
  font-size: 10px;
  padding: 30px 0;
  text-align: center;
  letter-spacing: .15em;
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  セクションタイトル
  -------------------------------------------*/
  .section-title-v {
    margin-bottom: 20px;
    writing-mode: horizontal-tb;
  }
  .section-title-v .ja,
  .section-title-h .ja {
    font-size: 22px;
    margin-bottom: 0;
  }
  .section-title-v .en,
  .section-title-h .en {
    font-size: 10px;
  }

  /*-------------------------------------------
  Header Area
  -------------------------------------------*/
  #header-area {
    flex-direction: column;
    padding: 20px;
    margin-bottom: 40px;
  }
  #header-area .header {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .navi .menu {
    gap: 30px;
  }
  #header-area .mainvisual {
    margin-left: 0;
  }
  #header-area .mainvisual img {
    height: auto;
    object-fit: contain;
  }
  #header-area .mainvisual .page-title {
    max-width: 180px;
    line-height: 0.8;
  }
  #header-area .mainvisual .page-title .ja {
    font-size: 10px;
  }
  #header-area .mainvisual .page-title .en {
    font-size: 18px;
  }

  /*-------------------------------------------
  Footer
  -------------------------------------------*/
  #footer {
    padding: 20px;
  }
  #footer .menu-area .sns li {
    font-size: 12px;
    margin: 0 10px;
  }
}