/* -----------------------
   コラム記事専用スタイル
------------------------ */

.columnpage {
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.9;
  color: #333;
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #fff;
  position: relative;
}

.columnpage > * {
  position: relative;
  z-index: 1;
}

/* 質問ボックス */
.columnpage .question {
  background: #fffde7;
  border-left: 6px solid #ffe700;
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
}
.columnpage .question::before {
  content: "📩 ご相談内容";
  position: absolute;
  top: -1.6em;
  left: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #444;
  background: #ffe700;
  padding: 0.3em 1em;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 回答ブロック */
.columnpage .answer {
  background: #fff;
  border-left: 6px solid #555;
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
}
.columnpage .answer::before {
  content: "🐾 編集部からの回答";
  position: absolute;
  top: -1.6em;
  left: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  background: #555;
  padding: 0.3em 1em;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.columnpage .answer > p:first-of-type {
  background: #fff6c5;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
}

/* 見出し装飾 */
.columnpage h2 {
  font-size: 1.8rem;
  color: #222;
  border-left: 6px solid #ffe700;
  padding-left: 0.6em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.columnpage h3 {
  font-size: 1.3rem;
  color: #444;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px dashed #ffe700;
  padding-bottom: 0.4rem;
  display: flex;
  align-items: center;
}
.columnpage h3::before {
  content: "🐶";
  margin-right: 0.5em;
}

.columnpage p {
  font-size: 1.05rem;
  margin: 1.6em 0;
  text-align: justify;
}

/* ULスタイル */
.columnpage ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.columnpage ul li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.columnpage ul li::before {
  content: "🐾";
  position: absolute;
  left: 0;
  top: 0.5em;
  font-size: 1em;
  line-height: 1;
}

/* タグ装飾 */
.columnpage .post-tags {
  margin: 2.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.columnpage .tag-item {
  display: inline-block;
  background: #ffe700;
  color: #222;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 999px;
  padding: 0.5em 1.2em;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.columnpage .tag-item:hover {
  background: #ffeb3b;
}

/* レコメンドセクション */
.columnpage .recommend-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #eee;
}
.columnpage .recommend-section h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-align: center;
}
.columnpage .recommend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.columnpage .recommend-item {
  flex: 1 1 calc(50% - 1rem);
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s;
  text-align: center;
}
.columnpage .recommend-item:hover {
  transform: translateY(-4px);
}
.columnpage .recommend-item img {
  width: 100%;
  height: auto;
  display: block;
	max-height:300px;
}
.columnpage .recommend-item p {
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-align: left;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .columnpage {
    padding: 1.5rem 1rem;
  }
  .columnpage h2 {
    font-size: 1.4rem;
  }
  .columnpage h3 {
    font-size: 1.1rem;
  }
  .columnpage p,
  .columnpage ul li {
    font-size: 0.95rem;
  }
  .columnpage .recommend-item {
    flex: 1 1 100%;
  }
  .columnpage .question,
  .columnpage .answer {
    padding: 1.2rem;
  }
}
.columnpage .cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fffde7;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  max-width: 1300px;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.columnpage .cta-image {
  flex: 1 1 280px;
  text-align: center;
}

.columnpage .cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.columnpage .cta-text {
  flex: 1 1 460px;
  color: #333;
}

.columnpage .cta-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.columnpage .cta-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.columnpage .cta-button {
  display: inline-block;
  background-color: #ffe700;
  color: #000;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.columnpage .cta-button:hover {
  background-color: #ffdb41;
}

@media (max-width: 768px) {
	.columnpage .cta-text{        flex: 1 1 60px;}
  .columnpage .cta-banner {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
  }

  .columnpage .cta-text h2 {
    font-size: 1.25rem;
	  margin-top:0;
  }

  .columnpage .cta-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .columnpage .cta-button {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}
.columnpage-bottom-banner {
  background: #fff9db;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-radius: 12px;
}

.columnpage-bottom-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.columnpage-bottom-banner-image {
  flex: 1 1 40%;
  text-align: center;
}

.columnpage-bottom-banner-image img {
  max-width: 100%;
  height: auto;
}

.columnpage-bottom-banner-text {
  flex: 1 1 55%;
}

.columnpage-bottom-banner-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.columnpage-bottom-banner-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #444;
}

.columnpage-bottom-banner-text .cta-button {
  display: inline-block;
  background-color: #ffe700;
  color: #333;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.columnpage-bottom-banner-text .cta-button:hover {
  background-color: #ffdc33;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .columnpage-bottom-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .columnpage-bottom-banner-text h2 {
    font-size: 1.5rem;margin-top:0;
  }
  .columnpage-bottom-banner-text p {
    font-size: 0.95rem;
  }
}

.columnlistpage {
  background-color: #fff;
  padding: 40px 20px;
}

.columnlistpage-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

.columnlistpage-header {
  text-align: center;
  margin-bottom: 40px;
}

.columnlistpage-header h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #333;
}

.columnlistpage-header p {
  font-size: 1.1rem;
  color: #666;
}

.columnlist {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.columnlist-item {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  width: calc(33.333% - 20px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.columnlist-item:hover {
  transform: translateY(-5px);
}

.columnlist-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.columnlist-item .thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #ddd;
  overflow: hidden;
}

.columnlist-item .thumbnail img {
  width: 100%;
	height:auto;
  min-height: 100%;
  object-fit: cover;
}

.columnlist-item .meta {
  padding: 15px;
}

.columnlist-item .tags {
  margin-bottom: 10px;
}

.columnlist-item .tag {
  display: inline-block;
  background: #ffe700;
  color: #333;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 5px;
}

.columnlist-item .title {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .columnlist-item {
    width: calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .columnlist-item {
    width: 100%;
  }

  .columnlistpage-header h1 {
    font-size: 1.8rem;
  }
}