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

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

html {
  scroll-behavior: auto !important;
}

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

body {
  font-size: 16px;
  color: #333;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #f8f8f8;
  overflow-x: hidden;
  letter-spacing: 0.08em;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

img,
svg {
  max-width: 100%; /* 親要素の幅を超えない */
  height: auto; /* 縦横比を維持 */
  display: block; /* 不要な余白を削除 */
}

li {
  list-style: none;
}

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

p {
  font-size: 1rem;
  line-height: 1.4;

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
  }
}

.white {
  color: #fff !important;
}

.black {
  color: #333 !important;
}

.blue {
  color: #0040ae !important;
}
.yellow {
  color: #f2ca04 !important;
}

.green {
  color: #007e7e !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;
  }
}

.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;
}

/*----------------------
  　コンタクトエリア
  -----------------------*/

.contact {
  padding: 40px 16px;
  background: linear-gradient(180deg, #4b6f91, #020e24);
  height: 650px;

  @media (max-width: 768px) {
    padding: 24px 16px;
    height: auto;
  }
}

.contact-cont {
  max-width: 1200px;
  margin: 0 auto;

  @media (max-width: 768px) {
    width: 95%;
  }
}

.contact-ttl {
  text-align: center;
  position: relative;
}

.contact-ttl-box {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);

  @media (max-width: 768px) {
    top: 28px;
  }
}

.contact-main-ttl {
  font-size: clamp(2.5rem, 1.0662rem + 5.8824vw, 8.125rem);
  color: #ffffff3b;
  font-weight: 900;
}

.contact-sub-ttl {
  font-size: clamp(1rem, 0.777rem + 0.915vw, 1.875rem);
  color: #ffffff;
  font-weight: 900;
}

.contact-form-box {
  text-align: center;
  align-items: center;

  p {
    font-size: clamp(1.25rem, 1.0833rem + 0.3472vw, 1.5rem);
  }
}

.form-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0px;
  background-color: #fff;
  color: #3a3a3a;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 300px;
  justify-content: center;

  @media (max-width: 768px) {
    padding: 8px 18px;
    max-width: 260px;
    height: 56px;
  }
}

.form-contact-button:hover {
  background-color: #24393f;
  box-shadow: 0 8px 15px rgba(7, 168, 217, 0.2);
  color: #fff;
}

.form-icon img {
  width: 32px;
  height: auto;
}

.contact-call {
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;

  @media (max-width: 1200px) {
    margin-top: 66px;
  }

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }
}

.contact-call-box {
  gap: 8px;
  background-color: #fff;
  border-radius: 50px;
  padding: 8px 0px;
  width: 100%;
  max-width: 300px;
  justify-content: center;
  align-items: center;

  @media (max-width: 768px) {
    gap: 16px;
    max-width: 260px;
  }
}

.contact-call-number {
  font-size: clamp(1.5rem, 1.25rem + 0.5208vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
}

.contact-call-hours {
  font-size: clamp(0.75rem, 0.6667rem + 0.1736vw, 0.875rem);
  line-height: 1.2;
}

.form-recruit-button .form-icon img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.form-recruit-button:hover .form-icon img {
  transform: translateX(3px);
}

.form-recruit-button .form-icon img {
  transition: transform 0.3s ease;
}

.form-recruit-button:hover .form-icon img {
  transform: translateX(3px);
}

.form-contact-button .form-icon img {
  transition: transform 0.3s ease;
}

.form-contact-button:hover .form-icon img {
  transform: translateX(3px);
}

.fade-in {
  --fade-duration: 600ms;
  --fade-delay: 0s; /* data-delay があれば上書きされる */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--fade-duration) ease,
    transform var(--fade-duration) ease;
  transition-delay: var(--fade-delay);
  will-change: opacity, transform;
  pointer-events: none; /* 必要なら外す */
}

/* 表示状態（スクロールでこのクラスが付与される） */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
