
.material-details figure {
    text-align: center;
    margin-bottom: 15px;
}

.material-details figure img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 3px solid #5b2; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
}

.material-details figure img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.making-method {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background: linear-gradient(to bottom, #F2F4F5 0%, #FAFBFD 100%);
    padding: 2em;
    /* text-align: center; */
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    position: relative;
    /* align-items: center; */
}


.making-method .left {
    position: relative;
    width: 50%;
    text-align: center;
    border-right: 1px solid;
    border-image: linear-gradient(
        to bottom,
        rgba(255,241,0,0.2), /* 両端を少し色を濃く */
        #FFE066,
        #FF7F50,
        #6DD5ED,
        rgba(109,213,237,0.2) /* 両端を少し色を濃く */
    ) 1 100%;
    padding-right: 1em;
}

.making-method .left::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../images/brand/soulmate/assets/dog.png);
    background-repeat: no-repeat;
    background-position: bottom 0 right 0;
    z-index: 2;
    pointer-events: none; /* クリックイベントを透過 */
}

.making-method .left figure,
.making-method .left figure img {
    position: relative;
    z-index: 1;
}
@media (max-width: 1000px) {
    .making-method .left::before {
        background-size: 40%;
        background-position: bottom 10px right 10px;
    }
}
.making-method .left figure {
    width:80%;
    margin: 0 auto;
}
.making-method .right {
    width: 50%;
    /* padding-top: 40px; */
    padding-left: 1.5em;
}
.making-method fieldset {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 1em;
    margin-top: 60px;
    background-color: white;
}
.making-method fieldset legend {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}
.making-method ul {
    margin-left: 30px;
}
.making-method .specification {
    /* font-size: 24px; */
    font-weight: bold;
    border-bottom: 2px solid currentColor;
    margin: 10px 0 15px 0;
    width: fit-content;
    margin:auto;
}
.making-method .specification + ul {
    display: flex;
    gap:1em;
    justify-content: center;
    margin: 1.5em auto 0 auto;
}
@media (max-width: 1000px) {
    .making-method .specification + ul {
        flex-direction: column;
        gap:0.5em;
    }
}
.making-method .specification + ul li {
    font-weight: 700;
    text-align: center;
    border:2px solid currentColor;
    border-radius: 5px;
    padding:15px;
    color: #666;
    min-height: calc(2em * 1.5 + 30px); /* 2行分の高さを確保（line-height × 2行 + padding上下） */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}
.making-method .catch {
    background-color: #e0e02c;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    border-radius: 5px;
    padding: 5px 25px;
    width: fit-content;
    margin: 0 auto;
}
.making-method .method-name {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 15px 0;
}
.making-method .title-wrapper {
    font-size: 16px;
    /* margin: 20px 0; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 2em;
}

.making-method .title-wrapper .title {
    /* font-weight: bold; */
    font-size: clamp(1.1em, .65em, 2em);
}

.making-method .title-wrapper .slash-left,
.making-method .title-wrapper .slash-right {
    color: #000;
    font-size: 42px;
}

.making-method .summary {
    font-size: 0.9em;
    text-align: center;
    background-color: gray;
    color: white;
    padding: 15px 5px;
    border-radius: 8px;
    border: none;
    margin: 0 10px;
    position: relative;
    /* text-align: center; */
}

.making-method .summary::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid gray;
    transform: translateX(-50%);
}

/* こんな愛犬におすすめリストのチェックマーク */
.making-method .recommended-list {
    list-style: none;
    padding-left: 0;
}

.making-method .recommended-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
}

.making-method .recommended-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #FF0000;
    background-color: #fff;
    vertical-align: middle;
}

/* スマホビュー：1000px以下で縦並び＆テキストセンタリング */
@media (max-width: 1000px) {
    .making-method {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .making-method .left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid;
        padding-right: 0;
        border-image: linear-gradient(
            to right,
            rgba(255,241,0,0.2),
            #FFE066,
            #FF7F50,
            #6DD5ED,
            rgba(109,213,237,0.2)
        ) 1 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .making-method .right {
        width: 100%;
        padding-top: 0;
        padding-left: 0;
        text-align: center;
    }
    
    .making-method .catch {
        margin: 0 auto;
    }
    
    .making-method .method-name {
        text-align: center;
    }
    
    .making-method .summary {
        text-align: center;
    }
    
    .making-method .specification {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .making-method ul {
        margin-left: 0;
        text-align: left;
        display: inline-block;
    }
    
    .making-method .recommended-list {
        text-align: left;
        display: inline-block;
    }
    
    .making-method fieldset {
        text-align: center;
        /* max-width: 90%; */
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    
    .making-method fieldset ul {
        text-align: left;
        display: inline-block;
    }
}

.main-protein {
    background-image: url(../../images/brand/soulmate/assets/redmaet-bg.jpg);
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    margin-top: 15px;
    position: relative;
}

.main-protein figure {
    position: absolute;
    top: 40%;
    left: 6%;
}

.main-protein figure img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 3px solid #5b2; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
}

.main-protein figure img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.main-protein .point {
    position: absolute;
    bottom: 6%;
    right: 5%;
    font-size: 0.85em;
    color: #333;
    padding-left: 0;
    width: 50%;
}

@media (max-width: 1000px) {
    .main-protein {
        background-size: contain;
        background-color: #F7E5C9;
        height: 400px;
    }
    .main-protein figure {
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
    }
    .main-protein .point {
        bottom: 5%;
        width: 90%;
        left: 5%;
    }
}

/* FAQ 2列構成 */
.faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1000px) {
    .faq {
        grid-template-columns: 1fr;
    }
    /* 他のフレーバーセクションはスマホビューでも2列を維持 */
    .column-2 .column .column-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* 他のフレーバー画像のホバーアニメーション */
.column-2 .column .column-2 .column figure {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.column-2 .column .column-2 .column figure img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}

.column-2 .column .column-2 .column figure:hover {
    transform: translateY(-5px);
}

.column-2 .column .column-2 .column figure:hover img {
    transform: scale(1.05);
}

.grad-bg {
    /* background: linear-gradient(to right, #26DACA 0%, #2397EF 100%); */
    color: #fff;
    padding: 5px 8px;
    /* border-radius: 8px; */
    font-weight: bold;
    font-size: 0.82em;
    text-align: center;
    border-top:1px solid #fff;
    border-bottom:1px solid #fff;
    /* width: fit-content; */
    /* margin: 0 auto 0.45em auto; */
}
.chicken {
    background: linear-gradient(to right, #ECB500 0%, #ca9b02 100%);
}
.seafood {
    background: linear-gradient(to right, #26DACA 0%, #2397EF 100%);
}
.flavor-features {
    list-style: none;
    padding: 0;
}

.flavor-features li {
    border-radius: 8px;
    background: linear-gradient(to right, #26DACA 0%, #2397EF 100%);
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 0.82em;
    width: fit-content;
    margin: 0 auto 0.45em auto;
}

