@charset "UTF-8";

/* --- 1. 基本設定（既存のヘッダー・カルーセル調整） --- */
header {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}

.carousel-inner {
  padding-top: 70px; /* ヘッダーの高さに合わせて調整 */
}

/* =========================================
   1. 基本設定
   ========================================= */
body {
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    overflow-x: hidden; /* 画面全体の横揺れ防止 */
}

.text-orange { color: #ed6c00 !important; }

/* =========================================
   2. 電話ボタン（共通・レスポンシブ特化）
   ========================================= */
.btn-phone {
    background-color: #28a745;
    color: white !important;
    font-weight: bold;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
    display: inline-block; /* PCでは文字の長さに合わせる */
    
    /* PCでの適切な余白（少しスリムにしました） */
    padding: 12px 30px; 
    font-size: 1.2rem;
}

/* スマホ用（画面幅576px以下）のサイズ調整 */
@media (max-width: 576px) {
    .btn-phone {
        display: block;      /* スマホでは横いっぱいに広げる */
        width: 100%;
        padding: 15px 5px;   /* 上下に厚みを持たせて押しやすく */
        font-size: 1.1rem;   /* 文字サイズを微調整 */
        line-height: 1.4;
    }
}
.btn-phone:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* ボタン内のテキスト（PC基準） */
.sub-text {
    font-size: 1.1rem;
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.main-tel-no {
    font-size: 2.5rem; /* PCでは大きく */
    letter-spacing: 0.05em;
    display: block;
    width: 100%;
    white-space: nowrap; /* 途中で改行させない */
    text-align: center;
}

/* =========================================
   3. スマホ・タブレット用レスポンシブ（絶対防衛ライン）
   ========================================= */
@media (max-width: 576px) {
    /* ボタン自体の左右パディングを最小化して、文字の有効幅を広げる */
    .btn-phone {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* 上部のサブテキスト：画面幅(vw)に合わせて縮小 */
    .sub-text {
        font-size: 4vw !important; 
        margin-bottom: 3px;
    }

    /* 電話番号：画面幅(vw)に合わせて縮小。
       7.2vwは、iPhone SE(320px)でも横に突き抜けない絶妙なサイズです。 */
    .main-tel-no {
        font-size: 7.2vw !important; 
    }
}

/* 超小型端末（320px以下）への最終調整 */
@media (max-width: 320px) {
    .main-tel-no {
        font-size: 22px !important; /* 固定サイズで最小値を保証 */
    }
}

/* =========================================
   4. 配達エリア（アコーディオン）
   ========================================= */
.accordion-container { border: 1px solid #dee2e6; border-radius: 12px; overflow: hidden; background: #fff; }
.area-item { border-bottom: 1px solid #eee; }
summary {
    padding: 18px 20px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '＋'; position: absolute; right: 20px; color: #ed6c00; font-size: 1.2rem; }
details[open] summary::after { content: 'ー'; }
.area-content { padding: 10px 20px 25px 55px; line-height: 2.2; color: #555; font-size: 1.05rem; }

/* スマホ用アコーディオン調整 */
@media (max-width: 576px) {
    summary { font-size: 1.15rem; padding: 15px; }
    .area-content { padding: 10px 15px 20px 20px; font-size: 0.95rem; }
}

/* =========================================
   5. その他装飾パーツ
   ========================================= */
.cta-box { background-color: #fffaf0; border: 3px solid #ed6c00 !important; border-radius: 20px; }
.title-border { color: #ed6c00; border-left: 8px solid #ed6c00; padding-left: 15px; }
.border-top-orange { border-top: 5px solid #ed6c00 !important; }
.title-underlined { position: relative; padding-bottom: 15px; display: inline-block; font-weight: bold; }
.title-underlined::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: #ed6c00; }
.feature-icon { font-size: 2.8rem; margin-bottom: 10px; display: block; }