@charset "UTF-8";

#sdgs-top .posts-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 55px 55px;
}
#sdgs-top .posts-container .img img {
    border-radius: 0px;
    width: 50vw;
    height: auto;
}
@media (min-width: 1024px) {
    #sdgs-top .posts-container {
        grid-template-columns: repeat(2, 1fr);
    }
    #sdgs-top .posts-container .img img {
        border-radius: 0px;
        width: 20vw;
        height: auto;
    }

}




.sdgs-container {
    display: grid;
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 15px;
}
@media (min-width: 1024px) {
    .sdgs-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post {
    display: flex;
    background-color: #fff;
    flex-wrap: wrap;
    justify-content: space-between; /* 子要素を左右に配置 */
    padding: 10px;
    box-sizing: border-box; /* パディングを含むボックスサイズを計算 */
    align-items: center; /* 子要素を中央揃え */
}

.post img {
    border-radius: 0px;
    aspect-ratio: 1 / 1;
}

.sdgs-logo {
    display: flex;
    flex-shrink: 1; /* 親要素に合わせて縮小 */
    justify-content: flex-end; /* 右端に配置 */
    align-items: center; /* 中央に配置 */
    gap: 10px; /* 画像間のスペース */
    margin-left: auto; /* 右端に揃えるための追加 */
}

/* 画像のサイズを統一 */
.sdgs-logo img {
    width: 60px; /* 幅を80pxに設定 */
    height: auto;
}






/*=======================================
  お勧め　Recommend   共通
  type　<section id="recommend" class="imgtext">
  type2 <section id="recommend2" class="imgtext"> 
=========================================*/

#sdgs-top .width-container,
#sdgs-1 .width-container,
#sdgs-2 .width-container,
#sdgs-3 .width-container,
#sdgs-4 .width-container,
#sdgs-5 .width-container,
#sdgs-6 .width-container {
    width: min(92%, 1166px);
    margin: auto;
    position: relative;
    
    background-color: #f1d49e;
    border-radius: 30px;
    padding: 1%;
}

.posts-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 55px 55px;
}


@media (min-width: 1024px) {
    .posts-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.posts-container h2 {
    margin-top: 0.8rem;
}
.posts-container h3 {
    margin-top: 0.8rem;
}
.posts-container ul {
    list-style: initial;
    list-style-position: inside;
}
.posts-text li {
    line-height: 1.8rem;
}
.posts-text ol {
    margin-left: 30px;
}
.mini-pic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:5px;
    text-align: center;
    align-items: center;
}
.mini-pic img {
    border-radius: 10px;
}


.mini-post {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:5px;
}
@media (max-width: 768px) {
    .mini-post  {
        grid-template-columns: repeat(1, 1fr);
    }
}




body {
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: #fffaf0;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }
  header {
    background-color: #fddc5c;
    padding: 1.5rem 1rem;
    text-align: center;
  }
  header h1 {
    margin: 0;
    font-size: 2rem;
  }
  header p {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
  }
  .section {
    padding: 2rem 1rem;
    border-bottom: 1px solid #eee;
    max-width: 800px;
    margin: auto;
  }
  .section h2 {
    font-size: 1.6rem;
    color: #b06010;
    margin-bottom: 1rem;
  }
  .section ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
  }
  .section ul li {
    margin-bottom: 0.5rem;
  }
  .highlight-box {
    background-color: #fff7d6;
    border-left: 6px solid #fbb03b;
    padding: 1rem;
    margin: 1.5rem 0;
    font-weight: bold;
    font-size: 1.1rem;
  }
  .img-placeholder {
    /* width: 100%;
    height: 50px; */
    background-color: #ddd;
    margin: 0.0rem 0 3rem 0;
    text-align: center;
    /* line-height: 200px; */
    color: #666;
  }



  p {
    line-height: 1.8; /* 行の高さを広げる */
    margin-bottom: 20px; /* 下の余白を追加 */
}

h3 {
    margin-top: 30px; /* 上の余白を広げる */
    margin-bottom: 15px; /* 下の余白を広げる */
    line-height: 1.6; /* 見出しの行の高さ */
}





