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

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

/*グローバルメニューの高さ*/
#navi .navi-in > ul li{
	height: 40px;
	line-height: 40px;
}

/*プルダウンメニュー折り返し禁止*/
#navi .caption-wrap .item-label {
white-space: nowrap;
}

body.home #content-top {
    display: none;
}

/*前へ次へボタンの調整*/
.is-style-outline a {
    border: 1px solid!important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	padding: 0.1em;	
}

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

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

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


/*フロント固定ページのタイトルを非表示*/
.home-page.page .entry-title{
  display: none;
}

/*固定ページ全てをまとめて非表示*/
.page .sns-share,
.page .sns-follow,
.page .date-tags,
.page .author-info{
  display: none;
}

.grecaptcha-badge { visibility: hidden; }

/***********************************
** ランディングページ・モバイルフッターメニュー非表示
***********************************/

/* 文字やアイコンを非表示 */
.page-id-739 .mobile-menu-buttons .sidebar-menu-icon, 
.page-id-739 .mobile-menu-buttons .sidebar-menu-caption, 
.page-id-739 .mobile-menu-buttons .search-menu-caption,
.page-id-739 .mobile-menu-buttons .home-menu-caption, 
.page-id-739 .mobile-menu-buttons .home-menu-icon {
    display: none;
}


/***********************************
** 目次ｸﾘｯｸで飛ぶ時に見出しが見やすい位置調整
***********************************/
span[id^="toc"] {
padding-top: 3.5em;  /* 数値変更で調整可能 */
}


/*---------------------------------
 ReCaptchaロゴを非表示
--------------------------------*/
.grecaptcha-badge { visibility: hidden; }

/*---------------------------------
ボックス（白抜き）の枠の色と太さを変える
--------------------------------*/
.blank-box {border-width: 1px; border-color: #CCCCCC; margin-left: 0px; margin-right :0px;} /* 枠の太さと灰色の変更 */

.blank-box.bb-yellow {border-color: #FAB162; margin-left: 0px; margin-right :0px;} /* 黄色 */

.blank-box.bb-red {border-color: #FD8FA3; margin-left: 0px; margin-right :0px;} /* 赤色 */

.blank-box.bb-blue {border-width: 5px; border-color: #003f8e; margin-left: 0px; margin-right :0px;} /* 青色 */

.blank-box.bb-bblue {border-width: 1px; border-color: #003f8e; margin-left: 0px; margin-right :0px;} /* 青色 */

.blank-box.bb-green {border-color: #95CE4B; margin-left: 0px; margin-right :0px;} /* 緑色 */

/* — コンタクトフォーム7　送信ボタンのカスタマイズ — */
input.wpcf7-submit {
padding:1em !important;/* ボタン内の余白 */
margin:2em 0em !important;/* ボタンの上下の余白 */
background-color: #003f8e !important;/* 背景の色 */
border-radius: 5px !important;/* 角を丸く*/
color: #fff !important;/* 文字の色*/
font-size: 18px !important;/* 文字の大きさ */
font-weight: bold !important;/* 文字の太さ*/
width: 50%;/* ボタンの横幅*/
transition:0.5s;/* 背景色が変わるまでの時間*/
box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.10);/* 薄っすらとボタンにドロップシャドウをかける*/
}

input.wpcf7-submit:hover {
background-color:#2991c8 !important;/* マウスを乗せたときの背景色 */
color: #fff !important;/* マウスを乗せたときの文字の色 */
}

.btn-submit {
    width: 100%;
    text-align: center;
}

/***********************************
** クリックで表示／非表示切り替え
***********************************/

/*ボックス全体*/
.switchbox {
    margin: 10px 0;
    padding: 0;
}
/*ラベル*/
.switchbox label {
    display: block;
    cursor :pointer;
}
/*チェックボックスを非表示にする*/
.switchbox input {
    display: none; 
}
/*中身を非表示にしておく*/
.switchbox div {
    height: 0;
    overflow-y: hidden;
    transition: 0.8s;/*ゆっくり表示させる*/
    opacity: 0;
}
/*クリックで中身を表示*/
.switchbox input:checked + label + div {
    height: auto;
    opacity: 1;
}
/*アイコン*/
.switchbox label::before {
    content: '\f067';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding-right: 8px;
}
/*クリックでアイコン入れ替え*/
.switchbox input:checked + label::before {
    content: '\f068';
}

@media screen and (max-width: 1023px) {
    body:not(.home) #navi-in {
        display: none;
    }
}

#navi .navi-in > ul > li{
  border-left: 1px solid #cccccc;
}

#navi .navi-in > ul > li:last-child{
  border-right: 1px solid #cccccc;
}

.navi-in > ul > .menu-item-has-children > a::after{
  right: 10px;
} 

/*---------------------------------
 イメージに影をつける
--------------------------------*/
.shadow_img {
    box-shadow: 3px 3px 15px -5px #767676;
}

/* 画像に影を付ける */
.b-shadow07{
	box-shadow:0px 0px 0px 8px #fff
	,5px 5px 10px 8px #767676;
}

/* 画像に枠線を付ける */
figure.frame img {
    border: solid 1px #808080;
    padding: 2px;
    box-shadow: 5px 5px 5px #d3d3d3;
}

.main {
  padding: 10px 20px;
}

.woocommerce-account .main {
  padding: 0px 20px;
}

.breadcrumb.pbp-main-before {
    margin: 10px auto 0;
    padding: 0 1em;
    line-height: 4em;
}

.woocommerce-account .breadcrumb.pbp-main-before {
    line-height: 1.5em;
}

#nav_menu-7 {
  margin-bottom: 0.8em!important;
}

.content-top {
  margin: 1em 0 0;
}

.breadcrumb.pbp-main-before + .content {
    margin-top: 0px;
}

#main .wp-block-columns.nav_menu_img:not(.is-not-stacked-on-mobile) > .wp-block-column {
    margin-left: 1px;
}

@media (max-width: 781px) {
    #main .wp-block-columns.nav_menu_img:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 33%!important;
        margin-bottom: 1px;
    }
}

/***********************************
** 受講者用スタイル
***********************************/

#content-top {
    background-color: #cccccc;
}

#content-top .menu {
    display: flex;
    justify-content: center;
    padding-left: 10px;
    flex-wrap: wrap;
}

#content-top .menu li {
    border-left: 1px solid #fff;
    width: auto;
}

#content-top .menu li:last-child {
    border-right: 1px solid #fff;
}

#content-top .menu li a {
    padding: 0 10px!important;
    font-size: 17px;
}

/* 記憶あれこれ知恵袋背景色*/

.is-style-question-box, .question-box, .question {
    background: rgb(255, 255, 255);
    border: 0;
    border-radius: 0;
}

.question-template-default .mce-notification {
    display: none;
}

/* WooCommerceの「リンクリスト非表示」*/
.woocommerce-MyAccount-navigation {
display:none;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float:  none!important;
    width: 100%!important;
}

/************************************
** ■見出しカスタマイズ（h1）
************************************/
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{ /*見出し初期化*/
  padding: 0;
  margin: 0;
  font-size: medium;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  line-height: normal;
  position:relative;
}

.article h1{ /*見出し１（タイトル）カスタマイズ*/
  background: #cccccc; /*背景カラー*/
  font-size: 26px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: -8px -8px 20px -8px;
  padding: 9px 10px 9px 10px;
  border-left: 10px solid #828f99; /*左ラインの太さとカラー*/
  line-height: 35px; /*高さ*/
  border-bottom: 1px solid #828f99; /*アンダーラインの太さとカラー*/
  }

.article h2{ /*見出し２カスタマイズ*/
  background: #dddddd; /*背景カラー*/
  font-size: 24px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 10px 7px 10px 10px;
  border-left: 8px solid #cccccc; /*左ラインの太さとカラー*/
  line-height: 27px; /*高さ*/
  border-bottom: 1px solid #cccccc; /*アンダーラインの太さとカラー*/
  }
  

.article h2 > img {
  position: relative;
  top: 4px;
}

.article h3{ /*見出し3カスタマイズ*/
  background: #eaeaea; /*背景カラー*/
  font-size: 22px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 9px 7px 9px 10px;
  border-left: 6px solid #dddddd; /*左ラインの太さとカラー*/
  line-height: 25px; /*高さ*/
  border-bottom: 1px solid #dddddd; /*アンダーラインの太さとカラー*/
  }

.article h3 > img {
  position: relative;
  top: 4px;
}

  
.article h4{ /*見出し4カスタマイズ*/
  background: #f2f2f2; /*背景カラー*/
  font-size: 20px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 8px 7px 8px 10px;
  border-left: 4px solid #eaeaea; /*左ラインの太さとカラー*/
  line-height: 23px; /*高さ*/
  border-bottom: 1px solid #eaeaea; /*アンダーラインの太さとカラー*/
  }
  
.article h5{ /*見出し5カスタマイズ*/
  background: #f7f7f7; /*背景カラー*/
  font-size: 18px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 5px 5px 5px 5px;
  border-left: 2px solid #f2f2f2; /*左ラインの太さとカラー*/
  line-height: 21px; /*高さ*/
  border-bottom: 1px solid #f2f2f2; /*アンダーラインの太さとカラー*/
  }
  
.article h6{ /*見出し6カスタマイズ*/
  background: #ffffff; /*背景カラー*/
  font-size: 16px; /*フォントサイズ*/
  letter-spacing: 1px; /*文字間隔*/
  margin: 35px -8px 20px -8px;
  padding: 5px 5px 5px 5px;
  border-left: 1px solid #f7f7f7; /*左ラインの太さとカラー*/
  line-height: 19px; /*高さ*/
  border-bottom: 1px solid #f7f7f7; /*アンダーラインの太さとカラー*/
  }

.padding-0{
	padding: 0px;
}

/************************************
**商品ページの「説明」h2タグを非表示に
************************************/

body.single-product #tab-description h2 {
    display: none; 
}
body.single-product #tab-description .wp-block-columns {
    display: none;
}

/************************************
**2カラムの順を逆にする場合
************************************/
@media screen and (max-width: 599px) {
  .inverted {
    flex-direction:column-reverse!important;
  }
}

/************************************
** ■FAQトグルボックス
************************************/
.toggle-button {
    background: #fff;
    text-align: left;
    font-weight: bold;
    box-shadow: 0 2px 6px 0px #ddd;
    border: none;
    padding: 1em;
}
.toggle-button::before,
.toggle-checkbox:checked~.toggle-button::before {
    content: 'Q';
    color: #f89174;
    font-size: 1em;
    margin-right: 1em;
}
.toggle-button::after,
.toggle-checkbox:checked~.toggle-button::after {
    font-family: "Font Awesome 5 Free";
    content: '\f107';
    color: #f89174;
    font-size: 1em;
    font-weight: bold;
    position: absolute;
    right: 2em;
    transition: 0.3s;
}
.toggle-checkbox:checked~.toggle-button::after {
    transition: 0.3s;
    transform: rotate(180deg) translateY(3px);
}
.toggle-checkbox:checked~.toggle-content {
    background: #e5f2ff;
    margin-top: 10px;
    border: none;
    padding: 1em;
}
.toggle-checkbox:checked~.toggle-content p:first-of-type::before {
    content: 'A';
    color: #7499f7;
    font-size: 1em;
    font-weight: bold;
    margin-right: 1em;
}

.video-container,
.instagram-container,
.facebook-container {
    margin: 0px 0 10px 0;
}

.video-container .video {
    margin-top: 0;
}

.menu-drawer > li > a {
    font-weight: bold;
    color: #003f8e;
    padding: 5px;
}

.menu-drawer > li > ul > li > a {
    color: #333;
    font-size: 90%;
    line-height: 1.2;
    padding: 3px;
}

/* 左右に15px余白 */
.box-padding15 {
  padding: 0px 15px 0px 15px;
}

/* 四方に5px余白 */
.box-padding5 {
  padding: 5px 5px 5px 5px;
}

/************************************
** 光る画像 ボツ
************************************/
.reflection{
display:inline-block;
position:relative;
overflow:hidden;
}
 
.reflection:after {
content:"";
height:100%;
width:30px;
position:absolute;
top:-180px;
left:0;
background-color: #fff;
opacity:0;
-webkit-transform: rotate(45deg);
-webkit-animation: reflection 2s ease-in-out infinite;
}
 
@keyframes reflection {
0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/*画像中央合わせ*/
.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/************************************
** 光る画像
************************************/

.c-button._shiny {
    display: block;
    position: relative;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 300ms;
}
.c-button._shiny::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

.c-button._shiny:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

/************************************
** コース進行状況
************************************/

.tutor-card-body .tutor-icon-purchase-mark {
    line-height: 100%!important;
}

.tutor-card-body .tutor-icon-calender-line {
    color: #65153a;
font-size: 1.3em;
}

.tutor-card-body .enrolment-expire-info span {
    color: #65153a;
    font-weight: bold;
}


/* 画像キャプションを中央寄せにする処理 */
.wp-block-image figcaption {
	text-align: center;
}


.youtube-frame {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}

.youtube-frame iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

.tutor-dashboard-header-stats {
    display: none;
}

/*商品ページレイアウト変更*/
body.single-product .woocommerce .entry-summary {
    position: relative;
}

body.single-product .woocommerce div.product form.cart {
    position: absolute;
    top: 2.5em;
    left: 0px;
    font-size: 1.2em;
}

body.single-product .woocommerce .summary .price {
    font-weight: bold;
    font-size: 1.8em;
}


/*フルスクリーン*/
.image-full {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.image-full img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto; /* 左右のマージンを auto に */
}

p.am-ec__period-date {
    display: flex;
}

.am-ec__period-date__day {
    order: 2;
}

.am-ec__period-date__day::after {
    content: "日";
}

.am-ec__period-date__month {
    order: 1;
}

/*
.am-ec__period-date__month::after {
    content: "月";
}
*/

.video-container {
margin: 0px auto;
}