/* ===== カスタムCSS - A-SAT Corporation ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --brand-color: #178B3D;
  --body-text: #606060;
  --link-color: #4D9C7A;
  --link-hover: #1E7650;
  --link-disabled: #8DAB9E;
  --header-footer-link: #454545;
  --header-footer-link-hover: #000000;
  --footer-bg: #f1f1f1;
}

/* ===== Base Styles ===== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--body-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica', sans-serif;
  font-weight: bold;
}

.fw-bold{
	font-weight: bold;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--link-hover);
}

a:disabled, a.disabled {
  color: var(--link-disabled);
  pointer-events: none;
}

/* ===== Section Title Styles ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: #000000;
  font-style: italic;
}

.section-title span {
  display: block;
  font-style: normal;
  font-size: 1rem;
  color: var(--brand-color);
  margin-top: 0.5rem;
}

.section-title.text-white {
  color: white;
  font-style: italic;
}

.section-title.text-white span {
  color: white;
  font-style: normal;
}

/* ===== Header Styles ===== */
.site-header {
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
  padding: 0.5rem 0;
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 30px;
}

.navbar-nav .nav-link {
  color: var(--header-footer-link);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--header-footer-link-hover);
}

.contact-btn {
  	background-color: #4D9C7A;
	color: white !important;
	padding: 4px 15px 4px 5px !important;
	line-height: 1.3;
	border-radius: 10px;
	margin-top: 6px !important;
	border: none;

	i {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.contact-btn:hover {
  background-color: #1E7650;
  color: white;
}

.language-switcher .nav-link {
  font-size: 0.9rem;
  margin: 0 0.25rem;
}

.language-switcher .nav-link.active {
  color: var(--brand-color);
  font-weight: bold;
}

/* ===== Mobile Navigation Hide ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none !important;
  }
}

/* ===== Mobile About Us Layout ===== */
@media (max-width: 991.98px) {
  .about-section .row {
    flex-direction: column;
  }
  

  
  .about-section .col-lg-6:first-child {
	margin-top: 2rem;
  }
}

/* ===== Mobile Menu Styles ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav-item {
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-item,
.mobile-menu-overlay.show .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-item a {
  font-size: 1.5rem;
  font-weight: 500;
  color: #454545;
}

.mobile-language-switcher {
  margin-top: 2rem;
}

.mobile-language-switcher a {
  margin: 0 1rem;
  font-size: 1.1rem;
  color: #454545;
  text-decoration: none;
}

.mobile-language-switcher a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.mobile-language-switcher a.disabled {
  color: #999;
  opacity: 0.6;
}

/* ===== Navbar Toggler Custom ===== */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
  margin-right: 1rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 100%;
  height: 2px;
  background-color: var(--header-footer-link);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--header-footer-link);
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -8px;
  left: 0;
}

.navbar-toggler-icon::after {
  top: 8px;
  left: 0;
}

.navbar-toggler.active .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler.active .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  height: 86vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('/images/bg-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 190%;
  background-image: url('/images/overlay-hero.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 10% 2rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.2;
  color: white;
  opacity: 0;
  transform: translateY(50px);
  animation: heroTitleAppear 2s ease-out 0.5s forwards;
}

.hero-title-small {
  font-size: 0.8em;
  animation-delay: 1.2s !important;
}

@keyframes heroTitleAppear {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    filter: blur(10px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(1.05);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}



.hero-description {
  font-size: 1.2rem;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  animation: heroDescriptionAppear 1.5s ease-out 1.8s forwards;
}

@keyframes heroDescriptionAppear {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ===== About Section ===== */
.about-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.about-bg-triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: auto;
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%);
}

@media (max-width: 991.98px) {
  .about-bg-triangle {
    width: 80%;
  }
}


.about-section .container-fluid {
  position: relative;
  z-index: 2;
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  background: var(--link-color);
  color: white;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: var(--link-hover);
  color: white;
  transform: translateX(5px);
}

.btn-custom i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.btn-custom:hover i {
  transform: translateX(5px);
}

/* ===== Button Arrow Styles ===== */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: #4D9C7A;
  color: white;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  transition: all 0.3s ease;
}

.btn-arrow:hover {
  background-color: #1E7650;
  color: white;
  transform: translateX(5px);
}

.btn-arrow i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.btn-arrow:hover i {
  transform: translateX(5px);
}

/* ===== Products Section ===== */
.products-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.products-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #046526 0%, #041911 100%);
  z-index: 1;
}

.products-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/bg-products-overlay.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 2;
}

.products-triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/bg-triangle2.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 3;
}

.products-section .container {
  position: relative;
  z-index: 4;
}

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

.product-card-link:hover {
	transform: translateY(-10px);
  text-decoration: none;
  color: inherit;
}

.product-card {
  position: relative;
  height: 450px;
  background-size: cover;
  background-position: center!important;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card-link:hover .product-card {
  transform: translateY(-15px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.product-card::before {
  content: "";
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.product-card::after {
  content: "";
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover::before {
  opacity: 0;
}

.product-card:hover::after {
  opacity: 1;
}


.product-content {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: white;
  z-index: 10;
}

.product-content h5 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.product-arrow {
  position: absolute;
  bottom: .5rem;
  right: .5rem;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-radius 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.product-card:hover .product-arrow {
  transform: scale(1.1);
}

.product-arrow i {
  color: var(--brand-color);
  font-size: 1.8rem;
}

/* ===== ページ内ナビゲーション ===== */
.sticky-top {
  z-index: 900;
  top: 80px;
}

/* ===== スムーススクロール設定 ===== */
html {
  scroll-behavior: smooth;
  /* モバイルでのスクロール最適化 */
  -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* モバイルでのスクロール問題を解決 */
body {
  /* iOS Safariでのスクロール最適化 */
  -webkit-overflow-scrolling: touch;
  /* 横スクロールを完全に無効化 */
  overflow-x: hidden;
}

/* モバイル専用のスクロール最適化 */
@media (max-width: 991.98px) {
  html, body {
    /* スクロールの引っかかりを防ぐ */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  /* アニメーション要素のGPU加速を制限 */
  .hero-bg,
  .hero-overlay,
  .hero-content,
  .products-triangle,
  .about-bg-triangle,
  .service-bg-triangle,
  .contact-bg-triangle,
  .page-bg-triangle {
    transform: translateZ(0);
    will-change: auto;
  }
}

/* ===== Image Carousel Styles ===== */
.image-carousel-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #f8f9fa;
}

.image-carousel {
  display: flex;
  width: calc(200% + 40px);
  animation: scroll-left 25s linear infinite;
}

.image-slide {
  flex: 0 0 auto;
  width: 350px;
  height: 268px;
  position: relative;

  &::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
}

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

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.image-carousel-reverse {
  animation: scroll-right 25s linear infinite;
}



/* ===== Animation Classes ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: all 0.6s ease;
}

.fade-in.animate {
  opacity: 1;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* ===== Button Arrow Outline Styles ===== */
.btn-arrow-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  background: transparent;
  color: white;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid white;
  transition: all 0.3s ease;
}

.btn-arrow-outline:hover {
  background-color: white;
  color: var(--brand-color);
  transform: translateX(5px);
}

.btn-arrow-outline i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.btn-arrow-outline:hover i {
  transform: translateX(5px);
}

/* ===== Service Section ===== */
.service-section {
  padding: 5rem 0 0;
}

.service-section-top {
  position: relative;
  padding: 5rem 0 3rem;
}

.service-section-top .container {
  position: relative;
  z-index: 2;
}

.service-bg-triangle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: auto;
  z-index: 1;
  opacity: 0;
  transform: translateX(100%);
}



@media (max-width: 991.98px) {
  .service-bg-triangle {
    width: 80%;
  }
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
  text-decoration: none;
  color: #000000;
  transition: all 0.3s ease;
}

.service-btn:hover {
  border-color: var(--brand-color);
  color: var(--body-text);
  transform: translateX(10px);
}

.service-btn span {
  font-size: 1rem;
  font-weight: 500;
  display: block;
}

.service-arrow {
  width: 50px;
  height: 50px;
  background-color: var(--link-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-btn:hover .service-arrow {
  background-color: var(--link-hover);
  color: white;
  transform: translateX(5px);
}

.service-arrow i {
  color: white;
  transition: all 0.3s ease;
  font-size: 1.8rem;
}

.service-btn:hover .service-arrow i {
  color: white;
}

/* ===== Contact Section ===== */
.contact-section {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

.contact-bg-triangle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 100%;
  height: auto;
  z-index: 1;
  opacity: 0;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-banner {
  display: block;
  background: linear-gradient(135deg, var(--brand-color) 0%, #0d5d2a 100%);
  border-radius: 10px;
  padding: 2rem 3rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(23, 139, 61, 0.3);
}

.contact-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(23, 139, 61, 0.4);
  color: white;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-left {
  flex: 1;
}

.contact-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-text {
  font-size: 1.1rem;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
}

.contact-arrow {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-banner:hover .contact-arrow {
  transform: translateX(10px);
}

.contact-arrow i {
  color: var(--brand-color);
  font-size: 1.5rem;
}

/* ===== Page Header Styles ===== */
.page-header {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, #046526 0%, #041911 100%);
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.page-bg-triangle {
  position: absolute;
  top: 80px;
  left: 0;
  width: 50%;
  height: auto;
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%);
}

@media (max-width: 991.98px) {
  .page-bg-triangle {
    width: 80%;
  }
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0;
  font-style: italic;
}

.page-title span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 0.5rem;
  opacity: 0.9;
  font-style: normal;
}

.page-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.9;
}

/* ===== Breadcrumb Styles ===== */
.breadcrumb-nav {
  padding: 1rem 0;
  background-color: #f8f9fa;
}

.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
  padding: 0;
}

.breadcrumb-item {
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--brand-color);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* ===== Page Content Styles ===== */
.page-content {
  padding: 60px 0;
  min-height: 400px;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  color: #000000;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.page-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.page-content li {
  line-height: 1.8;
  margin-bottom: 8px;
  color: #333;
}

.page-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
}

.page-content blockquote {
  border-left: 4px solid #046526;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
}


/* ===== Responsive Page Header ===== */
@media (max-width: 991.98px) {
  .page-header {
    height: 400px;
    text-align: center;
  }
  
  .page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .page-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: 40px 0;
  }
  
  .page-content h1 {
    font-size: 1.8rem;
  }
  
  .page-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    height: 500px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
}

/* ===== Footer Styles ===== */
.site-footer {
  margin-top: 0;
}

.footer-banner {
  background: white;
  padding: 2rem 0 0;
  border-bottom: 1px solid #e9ecef;
  overflow: hidden;
}

.footer-carousel-container {
  width: 100%;
  overflow: hidden;
}

.footer-carousel {
  display: flex;
  width: 200%;
  animation: footer-scroll-left 20s linear infinite;
}

.footer-slide {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-slide img {
  max-width: 100%;
  height: auto;
  padding-right: 2rem;
}

@keyframes footer-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.footer-content {
  background-color: var(--footer-bg);
  padding: 3rem 0 1rem;
}

.footer-info h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-address {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.footer-link {
  color: var(--header-footer-link);
  font-weight: 500;
}

.footer-link:hover {
  color: var(--header-footer-link-hover);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.footer-nav-list li {
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-nav-list a {
  color: var(--header-footer-link);
  font-weight: 500;
 padding: 0 1rem 0 0;
 font-size: .9rem;
}

.footer-nav-list a:hover {
  color: var(--header-footer-link-hover);
}

.footer-language-switcher {
  margin-bottom: 2rem;
}

.footer-language-switcher a {
  margin-right: 1rem;
  color: var(--header-footer-link);
}

.footer-language-switcher a.active {
  color: var(--brand-color);
  font-weight: bold;
}

.footer-copyright {
  color: var(--body-text);
  font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
.about-section {
  padding: 3rem 0 0;
  background-size: 80%;
}
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-section-top {
  background-size: 80%;
}
}

@media (max-width: 767.98px) {

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .navbar-brand img {
    height: 35px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .product-card {
    height: 300px;
    margin-bottom: 1rem;
  }
  
  .service-buttons {
    margin-top: 2rem;
  }
  
  .service-buttons .btn {
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .contact-section h2{
    margin-bottom: 0;
  }
  
  .contact-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .contact-banner .contact-info {
    margin-bottom: 1rem;
  }

  .contact-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .contact-right {
    flex-direction: column;
    gap: 1rem;
  }
  
  
  .about-section .col-md-6 {
    margin-bottom: 2rem;
  }
  
  .service-section .row {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 70vh;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }

  
  .product-card {
    height: 250px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    margin-top: 1rem;
  }
}

/* ナビゲーション - メインメニュー */
.nav.nav-pills.flex-column,
.nav.nav-pills.flex-lg-column {
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav.nav-pills.flex-column .nav-link,
.nav.nav-pills.flex-lg-column .nav-link {
    background-color: #ffffff;
    color: #000000;
	font-weight: 600;
    border: 1px solid #acacac;
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav.nav-pills.flex-column .nav-link:hover,
.nav.nav-pills.flex-lg-column .nav-link:hover  {
    background-color: #d9d9d9;
    color: #000000;
    border: 1px solid #acacac;
}

.nav.nav-pills.flex-column .nav-link.active,
.nav.nav-pills.flex-lg-column .nav-link.active {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

/* ナビゲーション - サブメニュー */
.nav-link-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    color: #6c757d;
    background-color: #ffffff;
    border: 1px solid #acacac;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link-sm:hover {
    background-color: #d9d9d9;
    color: #000000;
    border: 1px solid #acacac;
}

.nav-link-sm.active {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

/* コンテンツセクション - 汎用スタイル */
.content-section-title {
    font-size: 1.8rem!important;
    font-style: normal;
    margin-bottom: 1rem;
}

.content-section-title span {
    color: #000000;
    border-top: 1px solid #000000;
    display: block;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.7em;
}

.content-subsection-title {
    background-color: #F3F3F3;
    color: #000000;
    font-size: 1.6rem!important;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.375rem;
}

/* アイテムカード - 汎用スタイル */
.item-card {
    border: 1px solid #acacac;
    background-color: transparent;
    background-image: none;
    border-radius: 0.375rem;
}

.item-card .card-img-top {
    width: 100%;
    border-radius: 0.375rem 0.375rem;
	margin:0
}

.item-card .card-title {
    font-size: 1.4rem;
    color: #000000;
    border-top: 1px solid #acacac;
    padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.item-card .card-body {
    padding: 0;
}

/* 画像セクション - ブラウザ幅100% */
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.full-width img {
    max-width: 40vw;
    width: 40vw;
}

.company-image-section {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.company-image-background {
    width: 100%;
    height: 100%;
    background-image: url('/images/company-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
}

/* デスクトップのみでfixed背景を有効化 */
@media (min-width: 992px) {
    .company-image-background {
        background-attachment: fixed;
    }
}

.company-logo-center {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    .company-image-section {
        height: 250px;
    }
    
    .company-logo-center {
        max-width: 150px;
    }
}

/* ===== Form Elements Custom Styles ===== */
/* フォーム要素の境界線を見やすくするカスタムスタイル */
.form-control {
    border: 2px solid #ced4da !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.form-control:focus {
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(23, 139, 61, 0.25) !important;
}

.form-control:hover {
    border-color: #adb5bd !important;
}

/* チェックボックスのカスタムスタイル */
.form-check-input {
    border: 2px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

.form-check-input:checked {
    background-color: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
}

.form-check-input:focus {
    border-color: var(--brand-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(23, 139, 61, 0.25) !important;
}

.form-check-input:hover {
    border-color: #adb5bd !important;
}

.wpcf7-spinner{
	display: block;
}

/* ナビゲーションリンクのホバー効果とアクティブ状態 */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

/* 三角マーク（▲）の基本スタイル */
.navbar-nav .nav-link::after {
    content: '▲';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--brand-color);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ホバー時に三角マークを表示 */
.navbar-nav .nav-link:hover::after {
    opacity: 1;
}

/* contact-btnとlanguage-switcherのホバー効果を除外 */
.navbar-nav .contact-btn:hover::after,
.language-switcher .nav-link:hover::after {
    opacity: 0;
}

/* ===== Responsive Iframe (Google Forms) ===== */
.responsive-iframe {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 1126; /* 元の縦横比を維持 */
}
.responsive-iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* aspect-ratio未対応ブラウザ向けフォールバック */
@supports not (aspect-ratio: 1) {
  .responsive-iframe {
    height: 0;
    padding-top: calc(1126 / 640 * 100%);
  }
  .responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}