#test {
  color: gray;
}

*{
margin:0;
padding:0;
text-decoration: none;
font-family: 'M PLUS Rounded 1c', sans-serif;
letter-spacing: 0.15em;
}

html,body {
height:100%;
}

header{
background: #000;
color: #fff;
/* position: absolute;
top: 0; */
width: 100%;
padding: 4px 0;
z-index: 1;
}

footer{
background:#000;
color: #fff;
font-size:0.6em;
text-align:right;
position: sticky;
top: 100vh;
padding:10px;
}

footer + div {
position: relative;
bottom: 47%;
}

#main,#app{
    margin: 0 0 20%;
}

h1{
font-size:0.8em;
font-weight:normal;
}

h1 a{
    color: #fff;
}

h2 {
font-size: 3em;
border-bottom: 6px solid #c21500;
border-image: linear-gradient(to right,#c21500 0%,#ffc500 54%);
border-image-slice: 1;
padding: 10px 0 2px 4%;
font-family: 'Lato', sans-serif;
line-height: 0.92em;
position: relative;
letter-spacing: .22em;
text-align: center;
}

h2 span{
background: #ffd90024;
width: 70%;
height: 240px;
display: inline-block;
position: absolute;
top: -80px;
right: 0;
z-index: -1;
}

h3 {
font-size:1.5em;
border-bottom:3px solid #c21500;
border-image:linear-gradient(to right,#c21500 0%,#ffc500 54%);
border-image-slice:1;
padding: 10px 0 2px 4%;
font-family: 'Lato', sans-serif;
line-height: 0.92em;
margin:0 0 5%;
}

h4 {
font-size:1.2em;
border-bottom:1px solid #c21500;
border-image:linear-gradient(to right,#c21500 0%,#ffc500 54%);
border-image-slice:1;
padding: 10px 0 2px 4%;
font-family: 'Lato', sans-serif;
line-height: 0.92em;
margin:0 0 4%;
}

h4 span{
font-size:0.6em;
display:inline-block;
margin:0 0 0 12px;
font-weight:normal;
}

p,dl,li{
color: #606060;
font-size:0.8em;
/*background:#fff;
font-weight:lighter;*/
line-height: 2em;
width: 90%;
list-style-type: none;
margin: 0 auto 6%;
}

/*-------------------------grobalnavi //knooto.info/example/jquery/global-nav.html*/
/** メニューを中央に配置するためのインナー */
.section-inner {
  width: 980px;
  max-width: 100%;
  margin: auto;
}

/** PC 用 */
@media (min-width: 701px) {
  /** グローバルナビリスト (1階層目) */
  .global-nav-item-list {
      display: flex;
      justify-content: space-between;
  }
  /** グローバルナビ項目 (1階層目) */
  .global-nav-item {
      display: flex;
      position: relative;
  }
  .global-nav-item > a {
      display: block;
      position: relative;
      width: 100%;
      padding: 10px;
      font-size: 18px;
  /*    font-family: 'M PLUS Rounded 1c', sans-serif;*/
      color: #4f4f4f;
      text-align: center;
      text-decoration: none;
  }
  .global-nav-item > a::after {
      display: block;
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      height: 2px;
      background:#ffc500;
      opacity: 0;
      transition: 0.4s opacity;
  }
  .global-nav-item:hover > a::after {
      opacity: 1;
  }

  /** グローバルナビリスト (2階層目) */
  .global-nav-sub-item-list {
      position: absolute;
      top: 100%;
      width: calc(100% + 30px);
      min-width: 200px;
      left: 50%;
      border-radius: 5px;
      background: white;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
      overflow: hidden;
      opacity: 0;
      transform: translateX(-50%);
      transition: 0.2s opacity;
      pointer-events: none;
      z-index: 100;
  }
  .global-nav-item:hover > .global-nav-sub-item-list,
  .global-nav-sub-item-list:hover {
      opacity: 1;
      pointer-events: all;
  }
  /** グローバルナビ項目 (2階層目) */
  .global-nav-sub-item > a {
      display: flex;
      align-items: center;
      position: relative;
      padding: 15px 30px 15px 20px;
      border-top: 1px dotted #ddd;
      font-size: 16px;
      font-family: 'M PLUS Rounded 1c', sans-serif;
      color: #4f4f4f;
      text-align: left;
      text-decoration: none;
      transform: rotate(0.05deg);
  }
  .global-nav-sub-item > a::before {
      box-sizing: border-box;
      content: "";
      display: block;
      margin-right: 5px;
      width: 10px;
      height: 10px;
      border: solid  #ffc500;
      border-width: 0 3px 3px 0;
      transform-origin: center;
      transform: translateX(-25%) rotate(-45deg);
  }
  .global-nav-sub-item:first-child > a {
      border-top: none;
  }
  .global-nav-sub-item > a:hover {
      background: #ffc500;
  }
  .global-nav-toggle {
      display: none;
  }

  h2 {
    margin: 10% 0 14%; 
    }

}
/** スマホ 用 */
@media (max-width: 700px) {
    #main,#app{
    margin: 0 !important;
    }

  /** グローバルナビリスト (1階層目) */
    .global-nav-item{
    margin: 0 ;
    }
  .global-nav-item-list {
      width: 100%;
      height: 100vh;
      position: fixed;
      top: 0;
      left: 100%;
      margin: auto;
      overflow: auto;
      z-index: 100;
      background: rgba(255, 255, 255, 0.95);
      transition: 0.2s all;
      pointer-events: none;
  }
  .global-nav.open .global-nav-item-list {
      left: 0;
      pointer-events: all;
  }
  /** グローバルナビ項目 (1階層目, 2階層目) のリンク */
  .global-nav-item a {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      position: relative;
      width: 100%;
      padding: 15px 30px;
      font-size: 18px;
      font-family: 'M PLUS Rounded 1c', sans-serif;
      color: #4f4f4f;
      text-decoration: none;
      transition: 0.2s all;
  }
  .global-nav-item a:hover {
      background: #fffef9;
  }
  .global-nav-item > a::before,
  .global-nav-sub-item-list.open a::before {
      box-sizing: border-box;
      content: "";
      display: block;
      margin-right: 10px;
      width: 10px;
      height: 10px;
      border: solid  #ffc500;
      border-width: 0 3px 3px 0;
      transform-origin: center;
      transform: translateX(-25%) rotate(-45deg);
      transition: 0.2s all;
  }
  .global-nav-item > a.open::before {
      transform: translate(-25%, -2.5px) rotate(45deg);
  }
  .global-nav-sub-item a {
      padding-left: 45px;
  }
  /** グローバルナビリスト (2階層目) */
  .global-nav-sub-item-list:not(.open),
  .global-nav-sub-item-list:not(.open) * {
      overflow: hidden;
      opacity: 0;
      margin-top: 0;
      margin-bottom: 0;
      padding-top: 0;
      padding-bottom: 0;
      border-top-width: 0;
      border-bottom-width: 0;
      color: transparent;
      line-height: 0;
      transition: 0.2s margin, 0.2s padding, 0.2s border-width, 0.2s line-height, 0.2s opacity;
  }
  .global-nav-sub-item-list.open,
  .global-nav-sub-item-list.open * {
      transition: 0.2s margin, 0.2s padding, 0.2s border-width, 0.2s line-height, 0.2s opacity;
  }

  /** トグルボタン */
  .global-nav-button {
      box-sizing: border-box;
      position: fixed;
      top: 10px;
      right: 10px;
      width: 45px;
      height: 45px;
      border-radius: 4px;
      background: #ffc500;
      z-index: 101;
      cursor: pointer;
  }
  .global-nav-button-icon {
      position: absolute;
      top: calc(50% - 1px);
      left: 0;
      width: calc(100% - 18px);
      height: 2px;
      margin-left: 9px;
      background: white;
      z-index: 100;
  }
  .global-nav-button-icon::before {
      position: relative;
      top: -8px;
      display: block;
      content: "";
      height: 2px;
      background: white;
      transition: 0.1s all;
  }
  .global-nav-button-icon::after {
      position: relative;
      top: 6px;
      display: block;
      content: "";
      height: 2px;
      background: white;
      transition: 0.1s all;
  }
  .global-nav-button.open .global-nav-button-icon {
      background: transparent;
  }
  .global-nav-button.open .global-nav-button-icon::before {
      top: -6px;
      transform: translateY(6px) rotate(45deg);
  }
  .global-nav-button.open .global-nav-button-icon::after {
      top: 3px;
      transform: translateY(-5px) rotate(-45deg);
  }

  h2 {
    margin: 20% 0 30%;
    }

    h4 {
    margin:0 0 8%;
    }

    ul.skillList li{
        margin: 0 0 2.5%;
        clear: both;
        width: 100% !important;
    }
}
/*-------------------------TOPに戻る」ボタン*/
#pagetop {
    width: 50px;
    height: auto;
    position: fixed;
    bottom: 50px;
    opacity: 0.9;
    right: 10px;
    z-index: 10;
  }
  
  #pagetop a {
   width: 100%;
   height: auto;
   float: left;
   background: #555555;
   color: #FFFFFF;
   padding: 10px;
   text-align: center;
   border-radius: 5px;
   box-sizing: border-box;
  }
  
  #pagetop a:hover {
   background: #999999;
  }

/*-----------------------------------------------------------------------------------------------------------------------------Gallery*/
/*-------------------------フィルタリング /https://web-emo.com/jquery-filtering-group/*/
.list{
  display: flex;
  flex-wrap: wrap;
}

.list li{
  width: 49%;
  max-height:120px;

  margin:0;
  list-style:none;
  animation: test .8s;
}

.list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list li:nth-child(even){
margin-right: 0;
}

.btn{
    text-align: center;
    margin: 0 0 3%;
}

.btn a{
    display: inline-block;
    margin: 0 2%;
    color: #000;
}
/*-----------------------------------------------------------------------------------------------------------------------------Gallery contents*/
.contents_data{
clear: both;
}

.contents_data dt{
float: left;
font-weight: bold;
font-size: 0.2em;
width: 28%;
}
.contents_data dd{
font-size: 0.2em;
}

a.more{
display: block;
border: solid 1px #ffc500;
background: #fff;
color: #000;
font-size: 0.5em;
text-align: center;
margin: 0 auto 4%;
width: 55%;
letter-spacing: 0.6em;
padding: 6px 0;
font-weight: bold;
}

/* ---------------------------- */
/* --- モーダル https://dubdesign.net/javascript/swiper-modalslider/ --- */
/* ---------------------------- */
.swiperModalButton {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-around;
}

.modalOpen{
width: 60%;
}

/* モーダル */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
/*padding: 30px;*/
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s;
pointer-events: none;
opacity: 0;
z-index: 101;
background-color: rgba(0, 0, 0, 0.8);
}

/* モーダルがactiveの時 */
.modal.is-active {
opacity: 1;
pointer-events: auto;
}

/* モーダル背景のオーバーレイ部分 */
.modal__overlay {
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}

/* モーダルのコンテンツ */
.modal__content {
/*    position: relative;*/
width: 100%;
max-width: 800px;
/*    padding: 20px;*/
}
.modal_inner {
/*    filter: drop-shadow(0px 0px 4px #ddd);
background: #FFF;
width: 90%;
border-radius: 2px;
padding: 20px 25px;*/
margin: 0 auto;
display: flex;
justify-content: flex-start;
align-items: center;
}

/* 閉じるボタン */
.modal__close-btn {
position: absolute;
right: 18%;
top: 4%;
width: 0%;
height: 40px;
cursor: pointer;
z-index: 20;
}

.modal__close-btn:hover {
opacity: 0.8;
}

/* 閉じるボタンのX */
.lineClose {
display: inline-block;
vertical-align: middle;
color: #ffffff;
line-height: 1;
width: 2rem;
height: 0.1rem;
background: currentColor;
border-radius: 0.1rem;
position: relative;
transform: rotate(45deg);
}
.lineClose::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: inherit;
border-radius: inherit;
transform: rotate(90deg);
}
p.swiperText {
margin: 0;
text-align: center;
}

p.swiperText img{
border: solid 1px #444;
}

img.img_length{
width: 60% !important;
margin: 0 auto;
}

@media (max-width: 700px) {
    .modalOpen {
    width: 100%;
    }
    img.img_length{
    width: 85% !important;
    margin: 0 auto;
    }
}
/*-----------------------------------------------------------------------------------------------------------------------------Works*/
.wData{
margin: 0 auto 8%;
}

.wData li p{
width: 100%;
margin: 0 ;
}

.wCompany{
font-weight: bold;
}

.role {
font-size: 0.6em;
display: inline-block;
background: #ececec;
color: #666;
border-radius: 3px;
padding: 2px 4px;
margin: 2% 4px 0 0;
line-height: initial;
}

p.wCompany a {
font-weight: lighter;
display: inline-block;
margin: 0 0 0 30px;
font-size: 1em;
color: #666;
}

p.wCompany a::before {
font-family: 'Material Icons';
content: "\e89e";
position: relative;
bottom: -1.5px;
}

span.external_link {
font-weight: normal;
}

span.external_link a{
font-weight: normal;
color: #666;
}

span.external_link .kome {
font-size: 0.6em;
}

span.external_link p {
font-size: 0.6em;
display: inline;
}

@media (max-width: 700px) {
    span.external_link {
    display: block;
    }
    span.external_link p {
    display: inline-block;
    margin: 0 0 5% 8%;
    }
}
/*-----------------------------------------------------------------------------------------------------------------------------TOP*/
/*-------------------------firstview*/
p.firstview {
    background-image: url(../img/gahag-0021079589-1r.jpg);
    width: 100%;
    background-size: cover;
    color: #fff;
    font-size: 1.5em;
    line-height: 2em;
    padding: 0 0 50%;
    position: relative;
    margin: 0;
}


p.firstview span{
    position: absolute;
    top: 10%;
    left: 4%;
    z-index: 1;
    text-shadow: 0 0 20px #000;
}

p.introduction {
    padding: 4%;
    background: #f8f8f8;
    line-height: 40px;
    text-align: center;
    margin: 0 0 4%;
    width: calc(100% - 8%);
}
/*-------------------------progress*/

progress {
  width: 100%;
  height: 20px;
  background-color: rgb(197, 197, 197);
}

progress::-webkit-progress-bar {
  background-color: rgb(197, 197, 197);
}

progress::-webkit-progress-value {
  background-color: orange;
}

progress::-moz-progress-bar {
  background-color: rgb(197, 197, 197);
}

progress::-ms-fill {
  background-color: orange;
}

/*-------------------------idxh5_area*/
.idxh5_area{
    border-top: solid 1px #efefef;
    display: flex;
    background-image: url(../img/gahag-0010415091.jpg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.idxh5_area a {
    width: 25%;
    text-align: center;
    font-size: 1.2em;
    display: block;
    color: #fff;
    padding: 20%;
    margin: 10% auto;
    border: 1px solid;
    border-image: linear-gradient(to right, #c21500 0%, #ffc500 100%);
    border-image-slice: 1;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
}

.idxh5_area .idxh5 {
    width: 50%;
    text-align: center;
}

/** PC 用 */
    @media (min-width: 701px) {
    .idxh5_area a{
        font-size: 2em;
    }

    .idxh5_area .idxh5_works:hover{
        background-image: linear-gradient(90deg, #c21500 30%, #ffc40000 100%);
    }

    .idxh5_area .idxh5_gallery:hover{
        background-image: linear-gradient(90deg, #ffc40000 10%,#ffc500 75%);
    }

    .idxh5_area .idxh5_works:hover a{
        line-height: none;
        width: auto;
        height:  auto;
        border: none;
        text-align: center;
    }

    .idxh5_area .idxh5_gallery:hover a{
        line-height: none;
        width: auto;
        height:  auto;
        border: none;
        text-align: center;
    }

}

/*-------------------------skill*/
ul.skillList{
    margin:0 10%;
    overflow: hidden;
}

ul.skillList li{
    margin: 0 2.5% 5% 2.5%;
    float: left;
    width: 45%;
}

