/* === index.html === */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

/* === about.css === */
.about {
    width: 70%;
    margin: auto;
}

.about-page-intro {
    text-align: center;
}

.about-page-story-link a {
    background-color: transparent;
    color: #446B9A;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.about-page-story-link a:hover {
    color: #5A84BB;
    text-decoration: underline;
}

/* バリュー */
.about-page-values li {
    list-style: none;
    margin-bottom: 0.5rem;
}

/* 活動内容 */

.about-page-activities li {
    list-style: none;
}

.text-img {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile {
    width: 30%;
    text-align: center;
    margin: auto;
}

.profile img {
    width: 100%;
}

.greeting-text {
    width: 70%;
    margin: auto;
    text-align: center;
}

/* 団体概要 */

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #0C0F17;
    border: 1px solid #202530;
}

.table caption {
    caption-side: top;
    padding: 0.5rem;
    font-weight: bold;
}

.table th,
.table td {
    border-bottom: 1px solid #202530;
    text-align: left;
    padding: 0.8rem 1rem;
    vertical-align: top;
}

.table th {
    background-color: #0C0F17;
    width: 25%;
    vertical-align: middle;
}

.table tr:nth-child(even) td {
    background-color: #0C0F17;
}

.table td {
    line-height: 1.6;
}

/* 轍 */

.inline-link.github {
    display: block;
    text-align: center;
}

/* Connect */

.about-page-connect ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 1rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 50%;

}

.about-page-connect ul li a {
    padding: 1rem;
    display: block;
    text-align: center;
    border: 1px solid #202530;
    border-radius: 30px;
}

.form-disabled span {
    cursor: not-allowed;
    opacity: 0.6;
    padding: 1rem;
    display: block;
    text-align: center;
    background-color: rgba(11, 13, 20, 0.8);
    border: 1px solid #202530;
    border-radius: 30px;
}

/* ブランドストーリー */

.story-page-brand {
    width: 70%;
}

.story-page-logo {
    width: 70%;
}

.story-page-logo-img {
    width: 50%;
    margin: 0 auto 2rem auto;
}

.story-page-logo-img img {
    width: 100%;
}

/* フォーム */

.contact-form.section {
    position: relative;
}

form {
    background-color: #0C0F17;
    padding: 2rem;
    border-radius: 1rem;
    margin: 0 auto;
}

form label {
    display: block;
    color: #5474AD;
    font-size: 0.9rem;
    margin-top: 1rem;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background-color: #0B0D14;
    border: 1px solid #2B3342;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
}

form input[type="text"]::placeholder,
form input[type="email"]::placeholder,
form textarea::placeholder {
    color: #4C5670;
}

form input[type="checkbox"] {
    margin-left: 0.5rem;
}

button.primary {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #446B9A;
    border: none;
    border-radius: 0.5rem;
    cursor: not-allowed;
    /* disabled 時にわかりやすく */
    opacity: 0.6;
    transition: all 0.3s ease;
}

button.primary:enabled {
    cursor: pointer;
    background-color: #5A84BB;
    opacity: 1;
}

button.primary:hover:enabled {
    background-color: #5474AD;
}

/* オーバーレイ */
.form-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 13, 20, 0.8);
    backdrop-filter: blur(3px);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.form-overlay p {
    font-size: 1rem;
    text-align: center;
    padding: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 768px) {

    .about,
    .story-page-brand,
    .story-page-logo,
    .story-page-logo-img,
    .profile,
    .greeting-text {
        width: 100%;
    }

    .about {
        margin-top: 7rem;
    }

    .about-page-connect ul {
        max-width: 100%;
    }

    /* about.html 団体概要 */
    .table th,
    .table td {
        display: block;
        width: 100%;
    }

    .table th {
        padding-top: 1rem;
    }

    .table td {
        padding-bottom: 1rem;
    }
}