/* ===== 共通変数 (CSS Variables) ===== */
:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --muted2: #a1a2a2;
  --accent: #4f46e5;
  --border: #dbe3ee;
}
body{
      margin:0;
      font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;
      background:#f7f8fb;
	color: var(--text);
	padding: 20px;
    }

    header{
      text-align:center;
    }

    h1{
      font-size:42px;
      margin:0 0 10px;
    }
	p {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 0.95rem;
	}
    .sub{
      color:var(--muted);
      margin-bottom:30px;
    }

    .search-area{
      max-width:500px;
      margin:0 auto;
      display:flex;
      gap:10px;
    }

    .search{
      flex:1;
      display:flex;
      align-items:center;
      background:#fff;
      border-radius:10px;
      padding:10px 14px;
      box-shadow:0 4px 10px rgba(0,0,0,.05);
    }

    .search input{
      border:none;
      outline:none;
      flex:1;
      font-size:16px;
      margin-left:8px;
    }

    .cta{
      border:none;
      background:#6366f1;
      color:#fff;
      border-radius:10px;
      padding:12px 18px;
      cursor:pointer;
      font-weight:600;
    }

    main{
      max-width:900px;
      margin:40px auto;
      padding:0 20px;
    }

    .tools{
      display:grid;
      grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
      gap:20px;
    }

    .tool{
      background:#fff;
      border-radius:12px;
      padding:18px;
      box-shadow:0 6px 14px rgba(0,0,0,.06);
      text-decoration:none;
      color:inherit;
	transition:.15s;
	position:relative;
    }

    .tool:hover{
      transform:translateY(-3px);
      box-shadow:0 10px 20px rgba(0,0,0,.08);
    }

    .tool-title{
      font-weight:700;
      margin-bottom:6px;
    }

    .tool-desc{
      font-size:13px;
      color:#666;
    }
	.tool-helper{
	position:absolute;
	right:6px;
	bottom:6px;
	width:70px;
	opacity:0;
	pointer-events:none;
	transition:.2s;
}

.footer{
  padding:24px 16px;
  text-align:center;
}

.footer-links{
  display:grid;
  grid-template-columns:repeat(5,auto);
  justify-content:center;
  gap:24px;
  margin-bottom:12px;
}
.footer-links a{
  color: var(--muted);
  text-decoration:none;
  font-size:14px;
}

.footer-copy{
  color: var(--muted2);
  font-size:12px;
}
  .brand{
    display:flex;
    align-items:center;
    justify-content:center;
	gap:0px;
  margin-bottom:8px;
  }
  
  .brand img{
    width:90px;
    height:auto;
  }
  
  .brand h1{
    margin:0;
    font-size:42px;
}

/* コラムセクション全体の枠組み */
.column-section {
	border-top: 1px dashed #ccc;
	padding: 30px 20px 0 20px;
	max-width:900px;
	margin:40px auto;

}
/* 記事の外枠 */
.column-article .content-wrapper {
  display: flex;
  flex-direction: row-reverse; /* 画像を右に配置 */
  gap: 24px;
  align-items: flex-start;
	margin-bottom: 20px;
}

.column-article .article-text {
  flex: 1; /* テキストが残りの幅を埋める */
}

.column-article ul li {
	color: var(--muted);
	line-height: 1.7em;
}
.column-article p {
	line-height: 1.7em;
}
/* 最後の要素の余白は消しておく（デザイン崩れ防止） */
.column-article p:last-child {
  margin-bottom: 0;
}

/* 大見出し */
.article-h3 {
	color: #2c3e50;
	border-left: 5px solid #3498db;
	padding-left: 15px;
	margin-bottom: 15px;
	font-size: 1.25rem;
}
.popular-card{
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:12px;
  text-decoration:none;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.popular-rank{
  width:26px;
  height:26px;
  border-radius:50%;
  background:#6366f1;
  color:#fff;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
	font-weight:700;
	flex-shrink: 0;
}

.popular-title{
      font-weight:700;
      margin-bottom:6px;
  color:#333;
}

.popular-desc{
  font-size:13px;
  color:#777;
}
#popularSection {
	padding-bottom: 30px;
}

#helper{
  position:fixed;
  right:20px;
  bottom:20px;
  width:140px;
  pointer-events:none;
  opacity:0;
  transform:translateY(20px);
  transition:.25s;
  z-index:999;
}

#helper.show{
  opacity:1;
  transform:translateY(0);
}

@media (max-width:600px){
    .sub{
      font-size: 13px;
    }
	.brand h1 {
		font-size: 32px;
		font-weight: 700;
	}	
	.footer-links{
		grid-template-columns:1fr;
		text-align: center;
		gap:12px;
	}
	.column-article .content-wrapper {
		flex-direction: column; /* 画像を上、テキストを下に */
	}
	
	.column-article img {
		width: 100%; /* 横幅いっぱいに広げる */
		max-width: none;
	}
	.column-title {
		font-size: 1.2rem;
	}
}