@charset 'utf-8';

.sp-nav {
  display: none;
}
nav {
  display: flex;
  z-index: 10;
  position: fixed;
  width: 100%;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  margin: 0;
  overflow: hidden;
}
nav ul li {
  width: 100%;
  padding: 10px 0;
  text-align: center;
}
.pc-nav ul li:last-child {
  background: rgba(70, 70, 70, 0.7);
}
.pc-nav ul li:last-child a {
  color: #fff;
}
nav ul li img {
  width: 20px;
}
nav ul li a {
  color: #4b4b4b;
  text-decoration: none;
}

header {
  background-image: url(../img/inquiry_header.jpg);
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: lighten;
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}
header::after {
  margin-top: 95px;
  width: 100%;
  height: 300px;
  content: "";
  position: absolute;
  bottom: -300px;
  left: 0;
  z-index: -1;
  transform: skewY(-5deg);
  transform-origin: bottom left;
  background-color: #fff;
}
header span {
  /* 前面の文字エリア */
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  padding: 3px;
  color: #000;
  transform: translate(-50%, -50%);
  font-size: 36px;
  border-radius: 5px;
}
.example h1 {
  position: absolute; /*絶対配置*/
  top: 50%;
  left: 50%;
  color: var(--unnamed-color-464646);
  text-align: center;
  font-size: 40px;
  letter-spacing: 0px;
  color: #464646;
  opacity: 1;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}
.example img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: opacity(60%);
}

@media screen and (max-width: 559px) {
  .sp-nav-sns-icon li {
    width: auto;
  }
  /* ハンバーガメニュー */
  .sp-nav {
    display: block;
  }
  .pc-nav {
    display: none;
  }
  #nav-drawer {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 30px;
  }

  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display: none;
  }

  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }

  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span,
  #nav-open span:before,
  #nav-open span:after {
    position: absolute;
    height: 3px; /*線の太さ*/
    width: 30px; /*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    content: "";
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -10px;
  }
  #nav-open span:after {
    bottom: -20px;
  }

  /*閉じる用の薄黒カバー*/
  #nav-close {
    display: none; /*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0; /*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }

  /*中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /*最前面に*/
    width: 90%; /*右側に隙間を作る（閉じるカバーを表示）*/
    max-width: 330px; /*最大幅（調整してください）*/
    height: 100%;
    background: #fff; /*背景色*/
    transition: 0.3s ease-in-out; /*滑らかに表示*/
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%); /*左に隠しておく*/
    writing-mode: horizontal-tb;
  }

  /*チェックが入ったらもろもろ表示*/
  #nav-input:checked ~ #nav-close {
    display: block; /*カバーを表示*/
    opacity: 0.5;
  }

  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%); /*中身を表示（右へスライド）*/
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  }
  .sp-nav-sns a {
    text-decoration: none;
    font-size: 14px;
  }
  nav ul {
    list-style: none;
    display: contents;
    justify-content: space-evenly;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0;
    padding: 10px 0;
    overflow: hidden;
  }
  nav ul li {
    text-align: left;
    margin: 2em 0 0 8px;
  }
  nav ul li img {
    width: 25px;
  }
  nav ul li a {
    color: #4b4b4b;
    text-decoration: none;
    font-size: 20px;
  }
  .sp-nav-sns-icon {
    display: flex;
    white-space: nowrap;
  }
  .sns-icon {
    font-size: 25px;
  }
  .sns-icon-left {
    margin-right: 25px;
  }
  .example h1 {
    font-size: 30px;
  }
}
