@charset "UTF-8";

/*リセットCSS*/
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

/*
input,
textarea {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  display: none;
}
*/

html {
  font-size: 16px;
  box-sizing: border-box;
}

body {
  line-height: 1;
/*  position: relative;*/
  display: flex;
  flex-wrap: wrap;
  color: #222222;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", "Open Sans", Arial, sans-serif;
  overflow-x: hidden;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: underline;
  color: #222222;
  transition: all 0.2s;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

::selection {
  background: #cddff2;
}

/*---------------------------------------------*/
.pc_bl {
  display: block;
}

.sp_bl {
  display: none;
}

.main {
  width: 100%;
  background-color: #ffffff;
}

.contentsWrap {
  width: 100%;
  max-width: 1160px;
  margin: auto;
  padding: 90px 20px;
}

.main h2 {
  font-size: 35px;
  color: #0167ae;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 30px;
}

.main h3 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #0167ae;
}

.main .caption {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.main p {
  font-size: 16px;
  line-height: 1.2;
}

.main a:hover {
  color: #0167ae;
}

.main p > a[target="_blank"] {
  position: relative;
  padding-right: 2em;
  display: inline-block;
}

.main p > a[target="_blank"]::after {
  content: "";
  width: 1em;
  height: 1em;
  position: absolute;
  top: 0;
  right: 0.5em;
  background-image: url(../img/link_b.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 980px) {
  .pc_bl {
    display: none;
  }

  .sp_bl {
    display: block;
  }

  .sp_none {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .main h2 {
    font-size: 28px;
  }

  .main p {
    line-height: 1.5;
  }
}



/*----------------------
header
-----------------------*/
header {
  width: 100%;
  max-width: 100vw;
  position: fixed;
  display: flex;
  font-size: 18px;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.5);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: #fff;
  transform-origin: center top;
  transform: scaleY(0);
  opacity: 0;
  z-index: -1;
  transition: all 0.2s;
}

header:hover::before {
  transform: scaleY(1);
  opacity: 1;
}


header a {
  text-decoration: none;
}

header .logo {
  width: auto;
  height: 70px;
  padding: 10px 0;
  margin-left: 20px;
}

header .logo a,
header .logo img {
  display: block;
  width: auto;
  height: 100%;
}

header nav {
  margin-left: auto;
}

header nav,
header nav > ul {
  display: flex;
}

header nav > ul li {
  position: relative;
}

header nav > ul > li a,
header nav > ul > li span {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  align-content: center;
  position: relative;
  cursor: pointer;
  color: #222222;
}

/* 1階層 */
header nav > ul > li a::after,
header nav > ul > li span::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #1a79ad;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

/* 2階層 */
header nav > ul > li > ul > li a::after,
header nav > ul > li > ul > li span::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

header nav > ul > li a:hover::after,
header nav > ul > li span:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

header nav ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform-origin: top;
  transform: translate(-50%, 0) scale(1, 0);
  width: max-content;
  background-color: rgba(26, 121, 173, 0.7);
  transition: transform 0.2s;
}

header nav ul li:hover ul {
  transform: translate(-50%, 0) scale(1, 1);
}

header nav > ul ul a {
  color: #ffffff;
  padding: 10px 20px;
}

header nav > ul ul a:hover {
  background-color: rgba(26, 121, 173, 0.8);
}

header nav .contact_btn,
header nav .Lang_btn {
  display: flex;
  align-items: center;
  align-content: center;
}

header nav .contact_btn a,
header nav .Lang_btn a {
  z-index: 1;
  text-align: center;
  height: auto;
  padding: 5px 18px;
}

header nav .contact_btn a {
  color: #ffffff;
  margin-right: 10px;
}

header nav .Lang_btn a {
  color: #064790;
}

header nav .contact_btn a::before,
header nav .Lang_btn a::before {
  transform: skewX(-15deg);
  content: "";
  position: absolute;
  top: -3px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background-color: #064790;
}

header nav .Lang_btn a::before {
  background-color: #ffffff;
  border: solid 1px #064790;
}

header nav .contact_btn a::after,
header nav .Lang a::after {
  background: #a2c8dd;
  left: -4px;
}

header nav .Lang_btn a::after {
  background: #1e7cb0;
}

@media screen and (max-width: 980px) {

  header .logo {
    margin-left: 0px;
  }

  header nav .sp_navBtn {
    cursor: pointer;
    align-self: center;
    width: 45px;
    height: 30px;
    transition: all .5s;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
  }

  header nav .sp_navBtn span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    right: 0;
    height: 4px;
    background-color: #064790;
    transition: all .5s;
    transform: skewX(50deg);
  }

  header nav .sp_navBtn span:nth-of-type(1) {
    top: 0;
    width: 100%;
  }

  header nav .sp_navBtn span:nth-of-type(2) {
    top: 13px;
    width: 80%;
  }

  header nav .sp_navBtn span:nth-of-type(3) {
    bottom: 0;
    width: 60%;
  }

  header nav .sp_navBtn.close span {
    width: 100%;
    border-radius: 4px;
    background-color: #fff;
  }

  header nav .sp_navBtn.close span:nth-of-type(1) {
    -webkit-transform: translateY(13px) rotate(-45deg) skewX(0deg);
    transform: translateY(13px) rotate(-45deg) skewX(0deg);
  }

  header nav .sp_navBtn.close span:nth-of-type(2) {
    opacity: 0;
  }

  header nav .sp_navBtn.close span:nth-of-type(3) {
    -webkit-transform: translateY(-13px) rotate(45deg) skewX(0deg);
    transform: translateY(-13px) rotate(45deg) skewX(0deg);
  }

  /* メニュー項目 */

  header nav > ul {
    display: none;
  }

  header nav > ul.slide-in {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(40, 130, 180, 0.9);
    z-index: 1;
    padding: 70px 0px 20px;
  }

  header nav > ul > li a,
  header nav > ul > li span {
    color: #fff;
    padding: 15px 20px;
    line-height: 1.2;
    border-bottom: solid 1px #7fb4d2;
  }

  header nav > ul > li > span {
    padding: 15px 60px 15px 20px;
  }

  header nav > ul > li > span::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 20px;
    width: 35px;
    height: 23px;
    background-image: url(../img/arrow_b_w.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s;
  }

  header nav > ul > li > span.open::before {
    transform: rotate(180deg);
  }

  header nav ul ul {
    display: none;
    padding-left: 20px;
    position: relative;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    transform: translate(0, 0) scale(1, 1);
    background-color: #0f67a0;
  }

  header nav ul li:hover ul {
    transform: translate(0, 0) scale(1, 1);
  }

  header nav .contact_btn {
    position: absolute;
    top: 20px;
    left: 20px;
  }

  header nav .Lang_btn {
    position: absolute;
    top: 20px;
    left: 140px;
  }

  header nav .contact_btn a,
  header nav .Lang_btn a {
    border: none;
  }

  header nav .Lang_btn span {
    display: inline-block;
    padding: 0;
    color: inherit;
    border: none;
  }

  header nav .Lang_btn span::after {
    content: none;
  }
}

/*----------------------
contact
-----------------------*/
.contact {
  color: #fff;
  background-image: url(../img/contactBG.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact h2 {
  color: #fff;
}

.contact .btnWrap {
  margin-top: 40px;
}

/*----------------------
footer
-----------------------*/
footer {
  width: 100%;
  height: 300px;
  display: flex;
  background-color: #292c31;
  color: #ffffff;
}

footer .contentsWrap {
  width: 100%;
  max-width: 1160px;
  margin: auto;
  padding: 50px 20px;
  display: flex;
  justify-content: space-between;

}

.copyright {
  width: 190px;
}

.copyright small {
  font-size: 13px;
  margin-top: 10px;
  display: block;
  line-height: 1.4;
}

.footNav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: calc(100% - 380px);
  height: 175px;
  margin-left: auto;
  justify-content: space-between;
  align-content: space-between;
}

.footNav li {
  margin-bottom: 20px;
  max-height: 40px;
  ;
}

.footNav li:last-child {
  margin-bottom: 0px;
}

.footNav a {
  text-decoration: none;
  color: #ffffff;
  position: relative;
  display: block;
}

.footNav a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

.footNav a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

.footNav li.english,
.footNav li.youtube {
  width: 150px;
  margin: 0 auto 10px;
}

.footNav li.english a {
  text-decoration: none;
  z-index: 1;
  text-align: center;
  height: auto;
  padding: 8px 20px;
}

.footNav li.english a::before {
  transform: skewX(-15deg);
  content: "";
  position: absolute;
  top: -3px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  border: solid 1px #ffffff;
}

.footNav li.english a::after {
  left: -5px;
  bottom: -2px;
}

@media screen and (max-width: 980px) {
  footer {
    height: auto;
  }

  footer .contentsWrap {
    justify-content: space-evenly;
  }

  .copyright {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: space-between;
  }

  .footNav {
    width: auto;
    height: auto;
    margin-left: 20px;
  }
}

/*----------------------
共通パーツ
-----------------------*/
.ic_new {
  color: #1989d7;
  padding: 3px 8px;
  border: solid 2px #1989d7;
  border-radius: 5rem;
  font-weight: bold;
  line-height: 18px;
  font-size: 14px;
}

.ic_catalog,
.ic_contact {
  display: inline-block;
  vertical-align: bottom;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.ic_catalog {
  background-image: url(../img/pdf.svg);
}

.ic_contact {
  background-image: url(../img/mail.svg);
}

a:hover .ic_catalog {
  background-image: url(../img/pdf_hover.svg);
}

a:hover .ic_contact {
  background-image: url(../img/mail_hover.svg);
}

.btnWrap {
  display: flex;
  justify-content: center;
}

/* 基本ボタン1　青 */
.btn {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  position: relative;
  text-align: center;
  height: auto;
  padding: 20px 70px;
  z-index: 1;
  font-weight: bold;
  margin-left: 10px;
}

.btnWrap .btn:first-child {
  margin-left: 0;
}

.btn:hover {
  color: #0167ae;
}

.btn::before {
  transform: skewX(-15deg);
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background-color: #0167ae;
}

.btn::after {
  transform: skewX(-15deg) scale(0, 1);
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 5px;
  right: -9px;
  z-index: -1;
  background-color: #d5e6f6;
  transform-origin: top right;
  transition: transform .3s;
}

.btn:hover::after {
  transform: skewX(-15deg) scale(1, 1);
  transform-origin: top left;
}

/* 基本ボタン2　白 */
.btn.btn02 {
  color: #0167ae;
}

.btn.btn02:hover {
  color: #ffffff;
}

.btn.btn02::before {
  background-color: #ffffff;
}

.btn.btn02::after {
  background-color: #064790;
}

/* 基本ボタン3　白青枠 */
.btn.btn03 {
  color: #0167ae;
}

.btn.btn03:hover {
  color: #ffffff;
}

.btn.btn03::before {
  background-color: #ffffff;
  border: solid 2px #0167ae;
}

.btn.btn03::after {
  background-color: #0167ae;
}

/* 基本ボタン4　青青枠 */
.btn.btn04 {
  color: #ffffff;
}

.btn.btn04:hover {
  color: #0167ae;
}

.btn.btn04::before {
  background-color: #0167ae;
  border: solid 2px #0167ae;
}

.btn.btn04::after {
  border: solid 2px #0167ae;
  background-color: #ffffff;
}


@media screen and (max-width: 980px) {
  .btn {
    padding: 15px 40px;
  }
}

@media screen and (max-width: 599px) {
  .ic_new {
    padding: 2px 6px;
    line-height: 14px;
    font-size: 12px;
  }
}

/*----------------------
ページ上部に戻るボタン
-----------------------*/
.page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20px;
  bottom: -50px;
  background: #064790;
  border-radius: 50%;
  box-shadow: 0px 5px 5px 0px rgba(54, 59, 62, 0.5);
  z-index: 10;
}

.page_top span {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

.page_top span::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 13px;
  width: 25px;
  height: 25px;
  background-image: url(../img/pageTop.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/*----------------------
エラーページ
-----------------------*/
.main.error {
  min-height: calc(100vh - 300px);
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  background-color: #f5f6f8;
}

.main.error h1 {
  font-size: 130px;
  margin-bottom: 20px;
  line-height: 1;
  color: #064790;
}

.main.error h2 {
      font-size: 30px;
      margin-bottom: 40px;
}

.main.error p {
  font-size: 18px;
    margin-bottom: 40px;
}

@media screen and (max-width: 599px) {
  .main.error {
    min-height: 80vh;
    padding: 20px;
  }

  .main.error h1 {
    font-size: 100px;
    margin-bottom: 20px;
    line-height: 1;
  }

  .main.error h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .main.error p {
    font-size: 16px;
    margin-bottom: 20px;
  }
}
