/* ===== coco 2way セクション ===== */
#cg2-2way .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 40px;
}

#cg2-2way .coco-left {
  flex: 0 0 240px; 
  text-align: center;
}

#cg2-2way .coco-left img {
  width: 240px;
  height: auto;
}

#cg2-2way .coco-right {
  flex: 1;
  min-width: 280px;
}

#cg2-2way .coco-right p {
  line-height: 1.7;
}

#cg2-2way .coco-navi {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#cg2-2way .coco-navi-right,
#cg2-2way .coco-navi-left {
  flex: 1 1 50%;
  box-sizing: border-box;
  padding: 30px;
}
#cg2-2way .coco-btn-active{
  width: 100%;
  display: inline-block;
  padding: 12px 30px;
  background-color: #036FAD;
  border-radius: 30px;
  color: #fff;
  text-align: center;
  font-size: 16px;
}
#cg2-2way .coco-btn {
  width: 100%;
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #036FAD;
  border-radius: 30px;
  color: #036FAD;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease; /* ふわっとした動き */
}

#cg2-2way .coco-btn:hover {
  background-color: #036FAD;
  color: #fff;
  transform: translateY(-3px); /* ふわっと浮く感じ */
  box-shadow: 0 4px 10px rgba(3, 111, 173, 0.3);
}


@media screen and (max-width: 768px) {
  #cg2-2way .coco-navi {
  gap: 5px;
}
  #cg2-2way .coco-navi-right,
  #cg2-2way .coco-navi-left {
    padding: 2px;
    flex: 1 1 100%; /* スマホでは縦並び */
  }
}


/* ===== スマホ対応 ===== */
@media screen and (max-width: 767px) {
  #cg2-2way .container {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  #cg2-2way .coco-left {
    flex: 0 0 0; 
    margin-bottom: 10px;
  }

  #cg2-2way .coco-left img {
    width: 200px;
  }

}
