/*
Theme Name: LP Theme
Theme URI: https://xb086735.xbiz.jp
Author: nema
Version: 1.0.5
Description: 記事LP専用の軽量テーマ
*/

/* ============================================================
   ベースリセット
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background: #F4F4F4;
    color: #333;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.lp-entry a {
    color: #4f96f6 !important;
    display: inline-block;
    padding: 4px 0;
    transition: color 0.2s, text-decoration 0.2s;
}

.lp-entry a:hover {
    color: #1a6fd4 !important;
    text-decoration: underline;
}

.lp-entry a img {
    display: block;
    text-decoration: none;
}

.lp-entry p:has(img),
.lp-entry figure {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

p {
    margin: 0 0 2em;
    word-break: break-all;
}

/* ============================================================
   レイアウト
   ============================================================ */

#lp-wrap {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    background: #ffffff;
    min-height: 100vh;
}

.lp-entry {
    padding: 0.5em 0 2em;
}

.lp-entry h1,
.lp-entry h2,
.lp-entry h3,
.lp-entry h4 {
    margin: 1em 0 0.5em;
    line-height: 1.4;
    font-weight: 700;
}

.lp-entry ul,
.lp-entry ol {
    padding-left: 1.5em;
    margin: 0 0 1em;
}

.lp-entry table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.lp-entry table th,
.lp-entry table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
}

.lp-entry table th {
    background: #f5f5f5;
    font-weight: 700;
}

@media screen and (max-width: 600px) {
    html { margin-top: 0 !important; }
    body { margin-top: 0 !important; }
    #wpadminbar { display: none !important; }
}

@media (max-width: 640px) {
    #lp-wrap {
        padding: 0 15px;
    }
    body {
        font-size: 14px;
    }
    .pc-only { display: none !important; }
}

@media (min-width: 641px) {
    .sp-only { display: none !important; }
}

/* ============================================================
   テキスト配置
   ============================================================ */

.al-c { text-align: center; }

.al-r {
    display: block;
    text-align: right !important;
}

/* ============================================================
   カラー・強調ユーティリティ
   ============================================================ */

.red {
    color: #d90000;
    font-weight: 800;
}

.blue {
    color: #0066cc;
    font-weight: 800;
}

.pink {
    color: #e91e63;
    font-weight: 800;
}

.boldd {
    font-weight: 800;
}

.line-yellow {
    background: linear-gradient(transparent 60%, #ffff00 60%);
    padding: 0 0.1em;
}

.line-pink {
    background: linear-gradient(transparent 60%, #ffb6c1 60%);
    padding: 0 0.1em;
}

.gray {
    color: #999999;
    font-size: 6pt;
    text-align: right !important;
    display: block;
}

.gray2 {
    font-size: 8px;
    text-align: right !important;
    transform: scale(.8);
}

/* ============================================================
   フォントサイズ
   ============================================================ */

.f12px { font-size: 12px !important; }
.f13px { font-size: 13px !important; }
.f14px { font-size: 14px !important; }
.f15px { font-size: 15px !important; }
.f16px { font-size: 16px !important; }
.f17px { font-size: 17px !important; }
.f18px { font-size: 18px !important; }
.f19px { font-size: 19px !important; }
.f20px { font-size: 20px !important; line-height: 1.6; font-weight: 700; }
.f21px { font-size: 21px !important; line-height: 1.6; font-weight: 700; }
.f22px { font-size: 22px !important; line-height: 1.6; font-weight: 700; }
.f23px { font-size: 23px !important; line-height: 1.6; font-weight: 700; }
.f24px { font-size: 24px !important; }
.f25px { font-size: 25px !important; }
.f26px { font-size: 26px !important; }
.f27px { font-size: 27px !important; }
.f28px { font-size: 28px !important; }

/* ============================================================
   タイトルボックス
   ============================================================ */

.title {
    background: #c2edff;
    padding: 0.5em;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.5em 0 0.5em;
}

/* ============================================================
   プレースホルダー
   ============================================================ */

.placeholder {
    display: block;
    height: 150px;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    text-align: center;
    line-height: 150px;
    margin: 15px 0;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

/* ============================================================
   アニメーション：テキスト点滅
   ============================================================ */

.link {
    margin: 10px 0;
}

.text {
    animation: flash 1s linear infinite;
    margin: 20px;
    font-size: 30px;
    font-weight: bold;
}

@keyframes flash {
    0%, 35%, 60%, 100% { opacity: 0; }
    25% { opacity: 1; color: #7fff00; }
    50% { opacity: 1; color: #0091EA; }
    75% { opacity: 1; color: #ff1493; }
}

@keyframes blinking {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.blink {
    animation: blinking 1s ease-in-out infinite alternate;
}

/* ============================================================
   ハイライトテキスト
   ============================================================ */

.text-background {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4em;
}

.text-background > span {
    position: relative;
    display: inline-block;
}

.text-background > span::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: -5px;
    top: -5px;
    right: -5px;
    background-color: #fecd2f;
    z-index: -1;
}

/* ============================================================
   吹き出し
   ============================================================ */

.balloon5 {
    width: 100%;
    margin: 1.5em 0;
    overflow: hidden;
}

.balloon5 .faceicon {
    float: left;
    margin-right: -90px;
    width: 80px;
}

.balloon5 .faceicon img {
    width: 100%;
    height: auto;
    border: solid 3px #d7ebfe;
    border-radius: 50%;
}

.balloon5 .chatting {
    width: 100%;
}

.says {
    display: inline-block;
    position: relative;
    margin: 5px 0 0 105px;
    padding: 17px 13px;
    border-radius: 12px;
    background: #d7ebfe;
}

.says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 18px;
    left: -24px;
    border: 12px solid transparent;
    border-right: 12px solid #d7ebfe;
}

.says p {
    margin: 0;
    padding: 0;
}

/* ============================================================
   マル秘情報ボックス
   ============================================================ */

.blink-container {
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

@keyframes attention-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.secret-box {
    display: inline-block;
    margin: 30px auto 10px;
    padding: 10px 30px;
    font-size: 26px;
    font-weight: 900;
    color: #cc0000;
    background-color: #fff;
    border: 4px solid #cc0000;
    border-radius: 8px;
    animation: attention-pulse 2s infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.bouncing-arrow {
    display: block;
    font-size: 50px;
    font-weight: 900;
    color: #cc0000;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
    animation: arrow-bounce 1.5s infinite ease-in-out;
}

/* ============================================================
   動く矢印1（cp_arrows）
   ============================================================ */

.cp_arrows *, .cp_arrows *:before, .cp_arrows *:after {
    box-sizing: border-box;
}

.cp_arrows {
    position: relative;
    display: flex;
    height: 300px;
    margin: 2em auto;
    justify-content: center;
    align-items: center;
}

.cp_arrows .cp_arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    opacity: 0;
}

.cp_arrows .cp_arrowfirst {
    animation: arrow-move08 2s ease-in-out infinite;
}

.cp_arrows .cp_arrowsecond {
    animation: arrow-move08 2s 1s ease-in-out infinite;
}

.cp_arrows .cp_arrow:before,
.cp_arrows .cp_arrow:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 30px;
    height: 3px;
    content: '';
    background: #E91E63;
}

.cp_arrows .cp_arrow:before {
    transform: rotate(30deg) translateX(-39%);
    transform-origin: top left;
}

.cp_arrows .cp_arrow:after {
    transform: rotate(-30deg) translateX(39%);
    transform-origin: top right;
}

@keyframes arrow-move08 {
    0% { top: 40%; opacity: 0; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

/* ============================================================
   動く矢印2（SVGアニメーション）
   ============================================================ */

.arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.arrow {
    animation: bounceArrow 2s infinite ease-in-out;
}

.arrow-red-long-big {
    animation: bounceArrow 2.5s infinite ease-in-out;
}

@keyframes chevronFlow {
    0% { opacity: 0; transform: translateY(-20px); }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(20px); }
}

.arrow-triple-chevron-wide .chevron-path {
    opacity: 0;
    transform-origin: center;
}

.arrow-triple-chevron-wide .chevron-path:nth-child(1) {
    animation: chevronFlow 1.5s infinite linear;
    animation-delay: 0s;
}

.arrow-triple-chevron-wide .chevron-path:nth-child(2) {
    animation: chevronFlow 1.5s infinite linear;
    animation-delay: 0.5s;
}

.arrow-triple-chevron-wide .chevron-path:nth-child(3) {
    animation: chevronFlow 1.5s infinite linear;
    animation-delay: 1.0s;
}

/* ============================================================
   CVボタン
   ============================================================ */

.cv_btn {
    margin: 0 auto;
}

.cv_btn img {
    animation: anime1 0.5s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes anime1 {
    from { transform: scale(0.9, 0.9); }
    to { transform: scale(1, 1); }
}

/* ============================================================
   見出し
   ============================================================ */

h2.sango-style-heading {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    background: #1a1a1a;
    padding: 14px 16px;
    margin: 1.5em 0;
    line-height: 1.5;
    text-align: center;
    letter-spacing: .08em;
    border-left: 6px solid #d90000;
}

@media (max-width: 640px) {
    h2.sango-style-heading { font-size: 20px; }
}

.pop-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #000000;
    line-height: 1.6;
    text-align: center;
    background-color: #fff100;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0 #000000;
    border-radius: 4px;
    padding: 1.5rem 1rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    transform: translateY(-4px);
}

@media (max-width: 640px) {
    .pop-heading {
        font-size: 1.1rem;
        padding: 1rem;
        margin: 1.5rem auto;
        box-shadow: 4px 4px 0 #000000;
    }
}

/* ============================================================
   見出し：黒地＋赤ライン＋白文字
   ============================================================ */

.h-style-15 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    background: #1a1a1a;
    padding: 14px 16px;
    margin: 1em 0;
    line-height: 1.5;
    text-align: center;
    letter-spacing: .08em;
    border-left: 6px solid #d90000;
}

@media (max-width: 640px) {
    .h-style-15 { font-size: 16px; }
}

/* ============================================================
   口コミ：アットコスメ風
   ============================================================ */

.review-card {
    clear: both;
    margin-bottom: 25px;
    padding: 15px;
    border: 5px solid #e6d9c3;
    background-color: #fff;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    flex-shrink: 0;
}

.user-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    flex-grow: 1;
    min-width: 0;
}

.user-name {
    font-weight: bold;
    font-size: 16px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.verified-badge {
    color: white;
    background-color: #00b06b;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    white-space: nowrap;
}

.user-meta {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating-and-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.rating {
    color: #ffc107;
    display: flex;
    align-items: center;
}

.rating .stars {
    font-size: 20px;
    letter-spacing: -2px;
    color: #ffc107;
}

.rating-number {
    color: #1a1a1a;
    font-weight: bold;
    margin-left: 5px;
}

.date {
    color: #aaa;
    font-size: 12px;
}

.purchase-info {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.purchase-info .label {
    background-color: #eee;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
}

.review-text p {
    line-height: 1.6;
    color: #323232;
    margin: 15px 0;
    font-size: 17px;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

.like-section {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.like-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: 1px solid #d87093;
    border-radius: 20px;
    background-color: #fff;
    color: #d87093;
    font-size: 14px;
    cursor: pointer;
}

.heart-icon {
    font-size: 16px;
    color: #d87093;
}

.like-number {
    font-weight: bold;
    color: #d87093;
    border: none;
    background-color: transparent;
}

.tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
}

.review-card.highlight {
    border: 2px solid #ff69b4;
}

/* ============================================================
   口コミ：Twitter風
   ============================================================ */

.tweet-card-clean {
    max-width: 600px;
    width: 100%;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    box-sizing: border-box;
    background-color: #ffffff;
    line-height: 1.3;
}

.tweet-card-clean__header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.tweet-card-clean__avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.tweet-card-clean__user-block {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.tweet-card-clean__user-block p,
.tweet-card-clean__header p {
    margin: 0 !important;
    padding: 0 !important;
}

.tweet-card-clean__name {
    font-size: 15px;
    font-weight: 700;
    color: #0f1419;
    display: block;
}

.tweet-card-clean__handle {
    font-size: 14px;
    color: #536471;
    display: block;
    margin-top: 2px;
}

.tweet-card-clean__menu {
    font-size: 20px;
    color: #536471;
    cursor: pointer;
    line-height: 1;
    margin-left: auto;
    padding-top: 4px;
}

.tweet-card-clean__text {
    font-size: 18px;
    line-height: 1.5;
    color: #0f1419;
    margin: 0 0 12px !important;
}

.tweet-card-clean__image-wrapper {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e1e8ed;
    overflow: hidden;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.tweet-card-clean__image {
    width: 100%;
    height: auto;
    display: block;
}

.tweet-card-clean__timestamp {
    font-size: 14px;
    color: #536471;
    margin: 0 !important;
}

/* ============================================================
   アンケートフォーム
   ============================================================ */

:root {
    --primary-color: #db2777;
    --accent-yellow: #fbbf24;
    --text-color: #1f2937;
    --bg-gray: #e5e7eb;
    --bg-hover: #d1d5db;
    --checked-bg: #000000;
    --check-mark: #ffffff;
}

#surveyForm br,
#surveyForm p:empty {
    display: none !important;
}

#surveyForm .label-visual p {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#surveyForm .survey-simple-wrapper {
    font-family: 'Noto Sans JP', sans-serif !important;
    width: 100% !important;
    max-width: 600px !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    color: var(--text-color) !important;
    text-align: left !important;
    margin: 3rem auto !important;
    padding: 2rem 10px 10px !important;
    background: transparent !important;
}

#surveyForm .survey-simple-wrapper * {
    box-sizing: border-box !important;
}

#surveyForm .survey-group {
    margin-bottom: 4rem !important;
    border: none !important;
    display: block !important;
    background: transparent !important;
}

#surveyForm .question-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1.5rem !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
}

#surveyForm .q-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--accent-yellow) !important;
    color: black !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    width: 2.8rem !important;
    height: 2.8rem !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 1rem 0 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

#surveyForm .q-text {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: var(--text-color) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding-bottom: 2px !important;
    border-bottom: 3px solid var(--accent-yellow) !important;
    flex: 1 !important;
    display: block !important;
}

@media (max-width: 600px) {
    #surveyForm .question-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    #surveyForm .q-mark {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
}

#surveyForm .question-image-area {
    margin-bottom: 2rem !important;
    width: 100% !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    display: block !important;
}

#surveyForm .question-image-area img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    background-color: #f3f4f6 !important;
    min-height: 150px !important;
    box-shadow: none !important;
}

#surveyForm .options-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

#surveyForm .option-row {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

#surveyForm .input-hidden {
    position: absolute !important;
    opacity: 0 !important;
    z-index: -1 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
    margin: 0 !important;
    appearance: none !important;
    border: none !important;
    background: none !important;
}

#surveyForm .label-visual {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 0.25rem !important;
    transition: background-color 0.2s !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    background: transparent;
    border: 1px solid transparent !important;
}

#surveyForm .label-visual:hover {
    background-color: #f3f4f6 !important;
}

#surveyForm .custom-box {
    width: 2.25rem !important;
    height: 2.25rem !important;
    min-width: 2.25rem !important;
    min-height: 2.25rem !important;
    background-color: var(--bg-gray) !important;
    border-radius: 0.35rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
    transition: all 0.2s !important;
    content: none !important;
}

#surveyForm .custom-box::before,
#surveyForm .custom-box::after {
    content: none !important;
    display: none !important;
}

#surveyForm .check-icon {
    width: 1.25rem !important;
    height: 1.25rem !important;
    fill: none !important;
    stroke: var(--check-mark) !important;
    stroke-width: 3.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    opacity: 0 !important;
    transition: opacity 0.2s !important;
    display: block !important;
}

#surveyForm .input-hidden:checked ~ .label-visual .custom-box {
    background-color: var(--checked-bg) !important;
    transform: scale(1.05) !important;
}

#surveyForm .input-hidden:checked ~ .label-visual .check-icon {
    opacity: 1 !important;
}

#surveyForm .option-text {
    font-size: 1.125rem !important;
    font-weight: bold !important;
    color: var(--text-color) !important;
    line-height: 1.4 !important;
}
