 body {
      font-family: 'Noto Sans JP', sans-serif;
      margin: 0;
      background: linear-gradient(135deg, #f9f9ff, #eaf9ff);
      color: #333;
    }

    header {
      background: linear-gradient(90deg, #02ccba, #ff4081);
      color: white;
      text-align: center;
      font-size: 28px;
      padding: 25px 0;
      letter-spacing: 2px;
      font-weight: bold;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .intro {
      text-align: center;
      padding: 60px 20px;
      animation: fadeIn 1.2s ease;
    }
    .intro h2 {
      font-size: 2em;
      color: #02ccba;
    }
    .intro p {
      font-size: 18px;
      line-height: 1.8;
    }

    /* ===== ギャラリー配置変更 ===== */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      padding: 40px;
      max-width: 1200px;
      margin: 0 auto;
      animation: fadeInUp 1s ease;
    }

    .photo-card {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      cursor: pointer;
    }
    .photo-card:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    .photo-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .caption {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 10px 15px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      font-size: 14px;
      text-align: center;
    }

    /* ===== メッセージ ===== */
    .message {
      background: #ffffffaa;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      max-width: 800px;
      margin: 60px auto;
      padding: 40px;
      text-align: center;
      animation: fadeIn 1.5s ease;
    }
    .message h3 {
      font-size: 24px;
      color: #ff4081;
      margin-bottom: 20px;
    }
    .message p {
      line-height: 1.8;
      font-size: 18px;
      color: #333;
    }

    /* ===== 戻るボタン ===== */
    .back-container {
      text-align: center;
      margin: 60px 0;
    }
    .back-button {
      padding: 14px 40px;
      background: linear-gradient(90deg, #02ccba, #ff4081);
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-size: 18px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .back-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

    footer {
      text-align: center;
      background: #fafafa;
      color: #666;
      padding: 20px;
      font-size: 14px;
    }

    /* ===== モーダル表示 ===== */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.9);
      justify-content: center;
      align-items: center;
      z-index: 1000;
      animation: fadeIn 0.4s ease;
    }
    .modal img {
      max-width: 90%;
      max-height: 85%;
      border-radius: 10px;
      box-shadow: 0 0 40px rgba(255,255,255,0.2);
      animation: zoomIn 0.5s ease;
    }
    .close {
      position: absolute;
      top: 30px;
      right: 50px;
      font-size: 45px;
      color: white;
      cursor: pointer;
      transition: color 0.3s;
    }
    .close:hover { color: #02ccba; }

    /* ===== アニメーション ===== */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes zoomIn {
      from { transform: scale(0.8); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    @media (max-width: 768px) {
      .intro, .message {
        padding: 30px 20px;
      }
      .gallery {
        grid-template-columns: 1fr;
      }
    }