header {
    border-bottom: 2px solid #0075c1;
}

.header__inner {
    padding-left: 2.5vw;
    padding-right: 1.25vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header__logo {
    display: block;
    max-width: 148px;
}

.header__logo img {
    display: block;
}

.header__contents {
    display: flex;
    align-items: center;
}


.header__tel {
    color: #0075c1;
    margin-right: 26px;
    font-weight: bold;
}

.header__tel-txt {
    font-size: 11px;
}

.header__tel-num {
    font-size: 28px;
}

.header__contact {
    display: block;
    max-width: 243px;
    transition: opacity 0.3s;
    cursor: pointer;
}

.header__contact:hover {
    opacity: 0.8;
}

/* 右上に固定（PC） */
.header__contact {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  max-width: 243px;
}

/* ヘッダー内でレイアウトを崩さないため */
.header__contents {
  padding-right: 260px; /* ボタン幅ぶん余白（必要なら調整） */
}

/* SPは従来通り下固定 */
@media screen and (max-width: 768px) {
  .header__contact {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    max-width: 100%;
  }

  .header__contents {
    padding-right: 0;
  }
}


@media screen and (max-width: 768px) {
    .header__logo {
        max-width: 30vw;
    }

    .header__tel-num {
        font-size: 6.4vw;
    }

    .header__contact {
        max-width: 31.6vw;
    }

    .header__tel-txt {
        font-size: 2.6vw;
    }

    .header__contact {
        position: fixed;
        z-index: 2;
        bottom: 0;
        left: 0;
        max-width: 100%;
    }
}