/* =========================================
   薮崎税務会計事務所 共通文字設定
========================================= */

/* 明朝体：見出し・キャッチコピー */
.yabuzaki-heading-font,
.yabuzaki-mv__title,
.yabuzaki-concept__title,
.yabuzaki-worries__title,
.yabuzaki-worries__contact-title {
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif !important;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ゴシック体：本文 */
.yabuzaki-body-font,
.yabuzaki-mv__description,
.yabuzaki-concept__message,
.yabuzaki-worries__text,
.yabuzaki-worries__contact-text {
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* 英字・小見出し */
.yabuzaki-label-font,
.yabuzaki-mv__date {
  font-family:
    "Times New Roman",
    "Yu Mincho",
    serif !important;
  letter-spacing: 0.1em;
}

/* SWELL見出し装飾を共通解除 */
.yabuzaki-worries h2,
.yabuzaki-concept h2,
.yabuzaki-mv h1 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.yabuzaki-worries h2::before,
.yabuzaki-worries h2::after,
.yabuzaki-concept h2::before,
.yabuzaki-concept h2::after,
.yabuzaki-mv h1::before,
.yabuzaki-mv h1::after {
  content: none !important;
  display: none !important;
}

/* SWELL標準フッターのコピーライト・下部余白を非表示 */
#footer,
.l-footer,
.l-footer__foot,
.c-copyright {
  display: none !important;
}
/* フッター下の余白を削除 */
.l-container,
#body_wrap,
#content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body {
  margin-bottom: 0 !important;
}

.w-beforeFooter {
  margin:6em auto 0em;
  overflow:hidden
}
/* ヘッダーメニューの文字をはっきりさせる */
header nav a,
.l-header a,
.c-gnav a,
.p-global-nav a {
  color: #333 !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-shadow: none;
}

/* マウスを乗せたとき */
header nav a:hover,
.l-header a:hover,
.c-gnav a:hover,
.p-global-nav a:hover {
  color: #d56b35 !important;
}
/* 固定ページのタイトルを全ページで非表示 */
.page .c-pageTitle {
  display: none !important;
}
/* 固定ページタイトル非表示後の上余白を調整 */
.page .l-mainContent__inner > .post_content {
  margin-top: 0 !important;
}

.page .l-content {
  padding-top: 0 !important;
}
/* =========================================
   全ページ共通　相談ボタンカラー
========================================= */

/* 相談を予約する：オレンジ */
.yabuzaki-mv__button--reserve,
a[class*="contact__button--reserve"],
a[class*="button--reserve"] {
  background: #f47a00 !important;
  background-image: none !important;
  border-color: #f47a00 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(244, 122, 0, 0.25);
}

/* 予約ボタン内の文字・アイコン */
.yabuzaki-mv__button--reserve *,
a[class*="contact__button--reserve"] *,
a[class*="button--reserve"] * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* 予約ボタン：マウスを乗せたとき */
.yabuzaki-mv__button--reserve:hover,
a[class*="contact__button--reserve"]:hover,
a[class*="button--reserve"]:hover {
  background: #d95f00 !important;
  border-color: #d95f00 !important;
}


/* LINEで相談する：グリーン */
.yabuzaki-mv__button--line,
a[class*="contact__button--line"],
a[class*="button--line"] {
  background: #06c755 !important;
  background-image: none !important;
  border-color: #06c755 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.22);
}

/* LINEボタン内の文字・アイコン */
.yabuzaki-mv__button--line *,
a[class*="contact__button--line"] *,
a[class*="button--line"] * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* LINEボタン：マウスを乗せたとき */
.yabuzaki-mv__button--line:hover,
a[class*="contact__button--line"]:hover,
a[class*="button--line"]:hover {
  background: #05a847 !important;
  border-color: #05a847 !important;
}
/* =========================================
   下層ページ 共通HERO
========================================= */

.yabuzaki-subhero {
  position: relative;
  padding: clamp(85px, 10vw, 155px) 20px;
  overflow: hidden;
  background: #f47a00;
}

.yabuzaki-subhero__inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(350px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
}

/* 英字 */
.yabuzaki-subhero__label {
  margin: 0 0 13px;
  color: #fff;

  font-family: "Times New Roman", serif;
  letter-spacing: .2em;
}

/* ページタイトル */
.yabuzaki-subhero__title {
  margin: 0 0 35px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: #fff !important;
  -webkit-text-fill-color: #fff !important;

  font-weight: 500;
  letter-spacing: .09em;
}

/* 大きなキャッチ */
.yabuzaki-subhero__catch {
  margin: 0;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "游明朝",
    serif;

  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .08em;
}

.yabuzaki-subhero__catch span {
  display: block;
  white-space: nowrap;
}

/* 右側説明 */
.yabuzaki-subhero__message {
  padding: 10px 0 10px clamp(35px, 5vw, 70px);
  border-left: 1px solid rgba(255,255,255,.65);
}

.yabuzaki-subhero__message p {
  margin: 0 0 23px;

  color: rgba(255,255,255,.95) !important;
  -webkit-text-fill-color: rgba(255,255,255,.95) !important;

  font-weight: 500;
  line-height: 2.1;
  letter-spacing: .05em;
}

.yabuzaki-subhero__message p:last-child {
  margin-bottom: 0;
}

/* 背景の大きな英字 */
.yabuzaki-subhero__background {
  position: absolute;
  right: -25px;
  bottom: -43px;
  margin: 0;

  color: rgba(255,255,255,.13);

  font-family: "Times New Roman", serif;
  font-size: clamp(90px, 17vw, 245px);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}


/* =========================================
   スマホ
========================================= */

@media screen and (max-width: 767px) {

  .yabuzaki-subhero {
    padding: 70px 28px 65px;
  }

  .yabuzaki-subhero__inner {
    display: block;
  }

  .yabuzaki-subhero__message {
    margin-top: 45px;
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.65);
  }

  .yabuzaki-subhero__catch {
    font-size: clamp(27px, 8vw, 35px);
  }

  .yabuzaki-subhero__catch span {
    white-space: normal;
  }

  .yabuzaki-subhero__background {
    font-size: 95px;
  }
}
/* =========================================
   PCヘッダーメニュー 文字サイズ
========================================= */
@media (min-width: 960px){

  .c-gnav > li > a{
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: .04em;
  }

}
/* ========================================
   ヘッダー電話
======================================== */

.yabu-header-tel {
  margin-left: 20px;
  white-space: nowrap;
}

.yabu-header-tel a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  padding: 9px 18px 10px;

  background: #063b78;
  border-radius: 6px;

  text-decoration: none !important;
  color: #fff !important;

  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  transition: .25s;
}

.yabu-header-tel a:hover {
  background: #0a4b92;
}

.yabu-header-tel__label {
  margin-bottom: 3px;
  color: #fff !important;
  font-size: 10px;
  letter-spacing: .08em;
}

.yabu-header-tel__number {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #fff !important;
  font-family: "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.1;
}

.yabu-header-tel__icon {
  color: #fff !important;
  font-size: 19px;
}

.yabu-header-tel__time {
  margin-top: 5px;
  color: #fff !important;
  font-size: 11px;
  letter-spacing: .05em;
  opacity: .85;
}

@media (max-width: 959px) {
  .yabu-header-tel {
    display: none;
  }
}
/* =========================================
   薮崎税務会計 PCヘッダー 2段レイアウト
========================================= */

@media (min-width: 960px) {

  #header .l-header__inner {
    max-width: 1400px !important;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ロゴ */
  #header .c-headLogo {
    flex-shrink: 0;
  }

  #header .c-headLogo__img {
    width: auto !important;
    max-width: none !important;
    height: 90px !important;
    object-fit: contain;
  }

  /* メニュー */
  #header .c-gnav {
    margin-left: auto;
  }

  #header .c-gnav > .menu > .menu-item > a {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* 電話 */
  #header .w-header {
    flex-shrink: 0;
    margin-left: 18px;
  }
}
/* =========================================
   PC 追従ヘッダーも1400px
========================================= */
@media (min-width: 960px) {

  /* 追従ヘッダー内部 */
  #fix_header .l-fixHeader__inner {
    max-width: 1400px !important;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }

}

.yabuzaki-concept-page,
.yabuzaki-concept-page *,
.yabuzaki-inheritance-page,
.yabuzaki-inheritance-page *,
.yabuzaki-management-page,
.yabuzaki-management-page *,
.yabuzaki-office-page,
.yabuzaki-office-page *,
.yabuzaki-service-page,
.yabuzaki-service-page *,
.yabuzaki-startup-page,
.yabuzaki-startup-page *,
.yabuzaki-succession-page,
.yabuzaki-succession-page *,
.yabuzaki-tax-page,
.yabuzaki-tax-page * {
  box-sizing: border-box;
}

.yabuzaki-concept-page,
.yabuzaki-inheritance-page,
.yabuzaki-management-page,
.yabuzaki-office-page,
.yabuzaki-startup-page,
.yabuzaki-succession-page,
.yabuzaki-tax-page {
  width: 100%;
  overflow: hidden;
  color: #333;
}

.yabuzaki-concept-page a,
.yabuzaki-inheritance-page a,
.yabuzaki-management-page a,
.yabuzaki-office-page a,
.yabuzaki-service-page a,
.yabuzaki-startup-page a,
.yabuzaki-succession-page a,
.yabuzaki-tax-page a {
  text-decoration: none;
}

.yabuzaki-concept-page h1,
.yabuzaki-concept-page h2,
.yabuzaki-concept-page h3,
.yabuzaki-inheritance-page h1,
.yabuzaki-inheritance-page h2,
.yabuzaki-inheritance-page h3,
.yabuzaki-management-page h1,
.yabuzaki-management-page h2,
.yabuzaki-management-page h3,
.yabuzaki-office-page h1,
.yabuzaki-office-page h2,
.yabuzaki-office-page h3,
.yabuzaki-startup-page h1,
.yabuzaki-startup-page h2,
.yabuzaki-startup-page h3,
.yabuzaki-succession-page h1,
.yabuzaki-succession-page h2,
.yabuzaki-succession-page h3,
.yabuzaki-tax-page h1,
.yabuzaki-tax-page h2,
.yabuzaki-tax-page h3 {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.yabuzaki-concept-page h1::before,
.yabuzaki-concept-page h1::after,
.yabuzaki-concept-page h2::before,
.yabuzaki-concept-page h2::after,
.yabuzaki-concept-page h3::before,
.yabuzaki-concept-page h3::after,
.yabuzaki-inheritance-page h1::before,
.yabuzaki-inheritance-page h1::after,
.yabuzaki-inheritance-page h2::before,
.yabuzaki-inheritance-page h2::after,
.yabuzaki-inheritance-page h3::before,
.yabuzaki-inheritance-page h3::after,
.yabuzaki-management-page h1::before,
.yabuzaki-management-page h1::after,
.yabuzaki-management-page h2::before,
.yabuzaki-management-page h2::after,
.yabuzaki-management-page h3::before,
.yabuzaki-management-page h3::after,
.yabuzaki-office-page h1::before,
.yabuzaki-office-page h1::after,
.yabuzaki-office-page h2::before,
.yabuzaki-office-page h2::after,
.yabuzaki-office-page h3::before,
.yabuzaki-office-page h3::after,
.yabuzaki-startup-page h1::before,
.yabuzaki-startup-page h1::after,
.yabuzaki-startup-page h2::before,
.yabuzaki-startup-page h2::after,
.yabuzaki-startup-page h3::before,
.yabuzaki-startup-page h3::after,
.yabuzaki-succession-page h1::before,
.yabuzaki-succession-page h1::after,
.yabuzaki-succession-page h2::before,
.yabuzaki-succession-page h2::after,
.yabuzaki-succession-page h3::before,
.yabuzaki-succession-page h3::after,
.yabuzaki-tax-page h1::before,
.yabuzaki-tax-page h1::after,
.yabuzaki-tax-page h2::before,
.yabuzaki-tax-page h2::after,
.yabuzaki-tax-page h3::before,
.yabuzaki-tax-page h3::after {
  content: none !important;
  display: none !important;
}
