@charset "UTF-8";
/* CSS Document */
* {
  box-sizing: border-box;
}
:root {
  --ai-color: #d9ecd2;
  --label-color: #f3d45c;
  --bg-light: #f5f5f5;
}
.ai .kv img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 0
}
.base-yellow {
  background: rgba(255, 255, 89, 0.60);
  /* background: #EFEAE2;    */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 2px 4px;
  font-weight: 900;
}
.ai-example {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.ai-example-title {
  background: var(--ai-color);
  text-align: center;
  font-size: clamp(20px, 2.6vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  padding: 10px 20px;
  margin: 0 calc(50% - 50vw) 40px;
  width: 100vw;
}

.ai-example-inner {
  display: flex;
  align-items: stretch; /* 左右の高さを揃える */
  gap: 24px;
    margin: -15px auto 5px;
}
.ai-side {
  width: 160px;
  flex-shrink: 0;
}
.ai-main {
  flex: 1;
}
.ai-katsuyo {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-example-left {
  width: 200px;
  flex-shrink: 0;
}
.ai-label {
  display: inline-block;
  width: 180px;
  background: var(--label-color);
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 900;
  padding: 6px;
  text-align: center;
}
.ai-example-right {
  display: block
}
.ai-katsuyo {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-katsuyo li + li {
  margin-top: 10px;
}
.ai-katsuyo p {
  margin: 0;
  font-weight: normal !important;
}
.ai-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #f8fbf6;
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 10px;
  transition: 0.2s ease;
}
.btn-ai-link {
  width: 180px;
  flex: 0 0 180px; /* 幅固定 */
  background: var(--label-color);
  padding: 3px 12px;
  border-radius: 5px;
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 中央寄せなら center */
  min-height: 40px; /* 高さもある程度そろえる */
}
.ai-link p {
  margin: 0;
  flex: 1; /* 残り幅を使う */
  min-width: 0; /* これが地味に重要 */
}
.ai-link:hover, .ai-link:focus {
  background: #DCF0EA;
  border-color: #8db58b;
  transform: translateY(-2px);
  outline: none;
}
.ai .ai-merit h4 {
  background: var(--label-color);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 30px
}
.ai-poster {
  position: relative;
  overflow: hidden;
  width: auto;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10px 10px;
  margin: -1px 0 0;
  box-sizing: border-box;
}
.ai-poster-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ai-poster-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-top: 1px
}
.ai-poster-icon {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  display: block;
}
.ai h2.greenbelt {
  background: var(--ai-color);
  text-align: center;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  padding: 10px 20px;
  margin: 0 calc(50% - 50vw) 40px;
  width: 100vw;
}
@media (max-width: 768px) {
  .ai-poster {
    height: auto;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
  }
  .ai-poster-icon {
    width: 100px;
  }
}
@media (max-width: 1024px) {
  .ai-example-inner {
    flex-direction: column;
  }
  .ai-example-left {
    width: 100%;
    max-width: 420px;
  }
}
@media (max-width: 767px) {
  .ai-example-inner {
    flex-direction: column; /* 縦並びに変更 */
    gap: 20px;
  }
  .ai-side {
    width: 100%;
  }
  .ai-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }
  .btn-ai-link {
    width: auto; /* ← 固定幅やめる */
    flex: none;
    margin-bottom: -5px; /* ← 本文との間 */
  }
  .ai-link p {
    width: 100%;
    margin: 0;
    padding: 10px 12px; /* ← ここ重要（余白） */
    background: rgba(255, 255, 89, 0.25); /* うっすら帯（任意） */
    border-radius: 8px;
    line-height: 1.6;
  }
}
#ai01::before, #ai02::before, #ai03::before, #ai04::before, #ai05::before, #ai06::before, #ai07::before, #ai08::before, #ai09::before, #ai10::before {
  content: "";
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
  pointer-events: none;
}
.ai .arrow {
  display: block;
  text-align: center;
  margin: 15px auto;
}
.ai-back-wrap {
  text-align: right;
  margin-top: 10px;
}
.ai-back-btn:hover {
  opacity: 0.8;
}
.ai-back-btn {
  display: inline-block;
  min-width: 120px;
  padding: 10px 20px;
  border: 1px solid #4195FB;
  border-radius: 5px;
  background: #efefff;
  color: #4195FB;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
}

.img-h50 {
  height: 50px;
}
.img-h40 {
  height: 40px;
}
.img-h30 {
  height: 30px;
}
.img-h20 {
  height: 20px;
}
.img-h50, .img-h40, .img-h30, .img-h20 {
  width: auto;
  display: block;
  margin: 0 auto;
}