@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.1
*/

/************************************
** ■全体ボディ・メインなど
************************************/
/*全体ボディ*/
body {
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  background-color: #fff;
  background-size:contain;
  background-position: center top;
  font-weight: 300;
  font-family: 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}
.content {
  margin-top: 0px;
}
#container {
	margin-top: 19%;
}
p,
.paragraph {
  margin: 1em 0;
}
.content-in {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.main {
  border: 0;
  border-radius: 0;
  position: relative;
  background-color:rgba(255,255,255,0);
  box-sizing: border-box;
  border-bottom: 2px solid #ddd;
  padding: 20px 29px 0px;
}

/************************************
** ■ボディ
************************************/
/* 全体ページのbodyメインコンテナ */
.maincon-body,.maincon-body2,.toppage-body{
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  margin: 0 auto;
  padding: 0 0 1% 0;
  border-collapse: collapse;
  border-spacing: 0;
  background-color:rgba(255,255,255,0.5);
  box-sizing: border-box;
  font-size: 0px;
  position: relative;
}
.maincon-body {
background:rgba(255,255,255,0.5) url(https://kubo-kougyo.info/images/campany-logo.png) no-repeat right 60px top 40px / 15% auto;
}
/* 各ページ（フロントページ以外）メイン内コンテナ */
.all-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  flex-basis: 90%;
  margin-top:0;
}

/************************************
** ■ヘッダー固定
************************************/
/*ヘッダー*/
.header-container {
  background-color:rgba(0,0,0,1);
}
/*ロゴ背景色*/
.logo {
    background-color:rgba(0,0,0,1);
}
/*ヘッダー メニュー固定*/
[id^="toc"]:target {
  padding-top: 85px;
  margin-top: -85px;
}
#header-container {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 10;
}
/*ヘッダー固定・入替*/
.header-container-in.hlt-top-menu .logo-header img {
  max-height: 100%;
  height: auto;
  max-width: 400px;
  vertical-align: middle;
  margin: 10px;
  background-color:rgba(0,0,0,1);
}
.header-container-in.hlt-top-menu .logo-header {
  max-height: 100%;
}
.header-small {
  background-color:rgba(0,0,0,0.5);
}
.header-small .header-container-in.hlt-top-menu .logo-header img {
  max-height: 40px;
  width: auto;
  margin: 10px 0;
  background-color:rgba(0,0,0,1);
}
.header-small .header-container-in.hlt-top-menu .logo {
    background-color:rgba(0,0,0,0);
}
/************************************
** ■ヘッダー内ナビ
************************************/
.navi{
    background-color:rgba(0,0,0,1);
}
.navi-in > ul li {
  height: 40px;
  line-height: 40px;
}
.navi-in >li {
  background-color:rgba(0,0,0,0);
}
/************************************
** ■ヘッダーグローバルメニュー
************************************/
/*リンクホーバー時*/
.navi-in a {
  text-align:center;
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 0.9375rem;
  letter-spacing: 0.1rem;
  position: relative;
  background-color:rgba(0,0,0,1);
}
.navi-in a:before{
  border-top: solid 2px #dd1111;
  top: 0;
  content: "";
  transition: all .3s ease;
  width: 0;
  position: absolute;
  left: 50%;
  display: block;
}
.navi-in a:hover:before {
  width: 50%;
  border-top: solid 2px #dd1111;
}
.navi-in a:after{
  border-top: solid 2px #dd1111;
  top: 0;
  content: "";
  transition: all .3s ease;
  width: 0;
  position: absolute;
  right: 50%;
  display: block;
}
.navi-in a:hover:after {
  width: 50%;
  border-top: solid 2px #dd1111;
}
.navi-in a:hover {
  background-color:#333;
  color: #fff;
}
.navi-in .current_page_item a {
  background:linear-gradient(180deg,#dd1111 0%,#dd1111 5%,rgba(0, 0, 0, 0.8) 5%,rgba(0, 0, 0, 0.8) 100%);
}
.navi-in .current_page_item a:hover {
  background:linear-gradient(180deg,#dd1111 0%,#dd1111 5%,rgba(0, 0, 0, 0.7) 5%,rgba(0, 0, 0, 0.7) 100%);
}
.sub-menu .item-label {
    text-align: left;
}

/************************************
** ■フロントページ以外・h1上部タイトル右横キャプション
************************************/
.caption-topbox{
  display: flex;
  flex-direction: row;
  flex-basis: 100%;
  justify-content: flex-end;
	position: relative;
	top:-35px;
}
.caption-text{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-basis: 50%;
  align-items: center;
  font-family: 'Play', sans-serif;
  color:#dd1111;
  font-size: 1.75rem;
  line-height: 4rem;
  letter-spacing:0.1rem;
  box-sizing: border-box;
	position: relative;
	top:0;
  border-top:3px solid #333;
  border-left:3px solid #333;
  padding:0 0 0 2%;
}
/************************************
** ■h1タイトル上記下各ページh2キャプションボックス
************************************/
.caption-underbox{
  display: block;
  width: 100%;
  max-width: 90%;
  position: relative;
  top:0;
  box-sizing: border-box;
}

/************************************
** ■見出し（h1-6）
************************************/
/*見出し*/
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
  line-height: 1.5;
  border-radius: 0;
  font-weight: 300;
}

/*見出し１*/
.article h1 {
  display: flex;
  flex-direction: row;
  flex-basis: 50%;
  max-width: 50%;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  letter-spacing:0.5rem;
  text-indent: 0.5rem;
  font-size: 1.75rem;
  line-height: 4rem;
  background-color: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  position: relative;
  top:50px;
  z-index: 1;
  border-bottom:3px solid #dd1111;
  padding-right: 2%;
}
.article h2 {
  display: inline-block;
  text-align: right;
  width: 100%;
  max-width: 50%;
  line-height: 0;
  border-bottom:2px solid #666;
  border-left:0;
  background-color:rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  letter-spacing:0.5rem;
  text-indent: 0.5rem;
  box-sizing: border-box;
  padding-right: 3%;
}
.article h3 {
  width: 100%;
  max-width: 100%;
  line-height: 1.5rem;
  border-left: 5px solid #333;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid #999;
  font-size: 1.25rem;
  margin: 1% auto;
  padding: 0.5% 0 0.5% 2%;
  box-sizing: border-box;
}

/************************************
** ■フッター
************************************/
.footer {
  margin-top: 0; 
  padding-top: 0;
  background-color:#fff;
}
.footer-bottom {
  margin-top: 0;
  padding: 1rem 0 2rem;
  background-color:#fff;
}
.copyright {
  display: none;
}
.footer-bottom-content {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  border-collapse: collapse;
  box-sizing: border-box;
}
.footer-bottom.fnm-text-width .menu-footer li {
  line-height: 1; /*メニューの区切りボーダーの高さを1文字分にする*/
}
/************************************
** ■フッターメニュー
************************************/
.navi-footer-in > .menu-footer li {
  padding: 0 1rem;
}
.navi-footer-in > .menu-footer li:last-child {
  padding: 0 1rem;
}
.navi-footer-in a {
  background-color:rgba(0,0,0,0);
  color:#999;
  display: block;
  font-size:1rem;
}
.navi-footer-in a:hover {
  background-color:rgba(0,0,0,0);
  transition: all 0.5s;
  color:#333;
}
.navi-footer-in .current_page_item a {
  background-color:rgba(0,0,0,0);
  color:#333;
}
.navi-footer-in .current_page_item a:hover {
  background-color:rgba(0,0,0,0);
  color:#333;
}
/************************************
** ■フッター下部追加PHPのCSS
************************************/
/*footer-insert内にphp記述*/
.footer-custom-setting-bottom{
  display: flex;
  flex-wrap:wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex-basis: 100%;
  background-color:#333;
}
.footer-company-logo{
  display: flex;
  justify-content: center;
  flex-basis: 32%;
  font-size:0;
}
.footer-company-logo a{
  text-decoration:none;
}
.footer-company-logo img{
  max-width: 250px;
  height: auto;
}
.footer-company-add{
  display: flex;
  flex-basis: 68%;
  color: #bebebd;
  font-size:0.875rem;
  padding-top: 0.5rem;
}
.copyright2 {
  display: block;
  color: #fff;
  font-size: 0.75rem;
  background-color:rgba(0,0,0,1);
  Padding:0.3rem 0;
  text-align:center;
}

/************************************
** ■モバイルグローバルメニュー左スライド
************************************/
/*閉じる用の薄黒カバー*/
#navi-menu-close,
#sidebar-menu-close,
#search-menu-close,
#share-menu-close,
#follow-menu-close {
  left: 0;
  height: 100%;
}
.menu-content .sidebar {
  width: 100%;
  display: block;
  margin: 0;
  background-color: #000;
}
/*スライドのメニュー中身*/
.menu-content {
  background:rgba(0,0,0,0.5);
  opacity: 0;
  height: 100%;
  overflow: hidden;
}
.menu-drawer a {
  color: #fff;
  letter-spacing:0.1rem;
  font-size: 1rem;
  padding:0.3rem 0 0.3rem 1rem;
  border-bottom:1px solid #666;
}
.menu-drawer a:hover {
  background-color:rgba(0,0,0,0);
  transition: all 0;
  color: #fff;
}
.menu-close-button {
  display: block;
  cursor: pointer;
  text-align: right;
  font-size: 1.25rem;
  opacity: 1;
  padding:15px 15px 0 0;
  color: #fff;
}
/************************************
** ■モバイル上部ボタンメニュー
************************************/
.mobile-menu-buttons {
  background: #000;
  box-shadow:0 -2px 6px gray;/* メニューに影をつける */
}
.navi-menu-button,
.mobile-menu-buttons .home-menu-button > a,
.search-menu-button,
.mobile-menu-buttons .top-menu-button > a,
.sidebar-menu-button{
  color: #fff;
}

/************************************
** ■上に戻るボタン
************************************/
.go-to-top-button {
  background-color: rgba(255,255,255,0.5);
}

/************************************
** ■各ページ下画像リンクボタン
************************************/
.page-bottom-ptlink{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  flex-basis: 100%;
  height: auto;
  background-color: rgba(0,0,0,0.8);
  box-sizing: border-box;
  margin-top: 2%;
}
.ptlink-box{
  display: inline-block;
  width: 100%;
  max-width: 40%;
  height: auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 2% auto 1%;
}
.ptlink-box * {
  box-sizing: border-box;
  transition: all 0.5s ease;
}
.ptlink-box a{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.ptlink-box figcaption {
  position: absolute;
  top: 80%;
  width: 100%;
  height: auto;
  background-color: rgba(0,0,0,0.8);
  padding: 0 0 7%;
}
.ptlink-box:hover figcaption,
.ptlink-box.hover figcaption {
  top:70%;
  background-color: rgba(0,0,0,0.5);
}
.ptlink-box-tit{
  display: inline-block;
  width: 100%;
  max-width: 100%;
  text-align:center;
  padding:0.5rem;
  margin:0;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.5rem;
  letter-spacing:0.2rem;
}
/* 上記コンテナ内画像 */
.ptlink-box img{
  vertical-align: top;
  width: 100%;
  height: auto;
}
/************************************
** ■フロントページ・メタスライダー内キャプション
************************************/
.metaslider .caption-wrap {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  justify-content: center;
  top: 50%; /* 黒枠の位置 */
  left: 0;
  height: 15%; /* 黒枠の縦幅 */
  background: rgba(0,0,0,0)!important;
  opacity: 1!important;
  text-shadow: 0px 0px 5px #333;
}
.metaslider .caption p.topcaptxt-bk{
  width: 100%;
  max-width: 100%;
  text-align:center;
  font-size: 2rem;
  color:rgba(255,255,255,1);
  line-height: 5rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing:0.5rem;
}
.metaslider .caption p.topcaptxt-bk span.topcaptxt-rd{
  font-size: 2.5rem;
  color:#dd1111;
}
/************************************
** ■MWWPForm自動返信文
************************************/
.mwwp-formbox {
  border: 1px solid #bebebd;
}
.mwwp-formbox p.mwwp-txt1 {
  text-align: center;
}
.mwwp-txt2 {
  text-align: right;
}

/************************************
** ■レスポンシブデザイン用のメディアクエリ
************************************/
/************************************
** ■1024px以上
************************************/
@media screen and (min-width: 1024px){
  /*必要ならばここにコードを書く*/
.mobile-header-menu-buttons .menu-button {
  display: none;
}
}

/************************************
** ■835px以上1023以下
************************************/
@media screen and (min-width: 835px)
and (max-width: 1023px){
.mobile-header-menu-buttons .menu-button {
  display: none;
}
.mobile-menu-buttons .menu-caption {
  display: none;
}
.mobile-menu-buttons {
  display: none;
}
#header-container {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 10;
  display: flex;
}
.header-container-in.hlt-top-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}
.header-container-in.hlt-top-menu .logo-header {
  display: flex;
  max-height: 100%;
}
.header-small .header-container-in.hlt-top-menu .logo-header {
  display: flex;
}
.header-container-in.hlt-top-menu .logo-header img {
  height: auto;
  max-width: 300px;
  vertical-align: middle;
  margin: 10px 10px 10px 0;
}
.navi-in a {
  font-size: 0.875rem;
  letter-spacing: 0;
}
.article h1 {
  font-size: 1.5rem;
}
.article h2{
  font-size: 1.25rem;
  letter-spacing:0.3rem;
}
}

/************************************
** ■834px以下
************************************/
@media screen and (max-width: 834px){
#container {
  margin-top: 12%;
}
.maincon-body {
  background:rgba(255,255,255,0.5) url(https://kubo-kougyo.info/images/campany-logo.png) no-repeat right 3% top 5% / 18% auto;
}
/************************************
** ■上部タイトルh1右横キャプション
************************************/
.caption-topbox{
	top:-35px;
}
.caption-text{
  font-size: 1.25rem;
  border-left:2px solid #333;
}
/************************************
** ■上部タイトルh1下キャプション
************************************/
.caption-underbox{
  max-width: 100%;
  top:-20px;
}
.article h1 {
  font-size: 1.5rem;
}
.article h2{
  font-size: 1.25rem;
  letter-spacing:0.3rem;
  text-indent: 0.3rem;
}
/* 各ページ項目コンテナ */
.all-container {
  flex-basis: 95%;
  margin-top:0;
}
/************************************
** パンくずリスト
************************************/
.breadcrumb {
  margin: 0 .4em;
}
/*フッター*/
.footer-bottom {
  padding: 0;
}
/*フッターメニュー*/
.navi-footer-in a {
  font-size:0.875rem;
}
.navi-footer-in > .menu-footer {
  margin: 0.5rem 0;
}
.navi-footer-in > .menu-footer li.menu-item {
  border:1px solid #bebebd;
  display: block;
  padding: 0.3rem 0;
  width: 48%;
  box-sizing: border-box;
}

/*フッター下追加*/
.footer-custom-setting-bottom{
  flex-direction: column;
  flex-basis: 100%;
  background-color:#333;
}
.footer-company-logo{
  flex-basis: 100%;
}
.footer-company-logo img{
  width: auto;
  max-height: 30px;
}
.footer-company-add{
 justify-content: center;
 flex-basis: 100%;
 font-size:0.75rem;
 padding-top: 0;
 text-align:center;
}
/************************************
** メタスライダー キャプション
************************************/
.metaslider .caption p.topcaptxt-bk{
  font-size: 1.375rem;
  line-height: 3rem;
  letter-spacing:0.3rem;
}
.metaslider .caption p.topcaptxt-bk span.topcaptxt-rd{
  font-size: 1.875rem;
}
/* 各ページ下画像リンクボタン */
.ptlink-box figcaption {
  top: calc(77%);
}
.ptlink-box:hover figcaption,
.ptlink-box.hover figcaption {
  top: 70%;
}
.ptlink-box-tit{
  padding:0.3rem;
  font-size: 1rem;
  line-height: 1.25rem;
}
}
/************************************
** ■480px以下
************************************/
@media screen and (max-width: 480px){
/* bodyメインコンテナ */
#container {
  margin-top:28%;
}
p,
.paragraph {
  margin: 0.5em 0;
}
body {
  background-position: center 50px;
}
.maincon-body .maincon-body2{
  flex-direction: column;
  top:0px;
}
.maincon-body {
  background:rgba(255,255,255,0.5) url(https://kubo-kougyo.info/images/campany-logo.png) no-repeat right 0 top 0px / 25% auto;
}
/* 各ページ項目コンテナ */
.all-container {
  flex-basis: 100%;
  margin-top:-30px;
}
/*見出し*/
.article h1 {
  letter-spacing:0.2rem;
  text-indent: 0.2rem;
  font-size: 1.25rem;
  line-height: 2rem;
  top:0px;
  padding-right: 1%;
}
.article h2{
  text-align: left;
  max-width: 100%;
	line-height: 1.4rem;
  font-size: 1.125rem;
  letter-spacing:0.1rem;
  text-indent: 0;
  padding:1% 0 1% 2%;
  box-sizing: border-box;
  margin-top: 0;
  background:rgba(255, 255, 255, 0);
}
/************************************
** ■上部タイトルh1右横キャプション
************************************/
.caption-topbox{
	top:-75px;
}
.caption-text{
  font-size: 1rem;
  line-height: 3.5rem;
  letter-spacing:0;
  top:0px;
  border-left:2px solid #333;
}
/************************************
** ■上部タイトルh1下キャプション
************************************/
.caption-underbox{
  max-width: 100%;top:-40px;
}
/* 各ページ下画像リンクボタン */
.page-bottom-ptlink{
  flex-basis: 100%;
  margin-top: 1%;
}
.ptlink-box{
  max-width: 50%;
  margin: 0;
}
.ptlink-box a{
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.ptlink-box figcaption {
  position: static;
  top: calc(70%);
  padding: 0 0 1%;
}
.ptlink-box:hover figcaption,
.ptlink-box.hover figcaption {
  top: 70%;
  background-color: rgba(0,0,0,0.2);
}
.ptlink-box-tit{
  padding:0.5rem;
  font-size: 0.9375rem;
  line-height: 1rem;
  letter-spacing:0;
}

/************************************
** メタスライダー キャプション
************************************/
.metaslider .caption-wrap {
  top: 50%; /* 黒枠の位置 */
  height: 15%; /* 黒枠の縦幅 */
}
.metaslider .caption p.topcaptxt-bk{
  font-size: 0.9375rem;
  line-height: 2rem;
  letter-spacing:0.1rem;
}
.metaslider .caption p.topcaptxt-bk span.topcaptxt-rd{
  font-size: 1.125rem;
}
}