    /* ===== BASE (marafile準拠) ===== */
    *, *::before, *::after {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      background-color: dimgray;
      color: white;
      font-family: "Futura", Helvetica, sans-serif;
      overflow-wrap: anywhere;
      word-break: normal;
      line-break: strict;
    }

    img {
      max-width: 95%;
    }

    a {
      transition: color 0.3s;
      color: white;
    }
    a:visited {
      color: lightgray;
    }
    a:hover {
      color: yellow;
    }

    h1, h2, h3 {
      margin-top: 0;
    }

    /* ===== LAYOUT ===== */
    .page-wrap {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 10px;
    }

    /* ===== HEADER ===== */
    .site-header {
      background-color: #1e1e1e;
      border-bottom: 3px solid #000;
      padding: 12px 0;
      text-align: center;
    }

    .site-header .logo-area {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
    }

    .site-header .site-title {
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      margin: 0;
      color: violet;
      text-shadow: 2px 2px 0 #000;
    }

    .site-header .site-sub {
      font-size: 0.85rem;
      color: lightgray;
      margin: 4px 0 0;
      letter-spacing: 0.05em;
    }

    /* ===== NAV ===== */
    nav {
      background-color: #2b2b2b;
      border-bottom: 2px solid #000;
      position: relative;
    }

    /* ハンバーガーボタン（モバイルのみ表示） */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 12px 16px;
      width: 100%;
      text-align: left;
      color: white;
      font-family: "Futura", Helvetica, sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      align-items: center;
      gap: 10px;
      transition: background 0.2s;
    }

    .nav-toggle:hover {
      background-color: #3a3a3a;
    }

    /* ハンバーガーアイコン本体 */
    .nav-toggle .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 22px;
      height: 16px;
      flex-shrink: 0;
    }

    .nav-toggle .hamburger span {
      display: block;
      height: 2px;
      background: violet;
      border-radius: 1px;
      transition: transform 0.3s, opacity 0.3s;
    }

    /* 開いているときはバツ印に */
    .nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* メニューリスト */
    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0;
    }

    nav ul li a {
      display: block;
      padding: 10px 18px;
      color: white;
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      transition: background 0.2s, color 0.2s;
      border-right: 1px solid #444;
    }

    nav ul li:first-child a { border-left: 1px solid #444; }

    nav ul li a:hover {
      background-color: purple;
      color: yellow;
    }

    /* ===== NAV RESPONSIVE ===== */
    @media screen and (max-width: 640px) {
      .nav-toggle {
        display: flex;
      }

      nav ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
      }

      /* JS で .is-open を付与するとスライドダウン */
      nav ul.is-open {
        max-height: 400px;
      }

      nav ul li a {
        border-left: none;
        border-right: none;
        border-top: 1px solid #444;
        padding: 12px 20px;
        font-size: 1rem;
      }

      nav ul li:first-child a {
        border-left: none;
      }

      /* 現在ページ強調 */
      nav ul li a[aria-current="page"] {
        background-color: #3a003a;
        color: violet;
      }
    }

    /* ===== NOTICE BANNER ===== */
    .notice {
      font-size: 18px;
      min-height: 52px;
      width: 100%;
      background-color: darkmagenta;
      border-bottom: 3px solid violet;
      padding: 8px 12px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    /* ===== FRAME CARD ===== */
    .frame {
      border: 3px solid #000;
      margin: 1.5em auto;
      width: 860px;
      max-width: 95%;
      background-color: #2b2b2b;
      font-size: 17px;
      padding: 18px 22px;
    }

    .frame h2 {
      border-bottom: 2px solid #555;
      padding-bottom: 8px;
      margin-bottom: 16px;
      font-size: 1.25rem;
      color: violet;
      letter-spacing: 0.05em;
    }

    /* ===== AD FRAME ===== */
    .ad-frame {
      border: 2px dashed #555;
      margin: 1.2em auto;
      width: 860px;
      max-width: 95%;
      background-color: #242424;
      padding: 14px 20px;
      text-align: center;
      color: #aaa;
      font-size: 14px;
    }

    .ad-frame a:hover { color: yellow; }

    /* ===== TOOLS GRID ===== */
    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
      margin-top: 8px;
    }

    /* ===== TOOL CARD ===== */
    /*
     * 🔧 ツールカードの追加方法
     * .tool-card ブロックをコピーして .tools-grid 内に貼り付けるだけです。
     * data-category 属性でカテゴリフィルタが機能します。
     * （例: data-category="text" / "image" / "crypto" / "dev"）
     */
    .tool-card {
      background-color: #1e1e1e;
      border: 2px solid #444;
      border-top: 4px solid purple;
      border-radius: 4px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: border-color 0.25s, transform 0.2s;
    }

    .tool-card:hover {
      border-color: violet;
      border-top-color: violet;
      transform: translateY(-3px);
    }

    .tool-card .tool-icon {
      font-size: 2rem;
      line-height: 1;
    }

    .tool-card .tool-name {
      font-size: 1.05rem;
      font-weight: 800;
      color: #e8d4ff;
      letter-spacing: 0.03em;
      margin: 0;
    }

    .tool-card .tool-desc {
      font-size: 0.85rem;
      color: #ccc;
      line-height: 1.5;
      flex-grow: 1;
      margin: 0;
    }

    .tool-card .tool-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .tool-card .tag {
      font-size: 11px;
      padding: 2px 8px;
      background-color: #3a1a4a;
      border: 1px solid #6a2a8a;
      border-radius: 2px;
      color: #dda0dd;
      letter-spacing: 0.03em;
    }

    .tool-card .btn-launch {
      color: black;
      display: inline-block;
      background-color: violet;
      font-size: 14px;
      font-weight: 700;
      padding: 7px 14px;
      border-radius: 6px;
      transition: all 0.3s;
      border: 2px solid darkmagenta;
      border-bottom: 5px solid darkmagenta;
      text-decoration: none;
      text-align: center;
      cursor: pointer;
      margin-top: 4px;
    }

    .tool-card .btn-launch:hover {
      margin-top: 7px;
      background: mediumorchid;
      color: black;
      transition: all 0.3s;
      border: 2px solid darkmagenta;
      border-bottom: 2px solid darkmagenta;
    }

    /* NEW バッジ */
    .badge-new {
      display: inline-block;
      background: linear-gradient(135deg, darkmagenta, purple);
      color: white;
      font-size: 10px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 2px;
      letter-spacing: 0.06em;
      vertical-align: middle;
      margin-left: 6px;
    }

    /* ===== CATEGORY FILTER ===== */
    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .filter-btn {
      background: #3a1a4a;
      border: 2px solid #6a2a8a;
      color: #dda0dd;
      padding: 5px 14px;
      border-radius: 3px;
      font-family: "Futura", Helvetica, sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      letter-spacing: 0.04em;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background: purple;
      border-color: violet;
      color: white;
    }

    /* ===== FEATURES LIST ===== */
    .features-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: #ddd;
      line-height: 1.4;
    }

    .feature-item .fi-icon {
      font-size: 1.4rem;
      flex-shrink: 0;
    }

    /* ===== FOOTER ===== */
    footer {
      background-color: #1e1e1e;
      border-top: 3px solid #000;
      text-align: center;
      padding: 20px 10px;
      color: #aaa;
      font-size: 0.82rem;
      margin-top: 30px;
    }

    footer a { color: #dda0dd; }
    footer a:hover { color: yellow; }

    /* ===== RESPONSIVE ===== */
    .smartphone { display: none; }
    @media screen and (max-width: 768px) {
      .smartphone { display: block; }
      .site-header .site-title { font-size: 1.5rem; }
      .tools-grid { grid-template-columns: 1fr 1fr; }
      .frame { padding: 14px 14px; font-size: 15px; }
    }
    @media screen and (max-width: 480px) {
      .tools-grid { grid-template-columns: 1fr; }
      .filter-bar { gap: 6px; }
      .filter-btn { font-size: 12px; padding: 4px 10px; }
    }


    /* ===== ABOUT PAGE ===== */
    .about-section + .about-section {
      margin-top: 0;
    }

    .tos-block {
      background: #1e1e1e;
      border-left: 3px solid #6a2a8a;
      padding: 14px 18px;
      margin: 14px 0;
      font-size: 0.9rem;
      color: #ccc;
      line-height: 1.8;
    }

    .tos-block h3 {
      font-size: 1rem;
      color: #dda0dd;
      margin: 0 0 8px;
      letter-spacing: 0.04em;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
      margin-top: 14px;
    }

    .feature-card {
      background: #1e1e1e;
      border: 1px solid #444;
      border-top: 3px solid purple;
      border-radius: 4px;
      padding: 14px 16px;
    }

    .feature-card .fc-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
    .feature-card .fc-title { font-size: 0.95rem; font-weight: 700; color: #e8d4ff; }
    .feature-card .fc-desc  { font-size: 0.82rem; color: #aaa; margin-top: 4px; line-height: 1.5; }

    .update-note {
      font-size: 12px;
      color: lightgray;
      text-align: right;
      margin-top: 20px;
    }


    /* ===== DONATE PAGE ===== */
    .donate-lead {
      font-size: 0.95rem;
      color: #ccc;
      line-height: 1.9;
      margin-bottom: 22px;
    }

    /* 寄付手段カード */
    .donate-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 18px;
      margin-top: 6px;
    }

    .donate-card {
      background: #1e1e1e;
      border: 2px solid #444;
      border-top: 4px solid purple;
      border-radius: 5px;
      padding: 20px 18px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .donate-card .dc-icon  { font-size: 2rem; line-height: 1; }
    .donate-card .dc-name  { font-size: 1.1rem; font-weight: 800; color: #e8d4ff; letter-spacing: 0.03em; }
    .donate-card .dc-desc  { font-size: 0.84rem; color: #aaa; line-height: 1.6; flex-grow: 1; }

    /* ウォレットアドレス表示欄 */
    .wallet-box {
      background: #111;
      border: 1px solid #555;
      border-radius: 4px;
      padding: 10px 12px;
      font-family: "Courier New", Courier, monospace;
      font-size: 11px;
      color: #dda0dd;
      word-break: break-all;
      line-height: 1.5;
      position: relative;
    }

    .copy-btn {
      display: block;
      width: 100%;
      margin-top: 8px;
      padding: 6px 0;
      background: #3a1a4a;
      border: 1px solid #6a2a8a;
      border-radius: 3px;
      color: #dda0dd;
      font-family: "Futura", Helvetica, sans-serif;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.04em;
      transition: background 0.2s, color 0.2s;
    }

    .copy-btn:hover { background: purple; color: white; }
    .copy-btn.copied { background: #1a3a1a; border-color: #3a6a3a; color: #a8ff80; }

    /* PayPalボタン */
    .btn-paypal {
      color: black;
      display: block;
      text-align: center;
      background-color: violet;
      font-size: 14px;
      font-weight: 700;
      padding: 10px 0;
      border-radius: 6px;
      border: 2px solid darkmagenta;
      border-bottom: 5px solid darkmagenta;
      text-decoration: none;
      transition: all 0.25s;
      font-family: "Futura", Helvetica, sans-serif;
      letter-spacing: 0.04em;
    }

    .btn-paypal:hover {
      margin-top: 3px;
      background: mediumorchid;
      color: black;
      border-bottom: 2px solid darkmagenta;
    }

    /* 感謝メッセージ */
    .thank-box {
      text-align: center;
      padding: 22px 20px;
      background: #1e1e1e;
      border: 1px solid #3a1a4a;
      border-radius: 5px;
      margin-top: 6px;
    }

    .thank-box .thank-icon { font-size: 2.4rem; display: block; margin-bottom: 10px; }
    .thank-box p { font-size: 0.9rem; color: #ccc; line-height: 1.8; margin: 0; }

    /* 注意書き */
    .notice-small {
      font-size: 12px;
      color: lightgray;
      margin-top: 18px;
      line-height: 1.7;
    }


    /* Feeds */
    /* ===== FRAME CARD ===== */
    .frame {
      border: 3px solid #000;
      margin: 1.5em auto;
      width: 860px;
      max-width: 95%;
      background-color: #2b2b2b;
      font-size: 17px;
      padding: 18px 22px;
    }

    .frame h2 {
      border-bottom: 2px solid #555;
      padding-bottom: 8px;
      margin-bottom: 16px;
      font-size: 1.25rem;
      color: violet;
      letter-spacing: 0.05em;
    }

    /* ===== FILTER BAR (タブ) ===== */
    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 18px;
      align-items: center;
    }

    .filter-btn {
      background: #3a1a4a;
      border: 2px solid #6a2a8a;
      color: #dda0dd;
      padding: 5px 14px;
      border-radius: 3px;
      font-family: "Futura", Helvetica, sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      letter-spacing: 0.04em;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background: purple;
      border-color: violet;
      color: white;
    }

    .filter-count {
      font-size: 11px;
      font-weight: 400;
      opacity: 0.75;
      margin-left: 4px;
    }

    /* ===== 更新時刻 ===== */
    .update-info {
      margin-left: auto;
      font-size: 12px;
      color: #aaa;
      letter-spacing: 0.03em;
    }

    .total-count {
      color: violet;
      font-weight: 700;
    }

    /* ===== DATE SEPARATOR ===== */
    .date-sep {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 14px 0 4px;
    }

    .date-sep-label {
      font-size: 11px;
      color: #aaa;
      letter-spacing: 0.07em;
      white-space: nowrap;
    }

    .date-sep-line {
      flex: 1;
      height: 1px;
      background: #444;
    }

    /* ===== FEED ITEM ===== */
    .feed-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 9px 8px;
      border-radius: 3px;
      cursor: pointer;
      transition: background 0.15s;
      text-decoration: none;
      color: inherit;
    }

    .feed-item:hover {
      background: #1e1e1e;
    }

    .feed-item:hover .item-title {
      color: yellow;
    }

    .item-badge {
      flex-shrink: 0;
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      background-color: #3a1a4a;
      border: 1px solid #6a2a8a;
      border-radius: 2px;
      color: #dda0dd;
      letter-spacing: 0.04em;
      margin-top: 3px;
      white-space: nowrap;
    }

    .item-body {
      flex: 1;
      min-width: 0;
    }

    .item-title {
      font-size: 14px;
      font-weight: 600;
      color: #e8d4ff;
      line-height: 1.45;
      transition: color 0.15s;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .item-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 3px;
    }

    .item-date {
      font-size: 11px;
      color: #aaa;
      letter-spacing: 0.03em;
    }

    .item-cat {
      font-size: 11px;
      padding: 1px 7px;
      background: #242424;
      border: 1px solid #444;
      border-radius: 2px;
      color: #888;
    }

    /* ===== THUMBNAIL ===== */
    .item-thumbnail {
      flex-shrink: 0;
      width: 90px;
      height: 60px;
      object-fit: cover;
      border-radius: 3px;
      border: 1px solid #444;
      background: #1e1e1e;
      display: block;
    }

    @media screen and (max-width: 640px) {
      .item-thumbnail {
        width: 70px;
        height: 48px;
      }
    }

    /* ===== EMPTY STATE ===== */
    .empty-state {
      text-align: center;
      padding: 40px 20px;
      color: #aaa;
      font-size: 14px;
    }

    /* ===== ERROR DETAILS ===== */
    .error-details {
      margin-bottom: 14px;
      background: #1e0a0a;
      border: 2px solid #6b1f1f;
      border-radius: 3px;
      padding: 10px 14px;
    }

    .error-details summary {
      font-size: 13px;
      color: #ff9999;
      cursor: pointer;
      user-select: none;
      font-weight: 700;
    }

    .error-list {
      list-style: none;
      padding: 0;
      margin: 8px 0 0;
    }

    .error-list li {
      font-size: 11px;
      color: #aaa;
      padding: 2px 0;
    }

    .error-list li::before { content: '✕ '; color: #ff7b72; }



    /* ===== EXIF TOOL ===== */
    .privacy-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #1a2e1a;
      border: 1px solid #3a6a3a;
      border-radius: 4px;
      padding: 7px 14px;
      font-size: 13px;
      color: #a8ff80;
      margin-bottom: 20px;
    }

    /* ドロップゾーン */
    .dropzone {
      border: 3px dashed #6a2a8a;
      border-radius: 6px;
      padding: 40px 20px;
      text-align: center;
      background: #1e1e1e;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      position: relative;
    }

    .dropzone.dragover {
      border-color: violet;
      background: #2a1a3a;
    }

    .dropzone input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
    }

    .dropzone-icon  { font-size: 2.5rem; display: block; margin-bottom: 10px; }
    .dropzone-label { font-size: 1rem; font-weight: 700; color: #e8d4ff; }
    .dropzone-sub   { font-size: 12px; color: #888; margin-top: 6px; }

    /* オプション */
    .options-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin: 18px 0;
    }

    .option-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #ccc;
      cursor: pointer;
      user-select: none;
    }

    .option-item input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: violet;
      cursor: pointer;
    }

    /* アクションボタン */
    .action-bar {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin: 16px 0 6px;
    }

    .btn-action {
      color: black;
      background-color: violet;
      font-size: 14px;
      font-weight: 700;
      padding: 8px 22px;
      border-radius: 6px;
      border: 2px solid darkmagenta;
      border-bottom: 5px solid darkmagenta;
      cursor: pointer;
      font-family: "Futura", Helvetica, sans-serif;
      transition: all 0.2s;
    }

    .btn-action:hover:not(:disabled) {
      margin-top: 3px;
      background: mediumorchid;
      border-bottom: 2px solid darkmagenta;
    }

    .btn-action:disabled {
      background: #444;
      border-color: #333;
      color: #777;
      cursor: not-allowed;
    }

    .btn-action.secondary {
      background: #3a1a4a;
      color: #dda0dd;
      border-color: #6a2a8a;
    }

    .btn-action.secondary:hover:not(:disabled) {
      background: purple;
      color: white;
    }

    /* 進捗バー */
    .progress-wrap {
      display: none;
      margin: 14px 0;
    }

    .progress-bar-track {
      height: 8px;
      background: #1e1e1e;
      border-radius: 4px;
      border: 1px solid #444;
      overflow: hidden;
    }

    .progress-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, darkmagenta, violet);
      border-radius: 4px;
      width: 0%;
      transition: width 0.2s;
    }

    .progress-text {
      font-size: 12px;
      color: #aaa;
      margin-top: 5px;
      text-align: right;
    }

    /* 結果リスト */
    .result-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 14px;
    }

    .result-item {
      display: grid;
      grid-template-columns: 72px 1fr auto;
      gap: 12px;
      align-items: center;
      background: #1e1e1e;
      border: 1px solid #444;
      border-radius: 4px;
      padding: 10px 12px;
    }

    .result-thumb {
      width: 72px;
      height: 54px;
      object-fit: cover;
      border-radius: 3px;
      border: 1px solid #555;
      background: #111;
    }

    .result-info { min-width: 0; }

    .result-name {
      font-size: 13px;
      font-weight: 700;
      color: #e8d4ff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .result-meta {
      font-size: 11px;
      color: #888;
      margin-top: 3px;
    }

    .result-meta .size-after { color: #a8ff80; }
    .result-meta .size-down  { color: #ffa0a0; }

    .result-status {
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 2px;
      white-space: nowrap;
    }

    .status-done    { background:#1a3a1a; color:#a8ff80; border:1px solid #3a6a3a; }
    .status-error   { background:#3a1a1a; color:#ff9999; border:1px solid #6a2020; }
    .status-pending { background:#2a2a2a; color:#888;    border:1px solid #444; }

    .btn-dl {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 3px;
      background: #3a1a4a;
      color: #dda0dd;
      border: 1px solid #6a2a8a;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.15s;
      white-space: nowrap;
    }

    .btn-dl:hover { background: purple; color: white; }

    /* 空状態 */
    .empty-hint {
      text-align: center;
      padding: 30px 20px;
      color: #666;
      font-size: 14px;
    }

    /* 説明 */
    .info-list {
      font-size: 0.88rem;
      color: #bbb;
      line-height: 1.9;
      padding-left: 1.4em;
      margin: 0;
    }

    @media (max-width: 600px) {
      .result-item {
        grid-template-columns: 56px 1fr;
      }
      .result-status { display: none; }
      .dropzone { padding: 28px 14px; }
    }



    /* ===== CONTACT PAGE ===== */
    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 7px;
      font-size: 0.95rem;
      font-weight: 700;
      color: #e8d4ff;
      letter-spacing: 0.03em;
    }

    .required {
      color: violet;
      margin-left: 3px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 10px 13px;
      background: #1e1e1e;
      border: 2px solid #444;
      border-radius: 4px;
      color: #fff;
      font-family: "Futura", Helvetica, sans-serif;
      font-size: 15px;
      box-sizing: border-box;
      transition: border-color 0.2s;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: violet;
      outline: none;
    }

    .form-group select option {
      background: #1e1e1e;
    }

    .form-group textarea {
      resize: vertical;
      min-height: 160px;
      line-height: 1.6;
    }

    .help-text {
      font-size: 12px;
      color: #888;
      margin-top: 5px;
    }

    .char-counter {
      font-size: 12px;
      color: #888;
      text-align: right;
      margin-top: 4px;
    }

    .char-counter.warn { color: #ff9800; }
    .char-counter.over { color: #ff5555; }

    .btn-submit {
      color: black;
      display: inline-block;
      background-color: violet;
      font-size: 15px;
      font-weight: 700;
      padding: 10px 32px;
      border-radius: 6px;
      transition: all 0.25s;
      border: 2px solid darkmagenta;
      border-bottom: 5px solid darkmagenta;
      cursor: pointer;
      font-family: "Futura", Helvetica, sans-serif;
      letter-spacing: 0.05em;
    }

    .btn-submit:hover {
      margin-top: 3px;
      background: mediumorchid;
      border-bottom: 2px solid darkmagenta;
    }

    .btn-submit:disabled {
      background: #555;
      border-color: #444;
      color: #999;
      cursor: not-allowed;
    }

    .sending-msg {
      display: none;
      color: #dda0dd;
      font-size: 14px;
      margin-top: 10px;
    }

    .privacy-note {
      margin-top: 18px;
      padding: 12px 16px;
      background: #1e1e1e;
      border-left: 3px solid #6a2a8a;
      font-size: 13px;
      color: #aaa;
      line-height: 1.6;
    }


    /* ===== CONTACT SUCCESS ===== */
    .result-box {
      text-align: center;
      padding: 36px 24px;
      border-radius: 6px;
      max-width: 540px;
      margin: 0 auto;
    }

    .result-icon {
      font-size: 52px;
      display: block;
      margin-bottom: 16px;
      line-height: 1;
    }

    .result-title {
      font-size: 1.5rem;
      font-weight: 900;
      margin-bottom: 14px;
      letter-spacing: 0.04em;
    }

    .result-message {
      font-size: 0.95rem;
      color: #ccc;
      line-height: 1.7;
      margin-bottom: 28px;
    }

    .status-success .result-title { color: #a8ff80; }
    .status-success               { border: 2px solid #3a6a3a; background: #1a2e1a; }

    .status-error .result-title   { color: #ff9999; }
    .status-error                 { border: 2px solid #6a2020; background: #2e1a1a; }

    .status-warn .result-title    { color: #ffd080; }
    .status-warn                  { border: 2px solid #6a5010; background: #2a2010; }

    .result-actions {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn-result {
      color: black;
      display: inline-block;
      background-color: violet;
      font-size: 14px;
      font-weight: 700;
      padding: 8px 24px;
      border-radius: 6px;
      border: 2px solid darkmagenta;
      border-bottom: 5px solid darkmagenta;
      text-decoration: none;
      transition: all 0.25s;
      font-family: "Futura", Helvetica, sans-serif;
    }

    .btn-result:hover {
      margin-top: 3px;
      background: mediumorchid;
      color: black;
      border-bottom: 2px solid darkmagenta;
    }

    .btn-result,
    .btn-result:visited {
      color: black;
    }

    .btn-result:hover {
      color: black;  /* 既存のa:hover { color: yellow } を上書き */
    }

    .btn-result.secondary {
      background: #3a1a4a;
      color: #dda0dd;
      border-color: #6a2a8a;
    }

    .btn-result.secondary:hover {
      background: purple;
      color: white;
    }

    .btn-result.secondary,
    .btn-result.secondary:visited {
      color: #dda0dd;
    }

    .btn-result.secondary:hover {
      color: white;
    }

    .redirect-note {
      font-size: 12px;
      color: #888;
      margin-top: 20px;
    }

    #countdown { color: #dda0dd; font-weight: 700; }