@charset "utf-8";

/* 基本設定 */
.sp {
  display: none;
}

.sp-header {
  display: none;
}

.menu-lists {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }
}

html,
body {
  font-family: YakuHanJP, -apple-system,
    BlinkMacSystemFont,
    Roboto, "Segoe UI",
    "Helvetica Neue", HelveticaNeue,
    YuGothic, "Yu Gothic Medium",
    "Yu Gothic", Verdana,
    Meiryo, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  text-align: justify;
  position: relative;
  font-feature-settings: "palt";
  width: 100%;
}

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

a {
  transition: .2s;
}

.flx {
  display: flex;
}

header {
  padding: 15px;
}

/* ヘッダー */
.pc-header {
  justify-content: space-between;
}

.head-list nav ul {
  display: flex;
  font-size: 30px;
  gap: 10px;
}

.head-list nav ul li a.current {
  background-color: #000;
  color: #fff;
}

.head-list nav ul li a {
  padding: 0 5px;
}

.head-list nav ul li a:hover {
  background-color: #000;
  color: #fff;
}

.p-logo {
  max-width: 245px;
  transition: .3s;
}

.p-logo:hover {
  opacity: 0.7;
}

/* FV */
.fv-text {
  width: 100%;
  padding: 15px;
  text-align: left;
  word-break: break-all;
  word-break: break-word;
}

#fv-tag {
  font-size: 135px;
  line-height: 1;
  display: inline;
  margin-right: 30px;
  font-weight: 200;
}

#fv-tag a {
  word-break: break-all;
  line-height: 1;
}

#fv-tag a:hover {
  background-color: #000;
  color: #fff;
}

/* ポーリー */
#poly {
  max-width: 150px;
  position: fixed;
  bottom: 10px;
  right: 0px;
  z-index: 998;
}

/* 画像グリッド */
#images {
  padding: 0 15px;
}

.grid-container {
  width: 100%;

  box-sizing: border-box;
}

.grid {
  width: 20%;
}

.grid img {
  width: 100%;
  display: block;
}

@media screen and (max-width: 1430px) {
  .grid {
    width: 25%;
  }
}

@media screen and (max-width: 900px) {
  .grid {
    width: 33.3%;
  }
}

@media screen and (max-width: 768px) {
  .grid {
    width: 50%;
  }
}

/* detail */
/* .detail-works button {
  color: #fff;
    transition: 0.2s;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}
.detail-works button span {
    color: #fff;
    background: #000;
    padding: 5px;
    line-height: 1;
    display: flex;
    align-items: center;
    font-weight: 100;
    font-size: 22px;
    width: 75px;
    margin-top: 10px; 
}
.detail-works button span img {
    width: 6px;
    margin-left: 5px;
}
.detail-works button:hover {
    opacity: 1;
} */
.detail-works-top p {
  font-size: 32px;
  line-height: 1;
  font-weight: 100;
}

.detail-works-about {
  font-size: 14px;
}

/* フッター */
footer {
  max-width: 1030px;
  margin: 0 auto;
  margin-bottom: 60px;
  padding: 0 15px;
}

.foot-logo {
  max-width: 135px;
  transition: 0.3s;
}

.foot-logo:hover {
  opacity: 0.7;
}

.footer-flx {
  justify-content: space-between;
  padding-top: 90px;
  border-top: 1px solid #000;
  margin-top: 120px;
}

.foot-nav nav ul {
  padding-left: 10vw;
  font-size: 18px;
}

.foot-nav nav ul li {
  margin-bottom: 20px;
}

.foot-nav nav ul li a:hover {
  background-color: #000;
  color: #fff;
}

.foot-about a:hover {
  background-color: #000;
  color: #fff;
}

.foot-sns {
  margin-top: 20px;
}

.foot-sns p {
  max-width: 24px;
  margin-right: 10px;
}

.foot-about .foot-sns p a:hover {
  background: none;
}

@media screen and (max-width: 1200px) {
  .head-list nav ul {
    font-size: 20px;
    gap: 5px;
  }

  .p-logo {
    max-width: 200px;
  }

  #fv-tag {
    font-size: 100px;
  }

  .detail-works-top p {
    font-size: 25px;
  }

  .detail-works button {
    padding: 15px;
  }
}

@media screen and (max-width: 870px) {
  .head-list nav ul {
    font-size: 18px;
  }

  .p-logo {
    max-width: 150px;
  }

  #fv-tag {
    font-size: 80px;
  }
}

/* sp */
@media screen and (max-width: 768px) {
  header {
    padding: 32.5px;
  }

  .pc-header {
    display: none;
  }

  .sp-header {
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #fff;
    height: 65px;
    z-index: 100;
    padding: 15px;
  }

  .sp-header .top-logo {
    max-width: 300px;
  }

  .ham-nav {
    margin: 0;
    padding: 0;
  }

  .hamburger {
    display: block;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    text-align: center;
    border-radius: 50%;
    z-index: 999;
  }

  .hamburger span {
    text-align: right;
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background: #000;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 10px;
  }

  .hamburger span:nth-child(3) {
    top: 20px;
  }

  .hamburger.active span:nth-child(1) {
    top: 10px;
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    transform: rotate(-30deg);
    background: #fff;
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-of-type(3) {
    top: 10px;
    background: #fff;
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    transform: rotate(30deg);
  }

  .hamburger.active span:nth-of-type(3) {}

  .menu-lists {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    text-align: center;
    transform: translateX(100%);
    transition: .3s;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .menu-lists ul {
    flex-direction: column;
    /* padding-top: 5%; */
    width: 60%;
    margin: 0 auto;
    position: relative;
  }

  .menu-lists ul li {
    text-align: center;
    font-size: 15px;
    position: relative;
    color: #fff;
  }

  .menu-lists ul li span {
    display: block;
    position: absolute;
    right: 20px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    top: 50%;
    color: #fff;
  }

  .menu-lists ul li a {
    display: block;
    height: 18%;
    color: #fff;
    padding: 15px 15px 15px 0;
    color: #fff;
    letter-spacing: 2px;
  }

  .menu-lists.active {
    transform: translateX(0%);
  }

  .fix-header .header-logo img {
    width: 75%;
  }

  #fv {
    margin-top: 30px;
  }

  #fv-tag {
    font-size: 45px;
    margin-right: 20px;
  }

  /* フッター */
  .footer-flx {
    display: block;
    padding-top: 50px;
  }

  #poly {
    max-width: 120px;
  }

  .foot-logo {
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .foot-nav {
    padding-left: 0;
    width: 70vw;
  }

  .foot-nav nav ul li {
    width: auto;
    margin-bottom: 10px;
  }

  .foot-about {
    width: 70vw;
    margin: 40px auto 0;
  }

  .copy {
    width: 70vw;
    margin: 30px auto 0;
  }
}

/*========= LoadingのためのCSS ===============*/
/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #000;
  text-align: center;
  color: #fff;
  display: none;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 150px;
}

.loading {
  width: 100vw;
  height: 100vh;
  transition: all 0.5s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
}

.loading.is-active {
  opacity: 0;
  visibility: hidden;
}

.loading-animation {
  width: 100vw;
  height: 100vh;
  transition: all 0.5s;
  background-color: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.loading-animation img {
  width: 150px;
}

.loading-animation.is-active {
  opacity: 1;
  visibility: visible;
}

.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger {
  opacity: 0;
}

.poly {
  transition: all .3s cubic-bezier(.24, .45, .32, 1);
}



/* 20230907修正 */
.grid a {
  display: block;
  position: relative;
}

.grid a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: background-color 0.3s;
}

.grid a:hover::before {
  background-color: rgba(0, 0, 0, 0.7);
}

.detail-works-top {
  opacity: 0;
  position: absolute;
  top: 30px;
  left: 30px;
  color: #fff;
  z-index: 99;
}

.grid a:hover .detail-works-top {
  opacity: 1;
}

.grid a span {
  opacity: 0;
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 99;
  display: flex;
  align-items: center;
  color: #fff;
  background: #000;
  padding: 5px;
  line-height: 1;
  font-weight: 100;
  font-size: 22px;
  width: 75px;
}

.grid a:hover span {
  opacity: 1;
}

.grid a span img {
  width: 6px;
  margin-left: 5px;
}

/* p-fixed-btn */
.p-fixed-btn {
  display: block;
  position: fixed;
  top: 80px;
  right: 0;
  z-index: 8;
  line-height: 0;
  width: 60px;
  padding: 30px 20px;
  border: 1px solid #000;
  background-color: #fff;
}

.p-fixed-btn a {
  display: flex;
  align-items: center;
  font-size: 17px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  line-height: 0;
}

@media screen and (max-width: 768px) {
  .p-fixed-btn {
    width: 45px;
    padding: 20px 15px;
  }
  .p-fixed-btn a {
    font-size: 12px;
  }
}


.dli-arrow-right {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 0.1em;
  margin-top: 1em;
  background: currentColor;
}

.dli-arrow-right::before {
  content: '';
  width: 0.585em;
  height: 0.585em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
  box-sizing: border-box;
}
/* 20250324追加 */
.recaptcha-txt {
  max-width: 300px;
  margin: 10px auto;
  color: silver;
  font-size: 11px;
  text-align: left;
}
.recaptcha-txt a {
  text-decoration: underline;
}
#contact {
  margin-bottom: 0!important;
}
.grecaptcha-badge { visibility: hidden; }