/*
Theme Name: Overlay Child
Theme URI: https://example.com/
Description: Child theme for the Overlay WordPress theme.
Author: Custom
Template: overlay
Version: 1.0.0
Text Domain: overlay-child
*/

/* Add your custom CSS below this line. */

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    color: #fff;
}

.site-title{
font-size: calc(2vw + 1.5rem);
}

/* TOPページ固定変更 */
.product_list_wrap .product_list {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
align-items: center;
gap: 0.5%;
list-style: none;
margin: 0;
padding: 0;
}
.product_list_wrap .product_list li {
width: 33%;
box-sizing: border-box;
padding: 0 10px;
text-align: center;
margin-bottom: 25px;
}
.product_list_wrap .product_list li a {
transition:0.4s;
}
.product_list_wrap .product_list li a:hover {
opacity: 0.8;
}
.product_list img{
display: block;
width: 100%;
}
.pl_name {
margin: 10px 0;
display: block;
font-size: 1.125rem;
}
.product_list_price {
margin-bottom: 20px;
}
.product_list_btn {
border: 1px solid #ddd;
padding: 6px 10px;
box-sizing: border-box;
font-size: 15px;
background: #eee;
color: #444;
display: block;
width: 100%;
max-width: 80%;
margin: 0 auto;
}

@media screen and (max-width:1000px) {
.product_list_btn {
max-width: 100%;
font-size: 14px;
}		
}
@media screen and (max-width:560px) {
.product_list_wrap .product_list {
flex-direction: column;
}
.product_list_wrap .product_list li{
width:100%;
}
.product_list_btn {
max-width: 60%;
}		
}


/*--------------------------------------------------------------
# 比較表CSS
--------------------------------------------------------------*/
.hikaku {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    text-align: center;
}

.hikaku th, .hikaku td {
    border: 1px solid #ddd;
    padding: 10px;
}

.hikaku th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
}

.hikaku tr:nth-child(even) {
    background-color: #f2f2f2;
}

.hikaku tr:hover {
    background-color: #ddd;
}

@media (max-width: 600px) {
    .hikaku {
        font-size: 14px;
    }
}
.gaiyou {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.gaiyou tr {
    display: flex;
    flex-wrap: wrap;
}

.gaiyou th, .gaiyou td {
    border: 1px solid #ddd;
    padding: 10px;
    flex: 1;
    vertical-align: middle;
}

/* ヘッダー（左列）のデザイン */
.gaiyou th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .gaiyou tr {
        display: flex;
        flex-direction: row;
    }
    .gaiyou th, .gaiyou td {
        flex: 1;
        min-width: 50%;
    }
}