@charset "UTF-8";
:root {
  --footer-height: 500px;

  --space-0: 0;
  --space-1: 0.5rem;  /* 8px */
  --space-2: 1rem;    /* 16px */
  --space-3: 1.5rem;  /* 24px */
  --space-4: 2rem;    /* 32px */
  --space-5: 3rem;    /* 48px */
  --space-6: 4rem;    /* 64px */
  --space-7: 6rem;    /* 96px */
  --space-8: 8rem;    /* 128px */

}

/* Tablet (600px〜) */
@media (min-width: 600px) {
  :root {
    --space-1: 0.8rem;   /* 12px */
    --space-2: 1.4rem;   /* 22px */
    --space-3: 2rem;     /* 32px */
    --space-4: 2.5rem;   /* 40px */
    --space-5: 3.5rem;   /* 56px */
    --space-6: 5rem;     /* 80px */
    --space-7: 7rem;     /* 112px */
    --space-8: 9rem;     /* 144px */
  }
}

/* PC (1023px〜) */
@media (min-width: 1023px) {
  :root {
    --footer-height: 800px;

    --space-1: 1rem;     /* 16px */
    --space-2: 1.6rem;   /* 26px */
    --space-3: 2.4rem;   /* 38px */
    --space-4: 3rem;     /* 48px */
    --space-5: 4rem;     /* 64px */
    --space-6: 6rem;     /* 96px */
    --space-7: 8rem;     /* 128px */
    --space-8: 10rem;    /* 160px */
  }
}



/**************************************************
* 共通
***************************************************/
#container {
  background: url("../../images/common/whole-bg-sp.jpg") no-repeat ;
  background-attachment: fixed;
  background-size: cover;
}
@media (min-width: 700px) {
#container {
  background: url("../../images/common/whole-bg-pc.jpg") no-repeat center center / cover;
  background-attachment: fixed;
}

}


/*フッター位置調整*/
.l-wrapper {
  min-height: calc(100vh - var(--footer-height));
  /* padding-bottom: 50px; */
}

#l-container {
  margin: 0;
  padding: 0;
}
 
/* HDとコンテンツの被さりを調整 */
#contents {
    padding-top: 60px;
}
@media screen and (min-width: 600px) {
  #contents {padding-top: 70px;}
}
@media screen and (min-width: 1023px) {
  #contents {padding-top: 120px;}

}






/* 上余白（section 間用） */
.l-mt-0 { margin-top: var(--space-0); }
.l-mt-1 { margin-top: var(--space-1); }
.l-mt-2 { margin-top: var(--space-2); }
.l-mt-3 { margin-top: var(--space-3); }
.l-mt-4 { margin-top: var(--space-4); }
.l-mt-5 { margin-top: var(--space-5); }
.l-mt-6 { margin-top: var(--space-6); }

/* 下余白 */
.l-mb-0 { margin-bottom: var(--space-0); }
.l-mb-1 { margin-bottom: var(--space-1); }
.l-mb-2 { margin-bottom: var(--space-2); }
.l-mb-3 { margin-bottom: var(--space-3); }
.l-mb-4 { margin-bottom: var(--space-4); }
.l-mb-5 { margin-bottom: var(--space-5); }
.l-mb-6 { margin-bottom: var(--space-6); }


/* padding（セクション内コンテンツ用） */
.l-pt-3 { padding-top: var(--space-3); }
.l-pb-3 { padding-bottom: var(--space-3); }
.l-pt-5 { padding-top: var(--space-5); }
.l-pb-5 { padding-bottom: var(--space-5); }
.l-pt-6 { padding-top: var(--space-6); } /* 税務会計サポートぺージ　料金比較で使用 */

/**************************************************
* Layout: Section spacing
**************************************************/

/* 上下余白（基本セクション） */
.l-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
/* 上のみ余白を減らす 下層h1用 */
.l-section-pages-h1 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-6);
}


/* 上のみ余白 */
 
.l-section-pt {
  padding-top: var(--space-6);
  padding-bottom: 0;
}

/* 下のみ余白 */ 
.l-section-pb {
  padding-top: 0;
  padding-bottom: var(--space-6);
}



/* --- レスポンシブ調整 --- */
@media (min-width: 600px) {
  .l-section {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }
/* 下層h1用 */
.l-section--pages-h1 {
  padding-top: var(--space-5);
  padding-bottom: var(--space-7);
}

  .l-section-pt {
    padding-top: var(--space-7);
  }
  .l-section-pb {
    padding-bottom: var(--space-7);
  }
}

@media (min-width: 1023px) {
  .l-section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
/* 下層h1用 */
.l-section--pages-h1 {
  padding-top: var(--space-6);
  padding-bottom: var(--space-8);
}
  .l-section-pt {
    padding-top: var(--space-8);
  }
  .l-section-pb {
    padding-bottom: var(--space-8);
  }
}


/*--------------------------------------
  下層ページ共通 レイアウト
--------------------------------------*/
/* .l-pages{;} */



/* ==========================
   Wrap（横幅制御）
========================== */
.l-wrap,
.l-wrap-l,
.l-wrap-m,
.l-wrap-s,
.l-wrap-full {
  margin-inline: auto; /* 中央寄せ */
}

.l-wrap {
  width: 92%;
}
.l-wrap-l {
  width: min(92%, 1400px); /* メインコンテンツ領域 */
}
.l-wrap-m {
  width: min(92%, 1100px); /* 記事や詳細ページ */
}
.l-wrap-s {
  width: min(92%, 900px);  /* サイドコンテンツや小規模ブロック */
}
.l-wrap-full {
  width: 100%;
  max-width: none;
  padding-inline: 0; /* 必要なら余白ゼロ */
}



/*------------------------------
表示非表示 ※変更不可
------------------------------*/
.l-sp {  display: block;}
.l-tb {  display: none;}
.l-pc {  display: none;}
.l-sp-tb-nav {  display: block;}

/* ===== TB（600px〜）：横並び開始（2カラム） ===== */
@media screen and (min-width: 600px) {
.l-sp {  display: none;}
.l-tb {  display: block;}

}
/* ===== PC（1023px〜）：3カラム ===== */
@media (min-width: 1023px) {
.l-tb {  display: none;}
.l-pc {  display: block;}
.l-sp-tb-nav {  display: none;}

}


/*--------------------------------------
  flex
--------------------------------------*/
.l-flex-box {
  display: flex;
  flex-wrap: wrap;
}
.l-flex-box--align-center {
  align-items: center;
}
.l-flex-box-row-reverse {
  flex-direction: row-reverse
}

/* ===== 追記分 ===== */


/*--------------------------------------
  grid
--------------------------------------*/
.l-grid {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch; /* 子要素の高さを揃える */
}



/* 汎用：カード系のグリッド */
.l-grid--cards {
  grid-template-columns: 1fr; /* SPは1カラム */
  gap: 16px;
}
 
.l-grid--cards-all2 {
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 16px;
}
.l-grid--cards-all3 {
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 16px;
}

/* ===== TB（700px〜）：横並び開始（2カラム） ===== */
@media screen and (min-width: 600px) {
  .l-grid--cards {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 24px 24px;
  }

.l-grid--cards-2 {
  grid-template-columns: repeat(2, 1fr);
}
.l-grid--cards-4 {
  grid-template-columns: repeat(3, 1fr);
}

}
/* ===== PC（1023px〜）：3カラム ===== */
@media (min-width: 1023px) {
  .l-grid--cards {
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 30px ; /* ちょい広げる */
  }

.l-grid--cards-2 {
  grid-template-columns: repeat(2, 1fr);
}
.l-grid--cards-4 {
  grid-template-columns: repeat(4, 1fr);
}


}







































/**************************************************
* 下層のメインビジュアル
***************************************************/

.l-page-mv {
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  background-size: contain;
}

#outline.l-page-mv {
  background-image: url("../../images/mv/mv-outline.jpg");
}



/**************************************************
* 背景画像が無いページの余白調整
***************************************************/

/*背景画像が無いためheaderとの重なり調整*/
#single {
  position: relative;
  z-index: 1;
}

#single .l-two-column {
  padding-top: 0px;
}

/*------------------------------
ぱんくず ※変更不可
------------------------------*/

.l-breadcrumbs-wrap {
  padding: 10px 10px;
  font-family: YuGothic, "Yu Gothic", "ヒラギノ角ゴシック", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  -ms-overflow-style: none;
}
.l-breadcrumbs-wrap::-webkit-scrollbar {
  display: none;
}

.l-breadcrumbs-wrap li,
.l-breadcrumbs-wrap li a {
  font-size: var(--caption);
  font-weight: var(--weight-5);
}

.l-breadcrumbs-wrap li {
  display: inline;
}
.l-breadcrumbs-wrap li a:hover,
.l-breadcrumbs-wrap li a:active {
  color: var(--color--bk);
  transition: all 0.3s;
}

.l-breadcrumbs-wrap li a {
  display: inline-block;
  position: relative;
  color: var(--color--key);
  padding-right: 1.5em;
}
.l-breadcrumbs-wrap li a:after {
  content: ">";
  vertical-align: middle;
  position: absolute;
  right: -6px;
  width: 6px;
  height: 6px;
  margin: -1px 1em auto auto;
}




/*===================================================
.under-fixed　お問い合わせfixedアイコン(いったんこのファイルに設置)
===================================================*/
.under-fixed,
.under-fixed .under-fixed-icon {
  display: flex;
}
.under-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  align-items: center;
  z-index: 600;
}
.under-fixed.pc {
  display: none;
}
.under-fixed a {
  display: flex;
  padding: 1.5rem 0.5rem 1rem 1rem;
}
.under-fixed-icon.text.range.pc {
  display: none;
}
.under-fixed .under-fixed-icon {
  border-radius: 6px;
  width: 58px;
  height: 58px;
  align-self: center;
  flex-direction: column;
  justify-content: center;

  box-shadow: -1px -1px 6px 2px rgba(58, 58, 58, 0.7);
  box-shadow: 0 0 5px #555;
  -moz-box-shadow: 0 0 5px #555;
  -o-box-shadow: 0 0 5px #555;
  -ms-box-shadow: 0 0 5px #555;
  display: flex;
  text-align: center;
}
.under-fixed .line-icon .under-fixed-icon {
  background-color: #06c655;
  border: 1px solid #ffffff;
}
.under-fixed .line-icon a .under-fixed-icon {
  padding: 0;
}
.under-fixed .under-fixed-icon.mail-icon {
  background-color: #ff6200;
  color: #fff;
  border: 1px solid #ffffff;
}
.under-fixed .under-fixed-icon.phone-icon {
  background-color: #29307c;
  color: #fff;
  border: 1px solid #ffffff;
}
.under-fixed .under-fixed-icon i {
  font-size: 26px;
  font-size: 2.6rem;
  margin-bottom: 2px;
}
.under-fixed .under-fixed-icon a {
  font-size: 1.2rem;
}

/*------------------------------
pagetopボタン ※変更不可(いったんこのファイルに設置)
------------------------------*/
#pagetop {
  width: 40px;
  height: 40px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: var(--color--lightgreen);
  opacity: 0.8;
  border-radius: 50%;
  z-index: 1000;
}
#pagetop a {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  text-decoration: none;
}
#pagetop a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f106";
  font-size: 3rem;
  color: var(--color--key);
  position: absolute;
  width: 25px;
  height: 25px;
  top: -7px;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


/*------------------------------
ボタン ※変更不可
------------------------------*/
/* 共通 */
.btn-box {
  text-align: center;
  margin: 0 0 30px 0;
}
.btn-box .btn {
  position: relative;
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
  font-size: 15px;
  font-size: 1.5rem;
  max-width: 437px;
  border-radius: 4px;
  background: #fff;
  border: 2px solid #29307c;
  margin: auto;
  padding: 20px 20px 20px 10px;
}
.btn-box .btn:hover {
  opacity: 0.8;
}
.btn-box .btn:hover::after {
  right: 1rem;
}
/* 戻るボタン */
.btn-box.back {
  padding: 0 0 50px;
}

/*=================== TBここから ==================*/
@media screen and (min-width: 700px) {

  /*フッター位置調整*/
  /* .l-wrapper {
    min-height: calc(100vh - 500px);
    padding: 0 0 130px 0;
  } */


/*------------------------------
ボタン ※変更不可
------------------------------*/
  .btn-box {
    margin-top: 0;
  }
  .btn-box .btn {
    max-width: 324px;
    padding: 12px 0.5em 12px 0.7em;
  }
  .btn-box.pc {
    margin: 0 0 30px auto;
    text-align: right;
  }
}
/*=================== TBここまで ==================*/


/*=================== PCここから==================*/
@media screen and (min-width: 1000px) {
 
}
/*=================== PCここまで ==================*/



/*=================== 共通 /ヘッダー/フッター 320用 ==================*/
@media screen and (max-width: 320px) {

} /*=================== 共通 /ヘッダー/フッター 320用 閉じ ==================*/








/**************************************************
* ふわっと
***************************************************/

.fade-in {
  opacity: 0;
  transform: translateY(30px); /* 下からスライドイン */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}


