@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-weight: normal;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}

/*================================================
 *  一般・共通設定
 ================================================*/
@font-face {
  font-family: 'Roboto';
  font-weight: normal;
  src: url('/static/font/Roboto-Regular.ttf');
}
@font-face {
  font-family: 'Roboto';
  font-weight: bold;
  src: url('/static/font/Roboto-Bold.ttf');
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('/static/font/RobotoMono-Regular.ttf');
}
@font-face {
  font-family: 'Roboto Mono';
  font-weight: bold;
  src: url('/static/font/RobotoMono-Bold.ttf');
}

a {
  color: #00802b;
}

a:hover {
  color: #cc0000;
}

h2 {
  margin-bottom: 0.5em;
  font-size: 175%;
  font-weight: bold;
  padding: 5px 0px 10px 5px;
  border-bottom: 3px solid #00802b;
  border-left: 10px solid #cc0000;
}

h3 {
  margin-bottom: 0.25em;
  padding: 5px;
  font-size: 125%;
  font-weight: bold;
  border-left: 5px solid #cc0000;
  border-bottom: 1px solid #00802b;
  /*background:#eee;*/
}

h4 {
  margin: 0.25em 0em;
  font-size: 125%;
  font-weight: bold;
  color: #00802b;
}

h5 {
  margin-bottom: 0.25em;
  padding: 5px;
  font-size: 125%;
  font-weight: bold;
  border-left: 5px solid #cc0000;
  /*background:#eee;*/
}

h6 {
  margin-bottom: 0.25em;
  color: #382400;
  /*font-size:14px;*/
  font-weight: bold;
}

p {
  margin: 0 0 0.5em 0;
}

img {
  vertical-align: bottom;
}

em {
  font-weight: bold;
}

strong {
  font-weight: bold;
  color: #d45451;
}

pre {
  padding: 1em;
  font-family: 'Roboto Mono';
}

blockquote {
  margin-bottom: 1em;
  padding: 1em;
  border: 1px dotted #ddd;
  border-left: 5px solid #ddd;
}

ul,
ol,
dl {
  margin: 0 0 1em 0;
}

ul li {
  list-style: disc;
}

ol li {
  list-style: decimal;
}

li {
  margin-left: 2em;
}

dt {
  margin-bottom: 0.5em;
  border-bottom: 1px dotted #ddd;
}

dt:before {
  content: '\0025a0';
}

dd {
  margin-bottom: 1em;
}

table {
  width: 100%;
  margin-bottom: 1em;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

th {
  vertical-align: middle;
  border: 1px solid #ddd;
  background: rgb(212, 255, 212);
  font-weight: bold;
}

td {
  border: 1px solid #ddd;
}

body {
  font-family: 'Roboto', 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic',
    sans-serif;
  color: #360000;
  background-color: #f4f4f4;
  margin: 0;
}

header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ccc;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;

  img {
    width: 100%;
  }
}

.logo-title {
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
}

.logo-subtitle {
  font-size: 0.8rem;
}

.header-menu {
  display: flex;
  align-items: center;

  a {
    text-decoration: none;
    color: #333;
  }

  .separator {
    height: 20px;
    border-left: solid 1px #333;
    margin: 1rem;
  }
}

.lang-switch {
  .lang-switch-option {
    .lang-btn {
      width: 6rem;
      height: 2rem;
      margin: 0 0.5rem;
      color: #4d3200;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 20px;
      background: #eee;
      background-size: 16px;
      cursor: pointer;

      &.active {
        background: #e0f4b6;
        border: 2px solid #b2d235;
        cursor: default;
        pointer-events: none;
      }

      &:hover {
        background: #e0f4b6;
        border: 2px solid #b2d235;
        opacity: 0.8;
      }
    }
  }
}

#contents {
  position: relative;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
  border: 1px dotted #ccc;
}

#main {
  box-sizing: border-box;
  width: 100%;
  padding: 2rem;
  background-color: #fff;
}

footer {
  width: 100%;
  margin: 0 auto;
}

/*================================================
 *  フッター
 ================================================*/
footer {
  clear: both;
}

.footmenu {
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
  /*background:#23292f;*/
}
.footmenu ul {
  position: relative;
  float: left;
  left: 50%;
  margin: 0;
  padding: 0;
}
.footmenu li {
  position: relative;
  left: -50%;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0 20px;
  font-size: 80%;
  text-align: center;
}
.footmenu a {
  text-decoration: none;
}
.footmenu a:hover {
  color: #09432f;
}

.copyright {
  clear: both;
  padding: 10px 0;
  font-size: 80%;
  text-align: center;
  color: #333e48;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
.totop a {
  display: block;
  text-decoration: none;
}
.totop img {
  background: #00802b;
}
.totop img:hover {
  background: #00b33c;
}

/*================================================
 *  クラス
 ================================================*/
.textL {
  text-align: left;
}

.textR {
  text-align: right;
}

.list {
  /*padding:0 0 0 0.5em;*/
}
.list li {
  position: relative;
  padding-left: 20px;
}
.list li:before {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: 2px;
  height: 0;
  width: 0;
  border-top: 6px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #cc0000;
}

.info dt {
  border-bottom: none;
  margin: 10px 0px 10px 0px;
}
.info dd {
  padding: 3px 15px;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #ddd;
}

.service {
  overflow: hidden;
}
.service ul {
  overflow: hidden;
  margin: 1.492% -1.492% 0 0;
}
.service li {
  list-style: none;
  float: left;
  width: 18.507%;
  margin: 0 1.492% 1.492% 0;
}
.service li img {
  width: 100%;
}

.staff {
  overflow: hidden;
}

.staff ul {
  overflow: hidden;
  margin: 1.492% -1.492% 0 0;
}
.staff li {
  list-style: none;
  float: left;
  /*width:31.840%;*/
  margin: 0 1.492% 1.492% 0;
}
.staff li:nth-child(3n + 1) {
  clear: both;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
  position: relative;
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
}

.slideInner {
  list-style: none;
  margin: 0 0 5px 0;
  padding: 0;
}
.slideInner li {
  position: absolute;
  width: 100%;
  background: #fbfbfb;
  margin: 0;
  padding: 0;
}
.slideInner li img {
  width: 100%;
}

.slidePrev {
  position: absolute;
  display: block;
  width: 50px;
  height: 60px;
  left: 0;
  cursor: pointer;
  z-index: 100;
}

.slideNext {
  position: absolute;
  display: block;
  width: 50px;
  height: 60px;
  right: 0;
  cursor: pointer;
  z-index: 100;
}

.controlNav {
  position: relative;
  float: left;
  left: 50%;
}
.controlNav span {
  position: relative;
  left: -50%;
  float: left;
  margin: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  width: 10px;
  height: 10px;
  overflow: hidden;
  background: #ddd;
  text-indent: -9999px;
  vertical-align: middle;
}
.controlNav span:hover {
  background: #ccc;
  cursor: pointer;
}
.controlNav span.current {
  background: #85d1c6;
}

/*================================================
 *  タブレット向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width: 979px) {
  #contents {
    box-sizing: border-box;
    width: 100%;
  }

  footer {
    width: 100%;
  }
}

/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width: 800px) {
  #main {
    float: none;
    width: 100%;
  }

  #sub {
    float: none;
    width: 100%;
  }
  nav {
    display: block;
    position: relative;
    width: 100%;
  }
  nav h3 {
    display: block;
    cursor: pointer;
    margin-bottom: 0;
    padding: 10px;
    color: #ddd;
    background: #181d21;
    border: none;
  }
  nav li a {
    padding: 10px 30px;
  }

  #navBtn {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 5%;
    background: #2a2a2a;
  }
  #navBtnIcon {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #00802b;
    transition: 0.2s;
  }
  #navBtnIcon:before,
  #navBtnIcon:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 2px;
    background: #00802b;
    transition: 0.3s;
  }
  #navBtnIcon:before {
    margin-top: -6px;
  }
  #navBtnIcon:after {
    margin-top: 4px;
  }
  #navBtn .close {
    background: transparent;
  }
  #navBtn .close:before,
  #navBtn .close:after {
    margin-top: 0;
  }
  #navBtn .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  #navBtn .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  .service li {
    width: 23.507%;
  }

  .staff li {
    width: 48.507%;
  }
  .staff li:nth-child(2n + 1) {
    clear: both;
  }
  .staff li:nth-child(3n + 1) {
    clear: none;
    float: left;
  }
}
