/* Roboto Icons */
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap");

@media only screen and (max-width: 768px) {
  .visible-md {
    display: none !important;
  }
  .visible-xs {
    display: block;
  }
  .header {
    /* height: 96px; */
    background-color: #fff;
  }
  .header-container {
    margin: 0;
    position: relative;
    line-height: 36px;
  }
  .header-container > p {
    font-size: 12px;
    margin: 12px 52px 0 0;
    float: right;
  }
  .header-top {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .header-logo {
    width: 96px;
    margin: 0 0 8px 10px;
  }
  .header-logo img {
    vertical-align: bottom;
  }
  .header-telephone > a.txt-call {
    color: #232b39;
    font-family: Roboto;
    font-size: 20px;
    font-weight: bold;
    height: 48px;
    line-height: 48px;
    margin-right: 48px;
    overflow: hidden;
    padding: 0;
    text-align: right;
  }
  .header-telephone .icon-fc {
    margin-right: 6px;
    vertical-align: text-top;
    width: 30px;
  }
}
/*===== 共通ヘッダー/PC =====*/
@media only screen and (min-width: 768px) {
  body {
    margin-top: 0;
  }
  header {
    background: #fff;
    font-size: 15px;
    padding: 15px 0 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 101;
  }
  .visible-md {
    display: block;
  }
  .visible-xs {
    display: none !important;
  }
  .header-container {
    margin: 0 auto 4px;
    max-width: 1000px;
  }
  .header-container > p {
    margin: 0 0 15px;
  }
  .header-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .header-logo img {
    width: 140px;
    margin: 0 0 10px;
  }
  .header-telephone dl {
    margin: 0;
    width: 320px;
  }
  .header-telephone dl a {
    color: #232b39;
  }
  .header-telephone dl dt {
    margin: 0 16px 0 0;
    font-size: 12px;
    text-align: center;
    float: left;
    color: #05aa22;
    background-color: #edf6e3;
    padding: 3px 0;
    width: 120px;
    border-radius: 3px;
    position: relative;
    line-height: 1.5;
  }
  .header-telephone dl dt:before {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    right: -9px;
    top: 14px;
    border-left: 10px solid #edf6e3;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
  .header-telephone dl dd {
    white-space: nowrap;
  }
  .header-telephone dl dd p:first-of-type {
    margin: -0.1em 0 0;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    font-size: 29px;
    line-height: 1;
    text-align: right;
  }
  .header-telephone dl dd p:nth-of-type(2) {
    margin: 0;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
  }
}
/*===== 共通ヘッダー/Tablet =====*/
@media only screen and (min-width: 768px) and (max-width: 1040px) {
  .header {
    width: 100%;
  }
  .header-container {
    padding: 0 0;
    width: 100%;
  }
  .header-top {
    padding: 0 20px;
    width: calc(100% - 40px);
  }
  .header-telephone dl dt {
    margin-right: 12px;
  }
}
/*===== 共通ヘッダー/360px未満 =====*/
@media only screen and (max-width: 359px) {
  .header-telephone .icon-fc {
    margin-right: 0;
    vertical-align: text-top;
    width: 30px;
  }
  .header-telephone > a.txt-call {
    color: #232b39;
    font-family: Roboto;
    font-size: 18px;
    font-weight: bold;
    height: 48px;
    line-height: 48px;
    overflow: hidden;
    padding: 0;
    text-align: right;
  }
  .header-telephone .icon-fc {
    margin-right: 2px;
    vertical-align: text-top;
    width: 28px;
  }
}
