@charset "UTF-8";

.policy-link {
  text-decoration: underline !important;
  color: #000000;
  transition: all 0.3s ease;
  display: inline-block;
}

.policy-link:hover {
  cursor: pointer;
  opacity: 0.6;
}

/* =======================================
FAQ よくある質問
======================================= */
.p-faq__sec {
  margin-top: 50px;
  margin-bottom: 120px;
}

.faq__item {
  border-top: 1px solid #e5e7eb;
  padding: 20px 0;
}
.faq__item:last-child {
  border-bottom: 1px solid #e5e7eb;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.faq_top_ttl {
  font-size: 24px;
  color: #e60012;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 30px;
}
.faq_top_ttl span {
  color: #000;
}
@media screen and (max-width: 768px) {
  .faq-list {
    gap: 40px;
  }
  .faq_top_ttl {
    font-size: 18px;
    margin-bottom: 15px;
  }
}
.faq__q {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  padding-right: 40px;
  padding-left: 20px;
  user-select: none;
  font-size: 16px;
  color: #e60012;
  transition: all 0.3s ease;
}
.faq__q span {
  color: #000;
}
@media screen and (min-width: 769px) {
  .faq__q:hover {
    cursor: pointer;
    opacity: 0.6;
  }
}

/* 横棒 */
.faq__q::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #e60012;
  transform: translateY(-50%);
}

/* 縦棒 */
.faq__q::after {
  content: "";
  position: absolute;
  right: 31px;
  top: 50%;
  width: 2px;
  height: 24px;
  background: #e60012;
  transform: translateY(-50%) scaleY(1);
  transform-origin: center;
  transition: transform 0.25s ease;
}

/* 開いている時は縦棒を非表示 */
.faq__item.active .faq__q::after {
  transform: translateY(-50%) scaleY(0);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  padding-left: 25px;
}

.faq__item.active .faq__a {
  grid-template-rows: 1fr;
}

.faq__a__inner {
  overflow: hidden;
  color: #000;
  line-height: 1.8;
  padding-top: 0;
  transition: padding 0.3s ease;
  font-size: 14px;
}

.faq__item.active .faq__a__inner {
  padding-top: 12px;
}

/* 768px以下 */
@media (max-width: 768px) {
  .p-faq__sec {
    margin-bottom: 60px;
  }
  .faq__item {
    padding: 15px 0;
  }
  .faq__q {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 32px;
  }

  .faq__q::before {
    width: 18px;
    height: 2px;
    right: 10px;
  }
  .faq__a {
    padding-left: 20px;
  }
  .faq__q::after {
    right: 18px;
    height: 18px;
    width: 2px;
  }

  .faq__a__inner {
    font-size: 12px;
  }
  .faq__item.active .faq__a__inner {
    padding-top: 6px;
  }
}

/* =======================================
お役立ちコラム一覧
======================================= */
.p-column__sec {
  margin-top: 50px;
  margin-bottom: 120px;
}
@media (max-width: 768px) {
  .p-column__sec {
    margin-bottom: 60px;
  }
}
/* =======================================
お役立ちコラム 一覧ページ
======================================= */
.p-column__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-columnCard {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 20px;
  transition: all 0.3s ease;
}
.p-columnCard:hover {
  cursor: pointer;
  opacity: 0.6;
}

.p-columnCard__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  height: 100%;
}

.p-columnCard__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
}
.p-columnCard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.p-columnCard:hover .p-columnCard__thumb img {
  transform: scale(1.05);
}

.p-columnCard__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 16px;
}

.p-columnCard__date {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.p-columnCard__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  flex-grow: 1;
}

/* ページャー */
.p-column__pager {
  margin-top: 80px;
  text-align: center;
}
.p-column__pagerInner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.p-column__pagerNums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.p-column__pagerNums .page-numbers {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #000;
  margin: 0 4px;
  font-size: 14px;
}
.p-column__pagerNums .current {
  background: #111;
  color: #fff;
  border-color: #111;
}
.p-column__pagerBtn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.p-column__pagerBtn:hover {
  background: #f3f4f6;
}

/* 無効状態 */
.p-column__pagerBtn.disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .p-column__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .p-column__pager {
    margin-top: 50px;
  }
  .p-columnCard {
    padding: 15px;
  }
  .p-column__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .p-columnCard__title {
    font-size: 14px;
  }
}

/* =======================================
お役立ちコラム 詳細ページ
======================================= */
.p-column__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin-bottom: 24px;
  word-break: break-word;
}

.p-column__meta + .p-column__title {
  margin-top: 8px;
}

.p-column {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.p-column__content {
  flex: 1 1 auto;
  color: #111;
  line-height: 1.8;
  font-size: 16px;
}

.p-column__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.p-column__content h2,
.p-column__content h3 {
  font-weight: 700;
  margin: 32px 0 16px;
  line-height: 1.4;
}

.p-column__content p {
  margin-bottom: 20px;
}

/* ---------------------------------------
サイドバー
--------------------------------------- */
.p-column__sidebar {
  width: 320px;
  flex-shrink: 0;
  padding-top: 50px;
}

.p-column__widget {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 20px;
}

.p-column__widgetTitle {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  border-left: 4px solid #111;
  padding-left: 8px;
}

/* 最新コラム一覧 */
.p-column__recentList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-column__recentItem + .p-column__recentItem {
  margin-top: 16px;
}

.p-column__recentLink {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: #111;
  transition: opacity 0.2s ease;
}

.p-column__recentLink:hover {
  opacity: 0.8;
}

.p-column__recentThumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #f3f4f6;
  overflow: hidden;
}

.p-column__recentThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-column__recentNoimg {
  display: block;
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}

.p-column__recentMeta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-column__recentDate {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.p-column__recentTitle {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* 空状態 */
.p-column__recentEmpty {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  padding: 16px 0;
}

@media (max-width: 1024px) {
  .p-column__title {
    font-size: 24px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .p-column__title {
    font-size: 20px;
    margin-bottom: 16px;
  }
}

@media (max-width: 1024px) {
  .p-column {
    gap: 32px;
  }

  .p-column__sidebar {
    width: 280px;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .p-column {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .p-column__sidebar {
    order: -1;
    width: 100%;
  }

  .p-column__widget {
    padding: 16px;
  }

  .p-column__widgetTitle {
    font-size: 16px;
  }

  .p-column__recentThumb {
    width: 64px;
    height: 64px;
  }

  .p-column__recentTitle {
    font-size: 13px;
  }
}

/* =======================================
ヘッダーの調整
======================================= */
.l-header__tel {
  flex-shrink: 0;
}

@media screen and (max-width: 1420px) {
  .l-header__tel--num {
    font-size: 1.6vw;
  }
  .l-header__tel--txt1 {
    font-size: 0.9vw;
  }
  .l-header__tel {
    margin: 0 10px;
  }
}

.l-nav--item a {
  white-space: nowrap;
}

