        body {
            font-family: 'Inter', sans-serif;
            background-color: #f3f4f6;
            color: #333;
            line-height: 1.6;
            margin: 0;
            padding: 24px; /* p-6 */
        }
        .container {
            max-width: 960px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 32px; /* mt-8 */
            padding: 15px; /* p-8 */
            background-color: #fff;
/*            border-radius: 12px;*/ /* rounded-xl */
/*            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); *//* shadow-lg */
        }
        h1 {
            font-size: 20px; /* text-3xl */
            font-weight: 800; /* font-extrabold */
            text-align: center;
            color: #1a202c; /* text-gray-900 */
            margin-bottom: 10px; /* mb-8 */
        }
        .message-box {
            padding: 8px; /* p-4 */
            border-radius: 8px; /* rounded-lg */
            font-size: 14px; /* text-sm */
            margin-top: 16px; /* mb-4 */
/*            text-align: center; */
            background-color: transparent !important; /* 背景色を透明に */
            color: red !important; /* 文字色を赤に */
            border: none !important; /* ボーダーを削除 */
        }
        .hidden {
            display: none !important;
        }

        /* URLからの画像解析 */
        .input-section {
/*            margin-top: 32px; *//* mb-8 */
            margin-bottom: 10px; /* mb-8 */
            padding: 15px 10px; /* p-6 */
            background-color: #f9fafb; /* bg-gray-50 */
            border-radius: 8px; /* rounded-lg */
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
        }
        .input-section h2 {
            font-size: 16px; /* text-xl */
            font-weight: bold;
            color: #374151; /* text-gray-800 */
            margin-bottom: 16px; /* mb-4 */
        }
        .url-form {
            display: flex;
            flex-direction: column;
            gap: 16px; /* gap-4 */
        }
        @media (min-width: 640px) { /* sm: */
            .url-form {
                flex-direction: row;
            }
        }
        .url-input {
            flex-grow: 1;
            padding: 12px; /* p-3 */
            border: 1px solid #d1d5db; /* border border-gray-300 */
            border-radius: 8px; /* rounded-lg */
            transition: all 0.2s ease;
        }
        .url-input:focus {
            outline: none;
            border-color: #3b82f6; /* focus:border-blue-500 */
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); /* focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 */
        }

        /* または */
        .separator {
            text-align: center;
            color: #6b7280; /* text-gray-500 */
            margin-bottom: 10px; /* mb-8 */
        }
        .separator span {
            display: inline-block;
            padding: 8px 16px; /* px-4 py-2 */
            background-color: #f3f4f6; /* bg-gray-100 */
            border-radius: 9999px; /* rounded-full */
            font-size: 14px; /* text-sm */
            font-weight: 500; /* font-medium */
        }

        /* ファイルアップロード (ドラッグ＆ドロップ対応) */
        .drag-area {
            border: 2px dashed #cbd5e1; /* slate-300 */
            border-radius: 0.5rem; /* rounded-lg */
            background-color: #f8fafc; /* slate-50 */
            transition: all 0.3s ease;
            padding: 10px; /* p-10 */
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 150px;
        }
        .drag-area.highlight {
            border-color: #3b82f6; /* blue-500 */
            background-color: #eff6ff; /* blue-50 */
        }
        .drag-area p:first-child {
            color: #4b5563; /* text-gray-600 */
            font-weight: 500; /* font-medium */
            font-size: 16px; /* text-lg */
            margin-bottom: 8px; /* mb-2 */
        }
        .drag-area p:nth-child(2) {
            color: #6b7280; /* text-gray-500 */
            margin-bottom: 16px; /* mb-4 */
        }
        .drag-area p:last-child {
            color: #9ca3af; /* text-gray-400 */
            font-size: 12px; /* text-xs */
            margin-top: 16px; /* mt-4 */
        }
        .hidden-file-input {
            display: none;
        }

        /* ボタンの共通スタイル */
        .btn {
            padding: 8px 16px; /* px-4 py-2 */
            border-radius: 8px; /* rounded-lg */
            color: #fff;
            font-weight: 600; /* font-semibold */
            transition: all 0.2s ease-in-out;
            cursor: pointer;
            border-width: 1px; /* border */
            border-style: solid; /* border */
        }
        .btn-primary {
            background-color: #2563eb; /* bg-blue-600 */
            border-color: #1d4ed8; /* border-blue-700 */
        }
        .btn-primary:hover {
            background-color: #1d4ed8; /* hover:bg-blue-700 */
        }
        .btn-primary:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); /* focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 */
        }
        .btn-secondary {
            background-color: #4b5563; /* bg-gray-600 */
            border-color: #374151; /* border-gray-700 */
        }
        .btn-secondary:hover {
            background-color: #374151; /* hover:bg-gray-700 */
        }
        .btn-secondary:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.5); /* focus:ring-2 focus:ring-gray-500 focus:ring-opacity-50 */
        }
        .btn-full-width { /* w-full */
            width: 100%;
        }
        @media (min-width: 640px) { /* sm:w-auto */
            .btn-auto-width {
                width: auto;
            }
        }

        /* ローディングインジケーター */
        .loading-indicator {
            text-align: center;
            color: #2563eb; /* text-blue-600 */
            font-size: 18px; /* text-lg */
            font-weight: 600; /* font-semibold */
            margin-bottom: 24px; /* mb-6 */
        }
        .spinner {
            display: inline-block;
            width: 32px; /* w-8 */
            height: 32px; /* h-8 */
            border: 4px solid #3b82f6; /* border-4 border-blue-500 */
            border-top-color: transparent; /* border-t-transparent */
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 8px; /* mr-2 */
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* EXIF情報表示エリア */
        .card {
            background-color: #fff;
            padding: 24px 10px; /* p-6 */
/*            border-radius: 12px; */ /* rounded-xl */
/*            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); */ /* shadow-lg */
        }
        .section-title {
            font-size: 20px; /* text-xl */
            font-weight: bold;
            color: #374151; /* text-gray-800 */
            margin-bottom: 16px; /* mb-4 */
            border-bottom: 1px solid #e5e7eb; /* border-b */
            padding-bottom: 8px; /* pb-2 */
			margin-top: 12px;
        }
        /* レイアウト変更用のスタイル */
        .image-section {
            margin-bottom: 24px;
        }
        .image-display-box {
            text-align: center;
            padding: 8px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            background-color: #f9fafb;
            min-height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px; /* 画像間のスペース */
        }
        .image-display-box img {
            max-width: 100%;
            max-height: 240px;
            object-fit: contain;
            border-radius: 6px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .image-display-box p {
            color: #6b7280;
            font-size: 14px;
        }
        .thumbnail-display-box img {
            max-height: 160px;
        }

        .sub-section-title {
            font-weight: 600;
            color: #4a5568;
            margin-bottom: 12px;
        }
        .info-item {
            display: flex;
            flex-direction: column; /* 1列に縦に並べる */
            margin-bottom: 8px;
        }
        .info-item strong {
            display: block;
            width: auto;
            flex-shrink: 0;
            color: #4a5568;
            margin-bottom: 2px;
            font-weight: bold;
        }
        .info-item span {
            display: block;
/*            color: #1a202c; */
            color: #777;
            word-break: break-words;
            font-weight: normal;
        }

        /* GPS情報リンク */
        .map-links {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 16px;
            gap: 16px;
            flex-wrap: wrap; /* リンクが多い場合に折り返す */
        }
        .map-links a {
			display: block;
            color: #222;
            text-decoration: none;
			background-color: #ff5;
			border: solid 1px #222;
			border-radius: 8px;
			width: 215px;
			text-align: center;
		}
        .map-links a:hover {
            /*color: #1d4ed8;
            color: #3b82f6;*/
            color: #222;
            text-decoration: underline;
			background-color: #ff2;
        }
        .map-links a span {
//          font-size: 14px;
//          font-weight: normal;
            font-weight: bold;
			font-size: 1.9rem;
        }

        /* その他のEXIF情報 (詳細) */
        .overflow-auto-x {
            overflow-x: auto;
        }
        .raw-exif-display {
            background-color: #f3f4f6;
            padding: 16px;
            border-radius: 8px;
            font-size: 12px;
            white-space: pre-wrap;
            word-break: break-all;
        }

        /* 用語説明 */
        .explanation-section {
            margin-top: 48px;
            padding: 24px;
            background-color: #eff6ff;
            border-radius: 8px;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            color: #1e40af;
        }
        .explanation-section h2 {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 16px;
            color: #1e3a8a;
        }
        .explanation-section h3 {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 8px;
        }
        .explanation-section p {
            color: #4a5568;
        }
        .explanation-section ul {
            list-style: disc;
            list-style-position: inside;
            padding-left: 16px;
            color: #4b5563;
        }
        .explanation-section ul li {
            margin-bottom: 4px;
        }
