/* ts用共通CSS */


.phenkan {
    white-space: pre-wrap;
}

----------------------------------- header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: rgb(255, 255, 255);

    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    transition: all 0.001s ease;
}


header.scrolled {
    background: #fff;
    color: #333;
    text-shadow: none;
}

/* リンク色変更 */
header.scrolled nav a,
header.scrolled a {
    color: #333;
}

header a {
    color: rgb(0, 0, 0);
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 1px;
    color: #000000;
    transition: color 0.001s ease;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    margin-left: 30px;

    font-weight: 900;
}



nav ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    list-style: none;
}

nav li {
    margin: 0;
    margin-right: 10px;
}

nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
}

nav.active a {
    color: #ffffff;
}

nav a:hover {
    text-decoration: underline;
}



.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-area img {
    width: 300px;
    height: 80px;
    object-fit: contain;
    margin-left: 20px;
}

/* ハンバーガー（PCでは非表示） */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #333;
    margin: 6px 0;
    transition: .3s;
}

.hamburger.active span {
    background: #fff;
}

/* footer------------------------------------- */
/* 全体 */
footer {
    background: #ffffff;
    color: #ffffff;
    padding: 0.5rem 0.5rem 0rem;
}

/* 上段まとめ */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* ナビ */
.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.8;
    transition: 0.3s;
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

.footer-nav a:hover {
    opacity: 1;
}

/* 下部コピーライト */
footer p {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
    color: black;
    margin: 0;
}




@media screen and (max-width: 768px) {
    header {
        height: 38px;
        padding: 0 15px;
    }



    header h1 {
        font-size: 10px;
        margin-left: 0;

    }

    nav ul {
        padding-left: 10px;
        font-size: 10px;
        gap: 0;
        margin: 0;
        padding: 0;
        font-size: 14px;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .logo-area img {
        width: 120px;
        height: 30px;
    }

    /* メニュー */
    nav.right {
        position: fixed;
        top: 0px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 0px);
        background: #fff;
        transition: .2s;
        padding-top: 0px;
    }

    nav ul {
        display: block;
        padding: 0;
        margin: 0;
    }

    nav li {
        margin: 25px 0;
        text-align: center;
    }


    /* 開いた状態 */
    .right.active {
        right: 0;
        padding-top: 75px;
        background: rgba(0, 0, 0, 0.85);
        z-index: 30;
    }


    /* ボタン表示 */
    .hamburger {
        display: block;
        z-index: 1100;
    }


    /* ×マーク */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* ===== FOOTER ===== */
    footer {
        padding: 10px 15px;
    }

    .footer-top {
        display: flex;
        flex-direction: row;
        /* ←縦にしない */
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 21px;
    }



    .company-name {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* ナビ（headerと同じ横並び） */
    .footer-nav ul {
        display: flex;
        flex-direction: row;
        gap: 8px;
        padding: 0;
        margin: 0;
    }

    .footer-nav a {
        font-size: 0.5rem;
        white-space: nowrap;
    }

    /* コピーライトは右端 or 非表示でもOK */
    .copyright {
        font-size: 0.4rem;
        opacity: 0.7;
        white-space: nowrap;
    }


}