@import url('https://fonts.googleapis.com/css?family=Quicksand');

@font-face {
  font-family: 'LocalYuGothicMedium';
  font-weight: normal;
  src: local('YuGothic-Medium'),local('Yu Gothic Medium'),local('YuGothic-Regular');
}

@font-face {
  font-family: 'LocalYuGothicMedium';
  font-weight: bold;
  src: local('YuGothic-Bold'),local('Yu Gothic');
}

html {
  font-size: 10px;
  overflow-y: scroll;
}

body {
  font-family: LocalYuGothicMedium,YuGothic,-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',Meiryo,'MS PGothic',sans-serif;
  font-size: 1.5rem;
  line-height: 1.57143;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0;
}

p {
  margin: 0 0 2.35714rem;
}

ul,
ol {
  margin: 0 0 2.35714rem;
  padding-left: 0;
}

ul {
  list-style: none;
}

table {
  margin: 0 0 2.35714rem;
  border-spacing: 0;
  border-collapse: collapse;
}

table th > *:last-child,
table td > *:last-child {
  margin-bottom: 0 !important;
}

hr {
  display: none;
}

img {
  vertical-align: middle;
  border: 0;
}

li img {
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font-family: LocalYuGothicMedium,YuGothic,-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',Meiryo,'MS PGothic',sans-serif;
  font-size: 1.5rem;
  vertical-align: middle;
}

button {
  display: inline;
  padding: 0;
  border: none;
  background: none;
}

em,
address,
small {
  font-style: normal;
}

em {
  font-weight: bold;
}

article,
aside,
dialog,
figure,
footer,
header,
menu,
nav,
section,
mark,
audio,
video,
main {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

nav ul {
  list-style: none;
}

#gheader {
  margin-bottom: 20px;
  padding-top: 80px;
  text-align: center;
}

#gwrapper {
  position: relative;
  background: #f4f4f4;
}

#gwrapper::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 400px;
  content: '';
  background: #fff;
}

.main {
  position: relative;
  z-index: 10;
  width: 320px;
  margin: 0 auto;
}

.main_visual {
  margin-bottom: 55px;
  text-align: center;
}

.main_companyName {
  margin-bottom: 25px;
}

.main_presidentName {
  margin-bottom: 5px;
}

.campanyInfo {
  line-height: 1.86667;
  width: 320px;
  margin: 0 auto 100px;
}

.campanyInfo_list > dt {
  font-style: italic;
  margin-bottom: 5px;
  color: #999;
}

.campanyInfo_list > dd {
  margin-left: 0;
}

.campanyInfo_list > dd:last-child {
  margin-bottom: 25px;
}

.campanyInfo_list-studio > dd {
  margin-bottom: 25px;
}

.work_block {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding-left: 6.25%;
}

.work_block-right {
  padding-right: 6.25%;
  padding-left: 0;
}

.work_sizer {
  width: 6.85%;
}

.work_item {
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 25%;
  margin-bottom: 6.25%;
}

.work_item-big {
  width: calc(50% + 6.25%);
}

.work_item img {
  display: block;
  width: 100%;
  -webkit-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
}

.work_item img:hover {
  opacity: .7;
}

.contact {
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 200px;
  text-align: center;
}

.contact_button {
  font-size: 2rem;
  line-height: 1;
  position: relative;
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 500px;
  padding: 29px 10px;
  -webkit-transition: background .3s;
  -o-transition: background .3s;
  transition: background .3s;
  text-decoration: none;
  color: #060606;
  border: 1px solid #333;
  background: #f4f4f4;
}

.contact_button::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 6px;
  margin: 0 -1px;
  padding: 0 1px;
  content: '';
  -webkit-transition: background .3s;
  -o-transition: background .3s;
  transition: background .3s;
  background: #e0e0e0;
}

.contact_button:hover {
  background: #e0e0e0;
}

.contact_button:hover::after {
  background: #fff;
}

#gfooter {
  overflow: hidden;
  margin: 0;
}

.copy {
  font-family: 'Quicksand', sans-serif;
  line-height: 1;
  margin-bottom: 0;
  padding-bottom: 1px;
  text-align: center;
}

.copy > small {
  font-size: 8rem;
  line-height: 1;
  color: #dedede;
}

#colorbox,
#cboxOverlay,
#cboxWrapper {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

#cboxWrapper {
  max-width: none;
}

#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}

#cboxContent {
  position: relative;
}

#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#cboxTitle {
  margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}

.cboxPhoto {
  display: block;
  float: left;
  max-width: none;
  margin: auto;
  -ms-interpolation-mode: bicubic;
  border: 0;
}

.cboxIframe {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

#cboxOverlay {
  opacity: .7;
  background: #000;
  filter: alpha(opacity=70);
}

#colorbox {
  outline: 0;
}

#cboxContent {
  overflow: visible;
  margin-top: 32px;
  background: #000;
}

.cboxIframe {
  background: #fff;
}

#cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}

#cboxLoadingGraphic {
  background: url(../images/loading.gif) no-repeat center center;
}

#cboxLoadingOverlay {
  background: #000;
}

#cboxTitle {
  position: absolute;
  top: -22px;
  left: 0;
  color: #000;
}

#cboxCurrent {
  position: absolute;
  top: -22px;
  right: 205px;
  text-indent: -9999px;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
  position: absolute;
  top: -20px;
  overflow: visible;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
  border: 0;
}

#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
  outline: 0;
}

#cboxPrevious {
  right: 44px;
  background: url(../images/prev.png) 0 0 no-repeat;
  background-size: cover;
}

#cboxNext {
  right: 22px;
  background: url(../images/next.png) 0 0 no-repeat;
  background-size: cover;
}

#cboxClose {
  right: 0;
  background: url(../images/close.png) 0 0 no-repeat;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  #gheader {
    padding: 40px 70px;
  }

  #gheader img {
    width: 100%;
    height: auto;
  }

  #gwrapper::before {
    height: 200px;
  }

  .main {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: auto;
    padding: 0 20px;
  }

  .main_visual {
    padding: 0 50px;
  }

  .main_visual img {
    width: 100%;
  }

  .campanyInfo {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: auto;
    padding: 0 20px;
  }

  .work {
    padding: 0 20px;
  }

  .work_block {
    padding-left: 0;
  }

  .work_block-right {
    padding-right: 0;
  }

  .work_sizer {
    width: 20px;
  }

  .work_item {
    width: 100%;
    margin-bottom: 40px;
  }

  .work_item img {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }

  .work_item img:hover {
    opacity: 1;
  }

  .contact {
    padding: 0 20px;
  }

  .contact_button {
    width: 100%;
    padding: 15px 10px;
  }

  .copy > small {
    font-size: 3rem;
  }
}