@charset "UTF-8";
/* スマホ */
@media (max-width: 600px) {
  .ig-embed-grid {
    grid-template-columns: 1fr;
  }
}
/* Instagram埋め込みが勝手に幅を持つのを抑える */
.ig-embed-grid .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/*ヘッダー*/
.-txt .c-headLogo__link {
  font-size: 26px !important;
  font-weight: bold;
}

.c-gnav > .menu-item > a .ttl {
  font-size: 16px !important;
}

/*-------------------top------------------*/
/*メインビジュアル*/
/*キャッチフレーズ文字調整*/
.p-mainVisual__slideTitle {
  font-size: 60px;
  font-weight: bold;
  text-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 959px) {
  .p-mainVisual__slideTitle {
    font-size: 40px;
  }
}
@media (max-width: 599px) {
  .p-mainVisual__slideTitle {
    font-size: 28px;
  }
}
.p-mainVisual__slideText {
  font-size: 32px;
  font-weight: bold;
  text-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
  margin-top: 8px !important;
}

@media (max-width: 959px) {
  .p-mainVisual__slideText {
    font-size: 20px;
  }
}
@media (max-width: 599px) {
  .p-mainVisual__slideText {
    font-size: 13px;
  }
}
.p-mainVisual__textLayer {
  left: 46% !important;
}

@media (max-width: 959px) {
  .p-mainVisual__textLayer {
    top: -200px;
    left: 50% !important;
  }
}
@media (max-width: 599px) {
  .p-mainVisual__textLayer {
    top: -150px;
  }
}
/*--------共通パーツ-------------------- */
/*見出しパーツ*/
.heading-group h2 {
  color: #413126 !important;
  margin-bottom: -10px !important;
}

@media (max-width: 599px) {
  .heading-group h2 {
    font-size: 26px !important;
    margin-bottom: -20px !important;
  }
}
.heading-group span {
  font-size: 30px !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

@media (max-width: 599px) {
  .heading-group span {
    font-size: 20px !important;
  }
}
/*--------CONCEPTセクション-------------------- */
.concept-box-photo {
  border-radius: 10px;
  overflow: hidden;
}

.concept-box-text {
  padding-top: 1rem;
}

@media (max-width: 959px) {
  .concept-box-text {
    text-align: center;
  }
}
@media (max-width: 959px) {
  .concept-box-text p {
    font-size: 14px !important;
  }
}
#concept {
  position: relative;
  overflow: visible;
}

#concept::after {
  content: "Ambition";
  font-family: "Oooh Baby", cursive;
  font-size: 150px;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  position: absolute;
  top: 50%;
  right: -300px;
  transform: translateY(-50%) rotate(270deg);
  transform-origin: center;
  color: rgba(226, 117, 15, 0.19);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  #concept::after {
    font-size: 70px;
    right: -145px;
    top: 75%;
  }
}
@media (max-width: 768px) {
  #concept::after {
    top: 68%;
  }
}
@media (max-width: 599px) {
  .concept-box {
    margin-bottom: 2em !important;
  }
}
#concept .swell-block-fullWide__inner {
  position: relative;
  z-index: 2;
}

/*--------Instagramセクション-------------------- */
/* =============================================
 * 1. 共通設定（全デバイス共通）
 * ============================================= */
.instagram-box iframe.instagram-media,
.instagram-box iframe.instagram-media-rendered,
.instagram-box .instagram-media-rendered,
.instagram-box blockquote.instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* =============================================
 * 2. スマホ・タブレット用設定（959px以下）：横スライド
 * ============================================= */
@media (max-width: 959px) {
  /* 親：横スクロールを有効にする */
  .instagram-box.swell-block-columns {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 0 20px 0 !important;
  }
  /* 中身：横一列に突き抜けさせる */
  .instagram-box .swell-block-columns__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: -moz-max-content !important;
    width: max-content !important;
    padding: 0 20px !important;
    /* 左右に少し余白 */
    gap: 10px !important;
    /* 隙間を少し広げると見やすい */
    margin: 0 !important;
  }
  /* 各カラム：幅の指定 */
  .instagram-box .swell-block-columns__column {
    scroll-snap-align: center;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* --- スマホサイズ（767px以下）：1枚を大きく見せる --- */
}
@media (max-width: 959px) and (max-width: 767px) {
  .instagram-box .swell-block-columns__column {
    width: 80vw !important;
    min-width: 80vw !important;
    flex: 0 0 80vw !important;
  }
}
@media (max-width: 959px) {
  /* --- タブレットサイズ（768px〜959px）：1枚を半分弱にする --- */
}
@media (max-width: 959px) and (min-width: 768px) {
  .instagram-box .swell-block-columns__column {
    width: 45vw !important;
    /* 横に2枚＋α見えるサイズ */
    min-width: 45vw !important;
    flex: 0 0 45vw !important;
  }
}
@media (max-width: 959px) {
  /* スクロールバー非表示 */
  .instagram-box::-webkit-scrollbar {
    display: none;
  }
  .instagram-box {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}
/* =============================================
 * 3. PC用設定（960px以上）：4枚並び
 * ============================================= */
@media (min-width: 960px) {
  .instagram-box {
    max-width: 1300px;
    margin: 0 auto !important;
    padding-inline: 20px;
    overflow: visible !important;
  }
  .instagram-box .swell-block-columns__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .instagram-box .swell-block-columns__column {
    flex: 0 0 calc(25% - 10px) !important;
    max-width: calc(25% - 10px) !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
/*--------worksセクション-------------------- */
.works-box-photo {
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 959px) {
  .works-box-photo {
    display: none;
  }
}
@media (max-width: 599px) {
  .works-box-text h3 {
    text-align: center;
  }
  .works-box-text .swell-block-button[data-align=left] {
    text-align: center !important;
  }
  .works-box-text .u-mb-ctrl.u-mb-60 {
    margin-bottom: 3em !important;
  }
}
.works-photo-mobile {
  display: none;
}
@media (max-width: 959px) {
  .works-photo-mobile {
    display: unset;
  }
}

@media (max-width: 959px) {
  .works-photo-mobile img {
    margin-bottom: 2em;
  }
}

.works-photo-mobile img {
  border-radius: 10px;
}

.wp-block-columns.works-box {
  gap: 5.38rem !important;
}

@media (max-width: 959px) {
  .wp-block-columns.works-box {
    gap: 1rem !important;
  }
}
.box-reverse {
  flex-direction: row-reverse;
}

@media (max-width: 599px) {
  .box-reverse {
    flex-direction: column-reverse;
  }
}
@media (max-width: 599px) {
  .wp-block-social-links.is-style-pill-shape .wp-social-link {
    width: 150px;
  }
}
#works {
  position: relative;
  overflow: visible;
}

#works::after {
  content: "Ambition";
  font-family: "Oooh Baby", cursive;
  font-size: 150px;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: -300px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  color: rgba(226, 117, 15, 0.19);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1369px) {
  #works::after {
    display: none;
  }
}
#works .swell-block-fullWide__inner {
  position: relative;
  z-index: 2;
}

/*--------public-relationsセクション-------------------- */
.public-relations-image {
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 959px) {
  .public-relations-image {
    display: none;
  }
}

.public-relations-text img {
  border-radius: 10px;
}

@media (max-width: 959px) {
  .public-relations-box h2 {
    font-size: 20px !important;
    text-align: center;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 599px) {
  .wp-block-columns.public-relation-button {
    --wp-column-gap: 3.5em!important;
    gap: var(--wp-column-gap) !important;
  }
}

/*--------CONTACTセクション-------------------- */
#contact .heading-group h2,
#contact .heading-group p {
  color: #FFFBF1 !important;
  text-align: left;
}

@media (max-width: 599px) {
  #contact .heading-group h2,
  #contact .heading-group p {
    text-align: center;
  }
}
@media (max-width: 599px) {
  #contact .heading-group h2 {
    margin-bottom: -10px !important;
  }
}
@media (max-width: 599px) {
  #contact .heading-group p {
    font-size: 20px !important;
  }
}
@media (max-width: 599px) {
  .contact-button {
    font-size: 16px !important;
    --the-width: 300px !important;
  }
}

/*固定ページのタイトルカット*/
/*id117会社概要 id134サービス内容 id333実績　id1023書籍　id81Contact*/
.id_117 .c-pageTitle,
.id_134 .c-pageTitle,
.id_333 .c-pageTitle,
.id_1023 .c-pageTitle,
.id_81 .c-pageTitle {
  display: none;
}

.id_117 .l-content,
.id_134 .l-content,
.id_333 .l-content,
.id_1023 .l-content,
.id_81 .l-content {
  padding-top: 0;
}

.id_117 .l-mainContent__inner > .post_content,
.id_134 .l-mainContent__inner > .post_content,
.id_333 .l-mainContent__inner > .post_content,
.id_1023 .l-mainContent__inner > .post_content,
.id_81 .l-mainContent__inner > .post_content {
  margin-top: 0;
}

/*パンくずリスト*/
/*ディフォルトパンくずリスト削除特定固定ページのみ*/
.id_117 > #breadcrumb,
.id_134 > #breadcrumb,
.id_333 > #breadcrumb,
.id_1023 > #breadcrumb,
.id_81 > #breadcrumb {
  display: none !important;
}

/*固定ページのFV高さ調整*/
.id_134 .post_content > .swell-block-fullWide.has-bg-img:first-child,
.id_333 .post_content > .swell-block-fullWide.has-bg-img:first-child,
.id_1023 .post_content > .swell-block-fullWide.has-bg-img:first-child,
.id_81 .post_content > .swell-block-fullWide.has-bg-img:first-child {
  height: 300px;
}
@media (max-width: 599px) {
  .id_134 .post_content > .swell-block-fullWide.has-bg-img:first-child,
  .id_333 .post_content > .swell-block-fullWide.has-bg-img:first-child,
  .id_1023 .post_content > .swell-block-fullWide.has-bg-img:first-child,
  .id_81 .post_content > .swell-block-fullWide.has-bg-img:first-child {
    height: 168px;
  }
}

.id_134 .post_content > .swell-block-fullWide.has-bg-img:first-child > .swell-block-fullWide__inner,
.id_333 .post_content > .swell-block-fullWide.has-bg-img:first-child > .swell-block-fullWide__inner,
.id_1023 .post_content > .swell-block-fullWide.has-bg-img:first-child > .swell-block-fullWide__inner,
.id_81 .post_content > .swell-block-fullWide.has-bg-img:first-child > .swell-block-fullWide__inner {
  position: relative;
  height: 100%;
}

.id_134 .post_content > .swell-block-fullWide.has-bg-img:first-child .works-heading,
.id_333 .post_content > .swell-block-fullWide.has-bg-img:first-child .works-heading,
.id_1023 .post_content > .swell-block-fullWide.has-bg-img:first-child .works-heading,
.id_81 .post_content > .swell-block-fullWide.has-bg-img:first-child .works-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.p-breadcrumb {
  color: #E2750F;
}

.service-breadcrumb .p-breadcrumb {
  color: #ffffff;
}

/*会社概要*/
@media (max-width: 599px) {
  .company-heading p {
    font-size: 20px !important;
  }
}

@media (max-width: 599px) {
  .company-heading h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 599px) {
  .company-heading {
    text-align: center;
  }
}

/*特殊書式　SP・PC「」ありなし*/
.message-box-text .title-bracket-pc::before {
  content: "「";
}
@media (max-width: 599px) {
  .message-box-text .title-bracket-pc::before {
    content: "";
  }
}

.message-box-text .title-bracket-pc::after {
  content: "」";
}
@media (max-width: 599px) {
  .message-box-text .title-bracket-pc::after {
    content: "";
  }
}

@media (max-width: 599px) {
  .title-bracket-pc {
    font-size: 20px !important;
    text-align: center !important;
  }
}

@media (max-width: 599px) {
  .vision-box {
    text-align: center !important;
  }
}

@media (max-width: 599px) {
  .vision-box .company-heading {
    margin-bottom: 1em !important;
  }
}

@media (max-width: 599px) {
  .vision-box .company-heading h2 {
    font-size: 20px !important;
  }
}

@media (max-width: 599px) {
  .vision-box .company-heading p {
    font-size: 14px !important;
  }
}

@media (max-width: 599px) {
  #vision .company-heading + p {
    font-size: 20px !important;
    text-align: center !important;
  }
}

.message-box-text img,
.message-box-image img,
.vision-box img {
  border-radius: 10px;
}

.message-box-text {
  position: relative;
}
@media (max-width: 959px) {
  .message-box-text {
    text-align: center;
    font-size: 14px !important;
  }
}

.message-box-text-sub {
  position: absolute;
  right: 10%;
  bottom: -10%;
}
@media (max-width: 959px) {
  .message-box-text-sub {
    bottom: -5%;
  }
}

.information-table {
  font-size: 16px;
}
@media (max-width: 599px) {
  .information-table {
    font-size: 14px;
  }
}

/*works　事業内容*/
@media (max-width: 599px) {
  .works-heading h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 599px) {
  .works-heading p {
    font-size: 20px !important;
  }
}

@media (max-width: 599px) {
  #sns-strengths h2 {
    font-size: 26px !important;
  }
}

.works-sns-box {
  position: relative;
}

@media (max-width: 599px) {
  .works-sns-box p:first-of-type {
    text-align: center !important;
    font-size: 20px !important;
  }
}

.works-sns-box img {
  border-radius: 10px;
}

.works-sns-text {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: -moz-fit-content;
  width: fit-content;
  padding: 12px 21px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 599px) {
  .partnership-box > .wp-block-column:first-child > p:first-of-type,
  .partnership-box > .wp-block-column:first-child > h2:first-of-type {
    text-align: center !important;
  }
}

.partnership-box img {
  border-radius: 10px;
}

.partnership-box.wp-block-columns {
  --wp-column-gap: 4%;
  gap: var(--wp-column-gap) !important;
}
@media (max-width: 599px) {
  .partnership-box.wp-block-columns {
    --wp-column-gap: 20px;
  }
}

@media (max-width: 959px) {
  .partnership-txt {
    display: none;
  }
}
@media (max-width: 599px) {
  .partnership-txt {
    display: unset;
  }
}

.partnership-name {
  color: #E2750F !important;
}
@media (max-width: 599px) {
  .partnership-name {
    text-align: center;
  }
}

.partnership-image-sp {
  display: none;
}
@media (max-width: 599px) {
  .partnership-image-sp {
    display: unset;
  }
}

@media (max-width: 599px) {
  .partnership-image-sp img {
    margin-bottom: 2em;
  }
}

@media (max-width: 599px) {
  .partnership-image-pc {
    display: none;
  }
}

@media (max-width: 599px) {
  .pr-title {
    font-size: 26px !important;
  }
}

.pr-box-text {
  position: relative;
}
@media (max-width: 959px) {
  .pr-box-text {
    font-size: 16px !important;
    text-align: center;
  }
}

.pr-box-button {
  position: absolute;
  bottom: 0;
}
@media (max-width: 959px) {
  .pr-box-button {
    position: static;
    justify-content: center;
  }
}
@media (max-width: 599px) {
  .pr-box-button {
    flex-direction: column;
  }
}

.wp-block-group.is-row.pr-box-button {
  gap: 33px;
}

.pr-box-image img,
.pr-box-text img {
  border-radius: 10px;
}

@media (max-width: 959px) {
  .pr-box-image {
    display: none;
  }
}

@media (max-width: 959px) {
  .pr-box-text {
    flex-basis: 100% !important;
  }
}

@media (max-width: 959px) {
  .pr-box-heading {
    text-align: center;
  }
}

@media (max-width: 599px) {
  .pr-box-heading h3 {
    font-size: 26px !important;
  }
}

/*prにあるslider　css*/
.pr-slider-01 img,
.pr-slider-02 img,
.pr-slider-03 img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* スライダー全体の枠（フルワイド版） */
.swell-block-columns.swiper {
  overflow: hidden !important;
  padding: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  /* 画面左端まで広げる魔法のコード */
  margin-right: calc(50% - 50vw) !important;
  /* 画面右端まで広げる魔法のコード */
}

/* スマホ表示（Swiper稼働時）専用の強力な調整 */
@media screen and (max-width: 959px) {
  /* ① スライダー全体の枠 */
  .swell-block-columns.swiper {
    overflow: hidden !important;
    padding: 0 !important;
  }
  /* ② ラッパー（★ここがズレの最大の原因！） */
  .swell-block-columns.swiper .swell-block-columns__inner {
    flex-wrap: nowrap !important;
    display: flex !important;
    justify-content: flex-start !important;
    /* SWELLの中央配置や均等配置を強制リセット */
    align-items: stretch !important;
    gap: 0 !important;
    /* SWELL標準の隙間指定を消す */
    margin: 0 !important;
    /* ネガティブマージンを消す */
    padding: 0 !important;
  }
  /* ③ 各スライド */
  .swell-block-columns.swiper .swell-block-column.swiper-slide {
    flex-shrink: 0 !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    /* SWELLの縦余白を消す */
    margin-left: 0 !important;
    /* SWELLの左余白指定があれば強制解除 */
    /* ※ margin-right はSwiperが自動計算でインライン付与するので何も書かない */
    padding: 0 !important;
  }
}
/*コンタクトフォーム*/
/* フォーム全体の背景と余白 */
/* フォーム全体のスタイル（幅をいっぱいに広げる） */
.wpcf7 {
  background-color: #fffbf1 !important;
  padding: 50px 40px;
  /* 少し余白を広げてゆったりさせました */
  border-radius: 12px;
  width: 100% !important;
  /* 幅100% */
  max-width: 100% !important;
  /* 最大幅の制限を解除 */
  box-sizing: border-box;
}
@media (max-width: 959px) {
  .wpcf7 {
    padding: 30px 20px;
  }
}

/* ラベルのスタイル (継続) */
/* ラベルのスタイル (継続) */
.custom-form-container label {
  display: block;
  font-weight: bold;
  color: #4a3a2a;
  font-size: 16px;
  margin-bottom: 25px;
}

/* 「必須」の装飾 (継続) */
.required {
  font-size: 12px;
  color: #e2750f;
  margin-left: 8px;
  background: #fff;
  padding: 2px 6px;
  border: 1px solid #e2750f;
  border-radius: 3px;
  font-weight: normal;
}

/* 入力欄のスタイル (継続) */
.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100% !important;
  border: 1px solid #d1c7bc;
  border-radius: 6px;
  padding: 15px;
  margin-top: 10px;
  background-color: #fff;
  box-sizing: border-box;
  font-size: 16px;
  transition: border-color 0.3s;
}
@media (max-width: 599px) {
  .wpcf7-form-control:not(.wpcf7-submit) {
    padding: 6px 12px;
  }
}

.wpcf7-form-control:focus {
  border-color: #e2750f;
  outline: none;
}

/* --- ここから送信ボタンの修正スタイル --- */
/* 送信ボタン（基本スタイル・非ホバー時） */
.wpcf7-submit {
  display: block;
  margin: 40px auto 0 !important;
  background-color: #e2750f !important;
  /* ボタン色 */
  color: #ffffff !important;
  /* 文字白 */
  font-size: 16px !important;
  font-weight: bold;
  padding: 12px 84px !important;
  /* ボタンを大きく */
  border-radius: 50px !important;
  /* 角丸（カプセル型） */
  border: none !important;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  /* トランスフォームを完全に無効化 */
  transform: none !important;
  /* アニメーションの対象を「影」に絞り、!importantを付けて強制します */
  transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out !important;
  /* 通常時の影を明示的に指定 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

/* 送信ボタン（ホバー時・影のみのエフェクト） */
.wpcf7-submit:hover {
  transform: none !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
  opacity: 1 !important;
}

/*アニメーション*/
/* ベースのアニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1), transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ディレイ用のクラス（必要な分だけ用意） */
.d-1 {
  transition-delay: 0.2s;
}

.d-2 {
  transition-delay: 0.4s;
}

.d-3 {
  transition-delay: 0.6s;
}

.d-4 {
  transition-delay: 0.8s;
}

/*フッター*/
#footer .u-fz-14 {
  font-size: 30px;
}/*# sourceMappingURL=site.css.map */