:root {
    --ink: #2b2b2b;
    --muted: #6f7581;
    --bg: #fff;
    --line: #eaeef3;
    --pink: #ff7da8;
    --mint: #04c796;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--ink);
    background: #fafafa;
    line-height: 1.8;
}

/* HERO */

.tips-hero {
    background: radial-gradient(circle at 20% 30%, #ffeaf3 0%, transparent 70%),
        radial-gradient(circle at 90% 20%, #e9faff 0%, transparent 60%), #fff;
    text-align: center;
    padding: 80px 20px;
}

.tips-hero .eyebrow {
    background: linear-gradient(90deg, #ff7da8, #ff9fc4);
    color: #fff;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.tips-hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    margin: 18px 0 10px;
}

.tips-hero p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

/* CONTAINER */

.tips-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 16px 80px;
}

.tips-section {
    margin: 60px 0;
}

.tips-section h2 {
    font-size: 1.8rem;
    color: #3b3640;
    border-left: 6px solid var(--pink);
    padding-left: 10px;
    margin-bottom: 20px;
}

.fgfag {
    padding: 10px;
}

/* FLEX */

.tips-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.tips-flex.reverse {
    flex-direction: row-reverse;
}

.tips-panel {
    flex: 1;
    background: var(--bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tips-panel h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #444;
}

.tips-panel p {
    color: #555;
}

.tips-panel ul {
    margin: 10px 0 0 20px;
    color: #555;
}

.tips-img {
    flex: 1;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* CARDS */

.tips-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tips-cards article {
    background: var(--bg);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
}

.tips-cards h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.tips-cards p {
    color: #666;
}

/* GRID (3 columns) */

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.tips-card2 {
    background: var(--bg);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tips-card2 h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 8px;
}

.tips-card2 p {
    color: #555;
}

/* CTA */

.cta {
    text-align: center;
    background: linear-gradient(180deg, #fff, #fff4f8);
    border-radius: 18px;
    padding: 40px 20px;
}

.tips-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn.line {
    background: linear-gradient(90deg, #00c300, #00d544);
}

.btn.pink {
    background: linear-gradient(90deg, #ff7da8, #ff4f82);
}

.btn:hover {
    transform: translateY(-2px);
}

/* FOOTER */

.tips-footer {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .tips-flex {
        flex-direction: column;
    }
    .tips-img {
        width: 100%;
    }
    .tips-section h2 {
        font-size: 1.4rem;
    }
}
