/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-red: #8b0000;
    --deep-red: #5c0000;
    --ink-black: #1a1a1a;
    --charcoal: #2d2d2d;
    --gold: #daa520;
    --light-gold: #f4d03f;
    --paper-white: #faf7f2;
    --muted-white: #f5f5f0;
    --shadow: rgba(0, 0, 0, 0.3);
    --text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.5);
    --line-green: #06c755;
    --line-green-dark: #05b84c;
}

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    color: var(--ink-black);
    background-color: var(--paper-white);
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* デフォルト（スマホ）では desktop 画像を非表示、mobile 画像を表示 */
.hero-image-desktop {
    display: none;
}

.hero-image-mobile {
    display: block;
}

.hero-overlay {
    display: none;
}

.hero-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.logo-image {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-top: 60px;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    color: var(--light-gold);
    margin-bottom: 10px;
    letter-spacing: 0.2em;
    text-shadow: var(--text-shadow);
}

.hero-main-text {
    display: block;
    font-size: 1.6rem;
    color: var(--paper-white);
    font-weight: 600;
    line-height: 1.4;
    text-shadow: var(--text-shadow);
}

.hero-description {
    font-size: 1rem;
    color: var(--muted-white);
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: var(--text-shadow);
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.line-button-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 20px rgba(6, 199, 85, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.cta-button:hover .line-button-image {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 25px rgba(6, 199, 85, 0.5)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* セクション共通 */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--ink-black);
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* サービス紹介 */
.service-intro {
    background-color: var(--muted-white);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23daa520' fill-opacity='0.02'%3E%3Cpath d='M0 0h20L0 20z'/%3E%3C/g%3E%3C/svg%3E");
}

.service-content {
    text-align: center;
}

.service-description {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--charcoal);
}

.service-description strong {
    color: var(--primary-red);
    font-weight: 600;
}

.placeholder-image {
    width: 200px;
    height: 200px;
    background-image: url('images/stone.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper-white);
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    border: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.service-explanation {
    margin-top: 20px;
    text-align: center;
}

.service-explanation p {
    font-size: 0.85rem;
    color: var(--charcoal);
    line-height: 1.7;
    font-family: 'Noto Serif JP', serif;
    background: var(--muted-white);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
    font-weight: 400;
}

/* 悩み解決セクション */
.problems {
    background: var(--paper-white);
    position: relative;
    overflow: hidden;
}

/* 浮遊する霊球 */
.floating-spirits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.spirit {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(218, 165, 32, 0.6), rgba(218, 165, 32, 0.2), transparent);
    box-shadow: 
        0 0 20px rgba(218, 165, 32, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.spirit-1 {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation: float1 8s infinite;
    animation-delay: 0s;
}

.spirit-2 {
    width: 25px;
    height: 25px;
    top: 60%;
    right: 15%;
    animation: float2 10s infinite;
    animation-delay: -2s;
    background: radial-gradient(circle at 30% 30%, rgba(139, 0, 139, 0.5), rgba(139, 0, 139, 0.2), transparent);
    box-shadow: 
        0 0 15px rgba(139, 0, 139, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.spirit-3 {
    width: 30px;
    height: 30px;
    top: 40%;
    left: 80%;
    animation: float3 12s infinite;
    animation-delay: -4s;
}

.spirit-4 {
    width: 35px;
    height: 35px;
    top: 80%;
    left: 30%;
    animation: float4 9s infinite;
    animation-delay: -1s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.5), rgba(255, 215, 0, 0.2), transparent);
    box-shadow: 
        0 0 18px rgba(255, 215, 0, 0.4),
        inset 0 0 18px rgba(255, 255, 255, 0.2);
}

.spirit-5 {
    width: 20px;
    height: 20px;
    top: 10%;
    right: 30%;
    animation: float5 11s infinite;
    animation-delay: -3s;
    background: radial-gradient(circle at 30% 30%, rgba(186, 85, 211, 0.6), rgba(186, 85, 211, 0.2), transparent);
    box-shadow: 
        0 0 12px rgba(186, 85, 211, 0.4),
        inset 0 0 12px rgba(255, 255, 255, 0.2);
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(30px, -20px) scale(1.1); opacity: 0.9; }
    100% { transform: translate(60px, -10px) scale(0.9); opacity: 0.5; }
}

@keyframes float2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-40px, -30px) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-20px, -50px) scale(0.8); opacity: 0.4; }
}

@keyframes float3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-50px, 20px) scale(1.15); opacity: 0.9; }
    100% { transform: translate(-80px, 40px) scale(0.85); opacity: 0.6; }
}

@keyframes float4 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(40px, -40px) scale(1.05); opacity: 0.85; }
    100% { transform: translate(20px, -20px) scale(1.1); opacity: 0.5; }
}

@keyframes float5 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-30px, 30px) scale(1.3); opacity: 0.8; }
    100% { transform: translate(-60px, 15px) scale(0.9); opacity: 0.4; }
}

.spirit-6 {
    width: 28px;
    height: 28px;
    top: 30%;
    left: 50%;
    animation: float6 7s infinite;
    animation-delay: -2.5s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 182, 193, 0.6), rgba(255, 182, 193, 0.2), transparent);
    box-shadow: 
        0 0 16px rgba(255, 182, 193, 0.4),
        inset 0 0 16px rgba(255, 255, 255, 0.2);
}

.spirit-7 {
    width: 22px;
    height: 22px;
    top: 70%;
    right: 40%;
    animation: float7 13s infinite;
    animation-delay: -5s;
    background: radial-gradient(circle at 30% 30%, rgba(173, 216, 230, 0.7), rgba(173, 216, 230, 0.3), transparent);
    box-shadow: 
        0 0 14px rgba(173, 216, 230, 0.5),
        inset 0 0 14px rgba(255, 255, 255, 0.2);
}

.spirit-8 {
    width: 32px;
    height: 32px;
    top: 15%;
    left: 60%;
    animation: float8 9.5s infinite;
    animation-delay: -1.5s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2), transparent);
    box-shadow: 
        0 0 22px rgba(255, 255, 255, 0.3),
        inset 0 0 22px rgba(255, 255, 255, 0.4);
}

@keyframes float6 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(20px, 40px) scale(0.9); opacity: 0.6; }
    100% { transform: translate(50px, 20px) scale(1.1); opacity: 0.7; }
}

@keyframes float7 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-35px, -25px) scale(1.25); opacity: 0.9; }
    100% { transform: translate(-70px, -5px) scale(0.95); opacity: 0.6; }
}

@keyframes float8 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(-25px, 35px) scale(1.05); opacity: 0.5; }
    100% { transform: translate(-45px, 10px) scale(1.2); opacity: 0.8; }
}

.spirit-9 {
    width: 18px;
    height: 18px;
    top: 20%;
    left: 40%;
    animation: float9 6s infinite;
    animation-delay: -1.8s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 105, 180, 0.7), rgba(255, 105, 180, 0.3), transparent);
    box-shadow: 
        0 0 10px rgba(255, 105, 180, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.spirit-10 {
    width: 26px;
    height: 26px;
    top: 50%;
    left: 70%;
    animation: float10 8.5s infinite;
    animation-delay: -3.2s;
    background: radial-gradient(circle at 30% 30%, rgba(124, 252, 0, 0.6), rgba(124, 252, 0, 0.2), transparent);
    box-shadow: 
        0 0 17px rgba(124, 252, 0, 0.4),
        inset 0 0 17px rgba(255, 255, 255, 0.2);
}

.spirit-11 {
    width: 24px;
    height: 24px;
    top: 35%;
    right: 35%;
    animation: float11 10.5s infinite;
    animation-delay: -4.5s;
    background: radial-gradient(circle at 30% 30%, rgba(255, 69, 0, 0.6), rgba(255, 69, 0, 0.3), transparent);
    box-shadow: 
        0 0 15px rgba(255, 69, 0, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.spirit-12 {
    width: 21px;
    height: 21px;
    top: 65%;
    left: 45%;
    animation: float12 7.5s infinite;
    animation-delay: -2.8s;
    background: radial-gradient(circle at 30% 30%, rgba(75, 0, 130, 0.7), rgba(75, 0, 130, 0.3), transparent);
    box-shadow: 
        0 0 13px rgba(75, 0, 130, 0.5),
        inset 0 0 13px rgba(255, 255, 255, 0.2);
}

@keyframes float9 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(25px, -15px) scale(1.2); opacity: 0.6; }
    100% { transform: translate(45px, -30px) scale(0.9); opacity: 0.7; }
}

@keyframes float10 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-35px, 25px) scale(1.1); opacity: 0.8; }
    100% { transform: translate(-60px, 50px) scale(1.15); opacity: 0.5; }
}

@keyframes float11 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(30px, 40px) scale(0.95); opacity: 0.9; }
    100% { transform: translate(60px, 20px) scale(1.05); opacity: 0.6; }
}

@keyframes float12 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-20px, -35px) scale(1.25); opacity: 0.5; }
    100% { transform: translate(-40px, -70px) scale(0.85); opacity: 0.9; }
}

.problems-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.problem-item {
    background: linear-gradient(135deg, #f5f3e8 0%, #ede8d3 100%);
    padding: 30px 25px 35px;
    text-align: center;
    box-shadow: 
        0 4px 15px rgba(139, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(10% 0%, 90% 0%, 100% 15%, 100% 85%, 90% 100%, 10% 100%, 0% 85%, 0% 15%);
    margin: 15px 5px;
    z-index: 2;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #d4c4a0;
    clip-path: polygon(10% 0%, 90% 0%, 100% 15%, 100% 85%, 90% 100%, 10% 100%, 0% 85%, 0% 15%);
    z-index: -1;
}

.problem-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(139, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #f7f5ea 0%, #f0ebd5 100%);
}

.problem-accent {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: #8B4513;
    border-radius: 1px;
}

.problem-accent::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -2px;
    width: 6px;
    height: 6px;
    background: #D2691E;
    border-radius: 50%;
    border: 1px solid #8B4513;
}

.problem-accent::after {
    content: '';
    position: absolute;
    top: 22px;
    left: -1px;
    width: 4px;
    height: 2px;
    background: #8B4513;
    border-radius: 1px;
}

.problem-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 10px;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Noto Serif JP', serif;
}

.problem-item p {
    font-size: 0.85rem;
    color: #5a5a5a;
    line-height: 1.7;
    font-weight: 400;
    font-family: 'Noto Serif JP', serif;
}

.problems-footer-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-top: 40px;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 3;
}

.problems-cta, .pricing-cta, .effects-cta, .application-notes-cta {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

/* 料金セクション */
.pricing {
    background: var(--muted-white);
    background-image: radial-gradient(circle at 50% 50%, rgba(218, 165, 32, 0.03) 0%, transparent 50%);
}

.pricing-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.price-item {
    background: var(--paper-white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(218, 165, 32, 0.2);
    transition: all 0.3s ease;
}

.price-item.featured {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.2);
}

.price-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-red);
    font-weight: 600;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
}

.price-item ul {
    list-style: none;
    margin-bottom: 25px;
}

.price-item li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--charcoal);
    position: relative;
    text-align: left;
}

.price-item li::before {
    content: '✓';
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 8px;
}

.price-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    color: var(--paper-white);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.price-cta:hover {
    background: linear-gradient(135deg, var(--deep-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.pricing-notes {
    margin-top: 30px;
    text-align: left;
}

.pricing-notes p {
    font-size: 0.8rem;
    color: var(--charcoal);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 効果・効能セクション */
.effects {
    background: var(--paper-white);
    background-image: radial-gradient(circle at 20% 80%, rgba(218, 165, 32, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(139, 0, 0, 0.03) 0%, transparent 50%);
}

.effects-description {
    text-align: center;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 30px;
    line-height: 1.7;
}

.effects-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.effect-item {
    background: linear-gradient(135deg, #f8f6f1 0%, #f2efe6 100%);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(218, 165, 32, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.effect-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    border-radius: 12px 12px 0 0;
}

.effect-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #faf8f3 0%, #f5f2e8 100%);
}

.effect-item h3 {
    font-size: 1.2rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.effect-item p {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.6;
    font-weight: 400;
}

/* 効果・効能カテゴリ */
.effect-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-red);
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    margin: 10px auto 0;
    border-radius: 1px;
}

/* 呪い代行と祈祷代行の色分け */
.effect-item.curse {
    background: linear-gradient(135deg, #f5f3f3 0%, #ede8e8 100%);
    border-left: 4px solid var(--primary-red);
}

.effect-item.curse::before {
    background: linear-gradient(90deg, var(--primary-red), var(--deep-red));
}

.effect-item.curse h4 {
    color: var(--primary-red);
}

.effect-item.prayer {
    background: linear-gradient(135deg, #f8f6f1 0%, #f2efe6 100%);
    border-left: 4px solid var(--gold);
}

.effect-item.prayer::before {
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.effect-item.prayer h4 {
    color: var(--gold);
}

.effect-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

/* 効果・効能の注意書き */
.effects-notes {
    margin-top: 30px;
    text-align: left;
}

.effects-notes p {
    font-size: 0.8rem;
    color: var(--charcoal);
    margin-bottom: 8px;
    line-height: 1.6;
}

.effects-notes p:last-child {
    margin-bottom: 0;
}

/* ご依頼にあたっての注意セクション */
.application-notes {
    background: var(--paper-white);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.notes-grid {
    display: grid;
    gap: 1px;
    margin-top: 30px;
    background: var(--gold);
    border-radius: 8px;
    overflow: hidden;
}

.note-item {
    background: var(--paper-white);
    padding: 25px;
    transition: background-color 0.3s ease;
}

.note-item:hover {
    background: var(--muted-white);
}

.note-item h3 {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.note-item h3::before {
    content: '●';
    color: var(--gold);
    margin-right: 10px;
    font-size: 0.8rem;
}

.note-item p {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 8px;
}

.note-item p:last-child {
    margin-bottom: 0;
}

/* お客様の声 */
.testimonials {
    background: var(--paper-white);
}

.testimonials-grid {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.testimonial-item {
    background: var(--muted-white);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--primary-red);
    text-align: right;
    font-weight: 500;
}

/* お客様の声カテゴリ */
.testimonial-category {
    margin-bottom: 40px;
}

.testimonial-category-title {
    font-size: 1.4rem;
    color: var(--primary-red);
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    position: relative;
}

.testimonial-category-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    margin: 10px auto 0;
    border-radius: 1px;
}

.testimonial-category-description {
    text-align: center;
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-title {
    font-size: 1.1rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* FAQ */
.faq {
    background: var(--muted-white);
}

.faq-items {
    margin-top: 30px;
}

.faq-item {
    background: var(--paper-white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--ink-black);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--muted-white);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--charcoal);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* コンタクト */
.contact {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--deep-red) 100%);
    color: var(--paper-white);
}

.contact .section-title {
    color: var(--paper-white);
}

.contact-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--muted-white);
}

.contact-methods {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.contact-button {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--paper-white);
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.contact-button span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.contact-hours {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted-white);
}

/* フッター */
.footer {
    background: var(--ink-black);
    color: var(--muted-white);
    text-align: center;
    padding: 30px 0;
}

/* スマホでの画像切り替えと高さ調整 */
@media (max-width: 767px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-logo {
        top: 15px;
        left: 15px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* スマホでの霊球位置調整 - 絵馬の間にも表示 */
    .spirit-1 {
        top: 8%;
        left: 80%;
        z-index: 5;
    }
    
    .spirit-2 {
        top: 25%;
        right: 10%;
        z-index: 5;
    }
    
    .spirit-3 {
        top: 35%;
        left: 15%;
        z-index: 5;
    }
    
    .spirit-4 {
        top: 45%;
        right: 75%;
        z-index: 5;
    }
    
    .spirit-5 {
        top: 55%;
        left: 85%;
        z-index: 5;
    }
    
    .spirit-6 {
        top: 65%;
        right: 20%;
        z-index: 5;
    }
    
}

/* タブレット以上：デスクトップ画像を表示、スマホ画像を非表示 */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    
    .hero-main-text {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-image-desktop {
        display: block;
    }
    
    .hero-image-mobile {
        display: none;
    }
    
    .hero-logo {
        top: 30px;
        left: 30px;
    }
    
    .logo-image {
        height: 80px;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .price-item.featured {
        transform: scale(1.08);
    }
    
    .effects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1000px;
    }
    
    .service-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
        align-items: center;
        text-align: left;
    }
    
    .service-image {
        text-align: center;
    }
    
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .effects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}