{"id":20048,"date":"2026-08-26T00:00:00","date_gmt":"2026-08-26T00:00:00","guid":{"rendered":"https:\/\/withcode.tech\/media\/?p=20048"},"modified":"2026-09-18T11:50:25","modified_gmt":"2026-09-18T11:50:25","slug":"css-dropdown-menu","status":"publish","type":"post","link":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/","title":{"rendered":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3"},"content":{"rendered":"<div class=\"swell-block-balloon\">\n<div class=\"c-balloon -bln-left\" data-col=\"gray\">\n<div class=\"c-balloon__icon -square\"><img decoding=\"async\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.40.37.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div>\n<div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\"><p><strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u30ca\u30d3\u306b\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u3092\u4ed8\u3051\u305f\u3044\u3093\u3067\u3059\u304c\u3001\u30de\u30a6\u30b9\u3092\u96e2\u3059\u3068\u6d88\u3048\u3066\u3057\u307e\u3063\u3066\u9078\u3079\u307e\u305b\u3093\u2026\u3002<\/strong><\/p><span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div>\n<\/div>\n<\/div>\n\n<div class=\"swell-block-balloon\">\n<div class=\"c-balloon -bln-right\" data-col=\"gray\">\n<div class=\"c-balloon__icon -square\"><img decoding=\"async\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.11.23.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div>\n<div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\"><p><strong>\u305d\u308c\u306f<strong>\u89aa\u8981\u7d20\u3068\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u9593\u306b\u9699\u9593\u304c\u3042\u308b<\/strong>\u306e\u304c\u539f\u56e0\u3060\u306d\u3002\u69cb\u9020\u304b\u3089\u9806\u756a\u306b\u4f5c\u308c\u3070\u3001JavaScript\u306a\u3057\u3067\u3082\u5b89\u5b9a\u3057\u3066\u52d5\u304f\u3088\u3002\u591a\u968e\u5c64\u3068\u30b9\u30de\u30db\u5bfe\u5fdc\u307e\u3067\u4e00\u6c17\u306b\u898b\u3066\u3044\u3053\u3046\u3002<\/strong><\/p><span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div>\n<\/div>\n<\/div>\n\n<p class=\"wp-block-paragraph\">\u30b0\u30ed\u30fc\u30d0\u30eb\u30ca\u30d3\u306e\u9805\u76ee\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u4e57\u305b\u308b\u3068\u3001\u4e0b\u306b\u30e1\u30cb\u30e5\u30fc\u304c\u958b\u304f\u3002\u3053\u306e<span class=\"swl-marker mark_yellow\">\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc<\/span>\u306f\u3001\u30da\u30fc\u30b8\u6570\u306e\u591a\u3044\u30b5\u30a4\u30c8\u3067\u306f\u6b20\u304b\u305b\u306a\u3044\u5c0e\u7dda\u3067\u3059\u3002<\/p>\n\n<p class=\"wp-block-paragraph\">\u5b9f\u88c5\u81ea\u4f53\u306f<code>:hover<\/code>\u3068<code>position: absolute<\/code>\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u4f5c\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u300c\u30de\u30a6\u30b9\u304c\u5916\u308c\u3066\u6d88\u3048\u308b\u300d\u300c\u4ed6\u306e\u8981\u7d20\u306e\u4e0b\u306b\u96a0\u308c\u308b\u300d\u300c\u30b9\u30de\u30db\u3067\u958b\u3051\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u3064\u307e\u305a\u304d\u304c\u8d77\u304d\u3084\u3059\u3044\u30d1\u30fc\u30c4\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u57fa\u672c\u69cb\u9020\u304b\u3089\u59cb\u3081\u3066\u3001\u6d88\u3048\u306a\u3044\u5de5\u592b\u3001\u591a\u968e\u5c64\uff082\u968e\u5c64\u76ee\uff09\u3001\u30b9\u30de\u30db\u3067\u306e\u958b\u9589\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u64cd\u4f5c\u306e\u5bfe\u5fdc\u307e\u3067\u3001\u30b3\u30d4\u30da\u3067\u52d5\u304f\u5f62\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n<ul class=\"wp-block-list\">\n<li>\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020\uff08HTML\/CSS\uff09<\/li>\n<li>\u30de\u30a6\u30b9\u304c\u5916\u308c\u308b\u3068\u6d88\u3048\u308b\u554f\u984c\u306e\u76f4\u3057\u65b9<\/li>\n<li>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u81ea\u7136\u306b\u958b\u304f<\/li>\n<li>2\u968e\u5c64\u76ee\uff08\u591a\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\uff09\u306e\u4f5c\u308a\u65b9<\/li>\n<li>\u753b\u9762\u7aef\u3067\u5207\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u4f4d\u7f6e\u8abf\u6574<\/li>\n<li>\u30e1\u30ac\u30e1\u30cb\u30e5\u30fc\u578b\u306e\u30ec\u30a4\u30a2\u30a6\u30c8<\/li>\n<li>\u30b9\u30de\u30db\u3067\u306e\u958b\u9589\u3068\u8868\u793a\u5207\u308a\u66ff\u3048<\/li>\n<li>\u30ad\u30fc\u30dc\u30fc\u30c9\u64cd\u4f5c\u3068\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3<\/li>\n<li>\u958b\u304b\u306a\u3044\u30fb\u96a0\u308c\u308b\u3068\u304d\u306e\u539f\u56e0\u3068\u5bfe\u51e6<\/li>\n<li>\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u5b8c\u6210\u7248<\/li>\n<\/ul>\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n<h2 class=\"wp-block-heading\">\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020<\/h2>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1672\" height=\"941\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-01.jpg\" alt=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020\u306e\u56f3\u89e3\" class=\"wp-image-20498\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-01.jpg 1672w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-01-768x432.jpg 768w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-01-1536x864.jpg 1536w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306e<code>li<\/code>\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306e<code>ul<\/code>\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;nav class=\"gnav\"&gt;\n  &lt;ul class=\"gnav__list\"&gt;\n    &lt;li&gt;&lt;a href=\"\/\"&gt;\u30db\u30fc\u30e0&lt;\/a&gt;&lt;\/li&gt;\n    &lt;li class=\"has-child\"&gt;\n      &lt;a href=\"\/service\/\"&gt;\u30b5\u30fc\u30d3\u30b9&lt;\/a&gt;\n      &lt;ul class=\"sub\"&gt;\n        &lt;li&gt;&lt;a href=\"\/service\/web\/\"&gt;Web\u5236\u4f5c&lt;\/a&gt;&lt;\/li&gt;\n        &lt;li&gt;&lt;a href=\"\/service\/design\/\"&gt;\u30c7\u30b6\u30a4\u30f3&lt;\/a&gt;&lt;\/li&gt;\n        &lt;li&gt;&lt;a href=\"\/service\/ai\/\"&gt;AI\u6d3b\u7528\u652f\u63f4&lt;\/a&gt;&lt;\/li&gt;\n      &lt;\/ul&gt;\n    &lt;\/li&gt;\n    &lt;li&gt;&lt;a href=\"\/contact\/\"&gt;\u304a\u554f\u3044\u5408\u308f\u305b&lt;\/a&gt;&lt;\/li&gt;\n  &lt;\/ul&gt;\n&lt;\/nav&gt;<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.gnav__list {\n  display: flex;\n  gap: 8px;\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n\/* \u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u4f4d\u7f6e\u306e\u57fa\u6e96\u306b\u306a\u308b *\/\n.has-child {\n  position: relative;\n}\n\n.sub {\n  position: absolute;\n  top: 100%;              \/* \u89aa\u306e\u3059\u3050\u4e0b *\/\n  left: 0;\n  min-width: 220px;\n  margin: 0;\n  padding: 8px 0;\n  list-style: none;\n  background-color: #fff;\n  border-radius: 10px;\n  box-shadow: 0 10px 30px rgba(15, 23, 42, .14);\n  opacity: 0;\n  visibility: hidden;     \/* \u9589\u3058\u3066\u3044\u308b\u72b6\u614b *\/\n  transition: opacity .2s ease, visibility .2s;\n  z-index: 100;\n}\n\n.has-child:hover .sub {\n  opacity: 1;\n  visibility: visible;\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u9589\u3058\u305f\u72b6\u614b\u3092<code>display: none<\/code>\u3067\u306f\u306a\u304f<span class=\"swl-marker mark_yellow\">opacity\u3068visibility\u3067\u4f5c\u308b<\/span>\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<code>display<\/code>\u306f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u6f14\u51fa\u304c\u4f7f\u3048\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u30de\u30a6\u30b9\u304c\u5916\u308c\u308b\u3068\u6d88\u3048\u308b\u554f\u984c\u306e\u76f4\u3057\u65b9<\/h2>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1672\" height=\"941\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-02.jpg\" alt=\"\u30de\u30a6\u30b9\u304c\u5916\u308c\u308b\u3068\u6d88\u3048\u308b\u554f\u984c\u306e\u76f4\u3057\u65b9\u306e\u56f3\u89e3\" class=\"wp-image-20499\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-02.jpg 1672w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-02-768x432.jpg 768w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-02-1536x864.jpg 1536w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u591a\u3044\u30c8\u30e9\u30d6\u30eb\u304c\u3053\u308c\u3067\u3059\u3002\u89aa\u306e\u30ea\u30f3\u30af\u3068\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u9593\u306b\u6570px\u306e\u9699\u9593\u304c\u3042\u308b\u3068\u3001\u30ab\u30fc\u30bd\u30eb\u304c\u305d\u3053\u3092\u901a\u3063\u305f\u77ac\u9593\u306b<code>:hover<\/code>\u304c\u5207\u308c\u3066\u9589\u3058\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u65b9\u6cd51: \u89aa\u306e\u4f59\u767d\u3067\u9699\u9593\u3092\u57cb\u3081\u308b *\/\n.has-child &gt; a {\n  display: block;\n  padding: 1em 1.2em;   \/* \u4e0b\u65b9\u5411\u306epadding\u304c\u300c\u6a4b\u300d\u306b\u306a\u308b *\/\n}\n\n\/* \u65b9\u6cd52: \u64ec\u4f3c\u8981\u7d20\u3067\u898b\u3048\u306a\u3044\u6a4b\u3092\u67b6\u3051\u308b *\/\n.sub::before {\n  content: \"\";\n  position: absolute;\n  top: -12px;            \/* \u9699\u9593\u306e\u3076\u3093\u3060\u3051\u4e0a\u306b\u4f38\u3070\u3059 *\/\n  left: 0;\n  width: 100%;\n  height: 12px;\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\"><code>top: 100%<\/code>\u3067\u89aa\u306e\u76f4\u4e0b\u306b\u7f6e\u3044\u3066\u3044\u3066\u3082\u3001\u89aa\u306b<code>margin-bottom<\/code>\u304c\u3042\u308b\u3068\u9699\u9593\u304c\u751f\u307e\u308c\u307e\u3059\u3002\u64ec\u4f3c\u8981\u7d20\u3067\u900f\u660e\u306a\u9818\u57df\u3092\u4f5c\u3063\u3066\u304a\u3051\u3070\u3001\u30ab\u30fc\u30bd\u30eb\u304c\u901a\u3063\u3066\u3082<code>:hover<\/code>\u304c\u7dad\u6301\u3055\u308c\u307e\u3059\u3002<\/p>\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u4e00\u3064\u306e\u5bfe\u7b56\u304c<span class=\"swl-marker mark_yellow\">\u9589\u3058\u308b\u307e\u3067\u306e\u9045\u5ef6<\/span>\u3067\u3059\u3002<code>transition-delay<\/code>\u3092\u4f7f\u3046\u3068\u3001\u30ab\u30fc\u30bd\u30eb\u304c\u4e00\u77ac\u5916\u308c\u3066\u3082\u5373\u5ea7\u306b\u306f\u9589\u3058\u307e\u305b\u3093\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.sub {\n  transition: opacity .2s ease, visibility .2s;\n  transition-delay: .15s;   \/* \u9589\u3058\u308b\u306e\u3092\u5c11\u3057\u5f85\u3064 *\/\n}\n\n.has-child:hover .sub {\n  transition-delay: 0s;     \/* \u958b\u304f\u3068\u304d\u306f\u5373\u5ea7\u306b *\/\n}<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u81ea\u7136\u306b\u958b\u304f<\/h2>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1672\" height=\"941\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-03.jpg\" alt=\"\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u81ea\u7136\u306b\u958b\u304f\u306e\u56f3\u89e3\" class=\"wp-image-20500\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-03.jpg 1672w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-03-768x432.jpg 768w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-03-1536x864.jpg 1536w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u304b\u3089\u3059\u3063\u3068\u964d\u308a\u3066\u304f\u308b\u52d5\u304d\u3092\u8db3\u3059\u3068\u3001\u968e\u5c64\u95a2\u4fc2\u304c\u4f1d\u308f\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u79fb\u52d5\u8ddd\u96e2\u306f\u63a7\u3048\u3081\u306b\u3057\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.sub {\n  transform: translateY(-8px);\n  transition: opacity .2s ease, transform .2s ease, visibility .2s;\n}\n\n.has-child:hover .sub {\n  transform: translateY(0);\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .sub {\n    transition: none;\n    transform: none;\n  }\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u52d5\u304f\u8ddd\u96e2\u306f6\u301c10px\u3001\u6642\u9593\u306f0.2\u79d2\u524d\u5f8c\u304c\u76ee\u5b89\u3067\u3059\u3002\u5927\u304d\u304f\u52d5\u304b\u3059\u3068\u30e1\u30cb\u30e5\u30fc\u304c\u66b4\u308c\u3066\u898b\u3048\u3001\u76ee\u7684\u306e\u9805\u76ee\u3092\u8ffd\u3044\u306b\u304f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">2\u968e\u5c64\u76ee\uff08\u591a\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\uff09\u306e\u4f5c\u308a\u65b9<\/h2>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1672\" height=\"941\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-04.jpg\" alt=\"2\u968e\u5c64\u76ee\uff08\u591a\u968e\u5c64\u30e1\u30cb\u30e5\u30fc\uff09\u306e\u4f5c\u308a\u65b9\u306e\u56f3\u89e3\" class=\"wp-image-20501\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-04.jpg 1672w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-04-768x432.jpg 768w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-04-1536x864.jpg 1536w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30fc\u30d3\u30b9\u306e\u4e0b\u306b\u3055\u3089\u306b\u30ab\u30c6\u30b4\u30ea\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u4e2d\u306b\u3082\u3046\u4e00\u6bb5\u5165\u308c\u5b50\u3092\u4f5c\u308a\u307e\u3059\u3002\u958b\u304f\u65b9\u5411\u3092\u6a2a\u306b\u3059\u308b\u306e\u304c\u5b9a\u77f3\u3067\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.sub .has-child2 {\n  position: relative;\n}\n\n.sub .sub2 {\n  position: absolute;\n  top: 0;\n  left: 100%;             \/* \u53f3\u96a3\u306b\u958b\u304f *\/\n  min-width: 200px;\n  padding: 8px 0;\n  background-color: #fff;\n  border-radius: 10px;\n  box-shadow: 0 10px 30px rgba(15, 23, 42, .14);\n  opacity: 0;\n  visibility: hidden;\n  transition: opacity .2s, visibility .2s;\n}\n\n.sub .has-child2:hover .sub2 {\n  opacity: 1;\n  visibility: visible;\n}\n\n\/* \u5b50\u304c\u3042\u308b\u9805\u76ee\u306b\u306f\u77e2\u5370\u3092\u51fa\u3059 *\/\n.sub .has-child2 &gt; a::after {\n  content: \"\";\n  display: inline-block;\n  width: 6px;\n  height: 6px;\n  margin-left: 8px;\n  border-top: 2px solid #6b7280;\n  border-right: 2px solid #6b7280;\n  transform: rotate(45deg);\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u968e\u5c64\u306f<span class=\"swl-marker mark_yellow\">2\u968e\u5c64\u307e\u3067<\/span>\u306b\u7559\u3081\u308b\u306e\u304c\u539f\u5247\u3067\u3059\u30023\u968e\u5c64\u4ee5\u4e0a\u306f\u30de\u30a6\u30b9\u64cd\u4f5c\u304c\u96e3\u3057\u304f\u3001\u30b9\u30de\u30db\u3067\u306f\u4e8b\u5b9f\u4e0a\u4f7f\u3048\u307e\u305b\u3093\u3002\u9805\u76ee\u304c\u591a\u3044\u306a\u3089\u6b21\u306e\u30e1\u30ac\u30e1\u30cb\u30e5\u30fc\u578b\u3092\u691c\u8a0e\u3057\u307e\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u753b\u9762\u7aef\u3067\u5207\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u4f4d\u7f6e\u8abf\u6574<\/h2>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1672\" height=\"941\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-05.jpg\" alt=\"\u753b\u9762\u7aef\u3067\u5207\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u4f4d\u7f6e\u8abf\u6574\u306e\u56f3\u89e3\" class=\"wp-image-20502\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-05.jpg 1672w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-05-768x432.jpg 768w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-05-1536x864.jpg 1536w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u53f3\u7aef\u306e\u30e1\u30cb\u30e5\u30fc\u3092<code>left: 0<\/code>\u3067\u958b\u304f\u3068\u3001\u753b\u9762\u5916\u306b\u306f\u307f\u51fa\u3057\u3066\u8aad\u3081\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u7aef\u306e\u9805\u76ee\u3060\u3051\u57fa\u6e96\u3092\u53cd\u8ee2\u3055\u305b\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u53f3\u7aef\u306e\u9805\u76ee\u306f\u53f3\u63c3\u3048\u3067\u958b\u304f *\/\n.gnav__list &gt; li:last-child .sub,\n.sub.-right {\n  left: auto;\n  right: 0;\n}\n\n\/* 2\u968e\u5c64\u76ee\u304c\u53f3\u306b\u5165\u308a\u304d\u3089\u306a\u3044\u5834\u5408\u306f\u5de6\u3078 *\/\n.sub2.-left {\n  left: auto;\n  right: 100%;\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u56fa\u5b9a\u30d8\u30c3\u30c0\u30fc\u306e\u4e2d\u3067\u4f7f\u3046\u5834\u5408\u306f\u3001\u89aa\u8981\u7d20\u306b<code>overflow: hidden<\/code>\u304c\u4ed8\u3044\u3066\u3044\u306a\u3044\u304b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002\u4ed8\u3044\u3066\u3044\u308b\u3068\u30e1\u30cb\u30e5\u30fc\u304c\u5207\u308a\u53d6\u3089\u308c\u3066\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u30e1\u30ac\u30e1\u30cb\u30e5\u30fc\u578b\u306e\u30ec\u30a4\u30a2\u30a6\u30c8<\/h2>\n\n<p class=\"wp-block-paragraph\">\u9805\u76ee\u6570\u304c\u591a\u3044\u30b5\u30a4\u30c8\u3067\u306f\u3001\u753b\u9762\u5e45\u3044\u3063\u3071\u3044\u306b\u5e83\u304c\u308b\u30e1\u30ac\u30e1\u30cb\u30e5\u30fc\u304c\u6709\u52b9\u3067\u3059\u3002Grid\u3067\u591a\u6bb5\u7d44\u307f\u306b\u3057\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.mega {\n  position: absolute;\n  top: 100%;\n  left: 0;\n  width: 100%;            \/* \u30d8\u30c3\u30c0\u30fc\u5e45\u3044\u3063\u3071\u3044 *\/\n  padding: 28px 40px;\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 24px 40px;\n  background-color: #fff;\n  box-shadow: 0 16px 40px rgba(15, 23, 42, .16);\n  opacity: 0;\n  visibility: hidden;\n  transition: opacity .2s, visibility .2s;\n}\n\n.gnav__list &gt; .has-mega {\n  position: static;       \/* \u57fa\u6e96\u3092\u30d8\u30c3\u30c0\u30fc\u5168\u4f53\u306b\u3059\u308b *\/\n}\n\n.gnav__list &gt; .has-mega:hover .mega {\n  opacity: 1;\n  visibility: visible;\n}\n\n.mega__group-title {\n  margin-bottom: 8px;\n  padding-bottom: 6px;\n  border-bottom: 2px solid #e5e7eb;\n  font-weight: 700;\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u30b3\u30c4\u306f\u89aa\u306e<code>li<\/code>\u306b<span class=\"swl-marker mark_yellow\">position: static \u3092\u6307\u5b9a\u3059\u308b\u3053\u3068<\/span>\u3067\u3059\u3002\u57fa\u6e96\u304c\u30d8\u30c3\u30c0\u30fc\u5074\u306b\u306a\u308b\u305f\u3081\u3001\u753b\u9762\u5e45\u3044\u3063\u3071\u3044\u306b\u5e83\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u30b9\u30de\u30db\u3067\u306e\u958b\u9589\u3068\u8868\u793a\u5207\u308a\u66ff\u3048<\/h2>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1672\" height=\"941\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-06.jpg\" alt=\"\u30b9\u30de\u30db\u3067\u306e\u958b\u9589\u3068\u8868\u793a\u5207\u308a\u66ff\u3048\u306e\u56f3\u89e3\" class=\"wp-image-20503\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-06.jpg 1672w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-06-768x432.jpg 768w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-section-06-1536x864.jpg 1536w\" sizes=\"(max-width: 1672px) 100vw, 1672px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">\u30bf\u30c3\u30c1\u7aef\u672b\u306b\u306f<code>:hover<\/code>\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u30b9\u30de\u30db\u3067\u306f\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u578b\u306b\u5207\u308a\u66ff\u3048\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3067\u958b\u9589\u3055\u305b\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;li class=\"has-child\"&gt;\n  &lt;input type=\"checkbox\" id=\"acc-service\" class=\"acc-toggle\"&gt;\n  &lt;label for=\"acc-service\" class=\"acc-label\"&gt;\u30b5\u30fc\u30d3\u30b9&lt;\/label&gt;\n  &lt;ul class=\"sub\"&gt;\n    &lt;li&gt;&lt;a href=\"\/service\/web\/\"&gt;Web\u5236\u4f5c&lt;\/a&gt;&lt;\/li&gt;\n    &lt;li&gt;&lt;a href=\"\/service\/design\/\"&gt;\u30c7\u30b6\u30a4\u30f3&lt;\/a&gt;&lt;\/li&gt;\n  &lt;\/ul&gt;\n&lt;\/li&gt;<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.acc-toggle,\n.acc-label {\n  display: none;              \/* PC\u3067\u306f\u4f7f\u308f\u306a\u3044 *\/\n}\n\n@media (max-width: 960px) {\n  .gnav__list {\n    display: block;\n  }\n\n  .acc-label {\n    display: block;\n    padding: 1em;\n    font-weight: 700;\n    cursor: pointer;\n  }\n\n  .sub {\n    position: static;         \/* \u91cd\u306d\u305a\u7e26\u306b\u7a4d\u3080 *\/\n    opacity: 1;\n    visibility: visible;\n    max-height: 0;            \/* \u9589\u3058\u305f\u72b6\u614b *\/\n    overflow: hidden;\n    box-shadow: none;\n    transition: max-height .3s ease;\n  }\n\n  .acc-toggle:checked ~ .sub {\n    max-height: 500px;        \/* \u958b\u3044\u305f\u72b6\u614b *\/\n  }\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u30b9\u30de\u30db\u3067\u306f\u91cd\u306d\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067<code>position: static<\/code>\u306b\u623b\u3057\u3001\u9ad8\u3055\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u958b\u9589\u3057\u307e\u3059\u3002<code>max-height<\/code>\u306f\u4e2d\u8eab\u3088\u308a\u5c11\u3057\u5927\u304d\u3044\u5024\u3092\u5165\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u30ad\u30fc\u30dc\u30fc\u30c9\u64cd\u4f5c\u3068\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3<\/h2>\n\n<figure class=\"wp-block-image size-large\" data-dia=\"20048-3\"><img decoding=\"async\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-dropdown-menu-section-03.jpg\" alt=\"\u30ad\u30fc\u30dc\u30fc\u30c9\u5bfe\u5fdc\u306e\u9806\u5e8f\" class=\"wp-image-20051\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\"><code>:hover<\/code>\u3060\u3051\u3067\u4f5c\u308b\u3068\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u5229\u7528\u8005\u306f\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u3078\u5230\u9054\u3067\u304d\u307e\u305b\u3093\u3002<code>:focus-within<\/code>\u3092\u5fc5\u305a\u4f75\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* Tab\u30ad\u30fc\u3067\u5b50\u30ea\u30f3\u30af\u306b\u5165\u3063\u305f\u3068\u304d\u3082\u958b\u3044\u305f\u307e\u307e\u306b\u3059\u308b *\/\n.has-child:hover .sub,\n.has-child:focus-within .sub {\n  opacity: 1;\n  visibility: visible;\n  transform: translateY(0);\n}\n\n.gnav a:focus-visible {\n  outline: 3px solid #0ea5e9;\n  outline-offset: 2px;\n}<\/code><\/pre><\/div>\n\n<ul class=\"wp-block-list\">\n<li><code>:focus-within<\/code>\u3067\u3001Tab\u30ad\u30fc\u79fb\u52d5\u4e2d\u3082\u958b\u3044\u305f\u72b6\u614b\u3092\u4fdd\u3064<\/li>\n<li>\u89aa\u9805\u76ee\u3082\u30ea\u30f3\u30af\u306b\u3059\u308b\u5834\u5408\u306f\u3001\u62bc\u305b\u308b\u5834\u6240\u3068\u958b\u304f\u52d5\u4f5c\u304c\u7af6\u5408\u3057\u306a\u3044\u304b\u78ba\u8a8d\u3059\u308b<\/li>\n<li><code>aria-expanded<\/code>\u306a\u3069\u72b6\u614b\u3092\u4f1d\u3048\u308b\u5c5e\u6027\u306fJavaScript\u3067\u66f4\u65b0\u3059\u308b<\/li>\n<li>\u77e2\u5370\u8a18\u53f7\u306f\u88c5\u98fe\u306a\u306e\u3067\u3001\u8aad\u307f\u4e0a\u3052\u306b\u306f\u5f71\u97ff\u3057\u306a\u3044\u64ec\u4f3c\u8981\u7d20\u3067\u63cf\u304f<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">CSS\u3060\u3051\u306e\u5b9f\u88c5\u3067\u306f<span class=\"swl-marker mark_yellow\">\u958b\u9589\u72b6\u614b\u3092\u652f\u63f4\u6280\u8853\u306b\u4f1d\u3048\u3089\u308c\u307e\u305b\u3093<\/span>\u3002\u516c\u5171\u6027\u306e\u9ad8\u3044\u30b5\u30a4\u30c8\u3084\u53b3\u5bc6\u306a\u8981\u4ef6\u304c\u3042\u308b\u6848\u4ef6\u3067\u306f\u3001JavaScript\u3067<code>aria-expanded<\/code>\u3092\u5207\u308a\u66ff\u3048\u308b\u5b9f\u88c5\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u958b\u304b\u306a\u3044\u30fb\u96a0\u308c\u308b\u3068\u304d\u306e\u539f\u56e0\u3068\u5bfe\u51e6<\/h2>\n\n<figure class=\"wp-block-image size-large\" data-dia=\"20048-4\"><img decoding=\"async\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/css-dropdown-menu-section-04.jpg\" alt=\"\u958b\u304b\u306a\u3044\u6642\u306e\u539f\u56e0\" class=\"wp-image-20052\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">\u52d5\u304b\u306a\u3044\u5834\u5408\u306f\u6b21\u306e\u8868\u3092\u4e0a\u304b\u3089\u78ba\u8a8d\u3057\u307e\u3059\u3002\u307b\u3068\u3093\u3069\u304c\u3053\u306e6\u3064\u306e\u3069\u308c\u304b\u3067\u3059\u3002<\/p>\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>\u75c7\u72b6<\/th><th>\u539f\u56e0<\/th><th>\u5bfe\u51e6<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u958b\u304b\u306a\u3044<\/td><td>\u89aa\u306b<code>position: relative<\/code>\u304c\u306a\u3044<\/td><td>\u89aa\u306e<code>li<\/code>\u306b\u6307\u5b9a\u3059\u308b<\/td><\/tr>\n<tr><td>\u4ed6\u306e\u8981\u7d20\u306e\u4e0b\u306b\u96a0\u308c\u308b<\/td><td>\u91cd\u306a\u308a\u9806\u304c\u4f4e\u3044<\/td><td><code>z-index<\/code>\u3092\u4e0a\u3052\u308b<\/td><\/tr>\n<tr><td>\u9014\u4e2d\u3067\u5207\u308c\u308b<\/td><td>\u89aa\u306b<code>overflow: hidden<\/code><\/td><td>\u6307\u5b9a\u3092\u5916\u3059<\/td><\/tr>\n<tr><td>\u30ab\u30fc\u30bd\u30eb\u3092\u79fb\u3059\u3068\u6d88\u3048\u308b<\/td><td>\u89aa\u5b50\u9593\u306b\u9699\u9593<\/td><td>padding\u304b\u64ec\u4f3c\u8981\u7d20\u3067\u57cb\u3081\u308b<\/td><\/tr>\n<tr><td>\u30b9\u30de\u30db\u3067\u958b\u3051\u306a\u3044<\/td><td><code>:hover<\/code>\u4f9d\u5b58<\/td><td>\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u65b9\u5f0f\u306b\u5207\u66ff<\/td><\/tr>\n<tr><td>Tab\u3067\u9078\u3079\u306a\u3044<\/td><td>focus\u5bfe\u5fdc\u304c\u306a\u3044<\/td><td><code>:focus-within<\/code>\u3092\u8ffd\u52a0<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n<p class=\"wp-block-paragraph\">2\u756a\u76ee\u306e\u91cd\u306a\u308a\u9806\u306f\u3001\u56fa\u5b9a\u30d8\u30c3\u30c0\u30fc\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u983b\u767a\u3057\u307e\u3059\u3002\u30d8\u30c3\u30c0\u30fc\u81ea\u4f53\u306e<code>z-index<\/code>\u3068\u3001\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306e\u5024\u306e\u4e21\u65b9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u5b8c\u6210\u7248<\/h2>\n\n<p class=\"wp-block-paragraph\">PC\u306f\u30db\u30d0\u30fc\u3001\u30b9\u30de\u30db\u306f\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u306b\u5207\u308a\u66ff\u308f\u308b\u4e00\u5f0f\u3067\u3059\u3002\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8\u306f960px\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.gnav__list {\n  display: flex;\n  gap: 4px;\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n.gnav__list a {\n  display: block;\n  padding: 1em 1.2em;\n  text-decoration: none;\n  color: #0f172a;\n  font-weight: 700;\n}\n\n.has-child {\n  position: relative;\n}\n\n.sub {\n  position: absolute;\n  top: 100%;\n  left: 0;\n  min-width: 220px;\n  margin: 0;\n  padding: 8px 0;\n  list-style: none;\n  background-color: #fff;\n  border-radius: 10px;\n  box-shadow: 0 10px 30px rgba(15, 23, 42, .14);\n  opacity: 0;\n  visibility: hidden;\n  transform: translateY(-8px);\n  transition: opacity .2s ease, transform .2s ease, visibility .2s;\n  transition-delay: .15s;\n  z-index: 100;\n}\n\n.sub::before {\n  content: \"\";\n  position: absolute;\n  top: -12px;\n  left: 0;\n  width: 100%;\n  height: 12px;\n}\n\n.has-child:hover .sub,\n.has-child:focus-within .sub {\n  opacity: 1;\n  visibility: visible;\n  transform: translateY(0);\n  transition-delay: 0s;\n}\n\n.sub a {\n  padding: 0.7em 1.2em;\n  font-weight: 400;\n  white-space: nowrap;\n}\n\n.sub a:hover {\n  background-color: #f1f5f9;\n}\n\n@media (max-width: 960px) {\n  .gnav__list {\n    display: block;\n  }\n\n  .sub {\n    position: static;\n    opacity: 1;\n    visibility: visible;\n    transform: none;\n    max-height: 0;\n    overflow: hidden;\n    box-shadow: none;\n    transition: max-height .3s ease;\n  }\n\n  .acc-toggle:checked ~ .sub {\n    max-height: 500px;\n  }\n}<\/code><\/pre><\/div>\n\n<h2 class=\"wp-block-heading\">\u30db\u30d0\u30fc\u6642\u306e\u30c7\u30b6\u30a4\u30f3\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3<\/h2>\n\n<p class=\"wp-block-paragraph\">\u958b\u3044\u305f\u30e1\u30cb\u30e5\u30fc\u306e\u898b\u305f\u76ee\u3082\u3001\u30b5\u30a4\u30c8\u306e\u30c8\u30fc\u30f3\u306b\u5408\u308f\u305b\u3066\u9078\u3079\u307e\u3059\u30023\u7a2e\u985e\u306e\u4f5c\u308a\u5206\u3051\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">1. \u4e0b\u7dda\u304c\u4f38\u3073\u308b\u30bf\u30a4\u30d7<\/h3>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.gnav__list &gt; li &gt; a {\n  position: relative;\n}\n\n.gnav__list &gt; li &gt; a::after {\n  content: \"\";\n  position: absolute;\n  left: 1.2em;\n  right: 1.2em;\n  bottom: 0.6em;\n  height: 2px;\n  background-color: #0ea5e9;\n  transform: scaleX(0);\n  transform-origin: left;\n  transition: transform .25s ease;\n}\n\n.gnav__list &gt; li:hover &gt; a::after {\n  transform: scaleX(1);\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\"><code>transform: scaleX()<\/code>\u3067\u4f38\u3070\u3059\u3068\u3001<span class=\"swl-marker mark_yellow\">\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u518d\u8a08\u7b97\u305b\u305a\u306b\u52d5\u304f<\/span>\u306e\u3067\u6ed1\u3089\u304b\u3067\u3059\u3002width\u3092\u5909\u3048\u308b\u66f8\u304d\u65b9\u3088\u308a\u8ca0\u8377\u304c\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">2. \u80cc\u666f\u304c\u5857\u308a\u3064\u3076\u3055\u308c\u308b\u30bf\u30a4\u30d7<\/h3>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.gnav.-fill .gnav__list &gt; li &gt; a {\n  border-radius: 8px;\n  transition: background-color .2s, color .2s;\n}\n\n.gnav.-fill .gnav__list &gt; li:hover &gt; a {\n  background-color: #0ea5e9;\n  color: #fff;\n}\n\n.gnav.-fill .sub {\n  margin-top: 4px;\n  border-radius: 8px;\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u7ba1\u7406\u753b\u9762\u3084\u30b5\u30fc\u30d3\u30b9\u30b5\u30a4\u30c8\u306a\u3069\u3001\u62bc\u305b\u308b\u7bc4\u56f2\u3092\u660e\u78ba\u306b\u898b\u305b\u305f\u3044\u5834\u9762\u306b\u5411\u304d\u307e\u3059\u3002\u89d2\u4e38\u3092\u30d8\u30c3\u30c0\u30fc\u306e\u30c8\u30fc\u30f3\u3068\u63c3\u3048\u308b\u3068\u99b4\u67d3\u307f\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">3. \u533a\u5207\u308a\u7dda\u4ed8\u304d\u306e\u30b7\u30f3\u30d7\u30eb\u578b<\/h3>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.gnav.-plain .sub li + li {\n  border-top: 1px solid #f1f5f9;\n}\n\n.gnav.-plain .sub {\n  padding: 4px 0;\n  border: 1px solid #e5e7eb;\n  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);\n}\n\n.gnav.-plain .sub a:hover {\n  background-color: #f8fafc;\n  padding-left: 1.5em;      \/* \u308f\u305a\u304b\u306b\u53f3\u3078\u305a\u3089\u3057\u3066\u53cd\u5fdc\u3092\u793a\u3059 *\/\n  transition: padding-left .15s, background-color .15s;\n}<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u5f71\u3092\u5f31\u3081\u3066\u7dda\u3067\u533a\u5207\u308b\u3068\u3001\u60c5\u5831\u91cf\u306e\u591a\u3044\u30b5\u30a4\u30c8\u3067\u3082\u843d\u3061\u7740\u3044\u3066\u898b\u3048\u307e\u3059\u3002\u9805\u76ee\u6570\u304c10\u3092\u8d85\u3048\u308b\u5834\u5408\u306f\u3053\u306e\u5f62\u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u89aa\u9805\u76ee\u3092\u30ea\u30f3\u30af\u306b\u3059\u308b\u304b\u3069\u3046\u304b<\/h2>\n\n<p class=\"wp-block-paragraph\">\u300c\u30b5\u30fc\u30d3\u30b9\u300d\u306e\u3088\u3046\u306a\u89aa\u9805\u76ee\u3092\u3001\u30ea\u30f3\u30af\u306b\u3059\u308b\u304b\u5358\u306a\u308b\u958b\u9589\u30c8\u30ea\u30ac\u30fc\u306b\u3059\u308b\u304b\u306f\u8a2d\u8a08\u5224\u65ad\u3067\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u5229\u70b9\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>\u65b9\u5f0f<\/th><th>\u5229\u70b9<\/th><th>\u6ce8\u610f\u70b9<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u89aa\u3082\u30ea\u30f3\u30af\u306b\u3059\u308b<\/td><td>\u4e00\u89a7\u30da\u30fc\u30b8\u3078\u76f4\u63a5\u884c\u3051\u308b<\/td><td>\u30b9\u30de\u30db\u3067\u30bf\u30c3\u30d7\u304c\u7af6\u5408\u3059\u308b<\/td><\/tr>\n<tr><td>\u89aa\u306f\u958b\u9589\u306e\u307f<\/td><td>\u8aa4\u30bf\u30c3\u30d7\u304c\u8d77\u304d\u306a\u3044<\/td><td>\u4e00\u89a7\u30da\u30fc\u30b8\u3078\u306e\u5c0e\u7dda\u304c\u6e1b\u308b<\/td><\/tr>\n<tr><td>\u89aa\u30ea\u30f3\u30af\uff0b\u5b50\u306b\u300c\u4e00\u89a7\u3092\u898b\u308b\u300d<\/td><td>\u4e21\u7acb\u3067\u304d\u308b<\/td><td>\u9805\u76ee\u304c1\u3064\u5897\u3048\u308b<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n<p class=\"wp-block-paragraph\">\u5b9f\u52d9\u3067\u3088\u304f\u63a1\u7528\u3055\u308c\u308b\u306e\u306f3\u3064\u76ee\u3067\u3059\u3002\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u5148\u982d\u306b<span class=\"swl-marker mark_yellow\">\u300c\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u3092\u898b\u308b\u300d<\/span>\u3092\u7f6e\u3051\u3070\u3001PC\u3067\u3082\u30b9\u30de\u30db\u3067\u3082\u8ff7\u3044\u307e\u305b\u3093\u3002<\/p>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;ul class=\"sub\"&gt;\n  &lt;li&gt;&lt;a href=\"\/service\/\"&gt;&lt;strong&gt;\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u3092\u898b\u308b&lt;\/strong&gt;&lt;\/a&gt;&lt;\/li&gt;\n  &lt;li&gt;&lt;a href=\"\/service\/web\/\"&gt;Web\u5236\u4f5c&lt;\/a&gt;&lt;\/li&gt;\n  &lt;li&gt;&lt;a href=\"\/service\/design\/\"&gt;\u30c7\u30b6\u30a4\u30f3&lt;\/a&gt;&lt;\/li&gt;\n&lt;\/ul&gt;<\/code><\/pre><\/div>\n\n<p class=\"wp-block-paragraph\">\u30b9\u30de\u30db\u306e\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u3067\u306f\u3001\u89aa\u306e\u30e9\u30d9\u30eb\u3092\u30bf\u30c3\u30d7\u3059\u308b\u3068\u958b\u304f\u3060\u3051\u306b\u3057\u3066\u3001\u9077\u79fb\u306f\u5b50\u306e\u5148\u982d\u9805\u76ee\u306b\u4efb\u305b\u308b\u5f62\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n<p class=\"wp-block-paragraph\">\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306f\u3001\u89aa\u306e<code>li<\/code>\u306b<code>position: relative<\/code>\u3001\u5b50\u306e<code>ul<\/code>\u306b<code>position: absolute<\/code>\u3068<code>top: 100%<\/code>\u3092\u6307\u5b9a\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059\u3002\u9589\u3058\u305f\u72b6\u614b\u306f<code>opacity<\/code>\u3068<code>visibility<\/code>\u3067\u4f5c\u308b\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52b9\u304d\u307e\u3059\u3002\u30de\u30a6\u30b9\u304c\u5916\u308c\u3066\u6d88\u3048\u308b\u554f\u984c\u306f\u3001\u89aa\u306epadding\u304b\u64ec\u4f3c\u8981\u7d20\u3067\u9699\u9593\u3092\u57cb\u3081\u3001<code>transition-delay<\/code>\u3067\u9589\u3058\u308b\u306e\u3092\u5c11\u3057\u5f85\u305f\u305b\u308c\u3070\u89e3\u6c7a\u3057\u307e\u3059\u3002\u30b9\u30de\u30db\u3067\u306f<code>:hover<\/code>\u304c\u4f7f\u3048\u306a\u3044\u305f\u3081\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u3088\u308b\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u306b\u5207\u308a\u66ff\u3048\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u5bfe\u5fdc\u3068\u3057\u3066<code>:focus-within<\/code>\u3092\u5fc5\u305a\u4f75\u8a18\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<!-- withmedia-faq -->\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f\uff08FAQ\uff09<\/h2>\n\n<h3 class=\"wp-block-heading\">\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u304c\u4ed6\u306e\u8981\u7d20\u306e\u4e0b\u306b\u96a0\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/h3>\n\n<p class=\"wp-block-paragraph\">\u91cd\u306a\u308a\u9806\u306e\u554f\u984c\u3067\u3059\u3002\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306b<code>z-index<\/code>\u3092\u6307\u5b9a\u3057\u3001\u89aa\u306b\u3082<code>position<\/code>\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u56fa\u5b9a\u30d8\u30c3\u30c0\u30fc\u5185\u3067\u4f7f\u3046\u5834\u5408\u306f\u3001\u30d8\u30c3\u30c0\u30fc\u81ea\u4f53\u306e<code>z-index<\/code>\u3068\u306e\u95a2\u4fc2\u3082\u898b\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u89aa\u8981\u7d20\u306b<code>overflow: hidden<\/code>\u304c\u3042\u308b\u3068\u5207\u308a\u53d6\u3089\u308c\u308b\u305f\u3081\u3001\u305d\u306e\u6307\u5b9a\u3082\u5916\u3057\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">\u30ab\u30fc\u30bd\u30eb\u3092\u5b50\u30e1\u30cb\u30e5\u30fc\u3078\u52d5\u304b\u3059\u9014\u4e2d\u3067\u9589\u3058\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/h3>\n\n<p class=\"wp-block-paragraph\">\u89aa\u306e\u30ea\u30f3\u30af\u3068\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u9593\u306b\u9699\u9593\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002\u89aa\u306e<code>a<\/code>\u306b\u4e0b\u65b9\u5411\u306epadding\u3092\u6301\u305f\u305b\u308b\u304b\u3001\u5b50\u30e1\u30cb\u30e5\u30fc\u306b<code>::before<\/code>\u3067\u900f\u660e\u306a\u5e2f\u3092\u4f5c\u3063\u3066\u9699\u9593\u3092\u57cb\u3081\u3066\u304f\u3060\u3055\u3044\u3002\u52a0\u3048\u3066<code>transition-delay<\/code>\u30920.15\u79d2\u307b\u3069\u5165\u308c\u308b\u3068\u3001\u4e00\u77ac\u5916\u308c\u3066\u3082\u9589\u3058\u307e\u305b\u3093\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">\u30b9\u30de\u30db\u3067\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u304c\u958b\u304d\u307e\u305b\u3093\u3002<\/h3>\n\n<p class=\"wp-block-paragraph\">\u30bf\u30c3\u30c1\u7aef\u672b\u306b\u306f<code>:hover<\/code>\u72b6\u614b\u304c\u306a\u3044\u305f\u3081\u3067\u3059\u3002960px\u4ee5\u4e0b\u3067\u306f\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3068<code>label<\/code>\u306b\u3088\u308b\u958b\u9589\u306b\u5207\u308a\u66ff\u3048\u3001<code>position: static<\/code>\u3067\u7e26\u306b\u7a4d\u3080\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u578b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u8a18\u4e8b\u306e\u5b8c\u6210\u7248\u306f\u305d\u306e\u5207\u308a\u66ff\u3048\u3092\u542b\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">\u4f55\u968e\u5c64\u307e\u3067\u4f5c\u3063\u3066\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">2\u968e\u5c64\u307e\u3067\u3092\u63a8\u5968\u3057\u307e\u3059\u30023\u968e\u5c64\u4ee5\u4e0a\u306f\u30ab\u30fc\u30bd\u30eb\u3092\u4fdd\u3063\u305f\u307e\u307e\u79fb\u52d5\u3059\u308b\u64cd\u4f5c\u304c\u96e3\u3057\u304f\u3001\u30b9\u30de\u30db\u3067\u306f\u6df1\u3059\u304e\u3066\u5230\u9054\u3055\u308c\u307e\u305b\u3093\u3002\u9805\u76ee\u304c\u591a\u3044\u5834\u5408\u306f\u3001\u753b\u9762\u5e45\u3044\u3063\u3071\u3044\u306b\u5e83\u3052\u308b\u30e1\u30ac\u30e1\u30cb\u30e5\u30fc\u578b\u306b\u3057\u3066\u30011\u968e\u5c64\u3067\u898b\u6e21\u305b\u308b\u5f62\u306b\u3059\u308b\u307b\u3046\u304c\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">CSS\u3060\u3051\u306e\u5b9f\u88c5\u3067\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306f\u5341\u5206\u3067\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">\u30ad\u30fc\u30dc\u30fc\u30c9\u79fb\u52d5\u306f<code>:focus-within<\/code>\u3067\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u304c\u3001\u958b\u9589\u72b6\u614b\u3092\u793a\u3059<code>aria-expanded<\/code>\u306e\u66f4\u65b0\u306fCSS\u3067\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u516c\u5171\u30b5\u30a4\u30c8\u306a\u3069\u8981\u4ef6\u304c\u53b3\u3057\u3044\u6848\u4ef6\u3067\u306f\u3001JavaScript\u3067\u72b6\u614b\u5c5e\u6027\u3092\u5207\u308a\u66ff\u3048\u308b\u5b9f\u88c5\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<!-- \/withmedia-faq -->\n\n\n<!-- withmedia-related -->\n<h2 class=\"wp-block-heading\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044\u95a2\u9023\u8a18\u4e8b<\/h2>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/withcode.tech\/media\/hamburger-menu-html-css\/\">\u30cf\u30f3\u30d0\u30fc\u30ac\u30fc\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3060\u3051\u3067\u52d5\u304f\u5b9f\u88c5\u3092\u30b3\u30d4\u30da\u89e3\u8aac<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/css-tab-ui\/\">CSS\u3060\u3051\u3067\u30bf\u30d6\u5207\u308a\u66ff\u3048UI\u3092\u4f5c\u308b\u65b9\u6cd5\uff5cJavaScript\u4e0d\u8981\u306e\u30b3\u30d4\u30da\u5b9f\u88c5<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/css-z-index\/\">CSS z-index\u306e\u4f7f\u3044\u65b9\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u91cd\u306a\u308a\u9806\u30fb\u52b9\u304b\u306a\u3044\u539f\u56e0\u30fb\u30b9\u30bf\u30c3\u30ad\u30f3\u30b0<\/a><\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\">CSS\u30fbWeb\u30c7\u30b6\u30a4\u30f3\u5b9f\u88c5\u306e\u7dcf\u307e\u3068\u3081<\/h2>\n<p class=\"wp-block-paragraph\">CSS\u306e\u5b9f\u88c5\u30c6\u30af\u30cb\u30c3\u30af\u3092\u300c\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u88c5\u98fe\u30fb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u57fa\u790e\u30fb\u30c8\u30e9\u30d6\u30eb\u89e3\u6c7a\u300d\u306e\u76ee\u7684\u5225\u306b\u63a2\u305b\u308b\u7dcf\u307e\u3068\u3081\u30da\u30fc\u30b8\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u88c5\u3067\u8ff7\u3063\u305f\u3068\u304d\u306e\u7d22\u5f15\u3068\u3057\u3066\u3069\u3046\u305e\u3002<\/p>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/withcode.tech\/media\/css-webdesign-technique-map\/\">\u3010CSS\u5b9f\u88c5\u30c6\u30af\u30cb\u30c3\u30af\u5b8c\u5168\u30de\u30c3\u30d7\u3011\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308bWeb\u30c7\u30b6\u30a4\u30f3\u5b9f\u88c5\u30ac\u30a4\u30c9\u7dcf\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\">AI\u30b9\u30ad\u30eb\u3067\u3001\u672a\u6765\u306e\u81ea\u5206\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\uff01<\/h2>\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/s.lmes.jp\/landing-qr\/2010578884-C5To3Fmv?uLand=phzKXf\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" width=\"1254\" height=\"1254\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/07\/withai-cta-banner.jpg\" alt=\"\u4eca\u306a\u3089\u5b8c\u5168\u7121\u6599\u3067AI\u3092\u5b66\u3079\u308b\uff01WithAI\" class=\"wp-image-18841\" style=\"max-width:600px;width:100%;height:auto\" srcset=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/07\/withai-cta-banner.jpg 1254w, https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/07\/withai-cta-banner-768x768.jpg 768w\" sizes=\"(max-width: 1254px) 100vw, 1254px\" \/><\/a><\/figure>\n\n<h3 class=\"wp-block-heading\">\u4eca\u306a\u3089\u5b8c\u5168\u7121\u6599\u3067AI\u3092\u5b66\u3079\u308b\uff01<\/h3>\n\n<ul class=\"wp-block-list\">\n<li><strong>\u52d5\u753b\u3084\u5b9f\u8df5\u3067\u697d\u3057\u304f\u5b66\u3079\u308b<\/strong>\uff1a\u521d\u5fc3\u8005\u3067\u3082\u5b89\u5fc3\u306e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0<\/li>\n<li><strong>\u30b9\u30de\u30db\u30fbPC\u3069\u3061\u3089\u3067\u3082OK<\/strong>\uff1a\u597d\u304d\u306a\u6642\u9593\u306b\u5b66\u7fd2\u3067\u304d\u308b<\/li>\n<li><strong>\u6599\u91d1\u306f\u4e00\u5207\u30ca\u30b7<\/strong>\uff1a<span class=\"swl-marker mark_yellow\">0\u5186\u3067AI\u30b9\u30ad\u30eb\u304c\u8eab\u306b\u3064\u304f<\/span><\/li>\n<\/ul>\n\n<p>\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u9078\u3079\u308b\u300cAI\u526f\u696d\u300d\u300cAI\u8ee2\u8077\u300d\u300cAI\u6d3b\u7528\u300d\u306e3\u30b3\u30fc\u30b9\u3092\u7528\u610f\u3002\u526f\u53ce\u5165\u30fb\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\u30fb\u65e5\u5e38\u306e\u751f\u7523\u6027\u30a2\u30c3\u30d7\u307e\u3067\u3001\u3042\u306a\u305f\u306e\u30b4\u30fc\u30eb\u306b\u5408\u308f\u305b\u3066AI\u3092\u5b66\u3079\u307e\u3059\u3002<\/p>\n\n<p>\u4f1a\u54e1\u767b\u9332\u306f\u30ab\u30f3\u30bf\u30f330\u79d2\u3067\u5b8c\u4e86\u3057\u307e\u3059\u3002\u307e\u305a\u306f\u516c\u5f0fLINE\u304b\u3089\u3001\u7121\u6599\u3067AI\u5b66\u7fd2\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\uff01<\/p>\n\n<div class=\"wp-block-buttons\"><div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/s.lmes.jp\/landing-qr\/2010578884-C5To3Fmv?uLand=phzKXf\" target=\"_blank\" rel=\"noopener noreferrer\" style=\"background-color:#06c755\"><strong>\u516c\u5f0fLINE\u304b\u3089\u5b66\u7fd2\u3092\u30b9\u30bf\u30fc\u30c8<\/strong><\/a><\/div><\/div>\n\n\n<!-- withmedia-faq-schema -->\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u304c\u4ed6\u306e\u8981\u7d20\u306e\u4e0b\u306b\u96a0\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u91cd\u306a\u308a\u9806\u306e\u554f\u984c\u3067\u3059\u3002\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306bz-index\u3092\u6307\u5b9a\u3057\u3001\u89aa\u306b\u3082position\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u56fa\u5b9a\u30d8\u30c3\u30c0\u30fc\u5185\u3067\u4f7f\u3046\u5834\u5408\u306f\u3001\u30d8\u30c3\u30c0\u30fc\u81ea\u4f53\u306ez-index\u3068\u306e\u95a2\u4fc2\u3082\u898b\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u89aa\u8981\u7d20\u306boverflow: hidden\u304c\u3042\u308b\u3068\u5207\u308a\u53d6\u3089\u308c\u308b\u305f\u3081\u3001\u305d\u306e\u6307\u5b9a\u3082\u5916\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30ab\u30fc\u30bd\u30eb\u3092\u5b50\u30e1\u30cb\u30e5\u30fc\u3078\u52d5\u304b\u3059\u9014\u4e2d\u3067\u9589\u3058\u3066\u3057\u307e\u3044\u307e\u3059\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u89aa\u306e\u30ea\u30f3\u30af\u3068\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u9593\u306b\u9699\u9593\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002\u89aa\u306ea\u306b\u4e0b\u65b9\u5411\u306epadding\u3092\u6301\u305f\u305b\u308b\u304b\u3001\u5b50\u30e1\u30cb\u30e5\u30fc\u306b::before\u3067\u900f\u660e\u306a\u5e2f\u3092\u4f5c\u3063\u3066\u9699\u9593\u3092\u57cb\u3081\u3066\u304f\u3060\u3055\u3044\u3002\u52a0\u3048\u3066transition-delay\u30920.15\u79d2\u307b\u3069\u5165\u308c\u308b\u3068\u3001\u4e00\u77ac\u5916\u308c\u3066\u3082\u9589\u3058\u307e\u305b\u3093\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30b9\u30de\u30db\u3067\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u304c\u958b\u304d\u307e\u305b\u3093\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u30bf\u30c3\u30c1\u7aef\u672b\u306b\u306f:hover\u72b6\u614b\u304c\u306a\u3044\u305f\u3081\u3067\u3059\u3002960px\u4ee5\u4e0b\u3067\u306f\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3068label\u306b\u3088\u308b\u958b\u9589\u306b\u5207\u308a\u66ff\u3048\u3001position: static\u3067\u7e26\u306b\u7a4d\u3080\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u578b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u8a18\u4e8b\u306e\u5b8c\u6210\u7248\u306f\u305d\u306e\u5207\u308a\u66ff\u3048\u3092\u542b\u3093\u3067\u3044\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u4f55\u968e\u5c64\u307e\u3067\u4f5c\u3063\u3066\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"2\u968e\u5c64\u307e\u3067\u3092\u63a8\u5968\u3057\u307e\u3059\u30023\u968e\u5c64\u4ee5\u4e0a\u306f\u30ab\u30fc\u30bd\u30eb\u3092\u4fdd\u3063\u305f\u307e\u307e\u79fb\u52d5\u3059\u308b\u64cd\u4f5c\u304c\u96e3\u3057\u304f\u3001\u30b9\u30de\u30db\u3067\u306f\u6df1\u3059\u304e\u3066\u5230\u9054\u3055\u308c\u307e\u305b\u3093\u3002\u9805\u76ee\u304c\u591a\u3044\u5834\u5408\u306f\u3001\u753b\u9762\u5e45\u3044\u3063\u3071\u3044\u306b\u5e83\u3052\u308b\u30e1\u30ac\u30e1\u30cb\u30e5\u30fc\u578b\u306b\u3057\u3066\u30011\u968e\u5c64\u3067\u898b\u6e21\u305b\u308b\u5f62\u306b\u3059\u308b\u307b\u3046\u304c\u6709\u52b9\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CSS\u3060\u3051\u306e\u5b9f\u88c5\u3067\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306f\u5341\u5206\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u30ad\u30fc\u30dc\u30fc\u30c9\u79fb\u52d5\u306f:focus-within\u3067\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u304c\u3001\u958b\u9589\u72b6\u614b\u3092\u793a\u3059aria-expanded\u306e\u66f4\u65b0\u306fCSS\u3067\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u516c\u5171\u30b5\u30a4\u30c8\u306a\u3069\u8981\u4ef6\u304c\u53b3\u3057\u3044\u6848\u4ef6\u3067\u306f\u3001JavaScript\u3067\u72b6\u614b\u5c5e\u6027\u3092\u5207\u308a\u66ff\u3048\u308b\u5b9f\u88c5\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>\u751f\u5f92 \u30b0\u30ed\u30fc\u30d0\u30eb\u30ca\u30d3\u306b\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u3092\u4ed8\u3051\u305f\u3044\u3093\u3067\u3059\u304c\u3001\u30de\u30a6\u30b9\u3092\u96e2\u3059\u3068\u6d88\u3048\u3066\u3057\u307e\u3063\u3066\u9078\u3079\u307e\u305b\u3093\u2026\u3002 \u30da\u30f3\u535a\u58eb \u305d\u308c\u306f\u89aa\u8981\u7d20\u3068\u5b50\u30e1\u30cb\u30e5\u30fc\u306e\u9593\u306b\u9699\u9593\u304c\u3042\u308b\u306e\u304c\u539f\u56e0\u3060\u306d\u3002\u69cb\u9020\u304b\u3089\u9806\u756a\u306b\u4f5c\u308c\u3070\u3001JavaScript\u306a\u3057\u3067\u3082\u5b89\u5b9a\u3057 [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":20497,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"swell_btn_cv_data":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":""},"categories":[34],"tags":[],"class_list":["post-20048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u7530\u4e2d\u8aa0\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/withcode.tech\/media\/css-dropdown-menu\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"WithMedia\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3\" \/>\n\t\t<meta property=\"og:description\" content=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/withcode.tech\/media\/css-dropdown-menu\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-26T00:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-18T11:50:25+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@withcode_tech\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@withcode_tech\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#blogposting\",\"name\":\"\\u30c9\\u30ed\\u30c3\\u30d7\\u30c0\\u30a6\\u30f3\\u30e1\\u30cb\\u30e5\\u30fc\\u306e\\u4f5c\\u308a\\u65b9\\uff5cHTML\\\/CSS\\u3067\\u4f5c\\u308b\\u591a\\u968e\\u5c64\\u30ca\\u30d3\",\"headline\":\"\\u30c9\\u30ed\\u30c3\\u30d7\\u30c0\\u30a6\\u30f3\\u30e1\\u30cb\\u30e5\\u30fc\\u306e\\u4f5c\\u308a\\u65b9\\uff5cHTML\\\/CSS\\u3067\\u4f5c\\u308b\\u591a\\u968e\\u5c64\\u30ca\\u30d3\",\"author\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dropdown-eyecatch.jpg\",\"width\":1672,\"height\":941},\"datePublished\":\"2026-08-26T00:00:00+00:00\",\"dateModified\":\"2026-09-18T11:50:25+00:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#webpage\"},\"articleSection\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/withcode.tech\\\/media\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/#listItem\",\"position\":2,\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\",\"item\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#listItem\",\"name\":\"\\u30c9\\u30ed\\u30c3\\u30d7\\u30c0\\u30a6\\u30f3\\u30e1\\u30cb\\u30e5\\u30fc\\u306e\\u4f5c\\u308a\\u65b9\\uff5cHTML\\\/CSS\\u3067\\u4f5c\\u308b\\u591a\\u968e\\u5c64\\u30ca\\u30d3\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#listItem\",\"position\":3,\"name\":\"\\u30c9\\u30ed\\u30c3\\u30d7\\u30c0\\u30a6\\u30f3\\u30e1\\u30cb\\u30e5\\u30fc\\u306e\\u4f5c\\u308a\\u65b9\\uff5cHTML\\\/CSS\\u3067\\u4f5c\\u308b\\u591a\\u968e\\u5c64\\u30ca\\u30d3\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/programming\\\/#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#organization\",\"name\":\"WithCode\",\"description\":\"\\u6848\\u4ef6\\u7372\\u5f97\\u738798.4\\uff05\\u306eWithGroup\\u304c\\u904b\\u55b6\\u3059\\u308bIT\\u30e1\\u30c7\\u30a3\\u30a2\\u3002\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u30fbAI\\u30fbWeb\\u5236\\u4f5c\\u306e\\u5b66\\u7fd2\\u304b\\u3089\\u526f\\u696d\\u30fb\\u30ad\\u30e3\\u30ea\\u30a2\\u30c1\\u30a7\\u30f3\\u30b8\\u307e\\u3067\\u5b9f\\u8df5\\u7684\\u306a\\u60c5\\u5831\\u3092\\u767a\\u4fe1\\u3002\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/\",\"telephone\":\"+81120526731\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/IMG_4237.png\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#organizationLogo\",\"width\":1000,\"height\":1000},\"image\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/withcode_tech\\\/\",\"https:\\\/\\\/www.instagram.com\\\/withcode_officials\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@withcode_tech\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@withcode8004\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/\",\"name\":\"\\u7530\\u4e2d\\u8aa0\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9f7a6e2c32d8658dcf9941decf32bc52f0dc424014a9ef5b3f92635c3f04ff60?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u7530\\u4e2d\\u8aa0\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#webpage\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/\",\"name\":\"\\u30c9\\u30ed\\u30c3\\u30d7\\u30c0\\u30a6\\u30f3\\u30e1\\u30cb\\u30e5\\u30fc\\u306e\\u4f5c\\u308a\\u65b9\\uff5cHTML\\\/CSS\\u3067\\u4f5c\\u308b\\u591a\\u968e\\u5c64\\u30ca\\u30d3\",\"description\":\"\\u30c9\\u30ed\\u30c3\\u30d7\\u30c0\\u30a6\\u30f3\\u306e\\u57fa\\u672c\\u69cb\\u9020 \\u5165\\u308c\\u5b50\\u306e\\u30ea\\u30b9\\u30c8\\u3067\\u4f5c\\u308a\\u307e\\u3059\\u3002\\u89aa\\u306eli\\u3092\\u57fa\\u6e96\\u306b\\u3057\\u3066\\u3001\\u5b50\\u306eul\\u3092\\u7d76\\u5bfe\\u914d\\u7f6e\\u3059\\u308b\\u306e\\u304c\\u57fa\\u672c\\u5f62\\u3067\\u3059\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/author\\\/tanaka_editor\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dropdown-eyecatch.jpg\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#mainImage\",\"width\":1672,\"height\":941},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/css-dropdown-menu\\\/#mainImage\"},\"datePublished\":\"2026-08-26T00:00:00+00:00\",\"dateModified\":\"2026-09-18T11:50:25+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#website\",\"url\":\"https:\\\/\\\/withcode.tech\\\/media\\\/\",\"name\":\"WithCode Media\",\"description\":\"\\u6848\\u4ef6\\u7372\\u5f97\\u738798.4\\uff05\\u306eWithGroup\\u304c\\u904b\\u55b6\\u3059\\u308bIT\\u30e1\\u30c7\\u30a3\\u30a2\\u3002\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u30fbAI\\u30fbWeb\\u5236\\u4f5c\\u306e\\u5b66\\u7fd2\\u304b\\u3089\\u526f\\u696d\\u30fb\\u30ad\\u30e3\\u30ea\\u30a2\\u30c1\\u30a7\\u30f3\\u30b8\\u307e\\u3067\\u5b9f\\u8df5\\u7684\\u306a\\u60c5\\u5831\\u3092\\u767a\\u4fe1\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/withcode.tech\\\/media\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","description":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059","canonical_url":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#blogposting","name":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","headline":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","author":{"@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author"},"publisher":{"@id":"https:\/\/withcode.tech\/media\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-eyecatch.jpg","width":1672,"height":941},"datePublished":"2026-08-26T00:00:00+00:00","dateModified":"2026-09-18T11:50:25+00:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#webpage"},"isPartOf":{"@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#webpage"},"articleSection":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"},{"@type":"BreadcrumbList","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/withcode.tech\/media\/","nextItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/programming\/#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/programming\/#listItem","position":2,"name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","item":"https:\/\/withcode.tech\/media\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#listItem","name":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3"},"previousItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#listItem","position":3,"name":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","previousItem":{"@type":"ListItem","@id":"https:\/\/withcode.tech\/media\/programming\/#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}}]},{"@type":"Organization","@id":"https:\/\/withcode.tech\/media\/#organization","name":"WithCode","description":"\u6848\u4ef6\u7372\u5f97\u738798.4\uff05\u306eWithGroup\u304c\u904b\u55b6\u3059\u308bIT\u30e1\u30c7\u30a3\u30a2\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fbAI\u30fbWeb\u5236\u4f5c\u306e\u5b66\u7fd2\u304b\u3089\u526f\u696d\u30fb\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\u307e\u3067\u5b9f\u8df5\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3002","url":"https:\/\/withcode.tech\/media\/","telephone":"+81120526731","logo":{"@type":"ImageObject","url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/IMG_4237.png","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#organizationLogo","width":1000,"height":1000},"image":{"@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#organizationLogo"},"sameAs":["https:\/\/twitter.com\/withcode_tech\/","https:\/\/www.instagram.com\/withcode_officials\/","https:\/\/www.tiktok.com\/@withcode_tech\/","https:\/\/www.youtube.com\/@withcode8004\/"]},{"@type":"Person","@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author","url":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/","name":"\u7530\u4e2d\u8aa0","image":{"@type":"ImageObject","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9f7a6e2c32d8658dcf9941decf32bc52f0dc424014a9ef5b3f92635c3f04ff60?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u7530\u4e2d\u8aa0"}},{"@type":"WebPage","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#webpage","url":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/","name":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","description":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059","inLanguage":"ja","isPartOf":{"@id":"https:\/\/withcode.tech\/media\/#website"},"breadcrumb":{"@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#breadcrumblist"},"author":{"@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author"},"creator":{"@id":"https:\/\/withcode.tech\/media\/author\/tanaka_editor\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2026\/09\/dropdown-eyecatch.jpg","@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#mainImage","width":1672,"height":941},"primaryImageOfPage":{"@id":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/#mainImage"},"datePublished":"2026-08-26T00:00:00+00:00","dateModified":"2026-09-18T11:50:25+00:00"},{"@type":"WebSite","@id":"https:\/\/withcode.tech\/media\/#website","url":"https:\/\/withcode.tech\/media\/","name":"WithCode Media","description":"\u6848\u4ef6\u7372\u5f97\u738798.4\uff05\u306eWithGroup\u304c\u904b\u55b6\u3059\u308bIT\u30e1\u30c7\u30a3\u30a2\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fbAI\u30fbWeb\u5236\u4f5c\u306e\u5b66\u7fd2\u304b\u3089\u526f\u696d\u30fb\u30ad\u30e3\u30ea\u30a2\u30c1\u30a7\u30f3\u30b8\u307e\u3067\u5b9f\u8df5\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/withcode.tech\/media\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"WithMedia","og:type":"article","og:title":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","og:description":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059","og:url":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/","og:image":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp","og:image:secure_url":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp","article:published_time":"2026-08-26T00:00:00+00:00","article:modified_time":"2026-09-18T11:50:25+00:00","twitter:card":"summary_large_image","twitter:site":"@withcode_tech","twitter:title":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","twitter:description":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u306e\u57fa\u672c\u69cb\u9020 \u5165\u308c\u5b50\u306e\u30ea\u30b9\u30c8\u3067\u4f5c\u308a\u307e\u3059\u3002\u89aa\u306eli\u3092\u57fa\u6e96\u306b\u3057\u3066\u3001\u5b50\u306eul\u3092\u7d76\u5bfe\u914d\u7f6e\u3059\u308b\u306e\u304c\u57fa\u672c\u5f62\u3067\u3059","twitter:creator":"@withcode_tech","twitter:image":"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/withcode.tech_-scaled.webp"},"aioseo_meta_data":{"post_id":"20048","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-09-01 18:18:14","updated":"2026-09-01 18:18:14","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/withcode.tech\/media\/\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u203a<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/withcode.tech\/media\/programming\/\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u203a<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/withcode.tech\/media\/"},{"label":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/withcode.tech\/media\/programming\/"},{"label":"\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306e\u4f5c\u308a\u65b9\uff5cHTML\/CSS\u3067\u4f5c\u308b\u591a\u968e\u5c64\u30ca\u30d3","link":"https:\/\/withcode.tech\/media\/css-dropdown-menu\/"}],"_links":{"self":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/20048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/comments?post=20048"}],"version-history":[{"count":4,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/20048\/revisions"}],"predecessor-version":[{"id":21108,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/20048\/revisions\/21108"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media\/20497"}],"wp:attachment":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media?parent=20048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/categories?post=20048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/tags?post=20048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}