/* 공통 서브페이지 모바일 레이아웃. 메인·상담 페이지는 전용 스타일 사용. */
@media(max-width:760px){
  body:not(.home-page):not(.contact-page){background:#faf7f1;color:#351d15;padding-bottom:calc(69px + env(safe-area-inset-bottom))}
  body:not(.home-page):not(.contact-page) .hd{background:#faf7f1;border-bottom:0;box-shadow:none;backdrop-filter:none}
  body:not(.home-page):not(.contact-page) .hd.sc{background:rgba(250,247,241,.97);box-shadow:0 1px 12px rgba(53,29,21,.06)}
  body:not(.home-page):not(.contact-page) .hd-in{height:74px;width:auto;margin-inline:20px}
  body:not(.home-page):not(.contact-page) .hd .logo img,
  body:not(.home-page):not(.contact-page) .hd.sc .logo img{filter:none;height:42px;max-width:min(64vw,235px)}
  body:not(.home-page):not(.contact-page) .hd-cta{display:none}
  body:not(.home-page):not(.contact-page) .burger,
  body:not(.home-page):not(.contact-page) .hd.sc .burger{background:transparent;border-radius:0}
  body:not(.home-page):not(.contact-page) .burger i,
  body:not(.home-page):not(.contact-page) .burger i::before,
  body:not(.home-page):not(.contact-page) .burger i::after,
  body:not(.home-page):not(.contact-page) .hd.sc .burger i,
  body:not(.home-page):not(.contact-page) .hd.sc .burger i::before,
  body:not(.home-page):not(.contact-page) .hd.sc .burger i::after{background:#351d15;height:2px}
  body:not(.home-page):not(.contact-page) .hd:has(.burger.on){z-index:120;background:transparent;box-shadow:none}
  body:not(.home-page):not(.contact-page) .hd:has(.burger.on) .logo img{filter:brightness(0) invert(1)}
  body:not(.home-page):not(.contact-page) .burger.on i::before,
  body:not(.home-page):not(.contact-page) .burger.on i::after{background:#fff!important}
  body:not(.home-page):not(.contact-page) .mmenu{background:#311e19}
  body:not(.home-page):not(.contact-page) .mmenu .mg{border-color:rgba(255,255,255,.18)}
  body:not(.home-page):not(.contact-page) .mmenu .mg-label{color:#eac7a9}

  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero){display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:74px 0 0;background:#faf7f1;color:#351d15;overflow:visible}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero)::before{display:none}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero)>.wrap{order:1;position:static;width:auto;max-width:none;margin:0;padding:24px 24px 23px}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero)>.ph-img{order:2;position:static;width:100%;height:clamp(245px,66vw,430px);object-fit:cover;object-position:center;filter:none}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero) .crumb{font-family:var(--sans);font-size:14px;line-height:1.45;letter-spacing:.02em;color:#866d5e;margin-bottom:15px}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero) h1{font-family:var(--serif);font-size:clamp(34px,8.4vw,49px);font-weight:700;line-height:1.32;letter-spacing:-.045em;color:#351d15;overflow-wrap:break-word}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero) .ph-sub{font-family:var(--serif);font-size:clamp(17px,4.5vw,22px);line-height:1.55;color:#4d3026;margin-top:13px;max-width:none}

  body:not(.home-page):not(.contact-page) #main>.sec{padding-block:50px}
  body:not(.home-page):not(.contact-page) .sec-head{max-width:none;margin-bottom:25px}
  body:not(.home-page):not(.contact-page) .sec-head.center{text-align:left;margin-inline:0}
  body:not(.home-page):not(.contact-page) .sec-head .orn{display:none}
  body:not(.home-page):not(.contact-page) .sec-head .eyebrow{font-size:12px;letter-spacing:.09em;color:#9e6f5c}
  body:not(.home-page):not(.contact-page) .sec-head .eyebrow::before,
  body:not(.home-page):not(.contact-page) .sec-head.center .eyebrow::after{display:none}
  body:not(.home-page):not(.contact-page) .sec-head h2{font-size:clamp(29px,7.2vw,40px);line-height:1.35;letter-spacing:-.035em;margin:8px 0 11px}
  body:not(.home-page):not(.contact-page) .sec:not(.sec-dark) .sec-head h2{color:#351d15}
  body:not(.home-page):not(.contact-page) .sec:not(.sec-dark) .sec-head .lead{color:#665149}
  body:not(.home-page):not(.contact-page) .sec:not(.sec-dark){background:#faf7f1}
  body:not(.home-page):not(.contact-page) .sec:not(.sec-dark):nth-of-type(even){background:#fffdf9}
  body:not(.home-page):not(.contact-page) :is(.rcard,.gcard,.vcard,.ve-card,.net-card,.trust-mini,.fitem,.fitem2,.seo-acc){border-radius:9px;border-color:#e2d5c8;box-shadow:none}
  body:not(.home-page):not(.contact-page) :is(.rcard,.vcard,.ve-card,.net-card,.trust-mini){background:#fffdf9}
  body:not(.home-page):not(.contact-page) :is(.rcard,.gcard,.vcard,.net-card) h3,
  body:not(.home-page):not(.contact-page) :is(.vcard,.net-card) h4{color:#351d15}
  body:not(.home-page):not(.contact-page) :is(.rcard,.gcard,.vcard,.ve-card,.net-card) p{color:#665149}
  body:not(.home-page):not(.contact-page) .btn-gold{background:#b97060;color:#fff;border-radius:7px;box-shadow:none}
  body:not(.home-page):not(.contact-page) .btn-navy{background:#351d15;border-radius:7px}
  body:not(.home-page):not(.contact-page) .seo-acc summary{background:#fffdf9;color:#351d15}

  body:not(.home-page):not(.contact-page) .bbar{grid-template-columns:1fr 2fr;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#faf7f1;border-top:1px solid #e1d3c7;box-shadow:0 -4px 16px rgba(53,29,21,.06)}
  body:not(.home-page):not(.contact-page) .bbar a{min-height:52px;border-radius:7px;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px}
  body:not(.home-page):not(.contact-page) .bbar>a:first-child{background:#fff;color:#351d15;border:1px solid #b66e5e}
  body:not(.home-page):not(.contact-page) .bbar .bb-k{display:none}
  body:not(.home-page):not(.contact-page) .bbar .bb-c{background:#b97060;color:#fff}

  /* 회사소개 페이지는 사진과 문구가 별도 컨테이너에 있다. */
  .about-landing .page-hero.about-hero{display:flex;flex-direction:column;min-height:0;height:auto;padding:74px 0 0;background:#faf7f1;color:#351d15}
  .about-landing .page-hero.about-hero::before{display:none}
  .about-landing .page-hero.about-hero>.wrap{order:1;width:auto;margin:0;padding:24px 24px 23px}
  .about-landing .about-hero-card{position:static;width:100%;margin:0;padding:0;color:#351d15}
  .about-landing .about-hero-tag{font-size:14px;letter-spacing:.02em;color:#866d5e}
  .about-landing .page-hero.about-hero h1{font-size:clamp(34px,8.4vw,49px);line-height:1.32;letter-spacing:-.045em;max-width:none;margin:15px 0 12px;color:#351d15;text-shadow:none}
  .about-landing .page-hero.about-hero h1 em{color:#a65648}
  .about-landing .page-hero.about-hero .ph-sub{font-family:var(--serif);font-size:clamp(17px,4.5vw,22px);line-height:1.55;color:#4d3026;max-width:none}
  .about-landing .about-hero-facts{max-width:none;border-color:#d9c8b8;margin-top:20px}
  .about-landing .about-hero-facts b{color:#351d15}
  .about-landing .about-hero-facts span{color:#665149}
  .about-landing .about-hero-act{margin-top:20px}
  .about-landing .about-hero-act .btn-line-dark{color:#351d15;border-color:#b66e5e;border-radius:7px}
  .about-landing .page-hero.about-hero .about-hero-media{order:2;position:relative;min-height:0;height:clamp(245px,66vw,430px)}
  .about-landing .page-hero.about-hero .ph-img{object-position:center;filter:none}
  .about-landing .about-hero-media::after,.about-landing .about-hero-media-in{display:none}
}
@media(max-width:390px){
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero)>.wrap,
  .about-landing .page-hero.about-hero>.wrap{padding-left:20px;padding-right:20px}
  body:not(.home-page):not(.contact-page) .page-hero:not(.about-hero) h1,
  .about-landing .page-hero.about-hero h1{font-size:clamp(32px,8.3vw,39px)}
}
