/*
明朝
font-family: "Noto Serif JP", serif;

丸
font-family: "M PLUS Rounded 1c", sans-serif;
*/

body{
    background-color: #0abab5;
}

.center{
    font-family: "M PLUS Rounded 1c", sans-serif;
    width: 767px;
    margin: 0 auto;
    background-color: #fffffc;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.45);
}

.fv-section{
    background-image: url('../img/main.jpg');
    background-size: contain;
    background-position: top center;
    width: 100%;
    aspect-ratio: 9 / 16;
}

.problem-section{
    padding-bottom: 50px;
}

.title-img{
    margin: 20px auto;
    width: 80%;
}

.revi-feature-content{
    width: 80%;
    margin: 0 auto;
}

.revi-feature-list li{
    padding: 20px;
    margin: 10px auto;
}

.revi-feature-list img{
    width: 100%;
}

.revi-feature-container p{
    margin-top: 30px;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 20px;
    background-color: aliceblue;
}

.revi-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    padding: 0 20px;
}

.revi-content-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.revi-content-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15);
}

.img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #eee;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.revi-content-item:hover .img-container img {
    transform: scale(1.1);
}

/* カテゴリーラベル装飾 */
.img-container::after {
    content: "REVI";
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #c5a059; /* primary-gold */
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.text-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.revi-content-item:hover .text-content {
    border-bottom: 3px solid #c5a059; /* primary-gold */
}

.revi-content-item h3 {
    font-size: 1.25rem;
    color: #333333; /* text-dark */
    margin: 0 0 15px 0;
    line-height: 1.5;
    position: relative;
    padding-bottom: 10px;
}

.revi-content-item h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c5a059; /* primary-gold */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.revi-content-item:hover h3::after {
    width: 60px;
}

.revi-content-item p {
    font-size: 0.95rem;
    color: #666666; /* text-gray */
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

.ingredient-text{
    width: 80%;
    background-color: #e0f2f2;
    margin: 20px auto;
    padding: 20px;
}

.ingredient-content{
    padding: 20px;
}

.ingredient-content img{
    width: 70%;
    margin: 0 auto;
}

.flow-section figure{
    padding: 20px;
}

.tel-text{
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* LINEのブランドカラー */
.bg-line { background-color: #06c755; }
.hover\:bg-line-dark:hover { background-color: #05b34c; }

/* 電話ボタンの濃い背景色 */
.bg-phone-dark { background-color: #08928f; }
.hover\:bg-phone-deeper:hover { background-color: #067a77; }
