/*
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: #f1efe7;
  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;
  transition: background-color 0.5s ease;
}

body.bg-1 {
  background-color: #000000;
}
body.bg-2 {
  background-color: #f1efe7;
}

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

// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.raleway-<uniquifier > {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

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

.common-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #000000;
  border-radius: 50px;
  padding: 2px 2px 2px 16px;
  width: 100%;
  max-width: 200px;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease; /* 滑らかに変化 */
  cursor: pointer;
}

.common-btn p {
  margin: 0;
  color: inherit;
}

.common-btn:hover {
  background-color: #ffffff;
  color: #000000 !important;
}

.common-btn-w {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #fff;
  border-radius: 50px;
  padding: 2px 2px 2px 16px;
  width: 100%;
  max-width: 200px;
  color: #000000;
  transition: background-color 0.3s ease, color 0.3s ease; /* 滑らかに変化 */
  cursor: pointer;
}

.common-btn-w p {
  margin: 0;
  color: inherit;
}

.common-btn-w:hover {
  background-color: #000000;
  color: #fff;
}

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

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

/*----------------------
  　コンタクトエリア
  -----------------------*/
.m-contact {
  @media (max-width: 768px) {
    overflow: hidden;
  }
}

.m-contact-cont {
  @media (max-width: 768px) {
  }
}

.m-contact-box {
  overflow: hidden;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.m-contact-ttl {
  max-width: 100%;
  margin: 0 auto;
  padding: 120px 32px 40px;

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

.m-contact-main-ttl {
  font-size: clamp(2rem, 1.4902rem + 2.0915vw, 4rem);
  font-weight: 600;
}

.m-contact-sub-ttl {
  font-size: clamp(0.875rem, 0.8431rem + 0.1307vw, 1rem);
  font-weight: 600;
  display: inline-block;
  border-radius: 50px;
  padding: 2px 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #30387b, #466bac);
}

.tel-contact-box {
  position: relative;
  width: 100%;
  height: 320px;
  background-image: url(assets/img/common/m-tel-img.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;

  @media (max-width: 768px) {
    height: 160px;
  }
}

.tel-contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7); /* 初期オーバーレイ */
  transition: background-color 0.5s ease; /* 滑らかに */
  z-index: 1;
}

.tel-contact-box:hover::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.tel-contact-box > * {
  position: relative;
  z-index: 2;
}

.form-contact-box {
  position: relative;
  width: 100%;
  height: 320px;
  background-image: url(assets/img/common/m-form-img.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;

  @media (max-width: 768px) {
    height: 160px;
  }
}

.form-contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: background-color 0.5s ease;
  z-index: 1;
}

.form-contact-box:hover::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.form-contact-box > * {
  position: relative;
  z-index: 2;
}

.m-contact-call,
.contact-form-box {
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 16px;
}

.contact-call-box {
  gap: 10px;
}

.contact-call-number {
  font-size: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
  font-weight: 600;
  line-height: 48px;

  @media (max-width: 768px) {
    line-height: 24px;
  }
}

.contact-call-hours {
  font-size: clamp(0.875rem, 0.8431rem + 0.1307vw, 1rem);
  line-height: 24px;
}

.ftr-tel-icon img {
  width: 72px;

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

.contact-form-en {
  font-size: clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem);
  font-weight: 600;
  line-height: 48px;

  @media (max-width: 768px) {
    line-height: 24px;
  }
}
.contact-form-jpn {
  font-size: clamp(0.875rem, 0.8431rem + 0.1307vw, 1rem);
  line-height: 24px;
}

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

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