/* カラー定義 */
:root {
    --yellow: #FFCC33;
    --red: #CC3300;
    --blue: #0066CC;
    --green: #009900;
    --white: #FFFFFF;
    --black: #000000;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    background-color: var(--white);
    color: var(--black);
    padding-top: 80px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    height: 70px;
}

.menu-area {
    width: 62px;
    height: 70px;
    background-color: var(--yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.menu-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--blue);
    border-radius: 2px;
}

.close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.close-icon span {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--blue);
    top: 50%;
    left: 50%;
    border-radius: 2px;
}

.close-icon span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-text {
    font-size: 13px;
    font-weight: bold;
    color: var(--blue);
    margin-top: 4px;
    transition: opacity 0.3s ease;
    position: relative;
    top: -10px;
}

.close-text {
    position: absolute;
    bottom: 8px;
    opacity: 0;
    font-size: 13px;
    font-weight: bold;
    color: var(--blue);
    transition: opacity 0.3s ease;
}

.menu-area.active .hamburger {
    opacity: 0;
}

.menu-area.active .close-icon {
    opacity: 1;
}

.menu-area.active .menu-text {
    opacity: 0;
}

.menu-area.active .close-text {
    opacity: 1;
}

.logo {
    width: 56px;
    height: 56px;
    margin-left: 12px;
    flex-shrink: 0;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin-left: 12px;
    color: var(--black);
}

.header-border {
    height: 8px;
    background-color: var(--blue);
}

/* メニューオーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* メニューリスト */
.menu-list {
    position: fixed;
    top: 92px;
    left: -400px;
    z-index: 999;
    transition: left 0.5s ease;
}

.menu-list.active {
    left: 0;
}

.menu-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    height: 52px;
    border-radius: 0 26px 26px 0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    left: -30px;
}

.menu-item a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 25px 0 42px;
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.menu-item img {
    width: 40px;
    height: 48px;
    margin-right: 12px;
    flex-shrink: 0;
}

.menu-item:hover {
    transform: translateX(30px);
}

.menu-item-blue {
    background-color: var(--blue);
}

.menu-item-yellow {
    background-color: var(--yellow);
}

.menu-item-green {
    background-color: var(--green);
}

.menu-item-red {
    background-color: var(--red);
}

/* コンテンツエリア */
/* 
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--white);
}

.content section {
    margin-bottom: 60px;
    padding: 20px 0;
}

.content h2 {
    color: var(--blue);
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--blue);
    padding-bottom: 10px;
}

.content p {
    line-height: 1.8;
    margin-bottom: 15px;
}
 */
 
 
/* フッター */
.footer {
    background-color: var(--white);
    margin-top: 60px;
}

/*.footer-border {
    height: 8px;
    background-color: var(--blue);
}*/

.footer-content {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--blue);
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-copyright {
    text-align: center;
    color: var(--blue);
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
}

/* ページトップへ戻るボタン */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background-color: var(--yellow);
    transform: translateY(-3px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* スマホ対応 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .header-top {
        height: 54px;
    }

    .menu-area {
        width: 47px;
        height: 54px;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
        gap: 4px;
    }

    .close-icon {
        width: 26px;
        height: 26px;
    }

    .close-icon span {
        width: 26px;
        height: 2.5px;
    }

    .menu-text {
        font-size: 10px;
        position: relative;
        top: -8px;
    }

    .close-text {
        font-size: 10px;
    }

    .logo {
        width: 44px;
        height: 44px;
        margin-left: 8px;
    }

    .site-title {
        font-size: 18px;
        margin-left: 8px;
    }

    .header-border,
    .footer-border {
        height: 6px;
    }

    .menu-list {
        top: 72px;
    }

    .menu-item {
        height: 46px;
        border-radius: 0 23px 23px 0;
        position: relative;
        left: -30px;
    }

    .menu-item a {
        font-size: 14px;
        padding: 0 20px 0 40px;
    }

    .menu-item img {
        width: 35px;
        height: 42px;
        margin-right: 10px;
    }

    .content {
        padding: 30px 15px;
    }

    .content h2 {
        font-size: 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}