@charset "UTF-8";

/*

    Template: swell

    Theme Name: SWELL CHILD

    Theme URI: https://swell-theme.com/

    Description: SWELLの子テーマ

    Version: 1.0.0

    Author: LOOS WEB STUDIO

    Author URI: https://loos-web-studio.com/



    License: GNU General Public License

    License URI: http://www.gnu.org/licenses/gpl.html

*/

/*商品カテゴリー画像呼び出し調整*/

.acf-banner-grid {
    display: grid;
	  gap: 2.5rem 1.5rem;
}

@media (min-width: 1200px) {
    .acf-banner-grid {
        grid-template-columns: repeat(4, 1fr); /* 1200px以上で3列表示 */
    }
	.banner-title{
		font-size:1.15rem;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
    .acf-banner-grid {
        grid-template-columns: repeat(3, 1fr); /* タブレットサイズで3列表示 */
    }
}

@media (max-width: 767px) {
    .acf-banner-grid {
        grid-template-columns: repeat(2, 1fr); /* モバイルサイズで2列表示 */
    }
	.banner-title{
		  font-size: 1rem;
	}
}

.acf-banner-grid .grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.acf-banner-grid img {
    display: block; /* ブロック表示にして幅と高さを調整 */
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影の追加 */
}

.acf-banner-grid a {
    display: block; /* ブロック表示にして幅と高さを調整 */
    text-decoration: none; /* 下線を除去 */
}

.banner-title {
    margin-top: 0.8rem;
    font-weight: bold;
    text-align: center;
	  word-wrap: break-word;
    word-break: break-all;
    width: 100%;
    white-space: normal; 
}

.detail-button {
    display: block;
    margin-top: 0.5rem;
    padding: 0.45rem 1rem;
    background-color: #fff;
    color: #B74E60;
    text-align: center;
    border-radius: 2rem;
    text-decoration: none;
	  font-size:0.85rem;
    font-weight: bold;
    border: 1px solid #B74E60;
}

.detail-button:hover {
    background-color: #B74E60;
	  color:#fff;
}


/*ピックアップ画像呼び出し調整*/

.acf-pickup-grid {
    display: grid;
    gap: 2.5rem 1.5rem;
}

@media (min-width: 1200px) {
    .acf-pickup-grid {
        grid-template-columns: repeat(4, 1fr); /* 1200px以上で3列表示 */
    }
    .pickup-title{
        font-size:1.15rem;
    }
    .badge {
        font-size: 1.2rem;
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .acf-pickup-grid {
        grid-template-columns: repeat(3, 1fr); /* タブレットサイズで3列表示 */
    }
}

@media (max-width: 767px) {
    .acf-pickup-grid {
        grid-template-columns: repeat(2, 1fr); /* モバイルサイズで2列表示 */
    }
    .pickup-title{
        font-size: 1rem;
    }
    .badge {
        font-size: 0.85rem;
        width: 45px;
        height: 45px;
    }
}

.acf-pickup-grid .grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.acf-pickup-grid img {
    display: block; /* ブロック表示にして幅と高さを調整 */
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影の追加 */
}

.acf-pickup-grid a {
    display: block; /* ブロック表示にして幅と高さを調整 */
    text-decoration: none; /* 下線を除去 */
}

.pickup-title {
    margin-top: 0.8rem;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
    white-space: normal; 
}

.pickup-price {
    text-align: center;
    font-size: 1rem;
    color: #333;
}

.detail-order-button {
    display: block;
    margin-top: 0.5rem;
    padding: 0.45rem 1rem;
    background-color: #fff;
    color: #B74E60;
    text-align: center;
    border-radius: 2rem;
    text-decoration: none;
    font-size:0.85rem;
    font-weight: bold;
    border: 1px solid #B74E60;
}

.detail-order-button:hover {
    background-color: #B74E60;
    color:#fff;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 0.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


/*けやきの風呼び出し調整*/

.acf-magazine-grid {
    display: grid;
    gap: 0.9rem 0.9rem;
}

@media (min-width: 1200px) {
    .acf-magazine-grid {
        grid-template-columns: repeat(4, 1fr); /* 1200px以上で4列表示 */
    }
    .magazine-title {
        font-size: 1.15rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .acf-magazine-grid {
        grid-template-columns: repeat(3, 1fr); /* タブレットサイズで3列表示 */
    }
}

@media (max-width: 767px) {
    .acf-magazine-grid {
        grid-template-columns: repeat(2, 1fr); /* モバイルサイズで2列表示 */
    }
    .magazine-title {
        font-size: 1rem;
    }
}

.acf-magazine-grid .magazine-grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #F7F7F7;
    padding: 15px;
}

.acf-magazine-grid img {
    display: block; /* ブロック表示にして幅と高さを調整 */
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影の追加 */
}

.acf-magazine-grid a {
    display: block; /* ブロック表示にして幅と高さを調整 */
    text-decoration: none; /* 下線を除去 */
}

.magazine-title {
    margin-top: 0.8rem;
    font-weight: bold;
    text-align: center;
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
    white-space: normal;
}

.type-button {
    display: block;
    margin-top: 0.5rem;
    padding: 0.45rem 1rem;
    background-color: #fff;
    color: #B74E60;
    text-align: center;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #B74E60;
}

.type-button:hover {
    background-color: #B74E60;
    color: #fff;
}




