html { scroll-behavior: smooth;}

.button-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0px;
    padding: 0px;
    justify-content: center;
}

.amex-model-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.amex-model-button-link {
    width: 250px;
    height: 45px;
    border: 1px solid #2265B1;
    border-radius: 4px;
    background-color: #ffffff;
    text-decoration: none;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 14px;
    color: #383838;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.icon-underarrow:before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* アイコン種類に対応したFont-Weight */
    content: '\f107'; /* アイコンのUnicode */
}

.icon-underarrow {
    display: inline-block;
    margin-right: 10px;
    color: #2265B1;
    background-color: transparent;
    padding: 0;
}

.amex-model-button-wrapper a:link,
.amex-model-button-wrapper a:visited,
.amex-model-button-wrapper a:active,
.amex-model-button-wrapper a:focus {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 14px;
  color: #383838;
  text-decoration: none;
}

.amex-model-button-link:hover {
    background-color: #F4F8FB;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 14px;
    color: #383838;
    text-decoration: none;
}

.amex-model-button-link:hover .icon-underarrow {
    color: #2265B1;
    text-decoration: none;
}

@media (max-width: 600px) {
    .button-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .amex-model-button-link {
        width: 100%;
}
