@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Noto+Sans+JP:wght@300;400&family=Noto+Serif+JP&display=swap');

/*
font-family: 'M PLUS Rounded 1c', sans-serif;
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Noto Serif JP', serif;
*/
html{
font-size: 62.5%;
}
html.fix, html.fix body{
height: 100%;
    overflow: hidden;
}

body{
font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',arial,helvetica,clean,sans-serif; 
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: relative;
    min-height: 100vh;
    /*padding-bottom: 50px;*/
    box-sizing: border-box;
}

h1,h2,h3{
color: #251e1c
}

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

figure{
    margin: 0;
text-align: center;
}

ul{
padding: 0;
margin: 0 0 0 0.5rem;
}

li{
list-style: none;
}

#top{
padding-bottom: 50px;
}

.main{
display: flex;
flex-direction: column;
justify-content: center;
}

@media screen and (min-width: 768px) {
.main{
flex-direction: row;
justify-content: flex-end;
}
}

.side{
/*background-color: #fff2e6;*/
/*border-top: 10px solid #f67e04;*/
padding: 0;
overflow: hidden;
}

@media screen and (min-width: 768px) {
.side{
border-right: 3px solid #f67e04;
padding: 1rem; 
width: 200px;
height: 100vh;
position: fixed;
left:0;
top: 0;
margin-right: 1rem;
overflow: scroll;
}
}

.side .workslist h3{
font-size: 1.5rem;
margin: 0 0 0 .5rem;
/*
display: inline-block;
    margin: 0;
    padding: 0 0 0 1rem;
*/
}
@media screen and (min-width: 768px) {
.side .workslist h3{
    display: block;
    padding: 0;
    margin: 0 0 2rem 1rem;
}
}

.side .workslist.open  h3{
display: none;
}

.side .workslist img.logo{
width: 100%;
width: 120px;
padding-left: 60px;
}

@media screen and (min-width: 768px) {
.side .workslist img.logo{
display: block;
padding: 0;
margin: 4rem auto;
}
}

.side .workslist.open img.logo{
display:none;
}

.active{
background-color: #fff4ac;
}

/*navigation--------------------------------------------------------------------*/
#gnavi {
    display: flex;/*block;*/
    align-items: center;
	z-index:1000;
	position: relative;
	height: 40px;
	}

@media screen and (min-width: 768px) {
#gnavi {
    display: block;
	height: auto;
	}
}

#gnavi.open{
height: 100%; 
}

/*チェックボックス等は非表示に*/
.nav-unshown {
	display:none;
	}

/*ハンバーガーアイコン*/
#nav-open{
    cursor: pointer;
    display: block;
    width: 56px;
    height: 40px;
    position: absolute;
    left: 0;
top: 0;
z-index: 9999;
}

@media screen and (min-width: 768px) {
#nav-open {
	display: none;
	}
}

#nav-open span,
#nav-open span:before,
#nav-open span:after{
      background-color: #000;   
      display: block;
      width: 26px;
      height: 2px;
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      margin: auto;
    }

#nav-open span:before,
#nav-open span:after{
      content: " ";
    }

#nav-open span:before{
      top: 16px
    }

#nav-open span:after{
      top: -16px
    }

/*閉じる用の薄黒カバー*/
#nav-close {
	display: none;
	position: fixed;
	z-index: 3;
	top: 0;
left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0;
    transition: .3s ease-in-out;
    pointer-events: none;
	}

/*中身*/
.listcontainer {
padding-top: 60px;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: ease .5s;
  transition: ease .5s;
  z-index: 1000;
  height: 100Vh;
  height: calc(var(--vh, 1vh) * 100);
}

/*
.listcontainer {
	overflow: auto;
	position: fixed;
	top: -0px;
	left: -105%;
	z-index: 10;
	width: 70%;
	height: 100vh;
	background: #fff;
	transition: 0.8s;
padding: 1rem;
overflow-y: auto;
 -webkit-overflow-scrolling: touch;
	}
*/
@media screen and (min-width: 768px) {
.listcontainer {
	overflow: initial;
	position: initial;
	top: initial;
	left: initial;
	z-index: initial;
	width: 100%;
	height: auto;
	background: none;
    transition: initial;
    /*margin-left: 1rem;*/
    padding: 0;
  -webkit-transform: initial;
  transform: initial;
}
}
.listcontainer.open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  height: 100Vh;
  height: calc(var(--vh, 1vh) * 100);
z-index: 1000;
padding-top: 40px;
width: 100%;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
	display: block;/*カバーを表示*/
	opacity: .5;/*透過具合*/
	}

#nav-input:checked ~ .listcontainer {
	left: 0;
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
#nav-input:checked ~ #nav-open{
background: transparent;
}

#nav-input:checked ~ #nav-open span::before{
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 0;
}

#nav-input:checked ~ #nav-open span::after{
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 0;
}

#nav-input:checked ~ #nav-close{
    opacity: 0.3;
      pointer-events: auto;
}
/*navigationここまで---------------------------------------------------------------*/
.side .listcontainer ul.listwrap{
display: none;
}
@media screen and (min-width: 768px) {
.side .listcontainer ul.listwrap{
display: inline-block;
padding-bottom:1.5rem;
}
}
.side .listcontainer ul.listwrap.open{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
 /* height: calc(100% - 70px);*/
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.side .listcontainer.open ul.listwrap.open li {
  display: table;
  height: calc(100% / 17);
}

/*
.side ul.listwrap{
margin-top: 50px;
font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (min-width: 768px) {
.side ul.listwrap{
margin-top: 0;
}
}
*/
.side li{
font-size: 1.5rem;
padding: 0 0 0.6rem;
}

.side ul li::before{
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
background-image: url(../images/cursor_orange.png);
    background-size: cover;
    margin-right: 0.5rem;
}

.side li.close {
color: #aaa;
}

/*ここからトップページ右側--------------------------------------*/
.mainwrap{
width: 100%;
height: auto;
padding: 3rem 0;
-webkit-animation: fadeIn 1s ease 0s 1 normal;
animation: fadeIn 1s ease 0s 1 normal;
}

@media screen and (min-width: 768px) {
.mainwrap{
width: calc(100% - 230px);
}
}

  @keyframes fadeIn {
    0% {
      opacity: 0
    }
    100% {
      opacity: 1
    }
  }

  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0
    }
    100% {
      opacity: 1
    }
  }

.wrapper{
display: grid;
 gap: 10px;
 grid-template-columns: repeat(auto-fit, 250px);
 padding: 0 1rem;
justify-content: center;
}

@media screen and (min-width: 768px) {
.wrapper{
 grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
justify-content: initial;
}
}

.wrapper::after{
content:"";
display:block;
width: 250px;
}

.entry{
border: 1px solid #d5d5d5;
    max-width: 275px;
    max-height: 325px;/*タイトル2行に対応*/
    padding: 1rem 0.5rem;/*0.5rem 0.5rem 0;*/
display: flex;/*画像位置を揃えるため*/
    flex-direction: column;
    justify-content: space-between;
}

.entry p{
margin: 0;
    padding: 0.2rem 0 0.2rem 1rem;
    /*background: #a39893;*/
    display: inline-block;
    font-size: 1.4rem;
    color: #666666;
}

.entry p::before{
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
background-image: url(../images/cursor_gray.png);
    background-size: cover;
    margin-right: 0.5rem;
}

.entry h2.entry-title{
font-weight: normal;
color: #333333;
    text-align: left;
    font-size: 1.6rem;
    margin: 0;
    padding: 0 0 2rem 1rem;
font-family: 'Noto Sans JP', sans-serif;
}

.entry .entry-title a{
text-decoration: none;
    color: #333333;
}
.entry img{
    width: auto;/*200px;*/
    max-width: 200px;
    height: 100%;/*200px;*/
    max-height: 200px;
    object-fit: cover;
    /*object-position: top;*/
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
}

.entry img:hover{
  opacity: 0.8 ;
}

.entry img.site{
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
}

/*ここから記事単体------------------------------------------------------------------------------------*/

.articleheader{
padding: 0 1rem 1rem;
}
@media screen and (min-width: 768px) {
.articleheader{
padding: 1rem;
}
}

.articleheader h2{
    margin-right: 2rem;
}


@media screen and (min-width: 768px) {
.article .side{
display: none;
}
}

.breadcrumbs{
text-align: center;
margin: -2rem 0 0 0;
 font-size: 1.7rem;
padding: 0 0 0.5rem 0;
    }

    @media screen and (min-width: 768px) {
    .breadcrumbs{
text-align: left;
 line-height: 1.5;
 padding: 0 1rem;
 font-size: 2rem;
display: inline-block;
font-family: 'Noto Sans JP', sans-serif;
margin: 0 0 1rem 0;
}
}

.breadcrumbs li{
display: none;
}
.breadcrumbs li:last-child{
display: inline-block;
}

@media screen and (min-width: 768px) {
.breadcrumbs li{
display: inline-block;
}
.breadcrumbs li::after{
content: ">";
padding: 0 0.5rem;
}
.breadcrumbs li:first-child::after , .breadcrumbs li:last-child::after{
content: "";
}
.breadcrumbs li span.home{
    display: none;
}
.breadcrumbs img{
    width: 120px;
    margin-bottom: 0.3rem;
 vertical-align: middle;
}
}

.articlemain{
text-align: center;
}

.wrapperP{
display: flex;
flex-direction: column;
justify-content:center;
align-items: center;
width: 100%;
text-align: center;
}

.wrapperP img{
-webkit-touch-callout:none;
  -webkit-user-select:none;
  -moz-touch-callout:none;
  -moz-user-select:none;
  touch-callout:none;
  user-select:none;
    width: 92% !important;
margin-bottom: 2rem;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 768px) {
.wrapperP img{
width: 100%;
max-width: 800px;
margin-bottom: 6rem;
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .5);
}
}

.wrapperP img:last-child{
margin-bottom: 2rem;
}
@media screen and (min-width: 768px) {
.wrapperP img:last-child{
margin-bottom: 4rem;
}
}


/*サイトカテゴリ用---------*/
.articlemain a.site{
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #ccc;
padding: 0.5rem;
margin-bottom: 1.5rem;}

@media screen and (min-width: 768px) {
.articlemain a.site{
  width: 80px;
  height: 80px;
padding: 1rem;
}
}
.articlemain a.site span {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width :60px;
  text-align:center;
  font-size: 0.7rem;
  padding: 0.5rem;
}
@media screen and (min-width: 768px) {
.articlemain a.site span {
  width :80px;
  font-size: 1.2rem;
  padding: 1rem;
}
}

.text{
font-size: 1.2rem;
padding: 1rem;
color: #333333;
margin: 0;
border-top: 1px solid #dddddd;
border-bottom: 1px solid #dddddd;
text-align: left;
overflow: hidden;
overflow-wrap: break-word;
}

@media screen and (min-width: 768px) {
.text{
font-size: 1.5rem;
max-width: 800px;
margin: 3rem auto;
padding: 0.5rem;
}
}

.text dt {
float: left;
width: 100%;
margin-bottom: 1rem;
line-height: 1.5;
}

@media screen and (min-width: 768px) {
.text dt {
width: 20%;
}
}

.text dt::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
background-image: url(../images/cursor_orange.png);
    background-size: cover;
    margin-right: 0.5rem;
}

.text dd{
width: 100%;
margin-left: 0;
margin-bottom: 1rem;
line-height: 1.5;
}

@media screen and (min-width: 768px) {
.text dd {
width: initial;
margin-left: 20%;
}
}

.articlebottom{
text-align: center;
}

/*footer--------------------------------------------------------*/
.lpfooter{
position: absolute;
text-align: center;
width: 100%;
}

@media screen and (min-width: 768px) {
.lpfooter{
    bottom: 0;
    right: 0;
    padding: 1rem 2rem;
text-align: right;
width: auto;
}
}

/*トップ戻るボタン*/
#totop {
    position: fixed;
    bottom: 35px;
    right: 20px;
    font-size: 77%;
}
@media screen and (min-width: 768px) {
#totop {
    bottom: 50px;
}
}
#totop a {
    background: #333;
    text-decoration: none;
    color: #fff;
    width: 40px;
    padding: 10px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#totop a:hover {
    text-decoration: none;
    background: #999;
}

/*vimeo*/
.vimeo{
position:relative;
width:100%;
  overflow:auto; 
  -webkit-overflow-scrolling:touch;
}
.vimeo iframe{
    top:0;
    left:0;
    width:90%;
    display:block;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
.vimeo iframe{
width:640px;
height:360px;
margin:0 auto;
}
}