/* Reset styles */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

body {
  color: #333;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
}

button {
  border: none;
  background: none;
}

img {
  width: 100%;
  display: block;
}

.top-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.kv {
  position: relative;
  height: 100svh;
  max-height: 100vh;
}

.logo {
  position: absolute;
  top: 3%;
  right: 4%;
  width: 21%;
  max-width: 200px;
}

.kv-bg {
  object-fit: cover;
  height: 100svh;
  max-height: 100vh;
}

.service-copy {
  position: absolute;
  top: 2%;
  left: 1%;
  width: 52%;
  max-width: 380px;
}

.lead {
  position: absolute;
  top: 18%;
  right: 20px;
  width: 70px;
}

.copy {
  position: absolute;
  top: 57%;
  left: -5%;
  width: 73%;
  max-width: 380px;
}

.kv-btn {
  position: absolute;
  bottom: 1vh;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
}

.step-btn {
  width: 85%;
  margin: 0 auto;
}

.nr-area {
  background: url(../images/top/riyu_bg.jpg) no-repeat;
  background-size: cover;
  padding-bottom: 50px;
}

/* Nayami frame block */
.nayami-frame {
  width: clamp(320px, 92vw, 520px);
  margin: 0 auto 0 auto;
  background: #fff;
}

.nayami-frame__top {
  background: url(../images/top/nayami_frame_top.png) no-repeat center top / 100% auto;
  height: 70px;
}

.nayami-frame__center {
  background: url(../images/top/nayami_frame_center.png) repeat-y center top / 100% auto;
  padding: 0px 28px;
}

.nayami-frame__bottom {
  background: url(../images/top/nayami_frame_bottom.png) no-repeat center bottom / 100% auto;
  height: 70px;
}

.nayami-list {
  display: flex;
  flex-direction: column;
}

.nayami-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f6f6f6;
}

.nayami-item:last-child {
  border-bottom: none;
}

.nayami-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.nayami-item__age {
  font-size: 14px;
  margin-bottom: 2px;
}

.nayami-item__lines {
  font-size: 16px;
  line-height: 1.7;
  font-family: serif;
}

.riyu-area {
  width: 100%;
  margin: 30px auto;
}

.step-area {
}

.step-inner {
  background-image: url(../images/top/step_bg_m.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 0;
}

.step-item {
  margin-bottom: 40px;
}

.step-item:last-child {
  margin-bottom: 20px;
}

.step-item__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.step-item__text {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
  font-family: serif;
  margin-top: 10px;
}

.step-item__img {
  width: 80%;
  margin: 0 auto;
  border-radius: 6px;
}

.cta1 {
  padding: 50px 0;
  background-image: url(../images/top/purple_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-img {
  width: 90%;
  margin: 0 auto 10px auto;
  display: block;
}

.pit {
  padding: 0 20px;
  margin: 30px auto 0 auto;
}

.pit-img {
  width: 90%;
  margin: 0 auto 0 auto;
  display: block;
}

/* Teller Cards */
.teller-cards {
  max-width: 480px;
  margin: 0 auto;
}

.teller-card {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 6px;
  padding: 24px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.teller-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.teller-card__avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.teller-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teller-card__info {
  flex: 1;
}

.teller-card__copy {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.teller-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.teller-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12px;
  color: #666;
  margin: 0;
}

.teller-card__skills li {
  list-style: none;
  background: #e5e5e5;
  padding: 5px 10px;
  border-radius: 4px;
}

.teller-card__status {
  flex-shrink: 0;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.status-badge--waiting {
  background: #8b5cf6;
}

.status-badge--busy {
  background: #ef4444;
}

.user-voice-area {
  padding: 40px 0;
  background: url(../images/top/user_voice_bg.jpg) no-repeat center center / cover;
}

.qa-title {
  width: 100%;
  margin: 0 auto 0 auto;
  display: block;
}

/* Q&A Section */
.qa-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

.qa-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qa-question,
.qa-answer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-question {
  margin-bottom: 16px;
}

.qa-answer {
  margin-top: 16px;
}

.qa-divider {
  border: none;
  height: 1px;
  background: #e5e5e5;
  margin: 0;
}

.qa-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: normal;
  font-family: serif;
  flex-shrink: 0;
}

.qa-icon--q {
  color: #8b5cf6;
}

.qa-icon--a {
  color: #8b5cf6;
}

.qa-question-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-weight: 600;
  font-family: serif;
}

.qa-answer-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  font-family: serif;
}

.cta2 {
  background-image: url(../images/top/cta_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
}

.cta2-title {
  width: 90%;
  margin: 0 auto 20px auto;
  display: block;
}

/* Footer */
.footer {
  background: #d5d5d5;
  color: #fff;
  padding: 40px 20px 20px 20px;
  text-align: center;
}

.company-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.company-links a {
  color: #333;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-links a:hover {
  color: #fff;
}

.footer .copy {
  font-size: 10px;
  color: #999;
  margin: 0;
  display: block;
}
