@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){
  /*必要ならばここにコードを書く*/
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.p{
    margin: 20px;
}


/* サイドバーのスタイル */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}


.custom-topbar {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.topbar-mypage {
    position: relative;
}

.mypage-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mypage-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mypage-icon {
    margin-right: 8px;
}

.mypage-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 200px;
    z-index: 1000;
    margin-top: 8px;
}

.topbar-mypage:hover .mypage-dropdown {
    display: block;
}

.mypage-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.mypage-dropdown li a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.mypage-dropdown li a:hover {
    background-color: #f8f9fa;
}

.mypage-dropdown i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.topbar-login .login-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.topbar-login .login-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.topbar-login i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .mypage-name {
        display: none;
    }
    
    .mypage-icon {
        margin-right: 0;
    }

    .mypage-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        border-radius: 12px 12px 0 0;
    }
}

/* 検索タブナビゲーション */
.search-page-tabs {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.search-tab-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.search-tab-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.search-tab-link:hover {
    color: #333;
}

.search-tab-link.active {
    color: #333;
}

.search-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
}

.search-count {
    margin-left: 6px;
    color: #999;
    font-size: 13px;
}

/* 検索結果コンテナ */
.search-results-wrapper {
    position: relative;
}

.search-tab-content {
    display: none;
}

.search-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 検索結果グリッド */
.search-products-grid,
.search-reviews-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* 検索結果カード共通スタイル */
.search-product-card,
.search-review-card,
.search-post-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-product-card:hover,
.search-review-card:hover,
.search-post-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* 商品カード */
.search-product-card .product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.search-product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-card .product-info {
    padding: 15px;
}

.search-product-card .product-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #333;
}

/* レビューカード */
.search-review-card {
    padding: 15px;
}

.search-review-card .reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.search-review-card .reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.search-review-card .reviewer-name {
    font-size: 14px;
    color: #333;
}

.search-review-card .review-date {
    font-size: 12px;
    color: #999;
}

/* 記事カード全体のスタイル */
.search-post-card {
    background: #ffffff;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.search-post-card:hover {
    opacity: 0.8;
}

/* リンクのスタイル */
.search-post-link {
    text-decoration: none;
    color: inherit;
    gap: 24px;
}

/* 画像エリアのスタイル */
.search-post-image {
    width: 300px;
    min-width: 300px;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.search-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* 記事情報エリアのスタイル */
.search-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

/* カテゴリータグのスタイル */
.search-post-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.search-category-tag {
    background: #f7f7f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

/* 記事タイトルのスタイル */
.search-post-title {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    line-height: 1.6;
    color: #333;
    /* 4行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* メタ情報のスタイル */
.search-post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-post-date::after {
    content: "view";
    margin-left: 4px;
}

/* 抜粋文のスタイル */
.search-post-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    /* 6行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .search-post-link {
        flex-direction: column;
        gap: 16px;
    }
    
    .search-post-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
    
    .search-post-info {
        padding: 0;
    }

    /* スマートフォン表示時は行数を調整 */
    .search-post-title {
        -webkit-line-clamp: 3;
    }

    .search-post-excerpt {
        -webkit-line-clamp: 4;
    }
}

/* 検索結果なし */
.search-no-results {
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

/* ページネーション */
.search-pagination {
    margin-top: 40px;
    text-align: center;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-pagination .page-numbers.current {
    background: #333;
    color: #fff;
    border-color: #333;
}

.search-pagination .page-numbers:hover {
    background: #f5f5f5;
    border-color: #ccc;
}


/* 検索結果グリッド */
.search-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

/* 商品カード */
.search-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-product-card:hover {
    transform: translateY(-3px);
}

.search-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f8f8f8;
    overflow: hidden;
}

.search-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-info {
    padding: 12px;
}

.search-product-brand {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.search-product-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.4;
    font-weight: normal;
}

.search-product-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* 評価スター */
.search-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-stars {
    color: #FFD700;
    font-size: 14px;
}

.search-rating-number {
    color: #666;
    font-size: 13px;
}

.search-rating-count {
    color: #999;
    font-size: 12px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
    .search-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .search-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media screen and (max-width: 480px) {
    .search-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .search-product-info {
        padding: 8px;
    }

    .search-product-title {
        font-size: 12px;
    }

    .search-product-price {
        font-size: 14px;
    }
}

/* モーダルのクローズボタンを非表示 */
.pg-modal-close{
    display: none;
}

/* style.css */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-image .main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-tag {
    display: inline-block;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.description-card,
.usage-card,
.ingredients-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.affiliate-area {
    margin-top: 2rem;
}

/* サイドバーの最新記事ウィジェットのスタイル */
.wp-block-latest-posts__list {
    margin: 0;
    padding: 0;
}

.wp-block-latest-posts__featured-image {
    margin-bottom: 10px;
}

.wp-block-latest-posts__post-title {
    font-size: 1.1rem;        /* タイトルサイズ */
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 8px;
    display: block;
}

.wp-block-latest-posts__post-excerpt {
    font-size: 0.9rem;        /* 本文サイズ */
    line-height: 1.5;
    color: #666;
    margin-top: 5px;
}

.wp-block-latest-posts__post-date {
    font-size: 0.8rem;        /* 日付サイズ */
    color: #888;
    margin-top: 5px;
}

/* 記事間の間隔調整 */
.wp-block-latest-posts__list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.wp-block-latest-posts__list li:last-child {
    border-bottom: none;
}

/* タグのスタイリング */
.tag-cloud-link,      /* タグクラウドのタグ */
.widget_tag_cloud a,  /* サイドバーのタグ */
.wp-block-tag-cloud a { /* ブロックエディタのタグクラウド */
    border-radius: 4px;           /* 角丸の大きさ（数値は調整可能） */
    padding: 6px 12px;            /* タグ内の余白 */
    display: inline-block;        /* インラインブロック要素として表示 */
    font-size: 0.9rem !important; /* フォントサイズ */
    background: #f5f5f5;          /* 背景色 */
    border: 1px solid #e0e0e0;    /* ボーダー */
    transition: all 0.3s ease;    /* ホバーエフェクトのアニメーション */
}

/* ホバー時のスタイル */
.tag-cloud-link:hover,
.widget_tag_cloud a:hover,
.wp-block-tag-cloud a:hover {
    background: #e0e0e0;
    text-decoration: none;
}

/* タグの数字のスタイル */
.tag-cloud-link .tag-link-count {
    margin-left: 5px;
    font-size: 0.9em;
    color: #666;
}

/* フッターのタグ用スタイル */
footer .tag-cloud-link {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin-right: 10px;
    color: inherit;
}

footer .tag-cloud-link:hover {
    text-decoration: underline;
}

/* 記事のアイキャッチ画像を含む要素のサイズを制御 */
/* より具体的なセレクタを使用して優先度を上げる */
body .blog-entry.post .thumbnail img {
    width: 300px;    /* 希望するサイズに変更可能 */
    height: auto;    /* アスペクト比を維持 */
    object-fit: cover;
}

.single .thumbnail img{
    display: none;
}

/* トグルボタンの基本スタイル */
.ez-toc-container .ez-toc-toggle {
    background-color: #4CAF50;  /* 背景色 */
    color: white;               /* 文字色 */
    padding: 10px 15px;        /* 内側の余白 */
    border: none;              /* 枠線を削除 */
    border-radius: 4px;        /* 角を丸く */
    cursor: pointer;           /* マウスカーソルをポインターに */
    font-size: 16px;          /* フォントサイズ */
    transition: all 0.3s;      /* アニメーション効果 */
}

/* ホバー時のスタイル */
.ez-toc-container .ez-toc-toggle:hover {
    background-color: #45a049;  /* ホバー時の背景色 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);  /* ホバー時の影 */
}

/* トグルアイコンのカスタマイズ */
.ez-toc-container .ez-toc-toggle i {
    margin-left: 5px;          /* アイコンの余白 */
    font-size: 14px;          /* アイコンのサイズ */
}

/* トグル開いている時のスタイル */
.ez-toc-container .ez-toc-toggle.ez-toc-toggle-active {
    background-color: #357abd;  /* アクティブ時の背景色 */
}

/* モバイル表示用のスタイル */
@media screen and (max-width: 768px) {
    .ez-toc-container .ez-toc-toggle {
        width: 100%;           /* 幅を100%に */
        font-size: 14px;       /* フォントサイズを小さく */
        padding: 8px 12px;     /* パディングを調整 */
    }
}


/* 検索ページのベースレイアウト */
.search-page-container {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

/* メインコンテンツとサイドバーのレイアウト */
.search-results-wrapper {
    display: flex;
    gap: 30px;
    position: relative;
}

/* メインコンテンツエリア */
.search-results-main {
    flex: 1;
    min-width: 0; /* flexboxのバグ防止 */
}

/* 検索結果グリッド */
.search-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* サイドバー */
.search-results-sidebar {
    width: 300px;
    flex-shrink: 0;
}


/* ページネーションの位置調整 */
.search-pagination {
    margin-top: 40px;
    clear: both;
}


/* 検索結果グリッド */
.search-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列のグリッドに変更 */
    gap: 24px;
    margin-top: 24px;
}

/* 投稿カード */
.search-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%; /* 高さを100%に設定 */
    display: flex;
    flex-direction: column;
}

/* 画像エリア */
.search-post-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* アスペクト比1:1に設定 */
    background: #f8f8f8;
    overflow: hidden;
}

.search-post-image img {
    position: absolute;
    top: 0;
    left: 50%; /* 中央配置のために追加 */
    transform: translateX(-50%); /* 中央配置のために追加 */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 投稿情報エリア */
.search-post-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .search-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .search-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .search-post-info {
        padding: 12px;
    }
}

/* スマホ版検索結果ページ */
/* スマートフォン向けのベースレイアウト調整 */
@media (max-width: 768px) {

    .content-wrapper {
        flex-direction: column;
    }

    /* 検索結果のレイアウト調整 */
    .search-page-container {
        margin-top: 20px;
        padding: 10px;
    }

    .search-results-wrapper {
        flex-direction: column;
    }

    .search-results-sidebar {
        width: 100%;
        margin-top: 20px;
    }

    /* 検索結果グリッドの調整 */
    .search-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* 投稿カードのスタイル調整 */
    .search-post-card {
        margin-bottom: 15px;
    }

    .search-post-image {
        height: 150px;
    }

    .search-post-info {
        padding: 10px;
    }

    .search-post-title {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 5px;
    }

    .search-post-excerpt {
        font-size: 12px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    /* ページネーションの調整 */
    .search-pagination {
        margin-top: 20px;
    }

    .search-pagination .page-numbers {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* さらに小さい画面サイズ向けの調整 */
@media (max-width: 480px) {
    .search-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .search-post-image {
        height: 120px;
    }

    .search-post-info {
        padding: 8px;
    }

    .search-post-title {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .search-post-excerpt {
        display: none;
    }

    .search-pagination .page-numbers {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ナビゲーションの調整 */
@media (max-width: 768px) {
    .search-tab-list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-tab-link {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* フォーム全体のコンテナ */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* フォームのタイトル */
.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-title p {
    font-size: 16px;
    color: #666;
}

/* ステップインジケーター */
.form-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.step {
    padding: 10px 40px;
    background: #f5f5f5;
    margin: 0 5px;
    font-size: 14px;
}

.step.active {
    background: #333;
    color: white;
}

/* フォームフィールド共通スタイル */
.wpcf7-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* セレクトボックス */
.sm {
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px;
}

/* 入力フィールド */
.name,
.mailaddress,
.tel188 {
    height: 50px;
}

/* テキストエリア */
.text_message {
    min-height: 150px;
    resize: vertical;
}

/* ラベル */
.wpcf7 label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

/* 送信ボタン */
.submit_message{
    background-color: #333333;
    color: white;
    padding: 15px 60px;
    border: none;
    cursor: pointer;
    display: block;
    margin: 30px auto;
    width: auto;
    min-width: 200px;
    text-align: center;
    font-size: 16px;
    border-radius: 4px;
}

.submit_message:hover {
    background-color: #000000;
    transition: 0.3s;
}

/* 必須マーク */
.wpcf7-required {
    color: #ff0000;
    margin-left: 5px;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
}

/* 送信完了メッセージ */
.wpcf7-response-output {
    border: 2px solid #00a0d2;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

/* プレースホルダーのスタイル */
.wpcf7-form-control::placeholder {
    color: #999;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .wpcf7 {
        padding: 20px;
    }
    
    .step {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .submit {
        width: 100%;
        padding: 15px 20px;
    }
    
    .contact-title h1 {
        font-size: 28px;
    }
}

.contact-heading{
    text-align: center;
}

/* タブコンテナのスタイル */
.wp-block-atbs-tabs .tabs-titles {
    display: flex;
    flex-direction: row; /* 常に横並びを指定 */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    background-color: #ffffff;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
    box-sizing: border-box;
    flex-wrap: nowrap; /* 折り返しを防ぐ */
}

/* 個別のタブスタイル */
.wp-block-atbs-tabs .tabs-titles .tab-title,
.wp-block-atbs-tabs .tabs-titles .tab-title:focus {
    flex: 1 1 0;
    align-items: center;
    box-sizing: border-box;
    background-color: #888 !important;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    text-align: center;
    list-style: none;
    padding: 12px 16px;
    transition: all .3s ease;
    position: relative;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 0;
}

/* アクティブなタブ */
.wp-block-atbs-tabs .tabs-titles .tab-title.active,
.wp-block-atbs-tabs .tabs-titles .tab-title.active:focus {
    background-color: #E14D6C !important;
    color: #fff;
    border: none;
}

/* アクティブなタブの矢印 */
.wp-block-atbs-tabs .tabs-titles .tab-title.active::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 10px 10px 0 10px !important;
    border-color: #E14D6C transparent transparent transparent !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* レスポンシブ対応 - フォントサイズと余白の調整のみ */
@media screen and (max-width: 768px) {
    .wp-block-atbs-tabs .tabs-titles {
        gap: 8px;
        padding: 0 8px;
    }
    
    .wp-block-atbs-tabs .tabs-titles .tab-title,
    .wp-block-atbs-tabs .tabs-titles .tab-title:focus {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* 小さい画面サイズでの調整 - フォントサイズと余白の調整のみ */
@media screen and (max-width: 480px) {
    .wp-block-atbs-tabs .tabs-titles {
        gap: 6px;
        padding: 0 6px;
    }

    .wp-block-atbs-tabs .tabs-titles .tab-title,
    .wp-block-atbs-tabs .tabs-titles .tab-title:focus {
        font-size: 13px;
        padding: 6px 10px;
    }
    #footer-widgets {
        display: none;
    }
}

/* background-colorを無効化 */
.atbs-tabs-4ec0e483 .tabs-nav {
    background-color: transparent !important;
}

.wp-block-atbs-tabs .tabs-content {
    background-color: transparent;
}

.wp-block-latest-posts__featured-image {
    text-align: center;
}

.wp-block-heading{
    text-align: center;
}


/* スマートフォン向けの調整 */
@media screen and (max-width: 767px) {
    .liquid-speech-balloon-text {
        font-size: clamp(13px, 3vw, 15px);
        /* スマホではやや小さめに */
        padding: 1em;
        /* パディングを少し縮小 */
        margin: 1em 0;
        /* マージンも調整 */
        -webkit-text-size-adjust: 100%;
        /* iOSでの自動文字サイズ調整を防止 */
    }
}

/* タブレット向けの調整 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .liquid-speech-balloon-text{
        font-size: clamp(14px, 3.2vw, 16px);
        padding: 1.1em;
    }
}

/* デスクトップ（768px以上）*/
@media screen and (min-width: 768px) {
    .liquid-speech-balloon-avatar {
      width: 60px;
      height: 60px;
    }
  }
  
  /* タブレット（576px〜767px）*/
  @media screen and (min-width: 576px) and (max-width: 767px) {
    .liquid-speech-balloon-avatar {
      width: 50px;
      height: 50px;
    }
  }
  
  /* スマートフォン（575px以下）*/
  @media screen and (max-width: 575px) {
    .liquid-speech-balloon-avatar{
        right: 10px;
        top: 10px;
    }
    
  }

  #pt-cv-view-0egxbm6z .pt-cv-thumbnail:not(.pt-cv-thumbnailsm) {
    border-radius: 20px;
  }

  .wp-block-latest-posts__featured-image.aligncenter img {
    border-radius: 10px;  /* 好みの角丸の大きさに調整できます */
}

.wp-block-latest-posts__featured-image img{
    border-radius: 10px;
}

.pt-cv-thumb-wrapper img{
    border-radius: 20px;
} 

/* Contact Form 7 カスタマイズ */
.wpcf7-form p {
    text-align: center;
    margin: 0 0 1.5em 0;
}

/* 入力フィールドのラッパー */
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.5em;
}

/* 入力フィールド */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 16px;
    box-sizing: border-box;
}

/* テキストエリア */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}

/* フォーカス時 */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #666;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    outline: none;
}

/* 読み取り専用フィールド */
.wpcf7-form input[readonly],
.wpcf7-form textarea[readonly] {
    background-color: #f5f5f5;
    border: 1px solid #eee;
    cursor: not-allowed;
}

/* ボタングループのコンテナ */
.wpcf7-form p:last-of-type {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    gap: 2em;
}

/* ボタン共通スタイル */
.wpcf7-form input[type="submit"],
.wpcf7-form input[type="button"].wpcf7-previous {
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* 戻るボタン */
.wpcf7-form input[type="button"].wpcf7-previous {
    background-color: #666;
    color: white;
}

.wpcf7-form input[type="button"].wpcf7-previous:hover {
    background-color: #777;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
    background-color: #333;
    color: white;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #444;
}

/* プレースホルダー */
.wpcf7-form ::placeholder {
    color: #999;
}

/* エラーメッセージ */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #ff4444;
    font-size: 14px;
    margin-top: 0.5em;
    display: block;
}

/* フォーム送信後のメッセージ */
.wpcf7-form .wpcf7-response-output {
    margin: 2em 0;
    padding: 1em;
    border: 2px solid #00a0d2;
    border-radius: 4px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .wpcf7-form {
        padding: 0 15px;
    }

    /* 入力フィールドのサイズ調整 */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form textarea {
        font-size: 16px;
        padding: 0.7em;
    }

    /* ボタングループの調整 */
    .wpcf7-form p:last-of-type {
        flex-direction: column;
        gap: 1em;
        padding: 0;
    }
    
    /* ボタンのサイズ調整 */
    .wpcf7-form input[type="submit"],
    .wpcf7-form input[type="button"].wpcf7-previous {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0.8em 0;
    }

    /* エラーメッセージの調整 */
    .wpcf7-form .wpcf7-not-valid-tip {
        font-size: 13px;
    }

    /* フォーム送信後のメッセージ調整 */
    .wpcf7-form .wpcf7-response-output {
        margin: 1.5em 0;
        padding: 0.8em;
        font-size: 14px;
    }
}

/* さらに小さい画面サイズ用 */
@media screen and (max-width: 480px) {
    .wpcf7-form {
        padding: 0 10px;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form textarea {
        font-size: 15px;
        padding: 0.6em;
    }

    .wpcf7-form input[type="submit"],
    .wpcf7-form input[type="button"].wpcf7-previous {
        font-size: 15px;
        max-width: 260px;
    }
}

/* 送信完了ページのスタイル */
.entry.clr {
    max-width: 800px;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
}

.entry.clr p {
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: #333;
}

.entry.clr p:first-child {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.entry.clr p:last-child {
    font-size: 16px;
    color: #666;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entry.clr {
    animation: fadeIn 0.6s ease-out forwards;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .entry.clr {
        padding: 30px 15px;
    }

    .entry.clr p:first-child {
        font-size: 18px;
    }

    .entry.clr p:last-child {
        font-size: 15px;
    }
}

/* さらに小さい画面サイズ用 */
@media screen and (max-width: 480px) {
    .entry.clr {
        padding: 25px 15px;
    }
}

/* エントリーヘッダー全体のレイアウト調整 */
body.single-post .entry-header.clr {
    margin-bottom: 15px;
}

/* メタ情報（投稿者、日付、カテゴリー）のレイアウト */
body.single-post .meta.ospm-default {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0 0 30px;
    list-style: none;
}

/* メタ情報の各アイテムのベーススタイル */
body.single-post .meta.ospm-default li {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* アイコンのスタイル調整 */
body.single-post .meta.ospm-default li i {
    margin-right: 5px;
    font-size: 14px;
}

/* カテゴリーリンクのスタイル */
body.single-post .meta.ospm-default .meta-cat a {
    display: inline-block;
    background-color: #ff6699;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
    margin-right: 5px;
}

/* カテゴリーリンクのホバー時のスタイル */
body.single-post .meta.ospm-default .meta-cat a:hover {
    background-color: #ff4d88;
    color: #fff;
    text-decoration: none;
}

/* カテゴリー間の区切り（/）を非表示 */
body.single-post .meta.ospm-default .meta-cat .owp-sep {
    display: none;
}

/* 投稿タイトルのスタイル */
body.single-post .single-post-title.entry-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    color: #333;
}

/* スクリーンリーダー用テキストを非表示 */
body.single-post .screen-reader-text {
    display: none;
}

/* カテゴリーアイコンのスタイル */
body.single-post .meta.ospm-default .meta-cat i {
    display: inline-block;
    color: #ff6699;
    margin-right: 5px;
}

/* 投稿者情報を非表示にする場合 */
body.single-post .meta-author {
    display: none;
}

/* 日付のスタイル */
body.single-post .meta-date {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* 日付のアイコンのスタイル */
body.single-post .meta-date i {
    color: #666;
    margin-right: 5px;
}

/* メタ情報のリンクのスタイル */
body.single-post .meta.ospm-default a {
    color: #666;
    text-decoration: none;
}

/* メタ情報のリンクのホバー時のスタイル */
body.single-post .meta.ospm-default a:hover {
    color: #333;
    text-decoration: none;
}

/* エントリーヘッダー全体の下マージン */
body.single-post .entry-header-wrap {
    margin-bottom: 30px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    body.single-post .meta.ospm-default {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    body.single-post .single-post-title.entry-title {
        font-size: 20px;
    }
    
    body.single-post .meta.ospm-default li {
        font-size: 12px;
    }
    
    body.single-post .meta.ospm-default .meta-cat a {
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* アイコン全般のスタイル */
body.single-post .meta.ospm-default li i {
    margin-right: 5px;
    font-size: 14px;
    color: #ff6699; /* ピンク色に変更 */
}

/* 個別のアイコンのスタイル（必要な場合） */
body.single-post .meta.ospm-default .meta-cat i.icon-folder {
    color: #ff6699;
}

body.single-post .meta.ospm-default .meta-date i.icon-clock {
    color: #ff6699;
}

body.single-post .meta.ospm-default .meta-author i.icon-user {
    color: #ff6699;
}

#author-bio{
    display: none;
}

.site-main {
    padding: 0 !important;
}

.widget-area{
    margin-top: 40px;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

/* reCAPTCHAのiframe自体を中央寄せ */
.g-recaptcha > div {
    margin: 0 auto;
}

.wp-block-list{
    list-style: none;
}

.is-layout-flex{
    justify-content: center;
}

.aioseo-html-post-sitemap ul{
    list-style: none;
}

.aioseo-html-post_tag-sitemap ul{
    list-style: none;
}

.aioseo-html-category-sitemap ul{
    list-style: none;
}

:root {
    --cocoon-tab-label-color: #f2f2f2; /* タブの背景色 */
    --cocoon-tab-label-active-color: #fe619a; /* 選択したタブの背景色 */
}

.tab-label-group {
    justify-content: center;/*タブを中央寄せ*/
}

/* ログアウトメニュー項目のスタイル調整 */
.menu-item-logout {
    display: inline-block !important;
    height: 100% !important;
    vertical-align: middle !important;
    padding: 0 !important;
    margin: 0 !important;
}

.menu-item-logout-link {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 14px !important; /* 必要に応じて調整 */
    font-size: 14px !important; /* 必要に応じて調整 */
    color: inherit !important;
}

/* FontAwesomeアイコンと文字の間隔調整 */
.menu-item-logout-link .fa {
    margin-right: 5px !important;
}

/* ホバー時のスタイル */
.menu-item-logout-link:hover {
    background-color: rgba(0, 0, 0, 0.05) !important; /* 必要に応じて調整 */
}

/* ログアウト完了ページのスタイル */
.logout-complete {
    text-align: center;
    padding: 50px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.logout-complete h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.logout-complete p {
    margin-bottom: 30px;
    color: #555;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.return-home {
    background-color: #3498db;
}

.login-again {
    background-color: #f39c12;
}

.button:hover {
    opacity: 0.9;
    text-decoration: none;
}

@media (max-width: 480px) {
    .button-container {
        flex-direction: column;
    }
}

/************************************
** ■タグクラウド カスタマイズ
************************************/
.tagcloud {
    display: inline-block;
    padding: 0px 2px 0px 2px;
  }
  
  .tagcloud a {
    text-decoration: none; /*テキスト初期化*/
    color: #fff; /*タグフォントカラー*/
    font-size: 12px; /*タグフォントサイズ*/
    font-weight:bold; /*文字強調*/
    display: inline-block; /*横並びで上下左右空白有り*/
    background-color: #fe619a; /*タグ背景色*/
    padding: 2px 6px 0px 6px; /*タグ内側余白*/
    margin: 0px 0px 4px 0px; /*タグ外側余白*/
    border-radius: 9px 3px; /*タグデザイン*/
    border: 0px; /*タグ枠線無し*/
    word-break: break-all; /*テキストの途中で改行させない*/
  }

  /* サイドバーの人気記事と最新記事の見出しをカスタマイズ */

/* サイドバーの全ての見出し要素に適用 */
.sidebar h3 {
  font-size: 16px;              /* フォントサイズ */
  font-weight: bold;            /* 太字 */
  color: #333333;               /* 文字色 */
  padding: 10px 15px;           /* 内側の余白 */
  margin-bottom: 15px;          /* 下側の余白 */
  border-radius: 3px;           /* 角を少し丸く */
  background-color: #ffffff;
}


/* 最新記事ウィジェットの見出しのみに適用 */
.widget_recent_entries h3 {
  color: #2196f3;               /* 最新記事は別の色に */
  border-left: 4px solid #2196f3;
}

/* 見出しにマウスを乗せた時のエフェクト */
.sidebar h3:hover {
  opacity: 0.8;                 /* 少し透明に */
  transition: 0.3s;             /* アニメーション効果 */
}

/* 見出しの中のテキストに適用（より詳細な指定） */
.sidebar h3 span {
  font-family: 'メイリオ', 'Meiryo', sans-serif; /* フォント指定 */
}

.cat-label {
    top: 0.5em; /*上からの距離*/
    left: 0.5em; /*左からの距離*/
    border: none; /*ボーダーを消す*/
    font-size: 12px; /*文字サイズ*/
    color: #fff; /*文字色*/
    background-color: #fe619a; /*背景色*/
    padding: 1px 10px; /*余白*/
    border-radius: 14px; /*角を丸く*/
}

body .widget-entry-cards .card-thumb img,
body .new-entry-cards .card-thumb img,
body main .entry-card-thumb img {
  width: 110%;
  height: auto;
  border-radius: 10px;
}

/************************************
** ■カルーセル 追加カスタマイズ
************************************/
/* カルーセルの全体設定 */
.carousel .carousel-in {
    background-color: transparent; /* 背景色を透明に変更 */
    padding: 0;
    margin-top: 20px;
  }
  
  /* カードのスタイル設定 */
  .carousel-entry-card-wrap {
    width: 280px !important; /* カードの幅を調整 */
    margin: 0 8px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .carousel-entry-card-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  /* サムネイル画像の設定 */
  .carousel-entry-card-thumb.card-thumb {
    position: relative;
    overflow: hidden;
    margin: 0;
  }
  
  .carousel-entry-card-thumb-image {
    width: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .carousel-entry-card-wrap:hover .carousel-entry-card-thumb-image {
    transform: scale(1.05);
  }
  
  /* カテゴリーラベルの表示設定 */
  .carousel .carousel-entry-card .cat-label {
    display: block !important; /* ラベルを表示 */
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: #e75a87; /* ピンク色のラベル */
    color: white;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  
  /* タイトルの設定 */
  .carousel-entry-card-content.card-content {
    padding: 12px;
    background-color: #ffffff;
  }
  
  .carousel .carousel-entry-card .carousel-entry-card-title.card-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: bold !important;
    margin: 0;
    height: 40px; /* タイトルの高さを固定 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  /* カルーセルのナビゲーションボタン */
  .slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
  }
  
  .slick-prev:before, .slick-next:before {
    color: #e75a87;
    font-size: 20px;
  }
  
  .slick-prev {
    left: 10px;
  }
  
  .slick-next {
    right: 10px;
  }
  
  /* カルーセルのドット */
  .slick-dots {
    bottom: -30px;
  }
  
  .slick-dots li button:before {
    font-size: 10px;
    color: #e75a87;
    opacity: 0.3;
  }
  
  .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #e75a87;
  }
  
  /* カルーセルのセクションタイトル装飾 */
  .widget-entry-cards.carousel-entry-cards h2 {
    font-size: 18px;
    position: relative;
    padding-left: 15px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .widget-entry-cards.carousel-entry-cards h2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background-color: #e75a87;
    border-radius: 2px;
  }
  
  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
    .carousel-entry-card-wrap {
      width: 230px !important;
    }
    
    .carousel-entry-card-thumb-image {
      height: 150px !important;
    }
  }
  
  @media screen and (max-width: 480px) {
    .carousel-entry-card-wrap {
      width: 200px !important;
    }
    
    .carousel-entry-card-thumb-image {
      height: 130px !important;
    }
  }

  .list-more-button-wrap a{
    text-decoration: none; /*テキスト初期化*/
    color: #fff; /*タグフォントカラー*/
    font-weight:bold; /*文字強調*/
    display: inline-block; /*横並びで上下左右空白有り*/
    background-color: #fe619a; /*タグ背景色*/
    border: 0px; /*タグ枠線無し*/
    word-break: break-all; /*テキストの途中で改行させない*/ 
  }

  /* ページネーションカスタム */
  .pagination-next-link {
    background-color: #fe619a;
    color: #fff;
    border: none;
    border-radius: 30px;
  }
  .pagination-next-link:hover {
    background-color: #fe619a;
    transition: all 0.5s ease;
    color: #fff;
  }

  .page-numbers {
    color: #fe619a;
    border: 1px solid #fe619a;
    border-radius: 50%;
  }
  .pagination .current {
    background-color: #fe619a;
    color: #fff;
  }
  .page-numbers.dots {
    opacity: 1;
    background: none;
  }
  .pagination a:hover {
    background-color: #fe619a;
    color: #fff;
  }

  .author-thumb{
    display: none;
  }