@charset "utf-8";





/* 親は縦積み・中央寄せ */
.section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 16px; /* ← 上下パディングも減らす */
  display: grid;
  row-gap: 0;        /* ← グリッド間の余白なし */
  justify-items: center;
}

/* 段（row）は Grid で列数を固定 */
.row-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 20px; /* 横の間隔（適度に） */
  justify-content: center;
  margin: 4px 0; /* ← 段の上下余白をギュッと詰める */
}

.row-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 20px;
  justify-content: center;
  margin: 2px 0; /* ← 真ん中の段はさらに詰める */
}



/* スマホは1列に */
@media (max-width: 640px){
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .row-2, .row-3 { margin: 6px 0; } /* モバイル時は少し余裕 */
}

/* ---- 段の上下余白を margin で調整 ---- */
.section > .row-2,
.section > .row-3 { margin: 10px 0; }     /* 全体の基準 */

.section > .row-2:first-child { margin-bottom: 6px; } /* 上→中を詰める */
.section > .row-3 { margin: 4px 0; }                  /* 中段はさらに詰める */
.section > .row-3 + .row-2 { margin-top: 6px; }       /* 中→下を詰める */

/* スマホは1列に */
@media (max-width: 640px){
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .section > .row-2,
  .section > .row-3 { margin: 8px 0; } /* モバイルの行間 */
}

.feel-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  padding: 18px 22px;
  border-radius: 10px;
  background: rgba(255, 240, 245, 0.4);
  box-shadow: 0 2px 14px rgba(247, 161, 196, 0.25);
}
.feel-list p {
  margin: 10px 0;
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}







/* 画像ホルダー */
.bubble{
  width: 100%;
  max-width: 300px;
  will-change: transform;
}
.bubble img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: none;
}








/* ===== ふわふわ（方向違いのバリエーション） ===== */
.fuwafuwa1 { animation: fuwafuwa1 4s ease-in-out infinite alternate; }
@keyframes fuwafuwa1 {
  0%   { transform: translate(0, 0) rotate(-3deg); }
  50%  { transform: translate(0, -8px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(3deg); }
}

.fuwafuwa2 { animation: fuwafuwa2 4.2s ease-in-out infinite alternate; }
@keyframes fuwafuwa2 {
  0%   { transform: translate(0, 0) rotate(-2deg); }
  50%  { transform: translate(6px, -10px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(-2deg); }
}

.fuwafuwa3 { animation: fuwafuwa3 4.5s ease-in-out infinite alternate; }
@keyframes fuwafuwa3 {
  0%   { transform: translate(0, 0) rotate(2deg); }
  50%  { transform: translate(-6px, -10px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(2deg); }
}

.fuwafuwa4 { animation: fuwafuwa4 5s ease-in-out infinite alternate; }
@keyframes fuwafuwa4 {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.fuwafuwa5 { animation: fuwafuwa5 3.2s ease-in-out infinite alternate; }
@keyframes fuwafuwa5 {
  0%   { transform: translate(0, 0) rotate(-2deg); }
  25%  { transform: translate(2px, -4px) rotate(0deg); }
  50%  { transform: translate(-2px, -6px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(-2deg); }
}

.fuwafuwa6 { animation: fuwafuwa6 4.8s ease-in-out infinite alternate; }
@keyframes fuwafuwa6 {
  0%   { transform: translate(0, 0) rotate(2deg); }
  50%  { transform: translate(5px, 5px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(2deg); }
}

.fuwafuwa7 { animation: fuwafuwa7 4.6s ease-in-out infinite alternate; }
@keyframes fuwafuwa7 {
  0%   { transform: translate(0, 0) rotate(-2deg); }
  50%  { transform: translate(-5px, 6px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(-2deg); }
}

/* 動きを控えたいユーザー */
@media (prefers-reduced-motion: reduce){
  .bubble { animation: none !important; }
}
