@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
   カスタムCSS - 見やすさ改善
   ======================================== */

/* 1. 画像に薄い枠と影を追加（白い画像の境界を明確に） */
.post-content img,
.entry-content img,
article img {
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px !important;
}

/* アイコン・ロゴ画像は枠線なし */
.site-logo img,
header img {
    border: none !important;
    box-shadow: none !important;
}

/* ウィジェット内の画像も薄い枠 */
.widget img,
.sidebar img {
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* 2. リンクの視認性を向上 */
a {
    text-decoration: underline;
    text-decoration-color: rgba(150, 204, 150, 0.5);
    transition: all 0.2s ease;
}

a:hover {
    text-decoration-color: #96cc96;
    color: #5fa85f;
}

/* ボタンリンクは下線なし */
.btn a,
.button a,
.wp-block-button a {
    text-decoration: none !important;
}

/* 3. サイドバーの見やすさ改善（モバイル対応） */
@media (max-width: 768px) {
    .sidebar {
        margin-top: 2rem;
    }

    .widget {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: #f9f9f9;
        border-radius: 8px;
    }

    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #96cc96;
    }
}

/* 4. 記事一覧の間隔を調整 */
.post-list .post-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

/* 5. ホバーエフェクトを明確に */
.post-item:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* 6. 見出しデザインをプロ仕様に（サイトカラーに統一） */

/* H2見出し - メインセクション（サイトカラーの緑背景） */
.entry-content h2,
.post-content h2,
article h2 {
    padding: 1.2rem 1.5rem;
    margin: 3rem 0 1.5rem;
    background: #96cc96;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* H3見出し - サブセクション（左ボーダー強調） */
.entry-content h3,
.post-content h3,
article h3 {
    position: relative;
    padding: 0.8rem 0 0.8rem 1.2rem;
    margin: 2.5rem 0 1.2rem;
    border-left: 5px solid #96cc96;
    background: #f9fdf9;
    font-size: 1.35rem;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

/* H4見出し - 小セクション（下線のみシンプル） */
.entry-content h4,
.post-content h4,
article h4 {
    position: relative;
    padding: 0.6rem 0 0.6rem 0;
    margin: 2rem 0 1rem;
    border-bottom: 3px solid #96cc96;
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    line-height: 1.6;
}

/* H5見出し - 詳細項目（点線で控えめに） */
.entry-content h5,
.post-content h5,
article h5 {
    padding: 0.5rem 0;
    margin: 1.5rem 0 0.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    line-height: 1.6;
    border-bottom: 2px dotted #96cc96;
}

/* 見出し共通：レスポンシブ対応 */
@media (max-width: 768px) {
    .entry-content h2,
    .post-content h2,
    article h2 {
        font-size: 1.3rem;
        padding: 1rem 1.2rem;
    }

    .entry-content h3,
    .post-content h3,
    article h3 {
        font-size: 1.2rem;
        padding: 0.7rem 0 0.7rem 1rem;
    }

    .entry-content h4,
    .post-content h4,
    article h4 {
        font-size: 1.1rem;
    }

    .entry-content h5,
    .post-content h5,
    article h5 {
        font-size: 1.05rem;
    }
}

/* ========================================
   7. ヘッダー検索窓を目立たせる
   ======================================== */

/* 検索ボタン・アイコンを大きく目立たせる */
.p-header__search,
.header-search,
.search-toggle,
.c-headSearch__btn {
    background: #96cc96 !important;
    color: #ffffff !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    border: 2px solid #96cc96 !important;
}

.p-header__search:hover,
.header-search:hover,
.search-toggle:hover,
.c-headSearch__btn:hover {
    background: #5fa85f !important;
    border-color: #5fa85f !important;
    transform: scale(1.05) !important;
}

/* 検索窓が開いた時のスタイル */
.p-header__searchBox,
.header-search-form,
.search-form {
    border: 2px solid #96cc96 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(150, 204, 150, 0.3) !important;
}

/* 検索入力欄 */
.p-header__searchBox input,
.header-search-form input,
.search-form input[type="search"] {
    font-size: 1.1rem !important;
    padding: 1rem !important;
    border: 2px solid #96cc96 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.p-header__searchBox input:focus,
.header-search-form input:focus,
.search-form input[type="search"]:focus {
    outline: none !important;
    border-color: #5fa85f !important;
    box-shadow: 0 0 0 3px rgba(150, 204, 150, 0.2) !important;
}

/* プレースホルダーを目立たせる */
.p-header__searchBox input::placeholder,
.header-search-form input::placeholder,
.search-form input[type="search"]::placeholder {
    color: #999 !important;
    font-size: 1rem !important;
}

/* 検索ボタン（送信） */
.p-header__searchBox button,
.header-search-form button,
.search-form button {
    background: #96cc96 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.p-header__searchBox button:hover,
.header-search-form button:hover,
.search-form button:hover {
    background: #5fa85f !important;
    transform: scale(1.05) !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .p-header__search,
    .header-search,
    .search-toggle {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .p-header__searchBox input,
    .header-search-form input,
    .search-form input[type="search"] {
        font-size: 1rem !important;
        padding: 0.8rem !important;
    }
}

/* ========================================
   8. プロフィールカード - プロ仕様デザイン
   ======================================== */

/* プロフィールカード全体 */
.sabo-profile-card {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.sabo-profile-inner {
    background: linear-gradient(135deg, #f9fdf9 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #e8f5e8;
}

/* プロフィール画像エリア */
.sabo-profile-image {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(180deg, #96cc96 0%, #5fa85f 100%);
    position: relative;
}

.sabo-profile-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.1" d="M0,0 C300,80 600,80 900,0 L900,120 L0,120 Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.sabo-profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* メインコンテンツエリア */
.sabo-profile-content {
    padding: 2.5rem 2.5rem 3rem;
}

/* キャッチコピー */
.sabo-profile-catch {
    text-align: center;
    margin-bottom: 2rem;
}

.sabo-badge {
    display: inline-block;
    background: #96cc96;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.sabo-profile-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* 運営者情報 */
.sabo-profile-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px dashed #e0e0e0;
}

.sabo-profile-name {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.sabo-profile-name strong {
    font-size: 1.4rem;
    color: #96cc96;
}

.sabo-profile-subtitle {
    color: #666;
    font-size: 0.95rem;
}

/* 自己紹介文 */
.sabo-profile-description {
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.sabo-profile-description p {
    margin-bottom: 1rem;
    color: #444;
}

.sabo-profile-mission {
    background: #f9fdf9;
    padding: 1.5rem;
    border-left: 4px solid #96cc96;
    border-radius: 4px;
    font-size: 1.05rem;
}

.sabo-profile-mission strong {
    color: #5fa85f;
}

/* 実績・強み */
.sabo-profile-achievements {
    margin-bottom: 2.5rem;
}

.sabo-profile-achievements h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #96cc96;
}

.sabo-achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sabo-achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sabo-achievement-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 204, 150, 0.2);
}

.sabo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.sabo-achievement-list strong {
    display: block;
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.sabo-achievement-list p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* 対象読者 */
.sabo-profile-target {
    margin-bottom: 2.5rem;
}

.sabo-profile-target h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #96cc96;
}

.sabo-target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.sabo-target-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sabo-target-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(150, 204, 150, 0.2);
}

.sabo-target-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
}

.sabo-target-item p {
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0;
}

/* CTAボタン */
.sabo-profile-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.sabo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sabo-btn-primary {
    background: #96cc96;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(150, 204, 150, 0.3);
}

.sabo-btn-primary:hover {
    background: #5fa85f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(150, 204, 150, 0.4);
}

.sabo-btn-secondary {
    background: #ffffff;
    color: #96cc96;
    border: 2px solid #96cc96;
}

.sabo-btn-secondary:hover {
    background: #f9fdf9;
    border-color: #5fa85f;
    color: #5fa85f;
    transform: translateY(-2px);
}

.sabo-btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.sabo-btn-primary:hover .sabo-btn-arrow {
    transform: translateX(4px);
}

/* SNSリンク */
.sabo-profile-social {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px dashed #e0e0e0;
}

.sabo-social-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.sabo-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sabo-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.sabo-social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.sabo-social-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.3);
}

.sabo-social-rss {
    background: #ff9800;
    color: #ffffff;
}

.sabo-social-rss:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* ========================================
   9. フッター - プロ仕様デザイン
   ======================================== */

.sabo-footer {
    background: linear-gradient(180deg, #2c3e2c 0%, #1a2a1a 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.sabo-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sabo-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.sabo-footer-section {
    color: #ffffff;
}

.sabo-footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #96cc96;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(150, 204, 150, 0.3);
}

.sabo-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sabo-footer-links li {
    margin-bottom: 0.8rem;
}

.sabo-footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.sabo-footer-links a:hover {
    color: #96cc96;
    transform: translateX(4px);
    text-decoration: underline;
}

.sabo-footer-about {
    grid-column: span 1;
}

.sabo-footer-logo {
    margin-bottom: 1rem;
}

.sabo-footer-logo img {
    max-width: 200px;
    height: auto;
}

.sabo-footer-description {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.sabo-footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sabo-footer-copyright p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0.3rem 0;
}

.sabo-footer-tagline {
    color: #96cc96;
    font-weight: bold;
}

/* ========================================
   10. レスポンシブ対応（プロフィール＆フッター）
   ======================================== */

@media (max-width: 768px) {
    /* プロフィールカード */
    .sabo-profile-card {
        margin: 2rem auto;
    }

    .sabo-profile-content {
        padding: 1.5rem 1.5rem 2rem;
    }

    .sabo-profile-title {
        font-size: 1.4rem;
    }

    .sabo-profile-image {
        padding: 2rem 1rem 1.5rem;
    }

    .sabo-profile-image img {
        width: 120px;
        height: 120px;
    }

    .sabo-achievement-list li {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .sabo-target-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sabo-profile-cta {
        flex-direction: column;
    }

    .sabo-btn {
        width: 100%;
    }

    /* フッター */
    .sabo-footer {
        padding: 3rem 0 1.5rem;
    }

    .sabo-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sabo-footer-about {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .sabo-profile-title {
        font-size: 1.2rem;
    }

    .sabo-target-grid {
        grid-template-columns: 1fr;
    }

    .sabo-social-links {
        flex-direction: column;
    }

    .sabo-social-btn {
        width: 100%;
        justify-content: center;
    }
}

