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

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

.wrap {
	width: 1200px;
}
@media screen and (max-width:1255px) {
    .wrap {
	width: auto;
    }
}

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

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

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


:root {
    --color-ball: #e68f4f;
    --color-club: #74c089;
    --color-ring: #eebd48;
    --color-map: #717171;

    --color-ball-03: rgba(230,143,79,0.3);
    --color-ball-03-no-a: #f7ddca;

    --color-beginner-stage: #95b193;
    --color-rookie-stage: #97c0f8;
    --color-middle-stage: #e18a62;
    --color-expert-stage: #c0b697;
    --color-master-stage: #ddb14c;

    --color-beginner-stage-pale: #dce5db;
    --color-rookie-stage-pale:   #ddeafd;
    --color-middle-stage-pale:   #f5d8cb;
    --color-expert-stage-pale:   #eae7dd;
    --color-master-stage-pale:   #f4e5c4;
}

.btn.btn-jm-ball {
    background-color: var(--color-ball);
}

.cat-label.carousel-label {
    background-color: rgba(255,0,0, 0.7);
}
body {
  background-color: #fff;
  font-family: "Meiryo", "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
}

/* バナー用 */
.header-in {
    overflow: hidden;
}

/* 仮 (4/8) */
@media screen and (min-width: 1024px) {
 .header-in.wrap {
   width: 100%;
 }
 /* img : max-width : to be set */
}

/* メインコピー */

.logo.logo-header.logo-image > a {
    position: relative;
}
.logo.logo-header.logo-image .site-logo-image.header-site-logo-image.loop {
    position: absolute;
    left: 0;
    top: 0;
}
.logo.logo-header.logo-image .site-logo-image.header-site-logo-image.off {
    opacity: 0;
    z-index: 5;
    transition: all 0.6s ease-out;
}
.logo.logo-header.logo-image .site-logo-image.header-site-logo-image.on {
    opacity: 1;
    z-index: 10;
    transition: all 1.0s ease-out;
}

/*
 * 1920 超の場合 ...
 */

@media screen and (min-width: 1024px) {
 .header-main-message {
   position: absolute;
   width: 1000px;
   top: calc( calc(200px * calc(100% / 1920px)) - 1em );
   left: calc( calc(100% - 1000px) / 2 + 20px );
   color: #fff;
   font-size: 16px;
   z-index: 1;
   padding-left: 10%;
 }
}
@media screen and (max-width: 1023px) {
 .header-main-message {
   position: absolute;
   width: 1000px;
   top: calc( calc(200px * calc(100% / 1920px)) - 1em );
   left: 30px;
   color: #fff;
   font-size: 16px;
   z-index: 1;
   padding-left: 15%;
 }
}
@media screen and (max-width: 768px) {
 .header-main-message {
   font-size: 14px;
   padding-left: 11%;
   line-height: 1.2;
 }
}

.article h2 {
  border: none;
  padding: 0.6em 0;
}

ul.sub-menu {
  padding-left: 1em;
}

/*
 * top navi (see also javascript.js)
 */
li.nolink > a {
    cursor: default;
}

/*
 * トップ おすすめコンテンツ
 */
.card-thumb img {
    border: 1px solid #ccc;
    border-radius: 8px;
}

/*
 * トップ 3 columns
 */
body.home article .swiper-wrapper {
  justify-content: center;
}
@media screen and (max-width: 1255px) {
  body.home article .contents-title {
/*    margin-left: calc( 50% - 465px );*/
  }
}
@media screen and (max-width: 1023px) {
  body.home article .contents-title {
    margin-left: 0;
  }
  body.home .is-list-horizontal.large-thumb .widget-entry-card-link {
    max-width: 310px;
    width: 32%;
  }
}
@media screen and (max-width: 768px) {
  body.home article .swiper-wrapper {
	justify-content: flex-start;
	flex-wrap: wrap;
  }
  body.home .is-list-horizontal.large-thumb .widget-entry-card-link {
      width: 48%;
  }
}
@media screen and (max-width: 540px) {
  body.home .is-list-horizontal.large-thumb .widget-entry-card-link {
      width: 100%;
      max-width: 480px;
  }
}

body.home .navi-entry-cards img {
    border-radius: 8px;
}

body.home .navi-entry-cards .card-title {
    font-size: 20px;
    font-weight: bold;
}
body.home .navi-entry-cards .card-snippet {
    font-size: 17px;
}

/*
@media screen and (min-width: 760px) {
  body.home article .contents-title {
    margin-left: calc( 50% - 330px );
  }
}
*/

/*
 * logon 状態による切り替え
 */
.navi-in > ul li.logon-init {
  width: 0;
  overflow-x: hidden;
  opacity: 0;
  /*display: none;*/
}
.mobile-menu-buttons .logon-init {
  width: 0;
  overflow-x: hidden;
  opacity: 0;
}
.logon-no.logon {
  display: none;
}
.logon-yes:not(.logon) {
  display: none;
}

/*
 * has-notices 状態による切り替え
 */
.notice-menu-button:not(.has-notices) i.bell-on {
  display: none;
}


#navi-in > ul li.login-menu-button,
#navi-in > ul li.register-menu-button {
    height: 24px;
    width: 80px;
    margin-top: 10px;
}
#navi .navi-in > ul li.login-menu-button a,
#navi .navi-in > ul li.register-menu-button a {
    width: 60px;
}

#navi-in > ul li.notice-menu-button {
    height: 24px;
    width: 30px;
    margin-top: 12px;
    margin-left: 4px;
}
#navi .navi-in > ul li.notice-menu-button a {
    width: 30px;
}

.navi-in > ul li.mypage-menu-button .has-icon {
  display: none;
}
/*
 * mobile-header-menu-buttons の マイページ sub-menu
 */
ul.mobile-header-menu-buttons .mypage-menu-button .sub-menu,
ul.mobile-header-menu-buttons .myjugmap-menu-button .sub-menu {
    display: none;
}
ul.mobile-header-menu-buttons .mypage-menu-button .sub-menu li,
ul.mobile-header-menu-buttons .myjugmap-menu-button .sub-menu li {
    list-style: none;
    margin-bottom: 4px;
}
.mypage-menu-button .sub-menu li,
.myjugmap-menu-button .sub-menu li {
  line-height: 1.8;
}

/*チェックが入ったらもろもろ表示*/
#mypage-menu-input:checked ~ ul.sub-menu,
#myjugmap-menu-input:checked ~ ul.sub-menu {
    display: block;
    opacity: 0.95;

    position: absolute;
    top: 40px;
    right: 0;
    width: 190px;
    font-size: 16px;
    z-index: 100;
    background: #fff;
    padding-left: 10px;
    padding: 0 12px 12px;
}
#myjugmap-menu-input:checked ~ ul.sub-menu {
    background-color: var(--color-ball-03-no-a);
    padding: 8px 0;
    width: 150px;
}
#mypage-menu-input:checked ~ ul.sub-menu a,
#myjugmap-menu-input:checked ~ ul.sub-menu a {
    text-decoration: none;
    color: #000;
}

@media screen and (min-width: 1024px){

  .navi-in > ul {
    justify-content: flex-start;
  }
  .navi-in > ul li {
    width: 150px;
  }
  .navi-in > ul > li:nth-of-type(2) {
    margin-left: auto;
  }
  .navi-in > ul > li:nth-of-type(3) {
    margin-left: 4px;
    margin-right: 4px;
  }
  .navi-in > ul > li:nth-of-type(4) {
    margin-right: auto;
  }
  .navi-in > ul li.record-menu-button img {
    width: 20px;
  }
  .navi-in > ul li.myjugmap-menu-button {
    margin-left: auto;
    width: 160px;
  }
  .navi-in > ul li.myjugmap-menu-button a {
    background-color: var(--color-ball-03);
  }
  .navi-in > ul li.myjugmap-menu-button > a {
    border-radius: 100px;
  }
  .navi-in > ul li.myjugmap-menu-button > a ~ ul.sub-menu {
    left: 1em;
    top: 40px;
    border-top: 4px #fff solid;
    border-radius: 8px;
  }
  .navi-in > ul li.login-menu-button {
    margin-left: auto;
  }
  .navi-in > ul li.notice-menu-button a {
    background-color: #fff;
  }
  .navi-in > ul li.notice-menu-button i {
    font-size: 20px;
    margin-top: 10px;
  }
  .navi-in > ul li.notice-menu-button i.bell-on {
      position: absolute;
      right: 0;
      top: -16px;
      color: var(--color-club);
      font-size: 12px;
  }
  .navi-in > ul li.mypage-menu-button {
    width: 40px;
  }

  .navi-in > ul .sub-menu {
      width: auto;
  }

  .navi-in > ul > li .has-sub.has-icon > div.fa {
      font-size: 18px;
  }

  .navi-in a, .navi-in > ul .sub-menu a {
    background-color: #f0f0f0;
    /*background-color: #94e0a9;*/
    /*background-color: #74c089;*/
    /*background-color: #eee;*/
  }
  .navi-in li.record-menu-button a {
      background-color: #fff;
  }
  .navi-in > ul .sub-menu {
      border-radius: 8px;
  }
  .navi-in > ul .sub-menu li:last-child a {
      border-radius: 0 0 8px 8px;
  }
  .navi-in > ul .sub-menu li:first-child a {
      border-radius: 8px 8px 0 0;
  }
  .navi-in .logo-menu-button a,
  .navi-in .login-menu-button a,
  .navi-in .register-menu-button a {
    background: #fff;
    color: #000;
    font-size: 13px;
  }
  .navi-in .login-menu-button,
  .navi-in .register-menu-button {
    width: 110px;
  }
  .navi-in .register-menu-button {
    margin-left: 6px;
  }
  .navi-in .login-menu-button a,
  .navi-in .register-menu-button a {
    width: 70px;
    margin: 0 auto;
  }
  .navi-in .register-menu-button a {
    background-color: #e68f4f;
    color: #fff !important;
  }
  .navi-in .mypage-menu-button > a {
    width: 40px;
    height: 40px;
  }
  .navi-in .search-menu-button {
    width: 90px;
  }
  .navi-in .login-menu-button {
    /*border: #74c089 solid 2px;*/
    border: #e68f4f solid 1px;
    border-radius: 888px;
  }
  .navi-in .register-menu-button {
    /*border: #74c089 solid 2px;*/
    border: #e68f4f solid 1px;
    background-color: #e68f4f;
    border-radius: 888px;
  }

  /*
  .navi-in .login-menu-button a {
    display: inline-block;
    margin: 0 auto;
    border-radius: 100px;
  }
  .navi-in .register-menu-button a {
    display: inline-block;
    margin: 0 auto;
    border-radius: 100px;
  }
  */

  .is-list-horizontal.large-thumb .widget-entry-card-link, .is-list-horizontal.large-thumb-on .widget-entry-card-link {
    max-width: 350px;
  }
}

.navi-in > ul li.mypage-menu-button ul.sub-menu {
    position: absolute;
    left: -150px;
}

.news-new_list {
    width: 700px;
    max-width: 100%;
  margin: 0.5em auto;
  padding-left: 3em;
}
.body .news-new_list .new-entry-cards {
  margin-bottom: 0;
}
.news-new_list figure {
  display: none;
}
.news-new_list .widget-entry-card-content {
  margin-left: 1em;
}
.news-new_list .card-title:before {
  content: "・";
}

footer.article-footer .author-info {
  display: none;
}

.carousel-in.wrap {
  width: 100%;
}
.main.carousel-main {
  width: 100%;
  padding-bottom: 0;
}
.main.carousel-main > article {
  margin-bottom: 0;
}
#main.main {
  padding-top: 0;
}
.front-top-page #main header {
  display: none;
}

article#post-2 .swiper-button-prev,
article#post-2 .swiper-button-next {
  display: none;
}

.footer {
  background-color: #eee;
}
.footer ul.sub-menu {
  list-style-type: none;
  padding-left: 0;
}
.navi-footer-in > ul > li > a,
.navi-footer-in > ul > li > div {
  font-weight: bold;
}
.navi-footer-in > .menu-footer li.menu-item {
  text-align: left;
}
.navi-footer-in > .menu-footer li {
  border-left: none;
}
.navi-footer-in > .menu-footer li:last-child {
  border-right: none;
}

/* footer SNS */
.navi-footer-in .sns-follow-buttons a {
  font-size: 16px;
  line-height: 16px;
}
.navi-footer-in a.sns-button {
  display: inline-block;
  color: white;
}
.navi-footer-in a.sns-button.twitter-button {
  background: var(--cocoon-twitter-color);
}
.navi-footer-in a.sns-button.instagram-button {
  background: var(--cocoon-instagram-color);
}
.navi-footer-in a.sns-button.note-button {
  background: var(--cocoon-note-color);
}
.navi-footer-in > .menu-footer li.menu-item a.sns-button {
    width: 36px;
}



@media screen and (max-width: 1023px){
  #myjugmap-menu-input:checked ~ ul.sub-menu {
    top: 30px;
  }

  .mobile-header-menu-buttons {
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
  }
  .mobile-header-menu-buttons .menu-button.login-menu-button {
      margin-left: auto;
  }
  .mobile-header-menu-buttons .menu-item.myjugmap-menu-button {
      margin-left: auto;
      width: 130px;
      background-color: var(--color-ball-03);
      padding: 4px 0;
      text-align: center;
      border-radius: 12px;
      position: relative;
  }

  .mobile-header-menu-buttons .myjugmap-menu-button > a ~ ul.sub-menu {
      left: 0;
    top: 0px;
    border-top: 4px #fff solid;
    border-radius: 8px;
  }

  .mobile-header-menu-buttons .menu-item.myjugmap-menu-button a {
      text-decoration: none;
      color: #000;
  }
  .mobile-header-menu-buttons .notice-menu-button a {
    background-color: #fff;
  }
  .mobile-header-menu-buttons .notice-menu-button i {
    font-size: 20px;
  }
  .mobile-header-menu-buttons li.notice-menu-button i.bell-on {
      position: absolute;
      right: 0;
      top: -6px;
      color: var(--color-club);
      font-size: 12px;
  }

  .mobile-header-menu-buttons .logo-menu-button {
    flex-grow: unset;
  }
  .mobile-header-menu-buttons .menu-button.logo-menu-button {
    width: 120px;
  }
  .mobile-header-menu-buttons .menu-button.notice-menu-button {
    width: 30px;
  }
  .mobile-header-menu-buttons .menu-button {
    width: 40px;
  }

  .mobile-header-menu-buttons .menu-button.login-menu-button {
    width: 60px;
    border: #e68f4f solid 1px;
    border-radius: 88px;
    font-size: 12px;
    height: 30px;
  }
  .mobile-header-menu-buttons .menu-button.register-menu-button {
    width: 60px;
    border: #e68f4f solid 1px;
    border-radius: 88px;
    font-size: 12px;
    height: 30px;
    margin-left: 6px;
    background-color: #e68f4f;
  }
  .mobile-header-menu-buttons .menu-button.register-menu-button  a {
    color: #fff !important;
  }

  /* top page */
  .is-list-horizontal.large-thumb .widget-entry-card-link {
    width: 33%;
  }
}
@media screen and (max-width: 834px){
  .navi-footer-in > ul {
    flex-direction: column;
  }
  .navi-footer-in > .menu-footer li.menu-item {
    width: 100%;
  }
  .navi-footer-in > ul > li {
    display: flex;
    flex-direction: column;
  }
}

.article:not(.admin-page) h1::after {
  height: 0;
}
.article .date-tags {
  display: none;
}

/*
 * content map
 * trick map
 * mypage
 */
.contentmap, .trickmap, ul.mypage, ul.tabs {
  display: flex;
  flex-direction: row;
  text-align: center;
  background-color: #f8f8f8 !important;
  margin: 0 !important;
}
.article ul.contentmap, .article ul.trickmap, ul.mypage, ul.tabs {
  padding-left: 0;
}
.contentmap__item, .trickmap__item, .mypage__item, .tabs__item {
  flex: 1;
  list-style: none;
}
.contentmap__link, .trickmap__link, .mypage__link, .tabs__link {
  position: relative;
  display: block;
  text-decoration: none;
  color: #444;
  cursor: pointer;
}
.contentmap__link.on, .trickmap__link.on, .mypage__link.on, .tabs__link.on {
  color: #fff;
  background-color: #74c089;
}
.contentmap__link:before, .trickmap__link:before, .mypage__link:before, .tabs__link:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background-color: #74c089;
  transition: all 0.4s ease-out;
}
.contentmap__link:after, .trickmap__link:after, .mypage__link:after, .tabs__link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #74c089;
  transition: all 0.4s ease-out;
}
.contentmap__link.on:before, .trickmap__link.on:before, .mypage__link.on:before, .tabs__link.on:before {
  width: 50%;
}
.contentmap__link.on:after, .trickmap__link.on:after, .mypage__link.on:after, .tabs__link.on:after {
  width: 50%;
}
.contentmap-body, .trickmap-body, .mypage-body, .tabs-body {
  position: relative;
  /*height: 720px;*/
}
/*.contentmap-body,*/
.trickmap-body, .tabs-body {
  text-align: center;
}

.contentmap-body__item, .trickmap-body__item, .mypage-body__item, .tabs-body__item {
  /*position: absolute;*/
  width: 100%;
  margin: 0;
  opacity: 0;
  display: none;
  transition: all 0.6s ease-out;
}
.contentmap-body__item.on, .trickmap-body__item.on, .mypage-body__item.on, .tabs-body__item.on {
  opacity: 1;
  display: block;
}

/*
 * trick map
 */
.trickmap-body .medals {
    width: 100%;
    white-space: nowrap;
    margin: 1.5em 0 1em;
}
.trickmap-body .medals > div {
    display: inline-block;
}
.trickmap-body .medals > div.medal {
    width: 12%;
    cursor: pointer;
}
.trickmap-body .medals > div.medal div.stage div.name {
    display: none;
}
.trickmap-body .medals i {
    color: #888;
    margin: 0 4px;
}
.trickmap-body .medals > div.medal > div.stage {
    color: #fff;
    padding: 1ex 0.2em 0.6ex;
    font-size: 14px;
    font-weight: bold;
    border-radius: 16px;
}
.trickmap-body .medals > div.arrow-down {
    display: none;
}
@media screen and (max-width: 768px) {
  .trickmap-body .medals {
    width: 100%;
    white-space: nowrap;
    margin: 1.5em 0 1em;
  }
  .trickmap-body .medals > div {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: row-reverse;
  }
  .trickmap-body .medals > div.medal div.stage {
      width: 15em;
      padding: 4px 0;
      margin-left: 1em;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  .trickmap-body .medals > div.medal div.stage div.name {
      display: block;
      color: #fff;
      font-size: 120%;
  }
  .trickmap-body .medals > div.medal {
      /*    width: 12%;*/
      width: 100%;
  }
  .trickmap-body .medals > div.medal img {
      width: 60px;
  }
  .trickmap-body .medals i {
    color: #888;
    margin: 0 4px;
  }
  .trickmap-body .medals > div.medal > span.stage {
  }
  .trickmap-body .medals > div.arrow-right {
    display: none;
  }
.trickmap-body .medals > div.arrow-down {
    display: block;
}
}

.trickmap-body .medals > div.medal.beginner-stage > div.stage {
    background-color: var(--color-beginner-stage);
}
.trickmap-body .medals > div.medal.rookie-stage > div.stage {
    background-color: var(--color-rookie-stage);
}
.trickmap-body .medals > div.medal.middle-stage > div.stage {
    background-color: var(--color-middle-stage);
}
.trickmap-body .medals > div.medal.expert-stage > div.stage {
    background-color: var(--color-expert-stage);
}
.trickmap-body .medals > div.medal.master-stage > div.stage {
    background-color: var(--color-master-stage);
}

.trickmap-to-list {
  display: flex;
  justify-content: center;
  margin: 30px 0 20px;
}
.trickmap-to-list a {
  margin: 0 10px;
  width: auto;
  text-decoration: none;
}
.trickmap-to-list a:hover {
  opacity: 0.4;
}
.trickmap-to-list a button {
  padding: 8px 20px;
}
.achieved-mark {
  background-color: #eee;
}
.trickmap-howto {
    margin-bottom: 30px;
}
.trickmap-howto .icon-expand {
    width: 16px;
    height: 16px;
    margin-right: 0.5em;
}

@media screen and (max-width: 768px) {
  table.stages tr, table.stages td, table.stages th {
    display: block;
  }
  table.stages td.level_m_n {
    font-weight: bold;
  }
  table.stages.stage-1 td.level_m_n {
    border: 2px solid var(--color-beginner-stage);
    background-color: var(--color-beginner-stage-pale);
  }
  table.stages.stage-2 td.level_m_n {
    border: 2px solid var(--color-rookie-stage);
    background-color: var(--color-rookie-stage-pale);
  }
  table.stages.stage-3 td.level_m_n {
    border: 2px solid var(--color-middle-stage);
    background-color: var(--color-middle-stage-pale);
  }
  table.stages.stage-4 td.level_m_n {
    border: 2px solid var(--color-expert-stage);
    background-color: var(--color-expert-stage-pale);
  }
  table.stages.stage-5 td.level_m_n {
    border: 2px solid var(--color-master-stage);
    background-color: var(--color-master-stage-pale);
  }
}

table.stages .stage-title {
    border-radius: 10px 10px 0 0;
    border-width: 1px;
    border-style: solid;
}
.stage-title { color: #fff; }
.stage-1 .stage-title { background-color: var(--color-beginner-stage);
		        border-color:     var(--color-beginner-stage); }
.stage-2 .stage-title { background-color: var(--color-rookie-stage);
		        border-color:     var(--color-rookie-stage); }
.stage-3 .stage-title { background-color: var(--color-middle-stage);
		        border-color:     var(--color-middle-stage); }
.stage-4 .stage-title { background-color: var(--color-expert-stage);
		        border-color:     var(--color-expert-stage); }
.stage-5 .stage-title { background-color: var(--color-master-stage);
		        border-color:     var(--color-master-stage); }

table.stages .level_m_n {
  white-space: nowrap;
}

table.stages td.trick {
  padding: 1ex 0.5em;
  font-size: 16px;
  font-weight: bold;
}
table.stages td.trick-name {	/* list100 */
  font-weight: bold;
}

table.stages td.trick.achieved {
  background-color: #ffe4e1; /* mistyrose */
}

table.stages td.trick .trick-name a,
table.stages td.trick-name a {	/* list100 */
  color: inherit;
}
table.stages td.trick .trick-name a:hover {
  opacity: 0.6;
}

table.stages td.n_obj {
    text-align: center;
}

dialog.dialog-howto,
dialog.dialog-trickmovie {
  width: 80%;
  max-width: 720px;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 2.5em;
  border-radius: 2em;
  font-size: 16px;
  &::backdrop {
    background: rgba(0, 0, 0, 0.4);
    //transition: background .5s ease-in-out;
  }
}
@media screen and (max-width: 480px) {
  dialog.dialog-howto,
  dialog.dialog-trickmovie {
      width: 100%;
      padding: 2.5em 6px;
  }
}

dialog.dialog-trickmovie .video-container {
    margin: 0 auto 30px;
}
dialog.dialog-trickmovie .video-container .video {
    margin-top: 0;
}

dialog.dialog-howto p,
dialog.dialog-trickmovie p {
  /*display: none;*/
}
dialog .btn-close-top {
  position: absolute;
  right: 0px;
  top: 0px;
}
dialog .btn-close-top button {
  font-size: 32px;
}
dialog .btn-close-bottom {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

dialog.dialog-howto ul {
    padding-left: 20px;
}

dialog.dialog-trickmovie .title {
    position: relative;
    margin-right: 24px;
}
dialog.dialog-trickmovie .title h3 {
    margin-bottom: 0;
}
dialog.dialog-trickmovie .title .qfy {
    padding-left: 1em;
}
dialog.dialog-trickmovie .title .qfy .value {
    margin-left: 1em;
    font-weight: bold;
}
dialog.dialog-trickmovie .icons {
    width: 100%;
    position: absolute;
    top: 0;
  display: flex;
  justify-content: flex-end;
}
.dialog-trickmovie-inner .icons img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}
.dialog-trickmovie-inner .icons a.icon-bookmark i {
    font-size: 24px;
    margin-right: 12px;
    color: var(--color-club);
}
@media screen and (max-width:768px) {
    dialog.dialog-trickmovie .title {
	margin-bottom: 32px;
    }
    dialog.dialog-trickmovie .icons {
	top: 30px;
    }
}

/*
 * ranking map
 */
.rankingmap-top-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}
.rankingmap-top-head .rankingmap-count-records {
    font-weight: bold;
    border: 2px solid var(--color-ball);
    border-radius: 24px;
    padding: 2px 16px;
}

.updated-rankings .rankings {
    display: flex;
    flex-wrap: wrap;
}
.updated-rankings .rankings .ranking {
    width: 23%;
    border: 1px solid var(--color-ball-03);
    text-decoration: none;
    color: var(--cocoon-text-color);
    font-size: 16px;
    margin-right: 4px;
    padding: 6px;
    border-radius: 6px;
}
.updated-rankings .rankings .ranking:hover {
    opacity: 0.6;
}

@media screen and (max-width: 767px) {
  .updated-rankings .rankings .ranking {
	width: 32%;
  }
}
@media screen and (max-width: 480px) {
  .updated-rankings .rankings .ranking {
	width: 48%;
  }
}
.updated-rankings .rankings .ranking .equip {
    font-size: 80%;
}
.updated-rankings .rankings .ranking .trick-name {
    font-weight: bold;
}
.updated-rankings .rankings .ranking .updated {
    font-size: 80%;
}
.updated-rankings h2 {
    margin-bottom: 0;
}
.updated-rankings details summary {
    font-size: 14px;
}

.rankingmap-to-equips {
    display: flex;
    justify-content: center;
}
.rankingmap-to-equips div {
    width: 240px;
    position: relative;
}
.rankingmap-to-equips div img.comingsoon {
    opacity: 0.3;
}
.rankingmap-to-equips div div.comingsoon {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    line-height: 1;
}
@media screen and (max-width: 1023px) {
  .rankingmap-to-equips div {
    width: 23%;
  }
}

.rankingmap-genre-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.rankingmap-genre-list input[type="radio"] {
  display: none;
}
.rankingmap-genre-list label {
    width: auto;
    margin: 0 0.25em 6px;
    padding: 0 2px;
    text-align: center;
    border: var(--color-club) 1px solid;
    border-radius: 6px;
    font-size: 16px;
}
.rankingmap-genre-list input[type="radio"]:checked + label {
  background-color: var(--color-club);
  color: #fff;
}


.rankingmap-period {
  display: flex;
  justify-content: center;
}
.rankingmap-period input[type="radio"] {
  display: none;
}
.rankingmap-period label {
  padding: 0 6px;
  margin: 0 0.4em;
  text-align: center;
  border: var(--color-ball) 1px solid;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.rankingmap-period input[type="radio"]:checked + label {
  background-color: var(--color-ball);
  color: #fff;
}

.rankingmap-sortby input[type="radio"] {
  display: none;
}
tr.rankingmap-sortby {
    line-height: 1.5;
}
tr.rankingmap-sortby th {
    padding: 0;
}
.rankingmap-sortby label {
    width: auto;
  padding: 0 1em;
  margin-bottom: 3px;
  display: inline-block;
  text-align: center;
  border: var(--color-ring) 1px solid;
  border-radius: 12px;
    font-size: 12px;
}
.rankingmap-sortby input[type="radio"]:checked + label {
  background-color: var(--color-ring);
  -color: #fff;
}

.rankingmap-n_var {
  margin-top: -1em;
  margin-bottom: 12px;
}
@media screen and (max-width: 600px) {
  .rankingmap-n_var {
    overflow-x: scroll;
  }
}
.rankingmap-n_var .n_var-labels {
  white-space:nowrap;
  text-align: center;
}
.rankingmap-n_var label {
    width: auto;
  padding: 0 0.8em;
  margin: 0 2px;
  display: inline-block;
  text-align: center;
  border: var(--color-ring) 1px solid;
  border-radius: 12px;
    font-size: 14px;
}
.rankingmap-n_var input[type="radio"]:checked + label {
  background-color: var(--color-ring);
  -color: #fff;
}

.rankingmap-trick .has-more {
    display: flex;
    justify-content: center;
}

.records .count-value {
    text-align: right;
    border-right: none;
    padding-right: 2px;
}
.records .count-type {
    border-left: none;
    padding-left: 2px;
}
.records .icon-equip {
    min-width: 1.5em;
    width: 1.5em;
}
.records .icon-play {
    width: 1.5em;
}
.records .icon-nice-jugg {
    width: 1.2em;
}
.records .icons-bm-nj {
    padding-left: 1em;
}
.records .icons-nice-jugg.on img.icon-nice-jugg.off,
.records .icons-nice-jugg.off img.icon-nice-jugg.on {
    display: none;
}
.records.records-by-trick .date-play a {
  position: absolute;
  right: 0;
}

#records h3.title-equip-genre {
    margin-bottom: 0.5em;
}
#records .to-rankingmap-genre {
    margin-bottom: 8px;
}
#records .to-rankingmap-genre a {
    font-size: 14px;
    text-decoration: none;
    margin-left: 0;
}
#records .to-rankingmap-genre a .title {
    background: #ddd;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
}

.records a.icon-bookmark i,
#records a.icon-bookmark i {
  font-size: 24px;
  margin-right: 4px;
  color: var(--color-club);
}
#records a.icon-bookmark i {
  margin-left: 0.5em;
}
@media screen and (max-width: 767px) {
  .records a.icon-bookmark i,
  #records a.icon-bookmark i {
      font-size: 16px;
  }
}


#records .rank,
#records .count {
    text-align: right;
}

#records img.number {
    width: 24px;
    height: 24px;
}

.records.by-juggler .date-play-R { display: none }

@media screen and (max-width: 767px) {
    .records.by-juggler {
	th.memo-public { display: none; }
	th.memo-private { display: none; }
	th.memo { display: none; }
	th.actions { display: none; }
    }
    .records.by-juggler th,
    .records.by-juggler td {
	display: inline-block;
    }
    .records.by-juggler .equip {
	width: 8%;
    }
    .records.by-juggler .trick-name {
	width: 42%;
    }
    .records.by-juggler .n-obj {
	width: 5%;
    }
    .records.by-juggler .count-title {
	width: 15%;
    }
    .records.by-juggler .count-value {
	width: 9%;
    }
    .records.by-juggler .count-type {
	width: 36%;
    }
    .records.by-juggler .date-play-L {
	width: 25%;
    }
    .records.by-juggler .date-play-R {
	width: 80%;
	padding-left: 55%;
    }
    .records.by-juggler td.memo {
	width: 100%;
	padding-left: 10%;
    }
    .records.by-juggler td.memo-public {
	width: 100%;
	padding-left: 10%;
    }
    .records.by-juggler td.memo-private {
	width: 100%;
	padding-left: 10%;
    }
    .records.by-juggler td.actions {
	width: 20%;
    }
    .records.by-juggler td.memo-none {
	display: none;
    }
    .records.by-juggler .date-play-L { display: none }
    .records.by-juggler .date-play-R { display: inline-block }
}

/*
 * PC 用の search
 */

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

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

#search-menu-input_pc:checked ~ #search-menu-content_pc {
  transition: 0.3s ease-in-out;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  opacity: 1;
}

#search-menu-content_pc .search-edit {
  font-size: 16px;
}

/*
 * 新規登録
 */
@media screen and (min-width: 1024px) {
  .register-wrapper {
    display: flex;
    justify-content: center;
  }
  .register-wrapper > div {
    flex-basis: 50%;
 }
 .register-buttons {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
 }
 .register-members-can-do {
  padding-left: 20px;
  font-size: 14px;
  border-left: solid 2px #ddd;
 }
 .register-members-can-do .cando-boxes {
  display: flex;
  flex-wrap: wrap;
 }
 .register-members-can-do .cando-box {
     flex: 1 1 45%;
 }
}
@media screen and (max-width: 1023px) {
  .register-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .register-wrapper > div {
      flex-basis: 50%;
  }
 .register-buttons {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
 }
  .register-members-can-do {
    padding-left: 20px;
  }
 .register-members-can-do .cando-boxes {
  display: flex;
  flex-wrap: wrap;
 }
 .register-members-can-do .cando-box {
     flex: 1 1 95%;
 }
}
@media screen and (max-width: 834px) {
  .register-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .register-members-can-do {
      max-width: 460px;
  }
}
@media screen and (max-width: 480px) {
}

.register-wrapper a {
    width: 100%;
    text-decoration: none;
}
.register-wrapper a:hover {
    opacity: 0.4;
}

.register-members-can-do p {
    display: none;
}

.register-members-can-do .cando-title {
  font-weight: bold;
  font-size: 120%;
  text-align: center;
}
.register-members-can-do .cando-box {
  border: solid 1px #333;
  padding: 1em;
  width: 45%;
  margin: 0.5ex;
}
.register-members-can-do .cando-box .cando-box-number {
  font-weight: bold;
  background-color: #333;
  color: #fff;
  padding: 2px 8px;
  margin-right: 4px;
}
.register-members-can-do .cando-box .cando-box-title {
    display: inline-block;
  font-weight: bold;
}
.register-members-can-do .cando-box .cando-box-title .red {
  color: red;
}
.register-members-can-do .cando-box .cando-box-desc {
    font-size: 90%;
    margin-top: 1ex;
}

/*
 * .menu-drawer
 */
@media screen and (max-width: 480px) {
    .menu-content {
	max-width: 90%;
    }
}
.menu-content .menu-drawer {
    padding: 0 0 30px 0.5em;
}
.menu-drawer > li > a,
.menu-drawer > li > div {
    font-weight: bold;
    font-size: 18px;
    padding: 6px;
}
.menu-drawer > li ul.sub-menu {
    padding-left: 0;
}
.menu-drawer > li ul.sub-menu li {
    font-weight: normal;
}

.menu-drawer > li > a > img.record {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

/*
 * Q & A
 */
.qa-wrapper .list_qa {
  margin-bottom: 2em;
}
.article .qa-wrapper h4 {
  margin-bottom: 1em;
}
.article .qa-wrapper h4 ~ p {
  margin-bottom: 1em;
}
.qa-wrapper summary ~ p {
  margin-left: 1em;
}
.qa-wrapper details:open {
  background: #f0f0f0;
}
.qa-wrapper details:open summary {
  background: #ffffff;
}

/*
 * コレクション選択
 */
dialog.dialog-select-collection {
  width: 80%;
  max-width: 640px;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 2.5em;
  border-radius: 2em;
  font-size: 16px;
  &::backdrop {
    background: rgba(0, 0, 0, 0.4);
  }
}
dialog.dialog-select-collection .title {
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #333;
  text-align: center;
}
dialog.dialog-select-collection button {
  width: 100%;
  font-size: 20px;
}
dialog.dialog-select-collection button:hover {
  color: #000;
  opacity: 0.6;
  background-color: #ddd;
}
@media screen and (max-width: 480px) {
  dialog.dialog-select-collection {
      width: 100%;
      padding: 2.5em 6px;
  }
}

/*
 * 記録する
 */
dialog.dialog-select-a-trick {
  width: 80%;
  max-width: 720px;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 2.5em;
  border-radius: 2em;
  font-size: 16px;
  &::backdrop {
    background: rgba(0, 0, 0, 0.4);
    //transition: background .5s ease-in-out;
  }
}
@media screen and (max-width: 480px) {
  dialog.dialog-select-a-trick {
      width: 100%;
      padding: 2.5em 6px;
  }
}

.record-wrapper h2.title-with-equip {
    margin-bottom: 0;
    display: none;
}
.record-wrapper .link-to-records {
    display: flex;
    justify-content: flex-end;
    margin: -30px 0 1ex;
    font-size: 100%;
}
.record-wrapper .link-to-records a {
    text-decoration: none;
}
.record-wrapper .link-to-records a:first-child {
    margin-right: 1em;
}

.record-wrapper .list-in-out-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2em;
}
.record-wrapper ul.tabs[data-tabs-group="list-in-out"] {
    width: 16em;
}

.record-wrapper ul.tabs[data-tabs-group="list-in-out"] .tabs__link.on {
    background-color: #fff;
    color: inherit;
}

.record-wrapper .tabs-body[data-tabs-group="list-in-out"] {
    margin-top: 1em;
}

.record-wrapper .form-wrapper {
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
}
.record-wrapper .form-wrapper form#formRecord {
    width: 768px;
    max-width: 98%;
}

@media screen and (max-width: 1024px) {
  form#formRecord input[name="trick_name"] {
    width: 100%;
  }
}
form#formRecord input[name="trick_name"].valid {
    background-color: rgba(116, 192, 143, 0.3);
}
form#formRecord input[name="trick_name"].invalid {
    background-color: rgba(255,0,0,0.2);
}
form#formRecord select {
    width: auto;
    margin-right: 0.5em;
}
form#formRecord select[name="n_obj"] option {
    text-align: center;
}
form#formRecord a.select-a-trick:nth-child(n+2) {
    margin-left: 1.0em;
}
@media screen and ( max-width: 480px ) {
  form#formRecord a.select-a-trick:nth-child(n+2) {
    margin-left: 0.2em;
  }
}
form#formRecord .date-count-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}
form#formRecord .date-count-wrapper table {
    width: auto;
}
form#formRecord input[name="count_value"] {
    max-width: 6em;
}
form#formRecord .note.note-is-public {
    text-align: left;
    font-size: 80%;
    padding-left: 1em;
    max-width: 40em;
}
form#formRecord .note.note-url-movie {
    text-align: left;
    font-size: 80%;
    padding-left: 1em;
}
form#formRecord button {
    margin-top: 1.5em;
    font-size: 18px;
}
.record-wrapper form#formRecord .note-on-others {
    text-align: left;
    max-width: 32em;
    font-size: 80%;
    margin: 1ex 0;
    display: inline-block;
}
.record-wrapper a.select-from-table:first-child {
    margin-right: 1em;
}

dialog.dialog-record-submit {
  width: 80%;
  max-width: 480px;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 2.5em;
  border-radius: 2em;
  font-size: 16px;
  &::backdrop {
    background: rgba(0, 0, 0, 0.4);
    //transition: background .5s ease-in-out;
  }
  text-align: center;
}
@media screen and (max-width: 480px) {
  dialog.dialog-record-submit {
      width: 80%;
      padding: 2.5em 6px;
  }
}

/*
 * ジャグリングジャーニー MAGAZINE
 */
body.category-30 #header,
body.categoryid-30.single-post #header {
    display: none;
}
body.category-30 .article-header.category-header {
    padding-top: 1em;
}
body.category-30 .article-header.category-header .cat-label,
body.categoryid-30.single-post .cat-label {
    display: none;
}
body.category-30 #archive-title {
    display: none;
}
body.category-30 article .cat-label {
    display: none;
}

body.categoryid-30.single-post #pager-post-navi {
    display: none;
}

body.category-30   .bookmark-icon,
body.categoryid-30 .bookmark-icon {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}
body.category-30   button.icon-bookmark,
body.categoryid-30 button.icon-bookmark {
    border: none;
    background-color: #fff;
}
body.category-30   .icon-bookmark i,
body.categoryid-30 .icon-bookmark i {
    font-size: 24px;
    margin-right: 4px;
    color: var(--color-club);
}
