/*
Theme Name: Arkhe Child (Potaburun)
Template: arkhe
Description: ポタブルン専用・高機能データベース構築用子テーマ
Version: 1.0.0
*/

/* ここから下に、アプリライクなUIを作るための独自のCSSを追記していきます */
/* ポタブルン詳細ページ用スタイル */
.pota-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* ヒーローエリア */
.pota-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.pota-thumb img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* スペックバッジ（W/Wh強調） */
.pota-hero-badges {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.pota-badge {
    flex: 1;
    background: #f5f7fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.pota-badge .label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}
.pota-badge .value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.2;
}
.pota-badge .unit {
    font-size: 1rem;
    margin-left: 2px;
}
.pota-badge .sub-value {
    display: block;
    font-size: 0.8rem;
    color: #ef4444; /* リフト機能は赤文字で強調 */
    font-weight: bold;
}

/* CTAボタン */
.pota-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.pota-btn {
    display: block;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s;
    color: #fff !important;
}
.pota-btn:hover { opacity: 0.8; }
.pota-btn.amazon { background: #ff9900; }
.pota-btn.official { background: #333; }
.pota-btn.rakuten { background: #bf0000; }
.pota-sale-note {
    background: #fff7ed;
    color: #c2410c;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
    border: 1px solid #ffedd5;
}

/* スペックグリッド（アプリ風） */
.pota-sec-title {
    font-size: 1.2rem;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #3b82f6;
}
.pota-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列表示 */
    gap: 10px;
}
.pota-spec-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pota-spec-card .icon { font-size: 1.2rem; margin-bottom: 5px; }
.pota-spec-card .label { font-size: 0.75rem; color: #64748b; }
.pota-spec-card .data { font-size: 1rem; font-weight: bold; color: #334155; }
.pota-spec-card .detail { font-size: 0.75rem; color: #94a3b8; font-weight: normal; }

/* ソーラーパネル判定用に注意を引く背景 */
.pota-spec-card.warning-bg {
    background: #f0f9ff;
    border-color: #bae6fd;
}

/* 動画エリア */
.pota-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.pota-video-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.pota-video-card .thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}
.pota-video-card .thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.pota-video-card .video-title {
    padding: 10px;
    font-size: 0.9rem;
    margin: 0;
}
.pota-video-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}
