:root {
    --monshel-reserve-brown: #96653f;
    --monshel-reserve-brown-dark: #5d3d28;
    --monshel-reserve-gold: #c59b62;
    --monshel-reserve-ink: #302820;
    --monshel-reserve-muted: #75695e;
    --monshel-reserve-cream: #fbf7ef;
    --monshel-reserve-cream-deep: #f3eadc;
    --monshel-reserve-line: #dfcfbd;
}

/* MonShel 2.24.4: 客室タイプページ */
body.monshel-room-type-page .siteContent {
	padding-top: 36px;
	padding-bottom: 72px;
}

body.monshel-room-type-page .siteContent > .container,
body.monshel-room-type-page .siteContent .mainSection {
	max-width: 1040px;
}

body.monshel-room-type-page .entry-body {
	box-sizing: border-box;
	width: min(100%, 1040px);
	margin-right: auto;
	margin-left: auto;
	padding: clamp(24px, 4vw, 52px);
	background: rgba(255, 251, 243, 0.97);
	border: 1px solid #d8c3aa;
	border-radius: 12px;
	box-shadow: 0 18px 44px rgba(63, 40, 25, 0.16);
}

body.monshel-room-type-page .entry-content {
	background: transparent;
}

body.monshel-room-type-page h1,
body.monshel-room-type-page h2,
body.monshel-room-type-page h3 {
	color: #3f2b20;
}

body.monshel-room-type-page .mphb-calendar {
	overflow: hidden;
	background: #fff;
	border: 1px solid #d8c3aa;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(63, 40, 25, 0.12);
}

body.monshel-room-type-page .mphb-reservation-form,
body.monshel-room-type-page .mphb-booking-form,
body.monshel-room-type-page .mphb_sc_search-form,
body.monshel-room-type-page form.mphb-booking-form {
	margin-top: 30px;
	padding: clamp(24px, 4vw, 42px) !important;
	background: #fffaf2;
	border: 1px solid #ddcbb5;
	border-top: 5px solid #96653f;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(63, 40, 25, 0.13);
}

body.monshel-room-type-page input[type="text"],
body.monshel-room-type-page input[type="date"],
body.monshel-room-type-page input[type="number"],
body.monshel-room-type-page input[type="email"],
body.monshel-room-type-page input[type="tel"],
body.monshel-room-type-page select {
	min-height: 46px;
	background: #fff !important;
	border: 1px solid #cdb89f !important;
	border-radius: 6px !important;
}

body.monshel-room-type-page .button,
body.monshel-room-type-page input[type="submit"],
body.monshel-room-type-page button {
	color: #fff !important;
	font-weight: 700;
	background: #96653f !important;
	border: 1px solid #96653f !important;
	border-radius: 5px;
	box-shadow: none;
}

body.monshel-room-type-page .button:hover,
body.monshel-room-type-page input[type="submit"]:hover,
body.monshel-room-type-page button:hover {
	background: #75482b !important;
	border-color: #75482b !important;
}

body.monshel-booking-confirmation-page .siteContent {
	padding-top: 36px;
	padding-bottom: 80px;
}

body.monshel-booking-confirmation-page .siteContent > .container {
	max-width: 1040px;
}

@media (max-width: 767px) {
	body.monshel-room-type-page .siteContent {
		padding-top: 16px;
		padding-bottom: 40px;
	}

	body.monshel-room-type-page .entry-body {
		width: calc(100% - 20px);
		padding: 22px 16px;
		border-radius: 8px;
	}

	body.monshel-room-type-page .mphb-reservation-form,
	body.monshel-room-type-page .mphb-booking-form,
	body.monshel-room-type-page .mphb_sc_search-form,
	body.monshel-room-type-page form.mphb-booking-form {
		padding: 20px 14px !important;
	}

	body.monshel-room-type-page .mphb-calendar {
		overflow-x: auto;
	}
}

/* MotoPressの空室検索フォームだけに適用します。 */
form.mphb_sc_search-form,
.mphb_sc_search-form {
    position: relative;
    box-sizing: border-box;
    width: min(calc(100% - 32px), 1040px);
    margin: 34px auto 52px !important;
    padding: 48px 58px 52px !important;
    overflow: hidden;
    color: var(--monshel-reserve-ink);
    background:
        radial-gradient(circle at 92% 8%, rgba(197, 155, 98, .13), transparent 23%),
        linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(248, 241, 231, .98)) !important;
    border: 1px solid rgba(150, 101, 63, .28) !important;
    border-top: 5px solid var(--monshel-reserve-brown) !important;
    border-radius: 26px !important;
    box-shadow:
        0 28px 65px rgba(56, 37, 23, .18),
        0 4px 14px rgba(56, 37, 23, .08) !important;
}

form.mphb_sc_search-form::before,
.mphb_sc_search-form::before {
    display: block;
    margin: 0 0 10px;
    color: var(--monshel-reserve-brown);
    content: "DOG RESORT MONSHEL";
    font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
}

form.mphb_sc_search-form::after,
.mphb_sc_search-form::after {
    display: block;
    width: 74px;
    height: 2px;
    margin: 5px auto 32px;
    background: linear-gradient(90deg, transparent, var(--monshel-reserve-gold), transparent);
    content: "";
}

.mphb_sc_search-form p {
    margin: 0 0 23px;
}

.mphb_sc_search-form label {
    display: block;
    margin: 0 0 9px;
    color: var(--monshel-reserve-ink) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .035em;
}

.mphb_sc_search-form label::first-letter {
    color: var(--monshel-reserve-brown);
}

.mphb_sc_search-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.mphb_sc_search-form select,
.mphb_sc_search-form textarea {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 12px 16px !important;
    color: var(--monshel-reserve-ink) !important;
    background-color: rgba(255, 255, 255, .9) !important;
    border: 1px solid #cbb9a5 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow:
        inset 0 1px 2px rgba(65, 45, 29, .04),
        0 3px 8px rgba(65, 45, 29, .035) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mphb_sc_search-form input:not([type="submit"]):not([type="button"]):focus,
.mphb_sc_search-form select:focus,
.mphb_sc_search-form textarea:focus {
    background-color: #fff !important;
    border-color: var(--monshel-reserve-brown) !important;
    box-shadow: 0 0 0 4px rgba(150, 101, 63, .14) !important;
}

.mphb_sc_search-form .mphb-required-fields-tip {
    color: var(--monshel-reserve-muted);
    font-size: 13px;
}

.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper,
.mphb_sc_search-form .mphb-submit-button-wrapper,
.mphb_sc_search-form p:last-child {
    margin-top: 34px !important;
    margin-bottom: 0 !important;
    text-align: center;
}

.mphb_sc_search-form input[type="submit"],
.mphb_sc_search-form button[type="submit"],
.mphb_sc_search-form .button {
    width: min(100%, 320px) !important;
    min-width: 220px !important;
    min-height: 56px !important;
    padding: 14px 34px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #a47149, var(--monshel-reserve-brown-dark)) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 999px !important;
    box-shadow:
        0 12px 26px rgba(86, 57, 35, .27),
        inset 0 1px 0 rgba(255, 255, 255, .22) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    line-height: 1.4 !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.mphb_sc_search-form input[type="submit"]:hover,
.mphb_sc_search-form button[type="submit"]:hover,
.mphb_sc_search-form .button:hover {
    color: #fff !important;
    filter: brightness(.96);
    transform: translateY(-2px);
    box-shadow:
        0 16px 32px rgba(86, 57, 35, .32),
        inset 0 1px 0 rgba(255, 255, 255, .22) !important;
}

/* 人数・愛犬欄の間隔を整えます。 */
.mphb_sc_search-form [class*="adults"],
.mphb_sc_search-form [class*="children"],
.mphb_sc_search-form [class*="child"],
.mphb_sc_search-form [class*="dog"] {
    box-sizing: border-box;
}

/* フォーム直前の案内文。 */
.entry-content > p:has(+ .mphb_sc_search-form),
.entry-content > p:has(+ form.mphb_sc_search-form) {
    margin: 0 auto -9px;
    color: #65584d;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 15px;
    letter-spacing: .04em;
    text-align: center;
}

@media (max-width: 782px) {
    form.mphb_sc_search-form,
    .mphb_sc_search-form {
        width: calc(100% - 20px);
        margin-top: 22px !important;
        padding: 34px 22px 38px !important;
        border-radius: 20px !important;
    }

    form.mphb_sc_search-form::before,
    .mphb_sc_search-form::before {
        font-size: 10px;
        letter-spacing: .15em;
    }

    form.mphb_sc_search-form::after,
    .mphb_sc_search-form::after {
        margin-bottom: 25px;
    }

    .mphb_sc_search-form p {
        margin-bottom: 18px;
    }

    .mphb_sc_search-form input[type="submit"],
    .mphb_sc_search-form button[type="submit"],
    .mphb_sc_search-form .button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mphb_sc_search-form input,
    .mphb_sc_search-form select,
    .mphb_sc_search-form textarea,
    .mphb_sc_search-form button {
        transition: none;
    }
}

/* 予約完了：木目に映える「宿から届く手紙」 */
body.monshel-booking-confirmation-page .entry-content {
    position: relative;
    box-sizing: border-box;
    width: min(780px, calc(100% - 32px));
    margin: 34px auto 70px !important;
    padding: 66px 70px 62px !important;
    overflow: hidden;
    border: 1px solid rgba(150, 101, 63, .32);
    border-radius: 10px !important;
    color: #35291f;
    background:
        linear-gradient(rgba(255, 253, 247, .96), rgba(251, 246, 236, .97)),
        repeating-linear-gradient(0deg, transparent 0 4px, rgba(150, 101, 63, .025) 5px);
    box-shadow:
        0 24px 58px rgba(54, 35, 23, .25),
        inset 0 0 0 7px rgba(255, 255, 255, .48);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    text-align: center;
}

body.monshel-booking-confirmation-page .entry-content::before {
    content: "✓";
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 27px;
    border: 1px solid rgba(150, 101, 63, .72);
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: #96653f;
    box-shadow: 0 8px 20px rgba(93, 61, 40, .22);
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1;
}

body.monshel-booking-confirmation-page .entry-content::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 17px;
    bottom: 17px;
    left: 17px;
    border: 1px solid rgba(197, 155, 98, .34);
    border-radius: 5px;
    pointer-events: none;
}

body.monshel-booking-confirmation-page .entry-content > :first-child::before {
    content: "DOG RESORT MONSHEL";
    display: block;
    margin-bottom: 13px;
    color: #8a633f;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
}

body.monshel-booking-confirmation-page .entry-content > :first-child {
    position: relative;
    margin: 0 0 28px !important;
    color: #35291f;
    font-size: clamp(22px, 3vw, 29px) !important;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.55;
}

body.monshel-booking-confirmation-page .entry-content > :first-child::after {
    content: "";
    display: block;
    width: 54px;
    height: 1px;
    margin: 20px auto 0;
    background: #c59b62;
}

body.monshel-booking-confirmation-page .entry-content p {
    position: relative;
    z-index: 1;
    max-width: 530px;
    margin: 0 auto 21px !important;
    color: #504237;
    font-size: 16px;
    letter-spacing: .055em;
    line-height: 2;
}

body.monshel-booking-confirmation-page .entry-content a {
    color: #7d522f;
    text-underline-offset: 4px;
}

@media (max-width: 782px) {
    body.monshel-booking-confirmation-page .entry-content {
        width: calc(100% - 24px);
        margin: 22px auto 44px !important;
        padding: 46px 25px 40px !important;
        border-radius: 8px !important;
    }

    body.monshel-booking-confirmation-page .entry-content::before {
        width: 58px;
        height: 58px;
        margin-bottom: 22px;
        font-size: 29px;
    }

    body.monshel-booking-confirmation-page .entry-content::after {
        top: 11px;
        right: 11px;
        bottom: 11px;
        left: 11px;
    }

    body.monshel-booking-confirmation-page .entry-content p {
        font-size: 15px;
        line-height: 1.9;
    }
}
/*
 * MotoPress calendar: keep the month and year selectors readable.
 * Some theme form styles otherwise turn these controls into blank white boxes.
 */
.datepick-month-header {
    white-space: nowrap !important;
}

.datepick-month-header select,
.mphb-calendar .datepick-month-header select,
.mphb-datepick-popup .datepick-month-header select,
.datepick-popup .datepick-month-header select {
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    min-width: 64px !important;
    max-width: 110px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 2px !important;
    padding: 1px 20px 1px 6px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background-color: #666 !important;
    border: 1px solid #888 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    opacity: 1 !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
}

.datepick-month-header select option {
    color: #222 !important;
    -webkit-text-fill-color: #222 !important;
    background: #fff !important;
}
