:root {
    --custom-main-color: #E10080;
    --custom-main-color-dark: #B4006A; 
    --custom-main-color-light: #F8B4D4; 
    --custom-main-color-lighter: #FCEFF5; 
    --custom-main-shadow: rgba(225, 0, 128, 0.2);
}

html {
    scroll-behavior: smooth; 
}

body {
    background-color: #f8f4ff; 
    color: #333; 
    font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
    font-size: 16px; 
    line-height: 1.6; 
}

p, li, a, span, label, button, input, textarea {
    font-size: 1rem; 
}

.dream-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}
.dream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--custom-main-shadow);
}
.gradient-custom-main {
    background: linear-gradient(135deg, var(--custom-main-color) 0%, var(--custom-main-color-dark) 100%);
}
.interpretation-section {
    display: none;
}
.faq-answer {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer.open {
    display: block;
    max-height: 500px; 
    padding-top: 1.5rem; 
    padding-bottom: 1.5rem; 
}

select,
select option {
    font-size: 1rem !important; 
    line-height: 1.5 !important; 
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23E10080'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem; 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.result-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.result-card.show {
    opacity: 1;
    transform: translateY(0);
}

.text-custom-main { color: var(--custom-main-color) !important; }
.border-custom-main { border-color: var(--custom-main-color) !important; }
.focus-ring-custom-main:focus {
    --tw-ring-opacity: 1;
    --tw-ring-color: var(--custom-main-color) !important;
    box-shadow: 0 0 0 2px var(--tw-ring-color); 
}
.bg-custom-main-lighter { background-color: var(--custom-main-color-lighter) !important; }
.hover-bg-custom-main-light:hover { background-color: var(--custom-main-color-light) !important; }
.text-custom-main-dark { color: var(--custom-main-color-dark) !important; }
.border-custom-main-light { border-color: var(--custom-main-color-light) !important; }

.hamburger-menu {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--custom-main-color); 
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

@media (max-width: 767px) { 
    #nav-menu.open {
        display: block !important; 
        position: absolute;
        top: 100%; 
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem 0; 
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        z-index: 40; 
    }

    #nav-menu.open ul {
        flex-direction: column;
        align-items: center;
    }

    #nav-menu.open ul li {
        margin-bottom: 0; 
        width: 100%;
    }
    #nav-menu.open ul li a {
        display: block; 
        padding: 0.75rem 1rem; 
        text-align: center;
        border-bottom: 1px solid #f0f0f0; 
        font-size: 1rem; 
    }
    #nav-menu.open ul li:last-child a {
        border-bottom: none; 
    }
}

.breadcrumb {
    background-color: #f9f9f9;
    padding: 8px 16px;
}

.breadcrumb a {
    color: var(--custom-main-color);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

header.bg-white {
    background-color: white;
}

.reservation-btn {
    font-weight: 600;
    transition: all 0.3s ease;
}
.reservation-btn:hover {
    transform: translateY(-2px);
}

#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out;
}

label[for="dream-category"],
label[for="dream-subcategory"] {
    font-size: 1rem !important; 
}

#interpret-button,
#reset-button,
#scroll-to-top {
    font-size: 1rem !important; 
}

.faq-question span {
    font-size: 1rem !important; 
}

/* PC（md以上）でハンバーガーアイコンを非表示 */
@media screen and (min-width: 768px) {
    #hamburger-icon {
      display: none !important;
    }
  }
  