/* Presentation only. No article text, SEO or commercial allocation overrides. */
.djm-front .djm-section{padding-block:34px}
.djm-front .djm-hero-carousel{padding-bottom:8px}
.djm-front .djm-carousel-controls{margin-bottom:0}
.djm-front .djm-area-journeys>a{padding:22px 18px;gap:14px;border:1px solid #d4e0d7;border-radius:5px;background:linear-gradient(135deg,#f4f8f3,#fff);box-shadow:0 3px 10px #1c493309}
.djm-front .djm-area-journeys>a:hover{border-color:#77927c;box-shadow:0 5px 14px #1c493313}
.djm-front .djm-prepare-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.djm-front .djm-prepare-links a{padding:0;border:0}
.djm-prepare .djm-card-link{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start}
.djm-prepare .djm-card-media{aspect-ratio:1}
.djm-prepare .djm-card-body{padding:0}
.djm-prepare .djm-card-body h3{font-size:15px;line-height:1.8;margin:0}
.djm-prepare .djm-read{font-size:12px;margin-top:10px}
.djm-autoplay{min-width:80px!important;border-radius:4px!important;font-size:12px!important}
.djm-home-ad{max-width:1280px;margin:12px auto;padding:16px 48px;box-sizing:border-box}
.djm-home-ad-label{font-size:11px;color:#6a746b;margin:0 0 8px;text-align:center}
.djm-home-ad-inner{display:grid;grid-template-columns:40px minmax(0,468px) 40px;gap:12px;justify-content:center;align-items:center}
.djm-home-ad-stage{aspect-ratio:468/60;position:relative;min-width:0;display:flex;justify-content:center;align-items:center}
.djm-home-ad-stage>a{display:block;width:100%;max-width:468px}
.djm-home-ad-stage>a>img{display:block;width:100%;height:auto;max-width:468px}
.djm-home-ad-stage>img[width="1"]{position:absolute;width:1px!important;height:1px!important;bottom:0;left:0}
.djm-home-ad button{width:40px;height:40px;border:1px solid #becfc1;background:white;color:#244f3d;border-radius:50%;cursor:pointer}
.djm-home-ad button:disabled{opacity:.35;cursor:default}
.djm-home-ad-count{font-size:11px;text-align:center;color:#68756c;margin:6px 0 0}
@media(max-width:767px){.djm-front .djm-section{padding-block:26px}.djm-front .djm-prepare-links{grid-template-columns:1fr;gap:20px}.djm-front .djm-area-journeys>a{padding:18px 14px}.djm-home-ad{padding:12px 16px}.djm-home-ad-inner{grid-template-columns:32px minmax(0,468px) 32px;gap:6px}.djm-home-ad button{width:32px;height:36px}.djm-home-ad-stage.is-mobile{aspect-ratio:320/50}.djm-home-ad-stage.is-mobile>a,.djm-home-ad-stage.is-mobile>a>img{max-width:320px}}

.djm-course-subtitle{font-size:13px;line-height:1.8;color:#65746a;margin:8px 0 0}

@media(max-width:767px){.djm-home-ad-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.djm-home-ad-stage{order:-1;flex:0 0 100%}.djm-home-ad button{width:40px;height:40px}}

.djm-home-ad-inner{grid-template-columns:40px minmax(0,320px) 40px}.djm-home-ad-stage{aspect-ratio:320/50;min-height:50px}.djm-home-ad-stage>a,.djm-home-ad-stage>a>img{width:320px;height:50px;max-width:none}
@media(max-width:351px){.djm-home-ad{display:none}}

/* TOP5: photo-edge controls, quiet decoration, one row of official-size ads. */
.djm-carousel-frame{position:relative}
.djm-front .djm-slide-track,.djm-front .djm-topic-track{scrollbar-width:none;padding-bottom:0}
.djm-slide-track::-webkit-scrollbar,.djm-topic-track::-webkit-scrollbar{display:none}
.djm-front :is(.djm-carousel-controls,.djm-topic-controls){position:absolute;inset:0;display:block;max-width:none;min-height:0;margin:0;padding:0;pointer-events:none}
.djm-front :is(.djm-carousel-controls,.djm-topic-controls)>div{display:contents}
.djm-front :is([data-djm-slide],[data-djm-topic]){position:absolute;top:var(--djm-arrow-top,50%);transform:translateY(-50%);z-index:3;width:44px;height:44px;background:#fffffff0;box-shadow:0 2px 8px #183d3029;pointer-events:auto}
.djm-front :is([data-djm-slide="-1"],[data-djm-topic="-1"]){left:10px}
.djm-front :is([data-djm-slide="1"],[data-djm-topic="1"]){right:10px}
.djm-front .djm-autoplay{position:absolute;right:12px;top:calc(var(--djm-arrow-top,180px) * 2 - 40px);width:32px!important;height:32px!important;min-width:32px!important;padding:0;z-index:3;pointer-events:auto;background:#ffffffed}
.djm-front .djm-autoplay[hidden]{display:none}
.djm-front .djm-area-journeys>a{position:relative;isolation:isolate;min-height:132px;box-sizing:border-box;overflow:hidden;align-content:center}
.djm-prefecture-shape{position:absolute;right:24px;top:50%;transform:translateY(-50%);width:84px;height:92px;opacity:.22;z-index:-1;object-fit:contain;pointer-events:none}
.djm-front .djm-area-title{position:relative;z-index:1}
.djm-home-ad-inner{display:grid;grid-template-columns:40px minmax(0,1008px) 40px;gap:12px}
.djm-home-ad-stage{display:grid;grid-template-columns:repeat(var(--djm-ad-columns,1),320px);justify-content:center;gap:0 24px;aspect-ratio:auto;min-height:50px}
.djm-home-ad-cell{position:relative;width:320px;height:50px}
.djm-home-ad-cell>a,.djm-home-ad-cell>a>img{display:block;width:320px!important;height:50px!important;max-width:none}
.djm-home-ad-cell>img{position:absolute;left:0;bottom:0;width:1px!important;height:1px!important}
.djm-home-ad-count{line-height:1.8;min-height:20px}
@media(max-width:899px){.djm-home-ad-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.djm-home-ad-stage{order:-1;flex:0 0 320px;grid-template-columns:320px;min-height:50px}.djm-home-ad-count{min-height:40px}}
@media(max-width:767px){.djm-front :is([data-djm-slide],[data-djm-topic]){width:40px;height:40px}.djm-front :is([data-djm-slide="-1"],[data-djm-topic="-1"]){left:6px}.djm-front :is([data-djm-slide="1"],[data-djm-topic="1"]){right:6px}.djm-front .djm-area-journeys>a{min-height:144px}.djm-prefecture-shape{width:64px;height:78px;right:10px;opacity:.19}}
