@charset "UTF-8";
/* メディアクエリ*/
.inner {
  padding-inline: 20px; /* 左右の余白＝padding */
}
@media screen and (min-width: 768px) {
  .inner {
    max-width: 1360px; /* pcの最大幅 */
    margin-inline: auto; /* 左右中央寄せ */
    padding-inline: 40px; /* 左右の余白＝padding */
  }
}

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

.pc-hidden {
  display: block;
}
@media screen and (min-width: 768px) {
  .pc-hidden {
    display: none;
  }
}

body {
  font-size: 16px; /* カスタム要素 */
  font-weight: 400; /* カスタム要素 */
  line-height: 1.7; /* カスタム要素 */
}

.img {
  width: 100%;
  display: block;
}

.title__container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.title__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title__main {
  margin: 0;
  font-size: 24px;
}

.title__sub {
  margin: 0;
  font-weight: bold;
  font-size: 1.4rem;
  color: #1a1a1a; /* 必要に応じて色を調整してください */
}
@media screen and (max-width: 767px) {
  .title__sub {
    font-size: 1.2rem;
  }
}

/* タイトルのスタイル */
.title__main {
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 0.1em; /* 文字間隔を広げる */
  text-transform: uppercase; /* 英語タイトルを大文字に */
  color: #ed4246;
  display: inline-block; /* 強調線がタイトル全体の幅に合わせる */
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 767px) {
  .title__main {
    font-size: 2rem;
  }
}

.title__btn {
  position: relative;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding-right: 20px; /* 矢印分のスペースを確保 */
}
.title__btn:hover {
  color: #ed4246; /* ホバー時に色を変更 */
}

.title__btn::after {
  content: ">";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.title__btn:hover::after {
  transform: translateX(5px); /* ホバー時に矢印を右に移動 */
}

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

.section__title-main {
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ed4246;
  text-align: left;
  margin-bottom: 0.5rem;
}

.section__title-sub {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-align: left;
}

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

.btn {
  margin-top: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 50px;
  width: -moz-fit-content;
  width: fit-content;
  background: #ed4246;
  border: 1px solid #ed4246;
  position: relative;
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 30px;
  text-decoration: none;
  min-width: 300px;
  margin-right: auto;
  padding: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果を強調 */
}

.btn::after {
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  right: 20px;
  transition: right 0.2s;
}

.btn:hover::after {
  right: 15px;
}

.btn:hover {
  transform: translateY(4px); /* ボタンを下に移動させ、押されたような効果 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* シャドウを減らして押下感を演出 */
}

/*================================================================
Chrome/Firefox/Edgeなど、各ブラウザはそれぞれデフォルトで効くCSSを持っています。
何もしないと見え方が微妙に変わるので、デフォルトのCSSをリセットして
ブラウザごとの表示の差異をなくすために書くのが「リセットCSS」です。
================================================================*/



.l-contents__inner {
  padding-top: 0 !important;
}

.p-global-nav--hover-extend-underline .c-navbar__item > a:after {
  background: #d4af37 !important;
}

.p-section-front-page-content {
  padding-top: 0;
}

.c-site-branding__title .custom-logo {
  display: none;
}

[data-scrolled="true"] .c-site-branding__title .custom-logo {
  display: block;
}

.menu-item a {
  font-size: 20px !important;
  color: white; /* 文字を白に設定 */
}

/* =========================================================
# ヘッダーナビ
========================================================= */
/*
# 区切り線の追加
---------------------------------- */
.scroll_down {
  display: inline-block;
  position: absolute;
  bottom: 30%;
  right: 10%;
}

@media screen and (max-width: 767px) {
  .sub-visual-contact {
    max-height: 190px;
  }
}

.c-entry__header {
  margin-bottom: var(--_margin1);
  display: none;
}

/* スライダーの外枠 */
.slider-container {
  overflow: hidden; /* 要素がコンテナをはみ出しても見えないようにする */
  white-space: nowrap; /* テキストを横に並べる */
  width: 100%; /* 横幅を100%に設定 */
}

/* スライドするテキスト */
.slider {
  display: inline-flex; /* 横方向に要素を並べる */
  animation: slide 60s linear infinite; /* スライダーアニメーション */
}

.slider span {
  font-size: 100px; /* テキストサイズ */
  padding: 30px 50px 60px; /* テキスト間の余白 */
  color: silver; /* シルバーの文字色 */
  text-shadow: 1px 1px 2px #999; /* 文字を白背景で際立たせる影 */
}
@media screen and (max-width: 767px) {
  .slider span {
    font-size: 50px; /* さらにフォントサイズを小さく */
    padding: 10px 20px 20px; /* 余白もコンパクトに */
  }
}

/* アニメーション */
@keyframes slide {
  0% {
    transform: translateX(0); /* 初期位置 */
  }
  100% {
    transform: translateX(-100%); /* 左方向にスライド */
  }
}
/* テキストがスムーズに連続するための追加スタイル */
.slider {
  width: -moz-max-content;
  width: max-content; /* コンテンツ幅を計算して設定 */
}

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(1) {
  border-top: none;
}

.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #d33365;
  color: #fff;
  font-size: 14px;
}

.option {
  background: #fff;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #ed4246;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
.Form-Item-Checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.Form-Item-Checkbox-Input {
  margin-right: 10px;
}

.Form-Item-Checkbox-Text a {
  color: #ed4246;
  text-decoration: none;
}

.Form-Item-Checkbox-Text a:hover {
  text-decoration: underline;
}

.container {
  position: fixed; /* 固定位置にする */
  top: 80%;
  right: 5%;
  width: 24px;
  height: 24px;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}
.text {
  display: block;
  margin-top: 75px;
  margin-left: -30px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.25;
  animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}
.privacy-policy {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-title {
  color: #ed4246; /* タイトルのカラー */
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
}

.privacy-intro {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: justify;
}

.privacy-section {
  margin-bottom: 20px;
}

.privacy-heading {
  color: #ed4246; /* セクション見出しのカラー */
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.privacy-text {
  font-size: 14px;
  margin-bottom: 10px;
  text-align: justify;
}

.privacy-list {
  list-style-type: disc;
  padding-left: 20px;
}

.privacy-list li {
  margin-bottom: 10px;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .contact-msg {
    font-size: 15px;
  }
}

.service__item h2 {
  text-align: center;
}

.cp_qa03 .cp_actab {
  position: relative;
  width: 100%;
  margin: 0 0 3em 0;
  color: #1b2538;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果 */
}

.cp_qa03 .cp_actab input {
  display: none;
}

/* 質問 */
.cp_qa03 .cp_actab label {
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 1em 2em 1em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  background: rgba(27, 37, 56, 0.1);
}

.cp_qa03 .cp_actab label::before {
  content: "Q";
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
}

.cp_qa03 .cp_actab label:hover {
  color: #ed4246;
  transition: all 0.3s;
}

/* --質問の＋アイコン */
.cp_qa03 .cp_actab label::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "+";
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  transition: transform 0.3s;
}

.cp_qa03 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 2.5em; /* 上下が滑らかに閉じるように初期設定 */
  border: 10px solid rgba(27, 37, 56, 0.1);
  transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
}

.cp_qa03 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: "A";
  font-family: serif;
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}

.cp_qa03 .cp_actab .cp_actab-content p {
  margin: 1em 1em 1em 0;
}

/* 質問を開いたときの仕様 */
.cp_qa03 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
  padding: 1em 2.5em;
  border: 10px solid rgba(27, 37, 56, 0.1);
  transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
}

/* 質問をクリックした時のアイコンの動き */
.cp_qa03 .cp_actab input:checked ~ label {
  color: #d4af37;
}

/* 質問をクリックした時の+の動き */
.cp_qa03 .cp_actab input[type="checkbox"]:checked + label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}

.menu {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.c-row--lg-margin-l {
  align-items: center;
}

.l-footer {
  border-top: none;
}

.l-footer-widget-area {
  background: #e6e6e6;
}
.l-footer-widget-area li a {
  color: #ed4246;
}

.l-footer-widget-area {
  padding-bottom: 0 !important;
}

.footer {
  padding: 0px;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .footer__container {
    width: 100%;
  }
}

.footer__image {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer__button {
  width: 100%;
  display: inline-block;
  padding: 30px;
  margin-left: 20px;
  background-color: #ed4246;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative; /* positionを追加 */
}

.footer__button::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free"; /* 適切なfont-familyを指定 */
  font-weight: 900; /* Solidスタイルのためfont-weightを900に設定 */
  position: absolute;
  right: 20px;
  transition: right 0.2s;
}

.footer__button:hover::after {
  right: 15px;
}

.footer__button:hover {
  transform: translateY(4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
@media screen and (max-width: 767px) {
  .navbar {
    padding: 10px 0px;
  }
}

.logo img {
  height: 40px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  opacity: 0.7;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
@media screen and (max-width: 767px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0px;
  }
}

.footer_logo img {
  width: 100px;
}
@media screen and (max-width: 767px) {
  .footer_logo img {
    width: 50px;
  }
}

@media screen and (max-width: 767px) {
  .l-footer-widget-area__item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.nav-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-left: 20px;
}
@media screen and (max-width: 767px) {
  .nav-menu li {
    margin-left: 10px;
  }
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s;
}
@media screen and (max-width: 767px) {
  .nav-menu a {
    font-size: 10px;
  }
}

.nav-menu a:hover {
  opacity: 0.7;
}

.p-section-front-page-content {
  max-width: 100%;
  padding-block: 0;
}

.service__btn {
  margin-left: auto;
  margin-right: auto;
}

.service__item h2 {
  text-align: center;
  font-weight: bold;
}

/* バナーの基本スタイル */
.smb-items__banner {
  max-height: 120px;
  border-radius: 70px; /* 角丸 */
  overflow: hidden; /* 内容のはみ出しを防ぐ */
  transition: transform 0.4s ease, background-color 0.4s ease; /* アニメーションのスムーズな遷移 */
  background-color: #f0f0f0; /* 初期背景色 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* バナー内のコンテンツ（画像やテキストなど） */
.smb-items__banner img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease; /* ズームインのアニメーション */
}

/* ホバー時の装飾 */
.smb-items__banner:hover {
  transform: scale(1.05); /* ズームイン */
  background-color: #e0e4ff; /* 背景色を変更 */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* シャドウを強調 */
}

/* ホバー時の画像ズームイン */
.smb-items__banner:hover img {
  transform: scale(1.2); /* 画像をズームイン */
}

/* フォーカス時も同じ効果を適用（アクセシビリティ対応） */
.smb-items__banner:focus {
  outline: none; /* フォーカス時のデフォルトアウトラインを削除 */
  transform: scale(1.05);
  background-color: #e0e4ff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service_item {
  cursor: pointer;
}

.smb-balloon__body {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果 */
}

.fv_message {
  position: relative;
  overflow: hidden;
}

.fv_message img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  filter: brightness(100%); /* 背景を暗くする */
}

.fv_message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* グラデーションの範囲を下から60%に制限 */
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
}

.fv_message .content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.fv__title {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.company__overview .c-row .c-row__col {
  width: 100%;
}

.company__overview-line {
  border-bottom: 2px solid gray;
  padding-bottom: 10px;
  padding-left: 30px;
}

.about__msg h2 {
  text-align: center;
}

.voice__item-pt {
  padding-top: 50px !important;
}
@media screen and (max-width: 767px) {
  .voice__item-pt {
    padding-top: 15px !important;
  }
}

.curtain__img {
  overflow: hidden;
}

.curtain__img img {
  display: block;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-in-out;
}

.curtain__img img.start-animation {
  transform: scaleX(1);
}

.popup-title {
  color: #ed4246;
  text-shadow: 0 0 5px white;
  border-left: solid 7px #ed4246;
  background: repeating-linear-gradient(
    -45deg,
    #cce7ff,
    #cce7ff 3px,
    #e9f4ff 3px,
    #e9f4ff 7px
  );
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.smb-section-with-bgimage__bgimage-lg {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.smb-section-with-bgimage__bgimage-lg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -1;
  transform: translateY(0); /* 初期状態 */
}

.cases__items {
  background: #ffffff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  padding: 60px 30px;
  border-radius: 10px;
}

.section-number {
  font-size: 2rem;
  font-style: italic;
  color: #ed4246;
  text-align: left;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.card {
  position: relative;
  width: 300px;
  min-height: 200px; /* カードの最低高さを設定 */
  background: linear-gradient(213deg, #e0e0e0 50%, #d1d1d1 50%);
  border-radius: 8px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  /* Flexboxで中央寄せ */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.icon {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon img {
  width: 40px;
  height: 40px;
}

.content-text {
  font-size: 18px;
  color: #333;
  text-align: center;
  line-height: 1.6;
  font-weight: bold;
}

.section__message h2 {
  text-align: center;
}

.c-entry-summary__body {
  padding-inline: 15px;
}

.c-entry-summary__meta {
  justify-content: flex-start;
  color: gray !important;
}

.p-section-front-page-content {
  max-width: 100%;
  padding-block: 0;
}

.service__btn {
  margin-left: auto;
  margin-right: auto;
}

.service__item h2 {
  text-align: center;
  font-weight: bold;
}

.fv__main {
  position: relative;
}

.fv__msg {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  width: 100%;
  max-width: 1280px;
  margin-top:-200px !important;
}
@media screen and (max-width: 767px) {
  .fv__msg {
    width: 80%;
  }
}

.fv__msg .main-message {
  font-size: 46px;
  color: #fff;
  margin-bottom: 16px; /* 適度な間隔 */
}
@media screen and (max-width: 767px) {
  .fv__msg .main-message {
    font-size: 28px;
  }
}

.fv__msg .sub-message {
  font-size: 16px;
  color: #fff;
  line-height: 1.5; /* 可読性向上 */
}
/* バナーの基本スタイル */
.smb-items__banner {
  max-height: 120px;
  border-radius: 70px; /* 角丸 */
  overflow: hidden; /* 内容のはみ出しを防ぐ */
  transition: transform 0.4s ease, background-color 0.4s ease; /* アニメーションのスムーズな遷移 */
  background-color: #f0f0f0; /* 初期背景色 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* バナー内のコンテンツ（画像やテキストなど） */
.smb-items__banner img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease; /* ズームインのアニメーション */
}

/* ホバー時の装飾 */
.smb-items__banner:hover {
  transform: scale(1.05); /* ズームイン */
  background-color: #e0e4ff; /* 背景色を変更 */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* シャドウを強調 */
}

/* ホバー時の画像ズームイン */
.smb-items__banner:hover img {
  transform: scale(1.2); /* 画像をズームイン */
}

/* フォーカス時も同じ効果を適用（アクセシビリティ対応） */
.smb-items__banner:focus {
  outline: none; /* フォーカス時のデフォルトアウトラインを削除 */
  transform: scale(1.05);
  background-color: #e0e4ff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service_item {
  cursor: pointer;
}

.fv_message {
  position: relative;
  overflow: hidden;
}

.fv_message img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  filter: brightness(100%); /* 背景を暗くする */
}

.fv_message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* グラデーションの範囲を下から60%に制限 */
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
}

.fv_message .content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.fv__title {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.fv__second {
  position: relative;
  min-height: 306px;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .fv__second {
    min-height: 130px !important;
  }
}

/* カーテン用の疑似要素 */
.fv__second::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ed4246;
  z-index: 2;
  transition: transform 1s ease-in-out;
  transform: translateX(0); /* 初期状態でカーテンが全体を覆う */
}

/* カーテンがアクティブで左に流れる */
.fv__second.active::before {
  transform: translateX(-100%);
}

.scroll_down a {
  position: absolute;
  left: 10px;
  bottom: 87px;
  color: #ffffff;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  animation: circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 160px;
  }
  100% {
    bottom: 0px;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 160px;
  background: #ffffff;
}

.card-container {
  width: 300px;
  background-color: #ffffff;
  padding: 20px 0px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #e0e0e0;
}

.card-header {
  font-size: 30px;
  font-weight: bold;
  padding-left: 20px;
  text-align: left;
}

.number {
  font-weight: bold;
  padding-bottom: 3px;
  border-bottom: 1px solid #ed4246;
}

.decoration {
  font-size: 24px;
}

.card-image img {
  margin: 20px auto;
}

.card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 10px;
}

.card-description {
  font-size: 14px;
  line-height: 1.6;
  padding-left: 10px;
}

.smb-balloon__body {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果 */
}

.media__infinity .smb-section__inner .c-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.scroll-infinity {
  width: 100vw;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: 16.6666666667vw;
  margin-right: 30px;
}
@media screen and (max-width: 767px) {
  .scroll-infinity__item {
    width: 33.3333333333vw;
    margin-right: 15px;
  }
}

.scroll-infinity__item > img {
  width: 100%;
} /*# sourceMappingURL=style.css.map */

/* お問い合わせ */
.smf-item__col--label {
  display: flex;
  align-items: center;
}

.smf-item__description {
  margin-top: 0;
  margin-left: 10px;
  padding: 2px 15px;
  background: var(--accent-color);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

@media (min-width: 640px) {
  .smf-form--simple-table .smf-item__col--label {
    flex: 0 0 15em;
    max-width: 15em;
    padding-bottom: 0;
    padding-right: var(--_padding1);
  }
}

.smf-text-control input {
  background-color: #ebedf1 !important;
}

.smf-textarea-control textarea {
  background-color: #ebedf1 !important;
}

.smf-button-control__control {
  width: 300px;
}
