
/* contact.css */

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.mini-logo {
    height: 40px;
    margin-bottom: 15px;
}

.title_text {
    font-size: 2.5rem;
    color: #1A73E8;
    margin: 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 60px;
}

/* 挿絵エリア */
.illustration-box {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
}

.contact-svg {
    width: 100%;
    height: 100%;
}

.contact-message h2 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 20px;
}

.contact-message p {
    font-size: 1.1rem;
    color: #5f6368;
    line-height: 1.8;
}

.sub-text {
    font-size: 0.95rem !important;
    margin-top: 15px;
    color: #80868b !important;
}

/* Discordボタン (カプセル型) */
.action-box {
    margin-top: 40px;
}

.discord1-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #5865F2; /* Discordロゴカラー */
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    transition: all 0.2s ease;
}

.discord1-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    background-color: #4752c4;
}

.discord1-button:active {
    transform: scale(0.98);
}

.discord1-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .title_text { font-size: 2rem; }
    .contact-message h2 { font-size: 1.5rem; }
    .contact-message p { font-size: 1rem; }
    .discord-button { width: 100%; justify-content: center; }
}


/* --- フッターを画面最下部に固定の白い帯として配置 --- */
.main-footer {
    position: relative;
    z-index: 10; /* 図形(z-index: 1)より絶対上に持ってくる */
    background-color: #ffffff;
    width: 100%;
    border-top: 1px solid #f1f3f4;
    margin-top: 50px; /* 箱との間の隙間（背景が見える部分） */
    padding: 20px 0;
}

/* フッター内の中身を中央寄せにするための枠 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- コンテナの修正（浮いた感じをあえて活かす、または密着させる） --- */
.main-container {
    background: #ffffff;
    border-radius: 40px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px; /* ここをしっかり取る */
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

/* スマホ対応：フッターを縦並びに */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .main-container {
        padding: 30px; /* スマホのときはパディングを小さくして箱を広げる */
        margin-top: 20px;
    }
}
/* Xボタン：Android Pie風チップデザイン */
.x-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f3f4; /* 薄いグレー背景 */
    color: #3c4043;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px; /* カプセル型 */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.x-button:hover {
    background-color: #e8f0fe; /* ほんのり青く */
    color: #1A73E8;
    border-color: #d2e3fc;
}

.x-icon {
    width: 16px;
    height: 16px;
    fill: currentColor; /* 文字色と同じ色にする */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .main-footer {
        padding: 30px 20px;
        margin-left: -30px;  /* スマホのpaddingに合わせる */
        margin-right: -30px;
        flex-direction: column-reverse;
        gap: 20px;
    }
    .x-button {
        width: fit-content;
        margin: 0 auto;
    }
    
}

