@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* Reset
--------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  outline: none;
}

img {
  vertical-align: bottom;
}

/* --------------------------------------------- */


body {
  font-family: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 15px;
  line-height: 1.6em;
  color: #000;
  -webkit-text-size-adjust: none;
}

strong {
  font-weight: bold;
}

a:link,
a:visited {
  color: #000;
  text-decoration: none
}

a:hover,
a:active {
  color: #231815;
  text-decoration: underline
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 1em;
}

table tr td,
table tr th {

  padding: 3px 6px;
}

.wrapper {
  width: 1024px;
  margin: 0 auto;
  position: relative;
}

.navi {
  width: 100%;
}

#header {
  width: 1024px;
  margin: 0 auto;
  padding: 20px 0;
}

#header .logo {
  width: 446px;
  float: left;
}

#header .link {
  float: right;
}

#header .link a {
  display: inline-block;
  background: #804f1b;
  color: #fff;
  font-weight: bold;
  padding: 6px 16px;
  font-size: 16px;
  margin: 5px 0 10px 15px;
  transition: .2s ease-out;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 2px solid #804f1b;
}

#header .link a.adjoin {
  background: #111;
  border: 2px solid #111;
}

#header .link a:hover {
  text-decoration: none;
}

#header .link a::before,
#header .link a::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

#header .link a,
#header .link a::before,
#header .link a::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

#header .link a:hover {
  color: #804f1b;
  background: #fff;
}

#header .link a.adjoin:hover {
  color: #111;
}

#header .link a::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#header .link a:hover::after {
  -webkit-transform: scale(2) rotate(180deg);
  transform: scale(2) rotate(180deg);
  background: #fff;
}

nav {
  margin: 0 auto;
  position: relative;
  background: #fff;
  border-top: 1px solid #ddd;
}

#navi {
  clear: both;
  width: 1024px;
  margin: 0 auto;
}


#navi ul li {
  display: block;
  float: left;
  position: relative;
  width: 10.4%;
  text-align: center;
}

#navi ul li.home {
  width: 6.2%;
}

#navi ul li:last-child {
  border: none;
}

#navi ul li a {
  display: block;
  color: #000;
  background: #fff;
  padding: 18px 0 15px;
  font-weight: bold;
  position: relative;
  transition: .2s ease-out;
}

#navi ul.dl-menu>li>a {
  position: relative;
  text-decoration: none;
}

#navi ul.dl-menu>li>a:hover {
  color: #231815;
}

#navi ul.dl-menu>li>a::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  content: '';
  width: 100%;
  height: 4px;
  background: #231815;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

#navi ul.dl-menu>li>a:hover::after {
  bottom: 0px;
  opacity: 1;
  visibility: visible;
}

#navi ul.dl-menu>li.nv1>a:after,
#navi ul.dl-menu>li.nv5>a:after {
  content: "\f107";
  font-family: "FontAwesome";
  font-size: 13px;
  line-height: 13px;
  color: #ccc;
  margin-left: 5px;
}

#navi ul.dl-menu>li.nv1>a.active:after,
#navi ul.dl-menu>li.nv5>a.active:after {
  color: #fff;
}

#navi ul.dl-menu>li.nv1>a:hover:after,
#navi ul.dl-menu>li.nv5>a:hover:after {
  color: #fff;
}

#navi ul li a.active {
  background: #231815;
  color: #fff;
  text-decoration: none;
}

#navi ul li a.active:hover {
  color: #fff;
}

#navi li ul {
  display: none;
  position: absolute;
  top: 56px;
  left: -10%;
  padding: 0;
  width: 120%;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#navi li ul li {
  float: none;
  margin: 0;
  border: none;
  width: 100%;
  display: block;
}

#navi li ul li a {
  display: block;
  text-indent: 0;
  background: #fff;
  padding: 6px 0;
  height: auto;
  font-size: 12px;
}

#navi li ul li a:hover {
  color: #231815;
  text-decoration: none;
}

#navi li ul li a {
  position: relative;
  display: block;
  text-decoration: none;
}

#navi li ul li a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #231815;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

#navi li ul li a:hover::after {
  transform: scale(1, 1);
}

.fixed {
  position: fixed !important;
  width: 100%;
  top: -5px;
  z-index: 900 !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}


#main {
  margin: 0 auto 20px;
  width: 1024px;
  clear: both;
  background: #fff;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #fff;
  border-radius: 5px;
}

#main h2 {
  font-size: 24px;
  margin-bottom: 24px;
  line-height: 1.5;
  font-family: "Noto Sans Japanese", "游ゴシック Bold", "Yu Gothic Bold", "游ゴシック体", YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: bold;
}

#main h2 i {
  color: #804f1b;
}

#main h2 a {
  font-size: 16px;
  display: inline-block;
  float: right;
}

#main h3 {
  font-weight: bold;
}

#main p {
  margin-bottom: 1em;
}

#main img {
  max-width: 100%;
}

/*-------------------------FOOTER-----------------------*/


.social div {
  float: left;
}

.fb_iframe_widget>span {
  vertical-align: baseline !important;
  height: 20px !important;
}

footer {
  background: #fff;
}

#social {
  margin-bottom: 20px;
}

#social ul {
  list-style: none;
  margin: 0;
}

#social ul li {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  vertical-align: bottom;
  overflow: hidden;
  line-height: 1;
}

#social ul li:last-child {
  margin-right: 0;
}

.fb_iframe_widget>span {
  vertical-align: baseline !important;
}

#profile {
  position: relative;
  width: 100%;
  padding: 25px 0;
  background: #f3f3f3;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #ddd;
}

#profile table td {
  text-align: center;
}

#profile i {
  color: #231815;
}

#info {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 25px 0;
}

#info h3 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

#footerWrapper {
  border-top: 1px solid #ddd;
  padding: 30px 0 60px;
  text-align: center;
}

.copyright {
  font-size: 13px;
}

.sns {
  display: none;
}

.aligncenter {
  text-align: center
}

#footerNavi {
  padding: 15px 5px;
  text-align: center;
  border-top: 1px solid #ddd;
}

#footerNavi ul li {
  display: inline-block;
  margin-right: 20px;
}

#footerNavi ul li a {
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
}

#footerNavi ul li a i {
  color: #231815;
}

#footerNavi ul li a:hover {
  text-decoration: underline;
}

#side {
  width: 32px;
  position: fixed;
  right: 0;
  top: 150px;
  z-index: 300;
}

#side li {
 border-top: 1px solid #fff;
 border-left: 1px solid #fff;
 border-bottom: 1px solid #fff;
 margin-top: -1px;
}

#side li img {
  max-width: 100%;
}

#side .link-oc a,
#side .link-re a {
  display: block;
  background: #804f1b;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 15px 9px;
  line-height: 1;
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  text-align: center;
  max-height: 160px;
}

#side .link-oc a:hover,
#side .link-re a:hover {
  text-decoration: none;
  opacity: 0.8;
}

#side .link-oc a:before {
  font-family: "FontAwesome";
  content: "\f0c4";
  font-weight: normal;
  margin-bottom: 5px;
}

#side .link-re a:before {
  font-family: "FontAwesome";
  content: "\f0f6";
  font-weight: normal;
  margin-bottom: 5px;
}

#pagetop {
  clear: both;
  width: 30px;
  position: fixed;
  margin: 0 0 0;
  right: 20px;
  bottom: 20px;
}

#pagetop a {
  display: block;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  padding: 3px 0;
}

.caution {
  padding-left: 1em;
  text-indent: -1em;
}

.pcNone {
  display: none;
}

.spNone {
  display: block;
}

.m0 {
  margin-bottom: 0 !important;
}

.m10 {
  margin-bottom: 10px !important;
}

.m20 {
  margin-bottom: 20px !important;
}

.m30 {
  margin-bottom: 30px !important;
}

.m40 {
  margin-bottom: 40px !important;
}

.m60 {
  margin-bottom: 60px !important;
}

.m80 {
  margin-bottom: 60px !important;
}

/* Clearing Floats
--------------------------------------------- */
.clear {
  clear: both;

}

.block:after,
.clearfix:after {
  clear: both;
  content: ' ';
  display: block;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
  width: 0;
  height: 0
}

#kens-web-copyrights {
  display: none
}

.simplebox {
  cursor: pointer;
}

/* --- Smartphones and small Tablet PCs --- */
@media screen and (max-width : 767px) {
  body {}

  .wrapper {
    width: auto;
  }

  #header {
    width: auto;
    margin: 0 auto;
    padding: 15px 10px;
    height: 30px;
  }

  #header .logo {
    width: 256px;
    float: left;
    margin: 0 auto;
  }

  #header .link {
    display: none;
  }

  #header .logo img,
  #header .tel img {
    max-width: 100%;
  }

  #header .project {
    width: 45%;
    float: right;
    margin-left: 0;
  }

  #header .project img {
    width: 100%;
  }

  #header .headerNavi {
    display: none;
  }

  nav {
    width: 100%;
    margin: 0 auto 20px;
    padding: 0;
    position: absolute;
    top: 0px;
  }

  #navi {
    clear: both;
    width: auto;
    margin: 0 auto;
    padding: 0;
  }

  #navi ul li.home {
    width: auto;
  }

  #navi ul li {
    display: block;
    float: none;
    position: relative;
    width: auto;
  }

  #navi ul li:last-child {
    border: none;
  }

  #navi ul li a {
    display: block;
    text-indent: 0;
    overflow: hidden;
    height: auto;
    color: #fff;
    background: #231815;
    font-size: 16px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);

  }

  #navi ul li a:after {
    content: "\f105";
    font-family: "FontAwesome";
    color: #fff;
    display: block;
    position: absolute;
    left: 95%;
    top: 20%;
    text-align: right;
    font-size: 11px;
  }

  #navi ul.dl-menu>li.nv1>a:after,
  #navi ul.dl-menu>li.nv5>a:after {
    line-height: 18px;
    color: #fff;
    position: absolute;
    left: 95%;
    top: 20%;
    margin-left: 0;
  }

  #navi ul.dl-menu>li>a {

    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  #navi ul.dl-menu>li>a:after {
    content: "\f105";
    color: #fff;
  }

  #navi ul li a:hover {
    text-decoration: none;
  }

  #navi ul li.nv0,
  #navi ul li.nv1,
  #navi ul li.nv2,
  #navi ul li.nv3,
  #navi ul li.nv4,
  #navi ul li.nv5,
  #navi ul li.nv6 {
    width: auto;
  }

  #navi li ul {
    display: block;
    position: static;
    top: 50px;
    left: 0px;
    padding: 0;
    width: auto;
    background: #231815;
    z-index: auto;
    border-radius: 0;
  }

  #navi li ul li {
    float: none;
    margin: 0;
    width: auto;
    border: none;
    padding: 0;
  }

  #navi li ul li a {
    display: block;
    overflow: auto;
    text-indent: 0;
    position: relative;
    padding: 12px 30px;
    height: auto;
    font-size: 14px;
    background: #231815;
  }

  /*-----footer----*/
  #footerWrapper {
    width: auto;
    margin: 0 auto;
    padding: 15px 0 60px;
  }

  #profile {
    padding: 30px 15px;
    box-sizing: border-box;
  }

  #profile table td {
    display: inline-block;
    padding: 5px;
    width: 50%;
    box-sizing: border-box;
  }

  #profile table td img {
    max-width: 100%;
  }

  .copyright {
    width: auto;
    float: none;
    font-size: 11px;
    text-align: center;
  }

  .sns {
    display: block;
    margin-bottom: 5px;
  }

  .sns li {
    display: inline-block;
  }

  .sns li img {
    width: 48px;
  }

  #pagetop {
    display: none;
    clear: both;
    width: 8%;
    position: fixed;
    margin: 0 0 0;
    right: 0;
    bottom: 0;
  }

  #pagetop a {
    display: block;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 12px;
    line-height: 1;
  }

  #side {
    width: 100%;
    position: fixed;
    right: auto;
    top: auto;
    left: 0;
    bottom: 0;
    z-index: 300;
  }

  #side ul {
    display: flex;
  }

	#side li {
	 border-top: 1px solid #fff;
	 border-left: 1px solid #fff;
	 border-right: 1px solid #fff;
	 border-bottom: none;
	 margin-top: 0;
	 margin-left: -1px;
 display:flex;
 align-items: stretch;
	}

  #side li img {
    max-width: 100%;
  vertical-align: bottom;
  }

  #side .link-oc,
  #side .link-re {
    background: #231815;
  }

  #side .link-oc a,
  #side .link-re a {
    display: block;
    background: #231815;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 0;
    writing-mode: horizontal-tb;
    text-align: center;
  width: 100%;
  display: flex;
      justify-content: center;
      align-items: center;
  }


  #side .link-oc a:before {
    font-family: "FontAwesome";
    content: "\f0f5";
    font-weight: normal;
    margin-bottom: 0;
    margin-right: 5px;
  }

  #side .link-re a:before {
    font-family: "FontAwesome";
    content: "\f0f6";
    font-weight: normal;
    margin-bottom: 0;
    margin-right: 5px;
  }

  #side li.icon {
    width: 11%;
  }

  #side li.link-re {
    width: 26%;
  }

  #side li.link-oc {
    width: 41%;
  }

  .pcNone {
    display: block;
  }

  .spNone {
    display: none;
  }
}