/*---------------------------------------------------------
Theme Name: FUKUROU
Description: Theme for FUKUROU
Author: Onebox
---------------------------------------------------------*/
@font-face {
  font-family: "Noto Sans JP";
  src: url("fonts/NotoSansJP-Regular.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("fonts/NotoSansJP-Bold.woff") format("woff");
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Bold.woff") format("woff");
  font-weight: bold;
  font-display: swap;
}

:root {
  --bg-color: #edf6ff;
  --link-color: #3f82f9;
  --main-color: #3f82f9;
  --text-color: #333;
  --card-main-color: #d27100;
  --creditcard-main-color: #00a6d7;
}

body {
  font-family: "Montserrat", "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}

body.bg-color {
  background-color: var(--bg-color);
}

img {
  height: auto;
}

a {
  transition: all 0.3s;
}

p > a {
  color: var(--link-color);
}

time {
  display: block;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.fadeInEffect,
.fadeUpEffect,
.fadeLeftEffect {
  opacity: 0;
}

.fadeIn {
  animation-name: fadeIn;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeUp {
  animation-name: fadeUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fadeLeft {
  animation-name: fadeLeft;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.delay-time01 {
  animation-delay: 0.4s;
}

.delay-time02 {
  animation-delay: 0.8s;
}

.delay-time03 {
  animation-delay: 1.2s;
}

.delay-time04 {
  animation-delay: 1.6s;
}

.text-bold {
  font-weight: bold;
}

/*--------------------------------
wp-block
---------------------------------*/
.wp-block-table table {
  display: table;
  border-collapse: collapse;
}
.wp-block-table tr,
.wp-block-table td {
  font-size: 16px;
  line-height: 2;
  border: 1px solid #000;
}

.wp-block-table.mail-template tr,
.wp-block-table.mail-template td {
  padding: 1.5rem 2rem;
  border: solid 2px #969696;
}

.wp-block-image {
  margin-bottom: 1.5rem;
}
.post_body .wp-block-btn__link,
.post_body .wp-block-btn__link:active,
.post_body .wp-block-btn__link:focus,
.post_body .wp-block-btn__link:hover,
.post_body .wp-block-btn__link:visited {
  color: #fff;
}

/*--------------------------------
レイアウト
---------------------------------*/
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.main-contents {
  overflow-x: hidden;
}

.page-contents {
  padding: 56px 0 80px;
}

.page-contents--pt-lg {
  padding: 120px 0 80px;
}

/*--------------------------------
ページネーション
---------------------------------*/
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  text-align: center;

  column-gap: 10px;
  row-gap: 10px;
}

.pagination .page-numbers {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  color: #333;
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  text-decoration: none;
}

.pagination .current {
  font-weight: bold;
  font-weight: normal;
  color: #fff;
  border: 1px solid var(--main-color);
  background-color: var(--main-color);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-size: 13px;
  width: 60px;
}

/*--------------------------------
パンくずリスト
---------------------------------*/
.breadcrumb__inner {
  font-size: 12px;
}

.breadcrumb .current-item {
  opacity: 0.6;
}

.breadcrumb__list {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.breadcrumb__list a {
  margin-right: 0.5em;
}

.breadcrumb__list span:nth-child(n + 2) span {
  margin-left: 1.3em;
}

.breadcrumb__list span:nth-child(n + 2) {
  position: relative;
}

.breadcrumb__list span:nth-child(n + 2):before {
  position: absolute;
  top: 4px;
  left: 0;
  content: "";
  border-style: solid;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin: 0.1em;
}

.breadcrumb-wrapper {
  padding: 16px 0;
}

.breadcrumb-wrapper--white {
  color: var(--text-color);
}

.breadcrumb-wrapper--white span:nth-child(n + 2):before {
  border-color: var(--text-color);
}

/*--------------------------------
記事ページ
---------------------------------*/
.post-wrapper {
  display: flex;
  justify-content: space-between;
  column-gap: 32px;
}

.page-template-default .post-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.post {
  overflow: hidden;
}

.post__article {
  border-radius: 8px;
  /* flex: 1; */
  padding-bottom: 56px;
  background-color: #fff;
  padding: 48px;
  /* width: calc(100% - 300px - 32px); */
}

.sidebar {
  width: 300px;
  /* flex: 0 0 300px; */

  position: relative;
}

.post__header {
  margin-bottom: 32px;
  /* padding: 0 20px; */
}

.post__header--case .post__title {
  font-size: 28px;
  line-height: 1.5;
}

.post-date {
  display: flex;
  align-items: center;
  column-gap: 4px;
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

.post__title {
  font-size: 32px;
  line-height: 1.6;
  font-weight: bold;
}

.post__company {
  font-size: 18px;
  font-weight: bold;
  margin-top: 16px;
}

.post-company-info {
  margin-top: 24px;
  display: flex;
  column-gap: 24px;
}

.post-company-info__item {
  display: flex;
  align-items: center;
  column-gap: 12px;
  font-size: 18px;
  font-weight: bold;
}

.post-company-info__item-label {
  display: block;
  font-weight: bold;
  color: var(--main-color);
  background-color: var(--bg-color);
  padding: 8px 12px;
  font-size: 15px;
  border-radius: 4px;
}

.post-solution-box {
  margin-bottom: 32px;
  display: grid;
  border-radius: 8px;
  background-color: #f7f7f7;
  padding: 24px 32px;
  overflow: hidden;
}

.post-solution-box__inner {
  position: relative;
}

/* .post-solution-box__inner::before {
  border-left: 6px solid #e2e2e2;
  content: "";
  display: block;
  height: 100%;
  left: 38px;
  position: absolute;
  top: 0;
  width: 0;
} */

.post-solution-box__item {
  display: flex;
  align-items: stretch;
  column-gap: 16px;
  position: relative;
  padding-bottom: 16px;
  /* padding: 8px 0; */
}

.post-solution-box__item::before {
  border-left: 8px solid #e2e2e2;
  content: "";
  display: block;
  height: 100%;
  left: 40px;
  position: absolute;
  top: 0;
  width: 0;
}

.post-solution-box__item:last-child::before {
  border-left: none;
}

/* .post-solution-box__item:first-child {
  padding-top: 0;
} */

.post-solution-box__item:last-child {
  padding-bottom: 0;
}

.post-solution-box__title {
  font-size: 18px;
  letter-spacing: 0.1em;
  font-weight: bold;
  background-color: #595959;
  color: #fff;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.post-solution-box__title--solution {
  background-color: #fff;
  color: var(--main-color);
}

.post-solution-box__title--result {
  background-color: var(--main-color);
  color: #fff;
}

.post-solution-box__body {
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.post-solution-box__body ul {
  list-style: disc;
  padding-left: 1.2em;
}

.post-solution-box__body li:not(:last-child) {
  margin-bottom: 4px;
}

.post-solution-box__body a {
  text-decoration: underline;
  color: var(--link-color);
}

/* .post-solution-box__cover-top {
  display: block;
  width: 80px;
  height: 100%;
  background-color: #f7f7f7;
  position: absolute;
  left: 0;
  top: -50%;
  transform: translateY(25%);
}

.post-solution-box__cover-bottom {
  display: block;
  width: 80px;
  height: 100%;
  background-color: #f7f7f7;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-25%);
} */

.post__info {
  margin-top: 16px;
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.post__eyecatch {
  margin-bottom: 24px;
  text-align: center;
}

.post__eyecatch > img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-width: 100%;
}

.post__related {
  margin-bottom: 40px;
}

.post__body {
  overflow: hidden;
}

.post__body:not(:last-child) {
  margin-bottom: 32px;
}

.post__body p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 1.5em;
}

.post__body p:last-child {
  margin-bottom: 0;
}

.post__body p > a {
  text-decoration: underline;
}

.post__body h2 {
  position: relative;
  font-size: 24px;
  line-height: 1.5;
  font-weight: bold;
  margin-top: 2.5em;
  padding: 0.8em 0.8em 0.8em 1.4em;
  margin-bottom: 1.2em;
  background-color: #f5f5f5;
  border-radius: 6px;
}

.post__body h2:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  border-radius: 6px 0 0 6px;
  background-color: var(--card-main-color);
  content: "";
}

.post__body h3 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
  color: var(--card-main-color);
  border-bottom: 2px solid var(--card-main-color);
  padding-top: 1em;
  padding-bottom: 0.6em;
  margin-bottom: 1.2em;
}

.post__body h3:first-child {
  padding-top: 0;
}

.post__body h4 {
  margin-top: 2em;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 1em;
}

.post__body img {
  max-width: 100%;
  height: auto;
}

.post__body ul {
  list-style: disc;
}

.post__body ol {
  list-style: auto;
}

.post__body ul,
.post__body ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}

.post__body ul li,
.post__body ol li {
  line-height: 1.7;
  margin-bottom: 0.2em;
}

.post__body .card-height-fix img {
  max-height: 307px !important;
  width: auto !important;
}

.post__sns {
  margin-bottom: 24px;
}

.sns-btn__list {
  display: flex;
  justify-content: right;
  column-gap: 8px;
}

.btn-sns {
  display: block;
  padding: 8px 12px 8px 8px;
  background-color: #0b66ff;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  column-gap: 4px;
  height: 34px;
}

.btn-sns--twitter {
  background-color: #000;
  color: #fff;
  border-radius: 4px;
}

.btn-sns:hover {
  opacity: 0.8;
}

.btn-sns__icon {
  width: 18px;
  height: 18px;
}

.btn-sns__icon--twitter {
  width: 16px;
  height: 16px;
}

.post__tag {
  border: 1px solid #ccc;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.post__tag:not(:has(.tag-list__item)) {
  display: none;
}

.wp-block-button__link {
  background-color: #ed7e00;
  color: #fff;
  text-decoration: none !important;
  padding: 1.5em 2em;
  color: #fff;
  font-weight: bold;
  line-height: 1.2;
  border: solid 2px #ffaa56;
  word-wrap: break-word;
  box-shadow: 0 2px 0 #e17400;
  min-width: 300px;
}

.wp-block-button__link:hover {
  background-color: #f29428;
}

.wp-block-image figcaption {
  font-size: 14px;
}

hr {
  border: 0;
}

.wp-block-separator {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.post__body .wp-block-image {
  margin: 0 auto 1.5rem;
}

.post__body .wp-block-image img {
  display: block;
  margin: 0 auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.list[class*="category-"] .post_links {
  margin-bottom: 2rem;
  border-bottom: none;
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.wp-block-table tr,
.wp-block-table td {
  font-size: 16px;
  line-height: 2;
  border: 1px solid #000;
}

.wp-block-buttons:not(:last-child) {
  margin-bottom: 1em;
}

.wp-block-button.aligncenter,
.wp-block-buttons.aligncenter,
.wp-block-calendar {
  margin-top: 16px;
  text-align: center;
  display: block;
}

table {
  border-spacing: 0;
}

table.is-sticky-first-column {
  border-collapse: separate !important;
}

.wp-block-flexible-table-block-table .is-sticky-first-column tr + tr > *,
.wp-block-flexible-table-block-table .is-sticky-first-column tr + tr > * {
  border-top: none !important;
}

.wp-block-flexible-table-block-table .is-sticky-first-column tr > * + *,
.wp-block-flexible-table-block-table .is-sticky-first-column tr > * + * {
  border-left: none !important;
}

/* .wp-block-flexible-table-block-table:not(:last-child) {
  margin-bottom: 1.5em;
} */

/* .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table
  > table.is-sticky-first-column
  tr
  > :first-child:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-left: 1px solid #000;
  z-index: -1;
} */

/* ===== 目次 ===== */
#rtoc-mokuji-wrapper {
  position: relative;
  margin-top: 32px;
  background-color: #f5f5f5;
  padding: 32px;
  border-radius: 8px 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  max-height: 150px; /* ←初期状態は一部だけ表示 */
  overflow: hidden; /* 残りは隠す */
  transition: max-height 0.3s ease;
}

#rtoc-mokuji-wrapper.expanded {
  max-height: 4000px; /* ←展開後は十分大きくする */
}

#rtoc-mokuji-wrapper #rtoc-mokuji-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5em;
}

#rtoc-mokuji-wrapper.rtoc-mokuji-content .rtoc-mokuji li > a {
  color: #7a7a7a;
  border-bottom: 1px solid #e7e7e7;
  padding: 4px 0;
  display: block;
  font-size: 14px;
}

/* ===== 目次の下部フェード（続きがある気配を出す） ===== */
#rtoc-mokuji-wrapper .mokuji-fader {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* 枠の最下部に被せる */
  height: 60px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(247, 247, 247, 0) 0%,
    rgba(247, 247, 247, 1) 100%
  );
}
/* 展開時はフェードを消す */
#rtoc-mokuji-wrapper.expanded .mokuji-fader {
  display: none;
}

/* ===== 目次のボタン ===== */
.mokuji-toggle {
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 8px 14px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  background-color: #f5f5f5;
}

/* SVGアイコンのサイズ＆回転アニメーション */
.mokuji-toggle .toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

/* 展開時は下向きシェブロンを上向きに（隣接兄弟セレクタで制御） */
#rtoc-mokuji-wrapper.expanded + .mokuji-toggle .toggle-icon {
  transform: rotate(180deg);
}

.function-secbox__inner {
  margin-bottom: 20px;
}

li.rtoc-item {
  text-indent: 0;
}

/* パターン PR */
.pattern-pr {
  border: solid 2px #ffe3b6;
  border-radius: 8px;
  padding: 24px;
  column-gap: 32px;
  margin-bottom: 1.5em;
}

.pattern-pr-pr {
  margin: 0 0 0.5em 0 !important;
}

.pattern-pr .wp-block-media-text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: 24px;
}

.pattern-pr .wp-block-media-text p {
  font-size: 15px;
  margin: 0 0 0.5em 0;
}

.pattern-pr .wp-block-media-text p:last-child {
  margin-bottom: 0;
}

.pattern-pr .wp-block-media-text__content {
  padding: 0;
}

/* パターン 任意の記事を表示 */
.pattern-recommend-article {
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 1.5em;
  background-color: #fff3e4;
}

.pattern-recommend-article-title {
  margin: 0 0 0.5em 0 !important;
  text-indent: -1.5em;
  padding-left: 1.5em;
  line-height: 1.4 !important;
}

.pattern-recommend-article-title:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #111;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-right: 8px;
}

.post-display {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
}

.post-display:hover {
  opacity: 0.8;
}

.post-display__img {
  display: block;
}

.post-display__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
}

/* パターン 良い＆気になる */
.pattern-good-bad {
  margin-bottom: 1.5em;
}

.pattern-good-bad__item {
  border: 1px solid pink;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0 !important;
}

.pattern-good-bad__item + .pattern-good-bad__item {
  margin-top: 8px;
}

.pattern-good-bad__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  padding: 8px 8px 8px 16px;
  margin-bottom: 0 !important;
  background-color: #fff3f6;
  border-bottom: 1px solid pink;
  color: #fc5578;
  margin: 0;
}

.pattern-good-bad__list {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 1.3em;
  padding: 16px 16px 16px 32px;
}

.pattern-good-bad__item--bad {
  border-color: #adadad;
}

.pattern-good-bad__item--bad .pattern-good-bad__title {
  border-color: #adadad;
  background-color: #f5f5f5;
  color: #555;
}

/* パターン 注目ポイント */
.pattern-point {
  margin-bottom: 1.5em;
  border-radius: 8px;
  background-color: #faf5eb;
  padding: 24px;
}

.pattern-point__title {
  line-height: 1.4;
  font-weight: bold;
  margin: 0;
  text-align: center;
  margin-bottom: 1em !important;
}

.pattern-point__list {
  line-height: 1.4;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  /* margin-left: 1.3em; */
  padding: 0 0 0 1.3em;
}

/* パターン アンカーリンクボタン */
.pattern-anchorlink {
  margin-bottom: 1.5em;
}

.pattern-anchorlink .wp-block {
  margin-top: 0 !important;
}

.pattern-anchorlink__title {
  margin-bottom: 0 !important;
  font-weight: bold;
  /* background-color: #d27100; */
  background-color: #717171;
  padding: 0.5em 1em;
  border-radius: 50px;
  text-align: center;
  position: relative;
  color: #fff;
  margin-bottom: 1.5em !important;
}

.pattern-anchorlink__title:before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  display: inline-block;
  width: 20px;
  height: 12px;
  /* background-color: #d27100; */
  background-color: #717171;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.pattern-anchorlink__body {
  margin-bottom: 1.5em !important;
}

.pattern-anchorlink__body > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0 !important;
}

.pattern-anchorlink__btn-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
}

.pattern-anchorlink__btn-wrapper * {
  height: 100% !important;
}

.pattern-anchorlink__btn-wrapper a {
  display: block;
  /* border: 1px solid #d27100; */
  border: 1px solid #717171;
  border-radius: 50px;
  padding: 1em;
  /* text-align: center; */
  font-size: 16px;
  line-height: 1.3;
  /* color: #d27100; */
  color: #717171;
  text-decoration: none !important;
  background-image: url(img/icon_arrow-down-gray.svg);
  background-repeat: no-repeat;
  background-position: right 5% center;
  background-size: 12px;
  padding-right: 40px;

  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pattern-anchorlink__btn-wrapper a:hover {
  opacity: 0.8;
}

/* パターン 追従ページ内リンク */
.pattern-sticky-link {
  display: none !important;
}

/*--------------------------------
ページャー
---------------------------------*/
.post-pager__list {
  margin-top: 32px;
  margin-bottom: 20px;
  display: flex;
  column-gap: 16px;
}

.post-pager__item {
  border-radius: 5px;
  line-height: 1.6;
  overflow: hidden;
  flex: 0 0 47%;
}

.post-pager__link {
  display: flex;
  position: relative;
  align-items: center;
  height: 100%;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
}

.post-pager__link .post-pager__icon {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.post-pager__item--prev .post-pager__link {
  border-left: 20px solid var(--main-color);
}

.post-pager__item--prev .post-pager__icon {
  left: -19px;
  background-image: url(img/icon_pager-arrow-left-white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 18px;
  height: 18px;
}

.post-pager__item--next .post-pager__link {
  border-right: 20px solid var(--main-color);
}

.post-pager__item--next .post-pager__icon {
  right: -19px;
  background-image: url(img/icon_pager-arrow-right-white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 18px;
  height: 18px;
}

.post-pager__item--next .post-pager__link {
  flex-direction: row-reverse;
}

.post-pager__body {
  display: flex;
  flex: 1;
}
.post-pager__title {
  font-size: 12px;
  word-break: break-all;
}

.post-pager__body {
  padding: 15px;
}

.post-pager__img {
  flex: 0 0 40%;
}

.post-pager__img {
  height: 100%;
}

.post-pager__img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-pager__bottom-btn {
  margin-top: 24px;
  text-align: center;
}

/*--------------------------------
サイドバー
---------------------------------*/
.side-section {
  margin-bottom: 40px;
}
.side-sticky {
  position: fixed;
  top: 96px;
  display: none;
}
.side-sticky .side-banner {
  margin-bottom: 24px;
}

.side-sticky.bottom {
  position: absolute;
  top: auto;
  bottom: 10px;
}

.side-section__title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: bold;
  padding-left: 1em;
  position: relative;
}

.side-section__title::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background-color: var(--main-color);
  content: "";
}

.article-list__item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dotted #ccc;
}

.article-list__link {
  display: flex;
  justify-content: space-between;
  column-gap: 8px;
}

.article-list__thumb {
  flex: 0 1 100px;
}

.article-list__thumb > img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border: 1px solid #eee;
}

.article-list__body {
  flex: 1;
}

.article-list__title {
  font-size: 13px;
  line-height: 1.5;
}

.article-list__title--line2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-list__company {
  font-size: 12px;
  margin-top: 4px;
}

.side-cat__list {
  padding-left: 1.5em;
  list-style: inherit;
  display: grid;
  row-gap: 8px;
}

.side-cat__item {
  font-size: 15px;
  line-height: 1.4;
}

.side-cat__item a:hover {
  color: var(--main-color);
}

.side-section__btn {
  text-align: center;
  margin-top: 16px;
}

.side-section__btn > .btn {
  width: 100%;
}

.tag-list__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.label-tag {
  display: block;
  font-weight: bold;
  color: var(--main-color);
  background-color: var(--bg-color);
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 4px;
}

.label-tag--sm {
  padding: 6px 8px;
  font-size: 10px;
}

/*--------------------------------
 スクロール追従バナー
---------------------------------*/
.cc-side-sticky-wrap {
  position: relative;
}
.cc-card-side-bnr {
  width: 100%;
  z-index: 50;
}
/*--------------------------------
 404
---------------------------------*/
.not-found {
  padding: 32px 0;
}

.not-found__body {
  text-align: center;
}

.not-found__text {
  font-size: 24px;
  line-height: 1.5;
}

.not-found__btn {
  margin-top: 24px;
  text-align: center;
}

.not-found__btn > .fukurou-btn {
  width: 200px;
}

/*--------------------------------
FUKUROU
---------------------------------*/
.fukurou-main-contents {
  background-image: url(img/bg_fukurou-texture.webp);
  background-repeat: repeat;
  background-size: 50% 50%;
  background-color: #f0eee5;
  color: #282828;
  overflow: hidden;
  padding: 56px 0;
}

.fukurou-btn {
  display: inline-block;
  background-color: #d27100;
  color: #fff;
  font-weight: bold;
  border-radius: 50px;
  text-align: center;
  padding: 16px;
  position: relative;
  transition: all 0.3s;
}

.fukurou-btn:hover {
  opacity: 0.8;
}

.fukurou-btn::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 7%;
  display: block;
  content: "";
  width: 7px;
  height: 12px;
  background-image: url(img/fukurou_icon-arrow-right-white.svg);
  background-repeat: no-repeat;
  background-size: 7px 12px;
  transition: 0.3s;
}

.fukurou-btn:hover::after {
  right: 6%;
}

.fukurou-btn--secondary {
  background-color: #fff;
  color: #d27100;
}

.fukurou-btn--secondary::after {
  background-image: url(img/fukurou_icon-arrow-right-gray.svg);
}

.fukurou-btn__label {
  display: block;
  font-size: 0.7em;
}

.fukurou-header {
  position: absolute;
  top: 0;
  left: 0;
  height: 57px;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.fukurou-header__logo {
  font-size: 24px;
  font-weight: bold;
}

.fukurou-header--fixed {
  position: fixed;
  top: -57px;
  width: 100%;
  z-index: 10;
  background-color: #ebe9e0;
  display: flex;
  justify-content: space-between;
  transition: 0.5s;
}

.fukurou-header--fixed.is-show {
  top: 0;
}

.fukurou-header__contact {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.fukurou-header__links {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.fukurou-header-tel {
  font-weight: bold;
  font-size: 20px;
  text-align: right;
  background-image: url(img/fukurou_icon-tel-black.svg);
  background-repeat: no-repeat;
  background-position: 0 4px;
  background-size: 14px;
  padding-left: 18px;
}

.fukurou-header-tel__time {
  display: block;
  font-weight: normal;
  font-size: 10px;
}

.fukurou-header__btn {
  width: 200px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: revert;
  font-size: 14px;
  padding: 0;
}

.fukurou-outer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.fukurou-feature {
  padding: 0 0 56px 0;
}

.fukurou-feature__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.fukurou-feature__body {
  margin: 0 auto;
  padding: 0 24px;
}

.fukurou-feature__title {
  color: #d23f00;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 24px;
}

.fukurou-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fukurou-card {
  background-color: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.fukurou-card:hover {
  opacity: 0.8;
}

.fukurou-card__thumb {
  aspect-ratio: 16 / 9;
}

.fukurou-card__thumb img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.fukurou-card__body {
  padding: 8px 16px;
  background-color: #fff;
}

.fukurou-card__title {
  font-size: 16px;
  line-height: 1.5;
  font-weight: bold;
}

.fukurou-card__info {
  margin-top: 8px;
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.fukurou-card__date {
  font-size: 10px;
  color: #a7a7a7;
}

.fukurou-card__cat {
  font-size: 10px;
  color: #a7a7a7;
  background-color: #e4e4e4;
  padding: 4px 8px;
  border-radius: 50px;
}

.fukurou-concept {
  padding: 56px 0;
  background-image: url(img/fukurou-bg_pickup.webp);
  background-color: rgba(255, 255, 255, 0.6);
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-bottom: 96px;
}

.fukurou-concept .fukurou-outer-container {
  max-width: 1100px;
}

.fukurou-concept__body {
  display: flex;
  align-items: center;
  column-gap: 56px;
}

.fukurou-concept__title {
  flex: 0 1 58%;
}

.fukurou-concept__title img {
  width: 100%;
}

.fukurou-concept__desc {
  flex: 1;
  font-size: 22px;
  line-height: 1.6;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 24px;
  border-radius: 16px;
}

.fukurou-concept__desc strong {
  color: #d23f00;
}

.fukurou-bnr {
  padding: 0 32px;
  max-width: 1024px;
  margin: 0 auto;
}

.fukurou-bnr img {
  width: 100%;
}

.fukurou-bnr__inner {
  margin: 0 auto;
}

.fukurou-section {
  padding: 64px 0;
}

.fukurou-section__body {
  position: relative;
  z-index: 1;
}

.fukurou-heading {
  margin-bottom: 40px;
  /* position: relative;
  z-index: 1; */
  margin: 0 auto;
  margin-bottom: 80px;
}

.fukurou-heading__title {
  position: relative;
  margin-bottom: 32px;
  text-align: center;
}

.fukurou-heading__title img {
  max-width: 100%;
}

.fukurou-heading__title::after {
  display: block;
  content: "";
  background-size: contain;
  position: absolute;
  bottom: -64px;
  left: -32px;
  z-index: -1;
}

.fukurou-heading__desc {
  font-size: 24px;
  line-height: 1.6;
  font-weight: bold;
  max-width: 770px;
  margin: 0 auto;
}

.fukurou-heading__desc strong {
  color: #d27100;
}

.fukurou-cards-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.fukurou-tool-wrapper {
  display: grid;
  row-gap: 48px;
}

.fukurou-tool-box {
  background-color: #e2bf5a;
  padding: 88px 140px;
  border-radius: 40px;
  column-gap: 48px;
  position: relative;
  overflow: hidden;
  filter: drop-shadow(8px 8px 0 rgba(255, 255, 255, 1));
}

.fukurou-tool-box::before {
  position: absolute;
  top: -48px;
  left: -24px;
  display: block;
  font-weight: bold;
  font-size: 180px;
  color: #ebe9e0;
  z-index: -1;
}

.fukurou-tool-box--01 {
  background-color: #e2bf5a;
}

.fukurou-tool-box--01::before {
  content: "01";
}

.fukurou-tool-box--02 {
  background-color: #e1cc5e;
}

.fukurou-tool-box--02::before {
  content: "02";
}

.fukurou-tool-box--03 {
  background-color: #e1d357;
}

.fukurou-tool-box--03::before {
  content: "03";
}

.fukurou-tool-box::after {
  position: absolute;
  bottom: -16px;
  right: -8px;
  display: block;
  z-index: -1;
}

.fukurou-tool-box--01::after {
  content: "";
  width: 545px;
  height: 575px;
  background-image: url(img/fukurou_tool-box-business.webp);
  background-repeat: no-repeat;
  background-size: contain;
}

.fukurou-tool-box--02::after {
  content: "";
  width: 597px;
  height: 294px;
  background-image: url(img/fukurou_tool-box-service.webp);
  background-repeat: no-repeat;
  background-size: contain;
}

.fukurou-tool-box--03::after {
  content: "";
  width: 597px;
  height: 294px;
  background-image: url(img/fukurou_tool-box-sales.webp);
  background-repeat: no-repeat;
  background-size: contain;
}

.fukurou-tool-box__heading {
  z-index: 1;
  display: flex;
  column-gap: 32px;
  margin-bottom: 60px;
}

.fukurou-tool-box__body {
  z-index: 1;
}

.fukurou-tool-box__title {
  flex: 0 1 46%;
  font-size: 60px;
  font-weight: bold;
}

.fukurou-tool-box__desc {
  flex: 1;
}

.fukurou-tool-box__desc p {
  font-size: 20px;
  line-height: 1.6;
  font-weight: bold;
}

.fukurou-tool-box__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fukurou-tool-link {
  display: block;
  background-color: #fff;
  border-radius: 8px;
  padding: 24px 16px 40px 16px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.14);
  position: relative;
}

.fukurou-tool-link__title {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  color: #d27100;
}

.fukurou-tool-link__desc {
  margin-top: 8px;
}

.fukurou-tool-link__desc p {
  font-size: 14px;
  line-height: 1.6;
  font-weight: bold;
}

.fukurou-tool-link__btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: bold;
  color: #d27100;
  margin-top: 8px;
  padding: 4px 20px 4px 4px;
}

.fukurou-tool-link__btn::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  display: block;
  content: "";
  width: 16px;
  height: 16px;
  background-image: url(img/fukurou_icon-arrow-right.svg);
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center center;
  transition: 0.3s;
}

.fukurou-tool-link:hover .fukurou-tool-link__btn::after {
  right: -2px;
}

.fukurou-bnrs {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fukurou-bnrs__item img {
  width: 100%;
}

.fukurou-pickup-section {
  background-image: url(img/fukurou_text-pickup.webp);
  background-repeat: no-repeat;
  background-position: calc(50% - 200px) 0;
  background-size: 1188px 245px;
  padding: 100px 0;
}

.fukurou-useful-section {
  border-radius: 56px;
  position: relative;
  z-index: 1;
  padding-bottom: 96px;
}

.fukurou-useful-section .fukurou-heading {
  margin-bottom: 32px;
}

.fukurou-material-card {
  transition: all 0.3;
}

.fukurou-material-card:hover {
  opacity: 0.8;
}

.fukurou-material-card__thumb img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.fukurou-material-card__body {
  margin-top: 16px;
}

.fukurou-material-card__title {
  font-size: 16px;
  font-weight: bold;
}

.fukurou-material-card__desc {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #a7a7a7;
}

.fukurou-material-card__btn {
  margin-top: 8px;
}

.fukurou-material-card__btn .fukurou-btn {
  width: 100%;
}

.fukurou-material-card:hover .fukurou-btn::after {
  right: 6%;
}

.fukurou-onayami {
  background-color: #e2bf5a;
  position: relative;
  border-radius: 56px;
  padding: 56px;
  max-width: 1300px;
  width: 91%;
  margin: 0 auto;
}

.fukurou-onayami::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 12%;
  width: 45px;
  height: 76px;
  background-image: url(img/fukurou_fukidashi.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.fukurou-line-drawing {
  position: absolute;
  top: -70px;
  right: -62px;
  z-index: 1;
  width: 25%;
}

.fukurou-line-drawing img {
  width: 100%;
}

.fukurou-onayami-title {
  position: absolute;
  top: 40px;
  left: -32px;
}

.fukurou-onayami-text {
  margin: 0 -110px;
  margin-top: 56px;
  padding: 0 16px;
}

.fukurou-onayami-text img {
  width: 100%;
}

.fukurou-onayami-desc {
  margin-top: 24px;
}

.fukurou-onayami-desc p {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.4;
}

.fukurou-contact-section {
  /* background-color: #e2bf5a; */
  border-radius: 0 0 56px 56px;
  position: relative;
  z-index: 1;
}

.fukurou-contact-intro {
  text-align: center;
}

.fukurou-contact-intro p {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
}

.fukurou-contact-tel {
  margin: 0 auto;
  margin-top: 40px;
  max-width: 432px;
}

.fukurou-contact-tel__title {
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}

.fukurou-contact-btn {
  display: inline-block;
  background-color: #fff;
  padding: 22px;
  color: #d27100;
  text-align: center;
  width: 432px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
  background-image: url(img/fukurou_icon-tel.svg);
  background-repeat: no-repeat;
  background-position: 32px center;
}

.fukurou-contact-btn:hover {
  opacity: 0.8;
}

.fukurou-contact-btn__num {
  font-size: 20px;
}

.fukurou-contact-btn__notice {
  font-size: 12px;
}

.fukurou-contact__form {
  margin-top: 56px;
}

.fukurou-footer {
  padding: 120px 24px 80px 24px;
  background-color: #000;
  color: #fff;
}

.fukurou-footer__body {
  display: flex;
  column-gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  justify-content: space-between;
}

.fukurou-footer__link {
  flex: 0 1 24%;
}

.fukurou-footer-links {
  display: grid;
  row-gap: 16px;
}

.fukurou-footer__bnr-service {
  flex: 1;
}

.fukurou-footer__bnr-service img {
  width: 100%;
}

.fukurou-footer-title {
  margin-top: 64px;
}

.fukurou-footer-title img {
  max-width: 100%;
}

.fukurou-footer-links__item a {
  transition: all 0.3s;
}

.fukurou-footer-links__item a:hover {
  opacity: 0.8;
}

/*--------------------------------
法人カード
---------------------------------*/
.has-small-font-size {
  font-size: 12px !important;
}

.post-type-archive-card .fukurou-header,
.post-template-single-card .fukurou-header,
.single-card .fukurou-header,
.tax-rank .fukurou-header,
.tax-card-category .fukurou-header,
.tax-feature .fukurou-header,
.tax-situation .fukurou-header {
  display: none;
}

.cc-card {
  padding-top: 56px;
}

.cc-card-top {
  padding-top: 72px;
}

.cc-card-header {
  position: fixed;
  top: 0;
  left: 0;
  height: 57px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-image: url(img/bg_fukurou-texture.webp);
  background-repeat: repeat;
  background-size: 50% 50%;
  background-color: #f0eee5;
  z-index: 100;
}

.cc-card-header__logo {
  font-size: 20px;
  font-weight: bold;
}

.cc-card-header__logo-company {
  font-size: 12px;
}

.cc-card-header__logo-company-logo img {
  display: inline-block;
  width: 100px;
}

.cc-card-btn-menu {
  display: none;
}

.cc-card-heading {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  position: relative;
}

.cc-card-heading::before {
  position: absolute;
  bottom: -62%;
  right: 0;
  content: "Credit Card";
  white-space: nowrap;
  font-size: clamp(18px, 10vw, 140px);
  line-height: 1;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.7);
}

.cc-card-heading__img {
  position: relative;
  top: -4px;
  width: 80px;
}

.cc-card-heading__title {
  font-size: 40px;
  font-weight: bold;
  color: #d27100;
  letter-spacing: 0.05em;
  z-index: 1;
}

.cc-card-heading__sub {
  display: block;
  font-size: 0.4em;
  font-weight: bold;
  color: #333;
  letter-spacing: 0;
  margin-bottom: 0.2em;
}

.cc-card__col2 {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  column-gap: 24px;
}

.cc-card__main {
  width: calc(100% - 277px - 24px);
  display: grid;
  gap: 24px;
  position: relative;
}

.ad-desc {
  position: absolute;
  top: -20px;
  right: 0;
  color: #333;
  font-size: 13px;
}

.cc-card__sidebar {
  width: 277px;
  display: grid;
  align-content: flex-start;
  gap: 24px;
}

.cc-card-nav {
  display: grid;
  gap: 16px;
}

.cc-card-nav-home-link {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  font-weight: bold;
}

.cc-card-nav-home-link__link {
  display: block;
  width: 100%;
}

.cc-card-nav-home-link__link:hover {
  opacity: 0.8;
}

.cc-card-nav-box {
  background-color: #fff;
  border-radius: 8px;
}

.cc-card-nav-box-heading {
  padding: 16px;
}

.cc-card-nav-box__title {
  font-size: 16px;
  font-weight: bold;
  color: #d27100;
  padding: 2px 16px;
  position: relative;
}

.cc-card-nav-box__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background-color: #d27100;
}

.cc-card-nav-box__link {
  border-top: 1px solid #e0e0e0;
  padding: 14px 24px;
  display: block;
  font-size: 15px;
  position: relative;
}

.cc-card-nav-box__link::before {
  content: "";
  position: absolute;
  background-image: url(img/cc-card/icon_arrow-right.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  width: 5px;
  height: 9px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.cc-card-nav-box__link:hover {
  background-color: #f5f5f5;
}

.cc-card-side-bnr {
  display: grid;
  gap: 16px;
}

.cc-card-side-bnr__link {
  display: block;
}

.cc-card-side-bnr__link:hover {
  opacity: 0.8;
}

.cc-card-side-bnr__img {
  width: 100%;
}

.cc-card-box-wrapper {
  display: grid;
  gap: 24px;
}

.cc-card-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
}

.cc-card-box-heading {
  margin-bottom: 16px;
}

.cc-card-box-heading__title {
  font-size: 24px;
  font-weight: bold;
  color: #d27100;
  position: relative;
  display: flex;
  align-items: center;
}

.cc-card-box-heading__title--with-rank {
  padding-left: 40px;
}

/* .cc-card-box-heading__title::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  content: "";
  background-image: url(img/cc-card/icon_crown.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 32px;
  height: 26px;
} */

.cc-card-box-heading__rank {
  font-size: 32px;
  margin-right: 0.2em;
  position: relative;
  white-space: nowrap;
}

.cc-card-box-heading__rank::before {
  position: absolute;
  top: 0.2em;
  left: -1.2em;
  content: "";
  background-image: url(img/cc-card/icon_crown.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 32px;
  height: 26px;
}

.cc-card-box--no1 .cc-card-box-heading__rank::before {
  background-image: url(img/cc-card/icon_crown_no1.svg);
}

.cc-card-box--no2 .cc-card-box-heading__rank::before {
  background-image: url(img/cc-card/icon_crown_no2.svg);
}

.cc-card-box--no3 .cc-card-box-heading__rank::before {
  background-image: url(img/cc-card/icon_crown_no3.svg);
}

.cc-card-box--no1 .cc-card-box-heading__rank {
  color: #cfc800;
}

.cc-card-box--no2 .cc-card-box-heading__rank {
  color: #adb2b9;
}

.cc-card-box--no3 .cc-card-box-heading__rank {
  color: #b78a75;
}

.cc-card-box-heading__rank-unit {
  font-size: 0.6em;
}

.cc-card-box-main {
  display: flex;
  column-gap: 24px;
}

.cc-card-box-main__figure {
  flex: 0 1 280px;
  height: 177px;
  text-align: center;
}

.cc-card-box-main__img {
  width: 100%;
  width: auto;
  height: 177px;
}

.cc-card-box-main__body {
  flex: 1;
}

.cc-card-box-main__desc {
  margin-bottom: 16px;
}

.cc-card-box-main__desc p {
  font-size: 14px;
  line-height: 1.5;
}

.cc-card-box-main__info-table {
  width: 100%;
  border-collapse: collapse;
}

.cc-card-box-main__info-table tr {
  border-bottom: solid 1px #ddd;
}

.cc-card-box-main__info-table th,
.cc-card-box-main__info-table td {
  padding: 8px;
  font-size: 14px;
}

.cc-card-box-main__info-table th {
  font-weight: bold;
  width: 120px;
}

.cc-card-box-recommend {
  margin-top: 16px;
  border-radius: 8px;
  padding: 16px;
  border: 2px solid #ffdcb3;
  background-color: #fffce6;
}

.cc-card-box-recommend__title {
  font-size: 15px;
  font-weight: bold;
  color: #d27100;
  margin-bottom: 8px;
}

.cc-card-box-recommend__list {
  display: grid;
  gap: 4px;
}

.cc-card-box-recommend__item {
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  padding-left: 1.6em;
}

.cc-card-box-recommend__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  /* transform: translateY(-50%); */
  background-image: url(img/cc-card/icon_check.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 16px;
  height: 12px;
}

.cc-card-box__btns {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.cc-card-box__btn {
  flex: 1;
  display: block;
}

.cc-card-btn-01 {
  background-color: var(--card-main-color);
  background: linear-gradient(to bottom, #f48e16, #de7e0e);
  color: #fff;
}

.cc-card-btn-02 {
  background-color: #fff;
  color: var(--card-main-color);
  border: 2px solid var(--card-main-color);
}

.cc-card-btn > a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  padding: 20px;
}

.cc-card-btn > a:hover {
  opacity: 0.8;
}

.single-card .wp-block-button__link {
  background-color: var(--card-main-color);
  background: linear-gradient(to bottom, #f48e16, #de7e0e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  padding: 20px;
  min-width: 300px;
}

.cc-card-btn-official > a {
  background-color: var(--card-main-color);
  background: linear-gradient(to bottom, #f48e16, #de7e0e);
  color: #fff;
  min-width: 300px;
}

.cc-card-btn-explanation > a {
  background-color: #fff;
  color: var(--card-main-color);
  border: 2px solid var(--card-main-color);
}

.cc-card-bnr {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.cc-card-bnr__link {
  display: block;
}

.cc-card-bnr__link:hover {
  opacity: 0.8;
}

.cc-card-bnr__img {
  width: 100%;
}

.cc-card-articles {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
}

.cc-card-articles-heading {
  margin-bottom: 16px;
}

.cc-card-articles-heading__title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: bold;
  color: var(--card-main-color);
  position: relative;
  padding-left: 1em;
}

.cc-card-articles-heading__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background-color: var(--card-main-color);
}

.cc-card-articles__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cc-card-articles__link:hover {
  opacity: 0.8;
}

.cc-card-articles__figure > img {
  width: 100%;
}

.cc-card-articles__body {
  margin-top: 8px;
}

.cc-card-articles__title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}

.cc-card-footer {
  padding: 48px 0;
  background-color: #000;
}

.cc-card-footer__inner {
  display: flex;
  justify-content: space-between;
  column-gap: 32px;
}

.cc-card-footer__logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--card-main-color);
  word-break: keep-all;
}

.cc-card-footer-nav {
  display: flex;
  column-gap: 32px;
  flex: 0 0 84%;
}

.cc-card-footer-nav-box__title {
  font-size: 16px;
  font-weight: bold;
  color: var(--card-main-color);
  margin-bottom: 16px;
}

.cc-card-footer-nav-box__list {
  display: grid;
  gap: 12px;
}

.cc-card-footer-nav-box__item {
  font-size: 14px;
}

.cc-card-footer-nav-box__link {
  color: #fff;
}

.cc-card-footer-nav-box__link:hover {
  opacity: 0.8;
}

.cc-card-footer-nav-box__company-link {
  color: #fff;
  font-size: 15px;
}

.cc-card-footer__copyright {
  margin-top: 56px;
  font-size: 12px;
  color: #fff;
}

.cc-card-archive-heading {
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
}

.cc-card-archive-heading__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--card-main-color);
}

.cc-card-archive-heading__desc {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

/* マーカー装飾 */
.yellow-marker {
  background: linear-gradient(to top, #ffef66 50%, transparent 50%);
}

.bold-yellow-marker {
  background: linear-gradient(to top, #ffef66 50%, transparent 50%);
  font-weight: bold;
}

.post-profile {
  display: flex;
  gap: 24px;
  background-color: #fffaf4;
  border: 2px solid #ffe8ce;
  padding: 24px;
  border-radius: 8px;
}

.post-profile__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.post-profile__name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.post-profile__desc {
  font-size: 14px;
  line-height: 1.5;
}

.post-profile__desc p:not(:last-child) {
  margin-bottom: 0.5em;
}

.post-profile__desc a {
  text-decoration: underline;
}

.post-template-single-creditcard .cc-card-header,
.posttype-creditcard .cc-card-header {
  background-color: #ebf7ff;
}

.post-template-single-creditcard .fukurou-main-contents,
.posttype-creditcard .fukurou-main-contents {
  background-color: #ebf7ff;
}

.post-template-single-creditcard .cc-card-heading__title,
.posttype-creditcard .cc-card-heading__title {
  color: var(--creditcard-main-color);
}

.post-template-single-creditcard .cc-card-nav-box__title,
.posttype-creditcard .cc-card-nav-box__title {
  color: var(--creditcard-main-color);
}

.post-template-single-creditcard .cc-card-nav-box__title::before,
.posttype-creditcard .cc-card-nav-box__title::before {
  background-color: var(--creditcard-main-color);
}

/* .post-type-archive-creditcard .cc-card-footer__logo,
.post-template-single-creditcard .cc-card-footer__logo {
  color: var(--creditcard-main-color);
}

.post-type-archive-creditcard .cc-card-footer-nav-box__title,
.post-template-single-creditcard .cc-card-footer-nav-box__title {
  color: var(--creditcard-main-color);
} */

/*--------------------------------
LP1 法人カードおすすめ10選
---------------------------------*/
.lp-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-contents {
  color: #000;
}

.lp-col2 {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 32px;
}
.lp-main {
  flex: 1;
}

.lp-sidebar {
  flex: 0 0 300px;
}

.lp__mv {
  margin-bottom: 16px;
}

.lp__mv img {
  width: 100%;
  height: auto;
}

.promotion-text {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 8px;
  text-align: right;
}

/* 大注目の法人カード */
.lp-recommend {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 3px solid #ee5f59;
  overflow: hidden;
}

.lp-recommend__heading {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  background-color: #ee5f59;
  padding: 20px;
  text-align: center;
  padding-left: 2em;
}

.lp-recommend__heading-text {
  position: relative;
}

.lp-recommend__heading-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1.5em;
  width: 1.2em;
  height: 1.2em;
  background-color: #ee5f59;
  background-image: url(img/lp/icon_recommend.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-recommend__body {
  padding: 32px;
  border-radius: 0 0 8px 8px;
}

.lp-card-box {
  background-color: #fff;
  border-radius: 8px;
}

.lp-card-box-heading {
  margin-bottom: 16px;
}

.lp-card-box-heading__title {
  font-size: 24px;
  font-weight: bold;
  color: #d27100;
  position: relative;
  display: flex;
  align-items: center;
}

.lp-card-box-heading__title-recommend {
  color: #ee5f59;
}

.lp-card-box-main {
  display: flex;
  column-gap: 24px;
}

.lp-card-box-main__figure {
  flex: 0 1 38%;
  text-align: center;
}

.lp-card-box-main__img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.lp-card-box-main__body {
  flex: 1;
}

.lp-card-box-main__desc {
  margin-bottom: 16px;
}

.lp-card-box-main__desc p {
  font-size: 14px;
  line-height: 1.5;
}

/* .lp-card-box-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
} */

.lp-card-box-info__table {
  width: 100%;
  border-collapse: collapse;
}

.lp-card-box-info__table tr {
  border-bottom: solid 1px #ddd;
}

.lp-card-box-info__table th,
.lp-card-box-info__table td {
  padding: 8px 4px;
  font-size: 14px;
  vertical-align: middle;
}

.lp-card-box-info__table th {
  font-weight: bold;
  width: 130px;
}

.lp-card-box-info__table td {
  width: 170px;
}

.lp-card-box-logo {
  height: 20px;
  width: auto;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
}

.lp-card-box-sub-text {
  font-size: 10px;
}

.lp-card-box-note {
  margin-top: 16px;
  font-size: 11px;
}

.lp-card-box-note__list {
  display: grid;
  gap: 2px;
}

.lp-card-box-note__text p {
  line-height: 1.5;
}

.lp-card-box-recommend {
  margin-top: 16px;
  border-radius: 8px;
  padding: 16px;
  border: 2px solid #ffdcb3;
  background-color: #fffce6;
}

.lp-card-box-recommend__title {
  font-size: 15px;
  font-weight: bold;
  color: #d27100;
  margin-bottom: 8px;
}

.lp-card-box-recommend__list {
  display: grid;
  gap: 4px;
}

.lp-card-box-recommend__item {
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  padding-left: 1.6em;
}

.lp-card-box-recommend__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  background-image: url(img/cc-card/icon_check.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 16px;
  height: 12px;
}

.lp-card-box-btn {
  display: block;
  width: 90%;
  margin: 0 auto;
  background-color: #ed8912;
  margin-top: 20px;
  color: #fff;
  padding: 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

.lp-card-box-btn:hover {
  opacity: 0.8;
}

.lp-card-box-btn-recommend {
  background-color: #ee5f59;
  color: #fff;
}

/* おすすめ法人カード TOP10 */
.lp-ranking {
  counter-reset: number 0;
}

.lp-ranking__heading {
  font-weight: bold;
  color: #fff;
  background-color: #e9a417;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1.5em;
  position: relative;
}

.lp-ranking__heading::before {
  /* 下の中央に下向きの三角形をつける */
  content: "";
  position: absolute;
  bottom: -10px !important;
  left: 50% !important;
  transform: translateX(-50%);
  border-top: 10px solid #e9a417 !important;
  border-left: 10px solid transparent !important;
  border-right: 10px solid transparent !important;
  z-index: 1;
}

.lp-ranking__heading-subtext {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lp-ranking__heading-subtext::before,
.lp-ranking__heading-subtext::after {
  width: 2px;
  height: 28px;
  content: "";
  background-color: #fff;
}

.lp-ranking__heading-subtext::before {
  margin-right: 0.5em;
  transform: rotate(-30deg);
}

.lp-ranking__heading-subtext::after {
  margin-left: 0.5em;
  transform: rotate(30deg);
}

.lp-ranking__heading-text {
  font-size: 32px;
  font-weight: bold;
  display: inline-block;
  margin-top: 4px;
  position: relative;
}

.lp-ranking__heading-text::before {
  /* 左に王冠を付ける */
  content: "";
  position: absolute;
  top: -0.05em;
  left: -1.3em;
  width: 1.2em;
  height: 1.2em;
  background-image: url(img/lp/icon_crown.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-ranking__body {
  display: grid;
  gap: 20px;
}

.lp-ranking__item {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
}

.lp-ranking .lp-card-box-heading__title {
  padding-left: 1.8em;
}

.lp-ranking .lp-card-box-heading__title::before {
  /* ランキングの数字を自動で付与 */
  counter-increment: number 1;
  content: counter(number) " ";
  position: absolute;
  top: -0.2em;
  left: 0;
  width: 1.5em;
  height: 1.5em;
  background-color: #e9a417;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  border-radius: 50%;
  z-index: 1;
  display: block;
  position: absolute;
}

.lp-card-box-voice {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.lp-card-box-voice-item {
  flex: 0 0 50%;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #dddddd;
}

.lp-card-box-voice-item__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.lp-card-box-voice-item__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.lp-card-box-voice-item__name {
  font-size: 14px;
}

.lp-card-box-voice-item__title {
  font-size: 15px;
  font-weight: bold;
  color: #d27101;
  margin-bottom: 8px;
}

.lp-card-box-voice-item__desc {
  font-size: 14px;
  line-height: 1.5;
}

/* キャンペーン情報 */
.lp-card-box-campaign {
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #e9a417;
  display: flex;
  align-items: stretch;
}

.lp-card-box-campaign__heading {
  flex: 0 0 20%;
  font-size: 15px;
  font-weight: bold;
  background-color: #e9a417;
  color: #fff;
  padding: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.5em;
}

.lp-card-box-campaign__title {
  flex: 1;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  position: relative;
}

.lp-card-box-campaign__title::before {
  /* 上に王冠を付ける */
  content: "";
  position: absolute;
  top: -2.2em;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-image: url(img/lp/icon_campaign.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-card-box-campaign__body {
  font-size: 14px;
  line-height: 1.5;
  padding: 16px 16px 16px 0;
  display: flex;
  align-items: center;
}

.lp-card-box-campaign__list {
  display: grid;
  gap: 8px;
}

.lp-card-box-campaign__item {
  margin-left: 2em;
  font-weight: bold;
  list-style: disc;
}

.lp-card-box-campaign__item--bold {
  color: #d27101;
}

/* 法人カードの選び方 */
.lp-choice {
  border-radius: 8px;
  background-color: #fefce6;
  margin-top: 24px;
  padding: 20px 30px 30px 30px;
  counter-reset: choice-card-number 0;
}

.lp-choice__heading {
  text-align: center;
  margin-bottom: 1.5em;
  position: relative;
  background-image: url(img/lp/choice-man.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: calc(50% + 230px) bottom;
  padding-top: 2em;
}

.lp-choice__heading-subtitle {
  display: block;
  max-width: 287px;
  margin: 0 auto;
}

/* .lp-choice__heading-person {
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  max-width: 128px;
  margin: 0 auto;
} */

.lp-choice__heading-text {
  font-size: 32px;
  font-weight: bold;
  color: #d27101;
  position: relative;
  margin-left: 1.5em;
}

.lp-choice__heading-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1.6em;
  width: 1.3em;
  height: 1.3em;
  background-image: url(img/lp/icon_choice-card.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-choice__body {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, 280px);
  justify-content: space-between;
  align-items: stretch; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.lp-choice-card {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e9a417;
  background-color: #fff;
  max-width: 282px;
  flex: 0 1 282px;
}

.lp-choice-card__heading {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #e9a417;
  text-align: center;
  padding: 16px;
}

.lp-choice-card__heading-text {
  position: relative;
  margin-left: 1.5em;
}

.lp-choice-card__heading-text::before {
  /* 数字を連番で付与 */
  counter-increment: choice-card-number 1;
  content: "0" counter(choice-card-number);
  position: absolute;
  top: -4px;
  left: -36px;
  width: 32px;
  height: 32px;
  background-color: #fff;
  color: #e9a417;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  z-index: 1;
  display: block;
  position: absolute;
}

.lp-choice-card__body {
  background-color: #fff;
  padding: 24px;
}

.lp-choice-card__img {
  max-width: 200px;
  margin: 0 auto;
}

.lp-choice-card__img img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-choice-card__desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}

/* サイドバー：ピックアップ */
.lp-side-pickup {
  background-color: #fff;
  border-radius: 8px;
  border: 3px solid #00c1a3;
  margin-bottom: 24px;
}

.lp-side-pickup__heading {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #00c1a3;
  padding: 20px;
  text-align: center;
}

.lp-side-pickup__heading-text {
  position: relative;
}

.lp-side-pickup__heading-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -32px;
  width: 26px;
  height: 26px;
  background-color: #00c1a3;
  background-image: url(img/lp/icon_pickup.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-side-pickup__body {
  padding: 24px;
}

.lp-side-pickup__title {
  font-size: 20px;
  font-weight: bold;
  color: #00c1a3;
  text-align: center;
}

.lp-side-pickup__desc {
  font-size: 14px;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
  margin-top: 8px;
}

.lp-side-pickup__img {
  margin-top: 16px;
}

.lp-side-pickup__img img {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

.lp-side-pickup-point {
  margin-top: 16px;
  padding: 16px;
  background-color: #edfffc;
  border-radius: 8px;
  border: 3px solid #84c5bb;
}

.lp-side-pickup-point__title {
  font-size: 16px;
  font-weight: bold;
  color: #00c1a3;
  margin-bottom: 8px;
}

.lp-side-pickup-point__list {
  display: grid;
  gap: 4px;
}

.lp-side-pickup-point__item {
  font-size: 11px;
  line-height: 1.5;
  position: relative;
  padding-left: 1.6em;
}

.lp-side-pickup-point__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  background-image: url(img/cc-card/icon_check-green.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 16px;
  height: 12px;
}

.lp-side-btn {
  display: block;
  background-color: #ed8912;
  color: #fff;
  padding: 16px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  margin-top: 16px;
}

.lp-side-btn:hover {
  opacity: 0.8;
}

.lp-side-pickup-btn {
  background-color: #00c1a3;
  width: 100%;
}

.lp-side-ranking {
  margin-bottom: 24px;
  border-radius: 8px;
  border: 3px solid #e9a417;
  overflow: hidden;
}

.lp-side-ranking__heading {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #e9a417;
  padding: 20px;
  text-align: center;
}

.lp-side-ranking__heading-text {
  position: relative;
}

.lp-side-ranking__heading-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -32px;
  width: 26px;
  height: 26px;
  background-image: url(img/lp/icon_crown.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-side-ranking-rank {
  margin-bottom: 8px;
  color: #e9a417;
  text-align: center;
  padding-left: 2em;
}

.lp-side-ranking-rank__number {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.lp-side-ranking-rank__inner {
  position: relative;
  display: inline-block;
}

.lp-side-ranking-rank__inner::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -48px;
  width: 40px;
  height: 40px;
  background-image: url(img/lp/icon_crown.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.lp-side-ranking__item--no1 .lp-side-ranking-rank__inner::before {
  background-image: url(img/cc-card/icon_crown_no1.svg);
}

.lp-side-ranking__item--no2 .lp-side-ranking-rank__inner::before {
  background-image: url(img/cc-card/icon_crown_no2.svg);
}

.lp-side-ranking__item--no3 .lp-side-ranking-rank__inner::before {
  background-image: url(img/cc-card/icon_crown_no3.svg);
}

.lp-side-ranking__item--no1 .lp-side-ranking-rank {
  color: #cfc800;
}

.lp-side-ranking__item--no2 .lp-side-ranking-rank {
  color: #adb2b9;
}

.lp-side-ranking__item--no3 .lp-side-ranking-rank {
  color: #b78a75;
}

.lp-side-ranking-rank__unit {
  font-size: 20px;
  font-weight: bold;
  margin-left: -0.2em;
}

.lp-side-ranking__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: bold;
  color: #e9a417;
  text-align: center;
}

.lp-side-ranking__item {
  background-color: #fff;
  padding: 24px;
  border-bottom: 1px solid #ccc;
}

.lp-side-ranking__item:last-child {
  border-bottom: none;
}

/*--------------------------------
1240px以下
---------------------------------*/
/* FUKUROUレイアウト調整 */
@media screen and (max-width: 1240px) {
  .fukurou-concept__desc {
    margin-top: 24px;
    font-size: 20px;
  }

  .fukurou-tool-box__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .fukurou-tool-box {
    padding: 48px;
  }
  .fukurou-concept__title img {
    max-width: 100%;
  }
}

/*--------------------------------
以下からSP
---------------------------------*/
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  /* レイアウト */
  .container {
    padding: 0;
  }

  .page-contents {
    padding: 40px 0 48px;
  }

  /* アニメーション */
  .delay-time01,
  .delay-time02 {
    animation-delay: unset;
  }

  /* パンくずリスト */
  .breadcrumb__inner {
    font-size: 11px;
  }

  /* 記事 */
  .breadcrumb-wrapper {
    padding: 16px;
  }

  .post-wrapper {
    flex-direction: column;
    row-gap: 24px;
  }

  .post__article {
    width: 100%;
    padding: 16px;
  }

  .post__title {
    font-size: 20px;
  }

  .post__info {
    margin-top: 8px;
  }

  .post__header {
    margin-bottom: 24px;
  }

  .post-date {
    font-size: 12px;
  }

  .post__body p {
    font-size: 14px;
    line-height: 1.9;
  }

  #rtoc-mokuji-wrapper {
    padding: 16px;
  }

  #rtoc-mokuji-wrapper #rtoc-mokuji-title {
    font-size: 14px;
  }

  #rtoc-mokuji-wrapper.rtoc-mokuji-content .rtoc-mokuji li > a {
    font-size: 13px;
  }

  .rtoc-mokuji-content .rtoc-mokuji.level-1 {
    font-size: 14px;
  }

  .rtoc-mokuji-content .rtoc-mokuji.level-2 {
    display: none;
  }

  .post__body h2 {
    font-size: 18px;
    border-radius: 4px;
  }

  .post__body h2:before {
    border-radius: 4px 0 0 4px;
  }

  .post__body h3 {
    font-size: 16px;
    padding-top: 1.5em;
  }

  .post__body h4 {
    font-size: 16px;
  }

  .post__body .card-height-fix img {
    max-height: 207px !important;
    width: auto !important;
  }

  .post__header--case .post__title {
    font-size: 20px;
  }

  .post__company {
    font-size: 16px;
  }

  .post-company-info__item {
    font-size: 16px;
  }

  .post-company-info__item-label {
    font-size: 13px;
  }

  .post-solution-box {
    padding: 16px;
  }

  .post-solution-box__inner::before {
    left: 28px;
  }

  .post-solution-box__title {
    font-size: 12px;
    width: 60px;
    height: 60px;
  }

  .post-solution-box__body {
    font-size: 14px;
    line-height: 1.4;
  }

  .post-solution-box__item::before {
    left: 27px;
  }

  .wp-block-image figcaption {
    font-size: 11px;
  }

  .wp-block-button__link {
    padding: 1em;
  }

  .ad-yaritori {
    padding: 24px;
  }

  .ad-yaritori__title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .ad-yaritori__subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .ad-yaritori__links {
    flex-direction: column;
  }

  .post-pager__list {
    flex-direction: column;
    row-gap: 8px;
  }

  .post-pager__body {
    padding: 12px;
  }

  /* パターン PR */
  .pattern-pr {
    padding: 16px;
  }

  .pattern-pr.wp-block-media-text {
    gap: 16px;
  }

  .pattern-pr.wp-block-media-text p {
    font-size: 14px;
  }

  /* パターン 任意の記事を表示 */
  .pattern-recommend-article {
    padding: 16px;
  }

  .post-display {
    padding: 12px;
  }

  .post-display__title {
    font-size: 14px;
  }

  /* パターン 良い＆気になる */
  .pattern-good-bad__list {
    padding: 12px 12px 12px 24px;
    font-size: 14px;
  }

  /* パターン 注目ポイント */
  .pattern-point {
    padding: 16px;
    font-size: 14px;
  }

  /* パターン アンカーリンク */
  .pattern-anchorlink {
    display: none;
  }

  .pattern-anchorlink__btn-wrapper a {
    font-size: 12px;
    background-size: 10px;
    padding-right: 24px;
  }

  /* パターン 追従ページ内リンク */
  .pattern-sticky-link {
    background-color: #fff;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
    font-weight: bold;
    border-bottom: 1px solid #e7e7e7;
  }

  .pattern-sticky-link.is-fixed {
    position: fixed;
    top: 57px;
    width: 100%;
    z-index: 9999;
  }

  .post__body .pattern-sticky-link > .wp-block-column {
    flex-basis: unset !important;
    flex: 1 !important;
    text-align: center;
  }

  .post__body .pattern-sticky-link > .wp-block-column a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    transition: none;
    padding: 8px 0;
  }

  .pattern-sticky-link a.is-active {
    border-bottom: 3px solid var(--card-main-color);
  }

  /* ===== テーブル折りたたみ用ラッパー ===== */
  .ftb-wrapper {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5; /* 必要なら外枠 */
    border-radius: 4px;
    max-height: 200px;
    overflow: hidden; /* ここでクリップ */
    transition: max-height 0.3s ease;
  }

  /* 展開時：制限解除（十分大きな値に） */
  .ftb-wrapper.expanded {
    max-height: 9999px;
  }

  /* 下部フェード（続きがある雰囲気を出す） */
  .ftb-wrapper .ftb-fader {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%
    );
  }
  .ftb-wrapper.expanded .ftb-fader {
    display: none;
  }

  /* ボタン（テーブルの“外”に設置） */
  .ftb-toggle {
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 8px 14px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    position: relative;
    top: -4px;
    background-color: transparent;
  }

  /* SVGアイコン */
  .ftb-toggle .toggle-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
  }

  /* ラッパーが展開中なら、直後のボタンのアイコンを回転 */
  .ftb-wrapper.expanded + .ftb-toggle .toggle-icon {
    transform: rotate(180deg);
  }

  /* サイドバー */
  .sidebar {
    width: 100%;
    padding: 0 16px;
  }

  .side-section {
    margin-bottom: 32px;
  }
  .side-sticky {
    display: none !important;
    opacity: none;
  }

  .side-banner {
    text-align: center;
  }

  /* 404 */
  .not-found__text {
    font-size: 15px;
  }

  /* FUKUROU */
  .fukurou-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fukurou-feature {
    padding: 16px 0 64px 0;
  }

  .fukurou-feature__title {
    font-size: 18px;
  }

  .fukurou-concept__title img {
    max-width: 100%;
  }

  .fukurou-header__links {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ebe9e0;
    padding: 16px;
    gap: 8px;
  }

  .fukurou-header-link {
    flex: 0 1 50%;
  }

  .fukurou-header__btn {
    width: 100%;
    font-size: 12px;
  }

  .fukurou-feature__body {
    padding: 0 20px;
  }

  .fukurou-outer-container {
    padding: 0 16px;
  }

  .fukurou-concept {
    padding: 32px 0 40px 0;
    background-image: url(img/fukurou_sp-bg_pickup.webp);
    margin-bottom: 32px;
  }

  .fukurou-concept__body {
    flex-direction: column;
  }

  .fukurou-section {
    padding: 48px 0;
  }

  .fukurou-heading {
    margin-bottom: 40px;
  }

  .fukurou-heading__title {
    margin-bottom: 24px;
  }

  .fukurou-heading__desc {
    margin: 0;
    font-size: 20px;
  }

  .fukurou-tool-section {
    overflow: hidden;
  }

  .fukurou-tool-box {
    flex-direction: column;
    padding: 56px 16px;
    row-gap: 24px;
  }

  .fukurou-tool-box__heading {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .fukurou-tool-box__title {
    font-size: 32px;
  }

  .fukurou-tool-box__desc {
    margin-top: 24px;
  }

  .fukurou-tool-box__desc p {
    font-size: 15px;
  }

  .fukurou-tool-box--01::after {
    width: 300px;
    height: 182px;
    background-image: url(img/fukurou_sp-tool-box-business.webp);
    background-position: bottom center;
  }

  .fukurou-tool-box--02::after {
    width: 308px;
    height: 121px;
    background-image: url(img/fukurou_sp-tool-box-service.webp);
    background-position: bottom center;
  }

  .fukurou-tool-box--03::after {
    width: 307px;
    height: 121px;
    background-image: url(img/fukurou_sp-tool-box-sales.webp);
    background-position: bottom center;
  }

  .fukurou-bnrs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fukurou-pickup-section {
    padding: 16px 0 32px;
  }

  .fukurou-useful-section .fukurou-heading {
    margin-bottom: 32px;
  }

  .fukurou-useful-section .fukurou-section__body {
    margin-top: 0;
  }

  .fukurou-line-drawing {
    width: 36%;
  }

  .fukurou-onayami {
    border-radius: 32px;
    padding: 24px;
    width: 91%;
  }

  .fukurou-onayami::after {
    bottom: -30px;
    width: 40px;
    height: 36px;
  }

  .fukurou-onayami-title {
    top: 40px;
    left: -2%;
    width: 84%;
  }

  .fukurou-onayami-title img {
    width: 100%;
  }

  .fukurou-useful-section {
    padding: 64px 0 80px 0;
  }

  .fukurou-onayami {
    background-size: 1330px 260px;
  }

  .fukurou-onayami-desc p {
    font-size: 20px;
  }

  .fukurou-contact-intro {
    text-align: left;
  }

  .fukurou-footer__body {
    flex-direction: column;
    row-gap: 32px;
  }

  .fukurou-contact-btn {
    width: 100%;
  }

  .fukurou-footer {
    padding: 40px 16px 124px 16px;
  }

  .fukurou-footer__bnr-service img {
    max-width: 100%;
  }

  .fukurou-footer-title .fukurou-outer-container {
    padding: 0;
  }

  /*--------------------------------
法人カードレイアウト SP
---------------------------------*/
  @media screen and (max-width: 1000px) {
    .cc-card__col2 {
      column-gap: 16px;
    }

    .cc-card__main {
      width: calc(100% - 230px - 16px);
    }

    .ad-desc {
      font-size: 11px;
    }

    .post-type-archive-card .ad-desc,
    .post-type-archive-creditcard .ad-desc {
      top: -44px;
    }

    .cc-card__sidebar {
      width: 230px;
    }

    .cc-card-nav-box__link {
      font-size: 14px;
    }

    .cc-card-box-main {
      display: flex;
      flex-direction: column;
    }

    .cc-card-box-main__figure {
      flex: auto;
      margin-bottom: 16px;
    }

    .cc-card-heading__title {
      font-size: 32px;
    }

    .cc-card-heading__img {
      width: 60px;
    }

    .cc-card-btn > a {
      font-size: 16px;
      padding: 14px;
    }
    .cc-card-bnr {
      grid-template-columns: 1fr;
    }

    .cc-card-articles__list {
      grid-template-columns: 1fr;
    }

    .cc-card-articles__link {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 16px;
    }

    .cc-card-articles__body {
      margin-top: 0;
    }

    .cc-card-articles__title {
      font-size: 13px;
    }

    .cc-card-footer__logo {
      font-size: 16px;
    }

    .cc-card-footer-nav-box__title {
      font-size: 14px;
    }

    .cc-card-footer-nav-box__item {
      font-size: 13px;
    }

    .cc-card-footer-nav-box__company-link {
      font-size: 13px;
    }

    .cc-card-footer__copyright {
      font-size: 11px;
    }
  }
  @media screen and (max-width: 768px) {
    .has-small-font-size {
      font-size: 10px !important;
    }

    .cc-card-header__logo {
      font-size: 12px;
    }

    .cc-card-header__logo-company {
      font-size: 10px;
    }

    .cc-card-header__logo-company-logo img {
      width: 58px;
    }

    .cc-card {
      padding-top: 48px;
    }

    .cc-card .container {
      padding: 0 8px;
    }

    .cc-card-header {
      padding: 0 16px;
    }

    .cc-card-btn-menu {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 8px;
      right: 8px;
      width: 48px;
      height: 40px;
      text-align: center;
      z-index: 1000;
      padding: 8px;
      outline: none;
      border: none;
      background: none;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      appearance: none;
      background: var(--card-main-color);
      border-radius: 4px;
    }

    .cc-card-btn-menu-icon {
      width: 100%;
      padding: 8px 0;
    }

    .cc-card-btn-menu-icon__line {
      position: relative;
      left: 0;
      display: block;
      width: 100%;
      height: 2px;
      transition: all 0.4s;
      border-radius: 4px;
      background-color: #fff;
    }

    .cc-card-btn-menu-icon__line::before,
    .cc-card-btn-menu-icon__line::after {
      position: absolute;
      display: block;
      content: "";
      width: 100%;
      height: 100%;
      transition: inherit;
      border-radius: 4px;
      background-color: inherit;
    }

    .cc-card-btn-menu-icon__line::before {
      top: -6px;
    }

    .cc-card-btn-menu-icon__line::after {
      top: 6px;
    }

    .cc-card-btn-menu.is-active .cc-card-btn-menu-icon__line {
      background-color: transparent;
    }

    .cc-card-btn-menu.is-active .cc-card-btn-menu-icon__line::before,
    .cc-card-btn-menu.is-active .cc-card-btn-menu-icon__line::after {
      top: 0;
      background-color: #fff;
    }

    .cc-card-btn-menu.is-active .cc-card-btn-menu-icon__line::before {
      transform: rotate(32deg);
    }

    .cc-card-btn-menu.is-active .cc-card-btn-menu-icon__line::after {
      transform: rotate(-32deg);
    }

    .cc-card-btn-menu__text {
      font-size: 10px;
      color: #fff;
      margin-top: 2px;
    }

    .cc-card__col2 {
      flex-direction: column;
    }

    .cc-card__main {
      width: 100%;
    }

    /* .cc-card-btn-menu.is-active {
    display: flex;
  } */

    .cc-card__sidebar {
      position: fixed;
      top: 0;
      right: 0;
      display: block;
      width: 230px;
      height: 100%;
      transform: translateX(230px);
      transition: all 0.3s ease;
      z-index: 10;
      background-color: #fff;
      align-items: flex-start;
      justify-content: center;
      padding: 60px 0 8px;
    }

    .cc-card__sidebar.is-show {
      transform: translateX(0);
      box-shadow: -10px 0 35px -20px rgba(0, 0, 0, 0.25);
      overflow-y: auto;
      overflow-x: hidden;
    }

    .cc-card-nav-home-link {
      border-bottom: 1px solid #e0e0e0;
    }

    .cc-card-nav-box__item:last-child .cc-card-nav-box__link {
      border-bottom: 1px solid #e0e0e0;
    }

    .cc-card-heading {
      margin-bottom: 8px;
      margin-top: 1em;
    }

    .cc-card-heading__title {
      font-size: 18px;
    }

    .cc-card-heading__img {
      width: 24px;
    }

    .cc-card-box-wrapper {
      gap: 16px;
    }

    .cc-card-box {
      padding: 12px;
    }

    .cc-card-box-heading__title {
      font-size: 18px;
    }

    .cc-card-box-heading__rank {
      font-size: 24px;
    }
    .cc-card-box-heading__rank::before {
      width: 24px;
      height: 16px;
    }

    .cc-card-box-main__info-table th,
    .cc-card-box-main__info-table td {
      font-size: 12px;
    }

    .cc-card-box-main__info-table th {
      width: 100px;
    }

    .cc-card-box-recommend__item {
      font-size: 12px;
    }

    .cc-card-box__btns {
      flex-direction: column;
    }
    .cc-card-articles-heading__title {
      font-size: 18px;
    }
    .cc-card-footer .container {
      padding: 0 16px;
    }

    .cc-card-footer__inner {
      flex-direction: column;
      row-gap: 24px;
    }

    .cc-card-footer-nav {
      flex-direction: column;
      row-gap: 24px;
    }

    .cc-card-archive-heading {
      padding: 12px;
    }

    .cc-card-archive-heading__title {
      font-size: 18px;
    }

    .cc-card-archive-heading__desc {
      font-size: 14px;
      line-height: 1.5;
      margin-top: 4px;
    }

    .post-profile {
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .post-profile__name {
      text-align: center;
    }
  }

  /*--------------------------------
LP1 法人カードおすすめ10選
---------------------------------*/
  @media screen and (max-width: 1200px) {
    .lp-card-box-info {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }

  @media screen and (max-width: 768px) {
    .page-id-21316 .cc-card-btn-menu {
      display: none;
    }

    .lp-container {
      padding: 0 16px;
    }

    .lp-col2 {
      display: block;
    }

    .promotion-text {
      font-size: 12px;
    }

    .lp-recommend__heading {
      font-size: 24px;
    }

    .lp-recommend__body {
      padding: 16px;
    }

    .lp-ranking__item {
      padding: 16px;
    }

    .lp-ranking__heading-subtext {
      font-size: 18px;
    }

    .lp-ranking__heading-subtext::before,
    .lp-ranking__heading-subtext::after {
      width: 2px;
      height: 14px;
    }

    .lp-ranking__heading-text {
      font-size: 20px;
    }

    .lp-card-box-main {
      display: block;
      row-gap: 16px;
    }

    .lp-card-box-heading__title {
      font-size: 20px;
    }

    .lp-card-box-main__figure {
      margin-bottom: 16px;
    }

    .lp-card-box-btn {
      font-size: 18px;
      width: 100%;
    }

    .lp-card-box-voice {
      flex-direction: column;
      row-gap: 16px;
    }

    .lp-card-box-voice-item {
      padding: 16px;
    }

    .lp-card-box-campaign {
      flex-direction: column;
    }

    .lp-card-box-campaign__heading {
      padding: 16px;
      padding-left: 2em;
    }

    .lp-card-box-campaign__title {
      flex: none;
    }

    .lp-card-box-campaign__title::before {
      top: -0.4em;
      left: -1em;
      width: 1.5em;
      height: 1.5em;
    }

    .lp-choice {
      padding: 16px;
    }

    .lp-choice__heading {
      padding-top: 0;
      background-size: 46px;
      background-position: right bottom;
    }

    .lp-choice__heading-subtitle {
      max-width: 55%;
    }

    .lp-choice__heading-text {
      font-size: 22px;
    }

    .lp-choice__body {
      flex-direction: column;
      flex: 1;
      row-gap: 16px;
    }

    .lp-choice-card {
      flex: 0 0 100%;
      width: 100%;
      max-width: 100%;
    }

    .lp-choice-card__body {
      padding: 16px;
    }

    .lp-sidebar {
      margin-top: 24px;
    }
  }
}
