table{ border: none; border-collapse: collapse; border-spacing: 0px; } .ssfklogo{ width:230px; float:left; } .ssfktopnav{ width:calc(100% - 230px); /*620px;*/ height: 60px; margin-right: 0px; float:left; } .ssfksearch{ clear:both; width:100%; font-size:0.8125rem; } select { appearance: none; -webkit-appearance: none; -moz-appearance: none; outline: none; } #topmenu ul { margin: 0px; list-style-type: none; width: 426px; height: 50px; color: #808080; float: right; margin: -0.25rem 0 0 0; list-style-type: none; } #topmenu ul li{ float: left; width:70px; height:3.5em; border-right: 1px silver solid; text-align: center; } #topmenu ul li:hover{ opacity:0.8; } #topmenu ul li:last-of-type{ border-right:none; } #topmenu ul li a,#topmenu ul li span{ display:block; font-family:Arial, Helvetica, sans-serif; font-size:0.65rem; color:#333; text-decoration:none; font-weight:bold; letter-spacing:-0.02rem; padding-top:0.15rem; line-height:110%; } #topmenu .fb{ color: #348DFA; } #topmenu form input[type=submit] { padding: 0px; margin: 0px; border-style: none; background-color: #FFFFFF; outline: none; } #topmenu form span { padding: 0px; margin: 0em; border-style: none; background-color: #FFFFFF; outline: none; font-size: 0.5em; font-weight: normal; font-style: normal; width: 98%; text-align: center; text-indent: 0.5em; background-color:aqua; } .ssfksearch select{ float:left; background: #F1DA36; color: #4d4d4d; border:none; border-color: #F1DA36; width: 200px; padding-left:1rem; height:30px; background-position: 175px; background-size: 13px 13px; background-image: url('../svg/icon/arrow_under.svg'); background-repeat: no-repeat; border-radius: 4px; } .ssfksearch option{ background-color:#fff; } .search_container { position: relative; box-sizing: border-box; border: 2px solid #F1DA36; padding: 3px 10px; border-radius: 3px; height: 2.2em; width:calc(100% - 205px); /* 645px;*/ overflow: hidden; display: block; float: left; margin-right: 0px; margin-left: 3px; font-size:0.875rem; } .search_container input[type=text] { border: none; font-size: 1.2em; } .search_container input[type=text]:focus { outline: 0; } .search_container input[type=submit]{ background-position: 2.0em center; background-size: 14px 14px; cursor: pointer; border: none; background-color: #F1DA36; color: #4d4d4d; position: absolute; width: 10.425em; height: 3.0em; right: 0px; top: -6px; outline : none; background-image: url('../svg/icon/search.svg'); background-repeat: no-repeat; } .btn-border-bottom { margin: 0px auto 0px auto; position: relative; display: block; font-weight: bold; padding-top: 0.25em; padding-bottom: 0.25em; text-decoration: none; color: #333134; font-family: Arial, Helvetica, "sans-serif"; } .btn-border-bottom:before { position: absolute; content: ''; width: 116px; height: 4px; top: 100%; left: 0; margin:0 0.4em; border-radius: 3px; background: #767778; transition: .2s; } .act:before { position: absolute; content: ''; width: 116px; height: 4px; top: 100%; left: 0; margin:0 0.4em; border-radius: 3px; background: #000; transition: .2s; } /*********************************/ /**** 横並びトップメニュー ****/ #topmenu2{ clear:both; width:100%; font-family: Arial, Helvetica, sans-serif; margin-bottom: 1em; font-size:0.8125rem; margin-top:3em; } #topmenu2 > ul{ list-style-type: none; padding: 0; display: flex; flex-wrap: wrap; box-sizing: border-box; justify-content: space-between; width: 100%; margin: 0; height:35px; } #topmenu2 > ul > li{ width:calc(100% / 8); position: relative; height:35px; border:initial; text-align: center; z-index:4; } #topmenu2 > ul > li a{ display:block; padding:10px 0; color:#333; text-decoration:none; font-weight:bold; } #topmenu2 > ul > li > a::before { position: absolute; content: ''; width:105%; height: 4px; top: 100%; left: -7%; margin:0 0.4em; border-radius: 3px; background: #767778; transition: .2s; } #topmenu2 > ul > li > a:hover::before{ top: -webkit-calc(100% - 3px); top: calc(100% - 3px); } #topmenu2 > ul > li > a.act::before,#topmenu2 > ul > li > a:hover::before{ background: #000; } #topmenu2 > ul > li:hover ul{ /*** マウスホバーで表示 ***/ height:100%; opacity:1; overflow:visible; } /*** 2階層目↓ ***/ #topmenu2 > ul > li > ul{ /*** 最初は非表示 ***/ height:0; opacity:0; overflow:hidden; padding:0; transition: .5s; } #topmenu2 > ul > li > ul > li{ width:185%; background-color:rgba(255,255,255,0.95); border:1px silver solid; border-top:none; } #topmenu2 > ul > li > ul > li a{ display:block; text-align:left; padding:10px; } /*** 2階層目 ↑***/ /*********************************/ .header-obi{ clear:both; width:100%; height:42px; margin-bottom:5px; background-color:#F1DA36; } .header-obi h3{ margin:0 0 0 220px; color:#fff; font-size:1.4em; text-shadow:2px 2px 3px #BBAD06; font-weight:bold; height:42px; line-height:42px; } .catename{ margin-left:243px; color:#ffc; font-size:1.6em; text-shadow:2px 2px 3px #BBAD06; font-weight:bold; }