@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画面カスタマイズ
************************************/
body .entry-content>*:first-child {
    margin-top: .1em !important;
}
h2.top_menu {
    font-size: 1.4em;
    border-left: none;
    background-color: #FFFFFF;
    color: #666;
    overflow: hidden;
    text-align: center;
    margin: 4em 0 0 !important;
    padding-bottom: 0px !important;
}
h2.top_menu:after {
    margin: .7rem auto 0;
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: #FFFFFF;
}
.page .breadcrumb,
.page .article-header,
.page .article-footer{
    display: none;
}

.about-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5em;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.widget-entry-cards {
    justify-content: space-between;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.widget-entry-cards.card-large-image .a-wrap {
    width: 48.5%;
    margin: 1em 0;
    max-width: none;
    background: white;
    padding: 10px;
}
.sidebar .widget-entry-cards.card-large-image .a-wrap {
    width: 100%;
    margin: 0;
}
.widget-entry-cards.card-large-image .a-wrap:nth-child(odd) {
    margin-right: 3%;
}
.card-content {
    padding-top: 10px;
    line-height: 1.6;
}
.widget-entry-card-date {
    text-align: right;
}
.p-button {
    max-width: 300px;
    margin: 0 auto;
}
.p-button a {
    display: block;
    margin:25px 0;
    padding: 0.6em 0.8em;
    border-radius: 2em;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    background: #ffaa66; /* 「もっと見る」ボタンの色*/
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.p-button a:hover{
    box-shadow: none;
	background: #ff944d;
    transform: translateY(3px);
    opacity:1;
}

/*記事を浮き上がらせる*/
.new-entry-card:hover { 
background-color: #f2f2f2;
-webkit-transform: translateY(-2px);
-ms-transform: translateY(-2px);
transform: translateY(-2px);
box-shadow: 0 10px 20px -5px #f2f2f2; 
}

/************************************
** about画面カスタマイズ
************************************/
.about-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #333;
  line-height: 1.8;
}

.about-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.profile-area {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.profile-img {
 width: 100%;
  max-width: 320px; 
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sub-title {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-left: 5px solid #aaa;
  padding-left: 0.6rem;
}

.bio-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

.thanks-text {
  font-size: 1rem;
  margin-top: 2.5rem;
  text-align: center;
}

.btn-area {
  text-align: center;
  margin-top: 1rem;
}

.btn-link {
  display: inline-block;
  background-color: #55cc55;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-link:hover {
  background-color: #44b944;
  color: #fff;
  transform: translateY(3px);
   opacity:1;
}

.btn-link:active {
  background-color: #339933;
}

/*投稿日時・投稿者名非表示*/
.page .date-tags,
.page .author-info {
    display: none;
}

/********************************
ボックスメニューのカスタマイズ
********************************/

.box-menu {
padding: 0;
  min-height: 0;
}

.box-menu:hover{
	 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	opacity: 0.8;
	transform: scale(1.05);
  transition: transform 0.3s ease;
} 



.box-menu-label,
.box-menu-description{
	display: none;
}

.box-menu-icon *{
	margin: 0;
	max-width: 100%;
	max-height: 300px;}

/* 4カテゴリーの幅に変更 */
@media screen and (min-width: 600px){
.wwa .box-menu {
	width: 25%;
}
}

/* 枠線を消す */
.box-menu{
box-shadow:none;
}

/********************************
workページのカスタマイズ
********************************/
.works-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.works-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
  font-size: 16px;
}

.works-table th,
.works-table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.works-table th {
  background-color: #f0f0f0;
  white-space: nowrap;
  width: 120px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .works-table {
    font-size: 15px;
  }

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
/*about*/	
	 .about-title {
    font-size: 1.8rem;
  }

  .sub-title {
    font-size: 1.3rem;
  }

  .profile-img {
    max-width: 260px;
  }

  .btn-link {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
/*top*/	
	  .widget-entry-cards.card-large-image .a-wrap {
	width: 50%;  
    }
    .widget-entry-cards.card-large-image .a-wrap:nth-child(odd) {
 	margin-right: 0;
    }
	
/*about*/	
	  .about-title {
    font-size: 1.6rem;
  }

  .sub-title {
    font-size: 1.1rem;
  }

  .profile-img {
    max-width: 200px;
  }

  .btn-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

