/* site_style.css */
:root {
    --bg: #FFF5F5;
    --main: #EF8F35;
    --txt: #444;
    --light-bg: #fff;
    --sub-txt: #666;
}

body {
    background: var(--bg);
    color: var(--txt);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    line-height: 1.7;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.site-header {
    background: var(--light-bg);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 35px;
    display: block;
}

.site-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

.site-nav a {
    text-decoration: none;
    color: var(--txt);
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--main);
}

/* メインコンテンツ */
main {
    background: var(--light-bg);
    padding: 40px 0;
}
@media screen and (max-width: 768px) {
    main {
        padding: 20px 0;
    }
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 60px 0;
}
@media screen and (max-width: 768px) {
    .hero {
        padding: 0;
    }
}
.hero h1 {
    font-size: 1.8rem;
    color: var(--main);
    margin: 0 0 15px;
    font-weight: 800;
}

.hero .tagline {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
    .hero .tagline {
        font-size: 0.9rem;
    }
}
.hero .lead {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: left;
    color: var(--sub-txt);
}

.hero-images img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.section-image {
    text-align: center;
    padding: 40px 20px;
}
@media screen and (max-width: 768px) {
    .section-image {
        padding: 20px 20px 0;
    }
}
.section-image img {
    max-width: 100%;
    width: 700px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* サービス紹介セクション */
.service-section {
    padding: 60px 0;
    background: #fffaf5;
}
@media screen and (max-width: 768px) {
    .service-section {
        padding: 20px 0 10px;
    }
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--main);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 30px;
}

.service-list li {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.service-list .icon {
    font-size: 2.5rem;
    color: var(--main);
    margin-bottom: 15px;
}

.service-list h3 {
    margin: 0 0 15px;
    font-size: 1.3rem;
    color: var(--main);
}
@media screen and (max-width: 768px) {
    .service-list h3 {
        font-size: 1.2rem;
    }
}
.service-list img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
}

.service-list p {
    margin: 0;
    color: var(--sub-txt);
    text-align: left;
}


/* 動画セクション */
.video-section {
    padding: 60px 0;
    text-align: center;
}
@media screen and (max-width: 768px) {
    .video-section {
        padding: 20px 0 0;
    }
}

.video-section video {
    max-width: 100%;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* フッター */
.site-footer {
    background: #333;
    color: #ccc;
    padding: 40px 0;
    font-size: 0.9rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    margin-bottom: 20px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    color: #888;
}

/* FAQページ */
.faq-section { padding: 40px 0; }
.faq-item { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.faq-item:last-child { border-bottom: none; }
.faq-item .question { font-weight: bold; font-size: 1.1rem; position: relative; padding-left: 35px; }
.faq-item .question::before { content: 'Q.'; position: absolute; left: 0; top: 0; color: var(--main); font-size: 1.2rem; }
.faq-item .answer { color: var(--sub-txt); padding-left: 35px; position: relative; }
.faq-item .answer::before { content: 'A.'; position: absolute; left: 0; top: 0; color: #555; font-weight: bold; }


/* レスポンシブ対応 */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTAボタンのスタイル --- */
.cta-button {
    display: inline-block;
    background: var(--main);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(239, 143, 53, 0.4);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 143, 53, 0.5);
}
.cta-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
    .cta-wrapper {
        margin-bottom: 10px;
    }
}
.pwa-install-section {
    display: flex;
    flex-direction: column; /* スマホでは縦並びがデフォルト */
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.pwa-install-section .video-container {
    flex-shrink: 0;
    width: 100%;
    max-width: 320px; /* 動画の最大幅を少し小さめに */
}

.pwa-install-section .video-container video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pwa-install-section .steps-container {
    text-align: left;
    max-width: 400px; /* 説明文の最大幅 */
}

.pwa-install-section .steps-list {
    list-style: none;
    padding: 0;
    counter-reset: steps-counter;
    font-size: 1rem;
}

.pwa-install-section .steps-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    color: var(--sub-txt);
}

.pwa-install-section .steps-list li::before {
    counter-increment: steps-counter;
    content: counter(steps-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    background-color: var(--main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

/* PC表示用のメディアクエリ (幅768px以上) */
@media (min-width: 768px) {
    .pwa-install-section {
        flex-direction: row; /* PCでは横並びに */
        justify-content: center;
        align-items: flex-start; /* 上揃え */
        gap: 40px;
    }
}
