/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Borel', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    background-color: #FAF3E8;
    color: #5C4A3C;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* ヘッダー */
.header {
    background-color: #FBD864;
    padding: 30px 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    /* 横並び */
    align-items: center;
    /* 縦位置を揃える */
    justify-content: space-between;
    /* 左右に配置 */
}

.header-nav {
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

.header-nav a {
    font-size: 26px;
    font-family: 'Borel', cursive, 'Hiragino Mincho ProN', serif;
    color: #7A5C3D;
    text-decoration: none;
    writing-mode: horizontal-tb;
    padding: 8px 12px;
    transition: all 0.3s ease;
}


.header-nav a:hover {
    background-color: #FCEBB2;
    /* ホバー時に背景色を追加 */
    color: #A67C52;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #7A5C3D;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}


.header-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-text {
    text-align: center;
}

.header-icon {
    position: absolute;
    left: 20px;
    top: -10px;
}

.header-icon img {
    width: 200px;
    height: 200px;
    object-fit: contain;

}

.site-title {
    font-family: 'Borel', cursive, 'Hiragino Mincho ProN', serif;
    font-size: 64px;
    color: #5C4A3C;
    font-weight: normal;
    letter-spacing: 2px;
    margin: 0;
    text-align: left;
    width: 100%;
}

/* フッター */
.footer {
    background: linear-gradient(180deg, #F5E5A8 0%, #FBD864 100%);
    padding: 60px 20px 30px;
    border-top: 3px solid #7DB88E;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(92, 74, 60, 0.2);
    margin-bottom: 30px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-family: 'Borel', cursive;
    font-size: 48px;
    color: #5C4A3C;
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 16px;
    color: #5C4A3C;
    font-style: italic;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-heading {
    font-family: 'Borel', cursive;
    font-size: 20px;
    color: #5C4A3C;
    margin-bottom: 5px;
    font-weight: normal;
}

.footer-email {
    font-size: 14px;
    color: #5C4A3C;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #7DB88E;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: block;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-notice {
    font-size: 12px;
    color: #5C4A3C;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 13px;
    color: #5C4A3C;
    font-weight: bold;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-logo {
        font-size: 36px;
    }

    .social-icons {
        justify-content: center;
    }
}