@charset "UTF-8";
/* オリジナルスタイルの定義
***************************************************************/

/* カスタム変数 */
:root {
  --swl-fz--root: clamp(14px, 10px + 0.4167vw, 16px) !important; /* ルートフォントをリキッドに */
  --font-family-en: 'Outfit', sans-serif;
  --font-family-ja: 'Noto Sans JP', sans-serif;
  --color_text: #222222; /* テキスト・SWELLのGPUに合わせる */
  --color_main: #d50051; /* メインカラー・SWELLのGPUに合わせる */
  --color_main_thin: #f7e4ea; /* メインカラー薄・SWELLのGPUに合わせる */
  --color_accent: #21bed2; /* アクセントカラー */
  --color_pale-blue: #f2f6f9; /* 淡い青 */
  --color_gradient-blue: linear-gradient(161deg, #eaf0f5 0%, #f3f7fa 46%, #e9f4f5 100%); /* グラデーション */
}

body {
  letter-spacing: 0.03em;
  font-family: var(--font-family-ja);
  font-weight: 400;
  font-size: 1rem;
  text-align: justify;
}

p {
  text-align: justify;
  letter-spacing: 0.03em;
  font-family: var(--font-family-ja);
  font-weight: 400;
  line-height: 1.9;
  font-size: 1rem;
}

/* フルワイドブロックの余計なネガティブマージンを削除
***************************************************************/
.swell-block-fullWide + .swell-block-fullWide {
  margin-top: 0 !important;
}
.post_content > .swell-block-fullWide {
  margin-bottom: 0 !important;
}

/* SWELLのデフォルトの「l-content」の余計な下マージンを削除
***************************************************************/
.home .l-content {
  margin: 0 auto;
}

.l-content:has(.swell-block-fullWide) {
  padding: 0;
}

.l-content {
  margin: 0 auto;
}

/* SWELLのデフォルトのフッター直前ウィジェットの余計なマージンを削除
***************************************************************/
.w-beforeFooter {
  margin: 0 auto;
  overflow: hidden;
}

/* SWELLデフォルトの不要なフッターウィジェットボックスの余白を削除*/
.w-footer__box {
  padding: 0;
}

/* SWELLのデフォルトのパンくずの背景色を消す
***************************************************************/
.-body-solid .p-breadcrumb.-bg-on {
  box-shadow: none;
}
.p-breadcrumb.-bg-on {
  background: transparent !important;
}

/* SWELLのデフォルトのスクロールヒントが隠れてしまうのを調整
***************************************************************/
.c-scrollHint {
  margin-right: 0.5rem;
}

/* デバイス制限
***************************************************************/
@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

/* ローディングアニメーション（使わない場合は消す）
***************************************************************/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2s forwards;
}

.loading img {
  opacity: 0;
  animation: logo_fade 2s 0.2s forwards;
  width: 300px; /* ロゴのサイズを指定（パソコン） */
}

@media screen and (max-width: 959px) {
  .loading img {
    width: 200px; /* ロゴのサイズを指定（スマホ） */
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
  }
}

/* スクロール監視アニメーション
***************************************************************/
/*下からふわっふわっと（Stagger）アニメーション */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;

  .js-stagger-group.is-in-view & {
    opacity: 1;
    transform: translateY(0);
  }
}

/*下からふわっとアニメーション */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s,
    transform 1s;

  &.is-in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ボタンレイアウト（共通）※SWELLボタンをカスタムする場合
***************************************************************/
.c-original-button.c-original-button--large {
  a {
    padding: calc(20 / 14 * 1rem) calc(40 / 14 * 1rem);
    @media (min-width: 768px) {
      padding: calc(22 / 16 * 1rem) calc(64 / 16 * 1rem);
    }
  }
}

/* ホバーでアイコンが右にズレる */
.c-original-button .swell-block-button__link svg {
  transition: transform 0.3s ease;
}
.c-original-button .swell-block-button__link:hover {
  svg {
    transform: translateX(0.5rem);
  }
}

/* 共通タイトル
***************************************************************/
.post_content h2.c-section-head {
  font-size: calc(24 / 14 * 1rem);
  font-weight: 700;
  line-height: 1.6;
  padding-block: 0 0.5rem;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 3.5rem;
    height: 3px;
    background-color: var(--color_main);
  }

  @media (min-width: 768px) {
    font-size: calc(40 / 14 * 1rem);
  }
}

.c-pageTitle {
	color:#222222;
}
/* ヘッダー
***************************************************************/
.l-header {
  border-top: calc(10 / 16 * 1rem) solid var(--color_main);
}

/* ヘッダーナビ
***************************************************************/
.c-gnav > .menu-item > a .ttl {
  line-height: 1.6;
}

/* ヘッダーナビ（inner幅・高さカスタム）
***************************************************************/
.l-header__inner.l-container,
.l-fixHeader__inner.l-container {
  max-width: 100%;
  /* padding-right: 0; 右側はボタンべたづけなど */
}

/* ファーストビュー
***************************************************************/
.fv {
  border-bottom: calc(10 / 16 * 1rem) solid var(--color_main);
  position: relative;
  z-index: 1;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc(644 / 16 * 1rem);
    aspect-ratio: 644 / 592;
    background: url(../img/fv-deco01.png) no-repeat center center / contain;
  }

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(358 / 16 * 1rem);
    aspect-ratio: 358 / 420;
    background: url(../img/fv-deco02.png) no-repeat center center / contain;
  }
}

.fv-bg .fv-heading {
  gap: 0;
}

.fv-heading-subTitle {
  font-size: calc(16 / 14 * 1rem);
  font-weight: 700;
  line-height: 1.9;

  @media (min-width: 768px) {
    font-size: calc(32 / 16 * 1rem);
  }
}

.post_content h2.fv-heading-title {
  font-family: var(--font-family-en);
  font-size: calc(28 / 14 * 1rem);
  font-weight: 700;
  line-height: 1.9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;

  &::before {
    content: '';
    position: static; /* SWELLの absolute を解除 */
    top: auto;
    left: auto;
    display: block;
    flex-shrink: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--color_main);
  }

  @media (min-width: 768px) {
    font-size: calc(56 / 16 * 1rem);

    &::before {
      width: 3.5rem;
    }
  }
}

.fv-description {
  gap: 1rem;
}
.fv-description p {
  font-weight: 500;
}

/* お悩みセクション
***************************************************************/
.problem-img-sp {
  text-align: center;

  img {
    width: 100%;
    height: auto;
    max-width: 450px;
  }
}

/* メリットセクション
***************************************************************/
.merit-card {
  position: relative;
  background: #fcfcfc;
  box-shadow: 0px 6px 24px rgba(34, 34, 34, 0.1);
  border-radius: 18px;
}

.merit-num {
  /*管理画面で視覚的に分かりやすいようサイズだけ直接管理画面上で設定*/
  position: absolute;
  font-family: var(--font-family-en);
  font-weight: 700;
  line-height: 1;
  right: -5px;
  top: calc(-48 / 14 * 1rem);
}

.merit-card-img {
  width: calc(150 / 16 * 1rem);
  margin-inline: auto;

  img {
    object-fit: contain;
  }
}

/* サービス・流れセクション
***************************************************************/
.service-item {
  border-radius: 18px;
  box-shadow: 0px 6px 24px rgba(34, 34, 34, 0.04);
  overflow: hidden;
}

.post_content h3.service-item-title {
  font-size: calc(20 / 14 * 1rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  padding: calc(21 / 14 * 1rem);

  @media (min-width: 768px) {
    font-size: calc(24 / 16 * 1rem);
    padding: calc(32 / 16 * 1rem);
  }
}

.service-item-body {
  padding: calc(32 / 16 * 1rem);
  gap: calc(40 / 16 * 1rem);
}

.service-item-head {
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.service-img {
  width: calc(200 / 16 * 1rem);
  aspect-ratio: 1 / 1;
  img {
    object-fit: contain;
    width: 100%;
    height: auto;
  }
}

.post_content h4.flow-title {
  font-size: calc(24 / 16 * 1rem);
  font-weight: 700;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  white-space: nowrap;

  &::after {
    content: '';
    height: 2px;
    background-color: #d7e3ea;
    flex-grow: 1;
  }
}

/* SWELLのフローステップの点線を変更（スマホでも表示） */
.service-item .swell-block-step__item {
  position: relative;
}

.service-item .swell-block-step:not(.is-style-big):not(.is-style-small) > .swell-block-step__item::before {
  content: '';
  display: block;
  border-left: 2px solid #d7e3ea;
  height: 100%;
  left: 23px;
  position: absolute;
  top: 0;
  width: 0;
}

.service-item .swell-block-step:not(.is-style-big):not(.is-style-small) > .swell-block-step__item:last-child::before {
  content: none;
}

.service-item .swell-block-step:not(.is-style-big):not(.is-style-small) > .swell-block-step__item > .swell-block-step__body {
  margin-left: 0;
}

/* FAQセクション
***************************************************************/
/*SWELLのデフォルトのFAQにボーダーを追加*/
.original-faq .swell-block-faq__item {
  padding: 0.5rem 1.5rem;
  border-radius: 16px;
  border: 1px #e2e9ef solid;
}

.original-faq .faq_q {
  border-bottom: 1px #e2e9ef solid;
}

/* CTAセクション
***************************************************************/
.cta-container {
  padding: calc(40 / 14 * 1rem) calc(20 / 14 * 1rem) !important;

  @media (min-width: 768px) {
    padding: calc(60 / 16 * 1rem) calc(32 / 16 * 1rem) !important;
  }
}

.cta-link-wrap.swell-block-columns .swell-block-column {
  width: fit-content;
}

.cta-link-wrap .swell-block-columns__inner {
  justify-content: center;
}

/* フッター（運営会社情報＆メニュー＆各事業サイトバナー）
***************************************************************/
.footer-info {
  padding-block: calc(60 / 16 * 1rem) calc(40 / 16 * 1rem);
}

.footer-info a {
  transition: opacity 0.3s ease;
  &:hover {
    opacity: 0.7;
  }
}

/* .footer-info .swell-block-columns__inner {
  gap: 2rem;
} */

.post_content h2.footer-info-title {
  font-size: calc(22 / 14 * 1rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-block: 0 1.5rem;

  @media (min-width: 768px) {
    font-size: calc(32 / 16 * 1rem);
  }
}

.footer-company-link a {
  border-bottom: 1px solid currentColor;
}

.footer-menu {
  gap: 0.5rem;
  @media (min-width: 600px) {
    gap: 1rem;
    width: fit-content;
    margin-left: auto;
  }
}

.post_content h3.footer-group-title {
  font-family: var(--font-family-en);
  font-size: 1rem;
  display: flex;
  align-items: center;
  align-self: stretch; /* 親がStackでも文字幅に縮まない */
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  white-space: nowrap;
  margin-block: 0 2rem;

  &::before,
  &::after {
    content: '';
    position: static; /* SWELLの h3::before は absolute のため幅0になる */
    flex: 1 1 0%;
    height: 1px;
    background: var(--color_main);
  }
}

.l-footer {
  background-color: var(--color_text);
  color: #fff;
}
