@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #FFFFFE;
  color: #454545;
  font-family: 'Josefin Sans', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-optical-sizing: auto;
}
a {
  color: #454545;
  text-decoration: none;
  display: block;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
.wrapper {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 35px;
}
.container {
  margin: 100px 0;
}
p {
  font-weight: 400;
  line-height: 32px;
  color: #454545;
}
#header ul li {
  font-weight: 350;
}
h2 {
  color: #454545;
  font-weight: 700;
  font-size: 45px;
}
#footer p {
  font-size: 11px;
}
h3 {
  font-weight: 600;
  font-size: 24px;
}
#company-policy p,
#availability p {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 400;
}


/*-------------------------------------------
loading
-------------------------------------------*/
#loading {
  width: 100%;
  height: 100%;
  background-color: #FFFFFE;
  position: fixed;
  inset: 0;
}
.flexbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.flexbox-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.logoType {
  margin-top: 25px;
  width: 182px;
}

@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 638.1221313476562px;
    stroke-dasharray: 638.1221313476562px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 638.1221313476562px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 638.1221313476562px;
    stroke-dasharray: 638.1221313476562px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 638.1221313476562px;
  }
}

.svg-elem-1 {
  -webkit-animation: animate-svg-stroke-1 1s linear 0.5s both;
          animation: animate-svg-stroke-1 1s linear 0.5s both;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fadeOut {
  animation: fadeOut 2s forwards ease-in-out 1.5s;
}

 svg .svg-elem-1 {
  stroke-dashoffset: 638.1221313476562px;
  stroke-dasharray: 638.1221313476562px;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
          transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
}

svg.active .svg-elem-1 {
  stroke-dashoffset: 0;
}
.cls-1 {
        fill: none;
        stroke: url(#gradient4);
        stroke-linecap: round;
        stroke-miterlimit: 10;
        stroke-width: 26.2px;
      }

/*-------------------------------------------
header
-------------------------------------------*/
#header {
  height: 72px;
  box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 25%);
  display: flex;
  padding: 0px 64px 12px;
  align-items: flex-end;
  background-color: #FFFFFE;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  animation: opacity 1.5s ease-in 1.5s forwards;
  z-index: 2;
}
h1 {
  max-width: 120px;
  width: 100%;
  height: auto;
  line-height: 0;
}
.nav {
  display: flex;
  margin: 0 0 0 auto;
}
.nav-page {
  display: flex;
  width: 310px;
  justify-content: space-between;
  transform: translateY(+5px);
}
.nav-page li a:hover {
  text-decoration: underline;
}
.nav-sns {
  display: flex;
  width: 92px;
  justify-content: space-between;
  margin-left: 40px;
}
.nav-sns li {
  font-size: 20px;
  line-height: 0;
}
.nav-sns li a:hover {
  color: #aeaeae;
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*-------------------------------------------
company-policy
-------------------------------------------*/
#company-policy .container {
  padding-top: 72px;
  display: flex;
  justify-content: space-between;
}
#company-policy .section-title {
  margin-bottom: 34px;
}
.innerLeft {
  width: 40%;
}
.innerLeft P {
  text-align: left;
}
.innerRight {
  width: 55%;
}
.innerRight img {
  width: 100%;
}

/*-------------------------------------------
availability
-------------------------------------------*/
#availability  .section-title {
  margin-bottom: 50px;
  text-align: center;
}
.outline {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  width: 100%;
}
.inner {
  display: flex;
  justify-content: space-between;
  opacity: 0;
  animation: opacity 1.5s ease-in 1.5s forwards;
}

@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.planning h3 {
  color: #E77B74;
}
.design h3 {
  color: #88CC7A;
}
.cording h3 {
  color: #6BACC6;
}
.planning, .design, .cording {
  width: 30%;
  text-align: center;
}
.inner img {
  margin: 28px 0 24px;
}
.inner p {
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
  text-align: justify;
}
.jump-1 {
  opacity: 0; /* 初期状態で非表示 */
  transform: translate(12px, 0); /* 右に12pxずらす */
  transition: opacity 0.1s ease;
}
.jump-2,
.jump-3 {
  opacity: 0; /* 初期状態で非表示 */
  transform: translateY(0); /* 元の位置 */
  transition: opacity 0.1s ease;
}

/* アクティブな状態（アニメーション開始） */
.jump-1.active {
  animation: jump-1 1s forwards 1.5s; /* keyframes jump-1をトリガー */
  opacity: 1;
}

.jump-2.active {
  animation: jump-2 1s forwards 2s; /* keyframes jump-2をトリガー */
  opacity: 1;
}

.jump-3.active {
  animation: jump-3 1s forwards 2.5s; /* keyframes jump-3をトリガー */
  opacity: 1;
}

/* ジャンプアニメーション */
@keyframes jump-1 {
  0% {
    transform: translate(12px, 0); /* 初期位置: 右に12px */
  }
  50% {
    transform: translate(12px, -20px); /* 右に12pxのまま上にジャンプ */
  }
  100% {
    transform: translate(12px, 0); /* 最終位置: 右に12px */
  }
}

@keyframes jump-2 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); 
  }
  100% {
    transform: translateY(0); 
  }
}

@keyframes jump-3 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); 
  }
  100% {
    transform: translateY(0); 
  }
}
#header.no-animation {
  opacity: 1;
  animation: none;
}

/*-------------------------------------------
works
-------------------------------------------*/
#works  .section-title {
  margin-bottom: 50px;
  text-align: center;
}

.tabs {
  width: 100%;
  border-bottom: 1px solid #aeaeae;
  height: 32px;
  display: flex;
  margin-bottom: 50px;
  text-align: center;
}
.tab {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #aeaeae;
  width: 100px;
  margin-right: 40px;
  position: relative;
  cursor: pointer;
}

.tab.active {
  color: #454545;
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 4px;
  background-color: #454545;
}

.content {
  display: none;
  margin-bottom: 2rem;
}

.content.active {
  display: block;
  color: #454545;
}

.content.initial {
  display: block;
}

.gallery {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
  overflow: hidden;
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  transition: transform .6s ease; /* ゆっくり変化させる */
}
.gallery-item:hover img,
.gallery-item:active img {
  transform: scale(1.1); /* 拡大 */
}
.gallery-item .category,p {
  text-align: center;
  font-family: "Josefin Sans", sans-serif;
}
.gallery-item .category {
  font-size: 25px;
  font-weight: 600;
  line-height: 25px;
  margin-bottom: 20px;
  position: relative;
  color: #fff;
}
.gallery-item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: #fff;
}
.gallery-item .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  opacity: 0; /* 最初は透明（非表示） */
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  z-index: 2;
  text-align: center;
}
.gallery-item a:hover .overlay,
.gallery-item a:active .overlay {
  opacity: 1;
}
.gallery-item .category::after {
  content: "";
  width: 10px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: -10px;
  left:50%;
  transform: translateX(-50%)
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative; /* これが大事！ */
}

.gallery-item a::before {
  content: '';
  background: rgba(0, 0, 0, .6); /* マスクの色(黒の50%) */
  width: 90%;
  height: 85%;
  position: absolute;
  top: 7.5%;
  left: 5%;
  opacity: 0; /* 最初は透明（非表示） */
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  z-index: 1;
}
.gallery-item a:hover::before,
.gallery-item a:active::before {
  opacity: 1; /* ホバーでマスク表示 */
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  width: 100%;
  height: 50px;
  box-shadow: 0px -1px 4px 0px rgb(0 0 0 / 25%);
  text-align: center;
  display: table; 
  background-color: #FFFFFE;
  margin-bottom: 0;
}
#footer p {
  display: table-cell; 
  vertical-align: middle;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .wrapper {
    padding: 0 43px;
  }
  .container {
    margin: 50px 0 75px;
  }
  p {
    font-size: 14px;
    line-height: 24px;
  }
  h2 {
    font-size: 38px;
    margin-bottom: 50px;
    line-height: 1;
  }
/*------
loading
------*/
.flexbox {
  scale: 85%;
}

/*------
header
------*/
#header {
  display: block;
  height: 90px;
  padding: 0px 25px;
}
h1 {
  width: 105px;
  margin-top: 13px;
}
.nav {
  flex-direction: column-reverse;
  transform: translateY(-7px);
}
.nav-page {
  width: 100%;
}
.nav-sns {
  width: 102px;
  margin: 0 0 0 auto;
  transform: translateY(-14px);
}
.nav-page li a:active,
.nav-sns li a:active {
  transform: scale(1.2);
}

/*------
company-policy
------*/
#company-policy .section-title {
  text-align: center;
  margin-bottom: 25px;
}
#company-policy .container {
  flex-direction: column-reverse; 
  align-items: center;
  padding-top: 90px;
}
.innerLeft {
  width: 100%;
}
.innerRight {
  width: 112.5%;
  margin-bottom: 50px;
}
.br-sp { display:none; }
/*------
availability
------*/
.outline {
  padding-top: 25px;
}
.inner {
  flex-direction: column;
}
.planning, .design, .cording {
  width: 100%;
}
.inner img {
  margin: 16px 0 24px;
}
.design {
  margin: 50px 0;
}
/*------
works
------*/
#works .container {
  margin: 75px 0 50px;
}
.gallery {
  gap: 24px;
  grid-template-columns: repeat(1, 1fr);
}
.gallery-item img {
  width: 100%;
}
.scroll-margin {
  scroll-margin-top: 150px;
}
.tabs {
  margin-right: 0;
}
.tab {
  font-size: 20px;
  margin-right: auto;
  width: auto;
}
.tab:last-child {
  margin-right: 0;
}
}