/**
 * カレンダーアプリレイアウト用スタイル
 */

/* カレンダーのレイアウト調整用スタイル */
.calendar-apps-container {
    background-color: #f8f9fa;
    border-radius: 0.625rem;
    padding: 1.5rem;
    margin-top: 1.875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.calendar-apps-container h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.calendar-event-section {
    margin-bottom: 2.5rem;
    text-align: center;
}

.calendar-event-section h4 {
    color: #444;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.event-details {
    max-width: 31.25rem;
    margin: 0 auto;
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid #e8e8e8;
    font-size: 1rem;
}

/* 製品情報のスタイルは標準のpタグを使用 */

/* memo-content-highlight クラスは保持 - ポップアップが非表示になっても、
   ポップアップでは使用される可能性があるため削除しない */
.memo-content-highlight {
    background-color: #f8f8f8;
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin-top: 0.625rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.calendar-apps-grid {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calendar-apps-grid h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 1rem 0 1rem 0;
}

.calendar-app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    max-width: 20rem;
    margin: 0.75rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    line-height: 1.3;
    text-align: center;
    min-height: 7em;
    box-sizing: border-box;
}

.calendar-app-button:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.calendar-app-button .calendar-app-icon {
    font-size: 1.3em;
}

.calendar-app-button.other-calendar {
    background-color: #5cb85c;
}

.calendar-app-button.other-calendar:hover {
    background-color: #4cae4c;
}

.calendar-app-button.google-calendar {
    background-color: #4285f4;
}

.calendar-app-button.google-calendar:hover {
    background-color: #3367d6;
}

/* ガイドボタンのスタイル */
.calendar-app-button.guide-button {
    background-color: #ff9800;
}

.calendar-app-button.guide-button:hover {
    background-color: #e68900;
}

.guide-icon:before {
    content: "📋";
}

.guide-section {
    margin-top: 1.25rem;
    padding-top: 0.9375rem;
}

.other-icon:before {
    content: "📅";
}

.google-icon:before {
    content: "📌";
}

.event-description {
    line-height: 1.6;
    margin-bottom: 0.3125rem;
}

/* モバイルレイアウト向け改善 */
@media (max-width: 767px) {
    .calendar-apps-container {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .calendar-app-button {
        width: 100%;
        max-width: 18rem;
        padding: 1.125rem 1rem;
        font-size: 0.9rem;
        min-height: 7em;
        margin: 0.625rem 0;
        line-height: 1.3;
    }
    
    .event-details {
        padding: 1.5rem;
    }
    
    .calendar-event-section {
        margin-bottom: 2rem;
    }
    
    .calendar-event-section h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .calendar-apps-grid h5 {
        font-size: 1.05rem;
        margin: 0.75rem 0 0.875rem 0;
    }
    
    .memo-popup {
        width: 95%;
        max-width: 95%;
        margin: auto;
    }
}
