/* -------------------------
   共通
------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

#wrap {
  width: 100%;
  max-width: 100%;
}

/* -------------------------
   ヘッダー
------------------------- */
#header {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 8px 0 20px;
  overflow: hidden;
}

.logo {
  float: left;
  padding-left: 9px;
}

.logo img {
  max-width: 100px;
}

.header {
  float: right;
  width: 450px;
  text-align: right;
  font-size: 0.71em;
  line-height: 1.4;
  color: #2d4d6e;
}

.h-text {
  margin: 4px 0 15px;
}

/* 電話 */
.h-tel {
  margin-bottom: 8px;
  line-height: 1;
}

.h-tel1 {
  margin-bottom: 0;
}

.h-tel span,
.h-tel1 span {
  display: inline-block;
  margin-left: 0.4em;
  font-family: "Crimson Text", serif;
  color: #2d4d6e;
}

.h-tel span.h-time {
  font-family:
    "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    sans-serif;
  font-size: 1.2em;
  line-height: 1.5;
}

.h-tel span.tellink {
  font-size: 3em;
  background: url(../img/h_phone01.jpg) 0 50% no-repeat;
  padding-left: 40px;
  line-height: 1;
  white-space: nowrap;
}

.h-tel1 span.tellink2,
.h-tel1 span.tellink3 {
  font-size: 26px;
  padding-left: 30px;
  line-height: 1;
  white-space: nowrap;
  background-position: 0 50%;
}

.h-tel1 span.tellink2 {
  background: url(../img/h_phone02.jpg) 0 50% no-repeat;
}

.h-tel1 span.tellink3 {
  background: url(../img/h_phone03.jpg) 0 50% no-repeat;
}

/* -------------------------
   グロナビ
------------------------- */
.container02 {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

.Menu {
  width: 100%;
  margin-top: 30px;
}

.Menu,
.Menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.Menu li {
  float: left;
  width: 123px;
  position: relative;
}

.Menu li a {
  background: url(../img/bg_contact.jpg) repeat;
  text-align: center;
  font-size: 14px;
  display: block;
  text-decoration: none;
  font-family:
    "游明朝体", "Yu Mincho", YuMincho, serif, "メイリオ", "Meiryo", sans-serif;
  padding: 10px 0;
  position: relative;
  z-index: 100;
  color: #003366;
  min-width: 0 !important;
  width: auto;
}

.Menu li ul.subMenu {
  position: absolute;
  top: 39px;
  left: 0;
  display: none;
  z-index: 10;
}

.Menu li:hover ul.subMenu {
  display: block;
}

.Menu li ul.subMenu li {
  float: none;
  width: 123px;
}

.Menu li ul.subMenu li a {
  background: url(../img/bg_contact.jpg) repeat;
  width: 123px;
  display: block;
}

/* -------------------------
   ドロワー（PCでは非表示）
------------------------- */
.drawer-hamburger,
.drawer-nav,
.drawer-overlay {
  display: none;
}

@media screen and (max-width: 680px) {
  #header {
    width: 100%;
    max-width: none;
    padding: 10px 12px;
  }

  .logo {
    float: none;
    text-align: center;
    padding: 0;
  }

  .logo img {
    max-width: 60px;
    margin: 0 auto;
  }

  .header,
  .gnav {
    display: none;
  }

  .seotext span {
    display: none;
  }

  /* ハンバーガー */
  body.drawer.drawer--left .drawer-hamburger {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    background: url(../img/bg_contact.jpg) repeat;
    border-radius: 6px;
    z-index: 10000;
  }

  .drawer-hamburger-icon,
  .drawer-hamburger-icon::before,
  .drawer-hamburger-icon::after {
    background-color: #6fadec;
  }

  /* ドロワー本体 */
  body.drawer.drawer--left .drawer-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }

  body.drawer.drawer--left.drawer-open .drawer-nav {
    transform: translateX(0);
  }

  /* オーバーレイ */
  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 9998;
  }

  body.drawer.drawer--left.drawer-open .drawer-overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* =========================
   SP ハンバーガー（3本線→×）
========================= */
.drawer-hamburger .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media screen and (max-width: 680px) {
  body.drawer.drawer--left .drawer-hamburger {
    display: block !important;
    position: fixed;
    top: 10px;
    right: 10px;
    left: auto !important;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    z-index: 10000;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.drawer.drawer--left .drawer-hamburger .drawer-hamburger-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    background: #59a0e9;
    transition: background 0.2s ease;
  }

  body.drawer.drawer--left .drawer-hamburger .drawer-hamburger-icon::before,
  body.drawer.drawer--left .drawer-hamburger .drawer-hamburger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #59a0e9;
    transition:
      transform 0.25s ease,
      top 0.25s ease,
      opacity 0.2s ease;
  }

  body.drawer.drawer--left .drawer-hamburger .drawer-hamburger-icon::before {
    top: -8px;
  }
  body.drawer.drawer--left .drawer-hamburger .drawer-hamburger-icon::after {
    top: 8px;
  }

  body.drawer.drawer--left.drawer-open
    .drawer-hamburger
    .drawer-hamburger-icon {
    background: transparent;
  }

  body.drawer.drawer--left.drawer-open
    .drawer-hamburger
    .drawer-hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.drawer.drawer--left.drawer-open
    .drawer-hamburger
    .drawer-hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
}
