/* Shared navigation for the local review; independent of legacy page styling. */
body header.masthead{position:absolute;inset:22px clamp(14px,3vw,42px) auto;z-index:50;width:auto;height:auto;padding:0;margin:0;background:transparent;box-sizing:border-box;font-family:Inter,"Yu Gothic",Meiryo,sans-serif;color:#17383b;line-height:1.4}
.masthead *{box-sizing:border-box}
.masthead a{text-decoration:none;color:inherit}
.masthead .bar{display:flex;align-items:center;gap:clamp(16px,3vw,42px);padding:10px 14px 10px 26px;margin:0;width:100%;border-radius:100px;background:#fff;box-shadow:0 12px 40px #12343617}
body header.masthead img.logo{display:block;width:135px;height:auto;margin:0;padding:0}
.masthead .desktop{display:flex;align-items:center;gap:clamp(16px,3vw,42px);margin-left:auto;font-size:14px;font-weight:700}
.masthead button{font:inherit;color:inherit;cursor:pointer}
.masthead .desktop button{border:0;background:none;padding:10px 0;font-size:14px}
.masthead .round{display:grid;place-content:center;place-items:center;gap:1px;width:52px;height:52px;padding:0;flex:none;border:2px solid #45a6af;border-radius:50%;background:#fff;color:#277580;line-height:1}
.masthead .round span{font-size:20px}.masthead .round small{font-size:8px;font-weight:800}
.masthead .panel{display:grid;gap:4px;margin:8px 0 0 auto;padding:14px;width:min(340px,100%);border-radius:22px;background:white;box-shadow:0 12px 40px #12343627}
.masthead .panel[hidden]{display:none}.masthead .panel a{padding:10px 12px;border-radius:10px;font-size:14px;font-weight:700}.masthead .panel small{margin-left:6px;font-size:10px;color:#277580}
.masthead a:hover,.masthead button:hover{color:#267980}.masthead :is(a,button):focus-visible,.site-footer a:focus-visible{outline:2px solid #277580;outline-offset:4px}
body footer.site-footer{display:grid;grid-template-columns:160px 1fr;align-items:center;gap:34px 56px;padding:56px clamp(20px,5vw,80px) 28px;margin:0;width:100%;background:#fff;color:#17383b;box-sizing:border-box;font-family:Inter,"Yu Gothic",Meiryo,sans-serif;line-height:1.5}
.site-footer *{box-sizing:border-box}.site-footer>a{display:block}.site-footer>a img{display:block;width:150px;height:auto;margin:0}
.site-footer nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:20px clamp(24px,3vw,48px)}
.site-footer nav a{font-size:24px;font-weight:600;line-height:1.5;text-decoration:none;color:#17383b;white-space:nowrap}
.site-footer nav a:hover{color:#267980}.site-footer small{grid-column:1/-1;font-size:12px;color:#426568}
.corporate-vision{position:relative;background:#e5f6f7 url('/wp-content/themes/douce_theme/douce-20261117/assets/vision_pc.jpg') center/cover no-repeat;padding:100px clamp(24px,8vw,150px);min-height:680px;overflow:hidden}
.vision-inner{max-width:1200px;margin:auto}.corporate-vision h2{font-size:clamp(46px,6vw,88px);line-height:1.1;letter-spacing:-.05em;margin:0 0 58px;font-weight:600;color:#45a6af;background:linear-gradient(90deg,#b9dfc6,#3fa3ae);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;width:fit-content}
.corporate-vision h3{font-size:clamp(26px,2.7vw,40px);line-height:1.8;font-weight:700;color:#202d30;margin:0 0 30px;letter-spacing:.03em}
.corporate-vision em{font-style:normal;color:#3fa3ae}.vision-copy{max-width:650px;color:#263438;font-size:16px;line-height:2}.vision-copy p{margin:0 0 16px}.vision-mobile-photo{display:none}
body section.marketing-news{max-width:1320px;margin:auto;padding:70px clamp(20px,5vw,60px);background:#f4f9f8;color:#17383b;box-sizing:border-box}
.marketing-news .heading{display:flex;align-items:baseline;gap:14px;margin-bottom:24px}.marketing-news h2{font-size:60px;font-weight:700;line-height:1;margin:0;letter-spacing:-.06em}.marketing-news .heading>span{font-size:13px;font-weight:700}
body section.marketing-news ul{width:100%;list-style:none;margin:0;padding:0;border-top:1px solid #d2e3e0}
body section.marketing-news li{display:grid;grid-template-columns:85px 1fr;gap:20px;margin:0;padding:22px 0;border-bottom:1px solid #d2e3e0;font-size:16px;line-height:1.8;color:#17383b}
.marketing-news time{font-weight:700;color:#316c70}
@media(max-width:1000px){body footer.site-footer{grid-template-columns:1fr}.site-footer nav{justify-content:flex-start}.site-footer nav a{font-size:24px}.corporate-vision{background-position:55% center}.vision-copy{max-width:55%;font-size:15px}}
@media(max-width:720px){body header.masthead{top:12px}.masthead .bar{padding:8px 10px 8px 18px;justify-content:space-between}body header.masthead img.logo{width:108px}.masthead .desktop{display:none}.masthead .round{width:44px;height:44px}.masthead #business-menu{display:none}
body footer.site-footer{padding:40px 24px 24px;gap:28px}.site-footer nav{display:grid;grid-template-columns:1fr;gap:18px}.site-footer nav a{font-size:24px}.site-footer>a img{width:135px}
.corporate-vision{padding:50px 24px 0;background:#e5f6f7;min-height:0}.corporate-vision h2{font-size:48px;margin-bottom:32px}.corporate-vision h3{font-size:26px;line-height:1.7;letter-spacing:0}.vision-copy{max-width:none;font-size:15px;line-height:2}.vision-copy br{display:none}.vision-copy p{margin-bottom:22px}.vision-mobile-photo{display:block;width:calc(100% + 48px);max-width:none;height:auto;margin:0 -24px}.vision-pc{display:none}
.marketing-news h2{font-size:44px}body section.marketing-news{padding:50px 24px}body section.marketing-news li{grid-template-columns:1fr;gap:6px;font-size:14px}}
.wave-filter{position:absolute;pointer-events:none;width:0;height:0}
body section#news.marketing-news{padding:70px clamp(20px,5vw,60px)}
section#news.marketing-news h2{margin:0;padding:0;font-size:60px}
section#news.marketing-news li{padding:22px 0}
@media(max-width:720px){body section#news.marketing-news{padding:50px 24px}section#news.marketing-news h2{font-size:44px}}

/* Compact navigation labels across all page previews. */
.masthead .desktop,.masthead .desktop button{font-size:12px}
.masthead .desktop{gap:clamp(16px,2.5vw,34px)}
.masthead .panel a{font-size:12px}
/* Black brand opening, then a soft dissolve into the existing hero. */
.brand-intro{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#080808;color:white;pointer-events:none;animation:brand-intro-out 2.6s cubic-bezier(.4,0,.2,1) both}
.brand-intro[hidden]{display:none}
.brand-intro>span{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(40px,5vw,66px);letter-spacing:.04em;line-height:1;animation:brand-intro-logo 1.7s cubic-bezier(.22,1,.36,1) both}
@keyframes brand-intro-logo{0%{opacity:0;filter:blur(5px);transform:translateY(5px)}25%,70%{opacity:1;filter:blur(0);transform:translateY(0)}100%{opacity:0;filter:blur(2px);transform:translateY(-4px)}}
@keyframes brand-intro-out{0%,58%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
/* SINTECH-inspired continuous, linear background wordmark. */
.hero .hero-wordmark{position:absolute;left:0;right:0;top:47%;transform:translateY(-50%);z-index:1;overflow:hidden;pointer-events:none;opacity:.12;user-select:none}
.hero .wordmark-track{display:flex;width:max-content;animation:douce-wordmark-scroll 25s linear infinite;will-change:transform}
.hero .wordmark-track>span{display:block;flex:none;color:#fff;font-family:Inter,Arial,sans-serif;font-size:clamp(180px,27vw,480px);font-weight:500;line-height:1;letter-spacing:-.03em;white-space:nowrap}
.hero .hero-copy{z-index:2}.hero .hero-scroll{z-index:2}
@keyframes douce-wordmark-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:720px){.hero .hero-wordmark{top:46%;opacity:.11}.hero .wordmark-track>span{font-size:210px}}
@media(prefers-reduced-motion:reduce){.brand-intro{display:none}.hero .wordmark-track{animation:none;will-change:auto}}

/* Match footer text to the original header navigation size. */
.masthead .desktop,.masthead .desktop button,.masthead .panel a{font-size:14px}
.masthead .desktop{gap:clamp(16px,3vw,42px)}
.site-footer nav a{font-size:14px}
@media(max-width:1000px){.site-footer nav a{font-size:14px}}
@media(max-width:720px){.site-footer nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.site-footer nav a{font-size:14px;white-space:normal}}

.vision-copy{font-family:Inter,"Yu Gothic",Meiryo,sans-serif}
.hero.is-offscreen .ambient-flow i,.hero.is-offscreen picture img,.hero.is-offscreen .wordmark-track{animation-play-state:paused!important}
body.admin-bar header.masthead{top:54px}
@media(max-width:782px){body.admin-bar header.masthead{top:58px}}


@media(max-width:720px){.masthead .round small{display:none}.masthead .round{gap:0}}
.news-more{margin:0;padding:0}.news-more summary{display:flex;justify-content:center;align-items:center;list-style:none;cursor:pointer;width:150px;min-height:44px;margin:24px auto;border:1px solid #b8d0cb;border-radius:100px;color:#245e64;font-family:Inter,"Yu Gothic",Meiryo,sans-serif;font-size:14px;font-weight:600;background:transparent}
.news-more summary::-webkit-details-marker{display:none}.news-more summary:hover{background:#e5efec}.news-more summary:focus-visible{outline:2px solid #277580;outline-offset:3px}
.news-more .less-label{display:none}.news-more[open] .more-label{display:none}.news-more[open] .less-label{display:inline}
.news .news-more ul,section#news.marketing-news .news-more ul{border-top:0}

@media(max-width:720px){
 .masthead .round{display:flex;align-items:center;justify-content:center;padding:0;gap:0}
 .masthead .round span{display:block;flex:none;width:18px;height:14px;margin:0;padding:0;font-size:0;line-height:0;border-top:2px solid currentColor;border-bottom:2px solid currentColor;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat;box-sizing:border-box}
}

.company-message-link{margin:0 auto;padding-top:0;padding-bottom:64px}
.company-message-link a{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:600px;padding:24px 28px;border:1px solid #c5d9d5;border-radius:16px;background:#f4f9f8;color:#245e64;font-family:Inter,"Yu Gothic",Meiryo,sans-serif;font-size:18px;font-weight:600;line-height:1.5;text-decoration:none}
.company-message-link a:hover{background:#e5efec}.company-message-link a:focus-visible{outline:2px solid #277580;outline-offset:4px}
@media(max-width:720px){.company-message-link{padding-bottom:40px}.company-message-link a{padding:20px;font-size:16px}}
