/* デフォルト（PC用） */
body {
  padding-top: 85px; 
}
header,
main {
  margin: 0;
  padding: 0;
}

html, body { margin: 0; padding: 0; }

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


.hero { padding-top: 70px; }

.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
  body {
    padding-top: 0px; 
	}
}

/* ロゴサイズ */
.logo {
  height: 40px;
  width: auto;
}

/* ヒーロー画像 */
.hero {
  height: 75vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

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

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 576px) {
  .hero {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}
}

.content-image {
  width: 100%;
  max-width: 960px;
  text-align: center;
}

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

.content-text {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  padding: 20px;
}

.content-text h2 {
  font-size: 1.7rem;
  margin-bottom: 2rem;
	line-height: 2.2rem;
}

.content-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

/* アニメーション（共通） */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.4s;
}
/* 共通のブロック */
.content-block {
  max-width: 980px;
  margin: 80px auto;
  padding: 0 20px;
	
}

/* 画像 */
.content-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* テキスト */
.content-text {
  text-align: left;
	background-color: #d0d1d1;
	max-width: 980px;
	 margin: 0px auto;
	padding: 60px;
  
}

/* モバイル時のテキスト左揃え */
@media (max-width: 768px) {
  .content-text {
    text-align: left;
  }

  .content-block {
    padding: 0 16px;
  }
	.content-text h2 {
		font-size: 1.3rem;
		margin-bottom: 2rem;
		line-height: 2rem;
		text-align: justify;
	}
	.content-text p {
	  font-size: 1rem;
	  color: #444;
	  line-height: 1.6;
	}
	  /* テキスト */
	.content-text {
	  text-align: left;
		background-color: #d0d1d1;
		max-width: 100%;
		 margin: 0px auto;
		padding: 20px;

	}
		
}


.section-title {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 60px 0;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #000;
  margin: 0 10px;
}

.section-title span {
  font-size: 1.8rem;
  font-weight: bold;
  white-space: nowrap;
}

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none; 
  background-color: #d0d1d1;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
  z-index: 999;
}

.company-profile {
  max-width: 980px;
  margin: 0 auto;
}

.profile-row {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.profile-row dt {
  width: 30%;
  font-weight: bold;
}

.profile-row dd {
  width: 70%;
  margin: 0;
}
.my-5 h2{
	font-size: 1.6rem;
	font-weight: bold;
}
/* スマホ表示：縦並び */
@media (max-width: 980px) {
  .profile-row {
    display: block;
  }

  .profile-row dt,
  .profile-row dd {
    width: 100%;
  }

  .profile-row dt {
    margin-bottom: 4px;
  }
}

.footer {
  background-color: #bcbcbc;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #ddd;
  margin-top: 60px;
}

.footer small {
  display: block;
}

