﻿    .site-header {
      position: sticky;
      z-index: 20;
      top: 0;
      height: 47px;
      border-bottom: 1px solid #ccc;
      background: rgba(255,255,255,.97);
      box-shadow: 0 1px 5px rgba(0,0,0,.13);
    }
    .site-header__inner {
      display: flex;
      width: min(100%, var(--shell));
      height: 46px;
      margin: 0 auto;
    }
    .brand {
      display: flex;
      min-width: 0;
      flex: 1;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .brand__logo {
      display: block;
      width: 137px;
      height: 46px;
      flex: 0 0 auto;
      object-fit: contain;
    }
    .brand__tagline {
      max-width: 430px;
      margin: 0;
      font-size: 10.38px;
      font-weight: 400;
      line-height: 15.57px;
    }
    .header-actions {
      display: flex;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .header-actions li { display: flex; }
    .header-action {
      display: flex;
      min-width: 118px;
      height: 46px;
      align-items: center;
      justify-content: center;
      gap: 5px;
      padding: 0 14px;
      border: 0;
      border-left: 1px solid #e5e5e5;
      color: #777;
      background: transparent;
      font-size: 12px;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
    }
    .header-action:hover,
    .header-action:focus-visible { color: var(--blue-dark); background: #f5fbff; }
    .header-action--menu { color: var(--blue-dark); }
    .header-action__icon {
      width: 16px;
      color: var(--blue);
      font-size: 17px;
      line-height: 1;
      text-align: center;
    }

    .search-menu {
      position: absolute;
      top: 46px;
      left: 0;
      width: 100%;
      border-top: 3px solid var(--blue);
      border-bottom: 1px solid #bbb;
      background: #fff;
      box-shadow: 0 7px 18px rgba(0,0,0,.18);
    }
    .search-menu[hidden] { display: none; }
    .search-menu__inner {
      display: grid;
      width: min(calc(100% - 32px), var(--shell));
      margin: 0 auto;
      padding: 18px 0 22px;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border-right: 1px solid var(--line);
      border-left: 1px solid var(--line);
    }
    .search-menu a {
      display: flex;
      min-height: 48px;
      align-items: center;
      justify-content: space-between;
      padding: 10px 16px;
      color: #166f9f;
      background: #fff;
      font-size: 13px;
      text-decoration: none;
    }
    .search-menu a::after { content: "›"; color: var(--blue); font-size: 21px; }

    .breadcrumb { margin: -29px 0 48px; color: #000; font-size: 11px; }
    .breadcrumb a { color: #0066cc; text-decoration: underline; text-underline-offset: 2px; }
    .breadcrumb__separator { margin: 0 9px; color: #777; }
    .breadcrumb__current { color: #000; }
    .breadcrumb-bar { height: 42px; background: #f4f4f4; }
    .breadcrumb-bar .breadcrumb {
      display: flex;
      width: min(calc(100% - 32px), var(--shell));
      height: 42px;
      align-items: center;
      margin: 0 auto;
      color: #000;
      font-size: 11px;
    }
    .breadcrumb__current--sp { display: none; }
    .site-footer { font-size: 11.56px; line-height: 17.34px; }
    .footer-guide { background: #f4f4f4; border-top: 3px solid #d7d7d7; }
    .footer-guide__inner,
    .footer-about__inner,
    .footer-links__inner,
    .footer-corp__inner { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
    .footer-guide__inner { padding: 18px 0 15px; }
    .footer-guide__group + .footer-guide__group { margin-top: 20px; }
    .footer-guide h2 {
      margin: 0 0 8px;
      padding-bottom: 7px;
      border-bottom: 1px solid #d2d2d2;
      font-size: 11.56px;
    }
    .footer-guide ul,
    .footer-links ul,
    .footer-corp ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
    .footer-guide li,
    .footer-links li,
    .footer-corp li { display: flex; align-items: center; }
    .footer-guide li:not(:last-child)::after,
    .footer-links li:not(:last-child)::after,
    .footer-corp li:not(:last-child)::after { margin: 0 9px; color: #bbb; content: "|"; }
    .footer-guide a,
    .footer-links a { color: #0066cc; text-decoration: underline; text-underline-offset: 2px; }
    .footer-guide li { line-height: 2; }

    .footer-about { background: #dff4ff; }
    .footer-about__inner { min-height: 100px; }
    .footer-about p {
      display: flex;
      min-height: 100px;
      align-items: center;
      margin: 0;
      padding: 12px 0 12px 240px;
      color: #666;
      background: url("../images/footer_lead_pic.png") left bottom / 189px 91px no-repeat;
      font-size: 11.56px;
      line-height: 17.34px;
    }

    .footer-links { background: #fff; }
    .footer-links__inner { display: flex; min-height: 58px; align-items: center; justify-content: center; }
    .footer-corp { color: #fff; background: var(--blue); }
    .footer-corp__inner {
      display: flex;
      min-height: 58px;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .footer-corp a { color: #fff; }
    .footer-corp small { order: -1; font-size: 10px; white-space: nowrap; }
    .footer-corp__mobile-links,
    .mobile-footer-tools,
    .mobile-footer-breadcrumb,
    .mobile-alt-search,
    .mobile-device-links { display: none; }

    .page-top {
      position: fixed;
      z-index: 15;
      right: 10px;
      bottom: 0;
      width: 99px;
      height: 166px;
      margin: 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }
    .page-top.is-visible { opacity: 1; pointer-events: auto; }
    .page-top img { display: block; width: 99px; height: 166px; }

    @media (max-width: 760px) {
      .site-header { height: 78px; margin-bottom: 0; }
      .site-header::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 22px;
        overflow: hidden;
        padding: 2px 10px 0;
        color: #777;
        background: #fff;
        font-size: 10px;
        line-height: 18px;
        white-space: nowrap;
        text-overflow: ellipsis;
        content: "お部屋探しやCHINTAIネットを使うのが「初めて」な方に、サイトの使い方…";
      }
      .site-header__inner { position: relative; top: 22px; width: 100%; max-width: 100%; height: 56px; padding-left: 0; }
      .brand {
        min-width: 0;
        flex: 1 1 auto;
        justify-content: center;
        gap: 0;
        overflow: hidden;
      }
      .brand__logo { width: 106px; height: 55px; }
      .brand__tagline { display: none; }
      .site-header nav[aria-label="ユーザーメニュー"] { flex: 0 0 225px; }
      .header-actions { width: 225px; }
      .header-actions li:nth-child(1) .header-action { width: 85px; }
      .header-actions li:nth-child(2) .header-action { width: 87px; }
      .header-actions li:nth-child(3) .header-action { width: 53px; }
      .header-action {
        min-width: 0;
        height: 55px;
        flex-direction: row;
        gap: 7px;
        padding: 0 8px;
        font-size: 10px;
        line-height: 15px;
      }
      .header-action__icon { width: 15px; flex: 0 0 15px; font-size: 18px; }
      .header-action__label {
        max-width: 48px;
        white-space: normal;
        text-align: center;
      }
      .header-action--menu { padding: 0; }
      .header-action--menu .header-action__label { display: none; }
      .header-action--menu .header-action__icon { display: grid; width: 100%; flex-basis: 100%; place-items: center; font-size: 0; }
      .header-action--menu .header-action__icon::before {
        width: 23px;
        height: 18px;
        background: linear-gradient(to bottom, var(--blue) 0 3px, transparent 3px 7px, var(--blue) 7px 10px, transparent 10px 14px, var(--blue) 14px 17px, transparent 17px);
        content: "";
      }
      .search-menu { top: 77px; }
      .search-menu__inner { grid-template-columns: repeat(2, 1fr); }
      .search-menu a { padding: 9px 12px; font-size: 12px; }
      .breadcrumb-bar { display: none; }
      .breadcrumb-bar .breadcrumb {
        width: min(calc(100% - 32px), var(--shell));
        min-height: 42px;
        height: auto;
        flex-wrap: wrap;
        margin-top: 0;
        padding: 7px 0;
        font-size: 13px;
        font-weight: 400;
        line-height: 18px;
      }
      .breadcrumb-bar .breadcrumb a { font-size: 13px; }
      .breadcrumb__current--pc { display: inline; }
      .breadcrumb__current--sp { display: none; }
      .breadcrumb__separator { margin: 0 14px; font-size: 19px; font-weight: 400; }
      .demo-main > .demo-main__inner > .breadcrumb { display: none; }
      .footer-guide,
      .footer-about,
      .footer-links { display: none; }
      .mobile-footer-tools {
        display: grid;
        min-height: 47px;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        background: #f6f6f6;
        grid-template-columns: 1fr 1fr;
      }
      .mobile-footer-tools a {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #000;
        font-size: 11.56px;
        text-decoration: none;
      }
      .mobile-footer-tools a + a { border-left: 1px solid #ddd; }
      .mobile-footer-tools a span { color: var(--blue); font-size: 21px; font-weight: 700; line-height: 1; }
      .mobile-footer-tools a[href="#"] span { transform: translateY(6px); }
      .mobile-footer-breadcrumb {
        display: flex;
        min-height: 52px;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px;
        color: #000;
        background: #fff;
        font-size: 10px;
        line-height: 15px;
      }
      .mobile-footer-breadcrumb a { color: #0066cc; text-decoration: none; white-space: nowrap; }
      .mobile-footer-breadcrumb span[aria-current="page"] { min-width: 0; }
      .mobile-footer-breadcrumb .breadcrumb__separator { margin: 0; color: #777; font-size: 10px; }
      .mobile-alt-search { display: block; }
      .mobile-alt-search h2 {
        min-height: 44px;
        margin: 0;
        padding: 13px 9px;
        color: #fff;
        background: #99968d;
        font-size: 11.56px;
        line-height: 18px;
      }
      .mobile-alt-search__grid { display: grid; grid-template-columns: 1fr 1fr; }
      .mobile-alt-search__grid a {
        display: flex;
        min-height: 47px;
        align-items: center;
        gap: 6px;
        padding: 0 9px;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        color: var(--blue);
        background: #fff;
        font-size: 11px;
        text-decoration: none;
      }
      .mobile-alt-search__grid a span { font-size: 17px; }
      .mobile-device-links {
        display: flex;
        min-height: 56px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        color: #8a512f;
        background: #fff;
        font-size: 12px;
        font-weight: 700;
      }
      .mobile-device-links a { color: #8a512f; text-decoration: none; }
      .footer-corp__desktop-links { display: none !important; }
      .footer-corp__mobile-links { display: flex; }
      .footer-corp__inner {
        min-height: 100px;
        flex-direction: column;
        justify-content: flex-start;
        padding: 11px 0 9px;
        gap: 12px;
        text-align: center;
      }
      .footer-corp ul { max-width: 300px; justify-content: center; row-gap: 2px; }
      .footer-corp li:not(:last-child)::after { margin: 0 10px; color: rgba(255,255,255,.65); }
      .footer-corp a { font-size: 10.38px; font-weight: 700; text-decoration: none; }
      .footer-corp small { order: 0; font-size: 10.38px; font-weight: 700; line-height: 15.57px; }
      .page-top { display: none; }
    }
    @media (max-width: 400px) {
      .brand__logo { width: 104px; }
      .mobile-footer-breadcrumb { gap: 7px; padding-right: 10px; padding-left: 10px; font-size: 10px; }
    }

    @media (max-width: 340px) {
      .site-header nav[aria-label="ユーザーメニュー"] { flex-basis: 200px; }
      .header-actions { width: 200px; }
      .header-actions li:nth-child(1) .header-action { width: 75px; }
      .header-actions li:nth-child(2) .header-action { width: 77px; }
      .header-actions li:nth-child(3) .header-action { width: 48px; }
      .brand__logo { width: 88px; }
      .header-action { gap: 4px; padding-right: 5px; padding-left: 5px; font-size: 9px; }
    }
