/* cg-kv */
.cg-kv {
  padding: 50px 0 0;
  height: 600px;
  background-color: #EEF8F7;
  background-image: url(../img/cg-kv-bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}
.cg-kv-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
}
.cg-kv-left {
  position: relative;
}
.cg-kv-400items {
  position: relative;
  top: 48px;
  left: -20px;
}
.cg-kv-right img {
  margin-right: 20px;
}
@media (max-width: 1090px) {
  img[src*="cg-kv-image"] {
    width: 268px;
    height: 329px;
  }
}
@media (max-width: 976px) {
  .cg-kv {
    padding: 20px 0 0;
    height: auto;
    background-image: url(../img/cg-kv-bg-sp.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top 180px;
    padding-bottom: 2em;
  }
  .cg-kv-inner {
    flex-direction: column;
  }
  .cg-kv-inner h1 {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
  }
  img[src*="cg-kv-title"] {
    width: 100%;
    height: auto;
  }
  img[src*="cg-kv-image"] {
    margin-top: 0;
    margin-bottom: 0;
  }
  .cg-kv-left {
    position: static;
    text-align: center;
  }
  .cg-kv-400items {
    position: static;
  }
  img[src*="cg-kv-400items-sp"] {
    margin-top: -1em
  }
}
@media (max-width: 768px) {
  img[src*="cg-kv-image"] {
    width: 224px;
    height: 275px;
  }
}

/* cg-chatgene */
.cg-chatgene {
  background-color: #EEF8F7;
  padding-bottom: 140px;
}
.cg-chatgene-inner {
  max-width: 1060px;
  padding: 60px 16px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 36px;
}
.cg-chatgene-inner-right {
  padding: 12px 40px;
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
  color: #222;
}
.cg-chatgene h2 {
  margin: 0;
}
.cg-chatgene-price {
  margin: .5em 0;
  color: #BF0000;
  font-size: 32px;
  font-weight: bold;
}
.cg-chatgene-price span {
  font-size: 20px;
}
.cg-chatgene-terms {
  color: #BF0000;
}
.cg-chatgene-detail span {
  font-size: 80%;
}
.cg-chatgene-button {
  text-align: center;
}
.cg-chatgene-button a {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 100px;
  background-color: #44AEDA;
  background-image: linear-gradient(to right, #44AEDA 0%, #70C1BE 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.cg-chatgene-button a::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
  -webkit-transition: 0.8s;
  transition: 0.8s;
}
.cg-chatgene-button a:hover::before {
  left: 100%;
}
.cg-chatgene-button a img {
  margin-left: .5em;
}
@media (max-width: 976px) {
  .cg-chatgene-inner {
    padding: 12px 16px 24px;
    display: block;
  }
  .cg-chatgene-inner-left {
    background-color: #fff;
    position: relative;
  }
  .cg-chatgene-inner-left img {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 322px;
    height: 257px;
  }
  .cg-chatgene-inner-right {
    padding: 240px 16px 16px;
  }
  .cg-chatgene-inner-right p:first-child {
    margin: 0;
  }
  .cg-chatgene h2 img {
    width: 185px;
    height: 41px;
  }
  .cg-chatgene-price {
    margin: .5em 0;
    color: #BF0000;
    font-size: 24px;
    font-weight: bold;
  }
  .cg-chatgene-price span {
    font-size: 18px;
  }
  .cg-chatgene-detail {
    font-size: 14px;
  }
  .cg-chatgene-detail span {
    font-size: 60%;
  }
  .cg-chatgene-button a {
    width: 300px;
    font-size: 16px;
  }
}

/* cg-about */
.cg-about {
  margin-top: -140px;
  padding-top: 100px;
  padding-bottom: 40px;
  background-color: #F9FAFA;
  background-image: url(../img/cg-about.svg), url(../img/cg-about-above.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: cover, contain;
}
.cg-about strong {
  background: linear-gradient(transparent 50%, #F8EB03 50%);
  font-weight: normal;
  font-size: 1.2em;
}
.cg-about-lead {
  max-width: 820px;
  margin: 0 auto;
}
.cg-about-lead h2 {
  margin-top: 0;
  font-size: 30px;
}
.cg-about-lead h2 img {
  vertical-align: baseline;
}
.cg-about-lead h2 rt {
  color: #03A09A;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: .25em; 
}
_::-webkit-full-page-media, _:future, :root .cg-about-lead h2 rt {
  margin-bottom: 1em; 
}
.cg-about-lead p {
  font-size: 22px;
}
.cg-about-lead ul {
  list-style: none;
  margin: 3em 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.cg-about-lead ul li {
  margin: 0;
  padding: 0;
}
.cg-about-lead ul li img {
  border-radius: 200px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
}
.cg-about-items {
  max-width: 820px;
  margin: 6em auto;
}
.cg-about-items h3 {
  padding-left: 50px;
  background-image: url(../img/cg-about-star.svg);
  background-repeat: no-repeat;
  background-position: left center;
  color: #FF6F2F;
  font-size: 30px;
}
.cg-about-items p {
  font-size: 18px;
}
.cg-about-items p span {
  font-size: 16px;
}
.cg-about-items-column {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.cg-about-items-column h4 {
  padding-bottom: .25em;
  border-bottom: 2px dotted #70C1BE;
  font-size: 22px;
  text-align: center;
}
.cg-about-items-column h4 span {
  font-size: 20px;
}
.cg-about-items-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 8px;
}
.cg-about-items-column ul li {
  width: 42%;
  padding-left: 22px;
  background-image: url(../img/cg-about-check.svg);
  background-repeat: no-repeat;
  background-position: left top 5px;
  font-size: 18px;
}
.cg-about-items-column ul li span {
  font-size: 14px;
}
.cg-about-items-column > div {
  display: flex;
  flex-direction: column;
}
.cg-about-items-column > div p {
  margin-top: auto;
  text-align: right;
  font-size: 14px;
}
.cg-about-compare {
  max-width: 820px;
  margin: 6em auto;
}
.cg-about-compare h3 {
  padding-left: 50px;
  background-image: url(../img/cg-about-star.svg);
  background-repeat: no-repeat;
  background-position: left center;
  color: #FF6F2F;
  font-size: 30px;
}
.cg-about-compare h3 span {
  font-size: .75em;
}
.cg-about-compare h3 i {
  color: #222;
  font-style: normal;
}
.cg-about-compare-table {
  border-collapse: separate;
  border-spacing: 5px 0;
  width: 100%;
  margin-top: 3em;
}
.cg-about-compare-table span {
  font-size: .75em;
}
.cg-about-compare-table th,
.cg-about-compare-table td {
  padding: .75em 1.5em;
  font-size: 18px;
}
.cg-about-compare-table thead th {
  padding: .75em 1.5em .25em;
  vertical-align: bottom;
}
.cg-about-compare-table thead th:nth-child(2) {
  position: relative;
}
.cg-about-compare-table img[src*="cg-about-crown"] {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.cg-about-compare-table tr th:nth-child(1),
.cg-about-compare-table tr td:nth-child(1) {
  background-color: rgba(255, 255, 255, 50%);
  text-align: center;
}
.cg-about-compare-table tr th:nth-child(2),
.cg-about-compare-table tr td:nth-child(2) {
  background-color: rgba(3, 160, 154, 10%);
  color: #FF6F2F;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}
.cg-about-compare-table tr th:nth-child(3),
.cg-about-compare-table tr td:nth-child(3),
.cg-about-compare-table tr th:nth-child(4),
.cg-about-compare-table tr td:nth-child(4) {
  background-color: rgba(221, 221, 221, 20%);
  text-align: center;
}
.cg-about-compare-table tr th:nth-child(3),
.cg-about-compare-table tr th:nth-child(4) {
  color: #747474;
}
.cg-about-compare-table tbody tr td {
  border-bottom: 2px dotted #70C1BE;
}
.cg-about-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.cg-about-compare-table tbody tr:last-child td:nth-child(2) {
  color: #222;
}
.cg-about-selfcare {
  max-width: 820px;
  margin: 6em auto;
}
.cg-about-selfcare h3 {
  font-size: 30px;
  text-align: center;
}
.cg-about-selfcare p {
  text-align: center;
  font-size: 18px;
}
.cg-about-selfcare ul {
  list-style: none;
  margin: 3em 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.cg-about-selfcare ul li {
  width: 30%;
}
.cg-about-selfcare ul li img {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
  border-radius: 30px;
}
.cg-about-selfcare ul li span {
  display: inline-block;
  margin-top: 1em;
  padding-left: 36px;
  background-image: url(../img/cg-about-checkbox.svg);
  background-repeat: no-repeat;
  background-position: left top 5px;
  font-size: 18px;
}

@media (max-width: 976px) {
  .cg-about {
    margin-top: -100px;
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
    background-size: contain, contain;
    background-repeat: repeat;
  }
  .cg-about-lead h2 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
  }
  .cg-about-lead p {
    font-size: 16px;
    text-align: center;
  }
  .cg-about-lead ul {
    list-style: none;
    margin: 1em 0;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cg-about-lead ul li {
    width: 45%;
  }
  .cg-about-lead ul li img {
    width: 100%;
    height: auto;
  }
  .cg-about-items {
    margin: 3em auto;
  }
  .cg-about-items h3 {
    padding-left: 36px;
    background-size: 29px 27px;
    font-size: 22px;
  }
  .cg-about-items p {
    font-size: 16px;
  }
  .cg-about-items p span {
    font-size: 14px;
  }
  .cg-about-items-column {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .cg-about-items-column > div {
    width: 45%;
  }
  .cg-about-items-column > div:nth-child(3) {
    width: 94%;
  }
  .cg-about-items-column > div ul {
    width: 70%;
    margin: 0 auto;
  }
  .cg-about-items-column h4 {
    margin-top: .5em;
    font-size: 18px;
  }
  .cg-about-items-column h4 span {
    font-size: 16px;
  }
  .cg-about-items-column ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .cg-about-items-column ul li {
    width: 100%;
    padding-left: 22px;
    font-size: 16px;
  }
  .cg-about-items-column ul li span {
    font-size: 14px;
  }
  .cg-about-items-column > div p {
    text-align: right;
  }
  .cg-about-items-column > div:nth-child(3) ul li {
    width: 45%;
  }
  .cg-about-compare {
    margin: 2em auto;
  }
  .cg-about-compare h3 {
    padding-left: 36px;
    background-size: 29px 27px;
    font-size: 22px;
    background-position: left top 3px;
  }
  .cg-about-compare-table th,
  .cg-about-compare-table td {
    padding: .25em .25em;
    font-size: 13px;
  }
  .cg-about-compare-table img[src*="cg-about-crown"] {
    width: 36px;
    height: 30px;
    top: -18px;
  }
  .cg-about-compare-table img[src*="cg-logo-chatgene"] {
    width: 92px;
    height: 17px;
  }
  .cg-about-compare-table thead tr th:nth-child(1),
  .cg-about-compare-table tbody tr td:nth-child(1) {
    padding: .25em .15em;
    width: 20%;
    text-align: center;
  }
  .cg-about-compare-table thead tr th:nth-child(1) {
    padding-top: 2em;
  }
  .cg-about-compare-table thead tr th:nth-child(2),
  .cg-about-compare-table tbody tr td:nth-child(2) {
    padding: .25em .15em;
    font-size: 20px;
    width: 36%;
  }
  .cg-about-compare-table thead tr th:nth-child(2) {
    padding-top: .5em;
  }
  .cg-about-compare-table thead tr th:nth-child(3),
  .cg-about-compare-table tbody tr td:nth-child(3),
  .cg-about-compare-table thead tr th:nth-child(4),
  .cg-about-compare-table tbody tr td:nth-child(4) {
    padding: .25em .15em;
    width: 22%;
  }
  .cg-about-selfcare {
    margin: 6em auto 3em;
  }
  .cg-about-selfcare h3 {
    font-size: 24px;
  }
  .cg-about-selfcare p {
    font-size: 16px;
  }
  .cg-about-selfcare ul {
    list-style: none;
    margin: 2em 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .cg-about-selfcare ul li {
    width: 45%
  }
  .cg-about-selfcare ul li img {
    width: 100%;
    height: auto;
  }
  .cg-about-selfcare ul li span {
    padding-left: 24px;
    background-size: 18px 17px;
    background-position: left top 5px;
    font-size: 16px;
  }
}
/* cg-report */
.cg-report {
  background-color: #D7E6E5;
  background-image: url(../img/cg-report-bg.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 30px 16px 60px;
}
.cg-report h2 {
  font-size: 30px;
  margin-bottom: .5em;
}
.cg-report h2 span {
  padding: .5em;
  border: 1px solid #2DE136;
}
.cg-report p {
  font-size: 20px;
}
.cg-report p strong {
  color: #FF6F2F;
  font-weight: bold;
}
.cg-report > div {
  max-width: 642px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
}
.cg-report ul {
  list-style: none;
  margin: 1em auto 0;
  padding: 4em 0 0;
  max-width: 1024px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.cg-report ul li {
  position: relative;
}
.cg-report ul li > span {
  position: absolute;
  display: inline-block;
  margin-top: -3em;
  margin-bottom: .5em;
  padding: .5em 2.5em;
  border-radius: 50px;
  border: 1px solid #70C1BE;
  background-color: #AFE3E1;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  color: #222;
}
.cg-report ul li > span::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 40px;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: #AFE3E1 transparent transparent;
  translate: -50% 100%;
  transform: skew(50deg);
  transform-origin: top;
}
.cg-report ul li > span > span {
  font-size: 80%;
}
.cg-report ul li img {
  max-width: 100%;
  height: auto;
}
.cg-report ul li a:hover {
  opacity: .7;
}
.cg-report .cg-report-note {
  max-width: 1024px;
  margin: 1em auto 0;
  font-size: 16px;
  text-align: right;
}
@media (max-width: 1024px) {
  img[src*="cg-report-illust"] {
    width: 132px;
    height: 108px;
  }
  .cg-report > div {
    gap: 16px;
  }
  .cg-report h2 {
    font-size: 24px;
  }
  .cg-report p {
    font-size: 16px;
  }
  .cg-report ul {
    margin-top: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 64px 16px;
  }
  .cg-report ul li {
    width: 47%;
  }
  .cg-report ul li > span {
    padding: .4em 2em;
    font-size: 14px;
  }
  .cg-report .cg-report-note {
    font-size: 14px;
  }
}

/* cg-flow  */
.cg-flow {
  margin: 0 auto;
  padding: 16px 16px 3em;
  box-sizing: border-box;
  background-color: transparent;
  background-image: url(../img/cg-flow.svg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.cg-flow h2 {
  font-size: 30px;
  margin-bottom: .5em;
}
.cg-flow h2 span {
  padding: .5em;
  border: 1px solid #2DE136;
}
.cg-flow p {
  font-size: 20px;
}
.cg-flow p strong {
  color: #FF6F2F;
  font-weight: bold;
}
.cg-flow-lead {
  max-width: 604px;
  margin: 3em auto 0;
  display: flex;
  gap: 36px;
}
.cg-flow-inner {
  max-width: 872px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.cg-flow-inner-right > p {
  color: #70C1BE;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin: .5em 0;
}
.cg-flow-inner-right ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cg-flow-inner-right ol li {
  margin-bottom: .5em;
}
.cg-flow-01,
.cg-flow-02,
.cg-flow-03,
.cg-flow-fin {
  display: flex;
  border: 1px solid #70C1BE;
  background-color: #AFE3E1;
}
.cg-flow-01 {
  border-radius: 30px 30px 0 0;
}
.cg-flow-fin {
  border-radius: 0 0 30px 30px;
}
.cg-flow-01::before,
.cg-flow-02::before,
.cg-flow-03::before,
.cg-flow-fin::before {
  content: "01";
  width: 80px;
  min-width: 80px;
  background-color: #70C1BE;
  color: #222;
  font-family: "Caveat", cursive;
  font-size: 36px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cg-flow-01::before {
  border-radius: 30px 0 0 0;
}
.cg-flow-02::before {
  content: "02";
}
.cg-flow-03::before {
  content: "03";
}
.cg-flow-fin::before {
  content: "Fin";
  border-radius: 0 0 0 30px;
}
.cg-flow-01 div,
.cg-flow-02 div,
.cg-flow-03 div,
.cg-flow-fin div {
  padding: 0 20px;
}
.cg-flow-01 h3,
.cg-flow-02 h3,
.cg-flow-03 h3,
.cg-flow-fin h3 {
  font-size: 20px;
}
.cg-flow-01 p,
.cg-flow-02 p,
.cg-flow-03 p,
.cg-flow-fin p {
  font-size: 16px;
}
@media (max-width: 976px) {
  img[src*="cg-flow-illust"] {
    width: 93px;
    height: 121px;
  }
  .cg-flow-lead {
    margin: 2em auto 0;
    padding: 0 16px;
    gap: 16px;
  }
  .cg-flow h2 {
    font-size: 24px;
    margin: 0;
  }
  .cg-flow p {
    font-size: 16px;
    line-height: 1.75;
  }
  .cg-flow-inner {
    display: flex;
    flex-direction: column;
    margin-top: 2em;
  }
  .cg-flow-inner-left {
    text-align: center;
  }
  .cg-flow-inner-right > p {
    font-size: 20px;
    margin: .75em 0;
  }
  .cg-flow-inner-right ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .cg-flow-01,
  .cg-flow-02,
  .cg-flow-03,
  .formen-flow-fin {
    display: flex;
  }
  .cg-flow-01::before,
  .cg-flow-02::before,
  .cg-flow-03::before,
  .cg-flow-fin::before {
    width: 64px;
    min-width: 64px;
    font-size: 30px;
  }
  .cg-flow-01 div,
  .cg-flow-02 div,
  .cg-flow-03 div,
  .cg-flow-fin div {
    padding: 0 16px;
  }
  .cg-flow-01 h3,
  .cg-flow-02 h3,
  .cg-flow-03 h3,
  .cg-flow-fin h3 {
    font-size: 18px;
  }
}

/* cg-chatgene-pro */
.cg-chatgene-pro {
  position: relative;
  max-width: 720px;
  margin: 80px auto 60px;
  background-color: #F4EDED;
  background-image: url(../img/cg-chatgene-pro-bg.svg);
  background-repeat: no-repeat;
  background-position: center center;
  border: 1px solid #A76000;
  color: #222;
}
.cg-chatgene-pro p:first-child {
  position: absolute;
  z-index: 1;
  top: -72px;
  right: -24px;
  display: inline-block;
  margin-bottom: 20px;
  padding: .5em 1.5em;
  border: 2px solid #fff;
  background-color: #A76000;
  text-align: left;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  font-weight: bold;
}
.cg-chatgene-pro p:first-child::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 80%;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: #fff transparent transparent;
  translate: -50% 100%;
  transform: skew(-25deg);
  transform-origin: top;
}
.cg-chatgene-pro p:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 80%;
  border-style: solid;
  border-width: 15.2px 15.2px 0 0;
  border-color: #A76000 transparent transparent;
  translate: calc(-50% - 0.4px) 100%;
  transform: skew(-25deg);
  transform-origin: top;
}
.cg-chatgene-pro-inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px 20px;
  background-color: transparent;
}
.cg-chatgene-pro-inner-left {
  position: absolute;
  top: -10px;
  left: -60px;
  width: 379px;
  height: 354px;
  z-index: 1;
}
.cg-chatgene-pro-inner-left img {
  max-width: 100%;
  height: auto;
}
.cg-chatgene-pro-inner-right {
  width: 345px;
  margin: 0 0 0 auto;
}
.cg-chatgene-pro-price {
  margin: .5em 0;
  color: #BF0000;
  font-size: 32px;
  font-weight: bold;
}
.cg-chatgene-pro-price span {
  font-size: 20px;
}
.cg-chatgene-pro-terms {
  font-size: 16px;
}
.cg-chatgene-pro-terms strong {
  color: #BF0000;
  font-size: 20px;
}
.cg-chatgene-pro-button {
  text-align: center;
}
.cg-chatgene-pro-button a {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 50px;
  margin-top: 1.5em;
  border: 1px solid #fff;
  border-radius: 100px;
  background-color: #F2C07E;
  background-image: linear-gradient(to right, #F2C07E 0%, #A76000 100%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
  color: #222;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.cg-chatgene-pro-button a::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
  -webkit-transition: 0.8s;
  transition: 0.8s;
}
.cg-chatgene-pro-button a:hover::before {
  left: 100%;
}
@media (max-width: 976px) {
  .cg-chatgene-pro {
    margin: 100px 16px 40px;
    color: #222;
  }
  .cg-chatgene-pro p:first-child {
    top: -124px;
    right: 16px;
    margin-bottom: 0;
    padding: .5em 1.5em;
    font-size: 20px;
  }
  .cg-chatgene-pro-inner {
    padding: 220px 20px 20px;
    background-color: #fff;
  }
  .cg-chatgene-pro-inner-left {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 272px;
    height: 255px;
  }
  .cg-chatgene-pro-inner-right {
    width: 100%;
    margin: 0;
  }
  .cg-chatgene-pro-inner-right h2 {
    margin-top: 0;
    margin-bottom: .5em;
  }
  .cg-chatgene-pro-inner-right h2 img {
    width: 177px;
    height: 32px;
  }
  .cg-chatgene-pro-price {
    margin: .5em 0;
    color: #BF0000;
    font-size: 22px;
    font-weight: bold;
  }
  .cg-chatgene-pro-price span {
    font-size: 16px;
  }
  .cg-chatgene-pro-terms {
    font-size: 14px;
  }
  .cg-chatgene-pro-terms strong {
    font-size: 16px;
  }
  .cg-chatgene-pro-button a {
    width: 300px;
    font-size: 16px;
  }
}

/* cg-recommended */
.cg-recommended {
  padding: 2.5em 16px 4em;
  background-color: #F8FAFA;
  border-radius: 30px 30px 0 0;
  margin-bottom: -8em;
}
.cg-recommended h2 {
  font-family: "Kohinoor Bangla", sans-serif;
  max-width: 800px;
  margin: .5em auto;
  color: #FF8900;
  font-size: 40px;
  font-weight: normal;
  line-height: .75;
}
.cg-recommended span {
  color: #70C1BE;
  font-size: 18px;
}
.cg-recommended ul {
  list-style: none;
  max-width: 800px;
  margin: 1em auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cg-recommended ul li {
  text-align: center;
}
.cg-recommended ul li img {
  width: 100%;
  height: auto;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
}
.cg-recommended ul li a:hover {
  opacity: .7;
}
@media (max-width: 976px) {
  .cg-recommended {
    margin-top: 0;
    padding: 2em 24px 6em;
    border-radius: 20px 20px 0 0;
  }
  .cg-recommended h2 {
    font-size: 24px;
    line-height: 1;
  }
  .cg-recommended h2 img {
    width: 100%;
    height: auto;
  }
  .cg-recommended span {
    font-size: 16px;
  }
}

/* cg-gallery */
.cg-gallery {
  margin-top: 3em;
  background-color: #FDFDFD;
  overflow: hidden;
}
.cg-gallery h2 {
  font-size: 30px;
  margin-bottom: .5em;
}
.cg-gallery h2 span {
  padding: .5em;
  border: 1px solid #2DE136;
}
.cg-gallery p {
  font-size: 20px;
}
.cg-gallery p strong {
  color: #FF6F2F;
  font-weight: bold;
}
.cg-gallery-lead {
  max-width: 672px;
  margin: 3em auto 0;
  display: flex;
  gap: 36px;
}
.cg-gallery h2 {
  text-align: center;
}
.cg-gallery-cg,
.cg-gallery-pro {
  margin: 3em 0;
  padding: 1em 0;
  background-color: rgba(255, 255, 255, 60%);
}
.cg-gallery-cg div,
.cg-gallery-pro div {
  line-height: 1;
}
.cg-gallery-cg div a,
.cg-gallery-pro div a {
  color: #222;
  direction: ltr;
  unicode-bidi: bidi-override;
}
.cg-gallery-cg div a img:nth-child(2),
.cg-gallery-pro div a img:nth-child(2) {
  width: 100%;
  height: auto;
}
.cg-gallery-cg div p,
.cg-gallery-pro div p {
  margin: .5em 0 0;
  font-size: 14px;
  text-align: right;
}
.cg-gallery-cg div p img,
.cg-gallery-pro div p img {
  position: static;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: .25em;
}
.cg-gallery-cg div p span,
.cg-gallery-pro div p span {
  font-size: 12px;
}
.cg-gallery-cg.slick .slide,
.cg-gallery-pro.slick .slide {
  width: 300px;
}
@media (max-width: 976px) {
  .cg-gallery {
    overflow: hidden;
  }
  img[src*="cg-gallery-illust"] {
    width: 129px;
    height: 139px;
  }
  .cg-gallery-lead {
    margin: 4em auto 0;
    padding: 0 16px;
    gap: 16px;
  }
  .cg-gallery h2 {
    font-size: 24px;
    text-align: left;
  }
  .cg-gallery h2 span {
    padding: .5em;
    border: 1px solid #2DE136;
  }
  .cg-gallery h2 img {
    width: 98px;
    height: 81px;
  } .cg-gallery p {
    font-size: 16px;
    line-height: 1.75;
  }
  .cg-gallery-cg,
  .cg-gallery-pro {
    margin: 2em 0;
  }
  .cg-gallery-cg .slick-slide a > img:first-child {
    width: 96px;
    height: 17px;
  }
  .cg-gallery-pro .slick-slide a > img:first-child {
    width: 127px;
    height: 17px;
  }
  .cg-gallery-cg .slick-slide a img[width="300"],
  .cg-gallery-pro .slick-slide a img[width="300"] {
    width: 240px;
    height: 240px;
  }
  .cg-gallery-cg div p,
  .cg-gallery-pro div p {
    font-size: 12px;
  }
  .cg-gallery-cg div p img,
  .cg-gallery-pro div p img {
    width: 24px;
    height: 24px;
  }
  .cg-gallery-cg div p img,
  .cg-gallery-pro div p img {
    width: 24px;
    height: 24px;
  }
  .cg-gallery-cg.slick .slide,
  .cg-gallery-pro.slick .slide {
    width: 240px;
  }
}

/* cg-youtube */
.cg-youtube {
  max-width: 842px;
  margin: 3em auto;
  padding: 16px 16px 32px;
  border: 1px solid #70C1BE;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 30px;
  font-size: 16px;
}
.cg-youtube h2 {
  font-size: 30px;
  text-align: center;
}
.cg-youtube-list {
  list-style: none;
  max-width: 700px;
  height: 320px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  overflow-y: scroll;
}
.cg-youtube-list li {
  margin: 0 0 1em;
  font-size: 1em;
}
.cg-youtube-list li a {
  display: block;
  padding-left: 90px;
  background-image: url(../img/cg-icon-youtube.webp);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 76px 45px;
  text-decoration: none;
  transition: .3s;
  color: #222;
  font-size: 0.85em;
}
.cg-youtube-list li a:hover {
  opacity: .7;
}
.cg-youtube-list li strong {
  font-size: 1.2em;
}
@media (max-width: 976px) {
  .cg-youtube {
    margin: 2em auto;
    padding: 16px 16px 32px;
    border: 1px solid #2DE136;
  }
  .cg-youtube h2 {
    font-size: 20px;
  }
}
@media (max-width: 866px) {
  .cg-youtube {
    margin: 2em 16px;
  }
  .cg-youtube {
    max-width: 842px;
    margin: 3em auto;
    padding: 16px 16px 32px;
    border: none;
    background-color: transparent;
    border-radius: 0;
  }
  .cg-youtube h2 {
    font-size: 24px;
  }
}

/* Image Modal */
.image-modal-overlay {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, .8);
  z-index: 10000;
}
.image-modal-overlay div {
  width: 80%;
  margin: 30px auto;
  height: 100%;
  text-align: center;
  overflow-y: auto;
}
.image-modal-content {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.image-modal-active {
  overflow: hidden;
}

/* baloon */
.cg-baloon {
  position: fixed;
  z-index: 100;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 150px;
  margin: 1.5em 15px 1.5em 0;
  padding: 10px 5px 0;
  border: 1px solid #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 15%);
  box-sizing: border-box;
  line-height: 1.5;
  text-align: center;
  color: #FFF;
  font-size: 16px;
  font-weight: bold;
  background-color: #70C1BE;
  border-radius: 50%;
  box-sizing: border-box;
}
.cg-baloon a {
  display: block;
  color: #fff;
}
.cg-baloon span {
  font-size: 14px;
  color: #fff;
}
@media (max-width: 976px) {
  .cg-baloon {
    bottom: 0;
    left: 0;
    right: auto;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 5px 0 0;
    border: 0;
    border-radius: 0;
  }
  .cg-baloon span {
    font-size: 16px;
  }
  .cg-baloon a img {
    margin-left: .5em;
  }
}
