/* ============================================================
   カラーパレット & 基本変数
   ============================================================ */
:root {
  --primary-50:  #f0f4f8;
  --primary-100: #d9e2ec;
  --primary-200: #b8c8d8;
  --primary-300: #90a8bf;
  --primary-400: #6b8ba6;
  --primary-500: #4a6a86;
  --primary-600: #3d5a73;
  --primary-700: #2f4758;
  --primary-800: #1f3240;
  --accent-50:   #e8eef3;
  --accent-100:  #c9d6e1;
  --accent-200:  #a3b9cc;
  --accent-300:  #7d9cb7;
  --accent-400:  #5a7fa2;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}
html, body {
  overflow-x: hidden;
}
a {
  color: #1e2d3d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* ============================================================
   基本スタイル（Bootstrapで未カバーの部分のみ）
   ============================================================ */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--gray-800);
  background: white;
	letter-spacing: 0.05em;
}


/* ============================================================
   ヘッダー / ナビ
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header .navbar {
  background: transparent;
}

.site-header.scrolled .navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ロゴ画像 */
.logo-image {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.site-header.scrolled .logo-image {
  filter: none;
}
@media (max-width: 991px) {
  .logo-image {
    height: 40px;
  }

  .navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
}
/* ナビリンク（通常：白） */
.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  font-size: 0.875rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: color 0.3s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-1px);
}

/* ナビリンク（スクロール後：グレー） */
.site-header.scrolled .navbar-nav .nav-link {
  color: var(--gray-600) !important;
  text-shadow: none;
}

.site-header.scrolled .navbar-nav .nav-link:hover {
  color: var(--primary-700) !important;
  transform: translateY(-1px);
}

/* お問い合わせボタン */
.btn-contact {
  background: var(--primary-600);
  color: white !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: background 0.3s, transform 0.3s;
	text-decoration: none;
  border: none;
}

.btn-contact:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}

/* ハンバーガーボタン（カスタムスパン） */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .menu-toggle span {
  background: var(--gray-800);
  box-shadow: none;
}
@media (max-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 0.8rem;
  }

  .navbar-nav {
    gap: 0.5rem !important;
  }

  .btn-contact {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}
/* モバイル展開時 */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    padding: 1.5rem 1rem;
    margin-left: calc(-50vw + 50%);  /* 左端まで広げる */
    margin-right: calc(-50vw + 50%); /* 右端まで広げる */
    margin-top: 0.5rem;
  }

  /* 2列グリッド */
  .navbar-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 !important;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }



  .navbar-nav .nav-link,
  .site-header.scrolled .navbar-nav .nav-link {
    color: white !important;
    text-shadow: none !important;
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
  }

  /* お問い合わせはボタンなし・通常リンクに */
.navbar-nav .nav-item:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;  /* ← 追加 */
  }

  .btn-contact {
    background: none !important;
    color: white !important;
    border-radius: 0;
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
    display: block;
    width: 100%;
    text-align: left;
  }
}
/* ハンバーガー → × の切り替え */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ユーティリティバー（モバイル用） */

.utility-item svg {
  flex-shrink: 0;
}

/* scrolled時も背景を維持 */
.site-header.scrolled .utility-bar {
  background: transparent;  /* scrolled時も透過 */
}

.site-header.scrolled .utility-item {
  color: var(--gray-600);
}

.site-header.scrolled .utility-item:hover {
  color: var(--primary-700);
}

/* モバイル下部固定バー */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  transition: color 0.3s;
  flex: 1;
  text-align: center;
}

.mobile-bottom-item:hover,
.mobile-bottom-item:active {
  color: #FFE500;
}

/* フッターがバーに隠れないよう余白を追加 */
@media (max-width: 991px) {
  .footer {
    padding-bottom: 5rem;
  }
}
/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;  /* 75vh → 90vh に増やす */
	}
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  margin-left: 200px;
  margin-right: auto;
  padding-left: 3rem;
}

.hero-content {
  max-width: 48rem;
  text-align: left;
}

.hero-title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-text {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .hero-buttons {
    padding-bottom: 5rem;
  }
}
/* ヒーロー：共通ボタン */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-hero svg {
  transition: transform 0.3s;
}

.btn-hero:hover svg {
  transform: translateX(4px);
}

.btn-hero-primary {
  background: var(--primary-600);
  color: white;
}

.btn-hero-primary:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 106, 134, 0.35);
  color: white;
}

.btn-hero-secondary {
  background: white;
  color: var(--primary-700);
  border: 2px solid var(--primary-600);
}

.btn-hero-secondary:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: white;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 30px;
  background: white;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(200%);  opacity: 0; }
}

@media (max-width: 768px) {
  .hero .container {
    padding-left: 1rem;
    margin: 0 auto;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }
}
.scroll-arrow {
  display: none;
}
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .scroll-text {
    writing-mode: horizontal-tb;
    text-orientation: unset;
    font-size: 0.75rem;
  }

  .scroll-line {
    display: none;
  }

  .scroll-arrow {
    display: block;
    color: white;
    width: 40px;
    height: 40px;
    animation: scrollArrow 1.5s ease-in-out infinite;
  }

  @keyframes scrollArrow {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%       { transform: translateY(6px); opacity: 1; }
  }
}

/* ============================================================
   セクション共通
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-50) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
	letter-spacing: 0.2em;
}

.section-title-main {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}
@media (max-width: 768px) {
  .section-title-main {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}
.section-title-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.1em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.section-footer-center {
  text-align: center;
  margin-top: 3rem;
}


/* ============================================================
   お知らせセクション（ニューステッカー + カード）
   ============================================================ */
.news-section {
  background: #f8f8f8;
  overflow: hidden;
}

/* テッカー */
.news-ticker {
  background: white;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}
.news-ticker a {
  color: #1e2d3d;
  text-decoration: none;
}

.news-ticker a:hover {
  text-decoration: underline;
}
a.news-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-ticker-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.news-label {
  font-weight: 600;
  color: #333;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.news-item {
  color: #666;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ニュースカードラッパー */
.news-cards-wrapper {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.news-cards {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4rem;
}

.news-cards::-webkit-scrollbar {
  display: none;
}

/* ニュースカード */
.news-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 350px;
  background: white;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #FFE500;
  color: #333;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.05em;
}

.news-card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f0f0f0;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-date {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: white;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: #333;
}

.news-card-date span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  padding: 1.5rem 1.5rem 0.75rem;
  line-height: 1.6;
  min-height: 3.2rem;
}

.news-card-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  padding: 0 1.5rem 1.5rem;
}

@media (max-width: 768px) {
  .news-ticker-content {
    gap: 1rem;
    padding: 0 1rem;
  }

  .news-label   { font-size: 0.875rem; }
  .news-item    { font-size: 0.8125rem; }

  .news-cards {
    gap: 1rem;
    padding: 0 3rem;
  }

  .news-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .news-card-image   { height: 220px; }
  .news-card-title   { font-size: 0.9375rem; padding: 1.25rem 1.25rem 0.5rem; }
  .news-card-description { font-size: 0.8125rem; padding: 0 1.25rem 1.25rem; }
}


/* ============================================================
   カルーセル共通ナビ・ドット
   ============================================================ */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  color: #333;
}

.carousel-nav:hover {
  background: #333;
  color: white;
}

.carousel-prev { left:  0; }
.carousel-next { right: 0; }

.carousel-dots,
.projects-carousel-dots,
.instagram-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot,
.projects-carousel-dot,
.instagram-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active,
.projects-carousel-dot.active,
.instagram-carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #333;
}

@media (max-width: 768px) {
  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }
}


/* ============================================================
   サービスセクション
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: white;
  overflow: hidden;
  transition: all 0.3s;
}

/*.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}*/

.service-image {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 1.8rem;
	letter-spacing: 0.1em;
  font-weight: 600;
  color: white;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.service-description {
  padding: 1.75rem 1.5rem;
  color: #333;
  line-height: 1.8;
  font-size: 0.9rem;
  background: white;
  text-align: center;
}


/* ============================================================
   施工事例（WORKSカルーセル）
   ============================================================ */
.projects.section {
  padding: 6rem 0;
}

.projects-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.projects-carousel-wrapper .carousel-nav {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 0;
}

.projects-carousel-wrapper .carousel-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

.projects-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4rem 2rem;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 380px;
  background: white;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  scroll-snap-align: start;
}

.project-card:hover {
  transform: scale(1.02);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #f5f5f5;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-info {
  padding: 1.5rem 0;
}

.project-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.project-location {
  font-size: 0.875rem;
  color: #999;
  margin: 0;
}

.btn-works {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 3rem;
  background: #333;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-works:hover {
  background: #555;
  color: white;
  gap: 1rem;
}

.btn-works svg {
  transition: transform 0.3s;
}

.btn-works:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .projects-carousel {
    padding: 0 3rem 2rem;
  }

  .project-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .project-image-wrapper {
    height: 350px;
  }

  .projects-carousel-wrapper .carousel-nav {
    width: 44px;
    height: 44px;
  }

  .btn-works {
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
  }
}


/* ============================================================
   Instagramセクション
   ============================================================ */
.instagram-carousel-wrapper {
  position: relative;
  padding: 0 50px;
  margin-top: 3rem;
}

.instagram-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 1rem 0;
}

.instagram-carousel::-webkit-scrollbar {
  display: none;
}

.instagram-card {
  flex: 0 0 auto;
  width: 280px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.instagram-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.instagram-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}

.instagram-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.instagram-card:hover .instagram-image img {
  transform: scale(1.05);
}

.instagram-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.instagram-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
}

.instagram-username {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}

.instagram-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-700);
  min-height: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instagram-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
}

.instagram-actions {
  display: flex;
  gap: 0.75rem;
  color: var(--gray-600);
}

.instagram-actions svg {
  cursor: pointer;
  transition: color 0.2s;
}

.instagram-actions svg:hover {
  color: var(--gray-800);
}

.instagram-date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .instagram-carousel-wrapper { padding: 0 40px; }
  .instagram-card { width: 240px; }
}

@media (max-width: 480px) {
  .instagram-carousel-wrapper { padding: 0 30px; }
  .instagram-card { width: 220px; }
  .instagram-content { padding: 0.75rem; }
}


/* ============================================================
   Aboutセクション
   ============================================================ */
.about {
  background: var(--gray-50);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-description {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100) 100%);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-700);
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.3s;
}

.btn-link:hover {
  gap: 1rem;
  color: var(--primary-700);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   固定CTAボタン（右サイド）
   ============================================================ */
.fixed-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;  /* ボタンを右寄せ */
  gap: 0;
  z-index: 999;
  width: 65px;            /* ホバー時の最大幅で固定 */
	background: transparent!important;
}


.cta-button {
  width: 55px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover::before {
  width: 100%;
}

.cta-button:hover {
  width: 65px;            /* 左方向に10px伸びる */
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.2);
}

.cta-visit {
  background: linear-gradient(135deg, #FFE500 0%, #FFD000 100%);
  color: #1f2937;
}

.cta-documents {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: white;
}

.cta-events {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: white;
}

.cta-text {
  writing-mode: vertical-rl;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.cta-button:hover .cta-text {
  transform: translateY(-4px);
}

.cta-arrow {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) rotate(90deg);
  opacity: 0.7;
  transition: all 0.3s;
}

.cta-button:hover .cta-arrow {
  bottom: 12px;
  opacity: 1;
}

@media (max-width: 768px) {
  .fixed-cta {
    display: none;
  }
}


/* ============================================================
   フッター
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0 2rem;
	font-size: 0.875rem;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
	letter-spacing: 0.1em;
	line-height: 1.25em;
}
.footer-logo span {
  display: block;
  text-align: left;
}
.footer-logo .logo-image {
  height: 70px;
  width: auto;
  filter: none;
	flex-shrink: 0;
}
@media (max-width: 1199.98px) {
	.footer-logo {
  font-size: 1.5rem;
	letter-spacing: 0.1em;
	line-height: 1.25em;
}
}
.footer-description {
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-500);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
	letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-contact {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact li {
  color: var(--gray-400);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
	font-size: 0.75rem;
}


/* ============================================================
   その他（内部ページ用）
   ============================================================ */

/* フィルターボタン */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-button {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid var(--gray-200);
  background: white;
  color: var(--gray-700);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-button:hover,
.filter-button.active {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
}

/* ページヘッダー */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-50) 0%, white 50%, var(--accent-50) 100%);
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* フォーム */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--gray-200);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(74, 106, 134, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.required { color: #ef4444; }

/* コンタクト情報 */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--primary-100);
  box-shadow: 0 4px 12px rgba(74, 106, 134, 0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { color: white; }

/* FAQ */
.faq-list {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 2px solid var(--primary-100);
  transition: all 0.3s;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  transition: background 0.3s;
}

.faq-question:hover { background: var(--primary-100); }

.faq-answer {
  padding: 1rem 1.5rem 1.5rem 4rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--primary-200);
}

/* スタッフカード */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.staff-card {
  background: var(--primary-50);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.staff-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.staff-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-info { padding: 1.5rem; }

.staff-position {
  color: var(--primary-600);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.staff-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.staff-specialty {
  font-size: 0.875rem;
  color: var(--primary-700);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.staff-description {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ブログリスト */
.blog-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-item {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.blog-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-date {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.blog-item-title {
  font-size: 1.125rem;
  font-weight: bold;
}

.blog-arrow { color: var(--gray-400); }


/* ============================================================
   会社概要
   ============================================================ */
body.page:not(.home) .site-header .navbar,
body.post-type-archive .site-header .navbar,
body.single .site-header .navbar {
  background: white !important;
}
body.page:not(.home) .site-header .navbar-nav .nav-link,
body.post-type-archive .site-header .navbar-nav .nav-link,
body.single .site-header .navbar-nav .nav-link {
  color: var(--gray-600) !important;
  text-shadow: none;
}
body.page:not(.home) .site-header .navbar-nav .nav-link:hover,
body.post-type-archive .site-header .navbar-nav .nav-link:hover,
body.single .site-header .navbar-nav .nav-link:hover {
  color: var(--primary-700) !important;
}
body.page:not(.home) .site-header .logo-image,
body.post-type-archive .site-header .logo-image,
body.single .site-header .logo-image {
  filter: none;
}
body.page:not(.home) .site-header .menu-toggle span,
body.post-type-archive .site-header .menu-toggle span,
body.single .site-header .menu-toggle span {
  background: var(--gray-800);
  box-shadow: none;
}

/* ページタイトルエリア */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 0 3rem;
  background-color: #e8edf2;
  margin-top: 72px; /* ヘッダー分 */
}

.page-hero-en {
  font-family: 'Jost', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  /*color: #b0bec8;*/
  letter-spacing: 0.05em;
  text-transform: capitalize;
  line-height: 1;
}

.page-hero-ja {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.15em;
}

/* ============================================================
   会社概要テーブル
   ============================================================ */
.company-table {
	font-size: 0.9rem;
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.8;
}

.company-table th {
  width: 220px;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.company-table td {
  color: var(--gray-600);
}

.company-table td a {
  color: var(--primary-600);
  text-decoration: none;
}

.company-table td a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.company-table tbody tr:first-child th,
.company-table tbody tr:first-child td {
  border-top: 1px solid var(--gray-200) !important;
}

@media (max-width: 576px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0;
  }

  .company-table th {
    font-size: 0.8rem;
    color: var(--gray-500);
    border-bottom: none;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
  }

  .company-table td {
    border-bottom: none;
    padding-bottom: 0.75rem;
  }

  .company-table tr {
    display: block;
    border-bottom: 1px solid var(--gray-200);
  }

  .company-table tr:first-child th {
    border-top: none;
  }

  .page-company .section {
    padding-top: 1.5rem;
  }
	.company-table td {
    border-bottom: none !important;
  }
	.company-table tbody tr:first-child td {
    border-top: none !important;
  }
}
/* 会社概要：地図 */
.company-map {
  margin-top: 4rem;
}

.company-map-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.company-map-address {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.company-map-frame {
  width: 100%;
  height: 420px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
  .company-map-frame {
    height: 280px;
  }
}


@media (max-width: 768px) {
  .news-cards-wrapper,
  .projects-carousel-wrapper,
  .instagram-carousel-wrapper {
    overflow: hidden;
  }
}


/* ============================================================
   施工事例
   ============================================================ */

/* 一覧カード */
.works-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.works-card:hover {
  transform: translateY(-6px);
  color: inherit;
}

.works-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

.works-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.works-card:hover .works-card-image img {
  transform: scale(1.05);
}

.works-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary-600);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
}

.works-card-info {
  padding: 1rem 0;
}

.works-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.25rem;
  line-height: 1.6;
}

.works-card-location {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0;
}

/* ページネーション */
.works-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.works-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.works-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.works-pagination .page-numbers.current,
.works-pagination .page-numbers:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: white;
}

/* 詳細ページ */
.works-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.works-breadcrumb a {
  color: var(--gray-400);
  text-decoration: none;
}

.works-breadcrumb a:hover {
  color: var(--primary-600);
}

.works-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 2rem;
}

.works-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-meta {
  margin-bottom: 2.5rem;
}

.works-meta-category {
  display: inline-block;
  background: var(--primary-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.25rem 1rem;
  margin-bottom: 1rem;
}

.works-detail-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.works-detail-location {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.works-content {
  max-width: 800px;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 4rem;
}

.works-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* 前後ナビ */
.works-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.works-post-nav-prev,
.works-post-nav-next {
  flex: 1;
}

.works-post-nav-next {
  text-align: right;
}

.works-post-nav-prev a,
.works-post-nav-next a {
  text-decoration: none;
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.works-post-nav-next a {
  align-items: flex-end;
}

.works-post-nav .nav-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}

.works-post-nav .nav-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.works-post-nav-index {
  flex-shrink: 0;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.works-post-nav-index:hover {
  background: var(--gray-800);
  border-color: var(--gray-800);
  color: white;
}

/* 施工事例カード 抜粋テキスト */
.works-card-excerpt {
  font-size: 0.8rem;
}

/* フィルターボタンの下線を消す */
.filter-button {
  text-decoration: none;
}
.project-info {
  padding: 12px 16px;
	letter-spacing: 0.1em;
}
.works-card-location-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border: 1px solid #3a5068;
  color: #3a5068;
  border-radius: 20px;
  margin-top: 6px;
}
.col-lg-4[data-category] {
  transition: opacity 0.3s ease;
}

.news-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
}

.news-list-item:hover .news-list-title {
  text-decoration: underline;
}

.news-list-date {
  font-size: 0.85rem;
  color: #6b7280;
  white-space: nowrap;
}

.news-list-title {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 20px 0;
  }

  .nav-title {
    font-size: 0.75rem;
  }
}
/* デフォルト：フルタイトル表示、短縮版は非表示 */
.nav-title-short {
  display: none;
}

/* スマホ：短縮版を表示、フルタイトルを非表示 */
@media (max-width: 768px) {
  .nav-title-full {
    display: none;
  }
  .nav-title-short {
    display: block;
    font-size: 0.7rem!important;
  }
}
@media (max-width: 768px) {
  article.section {
    padding-top: 24px;
  }
}

/* ============================================================
   service
   ============================================================ */


.service-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 8px;
}

.service-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e2d3d;
}

.service-text {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-points {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.service-points li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
  color: #374151;
}

.service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #1e2d3d;
  border-radius: 50%;
}

.service-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.btn-service {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #1e2d3d;
  color: #1e2d3d;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-service:hover {
  background: #1e2d3d;
  color: #fff;
}

.service-cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.service-cta-text {
  color: #4b5563;
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn-contact-large {
  display: inline-block;
  padding: 16px 48px;
  background: #1e2d3d;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.btn-contact-large:hover {
  opacity: 0.8;
  color: #fff;
}
.service-card-title,
.service-card-en {
  color: #fff;
}
.service-content .service-title {
  color: #fff;
}

.service-content .service-category {
  color: #fff;
}

.btn-service-top {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #1e2d3d;
  text-decoration: none;
  font-weight: 600;
}

.btn-service-top:hover {
  text-decoration: underline;
}
.btn-service-top {
  display: inline-block;
  margin-top: 12px;
  margin-left: 16px; /* ← 追加 */
  margin-bottom: 16px; /* ← 追加 */
  font-size: 0.85rem;
  color: #1e2d3d;
  text-decoration: none;
  font-weight: 600;
}

/* ============================================================
   家づくりの流れ
   ============================================================ */
.flow-steps {
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  padding: 1.75rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.flow-step-number {
  font-family: 'Jost', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1e2d3d;
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}

.flow-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2d3d;
  margin-bottom: 0.5rem;
}

.flow-step-text {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

.flow-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: #1e2d3d;
  opacity: 0.3;
  padding: 0.5rem 0;
}
/* ============================================================
   スタッフ紹介
   ============================================================ */
.staff-card-new {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.staff-card-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1.5rem 0 0 1.5rem;
  background: var(--gray-100);
}

.staff-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.staff-card-body {
  padding: 1.5rem;
}

.staff-card-position {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-600);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.staff-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.staff-card-career {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.staff-card-comment {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}
/* ============================================================
   お客様の声
   ============================================================ */
.voice-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.voice-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

.voice-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.voice-card:hover .voice-card-image img {
  transform: scale(1.05);
}

.voice-card-body {
  padding: 1rem 1.5rem 1.5rem;
}

.voice-card-info {
  padding: 1rem !important;
}

.voice-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: white;
  background: var(--primary-600);
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.5rem;
}

.voice-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.voice-card-comment {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}
.voice-card .works-card-info {
  padding: 1rem 1rem;
}

a.voice-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.voice-card:hover {
  transform: translateY(-6px);
  color: inherit;
}
.voice-card-image-link {
  display: block;
  overflow: hidden;
}

.voice-card-image-link:hover .voice-card-image img {
  transform: scale(1.05);
}

.voice-read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e2d3d;
  text-decoration: none;
}

.voice-read-more:hover {
  text-decoration: underline;
  color: #1e2d3d;
}
/* ================================================================
   privacy
  
   ================================================================ */

.privacy-content {
    padding: 0 0 60px;
}

.privacy-intro {
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    border-left: 4px solid #c8a96e;
    padding-left: 12px;
    margin-bottom: 16px;
}

.privacy-section p {
    font-size: .95rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 12px;
}

.privacy-section ul {
    padding-left: 1.5em;
    margin-bottom: 0;
}

.privacy-section ul li {
    font-size: .95rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 4px;
}

.privacy-contact-box {
    background: #f9f7f4;
    border: 1px solid #e8ddd0;
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 12px;
}

.privacy-contact-box p {
    margin-bottom: 0;
    line-height: 2;
}

.privacy-contact-box a {
    color: #c8a96e;
}

.privacy-date {
    font-size: .85rem;
    color: #999;
    text-align: right;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

/*
 * ================================================================
 * 追加CSS（style.css に追記してください）
 * ================================================================*/
 
.belief-body {
  font-size: 1rem;
  line-height: 2;
  color: #555;
}
 
.belief-body p {
  margin-bottom: 1.5rem;
}
 @media (max-width: 574.98px) {
 .belief-body {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}
 
.belief-body p {
  margin-bottom: 1.25rem;
}
}
.belief-quote {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2d3d;
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #e8ddd0;
  border-bottom: 1px solid #e8ddd0;
  letter-spacing: .1em;
}
 
.strength-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 32px 28px;
  height: 100%;
  transition: box-shadow .2s;
}
 
.strength-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
 
.strength-number {
  font-family: 'Jost', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #c8a96e;
  opacity: .4;
  line-height: 1;
  margin-bottom: 12px;
}
 
.strength-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e2d3d;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #c8a96e;
}
 
.strength-text {
  font-size: .9rem;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

/* ================================================================
   資料請求フォーム追加CSS
   style.css に追記してください
   ================================================================ */

/* 資料選択チェックボックス */
.request-docs-field {
    display: block !important; /* grid上書き */
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.request-docs-field > label {
    font-weight: 600;
    font-size: .95rem;
    color: #555;
    display: block;
    margin-bottom: 14px;
}

.request-docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-doc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.request-doc-item:has(input:checked) {
    border-color: #c8a96e;
    background: #fdf9f3;
}

.request-doc-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #c8a96e;
}

.request-doc-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.request-doc-name {
    font-weight: 600;
    font-size: .95rem;
    color: #333;
}

.request-doc-desc {
    font-size: .85rem;
    color: #888;
    line-height: 1.6;
}

/* ================================================================
   イベント情報 CSS
   style.css に追記してください
   ================================================================ */

/* --- タブ --- */
.event-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8ddd0;
}

.event-tab {
    padding: 12px 32px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.event-tab.active {
    color: #c8a96e;
    border-bottom-color: #c8a96e;
}

/* --- 一覧グリッド --- */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-grid-past {
    opacity: .75;
}

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

@media (max-width: 600px) {
    .event-grid { grid-template-columns: 1fr; }
}

/* --- カード --- */
.event-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow .2s, transform .2s;
}

.event-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-card-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e8edf2;
}

.event-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.event-card:hover .event-card-thumb img {
    transform: scale(1.04);
}

.event-card-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-thumb-label {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    opacity: .4;
    letter-spacing: .1em;
}

/* --- バッジ --- */
.event-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c8a96e;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: .05em;
}

.event-badge--past {
    background: #999;
}

/* --- カード本文 --- */
.event-card-body {
    padding: 16px;
}

.event-card-date {
    font-size: .85rem;
    color: #c8a96e;
    font-weight: 600;
    margin-bottom: 6px;
}

.event-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e2d3d;
    margin-bottom: 8px;
    line-height: 1.5;
}

.event-card-location {
    font-size: .85rem;
    color: #666;
    margin-bottom: 4px;
}

.event-card-capacity {
    font-size: .8rem;
    color: #888;
    margin-bottom: 8px;
}

.event-card-more {
    font-size: .85rem;
    color: #c8a96e;
    font-weight: 600;
}

/* --- 空状態 --- */
.event-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    border: 2px dashed #eee;
    border-radius: 8px;
}

/* ================================================================
   詳細ページ
   ================================================================ */

.event-breadcrumb {
    font-size: .85rem;
    color: #999;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.event-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.event-breadcrumb a:hover {
    color: #c8a96e;
}

.event-single-type {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.event-single-type .event-badge {
    position: static;
}

.event-badge-name {
    font-size: .9rem;
    color: #666;
}

.event-single-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e2d3d;
    line-height: 1.5;
    margin-bottom: 24px;
}

.event-single-thumb {
    border-radius: 8px;
    overflow: hidden;
}

.event-single-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- 情報テーブル --- */
.event-info-table {
    border-top: 1px solid #eee;
}

.event-info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0 24px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.event-info-row dt {
    font-weight: 600;
    color: #555;
    font-size: .95rem;
}

.event-info-row dd {
    margin: 0;
    color: #333;
    font-size: .95rem;
    line-height: 1.8;
}

/* --- 本文 --- */
.event-single-content {
    font-size: .95rem;
    line-height: 1.9;
    color: #555;
}

.event-single-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e2d3d;
    border-left: 4px solid #c8a96e;
    padding-left: 12px;
    margin: 32px 0 16px;
}

/* --- 申込みCTA --- */
.event-single-cta {
    background: #f9f7f4;
    border: 1px solid #e8ddd0;
    border-radius: 8px;
    padding: 32px;
}

@media (max-width: 600px) {
    .event-info-row {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    .event-single-title {
        font-size: 1.3rem;
    }
    .event-tab {
        padding: 12px 20px;
        font-size: .9rem;
    }
}



/* ================================================================
   来店予約ページ追加CSS
   ================================================================ */

.visit-info-box {
    background: #f9f7f4;
    border: 1px solid #e8ddd0;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: .95rem;
    color: #555;
    line-height: 2;
}

.visit-info-box p {
    margin: 0;
}
/* -----------------------------------------------
   ABOUT コンセプトカード
----------------------------------------------- */
.about-concept-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  border-top: 4px solid var(--color-primary, #7c3aed);
}

.about-concept-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary, #7c3aed);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.about-concept-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.about-concept-text {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0;
}
/* -----------------------------------------------
   ABOUT 交互レイアウト
----------------------------------------------- */
.about-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.about-row-reverse {
  flex-direction: row-reverse;
}

.about-photo {
  flex: 0 0 45%;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
}

.about-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-item-number {
  display: none;
}

.about-item-title {
  font-size: 1.45rem;  /* ← 1.05remから変更 */
  font-weight: 500;
  color: #28313f;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.about-item-text {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.9;
  margin-bottom: 0;
}

/* SP対応 */
@media (max-width: 1199px) {
	.about-item-title {
  font-size: 1.35rem;  /* ← 1.05remから変更 */
  font-weight: 500;
}
}

@media (max-width: 991px) {
	.about-item-title {
  font-size: 1.25rem;  /* ← 1.05remから変更 */
  font-weight: 500;
}
  .about-row,
  .about-row-reverse {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  .about-photo {
    flex: none;
    width: 100%;
  }
}
/* -----------------------------------------------
   FLOW 挿絵対応レイアウト
----------------------------------------------- */
.flow-step {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.flow-step-illust {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
}

.flow-step-illust img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* SVGがない間のダミー表示 */
.flow-step-illust-dummy {
    width: 120px;
    height: 120px;
    background-color: #fff;
	border: 1px solid #9ca3af;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.8rem;
}

@media (max-width: 767px) {
  .flow-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}