@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-color: #ecf0f1;
    --text-color: #34495e;
    --accent-color: #e74c3c;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--background-color);
}

header {
    text-align: center;
    margin-bottom: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 200px;
    margin-bottom: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 5px;
    overflow: hidden;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
}

nav ul li a.active {
    background-color: var(--primary-color);
    color: white;
}

main {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5em;
    font-weight: 400;
    color: var(--primary-color);
}

.diagram {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.member {
    flex: 1 1 200px;
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.member:hover {
    transform: translateY(-5px);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 10px;
    border-top: 1px solid var(--primary-color);
    color: var(--secondary-color);
}

#langSwitch {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#langSwitch:hover {
    background-color: var(--secondary-color);
}


.welcome-image-container {
    width: 100%;
    max-width: 800px; /* 元の最大幅に戻す */
    margin: 20px auto; /* 元のマージンに戻す */
    text-align: center;
}

.welcome-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* 元の角の丸みに戻す */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 元の影に戻す */
}


/* 追加のスタイル */
ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}