html {
  scroll-behavior: smooth;
}

/*目次ページ*/
.column-index-list {
  margin: 30px 0;
}
.column-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: 0.25s;
}
.column-card,
.column-card:hover {
  text-decoration: none;
}
.column-card:hover {
  border-color: #f08300;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.column-card__thumb {
  flex-shrink: 0;
  width: 180px;
}

.column-card__thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.column-card__body {
  flex: 1;
}

.column-card__category {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #f08300;
  background: #fff4e8;
  padding: 3px 8px;
  border-radius: 999px;
}

.column-card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

.column-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
@media (max-width: 767px) {

  .column-card {
    gap: 12px;
    padding: 14px;
  }

  .column-card__thumb {
    width: 110px;
  }

  .column-card__thumb img {
    height: 80px;
  }

  .column-card__title {
    font-size: 15px;
  }

  .column-card__text {
    font-size: 13px;
  }
}

/*ページ内目次*/
.table-of-contents {
  margin: 30px 0;
  padding: 24px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.table-of-contents__title {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: bold;
}

.table-of-contents__list {
  margin: 0;
  padding-left: 20px;
}

.table-of-contents__list li {
  margin-bottom: 10px;
}

.table-of-contents__list li:last-child {
  margin-bottom: 0;
}

.table-of-contents__list a {
  color: #333;
  text-decoration: none;
}

.table-of-contents__list a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}

/*見出し*/

h2,
h3,
h4,
h5 {
  all: unset;
  display: block;
}
@media screen and (max-width: 768px) {
    #pagetitle h1 {
        font-size: 20px;
		line-height: 120%;
    }
}
h2.column-h2 {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  margin: 40px 0 20px;
  padding: 12px 16px 12px 24px;
  background-color: #BAE247;
}

/* 左上の折れ */
h2.column-h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 15px solid #40A841; /* 少し濃い色にすると自然 */
  border-right: 15px solid transparent;
}

h3.column-h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 15px;
  padding-left: 12px;
  border-left: 4px solid #40A841;
}

h4.column-h4 {
  margin: 0 0 12px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
  background: #fff4e8;
  border-radius: 4px;
  display: inline-block;
	border-bottom: solid 1px #cccccc;
}

h5.column-h5 {
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  opacity: 0.85;
}

.waku1 {
  margin: 25px 0;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #dddddd;
  border-left: 4px solid #f08300;
  border-radius: 8px;
}

.post-date {
  margin: 0 0 16px;
  font-size: 13px;
  color: #777;
}

.post-date i {
  margin-right: 6px;
  color: #f08300;
}

/*取材ポイント*/
.point-box {
  margin: 30px 0;
  padding: 40px 24px 20px;
  border: 2px solid #f08300;
  border-radius: 8px;
  background: #fffaf4;
  position: relative;
}

.point-box__title {
  position: absolute;
  top: -12px;
  left: 16px;
  background: #f08300;
  color: #fff;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}

/*FAQ*/
.faq-box {
  margin: 20px 0;
  border: 1px solid #dddddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background: #40A841;
  color: #fff;
  font-weight: 700;
  line-height: 1.8;
}
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background: #F1FAF1;
  color: #333;
  line-height: 1.9;
}

.faq-a__body {
  flex: 1;
}

.faq-a__body p:last-child {
  margin-bottom: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon.q {
  background: #fff;
  color: #40A841;
}

.faq-icon.a {
  background: #40A841;
  color: #fff;
}

@media (max-width: 767px) {
  .faq-q,
  .faq-a {
    padding: 14px;
  }

  .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

/*著者プロフィール*/
.author-box {
  margin: 60px 0 0;
}

/* 枠 */
.author-box__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

/* 上に細いアクセントライン */
.author-box__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f08300, #f7b267);
}

/* ほんのり浮かせる */
.author-box__inner:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* 画像 */
.author-box__image {
  flex-shrink: 0;
  width: 80px;
}

.author-box__image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* テキスト */
.author-box__content {
  flex: 1;
}

.author-box__label {
  font-size: 11px;
  font-weight: 700;
  color: #f08300;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.author-box__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.author-box__text {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

/* スマホ */
@media (max-width: 767px) {
  .author-box__inner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .author-box__image {
    width: 70px;
  }

  .author-box__name {
    font-size: 18px;
  }
}



/*コラム１独自*/
.flow-box {
  margin: 24px 0 30px;
  padding: 22px 20px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.flow-box__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.flow-box__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow-step;
}

.flow-box__list li {
  position: relative;
  margin-bottom: 10px;
  padding: 12px 12px 12px 52px;
  background: #fff;
  border-radius: 8px;
  line-height: 1.7;
  counter-increment: flow-step;
}

.flow-box__list li:last-child {
  margin-bottom: 0;
}

.flow-box__list li::before {
  content: counter(flow-step);
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f08300;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
