@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-menu-content {
  left: auto;
  right: 0;
  transform: translateX(105%);
}
/*^^--スライドメニュー左から----------------------------------------------*/

a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

img {
    vertical-align: top;
}




#media_image-4{
background-image: url(img/top-img.jpg);
background-repeat: no-repeat;
background-size: cover;
width: auto;
height: 400px;
}

.header-container, .main, .footer {
    background-color: #fff;
}

.navi {
    background-color: #fff;
}



/* カテゴリーラベルを非表示 */
.cat-label {
display: none;
}

/* 固定ページ日付を非表示 */
.page .date-tags {
display: none;
}

.tag-caption .fa {
    display: none;
}

.tagcloud a {
    font-size: 15px;
    margin: 4px;
}


.tag-link-count::before {
  content: "(";
}

.tag-link-count::after {
  content: ")";
}

.tagcloud a {
    display: block;
}

.tagcloud a .tag-link-count {
    margin-left: 4px;
}

.tagcloud a:hover{
	color: #f78938;                /* 文字色も変える */
  background-color: #fff;     /* 背景色も変える */
}

.wp-block-tag-cloud a .tag-link-count::before {
    content: none;
}

.wp-block-tag-cloud a .tag-link-count::after {
    content: none;
}

.wp-block-tag-cloud a {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    width: 44.2%;
    background-color: #fff!important;
    margin: 0px 2% 6px 2%;
    padding: 10px 0;
    display: inline-block;
    border-bottom: solid 0px #c5c5c5 ;
}


.header-search .search-submit {
    color: #b97c1b;
}

.header-container-in.hlt-top-menu .logo-header img {
    height: 42px;
}

body {
	width: 96%;
    max-width: 1280px;
    margin: 0 auto;
	background-color: #fff;
}

.wrap {
    width: 100%;
}

.main {
	width: 72.2%;
   padding: 0px;
	margin: 0%;
}

.sidebar {
    width: 25.9%;
	border: 2px solid #c7c7c2;
	background-color: #fff;
	margin: 0%;
	border-radius: 6px;
}
.sidebar h2, .sidebar h3 {
    background-color: #fff;
}

.search-edit {
    padding: 11px;
    border: 1px solid var(--cocoon-basic-border-color);
    border-radius: var(--cocoon-basic-border-radius);
    font-size: inherit;
    width: 100%;
    background-color: #fff;
}

#media_image-4 img
 {
    width: 100%;
}

#media_image-4 {
    margin: 12px 0px 0px 0px;
	border-radius: 10px 10px 0px 0px;
}


.top-message {
	text-align: center;
    width: 100%;
    padding: 30px 0px;
    margin: 0px 0px 20px 0px;
    background: #272729;
	border-radius: 0px 0px 10px 10px;
}

.top-message-txt {
    width: 90%;
    margin: auto;
}

.top-message h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 auto 20px auto;
	color: #f2f2f2;
}

.top-message p {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.8;
    text-align: left;
	margin-bottom: 20px;
	color: #f2f2f2;
}

p.notes {
    font-size: 12px;
	font-weight: 900;
    color: #b87a01;
	text-align: center;
}


.entry-content {
    width: 100%;
    margin: 1em auto 1em auto;
}

.header-search {
  width: 200px !important;
}

.header-search .search-box {
  margin: 0;
}

.header-search input[type="text"] {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 50px;
}

.header-search .search-submit {
	color: #b97c1b;
}

.search-submit {
    top: calc(50% - 9px);
}

#wpadminbar{
	display:none;
}



.header-container-in.hlt-top-menu .logo-header {
    max-height: 100px;
}

.header-container-in.hlt-top-menu .logo-header img {
    max-height: 100px;
}

.mobile-menu-buttons .menu-icon {
    font-size: 32px;
    line-height: 1.2;
}


.article h1 {
    text-align: center;
    font-weight: 500;
    font-size: 26px;
	 padding: 0px 0px 0px 0px;
	margin: 0px auto;
}

.single-post h1{
	padding: 0px 0px 14px 0px;
}

.page-id-18 h1 ,.page-id-2155 h1 {
    width: 100%;
	font-weight: bold;
    border-radius: 6px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 20px;
    text-align: center;
    border: 2px solid #c7c7c2;
}


.entry-categories-tags > div {
    text-align: center;
}

.tag-link, .comment-reply-link {
    font-size: 14px;
	border: 0px; 
	padding: 0px 8px;
	border: 1px solid var(--cocoon-x-thin-color);
}

.tag-link:hover, .comment-reply-link:hover {
    background-color: #fefdf7;
    color: #f78938;
}

.entry_body> p:first-child {
    font-size: 14px;
    margin: 0px 0px 20px 0%;
    text-align: left;
    color: #4f4f4f;
    line-height: 1.7;
    font-weight: 600;
}

p.single_post_txt, .single_post_txt a, .entry-content p{
	font-size: 16px;

	text-align: left;
	color: #4f4f4f;
	line-height: 1.7;
	font-weight: 600;
}




.eye-catch {
    width: 100%;
}

.eye-catch img {
    width: 100%;
	border-radius: 6px;
}

/*-- 似た画像2列 -----------------------------*/

/* --- 参考作品カード風 改良版 --- */

/* 全体の枠 */
.content_main {
    width: 90%;
    margin: auto;
    text-align: left;
}

.article-similor {
    width: 100%;
    margin: 0 0 30px 0;
    border-radius: 8px;
    padding: 0;
    background-color: #f1f1f1;
    display: block;
}

/* 見出し */
.similor_heading {
    text-align: left;
    padding: 10px 0px;
}
.similor_heading span {
    font-size: 15px;
    font-weight: 100;
    background-color: #757575;
    color: #fff;
    margin-right: 6px;
    padding: 3px 8px;
    border-radius: 4px;
}
.similor_heading h3 {
    line-height: 1.6;
    font-size: 16px;
    font-weight: 900;
    color: #545454;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* カード一覧 */
.similar-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 個別カード */
.similar-img-box01 {
    width: 49%;
    margin: 0 0 18px 0 !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 画像部分（比率キープ枠） */
.similar-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3比率枠を確保！（16:9でも自然に見えます） */
    background: #fff;
}

/* 実際の画像 */
.similar-img-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain; /* 余白ありで中央寄せ */
}

/* タイトルテキスト */
.similar-text p {
    margin: 0;
    text-align: left;
    padding: 10px 12px 16px 12px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    color: #454545;
}

/* 2列目右カードだけ余白消す */
.similar-img-box01:nth-of-type(2n) {
    margin-right: 0%;
}

.cf::after {
  content: none !important;
  display: none !important;
}


/*------------------- ^^似た画像2列 ------------------------*/


.article h2 {
    font-size: 20px;
    padding: 0px;
    margin-bottom: 20px;
	
	position: relative;
  padding-left: 28px; /* 横棒と文字の間 */
  font-size: 20px;
  font-weight: bold;
  color: #333;
	background-color: #fff;
}

.article h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;         /* 横棒の長さ */
  height: 3px;         /* 横棒の太さ */
  background-color: #f9892a; /* 差し色 */
  border-radius: 2px;  /* 角を丸めると可愛くなる */

}




.article h3 {
    border-left: 0px solid #b97c1b;
    border-right: 0px solid var(--cocoon-thin-color);
    border-top: 0px solid var(--cocoon-thin-color);
    border-bottom: 0px solid var(--cocoon-thin-color);
    font-size: 18px;
    padding: 4px 8px;
	 margin-bottom: 8px;
}


.wp-block-buttons>.wp-block-button {
    display: block;
    width: 100%;
    margin: 0;
}

.wp-block-button__link {
  display: block !important;
  box-sizing: border-box;
  padding: 12px;
  font-size: 18px;
  text-align: center;
	border-radius: 6px;
	background-color: #a6a5a0;
}


.under-entry-content {
    background-color: #f1f1f1;
    width: 94%;
    margin: auto;
    border-radius: 8px;
}

#related-entries {
    width: 94%;
    margin: auto;
    padding: 9px 0 0 0;
}

.related-entry-heading {
    display: block;
    font-size: 18px;
    margin: 0px 0px 8px 0px;
}

.rect-vertical-card .related-entry-card-title {
    font-size: 12px;
    line-height: 1.4;
    margin: 0px 0 8px 0;
}

.rect-vertical-card .related-entry-card-wrap {
    padding: 0px;
    padding-right: 8px;
}

.rect-vertical-card .related-entry-card-wrap:nth-of-type(4n) {
    padding-right: 0px;
}

.new-entry-card-title {
    line-height: 1.4;
    font-size: 14px;
    font-weight: bold;

}
.ect-3-columns .entry-card-wrap {
    padding: 0px 7px 7px 7px;
}

.breadcrumb {
    margin: 1em 0em;
    margin-left: 3%;
}

.breadcrumb a:hover {
	color: #f78938;
}

.footer {
	background-color: #333;
	border-radius: 6px;
    margin-bottom: 20px;
}

.footer-bottom {
    margin-top: 0px;
}

.footer-bottom.fnm-text-width .menu-footer li a {
    color: #f2f2f2;
}

.navi-footer-in > .menu-footer li:last-child {
    border-right: 0px solid var(--cocoon-thin-color);
}

.navi-footer-in > .menu-footer li {
    width: 120px;
    border-left: 0px solid var(--cocoon-thin-color);
}

.footer-bottom.fnm-text-width .menu-footer li a:hover {
	transform: scale(1.05);        /* ホバー時に5%拡大 */
  color: #f78938;                /* 文字色も変える */
  background-color: #333;     /* 背景色も変える */
}


.copyright {
    color: #f2f2f2;
}

.sidebar h2 {
     margin: 0px 0px 30px 0px;
	font-size: 18px;
}

 .sidebar h3 {
    text-align: center;
    font-size: 17px;
	 padding: 8px 0px;
    margin: 0px 0px 17px 0px;
}

/*****動画サイト********/
.pose_refer_box-wrap {
    display: block;
}

.pose_refer_box {
    width: 100%;
}

.pose_refer_box h4 {
	font-size: 14px;
    font-weight: 900;
    margin: 6px 0px 0px 0px;
    line-height: 1.5;
    text-align: center;
}

.pose_refer_box p {
    line-height: 1.5;
    text-align: left;
    font-size: 12px;
	margin: 0px 0px 20px 0px;
}
/*****動画サイト********/


.footer-bottom.fnm-text-width .menu-footer li a {
    padding: 0 50px;
}

/*****タグページ********/

.entry-title, .archive-title {
    width: 94%;
    text-align: center;
    font-weight: 500;
    font-size: 26px;
    padding: 32px 0px 16px 0px;
    margin: 0px auto;
}

#list{
    width: 98%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.a-wrap {
    margin: 0px;
    width: 33.33333%;
}

.entry-card-title {
    margin: 5px 0 5px 0;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
}

.pagination-next {
    display: none;
}

.page-numbers{
    border-color: #b97c1b;
}

.entry-content .top-message {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.8;
    text-align: left;
		margin-bottom: 20px;
}

.new-entry-cards.fp-new-entry-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.fp-new-entry-cards .new-entry-card-link.a-wrap {
    display: inline-block;
    width: 32%;
}

.wp-block-tag-cloud a {
		 color: #333;
    font-size: 14px;
    line-height: 1.6;
    width: 44.2%;
    background-color: #ffffff;
    margin: 0px 2% 6px 2%;
    padding: 10px 0;
    display: inline-block;
    border-bottom: solid 1px #c5c5c5;
}

.widget-entry-cards .a-wrap {
    padding: 0px;
}

.widget-entry-cards.card-large-image figure img {
    border-radius: 6px;
}

/*****^^タグページ********/

.border-partition .a-wrap:first-of-type{
	border-top: 0px dotted;
}

.border-partition .a-wrap {
    border-bottom: 0px;
}


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




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

.content {
    margin-top: 44px ;
}
	
#media_image-4 {
    margin: 42px 0px 0px 0px;
	background-position: center center;
}	
	
main.main {
margin: 0px; 
}	

.main {
	margin: 0 %; 
	border-radius: 0px;
}	
	
	
.header-container {
    border-top: 0px solid #ba7c00;
}

.mobile-menu-buttons {
    min-height: 80px;
}	
	
.logo-menu-button img {
    max-height: 50px;
}	

.mobile-menu-buttons {
    align-items: center;
}	

.menu-drawer li {
    display: block;
    padding: 12px 0px;
    border-bottom: 1px solid #dadada;
}	
	

div.sidebar {
    margin: 0 auto;
    width: 100%;
    padding: 16px 0px;
}	
	
.widget-sidebar-standard {
    width: 94%;
    margin: 0 auto;
}
	
.sidebar-scroll {
    width: 94%;
    margin: 0 auto;
}	
	
 .archive-title {
    padding-top: 20px;
	margin-top: 58px;
}	
	
.single-post h1{
	margin-top: 100px;
}


/*****動画サイト********/
.pose_refer_box-wrap {
    display: flex;
    justify-content: space-between;
}

.pose_refer_box {
    width: 49%;
	display: flex;
    flex-direction: column;
}
	
.pose_refer_box p {
    margin-top: auto;
}	
/*****動画サイト********/	
	
	
	


}/*1023px以下*/

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

.content {
    margin-top: 44px;
}	
	
#media_image-4{
	background-image: url(img/top-img_m01.jpg);
	background-position: center center;
    height: 550px;
}		

main.main{
    padding: 0px 0px 0px 0px;
}
	
.top-message h1 {
    font-size: 24px;
}	

.top-message p {
    font-size: 13px;

}

p.notes {
    font-size: 12px;

}	
	
	
	
.entry-content {
    padding-top: 20px;
}	

.article h1 {
   
}
	
.article h2 {
    font-size: 17px;
}	

p.single_post_txt, .single_post_txt a, .entry-content p{
	font-size: 14px;

}

.archive-title {
    padding-top: 40px;
}
	
	
	
}

/*692px以下*/
@media screen and (max-width: 692px){
  /*必要ならばここにコードを書く*/
.logo-menu-button img {
    max-height: 42px;
}	
	
#media_image-4 {
    height: 360px;
}	

.fp-new-entry-cards .new-entry-card-link.a-wrap {
    width: 49%!important;
}	

.border-partition .custom-entry-card-wrap {
    width: 49%!important;
}	

.a-wrap {
    width: 50%;
}	
	
	
}/*692px以下*/



/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.logo-menu-button img {
    max-height: 36px;
}	
	
#media_image-4 {
    height: 360px;
}	
	

}/*480px以下*/


/*380px以下*/
@media screen and (max-width: 380px){
  /*必要ならばここにコードを書く*/
.logo-menu-button img {
    max-height: 30px;
}		
	
#media_image-4 {
    height: 260px;
}	
	

}/*380px以下*/


/* --- ふわっと拡大アニメーション --- */
.similar-img-box01 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.similar-img-box01:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}


/* --- ギャラリー --- */

#gallery-1 .gallery-item,#gallery-2 .gallery-item,#gallery-3 .gallery-item {
    text-align: left!important;
    width: 32.666666666%!important;
    margin-right: 1%;
	margin-top: 0px!important;
}

#gallery-1 .gallery-item:nth-of-type(3n),#gallery-2 .gallery-item:nth-of-type(3n),#gallery-3 .gallery-item:nth-of-type(3n){
    margin-right: 0%;
}

#gallery-1 img,#gallery-2 img,#gallery-3 img {
    width: 100%;
}


/* 個別のギャラリー画像枠 */
.wp-block-gallery .blocks-gallery-item,
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時のズーム効果 */
.wp-block-gallery .blocks-gallery-item:hover,
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.wp-block-gallery .blocks-gallery-item:hover img,
.gallery-item:hover img {
  transform: scale(1.05);
}



/*1023px以下*/
@media screen and (max-width: 1023px){

#gallery-1 img, #gallery-2 img,#gallery-3 img,#gallery-4 img {
    border: 0px solid #cfcfcf !important;
}	
	
.gallery .gallery-item {
    margin-bottom: 6px;
}

.wp-block-gallery .blocks-gallery-item,
.gallery-item {
  border-radius: 2px;
}	
	
	
}/*****^^1023px以下********/




.wp-block-button__link {
  /* 既存のスタイルに追加する */
  transition: all 0.3s ease;     /* アニメーションを滑らかに */
  transform: scale(1);           /* 通常サイズ */
}

.wp-block-button__link:hover {
  transform: scale(1.02);        /* ホバー時に2%拡大 */
  color: #fff;                /* 文字色も変える */
  background-color: #333;     /* 背景色も変える */
}


.logo-header :hover{
	transform: scale(1.01);        /* ホバー時に1%拡大 */	
	transition: all 0.3s ease;     /* アニメーションを滑らかに */
}

.navi-in a:hover{
	transform: scale(1.05);        /* ホバー時に5%拡大 */
  color: #f78938;                /* 文字色も変える */
  background-color: #fff;     /* 背景色も変える */
}

.fp-new-entry-cards{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.a-wrap:hover {
    background-color: #fff;     /* 背景色も変える */
    transition: all 0.3s ease-in-out;
	transform: scale(1.02);        /* ホバー時に2%拡大 */
    color: var(--cocoon-text-color);
}

.card-thumb img {
    border-radius: 4px;
}

.page-numbers {
    border-color: #c7c7c2;
}

.pagination a:hover {
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    color: #f78938;
	
}


p.single_post_txt, .single_post_txt a, .entry-content p {
    display: flex;
    flex-wrap: wrap;
}

.wp-block-tag-cloud a {
    border: 1px solid var(--cocoon-x-thin-color);
    border-radius: 2px;
    color: var(--cocoon-text-color);
    padding: 10px 8px;
    text-decoration: none;
    margin: 6px;
    flex: 1 1 auto;
    transition: all 0.3s ease-in-out;
}


.wp-block-tag-cloud a:hover {
	transform: scale(1.02);
    color: #f78938;
	transition: all 0.3s ease-in-out;
}
