@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

/* SORANOOTO_MOBILE_DRAWER_CSS_V1 */

.soranooto-mobile-header,
.soranooto-mobile-drawer {
  display: none;
}

@media screen and (max-width: 1023px) {

  .soranooto-mobile-header {
    position: sticky;
    top: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }

  .soranooto-mobile-brand {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
  }

  .soranooto-mobile-toggle {
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
  }

  .soranooto-mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
  }

  .soranooto-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: block;
    background: rgba(0,0,0,.38);
  }

  .soranooto-mobile-drawer[hidden] {
    display: none;
  }

  .soranooto-mobile-drawer-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    padding: 18px;
  }

  .soranooto-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .soranooto-mobile-drawer-title {
    font-weight: 600;
  }

  .soranooto-mobile-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
  }

  .soranooto-mobile-menu,
  .soranooto-mobile-group-children {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .soranooto-mobile-top > a,
  .soranooto-mobile-child > a,
  .soranooto-mobile-group-label {
    display: block;
    padding: 13px 4px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }

  .soranooto-mobile-group-label {
    cursor: pointer;
    font-weight: inherit;
  }

  .soranooto-mobile-group-children {
    padding-left: 16px;
  }

  html.soranooto-mobile-menu-open,
  html.soranooto-mobile-menu-open body {
    overflow: hidden;
  }

  /* PC sidebar menu is not the mobile navigation surface. */
  .soranooto-locale-menu {
    display: none;
  }
}

