/*
Theme Name: ラボラトリーズの子テーマ
Theme URI: https://www.notoinsatu.co.jp/
Description: WordPressテーマ「ラボラトリーズ」の子テーマです。
Template: laboratories-theme
Author: 能登印刷株式会社
Author URI: https://www.notoinsatu.co.jp/
Version: 1.0.0
*/




/*--------------------------------------------------------------
言語切り替えボタン
--------------------------------------------------------------*/

.btn-lang {
  display: flex;
  margin:  0 0 30px;
  justify-content: space-between;
}

.btn-3 .btn-lang > div {
  text-align: center;
  width: 31%;
}

.btn-2 .btn-lang > div {
  text-align: center;
  width: 48%;
}

.btn-lang a {
  border: 2px solid #1581d3;
  border-radius: 200px;
  display: block;
  font-size: 1.3rem;
  padding: 3px 5px 2px;
}

.btn-lang .current a,
.btn-lang a:hover {
  background: #1581d3;
  color: #fff;
  opacity: 1;
}


/*--------------------------------------------------------------
English、中文
--------------------------------------------------------------*/

.pg-chinese .hm-image,
.pg-english .hm-image {
  margin-bottom: 80px;
}

.pg-chinese .entry-header,
.pg-english .entry-header {
  display: none;
}

@media screen and (max-width: 1023px) {
  .pg-chinese  .entry-content,
  .pg-english  .entry-content {
    margin-top: 0;
  }
}

.page-template-tp_ch_tobira .main-menu,
.page-template-tp_chinese .main-menu,
.page-template-tp_en_tobira .main-menu,
.page-template-tp_english .main-menu {
  border-bottom: 4px dotted #d6d6d6;
  border-radius: 0;
}

.page-template-tp_ch_tobira .nv-chinese,
.page-template-tp_chinese .nv-chinese,
.page-template-tp_ch_tobira .main-menu > li:last-child,
.page-template-tp_chinese .main-menu > li:last-child,
.page-template-tp_en_tobira .nv-english,
.page-template-tp_english .nv-english,
.page-template-tp_en_tobira .main-menu > li:last-child,
.page-template-tp_english .main-menu > li:last-child {
  display: none; 
}

@media screen and (max-width: 1023px) {
  .custom-wrapper .main-menu li.nv-chinese,
  .custom-wrapper .main-menu li.nv-english {
    display: none; 
  }
}

.pg-chinese .entry-content,
.pg-english .entry-content {
  margin-top: 50px;
}

@media screen and (max-width: 1023px) {
  .pg-chinese .entry-content,
  .pg-english .entry-content {
    margin-top: 0;
  }
}

@media screen and (max-width: 1023px) {
  .custom-toggle {
    top: 22px;
  }
}


