@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*ヘッダー改行禁止*/
.contact-top{
  white-space : nowrap;
}
.p-mainVisual__slideTitle{
  font-size:50px;  /*メインテキストのフォントサイズ変更*/
}
/* メインビジュアル サブテキスト フォントサイズ */
.p-mainVisual .p-mainVisual__slideText {
    font-size: 25px !important; /* セミコロンの位置修正 */
}
.c-mvBtn__btn{
  font-size:15px;  /*ボタンテキストのフォントサイズ変更*/
}
/*スマホサイズでの変更*/
@media (max-width: 480px){
.p-mainVisual__slideTitle{
  font-size:25px;  /*メインテキストのフォントサイズ変更*/
}
}
/* メインビジュアル サブテキスト フォントサイズ スマホ用 */
@media (max-width: 480px){
    .p-mainVisual .p-mainVisual__slideText {
        font-size: 18px !important;
    }
}
/* GSAPパララックス */
.js-trigger {
    height: 600px;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}
.js-trigger img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
}
@media (max-width: 768px) {
    .js-trigger {
        height: 250px;
    }
}
/* オープニングアニメ */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 4s forwards;
}
.loading img {
  opacity: 0;
  animation: logo_fade 3.5s 0.2s forwards;
  width: 250px;
}
@media screen and (max-width: 959px) {
  .loading img {
    width: 100px;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
  }
}
/* ページトップボタンとヘッダーのz-index調整 */
.p-fixBtnWrap {
    z-index: 9999 !important;
    position: fixed !important;
}
.c-fixBtn {
    z-index: 9999 !important;
    position: relative !important;
}
.l-fixHeader {
    z-index: 9999 !important;
}
@media not all and (min-width: 960px) {
    .l-header {
        z-index: 9999 !important;
        position: relative !important;
    }
    .l-header[data-spfix="1"] {
        z-index: 9999 !important;
        position: sticky !important;
    }
    .p-spMenu {
        z-index: 10000 !important;
    }
}
/* メインコンテンツのz-index調整（重複削除・統合） */
.l-content {
    position: relative;
    z-index: 1;
}
/* 背景要素を確実に後ろに配置（重複削除・統合） */
.js-trigger,
.swell-block-fullWide,
.wp-block-cover,
.c-filterLayer {
    z-index: 0 !important;
}
/* 固定ページの上部余白を完全に削除 */
.page .l-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.page .l-mainContent {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.page .l-mainContent__inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.page .post_content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}