/* Reset style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333333;
    list-style: none;
    text-decoration: none;
  }

/* ここから全ページ共通のCSS */
  html {
    font-family: "Not Sans JP", "Yu Gothic" , "YuGothic" , "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック",sans-serif;
    scroll-behavior: smooth;
  }
  
  body {
    background: #fafafa;
    margin-top: 60px;
  }
/* ここまで全ページ共通のCSS */


/* ここからヘッダーのCSS */
  .header_bg {
    background: #fafafa;
    width: 100%;
    height: 60px;
    position: fixed; /* ヘッダーを固定する */
    top: 0; /* 上部から配置の基準位置を決める */
    left: 0; /* 左から配置の基準位置を決める */
    z-index: 999;
  }
  
  .header_contents {
    width: 100%;
    max-width: 1080px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header_contents h1 {
    font-size: 16px;
    margin: 0 0 0 40px;
  }

  .header_logo{
    margin: 0 0 0 30px;
  }
  
  .header_nav_lists {
    display: flex;
  }
  
  .header_nav_lists li {
    margin: 0 40px 0 0;
  }
  
  .nav_link {
    font-size: 16px;
  }
  
/* Responsive menu button */
  .responsive_btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 30px 0 0;
    cursor: pointer;
    position: relative;
    z-index: 999;
  }
  
  .menu_line {
    background: #333333;
    border-radius: 5px;
    width: 100%;
    height: 5px;
    margin: 4px 0;
  }
  
/* Responsive style */
  @media screen and (max-width: 768px) {
    .responsive_btn {
      display: flex;
    }
  
    .header_bg {
      position: fixed; /* ヘッダーを固定する */
      top: 0; /* 上部から配置の基準位置を決める */
      left: 0; /* 左から配置の基準位置を決める */
      z-index: 999;  
    }
  
    .header_nav {
      background: #fafafa;
      width: 100%;
      height: 100vh;
      padding: 80px 0 0 0;
      position: fixed;
      top: 0;
      right: -100%;
      transition: .5s;
      z-index: 998;
      overflow-y: auto;
      overscroll-behavior: contain
    }
  
    .header_nav_lists {
      display: block;
      text-align: center;
      height: calc(100% + 1px);
    }
  
    .header_nav_lists li {
      margin: 0 0 40px;
      text-align: center;
    }
  
    .nav_link {
      font-size: 20px;
    }
  }
  
/* js function "menuToggle" starting only */
  .menu_active {
    right: 0;
  }

  .menu_btn {
    display: inline-block;
    position: relative;
    width: 26px;/*ボタン全体の幅を変えたいならここを調整*/
    height: 21px;/*ボタン全体の高さを変えたいならここを調整*/
    cursor: pointer;
  }
   
  .menu_btn span {
    display: inline-block;
    width: 100%;
    height: 3px;/*ボタン内の三本線の太さを変えたいならここを調整*/
    background-color: #333333;/*ボタン内の三本線の色を変えたいならここを調整*/ 
    transition: .4s;/*アニメーション時間*/
    box-sizing: border-box;
    position: absolute;
    left: 0;
  }

  input[type="checkbox"]{
    display:none;
  }
   
/*ボタン全体の高さか線の太さを調整したらここも調整しないときれいに表示されませぬ*/
  .menu_btn span:nth-of-type(1) {
    top: 0;
  }
   
  .menu_btn span:nth-of-type(2) {
    top: 9px;
  }
   
  .menu_btn span:nth-of-type(3) {
    bottom: 0;
  }


  #menu_checkbox:checked ~ #menu_label .menu_btn span:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
   
  #menu_checkbox:checked ~ #menu_label .menu_btn span:nth-of-type(2) {
    opacity: 0;
  }
   
  #menu_checkbox:checked ~ #menu_label .menu_btn span:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }
/* ここまでヘッダーのCSS */

/* ここからパンくずのCSS */
.breadcrumb {
  margin: auto;
  margin-top: 80px;
  padding: 0;
  max-width: 1080px;
  padding-left: 30px;
  list-style: none;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-size: 13px;
}

.breadcrumb li:after {/* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: #555;
}

.breadcrumb li:last-child:after {
  content: '';
  text-decoration: none;
}

.breadcrumb li:last-child a:hover {
  text-decoration: none;
}

.breadcrumb li a {
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}
/* ここまでパンくずのCSS */


/* ページのタイトル */
.page-title{
  width: 300px;
  padding-top: 50px;
  margin: auto;
  text-align: center;
}

.page-title p{
  margin-top: 10px;
}

.heading-6 {
  display: inline-block;
  position: relative;
  padding: 0 2.5em;
  color: #333333;
}

.heading-6::before,
.heading-6::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  width: 45px;
  height: 3px;
  background-color: #333333;
}

.heading-6::before {
  left: 0;
}

.heading-6::after {
  right: 0;
}


/*== コンタクトについて */

.contact-title{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-top: 80px;
}

.contact-text{
  font-size: 14px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 30px;
}

.contact-btn{
  text-align: center;
}



/*== コンタクトボタン共通設定 */
.btn{
  /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
  overflow: hidden;
  /*ボタンの形状*/
  text-decoration: none;
  display: inline-block;
  width: 300px;
  border: 1px solid #333;/* ボーダーの色と太さ */
  padding: 10px;
  text-align: center;
  outline: none;
  background-color: #333;
  letter-spacing: 3px;
  /*アニメーションの指定*/   
  transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn span {
  position: relative;
  z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color:#fafafa;
}

.btn:hover span{
  color:#333;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
  content: '';
  /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /*色や形状*/
  background:#fafafa;/*背景色*/
  width: 100%;
  height: 100%;
  /*アニメーション*/
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

/* ここから能力チャートのCSS */
.top-contents{
  display: flex;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 1080px;
}

.top-contents img{
  width: 100%;
  max-width: 400px;
}

.about-bt{
  display: block;
  text-align: center;
  max-width: 300px;
  padding: 10px;
  margin: auto;
  color: #fafafa;
  font-size: 16px;
  cursor: pointer;
  border: solid #333333;
  -webkit-box-shadow: 2px 2px 0 #333;
  box-shadow: 2px 2px 0 #333;
}

.about-bt:hover {
  opacity: .7;
}

.about-contents{
  padding-bottom: 50px;
  background-color: #EFE8D8;
  padding-top: 20px;
  margin-top: 80px;
}

/* スマホ表示 */
@media screen and (max-width: 768px){
 .top-contents{
  display: flex;
  flex-wrap: wrap;
 }

 .about-contents{
  margin-top: 50px;
 }

 .top-contents img{
  width: 100%;
 }

 .about-bt{
  margin-top: 50px;
 }
 }
/* ここまで能力チャートのCSS */


/* ここからフッターのCSS */
  ul {
    padding: 0,30px,0,0;
    list-style: none;
  }
  
  a {
    color: #333333;
    text-decoration: none;
  }
  
  a:hover {
    color: #333333;
  }
  
  hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #333333;
  }
  
  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .footer {
    padding: 2rem;
    font-size: 15px;
    color: #333333;
    background: #fafafa;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
  }
  
  .footer__navi-heading {
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer__logo {
    margin-bottom: 2rem;
    order: 2;
  }
  
  .footer__navi li {
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }

  .footer__text{
    order: 1;
  }
  
  @media (min-width: 768px) {
  
    .grid {
      display: flex;
      grid-template-columns: 1fr 1fr 1fr;
      justify-content: space-between;
    }

    .footer__logo {
      order: 1;
    }

    .footer__text{
      order: 2;
    }
  
  }
    /* ここまでフッターのCSS */


  .dli-arrow-up {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    width: 0.4em;
    height: 2em;
    background: currentColor;
    position: absolute;
    margin-left: 40px;
    margin-top: 83px;
    }
    
  .dli-arrow-up::before {
    content: '';
    width: 1em;
    height: 1em;
    border: 0.4em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    transform-origin: top right;
    position: absolute;
    top: -0.3em;
    right: 50%;
    box-sizing: border-box;
  }

  @media screen and (max-width: 767px){
    .dli-arrow-up {
      right: 90px;
      margin-top: 43px;
      }   
    
  }

  .pagelink{
    margin-top:-80px;
    padding-top:80px;
  }
  