@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

/* CSS Document */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-style: normal;
}

select {
  margin: 0 0 0 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
}

p, address, blockquote, pre, div, abbr, acronym, dfn, cite, q, code, kbd, samp, var, dl, ol, ul, caption, th {
  font-weight: normal;
  font-style: normal;
}

ul, li, ol {
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: baseline;
  font-size: 100%;
}

html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6, li, ul, dl, dt, dd {
  -webkit-text-size-adjust: 100%;
}

iframe {
  overflow: hidden;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.wrapper {
  position: relative;
  height: auto;
}

::selection {
  background: #EEE;
  /*背景色*/
}

::-moz-selection {
  background: #EEE;
  /*背景色*/
}

a {
  color: #444;
  text-decoration: none;
}

a:focus {
  outline: none;
}

html {
  font-size: 62.5%;
  height: 100%;
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 100;
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 200;
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 300;
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}

body {
  line-height: 1.9;
  font-family: "Yu Gothic", YuGothic, -apple-system, "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-weight: normal;
  font-size: 1.7rem;
  background: #f4f4f4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
  color: #444;
  box-sizing: border-box;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  body {
    line-height: 1.7;
    font-size: 1.4rem;
    min-width: auto;
  }
}


/*
common
_________________________________________________________*/

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media only screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}


/*
header
_________________________________________________________*/

.header {
  width: 100%;
  min-width: 960px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 80px;
}

.header__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 2rem 0 2rem;
}

.header__logo {
  width: 20%;
  padding: 1.3rem 0 0 0;
  box-sizing: border-box;
}

.header__logo h1 {
  width: 200px;
}

.header__nav {
  width: 80%;
  text-align: right;
}

.header.page {
  background-color: rgba(255, 255, 255, 1);
}

header.shadow {
  background-color: rgba(255, 255, 255, 1);
}

header.shadow h1 {
  display: block;
}

.header__nav-menu ul {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 1.3rem;
}

.header__nav-menu li {
  font-size: 1.5rem;
  padding: 0 1.8rem;
  letter-spacing: .02rem;
}

.header__nav-menu li a {
  opacity: 1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #263e6f;
  font-family: 'Montserrat', sans-serif;
}

.header__nav-menu li:last-child a {
  opacity: 1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.header__nav-menu li:last-child a img {
  width: 25px;
}

.header__nav-menu li a::after {
  content: "";
  display: block;
  width: 0;
  transition: width 0.3s;
  border-bottom: 2px solid #263e6f;
}

.header__nav-menu li:last-child a::after {
  content: "";
  display: block;
  width: 0;
  transition: all;
  border-bottom: none;
}

.header__nav-menu li a:hover::after {
  width: 100%;
}

@media only screen and (max-width: 1160px) {
  .header__logo {
    width: 20%;
    padding: 1rem 0 0 0;
    box-sizing: border-box;
  }
  .header__logo h1 {
    width: 100%;
  }
  .header__nav {
    width: 80%;
    text-align: right;
  }
  .header__nav-menu li {
    font-size: 1.4rem;
    padding: 0 1rem;
    letter-spacing: .02rem;
  }
}

@media only screen and (max-width: 768px) {
  .header {
    width: 100%;
    height: 60px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    background: #FFF;
  }
  .header__contents {
    display: block;
    padding: 0 0 0 1rem;
  }
  .header__logo {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .header__logo h1 {
    width: 160px;
    padding: 1.8rem 0 0 0;
  }
}


/*
footer
_________________________________________________________*/

.footer {
  text-align: center;
  padding: 5rem 0;
}

.footer ul {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.footer ul li {
  font-size: 1.5rem;
}
.footer ul li a {
  color: #444;
  font-family: 'Montserrat', sans-serif;
  padding: 0 2rem;
  letter-spacing: .05rem;
}

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #444;
  letter-spacing: .05rem;
  margin-top: 2rem;
}

@media only screen and (max-width: 768px) {
  .footer {
    text-align: center;
    padding: 2rem;
  }
  .footer ul {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  .footer ul li {
    width: 100%;
    font-size: 1.4rem;
    text-align: left;
    border-bottom: 1px solid #ccc;
  }
  .footer ul li a {
    display: block;
    padding: 1rem 0 1rem 1.5rem;
    letter-spacing: .05rem;
  }
  .footer-copy {
    font-size: 1rem;
    letter-spacing: .05rem;
    margin-top: 2rem;
  }
}