:root{--blue:#317fbe;--text:#736a67;--soft:#fffaf9;--line:#e9e4e2}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:76px}body{margin:0;color:var(--text);font-family:Arial,"Helvetica Neue","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;font-size:16px;line-height:1.65}button,input,textarea{font:inherit}a{color:inherit}img{display:block;max-width:100%}.site-header{height:108px;background:linear-gradient(90deg,#3989c8 0 64%,#1979b6 64%);color:#fff;position:sticky;top:0;z-index:10}.header-inner{width:min(100%,1440px);height:100%;margin:auto;padding:0 42px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;flex:none;min-width:230px}.brand-name{font-family:"Brush Script MT","Segoe Script",cursive;font-size:44px;font-style:italic}.brand-sub{font-size:18px;letter-spacing:.04em;margin-top:11px}.site-nav{display:flex;align-items:center;justify-content:flex-end;gap:31px;height:100%}.site-nav a{text-decoration:none;color:#fff;text-align:center;line-height:1.15;font-size:19px;white-space:nowrap}.site-nav small{display:block;font-size:16px;margin-top:7px}.site-nav .nav-contact{color:#474443;background:#fff;border-radius:999px;padding:17px 25px;font-size:18px;box-shadow:7px 8px 0 #125487}.menu-toggle{display:none}.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}.image-note{position:absolute;right:8px;bottom:8px;max-width:calc(100% - 16px);padding:2px 6px;background:#ffffffd9;color:#665f5d;font-size:10px;letter-spacing:.02em;line-height:1.2}.section{padding:76px 24px 92px;scroll-margin-top:74px}.section-heading{text-align:center;margin-bottom:72px}.section-heading h2{font-size:clamp(36px,3.4vw,43px);font-weight:400;line-height:1.15;margin:0}.section-heading p{margin:3px 0 0;font-size:15px;color:#554d4a}.works-section,.about-section{background:var(--soft)}.works-grid{width:min(100%,552px);margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 39px}.work-card{text-align:center;min-width:0}.work-image{aspect-ratio:1;position:relative;overflow:hidden}.placeholder{background:#f0e7e3}.work-image .mock-screen{position:absolute;left:13%;right:13%;top:27%;height:43%;border:7px solid #24272c;border-bottom-width:14px;border-radius:5px;background:#fffcf8;display:grid;place-items:center;font-family:Georgia,serif;color:#776c6a;font-size:clamp(10px,1vw,16px);box-shadow:0 7px 12px #0002}.work-image .mock-screen:after{content:"";position:absolute;bottom:-21px;width:48%;height:7px;background:#a4a3a3;clip-path:polygon(20% 0,80% 0,100% 100%,0 100%)}.warm{background:linear-gradient(135deg,#f6ebe6,#cfad9e)}.charcoal{background:linear-gradient(135deg,#aaa6a5,#545250)}.pale{background:linear-gradient(135deg,#eee8e4,#beb7af)}.coffee{background:linear-gradient(135deg,#cfc3b6,#7c6d61)}.ice{background:linear-gradient(145deg,#d5ece7,#ffd0c8)}.almond{background:linear-gradient(145deg,#fff6d6,#98b780)}.mock-label{position:absolute;left:5%;right:5%;top:35%;font-size:clamp(13px,1.4vw,19px);font-weight:700;letter-spacing:.12em;color:#fff;text-shadow:0 1px 6px #675b5888}.tags{display:flex;justify-content:center;gap:8px;margin-top:10px}.tags span{background:#fa765f;color:#fff;padding:1px 7px;font-size:11px;line-height:1.45}.tags span:nth-child(2){background:#188ed4}.work-card:nth-child(3) .tags span:nth-child(2),.work-card:nth-child(5) .tags span:nth-child(2){background:#252125}.work-card h3{font-size:12px;font-weight:400;margin:5px 0 0;overflow-wrap:anywhere}.service-section{background:#fff}.service-grid{width:min(100%,674px);margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.service-card{min-width:0}.service-image{aspect-ratio:1/1.17;position:relative;overflow:hidden}.service-web{background:linear-gradient(145deg,#dce9e8,#97b5bd 55%,#d9c8bb)}.service-design{background:radial-gradient(circle at 95% 95%,#f9a9ad 0 28%,transparent 29%),radial-gradient(circle at 10% 105%,#b65972 0 36%,transparent 37%),linear-gradient(#065b58,#eeada6)}.service-sns{background:linear-gradient(150deg,#90d2dd,#f0b5a9 50%,#f5d8cd)}.service-sns:before{content:"";position:absolute;left:28%;top:20%;width:45%;height:62%;border:5px solid #3c4a51;border-radius:20px;transform:rotate(-22deg);background:#efd6d2;box-shadow:7px 7px 9px #775f5b55}.service-card h3{text-align:center;font-size:16px;font-weight:400;margin:7px 0 5px}.service-card p{line-height:1.35;margin:0;overflow-wrap:anywhere}.about-section{padding-bottom:110px}.people{width:min(100%,820px);margin:auto;display:grid;gap:50px}.person{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:70px}.person-profile{text-align:center}.portrait{position:relative;width:190px;aspect-ratio:1;margin:auto;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f5ddd7,#e8e7de);overflow:hidden}.portrait-hiro{background:linear-gradient(145deg,#d9e1d4,#e8dad6)}.portrait>span:first-child{font-size:25px;color:#9b8580}.portrait .image-note{left:50%;right:auto;transform:translateX(-50%);white-space:nowrap}.person-profile h3{font-size:18px;font-weight:400;margin:18px 0 12px}.person-profile p{margin:0}.socials{display:flex;justify-content:center;gap:12px;font-size:38px;line-height:1;margin-top:14px;color:#3d4346}.person-text{margin:0;line-height:2;overflow-wrap:anywhere}.contact-section{background:#fff;text-align:center}.contact-section .section-heading{margin-bottom:42px}.contact-intro{line-height:2;margin:0 auto 34px}.contact-form{width:min(100%,536px);margin:auto;padding:25px 20px 0;text-align:left;background:var(--soft);display:flex;flex-direction:column}.contact-form>label:not(.consent){font-weight:700;margin:0 0 8px}.contact-form label>span,.consent b{color:#ec7268}.contact-form input:not([type=checkbox]),.contact-form textarea{width:100%;border:1px solid #e5e4e4;border-radius:2px;background:#fff;color:#4b4543;padding:12px 16px;margin-bottom:24px;outline-offset:2px}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#c8c8c8}.contact-form textarea{resize:vertical;min-height:155px}.consent{display:flex;align-items:flex-start;gap:10px;margin:6px 0 46px}.consent input{margin:5px 0 0;flex:none}.consent span{color:var(--text)}.consent a{text-decoration:underline}.contact-form button{border:0;border-radius:3px;background:#857571;color:#fff;font-size:19px;font-weight:700;width:min(100%,248px);min-height:50px;margin:0 auto;cursor:pointer}.contact-form button:hover{background:#70625f}.form-status{text-align:center;min-height:1.5em;margin:10px 0 0;font-size:13px}.site-footer{background:var(--soft);padding:42px 20px 35px;text-align:center}.site-footer .socials{margin:0 0 42px}.site-footer nav{display:flex;justify-content:center;flex-wrap:wrap;column-gap:22px;row-gap:6px}.site-footer nav a{text-decoration:none}.site-footer p{margin:38px 0 0;font-size:18px}
@media(max-width:900px){.site-header{height:82px}.header-inner{padding:0 22px;gap:10px}.brand{min-width:150px}.brand-name{font-size:32px}.brand-sub{font-size:13px;margin-top:7px}.site-nav{gap:14px}.site-nav a{font-size:15px}.site-nav small{font-size:12px}.site-nav .nav-contact{font-size:14px;padding:12px 17px;box-shadow:5px 6px 0 #125487}.person{gap:38px}}
@media(max-width:680px){html{scroll-padding-top:44px}.site-header{height:44px;background:#3989c8}.header-inner{padding:0 20px}.brand{align-items:flex-start;min-width:0}.brand-name{font-family:Arial,sans-serif;font-style:normal;font-size:19px;font-weight:600}.brand-sub{display:none}.menu-toggle{display:flex;width:34px;height:34px;flex-direction:column;justify-content:center;gap:5px;background:none;border:0;padding:3px;cursor:pointer}.menu-toggle span{display:block;width:27px;height:2px;background:#fff;transition:transform .2s,opacity .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}.site-nav{position:absolute;top:44px;left:0;right:0;height:auto;background:#1979b6;display:none;flex-direction:column;align-items:stretch;gap:0;padding:16px 24px 24px;box-shadow:0 8px 12px #0002}.site-nav.is-open{display:flex}.site-nav a{text-align:left;font-size:18px;padding:10px 0}.site-nav small{display:inline;margin-left:10px}.site-nav .nav-contact{align-self:flex-start;padding:10px 18px;margin-top:10px}.section{padding:54px 24px 75px;scroll-margin-top:44px}.section-heading{margin-bottom:48px}.section-heading h2{font-size:38px}.works-grid{width:min(100%,430px);grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}.service-grid{width:min(100%,430px);grid-template-columns:1fr;gap:34px}.service-image{aspect-ratio:1.35}.service-card p{line-height:1.45}.people{gap:54px}.person{grid-template-columns:1fr;gap:18px}.portrait{width:190px}.person-text{line-height:1.8}.contact-form{padding:18px 16px 0}.site-footer nav{max-width:320px;margin:auto}.site-footer p{margin-top:42px}}
@media(max-width:420px){.works-grid{max-width:310px;grid-template-columns:1fr;gap:30px}.work-image{width:100%}.work-card h3{font-size:13px}.service-grid{max-width:310px}.section{padding-left:20px;padding-right:20px}.person-text{font-size:15px}.contact-intro{font-size:14px}.contact-intro br{display:none}.contact-form{padding:16px 12px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.menu-toggle span{transition:none}}

/* PC header. The two panels and their content fill the viewport width. */
@media(min-width:768px) and (max-width:1023px){.site-header{background:#368bcb}}
.service-pc-break{display:none}

@media(min-width:1024px){
  .site-header{height:108px;background:#0792c8}
  .site-header::before{content:"";position:absolute;inset:0 auto 0 0;width:51%;background:#368bcb;z-index:0}
  .header-inner{position:relative;z-index:1;width:100%;max-width:none;padding:0;display:grid;grid-template-columns:51% 49%;gap:0}
  .brand{justify-self:start;align-items:flex-start;min-width:0;margin-left:45px;transform:none}
  .brand-name{font-size:48px;line-height:1.05}
  .brand-sub{font-size:22px;line-height:1.2;margin-top:5px}
  .site-nav{--nav-shift:clamp(0px,calc(25vw - 256px),80px);width:calc(100% - var(--nav-shift));height:100%;margin-left:var(--nav-shift);justify-content:center;gap:clamp(2px,calc(3vw - 30.72px),16px);padding:0}
  .site-nav a{font-size:26px;line-height:1.1}
  .site-nav small{font-size:22px;line-height:1.2;margin-top:4px}
  .site-nav .nav-contact{display:grid;place-items:center;flex:0 0 145px;width:145px;height:64px;padding:0;border-radius:25px;font-size:22px;box-shadow:7px 8px 0 #075987}
}
/* Hero image and copy respond independently to viewport width. */
.hero{position:relative;isolation:isolate;width:100%;min-height:500px;aspect-ratio:1440 / 700;overflow:hidden;background:#377bb7 url("../images/hero-bg.png") center center / cover no-repeat;color:#fff}
.hero-content{position:relative;z-index:1;max-width:100%;padding:clamp(40px,4vw,66px) 24px 40px clamp(70px,9vw,145px)}
.hero h1{font-family:"Brush Script MT","Segoe Script",cursive;font-size:clamp(64px,6vw,92px);font-weight:400;font-style:italic;line-height:1.08;letter-spacing:.01em;margin:0 0 clamp(28px,3vw,45px)}
.hero p{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(14px,1.3vw,19px);font-weight:600;line-height:1.9;letter-spacing:.2em;margin:0;overflow-wrap:anywhere;text-shadow:0 1px 4px #4d567080}
@media(min-width:1024px){.hero{height:700px;min-height:0;aspect-ratio:auto}}
@media(min-width:768px) and (max-width:1023px){
  .hero{aspect-ratio:auto;min-height:0;height:clamp(460px,62vw,600px);background-position:center center}
  .hero-content{padding:clamp(42px,6vw,60px) 30px 30px clamp(44px,6vw,72px)}
  .hero h1{font-size:clamp(56px,7vw,72px);margin-bottom:28px}
  .hero p{font-size:16px;letter-spacing:.13em}
}
@media(max-width:767px){
  .hero{aspect-ratio:auto;min-height:600px;height:min(760px,100svh);background-position:52% center}
  .hero-content{padding:clamp(76px,12svh,112px) 24px 36px}
  .hero h1{display:block;position:relative;z-index:2;max-width:100%;visibility:visible;opacity:1;color:#fff;-webkit-text-fill-color:#fff;font-family:"Brush Script MT","Segoe Script",cursive;font-size:clamp(48px,12vw,64px);line-height:1.12;margin-bottom:28px;white-space:nowrap;text-shadow:0 1px 3px #30537880}
  .hero p{max-width:28em;font-size:clamp(15px,3.7vw,18px);line-height:1.9;letter-spacing:.07em}
}
@media(max-width:360px){.hero h1{font-size:40px;letter-spacing:0}}
@media(max-width:430px){.hero-content{padding-left:36px;padding-right:12px}}
@media(min-width:320px) and (max-width:359px){.hero h1{font-size:36px}.hero p{font-size:14px;letter-spacing:.04em}.about-section .person:nth-child(2) .person-text{width:calc(100% + 8px);margin-inline:-4px;text-wrap:pretty}.contact-form input:not([type=checkbox])::placeholder,.contact-form textarea::placeholder{font-size:13px}}

/* Keep the two-line brand and hamburger inside the phone header. */
@media(max-width:767px){
  html{scroll-padding-top:60px}
  .site-header{height:60px;background:#3989c8}
  .header-inner{padding:0 20px}
  .brand{align-items:flex-start;min-width:0}
  .brand-name{font-family:Arial,sans-serif;font-style:normal;font-size:19px;font-weight:600}
  .brand-sub{display:block;font-size:11px;line-height:1.2;margin-top:4px;white-space:nowrap}
  .menu-toggle{display:flex;width:34px;height:34px;flex-direction:column;justify-content:center;gap:5px;background:none;border:0;padding:3px;cursor:pointer}
  .menu-toggle span{display:block;width:27px;height:2px;background:#fff;transition:transform .2s,opacity .2s}
  .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}
  .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .site-nav{position:absolute;top:60px;left:0;right:0;height:auto;background:#1979b6;display:none;flex-direction:column;align-items:stretch;gap:0;padding:16px 24px 24px;box-shadow:0 8px 12px #0002}
  .site-nav.is-open{display:flex}
  .site-nav a{text-align:left;font-size:18px;padding:10px 0}
  .site-nav small{display:inline;margin-left:10px}
  .site-nav .nav-contact{align-self:flex-start;padding:10px 18px;margin-top:10px}
}

@media(min-width:320px) and (max-width:430px){
  .section{padding-block:80px}
  .about-section .people{gap:46px}
  .about-section .person{row-gap:38px}
  .about-section .person:nth-child(2){row-gap:28px}
  .about-section .person-text br{display:none}
  .works-grid{width:87vw;max-width:100%;grid-template-columns:minmax(0,1fr);gap:36px}
  .work-card{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center}
  .work-image{width:100%;aspect-ratio:1}
  .work-card .tags{margin-top:8px}
  .work-card h3{max-width:100%;margin-top:6px;overflow-wrap:anywhere}
  .service-grid{width:87vw;max-width:100%;gap:36px}
  .service-card{width:100%;min-width:0}
  .service-image{width:100%;margin-inline:auto}
  .service-card h3{margin-top:10px;margin-bottom:8px}
  .service-card p{padding-inline:clamp(6px,2vw,12px)}
  .contact-form .consent{align-items:center;gap:4px;margin-inline:-8px}
  .contact-form .consent input{margin:0}
  .contact-form .consent span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;letter-spacing:-.03em}
}

@media(min-width:768px) and (max-width:820px){
  .works-grid .work-card h3{font-size:11px;width:calc(100% + 20px);max-width:none;margin-inline:-10px;white-space:nowrap}
  .service-image{width:180px;aspect-ratio:1;margin-inline:auto}
  .service-card p{width:calc(100% + 24px);margin-inline:-12px;text-wrap:pretty}
  .about-section .person:first-child{grid-template-columns:190px minmax(0,1fr);gap:24px}
  .about-section .person:first-child .person-text{word-break:auto-phrase;text-wrap:pretty}
}

@media(min-width:1024px){
  .works-grid{width:min(100%,710px);column-gap:50px;row-gap:60px}
  .work-card .tags{gap:10px;margin-top:12px}
  .work-card .tags span{font-size:13px;padding:2px 9px}
  .works-grid .work-card h3{width:calc(100% + 20px);margin:7px -10px 0;font-size:14px;white-space:nowrap}
  .service-grid{width:min(100%,875px);column-gap:55px}
  .service-image{width:min(100%,230px);aspect-ratio:1;margin-inline:auto}
  .service-pc-break{display:block}
  .service-card h3{font-size:18px}
  .service-card p{width:100%;text-wrap:pretty}
  .about-section .people{width:min(100%,1000px);gap:40px}
  .about-section .person{grid-template-columns:260px minmax(0,1fr);gap:80px}
  .about-section .person:nth-child(2){transform:translateY(30px)}
  .about-section .portrait{width:230px}
  .about-section .person-profile h3{font-size:21px;margin:12px 0 8px}
  .about-section .person-profile p{font-size:17px}
  .about-section .socials{font-size:43px;margin-top:10px}
  .about-section .person-text{text-wrap:pretty}
}


.work-card-link{display:block;color:inherit;text-decoration:none}
@media(max-width:430px){.work-card-link{width:100%}}

.about-socials{align-items:center}
.about-socials img{width:38px;height:38px;object-fit:contain}
@media(min-width:1024px){.about-section .about-socials img{width:43px;height:43px}}
.footer-socials{align-items:center}
.footer-socials img{width:38px;height:38px;object-fit:contain}
.service-430-break{display:none}

@media(hover:hover) and (pointer:fine){
  .works-section .work-card{transition:transform .25s ease,box-shadow .25s ease}
  .works-section .work-card:hover{transform:translateY(-6px);box-shadow:0 10px 22px rgba(65,73,80,.12)}
}
@media(prefers-reduced-motion:reduce) and (hover:hover) and (pointer:fine){
  .works-section .work-card{transition:none}
  .works-section .work-card:hover{transform:none}
}

@media(min-width:360px) and (max-width:430px){
  .service-section .service-image{width:300px;max-width:100%;aspect-ratio:1;margin-inline:auto}
  .about-section .person-text{width:calc(100% - 48px);margin-inline:auto}
}

@media(min-width:421px) and (max-width:430px){
  .service-section .service-card:nth-child(3) p{width:calc(100% + 32px);max-width:none;margin-inline:-16px;padding-inline:0;text-wrap:pretty}
  .service-section .service-card:nth-child(3) .service-help{white-space:nowrap}
  .service-section .service-card:nth-child(3) .service-430-break{display:block}
  .service-section .service-card:nth-child(3) .service-ending{white-space:nowrap}
  .about-section .person:nth-child(2) .person-text{width:calc(100% - 40px);text-wrap:pretty}
}

@media(min-width:320px) and (max-width:359px){
  .service-section .service-image{width:260px;max-width:100%;aspect-ratio:1;margin-inline:auto}
  .contact-section .contact-intro{width:308px;max-width:calc(100vw - 12px);margin-inline:auto}
  .contact-section .contact-intro br{display:block}
}
.service-section .section-heading{margin-bottom:48px}
.service-intro{width:min(100%,800px);margin:0 auto 58px;text-align:center;line-height:1.9;overflow-wrap:anywhere;text-wrap:pretty}
@media(max-width:680px){
  .service-section .section-heading{margin-bottom:26px}
  .service-intro{margin-bottom:44px}
}
.works-section .tags span{background:#f6eee8;color:#6f594f;border:1px solid #bca89e;border-radius:2px;padding:2px 9px;font-size:11px;line-height:1.45;letter-spacing:.06em}
@media(min-width:421px) and (max-width:430px){.service-intro-nowrap{white-space:nowrap}}
.service-intro-break-320{display:none}
@media(min-width:320px) and (max-width:359px){.service-intro-break-320{display:block}}
.contact-honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
