/*
Theme Name: lightning-child
Template: lightning
*/

/* --- グローバル変数 & フォント設定 --- */
:root {
    --ver_page_top_button_url: url(https://heian-c.com/wp-content/plugins/vk-all-in-one-expansion-unit/assets/images/to-top-btn-icon.svg); 
    --vk-color-primary: #fff;
}

body {
    font-family: Hiragino Mincho ProN, "游明朝", serif;
    background-color: #ffffff !important;
    color: #333; 
}

/* =========================================
   デザイン切り替え用スタイル（URLパラメータ連動）
   ========================================= */
header.site-header {
    color: #fff;
}
/* メニューやアイコンの文字色を白に */
.global-nav-list > li > a,
.site-header-logo a,
.vk-mobile-nav-button {
    color: #fff !important;
}
/* ヘッダーロゴ画像を白く反転 */
header.site-header .site-header-logo img {
    filter: brightness(0) invert(1);
	max-height: 36px;
}

/* --- 2. フッター紺色モード（navynavy の時のみ） --- */
/* bodyに navy-footer-mode クラスがある時だけ適用 */
/* フッター内の文字色とリンク色 */
footer.site-footer,
footer.site-footer p,
footer.site-footer a {
}
/* フッターナビゲーションの区切り線を「薄い白」に変更 */
.footer-nav {
    border-color: rgba(255, 255, 255, 0.3) !important;
}
/* フッターロゴ画像を白く反転 */
footer.site-footer img {
    filter: brightness(0) invert(1);
}


/* --- 以下、コンテンツ用スタイル（変更なし） --- */

/* 共通ユーティリティ */
.alignwide, 
.alignwide:is(.vk_slider,.wp-block-image,.wp-block-cover-image,.wp-block-cover) {
    width: calc(100% + (var(--vk-width-full) - 100%) / 2);
    margin-left: calc((100% - var(--vk-width-full)) / 4);
    margin-right: calc((100% - var(--vk-width-full)) / 4);
    max-width: var(--vk-width-full);
    gap: 20px;
}

/* ページヘッダー（キービジュアル） */
.page-header-pet-hotel {
    background-image: url(https://heian-c.com/wp-content/themes/lightning-child/assets/images/pet-hotel_header.jpg);
    background-size: cover;
    background-position: center center;
    padding-top: 100px; 
    padding-bottom: 80px; 
    text-align: center; 
}
.page-header-pet-hotel .page-header-title {
    color: #FFFFFF;
    font-size: 3rem; 
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6); 
    font-family: 'Times New Roman', serif;
    line-height: 1.3; 
}
/* フォームページのタイトル文字サイズ調整 */
.page-template-page-pet-form-php .page-header-pet-hotel .page-header-title {
    font-size: 2.5rem;
}

/* ORUSUBAN STAY ページ */
.orusuban-stay-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8c7850; 
    text-align: center;
    margin-bottom: 30px;
    padding-top: 30px; 
}

/* 料金表 */
.orusuban-stay-price-list {
    max-width: 700px;
    margin: 0 auto; 
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    background: #fff; 
    color: #333; 
}
.orusuban-stay-price-list .price-item {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}
.orusuban-stay-price-list .price-item:last-child {
    border-bottom: none;
}

/* ほんわかボックス（オプション・環境・必須事項・Notice） */
.orusuban-stay-option-box,
.notice-box {
    background-color: #fdfcf8;
    border-radius: 12px;
    padding: 25px 30px;
    max-width: 700px;
    margin: auto;
}
.orusuban-stay-option-box h2.orusuban-stay-options,
.notice-box h2 {
    color: #8c7850; 
    margin-bottom: 25px;
    font-size: 1.8rem;
}
.orusuban-stay-option-box p,
.orusuban-stay-option-box strong,
.orusuban-stay-option-box span,
.orusuban-stay-option-box li,
.notice-box p,
.notice-box li {
    color: #333;
}

/* オプションリスト */
.option-item-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.option-item {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: flex-start; 
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
}
.option-item:last-child {
    border-bottom: none;
}
.option-item-name {
    flex-basis: 70%; 
}
.option-item-name strong {
    font-size: 1.15rem;
}
.option-item-description {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}
.option-item-price {
    flex-basis: 25%; 
    text-align: right;
}
.option-item-price strong {
    font-size: 1.2rem;
    color: #000836; 
}
@media (max-width: 576px) {
    .option-item-name { flex-basis: 100%; margin-bottom: 10px; }
    .option-item-price { flex-basis: 100%; }
}

/* カバーセクション */
.cover-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    padding: 60px 20px; 
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box; 
}
.cover-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: 1;
}
.cover-section > * {
    position: relative;
    z-index: 2;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}
.cover-section-price {
    background-image: url(https://heian-c.com/wp-content/themes/lightning-child/assets/images/orusuban_stay.jpg);
}
.cover-section-option {
    background-image: url(https://heian-c.com/wp-content/themes/lightning-child/assets/images/orusuban_option.jpg);
}
.cover-section h2 {
    color: #333 !important; 
    text-shadow: none !important;
}
.cover-section .orusuban-stay-price-list,
.cover-section .orusuban-stay-option-box {
    background: rgba(255, 255, 255, 0.85); 
    border: none; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 0; 
    max-width: 700px;
}
.cover-section .orusuban-stay-price-list h2,
.cover-section .orusuban-stay-option-box h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}
.cover-section .orusuban-stay-price-list *,
.cover-section .orusuban-stay-option-box * {
    color: #333 !important;
}
.cover-section .orusuban-stay-price-list .price-item,
.cover-section .option-item {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
}
.cover-section .option-item-price strong {
    color: #000836 !important;
}

/* サービス・特徴 */
.service-section {
    padding-top: 30px; 
}
.wp-block-columns .wp-block-column {
    margin-bottom: 20px;
}
.wp-block-columns .wp-block-column .wp-block-image img {
    width: 100%;
    max-width: 86%;
    object-fit: cover; 
    border-radius: 10px; 
    margin: 0 auto 10px auto; 
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.service-section .wp-block-column h3.wp-block-heading {
    display: inline-block; 
    background: #41af3f;
	color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: bold;
	margin-top:0;
    margin-bottom: 15px;
}
.service-section .wp-block-column h3.wp-block-heading i {
    margin-right: 8px;
    color: #fff;
}

/* お預かり環境 & ご準備いただくもの */
.environment-box, 
.required-items-box {
    margin-top: 50px;
}
.environment-list,
.required-list {
    list-style: none;
    padding-left: 0;
}
.environment-list li,
.required-list li {
    margin-bottom: 15px;
}
.environment-list li strong {
    font-size: 1.15rem;
    display: block;
    margin-bottom: 5px;
}
.environment-list li p {
    margin: 0;
    padding-left: 1em; 
}
.required-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px; 
}
.required-column {
    flex: 1;
    min-width: 0; 
}
/* シンプルに実線の下線に変更 */
.required-items-box .required-column h3 {
    color: #333;
    font-size: 1.2rem;
    border-bottom: 2px solid #8c7850;
    padding-bottom: 5px;
    background: none;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    display: block; 
    position: relative;
}
.required-list {
    list-style-type: '✓ '; 
    padding-left: 1.5em;
}
@media (max-width: 576px) {
    .required-columns {
        flex-direction: column; 
    }
}

/* 決済方法 & お問い合わせボタン */
.payment-box {
    margin-top: 50px;
    padding-bottom: 30px;
}
.contact-message {
    display: block;
    width: fit-content;
    margin: 60px auto;
    font-weight: bold;
    font-size: 1.2rem;
    background-color: #fff;
    padding: 0;
    border: 1px dashed #8c7850;
    border-radius: 50px;
    box-shadow: 0 4px 0 rgba(140, 120, 80, 0.15);
    transition: all 0.3s;
    overflow: hidden;
}
.contact-message:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(140, 120, 80, 0.15);
    opacity: 1;
}
.contact-message a {
    color: #8c7850 !important;
    text-decoration: none !important;
    display: block;
    padding: 15px 40px;
}
.contact-message i {
    margin-right: 10px;
    color: #f5b1aa;
    font-size: 1.3rem;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/* フォトギャラリー */
.gallery-section {
    margin-top: 60px;
    margin-bottom: 60px;
}
.polaroid-gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    padding: 20px;
}
.polaroid-item {
    background-color: #fff;
    padding: 10px 10px 30px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 30%; 
    min-width: 250px; 
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s, z-index 0.3s;
    position: relative;
}
.polaroid-item img {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    border: 1px solid #eee;
    display: block;
}
.polaroid-item:nth-child(odd) {
    transform: rotate(-3deg);
}
.polaroid-item:nth-child(even) {
    transform: rotate(2deg);
    margin-top: 20px; 
}
.polaroid-item:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    z-index: 10; 
}
@media (max-width: 768px) {
    .polaroid-item { width: 45%; }
}
@media (max-width: 576px) {
    .polaroid-item {
        width: 90%; 
        transform: rotate(0deg) !important; 
        margin-top: 0 !important;
    }
}

/* --- 予約フォーム（Snow Monkey Forms） --- */
body.page-template-page-pet-form-php .entry-body {
    background: #fff;
    color: #333;
    padding: 40px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 800px;
}
body.page-template-page-pet-form-php .entry-body h3 {
    color: #333 !important;
    border-bottom: 2px solid #8c7850;
    padding-bottom: 5px;
}
.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__number  {
    background-color: #000836;
}
.smf-form h2 {
    margin-top: 2em;
    font-size: 1.5rem !important;
}
.smf-form h2 i {
    margin-right: 10px; 
    color: #000836;
}
.smf-form .smf-item__label {
    margin-top: 1em;
    margin-bottom: 0.3em;
}
.smf-form .smf-action {
    text-align: center;
}
.smf-form ::placeholder {
    color: #ccc;
}

/* フォーム確認画面 */
.snow-monkey-form[data-screen="confirm"] .smf-form {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.snow-monkey-form[data-screen="confirm"] .smf-item {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding: 0; 
    margin-bottom: 0; 
    align-items: stretch; 
}
.snow-monkey-form[data-screen="confirm"] .smf-item:last-child {
    border-bottom: none;
}
.snow-monkey-form[data-screen="confirm"] .smf-item__col--label {
    background-color: #fdfcf8; 
    width: 30%; 
    padding: 15px;
    display: flex;
    align-items: center; 
    font-weight: bold;
    color: #000836; 
    border-right: 1px solid #eee;
}
.snow-monkey-form[data-screen="confirm"] .smf-item__col--controls {
    width: 70%; 
    padding: 15px;
    display: flex;
    align-items: center;
    color: #333;
}
.snow-monkey-form[data-screen="confirm"] h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 0;
    border-left: none; 
    border-bottom: 2px solid #8c7850;
    padding-bottom: 10px;
    font-size: 1.4rem !important;
    color: #333 !important;
    line-height: 1.4;
}
.snow-monkey-form[data-screen="confirm"] h2:first-child {
    margin-top: 10px;
}
.snow-monkey-form[data-screen="confirm"] .smf-action {
    margin-top: 40px;
    gap: 20px; 
}
.snow-monkey-form[data-screen="confirm"] .smf-button-control__control[data-action="complete"] {
    background-color: #000836; 
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}
.snow-monkey-form[data-screen="confirm"] .smf-button-control__control[data-action="complete"]:hover {
    opacity: 0.8;
}
.snow-monkey-form[data-screen="confirm"] .smf-button-control__control[data-action="back"] {
    background-color: #e5e5e5;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
}
.smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__number {
    background-color: #000836;
    border-color: #000836;
    color: #fff;
}
.smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__text {
    font-weight: bold;
    color: #000836;
}
@media (max-width: 768px) {
    .snow-monkey-form[data-screen="confirm"] .smf-item {
        display: block; 
    }
    .snow-monkey-form[data-screen="confirm"] .smf-item__col--label {
        width: 100%;
        border-right: none;
        border-bottom: 1px dashed #eee;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .snow-monkey-form[data-screen="confirm"] .smf-item__col--controls {
        width: 100%;
        padding: 10px 15px 15px 15px;
    }
}

/* --- ページ固有のスタイルリセット --- */
/* 親テーマのH2ボーダー削除（pet-hotelのみ） */
body.page-template-pet-hotel-php .entry-body h2.wp-block-heading {
    border-top: none;
    border-bottom: none;
    padding: .5em 0; 
}
/* 親テーマのH3下線削除（pet-hotel / pet-form共通） */
body.page-template-pet-hotel-php .entry-body h3.wp-block-heading::after,
body.page-template-pet-hotel-php .entry-body .required-column h3::after,
body.page-template-page-pet-form-php .entry-body h3::after {
    content: none;
    border-bottom: none;
}
.pc_only { display: block; }
.sp_only { display: none; }
@media (max-width: 991.98px) {
	header.site-header {padding:12px;}
	.vk-mobile-nav-menu-btn {top:15px;}
	header.site-header .site-header-logo img {max-height:28px; }
	.pc_only { display: none; }
	.sp_only { display: block; }
}
.text-shadow{text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.4);}
.vk_post .vk_post_btn { background-color:#41af3f;}

/* オプションセクション */
.option-section {
    max-width: 900px;
    margin: 60px auto;
    color: #333;
}
.option-main-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.8rem;
    font-weight: bold;
}
.option-plan {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}
.option-text {
    flex: 1;
    min-width: 300px;
}
.option-media {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.option-title {
    background: none;
    border: none;
    border-bottom: 1px solid #41af3f;
    padding: 0 0 10px 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: bold;
    position: initial;
}
.option-req {
    color: #d9534f;
    font-size: 0.8em;
    margin-left: 10px;
}
.option-desc {
    margin-bottom: 15px;
    line-height: 1.8;
}
.option-price-desc {
    margin-bottom: 0;
    line-height: 1.8;
}
.option-price-desc p {
    margin-bottom: 8px;
}
.option-notes {
    margin-top: 15px;
    font-size: 0.9em;
    color: #555;
}
.option-box {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.option-box-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.option-list {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}
.option-note-ex {
    font-size: 0.9em;
    color: #666;
    margin-left: 1em;
}
.option-note-right {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 0;
    text-align: right;
    margin-top: 10px;
}
.option-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.option-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option-reserve-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #41af3f;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.option-reserve-btn i {
    position: absolute;
    right: 15px;
    font-size: 0.9em;
}
.option-reserve-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
@media (max-width: 767px) {
    .option-plan {
        gap: 20px;
    }
    .option-media {
        margin: 0 auto;
    }
}