/* file name; gallery2.css */

@charset "UTF-8";

.gallery-image img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 6px;
  transition: transform 0.3s;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.3);
  transition: transform 0.3s ease;

}
.gallery-image img:hover {
  transform: scale(1.03);
}

h1 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  color: #ff66aa;
}

/* お店名（h2）を優しいピンクに */
h2 {
  color: #d080b0;  /* さくらピンク系 */
  font-weight: bold;
  margin-top: 1.5em;
}

/* 日付（h3など）を落ち着いたグレーに */
h3, .date-title {
  color: #666666;
  font-weight: bold;
  margin-top: 1em;
}

/* 説明文をちょっとやさしめの文字色に */
.description, .shop-description, .photo-description {
  color: #444444;
  line-height: 1.6;
  margin-bottom: 1em;
}

/* お店ごとの説明文 */
.shop-description {
  color: #7755aa;
  font-style: italic;
  background-color: #fdf6ff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 1.5em;
}

/* 日付 */
.date-title {
  font-size: 1.2em;
  margin-top: 2em;
  margin-bottom: 0.8em;
  padding-bottom: 0.3em;
  color: #cc6699; /* さくらピンク寄りの文字色 */
  border-bottom: 2px dashed #f3bcd3; /* ふんわり感のある破線 */
  position: relative;
}
.date-title::before {
  content: "📅 ";
  margin-right: 0.3em;
}

/* 写真1枚1枚の説明文 */
.photo-description {
  color: #444;
  background-color: #fff0f5;
  border-left: 5px solid #ffaadd;
  padding: 10px;
  margin-bottom: 1em;
  border-radius: 8px;
}

/* 各セクションの余白を少し多めに */
.section {
  margin-bottom: 2em;
}

.description {
  background-color: #fff8fb;
  border-left: 4px solid #ffb6d5;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.8;
}
  a:link { color: #6666FF; }
  a:visited { color: #009933; }
  a:hover { color: #ff0000; }
  a:active { color: #FF33FF; }

.photo-box {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 12px;
  margin: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff0f8;
  width: 220px; /* お好みで調整してOK */
  text-align: center;
  margin-bottom: 2em;
  max-width: 480px;
  /*
  background: #fff0ff;
  border-radius: 12px;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(255, 192, 203, 0.4);
  transition: transform 0.2s ease;
  */
}

.photo-box:hover {
  transform: scale(1.02); /* ちょっとポップに */
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.photo-comment {
  text-align: left;
  font-size: 14px;
  color: #5c5c5c;
  margin-top: 0.5em;
  line-height: 1.6;
}

.img-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* ← 少し広げて写真の呼吸感を増す */
  justify-content: centert; /* ← 左寄せから中央寄せへ */
  margin-top: 2rem; /* ← 余白を少し大きめに */
}

body {
  background-color: rgba(255, 250, 252, 0.85); /* 透け感ある優しいピンク */
  background-image: url("../sozai/jpg/26192339_01.jpg");
  background-repeat: repeat;
  background-size: 280px;
  background-attachment: fixed;
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}
html {
  background-attachment: fixed;
}

/* 見出し */
.section-header {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background:
    url("../sozai/png/00216.png") no-repeat left center,
    linear-gradient(to right, #ffe0cc, #ffffe5);
  color: #ff9900; /* ソフトオレンジの文字色 */
  padding: 0.5em 1em;
  border-radius: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5em;
  box-shadow: 2px 2px 5px rgba(255, 153, 0, 0.2);
  background-size: 120px auto; /* リボンのサイズ調整 */
  padding-left: 140px;         /* リボンに文字が重ならないよう余白 */
  text-shadow: 1px 1px 2px #ffffffaa;
  transition: background 0.3s ease-in-out;
  line-height: 2.5;
  font-size: 1.3em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  padding-right: 60px; /* アイコンのための余白 */
  /* padding-right: 1.5em; */ /* アイコンのための余白 */
  margin-top: 40px;
  margin-bottom: 10px;
  border-bottom: 2px dashed #f6addc;
  padding-bottom: 5px;
}
.section-header:hover {
  background-color: #ffe6f0; /* ふんわりピンク */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 見出しの折り畳みボタン▲▼ */
.toggle-icon {
  /* 既存の装飾を活かしつつ、視認性と押しやすさをUP */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(to bottom, #fff1f8, #ffe2eb);
  border: 1px solid #f9a5c5;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #d64a8a;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  /*
  font-size: 16px;
  font-size: 1.2em;
  color: #888;
  right: 0.5em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  padding: 6px 16px;
  */
}
.toggle-icon:hover {
  transform: translateY(calc(-50% - 2px)) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background: #ffeef5;
  /*
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  */

}

/* お店の名前 */
.shop-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #d48acb;
  background: linear-gradient(90deg, #ffe6f0 0%, #fff5fb 100%);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(212, 138, 203, 0.3);
  margin: 20px 0 10px;
  position: relative;

  margin-top: 20px;
  margin-bottom: 5px;
  border-bottom: 2px dashed #f6c;
  padding-bottom: 0.2em;
}

.shop-name::before {
  content: "🏷️";
  margin-right: 8px;
}

.date-comment {
  margin: 0.5em 0 1em;
  background-color: #fff0f8;
  padding: 10px;
  border-left: 4px solid #ffcce5;
  border-radius: 8px;
  color: #444;
}

.photo-grid {
  display: block;
}

.section-body {
  display: none;
  padding: 1em 0;
  transition: all 0.3s ease;
}

.section-body.open {
  display: block;
}

/* トップへボタン */
.to_the_top {
  text-align:center;
}

@keyframes yura {
  0%   { transform: rotate(-3deg); }
  50%  { transform: rotate(3deg); }
  100% { transform: rotate(-3deg); }
}

.yurayura {
  display: inline-block;
  animation: yura 3s infinite ease-in-out;
  transform-origin: center;
}

/* 写真が多くなると、「どのセクションかわかりづらくなる」可能性対策 */
/* --ここから -- */
/*
.section-header.sticky {
  position: sticky;
  top: 0;
  background-color: #fff0f5;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.4);
}
*/
/* --ここまで -- */

@media screen and (min-width: 768px) {
  /* モバイル最適化：photo-box をレスポンシブに */
  .photo-box {
    flex: 1 1 200px; /* 最小200pxで自動調整 */
    max-width: 100%;
    box-sizing: border-box;
  }

  .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .gallery-section {
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(255, 182, 193, 0.2); /* ピンク系のやさしい影 */
    padding: 1.5em;
    background-color: rgba(255, 255, 255, 0.6); /* 白っぽさもほんのり残す */
    backdrop-filter: blur(2px); /* ガラスっぽい透け感（対応ブラウザで有効） */
    margin-bottom: 3em;
    border: 2px dashed #ffcce5;
  }

  .section-body {
    margin-top: 2em;
    padding-left: 1em;
  }
}
