.content-full-nh1 {
  width: 100%;
  margin: 80px 0;
  padding: 80px 0;
  background: repeating-linear-gradient(140deg, transparent, transparent 10px, rgba(99, 99, 99, 0.17) 10px, rgba(99, 99, 99, 0.17) 11px);
}

.chat-item {
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  animation: bounceIn 1s ease-out;
  position: relative;
}

/* 左配置（1,3,5番目のチャットアイテム） */
.chat-item:nth-child(odd) {
  flex-direction: row;
}

/* 右配置（2,4,6番目のチャットアイテム） */
.chat-item:nth-child(even) {
  flex-direction: row-reverse;
}

img {
  width: 100%;
  height: auto;
}

.illustration {
  width: 300px;
  height: 130px;
  border-radius: 15px;
  margin: 0 25px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
  transform: rotate(-2deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.chat-item:nth-child(even) .illustration {
  transform: rotate(0deg);
}

.speech-bubble {
  margin-left: -35px;
  margin-right: -55px;
  position: relative;
  background: #fff;
  padding: 25px 30px;
  max-width: 400px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  font-weight: bold;

  /* 手書き感のある不規則な形 */
  border-radius: 25px 30px 20px 35px;
  border: 3px solid #333;
  transform: rotate(-1deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

  /* 手書き風のボーダー */
  background-image:
    radial-gradient(circle at 20% 50%, transparent 20px, white 21px),
    radial-gradient(circle at 80% 20%, transparent 15px, white 16px),
    radial-gradient(circle at 40% 80%, transparent 18px, white 19px);
}

.chat-item:nth-child(even) .speech-bubble {
  transform: rotate(1deg);
  border-radius: 30px 25px 35px 20px;
}

/* 手書き風吹き出しの尻尾 */
.speech-bubble::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

/* 左側の吹き出し尻尾（奇数番目） */
.chat-item:nth-child(odd) .speech-bubble::before {
  left: -18px;
  top: 40px;
  border-width: 15px 20px 10px 0;
  border-color: transparent #333 transparent transparent;
  transform: rotate(-10deg);
}

.chat-item:nth-child(odd) .speech-bubble::after {
  content: '';
  position: absolute;
  left: -13px;
  top: 42px;
  border-width: 13px 17px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
  transform: rotate(-10deg);
}

/* 右側の吹き出し尻尾（偶数番目） */
.chat-item:nth-child(even) .speech-bubble::before {
  right: -18px;
  top: 40px;
  border-width: 10px 0 15px 20px;
  border-color: transparent transparent transparent #333;
  transform: rotate(10deg);
}

.chat-item:nth-child(even) .speech-bubble::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 42px;
  border-width: 8px 0 13px 17px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  transform: rotate(10deg);
}

/* 手書き風装飾 */
.speech-bubble .text {
  position: relative;
}

/* 各吹き出しの個性的な色合い */
.chat-item:nth-child(1) .speech-bubble {
  background: #ffebee;
  border-color: #e91e63;
}

.chat-item:nth-child(1) .speech-bubble::after {
  border-color: transparent #ffebee transparent transparent;
}

.chat-item:nth-child(2) .speech-bubble {
  background: #e3f2fd;
  border-color: #2196f3;
}

.chat-item:nth-child(2) .speech-bubble::after {
  border-color: transparent transparent transparent #e3f2fd;
}

.chat-item:nth-child(3) .speech-bubble {
  background: #f3e5f5;
  border-color: #9c27b0;
}

.chat-item:nth-child(3) .speech-bubble::after {
  border-color: transparent #f3e5f5 transparent transparent;
}

.chat-item:nth-child(4) .speech-bubble {
  background: #e8f5e8;
  border-color: #4caf50;
}

.chat-item:nth-child(4) .speech-bubble::after {
  border-color: transparent transparent transparent #e8f5e8;
}

.chat-item:nth-child(5) .speech-bubble {
  background: #fff3e0;
  border-color: #ff9800;
}

.chat-item:nth-child(5) .speech-bubble::after {
  border-color: transparent #fff3e0 transparent transparent;
}

.chat-item:nth-child(6) .speech-bubble {
  background: #e0f2f1;
  border-color: #009688;
}

.chat-item:nth-child(6) .speech-bubble::after {
  border-color: transparent transparent transparent #e0f2f1;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* プレースホルダー画像のスタイル */
.img-placeholder {
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .illustration {
    width: 80px;
    height: 80px;
    font-size: 32px;
    margin: 0 15px;
    position: absolute;
  }

  .speech-bubble {
    padding: 20px;
    font-size: 16px;
    max-width: 280px;
    position: absolute;
    right: 50px;
    top: -30px;
    max-width: 58%;
  }

  .title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .chat-item {
    margin-bottom: 180px;
  }
  .chat-item:nth-child(even) .speech-bubble {
    position: absolute;
    left: 33px;
    top: -38px;
  }
  .illustration-bottom-right {
    bottom: 15px;
    right: -11px;
    height: 55px;
    width: 107px;
  }
  .content-full-nh1 {
    padding: 10px 0;
  }
  .illustration-top-left {
    width: 85px !important;
  }
}

.message-card {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px 56px 40px 30px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f8f4e6 100%);
  border: 2px solid #d4af37;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
  text-align: center;
  position: relative;
  font-family: 'Yu Gothic', 'Hiragino Sans', sans-serif;
}

.message-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #d4af37, #f4d03f, #d4af37);
  border-radius: 15px;
  z-index: -1;
  opacity: 0.7;
}

.message-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.message-card span {
  color: #b8860b;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(184, 134, 11, 0.3);
}

.txt-message {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
}
.txt-message span {
  font-size: 1.5rem;
}

/* 左上のイラスト */
.illustration-top-left {
position: absolute;
top: -32px;
left: -26px;
width: 111px;
z-index: 1;
}

.illustration-top-left svg {
  width: 100%;
  height: 100%;
  fill: #d4af37;
}

/* 右下のイラスト */
.illustration-bottom-right {
  position: absolute;
  bottom: 45px;
  right: -7px;
  width: 74px;
  height: 55px;
  z-index: 1;
}

.illustration-bottom-right svg {
  width: 100%;
  height: 100%;
  fill: #d4af37;
}

.grid-card-wrapper {
  max-width: 1170px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-feature {
  color: #371a00;
  background: #f9f7dc;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card-inner {
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-number {
  position: absolute;
  top: -19px;
  left: 19px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.card-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.card-title-icon {
  flex-shrink: 0;
  width: 90px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.card-title-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.card-title {
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.card-title span {
font-size: 2rem;
line-height: 1.2;
color: #ff9500;
}

.card-content {
  color: #666;
  line-height: 1.8;
  flex: 1;
}
.card-content span {
font-weight: 600;
color: #ff9500;
}


.highlight-section {
  background: #f8f9ff;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
}

.highlight-section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.support-flow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-item {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.support-item {
  text-align: center;
}

.support-item h4 {
  color: #667eea;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: bold;
}

.support-item ul {
  list-style: none;
  font-size: 0.9rem;
  color: #666;
}

.support-item li {
  margin-bottom: 3px;
}

@media (max-width: 1024px) {
  .grid-card-wrapper {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-card-wrapper {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .card-inner {
      padding: 20px;
  }

  .card-title-wrapper {
      padding-left: 40px;
      gap: 12px;
  }

  .card-title-icon {
    width: 74px;
    height: auto;
  }

  .card-title {
      font-size: 1.1rem;
  }

  .card-number {
      width: 40px;
      height: 40px;
      font-size: 1rem;
      left: 15px;
      top: -15px;
  }

  .support-flow {
      flex-direction: column;
  }

  .support-list {
      grid-template-columns: 1fr;
      gap: 20px;
  }
}

@media (max-width: 480px) {
  .card-inner {
      padding: 15px;
  }

  .card-title-wrapper {
    padding-top: 10px;
    padding-left: 0px;
    gap: 10px;
  }
  .message-card {
    max-width: 600px;
    margin: 50px 12px;
  }
  .txt-message {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
  }
  .txt-message span {
    font-size: 1.4rem;
  }
}