/* ===================================================
   print-style.css - 印刷専用スタイル (media="print")
   =================================================== */

   @page {
    size: A4 landscape;
    margin: 8mm;
}

body#print201610 {
    font-family: "Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    margin: 0;
    padding: 0 20px;
    margin-top: 0;
}

/* =========================================
   画面専用要素を非表示
   ========================================= */
body#print201610 #search_single_head { display: none !important; }
body#print201610 #single_detail_table { display: none !important; }
body#print201610 .print_wrap_under { display: none !important; }
body#print201610 #print_navi { display: none !important; }
body#print201610 .print-head-bor.print-head-bor-last { display: none !important; }
body#print201610 #footer.print-logo { display: none !important; }
body#print201610 .print-tenpo-tel-only { display: none !important; }
body#print201610 .print_tel { display: none !important; }
body#print201610 #row_06 { display: none !important; }

/* =========================================
   アクセント画像（左上・右下）
   ========================================= */
body#print201610 .po-accent-tl {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: auto;
    z-index: 10;
}
body#print201610 .po-accent-br {
    display: block !important;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60px;
    height: auto;
    z-index: 10;
}

/* =========================================
   2カラムレイアウト (#po-columns)
   ========================================= */
body#print201610 #po-columns {
    display: flex !important;
    gap: 15px;
    align-items: stretch;
}

/* --- 左カラム --- */
body#print201610 #po-col-left {
    display: grid !important;
    grid-template-columns: 45% 1fr;
    gap: 10px 20px;
    flex: 0 0 72%;
    width: 72%;
    min-width: 0;
}

body#print201610 #search_single {
    display: contents !important;
}

/* --- 右カラム --- */
body#print201610 #po-col-right {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* =========================================
   左カラム: ヘッダー（row 1、全幅）
   ========================================= */
body#print201610 #po-header {
    display: block !important;
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    padding-top: 0;
}

body#print201610 .po-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 0 2px;
    margin-top: 5px;
}

/* サマリー行 */
body#print201610 .po-summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    font-size: 15px;
}
body#print201610 .po-summary-ohx {
    padding-top: 0;

}

body#print201610 .po-summary-last {
    margin-bottom: 0;
}
body#print201610 .po-summary-left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
    border-bottom: 1px solid #d7d06b;
    /* padding-bottom: 10px; */
    margin-bottom: -10px;
    flex: 1;
    /* margin-right: 20px; */
    /* margin-right: 10%; */
}
body#print201610 .po-summary-left .po-summary-left-text {
    display: flex;
    align-items: baseline;
    gap: 15px;
}
body#print201610 .po-summary-last .po-summary-left {
    gap: 0 5em;
}

body#print201610 .po-summary-right {
    display: flex;
    align-items: baseline;
    gap: 0 4px;
    flex-shrink: 0;
    white-space: nowrap;
    /* border-bottom: 1px solid #d7d06b; */
    padding-bottom: 8px;
    margin-bottom: -10px;
    width: 15em;
    margin-left: auto;
}
.po-summary-right-oh {
    position: relative;
}
.po-summary-right-oh::before {
    content: "";
    background: #ffffff;
    width: 2em;
    height: 10px;
    position: absolute;
    left: -2em;
    bottom: 0em;
}
body#print201610 .po-tsubo {
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-left: 4px;
}
body#print201610 .po-s-l {
    color: #888;
    white-space: nowrap;
    margin-left: 12px;
    font-size: 13px;
    background: #e7e7d1;
    padding: 8px;
}
body#print201610 .po-s-l:first-child {
    margin-left: 0;
}
body#print201610 .po-s-v {
    font-weight: bold;
    font-size: 1.25em;
    margin-right: 8px;
}
body#print201610 .po-s-price {
    font-size:28px;
    margin-right: 2px;
}

/* =========================================
   左カラム: 写真（row 2、全幅）
   ========================================= */
body#print201610 #search_single_content {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block !important;
    float: none !important;
    width: 100% !important;
}
body#print201610 #single_image {
    float: none !important;
    width: 100% !important;
}
body#print201610 #image_thumb {
    display: flex !important;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body#print201610 #image_thumb li {
    float: none !important;
    width: auto !important;
    flex: 1;
    padding: 0 !important;
    margin: 0 5px !important;
    border: none !important;
    overflow: hidden;
}
body#print201610 #image_thumb li:first-child {
    margin-left: 0 !important;
}
body#print201610 #image_thumb li:last-child {
    margin-right: 0 !important;
}
body#print201610 #image_thumb li p {
    display: none !important;
}
body#print201610 #single_image #image_thumb li:nth-child(3) {
    display: block !important;
}
body#print201610 #image_thumb li.size_large img {
    width: 100%;
    height: auto;
    max-height: 130px;
    object-fit: cover;
}

/* =========================================
   左カラム: 地図（row 3 左セル）
   ========================================= */
body#print201610 .map-wrap {
    grid-column: 1;
    grid-row: 3;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
body#print201610 .map-inn {
    display: block !important;
}
body#print201610 #map.map-box {
    width: 100% !important;
    height: 160px !important;
    min-height: 160px;
}
body#print201610 #pano {
    display: none !important;
}
body#print201610 .map-inn img {
    position: absolute;
}

/* =========================================
   左カラム: オフィス概要（row 3 右セル）
   ========================================= */
body#print201610 #po-office {
    display: block !important;
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    align-self: start;
}
body#print201610 .po-section-header {
    background: #4a7c59;
    color: #fff;
    padding: 2px 8px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
body#print201610 .po-office-header-img {
    display: block;
    width: 100%;
    height: auto;
}
body#print201610 .po-office-grid {
    display: flex;
    gap: 12px;
    font-size: 14px;
}
body#print201610 .po-office-col {
    flex: 1;
    min-width: 0;
}
body#print201610 .po-office-row {
    display: flex;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px solid #d7d06b;
}
body#print201610 .po-office-col .po-office-row:last-child {
    /* border-bottom: none; */
}
body#print201610 .po-office-th {
    white-space: nowrap;
    font-weight: normal;
    flex-shrink: 0;
}
body#print201610 .po-office-th::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4a7c59;
    margin-right: 4px;
    vertical-align: middle;
}
body#print201610 .po-office-td {
    margin-left: auto;
    padding-left: 8px;
    white-space: nowrap;
}

/* =========================================
   右カラム: 物件詳細
   ========================================= */
body#print201610 #po-detail {
    display: flex !important;
    flex-direction: column;
    flex: 1;
}
/* 見出し: ── 物件詳細 ── */
body#print201610 #po-detail .po-section-header {
    background: transparent;
    color: #4a7c59;
    padding: 0 0 6px;
    border-bottom: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
body#print201610 #po-detail .po-section-header::before,
body#print201610 #po-detail .po-section-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgb(175, 148, 88);
}
body#print201610 .po-detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    border: 1px solid rgb(215 208 107);
    flex: 1;
}
body#print201610 .po-detail-table th {
    background: transparent;
    padding: 4px 12px;
    border: none;
    border-bottom: 1px solid rgb(215 208 107);

    text-align: left;
    white-space: nowrap;
    font-weight: normal;
    width: 35%;
    background: #e7e7d1;
}
body#print201610 .po-detail-table td {
    background: transparent;
    padding: 4px 12px;
    border: none;
    border-bottom: 1px solid rgb(215 208 107);
}
/* テーブル内の上下左右に余白を作る */
body#print201610 .po-detail-table tr:first-child th,
body#print201610 .po-detail-table tr:first-child td {
    padding-top: 10px;
}
body#print201610 .po-detail-table tr:last-child th,
body#print201610 .po-detail-table tr:last-child td {
    padding-bottom: 10px;
    border-bottom: none;
}

/* =========================================
   下部: ページ最下部に固定（会社情報左 + コメント右）
   ========================================= */
body#print201610 #po-bottom {
    display: flex !important;
    gap: 12px;
    align-items: flex-start;
    grid-column: 1 / -1;
    grid-row: 4;
    /* margin-top: 6px; */
    padding: 10px 12px;
    /* border: 1px solid #ddd;   */
    overflow: visible;
    align-items: center;
}
body#print201610 .po-bottom-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
body#print201610 .po-bottom-right {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
body#print201610 .po-footer-logo {
    width: 36px;
    flex-shrink: 0;
}
body#print201610 .po-footer-logo img {
    width: 100%;
    height: auto;
}
body#print201610 .po-footer-info {
    font-size: 11px;
    line-height: 1.6;
    white-space: nowrap;
}
body#print201610 .po-company-name {
    font-size: 15px;
    font-weight: bold;
    color: #4a7c59;
}
body#print201610 .po-freedial-img {
    height: 16px;
    width: auto;
    vertical-align: middle;
    margin-left: 2px;
}
body#print201610 .po-comment-label {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}
body#print201610 .po-comment-text {
    font-size: 10px;
    line-height: 1.4;
    color: #555;
    word-break: break-all;
    border: 1px solid #d7d06b;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    margin-top: 20px;
}
body#print201610 .po-comment-text::before{
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-style: solid;
    border-width: 0 10px 17.3px 10px;
    border-color: transparent transparent #d7d06b transparent;
    top: -18px;
    left: 17px;
}
body#print201610 .po-comment-text::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-style: solid;
    border-width: 0 10px 17.3px 10px;
    border-color: transparent transparent rgb(255, 255, 255) transparent;
    top: -16px;
    left: 17px;
}
/* QRコード */
body#print201610 .po-bottom-qr {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
body#print201610 #po-qrcode {
    width: 100px;
    height: 100px;
    min-width: 100px;
}
body#print201610 #po-qrcode img,
body#print201610 #po-qrcode canvas {
    display: block;
    width: 85px !important;
    height: 85px !important;
}
