/*
Theme Name: Client
Author: CordialPleasure Co.,Ltd.
Author URI: http://c-pleasure.jp/
Description: 専用テーマ
*/

/*----------------------
共通
-----------------------*/

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-size: 1rem;
  background-image: url("assets/img/common/bg.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
  color: #333;
  line-height: 1.5;
  font-family:
    -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  transition: background-color 0.5s ease;
}

body::before {
  @media (max-width: 1279px) {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("assets/img/common/bg.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
  }
}

img,
svg {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

li {
  list-style: none;
}

a {
  color: #3e3e3e;
  cursor: pointer;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

.white {
  color: #fff !important;
}

.black {
  color: #333 !important;
}

.blue {
  color: #3091ff !important;
}

.yellow {
  color: #f2ca04 !important;
}

.green {
  color: #00c55c !important;
}

.green-b {
  background: linear-gradient(135deg, #007e7e, #015151) !important;
}

.flex {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.t-left {
  text-align: left;
}

.t-center {
  text-align: center;
}

.t-right {
  text-align: right;
}

.sp {
  display: none;

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

.cont {
  padding: 80px 32px;

  @media screen and (max-width: 1279px) {
    padding: 40px 32px;
  }

  @media screen and (max-width: 480px) {
    padding: 40px 16px;
  }
}

.box {
  max-width: 1280px;
  margin: 0 auto;

  @media screen and (max-width: 1279px) {
    width: 90%;
  }

  @media screen and (max-width: 991px) {
    width: 100%;
  }
}

.txt-b {
  font-weight: 600;
}

.common-txt {
  text-align: center;
  margin-bottom: 24px;
}

.common-main-ttl {
  font-size: clamp(2.5rem, 1.5rem + 2.0833vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
}

.common-sub-ttl {
  font-size: clamp(1rem, 0.125rem + 1.5625vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

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

  .pc {
    display: none;
  }
}

/*----------------------
　パンくずリスト
-----------------------*/

.breadcrumb > li + li::before {
  content: "＞";
  padding: 0px 5px;
}

.breadcrumb {
  max-width: 1580px;
  margin: 24px auto 0;
  display: flex;
  font-size: 14px;
}

.breadcrumb a {
  color: #333;
}

/*----------------------
  　404
  -----------------------*/
.error-page-container {
  padding-top: 300px;
  text-align: center;
}

.error-page-ttl-wrap {
  font-size: 38px;
  margin-bottom: 32px;
}

.error-text-center {
  margin-bottom: 48px;
}

.submit-container.error {
  margin-bottom: 150px;
}

/*----------------------
  　フェードイン
  -----------------------*/

.animate {
  opacity: 0;
  transition: all 0.6s ease var(--fade-delay, 0s);
}

/* フェードイン */
.fade-in.is-visible {
  opacity: 1;
}

/* 左右スライド */
.slide-in-left {
  transform: translateX(-30px);

  @media (max-width: 768px) {
    transform: translateY(-10px);
  }
}

.slide-in-left.is-visible {
  transform: translateX(0);
  opacity: 1;

  @media (max-width: 768px) {
    transform: translateY(0px);
  }
}

.slide-in-right {
  transform: translateX(30px);

  @media (max-width: 768px) {
    transform: translateY(10px);
  }
}
.slide-in-right.is-visible {
  transform: translateX(0);
  opacity: 1;

  @media (max-width: 768px) {
    transform: translateY(0px);
  }
}

/* 拡大縮小 */
.zoom-in {
  transform: scale(0.8);
}
.zoom-in.is-visible {
  transform: scale(1);
  opacity: 1;
}

.slide-in-up {
  transform: translateY(30px);
}

.slide-in-up.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.slide-in-down {
  transform: translateY(-30px);
}

.slide-in-down.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.blur-in {
  filter: blur(10px);
}

.blur-in.is-visible {
  filter: blur(0);
  opacity: 1;
}
