@charset "utf-8";
/* ===================== */
/* === 共通設定 === */
/* ===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* タイマー表示 */
.timerHidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}
.timerHidden.timerVisible {
    visibility: visible;
    opacity: 1;
}

/* 共通 */
.pc { display: block !important; width: 1000px; }
.sp { display: none !important; }

.main-text {
    text-align: center;
    margin: 10px 0 20px;
    font-size: 16px;
    color: #555;
}
.list-price {
	margin: 16px 0 0;
	font-weight: 600;
	text-align: right;
}
h1 {
	width: 60%;
    background-color: #83C4BB;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
    border-radius: 10px;
    margin: 20px 0 10px;
}


.sec_ttl_hyakkasou { 
	background-color: #d6a7ab;
}

.sec_ttl_aquaskin {
	background-color: #6eb7b8;
}

.sec_ttl_rf28 {
	background-color: #a15dba;
}

.sec_ttl_vita {
	background-color: #e69502;
}

.sec_ttl_give {
	background-color: #f0a3b4; color:#333333
}

.sec_ttl_hadac {
	background-color: #a3d0f0; color:#333333
}

.sec_ttl_artis {
	background-color: #966e53;
}

.sec_ttl_art {
	background-color: #300663;
}

.sec_ttl_miracoco {
	background-color: #FFD1DC; color:#333333
}

.sec_ttl_papilio {
	background-color: #b00f07;
}

.sec_ttl_pd {
	background-color: #d10691;
}


.h1-blue { background-color: #4A90E2; }


/* ===================== */
/* === button003 ボタン === */
/* ===================== */

.button003 a {
    background: #eee;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    text-decoration: none;
}

.button003 a:hover {
    background: #313131;
    color: #FFF;
}

.button003 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #313131;
    border-right: 3px solid #313131;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

.button003 a:hover:after {
    border-color: #FFF;
}

/* ===================== */
/* === バナーエリア === */

.container {
    width: 60%;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background-color: #FFFFFF;
    font-size: 16px;
}

.box {
    width: calc(25% - 12px);
    margin: 6px;
    border: solid 1px #ddd;
    background-color: #fefefe;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 12px;
    min-height: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.box a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.box-img {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.box-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.box-text {
    text-align: center;
    padding: 8px 0;
    min-height: 50px;
    font-size: 14px;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .container {
        width: 94%;
        margin: 0 auto 15px;
        justify-content: flex-start;
    }

    .box {
        width: calc(50% - 8px);
        margin: 4px;
        min-height: 220px;
    }

    .box-img {
        height: 110px;
        align-items: flex-start;
    }

    .box-text {
        min-height: 40px;
    }
	
	h1 {
	width: 100%;
	}
}

/* --- 改行位置 --- */
.phone { display: none; }
@media screen and (max-width: 767px) {
    .phone { display: block; }
}
