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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* TOPページのイメージ画像を画面幅いっぱいに広げる */
.top_cover_image, .novtomch_slider {margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); width: auto;}

/* TOPページのバナー設定*/
#pickup { width: 660px; display: flex; flex-direction: row; justify-content: center; margin: 20px auto; }
.flex_pickup { width: 300px; height: 130px; background-color:#fffde3; padding: 10px 10px!important; border: 2px  #f49c2d solid; color: #333; margin-right: 20px;}
.flex_pickup a { text-decoration: none;}
.semi_title { font-size: 1.2rem; line-height: 1.6rem; font-weight: bold; color: #666; text-align: center;}
a:hover .semi_title { color: #f00; }
.semi_fee, .txt_fee { font-size: 1rem; line-height: 0.3rem; text-align: center;}

/* 「新入社員研修」の上部バナーの配置を指定 */
#training_flexbox_1, #training_flexbox_2 {display: flex; padding-bottom: 10px; width: 960px; margin: 0 auto;} 

/* 「外観」の「カスタマイズcss」で設定した#mainでコンテンツの左右のpaddingがなくなるので改めて設定 */
.entry-content{
	padding: 0 50px;
	margin-top: 0; /*カバーブロックの上のすきまをなくす*/
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"] {
	width: 60%;
	margin-bottom: 15px
}

/* オープンコースお申込み確認画面の受講料・教材費計算結果の表 */
    .total {
       width: 30%; 
    }

    .total .item {
       width: 30%;
       text-align: right;
    }

   .total_fee {
       text-align: right;
    }

     td {
	font-size: 1rem!important;
      }

/* 固定ページのTOP画像の設定 */
.full-cover {
    width: 100% calc(100% + 100px) !important;
    max-width: 100%  calc(100% + 100px) !important;
    margin-left: -50px !important;
    margin-right: -50px !important;
}

.mid-cover {display: none;}
.mobile-cover {display: none;}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1024px以下*/
@media screen and (max-width: 1024px){
	
	#header-container.header-container {height: 10px!important;}
	.full-cover {display: none !important;}
	.mid-cover {display: block !important;
		width: calc(100% + 100px) !important; /* 左右-50px分に合わせて+100px */
        max-width: calc(100% + 100px) !important;
		margin-left: -50px !important;
		margin-right: -50px !important;}
	.mobile-cover {display:none;}
}

/*599px以下*/
@media screen and (max-width: 599px){
	.btn.cocoon-block-button__width-25 {width: 80%;}
	.btn.cocoon-block-button__width-50 {width: 90%;}
	.btn.cocoon-block-button__width-75 {width: 100%;}
	#main {padding: 0px;}
	/* 新入社員研修のページここから */
	#training_flexbox_1, #training_flexbox_2 {display:flex; flex-direction: column; width: 300px; margin: 0 auto;} /* 上部のバナーを縦に並べる*/
	[id^="bnnr_"] { padding-bottom: 10px;} /* 縦に並べたときのバナーの下を開ける */
	/* 新入社員研修のページここまで */
	.entry-content {padding: 0 20px;} /* 全体のpadding */
	.pagetitle {font-size: 50%;}
	/* .has-text-align-center {text-align: center;} */
	.article h2 {text-align: center;}
	.article h3 {width: 100%;} /*オープンコースのお申込みのために指定。他で影響がでたら修正すること*/
	/* TOPページのテキストバナー表示ここから */
	#pickup {display: flex; flex-wrap: wrap; width: 300px; }
	.flex_pickup {margin-bottom: 8px;}
	/* TOPページのテキストバナー表示ここまで */
	#open_exp {margin-left: 0px!important;} /*オープンコース一覧ページの紹介文の左マージンを０にする*/
	#month_btn ul{margin-left: 0px!important; padding-left: 0px!important;} /*オープンコース一覧ページの月へジャンプするボタンの左マージンを０にする*/
	.behave {width: 100%!important;} /* SDGsの取り組みページの"メディアとテキスト"ブロックの幅設定*/
	#header-container.header-container {height: 10px!important;}
	#open_exp { margin-left: 0;}
	.wpcf7 input[type="text"], .wpcf7 input[type="email"]{width: 100%!important;} /* お申込みフォームのテキスト */
	.wpcf7 input[id^="itex_"] {width: 20%!important;} /* オープンコースお申込みフォーム受講者のIT経験年数 */
  /*計算後の費用合計一覧表ここから*/
    .total {width: 60%;}
    .total .item {width: 40%; text-align: center;}
	.total_fee {text-align: right;}
     td {font-size: 1rem!important;}
  /*計算後の費用合計一覧表ここまで*/
	.submit_button {margin: 10px auto!important;}
	.apply_place {flex-direction: column;}
	.responsive-flex {flex-wrap: wrap !important;} /*オープンコース講座「お申込み状況」と「お申込み締切日」 折り返しを許可 */
	.responsive-flex > div {width: 100% !important;margin-left: 0 !important;} /*オープンコース講座「お申込み状況」と「お申込み締切日」を段落ちさせるため子要素の幅を100%にする、マージンを無効化 */
	#top_info, #top_message {width: 90%; text-align: left; margin: 0 auto;} /* 夏期休業のお知らせ＆オープンコースメッセージ */
	.top_cover_image {display: none!important;}
	.full-cover, .novtomch_slider{display: none!important;}
	.mid-cover {display: none!important;}
	.mobile-cover {display: grid !important; width: calc(100% + 50px) !important; max-width: calc(100% + 50px) !important; margin-left: -25px !important; margin-right: -25px !important; place-items: center; }
}