@charset "UTF-8";
/* ==========================================================================
   施設詳細ページ（detail.php）2026 追加スタイル
   ========================================================================== */

/* --------------------------------------------------------------------------
   SP ヘッダー: ハンバーガーの左にお気に入りボタン（detailのみ / .heartBtn）
   -------------------------------------------------------------------------- */
@media(max-width: 960px) {
    .header .right .sp {
        display: flex;
        align-items: center;
    }
    .header .right .sp .heartBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 44px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
    }
    .header .right .sp .heartBtn .heartImg {
        width: 24px;
        height: 24px;
    }
}

/* --------------------------------------------------------------------------
   画像スライダーの前へ／次へ矢印を画像の左右端に配置
   -------------------------------------------------------------------------- */
.detail-slider {
    position: relative;
}
.detail-slider .prev,
.detail-slider .next {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    z-index: 10;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}
@media(max-width: 960px) {
    .detail-slider .prev,
    .detail-slider .next {
        width: 30px;
        height: 30px;
    }
}
.detail-slider .prev:hover,
.detail-slider .next:hover {
    opacity: 1;
}
/* SVGの円の中心が画像の端に揃うように半分だけはみ出させる */
.detail-slider .prev {
    left: 0;
    transform: translate(-50%, -50%);
}
.detail-slider .next {
    right: 0;
    transform: translate(50%, -50%);
}
.detail-slider .prev img,
.detail-slider .next img {
    display: block;
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   SP時に画像を横幅いっぱいにせず両端に余白をあける
   -------------------------------------------------------------------------- */
@media(max-width: 960px) {
    main#detail section .clm .left .swiper-detail {
        width: 100%;
        margin-left: 0;
    }
}

/* --------------------------------------------------------------------------
   画像の枚数カウンター（例: 1／5）
   -------------------------------------------------------------------------- */
.detail-slider .slide-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(51, 51, 51, 0.75);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    padding: 7px 18px;
    border-radius: 6px;
    letter-spacing: 2px;
    pointer-events: none;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   右上の検索窓のデザインを施設一覧（search_result）に合わせる
   -------------------------------------------------------------------------- */
.global-search form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e5ebf2;
    border-radius: 6px;
    overflow: hidden;
}
@media(min-width: 961px) {
    .global-search form {
        width: 380px;
        margin-left: auto;
        border-radius: 6px;
    }
}
.global-search form input[type=search] {
    display: block;
    width: calc(100% - 73px);
    padding: 0 10px;
    font-size: 12px;
    line-height: normal;
    background: none;
    border: none;
    outline: none;
    border-radius: 0;
}
@media(min-width: 961px) {
    .global-search form input[type=search] {
        width: calc(100% - 62px);
        padding: 0 13px;
        font-size: 14px;
        line-height: normal;
    }
}
.global-search form input[type=search]::placeholder {
    color: #959595;
}
.global-search form input[type=submit] {
    display: block;
    width: 73px;
    line-height: 46px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    background: #333;
    border-radius: 6px;
}
@media(min-width: 961px) {
    .global-search form input[type=submit] {
        width: 62px;
        font-size: 14px;
        line-height: 31px;
    }
}

/* --------------------------------------------------------------------------
    施設情報のステータスラベル（月極駐車場ラベルを施設一覧の色に合わせて変更）
    空車=青 / 満車(予約可)=赤 / お問合せ=水色
   -------------------------------------------------------------------------- */
main#detail section .clm .right .info .title.status-label {
    width: 140px;
    border-radius: 5px;
}
main#detail section .clm .right .info .title.status-label.open {
    background: #004bd2;
}
main#detail section .clm .right .info .title.status-label.full {
    background: #ff0010;
}
main#detail section .clm .right .info .title.status-label.contact {
    background: #89adf4;
}

/* SP: 見出し（〇〇の月極駐車場）の上にステータスバッジを表示。
   PCは info 内のラベルを使うのでこちらは非表示。 */
main#detail section .max-w > .status-label.sp {
    display: inline-block;
    width: 126px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 28px;
    border-radius: 5px;
}
@media(min-width: 961px) {
    main#detail section .max-w > .status-label.sp {
        display: none;
    }
}
main#detail section .max-w > .status-label.sp.open {
    background: #004bd2;
}
main#detail section .max-w > .status-label.sp.full {
    background: #ff0010;
}
main#detail section .max-w > .status-label.sp.contact {
    background: #89adf4;
}

/* --------------------------------------------------------------------------
   名称欄: ID行（コピー付き）を名称の下に表示。テーブル最上部の区切り線を削除。
   -------------------------------------------------------------------------- */
main#detail section .clm .right .info .table > dl:first-child {
    border-top: none;
}
main#detail section .clm .right .info .table > dl > dd .park-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}
@media(min-width: 961px) {
    main#detail section .clm .right .info .table > dl > dd .park-name {
        font-size: 20px;
    }
}
main#detail section .clm .right .info .table > dl > dd .id {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 3px 12px;
    color: #8a99ad;
    font-size: 13px;
    background: #e9eef4;
    border-radius: 4px;
}
@media(min-width: 961px) {
    main#detail section .clm .right .info .table > dl > dd .id {
        font-size: 14px;
    }
}
main#detail section .clm .right .info .table > dl > dd .id .id-label {
    font-weight: normal;
}

/* --------------------------------------------------------------------------
   賃料: 金額の数字を大きく（カンプ: PC28px / SP26px）。周囲の月額・円（税込）は基本サイズ。
   -------------------------------------------------------------------------- */
/* 「月額」「円（税込）」は通常ウェイト（style.cssが.price全体をboldにしているため打ち消す） */
main#detail section .clm .right .info .table > dl > dd .price {
    font-weight: normal;
}
main#detail section .clm .right .info .table > dl > dd .price .num {
    margin: 0 4px;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
}
@media(min-width: 961px) {
    main#detail section .clm .right .info .table > dl > dd .price .num {
        font-size: 28px;
    }
}
/* 「お問い合わせください」は文章なので拡大しない */
main#detail section .clm .right .info .table > dl > dd .price .num.inquiry {
    margin: 0;
    font-size: inherit;
    font-weight: normal;
}

/* --------------------------------------------------------------------------
   ※注意書き: 黒ではなくグレー（カンプのベクター塗りは#666だが、見た目に合わせ少し薄め）
   -------------------------------------------------------------------------- */
main#detail section .clm .right .info .comment {
    color: #888;
}

/* --------------------------------------------------------------------------
   担当営業からのコメント: オレンジ背景を外し、上に区切り線、見出し左にオレンジの四角
   -------------------------------------------------------------------------- */
main#detail section .clm .right .info .manager {
    margin-top: 22px;
    padding: 16px 0 0;
    background: none;
    border-top: 1px solid #ced6e0;
    border-radius: 0;
}
@media(min-width: 961px) {
    main#detail section .clm .right .info .manager {
        margin-top: 32px;
        padding: 22px 0 0;
    }
}
main#detail section .clm .right .info .manager .txt h2 {
    display: flex;
    align-items: center;
    color: #000;
}
main#detail section .clm .right .info .manager .txt h2::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: #f80;
}

/* --------------------------------------------------------------------------
   申込ボタン: 四角いデザイン＋ステータス別カラー（カンプ実測）
   空車=青 / 満車(予約可)=赤 / 問い合わせ=水色
   ※文字左のアイコンは後日 <a> 内先頭に <img> を追加すれば gap で左に並ぶ
   -------------------------------------------------------------------------- */
main#detail section .clm .right .link {
    display: block;
    margin-top: 24px;
}
@media(min-width: 961px) {
    main#detail section .clm .right .link {
        margin-top: 32px;
    }
}
/* お気に入り: 区画別の賃料の下・申込ボタンの上へ移動（.info外に出たので再定義）。
   PCは従来通り右上に絶対配置、SPは通常フロー。 */
main#detail section .clm .right .favorite {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #246abf;
    font-size: 14px;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
}
main#detail section .clm .right .favorite svg {
    display: block;
    width: 21px;
    margin-right: 8px;
}
@media(max-width: 960px) {
    main#detail section .clm .right .favorite {
        width: 100%;
        margin: 24px 0 16px;
    }
}
@media(min-width: 961px) {
    main#detail section .clm .right .favorite {
        position: absolute;
        top: 3px;
        right: 0;
    }
}
/* 申込ボタン本体（.right の info内 と .left のSP画像下 の両方で共通） */
main#detail section .clm .right .link a.apply-btn,
main#detail section .clm .left a.apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    height: 65px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
}
main#detail section .clm .right .link a.apply-btn.open,
main#detail section .clm .left a.apply-btn.open {
    background: #004bd2;
}
main#detail section .clm .right .link a.apply-btn.full,
main#detail section .clm .left a.apply-btn.full {
    background: #ff0010;
}
main#detail section .clm .right .link a.apply-btn.contact,
main#detail section .clm .left a.apply-btn.contact {
    background: #89adf4;
}
main#detail section .clm .right .link a.apply-btn .btn-icon,
main#detail section .clm .left a.apply-btn .btn-icon {
    width: auto;
    height: 22px;
}
/* SP画像下の申込ボタン: SPのみ表示（PCは info内のボタンを使う） */
main#detail section .clm .left .sp-apply-btn {
    margin-top: 16px;
}
@media(min-width: 961px) {
    main#detail section .clm .left .sp-apply-btn {
        display: none;
    }
}
/* 時間貸しの予約利用はこちら: 塗りボタンではなく青の下線テキストリンク */
main#detail section .clm .right .link a.time-link {
    display: block;
    width: auto;
    margin-top: 14px;
    padding: 0;
    color: #009ee7;
    font-weight: normal;
    line-height: 1.6;
    text-align: center;
    background: none;
    border-radius: 0;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   セクション見出し（区画別の賃料 / その他の周辺状況）の左マーカーを
   担当営業からのコメントと同じ 8×8px のオレンジ四角に統一（元は4px×14pxの縦棒）。
   -------------------------------------------------------------------------- */
main#detail section .clm .right .section h2::after,
main#detail section .clm .right .ev h2::after {
    width: 8px;
    height: 8px;
    background: #f80;
    border-right: none;
}

/* p-map の幅を、上にある施設画像（左カラム 540px / calc(50% - 30px)）と揃える */
/* 地図の高さ: カンプ実測のアスペクト比（高さ/幅 = 639/528 = 1.21）に合わせる */
main#detail section .clm .right .p-map #map {
    height: 525px; /* SP: 現状維持 */
}
@media(min-width: 961px) {
    main#detail section .clm .right .p-map {
        width: 540px;
        max-width: calc(50% - 30px);
    }
    main#detail section .clm .right .p-map #map {
        width: 100%;
        max-width: none;
        height: 653px; /* PC: 幅540px × 1.21（カンプ準拠） */
    }
    /* 施設画像との間隔を詰める（元 top:440px） */
    main#detail section .clm .right .p-map {
        top: 405px;
    }
}

/* 地図ヘッダー: 「Pを中心に表示」を #019EE7 に、タブを黒ベース＋右寄せ・角丸小 */
main#detail section .clm .right .p-map .head #centerMove {
    color: #019EE7;
}
/* Pアイコンを少し大きく（元 19px） */
main#detail section .clm .right .p-map .head #centerMove img {
    width: 26px;
}
main#detail section .clm .right .p-map .head .area-tab>div label {
    color: #333;
    background: #f2f6f9;
    border-radius: 3px;
}
main#detail section .clm .right .p-map .head .area-tab>div input:checked+label {
    background: #333;
    color: #fff;
}
@media(min-width: 961px) {
    /* タブを右端に寄せる（Pを中心に表示は左のまま）、下の余白を詰める */
    main#detail section .clm .right .p-map .head {
        justify-content: space-between;
        margin-bottom: 5px;
    }
    main#detail section .clm .right .p-map .head .area-tab>div label {
        border-radius: 3px;
    }
}
@media(max-width: 960px) {
    /* SP: ヘッダー（タブ）と地図の距離（PC同様 5px） */
    main#detail section .clm .right .p-map .head {
        margin-bottom: 5px;
    }
    /* SP: タブを少し大きく（元 width:70px / line-height:23px） */
    main#detail section .clm .right .p-map .head .area-tab>div label {
        width: 75px;
        line-height: 30px;
    }
}

/* その他の周辺状況: 「検索結果：X件」を 黒・非太字・右寄せ・下線に */
/* 内側divを残り幅いっぱいに広げ、ラベルと同じ高さで右端に配置（PC/SP共通） */
main#detail section .clm .right .ev .result div {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
main#detail section .clm .right .ev .result div span {
    color: inherit;
    font-weight: normal;
    text-decoration: underline;
    margin-left: 0;
}
@media(max-width: 960px) {
    /* base CSS の display:block / margin-top:7px を打ち消して同じ行に */
    main#detail section .clm .right .ev .result div span {
        margin-top: 0;
    }
}

/* --------------------------------------------------------------------------
   SP: 「近くの月極駐車場」等アコーディオン見出し（.aside-slide.sp）
   カンプ準拠: グレー地 + 左にオレンジのピン + 黒太字 + 右にオレンジ下矢印
   -------------------------------------------------------------------------- */
@media(max-width: 960px) {
    /* 2つの見出しの間隔を狭める（元 margin-top:29px） */
    main#detail section .aside-slide .item:nth-child(n+2) {
        margin-top: 12px;
    }
    main#detail section .aside-slide .item h3 {
        color: #000;
        font-weight: bold;
        font-size: 20px;
        background: #f3f6f9;
        outline: none;
        border-radius: 6px;
    }
    /* 左のオレンジピン（元は右のオレンジ丸だった ::before を差し替え） */
    main#detail section .aside-slide .item h3::before {
        left: 52px;
        right: auto;
        width: 20px;
        height: 26px;
        background: url(../../img/users/detail/pin-orange.svg) no-repeat center;
        background-size: contain;
        border-radius: 0;
    }
    /* 右のオレンジ下矢印（開いたら反転） */
    main#detail section .aside-slide .item h3::after {
        right: 22px;
        width: 16px;
        height: 11px;
        background: url(../../img/users/detail/chevron-orange.svg) no-repeat center;
        background-size: contain;
        transform: translateY(-50%);
    }
    main#detail section .aside-slide .item h3.on::after {
        transform: translateY(-50%) rotate(180deg);
    }
    /* 展開時は見出しの下角を角丸なしにして中身と繋げる */
    main#detail section .aside-slide .item h3.on {
        border-radius: 6px 6px 0 0;
    }
    /* 展開される項目もグレーの箱の中に入れ、見出しと隙間なく続けて見せる */
    main#detail section .aside-slide .item .open-close-cnt .inner {
        margin-top: 0;
        padding: 4px 12px 12px;
        background: #f3f6f9;
        border-radius: 0 0 6px 6px;
    }
}

/* --------------------------------------------------------------------------
   区画別の賃料（.section.places）: オレンジ基調 → ダーク基調（カンプ実測）
   行=#f2f6f9 / 区画ラベル=#333 / トグル=ダーク丸＋白い下矢印(swiper-down-plain.svg)
   -------------------------------------------------------------------------- */
/* 区画別の賃料の上に区切り線（担当営業からのコメントと同様） */
main#detail section .clm .right .section.places {
    padding-top: 22px;
    border-top: 1px solid #ced6e0;
}
main#detail section .clm .right .section.places .item {
    margin-bottom: 6px;
    background: #f2f6f9;
    border: none;
    border-radius: 6px;
}
main#detail section .clm .right .section.places .item:first-child {
    border-top: none;
}
main#detail section .clm .right .section.places .item .open-close-btn {
    padding: 16px;
}
/* 区画Nラベルをダークに */
main#detail section .clm .right .section.places .item .open-close-btn h3 {
    color: #fff;
    background: #333;
}
@media(min-width: 961px) {
    main#detail section .clm .right .section.places .item .open-close-btn h3 {
        width: 70px;
    }
}
/* トグル: オレンジ丸を消し、ダーク丸＋白下矢印の完成SVGを表示 */
main#detail section .clm .right .section.places .item .open-close-btn::before {
    display: none;
}
main#detail section .clm .right .section.places .item .open-close-btn::after {
    width: 28px;
    height: 28px;
    right: 16px;
    background: url(/img/users/common/swiper-down-plain.svg) no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
}
main#detail section .clm .right .section.places .item .open-close-btn.on::after {
    transform: translateY(-50%) rotate(180deg);
}
/* アコーディオン展開時の中身（手数料・設備・対応車両サイズ）を左端に付けず余白をとる */
main#detail section .clm .right .section.places .item .open-close-cnt .inner {
    padding-left: 16px;
    padding-right: 16px;
}
main#detail section .clm .right .section.places .item .table dl {
    padding-left: 0;
}

/* --------------------------------------------------------------------------
   お問い合わせフォーム（#form / flg==2のみ）: カンプ準拠のダーク/赤基調・角丸小
   -------------------------------------------------------------------------- */
/* タイトル上の四角マーカー（flg==2=問い合わせ なので水色） */
main section#form .head::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto 14px;
    background: #89adf4;
}
/* フォーム枠は角丸なし（グレー地はそのまま） */
main section#form form .box {
    border-radius: 0;
}
@media(min-width: 961px) {
    main section#form form .box {
        width: 1000px;
        max-width: 100%;
        padding: 100px;
    }
}
/* 見出し下の注意書きは小さめ（12px） */
main section#form .head p {
    font-size: 14px;
}
@media(min-width: 961px) {
    main section#form .head p {
        font-size: 14px;
    }
}
/* 必須バッジ: オレンジのピル → 赤の角丸長方形（角丸4px） */
main section#form form .form__input dl dt.required::after {
    width: auto;
    padding: 0 12px;
    font-size: 14px;
    line-height: 26px;
    background: #fa1f00;
    border-radius: 4px;
}
/* 入力欄の角丸を4pxに・文字は太くしない */
main section#form form .form__input dl dd input[type=text],
main section#form form .form__input dl dd input[type=tel],
main section#form form .form__input dl dd input[type=email],
main section#form form .form__input dl dd textarea {
    border-radius: 4px;
    font-weight: normal;
}
main section#form form .form__input dl dd input[type=text]::placeholder,
main section#form form .form__input dl dd input[type=tel]::placeholder,
main section#form form .form__input dl dd input[type=email]::placeholder,
main section#form form .form__input dl dd textarea::placeholder {
    font-weight: normal;
}
/* 個人情報の取り扱い: 白地・薄グレー枠のボックス（見出しは枠外） */
main section#form form .form__info .policy-box {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
@media(min-width: 961px) {
    main section#form form .form__info .policy-box {
        padding: 35px 40px;
    }
}
main section#form form .form__info .policy-box p {
    font-size: 14px;
    line-height: 1.5;
}
main section#form form .form__info .policy-box .form__link {
    margin-top: 1.5em;
}
/* 送信ボタン: 同意前はグレー(従来仕様)・同意後(.active)でピンク・角丸小 */
main section#form form .form__btm #submit {
    border-radius: 4px;
}
main#detail section#form form .form__btm #submit.active {
    background: #ff4081;
}
@media(min-width: 961px) {
    main#detail section#form form .form__btm #submit.active:hover {
        opacity: .7;
    }
}
/* 同意チェックの上の余白を詰める */
main section#form form .form__btm .check {
    margin: 20px 0 30px;
}
@media(min-width: 961px) {
    main section#form form .form__btm .check {
        margin: 24px 0 40px;
    }
}
/* チェックボックスを小さく・角丸なしの四角に（色・チェックは従来どおり） */
main section#form form .form__btm .check label {
    padding-left: 25px;
    line-height: 17px;
}
@media(min-width: 961px) {
    main section#form form .form__btm .check label {
        padding-left: 27px;
        line-height: 17px;
    }
}
main section#form form .form__btm .check label::after {
    width: 17px;
    height: 17px;
    background-image: url(../../img/users/detail/check_square.svg);
}
@media(min-width: 961px) {
    main section#form form .form__btm .check label::after {
        width: 17px;
        height: 17px;
    }
}
main#detail section#form form .form__btm .check input:checked+label::after {
    background-image: url(../../img/users/detail/checked_square.svg);
}
