/* === フォントサイズを画面サイズに応じて調整 === */
html {
    font-size: clamp(12px, 2vw, 16px); /* スマホ〜PCまで柔軟に調整 */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 1rem; /* 基準フォントサイズ */
}

.container {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.25rem;
}

h1 {
    background-color: #f8a5b3;
    border-radius: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: left;
    height: 5rem;
    margin-bottom: 1.875rem;
    background-size: 5rem;
    padding: 0.9375rem;
    font-size: 2rem;
}

section {
    background-color: #f8f8f8;
    border: 1px solid #fdd190;
    border-radius: 5px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

p {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    font-size: 1rem;
}

.catch {
    background: #ffffff;
    text-align: center;
    font-size: 1.2rem;
}

h2 {
    color: #000;
    padding-left: 1.25rem;
    background-color: #ffbc7e;
    margin-bottom: 0.9375rem;
    border-radius: 20px;
    font-size: 1.5rem;
}

h3 {
    margin-left: 1.25rem;
    margin-top: 1.875rem;
    font-size: 1.3rem;
}

.highlight-text {
    padding: 0.3125rem 0.625rem;
    background-color: #7ec5ff;
    border-radius: 5px;
    font-size: 1rem;
}

.section img {
    margin-top: 1.25rem;
}

footer {
    margin-top: 5rem;
    position: relative;
    font-size: 0.9rem;
}

img {
    margin-left: 1.875rem;
    border-radius: 2%;
}

.clickable-image {
    margin-left: 1.875rem;
    transition: transform 0.3s ease;
}

.clickable-image:hover {
    transform: scale(2.5);
    cursor: pointer;
}

#cards {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

.setumei-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
    border: 2px solid #1b1b1b;
    border-radius: 5px;
    font-weight: bold;
    width: 12.5rem;
    font-size: 1rem;
}
