:root{--ink:#17383b;--teal:#45a6af;--paper:#f4f9f8;--edge:clamp(14px,3vw,42px)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,"Yu Gothic","Hiragino Kaku Gothic Pro",Meiryo,sans-serif}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
a:focus-visible,button:focus-visible{outline:2px solid #277580;outline-offset:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.masthead{position:absolute;z-index:2;inset:22px var(--edge) auto}
.bar{display:flex;align-items:center;gap:clamp(16px,3vw,42px);padding:10px 14px 10px 26px;border-radius:100px;background:white;box-shadow:0 12px 40px #12343617}
.logo{display:block;width:135px;height:auto}
.desktop{display:flex;align-items:center;gap:clamp(16px,3vw,42px);margin-left:auto;font-size:14px;font-weight:700}
.desktop button{border:0;background:none;padding:10px 0}
.desktop a:hover,.desktop button:hover,.panel a:hover{color:#267980}
.round{display:grid;place-content:center;place-items:center;gap:1px;width:52px;height:52px;padding:0;flex:none;border:2px solid var(--teal);border-radius:50%;background:white;color:#277580;line-height:1}
.round span{font-size:20px}.round small{font-size:8px;font-weight:800}
.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}
.panel[hidden]{display:none}
.panel a{padding:10px 12px;border-radius:10px;font-size:14px;font-weight:700}
.panel a:hover{background:var(--paper)}
.panel small{margin-left:6px;font-size:10px;color:#277580}
.hero{position:relative;isolation:isolate;background:radial-gradient(circle at right bottom,#a6bd96,#2a8ab7 60%)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at right bottom,#8db6bd,#5c9ba1 80%);animation:hero-color 6s linear infinite alternate}
.hero picture{display:block}
.hero img{display:block;width:100%;height:auto}
.hero-copy{position:absolute;left:50%;top:50%;width:90%;max-width:1060px;transform:translate(-50%,-50%);padding-top:100px;color:white}
.hero-copy p{margin:0}
.hero-copy .main-catch{font-size:clamp(30px,4.861vw,80px);font-weight:600;letter-spacing:.1em;line-height:1.5;margin-bottom:30px}
.hero-copy .eng-catch{font-size:clamp(20px,2.778vw,50px);font-weight:300;letter-spacing:.05em;line-height:1.3}
.hero-copy .hero-description{max-width:1060px;font-size:clamp(16px,2.2224vw,40px);font-weight:300;line-height:1.5;letter-spacing:.05em;margin:0}
.hero-sp{display:none}
.hero-scroll{position:absolute;right:5%;bottom:12%;writing-mode:vertical-lr;font-size:14px;color:white}
.hero-scroll span{display:inline-block;height:50px;width:1px;background:white;margin-top:16px}
@keyframes hero-color{from{opacity:0}to{opacity:1}}
.section{max-width:1320px;margin:auto;padding:30px var(--edge) 54px}
.heading{display:flex;align-items:baseline;gap:14px;margin-bottom:18px}
.heading h2{margin:0;font-size:clamp(34px,5vw,60px);letter-spacing:-.06em;line-height:1}
.heading span{font-size:13px;color:#316c70;font-weight:700}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.card{display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:white;border:1px solid #dce9e7}
.cover{position:relative;display:grid;place-items:center;aspect-ratio:1.75}
.cover span{position:absolute;top:16px;left:16px;background:white;padding:5px 8px;border-radius:24px;color:var(--ink);font-size:11px;font-weight:800}
.cover strong{font-size:clamp(25px,5vw,68px);letter-spacing:.05em}
.marketing{background:#d5e7e5 url("assets/service-ph_pc.jpg") center 42% / cover}
.leo{background:#36291f}
.leo img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 47%}
.tell{background:#ead9dd;color:#673c4b}
.tell img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 53%}
.card-body{padding:20px}
.card-body p{margin:0;color:#426568;font-size:12px;font-weight:700}
.card-body h3{margin:8px 0;font-size:clamp(16px,1.7vw,24px)}
.card-body a,.badge{display:inline-block;margin-top:8px;font-size:12px;font-weight:700;color:#276a71}
.badge{border-radius:20px;padding:5px 9px;background:#e9f4f2}
.news ul{margin:0;padding:0;list-style:none;border-top:1px solid #d2e3e0}
.news li{display:flex;gap:20px;padding:18px 0;border-bottom:1px solid #d2e3e0;font-size:14px}
.news time{font-weight:800;color:#316c70}
footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:32px var(--edge);background:white}
footer div{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:12px}
@media(max-width:720px){
 .masthead{top:12px}.bar{padding:8px 10px 8px 18px;justify-content:space-between}.logo{width:108px}.desktop{display:none}
 #business-menu{display:none}.round{width:44px;height:44px}
 .hero-copy{padding-top:32px}.hero-copy .hero-description{font-size:4vw;line-height:1.6;margin-bottom:0}.hero-copy .eng-catch{font-size:5vw}.hero-copy .main-catch{font-size:8.4vw;letter-spacing:.12em;white-space:nowrap;margin-bottom:30px}.hero-copy .eng-catch{font-size:5vw}.hero-pc,.hero-scroll{display:none}.hero-sp{display:block}
 .section{padding-bottom:36px}.cards{grid-template-columns:1fr}.cover strong{font-size:48px}
 footer{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero::before{animation:none}}

.card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1}
.card-body .card-cta{display:inline-flex;align-items:center;justify-content:center;flex:none;width:136px;height:44px;margin-top:auto;padding:0 16px;border:0;border-radius:8px;background:#e9edeb;color:#68736f;font-size:12px;font-weight:700;line-height:1;letter-spacing:.02em}
.card-body h3{margin-bottom:20px}
.card-body a.card-cta{background:#245e64;color:#fff;transition:background .2s}
@media(hover:hover){.card-body a.card-cta:hover{background:#173f44}}
a.card-cta:focus-visible{outline:3px solid #277580;outline-offset:4px}
.card-body a.card-cta:active{background:#123236}
@media(prefers-reduced-motion:reduce){a.card-cta{transition:none}}

footer{flex-wrap:wrap}
.copyright{flex-basis:100%;font-size:11px;color:#426568}

.contact-page{max-width:900px;margin:auto;padding:160px var(--edge) 72px}
.contact-heading p{font-size:clamp(40px,6vw,64px);font-weight:700;letter-spacing:-.05em;margin:0}
.contact-heading h1{font-size:20px;margin:10px 0 30px}
.contact-intro,.preview-note{font-size:14px;line-height:1.8}
.preview-note{color:#426568;background:#e6efec;padding:12px 16px;border-radius:8px;margin-bottom:32px}
.contact-form{display:grid;gap:12px}
.contact-form label{font-size:14px;font-weight:700;margin-top:14px}
.contact-form label small{font-size:11px;color:#426568;margin-left:8px}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;min-width:0;min-height:48px;border:1px solid #bdcfca;border-radius:6px;padding:12px;background:white;color:var(--ink);font:inherit;font-size:15px}
.contact-form textarea{resize:vertical}
.contact-form :is(input,select,textarea):focus-visible{outline:2px solid #277580;outline-offset:3px}
.privacy-link{font-size:13px;text-decoration:underline;margin:12px 0}
.contact-submit{justify-self:center;min-height:48px;width:200px;border:0;border-radius:8px;background:#dce5e2;color:#66736f;cursor:not-allowed}
@media(max-width:720px){.contact-page{padding-top:120px}.contact-form select{font-size:12px;padding-left:8px}}


/* Original DOUCE FV motion, with the new copy and existing capsule navigation. */
body{font-family:"Inter","游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"MS Pゴシック","MS PGothic",sans-serif}
.hero{overflow:hidden;opacity:1;animation:none}
.hero::before{display:none;animation:none}
.hero img{filter:none;transform:none;animation:none}
.hero-copy .main-catch{font-family:"游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"MS Pゴシック","MS PGothic",sans-serif;font-feature-settings:"palt";font-weight:600;letter-spacing:.1em}
.line-mask,.line-mask>span{display:block}
.line-mask{overflow:hidden}
.hero.original-motion{opacity:0}
.hero.original-motion .line-mask{opacity:0}
.hero.original-motion .line-mask>span{opacity:0;transform:matrix(1,0,0,1,0,50);transition:.5s cubic-bezier(.22,1,.36,1)}
.hero.original-motion .line-mask:nth-child(1)>span{transition-delay:1s}
.hero.original-motion .line-mask:nth-child(2)>span{transition-delay:1.2s}
.hero.original-motion.is-animated{animation:original-fade .5s ease forwards}
.hero.original-motion.is-animated .line-mask{opacity:1}
.hero.original-motion.is-animated .line-mask>span{opacity:1;transform:matrix(1,0,0,1,0,0)}
@keyframes original-fade{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:blur(0)}}
.hero-scroll span{animation:original-scroll 2s linear infinite;transform-origin:center top}
@keyframes original-scroll{0%{transform:scaleY(0);transform-origin:center top}44%{transform-origin:center top}45%{transform:scaleY(1);transform-origin:center bottom}90%{transform:scaleY(0);transform-origin:center bottom}91%,100%{transform-origin:center top}}
@media(max-width:720px){.hero-copy .main-catch{font-weight:700;letter-spacing:.2em}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero.original-motion,.hero.original-motion .line-mask,.hero.original-motion .line-mask>span{opacity:1;filter:none;transform:none;animation:none;transition:none}.hero-scroll span{animation:none}}

.hero.original-motion .hero-description{opacity:0;overflow:hidden}.hero.original-motion.is-animated .hero-description{animation:original-fade .6s ease 1.4s forwards}
@media(prefers-reduced-motion:reduce){.hero.original-motion .hero-description{opacity:1;animation:none}}

.wave-filter{position:absolute;pointer-events:none}
.hero picture img{filter:url(#wave-flow);transform-origin:center 65%;animation:wave-flow 12s ease-in-out infinite alternate}
@keyframes wave-flow{from{transform:scale(1.045) translate(-.7%,.4%)}to{transform:scale(1.075) translate(.7%,-.5%)}}
@media(prefers-reduced-motion:reduce){.hero picture img{filter:none;transform:none;animation:none}}

/* Larger, independent colour fields make the background motion clearly visible. */
.ambient-flow{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ambient-flow i{position:absolute;display:block;width:78%;height:95%;border-radius:50%;filter:blur(65px);opacity:.7;will-change:transform}
.ambient-flow i:nth-child(1){left:-30%;top:-30%;background:radial-gradient(ellipse,#b8d5a6 0%,#8fc9b0 35%,transparent 70%);animation:ambient-one 10s ease-in-out infinite alternate}
.ambient-flow i:nth-child(2){right:-30%;bottom:-35%;background:radial-gradient(ellipse,#146c9a 0%,#237fa2 40%,transparent 72%);animation:ambient-two 12s ease-in-out infinite alternate}
.ambient-flow i:nth-child(3){right:-10%;top:-40%;background:radial-gradient(ellipse,#b4d8d0 0%,#73bbc2 35%,transparent 70%);animation:ambient-three 9s ease-in-out infinite alternate}
.hero picture{position:relative;display:block}
.hero picture img{animation:wave-flow-strong 9s ease-in-out infinite alternate;transform-origin:center 65%}
@keyframes ambient-one{from{transform:translate(0,0) scale(1)}to{transform:translate(170%,130%) scale(1.25)}}
@keyframes ambient-two{from{transform:translate(0,0) scale(1.15)}to{transform:translate(-160%,-110%) scale(.95)}}
@keyframes ambient-three{from{transform:translate(0,0)}to{transform:translate(-130%,200%) scale(1.3)}}
@keyframes wave-flow-strong{from{transform:scale(1.25) translate(-6%,3%) rotate(-1.4deg)}to{transform:scale(1.31) translate(6%,-3%) rotate(1.4deg)}}
@media(max-width:720px){.ambient-flow i{filter:blur(35px)} }
@media(prefers-reduced-motion:reduce){.ambient-flow i,.hero picture img{animation:none;will-change:auto}.hero picture img{transform:none;filter:none}}
