/* =========================
   voice.css
   ========================= */

.company-section{
  padding-top: 56px;
  padding-bottom: 80px;
}

/* =========================
   帯見出し
   ========================= */
.voice-hero{
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像本体 */
.voice-hero-bg{
  position: absolute;
  inset: 0;
  background: url("../img/voice-hero.jpg") center center / cover no-repeat;
  transform: scale(1.08);
  filter: blur(3px);
}

/* 上からかける暗幕＋色補正 */
.voice-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 52, 0.28);
}

/* タイトル全体 */
.voice-hero-overlay{
  position: relative;
  z-index: 2;
  width: 100%;
}

/* 中央配置 */
.voice-hero-overlay .wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.voice-hero-title{
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}

@media (max-width: 900px){
  .voice-hero{
    height: 220px;
  }

  .voice-hero-title{
    font-size: 2.1rem;
  }
}

@media (max-width: 768px){
  .voice-hero{
    height: 180px;
  }

  .voice-hero-bg{
    transform: scale(1.1);
    filter: blur(6px);
  }

  .voice-hero-title{
    font-size: 1.8rem;
  }
}

/* =========================
   お客様の声カード
   ========================= */
.voice-card{
  padding: 44px 46px;
}

.voice-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.voice-text{
  flex: 1 1 auto;
  max-width: 780px;
}

.voice-card .company-card-title{
  margin-bottom: 26px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}

.voice-title{
  margin: 0 0 18px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.voice-attr{
  margin: 0 0 26px;
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.voice-card .company-text{
  margin: 0;
  font-size: 1rem;
  line-height: 2.2;
  color: #333;
}

/* =========================
   カテゴリタグ
   ========================= */
.voice-category{
  margin: 0 0 22px;
}

.voice-category span{
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2f6fbd;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* =========================
   タイトルのアンダーライン演出
   ========================= */
.voice-title{
  margin: 0 0 18px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.voice-title span{
  position: relative;
  display: inline;
  background: linear-gradient(transparent 72%, #cfe5fb 72%);
  padding: 0 .08em;
}

/* 右のイラスト枠 */
.voice-illust-box{
  flex: 0 0 280px;
  width: 280px;
  height: 280px;
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.voice-illust-box img{
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

/* スマホ */
@media (max-width: 900px){
  .voice-content{
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .voice-text{
    max-width: 100%;
  }

  .voice-illust-box{
    width: 200px;
    height: 200px;
    flex: none;
    margin-top: 0;
  }

  .voice-title{
    font-size: 1.45rem;
    line-height: 1.65;
  }
}

@media (max-width: 768px){
  .voice-card{
    padding: 28px 22px;
  }

  .voice-card .company-card-title{
    margin-bottom: 18px;
    font-size: 1.05rem;
  }

  .voice-title{
    font-size: 1.2rem;
    margin-bottom: 14px;
    line-height: 1.7;
  }

  .voice-attr{
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .voice-card .company-text{
    font-size: 0.96rem;
    line-height: 2;
  }

  .voice-illust-box{
    width: 160px;
    height: 160px;
    border-radius: 20px;
    padding: 14px;
  }

  .voice-illust-box img{
    width: 90%;
    height: 90%;
  }
}

/* =========================
   下部セクション共通
   ========================= */
.voice-subsection,
.voice-cta{
  max-width: 1280px;
  margin: 0 auto;
}

.voice-subsection{
  margin-top: 48px;
  padding: 0 46px;
}

/* 左ズレ解消：上のカード本文と揃える */
.voice-subtitle{
  margin: 0 0 26px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.voice-subtitle span{
  position: relative;
  display: inline-block;
  padding: 0 10px 10px 0;
}

.voice-subtitle span::before{
  content: "";
  position: absolute;
  left: -18px;
  top: -4px;
  width: 10px;
  height: 56px;
  background: linear-gradient(180deg, #2f6fbd 0%, #8ec5f4 100%);
  border-radius: 6px;
}

.voice-subtitle span::after{
  content: "";
  position: absolute;
  left: -6px;
  right: -14px;
  bottom: 4px;
  height: 18px;
  background: #d7ebfb;
  z-index: -1;
}

/* リスト */
.voice-list{
  margin: 0;
  padding: 26px 30px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(20, 40, 70, 0.05);
}

.voice-list li{
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 2;
  color: #333;
}

.voice-list li:last-child{
  margin-bottom: 0;
}

.voice-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f6fbd;
  font-weight: 700;
}

/* =========================
   CTAエリア
   ========================= */
.voice-cta{
  margin-top: 56px;
  padding: 0 46px 80px;
}

.voice-cta-inner{
  background: linear-gradient(135deg, #4f84c8 0%, #6f9fda 100%);
  color: #fff;
  border-radius: 30px;
  padding: 44px 42px;
  box-shadow: 0 14px 30px rgba(79, 132, 200, 0.14);
}

.voice-cta-title{
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.voice-cta-text{
  margin: 0 0 30px;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255,255,255,.94);
}

/* =========================
   お問い合わせ2カラム
   ========================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-card{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(4px);
  border-radius: 22px;
  padding: 28px 26px;
  min-height: 210px;
}

.contact-label{
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #ffffff;
}

.contact-copy{
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255,255,255,.94);
}

.contact-btn{
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  color: #2f6fbd;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
}

.contact-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.contact-tel{
  margin: 6px 0 10px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: #ffffff;
}

.contact-tel a{
  color: #ffffff !important;
  text-decoration: none;
}

.contact-time{
  margin: 0;
  font-size: 1rem;
  color: rgba(255,255,255,.92);
}


/* =========================
   responsive
   ========================= */
@media (max-width: 900px){
  .voice-subsection{
    padding: 0 24px;
  }

  .voice-cta{
    padding: 0 24px 60px;
  }

  .voice-subtitle{
    font-size: 1.65rem;
  }

  .voice-cta-title{
    font-size: 1.7rem;
  }

  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-tel{
    font-size: 1.7rem;
  }
}

@media (max-width: 768px){
  .voice-subsection{
    margin-top: 36px;
    padding: 0 20px;
  }

  .voice-subtitle{
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .voice-subtitle span::before{
    left: -12px;
    width: 8px;
    height: 44px;
  }

  .voice-subtitle span::after{
    left: -2px;
    right: -8px;
    height: 14px;
  }

  .voice-list{
    padding: 20px 18px;
    border-radius: 18px;
  }

  .voice-list li{
    font-size: 0.96rem;
    line-height: 1.9;
    padding-left: 24px;
  }

  .voice-cta{
    margin-top: 42px;
    padding: 0 20px 52px;
  }

  .voice-cta-inner{
    padding: 30px 20px;
    border-radius: 22px;
  }

  .voice-cta-title{
    font-size: 1.35rem;
  }

  .voice-cta-text{
    font-size: 0.96rem;
    margin-bottom: 22px;
  }

  .contact-card{
    padding: 22px 18px;
    border-radius: 18px;
    min-height: auto;
  }

  .contact-label{
    font-size: 1.05rem;
  }

  .contact-copy,
  .contact-time{
    font-size: 0.95rem;
  }

  .contact-tel{
    font-size: 1.45rem;
  }

  .contact-btn{
    width: 100%;
    text-align: center;
  }
}