/* プラグインページ専用スタイル */

.gtsp-single-header {
  margin-top: 4rem;
}
.gtsp-single-title {
  background: linear-gradient(135deg, #075EA1 0%, #30cfd0 100%); 
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-top: 1rem;
}
/* プラグインヒーロー */
.plugin-hero {
  padding: 120px 0 80px;
  position: relative;
  isolation: isolate;
  color: white;
}

/* 画面いっぱいの背景レイヤーだけを足す */
.plugin-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%); 
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(135deg, #075EA1 0%, #30cfd0 100%);
}


.plugin-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.plugin-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plugin-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.plugin-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.2rem;
}

/*.plugin-hero-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}*/
.plugin-hero-price{
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .6rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
/* 先頭2つは絶対に縮めない（折返しを優先） */
.plugin-hero-price .price-label,
.plugin-hero-price .price-amount{
  flex: 0 0 auto;
  white-space: nowrap;
}
/* 最後の要素：基本は同じ行、入らなければ自動で次の行へ */
.plugin-hero-price .price-original{
  flex: 0 0 auto;
  white-space: nowrap;
  text-decoration: line-through;
  opacity: .7;
}

.price-label {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-original {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.plugin-hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.2rem;
}

.plugin-hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 機能セクション */
.features {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ビフォーアフター */
.before-after {
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.comparison-item {
    text-align: center;
}

.comparison-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.comparison-visual img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.stats-display {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
}

/* お客様の声 */
.testimonials {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #2563eb;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.6;
}

/* CTA */
/* cta 全幅背景（中身はそのまま） */
.cta {
  padding: 3rem 0;
  position: relative;
  isolation: isolate;
  color: white;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.cta-price-amount {
    font-size: 3rem;
    font-weight: 700;
}

.cta-price-original {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.cta-price-save {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-features span {
    font-size: 0.9rem;
    opacity: 0.9;
}
/* feature-list の箇条書き記号を消す */
.feature-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* 他の wp-block-list にも共通で適用したい場合 */
.wp-block-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}


/* レスポンシブデザイン */
@media (max-width: 768px) {
    .plugin-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .plugin-hero-title {
        font-size: 2.5rem;
    }

    .plugin-hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .stats-display {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-price {
        flex-direction: column;
        gap: 0.5rem;
       margin-bottom: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .plugin-hero-title {
        font-size: 2rem;
    }

    .plugin-hero-features {
        justify-content: center;
    }

    .feature-highlight {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

/*リンク要素白*/
a.link-white {
  color: #fff;
}

/********************************/
/*Stripe決済ショートコード見た目変更*/
/********************************/
/* 1) タイトルを非表示（ショートコード内の h3 だけ） */
.stripe-product .gtsp-shortcode-content > h3 {
  display: none;
}

/* 2) 購入ボタンを“デカく＆目立つ”に */
.stripe-product .gtsp-shortcode-content button {
  display: inline-flex;            /* アイコンなど入れても崩れにくい */
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px); /* 画面に応じて自動拡大 */
  line-height: 1.2;
  padding: 16px 28px;              /* 一回り以上大きく */
  min-width: 260px;                /* 幅にゆとり */
  border: none;
  border-radius: 9999px;           /* 大きめの角丸でCTA感 */
  background: linear-gradient(180deg, #1e90ff, #0078ff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 120, 255, .35);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

/* ホバー／フォーカスでさらに目立たせる */
.stripe-product .gtsp-shortcode-content button:hover,
.stripe-product .gtsp-shortcode-content button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 120, 255, .45);
  filter: brightness(1.05);
  outline: none;
}

/* クリック時の押し込み感 */
.stripe-product .gtsp-shortcode-content button:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 120, 255, .35);
}

/* モバイルは幅いっぱいにしてタップしやすく */
@media (max-width: 640px) {
  .stripe-product .gtsp-shortcode-content button {
    width: 100%;
    min-width: unset;
  }
}

.wp-block-image img {
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

#shop { scroll-margin-top: 80px; }