@charset "utf-8";

/*----------------------------------------------------
    共通css
----------------------------------------------------*/

.btn-internal a {
    background: #E07B07 url(https://www.meal-os.com/wp/wp-content/themes/SE038/img/arrow_wt.png) right 15px top 50% no-repeat;
    background-size: 3rem auto;
}
.img_center {
    margin: 0 auto 30px;
    text-align: center;
}
dl {
    margin: 20px 0 20px;
    padding: 10px 10px 0;
}
dt, dd {
    padding: 0 0 6px 20px;
    position: relative;
}
dt {
	font-weight: bold;
}
dt::before,
dd::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--color-d-green);
}
dt::before {
    width: 12px;
    height: 12px;
    left: 2px;
    top: 6px;
}
dd::before {
    width: 6px;
    height: 6px;
    left: 5px;
    top: 10px;
}


        .diagram-container {
            display: grid;
            /* Creates a responsive grid that fits as many 200px columns as possible */
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem; /* Gap between grid items */
            max-width: 1000px; /* Maximum width of the container */
            width: 100%; /* Ensure it takes full width up to max */
            padding: 2rem;
            background-color: #ffffff; /* White background for the container */
            border-radius: 1rem; /* Rounded corners */
             /* Container shadow */
        }

        /* Central topic styling */
        .central-topic {
            /* Span the central topic across all grid columns */
            grid-column: 1 / -1;
            text-align: center;
            padding: 1.5rem;
            background-color: #0ea5e9; /* Sky blue background */
            color: white; /* White text */
            border-radius: 0.75rem; /* Rounded corners */
            font-size: 1.5rem; /* Larger font size */
            font-weight: 600; /* Semi-bold */
            margin-bottom: 2rem; /* Space below the central topic */
            box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); /* Shadow for the central topic */
        }

        /* Benefit card styling */
        .benefit-card {
            background-color: #e2f7fa; /* Light lime green background */
            padding: 1.2rem;
            border-radius: 0.75rem; /* Rounded corners */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Card shadow */
             /* Slightly darker border */
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Hover transition */
        }

        /* Hover effect for benefit cards */
        .benefit-card:hover {
            transform: translateY(-5px); /* Lift effect */
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Stronger shadow on hover */
        }

        /* Benefit card heading styling */


        /* Benefit card list styling */
        .benefit-card ul {
            list-style: none; /* Remove default bullet points */
            padding-left: 0; /* Remove default padding */
            font-size: 0.9rem; /* List item font size */
            color: #3f6212; /* Darker green text */
        }

        /* Benefit card list item styling */
        #contents .benefit-card ul  li {
            margin-bottom: 0.5rem; /* Space between list items */
             /* Needed for custom bullet positioning */
             /* Space for the custom bullet */
            font-size: 1.2rem;
        }

        /* Custom bullet point using ::before pseudo-element */
        .benefit-card li::before {
            content: '✓'; /* Checkmark symbol */
            position: absolute;
            left: 0;
            color: #84cc16; /* Bright lime green color */
            font-weight: bold;
        }


#page .benefit-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #34ac9f;
    margin: 0.75rem;
    border-bottom: 2px solid #afe5dd;
    padding: 1%;
    background: none;
}



.flow-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            padding: 40px 0;
            min-height: 500px; /* 最小の高さを確保 */
        }
        
        .flow-center-label {
            position: absolute;
            background-color: #34ac9f;
            color: white;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: 1.2rem;
            font-weight: bold;
            font-size: 1.5rem;
            box-shadow: 0 0 0 10px rgba(58, 141, 222, 0.1);
        }

        .flow-item {
            position: absolute;
            width: 160px;
            height: 160px;
            background-color: #ffffff;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 15px;
            box-sizing: border-box;
            /* ホバーアニメーションを削除するためtransitionをコメントアウトまたは削除 */
            /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
            border: 3px solid #34ac9f;
        }


       .flow-item .item-ttl {
            margin: 0;
            font-size: 1.4rem;
            font-weight: 600;
            color: #34ac9f;
        }

        .flow-item p {
            margin: 5px 0 0;
            font-size: 1rem;
            color: #555;
            line-height: 1.4;
        }

        /* Positioning for the 5-item circular layout (Pentagon) */
        /* 5項目用に再計算した位置 */
        .item-1 { transform: translate(0, -220px); } /* Top */
        .item-2 { transform: translate(209px, -68px); } /* Top-Right */
        .item-3 { transform: translate(129px, 178px); } /* Bottom-Right */
        .item-4 { transform: translate(-129px, 178px); } /* Bottom-Left */
        .item-5 { transform: translate(-209px, -68px); } /* Top-Left */






/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/
@media screen and (min-width: 600px) {

#index.additional .addCont01 .thBoxArea .sBox {
    width: 30%;
}


#category #index .addCont01 {
    margin: 8rem 0 6rem;
    padding-bottom: 2rem;
}

#category #index .addCont01 .wi1000 {
    width: auto;
    padding: 0 2rem;
}

#category #index .addCont01 .wi1000 .thBoxArea {
    display: flex;
    justify-content: space-between;
    margin: 9rem auto 2rem;
    /* width: 94%; */
}

#category #index .addCont01 .wi1000 .thBoxArea .sBox {
    margin: 0;
    width: 32%;
    float: none;
    padding: 0 15px 30px;
}
#category #index .addCont01 .wi1000 .thBoxArea .sBox .btn-web a, 
#category #index .addCont01 .wi1000 .thBoxArea .sBox .btn-internal a {
    font-size: 14px;
    padding: 2rem 3rem 2rem 2rem;
    background-size: 20px;
    line-height: 1.5;
}
#category #index .addCont01 .wi1000 .thBoxArea:after {
    display: none;
}

.pc-tel{
	display:block;
    font-size: 2rem;
    font-weight: bold;
}


}

/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 599px) {

.pc-tel{
	display:none;
}

    /* フロー全体を縦並びにする */
    .flow-wrapper {
        flex-direction: column;
        min-height: auto; /* PC表示用の高さをリセット */
        padding: 0;
    }

    /* 各項目を円形からカード型に変更し、横並びのレイアウトにする */
    .flow-item {
        position: static; /* 絶対配置を解除 */
        transform: none !important; /* 絶対配置のtransformをリセット */
        margin: 15px auto;
        width: 80%;
        max-width: 350px;
        height: auto;
        flex-direction: row; /* アイコンとテキストを横並びに */
        text-align: left;
        padding: 20px;
        border-radius: 12px;
    }


    /* 中央のラベルを非表示にする */
    .flow-center-label {
        display: none;
    }
	


}