
/* 2026-09-27 中央区支店：小画面の店名とメニューボタンを別の行に配置 */
@media (max-width: 480px) {
  body.page-id-151 .head .headin { flex-wrap: wrap; }
  body.page-id-151 .head .brand {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
  body.page-id-151 .head .kz-menu-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
  }
}

/* 2026-09-27 中央区支店：全店実績の見出しを小画面で折り返す */
@media (max-width: 760px) {
  body.page-id-151 .kz-v10115-shared .sectionhead,
  body.page-id-151 .kz-v10115-shared .sectionhead h2 {
    min-width: 0; max-width: 100%;
  }
  body.page-id-151 .kz-v10115-shared .sectionhead h2 {
    display: block; white-space: normal; overflow-wrap: anywhere;
  }
}
/* v101.0.5: スマホ横はみ出し・文字欠け・固定3導線の修正。PCには適用しない。 */
@media(max-width:760px){
  body.home{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overflow-x:clip!important;
  }
  body.home .wrap,
  body.home .sectionhead,
  body.home .sectionhead h2{
    min-width:0!important;
    max-width:100%!important;
  }
  body.home .sectionhead h2{
    display:block!important;
    width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    text-wrap:balance;
    text-align:center!important;
  }
  body.home .sectionhead h2:before{display:none!important}
  body.home .sectionhead h2:after{
    content:""!important;
    display:block!important;
    width:36px!important;
    height:2px!important;
    margin:12px auto 0!important;
    background:var(--kz-home-gold,#a36b00)!important;
  }
  body.home .mobile.kz-home-contactbar{
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    box-sizing:border-box!important;
  }
  body.home .mobile.kz-home-contactbar>a{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.home .mobile.kz-home-contactbar .kz-home-contact-copy{
    width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.home .mobile.kz-home-contactbar .kz-home-contact-copy strong{
    max-width:100%!important;
    font-size:clamp(9.5px,2.8vw,11px)!important;
    line-height:1.25!important;
    letter-spacing:-.01em!important;
    white-space:nowrap!important;
  }
}

/* 2026-09-23 難波支店：共有実績見出しのスマートフォン折り返し */
@media (max-width: 760px) {
  body.page-id-150 .kz-v10115-shared .sectionhead,
  body.page-id-150 .kz-v10115-shared .sectionhead h2 {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.page-id-150 .kz-v10115-shared .sectionhead h2 {
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* 2026-09-23 難波支店：共有実績見出しを画面幅に応じて折り返す */
body.page-id-150 #namba-updates .sectionhead h2 {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* 2026-10-01 Osaka main hero headline only */
@media(max-width:760px){
body.home .kz-home-showcase #kz-v95-hero-title{font-size:clamp(24px,6.4vw,28px)!important;font-weight:700!important;line-height:1.5!important;letter-spacing:0!important;margin:0 0 16px!important;text-align:left!important;text-wrap:wrap!important;word-break:keep-all!important;overflow-wrap:normal!important}
body.home .kz-home-showcase #kz-v95-hero-title>span{display:block!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:normal!important}
body.home .kz-home-showcase #kz-v95-hero-title>span:last-child{white-space:nowrap!important}
}


/* 2026-10-10: stronger mobile contact colors and individual icon motion. */
@media(max-width:760px){
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a{
    color:#fff!important;
    overflow:visible!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
  }
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a.phone-fixed{background:#b32660!important;border-color:#991c50!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a.green{background:#087b43!important;border-color:#066137!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a.email-fixed{background:#9b6205!important;border-color:#805004!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .kz-home-contact-copy,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .kz-home-contact-copy strong,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .kz-cute-mobile strong{color:#fff!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .kz-home-contact-icon,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .kz-home-line-mark,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .kz-cute-icon{
    display:inline-block!important;
    flex:0 0 26px!important;
    width:28px!important;
    height:26px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background-color:transparent!important;
    background-size:100% 100%!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    filter:none!important;
    box-shadow:none!important;
    text-shadow:none!important;
    font-size:0!important;
    line-height:0!important;
    opacity:1!important;
  }
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .phone-fixed .kz-home-contact-icon,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .phone-fixed .kz-cute-icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2226%22%20viewBox%3D%224%204%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M10.5%207.6c.5-.3%201.2-.1%201.5.4l2.1%203.7c.3.5.2%201.1-.2%201.5l-1.4%201.2a14%2014%200%200%200%205.1%205.1l1.2-1.4c.4-.4%201-.5%201.5-.2L24%2020c.5.3.7%201%20.4%201.5l-.9%201.7c-.4.8-1.4%201.3-2.3%201.1C14.6%2023%209%2017.4%207.7%2010.8c-.2-.9.3-1.9%201.1-2.3l1.7-.9Z%22%20stroke%3D%22white%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .green .kz-home-line-mark,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .green .kz-cute-line{
    width:38px!important;
    background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2238%22%20height%3D%2226%22%20viewBox%3D%220%200%2040%2026%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M20%201C9.5%201%201%205.8%201%2011.8c0%205.2%206.1%209.5%2014.4%2010.6l-.8%202.1c-.2.6.3.9.9.7%204.3-1.5%2010.8-4.2%2015.6-7.6%204.3-3%207.9-5.7%207.9-9C39%203.8%2030.6%201%2020%201Z%22%20fill%3D%22white%22%2F%3E%3Cg%20stroke%3D%22%23087b43%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%207.8v7h4M16%207.8v7M20%2014.8v-7l4.5%207v-7M31.5%207.8H28v7h3.5M28%2011.3h3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;
  }
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .email-fixed .kz-home-mail-icon,
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"] .email-fixed .kz-cute-icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2226%22%20viewBox%3D%224%206%2024%2020%22%20fill%3D%22none%22%3E%3Crect%20x%3D%226%22%20y%3D%228.5%22%20width%3D%2220%22%20height%3D%2215%22%20rx%3D%222.2%22%20stroke%3D%22white%22%20stroke-width%3D%222.2%22%2F%3E%3Cpath%20d%3D%22m7.2%2010%207.1%205.9c1%20.8%202.4.8%203.4%200l7.1-5.9M7.1%2022l5.8-5M24.9%2022l-5.8-5%22%20stroke%3D%22white%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a:focus-visible{outline:3px solid #fff!important;outline-offset:-4px!important}
}
/* End 2026-10-10 mobile contact update. */

/* 2026-10-10: slightly more frequent original contact wobble. */
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
  @keyframes kz-contact-wiggle-gentle{
    0%,12%,100%{transform:translate3d(0,0,0) rotate(0)}
    1.8%{transform:translate3d(-3.5px,0,0) rotate(-5deg)}
    3.6%{transform:translate3d(3.5px,0,0) rotate(5deg)}
    5.4%{transform:translate3d(-3px,0,0) rotate(-4deg)}
    7.2%{transform:translate3d(3px,0,0) rotate(4deg)}
    9%{transform:translate3d(-1.5px,0,0) rotate(-2deg)}
    10.5%{transform:translate3d(1.5px,0,0) rotate(2deg)}
  }
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a{
    animation-name:kz-contact-wiggle-gentle!important;
    animation-duration:12s!important;
    animation-timing-function:cubic-bezier(.45,0,.55,1)!important;
    animation-iteration-count:infinite!important;
  }
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a.phone-fixed{animation-delay:2s!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a.green{animation-delay:6s!important}
  body>#kz-floating-contact.mobile[aria-label="お問い合わせ"]>a.email-fixed{animation-delay:10s!important}
}
