@charset "UTF-8";

/* =========================================================
全体設定
========================================================= */
#otakaraya_product_range.new-design-section {
    background-color: #F8F6F4;
    font-family: 'Noto Sans JP', sans-serif;
}

/* =========================================================
見出し (h2)
========================================================= */
.new-title-wrapper {
    text-align: center;
    margin-bottom: clamp(30px, 4cqw, 50px);
}

.new-title-main {
    color: #333333;
    margin-bottom: 15px;
}

.new-title-line {
    width: 100%;
    max-width: 400px;
    height: clamp(4px, 0.6cqw, 8px);
    background-color: #D80C18;
    margin: 0 auto;
    border-radius: 6px;
}

/* =========================================================
商品グリッド (PC/タブレット: 3列, SP: 1列)
========================================================= */
.new-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.5cqw, 20px);
}

.new-product-item {
    background: #FFFFFF;
    border: clamp(1px, 0.2cqw, 2.75px) solid #BABABA;
    border-radius: clamp(8px, 1cqw, 13.75px);
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    aspect-ratio: 550 / 130;
    overflow: hidden;
}

.new-product-item:hover {
    border-color: #D80C18;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.new-product-img {
    width: 35%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

#otakaraya_product_range .new-product-img img {
    width: 100%;
    height: 70%;
    object-fit: contain;
    transform: scale(1.15) !important;
    transition: none !important;
}

#otakaraya_product_range .new-product-item:hover img {
    transform: scale(1.15) !important;
}

.new-product-text {
    width: 65%;
    color: #333333;
    padding-left: clamp(5px, 1cqw, 10px);
    padding-right: 15px;
    margin: 0;
    word-break: auto-phrase;
}

#otakaraya_product_range .kaitori-br {
    display: block;
}

.new-product-item::after {
    content: '';
    position: absolute;
    right: clamp(8px, 1.2cqw, 20px);
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: clamp(6px, 0.8cqw, 10px);
    height: clamp(6px, 0.8cqw, 10px);
    border-top: clamp(2px, 0.3cqw, 3px) solid #D80C18;
    border-right: clamp(2px, 0.3cqw, 3px) solid #D80C18;
}

/* =========================================================
アコーディオン周り
========================================================= */
.accordion-toggle-wrapper {
    text-align: center;
    margin: clamp(20px, 3cqw, 30px) 0;
}

.accordion-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: clamp(14px, 1.5cqw, 18px);
    color: #333333;
    padding: clamp(8px, 1cqw, 10px) clamp(20px, 3cqw, 30px);
    border: 2px solid #BABABA;
    border-radius: 50px;
    background: #FFF;
    transition: 0.3s;
}

.accordion-toggle:hover {
    background: #f0f0f0;
}

.accordion-toggle::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(45deg);
    margin-left: 10px;
    margin-bottom: 4px;
}

.accordion-toggle.hide {
    display: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-section.active .accordion-content {
    max-height: 3000px;
}

/* =========================================================
CTAセクション
========================================================= */
.new-cta-section {
    text-align: center;
    margin: clamp(40px, 5cqw, 60px) 0;
}

.new-cta-text {
    color: #333333;
    margin-bottom: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.new-cta-text span {
    font-weight: 400;
}

.new-cta-text span:first-child {
    transform: rotate(-15deg);
}

.new-cta-text span:last-child {
    transform: rotate(15deg);
}

.new-cta-btn {
    background: #D80C18;
    color: #FFFFFF;
    text-decoration: none;
}

.new-cta-btn:hover {
    color: #FFF;
}

/* =========================================================
検索ボックスエリア
========================================================= */
#otakaraya_product_range .new-search-section {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 2px solid #D80C18;
    border-radius: 20px;
    padding: clamp(30px, 2cqw, 55px) clamp(15px, 2cqw, 20px);
    text-align: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

#otakaraya_product_range .new-search-title {
    color: #333333;
    margin-bottom: clamp(15px, 2cqw, 30px);
}

#otakaraya_product_range .new-search-form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: center;
    width: 90%;
    max-width: 1421px;
    margin: 0 auto;
    height: clamp(50px, 6cqw, 78px);
}

#otakaraya_product_range .new-search-form input[type="text"] {
    flex-grow: 1;
    min-width: 0;
    box-sizing: border-box;
    height: 100% !important;
    background: #FFFFFF;
    border: 2px solid #BABABA !important;
    border-right: none !important;
    border-radius: 10px 0 0 10px !important;
    padding: 0 clamp(10px, 2cqw, 30px) !important;
    color: #333;
    margin: 0 !important;
    text-align: left !important;
}

#otakaraya_product_range .new-search-form input[type="text"]::placeholder {
    color: #BABABA;
}

#otakaraya_product_range .new-search-form input[type="text"]:focus {
    outline: none;
    background-color: #fafafa;
}

#otakaraya_product_range .new-search-btn {
    box-sizing: border-box;
    width: clamp(100px, 15cqw, 182px) !important;
    height: 100% !important;
    background: #D80C18 !important;
    border: none !important;
    border-radius: 0 10px 10px 0 !important;
    color: #FFFFFF !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 1cqw, 20px);
    transition: opacity 0.3s;
    flex-shrink: 0;
    margin: 0 !important;
    white-space: nowrap;
}

#otakaraya_product_range .new-search-btn:hover {
    opacity: 0.9;
}

/* 虫眼鏡アイコンのサイズ調整 */
#otakaraya_product_range .search-icon {
    display: inline-block;
    width: clamp(16px, 1.5cqw, 24px);
    height: clamp(16px, 1.5cqw, 24px);
    border: 3px solid #FFF;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

#otakaraya_product_range .search-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: clamp(8px, 1cqw, 13px);
    background: #FFF;
    bottom: -8px;
    right: -6px;
    transform: rotate(-45deg);
}

/* =========================================================
レスポンシブ対応 (SP向け)
========================================================= */
/* 767px以下で1列化します */
@media (max-width: 767px) {
    #otakaraya_product_range.new-design-section {
        padding: 0 2rem;
    }

    .new-title-line {
        width: 60%;
    }

    #otakaraya_product_range .new-products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px !important;
    }

    #otakaraya_product_range .new-product-item {
        padding: 0 15px !important;
        border-radius: 12px !important;
        border: 2px solid #BABABA !important;
        aspect-ratio: 350 / 90;
    }

    #otakaraya_product_range .new-product-img {
        width: 30% !important;
    }

    #otakaraya_product_range .new-product-text {
        width: 68% !important;
        padding-left: 15px !important;
    }

    #otakaraya_product_range .new-product-item::after {
        right: 25px !important;
        width: 12px !important;
        height: 12px !important;
        border-top: 2.5px solid #D80C18 !important;
        border-right: 2.5px solid #D80C18 !important;
    }

    /* 検索ボックスエリア */
    #otakaraya_product_range .new-search-section {
        border: 2px solid #D80C18;
        padding: 15px 10px;
        border-radius: 12px;
        width: 100%;
        margin: 0px auto 10%;
    }

    #otakaraya_product_range .new-search-title {
        margin-bottom: 15px;
    }

    #otakaraya_product_range .new-search-form {
        flex-direction: row !important;
        height: 50px !important;
        width: 100%;
        gap: 0 !important;
    }

    #otakaraya_product_range .new-search-form input[type="text"] {
        width: auto !important;
        height: 100% !important;
        border: 2px solid #BABABA !important;
        border-right: none !important;
        border-radius: 8px 0 0 8px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    #otakaraya_product_range .new-search-btn {
        width: 85px !important;
        height: 100% !important;
        border-radius: 0 8px 8px 0 !important;
        gap: 10px;
        font-size: 16px !important;
        padding: 0 !important;
    }

    /* スマホ向けの虫眼鏡アイコン縮小 */
    #otakaraya_product_range .search-icon {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }

    #otakaraya_product_range .search-icon::after {
        width: 2px;
        height: 8px;
        bottom: -5px;
        right: -4px;
    }
}