html {
  scroll-behavior: smooth;
  line-break: strict;
}

body {
  font-family: "Noto Sans JP";
  font-size: 16px;
  color: #231815;
  margin: 0;
  padding: 0;
}

/* ヘッダー */

header {
  height: 60px;
  width: 100%;
  background: #fff;
  align-items: center;
  display: flex;
  position: fixed;
  top: 0;
  z-index: 1;
}

.logo img {
  max-width: 150px;
  width: 100%;
  margin-left: 20px;
  vertical-align: middle;
}

.pc-btn {
  font-size: 20px;
  font-weight: normal;
  background: #000;
  width: 180px;
  margin: 0;
  line-height: 70px;
  text-align: center;
  display: none;
}

.pc-btn a {
  color: #fff;
  display: block;
}

.nav {
  display: none;
}

.pc-menu {
  margin: 0;
  padding: 0;
  text-align: right;
  display: flex;
}

.menu-item {
  font-size: 20px;
  list-style: none;
  display: inline-block;
  margin-right: 20px;
}

.menu-item__icon {
  height: 100%;
  list-style: none;
  display: inline-block;
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.menu-item__icon img {
  max-width: 22px;
  width: 100%;
  vertical-align: bottom;
}

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

#WORKS,
#SERVICE,
#MESSAGE,
#COMPANY,
#CONTACT {
  padding-top: 60px;
  margin-top: -60px;
}

/* ハンバーガーメニュー */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255);
  text-align: center;
  padding: 64px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
  z-index: 1;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 18px;
  right: 0;
  font-size: 48px;
  cursor: pointer;
  margin-right: 20px;
  transform: translateY(50%);
}

.overlay ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu-group__sp-icon {
  display: flex;
  margin: 0 auto;
  justify-content: center;
}

.menu-group__sp-icon li {
  padding: 0 5px;
}

.overlay li {
  font-size: 22px;
  margin-top: 24px;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.sp-btn {
  font-weight: normal;
  font-size: 22px;
  width: 150px;
  background: #000;
  line-height: 80px;
  margin: 24px auto 0;
}

.sp-btn a {
  color: #fff;
  display: block;
}



/* 動画 */

.mv-pc {
  width: 100%;
  display: none;
  margin: 70px 0 100px;
}

.mv-sp {
  width: 100%;
  display: block;
  margin: 60px 0 50px;
}





.text-box {
  margin: 0 20px 50px;
}

.subject {
  text-align: center;
  margin: 0 auto 50px;
}


#WORKS p {
  letter-spacing: 0.17em;
}

.pc-view {
  display: none;
}

.sp-view {
  display: block;
}




.subtitle {
  font-size: 22px;
  text-align: center;
  width: 100%;
  margin: 0 auto 40px;
  padding-bottom: 5px;
  letter-spacing: 0.15em;
  position: relative;
  white-space: nowrap;
}

.subtitle p {
  text-align: center;
  margin-top: 0;
  margin-right: -0.15em;
  margin-bottom: 0;
}

.subtitle::before {
  content: "";
  position: absolute;
  width: 100%;
  max-width: 200px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -3px;
  height: 3px;
  border-top: 1px solid #231835;
  border-bottom: 1px solid #231835;
}

.text-box__sub {
  margin-bottom: 40px;
}

.grey-box {
  background: #F3F3F3;
  padding: 50px 20px 10px;
}

.white-box {
  padding: 50px 20px 10px;
}

.white-box__sub {
  padding: 0 20px 20px;
}

.subtitle-left {
  font-size: 22px;
  width: 100%;
  margin: 0 auto 20px;
  padding-bottom: 5px;
  position: relative;
  letter-spacing: 0.15em;
}

.subtitle-left p {
  margin-top: 0;
  margin-bottom: 0;
}

.subtitle-left:before {
  content: "";
  position: absolute;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -9px;
  height: 4px;
  border-top: 1px solid #231835;
  border-bottom: 1px solid #231835;
}

.subtitle-left:after {
  content: "";
  position: absolute;
  width: 150px;
  left: 0;
  bottom: -9px;
  height: 4px;
  border-top: 1px solid #89000d;
  border-bottom: 1px solid #89000d;
}

table {
  width: 100%;
  margin-bottom: 50px;
}

th {
  font-weight: normal;
  width: 40%;
  vertical-align: top;
  text-align: left;
}

td {
  width: 60%;
}

ol {
  list-style-position: inside;
  padding-inline-start: 0;
  margin-bottom: 50px;
}


.number-list li {
  padding-left: 1em;
  text-indent: -1em;
}


.p__center {
  text-align: center;
}

.strong {
  font-weight: bold;
  color: #89000d;
}

footer {
  font-size: 12px;
  color: #fff;
  background: #000;
  height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inline-block {
  display: inline-block;
}




/* -- contact form -------------------------------------------------------------------------------- */

/* -- error message -------------------------------------------------------------------------------- */
form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
  display: block;
  color: #ff0000;
  margin-top: 5px;
}

/* -- loading -------------------------------------------------------------------------------- */
div.loading-layer {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 10000;
}

span.loading {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-top: 5px solid rgba(255, 255, 255, 0.2);
  border-right: 5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 5px solid rgba(255, 255, 255, 0.2);
  border-left: 5px solid #ffffff;
  transform: translateZ(0);
  -webkit-animation: load-circle 1s linear infinite;
  animation: load-circle 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
}

@-webkit-keyframes load-circle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes load-circle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* -- contact form custom -------------------------------------------------------------------------------- */
.form {
  max-width: 460px;
  margin: 0 auto;
}

.form * {
  box-sizing: border-box;
}

.form dd {
  margin-inline-start: 0;
}

@media screen and (min-width: 1025px) {
  .form dt {
    padding-left: 1em;
  }
}

.form .required-title::after {
  content: " *";
}

.form__submit-button {
  font-size: 16px;
  width: 195px;
  height: 35px;
  color: #fff;
  background-color: #89000d;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;

}

.form__submit-button:hover {
  opacity: 0.8;
}

.form__submit {
  text-align: center;
}

.form__contents {
  margin-bottom: 40px;
}

#mail_form dl {
  margin-bottom: 13px;
}

#mail_form dl input,
#mail_form dl textarea {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 3px solid #707070;
  width: 100%;
  font-size: 16px;
  padding-left: 1em;
  font-family: "Noto Sans JP", serif;
}

#mail_form dl input {
  height: 40px;
}

#mail_form dl textarea {
  height: 245px;
  padding: 10px 1em;
}

form#mail_form p.submit-result-text {
  color: #d9534f;
  margin: 1em 0;
  border: 3px solid #d9534f;
  padding: 1em 0;
}


/* ギャラリー */

.box-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 50px;
}

@media screen and (min-width: 1025px) {
  .box-container {
    margin-bottom: 200px;
  }
}

.box {
  width: 50%;
  list-style: none;
}

@media screen and (min-width: 768px) {
  .box {
    width: 33.3333333333%;
  }
}

@media screen and (min-width: 1025px) {
  .box {
    width: 25%;
  }
}

.box img {
  width: 100%;
  vertical-align: top;
}

.hover-caption {
  position: relative;
}

.hover-caption__bg {
  margin: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #000;
  background-color: rgba(255, 255, 255, 0.7);
  display: -ms-grid;
  display: grid;
  place-items: center;
  /*透明にして表示させない*/
  opacity: 0;
  /*ホバーの動き方*/
  transition: 0.8s ease-in-out;
}

.hover-caption__text {
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 16px;
  text-align: center;
  color: #5e5d5d;
}

@media screen and (min-width: 576px) {
  .hover-caption__text {
    font-size: 30px;
  }
}

@media screen and (min-width: 1600px) {
  .hover-caption__text {
    font-size: 42px;
  }
}

.hover-caption:hover .hover-caption__bg {
  opacity: 1;
}

.glightbox-clean .gslide-description {
  background-color: transparent;
}

.glightbox-clean .gdesc-inner,
.glightbox-clean .gslide-title,
.glightbox-clean .gslide-desc,
.glightbox-clean .gslide-desc a {
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  text-align: center;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev,
.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
  background-color: transparent;
}

.gnext>img:hover,
.gprev>img:hover {
  opacity: 0.9;
}

.gprev>img {
  transform: scale(-1, 1);
}

.glightbox-clean .gnext {
  right: 5%;
}

.glightbox-clean .gprev {
  left: 5%;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev {
  top: 45%;
}

.glightbox-mobile .glightbox-container .gslide-title {
  font-size: 22px;
  letter-spacing: 0.15em;
}

.glightbox-clean .gslide-title {
  font-size: 28px;
  letter-spacing: 0.15em;
}

.glightbox-mobile .glightbox-container .gslide-desc {
  color: #fff;
}

.glightbox-clean .gslide-desc {
  letter-spacing: 0.15em;
  font-size: 16px;
}

.glightbox-clean .gclose svg {
  width: 30px;
}

.gnext>img,
.gprev>img {
  max-width: 35px;
}

.arrow--prev::before,
.arrow--next::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  border-top: 8px solid #fff;
  border-right: 8px solid #fff;
  width: 34px;
  height: 34px;
}

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

  .arrow--prev::before,
  .arrow--next::before {
    border-top: 10px solid #fff;
    border-right: 10px solid #fff;
    width: 44px;
    height: 44px;
  }
}

.arrow--next {
  position: relative;
}

.arrow--next::before {
  transform: translateX(-100%) translateY(-50%) rotate(45deg);
}

.arrow--next:hover {
  opacity: 0.8;
}

.arrow--prev {
  position: relative;
}

.arrow--prev::before {
  transform: translateY(-50%) rotate(225deg);
}

.arrow--prev:hover {
  opacity: 0.8;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.glightbox-clean .gnext:focus-visible,
.glightbox-clean .gprev:focus-visible {
  outline: 0;
}


.u-mt50 {
  margin-top: 50px;
}

.u-mb30 {
  margin-bottom: 30px;
}

@media (min-width: 1025px) {
  .u-mb40--pc {
    margin-bottom: 40px;
  }
}


.sp-menu {
  margin-left: auto;
  display: flex;
}

.sp-menu #open {
  cursor: pointer;
}

.sp-menu #open.hide {
  display: none;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  padding: 0;
  border: 0;
  width: 30px;
  margin-right: 20px;
}

.hamburger__span {
  width: 100%;
  height: 3px;
  background-color: #000;
  position: relative;
  transition: ease 0.4s;
  display: block;
}

.open-button .hamburger__span:nth-child(1) {
  top: 0;
}


.open-button .hamburger__span:nth-child(2) {
  margin: 8px 0;
}


.open-button .hamburger__span:nth-child(3) {
  top: 0;
}


.close-button .hamburger__span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.close-button .hamburger__span:nth-child(2) {
  opacity: 0;
}

.close-button .hamburger__span:nth-child(3) {
  top: 0;
  transform: rotate(-45deg);
}

#WORKS img,
#SERVICE img,
#MESSAGE img,
#COMPANY img,
#CONTACT img {
  width: 100%;
  height: auto;
}

#WORKS img {
  max-width: 123px;
}

#SERVICE img {
  max-width: 146px;
}

#MESSAGE img {
  max-width: 162px;
}

#COMPANY img {
  max-width: 168px;
}

#CONTACT img {
  max-width: 158px;
}

/* レスポンシブ */


@media (min-width: 1025px) {

  .sp-menu {
    display: none;
  }

  header {
    width: 100%;
    height: 70px;
    align-items: flex-end;
  }

  .nav {
    display: flex;
  }

  .logo {
    margin-right: auto;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .logo img {
    max-width: 130px;
    line-height: 70px;
    margin-left: 40px;
  }

  .pc-btn {
    display: block;
  }

  #WORKS,
  #SERVICE,
  #MESSAGE,
  #COMPANY,
  #CONTACT {
    padding-top: 70px;
    margin-top: -70px;
  }

  #WORKS img {
    max-width: 163px;
  }

  #SERVICE img {
    max-width: 192px;
  }

  #MESSAGE img {
    max-width: 214px;
  }

  #COMPANY img {
    max-width: 221px;
  }

  #CONTACT img {
    max-width: 208px;
  }

  .mv-pc {
    display: block;
  }

  .mv-sp {
    display: none;
  }

  .pc-view {
    display: block;
  }

  .sp-view {
    display: none;
  }

  .image-box {
    flex-basis: 25%;
  }

  .text-box {
    max-width: 920px;
    text-align: center;
    margin: 0 auto 100px;
  }

  .text-box__sub {
    text-align: left;
    margin-bottom: 50px;
  }

  .subtitle {
    margin-bottom: 60px;
  }

  .subtitle,
  .subtitle-left {
    font-size: 28px;
  }

  .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .wrapper .text-box__sub {
    width: 320px;
  }

  .wrapper .text-box__sub:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }


  :root {
    --column-width: 460px;
  }

  .text-box__sub-2 {
    width: var(--column-width);
    margin: 0 auto 40px;
  }

  .table,
  .number-list {
    padding-left: calc(50% - var(--column-width) / 2);
  }

  th {
    width: 230px;
  }

  td {
    width: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }

  .pc-p__center {
    text-align: center;
  }

  footer {
    font-size: 16px;
    height: 70px;
  }
}

@media (min-width: 1210px) {

  .pc-btn {
    font-size: 26px;
  }

  .menu-item {
    font-size: 26px;
  }

  .menu-item__icon img {
    max-width: 26px;
  }
}

@media (min-width: 1600px) {

  header {
    height: 100px;
  }

  .logo img {
    max-width: 340px;
    margin-bottom: 0;
  }

  .pc-btn {
    font-size: 32px;
    max-width: 255px;
    width: 100%;
    line-height: 100px;
  }

  .menu-item {
    font-size: 32px;
    margin-right: 30px;
  }

  .menu-item__icon img {
    max-width: 32px;
  }

  #WORKS,
  #SERVICE,
  #MESSAGE,
  #COMPANY,
  #CONTACT {
    padding-top: 100px;
    margin-top: -100px;
  }

  .mv-pc {
    margin-top: 100px;
  }
}
