@charset "utf-8";

/* html, body */
html, body{
    overflow-x: hidden;
}

ul{
    list-style-type: none;
}

a{
    text-decoration: none;
}

#container {
    padding-bottom: 0;
}

/* --------breadcrumb------------------------- */

#content .breadcrumb{
    width: 100vw;
    color: #000;
}

#content .breadcrumb ul{
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 3rem;
    padding-left: 3rem;
}

#content .breadcrumb a{
    text-decoration: underline;
}

/* --------section-list_image----------------- */

#list_image {
    background-position: center;
    background-size: cover;
    margin-bottom: 0px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/product/list_image.webp);
    padding: 25px 25px 50px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.list_image_inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem;
}

.list_image_inner h1{
    margin: 0;
    font-weight: bold;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px #6b6363;
    color: #fff;
    text-align: center;
}

.content_inner .breadcrumb {
    color: #000;
}

.content_inner  .breadcrumb ul li:after{
    color: #000;
}


/* -------section_list_content */

section#content {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content_inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 0 4% 0;
}

.second-ti {
    font-size: 1.5rem;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3%;
    text-align: center;
    line-height: 1.6;
}

.category-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

/* ボタンがアクティブになった時（クリックされた時） */
.category-buttons button.active {
    background: #D70050; /* クリック時の背景色 */
    box-shadow: 1px 2px 1.3px rgba(0, 0, 0, 0.5); /* 影の効果 */
}

.category-buttons button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 275px;
    height: 45px;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    transition: color 0.3s;
    overflow: hidden;
}

.button_arrow {
    position: absolute;
    transform: translateX(111px) rotate(90deg);
    font-size: 24px;
    z-index: 1;
}


.category-buttons button p{
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}


.category-buttons button::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #D70050;
    transform: translateY(-50%);
    transition: transform 0.7s ease, width 0.5s ease, height 0.5s ease, border-radius 0.5s ease;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.category-buttons button:hover::before {
    width: 300px;
    height: 300px;
    right: 50%;
    transform: translate(50%, -50%);
    border-radius: 50px;
    transition: 
        transform 0.3s ease, 
        width 0.3s ease, 
        height 0.3s ease, 
        border-radius 0.3s ease;
}

.br_990{
    display: none;
}

/* ------category-------- */

.category_back {
    display: none;
    background: #6f6f6f;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 4% 0 5%;
    overflow: hidden; /* アニメーション時に高さがきれいに変わるように */
    transition: height 0.3s ease-in-out; /* 高さの変化をスムーズに */
}

.category-content {
    max-width: 885px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* 商品展開の中身 */
p.product_ti {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    padding-top: 0;
}

.category-content ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: center;
    align-self: center;
    max-width: 1080px;
    width: 100%;
    gap: 50px;
    padding-left: 0;
}

.product{
    background-color: #fff;
    height: 255px;
    display: flex;
    align-items: center;
    border-radius: 15px;
}

.product a{
    padding: 5% 2% 3% 2%;
    font-weight: bold;
    font-size: 1.7rem;
    text-align: center;
    flex: 1 1 100px;
    margin: 1%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product:hover {
    box-shadow: 0 10px 20px #2d2d2d;
    border-radius: 15px;
}

.product p{
    position: relative;
    display: inline-block;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 1.1;
    width: 100%;
    margin-top: 0;
    max-height: 55.19px;
}

.product a{
    position: relative;
}

.product a::after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 4px solid #D70050;
    border-right: 4px solid #D70050;
    -webkit-transform: rotate(45deg) translate(149px, 9px);
    transform: rotate(45deg);
    z-index: 1;
    top: 50%;
    right: 13px;
}

.list-s{
    font-size: 1.4rem;
}


.product_button:hover {
    background-color: #c40048;
}


.product picture img{
    width: 80%;
    margin: 0;
    max-width: 170px;
    mix-blend-mode: multiply;
    width: 100%;
    height: 150px;
    object-fit: contain;
}


/* ------------responsive--------------- */
@media screen and (max-width: 1280px) {
    .category-content{
        max-width: 800px;
    }

    .content_inner{
        padding: 4% 0 6%;
    }

    .category-buttons{
        gap: 25px;
    }

    .category-buttons button{
        width: 250px;
    }

    .button_arrow {
        transform: translateX(99px) rotate(90deg);
    }

    p.product_ti{
        font-size: 2.4rem;
    }

    .category-content ul{
        gap: 40px;
    }

    .second-ti{
        font-size: 1.4rem;
    }

    

}

@media screen and (max-width: 1080px){
    .category-content ul{
        gap: 30px 20px;
    }
}

@media screen and (max-width: 990px) {
    .content_inner{
        max-width: 990px;
        padding: 4% 0 8%;
    }

    .category-content {
        max-width: 756px;
    }

    .category-buttons {
        max-width: 990px;
        gap: 18px;
    }

    .category-buttons button {
        width: 240px;
    }

    .category-buttons button p{
        font-size: 1.4rem;
    }

    .category-buttons button::before{
        width: 25px;
        height: 25px;
    }

    .category-buttons button:hover::before{
        display: none;
    }

    .button_arrow {
        transform: translateX(97px) rotate(90deg);
    }

    p.product_ti {
        font-size: 2rem;
    }

    .category-content ul{
        gap:20px;
    }

    .product_button{
        margin-left: 25px;
    }

    .product p {
        font-size: 1.4rem;
        max-height: 46.38px;
    }

    .product a::after{
        width: 10px;
        height: 10px;
        border-top: 3px solid #D70050;
        border-right: 3px solid #D70050;
    }

    .list-s{
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 820px){
    .category-buttons button {
        width: 200px;
    }

    .category-buttons button::before{
        width: 18px;
        height: 18px;
    }

    .button_arrow {
        font-size: 1.8rem;
        transform: translateX(80px) rotate(90deg);
    }

    .category-content {
        max-width: 636px;
    }

    p.product_ti{
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .product picture img{
        max-width: 120px;
        height: 120px;
    }

    .product a{
        padding-top: 0;
    }

}

@media screen and (max-width: 768px){
    #content{
        width: 90%;
    }

    main{
        margin: 40px 0 11%;
    }

    .list_image_inner {
        padding-top: 21%;
        padding-bottom: 5%;
        margin-top: -11%;
        padding-left: 4%;
        padding-right: 4%;
    }

    .second-ti{
        font-size: 1.1rem;
        padding-left: 0;
    }
}


@media screen and (max-width: 720px){
    .category-buttons{
        gap: 18px 20px;
    }

    .category-buttons button {
        width: 170px;
        font-size: 12px;
    }

    .button_arrow {
        transform: translateX(67px) rotate(90deg);
    }

    .category-buttons button::before{
        width: 15px;
        height: 15px;
    }

    .category-content {
        max-width: 550px;
    }
    
    .product p{
        font-size: 1.2rem;
    }

    .list-s {
        font-size: 1rem;
    }

    .product{
        height: 220px;
    }

    .product_button {
        width: 20px;
        height: 20px;
        margin-left: 18px;
    }

    .product a::after{
        right: 10px;
    }
}

@media screen and (max-width: 580px){

    .category-buttons{
        max-width: 400px;
        gap: 15px 25px;
    }

    .category-buttons button{
        width:117px;
        height: 35px;
    }

    .category-buttons button::before {
        width: 12px;
        height: 12px;
    }

    .button_arrow {
        transform: translateX(41px) rotate(90deg);
        font-size: 1.2rem;
    }

    .category-content {
        max-width: 400px;
    }

    .category-buttons button p{
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .product p{
        max-height:78px;
    }

    p.product_ti{
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .product picture img{
        width: 100px;
        height: 100px;
    }

    .product a::after {
        width: 6px;
        height: 6px;
        border-top: 2px solid #D70050;
        border-right: 2px solid #D70050;
    }
}


@media screen and (max-width: 480px){
    .category-buttons{
        max-width: 480px;
        gap: 15px 16px;
    }

    .category-buttons button{
        width:117px;
        height: 35px;
    }

    .category-content {
        max-width: 400px;
    }

    .category-buttons button p{
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .product {
        height: 180px;
    }

    .product p{
        padding-top: 0.5rem;
    }

    .product picture img {
        width: 90px;
        height: 90px;
        padding-top: 10px;
    }

    .product a::after {
        width: 5px;
        height: 5px;
        right: 7px;
    }

}

@media screen and (max-width: 420px){
    .category-buttons {
        max-width: 348px;
        gap: 18px 16px;
    }

    .category-buttons button {
        width: 105px;
        height: 35px;
    }
    
    .category-buttons button::before {
        width: 10px;
        height: 10px;
        right: 7px;
    }

    .button_arrow {
        transform: translateX(40px) rotate(90deg);
    }

    p.product_ti{
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .category-content {
        max-width: 340px;
    }

    .product{
        height: 160px;
    }

    .product a{
        padding: 3% 1% 3% 1%;
    }

    .product p {
        font-size: 1rem;
        padding-bottom: 0;
        padding-top: 2px;
    }

    .product a::after {
        border-top: 1.5px solid #D70050;
        border-right: 1.5px solid #D70050;
    }

    .product picture img {
        width: 50px;
        height: 50px;
        padding-top: 0;
    }

    .list-s {
        font-size: 1rem;
    }
}

@media screen and (max-width: 362px){
    .second-ti {
        font-size: 11px;
    }

    .category-buttons {
        gap: 20px 5px;
    }
}

/* ------------responsive--------------- */


@media screen and (max-width: 700px){
    .p_container{
        flex-direction: column;
        justify-content: center;
    }

    .p_image {
        margin-right: 0;
        width: 90%;
        height: 200px;
        padding: 0 3.3%;
        outline: 1px solid #333;
        border: none;
    }

    .p_image img{
        height: 200px;
        object-fit: contain;
    }

    .p_content{
        width: 90%;
        margin-top: 25px;
    }

    td:not(.table_header):not(.spacing-row){
        font-size: 13px;
    }

    .p_button{
        margin: 25px auto 0 auto;
    }

    tr:not(.spacing-row) td:first-child:not(.table_header) {
        width: 30%; 
    }
    
    tr:not(.spacing-row) td:not(.table_header) {
        width: 70%; 
    }

    #p_inquiry p:first-of-type{
        padding-bottom: 0;
    }
}

@media screen and (max-width: 580px){
    img.p_worry_image{
        width: 95px;
        transform: translate(170px, -47px);
    }
}

@media screen and (max-width: 520px){

    .p_solve::after{
        transform: translate(-50%, 29px);
    }

    .p_worry_inner p:first-of-type{
        padding-bottom: 2%;
    }
}

@media screen and (max-width: 480px){
    #container{
        margin-top: 15.1%;
    }

    #content h2{
        font-size: 1.5rem;
    }

    .p_lower h3{
        font-size: 1.4rem;
    }
    
    .p_content{
        margin-top: 15px;
    }

    .p_button{
        margin: 15px auto 0 auto;
    }

    .table_header{
        border-bottom: 3.5px solid black;
    }

    .spacing-row td {
        height: 5px;
    }

    .p_lower p{
        font-size: 1.2rem;
    }

    #p_service{
        padding: 1rem;
    }

    .p_s_inner{
        width: 100%;
    }

    .p_s_inner ul{
        padding-left: 1rem;
        font-size: 1.2rem;
    }

    img.p_worry_image{
        width: 85px;
        transform: translate(144px, -36px);
    }

    .p_worry_inner p:first-of-type{
        padding-bottom: 4%;
    }

    .table_header{
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 420px){
    #content{
        width: 90%;
    }

    .p_btn{
        font-size: 1.1rem;
    }

    .p_solve::after {
        transform: translate(-50%, 27px);
    }

    img.p_worry_image{
        width: 75px;
        transform: translate(136px, -32px);
    }

    .p_content{
        width: 100%;
    }


}

@media screen and (max-width: 390px){
    .p_worry_inner ul{
        margin-bottom: 1%;
    }

    img.p_worry_image{
        width: 60px;
        transform: translate(121px, -26px);
    }
}

@media screen and (max-width: 368px){
    img.p_worry_image{
        transform: translate(121px, -10px);
    }
}