@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.main_menu {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.main_menu::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: #10347a;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.main_menu:hover::after {
  transform: scale(1, 1);
}

.catch_copy::before {
  content: "Good Life Assist";
  position: absolute;
  font-family: serif, "icons";
  color: #f9f9f9;
  font-size: 8rem;
  bottom: -2rem;
  left: calc(50% - 8rem);
  line-height: 1;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .catch_copy::before {
    font-size: 4rem;
    bottom: 1.5rem;
  }
}

.slider .slick-slide {
  height: 100vh;
}

@media screen and (max-width: 767px) {
  .slider .slick-slide {
    height: 60vh;
  }
}

.slider {
  opacity: 0;
  transition: opacity .3s linear;
}

.slider.slick-initialized {
  opacity: 1;
}

.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.main_banner {
  overflow: hidden;
}

.main_banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 32rem;
  background-repeat: repeat;
  background-color: rgba(16, 51, 122, 0.285);
  top: 0;
  left: 0;
  z-index: 10;
}

.common_banner {
  overflow: hidden;
}

.common_banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 32rem;
  background-repeat: repeat;
  background-color: rgba(16, 51, 122, 0.285);
  top: 0;
  left: 0;
  z-index: 10;
}

.common_banner img {
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: blur(3px);
}

.common_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.common_title {
  position: absolute;
  bottom: -12%;
  left: 50%;
  transform: translate(-50%, 10%);
  z-index: 10;
}


.general_banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 32rem;
  background-repeat: repeat;
  background-color: rgba(16, 51, 122, 0.285);
  top: 0;
  left: 0;
  z-index: 10;
}

.main_title {
  padding: 0 0 1rem 0;
  background: linear-gradient(to right, #10347a 0%, #6c82a7 100%);
  background-repeat: no-repeat;
  background-size: 3rem 0.4rem;
  background-position: center bottom;
}

.header_menu {
  box-shadow: 0px 3px 2px -2px rgb(0 0 0 / 5%)
}

.fixed_menu {
  box-shadow: 0 -2px 4px 0 rgb(0 0 0 / 5%);
  z-index: 9999;
}

/* fadeUp */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/*========= 画像拡大ここから ===============*/
@media screen and (min-width: 767px) {
  .zoomIn img {
    transform: scale(1);
    transition: .3s ease-in-out;
  }

  .zoomIn a:hover img {
    transform: scale(1.2);
  }

  .mask {
    display: block;
    line-height: 0;
    overflow: hidden;
  }
}

/*=======================================*/

/*========= SPメニューここから ===============*/
.g-nav {
  position: fixed;
  z-index: 999;
  right: -120%;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.g-nav.panelactive {
  right: 0;
}

/*=======================================*/


/*========= パンくずここから ===============*/
.gretel a:hover {
  text-decoration: underline;
}

/*=======================================*/


/*========= アコーディオンメニューここから ===============*/
.accordion-title::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 1px #888;
  border-right: solid 1px #888;
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -6px;
  transform: rotateZ(135deg);
  transition: 0.3s;
}

.accordion-title.open::after {
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
  top: 55%;
  transition: 0.3s;
}

/*=======================================*/



/*========= フェードアップここから ===============*/
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-time02 {
  animation-delay: 0.2s;
}

.delay-time04 {
  animation-delay: 0.4s;
}

/*=======================================*/

.contact_content::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 32rem;
  background-repeat: repeat;
  background-color: rgba(16, 52, 122, .4);
  top: 0;
  left: 0;
}

.contact_content {
  background-image: url(/assets/footer_c-040dc422530f0eb98361c09acecc60834d8af8e865bc82b0d86b540aee4f053e.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.content_title::before {
  position: absolute;
  top: 3px;
  left: 0;
  content: "";
  width: 5px;
  height: 25px;
  background: #ccc;
}

@media screen and (max-width: 767px) {
  .content_title::before {
    top: 2px;
  }
}
