/* =========================================================
   /entry/166/ ポケットフォルダー用途別ガイド 専用CSS
========================================================= */
.pocket-166-body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: #27323b;
    background: #fff;
}

.pocket-166-body *,
.pocket-166-body *::before,
.pocket-166-body *::after { box-sizing: border-box; }

.pocket-166-body #Flame { display: flex; flex-direction: column; min-width: 0; }
.pocket-166-body #Bread { display: flex; width: 70%; margin: 10px auto -10px; min-width: 0; }
.pocket-166-body #mein-Contents { display: flex; justify-content: center; width: 100%; gap: 1em; margin: 20px auto 0; padding: 0; min-width: 0; }
.pocket-166-body #sideMenu { float: left; width: 18%; padding-bottom: 20px; min-width: 0; }
.pocket-166-body #Main { float: right; width: 52%; min-width: 0; }
.pocket-166-body #footer { clear: both; }

.pocket-166-page {
    --p166-red: #b4232c;
    --p166-red-deep: #841821;
    --p166-blue: #187ca3;
    --p166-blue-deep: #0d5875;
    --p166-ink: #27323b;
    --p166-muted: #66737d;
    --p166-line: #d9e0e4;
    --p166-soft: #f5f8fa;
    --p166-warm: #fff7f3;
    font-size: 16px;
    line-height: 1.9;
    color: var(--p166-ink);
}

.pocket-166-page img { display: block; max-width: 100%; height: auto; }
.pocket-166-page p { margin: 0 0 1em; }
.pocket-166-page a { color: var(--p166-blue-deep); text-decoration: underline; text-underline-offset: 0.18em; }
.pocket-166-page a:hover,
.pocket-166-page a:focus-visible { color: var(--p166-red-deep); }
.pocket-166-page :focus-visible { outline: 3px solid rgba(24,124,163,.38); outline-offset: 3px; }

h1.pocket-166-title {
    margin: 0 0 22px;
    padding: 18px 24px;
    border: 0;
    border-left: 7px solid var(--p166-red);
    border-bottom: 3px solid var(--p166-blue);
    background: linear-gradient(90deg, #fff5f2 0%, #f1f9fc 100%);
    color: #202b34;
    font-size: clamp(25px, 2.35vw, 38px);
    line-height: 1.42;
    letter-spacing: .02em;
}

.pocket-166-hero {
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f0e8;
    box-shadow: 0 12px 30px rgba(37,49,58,.14);
}
.pocket-166-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.pocket-166-lead {
    position: relative;
    margin-bottom: 42px;
    padding: 28px 30px 24px;
    overflow: hidden;
    border: 1px solid #e6d6d7;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff9f7 0%, #fff 55%, #f2f9fb 100%);
}
.pocket-166-lead::after {
    position: absolute;
    right: -58px;
    bottom: -68px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(24,124,163,.07);
    content: "";
}
.pocket-166-eyebrow { margin-bottom: 5px !important; color: var(--p166-red); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.pocket-166-lead-title { margin-bottom: 12px !important; color: #2a3036; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; line-height: 1.55; }
.pocket-166-lead p { position: relative; z-index: 1; }

.pocket-166-section { scroll-margin-top: 24px; margin-bottom: 56px; }
.pocket-166-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--p166-line); }
.pocket-166-heading > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--p166-red); color: #fff; font-size: 13px; font-weight: 900; }
.pocket-166-heading h2 { margin: 0; color: #25323a; font-size: clamp(22px, 2.05vw, 31px); line-height: 1.45; }
.pocket-166-section h3 { color: #26343d; line-height: 1.5; }

.pocket-166-point-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.pocket-166-point-card { padding: 22px; border: 1px solid var(--p166-line); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(36,50,59,.06); }
.pocket-166-point-card i { color: var(--p166-blue); font-size: 24px; }
.pocket-166-point-card h3 { margin: 10px 0 7px; font-size: 18px; }
.pocket-166-point-card p { margin: 0; color: var(--p166-muted); font-size: 14px; }

.pocket-166-toc { margin: 0 0 56px; padding: 22px 24px; border: 1px solid #cadde5; border-radius: 12px; background: #f3fafc; }
.pocket-166-toc > p { margin: 0 0 12px; color: var(--p166-blue-deep); font-weight: 800; }
.pocket-166-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 26px; margin: 0; padding-left: 1.6em; }
.pocket-166-toc a { color: #2a596c; font-weight: 700; }

.pocket-166-use-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.pocket-166-use-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 155px;
    padding: 20px;
    border: 1px solid #dce2e5;
    border-radius: 13px;
    background: #fff;
    color: var(--p166-ink) !important;
    text-decoration: none !important;
    box-shadow: 0 5px 16px rgba(38,51,59,.05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.pocket-166-use-card:hover,
.pocket-166-use-card:focus-visible { transform: translateY(-3px); border-color: #c56d73; background: #fffafa; color: var(--p166-ink) !important; box-shadow: 0 10px 24px rgba(70,43,46,.11); }
.pocket-166-use-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: #f9e8e9; color: var(--p166-red); font-size: 21px; }
.pocket-166-use-card h3 { margin: 1px 0 7px; font-size: 18px; }
.pocket-166-use-card p { margin: 0; color: var(--p166-muted); font-size: 14px; line-height: 1.75; }

.pocket-166-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-top: 22px; }
.pocket-166-guide-card { display: block; padding: 23px; border: 1px solid #d6e1e5; border-top: 5px solid var(--p166-blue); border-radius: 12px; background: #fff; color: var(--p166-ink) !important; text-decoration: none !important; transition: .18s ease; }
.pocket-166-guide-card:hover,
.pocket-166-guide-card:focus-visible { border-color: var(--p166-blue); background: #f4fbfd; color: var(--p166-ink) !important; box-shadow: 0 8px 20px rgba(28,92,116,.12); }
.pocket-166-guide-card > span { color: var(--p166-blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.pocket-166-guide-card h3 { margin: 8px 0; font-size: 18px; }
.pocket-166-guide-card p { margin: 0; color: var(--p166-muted); font-size: 14px; }

.pocket-166-note { display: flex; gap: 16px; margin-top: 22px; padding: 20px 22px; border-left: 5px solid var(--p166-red); border-radius: 8px; background: var(--p166-warm); }
.pocket-166-note > i { margin-top: 5px; color: var(--p166-red); font-size: 24px; }
.pocket-166-note h3 { margin: 0 0 8px; font-size: 18px; }
.pocket-166-note ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 22px; margin: 0; padding-left: 1.4em; }

.pocket-166-design-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.pocket-166-design-card { display: block; padding: 22px; border: 1px solid #dfe3e6; border-radius: 12px; background: #fff; color: var(--p166-ink) !important; text-decoration: none !important; transition: .18s ease; }
.pocket-166-design-card:hover,
.pocket-166-design-card:focus-visible { border-color: var(--p166-red); background: #fff8f7; color: var(--p166-ink) !important; box-shadow: 0 8px 20px rgba(104,41,46,.1); }
.pocket-166-design-card i { color: var(--p166-red); font-size: 25px; }
.pocket-166-design-card h3 { margin: 12px 0 8px; font-size: 17px; }
.pocket-166-design-card p { margin: 0; color: var(--p166-muted); font-size: 14px; }
.pocket-166-check-box { margin-top: 22px; padding: 24px 26px; border-radius: 12px; background: #2e3b44; color: #fff; }
.pocket-166-check-box h3 { margin: 0 0 12px; color: #fff; font-size: 20px; }
.pocket-166-check-box ul { margin: 0; padding-left: 1.45em; }
.pocket-166-check-box li + li { margin-top: 6px; }

.pocket-166-industry-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.pocket-166-industry-layout > div { padding: 23px; border-radius: 12px; background: var(--p166-soft); }
.pocket-166-industry-layout h3 { margin: 0 0 9px; font-size: 19px; }
.pocket-166-industry-layout p { margin: 0; color: var(--p166-muted); }
.pocket-166-center-link { margin-top: 18px !important; text-align: center; }
.pocket-166-center-link a { display: inline-block; padding: 13px 19px; border: 1px solid var(--p166-blue); border-radius: 999px; background: #fff; color: var(--p166-blue-deep); font-weight: 800; text-decoration: none; }
.pocket-166-center-link a:hover,
.pocket-166-center-link a:focus-visible { background: var(--p166-blue); color: #fff; }

.pocket-166-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 22px; }
.pocket-166-product-card { display: block; padding: 25px; border: 1px solid #dbe1e4; border-radius: 14px; background: #fff; color: var(--p166-ink) !important; text-decoration: none !important; box-shadow: 0 7px 19px rgba(40,53,61,.06); transition: .18s ease; }
.pocket-166-product-card:hover,
.pocket-166-product-card:focus-visible { transform: translateY(-3px); border-color: var(--p166-red); background: #fffafa; color: var(--p166-ink) !important; box-shadow: 0 11px 25px rgba(76,42,45,.11); }
.pocket-166-product-label { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #f9e8e9; color: var(--p166-red-deep); font-size: 12px; font-weight: 800; }
.pocket-166-product-card h3 { margin: 11px 0 8px; font-size: 21px; }
.pocket-166-product-card p { color: var(--p166-muted); font-size: 14px; }
.pocket-166-arrow { color: var(--p166-red-deep); font-weight: 800; }

.pocket-166-cta-panel { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(220px,.7fr); gap: 24px; align-items: center; margin-top: 25px; padding: 28px; border-radius: 16px; background: linear-gradient(135deg,#a61f28 0%,#7d1620 100%); color: #fff; }
.pocket-166-cta-panel h3 { margin: 3px 0 9px; color: #fff; font-size: 22px; }
.pocket-166-cta-panel p { color: #fff; }
.pocket-166-cta-kicker { margin: 0 !important; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.pocket-166-cta-buttons { display: grid; gap: 10px; }
.pocket-166-cta-primary,
.pocket-166-cta-secondary { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 18px; border: 2px solid transparent; border-radius: 8px; font-weight: 800; text-align: center; text-decoration: none !important; }
.pocket-166-page .pocket-166-cta-primary { background-color: #fff; color: #7c151e; border-color: #fff; }
.pocket-166-page .pocket-166-cta-primary:hover,
.pocket-166-page .pocket-166-cta-primary:focus-visible { background-color: #f5dfe1; color: #651018; border-color: #f5dfe1; }
.pocket-166-page .pocket-166-cta-secondary { background-color: transparent; color: #fff; border-color: rgba(255,255,255,.82); }
.pocket-166-page .pocket-166-cta-secondary:hover,
.pocket-166-page .pocket-166-cta-secondary:focus-visible { background-color: #fff; color: #7c151e; border-color: #fff; }

.pocket-166-faq-list { display: grid; gap: 12px; }
.pocket-166-faq details { overflow: hidden; border: 1px solid #d9e0e4; border-radius: 10px; background: #fff; }
.pocket-166-faq summary { position: relative; padding: 18px 52px 18px 52px; cursor: pointer; color: #28353d; font-weight: 800; list-style: none; }
.pocket-166-faq summary::-webkit-details-marker { display: none; }
.pocket-166-faq summary::before { position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--p166-red); color: #fff; content: "Q"; font-size: 12px; }
.pocket-166-faq summary::after { position: absolute; right: 20px; top: 17px; color: var(--p166-blue); content: "+"; font-size: 24px; line-height: 1; }
.pocket-166-faq details[open] summary::after { content: "−"; }
.pocket-166-faq details > div { padding: 0 22px 18px 52px; color: var(--p166-muted); }
.pocket-166-faq details > div p { margin: 0; }

.pocket-166-related { margin: 0 0 42px; padding: 27px; border-radius: 14px; background: #f4f7f8; }
.pocket-166-related h2 { margin: 0 0 18px; color: #29363e; font-size: 23px; }
.pocket-166-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pocket-166-related-grid a { display: block; padding: 12px 14px; border: 1px solid #d9e0e3; border-radius: 8px; background: #fff; color: var(--p166-blue-deep); font-weight: 700; text-decoration: none; }
.pocket-166-related-grid a:hover,
.pocket-166-related-grid a:focus-visible { border-color: var(--p166-blue); background: #eef8fb; color: var(--p166-blue-deep); }
.pocket-166-back { margin: 18px 0 0 !important; }

.pocket-166-final-cta { margin-bottom: 30px; padding: 34px 30px; border: 1px solid #cfdde3; border-radius: 16px; background: linear-gradient(135deg,#f4fafc,#fff7f4); text-align: center; }
.pocket-166-final-cta h2 { margin: 0 0 10px; color: #28353d; font-size: clamp(22px,2vw,30px); }
.pocket-166-final-cta > div { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.pocket-166-final-cta .pocket-166-cta-primary { min-width: 230px; background-color: var(--p166-red); color: #fff; border-color: var(--p166-red); }
.pocket-166-final-cta .pocket-166-cta-primary:hover,
.pocket-166-final-cta .pocket-166-cta-primary:focus-visible { background-color: var(--p166-red-deep); color: #fff; border-color: var(--p166-red-deep); }
.pocket-166-final-cta .pocket-166-cta-secondary { min-width: 230px; background-color: #fff; color: var(--p166-blue-deep); border-color: var(--p166-blue); }
.pocket-166-final-cta .pocket-166-cta-secondary:hover,
.pocket-166-final-cta .pocket-166-cta-secondary:focus-visible { background-color: var(--p166-blue); color: #fff; border-color: var(--p166-blue); }

@media (min-width: 651px) and (max-width: 1100px) {
    .pocket-166-body #Bread { width: 94%; }
    .pocket-166-body #mein-Contents { width: 94%; gap: 20px; }
    .pocket-166-body #sideMenu { width: 25%; }
    .pocket-166-body #Main { width: 75%; }
    .pocket-166-design-row { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    .pocket-166-body #Bread { width: 94%; margin: 8px auto 0; }
    .pocket-166-body #mein-Contents { display: block; width: 100%; margin-top: 10px; padding: 0 14px; }
    .pocket-166-body #sideMenu { display: none; float: none; width: 100%; }
    .pocket-166-body #Main { float: none; width: 100%; }
    .pocket-166-page { font-size: 15px; line-height: 1.85; }
    h1.pocket-166-title { margin-bottom: 16px; padding: 15px 16px; font-size: 25px; }
    .pocket-166-hero { border-radius: 11px; }
    .pocket-166-lead { padding: 22px 19px 18px; }
    .pocket-166-heading { align-items: flex-start; }
    .pocket-166-heading > span { flex-basis: 36px; height: 36px; }
    .pocket-166-heading h2 { font-size: 22px; }
    .pocket-166-point-grid,
    .pocket-166-use-grid,
    .pocket-166-guide-grid,
    .pocket-166-design-row,
    .pocket-166-industry-layout,
    .pocket-166-product-grid,
    .pocket-166-related-grid { grid-template-columns: 1fr; }
    .pocket-166-toc ol { grid-template-columns: 1fr; }
    .pocket-166-use-card { min-height: 0; }
    .pocket-166-note { padding: 18px; }
    .pocket-166-note ul { grid-template-columns: 1fr; }
    .pocket-166-check-box { padding: 21px 20px; }
    .pocket-166-cta-panel { grid-template-columns: 1fr; padding: 23px 20px; }
    .pocket-166-faq summary { padding: 17px 44px 17px 48px; }
    .pocket-166-faq details > div { padding: 0 18px 17px 48px; }
    .pocket-166-related { padding: 22px 18px; }
    .pocket-166-final-cta { padding: 27px 18px; }
    .pocket-166-final-cta > div { flex-direction: column; }
    .pocket-166-final-cta .pocket-166-cta-primary,
    .pocket-166-final-cta .pocket-166-cta-secondary { min-width: 0; width: 100%; }
}

@media (max-width: 480px) {
    .pocket-166-body #mein-Contents { padding: 0 10px; }
    h1.pocket-166-title { font-size: 22px; }
    .pocket-166-lead-title { font-size: 19px; }
    .pocket-166-point-card,
    .pocket-166-guide-card,
    .pocket-166-design-card,
    .pocket-166-product-card { padding: 18px; }
    .pocket-166-use-card { padding: 17px; }
    .pocket-166-use-icon { flex-basis: 40px; width: 40px; height: 40px; }
}
