body {
    color: #4D4D4D;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

h3 {
    font-size: 16px;
    text-align: left;
}

h4 {
    font-size: 16px;
    text-align: center;
}

@media screen and (min-width: 600px) {

    .width {
        max-width: 600px;
        margin: auto;
    }

    .background1 {
        background-image: url(../img/background.jpg);
        background-position: center;
        background-repeat: repeat;
    }

    .background2 {
        background-color: #F5F5F5;
    }

    .background3 {
        background-color: #F8F2E7;
    }

    .background4 {
        background-image: url(../img/backgroundimage.jpg);
        background-position: center;
        background-repeat: repeat;
    }

    .background5 {
        background-color: #FFF8BC;
    }

    .shadow {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        max-width: 600px;
        margin: auto;
        border-radius: 12px;
    }

    .highlight {
        font-size: 28px;
        color: #E8D575;
    }

    .highlight2 {
        font-size: 28px;
        color: #FBB03B;
    }

    .fv {
        position: relative;
        width: 100%;
        height: auto;
      }
      
      .fv img {
        width: 100%;
        height: auto;
        display: block;
      }
      
      .logo {
        position: absolute;
        top: 0;    /* 上からの余白 */
        left: 0;   /* 左からの余白 */
        z-index: 10;  /* 前面に表示 */
      }
      
      .logo img {
        width: 130px;  /* ロゴのサイズ調整（適宜変更してください） */
        height: auto;
      }






    .banner-container {
        position: fixed;
        bottom: 0;
        width: 100%;
        max-width: 600px;
        /* 最大幅を設定 */
        display: flex;
        justify-content: center;
        /* 子要素を中央揃え */
        align-items: center;
        z-index: 1000;
        overflow: hidden;
        text-align: center;
        left: 50%;
        /* 水平方向の中央揃え */
        transform: translateX(-50%);
        /* コンテナを中央に配置 */
    }

    .banner-container a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banner-container a img {
        max-width: 100%;
        /* 画像の最大幅を親要素に収める */
        height: auto;
        /* アスペクト比を維持 */
        margin: 0 auto;
        /* 中央揃え */
    }


    .sp {
        display: none;
    }

    .flex1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: auto;
    }

    .conceptback {
        background-image: url(../img/conceptback.jpg);
        background-position: center;
        background-repeat: no-repeat;
        text-align: center;
        color: white;
        max-width: 600px;
        margin: auto;
    }

    .cta {
        text-align: center;
        margin: auto;
    }

    .cta img {
        max-width: 550px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .cta img:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

    .concept {
        width: 93%;
        margin: auto;
        max-width: 600px;
        line-height: 5;
    }

    .worry {
        width: 93%;
        margin: auto;
        max-width: 600px;
    }

    .worry h2 {
        text-align: center;
    }


    .border {
        border: 2px solid white;
        text-align: center;
        margin: 0 16px;
    }

    .border h2 {
        padding-top: 10px;
    }

    .border h3 {
        padding-bottom: 10px;
        text-align: center;
    }

    .border img {
        width: 85%;
    }



    .button {
        background-color: #4D4D4D;
        color: white;
        width: 40%;
        margin: auto;
    }

    .works {
        text-align: center;
    }

    .works img {
        width: 93%;
        margin: auto;
    }

    .strength {
        text-align: center;
    }

    .strength h3 {
        width: 93%;
        margin: auto;
    }

    .strength img {
        width: 93%;
    }

    .showroom {
        text-align: center;
    }

    .showroom h3 {
        width: 93%;
        margin: auto;
    }

    .showroom img {
        width: 93%;
    }

    .flow {
        text-align: center;
    }

    .flow img {
        width: 93%;
    }

    .contents1 {
        width: 93%;
        margin: auto;
        color: #333333;
        max-width: 600px;
    }

    .question {
        background-color: #7BB8C1;
        padding: 2px 15px;
        margin-right: 10px;
        font-size: 20px;
        color: white;
    }

    .answer {
        background-color: #C96C62;
        padding: 12px 15px;
        margin-right: 10px;
        font-size: 20px;
        color: white;
    }

    .company {
        background-image: url(../img/backcompany.jpg);
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        max-width: 600px;
        margin: auto;
        line-height: 3;
    }

    .companyconcept {
        font-size: 30px;
    }

    .footer {
        background-color: #4D4D4D;
        text-align: center;
    }

    .footer img {
        width: 30%;

    }

    .beforeafter {
        width: 93%;
        margin: auto;
        text-align: center;
    }

    .beforeafter img {
        width: 100%;
    }

    .before {
        text-align: left;
        color: #595959;
    }

    .after {
        text-align: left;
        color: #D7C4A3;
    }

    /* アコーディオン */

    .accordion-005 {
        width: 93%;
        margin: auto;
    }

    .accordion-005:not([open]) {
        margin-bottom: 7px;
    }

    .accordion-005 summary {
        display: flex;
        align-items: center;
        position: relative;
        padding: 1em 4px;
        color: black;
        font-weight: 600;
        cursor: pointer;
    }

    .accordion-005 summary::-webkit-details-marker {
        display: none;
    }

    .accordion-005 summary::after {
        transform: translateY(-25%) rotate(45deg);
        width: 7px;
        height: 7px;
        margin-left: 10px;
        border-bottom: 3px solid #c2c2c2;
        border-right: 3px solid #c2c2c2;
        content: '';
        transition: transform .3s;
    }

    .accordion-005[open] summary::after {
        transform: rotate(225deg);
    }

    .accordion-005 p {
        transform: translateY(-10px);
        opacity: 0;
        margin: 0;
        padding: 1em 4px;
        color: #333333;
        transition: transform .5s, opacity .5s;
        background-color: White;
    }

    .accordion-005[open] p {
        transform: none;
        opacity: 1;
    }

}

.attention {
    font-size: 10px;
}

/* SPレスポンシブ */