body {
      margin: 0; 
      font-family: "Yu Gothic", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
      background: #eff7f4;
      color: #333;
 }
 a {
      color: #064e3b;
      text-decoration: none;
}
 a:hover {
      text-decoration: underline;
    }

    /* ヘッダー */
header {
      background-color: #80c269;
      text-align: center;
}

.logo-background{
    background-color: #80c269;
    align-items: center; 
}

.logo-box {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: #fff;
}

.logo {
    height: 40px;
}

    /* ファーストビュー */
 .hero {
    position: relative;
    background: url('../img/hero-image.jpg') center/cover no-repeat;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 1em;    
}

 .hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(6, 78, 59, 0.5); /* 薄い緑の半透明 */
    z-index: 1;
    filter: brightness(0.7);
 }


.hero-tel {
    position: absolute;
    top: 1.5em;
    right: 1.5em;
    background-color: rgba(255, 255, 255, 0.85); /* 背景で視認性UP */
    color: #064e3b; 
    padding: 1em;
    line-height: 1;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1em;
    z-index: 3;
    text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: inline-block;
}
.tel-button {
      display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background-color: #064e3b;
  color: white;
  padding: 0.6em 1em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  position: static; 
    margin-bottom: 1rem;
}

.line-button-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background-color: #06C755;
  color: white;
  padding: 0.6em 1em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  position: static; 
}

.tel-button img {
  height: 1.2em;
  width: auto;
}

.line-button-hero img {
  height: 1.2em;
  width: auto;
  margin-right: 5px;
}
.note-block p{
    margin-bottom: 0;
}

.hero-tel2 {
    text-decoration: underline;
}
 .hero-content {
    position: relative;
    z-index: 2;
 }

h1 {
  font-size: 2.5em;
  margin-bottom: 0.1em;
}
h1 span {
    font-size: 0.8em;
    padding: 0;
}

.hero-campany {
  font-size: 1.2em;
  margin-top: 30px;
}


    /* セクション共通 */
    section {
      max-width: 1050px;
      margin: 8em auto;
      padding: 0 1em;
    }
    section h2 {
      font-size: 2em;
      border-bottom: 3px solid #80c269;
      padding-bottom: 0.5em;
      margin-bottom: 1.5em;
      color: #064e3b;
    }

    /* 事業内容 */
    .text-area ul {
        list-style: none;
      font-size: 1.1em;
      color: #064e3b;
      margin: 40px 0;
      font-weight: bold;
      line-height: 2.5;
    }

.text-image-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap; /* スマホ対応 */
}

.text-image-block .text-area {
  flex: 1 1 50%;
  font-size: 1em;
}

.text-image-block .image-area {
  flex: 1 1 40%;
  text-align: right;
}

.text-image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* お客様の声 */
    .voices {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5em;
    }
    .voices > h2 {
    grid-column: 1 / -1;  /* グリッドの全列にまたがる */
        }
    .voice-card {
      border-radius: 8px;
      padding: 1.9em;
      box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
      font-size: 1em;
    }
    .voice-white {
      background-color: #fff;
    }
    .voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: flex-start;
   position: relative;
}

    .voice-icon {
    flex-shrink: 0;
    width: 40px;              
  aspect-ratio: 1 / 1;      
  object-fit: cover;      
  border-radius: 50%;    
  overflow: hidden;
  display: block;
  transform: scale(1.2);

 }

    .voice-card strong {
      display: block;
      margin-bottom: 0.5em;
      font-size: 1.1em;
    }

    .star-rating {
        width: 100px;
        height: auto;
        margin: 0.3em 0 1em;
        display: block;
    }
/* 買取の流れ */


.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 70px;
}

.step {
  background: white;
  border: 2px solid #064e3b;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.step-number span {
  font-size: 1.5em;
  display: block;
  margin-top: 2px;
}
.step h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #064e3b;
}

.step p {
  font-size: 0.95em;
  color: #333;
}
.step-number {
  width: 50px;
  height: 50px;
  background-color: #064e3b;
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦中央 */
  align-items: center;     /* 横中央 */
  font-weight: bold;
  font-size: 0.5em;
  margin: 0 auto;
  text-align: center;
  align-items: center;
  line-height: 1.2;
  margin-bottom: 20px;
}
.step p a {
    font-weight: bold;
    text-decoration: underline;
}

.step-number .num {
  font-size: 1.4em;
  margin-top: 2px;
}

    .company-info p {
      margin: 0.9em 0;
      font-size: 1.1em;
      text-underline-offset: 6px;  
      line-height: 2;
        border-bottom: 2px dotted #064e3b;
        padding-left: 10px;
    }
    .company-info a {
      font-weight: bold;
      color: #333;
    }

/* フッター */

    footer {
      background-color: #80c269;
      color: #333;
      text-align: center;
      padding: 1em 0;
      font-size: 0.75em;
    }

/* レスポンシブ対応 */
@media screen and (max-width: 937px) {
    * {
  box-sizing: border-box;
}
    .hero {
    align-items: flex-start; /* ← 上寄せに変更！ */
    padding-top: 2.3em;   
    height: 450px;
    }
     .hero-content {
        position: relative;
     z-index: 2;
 }

    h1 {
  font-size: 1.9em;
  margin-bottom: 0.1em;
}
h1 span {
    font-size: 0.7em;
    padding: 0;
}
.hero-tel {
    top: auto;
    bottom: 1em;
    right: 50%;
    transform: translateX(50%);
    width: 300px;
    height: 155px;
    flex-direction: column;
    padding: 1em;
  }
.line-button-hero {
    position: static; 
}
}
@media screen and (max-width: 768px) {


  .tel-button,
  .line-button-hero {
    width: 100%;
    justify-content: center;
  }

  .note-block p {
    font-size: 0.9em;
  }


  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 90%;
  }    
}

    /* レスポンシブ */
    @media (max-width: 900px) {
      .voices {
        grid-template-columns: repeat(2, 1fr);
      }
      .text-image-block {
    flex-direction: column;
    text-align: center;
  }

  .text-area,
  .image-area {
    flex: 1 1 100%;
  }

  .text-area {
    margin-bottom: 1.5em;
  }

.text-area ul {
     text-align: left; 
     padding-left: 10px;
    }
    @media (max-width: 600px) {
      .voices {
        grid-template-columns: 1fr;
      }
      .hero h2 {
        font-size: 1.8em;
      }
    }