@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */

.faq details {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #fafafa;
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
}

.faq details[open] {
  background: #fff;
}


        .qa_container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        
        h1 {
            font-size: 2.2em;
            color: #2c5f3f;
            margin-bottom: 10px;
        }
        
        .subtitle {
            color: #666;
            font-size: 1.1em;
        }
        
        .category-section {
            margin-bottom: 40px;
        }
        
        .category-title {
            font-size: 1.6em;
            color: #2c5f3f;
            padding: 15px 20px;
            background: linear-gradient(135deg, #4a7c59 0%, #5d9a6f 100%);
            color: white;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 3px 10px rgba(76, 124, 89, 0.2);
        }
        
        .faq-item {
            background: white;
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .faq-item:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .faq-question {
            padding: 20px 25px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: #2c5f3f;
            font-size: 1.05em;
            user-select: none;
            transition: background 0.3s ease;
        }
        
        .faq-question:hover {
            background: #f8f9fa;
        }
        
        .faq-question::before {
            content: "Q";
            display: inline-block;
            width: 30px;
            height: 30px;
            background: #4a7c59;
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            margin-right: 15px;
            font-weight: bold;
            flex-shrink: 0;
        }
        
        .faq-question::after {
            content: "+";
            font-size: 1.8em;
            color: #4a7c59;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        
        .faq-question.active::after {
            content: "−";
            transform: rotate(180deg);
        }
        
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            background: #fafafa;
        }
        
        .faq-answer.active {
            max-height: 2000px;
            padding: 25px;
            border-top: 2px solid #e0e0e0;
        }
        
        .faq-answer::before {
            content: "A";
            display: inline-block;
            width: 30px;
            height: 30px;
            background: #6b9b7c;
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            margin-right: 15px;
            font-weight: bold;
            float: left;
        }
        
        .faq-answer-content {
            color: #555;
            line-height: 1.9;
        }
        
        .link {
            color: #4a7c59;
            text-decoration: underline;
        }
        
        .search-box {
            margin-bottom: 30px;
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .search-input {
            width: 100%;
            padding: 15px 20px;
            font-size: 1em;
            border: 2px solid #ddd;
            border-radius: 25px;
            outline: none;
            transition: border-color 0.3s ease;
        }
        
        .search-input:focus {
            border-color: #4a7c59;
        }
        
        @media (max-width: 768px) {
            h1 {

                font-size: 1.6em;
            }
            
            .category-title {
                font-size: 1.3em;
            }
            
            .faq-question {
                font-size: 0.95em;
                padding: 15px 20px;
            }
        }
/* ===== 共通 ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

.sekou_title {
    font-size: 28px;
    font-weight: bold;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* ===== メイン画像 ===== */
.sekou_main-photo {
    width: 100%;
    height: 400px;
    border: 2px solid #ccc;
    margin-bottom: 30px;
    overflow: hidden;
    background: #f0f0f0;
}

.sekou_main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== テキスト ===== */
.sekou_text-area {
    width: 100%;
    min-height: 120px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* ===== 商品エリア（PC） ===== */
.sekou_product-section {
    display: flex;
    gap: 30px;
    width: 100%;
}

.sekou_product-section > * {
    min-width: 0;
}

.sekou_product-photo {
    flex: 1;
    height: 300px;
    border: 2px solid #ccc;
    overflow: hidden;
    background: #f0f0f0;
}

.sekou_product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sekou_product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sekou_product-description {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.sekou_product-name {
    padding: 10px;
}

.sekou_product-name h2 {
    margin: 0;
    font-size: 24px;
}

.sekou_link-button {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.sekou_link-button:hover {
    background-color: #555;
}

/* ===== SP ===== */
@media screen and (max-width: 768px) {

    .sekou_main-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .sekou_product-section {
        flex-direction: column;
        gap: 20px;
    }

    .sekou_product-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .sekou_product-info,
    .sekou_product-description,
    .sekou_product-name,
    .sekou_link-button {
        width: 100%;
        max-width: 100%;
    }

    .sekou_product-name h2 {
        font-size: 20px;
    }
}