@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Jersey+10&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Noto+Sans+JP:wght@100..900&display=swap');
body {
    overflow-x: hidden;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: rgb(255, 255, 255);
    color: rgb(54, 54, 54);
}
header{
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    display: flex;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
}
nav {
    overflow: hidden;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    text-decoration: none;
    color: rgb(54, 54, 54);
    padding: 14px 20px;
    display: block;
    transition: width 0.3s ease;
}
nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: rgb(48, 120, 255);
    transition: width 0.3s ease;
}
nav ul li a:hover::after {
    width: 100%;
}
nav ul li a.active {
    font-weight: bold;
}
nav ul li a:hover {
    transition: width 0.3s ease;
    color: rgb(48, 120, 255);
}
.h-title{
    font-size: 2.5em;
    font-weight: 700;
    font-family: doto, 'Noto Sans JP', sans-serif;
    letter-spacing: 0.3em;
}
.hero {
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    text-align: center;
    transition: background 0.3s ease;
    height: 650px;
    width: 65%;
}
.logo {
    height: 50px;
}
.btn {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 10px;
    transition: 0.3s ease;
}
.btn:hover {
    transition: 0.3s ease;
    transform: scale(1.05);
    background-color: rgb(233, 233, 233);
}
.dotnav {
    display: flex;
    justify-content: center;
    background-color: rgb(147, 197, 255);
    padding: 10px;
    width: 65%;
}
.dot.active {
    width: 10px;
    height: 10px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
}
.dot{
    width: 10px;
    height: 10px;
    margin: auto;
    background-color: rgb(0, 0, 0);
    transition: all 0.3s ease;
    border-radius: 50%;
}
.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50px;
}
.member {
    margin: 20px;
}
.member-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.member-item {
    margin: 20px;
    display: flex;
    gap: 20px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 500px;
    border-radius: 10px;
}
.member-title {
    font-size: 1.2em;
    font-weight: 500;
    color: rgb(54, 54, 54);
}
.member-name {
    font-size: 1.5em;
    font-weight: 700;
}
.member{
    padding: 10px;
    background-color: rgb(147, 197, 255);
}
.section-title {
    font-size: 2em;
    font-weight: 700;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    
}
.yt-btn{
    background-color: rgb(255, 114, 114);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}
.yt-btn:hover {
    transition: background-color 0.3s ease;
    background-color: rgb(255, 80, 80);
}
.x-btn{
    background-color: rgb(51, 51, 51);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}
.x-btn:hover {
    transition: background-color 0.3s ease;
    background-color: rgb(14, 14, 14);
}
footer {
    background-color: #f0f0f0;
    padding: 20px;
    font-size: 0.9em;
    color: rgb(54, 54, 54);
    display: flex;
    justify-content: center;
    gap: 24px;
}
.footer-content {
    width: 200px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-link {
    color: rgb(48, 120, 255);
}
.welcome {
    margin: 20px;
    font-size: 1.1em;
    font-weight: 500;
    color: rgb(54, 54, 54);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.cards{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.card {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    border-radius: 10px;
}
.welcome-text {
    max-width: 600px;
    text-align: center;
}
.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.card-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.card-title {
    font-size: 1.2em;
    font-weight: 500;
    color: rgb(54, 54, 54);
    margin-top: 10px;
}
.card-description {
    font-size: 1em;
    color: rgb(54, 54, 54);
    margin-top: 10px;
}

/*Aboutページのスタイル*/

.about-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.about-item {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 70%;
    border-radius: 10px;
}
.about-title {
    font-size: 1.5em;
    font-weight: 500;
    color: rgb(54, 54, 54);
    margin-bottom: 10px;
}
.section-description {
    padding: 10px;
    text-align: center;
    font-size: 1em;
    color: rgb(54, 54, 54);
}
.page-content {
    padding: 40px 20px;
}
/*レスポンシブ対応*/
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 90%;
    }
    .about-item {
        width: 90%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
}
.socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-btn {
    background-color: rgb(48, 120, 255);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}
.contact-btn:hover {
    transition: background-color 0.3s ease;
    background-color: rgb(101, 155, 255);
}
.yt-btn-ico {
    background-color: rgb(255, 114, 114);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.yt-btn-ico:hover {
    transition: background-color 0.3s ease;
    background-color: rgb(255, 80, 80);
}
.x-btn-ico {
    background-color: rgb(51, 51, 51);
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.x-btn-ico:hover {
    transition: background-color 0.3s ease;
    background-color: rgb(14, 14, 14);
}
.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.sns-links {
    display: flex;
    gap: 10px;
}
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.articles {
    margin: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.articles-title {
    font-size: 1.5em;
    font-weight: 500;
    color: rgb(54, 54, 54);
}
.articles-list>li>a:visited {
    color: rgb(0, 73, 207);
}
.articles-list>li>a {
    font-size: 1em;
    color: rgb(48, 120, 255);
}
.articles-list>li>a:hover {
    color: rgb(101, 155, 255);
}
.footer-title{
    font-size: 1.2em;
    font-weight: 500;
    color: rgb(54, 54, 54);
    text-decoration: underline rgb(48, 120, 255) 2px;
}
.select{
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(200, 200, 200);
    font-size: 1em;
}
.setting {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.setting-item {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 70%;
    border-radius: 10px;
}
.reset-btn {
    background-color: rgb(0, 119, 255);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    border: none;
    transition: background-color 0.3s ease;
}/* ===== ダーク/ライトテーマ ===== */
:root {
    --bg-primary: rgb(255, 255, 255);
    --bg-secondary: #f0f0f0;
    --text-primary: rgb(54, 54, 54);
    --text-secondary: rgb(0, 0, 0);
    --border-color: rgb(200, 200, 200);
    --card-shadow: rgba(0, 0, 0, 0.1);
    --link-color: rgb(48, 120, 255);
    --link-hover: rgb(101, 155, 255);
}

body.dark-theme {
    --bg-primary: rgb(30, 30, 30);
    --bg-secondary: rgb(50, 50, 50);
    --text-primary: rgb(220, 220, 220);
    --text-secondary: rgb(200, 200, 200);
    --border-color: rgb(80, 80, 80);
    --card-shadow: rgba(0, 0, 0, 0.5);
    --link-color: rgb(100, 150, 255);
    --link-hover: rgb(150, 180, 255);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

nav ul li a {
    color: var(--text-primary);
}

nav ul li a:hover {
    color: var(--link-hover);
}

.card {
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 8px var(--card-shadow);
    color: var(--text-primary);
}

.card-title,
.card-description {
    color: var(--text-primary);
}

.member-item {
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 8px var(--card-shadow);
}

.member-title,
.member-name {
    color: var(--text-primary);
}

.about-item {
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 8px var(--card-shadow);
}

.about-title,
.section-title,
.section-description {
    color: var(--text-primary);
}

.welcome-text {
    color: var(--text-primary);
}

footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-title {
    color: var(--text-primary);
}

.footer-link {
    color: var(--link-color);
}

.articles {
    box-shadow: 0 4px 8px var(--card-shadow);
    background-color: var(--bg-secondary);
}

.articles-title,
.articles-list li a {
    color: var(--link-color);
}

.select {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.hero-center{
    display: flex;

    justify-content: center;

}
button{
    border: none;
}