@charset "UTF-8";

html{
    scroll-padding-top: 200px;
}
img {
  width: 100%;
  height: auto;
}
a {
  color: #2F334C;
  text-decoration: none;
}
a:hover {
  color: #2F334C;
}
/* PC/SP切り替え */
.pc{
    display: block;
}
.sp{
    display: none;
}
@media screen and (max-width: 495px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
        }
    }
/* 文字基準 */
html, h1, h2, h3, h4, h5, h6, p {
  font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  line-height: 1.6;
}

@font-face {
  font-family: "myfont";
  src: url("../font/NotoSansJP-Light.ttf") format("truetype");
  src: url("../font/NotoSansJP-Regular.ttf") format("truetype");
  src: url("../font/NotoSansJP-Light.ttf") format("truetype");
  src: url("../font/NotoSansJP-SemiBold.ttf") format("truetype");
}
/* 文字基準 */
/*header*/
header {
  display: block;
}
/*contents*/
.contents {
  position: relative;
  width: auto;
}
.contents .mar-style {
  width: calc(100% - 10px);
  margin: 0 auto 40px;
}
@media screen and (min-width: 768px) {
  .contents .mar-style {
    max-width: 1000px;
    width: auto;
    margin: 0 auto 40px;
  }
}
.contents .wide-style {
  width: 100%;
  height: 768px;
}
.contents .wide-style.key {
  background-image: url(../images/key.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.line{
  max-width: 1080px;
  border: 0.5px solid #FFF;
  margin: 34px auto 0px;
}
/*footer*/
footer {
  width: 100%;
  padding: 13px 0;
  background-color: #1D58B7;
  color: #fff;
  text-align: center;
  font-size: 0.813em;
  position: relative;
}
footer address {
  letter-spacing: 5px;
  font-style: normal;
}
/*nav*/
.inner {
  max-width: 1080px;
  margin: 0 auto;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}
/* header */
#top-head {
  position: absolute;
  top: -100px;
  z-index: 999;
  width: 100%;
  margin: 100px auto 0;
  padding: 37px 0 0px;
  line-height: 1;
  border-bottom: 1px solid #ababad;
}
#top-head a, #top-head {
  color: #FFF;
  text-decoration: none;
}
#top-head .inner {
  position: relative;
}
#top-head .logo {
  float:left;
  content: '';/*何も入れない*/
  display: inline-block;
  width: 275px;/*画像の幅*/
  height: 31px;/*画像の高さ*/
  background-image: url(../images/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  z-index: 0;
  margin-right: 25px;
}
#global-nav ul {
  position: absolute;
  right: 0;
  font-size: 0.875em;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 33px;
}
#global-nav ul li {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#global-nav ul li.headder_otoiawase{
  background: linear-gradient(45deg, #F8B42C 30%, #EC6117);
  background: -moz-linear-gradient(45deg, #F8B42C 30%, #EC6117);
  background: -webkit-linear-gradient(45deg, #F8B42C 30%, #EC6117);
  border-radius: 25px;
  position: relative;
  padding-right: 5px;
}
#global-nav ul li.headder_otoiawase::after {
  position: absolute;
  content: '';/*何も入れない*/
  display: inline-block;
  width: 6px;/*画像の幅*/
  height: 6px;/*画像の高さ*/
  background-image: url(../images/otoiawase_tri.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  z-index: 0;
  right: 12px;
}

#global-nav ul li a {
  padding: 0 30px;
  font-size: 1.5rem;
  border-right: 1px solid #FFF;
  font-weight: 600;
}
#global-nav ul li:nth-child(4) a{
  border-right: none;
  text-align: center;
  line-height: 1.5;
}
#global-nav ul li.headder_otoiawase a{
  border-right: none;
  color: #fff;
}
/* Fixed */
#top-head.fixed {
  position: fixed;
  top: 0;
  padding-top: 20px;
  margin-top: 0;
  height: 75px;
  background: #2F334C;
  background:#FFF;
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  border-bottom: 1px solid #ababad;
}
#top-head.fixed .logo {
  font-size: 1.8em;
  color: #2F334C;
  content: '';/*何も入れない*/
  display: inline-block;
  width: 275px;/*画像の幅*/
  height: 31px;/*画像の高さ*/
  background-image: url(../images/logo_sp.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  z-index: 0;
  margin-right: 25px;
}
#top-head.fixed #global-nav ul li a {
  color: #2F334C;
  padding: 0 20px;
}

#top-head.fixed #global-nav ul li.headder_otoiawase a {
  color: #fff;
  padding: 0 20px;
}
/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  z-index: 101;
  right: 4%;
  top: 40%;
  width: 34px;
  height: 36px;
  cursor: pointer;
}
#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
  background: #FFF;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 11px;
}
#nav-toggle span:nth-child(3) {
  top: 22px;
}
@media screen and (max-width: 767px) {
  #top-head, .inner {
    width: 100%;
    padding: 0;
  }
  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    position: relative;
    z-index: 999;
    width: 100%;
    height: 56px;
  }
  #top-head.fixed .logo, #top-head .logo {
    position: absolute;
    left: 13px;
    top: 20px;
    color: #fff;
    font-size: 1.625em;
  }
  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -1000px;
    width: 100%;
    padding: 150px 0;
    background: #0961b5;;
    text-align: center;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    height: 100vh;
  }
  #top-head.fixed #global-nav{
    background: #FFF;
  }
  #global-nav ul {
    position: static;
    right: 0;
    bottom: 0;
    font-size: 0.875em;
    list-style: none;
    flex-flow: column;
    height: auto;
  }
  #global-nav ul li {
    position: static;
    float: none;
    height: auto;
    margin: 10px 0 0;
    padding: 10px 0 20px;
    border-bottom: 1px solid #FFF;
    width: 80%;
  }
  #global-nav ul li:nth-child(4),
  #global-nav ul li.headder_otoiawase {
    border-bottom: none;
    padding: 10px 0;
  }
  #global-nav ul li.headder_otoiawase{
    max-width: 290px;
    margin-top: 20px;
  }
  #top-head.fixed {
    background-color: #FFF;
  }
  #top-head.fixed #nav-toggle span {
    background: #2F334C;
  }
  #top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
    display: block;
    width: 100%;
    padding: 0px 0;
    color: #fff;
    border-right: none;
  }
  #top-head.fixed #global-nav ul li a{
    color: #2F334C;
    border-right: none;
  }
  #top-head.fixed #global-nav ul li{
    border-bottom: 1px solid #2F334C;
  }
  #nav-toggle {
    display: block;
  }

  .line{
      margin: 12px auto 0px;
  }
  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(1000px);
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
  }
}
/*parts*/
.alpha a:hover {
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
}
.fade {
  opacity: 1;
}
#page-top {
  position: fixed;
  bottom: 50px;
  right: 8px;
  z-index: 100;
}
/*parts*/

#top-head.fixed .line{
  display: none;
}

#top-head.fixed #global-nav ul li a {
  padding: 0 30px;
  font-size: 1.5rem;
  border-right: 1px solid #2F334C;
  font-weight: 600;
}

#top-head.fixed #global-nav ul li:nth-child(4) a{
  border-right: none;
}
#top-head.fixed #global-nav ul li.headder_otoiawase a{
  border-right: none;
  color: #fff;
}

footer::after{
  position: absolute;
  right: 0;
  bottom: 0;
  content: '';/*何も入れない*/
  display: inline-block;
  width: 147px;/*画像の幅*/
  height: 220px;/*画像の高さ*/
  background-image: url("../images/nekopi_006.gif");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 60px;
}

@media screen and (max-width: 1165px) {
  .inner,#top-head .inner,.line {
    max-width: 910px;
  }
}
@media screen and (max-width: 967px) {
  .inner,#top-head .inner,.line {
    max-width: 860px;
  }
  #global-nav ul li a,#top-head.fixed #global-nav ul li a {
    padding: 0 24px;
  }
  #top-head .logo,#top-head.fixed .logo {
    width: 188px;
  }
}
@media screen and (max-width: 900px) {
  .inner,#top-head .inner,.line {
    max-width: 800px;
  }
  #global-nav ul li a,#top-head.fixed #global-nav ul li a {
    padding: 0 20px;
  }
}
@media screen and (max-width: 835px) {
  .inner,#top-head .inner,.line {
    max-width: 730px;
  }
  #global-nav ul li a,#top-head.fixed #global-nav ul li a {
    padding: 0 17px;
  }
  #top-head .logo, #top-head.fixed .logo {
    width: 169px;
    margin-top: 3px;
  }
  #top-head.fixed #global-nav ul li a{
    color: #2F334C;
    border-right: none;
  }
}
@media screen and (max-width: 767px) {
  .inner,#top-head .inner,.line {
    max-width: 100%;
  }
  #global-nav ul li:nth-child(4),
  #global-nav ul li.headder_otoiawase {
    border-bottom: none !important;
    padding: 10px 0;
  }
}

/*br調整*/
.ipad_display01,.ipad_display02,.ipad_display03,.ipad_display04,.ipad_display05,.ipad_display06{
  display: none;
}
.ipad_display07{
  display: block;
}

@media screen and (max-width: 980px) {
  .ipad_display01{
    display: block;
  }
}
@media screen and (max-width: 995px) {
  .ipad_display02{
    display: block;
  }
}
@media screen and (max-width: 765px) {
  .ipad_display03{
    display: block;
  }
}
@media screen and (max-width: 424px) {
  .ipad_display04{
    display: block;
  }
}
@media screen and (max-width: 495px) {
  .ipad_display05{
    display: block;
  }
}
@media screen and (max-width: 490px) {
  .ipad_display06{
    display: block;
  }
  .ipad_display07{
    display: none;
  }
}