/* 片付け 不用品 大阪市 堺市 松原市 */

/* ===================================================
   1. 基本設定（すべての端末のベースとなる設定）
=================================================== */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    font-size: 18px; /* 高齢者向けにベースを大きく */
}
header {
    background-color: #ffffff;
    border-bottom: 3px solid #002255; /* 濃紺 */
    padding: 20px;
    text-align: center;
}
.catch-phrase {
    color: #ff6600; /* オレンジ */
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 10px 0;
}
h1 {
    margin: 0;
    color: #002255;
    font-size: 32px;
}
.container {
    width: 100%;
    max-width: 1000px; /* パソコン時の最大幅 */
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
section {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
}
h2 {
    color: #002255;
    border-left: 6px solid #ff6600;
    padding-left: 12px;
    margin-top: 0;
    font-size: 24px;
}

/* サービス内容の並び（標準は縦一列） */
.service-flex {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px; 
}
.service-box {
    background-color: #f0f4f8;
    padding: 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 20px;
    border-left: 4px solid #002255;
}

/* 電話ボタン */
.btn-phone {
    display: block;
    background-color: #ff6600;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    margin: 20px auto;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-phone:hover {
    background-color: #e05500;
}

/* フォームの共通設定 */
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}
input[type="text"], input[type="tel"], textarea {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.btn-submit {
    background-color: #002255;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
}
.info-table tr {
    border-bottom: 1px solid #eee;
}
.info-table td {
    padding: 15px 10px;
}
.info-table td.title {
    font-weight: bold;
    width: 25%;
}
footer {
    background-color: #002255;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

/* ===================================================
   2. タブレット用の自動調整（画面の横幅が768px以上のとき）
=================================================== */
@media (min-width: 768px) {
    body {
        font-size: 19px; /* 少し文字を大きく */
    }
    /* サービス内容を2段×2列の綺麗な並びに変える */
    .service-flex {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .service-box {
        width: calc(50% - 8px); /* 横に2個並べる計算 */
        box-sizing: border-box;
    }
}

/* ===================================================
   3. パソコン用の自動調整（画面の横幅が1024px以上のとき）
=================================================== */
@media (min-width: 1024px) {
    body {
        font-size: 20px; /* パソコン大画面で見やすいサイズ */
    }
    header {
        padding: 40px 20px;
    }
    h1 {
        font-size: 40px;
    }
    /* サービス内容を横一列に4個並べる */
    .service-box {
        width: calc(25% - 12px);
    }
}
