@charset "UTF-8";

/* =========================================
   Dream Project Specific Styles
   ========================================= */

/* 変数定義 */
:root {
    --text-color-primary: #555448;
    --green-color-primary: #60AF95;
    --yellow-color-primary: #fcf82a;
    --bg-color-cream: #FEFBEB;
    --font-gothic: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
    --font-rounded: "Zen Maru Gothic", serif;
    --font-hand: "Caveat", cursive;
}

/* 全体設定 */
.p-dream-body {
    font-family: var(--font-rounded);
    color: var(--text-color-primary);
    line-height: 1.8;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Utilities */
.p-dream-body .mt16 { margin-top: 16px; }
.p-dream-body .mt32 { margin-top: 32px; }
.p-dream-body .bold { font-weight: 700; }
.p-dream-body .text-center { text-align: center; }

.u-highlight-yellow {
    background: linear-gradient(transparent 60%, rgba(252, 248, 42, 0.8) 60%);
    padding: 0 4px;
}

.c-wave-bottom, .c-wave-top {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.c-wave-bottom { bottom: 0; }
.c-wave-top { top: -1px; transform: rotate(180deg); }

.c-wave-bottom svg, .c-wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}
.c-wave-bottom .shape-fill, .c-wave-top .shape-fill { fill: #ffffff; }

/* FV (Layout Changed: Text Above Slider) */
.p-dream-fv {
    background-color: var(--yellow-color-primary);
    position: relative;
    overflow: hidden;
    padding: 60px 0 100px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M20 22l-2 6-2-6-6-2 6-2 2-6 2 6 6 2-6 2z'/%3E%3C/g%3E%3C/svg%3E");
    /* コンテンツを縦に並べる */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* テキストとスライダーの間隔 */
}

/* FV内のテキストコンテンツ（スライダーの上に配置） */
.p-dream-fv__content { 
    position: relative; 
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.p-dream-fv__text {
    font-weight: 850; /* より太く */
    color: var(--text-color-primary);
    line-height: 2;
    font-size: clamp(1.2rem, 3vw, 1.8rem); /* 少し大きく */
    /* 背景ボックスを削除し、テキスト自体を強調 */
    background: none; 
    padding: 0;
    box-shadow: none;
    text-shadow: 2px 2px 0 #fff; /* 白縁取りで読みやすく */
}

.p-dream-fv__label {
    color: red;
    line-height: 2;
    font-size: clamp(1.2rem, 3vw, 0.8rem); 
    /* 背景ボックスを削除し、テキスト自体を強調 */
    background: none; 
    padding: 0;
    box-shadow: none;
    text-shadow: 2px 2px 0 #fff; /* 白縁取りで読みやすく */
}

/* スライダーエリア（通常フローに戻す） */
.p-dream-fv__slider {
    position: relative; /* absoluteからrelativeへ変更 */
    width: 100%;
    height: 280px;
    z-index: 1;
    margin-top: 20px;
    transform: rotate(-1deg); /* 全体を少し傾けてポップに */
}

/* トラック */
.p-dream-fv__slider-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

/* スライド画像 */
.p-dream-fv__slide {
    width: 320px;
    height: 180px;
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
    border: 5px solid #fff;
}
/* 傾きのバリエーション */
.p-dream-fv__slide:nth-child(odd) { transform: rotate(1deg); }
.p-dream-fv__slide:nth-child(even) { transform: rotate(-1deg); }

.p-dream-fv__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.p-dream-fv__cloud {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
}

/* Concept Section */
.p-dream-concept {
    padding: 80px 0;
    background: #fff;
}

.p-dream-heading-wrap {
    text-align: center;
    margin-bottom: 60px;
}
.p-dream-heading {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.5;
    color: var(--green-color-primary);
    position: relative;
    display: inline-block;
    font-weight: 900;
}

.p-dream-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.p-dream-layout:nth-child(even) {
    flex-direction: row-reverse;
}
.p-dream-layout__img {
    flex: 1;
    position: relative;
}
.p-dream-layout__img img {
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    transform: rotate(-2deg);
    width: 100%;
}
.p-dream-layout__img::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: rgba(252, 248, 42, 0.6);
    z-index: 2;
    opacity: 0.8;
}
.p-dream-layout__text {
    flex: 1;
}
.p-dream-layout__text p {
    font-family: var(--font-gothic);
    text-align: justify;
    margin-bottom: 1.5em;
}

.p-dream-quote-box {
    background: var(--bg-color-cream);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    margin: 20px 0;
}
.p-dream-quote-box::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: #FAB661;
    font-family: serif;
    line-height: 1;
}
.p-dream-quote-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #555;
}

.p-dream-message {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #fcfcfc;
    border: 3px dashed var(--green-color-primary);
    border-radius: 20px;
}
.p-dream-message__lead {
    font-size: 1.4rem;
    color: var(--green-color-primary);
    font-weight: 900;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .p-dream-fv__slider { height: 200px; margin-top: 30px; }
    .p-dream-fv__slide { width: 200px; height: 140px; }
    .p-dream-layout, .p-dream-layout:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    .p-dream-layout__img { width: 100%; padding: 0 20px; }
    .p-dream-message { padding: 20px; }
}


/* Archive (Reports) */
.p-dream-archive { 
    background: var(--bg-color-cream); 
    padding: 80px 0 100px; 
    position: relative;
}

.p-dream-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.c-card-dream {
    background: #fff;
    padding: 15px 15px 25px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color-primary);
    position: relative;
    border-radius: 4px;
}
.c-card-dream:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
}
.c-card-dream:nth-child(3n+1) { transform: rotate(-1.5deg); }
.c-card-dream:nth-child(3n+2) { transform: rotate(1.5deg); }
.c-card-dream:nth-child(3n+3) { transform: rotate(-0.5deg); }

.c-card-dream__img {
    width: 100%; 
    aspect-ratio: 4/3; 
    overflow: hidden;
    background: #f4f4f4; 
    margin-bottom: 15px; 
    position: relative;
    border: 1px solid #eee;
}
.c-card-dream__img img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.5s;
}
.c-card-dream:hover .c-card-dream__img img {
    transform: scale(1.1);
}

.c-card-dream__badge {
    position: absolute; top: 10px; left: -5px;
    background: #ff5252; color: #fff; font-size: 12px; font-weight: bold;
    padding: 4px 12px; 
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    font-family: var(--font-gothic);
}
.c-card-dream__badge::before {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    border-top: 5px solid #cc0000;
    border-left: 5px solid transparent;
}

.c-card-dream__meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; font-size: 0.85rem; color: #888;
}
.c-card-dream__cat {
    background: #eee; color: #666; padding: 4px 10px;
    border-radius: 4px; font-size: 0.75rem; font-weight: bold;
    font-family: var(--font-gothic);
}
.c-card-dream__date {
    font-family: var(--font-gothic);
    font-size: 0.8rem;
}

.c-card-dream__title {
    font-size: 1.1rem; font-weight: bold; line-height: 1.6; margin-bottom: auto;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    border-bottom: 2px dotted #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.c-card-dream__loc {
    font-size: 0.85rem; color: var(--green-color-primary);
    display: flex; align-items: center;
    font-family: var(--font-gothic);
}
.c-card-dream__loc .dashicons { margin-right: 4px; }


/* CTA */
.p-dream-cta { 
    text-align: center; 
    padding: 100px 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2360af95' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") #fff;
}

.c-button-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--green-color-primary); 
    color: #fff;
    padding: 20px 60px; border-radius: 50px; 
    font-weight: 900; 
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 0 #3e7a66;
    transform: translateY(0);
}
.c-button-cta:hover { 
    opacity: 1;
    transform: translateY(3px);
    box-shadow: 0 2px 0 #3e7a66;
}


/* -------------------------------------------
   Single Page Styles (詳細ページ用)
   ------------------------------------------- */

.p-dream-single {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    padding-bottom: 80px;
}

.p-dream-single__header {
    background: var(--bg-color-cream);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}
.p-dream-single__header::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M20 22l-2 6-2-6-6-2 6-2 2-6 2 6 6 2-6 2z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}


.p-dream-article {
    max-width: 880px;
    padding: 60px;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
}

.p-dream-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.p-dream-facility-tag {
    background: var(--green-color-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: opacity 0.3s;
}
.p-dream-facility-tag:hover {
    opacity: 0.8;
    color: #fff;
}

.p-dream-date {
    color: #888;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    font-weight: bold;
}

.p-dream-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--text-color-primary);
}
.p-dream-title::after {
    content: ""; display: block; width: 60px; height: 4px;
    background: var(--yellow-color-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.p-dream-thumbnail {
    margin-bottom: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.p-dream-thumbnail img { width: 100%; display: block; }

.entry-content p { margin-bottom: 2em; text-align: justify; }
.entry-content h2 {
    font-size: 1.5rem;
    color: var(--green-color-primary);
    border-bottom: 2px solid var(--green-color-primary);
    padding-bottom: 10px;
    margin: 60px 0 30px;
}
.entry-content h3 {
    font-size: 1.3rem;
    border-left: 5px solid var(--yellow-color-primary);
    padding-left: 15px;
    margin: 40px 0 20px;
}
.entry-content img { border-radius: 8px; margin: 20px 0; max-width: 100%; height: auto; }

.p-dream-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 40px 0;
}
.p-dream-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}
.p-dream-gallery img:hover { transform: scale(1.05); }

.p-dream-staff-comment {
    background: var(--bg-color-cream);
    border: 2px dashed #e4dccb;
    border-radius: 16px;
    padding: 30px;
    margin-top: 60px;
    text-align: left;
}

.p-dream-staff-title {
    font-weight: 900; 
    color: var(--green-color-primary);
    margin-bottom: 15px; 
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
}
.p-dream-staff-title .dashicons {
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    color: #FAB661; /* 黄色いアイコンでアクセント */
}

.p-dream-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}
.p-dream-nav__link {
    display: flex; align-items: center; gap: 10px;
    font-weight: bold; font-size: 0.9rem;
    color: #888;
}
.p-dream-nav__link:hover { color: var(--green-color-primary); }
.p-dream-btn-back {
    background: #f4f4f4; padding: 10px 30px; border-radius: 30px;
    font-weight: bold; font-size: 0.9rem;
    color: var(--text-color-primary);
}
.p-dream-btn-back:hover { background: #e0e0e0; }

.p-dream-cta-section {
    background: #fff;
    border-top: 4px solid var(--yellow-color-primary);
    padding: 80px 0;
    text-align: center;
    margin-top: 100px;
}

.p-dream-cta-section .c-section-title::after {
    display: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
    /* Common */
    .p-dream-fv__slider { height: 200px; margin-top: 30px; }
    .p-dream-fv__slide { width: 200px; height: 140px; }
    .p-dream-layout, .p-dream-layout:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    .p-dream-layout__img { width: 100%; padding: 0 20px; }
    .p-dream-message { padding: 20px; }

    /* Single */
    .p-dream-article { padding: 30px 20px; margin-top: -20px; width: auto; margin-left: 15px; margin-right: 15px; }
    .p-dream-title { font-size: 1.4rem; }
    .p-dream-nav { flex-direction: column; gap: 20px; align-items: center; }
}