/**
 * LP LINE section — matches gensen-career.com production layout
 */

#gensen-line-section {
  width: 100%;
  max-width: 100%;
  padding: 0 16px 48px;
  box-sizing: border-box;
}

.gensen-line__title {
  margin: 0 0 32px;
  text-align: center;
}

.gensen-line__title-inner {
  display: inline-block;
  padding: 6px 14px;
  background: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  color: #333333;
}

.gensen-line__line-word {
  color: #06c755;
}

.gensen-line__body {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.gensen-line__phone-wrap {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.gensen-line__side {
  flex: 0 1 300px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gensen-line__side-top {
  flex: 0 0 50%;
}

.gensen-line__side-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 0;
}

.gensen-line__card {
  flex: 0 0 auto;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.gensen-line__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: #333333;
}

.gensen-line__list li::before {
  content: '・';
}

.gensen-line__notes {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: #ffffff;
  text-align: left;
}

/* Phone frame + LINE chat */
.gensen-line-phone {
  width: 280px;
  max-width: 100%;
  border-radius: 32px;
  background: #1a1a1a;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gensen-line-phone__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #8bbde8;
  font-family: 'Noto Sans JP', sans-serif;
}

.gensen-line-phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 4px;
  background: #f7f7f7;
  font-size: 11px;
  font-weight: 700;
  color: #333333;
}

.gensen-line-phone__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  font-weight: 700;
  color: #333333;
}

.gensen-line-phone__back {
  font-size: 18px;
  line-height: 1;
  color: #666666;
}

.gensen-line-phone__header-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.gensen-line-phone__header-icons {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #666666;
}

.gensen-line-phone__chat {
  padding: 12px 10px 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gensen-line-phone__date {
  align-self: center;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 10px;
  color: #666666;
}

.gensen-line-phone__row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  max-width: 100%;
}

.gensen-line-phone__row--right {
  justify-content: flex-end;
}

.gensen-line-phone__avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #143166;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.gensen-line-phone__bubble {
  max-width: 78%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: #333333;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.gensen-line-phone__row--right .gensen-line-phone__bubble {
  background: #8de055;
}

.gensen-line-phone__doc {
  margin-top: 6px;
  padding: 6px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 9px;
  line-height: 1.4;
  color: #333333;
}

.gensen-line-phone__doc strong {
  display: block;
  font-size: 10px;
}

.gensen-line-phone__time {
  font-size: 9px;
  color: rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  padding-bottom: 2px;
}

@media screen and (min-width: 691px) {
  .gensen-line__title-inner {
    font-size: 48px;
    padding: 8px 18px;
  }

  .gensen-line__title {
    margin-bottom: 40px;
  }

  .gensen-line-phone {
    width: 300px;
  }

  .gensen-line__body {
    gap: 32px;
    max-width: 820px;
  }

  .gensen-line__side {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  .gensen-line__side-content {
    gap: 12px;
    width: max-content;
    max-width: 100%;
  }

  .gensen-line__card {
    padding: 24px 28px;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
  }

  .gensen-line__list {
    font-size: 19px;
    line-height: 2;
  }

  .gensen-line__list li {
    white-space: nowrap;
  }

  .gensen-line__notes {
    font-size: 19px;
    line-height: 1.9;
    white-space: nowrap;
  }
}

@media screen and (max-width: 690px) {
  #gensen-line-section {
    padding: 0 12px 36px;
  }

  .gensen-line__title {
    margin-bottom: 24px;
  }

  .gensen-line__title-inner {
    font-size: 26px;
    padding: 6px 12px;
  }

  .gensen-line__body {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .gensen-line__phone-wrap {
    width: 100%;
    justify-content: center;
  }

  .gensen-line__side {
    flex: none;
    width: 100%;
    max-width: 320px;
    align-items: center;
  }

  .gensen-line__side-top {
    display: none;
  }

  .gensen-line__side-content {
    justify-content: flex-start;
    gap: 16px;
    align-items: center;
  }

  .gensen-line__card {
    width: 100%;
    padding: 16px 20px;
  }

  .gensen-line__list {
    font-size: 14px;
  }

  .gensen-line__notes {
    margin-top: 0;
    text-align: center;
    font-size: 14px;
    padding: 0 8px;
  }
}
