/* ==========================================================================
   基本リセット & 共通設定
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.md_sp {
  display: none !important;
}
/* ==========================================================================
   ヘッダー（PC・スマホ共通ベース）
   ========================================================================== */
.p-header__inner {
  width: 100%;
}
.l-container._middle {
  max-width: 1200px;
}
@media only print, screen and (min-width: 768px) {
  .l-container {
    width: calc(100% - 60px);
  }
}
.p-header__top.md-header__top {
  margin-top: 10px;
}
.p-header__logo {
  height: 64px;
}
.p-header__logo-mark .logo {
  max-width: 272px;
}
/* ==========================================================================
   メインコンテンツ（PC・ベース用）
   ========================================================================== */
.l-container {
  margin: auto;
}
#server-busy .p-error {
  padding: 80px 0;
}
#server-busy .p-error__inner {
  max-width: 745px;
  margin: 0 auto;
}
.error-title {
  color: #1e438c;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 15px;
}
.error-text {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* ==========================================================================
   お問い合わせエリア（PC・ベース用）
   ========================================================================== */
#server-busy .p-contact {
  margin-bottom: 80px;
}
.l-container._narrow {
  max-width: 640px;
  text-align: center;
}
#server-busy .md_contact__title {
    padding-bottom: 30px;
    text-align: center;
}
#server-busy .md_contact__title .md_contact__title-text {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  color: #224087;
  font-weight: 400;
  border-bottom: 1px solid #333;
  text-align: center;
}
#server-busy .md_contact__title .md_contact__title-text::before,
#server-busy .md_contact__title .md_contact__title-text::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  width: 24px;
  height: 20px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
#server-busy .md_contact__title .md_contact__title-text::before {
  background-color: #333;
}
#server-busy .md_contact__title .md_contact__title-text::after {
    bottom: -18px;
    background-color: #fff;
}
.c-cv-button-tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 300px;
  min-height: 70px;
  color: #2b558c;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  background-color: #fff;
  border-radius: 10px;
  transition: opacity 0.8s ease;
}
.c-cv-button-tel.emboss {
    border: 1px solid #E6E6E6;
    /* box-shadow: 0px 5px 2px 0px #C9C9C9; */
}
.c-cv-button-tel-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.c-cv-button-tel-text {
    font-size: 13px;
}

/* ==========================================================================
   電話ボタン
   ========================================================================== */
.c-cv-button-tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 300px;
  min-height: 70px;
  color: #2b558c;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  background-color: #fff;
  border-radius: 20px;
  transition: opacity 0.8s ease;
}
.c-cv-button-tel.emboss {
  border: 1px solid #E6E6E6;
  box-shadow: 0px 5px 2px 0px #C9C9C9;
}
.c-cv-button-tel-number-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-cv-button-tel-icon {
  width: 28px;
}
.c-cv-button-tel-icon img {
  width: 100%;
}
.c-cv-button-tel-icon {
  width: 28px;
}
.c-cv-button-tel-number {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
}
/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  padding: 20px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #444444;
  padding-top: 30px;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: #333333;
}


/* ==========================================================================
   レスポンシブ対応：ブレイクポイント 768px 以下（スマホ表示）
   ========================================================================== */
@media (max-width: 768px) {
  .md_pc {
    display: none !important;
  }
  .md_sp {
    display: block !important;
  }
  #server-busy .p-error {
    padding: 0;
  }
  .site-header {
    padding: 12px 16px;
  }
  .l-container {
    width: 90vw;
  }
  .logo {
      width: 48vw;
      max-width: 191px;
      height: auto;
  }

  /* カンプ通り、スマホでは見出しを綺麗に2行に改行 */
  .error-title {
    font-size: 20px;
    margin-bottom: 30px;
    letter-spacing: 0;
  }
  
  .error-text {
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  /* お問い合わせ部分の調整 */
  .contact-tooltip {
    font-size: 13.5px;
    margin-bottom: 15px;
  }
  
  .contact-tooltip::before { margin-right: 10px; }
  .contact-tooltip::after  { margin-left: 10px; }

  /* 電話ボタン全体（スマホサイズに最適化） */
  .phone-button {
    padding: 12px 15px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .icon-phone {
    width: 28px;
    height: 28px;
  }
  
  .icon-phone::after {
    width: 10px;
    height: 10px;
    border-left: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    border-bottom-left-radius: 4px;
    top: 7px;
    left: 9px;
  }

  .c-cv-button-tel-number {
    font-size: 25px;
    margin-left: 10px;
  }

  .phone-hours {
    font-size: 9.5px;
    margin-top: 4px;
    white-space: nowrap;
  }
  
  .arrow-icon {
    width: 20px;
    height: 20px;
  }
  
  .arrow-icon::after {
    width: 5px;
    height: 5px;
    border-right: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
  }

  .site-footer {
    padding-bottom: 30px;
    padding-right: 0;
    padding-left: 0;
  }
  
  .footer-container {
    padding-top: 20px;
  }
  
  #server-busy .p-contact {
    margin-bottom: 40px;
  }
  .copyright {
    font-size: 11px;
  }
}
