/* LINEページ専用のスタイル */
.line-content {
    padding: 16rem 0 9rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.line-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #333;
}

.line-description {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5rem;
    color: #333;
}

.step-container {
    margin-bottom: 5rem; /* 8remから5remに減らして間隔を狭く */
    padding-left: 1.5rem;
}

.step-title {
    position: relative;
    font-size: 3.2rem;
    color: #003399; /* 紺色に変更 */
    margin-bottom: 4rem;
    text-align: center;
    font-weight: bold;
}

.step-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #003399; /* 紺色に変更 */
}

.step-number {
    display: inline-block;
    position: relative;
    font-size: 2.4rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    padding-bottom: 10px; /* 下線のためのスペースを追加 */
}

.step-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 51, 153, 0.7), rgba(0, 51, 153, 0.1));
    border-radius: 3px;
}

.step-number span {
    font-size: 5rem;
    color: #003399;
    margin-left: 0.5rem;
    display: inline-block;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.1),
        3px 3px 0 rgba(0, 0, 0, 0.05),
        0 1px 5px rgba(0, 51, 153, 0.3);
    transform: translateY(5px);
    position: relative;
}

.step-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.step-box {
    background-color: #fff; /* 背景色を白に戻す */
    border: 2px solid #00b900; /* LINEの緑色 */
    border-radius: 10px;
    padding: 3rem;
    width: 45%;
    text-align: center;
}

.step-box h3 {
    font-size: 2.8rem;
    margin: -3rem -3rem 2rem; /* 上下左右のマージンを負の値に設定して、親要素のパディングを打ち消す */
    padding: 1.5rem 0; /* 上下のパディングを追加 */
    color: #fff; /* テキスト色を白に変更 */
    background-color: #00b900; /* 背景色をLINEの緑色に変更 */
    font-weight: bold;
    border-radius: 8px 8px 0 0; /* 上部の角だけ丸くする */
}

/* アイコンのスタイル */
.step-box h3 i {
    margin-right: 1rem; /* アイコンとテキストの間隔 */
    font-size: 2.4rem; /* アイコンのサイズ */
}

.step-box p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.line-btn {
    display: inline-block;
    background-color: #00b900;
    color: white;
    padding: 2.5rem 5rem; /* さらにパディングを増やしてボタンを大きく */
    border-radius: 8px; /* 角を少し丸く */
    font-size: 2.6rem; /* さらにフォントサイズを大きく */
    text-decoration: none;
    margin-top: 4rem; /* 2remから4remに増やしてボタンを下に移動 */
    transition: opacity 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加して立体感を出す */
}

.line-btn:hover {
    opacity: 0.8;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.example-container {
    background-color: #f9f9f9; /* step-boxと同じ背景色に変更 */
    border: 2px solid #003399; /* step-boxと同じ枠線に変更 */
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.example-title {
    font-size: 2.8rem; /* フォントサイズを大きく */
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    font-weight: bold; /* 太字に変更 */
}

/* 例1と例2を横並びにするためのスタイル */
.example-flex-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.example-box {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.example-subtitle {
    font-size: 2.2rem;
    margin: 0 0 1.5rem;
    color: #003399; /* 紺色に設定 */
    font-weight: bold;
    border-left: 4px solid #003399; /* 左側にボーダーを追加 */
    padding-left: 1rem;
}

.example-content {
    font-size: 1.6rem;
    color: #333;
    line-height: 1.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .example-flex-container {
        flex-direction: column;
    }
    
    .example-box {
        margin-bottom: 2rem;
    }
}

.example-content p {
    margin-bottom: 1rem;
}

.photo-examples {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.photo-example {
    width: 200px;
    text-align: center;
}

.photo-example img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.photo-example p {
    font-size: 1.4rem;
    color: #333;
    white-space: nowrap; /* テキストの折り返しを防止 */
}

.note-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 3rem;
    margin-top: 5rem;
    text-align: center;
}

.note-box p {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.8;
}

.arrow-down {
    text-align: center;
    margin: 2.5rem 0; /* 4remから2.5remに減らして余白を詰める */
}

/* 下向き矢印のスタイル */
.arrow-down i {
    font-size: 5rem;
    color: #000; /* 黒色に変更 */
}

.free-estimate-banner {
    background-color: #ffde00;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 5rem auto 0;
    max-width: 600px;
}

.free-estimate-banner a {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.free-estimate-banner a i {
    margin-left: 1rem;
}

.free-estimate-banner p {
    font-size: 1.6rem;
    margin-top: 1rem;
    color: #333;
}

@media (max-width: 768px) {
    .line-description {
        font-size: 1.6rem;
    }
    
    .step-title {
        font-size: 2.6rem;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .step-number span {
        font-size: 3.8rem;
    }
    
    .step-content {
        flex-direction: column;
        align-items: center;
    }
    
    .step-box {
        width: 90%;
    }
    
    .photo-examples {
        flex-direction: column;
        align-items: center;
    }
}
