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

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

/* 未ログイン時は月別アーカイブウィジェット、#返信の検索見出しと検索欄を非表示 */
body:not(.logged-in) #archives-2,
body:not(.logged-in) #slide-in-archives-2,
body:not(.logged-in) h1#archive-title,
body:not(.logged-in) .search-box{
    display: none !important;
}

/* サイドバーｈ３見出しの非表示 */
/*
.widget-sidebar-title{
    display: none !important;
}
*/

/* スマホからみてもメニューを横並びにする */
@media screen and (max-width: 1023px) {
  #navi .navi-in > .menu-mobile li {
    width: auto;
  }
}
/*
.navi-in a {
	text-decoration: underline;
}
*/

/* サイドバー リンクウィジェット 左側の余白 */
ul.xoxo {
	padding-left: 16px;
}

.my-article-new {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  background: #cc3f0a;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.5;
  border-radius: 3px;
  vertical-align: middle;
}


.wisven-latest-post a {
  color: inherit;
  text-decoration: none;
}

.wisven-latest-post a:hover {
  color: inherit;
  text-decoration: none;
}

.page-id-154 .entry-content {
	margin-top: 0;
}

.page-id-154 .my-article,
.my-article {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 2px dashed #e6e3dc;
}

.page-id-154 .my-article-date,
.my-article-date {
  margin-bottom: 10px;
  font-size: 14px;
  color: #777;
}

.page-id-154 .my-article-title,
.my-article-title {
  margin: 0 0 0px;
  font-size: 1em;
  font-weight: normal;
}

.page-id-154 .article h2 {
	padding: 0px;
	background-color: transparent;
	border-radius: 0;
	line-height: 1.8;
}

.page-id-154 .my-article-content,
.my-article-content {
  margin: 0;
}

.page-id-154 .my-article-content p
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	overflow-wrap: anywhere;
}



body.page .article h1,
body.page .date-tags,
body.page .author-info,
footer
{
	display: none;
}

/*
body {
	background-color: transparent;
}
*/

.main, .sidebar{
	background-color:#F7F5F0;
}

.go-to-top-button,
.sidebar h2, .sidebar h3 {
	background-color: #e6e3dc;
}

input[type="submit"] {
	-webkit-appearance: none;
	border: 1px solid #e6e3dc;
	background-color: #edece8;
	color: #333;
}


#navi .navi-in a:hover,
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover, .widget_block ul li a:hover {
	background-color: #edece8;
}


/* ========================================
   wisven 新wisven簡単投稿フォーム
======================================== */

.wisven-new-front-post {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 24px;
  margin: 20px auto;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
	/* margin-top: -90px; */
	font-size: 0.7em;
}

/* フォーム内の各項目 */
.wisven-new-front-form p {
  margin: 0 0 5px;
}

/* ラベル */
.wisven-new-front-form label {
  display: block;
  /* margin-bottom: 7px; */
  color: #333;
  font-weight: 600;
}

/* テキスト入力・セレクト・テキストエリア */
.wisven-new-front-form input[type="text"],
.wisven-new-front-form select,
.wisven-new-front-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  min-height: 30px;
  padding: 10px 12px;
  border: 1px solid #ccd3da;
  border-radius: 7px;
  background: #fff;
  color: #333;
  /* font-size: 16px; */
	font-size: 1em;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* 入力中 */
.wisven-new-front-form input[type="text"]:focus,
.wisven-new-front-form select:focus,
.wisven-new-front-form textarea:focus {
  outline: none;
  border-color: #0a97cc;
  box-shadow: 0 0 0 3px rgba(10, 151, 204, 0.14);
}

/* テキストエリア */
.wisven-new-front-form textarea {
  resize: vertical;
}

/* ボタン共通 */
.wisven-new-front-form button,
.wisven-new-front-form input[type="submit"] {
  display: inline-block;
  min-height: 44px;
  padding: 10px 22px;
  margin: 4px 6px 4px 0;
  border: none;
  border-radius: 8px;
  background: #cc3f0a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

/* ボタンのホバー・クリック */
.wisven-new-front-form button:hover,
.wisven-new-front-form input[type="submit"]:hover {
  opacity: 0.85;
}

.wisven-new-front-form button:active,
.wisven-new-front-form input[type="submit"]:active {
  transform: translateY(1px);
}



/* スマホ */
@media screen and (max-width: 600px) {
  .wisven-new-front-post {
    padding: 16px;
    border-radius: 10px;
  }

  .wisven-new-front-form p {
    margin-bottom: 5px;
  }

  .wisven-new-front-form button,
  .wisven-new-front-form input[type="submit"] {
    width: 100%;
    margin: 5px 0;
  }
}



/* 下書き保存ボタン：右端・灰色 */
.wisven-new-front-form button[name="wisven_new_submit"][value="edit"],
.wisven-new-front-form input[type="submit"][name="wisven_new_submit"][value="edit"] {
  display: inline-block;
  float: right;
  width: auto;
  min-height: 36px;
  padding: 7px 14px;
  margin: 4px 0 0 6px;
  background: #888;
  color: #fff;
  font-size: 13px;
}

/* スマホでも右端に配置 */
@media screen and (max-width: 600px) {
  .wisven-new-front-form button[name="wisven_new_submit"][value="edit"],
  .wisven-new-front-form input[type="submit"][name="wisven_new_submit"][value="edit"] {
    width: auto;
    margin: 5px 0 0 6px;
  }
}


/* スマホ：下書きボタンを枠内に収める */
@media screen and (max-width: 600px) {
  .wisven-new-front-post {
    box-sizing: border-box;
  }

  .wisven-new-front-form button[name="wisven_new_submit"][value="edit"],
  .wisven-new-front-form input[type="submit"][name="wisven_new_submit"][value="edit"] {
    float: none;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    margin: 8px 0 0 auto;
  }
}





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

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

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