/* Generic Button Component CSS */

/* Button section styles */
.generic-button-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Button wrapper styles - 画像のようなデザインに調整 */
.generic-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    max-width: 550px; /* セクション切り出しに合わせて調整 */
    width: 100%;
}

/* Button styles - 画像のようなダークグリーンの丸角長方形ボタン */
.generic-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #297842; /* ダークグリーン */
    border-radius: 30px; /* 丸角 */
    padding: 16px 48px; /* 縦横のパディングを調整 */
    width: 100%; /* 幅を100%に設定 */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.generic-button:hover {
    background-color: #00516D; /* ホバー時により濃いグリーン */
}

.generic-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.generic-button-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.generic-button-text {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Button size variants */
.generic-button-size-md {
    /* Medium size button - default styling applied above */
}

.generic-button-size-sm {
    padding: 12px 32px;
    font-size: 14px;
}

.generic-button-size-lg {
    padding: 20px 64px;
    font-size: 18px;
}

/* Button alignment */
.generic-button-align-center {
    justify-content: center;
}

.generic-button-align-left {
    justify-content: flex-start;
}

.generic-button-align-right {
    justify-content: flex-end;
}

/* Responsive design */
@media (max-width: 768px) {
    .generic-button {
        padding: 14px 40px;
        font-size: 15px;
    }
    
    .generic-button-wrapper {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .generic-button {
        padding: 12px 32px;
        font-size: 14px;
    }
}
