/* Feature Page Styles */
.feature-page {
  background: #fff;
}

/* 特徴セクション全体 */
.general-section.feature-top-section {
  padding: 80px 0;
  background: #fff;
}

/* 特徴番号見出し - nexilデザインを模写 */
.feature-number {
  position: absolute;
  top: -20px;
  left: 48%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  width: auto;
  text-align: center;
}

.feature-label {
  font-size: 14px;
  font-weight: 400;
  color: #0b84ae;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.feature-num {
  font-size: 42px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px #0b84ae;
  text-stroke: 2px #0b84ae;
  line-height: 1;
  text-align: center;
  display: block;
}

/* 特徴エリア共通スタイル */
.feature-area {
  max-width: 1080px;
  margin: 0 auto 120px;
  padding: 0 20px;
  text-align: center;
}

.feature-area:last-child {
  margin-bottom: 0;
}

.feature-area__inner {
  background: #fff;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}

.feature-area__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  text-align: center;
  margin: 0;
  padding: 60px 40px 40px;
  background: linear-gradient(135deg, var(--c-accent) 0%, #e8f7fa 100%);
}

.feature-area__contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  gap: 40px;
}

/* 画像エリア - nexilデザインを模写 */
.feature-img__outer {
  width: 100%;
  max-width: 500px;
  text-align: center;
  position: relative;
  height: 320px;
  margin-bottom: 20px;
}

.feature-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* メイン画像 */
.feature-img-main {
  position: absolute;
  top: 0;
  left: -100px;
  z-index: 1;
}

/* 重なり画像 - 15%程度の重なり */
.feature-img-overlap {
  position: absolute;
  top: 60px;
  left: 190px;
  z-index: 2;
  transform: rotate(3deg);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* ホバー効果 */
.feature-img__outer:hover .feature-img-main {
  transform: translateY(-5px);
}

.feature-img__outer:hover .feature-img-overlap {
  transform: rotate(5deg) translateY(-5px) scale(1.02);
}

/* サブ画像 */
.feature-sub-img {
  margin-bottom: 20px;
  text-align: center;
}

.sub-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* テキストエリア - nexilデザインを模写 */
.feature-text {
  width: 100%;
  max-width: 600px;
}

.feature-text.content-3 .feature-text__content {
  margin-bottom: 35px;
}

.feature-text.content-2 .feature-text__content {
  margin-bottom: 45px;
}

.feature-text__content:last-child {
  margin-bottom: 0;
}

.feature-text__content .title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text);
  margin: 0 0 12px;
}

.feature-text__content .title.second {
  font-size: clamp(18px, 2.5vw, 22px);
}

.feature-text__content .text {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--c-gray);
  margin: 0;
}

/* アンダーライン - nexilデザインを模写 */
.under-line {
  position: relative;
  display: inline;
  background: linear-gradient(to right, var(--c-accent) 0%, var(--c-accent) 100%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
}

/* フェードアップアニメーション */
.fadeUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeUp.active {
  opacity: 1;
  transform: translateY(0);
}

/* 特徴エリア個別スタイル */
.feature-01 .feature-area__title {
  background: linear-gradient(135deg, var(--c-accent) 0%, #e8f7fa 100%);
}

.feature-02 .feature-area__title {
  background: linear-gradient(135deg, #e8f7fa 0%, var(--c-accent) 100%);
}

.feature-03 .feature-area__title {
  background: linear-gradient(135deg, var(--c-accent) 0%, #e8f7fa 100%);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .feature-area__contents {
    gap: 30px;
    padding: 40px 30px;
  }
  
  .feature-img__outer {
    height: 280px;
    margin-bottom: 25px;
  }
  
  .feature-number {
    left: 47%;
    transform: translateX(-50%);
  }
  
  .feature-label {
    font-size: 13px;
  }
  
  .feature-num {
    font-size: 36px;
    -webkit-text-stroke: 1.5px #0b84ae;
    text-stroke: 1.5px #0b84ae;
  }
}

@media (max-width: 768px) {
  .general-section.feature-top-section {
    padding: 60px 0;
  }
  
  .feature-area {
    margin-bottom: 80px;
    padding: 0 15px;
  }
  
  .feature-area__title {
    font-size: 24px;
    padding: 40px 25px 30px;
  }
  
  .feature-area__contents {
    padding: 30px 25px;
    gap: 30px;
  }
  
  .feature-img__outer {
    height: auto;
    margin-bottom: 25px;
  }
  
  /* 768px以下では重なり画像を非表示 */
  .feature-img-overlap {
    display: none;
  }
  
  /* メイン画像を中央配置 */
  .feature-img-main {
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
    display: block;
  }
  
  .feature-number {
    left: 45%;
    transform: translateX(-50%);
  }
  
  .feature-label {
    font-size: 12px;
  }
  
  .feature-num {
    font-size: 30px;
    -webkit-text-stroke: 1px #0b84ae;
    text-stroke: 1px #0b84ae;
  }
  

  .feature-text__content .title {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  
  .feature-text__content .title.second {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  
  .feature-text__content .text {
    font-size: clamp(14px, 2vw, 18px);
  }

}

@media (max-width: 480px) {
  .feature-area__title {
    font-size: 22px;
    padding: 30px 20px 25px;
  }
  
  .feature-area__contents {
    padding: 25px 20px;
    gap: 25px;
  }
  
  .feature-img__outer {
    height: auto;
    margin-bottom: 20px;
  }
  
  /* 480px以下でも重なり画像を非表示 */
  .feature-img-main {
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
    display: block;
  }
  
  .feature-number {
    left: 43%;
    transform: translateX(-50%);
  }
  
  .feature-label {
    font-size: 11px;
  }
  
  .feature-num {
    font-size: 26px;
    -webkit-text-stroke: 1px #0b84ae;
    text-stroke: 1px #0b84ae;
  }
  

  .feature-text__content .title {
    font-size: clamp(15px, 2vw, 18px);
  }
  
  .feature-text__content .title.second {
    font-size: clamp(15px, 2vw, 18px);
  }
  
  .feature-text__content .text {
    font-size: clamp(13px, 1.8vw, 16px);
  }

  
  .business-contact {
    padding: 60px 0;
    margin-top: 60px;
  }
  
  .business-contact__title {
    font-size: 28px;
  }
  
  .business-contact__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* ホバーエフェクト */
.feature-area__inner {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-area__inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-img {
  transition: transform 0.3s ease;
}

.feature-img:hover {
  transform: scale(1.05);
}

/* アニメーション遅延 */
.feature-text__content:nth-child(1) {
  transition-delay: 0.1s;
}

.feature-text__content:nth-child(2) {
  transition-delay: 0.2s;
}

.feature-text__content:nth-child(3) {
  transition-delay: 0.3s;
}

/* 特徴番号のアニメーション遅延 */
.feature-01 .feature-number {
  animation-delay: 0.2s;
}

.feature-02 .feature-number {
  animation-delay: 0.4s;
}

.feature-03 .feature-number {
  animation-delay: 0.6s;
}

/* ページ読み込み完了時のアニメーション */
.page-loaded .feature-area {
  animation: slideInUp 0.8s ease forwards;
}

.page-loaded .feature-number {
  animation: slideInDown 0.8s ease forwards;
}

.page-loaded .feature-label {
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 0.1s;
}

.page-loaded .feature-num {
  animation: slideInDown 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* モバイルビュー用の調整 */
.mobile-view .feature-area__contents {
  flex-direction: column;
}

.mobile-view .feature-img__outer {
  order: -1;
}

/* お問い合わせセクション - businessページと同じスタイル */
.business-contact {
  background: #f2f4f6;
  padding: 80px 0;
  margin-top: 80px;
}

.business-contact__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.business-contact__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 20px;
  line-height: 1.4;
}

.business-contact__description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-gray);
  margin: 0 0 40px;
}

.business-contact__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

.btn--primary:hover {
  background: #0a84ae;
  border-color: #0a84ae;
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.btn--secondary:hover {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-2px);
} 