@charset "utf-8";

/* =======================================================
   仮設機材リース (lease) ページ内リンクボタン
   ======================================================= */
.lea-nav-btns {
    display: flex;
    flex-direction: column; /* 2段組にするために縦方向ベース */
    gap: 15px; /* 段の間の隙間 */
    margin-bottom: 60px;
}

.lea-nav-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* スマホなどで折り返す用 */
    gap: 15px; /* ボタン同士の隙間 */
}

.lea-nav-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.lea-nav-btn:hover {
    background-color: #6b2c46; /* ホバー時はテーマカラー */
    color: #fff !important;
    border-color: #6b2c46;
}

/* 固定ヘッダーに隠れないように余白を取るアンカー */
.lea-anchor {
    scroll-margin-top: 120px;
}

/* --- レスポンシブ (スマホ向け) --- */
@media screen and (max-width: 860px) {
    .lea-nav-btns {
        margin-bottom: 40px;
        gap: 10px;
    }
    .lea-nav-row {
        flex-direction: column;
        gap: 10px;
    }
    .lea-nav-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* =======================================================
   表示切り替え (PC/スマホ)
   ======================================================= */
/* PCサイズ時はスマホ用メニューを強制非表示 */
@media screen and (min-width: 861px) {
    header.res,
    .humburger,
    .globalMenuSp {
        display: none !important;
    }
}

/* スマホサイズ時はPC用ヘッダーを強制非表示 */
@media screen and (max-width: 860px) {
    header.pc {
        display: none !important;
    }
}

/* =======================================================
   ヘッダー (header)
   ======================================================= */
header.pc .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1440px; /* デザイン幅に合わせて広めに確保 */
    margin: 0 auto;
}

header.pc .h01 a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

header.pc .h01 img {
    height: 60px; /* ロゴ画像の高さ（適宜調整） */
    width: auto;
    margin-right: 15px;
}

header.pc .h01 .logo-text h1 {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin: 0;
}

header.pc .h01 .logo-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    color: #333;
    margin-top: 3px;
}

header.pc #gNav {
    display: flex;
    align-items: center;
    gap: 30px; /* メニュー間の余白 */
    margin: 0;
    list-style: none;
}

header.pc #gNav li.parent > a {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    transition: opacity 0.3s;
}

header.pc #gNav li.parent > a:hover {
    opacity: 0.7;
}


/* =======================================================
   メインビジュアル (main-visual)
   ======================================================= */
.main-visual {
    position: relative;
}

/* スライダー内の画像がフル幅になるように調整 */
.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.main-visual .main-text {
    position: absolute;
    bottom: 35%;
    right: 5%;
    font-size: 2.5rem;
    color: #000; /* 黒文字 */
    font-weight: bold;
    line-height: 1.4;
    z-index: 10;
    letter-spacing: 0.05em;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    
    /* 隙間のないくっきりした太い白縁を作るため、細かくシャドウを重ねる */
    text-shadow: 
        3px  3px 0 #fff, -3px -3px 0 #fff,
       -3px  3px 0 #fff,  3px -3px 0 #fff,
        3px  0px 0 #fff, -3px  0px 0 #fff,
        0px  3px 0 #fff,  0px -3px 0 #fff,
        2px  2px 0 #fff, -2px -2px 0 #fff,
       -2px  2px 0 #fff,  2px -2px 0 #fff,
        2px  0px 0 #fff, -2px  0px 0 #fff,
        0px  2px 0 #fff,  0px -2px 0 #fff,
        1px  1px 0 #fff, -1px -1px 0 #fff,
       -1px  1px 0 #fff,  1px -1px 0 #fff;
}


/* =======================================================
   トップセクション1 (top1)
   ======================================================= */
.top1 {
    margin-bottom: 100px;
    padding-top: 60px;
}

.top1-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.top1-text {
    width: 60%;
}

.top1-image {
    width: 35%;
    text-align: center;
}

/* 見出しのスタイル */
.top1-text .catch-phrase {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 本文のスタイル */
.top1-text .marker-text {
    font-size: 1rem;
    line-height: 1.8; /* 行間を広めにとって背景色が重ならないように */
    font-weight: bold;
    color: #333;
}

/* マーカー風の背景（改行しても自然に背景色がつくように box-decoration-break を使用） */
.top1-text .catch-phrase span,
.top1-text .marker-text span {
    padding: 4px 8px; /* 文字の上下左右に少し余白を持たせる背景 */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}


/* =======================================================
   テナント募集 (top2) - さらに高さを抑えたコンパクト2カラム
   ======================================================= */
.top2 {
    margin-bottom: 80px;
    padding-top: 40px; 
}

.tenant-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 物件間の隙間を少し狭く */
}

.tenant-box {
    background-color: #fbf9ee; 
    border: 2px solid #e2ddd3; 
    border-radius: 12px;
    padding: 25px 30px; /* 内側の余白も少し削ってコンパクトに */
    box-sizing: border-box;
}

/* --- PC時の横並びレイアウト --- */
.tenant-content {
    display: flex;
    flex-direction: row; 
    gap: 30px;
    align-items: center; /* 画像とテキストを上下中央で揃える */
}

/* --- 左側の画像エリア (タイル型配置で高さを抑える) --- */
.tenant-images {
    width: 40%; /* 幅を少し狭くしてテキストエリアを広く確保 */
    display: grid;
    grid-template-columns: 2fr 1fr; /* 左を広く、右を狭く */
    grid-template-rows: 1fr 1fr; /* 上下均等 */
    gap: 8px;
    flex-shrink: 0;
}

/* 1枚目の画像を左側に大きくぶち抜きで表示 */
.tenant-images img:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3; /* この比率が全体の高さを決定づけます */
    object-fit: cover;
    border-radius: 4px;
}

/* 2枚目・3枚目は右側に小さく縦並び */
.tenant-images img:nth-child(n+2) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* --- 右側の情報エリア --- */
.tenant-info {
    width: 60%;
}

.tenant-info-text h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #ccc; 
    color: #333;
}

.tenant-info-text p {
    font-size: 0.95rem;
    margin-bottom: 6px;
    line-height: 1.5;
    color: #333;
    padding-left: 1.2em; /* 「◇」だけ前に出すインデント処理 */
    text-indent: -1.2em;
}

.tenant-map-link {
    margin-bottom: 10px !important;
    font-size: 0.9rem !important;
    text-indent: 0 !important;
    padding-left: 0 !important;
}

.tenant-map-link a {
    color: #0056b3;
    text-decoration: underline;
    word-break: break-all;
}

.tenant-map-link a:hover {
    text-decoration: none;
}

/* =======================================================
   レスポンシブ対応 (テナント募集スマホ用)
   ======================================================= */
@media screen and (max-width: 860px) {
    .top2 {
        margin-bottom: 60px;
        padding-top: 30px;
    }

    .section-title span {
        display: block;
        margin-left: 0 !important;
        margin-top: 10px;
        font-size: 0.9rem !important;
    }

    .tenant-box {
        padding: 15px;
    }

    /* スマホ時は画像を上に、テキストを下に */
    .tenant-content {
        flex-direction: column;
        gap: 15px;
    }

    .tenant-images {
        width: 100%; /* スマホ時もタイル型のカッコいい配置を維持します */
    }

    .tenant-info {
        width: 100%;
    }
}

/* =======================================================
   テナント募集 (top2) - 超コンパクト＆ミニマルデザイン (枠線あり版)
   ======================================================= */
.top2 {
    margin-bottom: 100px;
    padding-top: 60px; 
}

.tenant-list {
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.tenant-box {
    background-color: #fff;
    border: 1px solid #e0e0e0; /* ★ここを none からグレーの枠線に変更して境界をはっきりさせました */
    border-radius: 12px;
    padding: 25px 35px; 
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* 枠線がある分、影は少し上品に抑える */
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.tenant-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #d0d0d0; /* ホバー時は少し枠線を濃く */
}

/* --- PC時の横並びレイアウト --- */
.tenant-content {
    display: flex;
    flex-direction: row; 
    gap: 35px; 
    align-items: center; 
}

/* --- 左側の画像エリア --- */
.tenant-images {
    width: 38%; 
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px; 
    flex-shrink: 0;
}

.tenant-images img {
    border-radius: 6px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.tenant-box:hover .tenant-images img {
    filter: brightness(0.95);
}

.tenant-images img:hover {
    transform: scale(1.02);
    filter: brightness(1) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1;
}

.tenant-images img:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    aspect-ratio: 3/2; 
    object-fit: cover;
}

.tenant-images img:nth-child(n+2) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 右側の情報エリア --- */
.tenant-info {
    width: 62%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tenant-map-link {
    text-align: right;
    margin-bottom: 12px !important; 
    text-indent: 0 !important;
    padding-left: 0 !important;
}

.tenant-map-link a {
    color: #888;
    font-size: 0.8rem !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.tenant-map-link a::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.tenant-map-link a:hover {
    color: #6b2c46; 
}
.tenant-map-link a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b2c46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

/* --- テーブルスタイル --- */
.tenant-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.tenant-table tr {
    background-color: transparent !important; 
    border-bottom: 1px dotted #e5e5e5; 
}

.tenant-table tr:last-child {
    border-bottom: none;
}

.tenant-table tr:hover {
    background-color: transparent !important; 
}

.tenant-table th {
    width: 30%; 
    padding: 10px 0 10px 10px; 
    color: #999; 
    font-size: 0.85rem;
    font-weight: normal; 
    text-align: left;
    vertical-align: middle;
    letter-spacing: 0.05em;
}

.tenant-table td {
    padding: 10px 10px 10px 0; 
    color: #222; 
    font-size: 0.95rem;
    line-height: 1.5;
    vertical-align: middle;
    font-weight: 500; 
}

/* 物件名のスタイリング */
.tenant-table tr:first-child {
    border-bottom: none; 
}

.tenant-table tr:first-child th {
    display: none; 
}

.tenant-name-td {
    font-size: 1.1rem !important; 
    font-weight: bold;
    color: #111 !important;
    padding: 0 0 12px 0 !important; 
    letter-spacing: 0.02em; 
    position: relative;
    white-space: nowrap; 
}

.tenant-name-td::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px; 
    height: 3px;
    background-color: #6b2c46; 
}

/* --- 備考欄（テキストエリア） --- */
.tenant-note-box {
    margin-top: 15px; /* テーブルとの隙間 */
    padding: 12px 15px;
    background-color: #f5f5f5; /* 非常に薄いグレー背景 */
    border-radius: 6px;
    font-size: 0.85rem;
    color: #666; /* 本文より少し薄い色で控えめに */
    line-height: 1.6;
    border-left: 3px solid #e0e0e0; /* 左側に薄いグレーのアクセントライン */
}

/* =======================================================
   レスポンシブ対応 (テナント募集スマホ用)
   ======================================================= */
@media screen and (max-width: 860px) {
    .top2 {
        margin-bottom: 60px;
        padding-top: 40px;
    }

    .section-title span {
        display: block;
        margin-left: 0 !important;
        margin-top: 10px;
        font-size: 0.85rem !important;
    }

    .tenant-list {
        gap: 25px;
    }

    .tenant-box {
        padding: 20px 15px;
    }

    .tenant-content {
        flex-direction: column;
        gap: 20px;
    }

    .tenant-images, .tenant-info {
        width: 100%;
    }

    .tenant-map-link {
        margin-bottom: 10px !important;
    }

    .tenant-table th {
        padding: 8px 0 8px 5px;
        font-size: 0.8rem;
        width: 35%;
    }
    
    .tenant-table td {
        padding: 8px 5px 8px 0;
        font-size: 0.9rem;
    }

    .tenant-name-td {
        font-size: 1.1rem !important;
        padding: 0 0 10px 0 !important;
        white-space: normal !important; 
    }
}


/* =======================================================
   お知らせ (top3)
   ======================================================= */
.top3 {
    margin-bottom: 100px;
    padding: 60px 0;
    background-color: #f5f5f5; /* 落ち着いたグレー背景 */
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.news-list {
    border-top: 1px dotted #ccc;
    margin-bottom: 40px;
}

.news-item {
    border-bottom: 1px dotted #ccc;
}

.news-item a {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.news-item a:hover {
    background-color: rgba(0,0,0,0.03); /* ホバー時に少し背景を暗く */
}

.news-item a:hover .news-title {
    text-decoration: underline; /* ホバー時にタイトルにアンダーライン */
}

.news-date {
    width: 120px;
    font-size: 1rem;
    color: #666;
    flex-shrink: 0;
}

.news-title {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0; /* main.cssのpマージン干渉を防ぐ */
}

.news-empty {
    padding: 20px 10px;
    text-align: center;
    color: #666;
}

.news-btn-wrap {
    text-align: center;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 50px;
    border: 1px solid #bbb; /* 少し薄めのボーダー */
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    background-color: transparent;
    transition: opacity 0.3s, background-color 0.3s;
}

.btn-more:hover {
    opacity: 0.7;
    background-color: #eee;
}

.btn-more::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
    margin-left: 15px;
}


/* =======================================================
   貸会議室のご案内 (top4)
   ======================================================= */
.top4 {
    margin-bottom: 100px;
}

.rental-room-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.rental-room-image {
    width: 55%;
}

.rental-room-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rental-room-text {
    width: 45%;
}

.section-title-left {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.rental-room-text p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 30px;
}


/* =======================================================
   レスポンシブ対応 (メディアクエリ)
   ======================================================= */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
    header.pc .inner {
        padding: 15px 20px;
    }
    
    header.pc #gNav {
        gap: 15px;
    }
    
    header.pc #gNav li.parent > a {
        font-size: 0.9rem;
    }

    .main-visual .main-text {
        font-size: 2.5rem;
        bottom: 10%;
        right: 5%;
    }

    .top1-inner {
        flex-direction: column;
        gap: 40px;
    }

    .top1-text {
        width: 100%;
        margin-bottom: 20px;
    }

    .top1-image {
        width: 70%;
        margin: 0 auto;
    }

    .tenant-content {
        flex-direction: column;
        gap: 30px;
    }

    .tenant-images,
    .tenant-info {
        width: 100%;
    }

    .rental-room-inner {
        flex-direction: column;
        gap: 30px;
    }

    .rental-room-image,
    .rental-room-text {
        width: 100%;
    }
}

/* スマートフォンサイズ (860px以下) ※既存のブレイクポイントに合わせる */
@media screen and (max-width: 860px) {
    .main-visual .main-text {
        font-size: 1.8rem;
        bottom: 5%;
        right: 5%;
        text-shadow: 0 1px 5px rgba(255,255,255,0.8); /* スマホ用の白シャドウ */
    }

    .top1 {
        margin-bottom: 70px;
        padding-top: 40px;
    }

    .top1-text .catch-phrase {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .top1-text .marker-text {
        font-size: 1rem;
        line-height: 2;
    }
    
    /* スマホ時は改行タグを無効にして自然に折り返させる */
    .top1-text br.pc_on {
        display: none;
    }

    .top2 {
        margin-bottom: 70px;
    }

    .tenant-box {
        padding: 20px;
    }

    .tenant-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .tenant-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .tenant-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .tenant-btn a {
        width: 80%; /* スマホ時はボタンを広めに取る */
    }

    /* お知らせスマホ用調整 */
    .top3 {
        margin-bottom: 70px;
        padding: 40px 0;
    }

    .news-item a {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 5px;
    }

    .news-date {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .news-title {
        font-size: 0.95rem;
    }

    /* 貸会議室スマホ用調整 */
    .top4 {
        margin-bottom: 70px;
    }

    .section-title-left {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .btn-left {
        text-align: center;
    }

    .btn-left .btn-more {
        width: 80%;
    }
}


/* =======================================================
   フッター (footer)
   ======================================================= */
.site-footer {
    position: relative;
    background-image: url(../images/bg-footer.jpg); /* 背景画像 */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 30px 0 20px;
    color: #333;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    padding: 0 40px;
}

.footer-left {
    width: 45%;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .company-name {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.footer-logo .slogan {
    font-size: 0.8rem;
    margin-top: 3px;
}

.footer-info p {
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-info .label {
    display: inline-block;
    width: 3.5em; /* TELとFAXの縦位置を揃える */
}

.footer-center {
    width: 30%;
    padding-top: 90px; /* 左側の情報と縦位置を調整 */
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-right {
    width: 25%;
    /* 右側のイラストスペース確保用 */
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 15px;
}

.footer p {
    margin-bottom: 10px;
}

/* =======================================================
   レスポンシブ対応 (メディアクエリ) フッター用追加
   ======================================================= */
@media screen and (max-width: 1024px) {
    .footer-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
    }

    .footer-center {
        padding-top: 0;
    }
    
    .copyright {
        margin-top: 60px;
    }
}

/* =======================================================
   組合について (about) - 新デザイン（トップページテイスト）対応
   ======================================================= */
.abo-section {
    padding-top: 0;
    margin-bottom: 100px;
}

/* --- 見出し（トップページのセクションタイトル風に中央揃え） --- */
.abo-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.abo-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.abo-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* --- 日付 --- */
.abo-date {
    text-align: right;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px; /* main.cssの余白を調整 */
}

/* --- テーブルの外枠（新デザインの角丸要素を取り入れる） --- */
.abo-table-wrap {
    border: 1px solid #ddd;
    border-radius: 8px; /* 角を少し丸くしてモダンに */
    overflow: hidden;   /* 角丸をはみ出さないように */
    background-color: #fff;
    margin-bottom: 0;
}

.abo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0; /* main.cssの余白相殺 */
}

.abo-table th,
.abo-table td {
    padding: 25px 30px; /* 余白をゆったり取るのが新デザインの特徴 */
    border-bottom: 1px solid #ddd;
    line-height: 1.8;
}

/* 最後の行の下線を消す */
.abo-table tr:last-child th,
.abo-table tr:last-child td {
    border-bottom: none;
}

.abo-table th {
    width: 25%;
    background-color: #f5f5f5; /* ほんのり色をつけて区分け */
    text-align: left;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.05em;
    white-space: nowrap; /* 項目名が改行されないように */
    vertical-align: middle;
}

.abo-table td {
    width: 75%;
    color: #333;
}

/* --- リスト装飾 --- */
.abo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.abo-list li {
    position: relative;
    padding-left: 1em;
}

.abo-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .abo-section {
        padding-top: 50px;
        margin-bottom: 70px;
    }

    .abo-title {
        font-size: 1.5rem;
    }

    .abo-table-wrap {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* スマホ時はテーブルを縦積みに */
    .abo-table th,
    .abo-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }

    .abo-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: transparent;
        font-size: 0.95rem;
        color: #666;
    }

    .abo-table td {
        padding-top: 0;
        margin-bottom: 15px; /* 次の項目との隙間 */
        border-bottom: 1px solid #eee; /* スマホ時のみ区切り線をtdの下に */
    }

    /* 最後の行の調整 */
    .abo-table tr:last-child td {
        margin-bottom: 0;
        border-bottom: none;
    }

    .abo-list {
        flex-direction: column;
        gap: 5px;
    }
}

/* =======================================================
   貸会議室 (room)
   ======================================================= */
.roo-section {
    padding-top: 0;
    margin-bottom: 100px;
}

/* --- タイトル（トップページ風） --- */
.roo-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.roo-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.roo-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* --- コンテンツブロック --- */
.roo-block {
    margin-bottom: 60px;
}

.roo-heading {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #f5f5f5; /* モダンで控えめな下線 */
    padding-bottom: 12px;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.roo-text {
    line-height: 1.8;
    color: #333;
}

.roo-subheading {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    margin-top: 40px;
}

/* --- 備品リスト（2カラムグリッド） --- */
.roo-equip-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.roo-equip-list li {
    position: relative;
    padding-left: 1.5em;
    line-height: 1.6;
    color: #333;
}

.roo-equip-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.7rem;
    color: #888; /* 目立ちすぎないグレー */
}

.roo-small {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* --- 営業時間ボックス --- */
.roo-time-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.roo-time-box strong {
    display: inline-block;
    width: 9em;
    font-weight: normal;
    color: #333;
}

.roo-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

/* --- テーブル（料金・駐車制限） --- */
.roo-table-area {
    margin-top: 40px;
}

.roo-table-box {
    max-width: 450px; /* 広がりすぎないように制限 */
    margin: 0 auto 40px;
}

.roo-table-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.roo-table-wrap {
    border: 1px solid #ddd;
    border-radius: 8px; /* 新デザインに合わせた角丸 */
    overflow: hidden;
    background-color: #fff;
}

.roo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0; /* main.cssの余白相殺 */
}

.roo-table th,
.roo-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    line-height: 1.6;
    text-align: center; /* 元画像に合わせて中央揃え */
}

.roo-table tr:last-child th,
.roo-table tr:last-child td {
    border-bottom: none;
}

.roo-table th {
    width: 45%;
    background-color: #f5f5f5;
    font-weight: normal;
    color: #333;
    font-size: 90%;
}

.roo-table td {
    width: 55%;
    color: #333;
    vertical-align: middle;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .roo-section {
        padding-top: 50px;
        margin-bottom: 70px;
    }

    .roo-title {
        font-size: 1.5rem;
    }

    .roo-heading {
        font-size: 1.2rem;
    }

    /* 備品リストを1カラムに */
    .roo-equip-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 営業時間ラベルの幅リセット */
    .roo-time-box strong {
        display: block;
        width: auto;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .roo-table-box {
        max-width: 100%;
    }

    /* スマホ時はテーブルの角丸を解除して画面幅いっぱいにする */
    .roo-table-wrap {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .roo-table th,
    .roo-table td {
        padding: 15px 10px;
    }
}

/* =======================================================
   仮設機材リース (lease)
   ======================================================= */
.lea-section {
    padding-top: 0;
    margin-bottom: 100px;
}

/* --- タイトル --- */
.lea-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.lea-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.lea-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* --- コンテンツブロックと見出し --- */
.lea-block {
    margin-bottom: 60px;
}

.lea-heading {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 12px;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.lea-text {
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px; /* main.cssの相殺防止兼ねる */
}

.lea-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
}

.mt-30 {
    margin-top: 30px;
}

/* --- ギャラリー --- */
.lea-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.lea-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* 新デザインの角丸 */
    object-fit: cover;
    aspect-ratio: 4/3; /* 画像の比率を揃える */
}

/* --- テーブル（角丸枠付き） --- */
.lea-table-wrap {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 0;
}

.lea-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.lea-table th,
.lea-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #ddd;
    line-height: 1.8;
}

.lea-table tr:last-child th,
.lea-table tr:last-child td {
    border-bottom: none;
}

.lea-table th {
    width: 20%;
    background-color: #f5f5f5;
    text-align: center;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.lea-table td {
    width: 80%;
    color: #333;
}

/* --- ダウンロードボックス --- */
.lea-dl-box {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
}

.lea-dl-box.no-img {
    padding: 25px 30px;
}

.lea-dl-img {
    width: 120px;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lea-dl-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.lea-alert {
    color: #d9534f;
    font-size: 0.9rem;
}

.lea-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ダウンロードボタン */
.lea-dl-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px; /* 楕円形のモダンなボタン */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: opacity 0.3s, transform 0.2s;
    line-height: 1;
}

.lea-dl-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    text-decoration: none;
}

.lea-dl-btn .icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.lea-dl-btn.pdf {
    background-color: #fff;
    color: #d9534f;
    border: 1px solid #d9534f;
}

.lea-dl-btn.excel {
    background-color: #fff;
    color: #28a745;
    border: 1px solid #28a745;
}

/* --- マップ画像 --- */
.lea-map-wrap {
    text-align: center;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

.lea-map-img {
    max-width: 100%;
    height: auto;
}

/* --- お問い合わせボックス --- */
.lea-contact-box {
    background-color: #f9f9f9;
    border-left: 5px solid #6b2c46; /* テーマカラーのアクセント */
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
}

.lea-contact-box p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.lea-contact-box p:last-child {
    margin-bottom: 0;
}

.lea-contact-box strong {
    font-size: 1.1rem;
}

.lea-contact-link a {
    color: #0056b3;
    text-decoration: underline;
}

.lea-contact-link a:hover {
    text-decoration: none;
}

/* --- 事業所一覧（モダンリスト型UI） --- */
.lea-office-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* リスト間の余白 */
}

.lea-office-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px; /* 新デザインに合わせた角丸 */
    padding: 25px 30px;
    transition: box-shadow 0.3s ease;
}

/* マウスオーバー時に軽く影をつけてクリックできることを示唆 */
.lea-office-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.lea-office-info {
    flex-grow: 1;
}

.lea-office-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    border-left: 4px solid #6b2c46; /* 左側にテーマカラーのアクセントライン */
    padding-left: 12px;
    line-height: 1.2;
}

.lea-office-address {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    padding-left: 16px; /* 見出しに合わせたインデント */
}

.lea-office-action {
    margin-left: 30px;
    flex-shrink: 0;
}

/* アクセスボタン（白抜きのモダンスタイル） */
.lea-btn-outline {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #333;
    border-radius: 30px; /* 楕円形ボタン */
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all 0.3s;
}

.lea-btn-outline:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}


/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .lea-section {
        padding-top: 50px;
        margin-bottom: 70px;
    }

    .lea-title {
        font-size: 1.5rem;
    }

    /* ギャラリーを2列に */
    .lea-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* テーブルを縦積みに */
    .lea-table-wrap {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .lea-table th,
    .lea-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px 20px;
    }

    .lea-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: transparent;
    }

    .lea-table td {
        padding-top: 0;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .lea-table tr:last-child td {
        margin-bottom: 0;
        border-bottom: none;
    }

    /* ダウンロードボックスの調整 */
    .lea-dl-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .lea-dl-box.no-img {
        padding: 20px;
    }

    .lea-dl-img {
        width: 100px;
    }
    
    .lea-btn-group {
        flex-direction: column;
    }

    .lea-dl-btn {
        width: 100%;
        justify-content: center;
    }

    .lea-contact-box {
        padding: 20px;
    }

    /* --- 事業所一覧（スマホ時は縦積みに） --- */
    .lea-office-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .lea-office-action {
        margin-left: 0;
        width: 100%; /* ボタンエリアを横幅いっぱいに */
    }

    .lea-btn-outline {
        display: block;
        text-align: center;
    }

}

/* =======================================================
   共同金融 (finance) - モダンフローティングデザイン版
   ======================================================= */
.fin-section {
    padding-top: 0;
    margin-bottom: 100px;
}

/* --- タイトル・リード文 --- */
.fin-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}
.fin-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.fin-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.1em;
    font-family: "Playfair Display", serif;
}

.fin-lead-wrap {
    text-align: center;
    margin-bottom: 70px;
}
.fin-lead {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    padding: 15px 40px;
    background: linear-gradient(to right, #fbf9ee, #f5f5f5); /* 淡いグラデーション */
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* --- コンテンツブロックと見出し --- */
.fin-block {
    margin-bottom: 80px;
}

.fin-heading-modern {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.fin-heading-modern::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #6b2c46; /* テーマカラーのアクセントライン */
    margin-top: 15px;
}
.fin-heading-modern span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.fin-text-center {
    text-align: center;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* --- フローティング・テーブル（浮遊する行） --- */
.fin-table-wrap {
    margin-bottom: 30px;
    overflow-x: auto; /* スマホ対策 */
}

.fin-table-modern {
    width: 100%;
    /* 隙間をあけるための設定 */
    border-collapse: separate;
    border-spacing: 0 15px; 
}

.fin-table-modern thead th {
    padding: 10px 25px;
    color: #888;
    font-size: 0.9rem;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #eee;
}

.fin-table-modern tbody tr {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 行に影をつける */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fin-table-modern tbody tr:hover {
    transform: translateY(-3px); /* マウスホバーで少し浮き上がる */
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.fin-table-modern td {
    padding: 25px 20px;
    vertical-align: top;
    line-height: 1.6;
    color: #333;
}

/* 各行の左端と右端を角丸にする */
.fin-table-modern tbody td:first-child {
    border-radius: 8px 0 0 8px;
    border-left: 5px solid #6b2c46; /* 左端にアクセントカラー */
}
.fin-table-modern tbody td:last-child {
    border-radius: 0 8px 8px 0;
}

.fin-td-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
}

.fin-small {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-top: 5px;
    font-weight: normal;
}

/* 書類リスト */
.fin-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fin-doc-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 5px;
    font-size: 0.95rem;
}
.fin-doc-list li::before {
    content: "📄"; /* アイコンで視覚的に */
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 2px;
}

/* --- 取引銀行 --- */
.fin-bank-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
.fin-bank-label {
    background-color: #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}
.fin-bank-text {
    font-weight: bold;
    color: #333;
}

/* --- メリットのグリッドパネル --- */
.fin-merit-panels {
    background-color: #fbf9ee;
    padding: 40px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 900px;
}

.fin-merit-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #6b2c46;
    margin-bottom: 30px;
}

.fin-merit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.fin-merit-item {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 45px;
    font-weight: bold;
    line-height: 1.5;
    color: #333;
}

.fin-merit-item::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 20px;
    color: #fff;
    background-color: #6b2c46;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

/* --- リンクボタン --- */
.fin-link-box {
    text-align: center;
}
.fin-link-box p {
    margin-bottom: 15px;
}
.fin-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #333;
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.fin-btn-outline:hover {
    background-color: #333;
    color: #fff;
}

/* --- お問い合わせ（CTAバナー） --- */
.fin-contact-banner {
    background-image: linear-gradient(135deg, #6b2c46, #4a1f30); /* 組合のテーマカラー風グラデーション */
    border-radius: 12px;
    padding: 50px 30px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(107, 44, 70, 0.2);
}

.fin-contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.fin-contact-address {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.fin-contact-telbox {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 1.2rem;
}
.fin-contact-telbox span {
    font-size: 1.8rem;
    font-weight: bold;
}

.fin-btn-white {
    display: inline-block;
    background-color: #fff;
    color: #6b2c46;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.fin-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .fin-section { padding-top: 50px; margin-bottom: 70px; }
    .fin-title { font-size: 1.5rem; }
    .fin-lead { font-size: 1rem; padding: 15px; }

    /* テーブルをスマホ向けに完全な縦型カードへ */
    .fin-table-modern thead { display: none; }
    .fin-table-modern tbody tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 8px;
        border-left: 5px solid #6b2c46;
    }
    .fin-table-modern td {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .fin-table-modern tbody td:first-child,
    .fin-table-modern tbody td:last-child {
        border-radius: 0;
        border-left: none;
    }

    /* 各セルの役割を見出しとして表示 */
    .fin-table-modern td:nth-child(2)::before { content: "【貸出金額】"; font-weight: bold; color: #888; display: block; margin-bottom: 5px; font-size: 0.85rem;}
    .fin-table-modern td:nth-child(3)::before { content: "【貸出期間】"; font-weight: bold; color: #888; display: block; margin-bottom: 5px; font-size: 0.85rem;}
    .fin-table-modern td:nth-child(4)::before { content: "【必要書類】"; font-weight: bold; color: #888; display: block; margin-bottom: 5px; font-size: 0.85rem;}

    .fin-bank-box { flex-direction: column; gap: 10px; }

    /* メリットパネル */
    .fin-merit-panels { padding: 20px; }
    .fin-merit-grid { grid-template-columns: 1fr; }

    /* CTAバナー */
    .fin-contact-telbox { flex-direction: column; gap: 10px; }
    .fin-btn-white { width: 100%; box-sizing: border-box; }
}

/* =======================================================
   共同購買 (purchase) 専用追加スタイル
   ======================================================= */
/* --- 購買用メリットグリッド（3列表示） --- */
.pur-merit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* --- 購買用お問い合わせバナー（金融と区別するためブルー系に） --- */
.pur-contact-banner {
    background-image: linear-gradient(135deg, #2c4a6b, #1f304a); 
    border-radius: 12px;
    padding: 50px 30px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(44, 74, 107, 0.2);
}
.pur-btn-white {
    display: inline-block;
    background-color: #fff;
    color: #2c4a6b;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pur-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    /* 3列グリッドを縦積みに */
    .pur-merit-grid {
        grid-template-columns: 1fr;
    }
    
    /* 購買テーブルのスマホ向けカード化 */
    .pur-table-modern thead { display: none; }
    .pur-table-modern tbody tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 8px;
        border-left: 5px solid #2c4a6b; /* こちらもブルーのアクセント */
    }
    .pur-table-modern td {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .pur-table-modern tbody td:first-child,
    .pur-table-modern tbody td:last-child {
        border-radius: 0;
        border-left: none;
    }
    /* 購買の表は2列なので、スマホ時の見出し補完を調整 */
    .pur-table-modern td:nth-child(2)::before {
        content: "【主な品目】";
        font-weight: bold; 
        color: #888; 
        display: block; 
        margin-bottom: 5px; 
        font-size: 0.85rem;
    }
}

/* =======================================================
   ページ内リンクボタン (金融・購買)
   ======================================================= */
.fin-nav-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.fin-nav-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #6b2c46; /* 金融のテーマカラー */
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fin-nav-btn.pur-color {
    background-color: #2c4a6b; /* 購買のテーマカラー */
}

.fin-nav-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    text-decoration: none;
}

/* ページ内ジャンプのズレ防止（固定ヘッダーがある場合を考慮） */
.fin-anchor {
    scroll-margin-top: 100px; 
}

/* スムーススクロール（全体のHTMLに適用） */
html {
    scroll-behavior: smooth;
}

@media screen and (max-width: 860px) {
    .fin-nav-btns {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    .fin-nav-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* =======================================================
   アクセス (access)
   ======================================================= */
.acc-section {
    padding-top: 80px;
    margin-bottom: 100px;
}

/* --- タイトル --- */
.acc-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}
.acc-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.acc-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.1em;
    font-family: "Playfair Display", serif;
}

/* --- ページ内リンクボタン --- */
.acc-nav-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}
.acc-nav-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #fff;
    color: #333 !important;
    border: 2px solid #f5f5f5;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.acc-nav-btn:hover {
    background-color: #6b2c46; /* テーマカラー */
    color: #fff !important;
    border-color: #6b2c46;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(107, 44, 70, 0.2);
}

.acc-anchor {
    scroll-margin-top: 120px; 
}

/* --- コンテンツブロックと見出し --- */
.acc-block {
    margin-bottom: 80px;
}
.acc-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.acc-heading::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #6b2c46;
    margin-top: 15px;
}

/* --- 情報カード --- */
.acc-card {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* 情報テキストと画像（上部） */
.acc-info-row {
    display: flex;
    padding: 40px;
    gap: 40px;
    align-items: center;
}
.acc-info-text {
    width: 55%;
}
.acc-info-img {
    width: 45%;
}
.acc-info-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.acc-address {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}
.acc-sub-address {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.acc-telbox {
    margin-bottom: 30px;
    background-color: #fbf9ee; /* 薄いイエロー */
    padding: 15px 25px;
    border-radius: 8px;
}
.acc-telbox p {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}
.acc-telbox p:last-child {
    margin-bottom: 0;
}
.acc-telbox span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6b2c46; /* テーマカラー */
    letter-spacing: 0.05em;
    margin: 0 5px;
}

/* ボタン */
.acc-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #333;
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.acc-btn-outline:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

/* --- Google Map --- */
.acc-map-wrap {
    border-top: 1px solid #f5f5f5;
}
.acc-map-wrap iframe {
    display: block;
}

/* --- 駐車場情報 (本部のみ) --- */
.acc-parking-area {
    background-color: #fafafa;
    border-top: 1px solid #f5f5f5;
    padding: 40px;
}

.acc-parking-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.acc-parking-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.acc-parking-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.acc-parking-lead {
    text-align: center;
    margin-bottom: 40px;
}
.acc-highlight {
    font-weight: bold;
    color: #6b2c46;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.acc-note {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}
.mb-20 {
    margin-bottom: 20px !important;
}

/* 駐車場テーブル・グリッド */
.acc-parking-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* 左を少し広めに */
    gap: 30px;
}
.acc-parking-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f5f5f5;
}
.acc-parking-h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #6b2c46;
    padding-left: 10px;
}
.acc-parking-time {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

/* 駐車場用テーブル（角丸枠） */
.acc-table-wrap {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.acc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.acc-table th,
.acc-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    line-height: 1.5;
}
.acc-table tr:last-child th,
.acc-table tr:last-child td {
    border-bottom: none;
}
.acc-table th {
    background-color: #f5f5f5; /* ★背景色を少し濃いグレーにして違いをはっきり出す */
    font-weight: bold; /* ★文字も太くしてメリハリをつける */
    width: 50%;
    color: #333;
    font-size: 95%;
}

.acc-table td {
    background-color: #ffffff; /* ★右側は真っ白を明示する */
    vertical-align: middle;
}
.acc-table th span {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-top: 4px;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .acc-section { padding-top: 50px; margin-bottom: 70px; }
    .acc-title { font-size: 1.5rem; }

    .acc-nav-btns {
        flex-direction: column;
        gap: 10px;
    }
    .acc-nav-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .acc-info-row {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }
    .acc-info-text,
    .acc-info-img {
        width: 100%;
    }
    .acc-info-img {
        order: -1; /* スマホ時は写真を上に配置 */
    }

    .acc-telbox span {
        font-size: 1.3rem;
    }
    
    .acc-btn-outline {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .acc-map-wrap iframe {
        height: 300px;
    }

    /* 駐車場エリアのスマホ対応 */
    .acc-parking-area {
        padding: 25px;
    }
    .acc-parking-gallery {
        grid-template-columns: 1fr; /* 写真を縦積みに */
        gap: 10px;
    }
    .acc-parking-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================================
   ヘッダーのスクロール追従化 (固定ヘッダー)
   ======================================================= */
header.pc,
header.res {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff; /* 背面が透けないように白背景を指定 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* スクロール時に境界がわかるよう薄い影を追加 */
}

/* WordPressの管理バー（黒い帯）が表示されている場合のズレ防止 */
.admin-bar header.pc,
.admin-bar header.res {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar header.pc,
    .admin-bar header.res {
        top: 46px;
    }
}

/* ヘッダーが浮いた分、コンテンツが裏に隠れないように全体を下へずらす */
/* ※ロゴの大きさによってヘッダーの高さが変わるため、重なる場合はここの数値を大きくしてください */
.main-contents {
    padding-top: 60px; 
}

/* =======================================================
   よくある質問 (Q&A) - アコーディオンデザイン
   ======================================================= */
.faq-section {
    padding-top: 80px;
    margin-bottom: 100px;
}

/* --- タイトル --- */
.faq-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}
.faq-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.faq-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.05em;
    font-family: "Playfair Display", serif;
}

/* --- アコーディオン全体 --- */
.faq-accordion-wrap {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px; /* 項目同士の隙間 */
}

.faq-item {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

/* --- 質問 (Q) 部分 --- */
.faq-q {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの三角形を消す */
    background-color: #fff;
    transition: background-color 0.2s;
}
/* Safari向けのデフォルト三角形消去 */
.faq-q::-webkit-details-marker {
    display: none; 
}
.faq-q:hover {
    background-color: #fafafa;
}

.faq-icon-q {
    color: #6b2c46; /* テーマカラー */
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
    font-family: "Arial", sans-serif;
}

.faq-q-text {
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    padding-right: 20px;
}

/* 開閉の「＋」「－」アイコン */
.faq-toggle-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #6b2c46;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-toggle-icon::before {
    top: 7px; left: 0; width: 16px; height: 2px;
}
.faq-toggle-icon::after {
    top: 0; left: 7px; width: 2px; height: 16px;
}

/* detailsが開いた状態の時の「－」への変化 */
.faq-item[open] .faq-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-item[open] .faq-q {
    border-bottom: 1px dashed #f5f5f5; /* 開いた時にQとAの間に線を引く */
}

/* --- 回答 (A) 部分 --- */
.faq-a {
    padding: 25px;
    /* 開くときのアニメーション */
    animation: fadeDown 0.4s ease-in-out; 
}

@keyframes fadeDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.faq-a-inner {
    display: flex;
    align-items: flex-start;
    background-color: #fbf9ee; /* テナント募集などで使っている淡い色 */
    padding: 20px;
    border-radius: 8px;
}

.faq-icon-a {
    color: #bfa35a; /* ゴールド系で品良く */
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
    font-family: "Arial", sans-serif;
    line-height: 1;
}

.faq-content {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
    width: 100%;
}
.faq-content p {
    margin-bottom: 1em;
}
.faq-content p:last-child {
    margin-bottom: 0;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .faq-section {
        padding-top: 50px;
        margin-bottom: 70px;
    }
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-q {
        padding: 15px 20px;
    }
    .faq-q-text {
        font-size: 1rem;
    }
    
    .faq-a {
        padding: 20px;
    }
    .faq-a-inner {
        flex-direction: column; /* スマホではAアイコンとテキストを縦積みに */
        gap: 10px;
    }
    .faq-icon-a {
        margin-right: 0;
    }
}

/* =======================================================
   お問い合わせフォーム (Contact Form 7)
   ======================================================= */
/* フォーム全体を囲む枠 */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px 60px;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* ラベル（項目名）の装飾 */
.wpcf7 label {
    display: block;
    font-weight: bold;
    margin-bottom: 25px; /* 各項目の間隔をゆったりとる */
    font-size: 1.05rem;
    color: #333;
}

/* 必須の文字を赤くするなどのアクセント（任意） */
.wpcf7 label span.wpcf7-required {
    color: #d9534f;
    font-size: 0.85rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* 入力欄（テキスト、メール、電話、ドロップダウン、テキストエリア） */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 15px;
    margin-top: 10px; /* 項目名と入力欄の隙間 */
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
}

/* 入力中に枠線に色をつける */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #6b2c46; /* テーマカラー */
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(107, 44, 70, 0.2);
}

.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

/* エラーメッセージ等 */
.wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #d9534f;
    margin-top: 5px;
}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #d9534f;
    color: #d9534f;
    border-radius: 6px;
}

/* --- 送信ボタン --- */
.wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background-color: #6b2c46; /* テーマカラー */
    color: #fff;
    border: none;
    border-radius: 30px; /* 楕円形ボタン */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    -webkit-appearance: none; /* スマホ特有のボタン装飾をリセット */
}

.wpcf7 input[type="submit"]:hover {
    background-color: #4a1f30;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {

.copyright {
    margin-top: 0;
}

.footer-center {
    display: none;
}

    .wpcf7 {
        padding: 30px 20px;
    }
    
    .wpcf7 label {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .wpcf7 input[type="submit"] {
        max-width: 100%; /* スマホ時はボタンを横幅いっぱいに */
    }
}

/* =======================================================
   スマホヘッダー ＆ ハンバーガーメニュー調整
   ======================================================= */
@media screen and (max-width: 860px) {

.main-contents {
    padding-top: 60px; 
}
    /* --- 1. ヘッダーの土台 --- */
    header.res {
        display: block;
        height: 60px;
        background-color: #fff;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    header.res .inner {
        padding: 0 15px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    header.res .h01 img.logo {
        height: 35px; /* ヘッダー内に収まるサイズに調整 */
        width: auto;
    }

    /* --- 2. ハンバーガーボタン --- */
    .humburger {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1002; /* メニュー本体より上に */
    }

    .humburger_wrapper {
        position: relative;
        width: 25px;
        height: 18px;
    }

    .humburger_bar {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .humburger_bar.top { top: 0; }
    .humburger_bar.middle { top: 50%; transform: translateY(-50%); }
    .humburger_bar.bottom { bottom: 0; }

    /* JSで「active」クラスが付いた時にバツ印にする */
    .humburger.active .top {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .humburger.active .middle {
        opacity: 0;
    }
    .humburger.active .bottom {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* --- 3. 展開されるメニュー本体 --- */
    .globalMenuSp {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.97); /* 背面が少し透ける白 */
        z-index: 1001; /* ヘッダー(1000)とボタン(1002)の間 */
        padding-top: 80px; /* 上部のスペース */
        box-sizing: border-box;
        overflow-y: auto;
        
        /* 初期状態は非表示（JSのクリックイベントで表示させる） */
        display: none; 
    }

    /* もしJSが .active クラスで表示切替をしている場合のための保険 */
    .globalMenuSp.active {
        display: block;
    }

    .globalMenuSp ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .globalMenuSp ul li {
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .globalMenuSp ul li:first-child {
        border-top: 1px solid #eee;
    }

    .globalMenuSp ul li a {
        display: block;
        padding: 20px;
        color: #333;
        font-size: 1.1rem;
        font-weight: bold;
        text-decoration: none;
        letter-spacing: 0.1em;
    }

    /* 今回はボタン自体が×印に変わる仕様にしたため、既存のバツ印は非表示 */
    .globalMenuSp .batsu {
        display: none;
    }
}

/* =======================================================
   よくある質問 (Q&A) - アコーディオンデザイン
   ======================================================= */
.faq-section {
    padding-top: 80px;
    margin-bottom: 100px;
}

/* --- タイトル --- */
.faq-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}
.faq-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.faq-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.05em;
    font-family: "Playfair Display", serif;
}

/* --- アコーディオン全体 --- */
.faq-accordion-wrap {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px; /* 項目同士の隙間 */
}

.faq-item {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

/* --- 質問 (Q) 部分 --- */
.faq-q {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの三角形を消す */
    background-color: #fff;
    transition: background-color 0.2s;
}
/* Safari向けのデフォルト三角形消去 */
.faq-q::-webkit-details-marker {
    display: none; 
}
.faq-q:hover {
    background-color: #fafafa;
}

.faq-icon-q {
    color: #6b2c46; /* テーマカラー */
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
    font-family: "Arial", sans-serif;
}

.faq-q-text {
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    padding-right: 20px;
}

/* 開閉の「＋」「－」アイコン */
.faq-toggle-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #6b2c46;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-toggle-icon::before {
    top: 7px; left: 0; width: 16px; height: 2px;
}
.faq-toggle-icon::after {
    top: 0; left: 7px; width: 2px; height: 16px;
}

/* detailsが開いた状態の時の「－」への変化 */
.faq-item[open] .faq-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-item[open] .faq-q {
    border-bottom: 1px dashed #f5f5f5; /* 開いた時にQとAの間に線を引く */
}

/* --- 回答 (A) 部分 --- */
.faq-a {
    padding: 25px;
    /* 開くときのアニメーション */
    animation: fadeDown 0.4s ease-in-out; 
}

@keyframes fadeDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.faq-a-inner {
    display: flex;
    align-items: flex-start;
    background-color: #fbf9ee; /* 淡いイエロー系 */
    padding: 20px;
    border-radius: 8px;
}

.faq-icon-a {
    color: #bfa35a; /* ゴールド系 */
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
    font-family: "Arial", sans-serif;
    line-height: 1;
}

.faq-content {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
    width: 100%;
}
.faq-content p {
    margin-bottom: 1em;
}
.faq-content p:last-child {
    margin-bottom: 0;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .faq-section {
        padding-top: 50px;
        margin-bottom: 70px;
    }
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-q {
        padding: 15px 20px;
    }
    .faq-q-text {
        font-size: 1rem;
    }
    
    .faq-a {
        padding: 20px;
    }
    .faq-a-inner {
        flex-direction: column; /* スマホではAアイコンとテキストを縦積みに */
        gap: 10px;
    }
    .faq-icon-a {
        margin-right: 0;
    }
}

/* =======================================================
   貸会議室 (room) 追加スタイル
   ======================================================= */
/* --- ページ内リンクボタン --- */
.roo-nav-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}
.roo-nav-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.roo-nav-btn:hover {
    background-color: #6b2c46;
    color: #fff !important;
    border-color: #6b2c46;
}
.roo-anchor {
    scroll-margin-top: 120px; 
}

/* --- 会議室一覧グリッド --- */
.roo-room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.roo-room-card {
    background: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.roo-room-card:hover {
    transform: translateY(-5px);
}
.roo-room-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.roo-room-info {
    padding: 20px;
}
.roo-room-info h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    border-left: 4px solid #6b2c46;
    padding-left: 10px;
    color: #333;
}
.roo-room-info a {
    color: #0056b3;
    text-decoration: underline;
    font-size: 0.95rem;
}
.roo-room-info a:hover {
    text-decoration: none;
}

/* --- 料金表（横スクロール対応） --- */
.roo-scroll-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}
.roo-price-table {
    width: 100%;
    min-width: 800px; /* スマホでも崩れないように最小幅を設定 */
    border-collapse: collapse;
}
.roo-price-table th,
.roo-price-table td {
    border: 1px solid #ddd;
    padding: 15px 10px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #333;
}
.roo-price-table thead th {
    background-color: #f5f5f5;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    vertical-align: middle;
}

.roo-price-table td {
    vertical-align: middle;
}
.center-td { text-align: center; }
.right-td { text-align: right; }

.roo-note-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.roo-note-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}
.roo-note-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.roo-btn-wrap {
    text-align: center;
    margin-top: 40px;
}
.roo-btn-accent {
    display: inline-block;
    padding: 15px 40px;
    background-color: #6b2c46;
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(107, 44, 70, 0.2);
}
.roo-btn-accent:hover {
    background-color: #4a1f30;
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- 予約カレンダー --- */
.roo-calendar-wrap {
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    background: #fff;
}

/* --- お申し込みの流れ（ステップUI） --- */
.roo-step-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fbf9ee;
    padding: 30px 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.roo-step {
    text-align: center;
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}
.roo-step .step-num {
    display: block;
    font-size: 1.4rem;
    color: #6b2c46;
    margin-bottom: 5px;
}
.roo-step-arrow {
    color: #ccc;
    font-size: 1.5rem;
}

/* フロー表 */
.roo-flow-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.roo-flow-table th,
.roo-flow-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    line-height: 1.6;
}
.roo-flow-table tr:last-child th,
.roo-flow-table tr:last-child td {
    border-bottom: none;
}
.roo-flow-table th {
    width: 25%;
    background-color: #f5f5f5;
    text-align: center;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    vertical-align: middle;
}
.roo-flow-table td {
    width: 75%;
    color: #333;
}

.roo-dl-links {
    margin: 10px 0;
    display: flex;
    gap: 15px;
}
.roo-dl-link {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #d9534f;
    color: #d9534f;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
}
.roo-dl-link.excel {
    border-color: #28a745;
    color: #28a745;
}
.roo-dl-link:hover {
    background-color: #f9f9f9;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .roo-room-grid {
        grid-template-columns: 1fr;
    }
    
    .roo-step-flow {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .roo-step .step-num {
        display: inline;
        margin-right: 5px;
    }
    .roo-step-arrow {
        transform: rotate(90deg); /* 矢印を下向きに */
    }

    /* フロー表の縦積み */
    .roo-flow-table th,
    .roo-flow-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    .roo-flow-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: #f0f0f0;
    }
    .roo-flow-table td {
        padding-top: 15px;
        padding-bottom: 20px;
    }
}

/* =======================================================
   会議室詳細ページ (room detail)
   ======================================================= */
.rod-section {
    padding-top: 80px;
    margin-bottom: 100px;
}

/* --- タイトル --- */
.rod-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}
.rod-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.rod-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.1em;
    font-family: "Playfair Display", serif;
}

/* --- コンテンツブロックと見出し --- */
.rod-block {
    margin-bottom: 50px;
}
.mt-80 {
    margin-top: 80px !important;
}

/* 大見出し（左にアクセントライン） */
.rod-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    border-left: 5px solid #6b2c46; /* テーマカラー */
    padding-left: 15px;
    line-height: 1.3;
}

/* 小見出し（アイコン風の装飾付き） */
.rod-subheading {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.rod-subheading::before {
    content: "▶";
    color: #6b2c46;
    font-size: 0.9rem;
    margin-right: 8px;
}

/* --- 画像エリア --- */
.rod-img-wrap {
    margin-bottom: 40px;
}
.rod-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 平面図エリア（背景を敷いて図面を見やすく） */
.rod-floorplan-wrap {
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}
.rod-floorplan-wrap img {
    max-width: 100%;
    height: auto;
}

/* --- 料金表（横スクロール対応） --- */
.rod-scroll-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 30px;
}
.rod-table {
    width: 100%;
    min-width: 700px; /* スマホで崩れないように最小幅設定 */
    border-collapse: collapse;
}
.rod-table th,
.rod-table td {
    border: 1px solid #ddd;
    padding: 15px 12px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #333;
}
.rod-table thead th {
    background-color: #f5f5f5;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}
.rod-table .price-header {
    background-color: #f5f5f5;
}
.rod-table td {
    vertical-align: middle;
}
.rod-small {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

.center-td { text-align: center; }
.right-td { text-align: right; }

/* --- 予約ボタン --- */
.rod-btn-wrap {
    text-align: center;
    background-color: #fbf9ee; /* 薄い黄色背景でボタンエリアを目立たせる */
    padding: 30px;
    border-radius: 8px;
}
.rod-btn-accent {
    display: inline-block;
    padding: 15px 40px;
    background-color: #6b2c46;
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(107, 44, 70, 0.2);
}
.rod-btn-accent:hover {
    background-color: #4a1f30;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ページトップへ戻る */
.rod-totop {
    text-align: right;
    margin-top: 40px;
}
.rod-totop a {
    color: #888;
    text-decoration: underline;
    font-size: 0.9rem;
}
.rod-totop a:hover {
    color: #333;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .rod-section { padding-top: 50px; margin-bottom: 70px; }
    .rod-title { font-size: 1.5rem; }
    
    .rod-heading { font-size: 1.3rem; }
    .rod-subheading { font-size: 1.05rem; }

    .rod-floorplan-wrap { padding: 20px; }

    .rod-btn-wrap { padding: 20px; }
    .rod-btn-accent {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 10px;
    }
}

/* =======================================================
   会議室スライダー (Swiper)
   ======================================================= */
/* 修正：メイン画像エリアの背景色を透明に */
.room-main-slider {
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent !important; /* #000から変更し、!importantを追加 */
}

/* 修正：メイン画像をコンテナに合わせてトリミングして全面に表示 */
.room-main-slider .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* 画角を揃える */
    object-fit: cover !important; /* containからcoverへ変更し、!importantを追加 */
    display: block;
}

/* サムネイルエリアと矢印のコンテナ */
.room-thumb-container {
    position: relative;
    padding: 0 40px; /* 左右の矢印のスペースを確保 */
}

/* サムネイルスライダー本体 */
.room-thumb-slider {
    box-sizing: border-box;
}
.room-thumb-slider .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}
.room-thumb-slider .swiper-slide-thumb-active,
.room-thumb-slider .swiper-slide:hover {
    opacity: 1;
    border-color: #fff; /* 選ばれている画像の枠線を白に */
}
.room-thumb-slider .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* サムネイル横の矢印 */
.room-thumb-container .thumb-next,
.room-thumb-container .thumb-prev {
    color: #fff !important; /* 白矢印 */
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}
.room-thumb-container .thumb-next { right: 0; }
.room-thumb-container .thumb-prev { left: 0; }

.room-thumb-container .thumb-next::after,
.room-thumb-container .thumb-prev::after {
    font-size: 24px;
    font-weight: bold;
}

.room-slider-wrapper {
    margin-bottom: 50px;
}

/* =======================================================
   共同金融ページ 追加要素（計算式・スキーム・利用者の声）
   ======================================================= */

/* --- 融資額の計算式エリア --- */
.fin-calc-box {
    background-color: #fafafa;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}
.fin-calc-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #6b2c46;
    margin-bottom: 25px;
    text-align: center;
}
.fin-calc-item {
    margin-bottom: 20px;
}
.fin-calc-item:last-child {
    margin-bottom: 0;
}
.fin-calc-item h5 {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border-left: 3px solid #6b2c46;
    padding-left: 10px;
}
.fin-calc-item p {
    font-size: 1rem;
    line-height: 1.6;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.fin-calc-item p strong {
    color: #d9534f;
    font-size: 1.1rem;
}

/* --- 融資スキーム（パンフレット） --- */
.fin-scheme-box {
    margin-bottom: 50px;
    text-align: center;
}
.fin-scheme-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.fin-scheme-link {
    display: inline-block;
    background-color: #fbf9ee;
    padding: 30px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2ddd3;
}
.fin-scheme-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.fin-scheme-imgs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.fin-scheme-imgs img {
    width: 30%;
    height: auto;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.fin-scheme-link:hover .fin-scheme-imgs img {
    transform: scale(1.02);
}
.fin-scheme-caption {
    font-weight: bold;
    font-size: 1.05rem;
    color: #6b2c46;
    display: inline-block;
}

/* --- 利用者の声 --- */
.fin-voice-panels {
    margin-bottom: 50px;
}
.fin-voice-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}
.fin-voice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.fin-voice-item {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.voice-icon {
    background-color: #6b2c46;
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 20px;
    white-space: nowrap;
}
.voice-text {
    flex-grow: 1;
}
.voice-text p {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin-bottom: 5px;
}
.voice-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    display: block;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下) の追加
   ======================================================= */
@media screen and (max-width: 860px) {
    .fin-calc-box {
        padding: 20px;
    }
    
    .fin-scheme-imgs {
        flex-direction: column;
        align-items: center;
    }
    .fin-scheme-imgs img {
        width: 80%;
    }
    
    .fin-voice-item {
        flex-direction: column;
        padding: 20px;
    }
    .voice-icon {
        margin-bottom: 15px;
    }
    .voice-text p {
        font-size: 1rem;
    }
}

/* =======================================================
   必要書類リスト内のリンク (<a>タグ) 装飾
   ======================================================= */
.fin-doc-list li a {
    color: #0056b3; /* クリックできることが直感的にわかる青色 */
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px; /* 下線を文字から少し離して見やすく */
    transition: opacity 0.3s, color 0.3s;
}

/* マウスを乗せた時の動き */
.fin-doc-list li a:hover {
    color: #cc0000; /* ホバー時は少し目立つ色に変化（お好みで変更可） */
    text-decoration: none; /* 下線を消す */
    opacity: 0.8;
}

/* リンクの後ろにダウンロード（または別窓）を思わせる小さなアイコンを自動付与 */
.fin-doc-list li a::after {
    content: " 📥"; /* ダウンロードアイコン */
    font-size: 0.85em;
    margin-left: 5px;
    display: inline-block;
    text-decoration: none;
}

/* =======================================================
   共同購買ページ 専用スタイル（旧デザイン反映・モダン版）
   ======================================================= */
.pur-banner-wrap {
    text-align: center;
    margin-bottom: 60px;
}
.pur-banner-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 白い情報パネル */
.pur-content-box {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

.pur-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
}

/* 購買用リスト（青色の四角アイコン） */
.pur-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.pur-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
.pur-list li::before {
    content: "■"; 
    color: #2c4a6b; /* 購買のテーマカラー（ブルー） */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

/* PDFダウンロードリンク */
.pur-dl-link {
    display: inline-block;
    margin-top: 10px;
    color: #d9534f;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.3s;
}
.pur-dl-link:hover {
    text-decoration: none;
    opacity: 0.8;
}
.pur-dl-link::before {
    content: "📄";
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
}

/* 外部サイトへの移動リンク */
.pur-link-wrap {
    text-align: right;
    border-top: 1px dashed #eee;
    padding-top: 20px;
}
.pur-external-link {
    display: inline-block;
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s, transform 0.2s;
}
.pur-external-link:hover {
    color: #cc0000;
    transform: translateX(3px); /* ホバーで少し右へ動く */
}

/* その他のご案内（カード型グリッド） */
.pur-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.pur-grid-card {
    display: block;
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    padding: 30px 20px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    text-align: center;
}
.pur-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #2c4a6b; /* ホバー時に枠線が青くなる */
}
.pur-grid-card h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}
.pur-grid-card .card-link-text {
    font-size: 0.95rem;
    color: #0056b3;
    font-weight: bold;
}

/* =======================================================
   レスポンシブ対応 (スマホ用)
   ======================================================= */
@media screen and (max-width: 860px) {
    .pur-content-box {
        padding: 25px 20px;
    }
    .pur-grid {
        grid-template-columns: 1fr; /* スマホでは縦1列 */
    }
}

/* =======================================================
   お知らせ・ブログ一覧ページ (category-c_topics.php)
   ======================================================= */
.topic0 {
    margin-bottom: 100px;
}

/* --- パンくずリスト --- */
.navi.in1 {
    font-size: 0.85rem;
    color: #888;
    padding: 20px 0 40px;
}
.navi.in1 a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}
.navi.in1 a:hover {
    color: #6b2c46; /* テーマカラー */
}

/* --- ページタイトル --- */
.bl02 h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}

/* --- 記事リスト枠 (Gridレイアウト) ※一覧ページ限定に修正 --- */
.bl02 .fle01 {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 12px;
    padding: 10px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: grid;
    grid-template-columns: 130px 1fr;
    margin-bottom: 50px;
    gap: 0; /* 隙間をなくして線を繋げる */
}

/* --- 既存の古いCSS(codeset.css)を強力に上書きリセット --- */
.bl02 .fle01 .di01,
.bl02 .fle01 .di02 {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 25px 0 !important;
    border-bottom: 1px dashed #ccc !important;
    display: flex !important;
    align-items: center !important;
}

/* リストの一番下の区切り線を消す処理 */
.bl02 .fle01 .di01:nth-last-child(2),
.bl02 .fle01 .di02:last-child {
    border-bottom: none !important;
}

/* 日付 */
.bl02 .fle01 .di01 {
    white-space: nowrap; /* 縦に押しつぶされるのを防ぐ */
}
.bl02 .fle01 .di01 time {
    font-size: 1rem;
    color: #666;
    font-family: "Arial", sans-serif;
}

/* タイトル */
.bl02 .fle01 .di02 h3 {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s;
}
.bl02 .fle01 .di02 a {
    text-decoration: none;
    display: block;
    width: 100%;
}
.bl02 .fle01 .di02 a:hover h3 {
    color: #6b2c46;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- ページネーション (ページ送りボタン) --- */
.wp-pagenavi {
    text-align: center;
    margin-top: 50px;
}
.wp-pagenavi a, 
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border: 1px solid #f5f5f5;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    background-color: #fff;
}
.wp-pagenavi span.current {
    background-color: #6b2c46;
    color: #fff;
    border-color: #6b2c46;
    font-weight: bold;
}
.wp-pagenavi a:hover {
    background-color: #fbf9ee;
    border-color: #e2ddd3;
    color: #6b2c46;
}
.wp-pagenavi span.extend {
    border: none;
    background-color: transparent;
    width: auto;
}

/* =======================================================
   レスポンシブ対応 (SPサイズ 860px以下)
   ======================================================= */
@media screen and (max-width: 860px) {
    .bl02 h1 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .bl02 .fle01 {
        grid-template-columns: 1fr; /* スマホ時は縦1列に */
        padding: 10px 20px;
    }
    
    /* スマホ時は日付の下線を消して、タイトルの下にだけ引く */
    .bl02 .fle01 .di01 {
        padding: 20px 0 5px 0 !important;
        border-bottom: none !important; 
    }
    
    .bl02 .fle01 .di01 time {
        font-size: 0.9rem;
        color: #888;
    }
    
    .bl02 .fle01 .di02 {
        padding: 0 0 20px 0 !important;
        border-bottom: 1px dashed #ccc !important;
    }
    
    .bl02 .fle01 .di02:last-child {
        border-bottom: none !important;
    }
    
    .bl02 .fle01 .di02 h3 {
        font-size: 1rem;
    }
    
    .wp-pagenavi a, 
    .wp-pagenavi span.current {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 3px;
    }
}

/* =======================================================
   備品リスト（写真付き）
   ======================================================= */
.equip-grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC時は4列 */
    gap: 20px;
    margin: 30px 0 50px;
}

.equip-card {
    background-color: #fff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.equip-img {
    width: 100%;
    aspect-ratio: 4/3; /* 写真の縦横比を統一 */
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.equip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equip-img.no-img span {
    font-size: 0.8rem;
    color: #ccc;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.equip-text {
    padding: 15px;
    flex-grow: 1; /* 文字が少なくても高さを揃える */
}

.equip-text h4 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.equip-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

/* スマホ用の設定 */
@media screen and (max-width: 860px) {
    .equip-grid-wrap {
        grid-template-columns: repeat(2, 1fr); /* スマホ時は2列 */
        gap: 15px;
    }
    .equip-text {
        padding: 12px;
    }
    .equip-text h4 {
        font-size: 0.95rem;
    }
    .equip-desc {
        font-size: 0.8rem;
    }
}

/* --- 貸会議室：駐車場ギャラリー --- */
.roo-parking-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC時は3列均等配置 */
    gap: 15px;
    margin-bottom: 20px;
}
.roo-parking-gallery img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/3; /* 写真の縦横比を綺麗に揃える */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* スマホ用（860px以下）の調整 */
@media screen and (max-width: 860px) {
    .roo-parking-gallery {
        grid-template-columns: 1fr; /* スマホ時は大きく縦1列に並べる */
        gap: 10px;
    }
}

/* =======================================================
   テナント詳細ページ & トップ詳細リンク
   ======================================================= */
/* トップページの「物件の詳細を見る」ボタン */
.tenant-detail-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: #333;
    color: #fff !important;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tenant-detail-link:hover {
    background-color: #6b2c46;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- 詳細ページ用スタイル --- */
.tenant-detail-section {
    max-width: 900px;
    margin: 0 auto 100px;
}

.tenant-detail-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #6b2c46;
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
}

.tenant-detail-slider {
    margin-bottom: 40px;
}

.tenant-table-wrap {
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    background-color: #fff;
}

.tenant-table-wrap .tenant-table th {
    background-color: #f5f5f5;
    width: 25%;
    font-weight: bold;
    color: #333;
}

.tenant-detail-note {
    background-color: #fbf9ee;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 5px solid #bfa35a;
}
.tenant-detail-note .note-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.tenant-detail-note p {
    line-height: 1.8;
    color: #333;
}

.tenant-detail-content {
    line-height: 1.8;
    margin-bottom: 50px;
}

.tenant-back-btn {
    text-align: center;
}

@media screen and (max-width: 860px) {
    .tenant-detail-title {
        font-size: 1.5rem;
    }
    .tenant-table-wrap .tenant-table th,
    .tenant-table-wrap .tenant-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    .tenant-table-wrap .tenant-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
}

/* --- 詳細ページのテーブル1行目の表示リセット --- */
.tenant-table-wrap .tenant-table tr:first-child {
    border-bottom: 1px dotted #e5e5e5; 
}
.tenant-table-wrap .tenant-table tr:first-child th {
    display: table-cell; 
}

/* --- 施設概要テーブル専用スタイル --- */
.roo-table.overview-table th {
    width: 25%;
    border-right: 1px solid #ddd;
    vertical-align: middle; /* ★ここを追加（上下中央揃え） */
}
.roo-table.overview-table td {
    width: 37.5%; /* 均等に分割 */
}
.roo-table.overview-table tr td:not(:last-child) {
    border-right: 1px solid #ddd; /* 最後の列以外に右の区切り線を引く */
}

/* --- 料金・駐車制限のテーブルを横並びに --- */
.roo-table-area {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 上端を揃える */
    gap: 40px; /* 2つの表の間の隙間 */
    margin-top: 40px;
}

.roo-table-area .roo-table-box {
    width: 100%;
    max-width: 450px;
    margin: 0; /* 既存の縦並び用の余白をリセット */
}

/* --- スマホ時は縦並びに戻す --- */
@media screen and (max-width: 860px) {
    .roo-table-area {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

/* --- 料金表の外枠の二重線（干渉）を修正 --- */
.roo-price-table {
    border-style: hidden; /* テーブル外周の罫線を隠し、外枠と一体化させます */
    margin-bottom: 0;
}

/* --- 有料設備・割増料金の縦線を追加 --- */
.roo-table.extra-table th:first-child,
.roo-table.extra-table td:first-child {
    border-right: 1px solid #ddd;
}

/* =======================================================
   レンタルの流れ＆使用料金 追加スタイル
   ======================================================= */
/* --- レンタルの流れ フロー図 --- */
.lea-flow-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}
.lea-flow-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.lea-flow-label {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}
.lea-flow-circle {
    width: 110px;
    height: 110px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 10px;
    box-sizing: border-box;
}
.lea-flow-arrow {
    color: #ccc;
    font-size: 1.5rem;
}

/* --- レンタルの流れ 詳細ボックス --- */
.lea-step-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lea-step-box {
    border: 1px solid #ccc;
    background-color: #fff;
}
.lea-step-title {
    background-color: #d9d9d9;
    padding: 12px 20px;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    margin: 0;
}
.lea-step-box p {
    padding: 15px 20px;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* --- 使用料金について テーブル --- */
.lea-fee-table {
    width: 100%;
    border-collapse: collapse;
}
.lea-fee-table th,
.lea-fee-table td {
    border: 1px solid #666;
    padding: 12px 20px;
    line-height: 1.5;
    color: #333;
}
.lea-fee-table thead th {
    background-color: #e0e0e0;
    text-align: center;
}
.lea-fee-table tbody th {
    background-color: #aed581; /* 画像に合わせた明るいグリーン */
    text-align: center;
    width: 20%;
}
.lea-fee-table tbody td {
    background-color: #fff;
}

/* --- レスポンシブ対応 (SPサイズ 860px以下) --- */
@media screen and (max-width: 860px) {
    .lea-flow-diagram {
        flex-direction: column;
        gap: 15px;
    }
    .lea-flow-arrow {
        transform: rotate(90deg);
        margin-top: 0;
    }
    .lea-fee-table tbody th {
        width: 30%;
    }
}