@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*-----------------------------
google font
-----------------------------------*/
.f_robo {
  font-family: "Roboto Condensed", sans-serif;
}

.f-mont {
  font-family: "Montserrat", sans-serif;
}

/*---------------------------------
header
---------------------------------*/
header.bl {
  display: flex;
  justify-content: space-between;
  padding: 30px 50px;
  border-bottom: solid 1px #ccc;
}

.h1_txt {
  display: block;
  font-size: 14px;
  margin: 0 0 10px;
  font-weight: bold;
  color: #888;
}

.h1_logo {
  display: block;
  max-width: 300px;
}

.header_r-wrap {
}

.sns-wrap {
  display: flex;
  align-items: center;
  justify-content: end;
}

.sns-wrap li {
  width: 30px;
  margin: 0 15px 0 0;
  list-style: none;
}

.sns-wrap li a {
}

.nav-wrap {
  display: flex;
  align-items: baseline;
  margin: 24px 0 0;
  font-weight: 600;
}

.nav-wrap li {
  margin: 0 20px;
  list-style: none;
}

.sns-wrap li:last-child,
.nav-wrap li:last-child {
  margin: 0;
}

.nav-wrap li a {
  text-decoration: none;
  color: #555;
}

.toggle-menu {
  display: none;
}

@media screen and (max-width: 768px) {
  header.bl {
    padding: inherit;
    height: 70px;
  }

  .h1_txt {
    font-size: 12px;
    margin: 5px 10px 0;
  }

  .h1_logo {
    width: 200px;
    margin: -10px 10px 0;
  }

  .header_r-wrap {
    border-left: solid 1px #ccc;
  }

  .sns-wrap {
    display: none;
  }

  .sns-wrap li {
  }

  .sns-wrap li a {
  }

  .nav-wrap {
    display: block;
  }

  .nav-wrap li {
  }

  .sns-wrap li:last-child,
  .nav-wrap li:last-child {
  }

  .nav-wrap li a {
  }

  /* ハンバーガーメニュー*/
  #menu {
    background: #4b4b4b;
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    text-align: center;
    top: 0;
    transition: all 0.7s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 1100;
  }

  #menu.open {
    opacity: 1;
    visibility: visible;
  }

  #menu.open li:nth-child(1) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
  }

  #menu.open li:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
  }

  #menu.open li:nth-child(3) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
  }

  #menu.open li:nth-child(4) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
  }

  #menu.open li:nth-child(5) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
  }

  #menu.open li:nth-child(6) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
  }

  #menu.open li:nth-child(7) {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
  }

  #menu.open li:nth-child(8) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
  }

  #menu.open li:nth-child(9) {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
  }

  #menu.open li:nth-child(10) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
  }

  #menu.open li {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
  }

  #menu ul:hover a {
    opacity: 0.5;
  }

  #menu ul a {
    -webkit-transform: translateZ(0);
    transition: opacity 0.3s ease-in-out;
  }

  #menu ul a:hover {
    opacity: 1;
  }

  #menu .main-nav {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }

  #menu .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #menu .main-nav a {
    color: #ffffff;
    display: block;
    font-size: 1.6rem;
    /* font-weight: bold; */
    padding: 1rem 1rem;
    /* text-decoration: none; */
    /* text-transform: uppercase; */
    text-align: center;
    letter-spacing: 0.2ex;
  }

  #menu .main-nav a:first {
    padding-top: 0;
  }

  .toggle-menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    float: right;
    height: 70px;
    outline: none;
    padding: 0;
    pointer-events: initial;
    position: relative;
    vertical-align: middle;
    width: 80px;
    z-index: 1110;
  }

  .toggle-menu span {
    background-color: #888;
    content: "";
    display: block;
    height: 1px;
    left: calc(50% - 13px);
    position: absolute;
    top: calc(50% - 1px);
    transform-origin: 50% 50%;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,
      transform 0.2s linear;
    width: 30px;
  }

  .toggle-menu span:before,
  .toggle-menu span:after {
    background-color: #888;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    transform-origin: 50% 50%;
    transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,
      transform 0.2s linear;
    width: 30px;
  }

  .toggle-menu span:before {
    top: 10px;
  }

  .toggle-menu span:after {
    top: -10px;
  }

  .toggle-menu.active span {
    background-color: transparent;
    transition: background-color 0.3s ease-out, color 0.5s ease-in-out;
  }

  .toggle-menu.active span:before,
  .toggle-menu.active span:after {
    transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out;
    background-color: #fff;
  }

  .toggle-menu.active span:before {
    top: 0;
    transform: rotate3d(0, 0, 1, -45deg);
  }

  .toggle-menu.active span:after {
    top: 0;
    transform: rotate3d(0, 0, 1, 45deg);
  }
}
/*---------------------------------
コクーン書き換え
---------------------------------*/
#header.header.cf {
  display: none;
}
.entry-content pre {
  font-size: 14px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
