* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #e2fbff44;
}

section {
    scroll-margin-top: 60px;
    width: 100%;
}




h1 {
    padding-left: 10px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    height: 60px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

#parent-logo {
    font-family: "Ephesis";
    font-weight: 400;
    font-size: 40px;
}

.main-header {
    display: flex;
    width: 100%;
    background-color: #d3e9ec;
    height: 50px;
    justify-content: space-around;
    align-items: center;
}

.main-header ul {
    display: flex;
    gap: 30px;
}

.main-header li {
    list-style: none;

}

.main-header a {
    color: #22666c;
    text-decoration: none;
    font-family: "Shippori Mincho", serif;
    font-weight: 200;
    font-style: normal;
    font-size: 20px;
}

.main-header h2 {
    font-family: "Shippori Mincho", serif;
    font-weight: 350;
    font-style: normal;
    color: #22666c;
    font-size: 35px;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    width: 50%;
    margin-left: 25%;
    background-color: #ffffff;
}

main h2 {
    font-family: "Shippori Mincho", serif;
    font-style: normal;
    font-weight: 900;
    text-align: center;
    padding: 20px;
}

.brclass {
    display: none;
}


th,
td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.profile-table table {
    margin: 0 auto;
    width: 95%;
    max-width: 700px;

}

.profile-table th {
    width: 25%;
}

.idea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

h3 {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

.card {
    border: 1px solid #9cc3c7;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
}

#works {
    padding-bottom: 30px;
}

#services p {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}



footer {
    width: 100%;
    background-color: #f7f7f7;
    color: #333333;
    padding: 40px 20px 30px;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-left {
    max-width: 500px;
}

.footer-logo {
    font-family: "Ephesis", cursive;
    font-weight: 100;
    font-size: 50px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.footer-desc {
    color: #555555;
    font-size: 13px;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.follow-title {
    font-size: 11px;
    font-weight: bold;
    color: #555555;
    letter-spacing: 1px;
}

.sns-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.sns-links a {
    color: #afafaf;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sns-links a:hover {
    color: #000000;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: #555555;
}

@media screen and (max-width:745px) {
    main {
        width: 100%;
        margin-left: 0px;
        padding: 0 15px;
    }

    .main-header {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .main-header nav {
        padding: 10px;
    }

    .brclass {
        display: block;
    }

    .table-wrapper {
        width: 100%;
    }

    .profile-table table {
        width: 100%;
        min-width: 0px;
    }

    h3 {
        padding-left: 10px;
    }

    .card {
        margin: 10px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
    }


}