body {
    font-family: "HG創英角ゴシックUB", "Noto Sans JP", "Yu Gothic", sans-serif;
}

html {
  scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* 上に重ねる */
    background-color: #fff; /* 背景色で透けないように */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 少し影をつけて見やすく */
    padding: 0px 85px; /* ←ここで上下、左右の余白を追加 */
    box-sizing: border-box; /* 幅計算の調整 */
  }

  header.scrolled {
    background-color: rgba(255, 255, 255, 0.9); /* 少し透明に */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);   /* 影で浮かせる */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  #top-anchor {
    position: relative;
    top: -80px; /* ヘッダーの高さに合わせて調整 */
    height: 0;
    visibility: hidden;
}
  
  .logo {
    width: 135px;
    height: auto;
  }
  
  .contact {
    text-align: right;
    font-size: 17px;
    color: #333;
    font-weight: bold;
  }
  
  .content-wrapper {
    width: 100%;
    background-color: #f5f5f5;
    padding: 50px 0;
    background-image: url(./shred_image/hero-background.png);
    background-repeat: no-repeat;
    background-size: 80%;
    margin-top: 86px; /* ヘッダーの高さ分だけ余白を追加 */
  }
  
  .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
  }
  
  .text {
    flex: 1;
    position: relative;
    z-index: 2;
  }
  
  .image {
    width: 400px;
    height: auto;
  }
  
  h1 {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    position: relative;
    z-index: 2;
    line-height: 1.8;
  }
  
  .highlight {
    color: #009460;
  }
  
  .subtext {
    font-size: 25px;
    font-weight: bold;
    color: #666;
    margin-top: 10px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #009460;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .btn:hover {
    background-color: #007a50;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* 初期状態では非表示 */
.sp-br {
  display: none;
}

/* スマホ表示（幅768px以下）のときのみ改行を表示 */
@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }
}
  
  /* 改行制御 */
  .pc-only {
    display: inline;
  }
  .sp-only {
    display: none;
  }
  
  /* 📱 スマホ対応（768px以下） */
  @media screen and (max-width: 768px) {
    header {
      padding: 5px 10px;
    }
  
    .logo {
      width: 120px;
    }
  
    .contact {
      font-size: 14px;
      text-align: right;
      margin-left: auto;
    }
  
    .content {
      flex-direction: column;
      text-align: center;
    }
  
    .image {
      width: 80%;
    }
  
    h1 {
      font-size: 28px;
      line-height: 1.5;
      margin-top: 10px;
    }
  
    .subtext {
      font-size: 18px;
      line-height: 1.6;
      margin-top: 30px;
    }
  
    .pc-only {
      display: none;
    }
  
    .sp-only {
      display: inline;
    }
  }


/*お悩み*/
h2{
    font-size: 30px;
}

.problem-section {
    max-width: 700px;
    margin: 50px auto;
    text-align: center;
    font-size: 20px;
}

.problem-list {
    list-style: none; /* デフォルトのリストマークを削除 */
    padding: 0;
    text-align: left;
    line-height: 2.0;
}

.problem-list li {
    display: flex;
    align-items: center;
    font-size: 22px;
    padding: 10px;
    border-bottom: 1px solid #ddd; /* 区切り線 */
}

.problem-list li img {
    width: 24px; /* アイコンのサイズ調整 */
    height: auto;
    margin-right: 10px;
}

/*解決*/
.solution-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    margin-top: 60px;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 2.0;
}

.solution-item {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 15px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.solution-item img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.solution-item p {
    text-align: left;
    align-items: center;
}

.highlight-text {
    font-weight: bold;
    color: #009460; /* 緑色 */
}


/*お客様の声*/
.customer-feedback {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px;
}

.feedback-item {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 30px;
}

.feedback-image {
    width: 85px; /* イラストのサイズ */
    height: auto;
    margin-right: 15px;
}

.feedback-text {
    background-color: #f5f5f5; /* 吹き出し風の背景 */
    padding: 15px;
    border-radius: 10px;
    flex: 1;
    line-height: 1.7;
}

.feedback-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}

.feedback-age {
    font-size: 15px;
    color: #666;
    margin-top: 10px;
}

/*よくある質問*/
.faq {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-item {
    background-color: #f8f8f8; /* 薄いグレーの背景色 */
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px; /* 角を丸くする */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.faq-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 16px;
    color: #555;
}

@media (max-width: 600px) {
    .faq-item h3 {
        font-size: 16px; /* 小さい画面ではフォントサイズを調整 */
    }

    .faq-item p {
        font-size: 14px;
    }
}

/*お問い合わせ*/
.contact-section {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8; /* 背景を薄いグレーに */
    margin-top: 100px;
}

.contact-section h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-phone {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-rights {
    font-size: 14px;
    color: #666;
}





