@charset "UTF-8";
/* =========================================================
   新潟マンション売却支援センター 静的HTML版 追加CSS（2026.10）
   旧テーマの style.css はそのまま使い、ここで
   ・静的化に伴う調整  ・お問い合わせ／資料請求（電話・メール）ブロック
   ・スマートフォン表示（767px以下）を追加しています。
   ========================================================= */

/* ---------- 共通 ---------- */
.menu-btn, #sp-menu, .sp-fixed-bar { display: none; }

#contents { display: block; }

/* 電話番号のリンク：PCでは押せない通常の文字（旧サイトと同じ見た目） */
#header-tel a, #side-con-tel a, #footer-tel a, #contact-tel-tel a,
.request-tel a, .company-tel a, #privacy-info-text a {
  color: #222 !important;
  text-decoration: none;
  pointer-events: none;
}

/* 404ページの見出し背景 */
.page-404 #catch-area {
  background: url(../img/header-contact.jpg) no-repeat top center;
  background-size: cover;
}

/* 会社地図 */
.map-frame { margin-bottom: 30px; }
.map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }

/* お知らせ一覧（静的） */
#all-news-area .all-news-box .h3-area { margin-bottom: 16px; }
#all-news-area .all-news-text + .all-news-text { margin-top: 12px; }

/* ---------- 電話・メールでのご相談／資料請求ブロック ---------- */
.request-box {
  background: #FFF;
  border: solid 1px #DDD;
  border-radius: 4px;
  padding: 28px 30px;
  text-align: center;
}
#siryou-form-area .request-box { border-color: #FFF; }
.request-lead {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.request-lead strong { color: #00A563; }
.request-ways {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.request-way {
  flex: 1 1 0;
  min-width: 0;
  border: dashed 1px #A8C600;
  border-radius: 4px;
  padding: 18px 14px;
  background: #FAFDF4;
}
.request-way-title {
  font-size: 17px;
  color: #00A563;
  line-height: 1.4;
  margin-bottom: 12px;
}
.request-tel {
  white-space: nowrap;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 12px;
}
.request-tel a {
  background: url(../img/icon-tel.png) no-repeat 0 4px;
  background-size: 24px;
  padding-left: 30px;
}
.request-btn { margin-bottom: 12px; }
.request-btn a {
  display: inline-block;
  min-width: 240px;
  padding: 12px 22px;
  font-size: 17px;
  line-height: 1.4;
}
.request-btn a:link, .request-btn a:visited, .request-btn a:hover { color: #FFF; }
.request-note {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.request-privacy {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
#contact-area .request-btn { margin-bottom: 16px; }
#contact-area .request-note { margin-bottom: 16px; }

/* =========================================================
   スマートフォン（767px以下）
   ========================================================= */
@media screen and (max-width: 767px) {
  body { padding-bottom: 64px; }
  #wrapper { min-width: 0; }
  body, h1, h2, h3, h4, h5, h6, p, td, th, ol, ul, li, dl, dt, dd { letter-spacing: 0.02em; }
  img { max-width: 100%; height: auto; }

  /* 電話番号をタップで発信できるように */
  #header-tel a, #side-con-tel a, #footer-tel a, #contact-tel-tel a,
  .request-tel a, .company-tel a, #privacy-info-text a { pointer-events: auto; }
  #side-con-tel a, #contact-tel-tel a, .request-tel a { color: #00A563 !important; text-decoration: underline; }

  /* ---------- ヘッダー ---------- */
  header, .home header { height: auto; }
  #header {
    width: auto;
    height: auto;
    padding: 12px 64px 12px 14px;
    background: #FFF;
  }
  #header h1 {
    position: absolute !important;
    width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  #logo-area { position: static; }
  #header #logo, #header #logo a { width: 250px; height: 21px; }
  #header #logo { margin-bottom: 6px; }
  #header-address { font-size: 10px; line-height: 1.4; }
  #header-address span { display: block; }
  #header-con-area, #header-siryou-btn { display: none; }

  .menu-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #00A563;
    cursor: pointer;
  }
  .menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto 5px;
    background: #FFF;
    transition: transform .2s, opacity .2s;
  }
  .menu-btn span:first-child { margin-top: 2px; }
  .menu-btn em {
    display: block;
    font-style: normal;
    font-size: 9px;
    line-height: 1;
    color: #FFF;
    letter-spacing: 0.05em;
  }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu-open #sp-menu { display: block; }
  #sp-menu {
    background: #F8F8F1;
    border-top: solid 3px #00A563;
    padding: 6px 16px 18px;
  }
  #sp-menu ul li { border-bottom: dashed 1px #D5D5D5; }
  #sp-menu ul li a {
    display: block;
    padding: 12px 4px 12px 18px;
    font-size: 15px;
    line-height: 1.4;
    color: #222;
    text-decoration: none;
    background: url(../img/icon-arrow4.png) no-repeat 0 center;
    background-size: 11px;
  }
  .sp-menu-tel { margin: 16px 0 0; text-align: center; line-height: 1.4; }
  .sp-menu-tel a {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #00A563;
  }
  .sp-menu-tel span { font-size: 12px; color: #666; }

  /* トップのメインビジュアル */
  #header-main-area {
    height: auto;
    background-attachment: scroll;
    background-size: cover;
    background-position: center top;
  }
  #header-main {
    width: auto;
    padding: 0 14px 26px;
  }
  #header-catch {
    padding-top: 74px;
    padding-bottom: 18px;
    font-size: 24px;
    background-size: 150px;
    background-position: top 6px right 0;
  }
  .header-catch-d { font-size: 38px; }
  #header-stop {
    width: 76px;
    height: 76px;
    left: 12px;
    top: 10px;
  }
  #header-stop-text { font-size: 12px; padding-top: 15px; }
  #header-main-btn a { padding: 12px 14px; font-size: 13px; }
  #header-main-btn a span { font-size: 15px; background-position: 0 4px; }

  /* 下層ページの見出し */
  #catch-area { height: 96px; }
  #catch-h2-area { width: auto; padding: 36px 16px 0; }
  #catch-h2-area h2 { font-size: 20px; line-height: 1.3; background-position: 0 6px; }

  /* トップのグレーエリア */
  #top-glay { width: auto; padding: 30px 16px; }
  #top-glay-top { font-size: 14px; text-align: left; margin-bottom: 22px; }
  #top-glay-top br { display: none; }
  #top-glay-top span { font-size: 15px; }
  #top-glay ul { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 14px; }
  #top-glay ul li { width: 48%; margin: 0 0 16px; float: none; }
  .top-glay-img { width: 100%; height: auto; margin-bottom: 8px; }
  .top-glay-img::after { display: none; }
  .top-glay-img-under { font-size: 12px; }
  #top-glay-bottom { font-size: 16px; line-height: 1.6; padding: 10px 0; }
  #top-glay-bottom span { font-size: 17px; }
  #top-glay-bottom2 { font-size: 22px; line-height: 1.6; }
  #top-glay-bottom2 span { font-size: 24px; }

  /* ---------- メイン・サイド ---------- */
  #main { width: auto; margin: 26px 16px 40px; }
  #contents { width: auto; float: none; margin: 0 0 40px; }
  #side_right { width: auto; float: none; }
  #side-con-box { margin-top: 30px; }
  .h3-area h3 { padding-right: 96px; line-height: 1.5; }
  .top-news-more { right: 0; }

  /* トップ：代表メッセージ */
  #top-message-top, #company-message-top {
    margin-left: 0;
    padding-left: 128px;
    background-size: 112px;
    padding-top: 0;
    padding-bottom: 0;
  }
  #top-message-logo, #company-message-logo { width: 100%; max-width: 220px; height: 19px; background-size: contain; }
  #top-message-name, #company-message-name { font-size: 22px; margin-bottom: 14px; }
  #top-message-name span, #company-message-name span { display: block; margin: 6px 0 0; font-size: 11px; }
  #top-message-sikaku ul li, #company-message-sikaku ul li { font-size: 12px; }
  #top-message-catch { font-size: 21px; }
  #top-message-text { margin: 0 0 0 -128px; padding-top: 10px; }
  #company-message-catch { font-size: 21px; margin-bottom: 20px; }
  #company-message-text { padding: 18px; }

  /* トップ：お客様の声 */
  .top-works-box {
    width: auto;
    float: none;
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-right: 0;
    border-bottom: dotted 1px #DDD;
  }
  #top-works-box-area div.top-works-box:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .top-works-box-img { width: 80px; }
  .top-works-box-catch { width: auto; float: none; overflow: hidden; font-size: 16px; }

  #news li a { display: block; margin: 4px 0 0; }

  /* 資料請求ページ */
  #siryou-top-title { font-size: 22px; }
  #siryou-top-img ul { display: flex; gap: 6px; }
  #siryou-top-img ul li { width: auto; flex: 1 1 0; margin: 0; float: none; }
  #siryou-top-img ul li:after { display: none; }
  #siryou-top-bottom { font-size: 14px; }
  #siryou-top-bottom span { font-size: 16px; }
  #siryou-form-area { padding: 64px 12px 16px; }
  #siryou-form-stop { top: -40px; right: -6px; width: 92px; height: 92px; }
  #siryou-form-stop-text { padding-top: 24px; font-size: 11px; }
  #siryou-form-title { font-size: 22px; line-height: 1.4; }

  .request-box { padding: 20px 14px; }
  .request-lead { font-size: 14px; text-align: left; }
  .request-lead br { display: none; }
  .request-ways { flex-direction: column; gap: 14px; }
  .request-btn a { display: block; min-width: 0; }
  .request-note, .request-privacy { text-align: left; }
  #side-con-mail a { width: 100%; }

  /* お問い合わせページ */
  #contact-tel-area-l, #contact-tel-area-r { width: auto; float: none; margin: 0 0 16px; }
  #contact-tel-area-r { max-width: 260px; margin: 0 auto; }
  #contact-tel-tel { font-size: 26px; }
  #contact-tel-spot { line-height: 1.6; }
  #contact-title { font-size: 17px; }

  /* 運営会社 */
  .company-info-t, .company-info-t tbody, .company-info-t tr, .company-info-t th, .company-info-t td { display: block; width: auto; }
  .company-info-t th { padding: 8px 12px; }
  .company-info-t td { padding: 12px 12px 18px; }
  .map-frame iframe { height: 300px; }

  /* 解決実績 */
  .works-h3-l { width: 70px; }
  .works-h3-r { width: auto; float: none; overflow: hidden; }
  .works-box h3 { font-size: 17px; }
  .works-h3-info { font-size: 12px; line-height: 1.4; }
  .works-btn a { line-height: 1.5; padding: 14px 16px; font-size: 15px; display: block; }

  /* ---------- フッター ---------- */
  #footer-top { height: 140px; }
  #footer-top-text { padding: 46px 16px 0; font-size: 15px; line-height: 1.6; }
  #footer-area { height: auto; }
  #footer { width: auto; height: auto; padding: 24px 16px; text-align: center; }
  #footer-logo, #footer-info, #footer-btn { position: static; }
  #footer-logo { margin: 0 auto 14px; }
  #footer-info { margin-bottom: 16px; }
  #footer-tel { line-height: 1.8; }
  #footer-tel span { margin-right: 8px; }
  #footer-btn { margin: 0; }
  #footer-btn a { line-height: 1.5; padding: 10px 16px; font-size: 14px; }
  #footer-bottom-area { height: auto; padding: 16px; }
  #footer-bottom { width: auto; }
  #footer-bottom ul { float: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
  #footer-bottom ul li { float: none; width: 50%; margin: 0; line-height: 2.2; font-size: 12px; }
  address { float: none; text-align: center; line-height: 1.6; margin-top: 12px; font-size: 10px; }

  /* 画面下に固定の「電話」「資料請求」ボタン */
  .sp-fixed-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  }
  .sp-fixed-bar a {
    flex: 1 1 50%;
    display: block;
    padding: 9px 4px 7px;
    text-align: center;
    color: #FFF !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
  }
  .sp-fixed-bar a small { display: block; font-size: 10px; font-weight: normal; }
  .sp-fixed-bar img { vertical-align: -3px; margin-right: 4px; }
  .sp-fixed-tel { background: #00A563; }
  .sp-fixed-siryou { background: linear-gradient(350deg, #A8C600, #5DB26B); border-left: solid 1px #FFF; }
}
