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

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

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

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

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

/************************************
全体のバランス
************************************/
.entry-content {
padding:1em;
padding-top:0;
margin: 0 auto;
}
@media (max-width: 1023px){
article > .entry-content, aritcle > footer.article-footer {
padding: 0 20px;
}
}
@media screen and (max-width: 880px){
.page-body {
font-size: 16px;
}
}
@media screen and (max-width: 480px){
.page-body {
font-size: 15px;
}
}
.search-submit {
	right: 10px;
    top: calc(50% - 15px);
}

/************************************
** アイキャッチ画像を記事タイトルの上に移動する
************************************/

/*記事ヘッダーの枠組み*/
.article-header {
	display: flex; /*フレックスボックスレイアウト*/
	flex-direction: column; /*ブロック要素を縦に並べる*/
}

/*アイキャッチの枠組み*/
.eye-catch-wrap {
	order: -1; /*順番*/
	overflow: hidden; /*はみ出した部分を非表示 ※IE対策*/
}

/*アイキャッチ*/
.eye-catch {
	margin-bottom: 0; /*下の余白*/
}

/************************************
** アイキャッチ画像を全幅表示する
************************************/

/*枠組み*/
.eye-catch-wrap {
	margin-left: -29px; /*左の余白*/
	margin-right: -29px; /*右の余白*/
}

/*横幅 834px 以下に適用される*/
@media screen and (max-width: 834px){
	/*枠組み*/
	.eye-catch-wrap {
		margin-left: -20px; /*左の余白*/
		margin-right: -20px; /*右の余白*/
	}
}

/* エントリーカードのモダン化 */
.entry-card-wrap {
    background-color: #fff;
    border: none; /* 枠線削除 */
    border-radius: 12px; /* 角丸を強める */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 上品な影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

/* ホバー時に浮き上がる演出 */
.entry-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1;
}

/* プロフィールページ専用CSS - Cocoon子テーマ */

.author-profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ea416e;
}

.author-intro h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.author-intro .tagline {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #333;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ea416e;
    transform: translateY(-2px);
}

.credentials-section {
    margin-bottom: 40px;
}

.credentials-section h2 {
    font-size: 1.5em;
    border-bottom: 3px solid #ea416e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.credential-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.credential-card .icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.credential-card h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #333;
}

.credential-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.partner-logos img {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

.bio-section {
    margin-bottom: 40px;
}

.bio-section h2 {
    font-size: 1.5em;
    border-bottom: 3px solid #ea416e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.bio-content {
    line-height: 1.8;
    color: #444;
}

.bio-content p {
    margin-bottom: 15px;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-left: 4px solid #ea416e;
    border-radius: 0 8px 8px 0;
}

.achievement-list li strong {
    color: #ea416e;
}

.contact-section {
    background: linear-gradient(135deg, #ea416e 0%, #d63384 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #ea416e;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .author-header {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* ピラーページ専用CSS - Cocoon子テーマ */

.pillar-container {
    max-width: 900px;
    margin: 0 auto;
}

.pillar-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
}

.pillar-hero h1 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #fff;
}

.pillar-hero .subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 20px;
}

.pillar-hero .badge {
    display: inline-block;
    background: #ea416e;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
}

.intro-box {
    background: #f8f9fa;
    border: 2px solid #ea416e;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
}

.intro-box h2 {
    font-size: 1.3em;
    color: #ea416e;
    margin-bottom: 15px;
}

.intro-box ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}

.phase-section {
    margin-bottom: 50px;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ea416e;
}

.phase-number {
    background: linear-gradient(135deg, #ea416e 0%, #d63384 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.phase-header h2 {
    margin: 0;
    font-size: 1.4em;
}

.phase-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.episode-card {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.episode-card:hover {
    border-color: #ea416e;
    box-shadow: 0 5px 20px rgba(234, 65, 110, 0.15);
    transform: translateY(-2px);
}

.episode-number {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}

.episode-number .num {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
}

.episode-number .label {
    font-size: 0.75em;
    opacity: 0.8;
}

.episode-content {
    flex: 1;
    padding: 20px;
}

.episode-content h3 {
    font-size: 1.1em;
    margin: 0 0 8px 0;
    color: #333;
}

.episode-content p {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.episode-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.episode-tag {
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    color: #666;
}

.episode-tag.important {
    background: #ea416e;
    color: #fff;
}

.episode-status {
    padding: 20px;
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

.status-badge.published {
    background: #28a745;
    color: #fff;
}

.status-badge.coming {
    background: #ffc107;
    color: #333;
}

.cta-section {
    background: linear-gradient(135deg, #ea416e 0%, #d63384 100%);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #ea416e;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.author-section {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 50px;
}

.author-section img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-section .info h4 {
    margin: 0 0 5px 0;
}

.author-section .info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    .episode-card {
        flex-direction: column;
    }

    .episode-number {
        flex-direction: row;
        min-width: auto;
        padding: 15px 20px;
        gap: 10px;
    }

    .episode-status {
        padding: 15px 20px;
        justify-content: flex-end;
    }

    .author-section {
        flex-direction: column;
        text-align: center;
    }
}