@charset "utf-8";
.bike-button {
  text-align: center;
  padding: auto;
}

/* e-Bike Features Section */
.ebike-features-section {
  padding: 0 0;
  text-align: center;
  margin-top: 50px;
}

.recommended-height {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  margin: 0 auto;
  width: fit-content;
}

.recommended-height-topic {
  font-weight: bold;
}

.ebike-overview {
  margin: 0 auto 40px auto;
  width: 100%;
  max-width: 800px;
  position: relative;
}

.ebike-image-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  height: auto;
  z-index: 0;
}

.ebike-image-container::after {
  content: "";
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30px;
  background-color: rgba(254, 126, 0, 0.25);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.ebike-main-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.interactive-points-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.feature-point {
  position: absolute;
}

.feature-point.point-1 {
  top: 31%;
  left: 84%;
  transform: translate(-50%, -50%);
}

.feature-point.point-2 {
  top: 55%;
  left: 60%;
  transform: translate(-50%, -50%);
}

.feature-point.point-3 {
  top: 64%;
  left: 8%;
  transform: translate(-50%, -50%);
}

.feature-point.point-4 {
  top: 16%;
  left: 60%;
  transform: translate(-50%, -50%);
}

.feature-point.point-5 {
  top: 26%;
  left: 21%;
  transform: translate(-50%, -50%);
}

.feature-point.point-6 {
  top: 44%;
  left: 88%;
  transform: translate(-50%, -50%);
}

.feature-point.point-7 {
  top: 37%;
  left: 59%;
  transform: translate(-50%, -50%);
}

.feature-point.point-8 {
  top: 42%;
  left: 16%;
  transform: translate(-50%, -50%);
}

.point-button {
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: transform 0.2s ease;
  border-radius: 50px;
  background-color: var(--color-white);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.point-button:hover {
  transform: scale(1.1);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.point-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.point-button:active {
  color: #E64A19;
  transform: scale(0.95);
  text-shadow: none;
}

.point-description {
  position: absolute;
  top: 100%;
  left: 100%;
  background-color: var(--color-white);
  padding: 10px;
  border-radius: 5px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.point-description p {
  font-size: 17px;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

/* PC Interactive Area (初期状態では表示) */
.pc-interactive-area {
  display: block;
}

/* Mobile Features Section (初期状態では非表示) */
.mobile-features {
  display: none;
}

.numbered-points-mobile {
  padding: 16px;
}

.numbered-points-mobile .detail-item {
  margin-bottom: 24px;
}

.numbered-points-mobile .item-header {
  display: -webkit-inline-box;
  align-items: flex-start;
  margin-bottom: 8px;
}

.numbered-points-mobile .item-number {
  background-color: var(--color-primary);
  color: white;
  background-color: var(--color-main);
  font-size: 18px;
  font-weight: bold;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 12px;
}

.numbered-points-mobile .item-description {
  font-size: 14px;
  margin: 0;
}

.numbered-points-mobile .item-image {
  width: 80%;
  height: auto;
  border-radius: 15px;
}

.numbered-points-shared {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.numbered-points-shared .detail-item {
  flex: 1 1 calc((100% - 40px) / 3);
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}

.numbered-points-shared .item-header {
  margin-bottom: 10px;
}

.numbered-points-shared .item-number {
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 5px;
  color: var(--color-main);
}

.numbered-points-shared .item-description {
  font-size: 17px;
  color: var(--color-gray);
  line-height: 1.4;
}

.numbered-points-shared .item-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 10px;
  border-radius: 6px;
}

/* pcで非表示 */
.pc-hidden {
  display: none;
}

/* Basic fee details */
.fee-details-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
}

.fee-details {
  margin-bottom: 15px;
}

.fee-details.box {
  position: relative;
  border: 2px solid var(--color-main);
  color: var(--color-gray);
  border-radius: 15px;
}

.fee-details.box .box-title {
  position: absolute;
  display: inline-block;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0rem 1rem;
  background-color: var(--color-base);
  color: var(--color-main);
  font-size: 18px;
  white-space: nowrap;
}

.fee-details.box .box-body {
  text-align: left;
  padding: 1rem;
  line-height: 1.5;
}

.fee-details.box .box-body ul {
  list-style-type: disc;
  padding-left: 30px;
  color: var(--color-table);
}

.fee-details.included {
  margin-top: 20px;
  border-color: #FFB74D;
}

.fee-details.excluded {
  margin-top: 20px;
  border-color: #FF8A65;
}

.fee-details p.note {
  font-size: 0.8em;
  color: var(--color-gray);
  margin-top: 5px;
  margin-left: 30px;
}

/* PC版のみ2列表示にする */
@media (min-width: 768px) {
  .fee-details.included .box-body ul {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
  }

  .fee-details.included .box-body ul li {
    display: block;
    width: 50%;
    box-sizing: border-box;
    padding-left: 30px;
    margin-bottom: 5px;
  }

  /* PC版のみ、●の位置を少し右に移動 */
  .fee-details.included .box-body .hoge ul li::marker {
    margin-left: 5px !important;
    font-size: 16px;
    /* 調整量 */
  }
}

/* Summary Section */
.ebike-summary-section {
  padding: 0 20px;
  text-align: center;
}

.reason-block {
  max-width: 900px;
  margin: 0 auto 60px auto;
  background-color: var(--color-white);
  padding: 40px 40px 90px;
  text-align: center;
  line-height: 1.8;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.reason-block p {
  margin: 0;
  font-size: 15px;
}

.button-placeholder {
  text-align: center;
  margin-top: -148px;
  margin-bottom: 40px;
}


/* Story Section (PC Layout) */
.reason-container {
  max-width: 90%;
  margin: 70px auto 0 auto;
  padding: 0 20px;
  text-align: center;
}

.reason-content {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  width: 90%;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.reason-content img {
  width: 400px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.reason-content-text {
  max-width: 500px;
  margin-right: 30px;
  text-align: left;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.reason-content-text h3 {
  color: var(--color-main);
  margin: 0;
  padding: 0;
  line-height: normal;
}

.reason-content-text p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  margin-top: 25px;
}


.reason-content.reverse {
  flex-direction: row-reverse;
}

.reason-content.reverse .reason-content-text {
  margin-left: 30px;
  margin-right: 0;
}


/* Full Width Content Block */
.reason-full-width-block {
  max-width: 1100px;
  width: 80%;
  margin: 75px auto 0 auto;
  padding: 0;
  text-align: center;
}

.full-width-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 30px;
}

.full-width-text {
  text-align: center;
}

.full-width-text p {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 30px;
}

.full-width-text h3 {
  color: var(--color-main);
}


/* Recommendation Section */
.recommendation-section {
  padding: 80px 20px;
  text-align: center;
}

.recommendation-heading {
  margin-top: 0;
  margin-bottom: 60px;
}

.recommendation-bubbles {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 80px auto;
}

.recommendation-bubbles .bubble {
  flex-shrink: 0;
  border: 2px solid var(--color-main);
  border-radius: 15px;
  padding: 25px 30px;
  position: relative;
  min-width: 280px;
  max-width: 400px;
  width: 100%;
  text-align: left;
  line-height: 1.8;
  font-size: 16px;
  color: var(--color-sub1);
  margin: 0;
}

.recommendation-bubbles .bubble-left {
  transform: translateX(-40px);
  margin-bottom: 50px;
  z-index: 2;
}

.recommendation-bubbles .bubble-right {
  transform: translateX(40px);
  z-index: 1;
}

.recommendation-bubbles .bubble ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recommendation-bubbles .bubble li {
  margin-bottom: 10px;
}

.recommendation-bubbles .bubble li:last-child {
  margin-bottom: 0;
}

.recommendation-bubbles .bubble::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  z-index: 0;
}

.recommendation-bubbles .bubble::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  z-index: -1;
}

.recommendation-bubbles .bubble-left::after {
  bottom: -15px;
  left: 12%;
  transform: translateX(-50%);
  border-width: 15px 15px 2px 15px;
  border-top-color: var(--color-base);
}

.recommendation-bubbles .bubble-left::before {
  bottom: -16px;
  left: 12%;
  transform: translateX(-50%);
  border-width: 16px 16px 0 16px;
  border-top-color: var(--color-main);
}

.recommendation-bubbles .bubble-right::after {
  top: -15px;
  left: 88%;
  transform: translateX(-50%);
  border-width: 2px 15px 15px 15px;
  border-bottom-color: var(--color-base);
}

.recommendation-bubbles .bubble-right::before {
  top: -16px;
  left: 88%;
  transform: translateX(-50%);
  border-width: 0px 16px 16px 16px;
  border-bottom-color: var(--color-main);
}

.recommendation-button {
  margin-top: 10px;
}

.ebike-features-section .ebike-overview .interactive-points-area .feature-point .point-description {
  display: none;
}

/* Mobile Feature Modal */
.mobile-feature-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-feature-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-feature-modal-content {
  background-color: var(--color-base);
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.mobile-feature-modal.is-active .mobile-feature-modal-content {
  transform: translateY(0);
}

.mobile-feature-modal-close {
  position: absolute;
  top: -50px;
  right: 0px;
  background: none;
  border: none;
  font-size: 50px;
  color: var(--color-main);
  cursor: pointer;
  z-index: 1001;
}

.mobile-feature-modal-close:hover {
  color: var(--color-sub3);
}

.mobile-feature-modal .modal-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
}

.mobile-feature-modal .modal-description {
  text-align: center;
  color: var(--color-gray);
}

.mobile-feature-modal .modal-description p {
  font-size: 16px;
  line-height: 1.5;
  margin: 5px 0;
}

@media screen and (max-width: 767px) {

  /* PC Interactive Area (モバイルでは非表示) */
  .pc-interactive-area {
    display: none;
  }

  .mobile-features {
    display: block;
  }

  /* モバイル表示用のnumbered-points-sharedのスタイル */
  .numbered-points-shared {
    flex-direction: column;
    align-items: center;
  }

  .numbered-points-shared .detail-item {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }

  .pc-hidden {
    display: block;
  }

  .title {
    height: 100px;
  }

  .ebike-features-mobile {
    display: none;
  }

  .ebike-details {
    display: none;
  }

  /* PC Interactive Area (モバイルでは非表示) */
  .pc-interactive-area {
    display: none;
  }

  .pc-interactive-area,
  .numbered-points-shared {
    display: none;
  }

  .numbered-points-mobile {
    display: block;
  }

  /* mobile main image */
  .mobile-main-image {
    margin-bottom: 20px;
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  /* mobile cheki points */
  .mobile-cheki-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 20px;
  }

  .mobile-cheki-points .cheki-item {
    width: 45%;
    margin-bottom: 40px;
    background-color: #fff;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
  }

  .mobile-cheki-points .cheki-item img {
    max-width: 90%;
    height: auto;
    margin-bottom: 10px;
  }

  .mobile-cheki-points .cheki-item p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-gray);
    margin: 0;
  }

  .mobile-features {
    display: block;
  }

  /* Summary Section */
  .button-placeholder {
    margin-top: -45px;
  }

  .reason-block {
    padding: 25px;
    margin-bottom: 40px;
  }

  .reason-block p {
    font-size: 14px;
  }

  .fee-details-container {
    max-width: 90%;
  }

  /* Story Section (Mobile Layout) */
  .reason-container {
    margin: 60px auto 0 auto;
    padding: 0;
    text-align: center;
  }

  .reason-content {
    flex-direction: column;
    width: 100%;
    margin-top: 50px;
    align-items: center;
    max-width: 100%;
  }

  /* 最初のreason-contentブロックは上のマージン調整 */
  .reason-container .reason-content:first-of-type {
    margin-top: 0;
  }

  .reason-content img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 30px;
    order: 2;
    border-radius: 8px;
  }

  .reason-content-text {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    order: 1;
  }

  .reason-content-text h3 {
    margin: 0;
    padding: 0;
    line-height: normal;
  }

  .reason-content-text p {
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
    padding: 0;
    margin-top: 25px;
  }

  .reason-content.reverse {
    flex-direction: column;
  }


  /* Full Width Content Block */
  .reason-full-width-block {
    margin: 40px auto 0 auto;
    padding: 0;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .full-width-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 30px;
    margin-bottom: 25px;
    order: 2;
  }

  .full-width-text {
    text-align: center;
  }

  .full-width-text p {
    font-size: 15px;
  }

  .full-width-image {
    margin-bottom: 0;
    margin-top: 20px;
  }

  /* e-Bike Features Section */
  .ebike-features-section {
    padding: 20px 10px 0;
    margin-top: 0;
  }

  .point-button {
    width: 35px;
    height: 35px;
  }

  .point-icon {
    width: 20px;
    height: 20px;
  }

  .feature-point.point-5 {
    top: 16%;
    left: 32%;
  }

  .feature-point.point-6 {
    top: 42%;
  }

  .feature-point.point-7 {
    top: 55%;
  }

  .feature-point.point-8 {
    top: 38%;
    left: 14%;
  }

  .point-description {
    padding: 6px;
    font-size: 12px;
  }

  .point-description p {
    font-size: 12px;
  }

  /* Summary Section */
  .reason-block {
    padding: 20px;
  }

  .reason-block p {
    font-size: 13px;
  }

  /* Story Section */
  .reason-container {
    margin: auto;
    padding: 0;
  }

  .reason-content {
    margin-top: 40px;
  }

  .reason-content img {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .reason-content.reverse .reason-content-text {
    margin: auto 20px;
  }

  /* Full Width Content Block */
  .reason-full-width-block {
    margin: 40px auto 0px auto;
    padding: 0;
  }

  .full-width-text {
    text-align: center;
  }

  .full-width-text p {
    font-size: 15px;
  }

  .full-width-image {
    margin-bottom: 0;
    margin-top: 20px;
  }

  /* Recommendation Section */
  .recommendation-section {
    padding: 40px 10px;
  }

  .recommendation-heading {
    margin-bottom: 30px;
  }

  .recommendation-bubbles {
    margin-bottom: 0;
  }

  .recommendation-bubbles .bubble {
    padding: 15px 20px;
    font-size: 13px;
  }

  .recommendation-bubbles .bubble-left {
    margin-bottom: 30px;
  }

  .recommendation-button {
    margin-top: 0;
  }
}