:root {
    --primary-milk: #fdfdfa; /* ミルク色 */
    --grass-green: #e1eedd; /* 草原色 */
    --text-brown: #5d4037;
    --accent-sage: #8db596;
    --header-bg: rgba(255, 255, 255, 0.9);
}

html {
    font-size: 100%; 
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Serif JP', serif;
    color: var(--text-brown);
    background-color: var(--primary-milk);
    line-height: 1.8;
    font-size: 1rem;
}

/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}



.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    line-height: 1.2;
    font-size: 1.1rem;
}

.logo span {
    color: #8db596;
    font-size: 0.9rem;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: #5d4037;
    font-size: 0.9rem;
}

.btn-small {
    background:#8db596;
    color: white ;
    padding: 8px 15px;
    border-radius: 20px;
}

/* --- Layout --- */
.section { padding: 100px 0; }
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.flex-reverse { flex-direction: row-reverse; }

.section-text { flex: 1; }
.section-image { flex: 1; }

.section-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

#concept .container + .container {
    margin-top: 80px;
}


.hero {
    background-image: url('images/toptop.png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    height: 100vh; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero {
    position: relative;
}



.title{
    padding: 2rem 2rem;
    margin-bottom: 45px;

}

h2 {
    font-size: 1.4rem;
}

.catchphrase-sub{
    text-align: center;
}

.sub-title {
    display: block;
    text-align: center;
    font-size: 1.8em;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--accent-sage);
    margin-bottom: 60px;
}


#kushiro{
    background-color: #e1eedd;

}

.btn-primary{
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    background: var(--accent-sage);   /* ミルクパン色 */
    color: #4a3b2a;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-pc {
    display: inline-block;
    margin: 16px 0 0;
}

.btn-sp {
    display: none;
}

.btn-primary {
    border: 2px solid transparent;
}

.btn-primary:hover {
    border-color: #4a3b2a;

}

/* スマホ */
@media (max-width: 768px) {
    .btn-pc {
        display: none;
    }

    .btn-sp {
        display: inline-block;
        margin-top: 24px;
    }
}



@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* --- Footer --- */
.main-footer {
    background: #fff;
    padding: 60px 20px 20px;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.footer-links a { text-decoration: none; color: var(--text-brown); }

.copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .container { flex-direction: column; text-align: center; }
    .header-nav { display: none; } /* スマホでは簡易化 */
    .hero { height: 70vh; }

}




/* --- Loading --- */
#loading {
    position: fixed;
    inset: 0;
    background: var(--primary-milk);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-inner {
    text-align: center;
}

.loading-text {
    margin-top: 20px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--text-brown);
}
