@charset "utf-8";

.saishin-1column {
  display: flex;
  justify-content: center;
}

a:hover {
  text-decoration: none!important;
}

/* ヒーローイメージ */

.hero .cherry-blossom-container {
  text-align: center;
}

.hero .top_lead {
  margin-left: auto;
  margin-right: auto;
  border-radius: 3px;
}

@media (min-width: 600px) {

    .hero {
      padding: 3rem;
    }
    
    .container-fluid {
      background-image: url("img/hero.png");
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }
  
    .hero .top_lead {
      max-width: 764px;
    }
  }
  .hero {
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .hero .top_lead {
    background-color: rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px #444;
    --color-black: #fff;
  }
  @media (max-width: 599px) {
    .hero {
      padding: 2rem;
    }
    .container-fluid {
      background-image: url("img/hero-sp.png");
      background-size: cover;
      background-position: center;
      min-height: 40vh;
    }
  }

  /* 会社名・社長名 */
.company {
  height: 6rem;
  background-image: radial-gradient(circle, rgba(255, 242, 58, 1), rgba(230, 180, 34, 1) 80%);	
  /* background-color: rgba(245, 209, 0, 0.8); */
  border-radius: 3%;
}
.company p {
  text-align: center;
  padding: 5px 3px 1px 3px;
  font-size: 0.875rem !important;
  line-height: 1.5;
}
.company .name {
  font-size: 1.2rem !important;
  font-weight: bold;
  line-height: 1.2;
}

.hoge {
  font-size: 0.635rem;
}

/* フェードイン */
.fadein {
  opacity: 0.3;
  transform: translate(0, 50px);
  transition: all 1s;
}
.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}
/* ページ全体をフェードイン */
.fadeUp {
  opacity: 0;
  animation-name: fadeUp;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: .5s;
  animation-fill-mode: forwards;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ページトップ */
#page-top {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  font-size: 80%;
  opacity: 0.8;
}
/*
#page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 25px 0;
    text-align: center;
    display: block;
    border-radius: 10px;
}
*/
#page-top a:hover {
  text-decoration: none;
  background: #999;
}
#lightbox img {
  max-width: 100%;
  height: auto;
}

/* アラート */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: white;
}

.alert-success {
  background-color: #7CC6A5;
}

/* 桜を表示するコンテナのスタイル */
.cherry-blossom-container {
  position: relative;
  height: 65vh; /* コンテナの高さ */
  width: 100%; /* コンテナの横幅 */
  overflow: hidden; /* コンテナからはみ出した要素を隠す */
}

/* 桜の花びらのスタイル */
.petal {
  position: absolute;
  background-color: #ffc0cb; /* 花びらの色 */
  border-radius: 150% 0 150% 0;
  animation: animate-petal 10s linear;
}

.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #ffc0cb;
  border-radius: 150% 0 150% 0;
  transform: rotate(15deg);
}

/* 花びらが降るアニメーション */
@keyframes animate-petal {
  0% {
    top: 0;
    opacity: 0;
    transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 100vh;
    transform: rotate(3000deg);
  }
}