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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    color: #222;
    margin: 0;
    padding: 0;
}

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

/* ヘッダー */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #007bff;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* QRコードセクション */
.qr-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.qr-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.qr-code {
    margin: 2rem 0;
}

.qr-img {
    max-width: 200px;
    height: auto;
}

.account-info {
    margin-top: 1rem;
}

.account-id {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.copy-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background-color: #0056b3;
}

/* サービスセクション */
.service {
    padding: 80px 0;
}

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

.service-item {
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* フッター */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* 上部メッセージカード */
.top-message-card {
    max-width: 700px;
    margin: 40px auto 30px auto;
    background: #fafafa;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 32px 10px 28px 10px;
    text-align: center;
}
.top-message-card .thanks {
    color: #222;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}
.top-message-card .main {
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0 10px 0;
    line-height: 1.4;
}
.top-message-card .main .line {
    color: #2ecc40;
    font-weight: bold;
}
.top-message-card .main .free {
    color: #e57373;
    font-weight: bold;
}
.top-message-card .desc {
    margin-top: 20px;
    font-size: 1.1em;
}
.top-message-card .desc .line {
    color: #2ecc40;
    font-weight: bold;
}

/* 登録案内カード */
.register-section {
    max-width: 700px;
    margin: 0 auto 40px auto;
    background: #f8f8f8;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 30px 10px 40px 10px;
}
.step-title {
    background: #2ecc40;
    color: #fff;
    font-weight: bold;
    font-size: 1.3em;
    padding: 10px 0;
    border-radius: 6px;
    margin-bottom: 18px;
    text-align: center;
}
.step-number {
    background: #ffeb3b;
    color: #222;
    border-radius: 50%;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-weight: bold;
    margin-right: 8px;
}
.register-section .desc {
    text-align: center;
    margin-bottom: 18px;
    font-size: 1.1em;
}
.line-add-btn {
    display: flex;
    justify-content: center;
    margin: 25px 0 30px 0;
}
.line-add-btn a {
    display: flex;
    align-items: center;
    background: #2ecc40; /* 単色の緑 */
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    border-radius: 40px;
    padding: 18px 50px;
    text-decoration: none;
    box-shadow: 0 4px 0 #27ae38;
    transition: background 0.2s;
}
.line-add-btn a:hover {
    background: #27ae38;
}
.line-add-btn img {
    height: 36px;
    margin-right: 16px;
}
.register-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.register-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 20px 20px 20px;
    width: 270px;
    text-align: center;
}
.register-box .step-number {
    margin-bottom: 8px;
}
.register-box .box-title {
    background: #2ecc40;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    padding: 6px 0;
    margin-bottom: 12px;
    font-size: 1.1em;
}
.register-box img.qr {
    width: 160px;
    height: 160px;
    margin: 10px 0;
}
.register-box .id-area {
    background: #fff;
    color: #222;
    border: 2px solid #222;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1.4em;
    font-weight: bold;
    width: 90%;
    max-width: 320px;
    margin: 12px auto;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.register-box .copy-btn {
    background: #2ecc40;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 6px 18px;
    font-size: 1em;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.register-box .copy-btn:hover {
    background: #27ae38;
}
@media (max-width: 800px) {
    .top-message-card,
    .register-section {
        max-width: 98vw;
        margin-left: 1vw;
        margin-right: 1vw;
    }
    .register-methods {
        flex-direction: column;
        align-items: center;
    }
    .register-box {
        width: 90%;
        margin-bottom: 20px;
    }
} 