html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
  line-height: 1.5;
  color: #000;
  -webkit-font-smoothing: initial;
  -moz-osx-font-smoothing: initial;
  font-weight: 400;
}

.mincho {
  font-family: A1 Mincho, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

* {
  box-sizing: border-box;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.overflow {
  overflow-x: hidden;
}

.wrapper {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

.menu__btn__container {
  position: fixed;
  top: 1em;
  width: 12em;
  right: 0;
  z-index: 1000;
}

.menu__border {
  position: absolute;
  left: 3em;
  width: 2em;
  background-color: #fff;
  z-index: 1;
  display: inline-block;
  -webkit-transition: all .6s ease;
  transition: all .6s ease;
  height: 2px;
  transition: transform .3s ease;
}

.is-colorChange .menu__border {
  background-color: #bbb;
}

.menu__border:nth-child(1) {
  top: 25px;
}

.menu__border:nth-child(2) {
  bottom: 25px;
}

.menu__btn {
  cursor: pointer;
  width: 100%;
  padding-left: 5.8em;
}

.menu__btn > p {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: .05em;
  transform: skewX(-18deg) translate3d(0, 0, 0);
  transition: all .6s ease;
  padding: 1em 0;
}

.is-colorChange .menu__btn > p {
  color: #bbb;
}

.menu__btn__container:hover .menu__border:nth-child(1) {
  -webkit-transform: translate3d(-0.5em, 0, 0);
  transform: translate3d(-0.5em, 0, 0);
}

.menu__btn__container:hover .menu__border:nth-child(2) {
  -webkit-transform: translate3d(-1em, 0, 0);
  transform: translate3d(-1em, 0, 0);
}

.gnav {
  padding: 6em 5em 5em;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background: #000;
  color: #fff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.gnav.open {
  transform: translate(0);
}

.gnav .close__btn {
  display: inline-block;
  text-align: right;
  cursor: pointer;
  padding-left: 3.5em;
  position: fixed;
  top: 40px;
  right: 40px;
}

.gnav .close__btn::before,
.gnav .close__btn::after {
  position: absolute;
  display: block;
  content: "";
  width: 2.5em;
  height: 1px;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: #FFF;
  transform-origin: 50% 50%;
}

.gnav .close__btn::before {
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
}

.gnav .close__btn::after {
  -webkit-transform: rotate(-25deg);
  transform: rotate(-25deg);
}

.gnav .close__btn .text {
  display: inline-block;
  font-size: 1.8rem;
  font-family: "Oswald", sans-serif;
  color: #FFF;
  letter-spacing: .05em;
  transform: skewX(-18deg) translate3d(0, 0, 0);
}

.gnav-list {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.gnav-item a {
  display: block;
  color: #FFF;
  margin-bottom: 20px;
  transition: all .6s ease;
}

.gnav-item a:hover {
  opacity: .5;
}

.gnav-item a .en {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 3.6rem;
}

.gnav-item a .ja {
  display: block;
  font-size: 1.3rem;
  opacity: .6;
}

.gnav-bottom {
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  position: relative;
  padding-left: 30px;
}

.gnav-bottom:before {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  background: #fff;
  position: absolute;
  top: 46%;
  left: 0;
}

/* ------------- top-sec --------------- */
.top-sec {
  height: 100vh;
  background: url(../../img/graphiteworks/top.jpg) center/cover no-repeat;
  position: relative;
}

.title-top {
  width: 34%;
  min-width: 400px;
  position: absolute;
  top: 30%;
  left: 12%;
}

.title-top-sub {
  font-size: 2rem;
  color: #fff;
  display: block;
  text-align: center;
  position: relative;
  top: -40px;
}

/* ------------- philos-sec --------------- */
.philos-sec {
  padding: 200px 0 100px;
  position: relative;
}

.philos-sec .wrapper {
  position: relative;
  z-index: 1;
}

.philos-text-cont {
  max-width: 970px;
  width: 82%;
  margin: 0 0 0 auto;
}

.title-philos {
  font-size: 4.6rem;
  font-weight: normal;
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s ease;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
}

.is-animated .title-philos {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.philos-text {
  line-height: 2;
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s 0.2s ease;
}

.is-animated .philos-text {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.philos-signImg-cont {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-self: flex-start;
}

.philos-sign {
  font-size: 5.2rem;
  position: relative;
  display: inline-block;
  transform: translate3d(0, 1em, 0);
  opacity: 0;
  transition: all 0.9s ease;
}

.is-animated.philos-sign {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.philos-sign .en {
  font-size: 5rem;
  font-family: 'Dancing Script', cursive;
  opacity: .28;
  position: absolute;
  top: 34px;
  left: 90px;
  white-space: nowrap;
}

.philos-img02 {
  position: relative;
  max-width: 476px;
  width: 40%;
  left: -20px;
  transform: translate3d(0, 1em, 0);
  opacity: 0;
  transition: all 0.9s ease;
}

.philos-img01 {
  max-width: 325px;
  width: 30%;
  position: absolute;
  top: -100px;
  left: -120px;
  transform: translate3d(0, 1em, 0);
  opacity: 0;
  transition: all 0.9s ease;
}

.philos-mv {
  max-width: 1027px;
  width: 90%;
  margin: 100px auto 0;
  position: relative;
  /* transform: translate3d(0, 1em, 0);
  opacity: 0;
  transition: all 0.9s ease; */
}

.philos-mv .border {
  position: absolute;
  display: block;
  width: 16%;
  height: 2px;
  background: #000;
}

.philos-mv .top,
.philos-mv .topLeft {
  top: -2.4vw;
  left: -2.4vw;
}

.philos-mv .topLeft {
  transform: rotate(90deg);
  transform-origin: top left;
}

.philos-mv .bottom,
.philos-mv .bottomRight {
  bottom: -2.4vw;
  right: -2.4vw;
}

.philos-mv .bottomRight {
  transform: rotate(90deg);
  transform-origin: bottom right;
}

.philos-mv video {
  display: block;
  width: 100%;
}

.is-animated.philos-img01,
.is-animated.philos-img02,
.is-animated.philos-img03 {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.philos-bottom-bg {
  background: rgba(0, 0, 0, .1);
  width: 100%;
  height: 430px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

/* -------------- concept-top --------------- */
.concept-sec {
  color: #fff;
  overflow: hidden;
}

.title-concept-sub {
  font-size: 3.2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.6;
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s 0.2s ease;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.concept-top {
  background: url(../../img/graphiteworks/bg-concept.jpg) center/cover no-repeat;
  padding: 128px 0 300px;
  min-height: 100vh;
}

.concept-top .wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.title-concept {
  font-size: 2.8rem;
  font-weight: normal;
  line-height: 1.8;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s ease;
}

.concept-text-cont {
  max-width: 700px;
  width: 80%;
  line-height: 2;
}

.concept-text-cont p {
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s 0.4s ease;
}

.concept-text-cont .title-concept-sub {
  margin: 100px 0 40px;
}

.is-animated .title-concept,
.is-animated .title-concept-sub,
.is-animated .concept-text-cont p {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* ------------- concept-sec01 ------------ */
.concept-sec01 {
  min-height: 100vh;
  display: flex;
}

.concept-sec01-img-cont {
  width: 50%;
  background: url(../../img/graphiteworks/img-concept01.jpg) center/cover no-repeat;
  position: relative;
}

.concept-sec01-img-cont:before,
.concept-sec02-img-cont:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s 0.2s ease;
  transform-origin: 0 0;
}

.concept-sec-text-cont {
  line-height: 2;
  width: 50%;
  background: #000;
  padding: 5em 6.25vw 2em;
}

.concept-sec-catch-cont {
  width: 100%;
  position: relative;
}

.concept-sec-catch-cont .catch {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 7.2rem;
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s ease;
}

.concept-sec-text-cont p {
  transform: translate3d(0, 3em, 0);
  opacity: 0;
  transition: all 0.9s 0.4s ease;
}

.concept-sec02 {
  min-height: 100vh;
  display: flex;
  flex-direction: row-reverse;
}

.concept-sec02-img-cont {
  width: 50%;
  background: url(../../img/graphiteworks/img-concept02.jpg) center/cover no-repeat;
  position: relative;
}

.concept-sec02 .concept-sec-catch-cont .catch {
  right: auto;
  left: 0;
}

.is-animated .concept-sec-catch-cont .catch,
.is-animated .concept-sec-text-cont p {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.is-animated .concept-sec01-img-cont:before {
  transform: scaleX(0);
}

.is-animated .concept-sec02-img-cont:before {
  transform: translateX(100%);
}

/* --------------- product-sec ------------ */
.pd-sec {
  padding: 120px 0;
}

.title-pd {
  font-size: 5.8rem;
  font-weight: normal;
  text-align: center;
  background: url(../../img/graphiteworks/bg-product-title.png) center/contain no-repeat;
  padding: 60px 0;
  transform: translate3d(0, 1em, 0);
  opacity: 0;
  transition: all 0.9s ease;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
}

.is-animated.title-pd {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.pd-sec-detail {
  margin: 80px 0 120px;
}

.title-pd-sub {
  font-size: 2.6rem;
  font-weight: normal;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.title-pd-sub:after {
  content: "";
  width: 24px;
  height: 2px;
  background: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.pd-sec-cont {
  display: flex;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 0 auto;
}

.pd-item {
  width: calc(85% / 4);
  margin-right: 5%;
  margin-bottom: 40px;
  position: relative;
}

.pd-item a {
  display: block;
  position: relative;
  height: 100%;
  padding-bottom: 60px;
}

.pd-item:nth-of-type(4n) {
  margin-right: 0;
}

.pd-item .item-img {
  width: 100%;
  border: 2px solid #000;
  position: relative;
}

.pd-item .item-img:before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.pd-item .item-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pd-item .item-title {
  margin: 16px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
}

.pd-item .item-btn {
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  background: #000;
  display: block;
  width: 100%;
  padding: 16px 0;
  text-align: center;
  position: absolute;
  bottom: 0;
  transition: all 0.2s ease;
}

.pd-item .item-btn:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 23px;
  right: 14px;
}

.pd-item .item-btn span {
  display: inline-block;
  position: relative;
  transition: transform 0.2s ease;
}

.pd-item a:hover .item-btn span {
  transform: translate3d(0.5em, 0, 0);
}

.pd-item .item-release {
  color: #E03522;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  margin-top: 2px;
}

.gallery-sec {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 0 120px;
}

.title-gallery {
  font-size: 2.2rem;
  font-weight: normal;
  text-align: center;
  position: relative;
  margin-block: 1em;
}

.title-gallery span {
  display: inline-block;
  width: 495px;
  background: #fff;
  position: relative;
  z-index: 0;
}

.title-gallery span:before,
.title-gallery span:after {
  content: "";
  display: block;
  width: 1px;
  height: 26px;
  background: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
}

.title-gallery span:before {
  left: 0;
}

.title-gallery span:after {
  right: 0;
}

.title-gallery:before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

/* ----------- footer -------------- */
.footer {
  background-color: rgba(0, 0, 0, .88);
  text-align: center;
}

.footer-inner {
  padding-top: 6rem;
}

.footer-content {
  margin-top: 2em;
}

.footer-logo svg {
  width: 170px;
  height: 60px;
  fill: #FFF;
}

.footer-social-heading {
  font-size: 1.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  color: #FFF;
  letter-spacing: .1em;
  text-align: center;
}

.footer-social-lists {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.footer-social-lists > .list {
  margin: 0.5rem;
  flex-basis: 35px;
  height: 35px;
}

.footer-social-lists > .list > a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: #FFF;
  border-radius: 50%;
  transition: background-color .3s ease;
}

.footer-social-lists > .list > a > svg {
  fill: #000;
}

.footer-social-lists > .list.is-facebook > a > svg {
  width: 65%
}

.footer-social-lists > .list.is-instagram > a > svg {
  width: 60%
}

.footer-social-lists > .list.is-twitter > a > svg {
  width: 100%
}

.footer-social-lists > .list.is-line > a > svg {
  width: 100%
}

.footer-social-lists > .list.is-youtube > a > svg {
  width: 65%
}

.footer-navs {
  letter-spacing: -0.4em
}

.footer-navs > .nav {
  display: inline-block;
  letter-spacing: 0
}

.footer-navs > .nav + .nav {
  position: relative;
  margin-left: 10px;
  margin-left: 1rem;
  padding-left: 10px;
  padding-left: 1rem
}

.footer-navs > .nav + .nav::before {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 1px;
  height: 60%;
  background-color: #FFF
}

.footer-navs > .nav > a {
  display: block;
  font-size: 11px;
  font-size: 1.1rem;
  color: #FFF;
  text-decoration: none
}

.footer-copyright {
  padding: 0.5rem 0;
  font-size: 10px;
  font-size: 1rem;
  font-family: "Oswald", sans-serif;
  color: #fff;
  font-weight: 300;
  background-color: #000;
  margin-top: 10px;
  margin-top: 1rem
}

.footer-copyright p {
  margin: 0;
}

.pagetop {
  position: fixed;
  width: 80px;
  height: 80px;
  background: #000;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.pagetop:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 55%;
  left: 50%;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .menu__btn__container {
    width: 10em;
    top: 0;
  }

  .gnav .close__btn {
    top: 20px;
    right: 20px;
  }

  .gnav .close__btn .text {
    font-size: 1.4rem;
    font-size: 3.73333vw;
  }

  .gnav {
    padding: 10vw 8vw 10vw;
  }

  .gnav-item a .en {
    font-size: 6.4vw;
  }

  .gnav-bottom {
    font-size: 1.2rem;
  }

  .top-sec {
    background-image: url(../../img/graphiteworks/top-sp.jpg);
  }

  .title-top {
    min-width: 0;
    width: 90%;
    top: auto;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* --------- philos-sec ----------- */
  .philos-sec {
    padding: 10vw 0 14vw;
  }

  .philos-text-cont {
    width: 100%;
  }

  .title-philos .inner {
    display: block;
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 40px;
  }

  .philos-signImg-cont {
    display: block;
    width: 60%;
    max-width: 300px;
    margin: 40px 0 40px auto;
  }

  .philos-sign {
    font-size: 3rem;
  }

  .philos-sign .en {
    display: block;
    font-size: 4rem;
    position: relative;
    top: -10px;
    left: 0;
  }

  .philos-img02 {
    width: 100%;
    margin-top: 20px;
  }

  .philos-img01 {
    max-width: 140px;
    position: absolute;
    bottom: 56vw;
    top: auto;
    left: 0;
  }

  .philos-mv {
    margin-top: 40px;
  }

  .philos-mv .border {
    height: 1px;
  }

  .philos-bottom-bg {
    height: 15%;
  }

  /* ----------- concept-sec ----------- */
  .concept-top {
    padding: 10vw 0 14vw;
    height: auto;
    min-height: 0;
  }

  .concept-top .wrapper {
    display: block;
  }

  .title-concept {
    width: 100%;
    writing-mode: horizontal-tb;
    text-align: center;
    font-size: 3.2rem;
  }

  .concept-text-cont {
    width: 100%;
  }

  .concept-top .title-concept-sub {
    text-align: center;
    margin: 1em 0;
  }

  .title-concept-sub {
    font-size: 2.2rem;
  }

  .concept-sec01,
  .concept-sec02 {
    display: block;
  }

  .concept-sec01-img-cont {
    width: 100%;
    height: 400px;
  }

  .concept-sec02-img-cont {
    width: 100%;
    height: 400px;
  }

  .concept-sec-text-cont {
    width: 100%;
  }

  .concept-sec-catch-cont .catch {
    font-size: 12.8vw;
  }

  .concept-sec02 .concept-sec-catch-cont .catch {
    right: 0;
    left: auto;
  }

  /* ------------- pd-sec ------------- */
  .pd-sec {
    padding: 10vw 0 14vw;
  }

  .title-pd {
    font-size: 3rem;
    padding: 8vw;
  }

  .title-pd-sub {
    font-size: 2.6rem;
  }

  .pd-sec-detail {
    margin: 60px 0 20px;
  }

  .pd-item {
    width: calc(95% / 2);
    margin-right: 0;
  }

  .pd-item:nth-of-type(2n) {
    margin-left: 5%;
  }

  .pd-item .item-btn {
    font-size: 1.2rem;
    text-align: left;
    padding-left: 10px;
  }

  .gallery-sec {
    padding-top: 60px;
  }

  .title-gallery {
    font-size: 2rem;
    margin: 0 0 40px;
  }

  .title-gallery:before {
    content: none;
  }

  .title-gallery span {
    width: 90%;
  }

  .title-gallery span:before,
  .title-gallery span:after {
    height: 60px;
  }

  .to-gallery-link {
    display: block;
    width: 80%;
    margin: 0 auto;
  }

  .pagetop {
    width: 60px;
    height: 60px;
  }
}

/* ------------------------------------------
   gallery
   ------------------------------------------ */
.gallery-wrapper {
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
  color: #3C2C1B;
  display: flex;
  flex-direction: row-reverse;
  padding-bottom: 100px;
}

.gallery-head {
  width: 24%;
  height: calc(100% - 100px);
  max-height: calc(100vh - 100px);
  /* position: fixed; */
  position: sticky;
  top: 100px;
  /* left: auto !important; */
  /* right: calc(50vw - 735px); */
  right: 0;
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
  padding-left: 3cqw;
}

.gallery-head::-webkit-scrollbar {
  display: none;
}

.gallery-title {
  font-size: 5.2rem;
  writing-mode: vertical-rl;
  letter-spacing: .3em;
  font-weight: normal;
  display: flex;
  flex-wrap: wrap;
  height: 75%;
  position: relative;
}

.gallery-title__img {
  position: absolute;
  top: 0;
  right: -70px;
  width: 52px;
}

.gallery-title .txt {
  display: block;
  white-space: nowrap;
}

.gallery-title .txt + .txt {
  padding-top: 80px;
  position: relative;
}

.gallery-title .txt + .txt:before {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background: #3C2C1B;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-gnav {
  padding-bottom: 40px;
}

.gallery-gnav__title {
  font-size: 2.4rem;
  padding-left: 16px;
  margin-bottom: 20px;
  position: relative;
}

.gallery-gnav__title:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid #3C2C1B;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 0;
}

.gallery-gnav__menu {
  font-size: 1.4rem;
  padding-left: 16px;
  margin: 10px 0;
}

.gallery-gnav__menu a {
  color: #3C2C1B;
}

.gallery-gnav__menu a:before {
  content: "";
  display: none;
  width: 12px;
  height: 1px;
  background: #3C2C1B;
  position: relative;
  left: 0;
  top: -5px;
  margin-right: 5px;
}

.gallery-gnav__menu a:hover:before {
  display: inline-block;
}

.gallery-main {
  width: 77%;
}

.lists-sec {
  padding-top: 140px;
}

.gallery-title-2 {
  font-size: 4.2rem;
  font-weight: normal;
  padding-right: 50%;
  border-bottom: 1px solid #3C2C1B;
  margin: 0 0 90px;
  position: relative;
}

.gallery-title-2:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #fff;
  border: 1px solid #3C2C1B;
  border-radius: 50%;
  position: absolute;
  bottom: -4px;
  right: 0;
}

.gallery-title-2 .sub {
  font-size: 1.8rem;
  position: absolute;
  width: 60%;
  max-width: 400px;
  top: 50%;
  right: 0;
  transform: translateY(-30%);
}

.gallery-title-3 {
  font-size: 2.8rem;
  font-weight: normal;
  text-align: center;
  color: #3C2C1B;
  opacity: .6;
  margin: 90px 0 66px;
}

.gallery-title-3 span {
  border-left: 2px solid rgba(60, 44, 27, .4);
  border-right: 2px solid rgba(60, 44, 27, .4);
  padding-left: 40px;
  padding-right: 40px;
}

.gallery-item-wrap {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  display: block;
  width: 31.3%;
  margin-right: 3%;
  margin-bottom: 30px;
}

.gallery-item:nth-of-type(3n) {
  margin-right: 0;
}

.gallery-item__inner {
  display: block;
  position: relative;
}

.gallery-item__inner img {
  display: block;
}

.gallery-item__txt {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .75);
  opacity: 0;
  transition: all .2s ease;
}

.gallery-item:hover .gallery-item__txt {
  opacity: 1;
}

.gallery-foot {
  margin-top: 200px;
  padding: 120px 0 80px;
  border-top: 1px solid #3C2C1B;
  position: relative;
}

.gallery-foot:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid #3C2C1B;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  right: 0;
}

.gallery-foot__campanyname {
  display: block;
  padding-top: 6px;
  padding-left: 20px;
}

.gallery-foot__wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.gallery-foot__sns {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.gallery-foot__sns-title {
  padding-right: 55px;
  position: relative;
}

.gallery-foot__sns-title:after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #3C2C1B;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(30deg);
}

.gallery-foot__sns-lists {
  display: flex;
  align-items: center;
}

.gallery-foot__sns-lists li {
  margin-right: 10px;
}

.gallery-foot__sns-lists a {
  transition: all .2s ease;
}

.gallery-foot__sns-lists a:hover {
  opacity: .6;
}

.gallery-copyright {
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .gallery-wrapper {
    display: block;
    padding-bottom: 50px;
  }

  .gallery-head {
    position: relative;
    width: 100%;
    height: auto;
    overflow-y: initial;
    top: 0;
    max-height: none;
  }

  .gallery-title {
    display: block;
    margin: 16vw auto 0;
    height: auto;
    left: -20px;
    letter-spacing: .5em;
  }

  .gallery-title .txt + .txt {
    padding-top: 0;
  }

  .gallery-title .txt + .txt:before {
    content: none;
  }

  .gallery-title__img {
    width: 47px;
  }

  .gallery-gnav {
    width: 120px;
    margin: 80px auto 60px;
    position: relative;
    left: -40px;
  }

  .gallery-gnav__menu {
    font-size: 1.6rem;
    white-space: nowrap;
  }

  .gallery-gnav__menu a {
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px solid #3C2C1B;
  }

  .gallery-main {
    width: 100%;
  }

  .lists-sec {
    padding-top: 18vw;
  }

  .gallery-title-2 {
    padding-right: 0;
    font-size: 3.8rem;
    padding-bottom: 8px;
    margin-bottom: 40px;
  }

  .gallery-title-2 .sub {
    position: static;
    width: 100%;
    display: block;
    font-size: 1.4rem;
    transform: none;
  }

  .gallery-title-3 {
    font-size: 2.2rem;
    margin: 40px 0 50px;
  }

  .gallery-item {
    width: 48%;
    margin-right: 4%;
  }

  .gallery-item:nth-of-type(3n) {
    margin-right: 4%;
  }

  .gallery-item:nth-of-type(2n) {
    margin-right: 0;
  }

  .gallery-item__txt {
    display: block;
    position: static;
    opacity: 1;
    background: none;
    font-size: 1.2rem;
    text-align: left;
    color: #3C2C1B;
    margin-top: 16px;
  }

  .gallery-foot {
    margin-top: 90px;
    padding: 80px 0 0;
  }

  .gallery-foot__logo {
    width: 218px;
  }

  .gallery-foot__campanyname {
    padding-left: 10px;
  }

  .gallery-foot__wrap {
    display: block;
    padding-left: 10px;
    margin-top: 26px;
  }

  .gallery-foot__sns {
    display: block;
    margin-bottom: 40px;
    padding-left: 0;
  }

  .gallery-foot__sns-title:after {
    content: none;
  }
}

/* --------------------------------
    gallery- detail
    -------------------------------- */
#graphiteworks-detail {
  background: linear-gradient(to bottom, #F5F5F5, #fff);
  overflow: hidden;
}

.gallery-detail-wrapper {
  max-width: 1160px;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 160px;
  overflow: hidden;
}

.gallery-detail-top {
  /* background: linear-gradient(to bottom, #F5F5F5, #fff); */
  margin: 0 -200%;
  padding: 0 200%;
  /*min-height: 100vh;*/
}

.gallery-detail-pd-img {
  padding: 40px 0 30px;
  position: relative;
}

.gallery-detail-slider-wrap {
  max-width: 745px;
  width: 64.2%;
  margin: 0 auto;
  position: relative;
}

.gallery-detail-pd-img .slider {
  border-radius: 5px;
  box-shadow: 10px 15px 15px rgba(0, 0, 0, .15);
}

.gallery-detail-pd-img .slider li {
  line-height: 0;
}

.gallery-detail-pd-img .slider button {
  padding: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.gallery-detail-pd-img .slider button:before {
  content: '';
  background: url(../../img/graphiteworks/icon-zoom.svg) no-repeat center center /cover;
  width: 4rem;
  height: 4rem;
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
}

@media screen and (min-width: 769px) {
  .gallery-detail-top {
    position: relative;
    padding-bottom: 20px;
    height: 100vh;
  }

  .gallery-detail-pd-img .thumbnail-list {
    position: absolute;
    bottom: 30px;
    width: 127px;
    /* height: min(20vw, 230px); */
    /* height: 329px; */
  }

  .gallery-detail-pd-img .thumbnail-list .slick-track {
    width: 127px !important;
    /* height: min(20vw, 230px); */
    /* height: 329px; */
    /* display: flex;
    flex-direction: column;
    align-content: space-between;
    justify-content: flex-end;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    transform: unset !important;
  }

  .gallery-detail-pd-img .thumbnail-list .slick-track:before,
  .gallery-detail-pd-img .thumbnail-list .slick-track:after {
    display: none;
  }

  .gallery-detail-pd-img .thumbnail-item {
    width: min(5.8vw, 67px) !important;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid #3C2C1B;
    margin: 0;
    cursor: pointer;
  }

  .gallery-detail-pd-img .thumbnail-item.slick-current {
    border: 2px solid #3C2C1B;
  }

  .gallery-detail-pd-img .thumbnail-item:nth-of-type(3n) {
    margin-bottom: 0;
  }

  .gallery-detail-pd-img .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-detail-pd-img .next-arrow {
    right: -10%;
    cursor: pointer;
  }

  .gallery-detail-pd-img .prev-arrow {
    left: -10%;
    cursor: pointer;
  }
}

.gallery-detail-title {
  width: 100%;
  font-size: 2.4rem;
  font-weight: normal;
  color: #3C2C1B;
  text-align: center;
}

.gallery-detail-scroll {
  color: #3C2C1B;
  text-align: center;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-detail-scroll span {
  display: inline-block;
  padding-bottom: 10px;
}

.gallery-detail-scroll span:before,
.gallery-detail-scroll span:after {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background: #3C2C1B;
  position: absolute;
  bottom: 0px;
}

.gallery-detail-scroll span:before {
  transform: rotate(45deg);
  left: 11px;
}

.gallery-detail-scroll span:after {
  transform: rotate(-45deg);
  right: 11px;
}

.gallery-detail-info-sec {
  padding-top: 160px;
}

.gallery-detail-info {
  overflow: hidden;
}

.gallery-detail-info__inner {
  border: 1px solid #3C2C1B;
  position: relative;
  padding: 70px 40px;
}

.gallery-detail-info__deco {
  display: block;
  width: 35px;
  height: 35px;
  background: #fff;
  border: 1px solid #3C2C1B;
  border-radius: 50%;
  position: absolute;
}

.gallery-detail-info__deco.--topLeft {
  top: -18px;
  left: -18px;
}

.gallery-detail-info__deco.--topRight {
  top: -18px;
  right: -18px;
}

.gallery-detail-info__deco.--bottomRight {
  bottom: -18px;
  right: -18px;
}

.gallery-detail-info__deco.--bottomLeft {
  bottom: -18px;
  left: -18px;
}

.gallery-detail-info__title {
  font-size: 2.2rem;
  color: #3C2C1B;
  max-width: 820px;
  margin: 0 auto 50px;
  font-weight: normal;
}

.gallery-detail-info__txt {
  max-width: 770px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  line-height: 2;
}

.gallery-detail-title-col2 {
  max-width: 1075px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.gallery-detail-title-col2__head {
  max-width: 258px;
  width: 24%;
  position: relative;
  margin: 0;
  padding: 60px 0 0;
}

.gallery-detail-title-col2__head .en {
  font-family: A1 Mincho, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
  display: block;
  font-size: 4rem;
  font-weight: normal;
  color: #3C2C1B;
}

.gallery-detail-title-col2__head .jp {
  display: block;
  font-size: 2rem;
  font-weight: normal;
  opacity: .3;
}

.gallery-detail-title-col2__head .slash {
  content: "";
  display: block;
  width: 1px;
  height: 250px;
  background: #3C2C1B;
  position: absolute;
  top: 0;
  right: 40px;
  transform: rotate(30deg);
}

.gallery-detail-title-col2__head .slash:after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1px solid #3C2C1B;
  border-radius: 50%;
  position: absolute;
  left: -4px;
}

.gallery-detail-title-col2__body {
  max-width: 730px;
  width: 67.9%;
  padding: 50px 0 0;
}

.gallery-detail-model-sec {
  padding-top: 200px;
}

.gallery-detail-model-title {
  background: #3C2C1B;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 14px 14px 14px 40px;
  position: relative;
  margin: 0 0 24px;
}

.gallery-detail-model-title:before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
  left: 10px;
}

.gallery-detail-model-title-2 {
  font-weight: 500;
  margin: 0;
}

.gallery-detail-model-item {
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 80px;
  font-size: 1.4rem;
  line-height: 2;
}

.gallery-detail-model-item p {
  margin: 0 0 40px;
}

.gallery-detail-spec-sec {
  padding-bottom: 200px;
}

.gallery-detail-spec-table-wrap {
  overflow-x: scroll;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-detail-spec-table-wrap-note {
  font-size: 1.4rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.gallery-detail-spec-table-wrap::-webkit-scrollbar {
  /* Chrome, Safari 対応 */
  display: none;
}

.simplebar-scrollbar::before {
  border-radius: 6px;
  background-color: #E5E5E5;
  top: 0;
}

.simplebar-scrollbar.simplebar-visible::before {
  opacity: 1;
}

.simplebar-track {
  height: 12px !important;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  background-color: #fff;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  top: 1px;
  left: 1px;
  height: 10px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
  left: 0;
}

.gallery-detail-spec-table {
  width: 990px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.gallery-detail-spec-table th {
  color: #3C2C1B;
  background: #D8D4D1;
  font-weight: normal;
  padding: 6px;
  border-right: 1px solid #707070;
}

.gallery-detail-spec-table th:last-of-type {
  border-right: none;
}

.gallery-detail-spec-table td {
  padding: 10px;
  text-align: center;
  border-right: 1px solid #707070;
  border-bottom: 1px solid #707070;
  background: #fff;
}

.gallery-detail-spec-table td:last-of-type {
  border-right: none;
}

/* .gallery-detail-spec-table th:nth-of-type(1),
.gallery-detail-spec-table td:nth-of-type(1) {
  position: sticky;
  left: 0;
} */
.gallery-detail-spec-table th:nth-of-type(1):before,
.gallery-detail-spec-table td:nth-of-type(1):before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  /* border-right: 1px solid #707070; */
}

@media screen and (max-width: 768px) {
  .gallery-detail-wrapper {
    padding-bottom: 80px;
    overflow: hidden;
  }

  .gallery-detail-slider-wrap {
    width: 100%;
  }

  .gallery-detail-pd-img .thumbnail-list {
    width: 60%;
    margin: 48px auto 0;
  }

  .gallery-detail-pd-img .thumbnail-list .slick-list {
    right: -2%;
    padding-left: 2px;
  }

  .gallery-detail-pd-img .thumbnail-item {
    border: 1px solid #3C2C1B;
    margin: 1px 11px 1px 1px;
    height: auto;
    aspect-ratio: 1/1;
  }

  .gallery-detail-pd-img .thumbnail-item.slick-current {
    border: 2px solid #3C2C1B;
    margin: 0 10px 0 0;
  }

  .gallery-detail-pd-img .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-detail-pd-img .prev-arrow {
    left: -40px;
  }

  .gallery-detail-pd-img .next-arrow {
    right: -40px;
  }

  .gallery-detail-scroll {
    display: none;
  }

  .gallery-detail-title {
    font-size: clamp(2.2rem, 2.5vw + 1rem, 2.4rem);
  }

  .gallery-detail-info-sec {
    padding-top: 20.8vw;
  }

  .gallery-detail-info__inner {
    padding: min(8vw, 50px);
  }

  .gallery-detail-info__title {
    text-align: center;
    margin-bottom: 36px;
  }

  .gallery-detail-title-col2 {
    display: block;
  }

  .gallery-detail-title-col2__head {
    width: 100%;
    max-width: 100%;
    padding-top: 5.3vw;
  }

  .gallery-detail-title-col2__head .en {
    font-size: 3.3rem;
    text-align: center;
  }

  .gallery-detail-title-col2__head .jp {
    font-size: 1.6rem;
    text-align: center;
  }

  .gallery-detail-title-col2__head .slash {
    height: 1px;
    width: 250px;
    position: relative;
    left: 50%;
    transform: translateX(-50%) rotate(0);
    margin-top: 20px;
  }

  .gallery-detail-title-col2__head .slash:after {
    left: auto;
    right: 0;
    top: -4px;
  }

  .gallery-detail-title-col2__body {
    width: 100%;
  }

  .gallery-detail-model-sec {
    padding-top: 20vw;
  }

  .gallery-detail-model-title {
    font-size: 1.6rem;
    padding-left: 30px;
  }

  .gallery-detail-spec-sec {
    padding-bottom: 100px;
  }
}

.post-type-archive-graphiteworks_list .footer {
  display: none;
}

/* 251220 add */
#graphiteworks {
  background: #fff;
}

.b-modal__dialog {
  max-width: 1070px;
  margin: auto;
}

.modal-gallery__dialog-container {}

.swiper {
  visibility: visible;
  overflow: visible;
  transition: none;
  opacity: 1;
}

.gallery__swiper {}

.b-modal__closeButton {
  right: 100px;
}

.gallery__swiper__ui {
  display: block;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6.4rem;
  height: 6.4rem;
  z-index: 2;
}

.swiper-button-prev:before,
.swiper-button-next:before {
  width: 2.1rem;
  height: 2.1rem;
  background-size: 2.1rem;
}

.swiper-button-prev {
  left: 0rem;
  right: auto;
}

.swiper-button-prev:before {
  background-image: url(../../img/common/arrow-left-black.svg);
}

.swiper-button-next {
  right: 0rem;
  left: auto;
}

.swiper-button-next:before {
  background-image: url(../../img/common/arrow-right-black.svg);
}

.swiper-pagination {
  position: static;
  max-width: 880px;
  margin-inline: auto;
  justify-content: flex-end;
  color: #fff;
  letter-spacing: 0.3em;
  margin-top: 0.8rem;
  font-family: "Noto Sans JP", "游ゴシック", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.gallery__swiper__item {
  max-width: 880px;
  margin-inline: auto;
  aspect-ratio: 1/1;
}

@media screen and (max-width: 768px) {
  .b-modal__closeButton {
    right: 20px;
  }

  .gallery__swiper__ui {
    display: flex;
    margin-top: 1.6rem;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: block;
    position: static;
    transform: translateY(0);
    width: 4.4rem;
    height: 4.4rem;
  }

  .swiper-button-prev:before,
  .swiper-button-next:before {
    width: 1.6rem;
    height: 1.6rem;
    background-size: 1.6rem;
  }

  .swiper-pagination {
    font-size: 1.6rem;
    margin-top: 0;
    justify-content: center;
  }
}
