@import url("global.css");

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

/* 既存システムの非表示設定 */
#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: center;
    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. コンテンツパーツ (詳細・グループ・表)
   ============================================================ */

.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;
}

/* ------------------------------------------------------------
   ★ 追加：抽選フロー（ステップ 1.2.3）のスタイル
   ------------------------------------------------------------ */
.lottery-flow {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.lottery-flow > li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.lottery-flow > li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.flow-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.flow-num {
    background-color: #f167a7;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85em;
    margin-right: 8px;
    flex-shrink: 0;
}

.flow-title {
    font-weight: bold;
    font-size: 1em;
    color: #333;
}

.flow-body {
    padding-left: 30px;
    font-size: 0.95em;
    line-height: 1.5;
}

.flow-note {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
}

/* フォト・講師紹介ボックス */
.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;
    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;
}

.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;
}

/* ============================================================
   5. お知らせセクション (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; }

/* ============================================================
   6. フッター・予約・レスポンシブ
   ============================================================ */
.fixed-reserve-btn { 
    background: #f167a7;
    color: #fff !important;
    text-align: center;
    padding: 20px 80px;
    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;
}

/* ------------------------------------------------------------
   レスポンシブ対応
   ------------------------------------------------------------ */
@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; }
}

@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; }

    /* ★ 追加：スマホ表示時の抽選フロー余白調整 ★ */
    .detail dl dd { padding: 1.2em; }
    .flow-body { padding-left: 26px; }

    .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; }
    .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 { 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: 30px 15px;
        position: relative;
        box-sizing: border-box;
    }

    .color_white .icon {
        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; }
}
/* ----------------------------------
   抽選フローデザイン
---------------------------------- */
.lottery-flow-container {
    background-color: #fcf8f2;
    border: 2px solid #e8dec8;
    border-radius: 12px;
    padding: 24px 16px;
    margin: 30px auto;
    max-width: 800px;
}
.flow-title {
    text-align: center;
    font-size: 1.3rem;
    color: #4a3e3d;
    margin-bottom: 8px;
}
.flow-lead {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 768px) {
    .flow-steps {
        flex-direction: row;
    }
}
.flow-step-card {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.step-header {
    background: #e88b00;
    color: #ffffff;
    padding: 8px 12px;
    text-align: center;
}
.step-num {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    display: block;
    opacity: 0.9;
}
.step-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
}
.step-body {
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.highlight-date {
    font-weight: bold;
    color: #d9534f;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.sub-text {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
.main-text {
    font-size: 0.85rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* ----------------------------------
   空き状況テーブル・ステータス装飾
---------------------------------- */
.status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}
.status.ok {
    background-color: #e6f4ea;
    color: #1e7e34;
}
.status.few {
    background-color: #fff3cd;
    color: #856404;
}
.status.ng {
    background-color: #f8d7da;
    color: #721c24;
}

.status-legend {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.status-legend .ok-txt { color: #1e7e34; }
.status-legend .few-txt { color: #856404; }
.status-legend .ng-txt { color: #721c24; }

.calendar-note {
    font-size: 0.82rem;
    color: #666;
    margin-top: 12px;
    line-height: 1.5;
}/* ----------------------------------
   カメラマン紹介（両日共通シンプルデザイン）
---------------------------------- */
.photographer-section {
    max-width: 800px;
    margin: 24px auto 32px;
    padding: 0 10px;
}

.photographer-header-tag {
    text-align: center;
    margin-bottom: 20px;
}

.photographer-header-tag span {
    display: inline-block;
    background-color: #63b3be;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 6px 20px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.photographer-list-simple {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 600px) {
    .photographer-list-simple {
        flex-direction: row;
        gap: 20px;
    }
}

.photographer-card {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fdfaf6;
    border: 1px solid #eae2d5;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.photo-img-wrap {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    margin-right: 16px;
}

.photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.photo-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.venue-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    color: #4a3e3d;
    background-color: #eae2d5;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.photographer-name {
    font-size: 1.05rem;
    font-weight: bold;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* 既存のinsta-btnスタイルが調整不要な場合はそのまま上書き配置されます */
.photo-info .insta-btn {
    font-size: 0.8rem;
    padding: 4px 12px;
}