@charset "utf-8";
/**
 * Hero Section Styles
 * トップページのヒーローセクションのスタイル
 */

/******************** ヒーローセクション ********************/
.hero-section {
  width: 958px;
  min-height: 298px;
  height: auto;
  position: relative;
  margin: 20px 0 0 0;
  overflow: visible;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  min-height: 298px;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  min-height: 298px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 298px;
}

.hero-content {
  position: relative;
  width: 100%;
  min-height: 298px;
  padding: 35px 20px 0px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/******************** テキストエリア ********************/
.hero-text-content {
  flex: 0 0 auto;
  margin: 15px 0 10px 0;
}

.hero-description {
  font-size: 17px;
  line-height: 1.45;
  color: #333;
  margin: 0 0 24px 0;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/******************** 下段の行（テキスト+ボタン） ********************/
.hero-bottom-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-description-last {
  margin: 0;
  flex: 0 0 auto;
}

/******************** アクションボタンエリア ********************/
.hero-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 100px;
  padding-top: 20px;
  margin-right: 18px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/******************** CTAボタン（初回相談料0円） ********************/
.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #9d0000 0%, #c20000 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(157, 0, 0, 0.3);
  border: none;
  flex: 0 0 auto;
}

.hero-cta-button:hover {
  background: linear-gradient(135deg, #7d0000 0%, #9d0000 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(157, 0, 0, 0.4);
  color: #ffffff;
}

.hero-cta-button:hover .button-text,
.hero-cta-button:hover .button-price-large,
.hero-cta-button:hover .button-action {
  color: #ffffff;
}

.hero-cta-button .button-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.hero-cta-button:hover .button-icon {
  color: #ffffff;
}

.hero-cta-button .button-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  color: #ffffff;
}

.hero-cta-button .button-text {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: baseline;
  line-height: 1;
  color: #ffffff;
}

.hero-cta-button .button-price-large {
  font-size: 36px;
  font-weight: normal;
  margin: 0 2px;
  line-height: 1;
  color: #ffffff;
}

.hero-cta-button .button-action {
  font-size: 11px;
  font-weight: normal;
  opacity: 0.95;
  color: #ffffff;
  background: transparent;
  position: relative;
  padding-left: 14px;
}

.hero-cta-button .button-action::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #ffffff;
}

.hero-cta-button:hover .button-action::before {
  border-left-color: #ffffff;
}

/******************** プロフィールボタン ********************/
.hero-profile-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.75);
  color: #9d0000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #9d0000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex: 0 0 auto;
}

.hero-profile-button:hover {
  background: #9d0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(157, 0, 0, 0.25);
}

.hero-profile-button .profile-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-profile-button:hover .profile-icon {
  transform: scale(1.1);
}

.hero-profile-button .profile-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  flex: 1;
  line-height: 1.2;
}

.hero-profile-button .profile-label {
  font-size: 9px;
  font-weight: bold;
  opacity: 0.8;
  white-space: nowrap;
}

.hero-profile-button:hover .profile-label {
  opacity: 0.9;
}

.hero-profile-button .profile-name {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-profile-button .arrow-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.hero-profile-button:hover .arrow-icon {
  transform: translateX(3px);
}

/******************** 選ばれる理由セクション ********************/
.features-section {
  margin: 30px 0 20px;
  padding: 0;
}

.features-heading {
  background: linear-gradient(135deg, #9d0000 0%, #b20000 100%);
  color: #ffffff;
  padding: 20px 24px;
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(157, 0, 0, 0.2);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.features-content {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 4px;
  border-left: 4px solid #9d0000;
  transition: all 0.3s ease;
}

.features-item:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.features-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #9d0000;
  color: #ffffff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.features-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/******************** CTAボタン（再利用コンポーネント） ********************/
/* 404ページなどでCTAボタンを単独で使用する場合のスタイル */
.cta-button-wrapper {
  display: inline-block;
  margin: 20px 0;
}

.cta-button-center {
  text-align: center;
  margin: 20px 0;
}
