/*
Theme Name: OnlineSalon Theme Child
Theme URI: https://eco-repair-school.com/
Description: OnlineSalon Theme の子テーマ
Author: Your Name
Author URI: https://eco-repair-school.com/
Template: onlinesalon_theme
Version: 1.0.0
*/

/* 親テーマのスタイルを継承 */
@import url('../onlinesalon_theme/style.css');

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
}

/* ヘッダー */
header {
    padding: 20px 0;
}

.header_logo {
    margin: 0;
}

.header_logo img {
    max-width: 100%;
    height: auto;
}

.login {
    text-align: right;
}

.btn-touroku {
    background: #0098a3;
    color: #fff;
    margin-right: 10px;
}

.btn-login {
    background: #333;
    color: #fff;
}

/* メインコンテンツ */
main {
    padding: 40px 0;
    min-height: 500px;
}

.container-page {
    margin-bottom: 40px;
}

/* サイドバー */
#sidebar {
    margin-top: 20px;
}

.sidebar {
    margin-bottom: 30px;
}

.sidebar h4 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #0098a3;
}

/* フッター */
footer {
    background: #f5f5f5;
    padding: 40px 0 20px;
}

.footer_menu_wrap {
    margin-bottom: 30px;
}

.footer_menu_wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer_menu_wrap ul li {
    margin: 0 15px;
}

.footer_menu_wrap ul li a {
    color: #333;
    text-decoration: none;
}

.footer_logo {
    margin-bottom: 20px;
}

.footer_logo img {
    max-width: 200px;
    height: auto;
}

.copyRight {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-right {
        text-align: center;
        margin-top: 20px;
    }
    
    .footer_menu_wrap ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer_menu_wrap ul li {
        margin: 10px 0;
    }
}

/* コメント欄 */
.comment-listCon {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.comment-name {
    font-weight: bold;
    margin-right: 10px;
}

.comment-date-edit {
    font-size: 12px;
    color: #666;
}

/* フォーム要素 */
.btn {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    opacity: 0.8;
    color: #fff;
}

/* カスタム投稿タイプ */
.productArchives {
    margin-bottom: 30px;
}

.productArchivesTitle {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0098a3;
}

/* Ultimate Member カスタマイズ */
.um-profile {
    margin-top: 30px;
}

.um-field {
    margin-bottom: 20px;
}

/* Better Messages カスタマイズ */
.my-custom-class {
    font-family: 'Noto Sans JP', sans-serif;
}

/* Sensei LMS カスタマイズ */
.course-container {
    margin-bottom: 40px;
}

.lesson-container {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* 非ログイン時のサイドバー非表示とメインコンテンツ幅調整 */
body:not(.logged-in) main > .container > .row > .col-md-4 {
    display: none;
}

body:not(.logged-in) main > .container > .row > .col-md-8 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
body.no-sidebar main.singlepage .col-md-8.contentMain img.attachment-post-thumbnail {
    max-width: 66.6666%;
}