@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.logo-header {background-color:#281a14;width:96%;margin:0 auto;border-radius:8px;}

#header-container {position:sticky;top:0;}
.article h2 {border:none;padding:20px 0 0 0;background-color:#fff;}
.article h2 {border-top:#ddd 1px solid;}
.article h3 {border:none;padding:8px 0;margin:8px 0 0 0;font-size:1.1em;}
li {padding:10px 0;}


.btn-genpiq {
  background: linear-gradient(145deg, #5e72e4, #5059d0);
  color: white;
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 8px 8px 16px #a9b2c0, -8px -8px 16px #f9ffff;
  transition: all 0.3s ease;
  
  &:hover {
    background: linear-gradient(145deg, #5059d0, #5e72e4);
    box-shadow: 6px 6px 12px #a9b2c0, -6px -6px 12px #f9ffff;
  }
  
  &:active {
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
  }
}

.btn-genpiq a {
  color: white;
  text-decoration:none;
  }

.btn {margin:10px auto;}


/* 表で文字を折り返さず1行で表示 */
.scroll-table {
	white-space: nowrap;
}

/* 表「layout-table」のデザイン変更 */
table.layout-table {
	table-layout: fixed;
	text-align: center; /* 各セル内の文字の横位置 */
}
table.layout-table tr td:nth-child(1) { /* 1列目 */
	width: 60px; /* 列幅 */
	background: #f4f4f4; /* 背景色 */
}
table.layout-table tr td:nth-child(n+2) { /* 2列目以降 */
	width: 100px; /* 列幅 */
}
table.layout-table tr:nth-child(1) { /* 1行目 */
	background: #f4f4f4; /* 背景色 */
}



/* ========================================
   Genpiq TOP – Base
   ======================================== */
:root {
  --gp-primary: #2563eb;
  --gp-primary-hover: #1d4ed8;
  --gp-dark: #0f172a;
  --gp-text: #334155;
  --gp-light: #f8fafc;
  --gp-gray: #f1f5f9;
  --gp-border: #e2e8f0;
  --gp-radius: 12px;
  --gp-max: 1100px;
}

/* ========================================
   SECTION 1 : ヒーロー
   ======================================== */
.gp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 72px 24px 64px;
  text-align: center;
}
.gp-hero__inner {
  max-width: var(--gp-max);
  margin: 0 auto;
}
.gp-hero__title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 20px;
}
.gp-hero__sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin: 0 0 32px;
}
.gp-hero__sub strong {
  color: #fff;
}
.gp-hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.gp-hero__tags-label {
  font-size: 0.85rem;
  color: #94a3b8;
}
.gp-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background .2s;
}
.gp-tag:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ========================================
   共通セクション
   ======================================== */
.gp-section {
  padding: 56px 24px;
  max-width: var(--gp-max);
  margin: 0 auto;
}
.gp-section--gray {
  background: var(--gp-gray);
  max-width: 100%;
}
.gp-section--gray > .gp-section__heading,
.gp-section--gray > .gp-cards,
.gp-section--gray > .gp-newlist,
.gp-section--gray > .gp-section__more {
  max-width: var(--gp-max);
  margin-left: auto;
  margin-right: auto;
}
.gp-section__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gp-dark);
  text-align: center;
  margin: 0 0 36px;
}
.gp-section__more {
  text-align: center;
  margin-top: 32px;
}
.gp-btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--gp-primary);
  border-radius: 50px;
  color: var(--gp-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .2s;
}
.gp-btn-outline:hover {
  background: var(--gp-primary);
  color: #fff;
}

/* ========================================
   SECTION 2 : 目的タイル
   ======================================== */
.gp-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  padding: 28px 12px;
  text-decoration: none;
  color: var(--gp-dark);
  transition: box-shadow .2s, transform .2s;
}
.gp-tile:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
  color: var(--gp-dark);
}
.gp-tile__icon {
  font-size: 2rem;
}
.gp-tile__label {
  font-weight: 700;
  font-size: 0.95rem;
}
.gp-tile__count {
  font-size: 0.8rem;
  color: var(--gp-primary);
  font-weight: 600;
}
.gp-tile--soon {
  opacity: .45;
  pointer-events: none;
}
.gp-tile__badge {
  font-size: 0.72rem;
  background: var(--gp-border);
  padding: 2px 10px;
  border-radius: 50px;
  color: #64748b;
}

/* ========================================
   SECTION 3 : 比較カード
   ======================================== */
.gp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--gp-dark);
  transition: box-shadow .2s, transform .2s;
}
.gp-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
  color: var(--gp-dark);
}
.gp-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  padding: 3px 10px;
  border-radius: 50px;
  align-self: flex-start;
}
.gp-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}
.gp-card__desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}
.gp-card__link {
  font-size: 0.85rem;
  color: var(--gp-primary);
  font-weight: 600;
  margin-top: auto;
}

/* ========================================
   SECTION 4 : 診断
   ======================================== */
.gp-diagnose {
  max-width: 100%;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}
.gp-diagnose__box {
  max-width: var(--gp-max);
  margin: 0 auto;
  text-align: center;
}
.gp-diagnose__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gp-dark);
  margin: 0 0 12px;
  line-height: 1.5;
}
.gp-diagnose__sub {
  font-size: 1rem;
  color: var(--gp-text);
  margin: 0 0 24px;
}
.gp-diagnose__options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gp-diagnose__btn {
  display: inline-block;
  padding: 14px 28px;
  background: #fff;
  border: 2px solid var(--gp-primary);
  border-radius: var(--gp-radius);
  color: var(--gp-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .2s;
}
.gp-diagnose__btn:hover {
  background: var(--gp-primary);
  color: #fff;
}
.gp-diagnose__btn--disabled {
  border-color: var(--gp-border);
  color: #94a3b8;
  pointer-events: none;
}

/* ========================================
   SECTION 5 : 使い方ガイド
   ======================================== */
.gp-guides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gp-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  padding: 24px 12px;
  text-decoration: none;
  color: var(--gp-dark);
  transition: box-shadow .2s, transform .2s;
}
.gp-guide:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-3px);
  color: var(--gp-dark);
}
.gp-guide__name {
  font-weight: 700;
  font-size: 1rem;
}
.gp-guide__sub {
  font-size: 0.8rem;
  color: var(--gp-primary);
}

/* ========================================
   SECTION 6 : 新着記事
   ======================================== */
.gp-newlist {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--gp-max);
  margin-left: auto;
  margin-right: auto;
}
.gp-newlist__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gp-border);
}
.gp-newlist__item:last-child {
  border-bottom: none;
}
.gp-newlist__date {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  width: 90px;
}
.gp-newlist__link {
  font-size: 0.95rem;
  color: var(--gp-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.gp-newlist__link:hover {
  color: var(--gp-primary);
}
.gp-newlist__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 50px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ========================================
   SECTION 7 : 信頼性
   ======================================== */
.gp-trust {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 24px;
}
.gp-trust__item {
  text-align: center;
}
.gp-trust__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gp-primary);
}
.gp-trust__label {
  font-size: 0.85rem;
  color: var(--gp-text);
}
.gp-trust__text {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gp-text);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   SP (スマホ) レスポンシブ
   ======================================== */
.sp-only { display: none; }

@media (max-width: 768px) {
  .sp-only { display: inline; }

  .gp-hero { padding: 48px 20px 40px; }
  .gp-hero__title { font-size: 1.7rem; }
  .gp-hero__sub { font-size: 0.95rem; }

  .gp-section { padding: 40px 16px; }
  .gp-section__heading { font-size: 1.25rem; margin-bottom: 24px; }

  .gp-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gp-tile { padding: 20px 8px; }

  .gp-cards { grid-template-columns: 1fr; gap: 16px; }

  .gp-guides { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .gp-diagnose__options { gap: 8px; }
  .gp-diagnose__btn { padding: 12px 18px; font-size: 0.85rem; }

  .gp-trust { gap: 24px; }
  .gp-trust__num { font-size: 1.5rem; }

  .gp-newlist__item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .gp-newlist__date { width: auto; }
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
