.common-btn {
    transition: all 0.6s ease 0s;
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.8);
    border-radius: 2rem;
}

.common-btn:hover {
    cursor: pointer;
    transform: scale(1.1, 1.1);
}

.common-contact-box {
    margin-top: 5rem;
    text-align: center;
}

.common-contact-box p{
    padding:0;
    margin: 0;
    padding-bottom: 1rem;
}

.common-contact-form {
  text-align: center;
  line-height: 0;
  /* margin-top: 2rem; */
    transition: all 0.6s ease 0s;
}

.common-contact-form:hover {
    cursor: pointer;
    transform: scale(1.1, 1.1);
}

.common-contact-form a {
  height: auto;
  min-height: 3rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #42CCEB;
  color: white;
  padding: 0.5rem 2rem;
  box-shadow: 0 5px 10px -5px rgba(0,0,0,0.8);
  /* border: 1px solid #fff; */
  border-radius: 2rem;
  line-height: 1;
  gap: .1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.common-contact-form .arrow {
  position: relative;
}

.common-contact-form a.arrow::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.4rem 0 0.4rem 0.6rem;
  border-color: transparent transparent transparent white;
  margin-left: 0.5rem;
}

.common-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 3rem;
    flex-wrap: wrap;
}

.common-link a {
    color: #000000;
}


.box {
    width: 20vw;
    max-width: 200px;
    height: 5rem;
    background-color: #ffffff;
    /* margin: 0 2rem; */
    /* border: 2px solid #333; */
    /* margin: 2rem 0; */
    display: flex;
    overflow: hidden;
    /* justify-content: center; */
    /* align-items: center; */
    border-radius: 1rem;
    padding: 0;
    transition: all 0.6s ease 0s;
    z-index: 10;
}

.box:hover {
    cursor: pointer;
    transform: scale(1.1, 1.1);
    /* border-radius: 0; */
}

.link-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    /* gap: 1rem; */
    color: inherit;
}

.link-img {
    flex: 0 0 30%;
    /* 幅を30%に固定 */
    max-width: 30%;
    height: 100%;
    line-height: 0;
    /* 画像下の謎の隙間を消す */
    align-self: stretch;
}

.link-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 比率を保ったまま枠を埋める（はみ出しはカット） */
    display: block;
    border-radius: 1rem 0 0 1rem;
}

.link-text {
    flex: 0 0 70%;
    /* 幅を70%に固定 */
    display: flex;
    align-items: center;
    /* padding: 1rem; */
    box-sizing: border-box;
    padding-left: 1rem;
}

.link-text p {
    flex: 0 0 70%;
    margin: 0;
    position: relative;
    font-size: 1rem;
}

.link-arrow-box {
    flex: 0 0 30%;
}

.link-arrow {
    position: relative;
    display: inline-block;
    width: 1rem;
    height: 0.1rem;
    margin: 29px 0;
    border-radius: 9999px;
    background-color: #000000;
}

.link-arrow::before,
.link-arrow::after {
    content: "";
    position: absolute;
    /* top: calc(50% - 2px); */
    top: 30;
    transform: translateY(-50%);
    /* これで完全に中央へ */
    right: 0;
    width: 0.5rem;
    height: 100%;
    border-radius: 9999px;
    background-color: #000000;
    transform-origin: calc(100% - 0.075rem) 50%;
}

.link-arrow::before {
    transform: rotate(45deg);
}

.link-arrow::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .common-btn a {
        font-size: 1rem;
    }

    .common-link {
        gap: 2rem;
    }

    .box {
        /* 横幅を50%からマージン分を引いた値にする */
        width: calc(50% - 2rem);
    }

    .link-text {
        padding-left: 1rem;
    }
}