@charset "UTF-8"; /* LESS Document */ /* 変数ファイルインポート */ @import "variable.less"; .keyFrame{ transition: @keyFrame; } .opacity{ opacity: 0.8; } .link{ .keyFrame } /* トップページ */ header{ background-image: url("../image/bg.png"), url("../image/topimage.jpg"); background-size: auto, cover; background-position: top; height:auto; width:100%; .container{ max-width: @keyWidth; padding-top:0; padding-bottom:0; #hlogo{ margin: auto; display: flex; flex-wrap: wrap; align-items: flex-start; padding-top:10rem; padding-bottom:4rem; img{ max-width:100%; height: auto; } h2{ flex-basis: 20%; padding-right:3rem; padding-top:1.2rem; padding-bottom:1.2rem; border-right:1px solid #ffffff; img{ width:100%; } } h1{ flex-basis: 40%; padding-left:2rem; } } nav{ position:absolute; top:0; right:30px; margin:auto; a:link{ } a:link, a:visited{ display: inline-block; background-color: #fff; text-decoration: none; padding:8px; padding-left: 20px; padding-right: 20px; padding-bottom:10px; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; line-height: 2; color:#661381; font-weight: 500; .keyFrame; border:3px solid @bgColor; border-top:0; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); } a:hover, a:active{ .opacity; } a.btn_contact:link{ margin-left:10px; padding-left: 45px; background-repeat: no-repeat; background-image: url("../image/mail.svg"); background-size: 25px auto; background-position: left 15px center; } } } } /* タブメニュー */ #tabmenu{ margin-bottom:1.5rem; ul{ display: flex; flex-wrap: nowrap; justify-content: space-around; align-items: flex-end; font-weight: 500; position:relative; li{ line-height:52px; background-color:#eaedf0; flex-basis:100%; text-align: center; color: #000; border-top:3px solid #fff; border-bottom:3px solid #fff; cursor: pointer; .keyFrame; border-top-left-radius: 5px; border-top-right-radius: 5px; } li + li{ margin-left:3px; } li:hover, .active{ color:#fff; } .active:after{ content: ""; position:absolute; width:100%; height:1px; bottom:-1px; left:0; margin: auto; } #tab_all.active{ background:@keyColor; border-bottom:3px solid @keyColor; } #tab_all:hover, #tab_all.active:after{ background-color:@keyColor; } #tab_it.active{ background:@itColor; border-bottom:3px solid @itColor; } #tab_it:hover, #tab_it.active:after{ background-color:@itColor; } #tab_doc.active{ background:@docColor; border-bottom:3px solid @docColor; } #tab_doc:hover, #tab_doc.active:after{ background-color:@docColor; } #tab_sec.active{ background:@secColor; border-bottom:3px solid @secColor; } #tab_sec:hover, #tab_sec.active:after{ background-color:@secColor; } #tab_other.active{ background:@otherColor; border-bottom:3px solid @otherColor; } #tab_other:hover, #tab_other.active:after{ background-color:@otherColor; } } } /* メニューリスト切り替え */ #show_wrap{ } .menu_list{ display: none; } .menu_list.show{ display: flex; animation: show 0.2s linear 0s; } @keyframes show{ 0%{ opacity: 0; } 100%{ opacity: 1; } } .menu_list{ ul{ margin-bottom:3rem; li{ border-bottom:1px solid #ccc; display: flex; flex-wrap: wrap; padding:1rem 1rem; line-height: 2; .keyFrame; .date{ flex-basis: 115px; } .cat{ flex-basis: 170px; position: relative; .tag{ font-size: 0.9rem; margin: auto; position: absolute; top:0; bottom:0;} } .subject{ } } li:hover{ background-color:@bgColor; } a:hover,a:active{ text-decoration: none; } } } /* 下層ページ */ #page{ header{ color:#fff; background-image: url("../image/page_bg1.png"), url("../image/page_bg2.png"); background-size: contain,cover; background-position: top right ,left; background-repeat: no-repeat , no-repeat; height:auto; width:100%; #hlogo{ padding-top: 5rem; padding-bottom: 2rem; align-items: center; flex-wrap: wrap; h2{ flex-basis: 100px; border:0; padding-right: 40px; } h1{ flex-basis: inherit; font-size: 2.4rem; font-weight: 600; padding-left: 0px; } } } } /* ブログ */ #main{ article + article{ margin-top:6.5rem; padding-top:6rem; border-top:1px solid #888; } .date, .tag { display: inline-block; margin-right:1em; margin-top:0; } .date{ font-size: 1.1rem; position: relative; top:2px; } h2{ font-size: 1.75rem; font-weight: 500; color: #000; margin-top:1.5rem; border-bottom:3px solid @bgColor; padding-bottom:0.5em; margin-bottom:2.5rem; } } /* サイドバー */ .sidebar { h6{ border:3px solid @bgColor; font-weight: 600; margin-bottom:1em; background-color: @bgColor; color:#000; padding:13px 20px; line-height: 1; border-top-left-radius: 5px; border-top-right-radius: 5px; margin-bottom:0; } nav{ border:3px solid @bgColor; border-top:0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; padding:20px 20px; padding-top:0px; margin-top:0; margin-bottom:1.5rem; background-color:#fff; section{ padding-bottom:1rem; border-bottom:2px dotted @bgColor; position: relative; padding-top:1rem; padding-right:10px; } section::before{ .keyFrame; content: ""; position: absolute; display: block; width: 7px; height: 7px; margin: auto; border-top: 2px solid @linkColor; border-right: 2px solid @linkColor; -webkit-transform: rotate(45deg); transform: rotate(45deg); top: 0; bottom:0; right: 1px; opacity:0; } section:hover::before{ opacity:1; } p{ margin-top:0; margin-bottom:0.1rem; font-size:0.95rem; } .subject{ } a,a:hover,a:active{ text-decoration: none; } .link:hover{ .opacity; } } .sidelist{ margin-bottom:0; padding:0px; li{ a{ padding:10px 20px; display: block; border-bottom:1px solid @bgColor; } a:hover,a:active{ padding-left:25px; border-bottom:1px solid @linkColor; } } } } .side_btn{ font-size: 0.9rem; background-color:@linkColor; display: block; line-height: 1; padding-top:6px; padding-bottom:10px; text-align: center; border-radius: 3px; color:#fff; } .side_btn:link, .side_btn:visited, .side_btn:hover, .side_btn:active{ color:#fff; text-decoration: none; } .side_btn:hover, .side_btn:active{ .opacity; } /* お問い合わせ */ #contact { .box{ width:100%; box-sizing: border-box; height:240px; overflow-y: scroll; margin-bottom:2rem; padding:1em; border: 1px solid #ccc; } h4{ font-family: inherit; font-size:18px; margin-bottom:2em; font-weight: 600; text-align: center; border:2px solid #ccc; padding:1em 0.5em ; background:#f5f5f5; } p{ margin-bottom:2em; } article{ font-size: 90%; } ul margin-bottom:2em; li{ list-style-type:disc; margin-top:2em; margin-bottom:2em; margin-left:20px; ul{ margin-bottom:3em; li{ list-style-type:disc; margin-bottom:1em; li{ list-style-type:disc; } } } ul.listDecimal{ li{ list-style-type:decimal; } } } .b{ display: inline-block; font-weight: 600; padding-bottom:0.5em; } .agreement_wrap { background: #f3f3f3; border-radius: 5px; display: block; padding: 10px 15px; margin: auto; padding:1em; margin-bottom:3em; text-align: center; } } .contactform { div{ margin-bottom:1.5em; } .product,.detail{ background:#f3f3f3; border-radius:5px; display: block; padding: 10px 15px; margin:auto; } .wpcf7-list-item{ margin:0; margin-right:30px; } input[type="text"] ,input[type="email"], input[type="tel"] , textarea{ font-size:16px; border-radius:5px; padding:8px 12px; border: 2px solid #ccc; background:#f3f3f3; box-sizing: border-box; width: 100%; } .required_wrap{ input[type="text"] ,input[type="email"], input[type="tel"]{ background:#fdf2f2; } } textarea{ line-height:1.5; } } .required,.multiple{ color:#fff; display: inline-block; padding:5px 5px; line-height: 1; border-radius:5px; font-size:80%; position: relative; bottom:1px; } .required{ background:#FF2121; } .multiple{ background:#B99C31; } .wpcf7-response-output{ margin: auto !important; margin-bottom:2.75em !important; padding:10px 15px !important; text-align: center; font-weight: 500; color:red; border-radius: 5px; background: #ffee48; } #submit{ background:@keyColor; color:#fff; border:none; cursor: pointer; width:380px; line-height: 70px; font-size: 18px; } #submit:hover{ opacity: 0.8; } #submit:hover::before{ display: none; } #company section + section { margin-top: 6rem; } #company{ h2{ } b{ display: block; color:#000; margin-bottom:.5em; font-size: 1.1rem; } .map{ margin-top:2em; max-width:100%; width:100%; } } #name dl dt { font-size: 26px; font-weight: 600; font-style: italic; color: #000; } #name dl dd { margin-bottom:1em; } #name dl span { color: @keyColor; } dl.table{ display: flex; flex-wrap: wrap; dt, dd{ padding:1em 1.5em; box-sizing: border-box; } dt{ border-bottom:1px solid #ca0012; font-weight: 600; flex-basis: 30%; } dd{ border-bottom:1px solid #ccc; flex-basis: 70%; } } .sax_wrap { background-color: @bgColor; padding: 30px; margin-top: 30px; } #philosophy .sax_wrap :first-child { margin-top: 0px; } #philosophy .sax_wrap dt { font-size: 1.5rem; line-height: 1.8; font-weight: 500; color: @keyColor; } #philosophy .sax_wrap dd { font-size: 1.5rem; color:#000; } #page dd { text-align: justify; } .pagenav{ background-color: @bgColor; margin-bottom:5em; ul{ display: flex; flex-wrap: nowrap; padding:0 0; li { width:100%; a{ display: inline-block; padding:15px 0px; width:100%; box-sizing: border-box; position: relative; text-align: center; } a:link{ color:@linkColor; } a:hover{ background-color: @linkColor; color: #fff; text-decoration: none; } a::before{ position: relative; content:""; width:6px; height: 6px; border-right:2px solid @linkColor; border-bottom:2px solid @linkColor; display: inline-block; transform: rotate(45deg); right:10px; bottom:4px; margin:auto; .keyFrame; } a:hover::before{ border-right:2px solid #fff; border-bottom:2px solid #fff; } } li + li{ border-left:1px solid #fff; } } } /* プライバシーポリシー */ #privacy { section + section{ margin-top:6rem; } p{ margin-bottom:1em; } ul { list-style-type:decimal; list-style-position: outside; margin-top:2em; margin-bottom:2em; padding-left:1.5em; li{ margin-top:1em; ul{ list-style-type:circle; list-style-position: outside; margin-top:2em; margin-bottom:2em; padding-left:1.5em; } ul.listDecimal{ list-style-type:decimal; } } } article ul:last-child { margin-bottom:0; } table{ margin-top:1em; margin-bottom:1em; td{ padding:1em; border-bottom: 1px solid #ccc; vertical-align: top; } td + td{ border-left: 1px solid #ccc; } } }