/*
	Contents:
	1. Fonts
	2. Common Styles
	3. Sidebar
    4. footer
	5. Main
	6. Responsive
	7. Project Page
8.loader
*/

/*
	1. Fonts
*/

/* noto-serif-jp-500 - japanese */
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 500;
      src: local(''),
       url('../fonts/NotoSerifJP-Medium-subset.woff2') format('woff2'),
       url('../fonts/NotoSerifJP-Medium-subset.woff') format('woff'); 
    /*
  src: local(''),
       url('../fonts/noto-serif-jp-v21-japanese-500.woff2') format('woff2'),
       url('../fonts/noto-serif-jp-v21-japanese-500.woff') format('woff'); */
}

/* noto-serif-jp-700 - japanese */
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 700;
     src: local(''),
       url('../fonts/NotoSerifJP-Bold-subset.woff2') format('woff2'), 
       url('../fonts/NotoSerifJP-Bold-subset.woff') format('woff');
 /* src: local(''),
       url('../fonts/noto-serif-jp-v21-japanese-700.woff2') format('woff2'), 
       url('../fonts/noto-serif-jp-v21-japanese-700.woff') format('woff'); */
    
}
/* noto-sans-jp-regular - japanese */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
    src: local(''),
       url('../fonts/NotoSansJP-Regular-subset.woff2') format('woff2'),
       url('../fonts/NotoSansJP-Regular-subset.woff') format('woff');
  /*src: local(''),
       url('../fonts/noto-sans-jp-v42-japanese-regular.woff2') format('woff2'),
       url('../fonts/noto-sans-jp-v42-japanese-regular.woff') format('woff'); */
    
}

/*
	2. Common Styles
*/
* {
    margin: 0;
}

html {
    height: 100%;
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: .05em;
}

body {
    font-family: 'Noto Serif JP', "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    font-weight: 500;
    color: #000;
}

.global-outer {
    width: 100%;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.global-outer .global-inner {
    padding: 60px 10px;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.8;
    color: #8bc343;
}

h1 {
    font-size: 35px;
    font-size: 3.5rem;
    color: #000;
}
h2 {
    font-size: 22px;
    font-size: 2.2rem;
}

h3 {
    font-size: 20px;
    font-size: 2rem;
}

h4 {
    font-size: 18px;
    font-size: 1.8rem;
}

h5 {
    font-size: 16px;
    font-size: 1.6rem;
}

h6 {
    font-size: 14px;
    font-size: 1.4rem;
}

p {
    font-size: 15px;
    line-height: 1.8;
    color: #000;
}

a {
    color: #6f6e6e;
    text-decoration: none;
    padding-bottom: 1px;
    -webkit-transition: color 200ms;
    transition: color 200ms;
}

a:hover,
a:active,
a:focus {
    color: #8bc343;
    text-decoration: none;
}

a:focus {
    outline: none;
}
.txt-break{
word-break: break-all;
}
.txt-nobreak{
    white-space: nowrap;
}
.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

blockquote {
    font-size: 18px;
    font-family: 'Lora';
    font-style: italic;
    line-height: 2;
    padding-top: 15px;
    padding-bottom: 15px;
    color: rgba(109, 109, 109, 0.7);
}

input,
textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    border: none;
    background-color: rgba(0, 0, 0, 0.04);
    padding: 10px;
    font-size: 13px;
    border-radius: 2px;
    border-bottom: 1px solid transparent;
    -webkit-transition: background-color 200ms, border-color 300ms, border-radius 100ms;
    transition: background-color 200ms, border-color 300ms, border-radius 100ms;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    background-color: #fff;
    border-radius: 0;
    border-color: rgba(0, 0, 0, 0.08);
}
.btn {
    display: inline-block;
    text-align: center;
    margin: auto;
    background-color: #8bc343;
    color: #fff;
    font-size: 13px;
    border-radius: 2px;
    padding: 8px 14px;
    -webkit-transition: background-color 200ms;
    transition: background-color 200ms;
}
.btn:hover {
    background-color: #39966c;
    color: #fff;
}

.btn:active {
    background-color: #32845e;
}

.btn:focus {
    color: #fff;
}

.btn.small {
    padding: 5px 10px;
}

.btn.large {
    padding: 12px 18px;
}
/*pagetop botton*/
.page_top_wrap{
    position: relative;
}
.btn-pageup {
  display: inline-flex;
  transform: rotate(90deg);
    position: absolute;
    bottom: 0;
    right: 0;
} 
.btn-pageup::after {
  content: '';
 width: 80px;
    height: 8px;
    border-bottom: solid 1px;
    border-left: solid 1px;
    transform: skew(135deg);
}
a:hover .btn-pageup{
    color:#8bc343;
     -webkit-transition: color 100ms;
    transition: color 100ms;
}
::-moz-selection {
    background-color: #8bc343;
    color: #fff;
}

::selection {
    background-color: #8bc343;
    color: #fff;
}

.item-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.item-left {
    display: block;
    margin-right: auto;
}

.item-right {
    display: block;
    margin-left: auto;
    text-align: right;
}

/*----------------------
margin
-----------------------*/
.mgb0 {
    margin-bottom: 0rem !important;
}

.mgb1 {
    margin-bottom: 1rem !important;
}

.mgb2 {
    margin-bottom: 2rem !important;
}

.mgb3 {
    margin-bottom: 3rem !important;
}

.mgb2 {
    margin-bottom: 2rem !important;
}

.mgb4 {
    margin-bottom: 4rem !important;
}

.mgb5 {
    margin-bottom: 5rem !important;
}

.mgb6 {
    margin-bottom: 6rem !important;
}

.mgb7 {
    margin-bottom: 7rem !important;
}

.mgb8 {
    margin-bottom: 8rem !important;
}

.mgb9 {
    margin-bottom: 9rem !important;
}

.mgb10 {
    margin-bottom: 10rem !important;
}

/*-----------------------
br pc sp view
-------------------------*/
@media screen and (min-width: 480px) {
    .pc-br {
        display: inline;
    }

    .sp-br {
        display: none;
    }
}

@media screen and (max-width: 481px) {
    .pc-br {
        display: none;
    }

    .sp-br {
        display: inline;
    }
}

.nowrap {
    display: inline-block;
}

.pc {
    display: none;
}

.sp {
    display: block;
}

/*-----------------------
img size
-------------------------*/
img {
    max-width: 100%;
}

.size-xl {
    max-width: 800px;
}

.size-lg {
    max-width: 600px;
}

.size-mmd {
    max-width: 400px;
}

.size-md {
    max-width: 300px;
}

.size-sm {
    max-width: 200px;
}

/*----------------------
flex
-----------------------*/
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-between {
    justify-content: space-between;
}

.flex-around {
    justify-content: space-around;
}

.flex-item {
    padding: 5px;
}

.flex-item-center {
    align-items: center;
}

.flex-rev {
    flex-direction: row-reverse;
}

.col-2 {
    width: calc(50% - 2.5px);
}

.col-3 {
    width: 33%;
}

.col-4 {
    width: 25%;
}

/*
	3. Sidebar
*/
#sidebar {
    width: 100%;
    text-align: center;
    font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-weight: 400;
    font-size: 15px;
    font-size: 1.5rem;
}

#sidebar .sidebar-inner {
    padding-right: 0;
}

#sidebar .logo {
    display: block;
    margin-bottom: 30px;
    padding: 5px 0 0;
    border: none;
}

#sidebar .logo img {
    max-width: 120px;
    width: 100%;
}
#sidebar .lang{
    margin-bottom: 50px;
}
#sidebar nav {
    padding: 5px;
    color: #0e0e0e;
}

#sidebar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar nav ul li {
    display: block;
    margin: 0 5px;
}

#sidebar nav ul li a,
#sidebar nav ul li span {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    -webkit-transition: color 100ms;
    transition: color 100ms;
    border: none;
}

#sidebar nav ul li.current a,
#sidebar nav ul li.current a span {
    color: #000;
}

#sidebar nav ul li a:hover,
#sidebar nav ul li a span:hover {
    color: #8bc343;
    cursor: pointer;
}

#sidebar nav ul li a:hover:before,
#sidebar nav ul li a span:hover:before {
    background-color: #8bc343;
}

#sidebar nav.foot-menu ul li {
    display: inline-block;
}

#sidebar .foot-block {
    margin: 50px 0 70px;
}

#sidebar .foot-block .foot-block-inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar .foot-block .foot-block-inner ul li {
    display: inline-block;
    margin: 0 5px;
}

#sidebar nav.footmenu ul li {
    font-size: 13px;
    font-size: 1.3rem;
}
#sidebar .contact{
    margin: 0 auto 10px;
    padding:10px 0;
    width: 250px;
}
/* 
    4.footer
*/
footer .copyright {
    padding-top: 20px;
    color: #6f6e6e;
    font-size: 13px;
    text-align: center;
}

/*
	5. Main
*/

#main {
    overflow: hidden;
    width: 100%;
}

#main .main-outer {
    overflow: hidden;
}
.page-top_wrap{
    margin-bottom:10px;
}
.page-title-sub{
    font-size:14px;
    font-size:1.4rem;
    margin-bottom:20px;
    line-height: 1.5;
}
.page-title-sub span{
     color: #8bc343;
}
.sidebar-inner h1 {
    margin:0;
    font-size: 26px;
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0.1em;
}
.page-title h2.sub {
    font-size: 18px;
    font-size:1.8rem;
    display: block;
    color: #8bc343;
    line-height: 1.3;
    margin-bottom: 30px;
}
p.lead {
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: .01em;
    margin: 15px 0 15px;
}

h2.head-main {
    font-size: 18px;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.page-title .page-title-image {
    margin-top: 30px;
}

.article {
    margin-bottom: 80px;
}


/*
	6. Responsive*/
@media (min-width: 769px) {
    .global-outer {
        max-width: 1920px;
        /*min-width:1320px;*/
        min-width: 1280px;
    }

    .global-outer .global-inner {
        padding: 110px 60px 60px;
        overflow: hidden;
    }

    #sidebar {
        width: 350px;
        float: left;
        overflow: hidden;
    }

    #sidebar .sidebar-inner {
        padding-right: 30px;
    }

    #sidebar .intro {
        border: none;
        padding-bottom: 0;
    }

    #sidebar nav ul li {
        display: block;
        margin: 0;
    }


    #main {
        float: left;
        width: auto;
        max-width: calc(100% - 350px);
    }

    #main .main-outer {
        padding-left: 30px;
    }

    #sidebar .foot-block {
        margin: 180px 0 50px;
    }

    .pc {
        display: block;
    }

    .sp {
        display: none;
    }
    .page-title-sub{
        margin-bottom: 0;
        }
    .page-top_wrap{
    display: flex;
        flex-direction: row-reverse;
    justify-content: space-between;
        align-items: end;
}
    .page-title h1 {
        font-size: 35px;
        font-size: 3.5rem;
    }
    .page-title h2.sub {
    font-size:2.2rem;
    font-size:22px;
}
    h2.head-main {
        font-size: 24px;
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
}

/*mobile navi*/
#mobile-menu-btn {
    background: url(../img/icons.png) 0 0 no-repeat;
    background-size: 40px 80px;
}

#mobile-menu-btn.menu-btn-open {
    background: url(../img/icons.png) 0 -40px no-repeat;
    background-size: 40px 80px;
}

#mobile-menu-btn {
    top: 35px;
    right: 35px;
}

#mobile-menu-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: block;
    text-indent: -99999px;
}

a#mobile-menu-btn {
    border: none;
}

#sidebar nav#site-nav {
    padding: 0 35px 65px;
}

#sidebar nav#site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar nav#site-nav ul li {
    display: block;
    padding: 0 0 10px;
}

@media screen and (min-width: 769px) {

    #mobile-menu-btn,
    #sidebar #site-nav {
        display: none;
    }
}

/*
	7. Project Page
*/
#project-page #main .project p {
    margin: 15px 0;
}

#project-page .list-project {
    margin-top: 60px;
}

#project-page #sidebar nav.list-project ul li {
    margin-bottom: 20px;
}

#project-page #sidebar nav.list-project ul li:last-child {
    margin-bottom: 0;
}

#project-page #main .caption {
    color: #7d7d7d;
    font-size: 12px;
    font-size: 1.2rem;
    margin: 0 0 10px;
    display: block;
    text-align: right;
}

.page-title .page-title-image img {
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    display: block;
    z-index: -10;
}

.article-image.sp img {
    margin-bottom: 5px;
}

.article-txt-wrap {
    max-width: 1200px;
    padding: 0 10px;
}
.article-txt{
    margin-bottom:30px;
}
@media (min-width: 769px) {
    #project-page #main .caption-img {
        text-align: right;
        float: right;
        line-height: 2.5;
    }
}

/*responsive*/
@media (min-width: 769px) {
    #project-page #main .project {
        margin-top: -40px;
    }

    .page-title .page-title-image {
        height: 400px;
        position: relative;
    }

    .page-title .page-title-image img {
        width: 100%;
        max-width: 600px;
        height: auto;
        position: absolute;
        right: 50px;
    bottom: 10px;
    }
}

/*
	8. loader
*/
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 5px solid rgba(244, 244, 244, 0.2);
  border-right: 5px solid rgba(244, 244, 244, 0.2);
  border-bottom: 5px solid rgba(244, 244, 244, 0.2);
  border-left: 5px solid #eee;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}




/* Loading Animation */
@keyframes sk-scaleout {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1.0);
        opacity: 0;
    }
}

/* Hide Loading Block */
.loaded {
    opacity: 0;
    visibility: hidden;
}
