/* タイポグラフィ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@100;200;300;400;500;600;700&display=swap');

/* === キーフレーム === */
@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "IBM Plex Sans JP", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #2b2b2b;
    background-color: #e4eef1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: rgba(35, 111, 117, 0.8);
}

/* 画像 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

p {
    line-height: 1.8;
}

.logo {
    height: 60px;
    object-fit: cover;
    max-width: 100%;
}

#headline {
    animation: fade-in .5s ease-in-out;
}

.fade-in {
    opacity: 0;
    animation: fade-in .5s ease-in-out 1s 1 forwards;
}

.bk-rainbow {
    background: linear-gradient(
        45deg,
        #FFB3BAcc, /* パステルレッド */
        /*#FFDFBAcc,*/ /* パステルオレンジ */
        #FFFFBAcc, /* パステルイエロー */
        /*#BAFFC9cc,*/ /* パステルグリーン */
        #BAE1FFcc, /* パステルブルー */
        /*#D4B7FFcc,*/ /* パステルインディゴ */
        #FFB7FFcc  /* パステルバイオレット */
    );

    border-radius: 15px;
}

/* グリッドコンテナ */
.grid {
    display: grid;
    gap: 1rem; /* アイテム間の余白 */
    margin-top: 1rem;
    margin-bottom: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* カラム指定が必要な場合の補助クラス（オプション） */
@media (min-width: 768px) {
    .grid-12 {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(12, 1fr);
    }

    .col-span-2 { grid-column: span 2; }
    .col-span-4 { grid-column: span 4; }
    .col-span-6 { grid-column: span 6; }
    .col-span-12 { grid-column: span 12; }
}

/* 見た目のための装飾（システムには不要） */
.item1 {
    /*background: #eee;*/
    padding: 1rem;
    text-align: center;
    border: 1px solid #ccc;
}

.item {
    /*background: #eee;*/
    padding: 1rem;
    /*text-align: center;*/
    border: 1px solid #ccc;
}
