/* ------------------
    共通
------------------ */
/* ページトップボタン */
#page-top {
    border-radius: 100%;
    margin: 0 8px 8px 0;
}

svg.svg-inline--fa.fa-chevron-up {
    color: var(--sub-accent-color);
}
.svg-inline--fa {
    height: 0.8em;
}
.c-page-top a {
    font-size: 16px;
}

/* 文字色 */
:root,body {
  --_color-text: #231815;
  --wp--preset--color--sm-text: #231815;
}

/* リンク色 */
a {
  color: var(--sub-accent-color);
}

/* ルビ */
rt {
    font-size: 0.36em;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
}

/* テキスト均等配置 */
.justify {
    text-align: justify;
}

/* レスポンシブ順番入れ替え */
@media (max-width: 782px) {
    .replacement {
        flex-direction: column-reverse;
    }
}

/* ボタン丸矢印 */
.smb-btn.smb-btn:hover {
    filter: none;
}
.btn-arrow .smb-btn {
    position: relative;
    display: block;
}
.btn-arrow .smb-btn__label {
    margin-left: -1rem;
}
.btn-arrow .smb-btn::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: right 0.3s ease;
    background-image: url("../my-snow-monkey/img/arrow.png");
}
@media screen and (min-width: 640px) {
    .btn-arrow .smb-btn:hover::after {
        right: 10px;
    }
}
@media screen and (max-width: 639px) {
    .btn-arrow .smb-btn::after {
        right: 10px;
    }
    .smb-btn-wrapper.smb-btn-wrapper--wider.btn-arrow {
        margin-left: auto;
        margin-right: auto;
    }
    .btn-arrow a.smb-btn.smb-btn--wider {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-right: 100px !important;
    }
}
.btn-arrow.arrow-yellow .smb-btn::after {
    background-image: url("../my-snow-monkey/img/arrow-yellow.png");
}

/* btn-skeletonスケルトン */
.btn-arrow.arrow-yellow.btn-skeleton .smb-btn::after {
    background-image: url("../my-snow-monkey/img/arrow-skeleton.png");
}
.btn-arrow.arrow-yellow.btn-skeleton .smb-btn:hover::after {
    right: 20px;
}
.btn-arrow.arrow-yellow.btn-skeleton .smb-btn {
    background-color: #0000;
    border: 2px solid var(--smb-btn--style--ghost--border-color);
}

/* セクション背景文字*/
.section-about .smb-section__background-text__text {
    writing-mode: vertical-lr;
    line-height: 1;
}

/* sp文字サイズ */
@media screen and (max-width: 639px) {
    .section h2.smb-section__title {
        font-size: 1.6rem;
    }
    .section h2.smb-section__title span.sme-font-size {
        font-size: 2rem !important;
    }
    .section .smb-section__background-text__text {
        font-size: 180px;
    }
}

/* ヘッダー */
@media screen and (min-width: 1024px) {
	.c-row.c-row--margin-s.c-row--lg-margin.c-row--middle.c-row--nowrap {
		height: 87px;
	}
}
.c-navbar .c-navbar__item:last-child span {
    background: var(--accent-color);
    color: var(--_color-text);
    padding: 29px 20px; /* 適用されるスペース */
}
.c-navbar .fa-envelope {
    margin-right: 8px;
}

/* セクションタイトル */
.section h2.smb-section__title {
    margin-top: 0;
    line-height: 1.4;
}

/* ------------------
    ドロワー
------------------ */
/* ドロワー背景色 */
.c-drawer {
    background-color: var(--sub-accent-color);
    color: #fff;
}
/* 文字サイズ */
.c-drawer .menu-item {
    font-size: 16px;
}
/* ドロワーメニュー中央寄せ*/
.c-drawer--overall .c-drawer__inner {
    text-align: center;
}

/* ドロワーロゴサイズ */
.custom-drawer-image {
    display: block; /* ブロックレベル要素として配置 */
    margin-top: 20px; /* 上部の隙間*/
    margin-left: auto; /* 左マージンを自動調整 */
    margin-right: auto; /* 右マージンを自動調整 */
    margin-bottom:20px !important; /* 下部の隙間*/
    width: 100px; /* 画像の幅、必要に応じて調整 */
    height: auto; /* アスペクト比を保持 */
}
/* ------------------
    fv
------------------ */
/* ヘッダータイトル */
.page .c-entry__title, .blog .c-entry__title, .archive .c-entry__title{
    font-size: 1rem;
    margin-bottom: -1rem;
    color: var(--accent-color)
}
.page .c-entry__title__subtitle, .blog .c-entry__title__subtitle, .archive .c-entry__title__subtitle {
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent-color)
}
.c-page-header__title {
    font-size: 1rem;
}
.c-page-header__subtitle {
	display: block;
	font-size: 3rem;
    font-weight: bold;
    line-height: 1;
	text-transform: uppercase;
    text-align: center;
}
@media screen and (max-width: 639px) {
    .c-page-header__subtitle {
        font-size: 2rem;
    }
}
/* ------------------
    mv
------------------ */
/* 文字 */
.section-mv .smb-section__title {
    font-size: 3rem;
    font-weight: 900;
}
.section-mv  .smb-section__lede {
    font-size: 1.5rem;
    font-weight: 500;
}

/* sp */
@media screen and (max-width: 639px) {
    .section-mv  .smb-section__title {
        font-size: 1.4rem;
    }
    .section-mv  .smb-section__lede {
        font-size: 1.1rem;
    }
}

/* ズームインスライダー */
.zoom-slider .spider .wp-block-cover__image-background {
    transform: scale(1);
    transition: transform 5s ease-in-out;
}
.zoom-slider .spider__slide[data-active="true"] .wp-block-cover__image-background {
    transform: scale(1.1);
}


/* ------------------
    news
------------------ */
/* お知らせカテゴリーデザイン */
.news-list-simple:not(:root) .c-entries--text2 .c-entries__item>a {
    padding-bottom: 1rem;
    padding-top: 1rem
}
.news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__body {
    display: flex;
    flex-direction: column;
    letter-spacing: .05rem
}
.news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__header {
    margin-top: .75rem;
    order: 2
}
.news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__title {
    font-size: .857rem;
    line-height: 2;
    text-align: left
}
.news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__meta {
    font-size: .857rem;
    order: 1
}
.news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__meta>.c-meta {
    display: flex
}
.news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__meta .c-entry-summary__term {
    background-color: initial;
    border: 1px solid;
    color: var(--sub-accent-color);
    display: inline-block;
    font-weight: 400;
    line-height: 1.2;
    min-width: 100px;
    padding: .25rem .5rem;
    text-align: center
}
.news-list-simple:not(:root) .snow-monkey-taxonomy-posts .c-meta__item--categories {
    display: none
}
@media screen and (min-width: 768px) {
    .news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__body {
        align-items:flex-start;
        flex-direction: row
    }
    .news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__header {
        margin-left: 2rem;
        margin-top: 0
    }
    .news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__title {
        font-size: 1rem
    }
    .news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__meta {
        font-size: 1rem;
        margin-top: 0
    }
    .news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__meta>.c-meta {
        flex-wrap: nowrap
    }
    .news-list-simple:not(:root) .c-entries--text2 .c-meta__item--published {
        width: 8.5em
    }
}
@media screen and (min-width: 1024px) {
    .news-list-simple:not(:root) .c-entries--text2 .c-entry-summary__meta .c-meta__item:not(:last-child) {
        margin-right:1.25em
    }
}


/* ------------------
    service
------------------ */
.service-grid .smb-panels__item__body.is-layout-constrained.wp-block-snow-monkey-blocks-panels-item-block-link-is-layout-constrained {
    padding: 0;
}
/* 擬似要素数字：01〜05 */
.service-grid .c-row {
  counter-reset: service-number;
}
.service-grid .c-row > .c-row__col {
  counter-increment: service-number;
}
.service-grid .wp-block-cover {
  position: relative;
  overflow: visible;
}
.service-grid .wp-block-cover::before {
  content: counter(service-number, decimal-leading-zero);
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 5;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--wp--preset--color--sm-accent);
  pointer-events: none;
}
.service-grid .wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 781px) {
  .service-grid .wp-block-cover::before {
    font-size: 3rem;
    top: -30px;
  }
}

/* ------------------
    works
------------------ */
.works-tag .sme-badge {
    border-radius: 0;
    padding-left: 14px;
    padding-right: 14px;
}


/* ------------------
	recruit
------------------ */

/* 外側の左右カラムを高さ揃え */
.section-recruit .wp-block-columns.alignfull.are-vertically-aligned-top {
  align-items: stretch !important;
}

/* 左側スライダーのカラム自体を伸ばす */
.section-recruit .wp-block-column.slider {
  align-self: stretch !important;
  display: flex !important;
}

/* スライダー内の2列 */
.section-recruit .wp-block-column.slider > .wp-block-columns {
  width: 100%;
  flex: 1;
  align-items: stretch !important;
}

/* スライダー内の各カラム */
.section-recruit .wp-block-column.slider > .wp-block-columns > .wp-block-column {
  display: flex;
  align-self: stretch !important;
}

/* スライダーの表示枠 */
.slider-container-up,
.slider-container-down {
  width: 100%;
  flex: 1;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  position: relative;
}

/* 画像リスト */
.slider-container-up .slider-images,
.slider-container-down .slider-images {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2cqw, 20px);
}

/* 上方向に流れる */
.slider-container-up .slider-images {
  animation: slide-up 40s infinite linear;
}

/* 下方向に流れる */
.slider-container-down .slider-images {
  animation: slide-down 40s infinite linear;
}

/* 画像：比率固定・サイズは画面に合わせて可変 */
.slider-container-up .slider-images img,
.slider-container-down .slider-images img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 280 / 355;
  object-fit: cover;
  display: block;
}

/* 下から上 */
@keyframes slide-up {
  0% {
    transform: translate(-50%, 0);
  }

  100% {
    transform: translate(-50%, -50%);
  }
}

/* 上から下 */
@keyframes slide-down {
  0% {
    transform: translate(-50%, -50%);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

/* タブレット・スマホ */
@media screen and (max-width: 782px) {
  .slider-container-up,
  .slider-container-down {
    flex: none;
    height: 300px;
    min-height: 300px;
  }

  .slider-container-up .slider-images,
  .slider-container-down .slider-images {
    max-width: 220px;
  }
  .section-recruit .wp-block-snow-monkey-blocks-section {
        padding-bottom: 0;
    }
}

/* スマホ横スライダー */
@media screen and (min-width: 783px) {
  .section-recruit .pc-none {
    display: none;
  }
}
@media screen and (max-width: 782px) {

  /* down側を非表示 */
  .section-recruit .sp-none {
    display: none;
  }
  /* スライダー全体を横幅いっぱいに */
  .section-recruit .wp-block-column.slider {
    width: 100%;
    max-width: none;
    display: block;
    overflow: hidden;
  }

  /* Snow Monkeyの is-not-stacked-on-mobile を打ち消す */
  .section-recruit .wp-block-column.slider > .wp-block-columns {
    display: block;
    width: 100%;
  }

  /* up側のカラム */
  .section-recruit .wp-block-column.slider > .wp-block-columns > .wp-block-column:not(.sp-none) {
    display: block;
    width: 100%;
  }

  /* upの表示枠 */
  .slider-container-up {
    width: 100%;
    height: 279px;
    min-height: 279px;
    overflow: hidden;
    position: relative;
  }

  /* upを横並びに変更 */
  .slider-container-up .slider-images {
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    max-width: none;
    display: flex;
    flex-direction: row;
    gap: 20px;
    animation: slide-left 35s infinite linear;
  }

  /* 画像は比率固定・サイズは画面に合わせて可変 */
  .slider-container-up .slider-images img {
    width: clamp(180px, 48vw, 220px) !important;
    height: auto;
    aspect-ratio: 280 / 355;
    object-fit: cover;
    display: block;
  }

  /* 横スライダー用アニメーション */
  @keyframes slide-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  /* down側は念のため非表示 */
  .slider-container-down {
    display: none;
  }

  .section-recruit .wp-block-snow-monkey-blocks-section {
    padding-bottom: 0;
  }
}

/* ------------------
	cta
------------------ */
/* 電話アイコン */
.fa-phone {
    font-size: 30px;
    color: var(--accent-color);
}
.cta .fa-envelope {
    font-size: 30px;
    color: var(--accent-color);
}
@media screen and (max-width: 781px) {
    .cta .wp-block-column {
        border: none;
    }
}

/* ------------------
	フッター
------------------ */
.footer a {
    text-decoration: none;
    color: var(--_color-text);
}
@media screen and (min-width: 782px) {
    .footer-menu.wp-container-core-group-is-layout-86a9be1f {
        gap: 2rem;
    }
}
/* フッターウィジェット左右余白なし */
.l-footer-widget-area .c-fluid-container {
    padding: 0;
}
/* インスタアイコン */
.instagram-link {
    font-size: 30px;
}

/* フッターの上の線消す */
.l-footer {
    border-top: 0px;
    overflow: hidden;
}
/* 下層ページフッター上余白 */
.page:not(.home) .l-footer--default .l-footer-widget-area, .archive .l-footer--default .l-footer-widget-area, .blog .l-footer--default .l-footer-widget-area, .single .l-footer--default .l-footer-widget-area{
    padding-top: 0;
}
/* フッターナビ上余白 */
.page:not(.home) .l-contents__inner{
    padding-bottom: 0px;
}

/* ------------------
	会社案内
------------------ */
/* 企業理念幅 */
@media (min-width: 640px) {
    .section-philosophy .c-row__col--md-1-3, .c-row__col--md-2-6, .c-row__col--md-3-9, .c-row__col--md-4-12 {
        --_item-width: 38%;
    }
    .section-philosophy .c-row__col--md-2-3, .c-row__col--md-4-6, .c-row__col--md-6-9, .c-row__col--md-8-12 {
        --_item-width: 62%;
    }
}
.side-paddingnone .c-container {
    padding-left: 0;
    padding-right: 0;
}

/* 沿革 */
.timeline {
    position: relative;
}
.timeline .smb-information__body {
    position: relative;
}
.timeline .smb-information__item {
    position: relative;
}
.timeline-content {
    position: relative;
    width: 100%;
    padding-left: 30px;
}
.timeline .smb-information__body::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: -20px;
    left: calc(23%);
    width: 2px;
    background: #b2b2b2;
}
.timeline-content::before {
    content: "";
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    position: absolute;
    left: -33px;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
@media (min-width: 640px) and (max-width: 760px) {
    .timeline .c-row__col--md-1-4,
    .timeline .c-row__col--md-2-8,
    .timeline .c-row__col--md-3-12 {
        --_item-width: 20%;
    }
    .timeline .c-row__col--md-3-4,
    .timeline .c-row__col--md-6-8,
    .timeline .c-row__col--md-9-12 {
        --_item-width: 80%;
    }
    .timeline-content {
        padding-bottom: 20px !important;
    }
    .timeline .smb-information__body::before {
        left: calc(20% + 4px);
    }
    .timeline-content::before {
        left: -13px;
    }
}
@media (max-width: 639px) {
    .timeline .smb-information__item {
        margin-top: 30px;
    }
    .timeline .c-row > .c-row__col {
        padding-left: 22px;
        margin-bottom: 0;
    }
    .timeline .smb-information__item__label {
        margin-left: 20px;
    }
    .timeline-content {
        padding-left: 24px;
        min-height: 8rem;
    }
    .timeline-content::before {
        left: -7px;
        top: -38px;
        width: 16px;
        height: 16px;
    }
    .timeline .smb-information__body::before {
        left: 7px;
        top: 28px;
        bottom: 8px;
    }
}

/* 会社概要 */
.is-style-information .smb-information__item {
  margin-top: 0;
}

.is-style-information .smb-information__item > .c-row > .c-row__col:first-child {
  padding-top: 1.5rem;
}

.is-style-information .smb-information__item > .c-row > .c-row__col:last-child {
  border-bottom: 1px solid #cfcfcf;
  padding-bottom: 1.5rem;
}

.is-style-information .smb-information__item__label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}

.is-style-information .smb-information__item__body > p {
  line-height: 1.8;
}

.is-style-information[data-sm-split-column="true"] .smb-information__item > .c-row > .c-row__col:first-child {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 1.5rem;
}

.is-style-information[data-sm-split-column="true"] .smb-information__item > .c-row > .c-row__col:last-child {
  padding-top: 1.5rem;
}

@media screen and (min-width: 640px) {
  .is-style-information .smb-information__item > .c-row > .c-row__col:first-child {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1.5rem;
  }

  .is-style-information .smb-information__item > .c-row > .c-row__col:last-child {
    padding-top: 1.5rem;
  }
}

/* アクセス */
@media screen and (max-width: 639px) {
    .section-access iframe {

        max-height: 300px;
    }
}

/* ------------------
	事業内容
------------------ */
@media (min-width: 1024px) {
    .section-service.smb-section-break-the-grid--left>.smb-section__inner>.c-container>.smb-section__contents-wrapper>.c-row>.c-row__col>.smb-section-break-the-grid__content--horizontal-10 {
        right: 4%;
    }
    .service-pcspace {
        padding-left:  56px;
        padding-right:  56px;
    }
    .section-service.smb-section-break-the-grid--right>.smb-section__inner>.c-container>.smb-section__contents-wrapper>.c-row>.c-row__col>.smb-section-break-the-grid__content--horizontal-10 {
        left: 4%;
    }
}
@media (max-width: 1023px) {
    .service-pcspace {
        padding-right: var(--wp--preset--spacing--40);
        padding-left: var(--wp--preset--spacing--40);
    }
    .service-number.is-content-justification-right {
        justify-content: flex-start;
    }
    .wp-block-group.service-explanation.wp-block-group-is-layout-constrained {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .section-service img {
        margin-top: 30px;
    }
}

.page-id-33 .l-contents__body {
    background: #f8f8f8;
}
.service-number span {
    line-height: 0.6;
}

/* ------------------
	採用情報
------------------ */
.page-id-37 .l-contents__body {
    background: var(--sub-accent-color);
}
.page-id-37 ol.c-breadcrumbs {
    color: #ffffff;
}
/* 採用ボタン */
@media screen and (max-width: 639px) {
    .recruit-btn .wp-container-content-29dca9c1 {
        flex-basis: 220px;
    }
    .recruit-btn a.smb-btn.smb-btn--full {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        padding-right: 40px !important;
    }
    .recruit-btn .btn-arrow .smb-btn::after {
        width: 28px;
        height: 28px;
    }
}


/* 背景文字流れる */
.smb-section__background-text__inner {
  overflow: hidden;
  white-space: nowrap;
}
.smb-section__background-text__text {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
}
.smb-section__background-text__text .marquee-copy {
  padding-left: 1em;
}

/* タイトル下ライン */
.bg-text-animation .smb-section__body {
    margin-top: 10px;
}
@media screen and (max-width: 639px) {
    .bg-text-animation h2.smb-section__title{
        font-size: 1.4rem;
        text-align: justify;
    }
}

/* 横オートスライダー */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
}
.slider-track {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: max-content;
    animation: slide-loop 28s linear infinite;
}
.slide {
    flex-shrink: 0;
    overflow: hidden;
}
.slide img {
    display: block;
    width: auto;
    height: 355px; /* デフォルト高さ */
}
/* 高さ260指定（縦横比はそのまま） */
.slide.h-260 img {
    height: 260px;
    width: auto; /* 縦横比を維持 */
}
/* スマホ: 半分のサイズ */
@media (max-width: 768px) {
    .slider-track {
    gap: 8px;
    }
    .slide img {
    height: 177px; /* 355 / 2 */
    }
    .slide.h-260 img {
    height: 130px; /* 260 / 2、縦横比維持 */
    width: auto;
    }
}
@keyframes slide-loop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 数字で見る */
.nd-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.nd-num {
  font-size: 64px;
  font-weight: 600;
  color: var(--sub-accent-color);
  line-height: 1.2;
}
.nd-unit {
  font-size: 30px;
  font-weight: 600;
  color: var(--sub-accent-color);
}
.nd-suffix {
  font-size: 26px;
  color: var(--sub-accent-color);
  margin-top: 4px;
}
@media screen and (max-width: 816px) {
    .nd-num {
        font-size: 60px;
    }
    .nd-unit {
        font-size: 24px;
    }
    .nd-suffix {
        font-size: 20px;
    }
}

/* 福利厚生パネルの影を消す */
.section-recruitbenefits .smb-panels__item {
  box-shadow: none;
}

/* バナーボタン */
.banner-btn {
  position: relative;
}
.banner-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-image: url("../my-snow-monkey/img/arrow-yellow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.banner-btn:hover::before {
  transform: translate(calc(-50% + 10px), -50%); /* ホバー時もY方向を維持 */
}

@media screen and (max-width: 816px) {
    .banner-btn::before {
        right: 30px;
        width: 30px;
        height: 30px;
    }
}

/* ------------------
	採用インタビュー
------------------ */
/* タイトル */
p.question-title {
    margin-bottom: -12px;
    z-index: 99;
}
.question-title {
  position: relative;
  display: inline-block; /* または inline-flex */
}
.question-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 14px;
    width: 0;
    height: 0;
    border-right: 19px solid transparent;
    border-left: 26px solid transparent;
    border-bottom: 22px solid var(--sub-accent-color);
    border-top: 0;
    transform: rotate(246deg);
    z-index: -999;
}
@media screen and (max-width: 639px) {
    p.question-title {
        padding: 9px 16px 12px !important;
        line-height: 1.2 ;
    }
    p.question-title strong{
        font-size: 0.88rem;
    }
}
/* スケジュール */
.section-schedule .smb-information__item__body {
    display: flex;
    align-items: center;
}

.section-schedule .sme-font-size {
    line-height: 1;
}

@media screen and (min-width: 640px) {
    .section-schedule .timeline .smb-information__body::before {
        left: 33%;
    }
    .section-schedule .timeline .smb-information__body::before {
        top: 30px;
        bottom: -20px;
    }

    .section-schedule .timeline-content::before {
        top: 6px;
        left: -23px;
    }

}
@media screen and (max-width: 1024px) {
    .section-schedule .wp-block-columns.is-layout-flex {
        display: block;
    }
    .section-schedule .wp-block-snow-monkey-blocks-box.smb-box {
        width:640px;
    }
    .section-schedule .line-minus .timeline  {
        padding-top: 26px;
    }
    .section-schedule .line-minus .timeline .smb-information__body::before {
        top: -20px;
    }
}
.section-schedule .wp-block-snow-monkey-blocks-information-item.smb-information__item.timeline-date {
    padding-bottom: 30px;
}

@media screen and (max-width: 639px) {
    .section-schedule .line-minus .timeline .smb-information__body::before {
        top: -40px;
    }
    .section-schedule .timeline-content::before {
        top: -23px;
    }
    .section-schedule .timeline-content {
        min-height: 2rem;
        padding-top: 10px;
                padding-bottom: 20px;
    }
    .section-schedule .line-minus .timeline  {
        padding-top: 0px;
    }
}

/* ------------------
	募集要項
------------------ */
/* 共通スタイル */
.wp-block-group.is-layout-grid > .wp-block-group {
  position: relative;
}

.wp-block-group.is-layout-grid > .wp-block-group:not(:last-child)::after {
  content: "";
  display: block;
  width: 43px;
  height: 32px;
  background-image: url("../my-snow-monkey/img/flow-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
}
@media (min-width: 781px) {
  .wp-block-group.is-layout-grid > .wp-block-group:not(:last-child)::after {
    top: 20%;
    right: -20px; /* グリッドのgap幅の半分に合わせて調整 */
  }
}
@media (max-width: 780px) {
  .wp-block-group.is-layout-grid > .wp-block-group:not(:last-child)::after {
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}
.section-requirements .is-style-information[data-sm-split-column="true"] .smb-information__item > .c-row > .c-row__col:first-child {
  border-bottom: 2px solid var(--sub-accent-color);
}
@media screen and (min-width: 640px) {
  .section-requirements .is-style-information .smb-information__item > .c-row > .c-row__col:first-child {
    border-bottom: 2px solid var(--sub-accent-color);
  }
}

/* ------------------
	お問い合わせ
------------------ */
/* お問い合わせフォーム */
.snow-monkey-form input.smf-text-control__control {
    width: 100%;
}
.snow-monkey-form {
    padding-left: 5px;
    padding-right: 5px;
}
.smf-error-messages {
    color: #f20c10;
    margin-top: var(--_margin-2);
}
.smf-form [data-invalid="1"] {
    border-color: red;
}
[data-screen="confirm"] .input {
    display:none;
}
[data-screen="input"] .confirm,
[data-screen="invalid"] .confirm {
    display:none;
}
.smf-form--business .smf-item__col--label {
    background-color: transparent;
    border-right: none;
}
.smf-form--business .smf-item {
    border: 1px solid #c1c1c1;
    border-left: none;
    border-right: none;
}
.smf-form--business .smf-item:last-child {
    border: none;
}
.smf-form--business .smf-item__col--label {
    border-bottom: none;
}
.checkboxes-policy .smf-item__controls {
    text-align: center;
}
.checkboxes-policy .smf-item__controls p.has-text-align-left.input {
    text-align: center;
}
.address .smf-placeholder{
    width: 100%;
}
.snow-monkey-form .smf-action .smf-button-control__control {
    border-radius: 50px;
    padding: 7px 60px 7px 50px;
    background: #ffffff;
    border: 1px solid  #333333;
    font-weight: bold;
    transition: .4s cubic-bezier(0.37, 0, 0.63, 1);
}
.smf-button-control__control  {
    margin-left: -1rem;
}
.smf-button-control {
    position: relative;
    transition: 0.3s ease-in-out;
}
.smf-button-control:after {
    content: "";
    position: absolute;
    top: 52%;
    right: 2rem;
    display: flex;
    transition: right 0.3s;
    width: 8px;
    height: 8px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
}
.smf-button-control:hover:after {
    right: 1.4rem;
}
[data-screen="confirm"] .input {
    display:none;
}

/* ==============================
  施工実績 詳細ページ
============================== */

.works-single-section {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 120px);
}

.works-single-title {
  font-weight: 700;
  line-height: 1.5;
}

.works-single-columns {
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}

.works-single-gallery-column,
.works-single-info-column {
  min-width: 0;
}

/* ギャラリー */
.works-gallery {
  position: relative;
}

.works-gallery__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.works-gallery__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 594 / 390;
  overflow: hidden;
  border-radius: 0;
  background: #f5f5f5;
}

.works-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  transition: opacity 0.3s ease;
}

.works-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 表示切り替え */
.works-gallery__radio--1:checked ~ .works-gallery__slides .works-gallery__slide--1,
.works-gallery__radio--2:checked ~ .works-gallery__slides .works-gallery__slide--2,
.works-gallery__radio--3:checked ~ .works-gallery__slides .works-gallery__slide--3,
.works-gallery__radio--4:checked ~ .works-gallery__slides .works-gallery__slide--4,
.works-gallery__radio--5:checked ~ .works-gallery__slides .works-gallery__slide--5 {
  opacity: 1;
  z-index: 1;
}

/* サムネイル */
.works-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.works-gallery__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 0;
  cursor: pointer;
  background: #f5f5f5;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.works-gallery__thumb:hover {
  opacity: 0.75;
}

.works-gallery__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 選択中サムネイル */
.works-gallery__radio--1:checked ~ .works-gallery__thumbs .works-gallery__thumb--1,
.works-gallery__radio--2:checked ~ .works-gallery__thumbs .works-gallery__thumb--2,
.works-gallery__radio--3:checked ~ .works-gallery__thumbs .works-gallery__thumb--3,
.works-gallery__radio--4:checked ~ .works-gallery__thumbs .works-gallery__thumb--4,
.works-gallery__radio--5:checked ~ .works-gallery__thumbs .works-gallery__thumb--5 {
  border-color: var(--accent-color, #f7da00);
}

/* 写真未登録 */
.works-gallery--empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 20px;
  background: #f5f5f5;
  color: #777;
}

/* 表 */
.works-info-table {
  margin-top: 0;
}

.works-info-table table {
  width: 100%;
  border-collapse: collapse;
}

.works-info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e6e6e6;
  line-height: 1.8;
  vertical-align: top;
}

.works-info-table td:first-child {
  width: 34%;
  font-weight: 700;
  background: #f8f8f8;
  color: var(--_color-text);
}

.works-info-table td:last-child {
  background: #fff;
}

/* 施工内容詳細 */
.works-detail-heading {
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f8f8f8;
  color: var(--wp--preset--color--sm-sub-accent, #111);
  font-size: var(--wp--preset--font-size--sm-xl, 1.25rem);
  line-height: 1.6;
}

.works-detail-body {
  line-height: 2;
}

.works-detail-body p {
  margin-top: 0;
}

.works-detail-body p + p {
  margin-top: 1em;
}

/* 一覧へ戻るボタン */
.works-back-button {
  justify-content: center;
  margin-top: var(--wp--preset--spacing--50, 48px);
}

.works-back-button .smb-btn {
  border-radius: 100px;
  background-color: var(--accent-color, #f7da00);
  color: var(--_color-text);
  padding: 20px 200px 20px 50px;
}

/* スマホ */
@media screen and (max-width: 781px) {
  .works-single-columns {
    flex-direction: column;
  }

  .works-single-gallery-column,
  .works-single-info-column {
    flex-basis: 100% !important;
  }

  .works-gallery__thumbs {
    gap: 8px;
  }

  .works-info-table td {
    display: block;
    width: 100%;
  }

  .works-info-table td:first-child {
    width: 100%;
    padding-bottom: 8px;
  }

  .works-info-table td:last-child {
    padding-top: 12px;
  }

  .works-back-button .smb-btn {
    width: 100%;
    padding: 18px 64px 18px 32px;
  }
}




/* ==============================
  施工実績 一覧カード
============================== */

.post-type-archive .c-entries--panel .c-entry-summary__body {
    justify-content: start;
    padding: 0 10px;
}


.post-type-archive-results .c-entry-summary:hover .result-card-arrow,
.tax-results_category .c-entry-summary:hover .result-card-arrow {
  right: -8px;
}
/* 
.section-works .spider__slide {
    border: 1px solid #DEDEDE;
    padding: 10px;
} */


/* ==============================
  施工実績カード共通
  一覧・カルーセル両方対応
============================== */

/* パネル本体 */
.c-entry-summary--results {
  position: relative;
  padding: 20px 20px 70px;
  background: #fff;
    border: 1px solid #DEDEDE;
}


/* パネル右下の矢印 */
.post-type-archive-results .c-entry-summary--results::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-image: url("../my-snow-monkey/img/arrow-yellow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(90deg);
  pointer-events: none;
}

/* カード内テキスト */
.result-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 施工時期 */
.result-card-period {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--_color-text, #111);
}

/* タイトル */
.result-card-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--_color-text, #111);
}

/* カテゴリー */
.result-card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-card-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 12px;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

/* ==============================
  施工実績カルーセル：矢印をspider__slide右下に固定
  ※カルーセルブロックに results-carousel を付ける場合
============================== */

.results-carousel .spider__slide {
  position: relative;
  box-sizing: border-box;
}

.results-carousel .spider__slide::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-image: url("../my-snow-monkey/img/arrow-yellow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(90deg);
  pointer-events: none;
  z-index: 5;
}

.results-carousel .c-entry-summary--results {
  height: 100%;
  padding: 10px 10px 30px;
  box-sizing: border-box;
  background: #fff;
}

.results-carousel .c-entries-carousel__item,
.results-carousel .c-entries-carousel__item > a {
  display: block;
  height: 100%;
}


.spider-nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.5rem 0;
}

.spider-nav-row .spider__dots {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}

.spider-nav-row .spider__dot {
  all: unset;
  display: block;
  flex: 1;
  height: 3px;
  background: #ccc;
  cursor: pointer;
  border-radius: 0;
  font-size: 0;
  transition: background 0.2s;
}

.spider-nav-row .spider__dot[aria-current="true"] {
  background: #111;
}

.spider-nav-row .spider__arrow {
  all: unset;
  cursor: pointer;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1.5px solid #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  box-sizing: border-box;
  transition: background 0.15s;
}

.spider-nav-row .spider__arrow:hover {
  background: #f0f0f0;
}

.spider-nav-row .spider__arrow[data-direction="prev"]::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #111;
  border-left: 1.5px solid #111;
  transform: rotate(-45deg) translate(2px, -2px);
}

.spider-nav-row .spider__arrow[data-direction="next"]::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #111;
  border-right: 1.5px solid #111;
  transform: rotate(45deg) translate(-2px, -2px);
}


/* スライダー */
/* ドットを隙間なく繋がった1本の線にする */
.results-carousel .spider__dots {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  width: calc(100% - 56px);
}
.results-carousel .spider__dots .spider__dot {
  all: unset;
  display: block;
  flex: 1;
  height: 3px;
  background: #ccc;
  cursor: pointer;
  border-radius: 0;
  font-size: 0;
  transition: background 0.2s;
}
.results-carousel .spider__dots .spider__dot[aria-current="true"] {
  background: #111;
}
.results-carousel .spider__dots {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 1.5rem 0;
  padding-right: 56px;
  width: 90%;
  box-sizing: border-box;
}
.results-carousel .spider__arrow[data-direction=prev]:before{
    top: 0;
}
.results-carousel .spider__arrow {
    display: flex !important;
    all: unset;
    position: absolute;
    right: 0;
}
.results-carousel .spider__arrow[data-direction=next] {
    right: 20px;
}
.results-carousel .spider__arrow[data-direction=prev] {
    left: auto;
    right: 80px;
}
.results-carousel .spider>.spider__arrow {
	bottom: -45px;
}
.results-carousel .spider__arrow::before {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  background-image: url("../my-snow-monkey/img/arrow-slider.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none !important;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

/* 前へボタン */
.results-carousel .spider__arrow[data-direction="prev"]::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

/* 次へボタン */
.results-carousel .spider__arrow[data-direction="next"]::before {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ホバー時 */
.results-carousel .spider__arrow:hover {
    filter: none;
}

/* スマホ */
@media screen and (max-width: 781px) {
    .results-carousel .spider__arrow[data-direction=prev] {
        right: 60px;
    }
    .results-carousel .spider__arrow::before {
        width: 34px;
        height: 34px;
    }

}

/* ------------------
	お知らせ
------------------ */
.c-entry-summary__term {
    color: var(--_color-text);
}
/* ページヘッダー画像 */
.single-post .c-page-header__bgimage img {
    content: url('../my-snow-monkey/img/news-header.webp');
    z-index: -10;
}
/* 施工実績ページヘッダー */
.single-results .c-page-header__bgimage img {
    content: url('../my-snow-monkey/img/results-header.webp');
    z-index: -10;
}
.single-results p.c-page-header__title {
    text-align: center;
    font-weight: bold;
}
.single-results p.c-page-header__title, .single-post p.c-page-header__title {
    text-align: center;
    font-weight: bold;
}
