/* Responsive refinements; desktop design and palette remain shared. */
@media (max-width:1024px){
  .featured__slide--lim{grid-template-columns:minmax(0,1fr);gap:32px}
  .preview-column{width:100%;max-width:680px;margin-inline:auto;padding-left:32px}
  .preview-gesture{left:0;width:26px}
  .featured__slide--lim .featured__body{max-width:680px;width:100%;margin-inline:auto}
  .preview-browser .site-preview{height:min(760px,calc(100svh - 100px))}
  .preview-devices{margin-bottom:28px;flex-wrap:wrap}
  .preview-devices button{min-height:44px;font-size:13px}
  .concept-offer__main{gap:28px}
  .concept-offer__copy br{display:none}
  .concept-offer__item img{aspect-ratio:1;object-fit:cover}
  .price-card__heading h3{gap:12px;white-space:normal;overflow-wrap:normal}
  .price-card__heading h3::after{width:24px;flex-shrink:1}
  .price-card__update{margin-inline:0}
  .price-card__update-description br{display:none}
}
@media (min-width:769px) and (max-width:1024px){
  :root{--px:32px;--sv:88px}
  .nav{padding-inline:32px}.nav__links{gap:22px}
  .profile__layout{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:32px}
  .plan-guide__item{padding-inline:16px}
}
@media (max-width:768px){
  .concept-offer__services>h3{white-space:normal;font-size:15px;line-height:1.9;padding:10px 14px}
  .concept-offer__body h2.concept-offer__catch span{white-space:normal}
  .concept-offer__copy{line-height:2}
  .concept-offer__image{width:100%;max-width:520px;margin-inline:auto}
  .concept-offer__item{grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:start}
  .concept-offer__item img{width:112px;height:112px}
  .concept-offer__item h4{line-height:1.7}
  .preview-browser .site-preview{height:min(620px,calc(100svh - 100px))}
  .pricing__grid{grid-template-columns:minmax(0,1fr);gap:28px;max-width:560px;margin-inline:auto}
  .price-card{padding:28px}
  .price-card__heading h3{font-size:20px;white-space:nowrap}
  .price-card__heading h3::after{width:36px}
  .price-card__button{font-size:13px;min-height:48px}
  .price-card__update{font-size:14px}
  .price-card li{font-size:14px}
  .plan-guide__grid{grid-template-columns:1fr;gap:24px}
  .plan-guide__item{display:flex;padding:0;gap:16px}
  .plan-guide__item+div{border-left:0;border-top:1px solid var(--border);padding-top:24px}
  .plan-guide__item h4{font-size:15px}
  .plan-guide li{font-size:13px}
  .plan-guide__icon{width:48px;height:48px;flex-shrink:0}
  .form-input,.form-select,.form-textarea{font-size:16px;min-width:0;width:100%;max-width:100%}
  .form-label,.choice,.contact-hours{overflow-wrap:anywhere}
  .contact-hours{line-height:1.9}
  .contact-form .service-fields>legend{padding-inline:0;font-size:19px}
  .btn,.sns-btn{min-height:48px;max-width:100%;box-sizing:border-box}
  .nav.menu-open{height:100dvh}
  .nav__links.open{overflow-y:auto;padding-block:80px}
  .nav__links a{min-height:44px;display:flex;align-items:center;justify-content:center}
  .footer__links a{display:inline-flex;align-items:center;min-height:44px}
}
@media (max-width:480px){
  :root{--px:20px}
  .nav{padding-inline:20px}
  .concept-offer__item{grid-template-columns:100px minmax(0,1fr);gap:16px}
  .concept-offer__item img{width:100px;height:100px}
  .concept-offer__item h4{font-size:15px}
  .concept-offer__services>h3{font-size:14px}
  .price-card{padding:24px 20px}
  .price-card__heading h3{font-size:18px;letter-spacing:.09em}
  .price-card__heading h3::after{width:20px}
  .price-card__update{padding:16px 12px;gap:12px;font-size:13px}
  .price-card__update strong{padding-left:12px}
  .pricing-row-label{gap:12px}
  .pricing-row-icon{width:24px;height:24px}
  .pricing-extra summary,.pricing-faq-link{padding:18px 16px}
  .profile__lead br{display:none}
  .contact__text br{display:none}
}
@media (max-width:360px){
  .price-card__heading h3{font-size:16px}
  .price-card__price{font-size:30px}
  .plan-guide__item{gap:12px}.plan-guide__icon{width:40px;height:40px}
  .plan-guide__icon svg{width:30px;height:30px}
  .concept-offer__item{grid-template-columns:88px minmax(0,1fr);gap:12px}
  .concept-offer__item img{width:88px;height:88px}
}

/* Compact first-view typography on phones. */
@media(max-width:600px){
  .firstview__catch{font-size:24px;line-height:1.65}
  .firstview__sub{font-size:14px;line-height:1.9}
}
@media(max-width:360px){
  .firstview__catch{font-size:22px}
  .firstview__sub{font-size:13px}
}

@media(max-width:600px){.concept-offer__services{margin-top:32px;padding-top:0}}

@media(max-width:600px){.concept-offer__services>h3{font-size:12px}}

/* Match service links to the compact shared buttons on phones only. */
@media(max-width:600px){
 .btn,.sns-btn{min-height:44px;padding-block:9px;line-height:1.7}
 .concept-offer__body .btn,.service-portfolio-link a{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:420px;min-height:44px;box-sizing:border-box;padding:9px 24px;font-family:var(--ja);font-size:12px;line-height:1.7;letter-spacing:.08em;background:var(--accent-bg);border:1px solid #BFB3A8;color:var(--heading);text-decoration:none;text-align:left}
 .service-portfolio-link{text-align:left}
 .service-portfolio-link a>span{flex-shrink:0;margin-left:auto}
 .service-portfolio-link a:hover,.service-portfolio-link a:focus-visible,.service-portfolio-link a:active{background:#FFFFFF;border-color:var(--brand);color:var(--heading)}
}

@media(max-width:600px){.concept-offer__services{margin-top:44px}.services-intro-prefix{display:none}}

@media(max-width:600px){.firstview__sub{font-size:12px}}

.phone-hero-break{display:none}
@media(max-width:600px){.phone-hero-break{display:block}}

/* Phone preview switcher sits directly above, matching the frame width. */
@media(max-width:600px){
 .preview-column>.preview-devices{display:grid;grid-template-columns:1fr 1.65fr;gap:8px;width:100%;max-width:560px;margin:0 auto 14px}
 .preview-column:has(.preview-browser[data-device="390"])>.preview-devices{max-width:300px}
 .preview-column>.preview-devices button{min-width:0;min-height:40px;padding:8px 6px;font-size:11px;line-height:1.6;letter-spacing:.04em;gap:7px}
 .preview-column>.preview-devices button svg{width:17px;height:17px}
}

@media(max-width:600px){
 .preview-column{padding-left:0;padding-right:32px}
 .preview-gesture{left:auto;right:0}
 .nav__logo{font-size:11px}
}

@media(max-width:600px){.featured__name{font-size:20px}}

/* Quieter typography throughout both pricing cards. */
.pricing .price-card__heading h3{font-size:17px}
.pricing .price-card__heading>p:nth-child(2){font-size:16px}
.pricing .price-card__price{font-size:29px;line-height:1.5}
.pricing .price-card__price>span{font-size:19px}
.pricing .price-card__price small{font-size:11px}
.pricing .price-card__update,.pricing .price-card__update>div,.pricing .price-card__update strong,.pricing .price-card__update-description{font-size:13px}
.pricing .price-card__includes h4{font-size:14px}
.pricing .price-card li{font-size:13px;line-height:2}
.pricing .price-card__button{font-size:12px}
@media(max-width:600px){
 .pricing .price-card__heading h3{font-size:15px}
 .pricing .price-card__heading>p:nth-child(2){font-size:14px}
 .pricing .price-card__price{font-size:25px}
 .pricing .price-card__price>span{font-size:17px}
 .pricing .price-card__update,.pricing .price-card__update>div,.pricing .price-card__update strong,.pricing .price-card__update-description{font-size:12px}
 .pricing .price-card__includes h4{font-size:13px}
 .pricing .price-card li{font-size:12px}
}

/* Balance mobile hierarchy around the compact cards and buttons. */
.phone-plan-break{display:none}
@media(max-width:600px){
 .pricing__header .pricing__intro .phone-plan-break{display:block}
 .sec-title,.pricing__header h2.sec-title,.seo-section h2.sec-title{font-size:26px;letter-spacing:.08em}
 .sec-sub,.pricing__header .sec-sub{font-size:12px}
 .sec-head,.pricing__header{margin-bottom:32px}
 .pricing__header .pricing__intro{font-size:12px;line-height:1.9;margin-top:20px}
 .concept-offer__copy,.featured__desc{font-size:13px;line-height:1.95}
 .featured__desc{margin-block:18px;padding-top:18px}
 .pricing .price-card__heading{padding-bottom:16px}
 .pricing .price-card__body{padding:18px 0 0}
 .pricing .price-card__update{margin:0 0 18px;padding-block:14px}
 .pricing .price-card__update-description{padding-top:10px;line-height:1.9}
 .pricing .price-card__includes{padding-top:4px;padding-bottom:20px}
 .pricing .price-card__includes h4{margin-bottom:10px}
 .pricing .price-card__button{padding-block:10px;min-height:44px}
 #process .process__item{gap:16px;padding-bottom:28px}
 #process .process__title{font-size:15px;margin-bottom:6px}
 #process .process__desc{font-size:12px;line-height:1.9}
 .profile__role{font-size:20px;letter-spacing:.04em}
 .profile__meta{margin-bottom:24px}
 .profile__bio{font-size:13px;line-height:1.95}
 .profile__lead{font-size:15px}
 .profile__sns{flex-direction:row;gap:10px}
 .cta__body{font-size:12px;line-height:1.9}
 .contact-hero__desc{font-size:12px;line-height:2}
 .contact-form .form-label{font-size:15px}
 .contact-form .service-fields>legend{font-size:17px}
 .seo-section summary{font-size:14px;line-height:1.9}
 .contact-faq details p{font-size:13px;line-height:1.95}
 .contact-hours{font-size:12px;max-width:100%;padding-inline:12px}
}
@media(min-width:601px) and (max-width:900px){
 .sec-title,.pricing__header h2.sec-title,.seo-section h2.sec-title{font-size:30px}
 .firstview__catch{font-size:32px}
 .firstview__sub{font-size:16px}
 .concept-offer__services>h3{white-space:normal}
 .profile__role{font-size:24px}
}

.process-copy-phone{display:none}
@media(max-width:600px){
 #process .process-copy-desktop{display:none}
 #process .process-copy-phone{display:inline}
 #process .process__desc{letter-spacing:0}
 #process .process__item>div{min-width:0}
 #process .process__item:last-child::after{content:"";position:absolute;left:18px;top:36px;width:1px;height:calc(100% - 36px);background:var(--border)}
}
@media(max-width:360px){#process.pricing-process>.sec__inner{padding-inline:16px}#process .process__item{gap:12px}}

/* Compact photo and introductory profile copy side by side on phones. */
@media(max-width:600px){
 .profile__layout{grid-template-columns:90px minmax(0,1fr);gap:24px 18px;align-items:start}
 .profile__details{display:contents}
 .profile__photo{grid-column:1;grid-row:1;width:90px;max-width:none;aspect-ratio:3/4}
 .profile__intro{grid-column:2;grid-row:1;min-width:0}
 .profile__intro .profile__role{font-size:16px;line-height:1.5;letter-spacing:.015em;margin-bottom:8px}
 .profile__intro .profile__meta{font-size:10px;line-height:1.8;letter-spacing:0;margin-bottom:14px}
 .profile__intro .profile__bio{margin-bottom:0;line-height:1.9;letter-spacing:.01em}
 .profile__intro .profile__lead{font-size:12px}
 .profile__story,.profile__sns{grid-column:1 / -1;margin-bottom:0}
 .profile__story br{display:none}
 .profile__story br+br{display:block}
}
@media(max-width:360px){
 .profile__layout{grid-template-columns:76px minmax(0,1fr);column-gap:14px}
 .profile__photo{width:76px}
 .profile__intro .profile__role{font-size:15px}
}

@media(max-width:600px){
 .profile__intro .profile__lead{font-size:13px;font-weight:700}
 .profile__intro .profile__bio{line-height:1.85}
 .profile__story{font-size:12px;line-height:1.9}
}

.profile-lead-phone{display:none}
@media(max-width:600px){.profile-lead-desktop{display:none}.profile-lead-phone{display:inline}}

@media(max-width:600px){.profile__lead .profile-lead-phone br{display:block}}

@media(max-width:600px){
 .profile__photo{align-self:stretch;aspect-ratio:auto;position:relative;min-height:0}
 .profile__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
}

@media(max-width:600px){
 .profile__layout{grid-template-columns:108px minmax(0,1fr);column-gap:16px}
 .profile__photo{width:108px}
}
@media(max-width:360px){
 .profile__layout{grid-template-columns:90px minmax(0,1fr);column-gap:14px}
 .profile__photo{width:90px}
}

/* Keep sentence and paragraph breaks in the mobile profile biography. */
@media(max-width:600px){
 .profile__story br{display:block}
 .profile__story{line-height:2;line-break:strict;overflow-wrap:break-word;text-wrap:pretty}
}

.plan-guide[hidden]{display:none}
@media(max-width:600px){
 .pricing__grid>.plan-guide--phone{margin:-12px 0 8px;padding:20px 16px;border:1px solid var(--border);background:#FFFFFF}
 .plan-guide--phone .plan-guide__item{border:0;padding:0;gap:14px}
 .plan-guide--phone .plan-guide__item h4{font-size:13px;line-height:1.8;margin-bottom:10px}
 .plan-guide--phone li{font-size:12px;line-height:2}
 .plan-guide--phone .plan-guide__icon{width:40px;height:40px;margin:0}
 .plan-guide--phone .plan-guide__icon svg{width:30px;height:30px}
}

/* Six steps, including payment after the consultation. */
@media(min-width:1024px){#process .process__list{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}#process .process__item:not(:last-child)::after{width:calc(100% - 12px)}}

.process__details>summary{list-style:none;cursor:default}
.process__details>summary::-webkit-details-marker{display:none}
@media(max-width:600px){
 #process .process__item{padding-bottom:16px}
 #process .process__item:last-child{padding-bottom:0}
 #process .process__details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin:0;cursor:pointer}
 #process .process__details>summary::after{content:"";width:8px;height:8px;border-right:1.5px solid var(--button);border-bottom:1.5px solid var(--button);transform:rotate(45deg);margin:0 3px 4px 0;flex-shrink:0}
 #process .process__details[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
 #process .process__details .process__desc{padding:6px 0 12px;margin:0}
 #process .process__item>div{width:100%;padding-top:0}
}

@media(max-width:600px){.plan-guide--phone .plan-guide__item h4{font-size:15px}}

#profile .sec-head{text-align:center}

/* Center the photo/introduction pair without centering its text. */
@media(max-width:600px){
 .profile__layout{grid-template-columns:minmax(0,1fr) 108px max-content minmax(0,1fr);column-gap:0}
 .profile__photo{grid-column:2}
 .profile__intro{grid-column:3;margin-left:16px;text-align:left}
 .profile__story,.profile__sns{grid-column:1 / -1}
}
@media(max-width:360px){
 .profile__layout{grid-template-columns:minmax(0,1fr) 90px max-content minmax(0,1fr)}
 .profile__intro{margin-left:14px}
}

@media(max-width:600px){
 .profile__intro .profile__bio{opacity:1}
 .profile__intro .profile-lead-phone{font-weight:700;color:var(--heading)}
}

.profile-story-phone{display:none}
@media(max-width:600px){
 .profile__story{font-size:14px;line-height:2;letter-spacing:0;text-wrap:wrap}
 .profile-story-desktop{display:none}
 .profile-story-phone{display:inline}
 .profile__story .profile-story-phone br{display:block}
 .profile__intro{margin-left:24px}
}
@media(max-width:360px){
 .profile__intro{margin-left:20px}
 .profile__intro .profile__role{font-size:14px}
}

@media(max-width:600px){.profile__story{text-align:center}}

@media(max-width:600px){.profile__intro .profile__bio{display:none}}

/* Phone profile: panoramic image, then centered identity. */
@media(max-width:600px){
 .profile__layout{grid-template-columns:minmax(0,1fr);gap:24px}
 .profile__photo{grid-column:1;grid-row:auto;width:100%;max-width:none;aspect-ratio:3/1;align-self:auto}
 .profile__photo img{object-position:center}
 .profile__intro{grid-column:1;grid-row:auto;margin-left:0;text-align:center;width:100%}
 .profile__intro .profile__role{font-size:22px;line-height:1.5;margin-bottom:10px}
 .profile__intro .profile__meta{font-size:13px;line-height:1.8;margin-bottom:0}
 .profile__story,.profile__sns{grid-column:1}
 .profile__sns{justify-content:center}
}

@media(max-width:600px){.profile__intro{grid-row:1}.profile__photo{grid-row:2}}

/* Match desktop SNS buttons on phones. */
@media(max-width:600px){
 .profile__sns{gap:12px}
 .profile__sns .sns-btn{width:auto;min-height:44px;padding:12px 32px;border:1px solid #BFB3A8;font-size:13px;letter-spacing:.12em;justify-content:center;background:var(--accent-bg)}
 .profile__sns .sns-btn::after{content:none}
 .profile__sns .sns-btn:hover,.profile__sns .sns-btn:focus-visible,.profile__sns .sns-btn:active{background:#fff;border-color:var(--brand)}
}

@media(max-width:600px){
 #profile .sec-head{margin-bottom:48px}
 .profile__intro .profile__role{font-size:20px}
 .profile__intro .profile__meta{font-size:12px}
}

/* Compact profile buttons with more space after the biography. */
@media(max-width:600px){
 .profile__sns{margin-top:20px}
 .profile__sns .sns-btn{font-size:11px;min-height:38px;padding:8px 24px}
}

@media(max-width:600px){
 .profile__sns{flex-direction:column;align-items:center;gap:12px}
 .profile__sns .sns-btn{width:100%;max-width:320px;min-height:34px;padding:6px 24px;line-height:1.7}
}

@media(max-width:600px){
 .profile__photo{width:88%;justify-self:center}
}

@media(max-width:600px){.featured__name{font-size:14px}}

@media(max-width:600px){
 .featured__identity{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
 .featured__identity .work-card__cat,.featured__identity .featured__name{margin:0}
}

@media(max-width:600px){
 .featured__slide--lim .featured__body{display:flex;flex-direction:column}
 .featured__slide--lim .featured__body>.work-card__tags{order:-1;margin:0 0 12px}
}

@media(max-width:600px){.availability__timing dd{font-size:16px}}
