@import url("global.css");

/* ============================================================
   1. 基本設定・共通パーツ
   ============================================================ */
:root {
    --main-red: #ca0000;
    --dark-red: #800000;
    --text-gray: #333;
    --bg-white: #ffffff;
}

/* 既存システムの非表示設定 */
#header, .footer_wrap, #pagetop a, .is-scroll .fix_sns {
    display: none;
}

.baby-event-container {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    /* 背景グラデーション（ベースアレンジ） */    
	background-image: linear-gradient(180deg, #c5eded, #42bfba);
    padding-bottom: 100px; /* 追従ボタン用余白 */
}

/* ============================================================
   2. ヘッダー・ナビゲーション
   ============================================================ */
.top-img {
    background-color: var(--bg-white);
    text-align: center;
}
.top-img img {
    max-width: 1000px;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.fix-nav {
    background-color: #f167a7;
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: -5px 0 10px rgba(0,0,0,0.2);
}

.fix-nav nav ul {
    display: flex;
    max-width: 1000px;
    width: 90%;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: fit-content;
}

.fix-nav nav ul li {
    width: 19%; /* 5項目均等用 */
    border-right: 1px solid #fff;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.fix-nav nav ul li:last-child {
    border-right: none;
}

/* ナビ下の矢印装飾 */
.fix-nav nav ul li::after {
    width: 7px;
    height: 7px;
    position: absolute;
    content: "";
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    right: 0; left: 0; margin: auto;
    bottom: 0;
}

.fix-nav nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    display: block;
}

/* ============================================================
   3. 白背景エリア・セクション
   ============================================================ */
.whitearea {
    max-width: 1000px;
    width: 90%;
    margin: 60px auto;
    background-color: var(--bg-white);
    padding: 60px 40px;
    box-sizing: border-box;
    border-radius: 15px;
    border: 2px solid var(--sub-green);
}

h2 {
    max-width: 400px;
    margin: 0 auto 40px;
    text-align: center;
}
h2 img {
    max-width: 100%;
    height: auto;
}

/* 見出しボックス */
h3 {
    background: var(--main-green);
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    padding: 15px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 0 #9db652;
    background-color: #abcf3a;
}

.detail-left li {
    text-align: left;
    font-size: smaller;
	margin: 1em;
}

.privacy-policy  p {
    text-align: left;
    font-size: smaller;
	margin: 1em;
}
.privacy-policy  li {
    text-align: left;
}


.whitearea ul li p{
    margin-bottom: 0.6em;
    display: list-item;
    font-size: medium;
}


.whitearea ul li p span{
	text-align: center;
	border: 1px solid #000;
    border-radius: 6px;
    font-size: smaller;
}

/* 安心の設備専用のスタイル */
.facility-flex {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    text-align: center;
}

.facility-item {
    flex: 1;
    background: #fdfdfd;
    padding: 15px 5px;
    border-radius: 10px;
    border: 1px dashed var(--sub-green); /* 柔らかい印象の点線 */
}

.facility-item .icon {
    font-size: 2.5rem; /* アイコンの大きさ */
    margin-bottom: 10px;
    display: block;
}

.facility-item p {
    font-size: 0.65rem !important; /* 文字を少し小さくして収まりを良く */
    line-height: 1.4 !important;
    margin: 0 !important;
    font-weight: bold;
    color: #555;
    text-align: center !important;
}


/* ============================================================
   4. コンテンツパーツ (詳細・グループ・表)
   ============================================================ */

/* イベント詳細 (DLスタイル) */
.detail dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.detail dl dt {
    background-image: linear-gradient(180deg, #abcf3a, #abcf3a);
    width: 25%;
    font-weight: bold;
    color: #fff;
    display: grid;
    place-items: center;
    padding: 1em;
    box-sizing: border-box;
}

.detail dl dd {
    width: 75%;
    border-bottom: 1px solid #abcf3a;
    border-right: 1px solid #abcf3a;
    padding: 2em;
    box-sizing: border-box;
}

.detail dl dd p span {
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    padding: 2px 10px;
    margin-right: 10px;
    font-weight: bold;
}

/* フォト・講師紹介ボックス */
.group-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.group-box {    
	border: 2px solid #abcf3a;
    padding: 30px 20px;
    width: 48.5%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.group-box h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
    padding: 5px;
}

/* フォトグラファー名の調整 */
.group-box ul li {
    text-align: center;
}

.photographer-list li .name {
    font-size: 0.95em;
    line-height: 1.4;
    margin: 0px 0 10px;
    min-height: 3em; /* 名前の高さを揃える */
}
.photographer-list li .name span {
    font-size: 0.65em;
    color: #161515;
    font-weight: normal;
    /* margin-top: 1px; */
    padding: 0.25rem;
    margin-right: 0px;
}

/* ベビマ・講師紹介ボックス */

.info-box p {
    padding: 1em 0em 2em;
    text-align: center;
}

.lecturer h3 {
    font-size: 1.1em;
    margin-bottom: 0px;
    padding: 5px;
}

.lecturer ul li {
    text-align: center;
}
/* Instagramボタン */
.insta-btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    transition: opacity 0.3s;
}

.insta-btn:hover {
    opacity: 0.8;
}

.photographer-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.photographer-list li {
    text-align: center;
    font-weight: bold;
}

.photographer-list img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.calendar-title {
    box-shadow: 0 4px 0 #fff;
    color: #f4891f;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px;
    text-align: center;
    margin: 30px auto 14px;
    border-radius: 8px;
    background-color: #fff;
    border: solid 1px #f4891f;
}
.calendar-note {
    font-size: smaller;
    margin: 10px;
}
.calendar-container {
    margin-top: 3em;
}

/* カレンダーテーブル */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    background-color: #f4891f;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    border: 1px solid #fff;
}

.calendar-table td {
    border: 1px solid #f4891f;
    padding: 15px;
    text-align: center;
}

.status { font-weight: bold; font-size: 1.2em; }
.status.ok { color: #9d9c9c; }
.status.few { color: #f39c12; }
.status.full { color: #e74c3c; }

.ok-txt { color: #9d9c9c; }
.few-txt { color: #f39c12; }
.full-txt { color: #e74c3c; }


/* FAQ (アコーディオン) 最新版 */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.faq-check { display: none; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: #fff; font-weight: bold; cursor: pointer; }
.faq-question::before { content: "Q"; color: #f4891f; font-size: 1.2em; margin-right: 15px; }
.faq-question::after { content: "+"; color: #ccc; font-size: 1.2em; transition: 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa; }
.faq-answer p { padding: 20px; margin: 0; border-top: 1px solid #eee; display: flex; line-height: 1.6; }
.faq-answer p::before { content: "A"; color: #666; font-weight: bold; margin-right: 15px; }

/* 開閉時の挙動（チェックが入った時のスタイル） */
.faq-check:checked ~ .faq-answer { max-height: 500px; }
.faq-check:checked ~ .faq-question::after { content: "-"; color: #ccc; }

/* 等身大モデルハウスカード */
.house-flex { display: flex; gap: 20px; margin-top: 20px; }
.house-card { flex: 1; background: #fff; padding: 15px; border: 1px solid #eee; }
.house-card img { width: 90%; height: auto; object-fit: cover; }

.house-card h4 {
	font-size: 1.5em;
    font-weight: 900;
    margin: 0.5em;
}

/* 上棟体験セクション専用 */
#joto-experience .highlight-text {
    color: var(--main-green);
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 20px;
    background: #fdfdfd;
    padding: 10px;
    border: 1px solid var(--sub-green);
    border-radius: 5px;
}

/* 注意事項ボックス（少し控えめなデザイン） */
.caution-box {
    border: 1px solid #ddd !important;
    background: #f9f9f9 !important;
}
.caution-box dt {
    background: #999 !important; /* 注意事項はグレー系で */
    font-size: 1em !important;
}
.caution-box dd p {
    font-size: 0.9em !important;
    color: #666 !important;
}

/* ============================================================
   お知らせセクション (NEWS)
   ============================================================ */
/* セクション内のリスト構造 */
.news-list {
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 日付とカテゴリラベル */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
}

.news-label {
    background-color: #f4891f; /* オレンジ色 */
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: bold;
}

.news-label.important {
    background-color: #e74c3c; /* 重要時は赤色 */
}

/* 本文テキスト */
.news-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}
/* お知らせ内のリンクデザイン */
.news-content p a {
    color: #f4891f; /* テーマのオレンジ色 */
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 5px 10px;
    background-color: #fff9f2; /* 非常に薄いオレンジの背景でボタン感を出す */
    border-radius: 4px;
    transition: all 0.3s;
}

/* リンクにマウスを乗せた時（ホバー）の演出 */
.news-content p a:hover {
    background-color: #f4891f;
    color: #fff !important;
    transform: translateY(-2px); /* 少し浮き上がる */
    box-shadow: 0 4px 10px rgba(244, 137, 31, 0.3);
}

/* リンクの後に「右矢印」を自動付与 */
.news-content p a::after {
    content: ">>";
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s;
}

.news-content p a:hover::after {
    transform: translateX(4px); /* ホバー時に矢印が少し右に動く */
}

/* 重要ラベルがある行のリンク色を調整（任意） */
.news-item:has(.important) .news-content p a {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    background-color: #fff5f5;
}
.news-item:has(.important) .news-content p a:hover {
    background-color: #e74c3c;
}

/* ------------------------------------------------------------
   アコーディオン（もっと見る）機能
   ------------------------------------------------------------ */
.news-check {
    display: none; /* 隠しチェックボックス */
}

/* 過去のお知らせエリア（初期は非表示） */
.news-archive {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

/* チェック時にエリアを展開 */
.news-check:checked ~ .news-archive {
    max-height: 1000px; /* 記事数に合わせて調整 */
}

/* ------------------------------------------------------------
   開閉ボタンのデザイン
   ------------------------------------------------------------ */
.news-btn-area {
    text-align: center;
    margin-top: 25px;
}

.news-more-btn {
    display: inline-block;
    border: 2px solid #f4891f;
    color: #f4891f;
    padding: 10px 50px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.news-more-btn:hover {
    background-color: #f4891f;
    color: #fff;
}

/* ボタンテキストの切り替え表示 */
.news-more-btn .btn-text-close { display: none; }
.news-check:checked ~ .news-btn-area .btn-text-open { display: none; }
.news-check:checked ~ .news-btn-area .btn-text-close { display: inline; }


/* ============================================================
   5. フッター・予約・レスポンシブ
   ============================================================ */

/* 追従予約ボタン */
.fixed-reserve-btn { 
    background: #f167a7;
    color: #fff !important;
    text-align: center;
    padding: 20px 80px;
    /* font-size: 1.4em; */
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    border-radius: 1em;
    display: inline-block;
}

.caution { font-size: 12px; padding: 20px; color: #666; background: #eee; margin-top: 40px; }

/* ============================================================
   会場
   ============================================================ */
.parking-info {
	display: flex;
}

.parking-img {
	width: 90%;
}

.parking-text {
	padding: 2em;
    text-align: left;
}
/* ============================================================
   出店
   ============================================================ */
.fp_box_02{
	padding: 75px;
	max-width: 1000px;
	width: 90%;
	margin: 0 auto 75px;
	border-radius: 20px;
	display: block;
	box-sizing: border-box;
}
.fp_box_02 > figure {
    margin: 0 auto 50px;
    max-width: 350px;
}
.marche ul,
.kitchencar ul
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.marche ul li,
.kitchencar ul li{
    width: 23%;
    margin: 0 0 75px;
	position: relative;
}

.marche ul li a,
.kitchencar ul li a {
    width: 50%;
    max-width: 100px;
    position: absolute;
    bottom: -3em;
    left: 0;
    right: 0;
    margin: auto;
}

.marche ul li img,
.kitchencar ul li img{
    margin: 0 0 10px;
}

.marche ul li p,
.kitchencar ul li p {
    line-height: 1.4em;
}

.marche ul li > span,
.kitchencar ul li > span {
    font-size: .8em;
    line-height: 1.4em;
    display: block;
    letter-spacing: 0;
}

.marche ul li p img,
.kitchencar ul li p img {
    max-width: 100px;
    width: 90%;
    margin: 10px 0 0;
}

span.dayofweek {
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
    display: flex;
}

span.dayofweek img {
    width: 30px;
    padding: 3px 0 0 3px;
}

/* ------------------------------------------------------------
   レスポンシブ対応（PCでの横並び設定）
   ------------------------------------------------------------ */
@media (min-width: 769px) {
    .news-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 25px 10px;
    }
    .news-meta {
        flex: 0 0 200px;
    }
    .news-content {
        flex: 1;
    }
	.fp_box_02 {
    padding: 30px;
	}
	.fp_box_02 > figure {
    margin: 0 auto 30px;
	}
	.marche ul li,
	.kitchencar ul li {
    width: 30%;
	}
	.color_white {
    padding: 30px;
	}
}

/* レスポンシブ (644px基準) */
@media only screen and (max-width: 644px) {
    .whitearea {
        padding: 50px 5%;
        margin: 50px auto;
    }
    
    .detail dl dt, .detail dl dd {
        width: 100%;
    }
    
    .detail dl dd {
        border-left: 1px solid #abcf3b;
    }

    .group-box {
        width: 100%;
    }

    .fix-nav {
        height: 80px;
    }

    .fix-nav nav ul li::after {
        content: none;
    }

    .fix-nav nav ul li a {
        font-size: 0.75em;
    }

    .house-flex {
        flex-direction: column;
    }
	/* 安心の設備専用のスタイル */
	/* スマホ表示では縦並びか、2カラムにする */
	.facility-item {
    padding: 0px 0px;
	}
	.facility-item p {
    font-size: 0.55rem !important;
	}
    .facility-flex {
        flex-wrap: wrap;
    	gap: 2px;
    }
    .facility-item {
        margin-bottom: 10px;
    }
	/* フォトグラファー名の調整 */
	/* スマホでは横並びだとボタンが窮屈になる可能性があるので調整 */
    .photographer-list {
        /* flex-direction: column; */
        gap: 20px;
    }
    .photographer-list li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
.parking-info {
	display: block;
}

.parking-img {
	width: 100%;
}
	
.fp_box_02 {
    padding: 15px;
	}
	.fp_box_02 > figure {
    width: 70%;
	margin: 10px auto 20px;
}
.marche ul li,
.kitchencar ul li {
    width: 48%;
}

.color_white {
    border-radius: 10px;
    padding: 75px;
    position: relative;
	box-sizing: border-box;
}

.color_white .icon {
	width: 100px;
	margin: 20px 0 0;
	border-radius: 3px;
	padding: 0 10px;
    font-weight: bold;
    display: inline-block;
    font-size: .8em;
    width: fit-content;
	border: 2px solid #c42d3a;
}

.color_white .icon.muryo {
    background-color: #c42d3a;
	color: #fff;
}

.color_white .icon.yoyaku {
    border-radius: 3px;
    color: #c42d3a;
}
.color_white {
    padding: 30px 15px;
}
}