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

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/*メニューの背景
.l-header {
        background: #023051;
}*/
/* =======================
 * FVショートコード前に出る空pを消す
 * ======================= */
.swell-block-fullWide__inner > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*=======================
 * TOPスクロール画像
 * =======================*/
.logo-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: logoMarquee var(--marquee-speed, 35s) linear infinite;
  will-change: transform;
}

.logo-marquee__group {
  display: flex;
  gap: 80px;
  flex-shrink: 0;
  align-items: flex-start;
}

.logo-marquee__item {
  display: block;
  flex-shrink: 0;
  width: 150px;
  text-decoration: none;
}

.logo-marquee__item img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

@keyframes logoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}
@media (max-width: 767px) {
.logo-marquee__track {
gap: 14px;
}
.logo-marquee__group {
		gap: 14px;
	}

	.logo-marquee__item {
		width: 180px;
	}
}
/*==================================
* ヒーロービジュアルを呼びだすショートコード [hero_visual]
====================================*/
.hero-visual {
	position: relative;
	width: 100%;
}

.hero-visual__media {
	position: relative;
	width: var(--hero-media-width, 71%);
	margin-left: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.hero-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hero-slider__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-visual__text {
	position: absolute;
	left: 0;
	bottom: 0;
	transform: translate(
		var(--hero-text-x, 0px),
		var(--hero-text-y, 0px)
	);
	width: var(--hero-text-width, 42%);
	z-index: 2;
}

.hero-visual .hero-visual__title {
	margin: 0;
	font-size: var(--hero-title-size-pc, 110px) !important;
	line-height: var(--hero-title-line-height, 0.95) !important;
	letter-spacing: var(--hero-title-letter-spacing, 0) !important;
	font-weight: 700;
}

.hero-visual .hero-visual__lead {
	margin-top: 1.5rem;
	font-size: 1rem;
	line-height: 1.8;
}
.hero-visual .hero-visual__title {
  color: var(--hero-title-color, #001F3F) !important;
}
.hero-visual .hero-visual__lead {
  color: var(--hero-text-color, #333);
}
@media (max-width: 767px) {
	.hero-visual {
		/*padding-top: 2rem;*/
		padding-bottom: 2rem;
	}

	.hero-visual__media {
		width: 100%;
	}

	.hero-visual__text {
		position: static;
		transform: none;
		width: 100%;
		margin-top: 1.5rem;
	}

	.hero-visual .hero-visual__title {
		font-size: var(--hero-title-size-sp, 56px) !important;
	}
}
/* お知らせ */
.top-notice {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #cfcfcf;
}

.top-notice__line {
  margin: 0;
  padding: 16px 10px;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px solid #cfcfcf;
}
@media screen and (max-width: 767px) {
  .top-notice__line {
    font-size: 14px;
    padding: 12px 6px;
  }
}
/*---------------------------------
 * 施工実績の固定レイアウト
 * --------------------------------*/
.single-works .l-sidebar {
  display: none;
}
.p-works-single {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.works-detail__title {
  margin-bottom: 40px;
}

.works-detail__top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  margin-bottom: 50px;
}

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

.works-info-table th,
.works-info-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.works-info-table th {
  width: 90px;
  font-weight: 700;
}

.works-detail__point h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.works-detail__point-text {
  line-height: 2;
}

.works-detail__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.works-detail__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .works-detail__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .works-detail__gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/*---レイアウトここまで---*/
/*---------------------------------
 * 施工実績の一覧
 * --------------------------------*/
.p-works-archive {
	padding-top: 40px;
	padding-bottom: 60px;
}

.p-works-archive__title {
	text-align: center;
	margin-bottom: 32px;
}

.works-category-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 32px;
	margin: 0 0 48px;
}

.works-category-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 190px;
	padding: 14px 28px;
	border: 2px solid #0b3a63;
	border-radius: 999px;
	background: #fff;
	color: #0b3a63;
	text-decoration: none;
	font-weight: 700;
	transition: all 0.3s ease;
}

.works-category-nav__btn:hover,
.works-category-nav__btn.is-current {
	background: #0b3a63;
	color: #fff;
}

.works-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}
@media (max-width: 767px) {
  .works-category-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 28px;
  }

  .works-category-nav__btn {
    min-width: 0;
    width: 100%;
    padding: 12px 10px;
    font-size: 14px;
  }

  .works-category-nav__btn:first-child {
    grid-column: 1 / -1;
  }
}


.works-card__thumb {
  aspect-ratio: 346 / 260;
  overflow: hidden;
}

.works-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-card__title {
	margin-top: 12px;
	font-size: 18px;
}

@media (max-width: 959px) {
	.works-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
  .works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
/*施工一覧のサムネホバー*/
.works-card__thumb {
  overflow: hidden;
  position: relative;
}

.works-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.works-card:hover .works-card__thumb img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.works-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}

.works-card:hover .works-card__thumb::after {
  background: rgba(0,0,0,0.2);
}

.works-card__title {
  color: #023051;
  transition: color 0.3s ease;
}

.works-card:hover .works-card__title {
  color: #e69301;
}


/*ページネーション*/
.nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  background: #fff;
  transition: all 0.2s ease;
}

/* 現在ページ */
.nav-links .current {
  background: #0b3a63;
  color: #fff;
  border-color: #0b3a63;
}

/* hover */
.nav-links a:hover {
  background: #0b3a63;
  color: #fff;
  border-color: #0b3a63;
}