/* Heartifull — Cloudflare Pages static site (original site recreation) */
:root { --orange:#ff9826; --orange-light:#ffb15e; --ink:#111; --jp:"Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif; }
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:white;font-family:Arial,Helvetica,var(--jp);-webkit-font-smoothing:antialiased}
a{color:inherit}
a:focus-visible{outline:3px solid #bd5f00;outline-offset:4px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;top:-80px;left:20px;z-index:100;padding:10px;background:#fff}
.skip-link:focus{top:10px}
/* Desktop hero uses the user's photograph+logo screenshot for exact artwork and avoids third-party image hosting. */
.hero{position:relative;width:100%;aspect-ratio:1068/575;background:#f8f9f8 url('assets/hero-desktop.webp') center/cover no-repeat}
.mobile-brand{display:none}
.hero-nav{position:absolute;top:69%;right:12.8%;display:flex;flex-direction:column;gap:3px;z-index:2}
.hero-nav a{display:flex;justify-content:flex-end;align-items:center;gap:6px;text-decoration:none;font:8px/1.2 Arial,sans-serif;color:#303030;min-height:9px}
.hero-nav a i{display:block;width:6px;height:6px;border-radius:50%;border:1px solid #777;background:transparent;flex:none}
.hero-nav a.active i,.hero-nav a:hover i{background:#272727;border-color:#272727}
/* About section */
.about{min-height:643px;position:relative;overflow:hidden;isolation:isolate;background:#fefdfc}
.about::before,.about::after{content:"";position:absolute;z-index:-1;border:1px solid rgba(232,207,179,.16);border-radius:50%;pointer-events:none}
.about::before{width:165%;height:135%;top:-100%;left:-48%;transform:rotate(12deg)}
.about::after{width:167%;height:140%;top:-48%;left:-74%;transform:rotate(13deg)}
.about-arcs{position:absolute;inset:0;z-index:-2;background:linear-gradient(118deg,rgba(254,254,254,.9),rgba(252,248,244,.25) 65%,white);pointer-events:none}
.about-copy{position:absolute;left:10.8%;top:119px}
.accent-square{display:block;width:20px;height:20px;background:var(--orange)}
.about-copy .accent-square{margin-left:-33px;margin-bottom:8px}
.about h2{font-size:36px;font-weight:700;letter-spacing:-.025em;line-height:1.2;margin:0 0 22px}
.about-copy p{margin:0;font:12px/1.85 var(--jp);letter-spacing:.02em}
.service-circles{position:absolute;left:48.5%;top:124px;width:250px}
.service-circle{border:1px solid rgba(255,152,38,.65);border-radius:50%;width:246px;height:246px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.03)}
.service-circle+.service-circle{margin-top:-57px}
.service-inner{width:205px;transform:translateX(17px)}
.service-circle h3{margin:0 0 24px;font-size:19px;font-weight:500;color:#f58a18;white-space:nowrap;letter-spacing:.01em}
.service-circle p{margin:0;font:11px/1.85 var(--jp);letter-spacing:.03em;max-width:205px}
/* Company */
.company{min-height:533px;display:grid;grid-template-columns:36.2% 1fr;padding:90px 6.2% 58px 7.7%;gap:0;background:#fff}
.company-heading .accent-square{margin:0 0 12px}
.company-heading h2{margin:0 0 15px 34px;font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.02em}
.company-details{font:12px/1.7 var(--jp);margin:0;padding:0;letter-spacing:.02em}
.company-details>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;margin:0 0 24px}
.company-details dt{font-weight:400}
.company-details dd{margin:0;min-width:0}
.company-details ul{margin:0;padding:0;list-style:none}
.company-details li{margin:0}
/* Footer */
.footer{min-height:300px;background:var(--orange);color:#fff}
.footer-inner{position:relative;min-height:300px;padding:62px 5.3% 30px}
.footer-top{display:flex;align-items:center;gap:175px;margin:0 0 30px 2.2%}
.footer-square{display:block;width:20px;height:20px;background:#fff}
.footer-mail{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:#fff;color:var(--orange);border-radius:50%;text-decoration:none}
.footer-mail svg{display:block;width:13px;height:13px}
.copyright{font:8px/1.5 Arial,sans-serif;margin:0 0 58px}
.back-top{display:inline-block;border:1px solid rgba(255,255,255,.7);padding:7px 15px;font:9px/1 Arial,sans-serif;margin-left:5.3%;text-decoration:none}
.back-top:hover{background:#fff;color:#d67203}
.footer-logo{position:absolute;right:10.5%;bottom:12px;width:220px;height:auto;object-fit:contain}
@media (min-width:1300px){.about{min-height:680px}.about-copy{left:12%;top:137px}.service-circles{left:50%;top:135px}.company{grid-template-columns:35% 1fr;padding-left:10%}}
@media (max-width:760px){
 .hero{aspect-ratio:auto;min-height:530px;height:78svh;max-height:780px;background-image:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.26) 68%,rgba(255,255,255,.95) 100%),url('assets/hero-mobile.webp');background-size:cover,auto 84%;background-repeat:no-repeat;background-position:center,center top}
 .mobile-brand{display:block;position:absolute;left:5%;right:5%;bottom:20%;max-width:430px}
 .mobile-brand img{width:100%;height:auto}
 .hero-nav{top:auto;right:0;left:0;bottom:17px;display:flex;flex-direction:row;justify-content:center;gap:22px}
 .hero-nav a{font-size:12px;gap:7px;min-height:36px;padding:0 2px}
 .hero-nav a i{width:7px;height:7px}
 .about{min-height:765px;padding:65px 8% 70px}
 .about-copy{position:relative;left:auto;top:auto;max-width:500px}
 .about-copy .accent-square{margin-left:0;margin-bottom:15px}
 .about h2{font-size:33px;margin-bottom:20px}
 .about-copy p{font-size:13px;line-height:2}
 .desktop-break{display:none}
 .service-circles{position:relative;left:auto;top:auto;margin:40px auto 0;width:min(270px,100%)}
 .service-circle{width:246px;height:246px;margin-left:auto;margin-right:auto}
 .service-inner{transform:translateX(11px)}
 .company{min-height:auto;padding:70px 8% 90px;display:block}
 .company-heading{margin-bottom:40px}
 .company-heading h2{margin-left:0;font-size:32px}
 .company-details{font-size:12px;line-height:1.8}
 .company-details>div{grid-template-columns:100px minmax(0,1fr);gap:12px;margin-bottom:20px}
 .footer-inner{min-height:300px;padding:48px 8% 30px}
 .footer-top{gap:85px;margin-left:0}
 .footer-logo{width:190px;right:7%;bottom:25px}
 .back-top{margin-left:0}
}
@media (max-width:420px){.hero{min-height:475px;height:70svh}.mobile-brand{bottom:21%}.about{min-height:785px}.service-circles{margin-top:36px}.company-details>div{grid-template-columns:82px 1fr;gap:10px}.company-details{font-size:11px}.footer-logo{width:157px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* Desktop wide-screen proportional layout: prevents photos growing while copy and circles stay tiny. */
/* Recreates the spacing and legibility of the original 1068px-wide Wix capture on wider monitors. */
@media (min-width: 1200px) {
  .hero-nav { gap: .28vw; }
  .hero-nav a { font-size: .75vw; min-height: .85vw; gap: .56vw; }
  .hero-nav a i { width: .56vw; height: .56vw; }
  .about { min-height: 60.3vw; }
  .about-copy { top: 11.15vw; left: 10.8%; }
  .accent-square { width: 1.87vw; height: 1.87vw; }
  .about-copy .accent-square { margin-left: -3.1vw; margin-bottom: .75vw; }
  .about h2 { font-size: 3.37vw; margin-bottom: 2.05vw; }
  .about-copy p { font-size: 1.12vw; line-height: 1.85; }
  .service-circles { left: 48.5%; top: 11.61vw; width: 23.04vw; }
  .service-circle { width: 23.04vw; height: 23.04vw; }
  .service-circle + .service-circle { margin-top: -5.34vw; }
  .service-inner { width: 19.2vw; transform: translateX(1.59vw); }
  .service-circle h3 { margin-bottom: 2.25vw; font-size: 1.78vw; }
  .service-circle p { font-size: 1.03vw; max-width: 19.2vw; }
  .company { min-height: 49.9vw; grid-template-columns: 36.2% 1fr; padding: 8.4vw 6.2vw 5.4vw 7.7vw; }
  .company-heading .accent-square { margin-bottom: 1.12vw; }
  .company-heading h2 { font-size: 2.81vw; margin-left: 3.18vw; }
  .company-details { font-size: 1.12vw; }
  .company-details > div { grid-template-columns: 10.3vw minmax(0, 1fr); gap: 1.87vw; margin-bottom: 2.25vw; }
  .footer, .footer-inner { min-height: 28.09vw; }
  .footer-inner { padding: 5.81vw 5.3vw 2.81vw; }
  .footer-top { gap: 16.38vw; margin: 0 0 2.8vw 2.2vw; }
  .footer-square, .footer-mail { width: 1.87vw; height: 1.87vw; }
  .footer-mail svg { width: 1.22vw; height: 1.22vw; }
  .copyright { font-size: .75vw; margin-bottom: 5.43vw; }
  .back-top { padding: .65vw 1.4vw; font-size: .843vw; margin-left: 5.3vw; }
  .footer-logo { right: 10.5%; bottom: 1.12vw; width: 20.6vw; }
}


/* Ver.3: original Wix footer's "Contact / Go (kojima@heartifull.com)"
   was omitted visually from the first recreation. Keep it readable and clickable. */
.footer-top{align-items:flex-start;gap:30px;margin-bottom:20px}
.footer-square{margin-top:9px;flex:none}
.footer-contact{min-width:0}
.footer-contact h2{font:700 28px/1.2 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.065em;margin:0 0 12px}
.footer-contact-link{display:inline-flex;align-items:center;gap:10px;color:#fff;font:14px/1.4 Arial,Helvetica,sans-serif;text-decoration:underline;text-decoration-color:rgba(255,255,255,.75);text-underline-offset:4px;overflow-wrap:anywhere}
.footer-contact-link:hover{text-decoration-color:#fff}
.footer-contact-link .footer-mail{width:25px;height:25px;flex:none}
.footer-contact-link .footer-mail svg{width:15px;height:15px}
.footer .copyright{margin-bottom:40px}
@media (min-width:1200px){
  .footer-top{gap:2.81vw;margin-bottom:1.9vw}
  .footer-square{margin-top:.85vw}
  .footer-contact h2{font-size:2.62vw;margin-bottom:1.12vw}
  .footer-contact-link{font-size:1.31vw;gap:.95vw}
  .footer-contact-link .footer-mail{width:2.34vw;height:2.34vw}
  .footer-contact-link .footer-mail svg{width:1.4vw;height:1.4vw}
  .footer .copyright{margin-bottom:3.75vw}
}
@media (max-width:760px){
  .footer-top{gap:17px;margin-bottom:24px}
  .footer-square{margin-top:6px}
  .footer-contact h2{font-size:27px;margin-bottom:10px}
  .footer-contact-link{font-size:13px;gap:9px}
  .footer .copyright{margin-bottom:42px}
}
@media (max-width:420px){
  .footer-contact h2{font-size:24px}
  .footer-contact-link{font-size:12px}
}


/* Ver.4: enlarge both About service circles, contain all headings, and make strokes clearer. */
@media (min-width:761px) and (max-width:1199px) {
  .service-circles { left:47.5%; top:100px; width:290px; }
  .service-circle { width:290px; height:290px; border-width:2px; }
  .service-circle + .service-circle { margin-top:-75px; }
  .service-inner { width:calc(100% - 58px); transform:none; }
  .service-circle h3 { font-size:19px; margin-bottom:18px; white-space:normal; }
  .service-circle p { max-width:none; }
}
@media (min-width:1200px) {
  .service-circles { left:47.5%; top:9.5vw; width:27.15vw; }
  .service-circle { width:27.15vw; height:27.15vw; border-width:2px; }
  .service-circle + .service-circle { margin-top:-7.02vw; }
  .service-inner { width:calc(100% - 5.4vw); transform:none; }
  .service-circle h3 { font-size:1.78vw; margin-bottom:1.8vw; white-space:normal; }
  .service-circle p { max-width:none; }
}
@media (max-width:760px) {
  .service-circles { width:min(290px,100%); margin-top:42px; }
  .service-circle { width:100%; height:auto; aspect-ratio:1; border-width:2px; }
  .service-circle + .service-circle { margin-top:-70px; }
  .service-inner { width:calc(100% - 48px); transform:none; }
  .service-circle h3 { white-space:normal; font-size:18px; margin-bottom:17px; }
  .service-circle p { max-width:none; }
}
