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

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

/*検索BOX*/
#main .search-box.input-box {
  display: none;
}
#content-top .search-box {
  width: 60%;
  margin: 0 auto;
}
#search-4 {
	margin-bottom: 1.0em;
}

.search-box{
	position:relative;
	width:100%;
	max-width:750px;
	margin:1.2rem auto 2rem;
}

.search-box input{
	width:100%;
	height:58px;
	padding:0 72px 0 1.25rem;
	border:1px solid #eee3d7;
	border-radius:16px;
	background:linear-gradient(180deg,#fffdfa 0%,#ffffff 100%);
	color:#3f3832;
	font-size:.96rem;
	line-height:1;
	outline:none;
	box-shadow:0 3px 12px rgba(0,0,0,.03);
	transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;
}

.search-box input::placeholder{
	color:#9a9188;
}

.search-box input:focus{
	border-color:#d8c2a7;
	background:#ffffff;
	box-shadow:0 0 0 4px rgba(194,103,82,.08),0 6px 18px rgba(0,0,0,.04);
}

.search-box button{
	position:absolute;
	top:6px;
	right:6px;
	width:46px;
	height:46px;
	border:none;
	border-radius:12px;
	background:linear-gradient(180deg,#c26752 0%,#a94f3d 100%);
	color:#fff;
	cursor:pointer;
	transition:transform .18s ease,box-shadow .2s ease,opacity .2s ease;
	box-shadow:0 4px 10px rgba(162,79,61,.22);
}

.search-box button:hover{
	transform:translateY(-1px);
	box-shadow:0 6px 14px rgba(162,79,61,.28);
}

.search-box button:active{
	transform:translateY(0);
}

.search-box button svg,
.search-box button i{
	font-size:1rem;
}


/************************************
** ページ送り
************************************/
.page-numbers { 
	color: #000000;
	line-height: 46px;
	border: 1px solid #1a1a1a;
}
.pagination .current {
	background-color: #1a1a1a;
	color: #ffffff;
}
.page-numbers.dots { 
	opacity: 1;
	background: none;
}
.pagination a:hover { 
	background-color: #1a1a1a;
	color: #ffffff;
}

.go-to-top {
	right: 15%;
}
#custom_post_navigation_widget-2 {
 margin-bottom: 0px;
}
.post-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 15px;
  width: 100%; 
}

.previous-post, .next-post {
  flex-shrink: 0; 
  width: 33.3%; 
}

.home-link {
  flex-grow: 1;
  text-align: center; 
}

.post-navigation a {
  background-color: #008C8E;
  border: 1px solid #ddd;
  height: 45px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  font-size: .8rem;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-navigation a:hover {
  background-color: #00ABAE;
  border-color: #00ABAE;
}

.previous-post {
  margin-right: 10px; 
}

.next-post {
  margin-left: 10px; 
}
/* タイトルを省略するスタイル */
.post-navigation a span.post-title {
  white-space: nowrap;      
  overflow: hidden;         
  text-overflow: ellipsis;   
  max-width: 70%;            
  display: inline-block;    
}
@media screen and (max-width: 480px){
	.post-navigation a span.post-title {
  		display: none;
	}
}
/************************************
** モバイル記事
************************************/
@media (max-width: 768px) {
  .pagination-next {
    margin-top: 24px;
  }
}
/* モバイル向けの調整 */
@media only screen and (max-width: 768px) {
  #search-4 {
	margin-bottom: 1.0em;
  }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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