header {
  margin: 0px;
  padding: 0px;
  position: absolute;
  position: fixed;
  background-color: #fff;
  border-bottom: 1px solid #808080;
  width: 100%;
  z-index: 200;
  top: 0;
  display: block;
}
header .toplogo {
  z-index: 201;
  text-align: left;
  height: 100%;
}
header input.hopen {
  display: none;
}
@media screen and (min-width: 1001px) {
  header {
    height: 90px;
  }
  header .toplogo img.logo {
    width: 200px;
    height: 60px;
    margin: 15px 0px 0px 30px;
  }
  header input.hopen {
    display: none;
  }
  header .tel {
    position: absolute;
    text-align: right;
    width: 17%;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 101;
  }
  header .tel img.logo2 {
    position: relative;
    text-align: right;
    top: 20%;
    width: 100%;
  }
  header section.color-9 {
    background-color: #fff5ee;
    display: flex;
    margin: auto;
    text-align: center;
  }
  header section.color-9 a {
    margin: 0 0px;
    padding: 8px 22px;
    text-align: center;
  }
  header section.color-9 a::before,
  header section.color-9 a::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #808080;
    content: '';
    opacity: 0.2;
    transition: opacity 0.3s, height 0.3s;
  }
  header section.color-9 a::after {
    top: 100%;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-10px);
  }
  header section nav {
    position: absolute;
    width: 70%;
    top: 20%;
    left: 18%;
  }
  header section nav a {
    position: relative;
    display: inline-block;
    margin: 1px 2px;
    outline: none;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 0.9em;
  }
  header section nav a:hover,
  header section nav a:focus {
    outline: none;
  }
  header section nav.fnav {
    display: block;
  }
  header .cl-effect-9 a::after {
    top: 100%;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-10px);
  }
  header .cl-effect-9 a span:first-child {
    z-index: 2;
    display: block;
    font-weight: 300;
  }
  header .cl-effect-9 a span:last-child {
    z-index: 1;
    display: block;
    padding: 8px 0 0 0;
    color: rgba(0,0,0,0.4);
    text-shadow: none;
    text-transform: none;
    font-style: italic;
    font-size: 0.95em;
    font-family: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-100%);
  }
  header .cl-effect-9 a:hover::before,
  header .cl-effect-9 a:focus::before {
/* 上線の太さ */
    height: 3px;
  }
  header .cl-effect-9 a:hover::before,
  header .cl-effect-9 a:hover::after,
  header .cl-effect-9 a:focus::before,
  header .cl-effect-9 a:focus::after {
    opacity: 1;
    transform: translateY(0px);
  }
  header .cl-effect-9 a:hover span:last-child,
  header .cl-effect-9 a:focus span:last-child {
    opacity: 1;
    transform: translateY(0%);
  }
  header .telogo {
    text-align: right;
  }
  header .telogo img {
    width: 20vw;
  }
  header .hbtn {
    display: none;
  }
}
@media screen and (max-width: 1000px) {
  header {
    height: 90px;
  }
  header .toplogo a img.logo {
    width: 200px;
    height: 60px;
    margin: 15px 0px 0px 30px;
  }
  header .tel {
    display: none;
  }
  header input.hopen {
    display: none;
    position: absolute;
    top: 50%;
    left: 90%;
  }
  header input.hopen:checked+ label + .color-9 {
    display: flex;
    height: 92vh;
    transition: all 0.5s;
  }
  header section.color-9 nav a {
    font-size: 5vw;
    height: 10vh;
    width: 100%;
  }
  header section .cl-effect-9 {
    overflow: hidden;
  }
  header label {
    position: absolute;
    background-color: #fff; /* アイコン部分背景色 */
/* border-radius: 0 0 0 10px; /*左下角丸 */
    color: #333; /* アイコン（フォント）色 */
    cursor: pointer;
    display: block;
    font-size: 50px; /* アイコン（フォント）サイズ */
    height: 100%; /* アイコン縦高さ */
    width: 50px; /* アイコン横幅 */
/* line-height: 50px; /*縦位置中央化 */
/* position: fixed; */
    right: 0;
    text-align: center;
    top: 0;
    transition: all 0.3s linear 0s; /* 0.3s はアニメーションにかかる時間 */
/* z-index: 1000; */
/* 横方向中央揃え */
    justify-content: center;
    margin: auto;
  }
  header section.color-9 nav a {
    font-size: 30px;
    height: 12vh;
  }
  header label div {
    position: absolute;
    left: -50%;
    height: 6%;
    width: 80%;
    background-color: #BBBBBB;
    border-radius: 2%;
    display: inline-block;
    box-sizing: border-box;
    margin: auto;
  }
  header label div:nth-of-type(1) {
    top: 30%;
  }
  header label div:nth-of-type(2) {
    top: 45%;
  }
  header label div:nth-of-type(3) {
    bottom: 32%;
  }
  header .telogo {
    display: none;
  }
  header .hbtn {
    text-align: right;
  }
  header .hbtn input:checked + header .telogo {
    display: block;
  }
  section.color-9 {
    background-color: #333;
    display: none;
    margin: auto;
    text-align: center;
  }
  section.color-9 nav {
    width: 100%;
  }
  section.color-9 nav a {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 5vh;
    margin: 1px 2px;
    outline: none;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 1vw;
  }
  section.color-9 nav a:hover {
    background-color: #fff;
    color: #808080;
  }
  .cl-effect-9 a::after {
    top: 100%;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-10px);
  }
  .cl-effect-9 a span:first-child {
    z-index: 2;
    display: block;
    font-weight: 300;
  }
  .cl-effect-9 a span:last-child {
    z-index: 1;
    display: block;
    padding: 8px 0 0 0;
    color: rgba(0,0,0,0.4);
    text-shadow: none;
    text-transform: none;
    font-style: italic;
    font-size: 0.95em;
    font-family: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', Georgia, serif;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-100%);
  }
  .cl-effect-9 a:hover::before,
  .cl-effect-9 a:focus::before {
/* 上線の太さ */
    height: 3px;
  }
  .cl-effect-9 a:hover::before,
  .cl-effect-9 a:hover::after,
  .cl-effect-9 a:focus::before,
  .cl-effect-9 a:focus::after {
    opacity: 1;
    transform: translateY(0px);
  }
  .cl-effect-9 a:hover span:last-child,
  .cl-effect-9 a:focus span:last-child {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media screen and (max-width: 400px) {
  header .toplogo a img.logo {
    display: none;
  }
}