@charset "UTF-8";
/* =========================================================
   2026-12 スマホ・タブレット対応（960px以下）
   style.css の後に読み込み、PC用の固定幅を上書きする
   ========================================================= */

.kgl-menu-btn { display: none; }

@media only screen and (max-width: 960px) {

  /* ---------- 共通 ---------- */
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 1.5rem; line-height: 1.85; overflow-x: hidden; }
  #wrapper { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  .wrap { padding: 0 5%; box-sizing: border-box; }
  .cf::after { content: ""; display: block; clear: both; }
  .sub_label { font-size: 1.8rem; padding: 10px 16px; line-height: 1.4; }
  .ttl { letter-spacing: 0.05rem; }

  /* ---------- ヘッダー ---------- */
  header {
    min-width: 0;
    padding: 10px 4%;
    position: relative;
    background: #fff;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header::after { display: none; }
  header .header_left { width: 58%; max-width: 240px; margin-left: 0; float: none; }

  .kgl-menu-btn {
    display: block;
    position: relative;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #e5605a;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .kgl-menu-btn span {
    position: absolute;
    left: 14px;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform .25s, opacity .25s, top .25s;
  }
  .kgl-menu-btn span:nth-child(1) { top: 13px; }
  .kgl-menu-btn span:nth-child(2) { top: 20px; }
  .kgl-menu-btn span:nth-child(3) { top: 27px; }
  .kgl-menu-btn em {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    font-style: normal;
    font-size: 10px;
    line-height: 1;
    color: #fff;
    letter-spacing: 0;
  }
  .kgl-nav-open .kgl-menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
  .kgl-nav-open .kgl-menu-btn span:nth-child(2) { opacity: 0; }
  .kgl-nav-open .kgl-menu-btn span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

  .main_nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    float: none;
    margin: 0;
    background: #fff;
    border-top: 1px solid #f2d3d1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .12);
    z-index: 999;
  }
  .kgl-nav-open .main_nav { display: block; left: 0 !important; }
  .main_nav ul { display: block; padding: 0 5% 20px; }
  .main_nav ul li,
  .main_nav li {
    display: block;
    height: auto;
    padding: 0;
    border-right: 0;
    border-bottom: 1px dotted #e5605a;
    font-size: 1.6rem;
    text-align: left;
  }
  .main_nav li a::after { display: none !important; }
  .main_nav ul li a {
    display: block;
    height: auto;
    padding: 14px 4px;
    color: #e5605a;
    text-decoration: none;
  }
  .main_nav ul li.contact { border-bottom: 0; padding-top: 16px; }
  .main_nav ul li.contact a {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    color: #fff;
  }

  /* ---------- フッター ---------- */
  footer { background: #fff6f3; color: #e5605a; padding: 30px 0 20px; }
  footer #footer_address { display: block; padding: 0 5%; }
  footer #footer_address li { margin-bottom: 20px; }
  footer #footer_address li dl { width: auto; padding: 0; }
  footer #footer_address li dl dt { font-size: 1.5rem; }
  footer #footer_address li dl dd { font-size: 1.3rem; text-align: center; }
  footer #footer_address li dl dd .tel img { max-width: 260px; margin: 6px auto 0; }
  footer nav ul li { padding: 0; }
  footer nav ul li a { display: block; padding: 10px 0; font-size: 1.5rem; }
  footer .copyright { font-size: 1.1rem; }
  #pagetop { width: 48px; right: 12px; }

  /* ---------- 固定CTA（スマホは画面下部に横並び） ---------- */
  #kgl-cta.kgl-cta--pc,
  #kgl-cta.kgl-cta--sp {
    top: auto !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    flex-direction: row !important;
    gap: 0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
  }
  #kgl-cta .kgl-cta__btn {
    flex: 1;
    width: auto !important;
    height: 60px !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    gap: 3px !important;
  }
  #kgl-cta .kgl-cta__btn svg { width: 22px !important; height: 22px !important; }
  #kgl-cta .kgl-cta__tel {
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 72px !important;
    transform: none !important;
    width: auto !important;
    padding: 16px !important;
    border-radius: 10px !important;
  }
  #kgl-cta .kgl-cta__tel-ttl { font-size: 15px !important; margin-bottom: 8px !important; }
  #kgl-cta .kgl-cta__tel li a { padding: 10px 0 !important; }
  #kgl-cta .kgl-cta__tel li span { font-size: 13px !important; }
  #kgl-cta .kgl-cta__tel li strong { font-size: 20px !important; }
  #kgl-cta .kgl-cta__tel-close { font-size: 13px !important; padding: 8px !important; margin-top: 8px !important; border-radius: 4px !important; }
  body { padding-bottom: 60px !important; }
  #pagetop { bottom: 72px !important; }

  /* ---------- トップページ ---------- */
  .top main figure { height: 62vw; background-position: center center; }

  .top #about { padding: 30px 0 40px; }
  .top #about h2.ttl { font-size: 1.9rem; line-height: 1.9; }
  .top #about h2.ttl br { display: none; }
  .top #about h2.ttl span { border-bottom: 0; }
  .top #about .txt br { display: none; }
  .top #about .illust_list {
    position: static;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4%;
    margin-top: 20px;
  }
  .top #about .illust_list li:nth-of-type(n) { position: static; width: 30%; }

  .important_news_wrap { margin-top: 30px !important; }
  .important_news { display: block !important; padding: 15px !important; }

  .top #facility { padding: 30px 5%; }
  .top #facility h2 { font-size: 2.2rem; margin-bottom: 20px; }
  .top #facility .list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 4%;
  }
  .top #facility .list .col { width: auto; margin: 0; }
  .top #facility .list .col dd { padding: 0; text-align: center; }
  .top #facility .list .col h3 { font-size: 1.4rem; line-height: 2; letter-spacing: 0; }
  .top #facility .list .col address { font-size: 1.2rem; line-height: 1.6; display: block; }

  .top #promise { padding: 40px 5%; }
  .top #promise h2 { font-size: 2.2rem; line-height: 1.5; }
  .top #promise h3.ttl { font-size: 2rem; padding: 20px 0 10px; }
  .top #promise ol { display: block; border-spacing: 0; }
  .top #promise ol li { display: block; margin-bottom: 24px; }
  .top #promise ol li dl dt { margin-bottom: 10px; text-align: center; }
  .top #promise ol li dl dd { display: flex; align-items: flex-start; }
  .top #promise ol li dl dd .num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    font-size: 1.8rem !important;
    padding-top: 2px !important;
    margin-right: 10px !important;
  }
  .top #promise ol li dl dd h3 { display: block; font-size: 1.7rem; line-height: 1.6; }
  .top #promise ol li dl dd h3 br { display: none; }

  .top #good_life { padding: 40px 0; }
  .top #good_life h2 { font-size: 2.1rem; line-height: 1.6; }
  .top #good_life h3 { font-size: 1.7rem; margin-bottom: 20px; }
  .top #good_life .left,
  .top #good_life .right { float: none; width: auto; }
  .top #good_life .left .img { text-align: center; }
  .top #good_life .left .txt { text-align: center; margin: 15px 0; }
  .top #good_life .left ul li { margin-bottom: 8px; }
  .top #good_life .left ul li a {
    display: block;
    background: #fff6f3;
    padding: 10px 16px;
    color: #555;
    text-decoration: none;
  }
  .top #good_life .left ul li i { display: inline-block; width: 36px; margin-right: 10px; text-align: center; }
  .top #good_life .left ul li i img { max-height: 28px; width: auto; vertical-align: middle; }
  .top #good_life .right { margin-top: 30px; padding: 15px 0; }
  .top #good_life .right h4 { width: auto; margin: 0 5% 15px 0; font-size: 1.6rem; line-height: 1.5; }
  .top #good_life .right ul { padding: 0 5%; }

  /* ---------- 下層共通 ---------- */
  .sub main figure { height: 45vw !important; margin-bottom: 25px !important; background-size: cover !important; background-position: left center !important; }
  .sub .bottom_inquiry { padding: 30px 5%; }
  .sub .bottom_inquiry h2 { font-size: 2.1rem; }
  .sub .bottom_inquiry .txt { text-align: left; }
  .sub .bottom_inquiry .txt br { display: none; }
  .sub .bottom_inquiry .btn a { display: block; padding: 16px 10px; }

  .foot_btn { display: block; padding: 0 5%; margin-bottom: 40px; }
  .foot_btn li { margin-bottom: 10px; }
  .foot_btn li a { display: block; width: auto; padding: 14px 10px; }

  /* ---------- 私たちについて ---------- */
  .sub.about #summary { padding: 20px 0; }
  .sub.about #summary .left { margin-top: 10px; float: none; width: auto; }
  .sub.about #summary .left .left_logo { width: 70%; max-width: 300px; margin-bottom: 20px; }
  .sub.about #summary .midashi { width: auto; font-size: 1.9rem; }
  .sub.about #summary .flex { display: flex; flex-direction: column-reverse; }
  .sub.about #summary .flex .in { width: auto; margin: 0; }
  .sub.about #summary .right { float: none; width: auto; text-align: center; margin-bottom: 20px; }
  .sub.about #summary .right .img { width: 60%; max-width: 260px; margin: 0 auto 10px; float: none; }
  .sub.about #summary .right .name { font-size: 2.1rem; }
  .sub.about #summary .left h2 { font-size: 2.2rem; }
  .sub.about #summary .left h3 { font-size: 1.8rem; }

  .sub.about #policy,
  .sub.about #posture { padding: 30px 0; }
  .sub.about #policy .right,
  .sub.about #posture .right,
  .sub.about #outline .right { float: none; width: auto; }
  .sub.about #policy .txt { margin-left: 0; }
  .sub.about #policy .txt br { display: none; }
  .sub.about #posture .col { margin-bottom: 25px; }
  .sub.about #posture .col .left { float: none; width: auto; margin-left: 0; }
  .sub.about #posture .col .left h3 { font-size: 1.9rem; margin-bottom: 8px; line-height: 1.5; }
  .sub.about #posture .col .img { float: none; width: auto; }
  .sub.about #outline .inner { margin-left: 0; }
  .sub.about #outline .inner dl { width: 100%; }
  .sub.about #outline .inner dl dt,
  .sub.about #outline .inner dl dd { font-size: 1.5rem; padding: 10px 6px; }
  .sub.about #outline .inner dl dt { width: 80px; }
  .sub.about #outline .img { position: static; }
  .sub.about #system { padding: 30px 5%; }

  /* ---------- お元気な方へ／介護が必要な方へ ---------- */
  .sub.for-person #main section#conditions .inner,
  .sub.for-person #main section#tour .inner,
  .sub.for-person #main section#sick .inner,
  .sub.for-person #main section#moving .inner { margin-left: 0; }
  .sub.for-person #main section#conditions .txt,
  .sub.for-person #main section#tour .txt,
  .sub.for-person #main section#sick .txt,
  .sub.for-person #main section#moving .txt { float: none; width: auto; }
  .sub.for-person #main section#conditions .img,
  .sub.for-person #main section#tour .img,
  .sub.for-person #main section#sick .img,
  .sub.for-person #main section#moving .img,
  .sub.for-person .sub_inner .img { float: none; width: auto; text-align: center; margin-top: 15px; }
  .sub.for-person #main section#conditions .wrap,
  .sub.for-person #main section#tour .wrap,
  .sub.for-person #main section#sick .wrap,
  .sub.for-person #main section#moving .wrap { margin-bottom: 30px; }
  .sub.for-person #flow h2 { margin-bottom: 25px; }
  .sub.for-person #flow .flow_list { margin-left: 0; }
  .sub.for-person #flow .col { padding: 18px 18px; font-size: 1.5rem; margin-bottom: 36px; }
  .sub.for-person #flow .col h3 { font-size: 1.8rem; }
  .sub.for-person #flow .col br { display: none; }
  .sub.for-person #flow .col small br { display: inline; }

  /* ---------- よくあるご質問 ---------- */
  .sub.faq .main_txt { padding: 10px 0 25px; }
  .sub.faq #main section { margin-bottom: 40px; }
  .sub.faq #main section .inner { margin-left: 0; }
  .sub.faq #main section dl { padding: 18px 14px; margin-bottom: 16px; }
  .sub.faq #main section dl dt { font-size: 1.6rem; line-height: 1.6; padding: 0 30px 0 46px; }
  .sub.faq #main section dl dt br { display: none; }
  .sub.faq #main section dl dt span { font-size: 1.8rem; width: 46px; top: 0; }
  .sub.faq #main section dl dt::after { width: 18px; height: 18px; background-size: contain; }
  .sub.faq #main section dl dd { padding-left: 46px; padding-top: 6px; margin-top: 12px; font-size: 1.4rem; }
  .sub.faq #main section dl dd span { font-size: 1.8rem; width: 46px; top: 2px; }

  /* ---------- 採用のご案内 ---------- */
  .sub.recruit h2.main_ttl { font-size: 2.2rem; padding: 20px 0; }
  .sub.recruit main figure { height: 32.15vw !important; background-size: 100% auto !important; background-position: center top !important; }
  .sub.recruit #main #policy .inner,
  .sub.recruit #main #posture .inner { margin-left: 0; }
  .sub.recruit #main #policy .txt br { display: none; }
  .sub.recruit #main #recruit_from { padding: 35px 0; }
  .sub.recruit #main #recruit_from h2 { font-size: 1.9rem; line-height: 1.6; }
  .sub.recruit #main #recruit_from .txt { text-align: left; }
  .sub.recruit #main #recruit_from .txt br { display: none; }
  .sub.recruit #main #recruit_from ul { display: block; width: auto; margin: 0; }
  .sub.recruit #main #recruit_from ul li,
  .sub.recruit #main #recruit_from ul li:nth-of-type(2n) { float: none; margin-bottom: 15px; text-align: center; }

  /* ---------- 情報誌グッドライフ（バックナンバー） ---------- */
  .sub.backnumber main { padding: 30px 5%; margin-bottom: 20px; line-height: 1.5; }
  .sub.backnumber main h2 { font-size: 2rem; }
  .sub.backnumber #main h3 { padding: 20px 0; font-size: 1.9rem; }
  .sub.backnumber #main .backnumber_list ul { display: block; padding: 0; }
  .sub.backnumber #main .backnumber_list ul::after { display: none; }
  .sub.backnumber #main .backnumber_list ul li { width: auto; box-sizing: border-box; margin: 0 0 20px; }
  .sub.backnumber #main .backnumber_list ul li .img { text-align: center; }
  .sub.backnumber #main .backnumber_list ul li .img img { width: 70%; max-width: 290px; }
  .sub.backnumber #main .backnumber_list ul li .num { font-size: 1.7rem; }
  .sub.backnumber #main .topic_list { padding: 10px 0; }
  .sub.backnumber #main .topic_list aside,
  .sub.backnumber #main .topic_list article { float: none; width: auto; }
  .sub.backnumber #main .topic_list aside .img { text-align: center; }
  .sub.backnumber #main .topic_list aside .img img { width: 50%; max-width: 200px; }
  .sub.backnumber #main .topic_list aside .txt { text-align: center; margin: 10px 0; }
  .sub.backnumber #main .topic_list aside ul li { margin-bottom: 8px; }
  .sub.backnumber #main .topic_list aside ul li a { display: block; background: #fff6f3; padding: 10px 16px; color: #555; text-decoration: none; }
  .sub.backnumber #main .topic_list aside ul li i { display: inline-block; width: 36px; margin-right: 10px; text-align: center; }
  .sub.backnumber #main .topic_list aside ul li i img { max-height: 28px; width: auto; vertical-align: middle; }
  .sub.backnumber #main .topic_list aside { margin-bottom: 30px; }
  .sub.backnumber #main .topic_list article .cat { font-size: 2rem; margin-bottom: 15px; }
  .sub.backnumber #main .topic_list article section h4 { font-size: 1.7rem; }
  .pc-side-nav-fixed { position: static !important; }
  .pc-side-nav-fixed .img { display: block !important; }
  .sub .wp-pagenavi { display: flex; flex-wrap: wrap; justify-content: center; }

  /* ---------- お問い合わせ・資料請求 ---------- */
  .sub.siryo main { padding: 30px 5%; margin-bottom: 20px; line-height: 1.5; }
  .sub.siryo main h2 { font-size: 2.1rem; }
  .sub.siryo .mail_form .info br { display: none; }
  .sub.siryo .mail_form .sns_box { width: auto; margin: 20px 0 25px; padding: 15px; }
  .sub.siryo .mail_form table,
  .sub.siryo .mail_form table tbody,
  .sub.siryo .mail_form table tr,
  .sub.siryo .mail_form table th,
  .sub.siryo .mail_form table td { display: block; width: auto !important; box-sizing: border-box; }
  .sub.siryo .mail_form table { border-spacing: 0; }
  .sub.siryo .mail_form table tr { margin-bottom: 14px; }
  .sub.siryo .mail_form table th { padding: 8px 4px 4px; border-bottom: 0; font-weight: bold; }
  .sub.siryo .mail_form table th span.txtred { float: none; margin-left: 8px; }
  .sub.siryo .mail_form table td { padding: 12px; border-bottom: 0; }
  .sub.siryo .mail_form input[type="text"],
  .sub.siryo .mail_form input[type="email"],
  .sub.siryo .mail_form input[type="tel"],
  .sub.siryo .mail_form input[type="date"],
  .sub.siryo .mail_form select,
  .sub.siryo .mail_form textarea { width: 100% !important; max-width: 100%; box-sizing: border-box; font-size: 16px; }
  .sub.siryo .mail_form .p-postal-code { width: 180px !important; }
  .sub.siryo .mail_form .wpcf7-list-item { display: block; margin: 0 0 6px; }
  .sub.siryo .confirmBtn input,
  .sub.siryo .wpcf7-submit { width: 100%; padding: 16px 10px; font-size: 1.8rem; }
  .wpcf7 .kgl-accept__check { display: block; padding: 12px; }
  .sub.siryo .thanks_mail br { display: none; }
}

/* ---------- 小さいスマホ ---------- */
@media only screen and (max-width: 480px) {
  .top #facility .list { grid-template-columns: 1fr; }
  .top #facility .list .col { max-width: 340px; margin: 0 auto; }
  .top #facility .list .col h3 { font-size: 1.6rem; }
}
