{"id":17511,"date":"2026-07-17T10:32:22","date_gmt":"2026-07-17T01:32:22","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=17511"},"modified":"2026-07-17T10:32:22","modified_gmt":"2026-07-17T01:32:22","slug":"cc-html-class-vs-id","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-html-class-vs-id\/","title":{"rendered":"\u30102026\u5e747\u6708\u6700\u65b0\u3011HTML\u306eclass\u3068id\u306e7\u3064\u306e\u9055\u3044\u3092\u7d4c\u55b6\u8005\u5411\u3051\u306b\u89e3\u8aac\uff5cClaude Code\u3067\u30b3\u30fc\u30c9\u77e5\u8b58\u30bc\u30ed\u3067\u3082Web\u30c7\u30b6\u30a4\u30f3\u5b9f\u73fe"},"content":{"rendered":"\n<style>\n.g-flow-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center;}\n.g-flow-item{background:linear-gradient(135deg,#1a1a1a,#2a1015);color:#fff;border-radius:8px;padding:16px 14px;min-width:130px;flex:1;text-align:center;}\n.g-flow-arrow{color:#dc2626;font-size:20px;font-weight:700;}\n.g-card-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px;}\n.g-card-row>div{flex:1;min-width:220px;}\n@media(max-width:600px){\n  .g-flow-row{flex-direction:column;}\n  .g-flow-arrow{transform:rotate(90deg);}\n  .g-card-row{flex-direction:column;}\n  .g-card-row>div{min-width:100%;}\n}\n<\/style>\n\n\n\n<div style=\"margin:0 0 32px;\">\n  <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/07\/thumb-cc-html-class-vs-id.jpg\" alt=\"\u30102026\u5e747\u6708\u6700\u65b0\u3011HTML\u306eclass\u3068id\u306e7\u3064\u306e\u9055\u3044\u3092\u7d4c\u55b6\u8005\u5411\u3051\u306b\u89e3\u8aac\uff5cClaude Code\u3067\u30b3\u30fc\u30c9\u77e5\u8b58\u30bc\u30ed\u3067\u3082Web\u30c7\u30b6\u30a4\u30f3\u5b9f\u73fe\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-radius:12px;padding:24px 28px;margin:0 0 32px;border-left:4px solid #dc2626;\">\n  <p style=\"font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 16px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9<\/p>\n  <ol style=\"margin:0;padding-left:20px;font-size:14px;line-height:2.2;list-style:none;\">\n    <li><a href=\"#sec-01\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">01<\/span>\u305d\u3082\u305d\u3082class\u3068id\u3068\u306f\u4f55\u304b\u2014\u2014HTML\u5c5e\u6027\u306e\u57fa\u790e<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">02<\/span>class\u306e5\u3064\u306e\u7279\u5fb4\u3068\u6b63\u3057\u3044\u4f7f\u3044\u65b9<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">03<\/span>id\u306e4\u3064\u306e\u7279\u5fb4\u3068\u6b63\u3057\u3044\u4f7f\u3044\u65b9<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">04<\/span>class\u3068id\u306e7\u3064\u306e\u6c7a\u5b9a\u7684\u306a\u9055\u3044\u3010\u6bd4\u8f03\u8868\u4ed8\u304d\u3011<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">05<\/span>CSS\u30bb\u30ec\u30af\u30bf\u306e\u8a73\u7d30\u5ea6\u2014\u2014class\u3068id\u306e\u512a\u5148\u9806\u4f4d<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">06<\/span>JavaScript\u304b\u3089class\u3068id\u3092\u64cd\u4f5c\u3059\u308b\u9055\u3044<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">07<\/span>\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u306e\u305f\u3081\u306e\u4f7f\u3044\u5206\u3051\u5224\u65ad\u57fa\u6e96<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">08<\/span>Claude Code\u304cHTML\/CSS\u306eclass\u30fbid\u5b9f\u88c5\u3092\u4e38\u3054\u3068\u4ee3\u884c<\/a><\/li>\n    <li><a href=\"#sec-09\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">09<\/span>\u3010\u72ec\u81ea\u30c7\u30fc\u30bf\u3011GENAI\u306e\u5b9f\u904b\u7528\uff1aWeb\u5b9f\u88c5\u5de5\u6570\u3092\u5927\u5e45\u524a\u6e1b<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">FAQ<\/span>\u3088\u304f\u3042\u308b\u8cea\u554f<\/a><\/li>\n  <\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cclass\u3068id\u3063\u3066\u4f55\u304c\u9055\u3046\u306e\uff1f\u300d\u2014\u2014\u793e\u5185\u306eWeb\u30b5\u30a4\u30c8\u3092\u66f4\u65b0\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u3001\u62c5\u5f53\u8005\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u30b3\u30fc\u30c9\u3092\u898b\u305b\u3066\u3082\u3089\u3063\u3066\u3082\u3001\u3053\u306e2\u3064\u306e\u9055\u3044\u304c\u308f\u304b\u3089\u305a\u3001\u6307\u793a\u304c\u51fa\u305b\u305a\u306b\u56f0\u3063\u305f\u7d4c\u9a13\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u5b9f\u306f\u3001HTML\u306eclass\u3068id\u306f\u300c\u3069\u3061\u3089\u3082\u8981\u7d20\u306b\u30e9\u30d9\u30eb\u3092\u4ed8\u3051\u308b\u4ed5\u7d44\u307f\u300d\u3067\u3059\u304c\u3001\u305d\u306e\u4f7f\u3044\u65b9\u30fb\u610f\u5473\u30fbCSS\u3084 JavaScript\u3078\u306e\u5f71\u97ff\u304c\u6839\u672c\u7684\u306b\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<strong>HTML\u306eclass\u3068id\u306e7\u3064\u306e\u6c7a\u5b9a\u7684\u306a\u9055\u3044<\/strong>\u3092\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u7d4c\u55b6\u8005\u30fb\u7ba1\u7406\u8077\u306e\u65b9\u3067\u3082\u76f4\u611f\u7684\u306b\u7406\u89e3\u3067\u304d\u308b\u7d4c\u55b6\u306e\u6bd4\u55a9\u3068\u5177\u4f53\u4f8b\u3092\u4f7f\u3063\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u5f8c\u534a\u3067\u306f<strong>\u300cclass\u3068id\u306e\u77e5\u8b58\u3092\u6b66\u5668\u306b\u3001Claude Code\u306b\u5b9f\u88c5\u3092\u4e38\u3054\u3068\u4efb\u305b\u308b\u65b9\u6cd5\u300d<\/strong>\u307e\u3067\u8e0f\u307f\u8fbc\u307f\u307e\u3059\u3002\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u306a\u304f\u3066\u3082\u3001Web\u30c7\u30b6\u30a4\u30f3\u306e\u5b9f\u88c5\u3092AI\u306b\u7684\u78ba\u306b\u6307\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068\u304c\u6700\u7d42\u30b4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u3067\u306f\u3001Claude Code\uff08AI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\uff09\u3092\u6d3b\u7528\u3057\u3001\u30b3\u30fc\u30c9\u77e5\u8b58\u306e\u306a\u3044\u7d4c\u55b6\u8005\u304cWeb\u30c7\u30b6\u30a4\u30f3\u30fbUI\u5b9f\u88c5\u3092\u4e3b\u5c0e\u3067\u304d\u308b\u4f53\u5236\u3092\u6574\u3048\u3066\u3044\u307e\u3059\u3002\u793e\u5185\u306eWeb\u30da\u30fc\u30b8\u66f4\u65b0\u30fbLP\u306e\u30c7\u30b6\u30a4\u30f3\u5909\u66f4\u30fb\u30dc\u30bf\u30f3\u306e\u30b9\u30bf\u30a4\u30eb\u8abf\u6574\u2014\u2014\u3053\u308c\u3089\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u4f9d\u983c\u305b\u305a\u3001Claude Code\u3078\u306e\u65e5\u672c\u8a9e\u6307\u793a\u3060\u3051\u3067\u5b8c\u7d50\u3055\u305b\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u300c\u6b63\u78ba\u306a\u6307\u793a\u306e\u305f\u3081\u306e\u8a9e\u5f59\u300d\u3068\u3057\u3066\u3001class\u3068id\u306e\u9055\u3044\u306e\u7406\u89e3\u304c\u975e\u5e38\u306b\u52b9\u679c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cclass\u3068id\u3092\u4f7f\u3044\u5206\u3051\u308d\u300d\u3068\u8a00\u308f\u308c\u3066\u3082\u3001\u6b63\u76f4\u306a\u3068\u3053\u308d\u300cCSS\u3092\u66f8\u304b\u306a\u3044\u7d4c\u55b6\u8005\u304c\u77e5\u308b\u5fc5\u8981\u3042\u308b\uff1f\u300d\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3067\u3082Claude Code\u306b\u300c\u3053\u306e\u8981\u7d20\u306bclass\u3092\u4ed8\u3051\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u7d71\u4e00\u3057\u3066\u300d\u3068\u6307\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u306e\u7cbe\u5ea6\u304c\u660e\u3089\u304b\u306b\u5909\u308f\u308a\u307e\u3057\u305f\u3002\u8a9e\u5f59\u3092\u6301\u3064\u3053\u3068\u3067\u3001AI\u3078\u306e\u6307\u793a\u529b\u304c\u4e0a\u304c\u308b\u3093\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u7d42\u3048\u308b\u3068\u3001\u6b21\u306e5\u3064\u304c\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>HTML\u306eclass\u3068id\u306e<strong>\u6839\u672c\u7684\u306a\u9055\u3044\uff087\u9805\u76ee\uff09<\/strong>\u3092\u7d4c\u55b6\u306e\u8a00\u8449\u3067\u7406\u89e3\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>CSS\u30bb\u30ec\u30af\u30bf\u306e\u8a73\u7d30\u5ea6\uff08specificity\uff09<\/strong>\u2014\u2014class\u3068id\u306e\u3069\u3061\u3089\u304c\u512a\u5148\u3055\u308c\u308b\u304b\u306e\u5224\u65ad\u57fa\u6e96<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>JavaScript\u3067\u306e\u64cd\u4f5c\u306e\u9055\u3044<\/strong>\u2014\u2014getElementById\u3068getElementsByClassName\u306e\u4f7f\u3044\u5206\u3051<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u610f\u8b58\u3059\u3079\u304d\u4f7f\u3044\u5206\u3051\u5224\u65ad\u57fa\u6e96<\/strong>\uff08\u3044\u3064class\u3092\u4f7f\u3046\u304b\u30fb\u3044\u3064id\u3092\u4f7f\u3046\u304b\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Claude Code\u3078\u306e\u5177\u4f53\u7684\u306a\u6307\u793a\u306e\u4ed5\u65b9<\/strong>\u2014\u2014class\u3068id\u3092\u7684\u78ba\u306b\u6307\u5b9a\u3057\u3066\u9ad8\u54c1\u8cea\u306aUI\u3092\u5b9f\u73fe\u3059\u308b\u65b9\u6cd5<\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">BASICS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u305d\u3082\u305d\u3082class\u3068id\u3068\u306f\u4f55\u304b\u2014\u2014HTML\u5c5e\u6027\u306e\u57fa\u790e<\/span>\n  <span class=\"section-desc\">Web\u30da\u30fc\u30b8\u306e\u8981\u7d20\u306b\u300c\u30e9\u30d9\u30eb\u300d\u3092\u4ed8\u3051\u308b2\u3064\u306e\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">HTML\u306eclass\u3068id\u306f\u3001\u3069\u3061\u3089\u3082<strong>Web\u30da\u30fc\u30b8\u306e\u7279\u5b9a\u306e\u8981\u7d20\uff08\u6587\u5b57\u30fb\u30dc\u30bf\u30f3\u30fb\u753b\u50cf\u30fb\u30d6\u30ed\u30c3\u30af\u306a\u3069\uff09\u306b\u540d\u524d\uff08\u30e9\u30d9\u30eb\uff09\u3092\u4ed8\u3051\u308b\u305f\u3081\u306e\u5c5e\u6027<\/strong>\u3067\u3059\u3002\u3053\u306e\u30e9\u30d9\u30eb\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001CSS\u3067\u30b9\u30bf\u30a4\u30eb\uff08\u8272\u30fb\u30b5\u30a4\u30ba\u30fb\u914d\u7f6e\u7b49\uff09\u3092\u6307\u5b9a\u3057\u305f\u308a\u3001JavaScript\u3067\u52d5\u7684\u306a\u64cd\u4f5c\u3092\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u300c\u5c5e\u6027\u300d\u3068\u306f\u3001HTML\u30bf\u30b0\u306b\u8ffd\u52a0\u60c5\u5831\u3092\u4ed8\u3051\u52a0\u3048\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3001class\u3068id\u306f\u305d\u306e\u4ee3\u8868\u7684\u306a\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>HTML\u5c5e\u6027\uff08Attribute\uff09<\/strong>\uff1aHTML\u30bf\u30b0\u306e\u4e2d\u306b\u66f8\u304f\u8ffd\u52a0\u60c5\u5831\u306e\u3053\u3068\u3002\u4f8b\u3048\u3070`<img decoding=\"async\" src=\"photo.jpg\" alt=\"\u5199\u771f\">`\u306e`src`\u3084`alt`\u304c\u5c5e\u6027\u3067\u3059\u3002`class`\u3068`id`\u3082HTML\u30bf\u30b0\u306b\u8ffd\u52a0\u3067\u304d\u308b\u5c5e\u6027\u306e\u4e00\u7a2e\u3067\u3001\u8981\u7d20\u306b\u540d\u524d\u3092\u4ed8\u3051\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002\u5c5e\u6027\u306f\u5e38\u306b`\u5c5e\u6027\u540d=\"\u5024\"`\u306e\u5f62\u5f0f\u3067\u8a18\u8ff0\u3057\u307e\u3059\u3002\u4e00\u3064\u306eHTML\u30bf\u30b0\u306b\u8907\u6570\u306e\u5c5e\u6027\u3092\u6301\u305f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d4c\u55b6\u306e\u73fe\u5834\u306b\u4f8b\u3048\u308b\u3068\u3001<strong>class\u3068id\u306f\u793e\u54e1\u8a3c\u306e\u30bf\u30b0\u4ed8\u3051\u30b7\u30b9\u30c6\u30e0<\/strong>\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002\u300c\u90e8\u7f72\u540d\uff08class\uff09\u300d\u306f\u8907\u6570\u306e\u793e\u54e1\u304c\u540c\u3058\u90e8\u7f72\u306b\u6240\u5c5e\u3067\u304d\u307e\u3059\u304c\u3001\u300c\u793e\u54e1\u756a\u53f7\uff08id\uff09\u300d\u306f1\u4eba\u306b1\u3064\u3057\u304b\u4e0e\u3048\u3089\u308c\u306a\u3044\u30e6\u30cb\u30fc\u30af\u306a\u8b58\u5225\u5b50\u3067\u3059\u3002\u3053\u306e\u6839\u672c\u7684\u306a\u9055\u3044\u304c\u3001HTML\u306eclass\u3068id\u306e\u4f7f\u3044\u65b9\u30fb\u610f\u5473\u30fb\u5236\u7d04\u306e\u5168\u3066\u3092\u6c7a\u5b9a\u3065\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>class\u5c5e\u6027<\/strong>\uff1aHTML\u8981\u7d20\u306b\u300c\u30b0\u30eb\u30fc\u30d7\u540d\u300d\u3092\u4ed8\u3051\u308b\u305f\u3081\u306e\u5c5e\u6027\u3002\u540c\u3058\u30da\u30fc\u30b8\u5185\u306e\u8907\u6570\u306e\u8981\u7d20\u306b\u540c\u3058class\u540d\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002CSS\u3067\u306f`.\u30af\u30e9\u30b9\u540d`\u306e\u5f62\u5f0f\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4e00\u3064\u306e\u8981\u7d20\u306b\u8907\u6570\u306eclass\u3092\u4ed8\u3051\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\uff08\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\uff09\u3002\u5546\u54c1\u30ab\u30fc\u30c9\u3092\u300c\u8907\u6570\u5b58\u5728\u3059\u308b\u30b0\u30eb\u30fc\u30d7\u300d\u3068\u3057\u3066\u6271\u3046\u5834\u5408\u306a\u3069\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>id\u5c5e\u6027<\/strong>\uff1aHTML\u8981\u7d20\u306b\u300c\u56fa\u6709\u306e\u540d\u524d\u300d\u3092\u4ed8\u3051\u308b\u305f\u3081\u306e\u5c5e\u6027\u3002\u540c\u3058\u30da\u30fc\u30b8\u5185\u3067\u540c\u3058id\u3092\u6301\u3064\u8981\u7d20\u306f1\u3064\u3060\u3051\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\uff08\u4e00\u610f\u6027\u306e\u539f\u5247\uff09\u3002CSS\u3067\u306f`#id\u540d`\u306e\u5f62\u5f0f\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\u306e\u30a2\u30f3\u30ab\u30fc\uff08\u30b9\u30af\u30ed\u30fc\u30eb\u5148\u306e\u6307\u5b9a\uff09\u3084\u3001JavaScript\u3067\u7279\u5b9a\u306e1\u8981\u7d20\u3092\u64cd\u4f5c\u3059\u308b\u5834\u5408\u306b\u4e3b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">class\u3068id\u306f\u3069\u3061\u3089\u3082\u300c\u8981\u7d20\u306b\u540d\u524d\u3092\u4ed8\u3051\u308b\u300d\u3068\u3044\u3046\u76ee\u7684\u306f\u5171\u901a\u3067\u3059\u304c\u3001\u305d\u306e\u30eb\u30fc\u30eb\u30fb\u7528\u9014\u30fbCSS\u3067\u306e\u5f71\u97ff\u529b\u304c\u5927\u304d\u304f\u7570\u306a\u308a\u307e\u3059\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u304b\u3089\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u5fb4\u3092\u8a73\u3057\u304f\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u5b9f\u969b\u306eHTML\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9\u3082\u542b\u3081\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u8996\u899a\u7684\u306b\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u30b3\u30fc\u30c9\u3092\u66f8\u304b\u306a\u3044\u7d4c\u55b6\u8005\u304c\u3053\u306e\u77e5\u8b58\u3092\u5fc5\u8981\u3068\u3059\u308b\u7406\u7531<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">class\u3068id\u306e\u9055\u3044\u3092\u77e5\u308b\u3053\u3068\u3067\u3001\u2460Claude Code\u3078\u306e\u6307\u793a\u304c\u5177\u4f53\u7684\u306b\u306a\u308b\uff08\u300c\u30d8\u30c3\u30c0\u30fc\u306eid\u3092main-header\u306b\u3057\u3066\u3001\u5168\u30dc\u30bf\u30f3\u306bbtn-primary\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u3066\u300d\uff09\u3001\u2461\u30a8\u30f3\u30b8\u30cb\u30a2\u304b\u3089\u306e\u300c\u3053\u308c\u306fclass\u306b\u3059\u3079\u304d\u304bid\u306b\u3059\u3079\u304d\u304b\uff1f\u300d\u3068\u3044\u3046\u8cea\u554f\u306b\u7b54\u3048\u3089\u308c\u308b\u3001\u2462Web\u30da\u30fc\u30b8\u306e\u54c1\u8cea\u554f\u984c\uff08CSS\u304c\u610f\u56f3\u901a\u308a\u306b\u5f53\u305f\u3089\u306a\u3044\u7b49\uff09\u306e\u539f\u56e0\u3092\u7406\u89e3\u3067\u304d\u308b\u2014\u2014\u3068\u3044\u30463\u3064\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u751f\u307e\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLASS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">class\u306e5\u3064\u306e\u7279\u5fb4\u3068\u6b63\u3057\u3044\u4f7f\u3044\u65b9<\/span>\n  <span class=\"section-desc\">\u8907\u6570\u8981\u7d20\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u4e00\u62ec\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u3059\u308b\u4ed5\u7d44\u307f<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">HTML\u306eclass\u5c5e\u6027\u306b\u306f5\u3064\u306e\u91cd\u8981\u306a\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u300c\u3044\u3064class\u3092\u4f7f\u3046\u3079\u304d\u304b\u300d\u304c\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002\u7279\u306b\u91cd\u8981\u306a\u306e\u306f<strong>\u300c\u8907\u6570\u8981\u7d20\u3078\u306e\u9069\u7528\u300d\u3068\u300c\u8907\u6570\u30af\u30e9\u30b9\u306e\u540c\u6642\u4ed8\u4e0e\u300d<\/strong>\u306e2\u3064\u3067\u3001\u3053\u308c\u304cclass\u306e\u6700\u5927\u306e\u5f37\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2460\uff1a\u540c\u3058\u30da\u30fc\u30b8\u5185\u3067\u8907\u6570\u306e\u8981\u7d20\u306b\u9069\u7528\u3067\u304d\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">class\u306e\u6700\u5927\u306e\u7279\u5fb4\u306f\u3001<strong>\u540c\u3058class\u540d\u3092\u540c\u4e00\u30da\u30fc\u30b8\u5185\u306e\u8907\u6570\u306e\u8981\u7d20\u306b\u4ed8\u3051\u3089\u308c\u308b<\/strong>\u70b9\u3067\u3059\u3002\u4f8b\u3048\u3070\u300cbtn-primary\u300d\u3068\u3044\u3046class\u3092\u3001\u30da\u30fc\u30b8\u5185\u306e5\u3064\u306e\u30dc\u30bf\u30f3\u5168\u3066\u306b\u4ed8\u3051\u308b\u3068\u3001CSS\u3067`.btn-primary`\u3092\u4e00\u5ea6\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u30675\u3064\u5168\u3066\u306e\u30dc\u30bf\u30f3\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u63c3\u3044\u307e\u3059\u30021\u304b\u6240\u3067CSS\u3092\u5909\u66f4\u3059\u308c\u3070\u3001\u5bfe\u8c61\u306e\u5168\u8981\u7d20\u306b\u5373\u53cd\u6620\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u793e\u5185\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u7d71\u4e00\u7ba1\u7406\u306b\u4f3c\u3066\u304a\u308a\u3001\u300c\u3053\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u4f7f\u3046\u5168\u54e1\u300d\u306b\u540c\u6642\u5909\u66f4\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2461\uff1a1\u3064\u306e\u8981\u7d20\u306b\u8907\u6570\u306eclass\u3092\u4ed8\u3051\u3089\u308c\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3064\u306eHTML\u8981\u7d20\u306b\u8907\u6570\u306eclass\u3092\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070`<button class=\"btn btn-primary btn-large\">`\u3068\u3044\u3046\u5f62\u3067\u30013\u3064\u306eclass\u3092\u540c\u6642\u306b\u9069\u7528\u3067\u304d\u307e\u3059\u3002\u300cbtn\u300d\u3067\u30dc\u30bf\u30f3\u306e\u57fa\u672c\u30b9\u30bf\u30a4\u30eb\u3001\u300cbtn-primary\u300d\u3067\u30e1\u30a4\u30f3\u30ab\u30e9\u30fc\u306e\u30b9\u30bf\u30a4\u30eb\u3001\u300cbtn-large\u300d\u3067\u30b5\u30a4\u30ba\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u305d\u308c\u305e\u308c\u5b9a\u7fa9\u3057\u3001\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5171\u901a\u90e8\u5206\u3068\u53ef\u5909\u90e8\u5206\u3092\u5206\u3051\u3066\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002Excel\u3067\u8a00\u3048\u3070\u300c\u6761\u4ef6\u4ed8\u304d\u66f8\u5f0f\u306e\u8907\u6570\u30eb\u30fc\u30eb\u30921\u30bb\u30eb\u306b\u9069\u7528\u3059\u308b\u300d\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2462\uff1aCSS\u547d\u540d\u898f\u5247\uff08BEM\u7b49\uff09\u306b\u3088\u308b\u4fdd\u5b88\u6027\u306e\u5411\u4e0a<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5927\u898f\u6a21\u306aWeb\u30b5\u30a4\u30c8\u3067\u306f\u3001class\u540d\u306e\u547d\u540d\u898f\u5247\uff08BEM: Block Element Modifier\u7b49\uff09\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002BEM\u306f\u300cblock__element--modifier\u300d\u306e\u5f62\u5f0f\u3067class\u540d\u3092\u69cb\u9020\u5316\u3057\u3001\u3069\u306e\u30d6\u30ed\u30c3\u30af\u306e\u3069\u306e\u8981\u7d20\u304b\u3092\u540d\u524d\u304b\u3089\u4e00\u76ee\u3067\u5224\u65ad\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u300ccard__title--active\u300d\u306f\u300ccard\u30d6\u30ed\u30c3\u30af\u306etitle\u8981\u7d20\u306eactive\u306a\u72b6\u614b\u300d\u3092\u610f\u5473\u3057\u307e\u3059\u3002Claude Code\u306b\u300cBEM\u306e\u547d\u540d\u898f\u5247\u3067class\u3092\u4ed8\u3051\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3060\u3051\u3067\u3001\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2463\uff1aCSS\u306e\u30bb\u30ec\u30af\u30bf\u8a73\u7d30\u5ea6\u304c\u4e2d\u7a0b\u5ea6<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u3067\u306fclass\u30bb\u30ec\u30af\u30bf\uff08`.class\u540d`\uff09\u3068id\u30bb\u30ec\u30af\u30bf\uff08`#id\u540d`\uff09\u306e\u512a\u5148\u9806\u4f4d\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u8a73\u7d30\u5ea6\u3068\u3044\u3046\u6982\u5ff5\u304c\u3042\u308a\u3001class\u3088\u308aid\u306e\u65b9\u304c\u9ad8\u3044\u8a73\u7d30\u5ea6\u3092\u6301\u3061\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u540c\u3058\u8981\u7d20\u306bclass\u3068id\u306e\u4e21\u65b9\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001id\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u304c\u300cCSS\u306e\u610f\u56f3\u3057\u305f\u901a\u308a\u306b\u30b9\u30bf\u30a4\u30eb\u304c\u5f53\u305f\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u554f\u984c\u306e\u4e3b\u8981\u306a\u539f\u56e0\u306e\u4e00\u3064\u3067\u3059\uff08\u8a73\u7d30\u306fSection 05\u3067\u89e3\u8aac\uff09\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2464\uff1aJavaScript\u3067\u306e\u8907\u6570\u8981\u7d20\u4e00\u62ec\u64cd\u4f5c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">JavaScript\u3067class\u540d\u3092\u4f7f\u3046\u3068\u3001\u305d\u306eclass\u3092\u6301\u3064\u5168\u8981\u7d20\u3092\u4e00\u62ec\u3067\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u300c\u5168\u3066\u306e.product-card\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u300d\u300c.btn-primary\u306e\u5168\u30dc\u30bf\u30f3\u3092\u7121\u52b9\u5316\u3059\u308b\u300d\u3068\u3044\u3046\u64cd\u4f5c\u304c1\u884c\u3067\u66f8\u3051\u307e\u3059\u3002id\u306e\u5834\u5408\u306f1\u8981\u7d20\u3057\u304b\u53d6\u5f97\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u8907\u6570\u8981\u7d20\u3092\u6271\u3046\u306b\u306fclass\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002EC\u30b5\u30a4\u30c8\u306e\u5546\u54c1\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u6a5f\u80fd\u3084\u3001\u30bf\u30d6\u5207\u308a\u66ff\u3048UI\u7b49\u3067class\u306e\u4e00\u62ec\u64cd\u4f5c\u304c\u591a\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">\u8981\u7d20\u306bclass\u4ed8\u4e0e\nclass=\"btn-primary\"<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">CSS\u5b9a\u7fa9\n.btn-primary\n{ color: white; }<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u30b9\u30bf\u30a4\u30eb\u9069\u7528\n\u540c\u3058\u30af\u30e9\u30b9\u306e\n\u5168\u8981\u7d20\u306b\u4e00\u62ec\u53cd\u6620<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u5909\u66f4\u6642\nCSS1\u7b87\u6240\u4fee\u6b63\n\u3067\u5168\u8981\u7d20\u304c\u66f4\u65b0<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">class\u306f\u300c\u30b0\u30eb\u30fc\u30d7\u7ba1\u7406\u300d\u306e\u8003\u3048\u65b9\u3067\u3059\u3002\u300c\u3053\u306e\u30c7\u30b6\u30a4\u30f3\u30eb\u30fc\u30eb\u3092\u4f7f\u3046\u5168\u3066\u306e\u8981\u7d20\u300d\u306b\u540c\u3058class\u3092\u4ed8\u3051\u3066\u304a\u304f\u3068\u3001\u5909\u66f4\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002EC\u30b5\u30a4\u30c8\u3067\u5546\u54c1\u30ab\u30fc\u30c9\u304c100\u500b\u3042\u3063\u3066\u3082\u3001`.product-card`\u3068\u3044\u3046class\u3092\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u5168100\u500b\u304c\u540c\u6642\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u300cclass\u3067\u7ba1\u7406\u3057\u307e\u3057\u3087\u3046\u300d\u3068\u63d0\u6848\u3059\u308b\u306e\u306f\u3001\u3053\u306e\u4fdd\u5b88\u6027\u306e\u9ad8\u3055\u304c\u7406\u7531\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ID<\/span>\n  <span class=\"section-title\" style=\"display:block;\">id\u306e4\u3064\u306e\u7279\u5fb4\u3068\u6b63\u3057\u3044\u4f7f\u3044\u65b9<\/span>\n  <span class=\"section-desc\">\u30da\u30fc\u30b8\u5185\u3067\u552f\u4e00\u306e\u8b58\u5225\u5b50\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b\u7279\u6b8a\u306a\u5c5e\u6027<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">id\u5c5e\u6027\u306b\u306f4\u3064\u306e\u91cd\u8981\u306a\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002class\u3068\u306e\u6700\u5927\u306e\u9055\u3044\u306f<strong>\u300c\u540c\u3058\u30da\u30fc\u30b8\u5185\u306b\u540c\u3058id\u306f1\u3064\u3060\u3051\u300d<\/strong>\u3068\u3044\u3046\u4e00\u610f\u6027\u306e\u539f\u5247\u3067\u3059\u3002\u3053\u306e\u5236\u7d04\u304c\u3042\u308b\u305f\u3081\u3001id\u306f\u30da\u30fc\u30b8\u5168\u4f53\u3067\u552f\u4e00\u306e\u8981\u7d20\u3092\u6307\u5b9a\u3059\u308b\u5834\u9762\u306b\u9650\u5b9a\u3057\u3066\u4f7f\u3046\u306e\u304c\u6b63\u3057\u3044\u4f7f\u3044\u65b9\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2460\uff1a\u30da\u30fc\u30b8\u5185\u3067\u4e00\u610f\uff08\u30e6\u30cb\u30fc\u30af\uff09\u3067\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u4e00HTML\u30da\u30fc\u30b8\u5185\u3067\u3001\u540c\u3058id\u540d\u3092\u6301\u3064\u8981\u7d20\u306f1\u3064\u3060\u3051\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306fHTML\u6a19\u6e96\u306e\u4ed5\u69d8\u3067\u3001\u9055\u53cd\u3059\u308b\u3068<strong>\u30d6\u30e9\u30a6\u30b6\u306e\u52d5\u4f5c\u304c\u4e0d\u5b9a\u306b\u306a\u308b\u30fbJavaScript\u304c\u610f\u56f3\u3057\u306a\u3044\u52d5\u4f5c\u3092\u3059\u308b\u30fb\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u554f\u984c\u304c\u767a\u751f\u3059\u308b<\/strong>\u7b49\u306e\u554f\u984c\u304c\u8d77\u304d\u307e\u3059\u3002\u7d4c\u55b6\u306e\u6bd4\u55a9\u3067\u8a00\u3048\u3070\u3001\u793e\u54e1\u756a\u53f7\u3068\u540c\u3058\u3067\u3059\u3002\u300c0001\u300d\u3068\u3044\u3046\u793e\u54e1\u756a\u53f7\u306f\u5168\u793e\u30671\u4eba\u3060\u3051\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u3088\u3046\u306b\u3001id\u306f1\u30da\u30fc\u30b8\u306b1\u3064\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2461\uff1a\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\u306e\u30a2\u30f3\u30ab\u30fc\u3068\u3057\u3066\u4f7f\u3048\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">id\u306e\u91cd\u8981\u306a\u7528\u9014\u306e\u3072\u3068\u3064\u304c\u300c\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\uff08\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\uff09\u300d\u3067\u3059\u3002\u4f8b\u3048\u3070`<h2 id=\"contact\">`\u3068\u66f8\u3044\u3066\u304a\u3051\u3070\u3001`<a href=\"#contact\">\u304a\u554f\u3044\u5408\u308f\u305b\u3078<\/a>`\u3068\u3044\u3046\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30da\u30fc\u30b8\u5185\u306e`contact`\u3068\u3044\u3046 id \u3092\u6301\u3064\u898b\u51fa\u3057\u307e\u3067\u30b9\u30e0\u30fc\u30ba\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u306e\u30da\u30fc\u30b8\u306e\u76ee\u6b21\u3082\u3053\u306e\u4ed5\u7d44\u307f\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u30da\u30fc\u30b8\u5185\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30fb\u76ee\u6b21\u30fbFAQ\u306e\u300c\u3053\u306e\u8cea\u554f\u3092\u898b\u308b\u300d\u30ea\u30f3\u30af\u7b49\u3001\u591a\u304f\u306eWeb\u30b5\u30a4\u30c8\u3067id\u304c\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3068\u3057\u3066\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2462\uff1aJavaScript\u3067\u6700\u901f\u306e1\u8981\u7d20\u30a2\u30af\u30bb\u30b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">JavaScript\u3067id\u3092\u4f7f\u3046\u3068\u3001\u30da\u30fc\u30b8\u5185\u306e\u7279\u5b9a\u306e1\u8981\u7d20\u3092\u6700\u9ad8\u901f\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002`document.getElementById(\"main-form\")`\u3068\u3044\u3046\u8a18\u8ff0\u3067\u3001id\u304c\u300cmain-form\u300d\u306e\u8981\u7d20\u3060\u3051\u3092\u77ac\u6642\u306b\u53d6\u5f97\u3057\u307e\u3059\u3002class\u306e\u5834\u5408\u306f\u8907\u6570\u8981\u7d20\u3092\u8fd4\u3059\u306e\u306b\u5bfe\u3057\u3001id\u306f\u5fc5\u305a1\u8981\u7d20\u3060\u3051\u3092\u8fd4\u3057\u307e\u3059\u3002\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u30dc\u30bf\u30f3\u30fb\u7279\u5b9a\u306e\u30e2\u30fc\u30c0\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u30fb\u30d8\u30c3\u30c0\u30fc\u3084\u30d5\u30c3\u30bf\u30fc\u7b49\u3001\u300c\u3053\u306e\u30da\u30fc\u30b8\u306b\u3072\u3068\u3064\u3057\u304b\u5b58\u5728\u3057\u306a\u3044\u8981\u7d20\u300d\u3092\u64cd\u4f5c\u3059\u308b\u5834\u5408\u306fid\u3092\u4f7f\u3046\u306e\u304c\u6b63\u3057\u3044\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7279\u5fb4\u2463\uff1aCSS\u306e\u8a73\u7d30\u5ea6\u304cclass\u3088\u308a\u9ad8\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u3067\u306fid\u30bb\u30ec\u30af\u30bf\uff08`#id\u540d`\uff09\u306fclass\u30bb\u30ec\u30af\u30bf\uff08`.class\u540d`\uff09\u3088\u308a\u9ad8\u3044\u8a73\u7d30\u5ea6\u3092\u6301\u3061\u307e\u3059\u3002\u540c\u3058\u8981\u7d20\u306b\u4e21\u65b9\u3067\u30b9\u30bf\u30a4\u30eb\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001id\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306fid\u304c\u300c\u7279\u5b9a\u306e1\u8981\u7d20\u3060\u3051\u3078\u306e\u30b9\u30bf\u30a4\u30eb\u6307\u5b9a\u300d\u3068\u3044\u3046\u5f37\u3044\u610f\u56f3\u3092\u6301\u3064\u305f\u3081\u3001CSS\u304c\u300c\u3088\u308a\u5177\u4f53\u7684\u306a\u6307\u5b9a\u300d\u3068\u3057\u3066\u6271\u3046\u304b\u3089\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u9ad8\u3044\u8a73\u7d30\u5ea6\u306f\u300cCSS\u306e\u4e0a\u66f8\u304d\u304c\u96e3\u3057\u304f\u306a\u308b\u300d\u3068\u3044\u3046\u526f\u4f5c\u7528\u3082\u3042\u308a\u307e\u3059\u3002\u5927\u898f\u6a21\u30b5\u30a4\u30c8\u3067\u306fid\u3092CSS\u306e\u30bb\u30ec\u30af\u30bf\u3068\u3057\u3066\u4f7f\u3044\u3059\u304e\u308b\u3068\u4fdd\u5b88\u6027\u304c\u4e0b\u304c\u308b\u305f\u3081\u3001id\u306fJavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u3084\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u7528\u9014\u306b\u9650\u308a\u3001\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306fclass\u3067\u884c\u3046\u8a2d\u8a08\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">id\u3092\u4f7f\u3046\u3079\u304d\u5178\u578b\u7684\u306a\u30b1\u30fc\u30b9<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30da\u30fc\u30b8\u306e\u30e1\u30a4\u30f3\u30b3\u30f3\u30c6\u30f3\u30c4\uff08id=\"main\"\uff09\u30fb\u30d8\u30c3\u30c0\u30fc\uff08id=\"header\"\uff09\u30fb\u30d5\u30c3\u30bf\u30fc\uff08id=\"footer\"\uff09\u30fb\u76ee\u6b21\u306e\u5404\u30bb\u30af\u30b7\u30e7\u30f3\uff08id=\"sec-01\"\u7b49\uff09\u30fb\u30d5\u30a9\u30fc\u30e0\uff08id=\"contact-form\"\uff09\u30fb\u30e2\u30fc\u30c0\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\uff08id=\"confirm-modal\"\uff09\u2014\u2014\u3053\u308c\u3089\u306f\u30da\u30fc\u30b8\u5185\u306b\u5fc5\u305a1\u3064\u3057\u304b\u5b58\u5728\u3057\u306a\u3044\u8981\u7d20\u306a\u306e\u3067\u3001id\u304c\u9069\u5207\u3067\u3059\u3002\u4e00\u65b9\u300c\u5546\u54c1\u30ab\u30fc\u30c9\u300d\u300c\u30e1\u30cb\u30e5\u30fc\u306e\u9805\u76ee\u300d\u300c\u30d6\u30ed\u30b0\u8a18\u4e8b\u30ea\u30b9\u30c8\u300d\u306a\u3069\u8907\u6570\u5b58\u5728\u3059\u308b\u8981\u7d20\u306b\u306fclass\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">id\u4ed8\u4e0e\nid=\"header\"<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\nhref=\"#header\"\n\u3067\u30b9\u30af\u30ed\u30fc\u30eb<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">JS\u64cd\u4f5c\ngetElementById\n(\"header\")\n\u30671\u8981\u7d20\u53d6\u5f97<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">CSS\u8a73\u7d30\u5ea6\n#header\u304c\n.header-class\u3088\u308a\n\u512a\u5148\u3055\u308c\u308b<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cid\u306f\u30da\u30fc\u30b8\u306b1\u3064\u3060\u3051\u300d\u2014\u2014\u3053\u306e\u4e00\u70b9\u3092\u899a\u3048\u3066\u304a\u3051\u3070\u307b\u3068\u3093\u3069\u306e\u5834\u9762\u3067\u6b63\u3057\u3044\u5224\u65ad\u304c\u3067\u304d\u307e\u3059\u3002Claude Code\u306b\u300c\u3053\u306e\u30da\u30fc\u30b8\u306eid\u3092\u5168\u90e8\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001\u91cd\u8907\u304c\u3042\u308c\u3070\u4fee\u6b63\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3068\u3001HTML\u306e\u54c1\u8cea\u554f\u984c\u3092\u4e00\u62ec\u3067\u6d17\u3044\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u624b\u4f5c\u696d\u3067\u63a2\u3059\u3088\u308a100\u500d\u901f\u3044\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">COMPARISON<\/span>\n  <span class=\"section-title\" style=\"display:block;\">class\u3068id\u306e7\u3064\u306e\u6c7a\u5b9a\u7684\u306a\u9055\u3044\u3010\u6bd4\u8f03\u8868\u4ed8\u304d\u3011<\/span>\n  <span class=\"section-desc\">\u4e00\u610f\u6027\u30fb\u8a73\u7d30\u5ea6\u30fb\u7528\u9014\u30fbJavaScript\u3067\u306e\u9055\u3044\u3092\u5b8c\u5168\u7db2\u7f85<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">class\u3068id\u306e\u9055\u3044\u30927\u3064\u306e\u89b3\u70b9\u304b\u3089\u6574\u7406\u3057\u307e\u3059\u3002\u3053\u306e\u6bd4\u8f03\u8868\u3092\u982d\u306b\u5165\u308c\u3066\u304a\u304f\u3060\u3051\u3067\u3001Web\u30c7\u30b6\u30a4\u30f3\u306e\u6280\u8853\u7684\u306a\u8b70\u8ad6\u306b\u53c2\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001Claude Code\u306b\u6307\u793a\u3059\u308b\u969b\u306e\u8a9e\u5f59\u3068\u3057\u3066\u76f4\u63a5\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u6bd4\u8f03\u9805\u76ee<\/th><th>class<\/th><th>id<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u4e00\u610f\u6027<\/td><td>\u540c\u4e00\u30da\u30fc\u30b8\u5185\u3067\u8907\u6570\u8981\u7d20\u306b\u4f7f\u7528\u53ef\uff08\u91cd\u8907OK\uff09<\/td><td>\u540c\u4e00\u30da\u30fc\u30b8\u5185\u30671\u8981\u7d20\u306e\u307f\uff08\u91cd\u8907NG\u3001HTML\u4ed5\u69d8\u9055\u53cd\uff09<\/td><\/tr>\n<tr><td>CSS\u30bb\u30ec\u30af\u30bf<\/td><td>`.\u30af\u30e9\u30b9\u540d`\uff08\u30c9\u30c3\u30c8\u8a18\u6cd5\uff09<\/td><td>`#id\u540d`\uff08\u30b7\u30e3\u30fc\u30d7\u8a18\u6cd5\uff09<\/td><\/tr>\n<tr><td>\u8a73\u7d30\u5ea6\uff08\u5f37\u3055\uff09<\/td><td>\u4e2d\uff08class\u304c10\u70b9\u3068\u3059\u308b\u3068\uff09<\/td><td>\u9ad8\uff08class\u306e10\u500d\u306e\u5f37\u3055\u3001100\u70b9\u76f8\u5f53\uff09<\/td><\/tr>\n<tr><td>1\u8981\u7d20\u3078\u306e\u8907\u6570\u4ed8\u4e0e<\/td><td>\u53ef\u80fd\uff08\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067\u8907\u6570class\u4ed8\u4e0eOK\uff09<\/td><td>\u4e0d\u53ef\uff08id\u306f1\u8981\u7d20\u306b1\u3064\u3060\u3051\uff09<\/td><\/tr>\n<tr><td>\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af<\/td><td>\u4f7f\u7528\u4e0d\u53ef\uff08\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3068\u3057\u3066\u306f\u6a5f\u80fd\u3057\u306a\u3044\uff09<\/td><td>\u4f7f\u7528\u53ef\uff08`href=\"#id\u540d\"`\u3067\u305d\u3053\u306b\u30b9\u30af\u30ed\u30fc\u30eb\uff09<\/td><\/tr>\n<tr><td>JS\u53d6\u5f97\u30e1\u30bd\u30c3\u30c9<\/td><td>`getElementsByClassName()`\u3067\u8907\u6570\u53d6\u5f97<\/td><td>`getElementById()`\u30671\u8981\u7d20\u53d6\u5f97\uff08\u6700\u901f\uff09<\/td><\/tr>\n<tr><td>\u4e3b\u306a\u7528\u9014<\/td><td>\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u30fb\u30b0\u30eb\u30fc\u30d7\u64cd\u4f5c\u30fb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u7ba1\u7406<\/td><td>\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u30fbJS\u64cd\u4f5c\u30fb\u30d5\u30a9\u30fc\u30e0\u95a2\u9023\u4ed8\u3051<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e7\u3064\u306e\u9055\u3044\u306e\u3046\u3061\u3001\u6700\u3082\u91cd\u8981\u306a\u306e\u306f<strong>\u2460\u4e00\u610f\u6027\uff08id\u306f\u30da\u30fc\u30b8\u306b1\u3064\u3060\u3051\uff09<\/strong>\u3068<strong>\u2464\u30da\u30fc\u30b8\u5185\u30ea\u30f3\u30af\uff08id\u3067\u3057\u304b\u30a2\u30f3\u30ab\u30fc\u306f\u4f5c\u308c\u306a\u3044\uff09<\/strong>\u3068<strong>\u2465JavaScript\u3067\u306e\u53d6\u5f97\u65b9\u6cd5\u306e\u9055\u3044<\/strong>\u3067\u3059\u3002\u3053\u306e3\u70b9\u3092\u62bc\u3055\u3048\u308b\u3053\u3068\u3067\u3001\u300c\u306a\u305c\u3053\u3053\u306bclass\u3092\u4f7f\u3046\u306e\u304b\u30fb\u306a\u305c\u3053\u3053\u306bid\u3092\u4f7f\u3046\u306e\u304b\u300d\u306e9\u5272\u306f\u5224\u65ad\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u3072\u3068\u3064\u91cd\u8981\u306a\u306e\u304c<strong>\u2463\u8a73\u7d30\u5ea6\u306e\u9055\u3044<\/strong>\u3067\u3059\u3002\u307b\u3068\u3093\u3069\u306eCSS\u304c\u610f\u56f3\u3057\u306a\u3044\u52d5\u4f5c\u3092\u3059\u308b\u539f\u56e0\u306f\u3001\u3053\u306e\u8a73\u7d30\u5ea6\u306e\u885d\u7a81\u3067\u3059\u3002id\u3068class\u3067\u540c\u3058\u8981\u7d20\u3092\u6307\u5b9a\u3057\u305f\u3068\u304d\u3001id\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u300c\u5f37\u5236\u7684\u306b\u300d\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u5927\u898f\u6a21\u306aCSS\u3092\u7ba1\u7406\u3059\u308b\u3068\u304d\u3001\u300c\u306a\u305c\u3053\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u52b9\u304b\u306a\u3044\u306e\u304b\u300d\u3068\u3044\u3046\u539f\u56e0\u306e\u591a\u304f\u304c\u3053\u3053\u306b\u3042\u308a\u307e\u3059\u3002\u8a73\u7d30\u5ea6\u306b\u3064\u3044\u3066\u306f\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u5546\u54c1\u30ab\u30fc\u30c9\u306bid\u3092\u4ed8\u3051\u3066\u308b\u300d\u300c\u540c\u3058id\u304c2\u7b87\u6240\u306b\u3042\u308b\u300d\u2014\u2014\u3053\u3046\u3044\u3063\u305f\u30b3\u30fc\u30c9\u306e\u554f\u984c\u3092\u898b\u3064\u3051\u305f\u3068\u304d\u3001\u539f\u56e0\u3092\u660e\u78ba\u306b\u6307\u6458\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u3078\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u7cbe\u5ea6\u304c\u683c\u6bb5\u306b\u4e0a\u304c\u308a\u307e\u3059\u3002\u300c\u3053\u306eid\u304c\u91cd\u8907\u3057\u3066HTML\u306e\u4ed5\u69d8\u306b\u9055\u53cd\u3057\u3066\u3044\u307e\u3059\u3002class\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u8a00\u3048\u308b\u3068\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u3082\u300c\u3061\u3083\u3093\u3068\u898b\u3066\u308b\u300d\u3068\u611f\u3058\u3066\u4e01\u5be7\u306a\u4ed5\u4e8b\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">SPECIFICITY<\/span>\n  <span class=\"section-title\" style=\"display:block;\">CSS\u30bb\u30ec\u30af\u30bf\u306e\u8a73\u7d30\u5ea6\u2014\u2014class\u3068id\u306e\u512a\u5148\u9806\u4f4d<\/span>\n  <span class=\"section-desc\">\u306a\u305cCSS\u304c\u610f\u56f3\u3057\u305f\u901a\u308a\u306b\u52d5\u304b\u306a\u3044\u306e\u304b\uff1f\u8a73\u7d30\u5ea6\u3067\u89e3\u6c7a\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u306e\u8a73\u7d30\u5ea6\uff08\u82f1\u8a9e: specificity\u3001\u30b9\u30da\u30b7\u30d5\u30a3\u30b7\u30c6\u30a3\uff09\u306f\u3001\u540c\u3058\u8981\u7d20\u306b\u8907\u6570\u306eCSS\u30eb\u30fc\u30eb\u304c\u9069\u7528\u3055\u308c\u308b\u3068\u304d\u3001\u3069\u306e\u30eb\u30fc\u30eb\u304c\u512a\u5148\u3055\u308c\u308b\u304b\u3092\u6c7a\u3081\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u304c\u300cCSS\u3092\u66f8\u304b\u306a\u304f\u3066\u3082\u3044\u3044\u7406\u7531\u300d\u306e\u3072\u3068\u3064\u306b\u3001<strong>\u300c\u8a73\u7d30\u5ea6\u306e\u30d0\u30b0\u306fClaude Code\u306b\u4e38\u6295\u3052\u3067\u304d\u308b\u300d<\/strong>\u3068\u3044\u3046\u4e8b\u5b9f\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u8a73\u7d30\u5ea6\u306e\u6982\u5ff5\u3092\u77e5\u3063\u3066\u3044\u308b\u3068\u300c\u306a\u305c\u3053\u306e\u30dc\u30bf\u30f3\u306e\u8272\u304c\u5909\u308f\u3089\u306a\u3044\u306e\u304b\u300d\u3092\u7684\u78ba\u306b\u8a3a\u65ad\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>CSS\u306e\u8a73\u7d30\u5ea6\uff08Specificity\uff09<\/strong>\uff1aCSS\u3067\u540c\u3058HTML\u8981\u7d20\u306b\u8907\u6570\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u7af6\u5408\u3059\u308b\u3068\u304d\u3001\u3069\u3061\u3089\u304c\u512a\u5148\u3055\u308c\u308b\u304b\u3092\u6c7a\u3081\u308b\u30b9\u30b3\u30a2\u30b7\u30b9\u30c6\u30e0\u3002\u4e3b\u8981\u306a\u30bb\u30ec\u30af\u30bf\u306e\u8a73\u7d30\u5ea6\u30b9\u30b3\u30a2\uff08\u76ee\u5b89\uff09\u306f\uff1a\u30a4\u30f3\u30e9\u30a4\u30f3\u30b9\u30bf\u30a4\u30eb\uff08style=\"\"\uff09=1000\u70b9\u3001id\u30bb\u30ec\u30af\u30bf\uff08#id\uff09=100\u70b9\u3001class\u30bb\u30ec\u30af\u30bf\uff08.class\uff09=10\u70b9\u3001\u30bf\u30b0\u30bb\u30ec\u30af\u30bf\uff08div\/p\/a\u7b49\uff09=1\u70b9\u3002\u30b9\u30b3\u30a2\u306e\u5408\u8a08\u304c\u9ad8\u3044\u65b9\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002`!important`\u3092\u4ed8\u3051\u308b\u3068\u5168\u30eb\u30fc\u30eb\u3092\u7121\u8996\u3057\u3066\u6700\u512a\u5148\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u4e71\u7528\u3059\u308b\u3068\u4fdd\u5b88\u6027\u304c\u58ca\u6ec5\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a73\u7d30\u5ea6\u30b9\u30b3\u30a2\u3092\u70b9\u6570\u3067\u8868\u3059\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u3092\u77e5\u308b\u3068\u300c\u306a\u305cclass\u3088\u308aid\u304c\u5f37\u3044\u306e\u304b\u300d\u304c\u6570\u5024\u3067\u7406\u89e3\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u30bb\u30ec\u30af\u30bf\u306e\u7a2e\u985e<\/th><th>\u66f8\u304d\u65b9\u306e\u4f8b<\/th><th>\u8a73\u7d30\u5ea6\u30b9\u30b3\u30a2\uff08\u76ee\u5b89\uff09<\/th><th>\u610f\u5473<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30a4\u30f3\u30e9\u30a4\u30f3\u30b9\u30bf\u30a4\u30eb<\/td><td>style=\"color: red\"<\/td><td>1000\u70b9\uff08\u6700\u5f37\uff09<\/td><td>\u7279\u5b9a\u306e\u8981\u7d20\u306b\u76f4\u63a5\u66f8\u304b\u308c\u305f\u30b9\u30bf\u30a4\u30eb<\/td><\/tr>\n<tr><td>id\u30bb\u30ec\u30af\u30bf<\/td><td>#header { color: red }<\/td><td>100\u70b9<\/td><td>id\u3067\u6307\u5b9a\u3057\u305f\u30b9\u30bf\u30a4\u30eb<\/td><\/tr>\n<tr><td>class\u30bb\u30ec\u30af\u30bf<\/td><td>.btn { color: red }<\/td><td>10\u70b9<\/td><td>class\u3067\u6307\u5b9a\u3057\u305f\u30b9\u30bf\u30a4\u30eb<\/td><\/tr>\n<tr><td>\u64ec\u4f3c\u30af\u30e9\u30b9<\/td><td>a:hover { color: red }<\/td><td>10\u70b9<\/td><td>\u72b6\u614b\u306b\u57fa\u3065\u304f\u30b9\u30bf\u30a4\u30eb<\/td><\/tr>\n<tr><td>\u30bf\u30b0\u30bb\u30ec\u30af\u30bf<\/td><td>div { color: red }<\/td><td>1\u70b9\uff08\u6700\u5f31\uff09<\/td><td>\u30bf\u30b0\u540d\u3060\u3051\u3067\u6307\u5b9a\u3057\u305f\u30b9\u30bf\u30a4\u30eb<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306e\u4f8b\u3067\u8a73\u7d30\u5ea6\u306e\u885d\u7a81\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u300cbtn\u300d\u3068\u3044\u3046class\u3092\u6301\u3061\u300csubmit-btn\u300d\u3068\u3044\u3046id\u3092\u6301\u3064\u30dc\u30bf\u30f3\u306b\u3001`.btn { color: white }`\uff0810\u70b9\uff09\u3068`#submit-btn { color: black }`\uff08100\u70b9\uff09\u306e\u4e21\u65b9\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u305f\u3068\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001<strong>id\u306e100\u70b9\u304cclass\u306e10\u70b9\u306b10\u500d\u52dd\u3064\u305f\u3081\u3001\u6587\u5b57\u8272\u306f\u9ed2\uff08black\uff09\u306b\u306a\u308a\u307e\u3059<\/strong>\u3002\u300cCSS\u3092\u5909\u66f4\u3057\u305f\u306e\u306b\u30b9\u30bf\u30a4\u30eb\u304c\u5909\u308f\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u554f\u984c\u306e\u591a\u304f\u306f\u3001\u3053\u306e\u8a73\u7d30\u5ea6\u306e\u885d\u7a81\u304c\u539f\u56e0\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">CSS\u304c\u52b9\u304b\u306a\u3044\n\u30c8\u30e9\u30d6\u30eb\u767a\u751f<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u8a73\u7d30\u5ea6\u3092\u78ba\u8a8d\n(\u30d6\u30e9\u30a6\u30b6DevTools\n\u3067\u7af6\u5408\u30c1\u30a7\u30c3\u30af)<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u9ad8\u8a73\u7d30\u5ea6\u306e\n\u30eb\u30fc\u30eb\u3092\u7279\u5b9a\n(id? inline?)<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u8a73\u7d30\u5ea6\u3092\n\u8abf\u6574\u3057\u3066\n\u89e3\u6c7a<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\nCSS\u8a2d\u8a08\u306b<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a73\u7d30\u5ea6\u306e\u554f\u984c\u3092\u907f\u3051\u308b\u305f\u3081\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306f\u3001<strong>\u300c\u57fa\u672c\u7684\u306bclass\u3060\u3051\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u7ba1\u7406\u3057\u3001id\u306fJavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u306b\u306e\u307f\u4f7f\u3046\u300d<\/strong>\u3068\u3044\u3046\u8a2d\u8a08\u65b9\u91dd\u3067\u3059\u3002id\u3092CSS\u30bb\u30ec\u30af\u30bf\u3068\u3057\u3066\u591a\u7528\u3059\u308b\u3068\u3001\u8a73\u7d30\u5ea6\u304c\u9ad8\u304f\u306a\u308a\u3059\u304e\u3066\u300c\u5f8c\u304b\u3089\u30b9\u30bf\u30a4\u30eb\u3092\u4e0a\u66f8\u304d\u3059\u308b\u306e\u304c\u96e3\u3057\u304f\u306a\u308b\u300d\u3068\u3044\u3046\u554f\u984c\u304c\u8d77\u304d\u307e\u3059\u3002\u5927\u898f\u6a21\u306aCSS\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3067\u306f\u3053\u306e\u554f\u984c\u304c\u983b\u767a\u3059\u308b\u305f\u3081\u3001id\u306eCSS\u4f7f\u7528\u3092\u907f\u3051\u308b\u300cOOCSS\u300d\u300cBEM\u300d\u300cTailwind CSS\u300d\u7b49\u306e\u8a2d\u8a08\u624b\u6cd5\u304c\u666e\u53ca\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">!important\u306e\u4e71\u7528\u306b\u6ce8\u610f<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">CSS\u304c\u601d\u3044\u901a\u308a\u306b\u52d5\u304b\u306a\u3044\u3068\u304d\u3001`!important`\u3092\u4ed8\u3051\u308b\u3068\u5f37\u5236\u7684\u306b\u512a\u5148\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u77ed\u671f\u7684\u306b\u306f\u554f\u984c\u304c\u89e3\u6c7a\u3057\u307e\u3059\u304c\u3001!important\u3092\u591a\u7528\u3059\u308b\u3068\u300c\u5168\u30eb\u30fc\u30eb\u304c!important\u3060\u3089\u3051\u300d\u306b\u306a\u308a\u3001\u5f8c\u304b\u3089\u4fee\u6b63\u4e0d\u53ef\u80fd\u306aCSS\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002Claude Code\u306b\u300c\u3053\u306eCSS\u554f\u984c\u3092!important\u3067\u89e3\u6c7a\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u306e\u306f\u907f\u3051\u3001\u300c\u8a73\u7d30\u5ea6\u306e\u554f\u984c\u3092\u6839\u672c\u89e3\u6c7a\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u65b9\u304c\u9577\u671f\u7684\u306b\u6b63\u3057\u3044\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u306a\u305c\u3053\u306e\u30dc\u30bf\u30f3\u306e\u8272\u304c\u5909\u308f\u3089\u306a\u3044\u306e\u304b\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u78ba\u8a8d\u3057\u3066\u307b\u3057\u3044\u300d\u2014\u2014\u4ee5\u524d\u306f\u3053\u3046\u983c\u3093\u3067\u3044\u307e\u3057\u305f\u3002\u4eca\u306f\u300c\u8a73\u7d30\u5ea6\u306e\u554f\u984c\u3067id\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u512a\u5148\u3055\u308c\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002Claude Code\u3067\u78ba\u8a8d\u3057\u3066\u300d\u3068\u8a00\u3048\u307e\u3059\u3002\u554f\u984c\u306e\u4eee\u8aac\u3092\u6301\u3063\u3066\u4f9d\u983c\u3067\u304d\u308b\u3068\u3001\u89e3\u6c7a\u30b9\u30d4\u30fc\u30c9\u304c\u5168\u7136\u9055\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">JAVASCRIPT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">JavaScript\u304b\u3089class\u3068id\u3092\u64cd\u4f5c\u3059\u308b\u9055\u3044<\/span>\n  <span class=\"section-desc\">\u52d5\u7684\u306aUI\u5236\u5fa1\u3067class\u3068id\u3092\u3069\u3046\u4f7f\u3044\u5206\u3051\u308b\u304b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Web\u30da\u30fc\u30b8\u306e\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u52d5\u4f5c\uff08\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u30fb\u30bf\u30d6\u5207\u308a\u66ff\u3048\u30fb\u30d5\u30a9\u30fc\u30e0\u691c\u8a3c\u30fb\u30e2\u30fc\u30c0\u30eb\u8868\u793a\u7b49\uff09\u306fJavaScript\u3067\u5b9f\u73fe\u3055\u308c\u307e\u3059\u3002JavaScript\u304cHTML\u306eclass\u3084id\u3092\u64cd\u4f5c\u3059\u308b\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u300c\u306a\u305c\u3053\u3053\u306bclass\u3092\u4f7f\u3044\u3001\u306a\u305c\u3053\u3053\u306bid\u3092\u4f7f\u3046\u306e\u304b\u300d\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u8a2d\u8a08\u5224\u65ad\u304c\u8aad\u3081\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>DOM\uff08Document Object Model\uff09<\/strong>\uff1aWeb\u30d6\u30e9\u30a6\u30b6\u304cHTML\u3092\u89e3\u91c8\u3057\u3066\u4f5c\u308b\u300c\u30da\u30fc\u30b8\u306e\u8a2d\u8a08\u56f3\u300d\u306e\u3088\u3046\u306a\u3082\u306e\u3002JavaScript\u306f\u3053\u306eDOM\u3092\u901a\u3057\u3066HTML\u306e\u8981\u7d20\u3092\u64cd\u4f5c\uff08\u8ffd\u52a0\u30fb\u524a\u9664\u30fb\u5909\u66f4\uff09\u3057\u307e\u3059\u3002`document.getElementById()`\u3084`document.querySelector()`\u7b49\u306fDOM\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002class\u3084id\u306fDOM\u3092\u901a\u3057\u3066JavaScript\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u300c\u4f4f\u6240\u300d\u306e\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">JavaScript\u3067class\u3068id\u3092\u64cd\u4f5c\u3059\u308b\u4e3b\u306a\u30e1\u30bd\u30c3\u30c9\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002\u7279\u306b\u91cd\u8981\u306a\u306e\u306f<strong>\u300cid\u306f1\u8981\u7d20\u53d6\u5f97\uff08getElementById\uff09\u3001class\u306f\u8907\u6570\u8981\u7d20\u53d6\u5f97\uff08getElementsByClassName\uff09\u300d<\/strong>\u3068\u3044\u3046\u9055\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u64cd\u4f5c\u306e\u7a2e\u985e<\/th><th>id\u3092\u4f7f\u3046\u5834\u5408<\/th><th>class\u3092\u4f7f\u3046\u5834\u5408<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u8981\u7d20\u53d6\u5f97<\/td><td>document.getElementById(\"id\u540d\")<\/td><td>document.getElementsByClassName(\"class\u540d\") or querySelectorAll(\".class\u540d\")<\/td><\/tr>\n<tr><td>\u53d6\u5f97\u7d50\u679c<\/td><td>1\u8981\u7d20\uff08Element\uff09<\/td><td>\u8907\u6570\u8981\u7d20\u306e\u96c6\u5408\uff08HTMLCollection or NodeList\uff09<\/td><\/tr>\n<tr><td>class\u8ffd\u52a0<\/td><td>\uff08id\u3067\u53d6\u5f97\u5f8c\uff09element.classList.add(\"class\u540d\")<\/td><td>\uff08\u5404\u8981\u7d20\u306b\uff09element.classList.add(\"class\u540d\")<\/td><\/tr>\n<tr><td>class\u524a\u9664<\/td><td>\uff08id\u3067\u53d6\u5f97\u5f8c\uff09element.classList.remove(\"class\u540d\")<\/td><td>querySelectorAll()\u3067\u5168\u53d6\u5f97\u2192\u30eb\u30fc\u30d7\u3067\u524a\u9664<\/td><\/tr>\n<tr><td>class\u5207\u308a\u66ff\u3048<\/td><td>element.classList.toggle(\"active\")<\/td><td>\u5168\u8981\u7d20\u306btoggle() or \u7279\u5b9a\u8981\u7d20\u306b\u306e\u307f\u9069\u7528<\/td><\/tr>\n<tr><td>\u4e3b\u306a\u7528\u9014<\/td><td>\u30e2\u30fc\u30c0\u30eb\u5236\u5fa1\u30fb\u30d5\u30a9\u30fc\u30e0\u64cd\u4f5c\u30fb\u7279\u5b9a\u8981\u7d20\u306e\u8868\u793a\u5207\u66ff<\/td><td>\u30bf\u30d6UI\u30fb\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u30fb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u4e00\u62ec\u9069\u7528<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306eUI\u5b9f\u88c5\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<strong>\u300c\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30bf\u30d6\u3060\u3051\u306bactive\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u308b\u300d<\/strong>\u3068\u3044\u3046\u30bf\u30d6\u5207\u308a\u66ff\u3048UI\u306f\u3001class\u3092\u4f7f\u3046\u5178\u578b\u4f8b\u3067\u3059\u3002\u5168\u30bf\u30d6\u304b\u3089`.tab-item`\u3092\u53d6\u5f97\u3057\u3001\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3082\u306e\u3060\u3051\u306b`active`\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u3066\u4ed6\u304b\u3089\u5916\u3057\u307e\u3059\u3002\u3053\u306e\u969b\u3001\u30bf\u30d6\u306e\u30b3\u30f3\u30c6\u30ca\uff08`id=\"tab-container\"`\uff09\u306fid\u3067\u53d6\u5f97\u3057\u3001\u5404\u30bf\u30d6\uff08`class=\"tab-item\"`\uff09\u306fclass\u3067\u4e00\u62ec\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u3072\u3068\u3064\u306e\u5178\u578b\u4f8b\u306f<strong>\u300c\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u7121\u52b9\u5316\u3059\u308b\u300d<\/strong>\u51e6\u7406\u3067\u3059\u3002\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u30dc\u30bf\u30f3\u306f\u901a\u5e38\u30da\u30fc\u30b8\u306b1\u3064\u306a\u306e\u3067`document.getElementById(\"submit-btn\")`\u3067id\u3092\u4f7f\u3063\u3066\u53d6\u5f97\u3057\u3001\u30af\u30ea\u30c3\u30af\u6642\u306b`button.disabled = true`\u3067\u7121\u52b9\u5316\u3057\u307e\u3059\u3002\u3082\u3057\u540c\u3058\u30da\u30fc\u30b8\u306b\u8907\u6570\u306e\u9001\u4fe1\u30dc\u30bf\u30f3\u304c\u3042\u308c\u3070\uff08\u30da\u30fc\u30b8\u4e0a\u90e8\u30fb\u30da\u30fc\u30b8\u4e0b\u90e8\u306e2\u7b87\u6240\u306a\u3069\uff09\u3001`class=\"submit-btn\"`\u3068\u3057\u3066`querySelectorAll(\".submit-btn\")`\u3067\u5168\u53d6\u5f97\u30fb\u4e00\u62ec\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u5b8c\u4e86\n(DOMContentLoaded)<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">JS\u8d77\u52d5\nid or class \u3067\n\u5bfe\u8c61\u8981\u7d20\u3092\u53d6\u5f97<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u30a4\u30d9\u30f3\u30c8\u76e3\u8996\n(click\/input\/scroll\u7b49)<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\n\u3067\u767a\u706b<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">class\u306e\u4ed8\u4e0e\u30fb\u524a\u9664\n\u3067UI\u3092\u52d5\u7684\u5909\u66f4<\/div>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">querySelector vs getElementById<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u73fe\u4ee3\u306eJavaScript\u3067\u306f`querySelector()`\uff081\u8981\u7d20\u53d6\u5f97\uff09\u3068`querySelectorAll()`\uff08\u8907\u6570\u53d6\u5f97\uff09\u3082\u5e83\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306fCSS\u30bb\u30ec\u30af\u30bf\u306e\u66f8\u304d\u65b9\uff08.class\u540d\u30fb#id\u540d\uff09\u3067\u3069\u3061\u3089\u3082\u53d6\u5f97\u3067\u304d\u308b\u305f\u3081\u3001getElementById\u3068getElementsByClassName\u3092\u307b\u307c\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001getElementById()\u306fid\u3060\u3051\u3092\u5c02\u9580\u306b\u63a2\u3059\u305f\u3081\u6700\u901f\u3067\u3059\u3002\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u91cd\u8981\u306a\u5834\u9762\u3067\u306fgetElementById()\u3092\u4f7f\u3044\u307e\u3059\u3002Claude Code\u306b\u4efb\u305b\u308b\u3068\u3001\u6587\u8108\u306b\u5408\u3063\u305f\u6700\u9069\u306a\u65b9\u6cd5\u3067\u5b9f\u88c5\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u30bf\u30d6\u5207\u308a\u66ff\u3048\u3092\u5b9f\u88c5\u3057\u3066\u300d\u3068Claude Code\u306b\u6307\u793a\u3059\u308b\u3068\u304d\u3001\u300c\u5404\u30bf\u30d6\u306btab-item\u30af\u30e9\u30b9\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u306ftab-container\u3068\u3044\u3046id\u3092\u4ed8\u3051\u3066JavaScript\u3067\u5b9f\u88c5\u3057\u3066\u300d\u3068\u6307\u5b9a\u3067\u304d\u308c\u3070\u3001\u30b3\u30fc\u30c9\u306e\u54c1\u8cea\u304c\u4e00\u6bb5\u4e0a\u304c\u308a\u307e\u3059\u3002class\u3068id\u306e\u4f7f\u3044\u5206\u3051\u3092\u77e5\u3063\u3066\u3044\u308b\u3068\u3001AI\u3078\u306e\u6307\u793a\u304c\u3088\u308a\u5177\u4f53\u7684\u30fb\u6280\u8853\u7684\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">DECISION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u306e\u305f\u3081\u306e\u4f7f\u3044\u5206\u3051\u5224\u65ad\u57fa\u6e96<\/span>\n  <span class=\"section-desc\">\u3053\u306e\u4e00\u554f\u4e00\u7b54\u306795%\u306e\u5834\u9762\u306f\u30ab\u30d0\u30fc\u3067\u304d\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u307e\u3067\u306e\u89e3\u8aac\u3092\u8e0f\u307e\u3048\u3001\u300cclass\u3092\u4f7f\u3046\u3079\u304d\u304b\u3001id\u3092\u4f7f\u3046\u3079\u304d\u304b\u300d\u3092\u73fe\u5834\u3067\u5373\u65ad\u3059\u308b\u305f\u3081\u306e\u5224\u65ad\u30d5\u30ed\u30fc\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u6307\u793a\u3059\u308b\u969b\u3084Claude Code\u306b\u4f9d\u983c\u3059\u308b\u969b\u306b\u3001\u3053\u306e\u57fa\u6e96\u3092\u9069\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\">\u8981\u7d20\u304c\u8907\u6570\u5b58\u5728\n\u3059\u308b\u304b\uff1f<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">YES\u2192class\n\uff08\u8907\u6570\u8981\u7d20\u306b\n\u540c\u3058class\u3092\u4ed8\u4e0e\uff09<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">NO\u2192\u6b21\u306e\u8cea\u554f\n\u300c\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u306e\n\u76ee\u7684\u5730\u306b\u3057\u305f\u3044\u304b\uff1f\u300d<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">YES\u2192id\n\uff08\u30da\u30fc\u30b8\u5185\u30ca\u30d3\u30fb\n\u76ee\u6b21\u7b49\uff09<\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\">NO\u2192classs\u63a8\u5968\n\uff08JS\u30bf\u30fc\u30b2\u30c3\u30c8\n\u3067\u3082class\u3067\u5341\u5206\uff09<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5177\u4f53\u7684\u306a\u4f7f\u3044\u5206\u3051\u306e\u4f8b\u3092\u6319\u3052\u308b\u3068\uff1a<\/p>\n\n\n\n<table>\n<thead><tr><th>\u30b7\u30ca\u30ea\u30aa<\/th><th>\u63a8\u5968\u3059\u308b\u5c5e\u6027<\/th><th>\u7406\u7531<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u5546\u54c1\u30ab\u30fc\u30c9\uff08\u8907\u6570\u5b58\u5728\uff09<\/td><td>class=\"product-card\"<\/td><td>\u540c\u3058\u30ab\u30fc\u30c9\u304c\u8907\u6570\u3042\u308b\u305f\u3081class\u304c\u9069\u5207<\/td><\/tr>\n<tr><td>\u30da\u30fc\u30b8\u306e\u30d8\u30c3\u30c0\u30fc\uff081\u3064\u3060\u3051\uff09<\/td><td>id=\"site-header\"<\/td><td>\u30da\u30fc\u30b8\u306b1\u3064\u3060\u3051\u3067\u3001JS\u3084\u30a2\u30f3\u30ab\u30fc\u7528\u9014\u306e\u305f\u3081id<\/td><\/tr>\n<tr><td>\u9001\u4fe1\u30dc\u30bf\u30f3\uff081\u3064\uff09<\/td><td>\u4e21\u65b9\u3042\u308a\uff08class=\"btn btn-primary\" id=\"submit-btn\"\uff09<\/td><td>\u30b9\u30bf\u30a4\u30eb\u306fclass\u3001JS\u64cd\u4f5c\u306fid\u3067\u4f7f\u3044\u5206\u3051<\/td><\/tr>\n<tr><td>FAQ\u5404\u30bb\u30af\u30b7\u30e7\u30f3\uff08\u8907\u6570\uff09<\/td><td>class=\"faq-item\"\uff08+\u76ee\u6b21\u304b\u3089\u30a2\u30f3\u30ab\u30fc\u306a\u3089id\u3082\u8ffd\u52a0\uff09<\/td><td>\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u304c\u5fc5\u8981\u306a\u3089\u4e21\u65b9\u4ed8\u4e0e\u3082\u53ef<\/td><\/tr>\n<tr><td>\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30ea\u30f3\u30af\uff08\u8907\u6570\uff09<\/td><td>class=\"nav-link\"\uff08\u73fe\u5728\u5730\u3060\u3051class=\"nav-link active\"\uff09<\/td><td>JS\u5207\u308a\u66ff\u3048\u306bclass\u306etoggle\u304c\u9069\u3057\u3066\u3044\u308b<\/td><\/tr>\n<tr><td>\u304a\u554f\u3044\u5408\u308f\u305b\u30d5\u30a9\u30fc\u30e0\uff081\u3064\uff09<\/td><td>id=\"contact-form\"<\/td><td>JS\u3067\u30d5\u30a9\u30fc\u30e0\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u5b9f\u88c5\u306e\u305f\u3081id<\/td><\/tr>\n<tr><td>\u5168CTA\u30dc\u30bf\u30f3\uff08\u8907\u6570\uff09<\/td><td>class=\"cta-btn\"<\/td><td>\u30b9\u30bf\u30a4\u30eb\u7d71\u4e00\u30fbGA4\u30af\u30ea\u30c3\u30af\u8a08\u6e2c\u306e\u4e00\u62ec\u8a2d\u5b9a<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u91cd\u8981\u306a\u539f\u5247\u306f\u3001<strong>\u300c\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\uff08\u898b\u305f\u76ee\uff09\u306fclass\u3067\u3001\u30da\u30fc\u30b8\u5185\u30ca\u30d3\u3068JavaScript\u64cd\u4f5c\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306fid\u3067\uff08\u307e\u305f\u306f\u4e21\u65b9\uff09\u300d<\/strong>\u3068\u3044\u3046\u4f7f\u3044\u5206\u3051\u3067\u3059\u3002id\u3092CSS\u306e\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306e\u307f\u306b\u4f7f\u3046\u8a2d\u8a08\u306f\u3001\u4fdd\u5b88\u6027\u306e\u89b3\u70b9\u304b\u3089\u73fe\u4ee3\u3067\u306f\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u4e16\u754c\u7684\u306b\u5e83\u304f\u5171\u6709\u3055\u308c\u3066\u3044\u308b\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u8907\u6570\u8981\u7d20\u306b\u540c\u3058\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3057\u305f\u3044<\/strong> \u2192 \u8ff7\u308f\u305aclass<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30da\u30fc\u30b8\u5185\u306e\u7279\u5b9a\u306e\u5834\u6240\u306b\u30ea\u30f3\u30af\u3057\u305f\u3044\uff08\u76ee\u6b21\u30fb\u30a2\u30f3\u30ab\u30fc\uff09<\/strong> \u2192 \u8ff7\u308f\u305aid<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>JavaScript\u3067\u300c\u3053\u306e\u30da\u30fc\u30b8\u3067\u552f\u4e00\u306e\u8981\u7d20\u300d\u3092\u64cd\u4f5c\u3057\u305f\u3044<\/strong> \u2192 id<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>JavaScript\u3067\u300c\u3053\u306e\u7a2e\u985e\u306e\u5168\u8981\u7d20\u300d\u3092\u64cd\u4f5c\u3057\u305f\u3044<\/strong> \u2192 class<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08\u30ab\u30fc\u30c9\u30fb\u30dc\u30bf\u30f3\u30fb\u30ea\u30b9\u30c8\u7b49\uff09\u306e\u8a2d\u8a08<\/strong> \u2192 class\u3092\u57fa\u672c\u306b\u8a2d\u8a08<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>BEM\u3084Tailwind\u3092\u4f7f\u3046\u5834\u5408<\/strong> \u2192 id\u306f\u307b\u307c\u4f7f\u308f\u305a\u5168\u3066class\u3067\u7ba1\u7406<\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLAUDE CODE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Claude Code\u304cHTML\/CSS\u306eclass\u30fbid\u5b9f\u88c5\u3092\u4e38\u3054\u3068\u4ee3\u884c<\/span>\n  <span class=\"section-desc\">\u30b3\u30fc\u30c9\u77e5\u8b58\u306a\u3057\u3067\u3082\u9ad8\u54c1\u8cea\u306aUI\u3092\u5b9f\u73fe\u3059\u308b\u6307\u793a\u306e\u30b3\u30c4<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">class\u3068id\u306e\u9055\u3044\u3092\u7406\u89e3\u3057\u305f\u4eca\u3001\u3053\u306e\u77e5\u8b58\u3092Claude Code\u3078\u306e\u6307\u793a\u306b\u6d3b\u304b\u3059\u65b9\u6cd5\u3092\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<strong>Claude Code\u306f\u300cclass\u3068id\u3092\u3069\u3046\u4f7f\u3046\u304b\u300d\u3068\u3044\u3046\u8a2d\u8a08\u5224\u65ad\u3092\u81ea\u5f8b\u7684\u306b\u884c\u3044\u3001\u5b9f\u88c5\u307e\u3067\u5b8c\u7d50\u3055\u305b\u307e\u3059<\/strong>\u3002\u3057\u304b\u3057\u3001\u7d4c\u55b6\u8005\u5074\u304cclass\u3068id\u306e\u4f7f\u3044\u5206\u3051\u306e\u8a9e\u5f59\u3092\u6301\u3063\u3066\u3044\u308c\u3070\u3001\u3088\u308a\u7684\u78ba\u306a\u6307\u793a\u304c\u3067\u304d\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u306e\u54c1\u8cea\u304c\u78ba\u5b9f\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u306a\u3044\u7d4c\u55b6\u8005\u3067\u3082\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6307\u793a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u5546\u54c1\u30ab\u30fc\u30c9\u306bproduct-card\u3068\u3044\u3046class\u3092\u4ed8\u3051\u3066\u3001\u5168\u30ab\u30fc\u30c9\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u7d71\u4e00\u3057\u3066\u3002\u4fa1\u683c\u90e8\u5206\u306fprice-label\u3068\u3044\u3046class\u3067\u8d64\u6587\u5b57\u306b\u3057\u3066\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u30da\u30fc\u30b8\u4e0a\u90e8\u306e\u554f\u3044\u5408\u308f\u305b\u30d5\u30a9\u30fc\u30e0\u306bcontact-form\u3068\u3044\u3046id\u3092\u4ed8\u3051\u3066\u3001\u9001\u4fe1\u30dc\u30bf\u30f3\u306bsubmit-btn\u3068\u3044\u3046id\u3092\u8a2d\u5b9a\u3057\u3066JavaScript\u3067\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5\u3057\u3066\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u306e\u5404\u30ea\u30f3\u30af\u306bnav-link\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u3066\u3001\u73fe\u5728\u5730\u306e\u30da\u30fc\u30b8\u3060\u3051\u306bactive\u30af\u30e9\u30b9\u3092\u8ffd\u52a0\u3059\u308bJavaScript\u3092\u66f8\u3044\u3066\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u3053\u306e\u30da\u30fc\u30b8\u306eid\u304c\u91cd\u8907\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u3001\u91cd\u8907\u304c\u3042\u308c\u3070class\u306b\u5909\u66f4\u3057\u3066HTML\u4ed5\u69d8\u306b\u6e96\u62e0\u3055\u305b\u3066\u300d<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300cCSS\u304c\u610f\u56f3\u901a\u308a\u306b\u52d5\u304b\u306a\u3044\u3002id\u3068class\u306e\u8a73\u7d30\u5ea6\u885d\u7a81\u304c\u539f\u56e0\u304b\u78ba\u8a8d\u3057\u3066\u3001\u6839\u672c\u89e3\u6c7a\u7b56\u3092\u5b9f\u88c5\u3057\u3066\u300d<\/span><\/div>\n\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u6307\u793a\u306e\u30dd\u30a4\u30f3\u30c8\u306f<strong>\u300c\u4f55\u306e\u305f\u3081\u306bclass\u3084id\u3092\u4f7f\u3046\u304b\u300d\u3092\u660e\u793a\u3059\u308b\u3053\u3068<\/strong>\u3067\u3059\u3002\u300c\u30dc\u30bf\u30f3\u3092\u8d64\u304f\u3057\u3066\u300d\u3088\u308a\u300c\u30dc\u30bf\u30f3\u306bbtn-danger\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u3066CSS\u3067\u8d64\u304f\u3057\u3066\u3001\u540c\u69d8\u306e\u30dc\u30bf\u30f3\u304c\u4ed6\u306b\u3082\u5897\u3048\u3066\u3082class\u3067\u7ba1\u7406\u3067\u304d\u308b\u8a2d\u8a08\u306b\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u65b9\u304c\u3001\u518d\u5229\u7528\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u6307\u793a\u306e\u30d1\u30bf\u30fc\u30f3<\/th><th>\u66d6\u6627\u306a\u6307\u793a\uff08\u00d7\uff09<\/th><th>\u5177\u4f53\u7684\u306a\u6307\u793a\uff08\u25cb\uff09<\/th><th>\u671f\u5f85\u3055\u308c\u308b\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30dc\u30bf\u30f3\u306e\u30b9\u30bf\u30a4\u30eb<\/td><td>\u300c\u3053\u306e3\u3064\u306e\u30dc\u30bf\u30f3\u3092\u8d64\u304f\u3057\u3066\u300d<\/td><td>\u300cbtn-primary\u30af\u30e9\u30b9\u3092\u4f5c\u308a3\u3064\u306e\u30dc\u30bf\u30f3\u306b\u4ed8\u3051\u3066CSS\u3067\u8d64\u304f\u3057\u3066\u300d<\/td><td>\u518d\u5229\u7528\u53ef\u80fd\u306aclass\u30d9\u30fc\u30b9\u306eCSS\u8a2d\u8a08<\/td><\/tr>\n<tr><td>\u30da\u30fc\u30b8\u5185\u30ca\u30d3<\/td><td>\u300c\u76ee\u6b21\u304b\u3089\u5404\u898b\u51fa\u3057\u306b\u30ea\u30f3\u30af\u3057\u3066\u300d<\/td><td>\u300c\u5404\u898b\u51fa\u3057\u306bsec-01\u301csec-08\u306eid\u3092\u4ed8\u3051\u3066\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3092\u76ee\u6b21\u304b\u3089\u5f35\u3063\u3066\u300d<\/td><td>\u6b63\u78ba\u306b\u6a5f\u80fd\u3059\u308b\u30da\u30fc\u30b8\u5185\u30ca\u30d3<\/td><\/tr>\n<tr><td>\u30bf\u30d6UI<\/td><td>\u300c\u30bf\u30d6\u5207\u308a\u66ff\u3048\u3092\u5b9f\u88c5\u3057\u3066\u300d<\/td><td>\u300ctab-item\u30af\u30e9\u30b9\u3092tabs\u30b3\u30f3\u30c6\u30ca(id)\u306e\u4e2d\u306b\u4e26\u3079\u3066active\u30af\u30e9\u30b9\u3067\u5207\u308a\u66ff\u3048\u308bJS\u3092\u66f8\u3044\u3066\u300d<\/td><td>BEM\u30d9\u30fc\u30b9\u306e\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30bf\u30d6UI<\/td><\/tr>\n<tr><td>\u30b9\u30bf\u30a4\u30eb\u306e\u30c7\u30d0\u30c3\u30b0<\/td><td>\u300c\u306a\u305c\u3053\u306e\u8272\u304c\u5909\u308f\u3089\u306a\u3044\u306e\uff1f\u300d<\/td><td>\u300cid\u3068class\u306e\u8a73\u7d30\u5ea6\u885d\u7a81\u3092\u78ba\u8a8d\u3057\u3066\u6839\u672c\u89e3\u6c7a\u3057\u3066\u3002!important\u306f\u4f7f\u308f\u306a\u3044\u3067\u300d<\/td><td>\u8a73\u7d30\u5ea6\u306e\u554f\u984c\u306e\u6839\u672c\u89e3\u6c7a<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a,#2a1015);border-radius:12px;padding:20px 24px;margin:24px 0;display:flex;align-items:center;gap:16px;color:#fff;\">\n  <span style=\"font-size:36px;\">&#127942;<\/span>\n  <div>\n    <div style=\"font-size:13px;color:#dc2626;font-weight:700;letter-spacing:1px;\">VERDICT<\/div>\n    <div style=\"font-size:18px;font-weight:800;\">Claude \u306b\u8ecd\u914d<\/div>\n    <div style=\"font-size:14px;color:rgba(255,255,255,0.7);margin-top:4px;\">Claude Code\u306f\u300cclass\u3068id\u306e\u6b63\u3057\u3044\u4f7f\u3044\u5206\u3051\u3092\u7406\u89e3\u3057\u305f\u4e0a\u3067\u30b3\u30fc\u30c9\u3092\u8a2d\u8a08\u30fb\u5b9f\u88c5\u3059\u308bAI\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3002\u8a73\u7d30\u5ea6\u306e\u554f\u984c\u30fbBEM\u8a2d\u8a08\u30fbJavaScript\u9023\u643a\u307e\u3067\u81ea\u5f8b\u7684\u306b\u5224\u65ad\u3057\u3066\u5b9f\u88c5\u3057\u3066\u304f\u308c\u308b\u3002\u7d4c\u55b6\u8005\u306f\u300c\u4f55\u3092\u4f5c\u308a\u305f\u3044\u304b\u300d\u306e\u8a9e\u5f59\u3092\u6301\u3064\u3060\u3051\u3067OK\u3002<\/div>\n  <\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u3053\u306e\u30da\u30fc\u30b8\u306eCSS\u304c\u30b4\u30c1\u30e3\u30b4\u30c1\u30e3\u3057\u3066\u3066\u4fee\u6b63\u304c\u96e3\u3057\u3044\u3068\u8a00\u308f\u308c\u305f\u300d\u2014\u2014\u3053\u3046\u3044\u3046\u554f\u984c\u3082Claude Code\u306b\u300cid\u3068class\u306e\u4f7f\u3044\u5206\u3051\u3092\u6574\u7406\u3057\u3066\u3001\u8a73\u7d30\u5ea6\u306e\u885d\u7a81\u304c\u306a\u3044\u8a2d\u8a08\u306b\u5168\u9762\u7684\u306b\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3060\u3051\u3067\u89e3\u6c7a\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u5916\u6ce8\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u4f9d\u983c\u3059\u308b\u3088\u308a\u5b89\u304f\u901f\u3044\u3002\u30af\u30e9\u30a6\u30c9\u3092\u4f7f\u3048\u3070\u3044\u3064\u3067\u3082\u4f9d\u983c\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-09\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">09<\/span>\n  <span class=\"section-label\" style=\"display:block;\">GENAI DATA<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u72ec\u81ea\u30c7\u30fc\u30bf\u3011GENAI\u306e\u5b9f\u904b\u7528\uff1aWeb\u5b9f\u88c5\u5de5\u6570\u3092\u5927\u5e45\u524a\u6e1b<\/span>\n  <span class=\"section-desc\">\u682a\u5f0f\u4f1a\u793eGENAI\u306eClaude Code\u6d3b\u7528\u6570\u5024\uff08\u6982\u7b97\u30fb\u808c\u611f\u30d9\u30fc\u30b9\u30fb2026\u5e74\u6642\u70b9\uff09<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u3067\u306f2025\u5e74\u5f8c\u534a\u304b\u3089Claude Max 20x\u30d7\u30e9\u30f3\uff08\u6708\u984d\u7d0430,000\u5186\uff09\u3092\u5c0e\u5165\u3057\u3001HTML\/CSS\u5b9f\u88c5\u3092\u542b\u3080\u5168\u793eWeb\u30c7\u30b6\u30a4\u30f3\u696d\u52d9\u306bClaude Code\u3092\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306f2026\u5e74\u6642\u70b9\u306e\u6982\u7b97\u6570\u5024\uff08\u808c\u611f\u30d9\u30fc\u30b9\uff09\u3067\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u696d\u52d9<\/th><th>\u5f93\u6765\u306e\u5de5\u6570\uff08\u6982\u7b97\uff09<\/th><th>Claude Code\u5c0e\u5165\u5f8c\uff08\u6982\u7b97\uff09<\/th><th>\u5909\u5316<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>LP\u65b0\u898f\u30c7\u30b6\u30a4\u30f3\u5b9f\u88c5<\/td><td>\u5916\u6ce8\u8cbb5\u301c15\u4e07\u5186\u30fb10\u301c20\u55b6\u696d\u65e5<\/td><td>Claude Code\u306b\u6307\u793a\u2192\u6570\u6642\u9593\u301c1\u65e5<\/td><td>\u901f\u5ea6\u30fb\u30b3\u30b9\u30c8\u3068\u3082\u306b\u5927\u5e45\u6539\u5584<\/td><\/tr>\n<tr><td>CSS\u30d0\u30b0\u4fee\u6b63\uff08\u8a73\u7d30\u5ea6\u554f\u984c\u7b49\uff09<\/td><td>1\u4ef61\u301c3\u6642\u9593<\/td><td>1\u4ef610\u301c30\u5206<\/td><td>\u30a8\u30e9\u30fc\u30ed\u30b0\u6e21\u3059\u3060\u3051\u3067\u6839\u672c\u89e3\u6c7a<\/td><\/tr>\n<tr><td>\u65e2\u5b58\u30b5\u30a4\u30c8\u306eUI\u6539\u4fee<\/td><td>\u5916\u6ce8\u4f9d\u983c\u2192\u898b\u7a4d\u21922\u9031\u9593\u301c<\/td><td>Claude Code\u306b\u6307\u793a\u2192\u5373\u65e5\u5bfe\u5fdc<\/td><td>\u610f\u601d\u6c7a\u5b9a\u304b\u3089\u5b8c\u6210\u307e\u3067\u540c\u65e5<\/td><\/tr>\n<tr><td>HTML\u306e\u54c1\u8cea\u6539\u5584\uff08id\u91cd\u8907\u4fee\u6b63\u7b49\uff09<\/td><td>\u624b\u4f5c\u696d\u3067\u306e\u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc1\u65e5\u301c<\/td><td>Claude Code\u3067\u30b9\u30ad\u30e3\u30f3+\u4fee\u6b63\u21921\u6642\u9593<\/td><td>\u7db2\u7f85\u6027\u304c\u4e0a\u304c\u308a\u6f0f\u308c\u304c\u6e1b\u5c11<\/td><\/tr>\n<tr><td>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\uff08\u30b9\u30de\u30db\u6700\u9069\u5316\uff09<\/td><td>\u5916\u6ce8\u3067\u5225\u9014\u898b\u7a4d\uff085\u301c10\u4e07\u5186\uff09<\/td><td>Claude Code\u306b\u8ffd\u52a0\u6307\u793a\u3067\u5373\u5bfe\u5fdc<\/td><td>\u30b3\u30b9\u30c8\u524a\u6e1b\u30fb\u30b9\u30d4\u30fc\u30c9\u5411\u4e0a<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306bLP\uff08\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\uff09\u306e\u5b9f\u88c5\u3067\u52b9\u679c\u304c\u9855\u8457\u3067\u3059\u3002\u5f93\u6765\u306f\u300c\u30c7\u30b6\u30a4\u30f3\u30ab\u30f3\u30d7\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u6e21\u3059\u2192\u5b9f\u88c5\u2192\u4fee\u6b63\u2192\u78ba\u8a8d\u2192\u8abf\u6574\u300d\u3068\u3044\u3046\u30b5\u30a4\u30af\u30eb\u30672\u301c3\u9031\u9593\u304b\u304b\u3063\u3066\u3044\u305f\u3082\u306e\u304c\u3001Claude Code\u3092\u4f7f\u3046\u3068\u300c\u65b9\u91dd\u3092\u65e5\u672c\u8a9e\u3067\u4f1d\u3048\u308b\u2192HTML\/CSS\/JS\u304c\u751f\u6210\u3055\u308c\u308b\u2192\u5fae\u8abf\u6574\u306e\u6307\u793a\u3092\u3059\u308b\u2192\u5b8c\u6210\u300d\u3068\u3044\u3046\u30b5\u30a4\u30af\u30eb\u30671\u301c2\u65e5\u306b\u77ed\u7e2e\u3067\u304d\u3066\u3044\u307e\u3059\uff08\u6982\u7b97\uff09\u3002class\u3068id\u306e\u4f7f\u3044\u5206\u3051\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u69cb\u9020\u3092\u521d\u56de\u304b\u3089\u51fa\u529b\u3055\u305b\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30b9\u30c8\u9762\u3067\u306f\u3001\u5f93\u6765\u670830\u301c50\u4e07\u5186\u304b\u304b\u3063\u3066\u3044\u305fWeb\u30c7\u30b6\u30a4\u30f3\u95a2\u9023\u306e\u5916\u6ce8\u8cbb\u304c\u3001Claude Max 20x\u306e\u6708\u7d0430,000\u5186\u3067\u307b\u307c\u30ab\u30d0\u30fc\u3067\u304d\u3066\u3044\u308b\u72b6\u6cc1\u3067\u3059\uff08\u6982\u7b97\uff09\u3002\u3082\u3061\u308d\u3093\u5168\u3066\u306e\u5916\u6ce8\u304c\u4e0d\u8981\u306b\u306a\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u7279\u6b8a\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u8907\u96d1\u306a3D\u63cf\u753b\u30fb\u91cd\u8981\u306a\u30d6\u30e9\u30f3\u30c9\u30c7\u30b6\u30a4\u30f3\u306f\u5c02\u9580\u5bb6\u306b\u4f9d\u983c\u3059\u308b\u90e8\u5206\u3082\u6b8b\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5b9a\u5e38\u7684\u306aUI\u5b9f\u88c5\u30fb\u4fee\u6b63\u30fb\u30d0\u30b0\u5bfe\u5fdc\u306e\u307b\u3068\u3093\u3069\u306fClaude Code\u3067\u5b8c\u7d50\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">Claude Code\u6d3b\u7528\u3067\u91cd\u8981\u306a\u306e\u306f\u300c\u6307\u793a\u306e\u8a9e\u5f59\u300d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Claude Code\u306f\u9ad8\u6027\u80fd\u3067\u3059\u304c\u3001\u66d6\u6627\u306a\u6307\u793a\u306b\u5bfe\u3057\u3066\u306f\u63a8\u6e2c\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3059\u3002\u300c\u30dc\u30bf\u30f3\u3092\u898b\u3084\u3059\u304f\u300d\u3088\u308a\u300c\u30dc\u30bf\u30f3\u306bbtn-cta\u30af\u30e9\u30b9\u3092\u4ed8\u3051\u3066CSS\u3067\u80cc\u666f\u8272\u3092#dc2626\uff08\u8d64\uff09\u306b\u3057\u3066\u3001hover\u3067#b91c1c\u306b\u6697\u304f\u3057\u3066\u3002\u30af\u30e9\u30b9\u306fBEM\u547d\u540d\u898f\u5247\u3067\u300d\u3068\u3044\u3046\u6307\u793a\u306e\u65b9\u304c\u3001\u610f\u56f3\u901a\u308a\u306e\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u5b66\u3093\u3060class\u3068id\u306e\u77e5\u8b58\u304c\u3001\u307e\u3055\u306b\u305d\u306e\u300c\u6307\u793a\u306e\u8a9e\u5f59\u300d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cclass\u3068id\u306e\u9055\u3044\u3092\u77e5\u3063\u3066\u304b\u3089\u3001Claude Code\u3078\u306e\u6307\u793a\u304c\u5909\u308f\u308a\u307e\u3057\u305f\u300d\u2014\u2014\u3088\u304f\u805e\u304f\u58f0\u3067\u3059\u3002\u77e5\u8b58\u3092\u6301\u3063\u305f\u4e0a\u3067AI\u3092\u4f7f\u3046\u3068\u3001\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u306e\u8cea\u304c\u4e00\u6bb5\u4e0a\u304c\u308b\u3002\u3053\u308c\u306f\u3069\u306e\u6280\u8853\u3067\u3082\u540c\u3058\u3067\u3059\u3002\u5168\u90e8\u3092\u7406\u89e3\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u57fa\u790e\u306e\u8a9e\u5f59\u3092\u6301\u3064\u3053\u3068\u304cAI\u6d3b\u7528\u306e\u7cbe\u5ea6\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002class\u3068id\u306e\u9055\u3044\u306f\u3001Web\u5b9f\u88c5\u306b\u304a\u3044\u3066\u305d\u306e\u6700\u3082\u52b9\u679c\u7684\u306a\u300c\u8a9e\u5f59\u300d\u306e\u3072\u3068\u3064\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<p style=\"font-size:16px;line-height:1.9;margin:0;\">class\u3068id\u306e\u9055\u3044\u3092\u7406\u89e3\u3057\u3001Claude Code\u3067\u5b9f\u88c5\u696d\u52d9\u3092\u52b9\u7387\u5316\u3059\u308b\u2014\u2014\u305d\u306e\u7b2c\u4e00\u6b69\u3068\u3057\u3066\u3001\u5f0a\u793eGENAI\u306eClaude Code\u6d3b\u7528\u652f\u63f4\u30b5\u30fc\u30d3\u30b9\u3092\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<strong>HTML\/CSS\u77e5\u8b58\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bAI Web\u5b9f\u88c5<\/strong>\u306b\u3064\u3044\u3066\u3001\u307e\u305a\u306f\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304b\u3089\u793e\u5185\u5b9a\u7740\u307e\u3067\u4f34\u8d70\u3057\u307e\u3059\u3002<\/p>\n<div style=\"background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);border-radius:16px;padding:36px 32px;margin:48px 0 16px;color:#fff;\">\n  <p style=\"font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"font-size:22px;font-weight:800;line-height:1.5;margin:0 0 20px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:24px;max-width:560px;margin:0 auto;\">\n    <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n    <p style=\"font-size:20px;font-weight:800;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n    <p style=\"font-size:14px;color:rgba(255,255,255,0.75);margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n    <div style=\"text-align:center;\">\n      <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=cc-html-class-vs-id&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-html-class-vs-id&#038;blog_slug=cc-html-class-vs-id\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-html-class-vs-id&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-summary\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">10<\/span>\n  <span class=\"section-label\" style=\"display:block;\">SUMMARY<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u307e\u3068\u3081\u2014\u2014class\u3068id\u306e\u9055\u3044\u3092\u6b66\u5668\u306bClaude Code\u3092\u6d3b\u7528\u3059\u308b<\/span>\n  <span class=\"section-desc\">7\u3064\u306e\u9055\u3044\u3092\u62bc\u3055\u3048\u3066\u3001\u7684\u78ba\u306aAI\u6307\u793a\u3067\u958b\u767a\u696d\u52d9\u3092\u5909\u3048\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">HTML\u306eclass\u3068id\u306e7\u3064\u306e\u6c7a\u5b9a\u7684\u306a\u9055\u3044\u3092\u6539\u3081\u3066\u6574\u7406\u3057\u307e\u3059\u3002\u3053\u306e\u9055\u3044\u3092\u300c\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u77e5\u8b58\u300d\u3067\u306f\u306a\u304f\u300cClaude Code\u3078\u306e\u6307\u793a\u8a9e\u5f59\u300d\u3068\u3057\u3066\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u306b\u3068\u3063\u3066\u306e\u6700\u5927\u306e\u4fa1\u5024\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>class\u306f\u8907\u6570\u8981\u7d20\u306b\u4f7f\u3048\u308b\u30b0\u30eb\u30fc\u30d7\u7ba1\u7406\u30c4\u30fc\u30eb\u3002\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u3068\u4e00\u62ecJS\u64cd\u4f5c\u306e\u4e3b\u5f79<\/strong>\uff08\u8a73\u7d30\u5ea6\u30b9\u30b3\u30a210\u70b9\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>id\u306f\u30da\u30fc\u30b8\u306b1\u3064\u3060\u3051\u306e\u56fa\u6709\u8b58\u5225\u5b50\u3002\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3068JS\u64cd\u4f5c\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u7279\u5316<\/strong>\uff08\u8a73\u7d30\u5ea6\u30b9\u30b3\u30a2100\u70b9\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u300c\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306fclass\u3067\u3001\u30a2\u30f3\u30ab\u30fc\u30fbJS\u30bf\u30fc\u30b2\u30c3\u30c8\u306fid\u300d\u3068\u3044\u3046\u4f7f\u3044\u5206\u3051\u304c\u73fe\u4ee3\u306e\u6a19\u6e96<\/strong><\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u8a73\u7d30\u5ea6\u306e\u885d\u7a81\u306fCSS\u30c8\u30e9\u30d6\u30eb\u306e\u4e3b\u8981\u56e0\u3002id\u304cclass\u309210\u500d\u4e0a\u56de\u308b<\/strong>\uff08Claude Code\u306b\u6839\u672c\u89e3\u6c7a\u3092\u4f9d\u983c\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>class\u3068id\u306e\u8a9e\u5f59\u3092\u6301\u3064\u3068\u3001Claude Code\u3078\u306e\u6307\u793a\u304c\u5177\u4f53\u7684\u30fb\u6280\u8853\u7684\u306b\u306a\u308a\u54c1\u8cea\u304c\u5411\u4e0a<\/strong><\/span><\/div>\n\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793eGENAI\u3067\u306fClaude Code\u6d3b\u7528\u306b\u3088\u308a\u3001Web\u5b9f\u88c5\u696d\u52d9\u306e\u5de5\u6570\u3092\u6982\u7b97\u3067\u5927\u5e45\u306b\u524a\u6e1b\u3067\u304d\u3066\u3044\u307e\u3059\u3002class\u3068id\u306e\u6b63\u3057\u3044\u4f7f\u3044\u5206\u3051\u3092Claude Code\u3078\u306e\u6307\u793a\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3067\u3001\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30fb\u54c1\u8cea\u306e\u9ad8\u3044Web\u30b3\u30fc\u30c9\u3092\u3001\u30b3\u30fc\u30c9\u77e5\u8b58\u306a\u3057\u306b\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u305c\u3072\u3001\u3053\u306e\u8a18\u4e8b\u306e\u77e5\u8b58\u3092Claude Code\u6d3b\u7528\u306e\u7b2c\u4e00\u6b69\u3068\u3057\u3066\u6d3b\u304b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cclass\u3068id\u306e\u9055\u3044\u300d\u3092\u77e5\u308b\u3053\u3068\u306f\u5c0f\u3055\u306a\u4e00\u6b69\u3067\u3059\u304c\u3001\u305d\u308c\u304cClaude Code\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u57fa\u790e\u8a9e\u5f59\u306b\u306a\u308a\u307e\u3059\u3002\u5168\u90e8\u3092\u77e5\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u300c\u4f55\u306e\u305f\u3081\u306b\u3053\u306e\u5c5e\u6027\u304c\u5fc5\u8981\u304b\u300d\u3092\u7406\u89e3\u3057\u305f\u4e0a\u3067AI\u306b\u4efb\u305b\u308b\u2014\u2014\u305d\u308c\u304c2026\u5e74\u306e\u7d4c\u55b6\u8005\u306b\u6c42\u3081\u3089\u308c\u308b\u30c7\u30b8\u30bf\u30eb\u30ea\u30c6\u30e9\u30b7\u30fc\u3060\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. HTML\u306eclass\u3068id\u306f\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u7528\u9014\u306b\u3088\u3063\u3066\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002\u300c\u540c\u3058\u30b9\u30bf\u30a4\u30eb\u3092\u8907\u6570\u306e\u8981\u7d20\u306b\u9069\u7528\u3057\u305f\u3044\u300d\u300cJavaScript\u3067\u8907\u6570\u8981\u7d20\u3092\u4e00\u62ec\u64cd\u4f5c\u3057\u305f\u3044\u300d\u5834\u5408\u306fclass\u3001\u300c\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3092\u4f5c\u308a\u305f\u3044\u300d\u300cJavaScript\u3067\u7279\u5b9a\u306e1\u8981\u7d20\u3060\u3051\u3092\u64cd\u4f5c\u3057\u305f\u3044\u300d\u5834\u5408\u306fid\u304c\u9069\u5207\u3067\u3059\u3002\u73fe\u4ee3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306f\u300c\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306fclass\u306e\u307f\u3001id\u306f\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3068JavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3060\u3051\u4f7f\u3046\u300d\u3068\u3044\u3046\u8a2d\u8a08\u3067\u3059\u3002Claude Code\u306b\u300cclass\u3068id\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3063\u3066\u5b9f\u88c5\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3060\u3051\u3067\u3001\u3053\u306e\u8a2d\u8a08\u3092\u81ea\u52d5\u3067\u63a1\u7528\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u540c\u3058\u30da\u30fc\u30b8\u306b\u540c\u3058id\u304c\u8907\u6570\u3042\u308b\u3068\u3069\u3046\u306a\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. HTML\u4ed5\u69d8\u9055\u53cd\u306b\u306a\u308a\u3001\u8907\u6570\u306e\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u2460JavaScript\u306e`getElementById()`\u306f\u6700\u521d\u306b\u898b\u3064\u3051\u305f\u8981\u7d20\u3060\u3051\u3092\u8fd4\u3057\u30012\u756a\u76ee\u4ee5\u964d\u306f\u7121\u8996\u3055\u308c\u308b\u3001\u2461\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u304c\u6700\u521d\u306e\u8981\u7d20\u3060\u3051\u306b\u30b8\u30e3\u30f3\u30d7\u3057\u3066\u4ed6\u306f\u6a5f\u80fd\u3057\u306a\u3044\u3001\u2462\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\uff08\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u7b49\uff09\u304c\u8aa4\u52d5\u4f5c\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3001\u2463\u30d6\u30e9\u30a6\u30b6\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3068\u3057\u3066\u691c\u51fa\u3055\u308c\u308b\u2014\u2014\u3068\u3044\u3046\u554f\u984c\u3067\u3059\u3002Claude Code\u306b\u300c\u3053\u306eHTML\u306eid\u3092\u5168\u3066\u30c1\u30a7\u30c3\u30af\u3057\u3066\u91cd\u8907\u3092\u4fee\u6b63\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308c\u3070\u3001\u81ea\u52d5\u3067\u6d17\u3044\u51fa\u3057\u3066\u4fee\u6b63\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. CSS\u3067class\u3068id\u3092\u4e21\u65b9\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u3069\u3061\u3089\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. id\u306e\u65b9\u304c\u512a\u5148\u3055\u308c\u307e\u3059\uff08\u8a73\u7d30\u5ea6100\u70b9 vs class10\u70b9\uff09\u3002\u4f8b\u3048\u3070`#submit-btn { color: white }`\uff08id\u6307\u5b9a\uff09\u3068`.btn-primary { color: black }`\uff08class\u6307\u5b9a\uff09\u304c\u540c\u3058\u8981\u7d20\u306b\u5f53\u305f\u3063\u3066\u3044\u308b\u5834\u5408\u3001id\u306e\u767d\u8272\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u3092\u300cCSS\u306e\u8a73\u7d30\u5ea6\uff08specificity\uff09\u300d\u3068\u8a00\u3044\u307e\u3059\u3002\u300cCSS\u3092\u5909\u66f4\u3057\u305f\u306e\u306b\u30b9\u30bf\u30a4\u30eb\u304c\u5909\u308f\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u30c8\u30e9\u30d6\u30eb\u306e\u4e3b\u8981\u539f\u56e0\u306e\u3072\u3068\u3064\u3067\u3059\u3002Claude Code\u306b\u300cCSS\u304c\u52b9\u304b\u306a\u3044\u539f\u56e0\u3092\u8a73\u7d30\u5ea6\u306e\u89b3\u70b9\u304b\u3089\u8abf\u3079\u3066\u89e3\u6c7a\u3057\u3066\u300d\u3068\u4f9d\u983c\u3059\u308b\u3068\u6839\u672c\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. 1\u3064\u306eHTML\u8981\u7d20\u306bclass\u3068id\u3092\u4e21\u65b9\u4ed8\u3051\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u306f\u3044\u3001\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070`<button class=\"btn btn-primary\" id=\"submit-btn\">`\u3068\u3044\u3046\u66f8\u304d\u65b9\u306f\u6b63\u3057\u3044HTML\u3067\u3059\u3002class\u306f\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u3068\u8907\u6570\u8981\u7d20\u306e\u4e00\u62ec\u64cd\u4f5c\u306b\u4f7f\u3044\u3001id\u306fJavaScript\u3067\u300c\u3053\u306e\u7279\u5b9a\u306e\u30dc\u30bf\u30f3\u3060\u3051\u300d\u3092\u64cd\u4f5c\u3057\u305f\u308a\u3001\u30e9\u30d9\u30eb\u3068\u30d5\u30a9\u30fc\u30e0\u8981\u7d20\u3092\u95a2\u9023\u4ed8\u3051\u305f\u308a\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002\u3053\u306e\u4f7f\u3044\u5206\u3051\u304c\u73fe\u4ee3\u306eHTML\u8a2d\u8a08\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002\u4e21\u65b9\u4ed8\u3051\u308b\u3053\u3068\u3067\u300c\u30b9\u30bf\u30a4\u30eb\u306fclass\u3067\u4e00\u5143\u7ba1\u7406\u3001JS\u64cd\u4f5c\u306fid\u3067\u52b9\u7387\u7684\u306b\u300d\u3068\u3044\u3046\u30b3\u30fc\u30c9\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Claude Code\u306bclass\u3068id\u3092\u6b63\u3057\u304f\u4f7f\u3063\u3066\u3082\u3089\u3046\u306b\u306f\u3069\u3046\u6307\u793a\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u300cclass\u3068id\u3092\u73fe\u4ee3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3063\u3066\u8a2d\u8a08\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306fclass\u306e\u307f\u3001id\u306fJavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u5c02\u7528\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u547d\u540d\u898f\u5247\u306fBEM\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u3044\u3046\u4e00\u6587\u3092\u6307\u793a\u306b\u542b\u3081\u308b\u3060\u3051\u3067\u3001Claude Code\u306f\u6b63\u3057\u3044\u8a2d\u8a08\u3092\u63a1\u7528\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u5177\u4f53\u7684\u306b\u300c\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u306e\u5404\u30ea\u30f3\u30af\u306bnav-link\u30af\u30e9\u30b9\u3001\u73fe\u5728\u5730\u306bnav-link--active\u30af\u30e9\u30b9\uff08BEM\u8a18\u6cd5\uff09\u3092\u4ed8\u3051\u3066active\u30af\u30e9\u30b9\u3092JS\u3067\u5207\u308a\u66ff\u3048\u3066\u300d\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308b\u3068\u3001\u3088\u308a\u7cbe\u5ea6\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. CSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Tailwind CSS\u7b49\uff09\u3092\u4f7f\u3046\u5834\u5408\u3001id\u306f\u4f7f\u308f\u306a\u3044\u306e\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Tailwind CSS\u306e\u3088\u3046\u306a\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30d5\u30a1\u30fc\u30b9\u30c8\u306eCSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3046\u5834\u5408\u3001\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306f\u307b\u307c\u5168\u3066class\u3067\u884c\u3044\u307e\u3059\u3002id\u306f\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u76ee\u7684\u3067\u306f\u4f7f\u308f\u305a\u3001\u3082\u3063\u3071\u3089JavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u30fb\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30fb\u30d5\u30a9\u30fc\u30e0\u8981\u7d20\u306e\u95a2\u9023\u4ed8\u3051\uff08`<label for=\"email-input\">`\u3068`<input id=\"email-input\">`\u306e\u7d10\u4ed8\u3051\uff09\u306b\u9650\u5b9a\u3057\u3066\u4f7f\u3044\u307e\u3059\u3002\u3053\u308c\u306fTailwind\u3060\u3051\u3067\u306a\u304f\u3001Bootstrap\u30fbBulma\u306a\u3069\u307b\u3068\u3093\u3069\u306eCSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u5171\u901a\u306e\u8003\u3048\u65b9\u3067\u3059\u3002Claude Code\u306b\u300cTailwind\u3067\u5b9f\u88c5\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3068\u3001\u81ea\u52d5\u3067\u3053\u306e\u8a2d\u8a08\u306b\u5f93\u3063\u305f\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. class\u3068id\u306fSEO\u306b\u5f71\u97ff\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u76f4\u63a5\u7684\u306aSEO\u30e9\u30f3\u30ad\u30f3\u30b0\u3078\u306e\u5f71\u97ff\u306f\u9650\u5b9a\u7684\u3067\u3059\u304c\u3001\u9593\u63a5\u7684\u306a\u5f71\u97ff\u306f\u3042\u308a\u307e\u3059\u3002\u2460id\u3092\u4f7f\u3063\u305f\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u306f\u3001\u691c\u7d22\u7d50\u679c\u306b\u300c\u30b8\u30e3\u30f3\u30d7\u30ea\u30f3\u30af\uff08\u30d5\u30a3\u30fc\u30c1\u30e3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\uff09\u300d\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u30af\u30ea\u30c3\u30af\u7387\u5411\u4e0a\u306b\u3064\u306a\u304c\u308b\u3001\u2461\u69cb\u9020\u7684\u306b\u6574\u7406\u3055\u308c\u305fHTML\uff08class\u3068id\u3092\u6b63\u3057\u304f\u4f7f\u3063\u305f\u8a2d\u8a08\uff09\u306fGoogle\u306e\u30af\u30ed\u30fc\u30e9\u30fc\u304c\u89e3\u6790\u3057\u3084\u3059\u304f\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u7cbe\u5ea6\u304c\u4e0a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3001\u2462\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u9ad8\u3044HTML\uff08ARIA\u5c5e\u6027\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\uff09\u306fGoogle\u304c\u8a55\u4fa1\u3059\u308bCore Web Vitals\u7b49\u306e\u6307\u6a19\u306b\u597d\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u2014\u2014\u3068\u3044\u3063\u305f\u9593\u63a5\u52b9\u679c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"HTML\u306eclass\u3068id\u306f\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u7528\u9014\u306b\u3088\u3063\u3066\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002\u300c\u540c\u3058\u30b9\u30bf\u30a4\u30eb\u3092\u8907\u6570\u306e\u8981\u7d20\u306b\u9069\u7528\u3057\u305f\u3044\u300d\u300cJavaScript\u3067\u8907\u6570\u8981\u7d20\u3092\u4e00\u62ec\u64cd\u4f5c\u3057\u305f\u3044\u300d\u5834\u5408\u306fclass\u3001\u300c\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3092\u4f5c\u308a\u305f\u3044\u300d\u300cJavaScript\u3067\u7279\u5b9a\u306e1\u8981\u7d20\u3060\u3051\u3092\u64cd\u4f5c\u3057\u305f\u3044\u300d\u5834\u5408\u306fid\u304c\u9069\u5207\u3067\u3059\u3002\u73fe\u4ee3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306f\u300c\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306fclass\u306e\u307f\u3001id\u306f\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u3068JavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3060\u3051\u4f7f\u3046\u300d\u3068\u3044\u3046\u8a2d\u8a08\u3067\u3059\u3002Claude Code\u306b\u300cclass\u3068id\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3063\u3066\u5b9f\u88c5\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3060\u3051\u3067\u3001\u3053\u306e\u8a2d\u8a08\u3092\u81ea\u52d5\u3067\u63a1\u7528\u3057\u3066\u304f\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u540c\u3058\u30da\u30fc\u30b8\u306b\u540c\u3058id\u304c\u8907\u6570\u3042\u308b\u3068\u3069\u3046\u306a\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"HTML\u4ed5\u69d8\u9055\u53cd\u306b\u306a\u308a\u3001\u8907\u6570\u306e\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u2460JavaScript\u306e`getElementById()`\u306f\u6700\u521d\u306b\u898b\u3064\u3051\u305f\u8981\u7d20\u3060\u3051\u3092\u8fd4\u3057\u30012\u756a\u76ee\u4ee5\u964d\u306f\u7121\u8996\u3055\u308c\u308b\u3001\u2461\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u304c\u6700\u521d\u306e\u8981\u7d20\u3060\u3051\u306b\u30b8\u30e3\u30f3\u30d7\u3057\u3066\u4ed6\u306f\u6a5f\u80fd\u3057\u306a\u3044\u3001\u2462\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\uff08\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u7b49\uff09\u304c\u8aa4\u52d5\u4f5c\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3001\u2463\u30d6\u30e9\u30a6\u30b6\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u3068\u3057\u3066\u691c\u51fa\u3055\u308c\u308b\u2014\u2014\u3068\u3044\u3046\u554f\u984c\u3067\u3059\u3002Claude Code\u306b\u300c\u3053\u306eHTML\u306eid\u3092\u5168\u3066\u30c1\u30a7\u30c3\u30af\u3057\u3066\u91cd\u8907\u3092\u4fee\u6b63\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308c\u3070\u3001\u81ea\u52d5\u3067\u6d17\u3044\u51fa\u3057\u3066\u4fee\u6b63\u3057\u3066\u304f\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u3067class\u3068id\u3092\u4e21\u65b9\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u3069\u3061\u3089\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"id\u306e\u65b9\u304c\u512a\u5148\u3055\u308c\u307e\u3059\uff08\u8a73\u7d30\u5ea6100\u70b9 vs class10\u70b9\uff09\u3002\u4f8b\u3048\u3070`#submit-btn { color: white }`\uff08id\u6307\u5b9a\uff09\u3068`.btn-primary { color: black }`\uff08class\u6307\u5b9a\uff09\u304c\u540c\u3058\u8981\u7d20\u306b\u5f53\u305f\u3063\u3066\u3044\u308b\u5834\u5408\u3001id\u306e\u767d\u8272\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u3092\u300cCSS\u306e\u8a73\u7d30\u5ea6\uff08specificity\uff09\u300d\u3068\u8a00\u3044\u307e\u3059\u3002\u300cCSS\u3092\u5909\u66f4\u3057\u305f\u306e\u306b\u30b9\u30bf\u30a4\u30eb\u304c\u5909\u308f\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u30c8\u30e9\u30d6\u30eb\u306e\u4e3b\u8981\u539f\u56e0\u306e\u3072\u3068\u3064\u3067\u3059\u3002Claude Code\u306b\u300cCSS\u304c\u52b9\u304b\u306a\u3044\u539f\u56e0\u3092\u8a73\u7d30\u5ea6\u306e\u89b3\u70b9\u304b\u3089\u8abf\u3079\u3066\u89e3\u6c7a\u3057\u3066\u300d\u3068\u4f9d\u983c\u3059\u308b\u3068\u6839\u672c\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"1\u3064\u306eHTML\u8981\u7d20\u306bclass\u3068id\u3092\u4e21\u65b9\u4ed8\u3051\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u306f\u3044\u3001\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070`<button class=\\\"btn btn-primary\\\" id=\\\"submit-btn\\\">`\u3068\u3044\u3046\u66f8\u304d\u65b9\u306f\u6b63\u3057\u3044HTML\u3067\u3059\u3002class\u306f\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u3068\u8907\u6570\u8981\u7d20\u306e\u4e00\u62ec\u64cd\u4f5c\u306b\u4f7f\u3044\u3001id\u306fJavaScript\u3067\u300c\u3053\u306e\u7279\u5b9a\u306e\u30dc\u30bf\u30f3\u3060\u3051\u300d\u3092\u64cd\u4f5c\u3057\u305f\u308a\u3001\u30e9\u30d9\u30eb\u3068\u30d5\u30a9\u30fc\u30e0\u8981\u7d20\u3092\u95a2\u9023\u4ed8\u3051\u305f\u308a\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002\u3053\u306e\u4f7f\u3044\u5206\u3051\u304c\u73fe\u4ee3\u306eHTML\u8a2d\u8a08\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002\u4e21\u65b9\u4ed8\u3051\u308b\u3053\u3068\u3067\u300c\u30b9\u30bf\u30a4\u30eb\u306fclass\u3067\u4e00\u5143\u7ba1\u7406\u3001JS\u64cd\u4f5c\u306fid\u3067\u52b9\u7387\u7684\u306b\u300d\u3068\u3044\u3046\u30b3\u30fc\u30c9\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Claude Code\u306bclass\u3068id\u3092\u6b63\u3057\u304f\u4f7f\u3063\u3066\u3082\u3089\u3046\u306b\u306f\u3069\u3046\u6307\u793a\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u300cclass\u3068id\u3092\u73fe\u4ee3\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3063\u3066\u8a2d\u8a08\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306fclass\u306e\u307f\u3001id\u306fJavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u5c02\u7528\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u547d\u540d\u898f\u5247\u306fBEM\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u300d\u3068\u3044\u3046\u4e00\u6587\u3092\u6307\u793a\u306b\u542b\u3081\u308b\u3060\u3051\u3067\u3001Claude Code\u306f\u6b63\u3057\u3044\u8a2d\u8a08\u3092\u63a1\u7528\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u5177\u4f53\u7684\u306b\u300c\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u306e\u5404\u30ea\u30f3\u30af\u306bnav-link\u30af\u30e9\u30b9\u3001\u73fe\u5728\u5730\u306bnav-link--active\u30af\u30e9\u30b9\uff08BEM\u8a18\u6cd5\uff09\u3092\u4ed8\u3051\u3066active\u30af\u30e9\u30b9\u3092JS\u3067\u5207\u308a\u66ff\u3048\u3066\u300d\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308b\u3068\u3001\u3088\u308a\u7cbe\u5ea6\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08Tailwind CSS\u7b49\uff09\u3092\u4f7f\u3046\u5834\u5408\u3001id\u306f\u4f7f\u308f\u306a\u3044\u306e\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Tailwind CSS\u306e\u3088\u3046\u306a\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30d5\u30a1\u30fc\u30b9\u30c8\u306eCSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3046\u5834\u5408\u3001\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u306f\u307b\u307c\u5168\u3066class\u3067\u884c\u3044\u307e\u3059\u3002id\u306f\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0\u76ee\u7684\u3067\u306f\u4f7f\u308f\u305a\u3001\u3082\u3063\u3071\u3089JavaScript\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u30fb\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30fb\u30d5\u30a9\u30fc\u30e0\u8981\u7d20\u306e\u95a2\u9023\u4ed8\u3051\uff08`<label for=\\\"email-input\\\">`\u3068`<input id=\\\"email-input\\\">`\u306e\u7d10\u4ed8\u3051\uff09\u306b\u9650\u5b9a\u3057\u3066\u4f7f\u3044\u307e\u3059\u3002\u3053\u308c\u306fTailwind\u3060\u3051\u3067\u306a\u304f\u3001Bootstrap\u30fbBulma\u306a\u3069\u307b\u3068\u3093\u3069\u306eCSS\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u5171\u901a\u306e\u8003\u3048\u65b9\u3067\u3059\u3002Claude Code\u306b\u300cTailwind\u3067\u5b9f\u88c5\u3057\u3066\u300d\u3068\u6307\u793a\u3059\u308b\u3068\u3001\u81ea\u52d5\u3067\u3053\u306e\u8a2d\u8a08\u306b\u5f93\u3063\u305f\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"class\u3068id\u306fSEO\u306b\u5f71\u97ff\u3057\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u76f4\u63a5\u7684\u306aSEO\u30e9\u30f3\u30ad\u30f3\u30b0\u3078\u306e\u5f71\u97ff\u306f\u9650\u5b9a\u7684\u3067\u3059\u304c\u3001\u9593\u63a5\u7684\u306a\u5f71\u97ff\u306f\u3042\u308a\u307e\u3059\u3002\u2460id\u3092\u4f7f\u3063\u305f\u30da\u30fc\u30b8\u5185\u30a2\u30f3\u30ab\u30fc\u30ea\u30f3\u30af\u306f\u3001\u691c\u7d22\u7d50\u679c\u306b\u300c\u30b8\u30e3\u30f3\u30d7\u30ea\u30f3\u30af\uff08\u30d5\u30a3\u30fc\u30c1\u30e3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\uff09\u300d\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u30af\u30ea\u30c3\u30af\u7387\u5411\u4e0a\u306b\u3064\u306a\u304c\u308b\u3001\u2461\u69cb\u9020\u7684\u306b\u6574\u7406\u3055\u308c\u305fHTML\uff08class\u3068id\u3092\u6b63\u3057\u304f\u4f7f\u3063\u305f\u8a2d\u8a08\uff09\u306fGoogle\u306e\u30af\u30ed\u30fc\u30e9\u30fc\u304c\u89e3\u6790\u3057\u3084\u3059\u304f\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u7cbe\u5ea6\u304c\u4e0a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3001\u2462\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u9ad8\u3044HTML\uff08ARIA\u5c5e\u6027\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\uff09\u306fGoogle\u304c\u8a55\u4fa1\u3059\u308bCore Web Vitals\u7b49\u306e\u6307\u6a19\u306b\u597d\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u2014\u2014\u3068\u3044\u3063\u305f\u9593\u63a5\u52b9\u679c\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>HTML\u306eclass\u3068id\u306e7\u3064\u306e\u9055\u3044\uff08\u9069\u7528\u7bc4\u56f2\u30fbCSS\u8a73\u7d30\u5ea6\u30fbJavaScript\u64cd\u4f5c\u30fbSEO\u5f71\u97ff\uff09\u3092\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Claude Code\u3092\u4f7f\u3048\u3070\u30b3\u30fc\u30c9\u77e5\u8b58\u30bc\u30ed\u3067\u3082Web\u30c7\u30b6\u30a4\u30f3\u30fbUI\u5b9f\u88c5\u3092\u81ea\u52d5\u5316\u3067\u304d\u308b\u65b9\u6cd5\u3092GENAI\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3068\u3068\u3082\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":17510,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","footnotes":"","rank_math_description":"HTML\u306eclass\u3068id\u306e7\u3064\u306e\u9055\u3044\uff08\u9069\u7528\u7bc4\u56f2\u30fbCSS\u8a73\u7d30\u5ea6\u30fbJavaScript\u64cd\u4f5c\u30fbSEO\u5f71\u97ff\uff09\u3092\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Claude Code\u3092\u4f7f\u3048\u3070\u30b3\u30fc\u30c9\u77e5\u8b58\u30bc\u30ed\u3067\u3082Web\u30c7\u30b6\u30a4\u30f3\u30fbUI\u5b9f\u88c5\u3092\u81ea\u52d5\u5316\u3067\u304d\u308b\u65b9\u6cd5\u3092GENAI\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3068\u3068\u3082\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"HTML class id \u9055\u3044","rank_math_title":"\u30102026\u5e747\u6708\u6700\u65b0\u3011HTML\u306eclass\u3068id\u306e7\u3064\u306e\u9055\u3044\u3092\u7d4c\u55b6\u8005\u5411\u3051\u306b\u89e3\u8aac\uff5cClaude Code\u3067\u30b3\u30fc\u30c9\u77e5\u8b58\u30bc\u30ed\u3067","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[4,2],"tags":[],"class_list":["post-17511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-tools-comparison","category-claude-tips"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/17511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/comments?post=17511"}],"version-history":[{"count":1,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/17511\/revisions"}],"predecessor-version":[{"id":17512,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/17511\/revisions\/17512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/17510"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=17511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=17511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=17511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}