@layer custom {
  :root {
    --main-width: var(--full-width);
    --main-width-sm: 1120px;
    --content-spacing-sm: clamp(
      1.25rem,
      24vw,
      max(calc(50% - var(--main-width-sm) / 2), 12px)
    );
  }

  .main {
    gap: 0;
    padding-bottom: 45px;
  }
  @media (min-width: 768px) {
    .main {
      padding-bottom: 100px;
    }
  }

  /* .header {
    position: relative; */
}

.section {
  padding-block: 45px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 100px;
  }
}

.section-banner01,
.section-banner02 {
  padding-block: 0;
}

.title-underline {
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--text-color);
  text-align: center;
  margin: 0;
  position: relative;
  width: fit-content;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-02);
  align-self: center;
}
@media (min-width: 768px) {
  .title-underline {
    font-size: var(--text-xxl);
  }
}

.section-corner {
  padding-inline: 0;
}
@media (min-width: 768px) {
  .section-corner .corner-wrapper {
    gap: 60px;
  }
}

/* ===========================================
       ファーストビュー - 基本レイアウト
    =========================================== */
.fv {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100dvh;
  overflow: hidden;
  padding-inline: 0;
  gap: 0;
}
@media (min-width: 768px) {
  .fv {
    min-height: 800px;
    padding-top: 0;
  }
}
@media (min-width: 890px) {
  .fv {
    padding-top: 0;
  }
}

/* コンテンツエリア */
.fv-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 10px 10px;
  gap: var(--gap-xl);
  width: 100%;
  background:
    url('../image/bg-main.jpg') -55.611px 0px / 229.926% 41.81% no-repeat,
    radial-gradient(
      162.26% 88.68% at 20% 30%,
      rgba(255, 100, 100, 0.4) 0%,
      rgba(255, 100, 100, 0) 40%
    ),
    linear-gradient(155deg, #320202 58.52%, #991b1b 69.01%, #b91c1c 84.75%)
      lightgray;

  position: relative;
}

/* ===========================================
      FVスライド背景（右側斜め切り抜き）
   =========================================== */
.fv-slide {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  width: 55%;
  height: 460px;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}

.fv-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fvFadeSlide 18s infinite;
}

.fv-slide-item--1 {
  animation-delay: 0s;
}

.fv-slide-item--2 {
  animation-delay: 6s;
}

.fv-slide-item--3 {
  animation-delay: 12s;
}

@keyframes fvFadeSlide {
  0% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  36.33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .fv-content {
    --max-width-fv: 1728px;
    --content-spacing-fv: clamp(
      1.25rem,
      24vw,
      max(calc(50vw - var(--max-width-fv) / 2), 12px)
    );

    padding-inline: var(--content-spacing-fv);
    align-items: start;
    justify-content: flex-start;
    padding-block: 50px;
    gap: var(--gap-xxl);
    background:
      url('../image/bg-main.jpg') 50% / cover no-repeat,
      radial-gradient(
        162.26% 88.68% at 20% 30%,
        rgba(255, 100, 100, 0.4) 0%,
        rgba(255, 100, 100, 0) 40%
      ),
      linear-gradient(133deg, #7f1d1d 0%, #991b1b 40%, #b91c1c 100%) lightgray;
  }

  .fv-slide {
    width: 50%;
    height: 100%;
  }
}
@media (min-width: 1160px) {
  .fv-content {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .fv-content {
    gap: 100px;
  }
}

/* 左側: キャッチコピーエリア */
.fv-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--gap-lg);
  padding-inline: 10px;
}
@media (min-width: 1100px) {
  .fv-left {
    max-width: 535px;
    padding-inline: 0;
    flex: 1 1 400px;
  }
}

.fv-title {
  font-size: clamp(2.25rem, 1.7692rem + 2.5641vw, 3rem);
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
}
@media (min-width: 768px) {
  .fv-title {
    font-size: 47px;
  }
}
@media (min-width: 1200px) {
  .fv-title {
    font-size: 3.5rem;
  }
}

.fv-subtitle {
  font-size: clamp(1.125rem, 0.9647rem + 0.8547vw, 1.375rem);
  font-weight: var(--weight-bold);
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  letter-spacing: -1.5px;
}

.fv-badges {
  display: flex;
  gap: 0;
  justify-content: space-between;
  margin-top: var(--p-lg);
}
@media (min-width: 500px) {
  .fv-badges {
    justify-content: flex-start;
    gap: var(--gap-lg);
  }
}
@media (min-width: 1160px) {
  .fv-badges {
    gap: var(--gap-md);
  }
}

.fv-badge {
  width: clamp(32%, 32%, 8.3125rem);
  height: auto;
}
@media (min-width: 768px) {
  .fv-badge {
    width: 140px;
  }
}

/* 右側: 検索パネルエリア */
.fv-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 768px) {
  .fv-right {
    width: 100%;
  }
}
@media (min-width: 1100px) {
  .fv-right {
    flex: 1 9999 1085px;
    min-width: 640px;
    max-width: 1085px;
  }
}

/* ===========================================
       検索パネル
    =========================================== */
.search-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
@media (min-width: 768px) {
  .search-panel {
    padding: var(--p-xxl);
  }
}

.search-panel input[type='radio'],
.search-panel input[type='checkbox'] {
  opacity: 0;
  position: absolute;
  height: 1px;
  width: 1px;
}

.search-panel-title {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-size: 22px;
  font-weight: var(--weight-bold);
  color: var(--text-color);
  margin: 0 0 var(--p-lg);
  padding-left: var(--p-md);
  border-left: 4px solid var(--fv-accent-color);
}
@media (min-width: 768px) {
  .search-panel-title {
    font-size: var(--text-xl);
  }
}

/* タブボタン */
.search-panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
  margin-bottom: var(--p-xl);
}
@media (min-width: 768px) {
  .search-panel-tabs {
    flex-wrap: nowrap;
  }
}

.search-panel-tab {
  flex: 1;
  min-width: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: var(--p-md) var(--p-sm);
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: var(--text-color);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-size: 15px;
}
@media (min-width: 768px) {
  .search-panel-tab {
    flex-direction: row;
    font-size: 20px;
    min-width: auto;
    padding: var(--p-xl) var(--p-sm);
    font-size: var(--text-lg);
  }
}

@media (min-width: 500px) {
  .search-panel-tab .only-sp {
    display: none;
  }
}

.search-panel-tab:hover {
  border-color: var(--fv-accent-color);
  color: var(--fv-accent-color);
}

.search-panel-tab-input:checked + .search-panel-tab {
  background: var(--gradation-red);
  border-color: transparent;
  color: #fff;
}

.search-panel-tab-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
@media (min-width: 768px) {
  .search-panel-tab-icon {
    width: 28px;
    height: 28px;
  }
}

.search-panel-actions .search-panel-tab-icon {
  width: 18px;
  height: 18px;
}
@media (min-width: 768px) {
  .search-panel-actions .search-panel-tab-icon {
    width: 20px;
    height: 20px;
  }
}

/* セクション */
.search-panel-section {
  margin-bottom: var(--p-lg);
}

.search-panel-section-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-color);
  margin: 0 0 var(--p-md);
}
@media (min-width: 768px) {
  .search-panel-section-title {
    font-size: var(--text-md);
  }
}

/* チップボタン */
.search-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-panel-chip {
  padding: var(--p-sm) var(--p-lg);
  border: 1px solid #d1d5db;
  border-radius: calc(1px * infinity);
  background: #f9fafb;
  color: var(--text-color);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .search-panel-chip {
    font-size: var(--text-sm);
  }
}

.search-panel-section-area .search-panel-chip,
.search-panel-section-tsubo .search-panel-chip {
  border-radius: 8px;
  padding: 15px var(--p-sm);
  width: calc(50% - 8px / 2);
  font-size: var(--text-md);
}
.search-panel-section-area .search-panel-chip:first-of-type,
.search-panel-section-tsubo .search-panel-chip:first-of-type {
  width: 100%;
}
@media (min-width: 768px) {
  .search-panel-section-area .search-panel-chip,
  .search-panel-section-tsubo .search-panel-chip {
    width: auto;
    flex: 1;
    font-size: var(--text-sm);
  }
}

.search-panel-chip-input:checked + .search-panel-chip {
  background: var(--gradation-red);
  border-color: transparent;
  color: #fff;
}

.search-panel-chip:hover {
  border-color: var(--fv-accent-color);
  color: var(--fv-accent-color);
}

/* アクションボタン */
.search-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
  margin-top: var(--p-xl);
}
@media (min-width: 768px) {
  .search-panel-actions {
    flex-wrap: nowrap;
  }
}

.search-panel-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
  padding: var(--p-md) var(--p-lg);
  border-radius: 8px;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media (min-width: 768px) {
  .search-panel-btn {
    padding: var(--p-lg) var(--p-xl);
    min-width: 140px;
    gap: var(--gap-sm);
  }
}

.search-panel-btn:hover {
  opacity: 0.8;
}

.search-panel-btn-primary {
  background: var(--gradation-red);
  border: none;
  color: #fff;
}

.search-panel-btn-secondary {
  background: #fff;
  border: 2px solid #2563eb;
  color: #2563eb;
}

/* フッターリンク */
.search-panel-footer {
  margin-top: var(--p-xl);
  padding-top: var(--p-lg);
  border-top: 1px solid #eee;
  text-align: center;
}

.search-panel-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.search-panel-link:hover {
  color: var(--fv-accent-color);
}

.search-panel-link-text {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  text-decoration: underline;
}

.search-panel-link-description {
  font-size: var(--text-xs);
  color: var(--text-sub-color);
}

/* ===========================================
       FV内 新着情報
    =========================================== */
.fv-news {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
}

.fv-news-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.fv-news-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--p-xxxl);
  background: #1f2937;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.fv-news-label.only-pc {
  display: none;
}
@media (min-width: 768px) {
  .fv-news-label.only-pc {
    display: inline-flex;
  }
}

.fv-news-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  flex: 1;
  overflow: hidden;
  padding: 20px;
  border-bottom: 1px solid #d9dbdd;
  background: linear-gradient(90deg, #e2e2e2 0%, #f1f5f9 100%);
}
@media (min-width: 768px) {
  .fv-news-list {
    flex-direction: row;
    gap: var(--gap-xl);
  }
}

.fv-news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--gap-md);
  font-size: var(--text-sm);
}
@media (min-width: 768px) {
  .fv-news-item {
    display: flex;
  }
}

.fv-news-date {
  flex-shrink: 0;
  color: #324055;
  font-size: 15px;
}

.fv-news-category {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px var(--p-xxl);
  background: #fff;
  color: #db2626;
  border: 1px solid #db2626;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  width: fit-content;
}

.fv-news-link {
  color: #324055;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
  grid-column: 1 / -1;
  font-size: 15px;
}

.fv-news-link:hover {
  color: var(--fv-accent-color);
  text-decoration: underline;
}

.fv-news-link.new::after {
  content: 'NEW';
  font-size: var(--text-xs);
  padding-inline: 10px;
  margin-left: 10px;
  border-radius: 0;
  background: #ffee37;
  color: #000;
  padding-block: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fv-news-empty {
  color: var(--text-sub-color);
  font-size: var(--text-sm);
  margin: 0;
}

/* cube */

.cube_2.section-cube {
  background: #f1f5f9;
}
.cube_2.section-cube .item {
  border: none !important;
  box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.10);
}

.cube-title {
  font-size: var(--text-xxl);
  font-weight: var(--weight-bold);
  color: var(--text-color);
  display: flex;
  gap: 12px;
  align-items: center;
  line-height: 1;
}
.cube-title::before {
  content: '';
  width: 6px;
  height: 100%;
  background: #dc2626;
  border-radius: calc(1px * infinity);
  margin-top: 2px;
}
.cube_2 .cube-title::before {
  background: #f29500;
}

:where(.cube_1, .cube_2) .scube-list {
  gap: 0;
}
@media (min-width: 768px) {
  :where(.cube_2) .scube-list {
    gap: var(--gap-xl);
  }
  .section-corner .corner-wrapper .title {
    padding-inline: var(--content-spacing);
  }
}

.cube_1 .scube-list {
  grid-template-columns: repeat(3, calc((100% - (var(--gap-xl) * 2)) / 3));
}

.cube_2 .scube-list {
  grid-template-columns: repeat(3, calc((100% - (var(--gap-xl) * 2)) / 3));
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .cube_2 .scube-list {
    grid-template-columns: repeat(4, calc((100% - (var(--gap-xl) * 3)) / 4));
  }
}

.cube_1.section-swiper .swiper {
  padding-inline: var(--content-spacing);
}
.cube_1.section-swiper .scube-list {
  width: 100%;
  transform: none;
}
.cube_1.section-swiper .swiper-slide {
  width: clamp(312px, calc(269.52px + 11.8vw), 430px);
}
@media (min-width: 768px) {
  .cube_1.section-swiper .swiper-slide {
    width: calc((100% - (32px * 3)) / 4);
  }
}

@media (min-width: 768px) {
  .section-cube .scube-list {
    display: grid !important;
  }
  .scube-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    padding-inline: var(--content-spacing);
  }
  .scube-bottom-wrapper .more-btn {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 30px;
  }
  .cube_1.section-swiper .scube-list {
    display: flex !important;
  }
  .cube_1.section-swiper .scube-button-wrapper {
    display: flex;
  }
  .cube_2 .scube-list {
    padding-inline: var(--content-spacing);
  }
}

.scube-list .item.new {
  position: relative;
}
.scube-list .item.new::after {
  content: 'NEW';
  font-size: var(--text-sm);
  padding-inline: 14px;
  background: #ffee37;
  color: #000;
  padding-block: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.scube-list .item .info {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.scube-list .item .comment {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.cube_1 .scube-list .item .comment {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  line-height: 1.45;
  min-height: 2.9em;
}

.scube-list .item .type-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  background: #f2f2f2;
  font-size: var(--text-xs);
  color: #666;
  line-height: 1;
}
.scube-list .item .spec {
  min-width: 0;
}
.scube-list .item .spec p {
  color: #666;
}

.scube-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
@media (min-width: 768px) {
  .scube-button-wrapper {
    display: none;
  }
}
.scube-typeA .pic img {
  aspect-ratio: 16 / 10;
}

.scube-button-wrapper .swiper-button-prev,
.scube-button-wrapper .swiper-button-next {
  position: static !important;
  flex-shrink: 0;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  color: #000 !important;
  margin-top: 0 !important;
}
.scube-button-wrapper .swiper-button-prev::after,
.scube-button-wrapper .swiper-button-next::after {
  font-size: 10px !important;
  font-weight: normal !important;
  color: #000;
}

.section-swiper .scube-typeA-pagenation,
.section-swiper .scube-typeB-pagenation {
  margin-top: 0;
  width: fit-content !important;
  display: flex;
  align-items: center !important;
  gap: 13px;
}
.section-swiper .swiper-pagination-lock {
  display: none;
}

.section-swiper .scube-typeA-pagenation .swiper-pagination-bullet,
.section-swiper .scube-typeB-pagenation .swiper-pagination-bullet {
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: #bababa;
  opacity: 1;
  margin: 0 !important;
}
.section-swiper .scube-typeA-pagenation .swiper-pagination-bullet-active,
.section-swiper .scube-typeB-pagenation .swiper-pagination-bullet-active {
  background: #af1f23;
}

.more-btn {
  display: none;
}
@media (min-width: 768px) {
  .more-btn {
    display: block;
    align-self: flex-end;
  }
}

/* ===========================================
       業種・こだわりから探す セクション
    =========================================== */
.section-search {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .section-search-title {
    margin-bottom: var(--p-xl);
  }
}

/* 業種アイコンリスト */
.search-category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
}
@media (min-width: 600px) {
  .search-category-list {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
  }
}
@media (min-width: 1080px) {
  .search-category-list {
    grid-template-columns: repeat(8, 1fr);
    gap: var(--gap-lg);
  }
}

.search-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--p-lg) var(--p-sm);
  text-decoration: none;
  color: var(--text-color);
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .search-category-item {
    width: auto;
  }
}

.search-category-item:hover {
  border-color: transparent;
  background: var(--gradation-red);
  color: #fff;
}

.search-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-color);
  transition: all 0.2s ease;
}

.search-category-item:hover .search-category-icon {
  border-color: transparent;
  color: #fff;
}

.search-category-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-align: center;
  line-height: var(--line-height-md);
}
@media (min-width: 768px) {
  .search-category-label {
    font-size: var(--text-sm);
  }
}

/* バナーリンク */
.search-banner-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
@media (min-width: 768px) {
  .search-banner-list {
    flex-direction: row;
    gap: var(--gap-lg);
  }
}

.search-banner-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding: var(--p-lg) var(--p-xl);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s ease;
}

.search-banner-item:hover {
  border-color: var(--fv-accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--fv-accent-color);
  color: #fff;
}

.search-banner-icon .svg-icon path {
  stroke: #fff;
}

.search-banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-banner-label {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
}

.search-banner-description {
  font-size: var(--text-xs);
  color: var(--text-sub-color);
}

.search-banner-arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-sub-color);
  border-right: 2px solid var(--text-sub-color);
  transform: rotate(45deg);
  transition: border-color 0.2s ease;
}

.search-banner-item:hover .search-banner-arrow {
  border-color: var(--fv-accent-color);
}

/* ===========================================
       旭比野について セクション
    =========================================== */
.section-aboutus {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-inline: var(--content-spacing);
  background: url('../image/bg-top-about.jpg') no-repeat
    center center / cover;
  position: relative;
}
@media (min-width: 1024px) {
  .section-aboutus {
    gap: 60px;
  }
}

.section-aboutus::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    171deg,
    rgba(241, 245, 249, 0) 8.19%,
    rgba(241, 245, 249, 0) 71.3%,
    #c51c20 71.31%,
    var(--red-02) 93.87%
  );
}

.aboutus-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  z-index: 1;
}
@media (min-width: 1024px) {
  .aboutus-container {
    flex-direction: row;
    gap: var(--gap-xxxl);
  }
}

.aboutus-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  width: 100%;
}
@media (min-width: 1024px) {
  .aboutus-content {
    width: calc(49% - var(--gap-xxxl) / 2);
  }
}

.aboutus-lead {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}
@media (min-width: 1024px) {
  .aboutus-lead {
    font-size: 20px;
  }
}

.aboutus-features {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.aboutus-feature {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  background: rgba(255, 255, 255, 0.7);
  padding: var(--p-lg);
  border-radius: 8px;
  padding: 24px;
}
@media (min-width: 768px) {
  .aboutus-feature {
    padding: 38px;
  }
}

.aboutus-feature-title {
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--red-01);
  margin: 0;
}
@media (min-width: 1024px) {
  .aboutus-feature-title {
    font-size: var(--text-xl);
  }
}

.aboutus-feature-text {
  font-size: var(--text-md);
  line-height: var(--line-height-lg);
  color: var(--text-color);
  margin: 0;
}

.section-aboutus .button-link {
  min-width: 240px;
  font-size: var(--text-sm);
}
.section-aboutus .button-link:hover {
  border-color: #fff;
}

/* 実績紹介エリア */
.aboutus-works {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-inline: 16px;
  padding-top: 30px;
  padding-bottom: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  width: 100%;
  height: fit-content;
}
@media (min-width: 768px) {
  .aboutus-works {
    padding: var(--p-xxl);
  }
}
@media (min-width: 1024px) {
  .aboutus-works {
    padding: 48px;
    width: calc(51% - var(--gap-xxxl) / 2);
    max-width: 650px;
  }
}

.aboutus-works-header {
  display: flex;
  align-items: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-color);
  padding-left: var(--p-md);
  border-left: 4px solid var(--fv-accent-color);
}

.aboutus-works-description {
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .aboutus-works-description {
    padding-bottom: 22px;
  }
}

.aboutus-works-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: var(--gap-md);
}

.aboutus-works-item {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.aboutus-works-item:hover {
  opacity: 0.8;
}

.aboutus-works-item::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 20.19%, rgba(0, 0, 0, 0.80) 77.88%);
  
}

.aboutus-works-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.123;
  object-fit: cover;
}

.aboutus-works-caption {
  font-size: var(--text-sm);
  color: #fff;
  margin: 0 18px 0 0;
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 1;
}
.aboutus-works-caption-title {
  font-size: var(--p-lg);
  margin-bottom: 0.5rem;
}

/* ===========================================
       Q&Aセクション
    =========================================== */
.section-faq {
  padding-inline: var(--content-spacing);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}
@media (min-width: 900px) {
  .faq-container {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-xxxl);
  }
}

/* 左側パネル */
.faq-left {
  display: flex;
  flex-direction: row;
  position: relative;
  background: url('../image/bg-top-faq-sp.jpg') no-repeat center
    center / cover;
  overflow: hidden;
  min-height: 198px;
  align-items: flex-end;
}
@media (min-width: 900px) {
  .faq-left {
    flex-direction: column;
    flex-shrink: 0;
    max-width: 354px;
    min-height: auto;
    background-image: url('../image/bg-top-faq-pc.jpg');
    aspect-ratio: 354 / 613;
    flex: 1;
    align-items: stretch;
  }
}

.faq-left-content {
  position: relative;
  z-index: 1;
  padding: var(--p-xl) 1rem;
  flex: 1;
}
@media (min-width: 900px) {
  .faq-left-content {
    padding: var(--p-xxl);
  }
}

.faq-title {
  line-height: 1.4;
  text-align: left;
  margin-bottom: 16px;
}
@media (min-width: 900px) {
  .faq-title {
    margin-bottom: 30px;
  }
}

.faq-title .only-pc {
  display: none;
}
@media (min-width: 900px) {
  .faq-title .only-pc {
    display: block;
  }
}

.faq-subtitle {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.faq-left-image {
  width: 70%;
  position: absolute;
  right: 5px;
  width: 40%;
  z-index: 0;
  /* max-height: 100%; */
  height: 100%;
}
@media (min-width: 900px) {
  .faq-left-image {
    width: 70%;
    bottom: 70px;
    left: 0;
    right: 0;
    margin-inline: auto;
    height: auto;
  }
}

.faq-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* 右側パネル */
.faq-right {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  flex: 1;
}

.faq-list {
  display: grid;
  gap: var(--gap-lg);
}

.faq-item {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fbfbfb;
}

.faq-question {
  align-items: center;
  gap: var(--gap-md);
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question-prefix {
  flex-shrink: 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #ff453f;
  margin-right: 0.5rem;
}

.faq-question-summary {
  flex: 1;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-color);
  line-height: var(--line-height-md);
  list-style-type: none;
  display: flex;
  align-items: center;
  padding: var(--p-xl) var(--p-lg);
  cursor: pointer;
}
@media (min-width: 900px) {
  .faq-question-summary {
    font-size: var(--text-lg);
  }
}

.faq-question-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
}
.faq-question-icon::before,
.faq-question-icon::after {
  content: '';
  position: absolute;
  background: var(--red-02);
  transition: transform 0.2s ease;
}
.faq-question-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-question-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.accordion-trigger:checked + .accordion-label .faq-question-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-question-text {
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  color: var(--text-color);
  line-height: var(--line-height-md);
  height: auto;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 var(--p-xl);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.accordion-trigger:checked + .accordion-label + .faq-question-text {
  max-height: 1000px;
  opacity: 1;
  padding: 0 var(--p-xl) var(--p-xl);
}

.faq-answer-main {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-answer-body {
  flex: 1;
}

.faq-answer-prefix {
  flex-shrink: 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #666;
}

.faq-answer-title {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-color);
  line-height: var(--line-height-md);
  margin: 0;
}

.faq-answer-details {
  font-size: var(--text-sm, 0.875rem);
  color: var(--text-color);
  line-height: var(--line-height-md);
  margin-top: 0.5rem;
}

/* Q&A一覧リンク */
.faq-link-wrapper {
  display: flex;
  justify-content: flex-end;
}

.faq-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: var(--p-lg) var(--p-xxxl);
  background: #fff;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  color: var(--text-color);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: all 0.2s ease;
}
.faq-link-btn:hover {
  background: var(--text-color);
  color: #fff;
}
.faq-link-btn:hover .faq-link-arrow {
  border-color: #fff;
}

.faq-link-arrow {
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  transform: rotate(45deg);
  transition: border-color 0.2s ease;
}

/* ===========================================
       NEWS
    =========================================== */
.section-news {
  padding-inline: var(--content-spacing);
  padding-top: 0;
}

.section-news .corner-wrapper {
  border-radius: 8px;
  background: #f1f5f9;
  padding: 30px 16px;
  gap: 16px;
}
@media (min-width: 768px) {
  .section-news .corner-wrapper {
    width: 100%;
    margin-inline: auto;
    max-width: var(--max-width);
    padding: 64px 120px;
    gap: 64px;
  }
}

.section-news .posts {
  background: unset;
  padding: 0;
  border: none;
  gap: 0;
}

.section-news .posts .post-news {
  padding-block: var(--p-lg);
  border-bottom: 1px solid #d9dbdd;
  gap: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.section-news .posts .post-news .thumbnail {
  display: none;
}
@media (min-width: 768px) {
  .section-news .posts .post-news .thumbnail {
    flex-shrink: 0;
    display: block;
    width: 120px;
    height: 90px;
    overflow: hidden;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .section-news .posts .post-news .thumbnail:hover {
    opacity: 0.7;
  }
}

.section-news .posts .post-news .thumbnail .thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-news .posts .post-news .thumbnail.no-image {
  background: #e5e7eb;
  display: none;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .section-news .posts .post-news .thumbnail.no-image {
    display: flex;
  }
}
.section-news .posts .post-news .thumbnail.no-image::after {
  content: 'NO IMAGE';
  font-size: 10px;
  color: #9ca3af;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
}

.section-news .posts .post-news .post-news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-news .posts .post-news .post-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.section-news .posts .post-news .category {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px var(--p-xxl);
  background: #fff;
  color: #db2626;
  border: 1px solid #db2626;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  width: fit-content;
}

.section-news .posts .post-news .heading {
  color: #324055;
  width: 100%;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.section-news .posts .post-news .time {
  width: fit-content;
  color: #324055;
}

.section-news .posts .post-news .new-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 2px 10px;
  background: #ffee37;
  color: #000;
  flex-shrink: 0;
  line-height: 1;
}

.section-news .posts .post-news .excerpt {
  font-size: var(--text-sm);
  color: var(--text-sub-color);
  margin: 0;
  line-height: var(--line-height-md);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  order: 3;
}

.section-news .button-link {
  align-self: center;
}

/* ===========================================
       バナーセクション1（オフィス移転）
    =========================================== */
.section-banner01 {
  padding-inline: var(--content-spacing-sm);
}

.banner01-inner {
  /* position: relative;
    background: url(https://placehold.jp/1368x120.png?text=Office+Interior) no-repeat center center / cover;
    padding: 0;
    max-width: 1120px;
    align-self: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--gap-xxxl);
    padding: var(--p-xl);
    border-radius: 8px;
    text-decoration: none; */
  transition: all 0.3s ease;
}
.banner01-inner:hover {
  opacity: 0.8;
}
/* .banner01-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
  }
  @media (min-width: 768px) {
    .banner01-inner {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  .banner01-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    z-index: 1;
  }

  .banner01-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap-md);
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: #fff;
    margin: 0;
    line-height: 1.3;
  }
  @media (min-width: 768px) {
    .banner01-title {
      font-size: 40px;
    }
  }

  .banner01-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--p-sm) var(--p-md);
    background: #B70000;
    border-radius: calc(1px * infinity);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    color: #fff;
    white-space: nowrap;
  }
  @media (min-width: 768px) {
    .banner01-label {
      font-size: var(--text-sm);
    }
  }

  .banner01-text {
    font-size: var(--text-sm);
    color: #fff;
    margin: 0;
    line-height: var(--line-height-lg);
    font-weight: var(--weight-bold);
  }
  @media (min-width: 768px) {
    .banner01-text {
      font-size: 26px;
    }
    .banner01-text br {
      display: none;
    }
  }

  .banner01-action {
    display: flex;
    z-index: 1;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    padding: var(--p-md) var(--p-xl);
    background: #B70000;
    border-radius: 4px;
    color: #fff;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
  }
  @media (min-width: 768px) {
    .banner01-action {
      flex-shrink: 0;
      font-size: var(--text-md);
      padding: var(--p-sm) 100px;
    }
  }

  .banner01-btn-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #fff;
    transition: color 0.2s ease;
  }
  @media (min-width: 768px) {
    .banner01-btn-icon {
      width: 20px;
      height: 20px;
    }
  } */

/* ===========================================
       バナーセクション2（建物ライブラリー）
    =========================================== */
.section-banner02 {
  padding-inline: 0;
  max-width: var(--max-width);
  margin-inline: auto;
}

.banner02-inner {
  /* display: flex;
    flex-direction: row;
    align-items: center;
    max-width: var(--main-width-sm);
    background: #fff;
    text-decoration: none;
    overflow: hidden; */
  transition: all 0.3s;
}
.banner02-inner:hover {
  opacity: 0.8;
}
/* @media (min-width: 768px) {
    .banner02-inner {
      max-height: 140px;
    }
  } */

/* .banner02-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    flex-shrink: 0;
    padding-left: 42px;
    padding-block: 30px;
    width: 50%;
  }

  .banner02-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
  }
  @media (min-width: 768px) {
    .banner02-title {
      font-size: var(--text-xl);
      color: var(--red-02);
    }
  }

  .banner02-text {
    font-size: var(--text-sm);
    color: var(--red-02);
    margin: 0;
    line-height: var(--line-height-lg);
  }
  @media (min-width: 768px) {
    .banner02-text {
      font-size: var(--text-md);
      color: var(--text-color);
    }
  }

  .banner02-image-wrapper {
    position: relative;
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  @media (min-width: 768px) {
    .banner02-image-wrapper {
      width: 50%;
    }
  }

  .banner02-img {
    height: auto;
    object-fit: cover;
    width: 100%;
  }
  @media (min-width: 768px) {
    .banner02-img {
      max-width: 600px;
    }
  } */

/* SP用改行表示制御 */
.sp-only {
  display: inline;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* floating banner */
.floating-banner {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  width: 236px;
  height: 223px;
  background-color: #FFF;
  overflow: hidden;
  border-radius: 8px;
}
.floating-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.floating-banner.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
.floating-banner-close {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s ease;
  background: none;
}
.floating-banner-close:hover {
  opacity: 1;
}
.floating-banner-link {
  display: block;
}
.floating-banner-link:hover {
  opacity: 0.8;
}
.floating-banner-link img {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .floating-banner {
    display: none;
  }
}

@media (min-width: 768px) {
  .section-footer {
    padding-bottom: 150px;
  }
}
