/* 共通設定 */
html {
  font-size: 62.5%;
}
body {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.08em;
  scroll-behavior: smooth;
  cursor: url(../img/normal_cursor.png), default;
}
* {
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: url(../img/hover_cursor.png), pointer;
}
button {
  cursor: url(../img/hover_cursor.png), pointer;
}
img {
  width: 100%;
  display: block;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.wrapper {
  width: 100%;
  max-width: 1440px;
  padding: 0 15px;
  margin: auto;
}
.small-wrapper {
  width: 100%;
  max-width: 1024px;
  padding: 0 15px;
  margin: auto;
}
.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.roboto {
  font-family: "Roboto", sans-serif;
  font-style: normal;
}
.roboto-flex {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79,
    "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712;
}
.space-grotesk {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.outfit {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* ローディング画面のスタイル */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d9d9d9;
  z-index: 10000000;
}
.loading-circle-wrap {
  width: 70%;
  max-width: 1000px;
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  -webkit-filter: blur(100px);
  filter: blur(100px);
  border-radius: 50%;
}
.loading-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  max-width: 576px;
  aspect-ratio: 1;
  background: #fcfcfc;
  box-shadow: 6px 6px 15px 0px #dbdbdbe5 inset, -6px -6px 12px 0px #ffffffe5 inset,
    6px -6px 12px 0px #dbdbdb33 inset, -6px 6px 12px 0px #dbdbdb33 inset,
    -0.5px -0.5px 1px 0px #dbdbdb80, 0.5px 0.5px 1px 0px #ffffff4d;

  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-svg-box {
  width: 90%;
  aspect-ratio: 1;
  position: relative;
}
.loading-svg-box svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  fill: none;
  stroke-width: 30;
  stroke-dasharray: 1400 1400;
  -webkit-animation: loadingImage 2.5s infinite, loading 2.5s infinite linear;
  animation: loadingImage 2.5s infinite, loading 2.5s infinite linear;
}
.loading-logo {
  width: 65%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #cecece 100%, #e4e4e4 0%);
  box-shadow: -22px 22px 44px rgba(158, 158, 158, 0.2), 22px -22px 44px rgba(158, 158, 158, 0.2),
    -22px -22px 44px rgba(255, 255, 255, 0.9), 22px 22px 55px rgba(158, 158, 158, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3), inset -1px -1px 2px rgba(158, 158, 158, 0.5);
  border-radius: 50%;
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

@-webkit-keyframes loadingImage {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -2800;
  }
}

@keyframes loadingImage {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -2800;
  }
}

@-webkit-keyframes loading {
  from {
    transform: none;
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes loading {
  from {
    transform: none;
  }
  to {
    transform: rotate(360deg);
  }
}

/* タイトルテキスト画像 */
.large-highlight-text {
  height: 150px;
}
.large-highlight-text img {
  width: auto;
}

/* ボタン */
.view-more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #ffffff;
  background: #363636;
  border: 1px solid #494949;
  border-radius: 22px;
  padding: 10px 45px;
  font-size: 1.5rem;
  transition: all 0.3s;
}
.view-more-btn img {
  width: 14px;
  margin-left: 5px;
  transition: all 0.3s;
}
.view-more-btn:hover {
  background: #ffffff;
  border: 1px solid #363636;
  color: #363636;
}
.view-more-btn:hover img {
  -webkit-filter: brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(0%) hue-rotate(141deg)
    brightness(101%) contrast(88%);
  filter: brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(0%) hue-rotate(141deg)
    brightness(101%) contrast(88%);
}

.entry-btn {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.8rem;
  padding: 19.5px 75px;
  box-shadow: 5px 5px 13px 0px #c2c2c2e5, -5px -5px 10px 0px #ffffffe5, 5px -5px 10px 0px #c2c2c233,
    -5px 5px 10px 0px #c2c2c233, -1px -1px 2px 0px #c2c2c280 inset, 1px 1px 2px 0px #ffffff4d inset;
  background: #f9f9f9;
  border-radius: 32px;
  margin: 0 auto;
  transition: all 0.3s;
}
.entry-btn:hover {
  background: #363636;
  color: #f9f9f9;
}

/* ブログカードスタイル */
.blog .large-highlight-text {
  margin-left: -30px;
}
.blog-wrapper {
  padding-top: 20px;
}
.blog-card-wrap {
  border-top: 3px solid #ffffff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 30px 0;
}
.blog-card {
  width: 30%;
}
.blog-thumb {
  margin-bottom: 20px;
}
.blog-thumb img {
  width: 100%;
}
.blog-card-date {
  font-size: 1.4rem;
  font-weight: 900;
}
.blog-card-title {
  font-size: 1.8rem;
  font-weight: 600;
}
.blog-card-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* CONTACT */
.contact-component {
  background: center top / cover no-repeat url(../img/contact_bg_img.png);
  padding: 100px 0;
  transition: all 0.3s;
  position: relative;
}
.contact-component::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 247, 247, 0.5) 0%,
    rgba(2, 247, 248, 0) 50%,
    rgba(247, 54, 54, 0.5) 100%
  );
  opacity: 0;
  transition: all 0.3s;
}
.contact-component:hover::before {
  opacity: 1;
}
.contact-link {
  display: block;
  font-size: 5.25rem;
  text-decoration: underline;
  text-align: center;
  color: #ffffff;
  -webkit-filter: drop-shadow(1.5px 0px 5px #f73736) drop-shadow(-2.5px 0px 5px #02f7f880);
  filter: drop-shadow(1.5px 0px 5px #f73736) drop-shadow(-2.5px 0px 5px #02f7f880);
  position: relative;
  z-index: 10;
  letter-spacing: 0.41em;
}
.contact-link-small {
  font-size: 50%;
  letter-spacing: 0.41em;
}

/* フッター */
footer {
  background: linear-gradient(180deg, #212121 0%, #3c3c45 100%);
  padding: 17.25px 0 100px;
}
.footer-wrapper {
  color: #ffffff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  width: 195.75px;
  margin-bottom: 45.75px;
}
.company-info {
  font-size: 1.8rem;
}
.footer-nav ul {
  display: flex;
  justify-content: flex-end;
  font-size: 1.8rem;
}
.footer-nav ul li {
  list-style: none;
  margin-left: 10px;
}
.footer-nav ul li a {
  padding: 10px;
}
.footer-company-name {
  margin-bottom: 19.5px;
}

/* フェードインアニメーション */
.fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s, transform 0.8s;
  will-change: transform, opacity;
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 遅れてコンテンツが領域に入るアニメーション */
.sticky-container {
  position: relative;
}
.top-sticky-content {
  position: -webkit-sticky;
  position: sticky;
  top: 10vh; /* 固定位置 */
  z-index: 1;
}
.bottom-sticky-content {
  margin-top: 30vh; /* 初期マージン */
  position: -webkit-sticky;
  position: sticky; /* 動的に高さを計算 */
}
.top-sticky-content a {
  pointer-events: initial;
}
.side-stickey-bottom {
  display: flex;
  align-items: flex-end;
  height: 100%;
  width: 100%;
}
.side-stickey-content {
  display: none;
  height: 100%;
}
.side-stickey-content > * {
  position: -webkit-sticky;
  position: sticky;
  top: 10vh;
}

/* 帯が表示されてからテキストが出るアニメーション */
.band-animation {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
  transform: scale(0, 1);
  transform-origin: left;
  position: relative;
  -webkit-animation: maskBox 1s forwards;
  animation: maskBox 1s forwards;
}
.band-animation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translate(0);
  -webkit-animation: maskBg 1s 1s forwards;
  animation: maskBg 1s 1s forwards;
}
@-webkit-keyframes maskBox {
  0% {
    transform: scale(0, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes maskBox {
  0% {
    transform: scale(0, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@-webkit-keyframes maskBg {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(101%, 0);
  }
}
@keyframes maskBg {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(101%, 0);
  }
}

/* レスポンシブ */
.phone {
  display: none;
}

/* ノートPC */
@media screen and (max-width: 1279px) {
  .large-highlight-text {
    height: 220px;
  }
  .blog-card-date,
  .blog-card-title {
    font-size: 1.2rem;
  }
}

/* タブレット */
@media screen and (max-width: 959px) {
  .loading-circle {
    width: 40%;
  }
  .large-highlight-text {
    height: 120px;
  }
  .blog-card-date {
    font-size: 1rem;
  }
  .blog-card-title {
    font-size: 1.4rem;
  }
  .footer-inner {
    display: block;
  }
  .footer-logo {
    margin: 0 auto 40px;
  }
  .company-info {
    text-align: center;
    margin: 40px 0;
  }
  .footer-nav ul {
    justify-content: center;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .phone {
    display: block;
  }
  header {
    z-index: 20;
  }
  .loading-circle-wrap {
    width: 90%;
    -webkit-filter: blur(30px);
    filter: blur(30px);
  }
  .large-highlight-text {
    height: 65px;
  }
  .entry-btn {
    font-size: 1.4rem;
    padding: 12px 19px;
  }
  .blog-card-wrap {
    flex-direction: column;
  }
  .blog-card {
    width: 100%;
    margin-bottom: 30px;
  }
  .blog-card-date {
    font-size: 1.2rem;
  }
  .blog-card-title {
    font-size: 1.8rem;
  }
  .contact-link {
    font-size: 2.3rem;
  }
  footer {
    padding: 15px 0 40px;
  }
  .footer-logo {
    width: 75px;
    margin: 0 auto;
  }
  .footer-nav ul {
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
  }
  .footer-nav ul li {
    margin-left: 0;
  }
  .footer-nav ul li a {
    display: block;
  }
  .company-info {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 30px;
  }
}
