
@media screen and (min-width: 768px) and (max-width: 1023px) {
    
 #header {
  display: none;
  }

#sp-header {
  padding: 0 20px;
  height: 64px;
  width: 100%;
  display: flex;
  justify-content: space-between; /* 左右に配置 */
  align-items: center;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(31, 38, 50, 32%);
}


 .sp-header-logo {
  display: flex;
  width: 116px;
  height: auto;
  margin: 10px 0;

 }

.sp-menu-toggle {
  color: #2AABE3;
  width: 40px;      
  height: 40px;
  padding: 8px;
  max-width: 40px;
  overflow: hidden;
}

/* メニュー本体 */
.sp-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  transition: right 0.5s ease;
  overflow-y: auto;
  
}

/* メニュー表示時 */
.sp-menu.active {
  right: 0;
}

/* メニュー中身 */
.sp-menu-inner {
  padding: 12px 20px;
  position: relative;
}

.sp-menu-logo img {
  width: 116px;
  margin-bottom: 24px;
}

.sp-menu-list {
  list-style: none;
  padding: 0;
  margin-bottom: 56px;
}

.sp-menu-list li {
  margin-bottom: 36px;
  text-align: center;
}

.sp-menu-list a {
  text-decoration: none;
  color: #2B303C;
  font-size: 22px;
  font-weight: bold;
  padding: 24px 24px;
}


/* ボタン類 */
.sp-menu-buttons {
  display: flex;
  align-items: center;
  justify-content: center;;
}

.sp-menu-buttons .btn {
  display: block;
  width: 400px;
  text-align: center;
  padding: 12px;
  margin-bottom: 12px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  font-size: 20px;
}

.sp-menu-buttons .btn.white {
  border: 1px solid #2AABE3;
  color: #2AABE3;
  background-color: #fff;
  margin-right: 16px;
}

.sp-menu-buttons .btn.blue {
  background-color: #2AABE3;
  color: #fff;
}

/* 閉じるボタン */

#sp-menu-close {
  padding: 0;
}
.sp-menu-close {    
  font-family: 'roboto', sans-serif;
  font-weight: 200;
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 36px;
  background: none;
  border: none;
  color: #2AABE3;
  cursor: pointer;
}


.hero {
  max-height: 640px;
}

.hero-message {
    margin: 0px 0 0 0;
}

.hero-message .small {
  margin-right: -10px;
}

.hero-message .large {
  margin-right: -8px;
}

.hero-logo img {
  width: 100%;
}

.hero-btn {
  margin-top: 40px;
}

.hero-inner {
  margin: 100px 0 64px 0;
}

.trouble {
  padding-top: 56px;
}

.trouble-inner {
  margin: 0 24px;
}

.trouble-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.trouble-item-text {
  font-size: 16px;
  width: 220px;;
}

.trouble-item {
  padding: 8px;
  width: auto;;
}
.trouble-item-img {
  width: 88px;
  height: 88px;
}

.solution {
  background-size: cover;
  padding: 200px 0 64px;
}
.solution-inner {
  max-width: 100%;
  margin: 0 24px;
  text-align: center;
}

.solution-cards {
  max-width: 100%;
}

.solution-card {
  display: inline-block;
  width: 31%
}

.solution-card h3 {
  font-size: 20px;
  width: 160px;;

}

.cta {
  padding: 64px 24px;
}
.cta-subtext .small {
  font-size: 26px;
}

.cta-subtext .large {
  font-size: 32px;;
}


.cta-title .medium {
    font-size: 40px;
}

.cta-title .large {
    font-size: 48px;
}

.cta-buttons {
  display: flex;
}

.cta-btn {
  width: 560px;
  padding: 16px;
  
}

.points {
  padding: 60px 24px;

}

.point-image img {
  height: 200px;
}

.point-content {
  height: 200px;
}

.point-text {
  margin-bottom: 12px;
}

.section-normal-title {
  font-size: 30px;
}

.sample-phone {
  width: 320px;
}

.sample-case {
  padding: 40px 24px;;
}

.sample-box-center {
  margin-left: 20px;
}

.sample-shop-name svg {
  width: 88px;
}

.sample-description { 
  font-size: 22px;
}

.simple-section-title {
  font-size: 32px;
}

.fade-label {
  font-size: 56px;
  margin-bottom: -40px;
}

.price-comparison {
  margin: 0 24px;
}

.flow-section {
  padding: 40px 24px 100px;
}

.flow-step {
    width: 22%;
    height: 200px;
  }

  .flow-image {
    width: 200px;
    padding-right: 0;
  }

  .flow-text {
    font-size: 16px;
  }

  .flow-icon {
    width: 100%;
  }

  .faq-section {
    padding: 40px 0;
  }
  .faq-question {
    width: 100%;
    padding:20px 20px;
  }

  
  .faq-question {
    font-size: 16px;
    text-align: left;
    padding: 16px 20px;
  }

    .faq-question,
  .faq-answer {
    width: 100%;              /* 固定幅解除 */
    margin-left: 0;           /* 左マージン解除 */    /* 左右に16pxパディング */
    box-sizing: border-box;
  }

    .faq-item.open .plus {
    display: flex;
    transform: rotate(45deg);
   transform-origin: center center; /* ← この1行が重要！ */
    height: 24px;
    width: 24px;
    text-align: center;
    margin-left: 16px;
    vertical-align: middle;
    justify-content: center;
    align-items: center;

}

 .faq-question .plus {
  display: flex;
  font-size: 1.4em;
  transition: transform 0.3s;
  transform-origin: center center; /* ← この1行が重要！ */
  color: #484a4b;
  height: 24px;
  width: 24px;
  justify-content: center;
  align-items: center;

  
}
  .faq-item.open .faq-answer {
    padding: 1rem 16px;
  }

  .faq-title-heading {
    font-size: 30px;
  }

  .faq-icon {
    width: 32px;
    height: auto;
  }

  .faq-section .container {
    padding: 0 24px;
  }
  


}
  