@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/

/* =====================================
   リセット & 基本設定
   ===================================== */
:root {
    --primary-color: #2c3e50;    /* ダークネイビー：知性・信頼 */
    --accent-color: #c5a059;     /* 落ち着いたゴールド：高級感 */
    --text-color: #333333;       /* 濃いグレー：可読性 */
    --text-light: #666666;       /* 薄いグレー：補足情報 */
    --bg-color: #f9fbfd;         /* 極薄いブルーグレー：清潔感 */
    --white: #ffffff;
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

/* =====================================
   コンテンツ幅調整
   ===================================== */
.article-header {
    margin-bottom: 0;
    padding: 4px 0 0;
    background-color: var(--bg-color);
}

.entry-content {
    padding: 4px 0 0;
}

.breadcrumb {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2px 16px;
}

.inner-content {
    width: 100% !important;
}

.sale-info-section,
.influencer-profile,
.book-list,
.reference-section {
    max-width: 1000px !important;
    margin: 0 auto 60px;
}

.comments {
    max-width: 1000px !important;
    margin: 0 auto 32px !important;
}

.footer-contents {
    max-width: 1000px !important;
    margin: 0 auto 32px !important;
}

#comments {
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.prnx_box {
    max-width: 1000px !important;
    margin: 0 auto 32px !important;
}

/* =====================================
   ヒーローセクション
   ===================================== */
body {
    overflow-x: hidden;
}
.hero-full-width {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%); 
    height: 100%;
    padding: 50px 0;
    background-image: url(http://biz-shelf.com/wp-content/uploads/2025/12/bg.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-full-width-2 {
    background-image: url(http://biz-shelf.com/wp-content/uploads/2025/12/bg2-1.jpg) !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 1000px;
    padding: 0 1rem;
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    align-items: center;
}

.hero-image {
    width: 240px;
    height: 200px;
    background: white;
    border-radius: 8px;
    margin: 0 auto 0;
    box-shadow: var(--shadow-hero);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.hero-body p {
    margin-bottom: 0px !important;
}

.hero-body a {
    color: #fff !important;
}

p.hero-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-meta span:not(:last-child)::after {
    content: " | ";
    margin: 0 0.5rem;
}

.lead {
    max-width: 1000px;
    margin: 20px auto 64px;
}

.lead p:last-child {
    margin-bottom: 0px !important;
}

/* 既存の .article-hero はリード文のみのセクションに変更 */
.article-hero {
    margin-top: 0;
    margin-bottom: 3rem;
    padding-top: 0;
}

/* 既存の .page-title はコンテンツ内のサブタイトルとして調整 */
.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* 汎用サムネイルはヒーローエリアに統合されるため非表示 */
.hero-thumbnail {
    display: none;
}

/* =====================================
   セール情報セクション
   ===================================== */
.sale-info-section {
    margin-bottom: 4rem;
}

.sale-section-title-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

.sale-section-title {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    background-color: var(--bg-color);
    z-index: 2;
    position: relative;
    margin-bottom: 10px !important;
}

.sale-section-title-wrapper::before,
.sale-section-title-wrapper::after {
    position: absolute;
    font-size: 1.6rem;
    color: var(--accent-color);
    top: 15%;
    z-index: 1;
}

.sale-section-title-wrapper::before {
    content: "＼";
    left: 25%;
}

.sale-section-title-wrapper::after {
    content: "／";
    right: 25%;
}

.sale-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.sale-cards p {
    margin-bottom: 0 !important;
}

.sale-card {
    background-color: #f0f0f0;
    border-radius: var(--border-radius);
    padding: 1rem;
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.sale-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.sale-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sale-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.sale-card .fa-angle-right {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.7;
    transition: var(--transition);
}

.sale-card:hover .fa-angle-right {
    opacity: 1;
    right: 1.2rem;
}

/* =====================================
   インフルエンサー紹介セクション
   ===================================== */
.influencer-profile {
    margin-bottom: 4rem;
}

.profile-card {
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.15);
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.profile-content {
    flex: 1;
}

.profile-job {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem !important;
    line-height: 1.2;
}

.en-name {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.profile-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* SNSアイコン */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* =====================================
   書籍リストセクション
   ===================================== */
.section-title {
    font-size: 1.8rem !important;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.2rem;
    text-align: center;
}

.book-list {
    margin-bottom: 5rem;
}

.book-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    flex-direction: row-reverse;
}

.book-item p {
    margin-bottom: 16px !important;
}

.book-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-thumb {
    flex-shrink: 0;
    width: 200px;
}

.book-thumb img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-title {
    font-size: 1.6rem !important;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 16px !important;
    border: none !important;
    padding: 0 !important;
}

.book-subtitle {
    font-size: 1rem !important;
    font-weight: 700;
    color: var(--primary-color);
    padding-left: 8px;
}

.book-meta {
    font-size: 0.9rem !important;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    display: flex;
    gap: 1rem;
}

.book-genre {
    color: var(--accent-color);
    font-weight: 600;
}

.book-author {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.book-summary {
    font-size: 0.95rem;
    margin-bottom: .5rem;
    color: var(--text-color);
}

/* 口コミリンク */
.review-text-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.review-text-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 他の推薦者 */
.recommenders {
    background: #f4f6f8;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.rec-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 0.75rem;
}

.rec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0rem 0.5rem;
}

.rec-person::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 0.4rem;
}

/* ボタン群 */
.book-actions {
    margin-top: auto;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
    min-width: 140px;
    flex-grow: 1;
}

.btn-amazon {
    background-color: #FF9900;
    color: #fff;
}

.btn-amazon:hover {
    background-color: #e68a00;
}

.btn-rakuten {
    background-color: #BF0000;
    color: #fff;
}

.btn-rakuten:hover {
    background-color: #990000;
}

.btn-flyer,
.btn-audio {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-flyer:hover,
.btn-audio:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =====================================
   参考記事セクション
   ===================================== */
.reference-section {
    margin-bottom: 4rem;
}

.reference-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.reference-list {
    list-style: none !important;
    padding: 0;
}

.reference-list li {
    margin-bottom: 1rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.reference-list li:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.reference-list li a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.95rem;
}

.reference-list li a::before {
    content: "\f0a9";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.8rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* =====================================
   フッター
   ===================================== */
.site-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
}

/* =====================================
   レスポンシブ対応（タブレット・スマホ）
   ===================================== */
@media (max-width: 768px) {
    .hero-full-width {
        height: 100%;
        padding: 40px 0 0px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-lead-text {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .article-lead {
        text-align: left;
        font-size: 0.9rem;
    }

    /* セール情報セクション */
    .sale-section-title {
        font-size: 1.4rem;
        padding: 0.5rem 1rem;
    }

    .sale-section-title-wrapper::before {
        left: 10%;
    }

    .sale-section-title-wrapper::after {
        right: 10%;
    }

    .sale-cards {
        flex-direction: column;
    }

    .sale-card {
        flex: 1 1 100%;
        min-width: unset;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .book-item {
        flex-direction: column-reverse;
        padding: 1rem;
    }

    .book-thumb {
        width: 140px;
        margin: 0 auto 1.5rem;
    }

    .book-info {
        flex-direction: column;
    }

    .book-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        min-width: auto;
        flex-grow: 1;
    }

    /* 参考記事セクション */
    .reference-list li a {
        font-size: 0.9rem;
    }
}

/* =====================================
   PC向け（1340px以上）
   ===================================== */
@media only screen and (min-width: 1340px) {
    .wrap,
    .maximg,
    .page #inner-content,
    .inner-footer {
        width: 1200px;
    }
}

/* =====================================
   PC向け（769px以上）
   ===================================== */
@media only screen and (min-width: 769px) {
    .one-column #main {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding-right: 0;
    }

    #content.one-column {
        margin-top: 0;
        background-color: var(--bg-color) !important;
    }
}

#entry {
    margin-bottom: 1.5em;
    background-color: var(--bg-color) !important;
    box-shadow: var(--wp--custom--shadow--small);
}

/* =====================================
   SP向け（〜767px）
   ===================================== */
@media only screen and (max-width: 767px) {

    .hero-content {
        padding: 1rem 2rem;
        flex-direction: column-reverse !important;
        gap: 0;
    }

    p.hero-meta {
        text-align: center;
    }

    .hero-image {
        width: 160px;
        height: auto;
    }

    .hero-meta span:not(:last-child)::after {
        content: none;
    }

    .hero-meta span {
        display: block;
    }

    .entry-content {
        padding: 0 20px !important;
    }
    
    .book-item {
        gap: 1rem;
    }

    .book-subtitle {
      padding-left: 0;
    }

    .book-thumb {
        width: 140px;
        margin: 20px auto 10px;
    }

    .book-subtitle {
        display: block;
    }

    .sp-br {
        display: block;
    }

    .sale-section-title {
        font-size: 1.2rem;
    }
}