/*
Theme Name: 特殊伐採ドットコムSEO
Theme URI: https://tokushubassaiya.com/article
Author: 株式会社GRACE
Author URI: https://gr1.jp
Description: 特殊伐採ドットコムのSEO用ブログテーマです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: テーマのテキストドメイン
*/

@charset "utf-8";

/*============================================================
==============================================================
 Reset
==============================================================
============================================================ */

/* すべての要素と疑似要素にボックスサイズをborder-boxに設定 */
* {
  box-sizing: border-box;
}

*:not(.single__content *),
*:not(.single__content *)::before,
*:not(.single__content *)::after {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}

/* リストのスタイルを削除 */
ol,
ul {
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

/* ボディの基本設定 */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* 文字の滑らかさ向上（WebKit系） */
  -moz-osx-font-smoothing: grayscale;
  /* 文字の滑らかさ向上（Firefox Mac） */
  text-rendering: optimizeLegibility;
  /* テキストの可読性向上 */
  margin: 0;
  background-color: var(--bg-color);
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
}

figure:not(.single-content figure) {
  margin: 0;
}

@media screen and (max-width: 767px) {
  body:has(#humSwitch:checked) {
    display: block;
    max-height: 100vh;
    overflow: hidden;
  }
}

:root {
  --content-max-width: 1200px;
  --main-color: #1e3002;
  --sub-color: #1d6b43;
  --gray-color: #d2d2d2;
  --bg-color: #fffffb;
  --header-height: 96px;

  --acc-color: #fc5600;
  --tel-color: #f21c1c;
  --mail-color: var(--acc-color);
  --line-color: #1bba1b;

  --btn-depth: clamp(3px, 0.5vw, 6px);
}

.tel {
  --cta-bg: var(--tel-color);
}

@media screen and (min-width: 768px) {

  a.tel,
  .tel a {
    pointer-events: none;
  }
}

.mail {
  --cta-bg: var(--mail-color);
}

.line {
  --cta-bg: var(--line-color);
}

@media screen and (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

}

/* 画像やpicture要素の最大幅を100%にし、ブロック表示に */
img,
picture {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-style: none;
  /* 画像の枠線を削除 */
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* フォーム要素のデフォルトスタイルをリセット */
button,
input,
select,
textarea {
  font: inherit;
  /* 親要素のフォントを継承 */
  color: inherit;
  /* 親要素の色を継承 */
  background: none;
  /* 背景をなしに */
  border: none;
  /* 枠線をなしに */
  outline: none;
  /* アウトラインをなしに */
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  /* ブラウザ固有のスタイルを無効化 */
  -moz-appearance: none;
  appearance: none;
}

label {
  cursor: pointer;
}

/* リンクのデフォルトスタイルをリセット */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/* テーブルの余白と枠線のリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* blockquote と q の引用符を削除 */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

/* 水平線のデフォルトスタイルをリセット */
hr {
  border: none;
  border-top: 1px solid var(--gray-color);
  margin: 1em 0;
}

/* fieldset の枠線と余白をリセット */
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

/* legend のパディングをリセット */
legend {
  padding: 0;
}

/* textarea のリサイズを縦方向のみに制限 */
textarea {
  resize: vertical;
}

a:hover {
  opacity: .8;
}


/*=========================================
common
=========================================*/
.container {
  max-width: var(--content-max-width);
  width: calc(100vw - 48px);
  margin: 0 auto;
}

.section+.section {
  margin-top: 80px
}

.cmn__sec-ttl {
  font-size: 20px;
  padding-bottom: .2em;
  border: solid var(--main-color);
  border-width: 0 0 5px 0;
  font-weight: 500;
  margin-bottom: 40px;
}

.nowrap {
  display: inline-block;
}

.oswald {
  font-family: "Oswald", sans-serif;
  transform: scaleY(0.95);
}

@media screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .container {
    width: calc(100vw - 30px);
  }

  .cmn__sec-ttl {
    padding: 0 0 0 .5em;
    border-width: 0 0 0 5px;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .section+.section {
    margin-top: 40px
  }

  .pc {
    display: none !important;
  }
}

.cmn-cta {
  margin: 40px 0 24px;
  position: relative;
  border: 1px solid var(--main-color);
  border-radius: 10px;
}

.cmn-cta * {
  margin: 0;
}

.cmn-cta__header {
  width: 100%;
  background: var(--main-color);
  padding: 0 15px;
  align-items: center;
  border-radius: 10px 10px 0 0;
  border-bottom: 2px solid var(--main-color);
}

.cmn-cta__header--flex {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: stretch;
}

.cmn-cta__header>* {}

.cmn-cta__hd-text {
  color: var(--main-color);
  background: #fff;
  padding: 0.5em 1em 0.6em;
  border-radius: 100px;
  font-weight: 700;
}

.cmn-cta__icon {
  margin-top: max(-6%, -30px);
}

.cmn-cta__content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: stretch;
  padding: 20px 15px 20px;
}

.cmn-cta__link {
  position: relative;
  font-size: 32px;
  color: #fff;
  border-radius: 10px;
  border: 2px solid var(--cta-bg);
  background: var(--cta-bg);
  --arrow-color: var(--cta-bg);
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 16px;
  justify-content: left;
  box-shadow: 0 0 2px #0008;
  min-height: 72px;
}

.cmn__link-btn-wrp {
  position: relative;
  display: block;
  padding-bottom: 10px;
  transition: padding 0.2s;
  min-width: 232px;
  flex-grow: 1;
}

.cmn-cta__area-link-wrap {
  --cta-bg: var(--sub-color);
}

.cmn__link-btn-wrp:hover,
.cmn__link-btn-wrp:active {
  padding-bottom: 0;
  padding-top: 10px;
}

.cmn__link-btn-wrp::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 10px);
  bottom: 0;
  border-radius: 10px;
  background: var(--cta-bg);
  filter: brightness(0.8);
}

@media screen and (max-width: 767px) {

  .cmn__link-btn-wrp:hover,
  .cmn__link-btn-wrp:active {
    padding-top: 5px;
  }

  .cmn__link-btn-wrp {
    padding-bottom: 5px;
  }

  .cmn__link-btn-wrp::before {
    height: calc(100% - 5px);
  }
}

.cmn__arrow-btn {
  display: flex;
  align-items: center;
  height: 100%;
}

.cmn__arrow-btn::before {
  content: none;
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  border-radius: 5px;
  pointer-events: none;
}

.cmn__arrow-btn::after {
  content: "▶︎";
  color: var(--arrow-color);
  display: block;
  text-align: center;
  align-content: center;
  line-height: 1;
  border-radius: 100px;
  aspect-ratio: 1 / 1;
  font-size: 16px;
  width: 32px;
  padding-left: 3px;
  padding-bottom: 2px;
  margin-left: auto;
  border: 2px solid var(--arrow-color);
  background: #fff;
}

@media screen and (min-width: 768px) {
  .cmn-cta__link.tel::after {
    content: none !important;
  }
}

.cmn-cta__icon-wrp {
  display: block;
  width: 1em;
  aspect-ratio: 2/3;
}

.cmn-cta__link-text--main {
  font-weight: 700;
  line-height: 1.2;
  display: block;
  font-size: 22px;
}

.cmn-cta__link-text--sub {
  font-weight: 700;
  font-size: 14px;
  display: block;
  line-height: 1;
}

.cmn-cta__area-link-wrap {
  width: 100%;
}

.cta-tel-num {
  line-height: 1.2;
}

@media screen and (max-width: 767px) {
  .cmn-cta__link {
    font-size: 22px;
    padding: 8px;
    gap: 5px;
  }

  .cmn__arrow-btn::after {
    font-size: 12px;
    width: 24px;
  }

  .cmn-cta__link-text--sub {
    font-size: 12px;
  }

  .cmn-cta__link-text--main {
    font-size: 20px;
  }
}

/*=========================================
header
=========================================*/
.header {
  display: flex;
  flex-direction: column;
  position: relative;
  height: var(--header-height);
  box-shadow: 0 5px 10px #0002;
  z-index: 999;
}

.header:has(#humSwitch:checked) {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.header__upper-content {
  background: var(--main-color);
  height: 24px;
  align-content: center;
}

.header__page-title {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__lower-content {
  flex-grow: 1;
  align-content: center;
  background: var(--bg-color);
  padding: 5px 0;
  height: 72px;
}

.header__content {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;

  max-width: var(--content-max-width);
  width: calc(100vw - 48px);
  margin: 0 auto;
  height: 100%;
}


.header__home-link {
  display: block;
  width: 30%;
  min-width: 160px;
  max-width: 240px;
}

.header__site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-gnav {
  margin-left: auto;
}

@media screen and (max-width: 767px) {

  .header__content {
    gap: 0;
    width: 100%;
    margin: 0;
    padding-left: 15px;
  }

  .header__lower-content {
    height: auto;
  }

  .header-gnav {
    position: fixed;
    display: block;
    width: 100vw;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(100%);
    transition: transform 0.4s;
    padding: 92px 20px 20px;
    color: #fff;
    background: url(images/bg_pattern.png)repeat center/25px;
    background: var(--main-color);
    opacity: 0.95;
    z-index: -1;
  }

  .header:has(#humSwitch:checked) .header-gnav {
    transform: translateX(0);
  }

  body:has(#humSwitch:checked) .footer-copyright {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
  }

  body:has(#humSwitch:checked) .fixed_footer {
    bottom: 32px;
    opacity: 1;
    pointer-events: all;
  }
}

.header-gnav__list {
  display: flex;
  height: 100%;
}

.header-gnav__item {
  align-content: end;
}

.header-gnav__link {
  display: block;
  margin-top: auto;
  padding: 0.5em 1em;
  text-align: center;
  font-size: 14px;
  border-bottom: 5px solid transparent;
}

.header-gnav__link.current {
  border-bottom: 5px solid var(--main-color);
}

.header-gnav__areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.header-gnav__area-link {
  display: block;
  background: #fff;
  color: var(--main-color);
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.header__cta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.header__cta__icon-wrp {
  display: block;
  max-width: 90%;
  width: 32px;
  aspect-ratio: 1/1;
  margin: auto;
  align-content: center;
}

.header__cta__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 40px;
}

.header__contact-link {
  display: flex;
  color: #fff;
  background: var(--cta-bg);
  align-items: center;
  padding: 5px;
  border-radius: 10px;
  margin-bottom: var(--btn-depth);
  position: relative;
  transition: margin 0.4s;
  justify-content: center;
  height: 56px;
}

.header__contact-link::before {
  content: "";
  display: block;
  position: absolute;
  background: var(--cta-bg);
  filter: brightness(.8);
  border-radius: 10px;
  inset: 0;
  z-index: -1;
  transform: translateY(var(--btn-depth));
  transition: transform 0.4s;
}

.header__contact-link:hover {
  opacity: 1;
  margin-top: var(--btn-depth);
  margin-bottom: 0px;
}

.header__contact-link:hover::before {
  transform: translateY(0px);
}

.header__contact-link.tel {
  padding-right: 12px;
}

.header__contact-link.mail,
.header__contact-link.line {
  aspect-ratio: 20/19;
}

.header__tel-text {
  font-size: 20px;
  text-align: left;
}

@media screen and (max-width: 999px) {
  .header__tel-text {
    display: none;
  }

  .header__content {
    align-items: center;
    gap: 15px;
  }

  .header__contact-link.tel {
    aspect-ratio: 20/19;
    padding-right: 5px;
  }
}

.header__tel-num {
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
}

.header__tel-info {
  font-size: .5em;
  line-height: 1.4;
  font-weight: 500;
}

.header__cta__line-icon {
  max-width: 60px;
}

.header__hum-switch {
  z-index: 999;
  align-content: center;
  height: 100%;
  aspect-ratio: 1 / 1;
  padding: 8px 8px 10px;
}

.header__hum-switch__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-content: center;
  position: relative;
}

.header__hum-switch__bar {
  position: absolute;
  display: block;
  height: 3px;
  right: 0;
  left: 0;
  border-radius: 100px;
  background: var(--sub-color);
  transition: all 0.4s ease;
}

.header__hum-switch__bar:first-child {
  transform: translateY(-300%);
}

.header__hum-switch__bar:last-child {
  transform: translateY(300%) rotate(0);
}

.header:has(#humSwitch:checked) .header__hum-switch__bar:first-child {
  transform: translateY(0) rotate(135deg);
}

.header:has(#humSwitch:checked) .header__hum-switch__bar:nth-child(2) {
  opacity: 0;
}

.header:has(#humSwitch:checked) .header__hum-switch__bar:last-child {
  transform: translateY(0) rotate(225deg);
}

@media screen and (max-width: 767px) {
  .header__cta {
    margin-left: auto;
  }

  .header__contact-link {
    max-width: 40px;
    height: auto;
  }

  .header__cta__icon {
    max-width: 32px;
  }

  .scrolled:not(:has(#humSwitch:checked)) .header__hum-switch {
    position: fixed;
    width: 40px;
    height: 40px;
    top: 0;
    right: 0;
    aspect-ratio: 1/1;
    background: #fff4;
  }

  .header-gnav__list {
    flex-direction: column;
  }

  .header-gnav__link {
    padding: .5em 0;
    border-bottom: 1px solid #fff;
    font-size: 20px;
  }

  .header-gnav__link.current {
    border: none;
    background: #fff;
    color: var(--main-color);
    font-weight: 500;
  }
}

/*=========================================
top
=========================================*/

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: .25em;
  font-size: 14px;
  line-height: 1.6;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.breadcrumb__item:last-child {
  flex-grow: 1;
  overflow-x: hidden;
}

.breadcrumb__text {
  display: block;
  width: 100%;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.breadcrumb__link {
  color: var(--sub-color);
  text-decoration: underline;
}

.breadcrumb__item+.breadcrumb__item::before {
  content: '>';
  margin-right: .25em;
}

.top-mv {
  background: url(images/top_mv_bg.jpg)no-repeat center/cover;
  min-height: 240px;
  padding: 40px 0 80px;
  align-content: center;
  margin-bottom: -40px;
}

.top-mv__customers {
  display: flex;
  width: max-content;
  max-width: 100%;
  background: #fff;
  color: var(--sub-color);
  font-weight: 500;
  border-radius: 100px;
  padding: .5em .8em .6em;
  line-height: 1;
  flex-wrap: wrap;
  gap: 5px 0;
}

.top-mv__customer-item {
  display: block;
  white-space: nowrap;
  font-size: 14px;
}

.top-mv__customer-item+.top-mv__customer-item::before {
  content: "｜";
}

.mv__text {
  color: #fff;
  font-weight: 900;
  text-shadow: .05em .05em 0 var(--main-color);
  font-size: 40px;
  font-style: italic;
  line-height: 1.2;
}

.top-mv__dot {
  margin: 0 -.3em;
}

.top-mv__yellow {
  color: #ffff00;
}

.top-mv__strong {
  font-size: 1.6em;
}

.top-mv__shop-name {
  font-size: 1.2em;
}


.top-mv__services {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.top-mv__service-item {
  background: #fc8b01;
  border-radius: 1000px;
  padding: .2em .7em .3em;
  line-height: 1;
  box-shadow: .1em .1em .5em #0008;
  color: #fff;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 18px;
}

.top__lp-banner {
  width: 100%;
  background: var(--main-color);
}

.top__lp-banner__container {
  max-width: var(--content-max-width);
  width: calc(100vw - 24px);
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .top-mv {
    min-height: 120px;
    padding: 24px 0 64px;
  }

  .home .mv__text {
    margin-top: 20px;
  }

  .mv__text {
    font-size: 24px;
  }

  .top-mv__service-item {
    font-size: 16px;
  }

  .top-mv__customers {
    border-radius: 10px;
  }

  .top-mv__customer-item {
    font-size: 12px;
  }

  .top__lp-banner__container {
    width: 100%;
  }

  .breadcrumb__list {
    font-size: 12px;
  }
}

/*=========================================
main
=========================================*/

.header:has(#humSwitch:checked)+main {
  margin-top: var(--header-height);
}

.main {
  padding-bottom: 80px;
}

.main-content {
  padding: 40px 0 0;
  position: relative;
  z-index: 1;
  border-radius: 40px 40px 0 0;
  background: var(--bg-color);
}

.main-content__grid-box {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px min(5.33vw, 64px);
  padding-top: 56px;
  padding-bottom: 24px;
}

@media screen and (max-width: 767px) {

  .main {
    padding-bottom: 80px;
  }

  .main-content {
    padding: 24px 0 0;
    border-radius: 24px 24px 0 0;
  }

  .main-content__grid-box {
    padding-top: 24px;
    grid-template-columns: 100%;
  }
}

/*=========================================
footer
=========================================*/
.footer {
  background: var(--main-color);
  padding: 64px 0;
  background: url(images/bg_pattern.png) repeat center / 25px;
}

.footer__site-description {
  font-size: 14px;
  font-weight: 700;
  color: var(--main-color);
}

.footer__content {
  background: var(--bg-color);
  padding: 40px 24px;
  border-radius: 10px;
  width: 100%;
}

.footer__flex-wrp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: auto;
  width: max-content;
  max-width: 100%;
  align-items: stretch;
  justify-content: center;
}

.footer-copyright {
  text-align: center;
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  height: 32px;
  align-content: center;
}

.footer__home-link {
  display: block;
  max-width: 320px;
}

.footer__company-info {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 10px 5px;
  margin-top: 24px;
}

.footer__company-info__cell {
  align-content: center;
}

.footer__company-info__ttl {
  color: #fff;
  width: 40px;
  font-weight: 700;
  background: var(--main-color);
  border-radius: 1000px;
  aspect-ratio: 1/1;
  font-size: 12px;
  text-align: center;
  align-content: center;
}

.footer__company-info__data {
  font-size: 14px;
  max-width: 70vw;
}

.footer-sitemap {
  padding-left: 24px;
  border-left: 1px solid var(--main-color);
  align-content: center;
}

.footer-sitemap__ttl {
  color: var(--main-color);
}

.footer__sitemap__nav {
  margin-top: 15px;
}


.footer__sitemap__list {
  margin-left: 1em;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.footer__sitemap__item {
  list-style-type: "- ";
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 40px 0;
    position: relative;
  }

  .footer__content {
    padding: 40px 15px;
    width: max-content;
    margin: auto;
  }

  .footer__flex-wrp {
    grid-template-columns: 100%;
    gap: 20px;
  }

  .footer__site-description {
    text-align: center;
  }

  .footer-copyright {
    font-size: 10px;
  }

  .footer-sitemap {
    padding-left: 0;
    border-left: none;
  }

  .footer-sitemap__ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .footer-sitemap__ttl::before,
  .footer-sitemap__ttl::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--main-color);
    flex-grow: 1;
  }

  .footer__sitemap__list {
    grid-template-columns: 100%;
    gap: 10px;
  }
}

/*=========================================
sidebar
=========================================*/
.sidebar {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 30vw;
}

.sidebar__section-header {
  display: flex;
  align-items: center;
  gap: .25em;
  padding: 10px;
  border-radius: 5px;
  background: var(--main-color);
  color: #fff;
}


.sidebar__section-icon {
  width: 2.5em;
  aspect-ratio: 1/1;
  color: #fff;
}

.sidebar__section:not(:last-child) {
  margin-bottom: 20px;
}

.sidebar__section-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.sidebar__section-title--small {
  font-size: 12px;
  display: block;
}

.sidebar__post-title {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  margin-top: .2em;
}

.sidebar__post-list {
  display: grid;
  grid-template-columns: 100%;
  margin-top: 10px;
}

.sidebar__post-item {
  padding: 10px 0;
}

.sidebar__post-item {
  border-bottom: var(--gray-color) 1px solid;
}

.sidebar__post-link {
  display: grid;
  grid-template-columns: 80px 3fr;
  gap: 15px;
  border-radius: 4px;
}

.sidebar__post-thumb-wrp {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.sidebar__post-thumb-wrp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar__entry-summary {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 767px) {


  .sidebar__post-header {
  }

  .sidebar__post-title {
    font-size: 18px;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    padding: 0.3em 0;
  }

  .sidebar__post-thumb-wrp {
    grid-row: 1/3;
  }
}

/*=========================================
TOC（投稿目次）
=========================================*/
.sidebar__toc {
  position: sticky;
  top: 40px;
}

.sidebar__toc .table-of-contents {
  max-height: 80vh;
  overflow-y: scroll;
}

.table-of-contents {
  padding-bottom: 24px;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.toc-header {
  background: var(--main-color);
  text-align: center;
  padding: .5em;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1;
  position: sticky;
  top: 0;
}

.toc-list {
  display: flex;
  padding-left: 30px;
  padding-right: 20px;
  margin-right: 10px;
  flex-direction: column;
  font-size: 14px;
  margin-top: 20px;
  counter-reset: toc-item-lebel2 0;
  gap: 12px;
}

.toc-list li {
  display: flex;
  gap: .5em;
  align-items: center;
}

.toc-list .toc-level-2 {
  counter-increment: toc-item-lebel2 1;
}

.toc-list .toc-level-2+.toc-level-3 {
  counter-reset: toc-item-lebel3 0;
}

.toc-list .toc-level-3 {
  counter-increment: toc-item-lebel3 1;
}

.toc-list .toc-level-2::before {
  content: counter(toc-item-lebel2)". ";
}

.toc-list .toc-level-3::before {
  content: counter(toc-item-lebel2)"-" counter(toc-item-lebel3)".";
}

.toc-list .toc-level-4::before,
.toc-list .toc-level-5::before,
.toc-list .toc-level-6::before {
  content: "- ";
}

.toc-list a {
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.toc-list a:hover {
  text-decoration: underline;
}

/* 階層インデント */
.toc-level-2 {
  padding-left: 0;
  font-weight: 700;
  font-size: 1.2em;
}

.toc-level-2:not(:first-child) {
  margin-top: 0.8em;
}

.toc-level-3 {
  padding-left: 20px;
  font-weight: 500;
}

.toc-level-4 {
  padding-left: 40px;
}

.toc-level-5 {
  padding-left: 60px;
}

.toc-level-6 {
  padding-left: 80px;
}

@media screen and (max-width: 767px) {
  .table-of-contents {
    width: max-content;
    max-width: 100%;
    margin: 24px auto;
  }

  .toc-list {
    font-size: 13px;
    line-height: 1.6;
    max-height: 120px;
    overflow: hidden;
    padding-bottom: 20px;
    transition: max-height 1s;
  }

  .table-of-contents:has(:checked) .toc-list {
    max-height: 320px;
    overflow-y: scroll;
  }


  /* Webkit系ブラウザ（Chrome, Safari, Edge）用 */
  .toc-list::-webkit-scrollbar {
    width: 8px;
  }

  .toc-list::-webkit-scrollbar-track {
    background: var(--gray-color);
    border-radius: 4px;
  }

  .toc-list::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 4px;
  }

  .toc-list::-webkit-scrollbar-thumb:hover {
    background: var(--sub-color);
  }

  .toc-list::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #fff 40px, transparent);
    opacity: 1;
    pointer-events: none;
    transition: opacity .5s;
  }

  .table-of-contents:has(:checked) .toc-list::after {
    opacity: 0;
  }

  .toc-label {
    display: flex;
    position: relative;
    width: max-content;
    max-width: 100%;
    padding-bottom: .2em;
    margin: auto;
    font-weight: 700;
    font-size: 14px;
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
    z-index: 1;
  }

  .toc-label .open,
  .toc-label .close {
    transition: opacity .5s;
  }

  .toc-label .open {
    display: block;
    opacity: 1;
  }

  .toc-label .close {
    display: none;
    opacity: 0;
  }

  .table-of-contents:has(:checked) .toc-label .open {
    display: none;
    opacity: 0;
  }

  .table-of-contents:has(:checked) .toc-label .close {
    display: block;
    opacity: 1;
  }

  .toc-label::after {
    content: "▼";
    display: block;
    margin-left: .5em;
  }

  .toc-label:has(:checked)::after {
    transform: rotate(180deg);
  }

  .sidebar {
    margin-top: 64px;
    max-width: none;
    width: 100%;
  }

  .home .sidebar {
    margin-top: 0;
    order: -1;
  }

  .sidebar__post-link {
    grid-template-columns: min(30vw, 200px) auto;
    align-items: flex-start;
  }
}

/*=========================================
fixed-cta
=========================================*/
.fixed_footer {
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}

.fixed_pagetop {
  position: absolute;
  z-index: 1000;
  right: 15px;
  bottom: 88px;
  width: 64px;
  height: 64px;
}

body:has(#humSwitch:checked) .fixed_pagetop {
  display: none;
}

.scrolled .fixed_footer {
  opacity: 1;
  pointer-events: all;
}

.fixed_footer_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  align-items: center;
  gap: 5px;
}

.fixed_footer_btn-icon {
  width: 1.6em;
}

.fixed-linelink-btn {
  display: block;
  max-width: 240px;
}

.fixed_footer_icon {
  width: 12%;
}

.fixed_footer_img {
  width: 23%;
}

.fixed_footer_icon img {
  margin-top: -20%;
}

.fixed_footer_btn {
  display: flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  align-items: center;
  background:
    linear-gradient(180deg, #fff4, transparent 50%, #0002),
    var(--cta-bg);
  font-size: clamp(0px, 1.16vw, 14px);
  font-weight: 700;
  color: #fff;
  border-radius: 10px;
  border: 2px solid #fff;
  padding: 5px 10px;
  gap: 0 .5em;
  text-align: center;
  min-height: 56px;
  line-height: 1;
  --arrow-color: var(--cta-bg);
}

.line-contact__heading-emphasis {
  font-size: 1.2em;
  font-weight: bold;
}

.line-contact__heading {
  background: #ffeb03;
  color: var(--sub-color);
  font-size: .4em;
  padding: .2em 1em;
  border-radius: 100px;
}

.mail-contact__ttl {
  font-weight: 900;
}

.line-contact__ttl {
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1.2;
}

.line-contact__description {
  line-height: 1.2;
  font-size: .4em;
}

.free_icon {
  width: 16%;
}

.contact-tel {
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: center;
}

.contact-tel__num {
  white-space: nowrap;
}

.contact-tel__link {
  display: flex;
  align-items: center;
  font-size: 22px;
}

.contact-tel__info {
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  line-height: 1;
  margin: .3em 0 .5em;
}

.contact-tel__info-label {
  background: #fff;
  color: var(--main-color);
  padding: .1em .3em .15em;
  border-radius: 5px;
  font-size: 0.8em;
}


@media screen and (max-width: 767px) {
  .fixed_footer {
    padding: 10px 0 15px;
  }

  .fixed_footer_inner {
    display: grid;
    grid-template-columns: repeat(3, clamp(0px, 33%, 160px));
    margin: auto;
    gap: 2px;
  }

  .contact-tel {
    background:
      linear-gradient(180deg, #fff4, transparent 50%, #0002),
      var(--cta-bg);
    border-radius: 10px;
    border: 2px solid #fff;
    padding: 5px 2px;
    min-height: 56px;
  }

  .contact-tel__link {
    font-size: 12px;
    justify-content: center;
  }

  .contact-tel__cta {
    font-size: 6.5px;
    text-align: center;
    font-weight: 700;
  }

  .line-contact__heading {
    font-size: 8px;
  }

  .contact-tel__info {
    font-size: 8px;
    text-align: center;

  }

  .contact-tel__info-label {
    color: var(--cta-bg);
  }

  .fixed_footer_btn {
    flex-direction: column;
    font-size: 12px;
    justify-content: center;
    padding: 5px;
    padding-bottom: 8px;
  }

  .fixed_footer_btn::after {
    content: none;
  }

  .line-contact__description {
    font-size: .6em;
  }

}

/*=========================================
home
=========================================*/
.home__page-ttl {}


.home__post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 15px;
  margin-top: 24px;
}

.home__post-item {
  position: relative;
}

.home__post-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}

.home__post-link:hover {
  opacity: 1;
}

.home__post-link:hover .post-item-header,
.home__post-link:hover .post-content {
  opacity: 0.5;
}

.post-item-header {
  padding-left: 5px;
}

.home__post-thumb-wrp {
  display: block;
  aspect-ratio: 3/2;
  background: var(--gray-color);
  overflow: hidden;
  position: relative;
  order: -1;
}

.home__post-thumb-wrp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home__post-link:hover .home__post-thumb-wrp img {
  transform: scale(1.15);
}

.home__post-thumb__noimage {
  position: absolute;
  inset: 0;
  text-align: center;
  align-content: center;
  color: #fff;
  font-weight: 800;
}

.post__info {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  flex-wrap: wrap;
}

.post-content {
  transition: opacity .2s;
  padding-left: 15px;
  padding-bottom: 10px;
  border-left: 1px solid var(--gray-color);
  border-bottom: 1px solid var(--gray-color);
  flex-grow: 1;
}

.post-data {
  font-size: 12px;
  color: #666;
}

.post-data--new {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--sub-color);
  color: #fff;
  padding: .2em .6em;
  font-size: 14px;
  font-weight: 500;
  z-index: 1;
}

.post-author {
  display: flex;
  align-items: center;
  font-size: 12px;
  gap: .2em;
  color: var(--sub-color);
}

.sidebar .post-author {
  font-size: 10px;
}

.post-info__icon {
  display: inline-block;
  width: 1.5em;
  aspect-ratio: 1/1;
}

.entry-title {
  font-size: 18px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  padding: 0.3em 0;
}

.entry-summary {
  font-size: 13px;
  line-height: 1.4;
}

.home-pagination {
  margin-top: 40px;
}

.home-pagination__total-count {
  margin-top: 40px;
  font-size: 16px;
  text-align: center;
}

.home-pagination__wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  justify-content: space-between;
  align-items: flex-end;
}

.home-pagination__numbers {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.home-pagination__text {
  color: var(--main-color);
  opacity: .8;
  font-size: 14px;
}

.home-pagination__prev,
.home-pagination__next {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: underline;
}

.home-pagination__text:first-child,
.home-pagination__prev {
  text-align: left;
}

.home-pagination__text:last-child,
.home-pagination__next {
  text-align: right;
}

.home-pagination__link {
  color: var(--main-color);
  font-weight: 700;
  display: block;
  aspect-ratio: 1/1;
  text-align: center;
  align-content: center;
  width: 1.8em;
  line-height: 1;
  padding-bottom: .2em;
  border-radius: 100px;
  border: 1px solid var(--main-color);
}

.home-pagination__link.current {
  color: #fff;
  background: var(--main-color);
}

@media screen and (max-width: 767px) {
  .home__page-ttl {
    padding: 10px;
    border-radius: 5px;
    background: var(--main-color);
    color: #fff;
    font-weight: 700;
    min-height: 60px;
    align-content: center;
  }

  .home-pagination__wrapper {
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    gap: 15px 0;
  }

  .home-pagination__numbers {
    grid-row: 1/2;
    grid-column: 1/3;

  }

  .home__post-list {
    grid-template-columns: 100%;
    gap: 30px;
  }

  .home__post-link {
    display: grid;
    grid-template-columns: min(30vw, 200px) auto;
    padding: 0;
    gap: 10px 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-color)
  }

  .post-data {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .post-item-header {
    border-left: 5px solid var(--main-color);
    padding-left: 10px;
    grid-column: 1 / 3;
    order: -1;
  }

  .post-data--new {
    position: relative;
    font-size: 12px;
  }

  .home__post-thumb-wrp {
    aspect-ratio: 1/1
  }

  /*
  .home__post-thumb-wrp:has(.home__post-thumb__noimage) {
    display: none;
  }*/

  .post-content {
    padding: 0;
    border: none;
    margin: 0;
  }
}

/*=========================================
single
=========================================*/
.single__header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 10px;
  border-left: 5px solid var(--main-color);
}

.single__meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.single__date {
  color: #666;
  font-size: 14px;
}

.single__page-ttl {
  font-weight: 700;
  font-size: 28px;
}

.home-post__filter {
  display: flex;
  gap: 15px;
  align-items: center;
  /*padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--main-color);
  background: #f5f5dc;*/
}

.home-post__filter-text {
  font-size: 14px;
  color: var(--main-color);
  font-weight: 700;
  white-space: nowrap;
}

.post__categories {
  display: flex;
  align-content: center;
  gap: 10px 5px;
  flex-wrap: wrap;
}

.post__cat-item {
  display: block;
  padding: .13em .5em .22em;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  width: max-content;
  max-width: 100%;
  background: #fff;
  box-sizing: border-box;
  min-width: 96px;
  text-align: center;
}

.post__cat-item.empty {
  color: #fff;
  background: var(--gray-color);
  border-color: var(--gray-color);
}

.post__cat-item.current {
  background: var(--main-color);
  color: #fff;
}


.single__article {
  display: grid;
  gap: 32px;
  grid-template-columns: 100%;
}

.single__thumbnail {
  margin: auto;
}

.single__thumbnail img {
  width: 100%;
  height: auto;

}

.single__pagination {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.single__pagination__prev {
  text-align: left;
  margin-right: auto;
  width: max-content;
}

.single__pagination__prev::before {
  content: "＜";
  display: block;
  transform: scaleX(0.8);
}

.single__pagination__next {
  text-align: right;
  margin-left: auto;
  width: max-content;
}

.single__pagination__next::after {
  content: "＞";
  display: block;
  transform: scaleX(0.8);
}

.single__pagination__prev,
.single__pagination__next {
  color: var(--sub-color);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.1em;
  border-bottom: 1px solid var(--sub-color);
}

.single__pagination__prev--disabled,
.single__pagination__next--disabled {
  border: none;
  color: #888;
}


.single__pagination__prev--disabled::before,
.single__pagination__next--disabled::after {
  content: none;
}

.single__pagination__archive {
  width: max-content;
  text-align: center;
  background: var(--main-color);
  padding: .5em 1em;
  min-width: 160px;
  color: #fff;
  font-weight: 500;
  margin: auto;

}

.single__content {}

.single__author-block {
  margin-top: 64px;
  border: var(--main-color) 1px solid;
  border-radius: 10px;
  padding: 15px 24px;
}

.author-block__container {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 10px 24px;
  align-items: center;
}

.author-block__icon {
  display: block;
  aspect-ratio: 1/1;
  border: 1px solid var(--gray-color);
  grid-row: 1/3;
}

.author-block__icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.author-block__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 1em;
  font-size: 18px;
  align-items: center;
  line-height: 1.4;
}

.author-block__meta-value {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--main-color);
}

.author-block__description {
  font-size: 14px;
  background: #f5f5dc;
  padding: 10px;
  border-radius: 5px;
}

.single__area-link-wrap {
  margin-top: 40px;
}

@media screen and (max-width: 767px) {

  .home-post__filter {
    flex-direction: column;
    margin: 24px auto;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-color);
  }

  .home-post__filter .post__categories {
    justify-content: center;
  }

  .single__pagination {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .single__pagination__archive {
    grid-column: 1/3;
    order: 3;
    width: 200px;
  }

  .home-post__filter .post__cat-item {
    font-size: 16px;
  }

  .single__author-block {
    padding: 15px;
  }

  .author-block__container {
    gap: 10px 15px;
  }

  .author-block__icon {
    grid-row: 1/2;
    min-width: 80px;
  }

  .author-block__description {
    grid-column: 1/3;
  }

  .author-block__meta {
    font-size: 14px;
  }
}

/*=======シングルコンテンツ内　デフォルトスタイル　ここから========*/

.single__content *:not(.cmn-cta *) {
  font-weight: revert;
  width: 100%;
}

.single__content h2 {
  color: #fff;
  background: var(--main-color);
  font-size: 24px;
  padding: .8em;
  line-height: 1;
  border-radius: 5px;
  margin-bottom: 40px;
  margin-top: 64px;
}

.single__content h2:first-child {
  margin-top: 0;
}

.single__content h3 {
  margin-top: 32px;
}

.single__content h3::before {
  content: "●";
  color: var(--sub-color);
  display: inline-block;
  margin-right: .4em;
}

.single__content p:not(.cmn-cta p) {
  font-size: 16px;
  line-height: 1.6;
  margin: 32px 0;
}

.single__content .wp-block-table {
  margin: 32px 0 40px;
}

.single__content thead td,
.single__content th {
  text-align: center;
  border-color: #000 !important;
}

.single__content thead td {
  background: var(--sub-color);
  color: #fff;
  font-weight: 700;
}

.single__content th {
  background: #f5f5dc;
}

.single__content .is-layout-flex>* {
  flex-grow: 1;
}

.single__content ul,
.single__content ol {
  display: grid;
  width: max-content;
  max-width: 100%;
}

.single__content ol {
  gap: 1em;
  padding-left: 2em;
}

.single__content ul:not(#blogcard .blogcard__post-categories) {
  background: #f5f5dc;
  gap: 1.2em;
  border-radius: 10px;
  padding: 24px 40px;
  margin: 20px 0;
}

.single__content li:not(.post__cat-item) {
  font-size: 16px;
}

.single__content ul li {
  list-style-type: disc !important;
}

.single__content ol li {
  list-style-type: decimal;
}

.single__content .wp-block-quote {
  border-color: var(--sub-color);
  margin-left: auto;
  max-width: 90%;
}

.single__content li ul {
  padding: 0;
  padding-left: 20px;
}

.single__content .wp-block-image {
  max-width: 640px;
  margin: auto;
}

.single__content .wp-block-image img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {

  .single__content p:not(.cmn-cta p) {
    font-size: 14px;
    margin: 24px 0;
  }

  .single__content li {
    font-size: 14px;
  }

  .single__content .wp-block-quote {
    max-width: 100%;
  }
}

/*=======シングルコンテンツ内　デフォルトスタイル　ここまで========*/

.single__branch-link {
  width: 100%;
  --branch-link-color: var(--sub-color);
  background:
    url(svg/map.svg)no-repeat right center /40% 130%,
    var(--branch-link-color);
  border-radius: 10px;
  display: flex;
  gap: 24px;
  padding: 20px;
  border: 2px solid var(--branch-link-color);
  align-items: center;
  justify-content: space-between;
  max-height: 200px;
  min-height: 120px;
  box-sizing: border-box;
  --arrow-color: var(--branch-link-color);
  box-shadow: 0 0 2px #0008;
  position: relative;
}

.single__branch-link:hover {
  --branch-link-color: var(--line-color);
  opacity: 1;
}

.single__branch-link__content {
  max-width: 75%;
}

.single__branch-text {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}

.single__branch-text--main {
  display: block;
  font-size: 1em;
  line-height: 1.2;
  margin: 0;
}

.single__branch-text--sub {
  font-size: 0.6em;
  display: block;
  line-height: 1.6;
  margin: 0;
}


@media screen and (max-width: 767px) {
  .single__branch-link {
    padding: 8px 10px;
    min-height: 72px;
  }

  .single__branch-link__content {
    max-width: 80%;
  }

  .single__page-ttl {
    font-size: 18px;
  }

  .single__branch-text {
    font-size: 18px;
  }
}

/*=========================================
area
=========================================*/

.branch-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
}

.branch-item {
  display: block;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid var(--main-color);
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: 5px;
}

.branch-link {}

.branch-item__branch-name {
  display: inline-block;
  padding: 0 .5em;
  font-size: 14px;
  border-radius: 5px;
  width: max-content;
  max-width: 100%;
  background: var(--main-color);
  color: #fff;
  font-weight: 500;
}

.branch-item__company {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.branch-item__company-info {
  font-size: 14px;
  line-height: 1.4;
}

.branch-item__branch-area {
  font-size: 12px;
}

.branch-item__cta {
  display: flex;
  gap: 5px 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

.branch-item__cta__btn {
  display: flex;
  align-items: center;
  background: var(--cta-bg);
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  justify-content: center;
  max-width: 200px;
  max-height: 56px;
  flex-grow: 1;
}

.branch-item__cta__btn.mail {
  font-weight: 700;
}

.branch-item__cta__icon {
  width: 2em;
  aspect-ratio: 3 / 4;
}

.branch-item__cta__btn.mail {
  font-size: 14px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .branch-list {
    grid-template-columns: 100%;
  }

  .branch-item__cta__btn.mail {
    font-size: 12px;
  }

  .branch-item__cta__icon {
    width: 20px;
  }

  .branch-item__cta {
    grid-auto-flow: 5px;
  }
}


/*=========================================
area__map
=========================================*/
.area-select {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 540px;
  gap: 10px 24px;
}

.area-select:has(.area-tax) {
  grid-template-rows: auto;
  grid-template-columns: 100%;
}

@media screen and (max-width: 767px) {
  .area-select {
    grid-template-columns: 100%;
    grid-template-rows: none;
  }
}

.area__map-wrp {
  align-content: center;
}

.area__map {
  padding: 10px;
  height: max-content;
  aspect-ratio: 1/1;
  border-radius: 5px;
  background: radial-gradient(#f5f5dc 60%, transparent 0);
}

.map-pref {
  fill: currentColor;
  color: var(--line-color);
  stroke: #fff;
  stroke-width: 20px;
  fill-rule: nonzero;
  paint-order: stroke;
}

.boundary-line {
  fill: transparent;
  stroke: var(--main-color);
  stroke-width: 5;
  stroke-miterlimit: 10;
}

.prefecture-page .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 24px;
}

.page-numbers {
  color: var(--main-color);
  font-weight: 700;
  display: block;
  aspect-ratio: 1 / 1;
  text-align: center;
  align-content: center;
  width: 1.8em;
  height: 1.8em;
  line-height: 1;
  padding-bottom: .2em;
  border-radius: 100px;
  border: 1px solid var(--main-color);
}

.page-numbers.current {
  color: #fff;
  background: var(--main-color);
}

.prev.page-numbers,
.next.page-numbers {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: underline;
  aspect-ratio: inherit;
  border: none;
  width: max-content;
  max-width: 100%;
  height: auto;
}

.prev.page-numbers {
  text-align: left;
  margin-right: 1em;
}

.next.page-numbers {
  text-align: right;
  margin-left: 1em;
}

.map-area {
  display: block;
  position: relative;
  transition: opacity 0.2s;
  z-index: 0;
}

.map-area:hover {
  display: block;
  position: relative;
  z-index: 1;
  order: 1;
}



.map-area:hover .map-pref,
body:has(#area-tohoku:checked) .map-area.tohoku,
body:has(#area-hokkaido:checked) .map-area.hokkaido,
body:has(#area-kanto:checked) .map-area.kanto,
body:has(#area-chubu:checked) .map-area.chubu,
body:has(#area-kinki:checked) .map-area.kinki,
body:has(#area-chugoku:checked) .map-area.chugoku,
body:has(#area-shikoku:checked) .map-area.shikoku,
body:has(#area-kyushu-okinawa:checked) .map-area.kyushu-okinawa {
  color: var(--acc-color) !important;
}

.map-pref:hover {
  opacity: .6;
}

@media screen and (max-width: 767px) {

  .map-pref:hover {
    opacity: 1;
  }
}


/* アコーディオンの基本動作用CSS（最小限） */
.area__input {
  display: none;
}

.area__accordion {
  display: grid;
  gap: 2px;
}

.area__accordion {
  display: grid;
  gap: 2px;
}

.area__item+.area__item {
  border-top: 1px solid #fff;
}

.area__label {
  background: var(--main-color);
  color: #fff;
  font-weight: 500;
  width: 100%;
  padding: .5em 1em;
  display: block;
  position: relative;
  transition: background .3s;
}

.area__input:checked+.area__label {
  background: var(--sub-color);
}

.area__label::after {
  content: "";
  display: block;
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .3s;
  aspect-ratio: 1/1;
  width: 1em;
  background:
    linear-gradient(to bottom, transparent calc(50% - 1px), #fff 0, #fff calc(50% + 1px), transparent 0),
    linear-gradient(to right, transparent calc(50% - 1px), #fff 0, #fff calc(50% + 1px), transparent 0);
}

.area__input:checked+.area__label::after {
  transform: translateY(-50%) rotate(135deg);
}

.area__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-bottom: 5px;
}

.area__list:not(:has(.area__list-item:nth-child(2))) {
  grid-template-columns: 100%;

}

.area__list-item.nobranches .area__link {
  cursor: inherit;
  pointer-events: none;
  background-color: var(--gray-color);
}

.area__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1em;
  height: 40px;
  font-size: 12px;
  border-bottom: #ccc 1px solid;
}

.area__link:hover {
  background: #f5f5dc;
}

.area__link.no-posts {
  color: #ccc;
  background: #888;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
}

.area__link.no-posts:hover {
  background: #888;
}

.area__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s, max-height 0.6s;
}

.area__input:checked+.area__label+.area__content {
  opacity: 1;
  max-height: 200px;
}

.back-select__link {
  display: flex;
  text-align: center;
  width: 240px;
  background: var(--main-color);
  color: #fff;
  font-weight: 500;
  padding: .5em 1em;
  font-size: 16px;
  margin: auto;
  margin-top: 40px;
  text-align: center;
}

.search-block:not(:first-child) {
  margin-top: 80px;
}

/*=========================================
company
=========================================*/


.company-intro__text p,
.company-intro__paragraph {
  font-size: 16px;
  line-height: 1.6;
}


.company-intro__text p+p,
.company-intro__paragraph+.company-intro__paragraph {
  margin-top: 1em;
}

.company-intro__site-icon {
  width: clamp(0px, 20vw, 240px);
  aspect-ratio: 1/1;
  float: right;
  margin-left: 24px !important;
  border: 1px solid var(--gray-color)
}

.company-info__data-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px;
}

.company-info__data-ttl {
  background: var(--gray-color);
  font-weight: 500;
  padding: 10px 20px 12px;
  min-height: 48px;
  align-content: center;
  min-width: 160px;
}

.company-info__data-item {
  align-content: center;
  padding: 10px 20px 12px;
  border-bottom: 1px solid var(--gray-color);
}

@media screen and (max-width: 767px) {

  .company-intro__site-icon {
    width: 160px;
    margin-left: 15px !important;
  }

  .company-info__data-ttl {
    min-width: 0px;
  }
}

/*=========================================
privacy-policy
=========================================*/

.privacy-policy__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-policy__section-title {
  font-size: 18px;
  font-weight: 500;
  border-top: 1px solid var(--gray-color);
  padding-top: 24px;
}

.privacy-policy__section-title::before {
  content: "●";
  color: var(--sub-color);
  display: inline-block;
  margin-right: .4em;
}

.privacy-policy__intro,
.privacy-policy__section-description {
  font-size: 14px;
}

.privacy-policy__list {
  font-size: 14px;
  margin-left: 1.5em;
}

.privacy-policy__list-item {
  list-style-type: disc;
}



/*仮：　footercta*/
.fixed_footer {
  position: sticky;
  bottom: 0;
  background: var(--main-color);
  z-index: 999;
}


.area-tax {
  display: grid;
  gap: 24px;
}

.branch-tax__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

.branch-tax__link {
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
  font-weight: 600;
  font-size: 14px;
}

.branch-tax__link:hover {
  border-bottom: none;
}

.branch-tax__link.no-posts {
  color: var(--gray-color);
  border: none;
  pointer-events: none;
  font-weight: 400;
}


/*=========================================
blogcard
=========================================*/
#blogcard * {
  padding: 0;
  margin: 0;
}

.blogcard {
  margin: 40px 0;
}

#blogcard .blogcard__link {
  display: block;
  border-radius: 10px;
  position: relative;
  padding: 16px 20px;
  border: 1px solid var(--main-color);
  transition: all 0.4s;
  position: relative;
  background: #fff;
  min-height: 140px;
  align-content: center;
}


#blogcard .blogcard__label {
  display: block;
  position: absolute;
  top: -8px;
  left: -8px;
  background: var(--sub-color);
  color: #fff;
  width: max-content;
  padding: 0.1em 0.5em 0.2em;
  z-index: 1;
  font-size: 14px;
}

#blogcard .blogcard__link.blogcard__link--external .blogcard__label {
  background: #888;
}


#blogcard .blogcard__label::before {
  content: none;
}

#blogcard .blogcard__link:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px #0002;
  opacity: 0.6;
}

.blogcard__head-ttl {
  font-size: 20px;
  font-weight: 600;
}

#blogcard .blogcard__thumbnail {
  flex-grow: 1;
  height: auto;
  width: min(240px, 30%);
}

#blogcard .blogcard__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#blogcard .blogcard__content {
  display: flex;
  width: 100%;
  gap: 15px;
  align-content: center;
  align-items: center;
}

/*
.blogcard__content::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  aspect-ratio: 1/1;
  border-right: var(--main-color) 2px solid;
  border-top: var(--main-color) 2px solid;
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
}*/

#blogcard .blogcard__post-categories {
  display: flex !important;
  padding: 0;
  margin: 0;
  gap: 5px;
}

#blogcard .post-author {
  font-size: 12px;
  color: var(--main-color);
  width: max-content;
  max-width: 100%;
}

#blogcard .post-data {
  width: max-content;
  max-width: 100%;
}

#blogcard .post__info {
  display: flex;
  gap: 2px 5px;
  align-items: center;
  flex-wrap: wrap;
}

#blogcard .post-info__icon {
  width: 1.2em;
  height: 1.2em;
  aspect-ratio: 1/1;
}

#blogcard .post__cat-item {
  width: max-content;
  font-weight: bold;
  padding: .1em .5em .17em;
}

#blogcard .blogcard__post-ttl {
  line-height: 1.4;
  margin: 8px 0;
  font-size: 18px;
  font-weight: 700;
}

#blogcard .blogcard__post-exerpt {
  font-size: 10px;
  color: #888;
  position: relative;
  max-height: 3.2em;
  overflow: hidden;
  margin-top: 5px;
}

#blogcard .blogcard__post-continue {
  display: block;
  position: absolute;
  font-size: 10px;
  color: var(--main-color);
  padding-left: 2em;
  background: linear-gradient(to right, transparent, #fff 2em);
  bottom: 0;
  right: 0;
  width: max-content;
  font-weight: 500;
  font-size: 1.1em;
}


@media screen and (max-width: 767px) {
  #blogcard .blogcard__content {
    display: flex;
  }

  .blogcard__post__data-header {
    flex-grow: 1;
  }

  #blogcard .blogcard__post-ttl {
    margin: 5px 0;
    font-size: 13px;
  }

  #blogcard .blogcard__thumbnail {
    width: 40%;
    max-width: 160px;
    aspect-ratio: 1/1;
    height: max-content;
  }

  #blogcard .blogcard__thumb-img {
    object-fit: cover;
  }


  #blogcard .blogcard__post-exerpt {
    max-height: 3.2em;
    overflow: hidden;
  }


}