.reform-menu-section__inner {
    max-width: 1360px;
    margin: 0 auto;
}

.reform-menu-top {
    position: relative;
}

.reform-menu-middle {
    margin: 100px 0;
}

.rm-ttl {
    margin: 0 !important;
}

/*======================
       　top
   =======================*/

.reform-menu-section {
    padding: 100px 0;
}

.rm-top-text {
    position: absolute;
    top: 0%;
    right: 5%;
    width: 35%;
    background: var(--color-white);
    padding: 100px 30px 30px;
    border-radius: 0px 0 15px 15px;
}

@media (max-width: 1300px) {

    .rm-top-text {
        width: 55%;
        padding: 100px 30px 30px;
    }

}

@media (max-width: 1080px) {

    .rm-top-text {
        position: static;
        width: 100%;
        transform: none;
        padding: 60px 60px 30px;
    }

    .reform-menu-section {
        padding: 60px 0;
    }

}

@media (max-width: 767px) {

    .rm-top-text {
        padding: 60px 30px 30px;
    }

}

/*======================
       　color
   =======================*/

.bg-orange {
    background: var(--color-orange-pale);
    margin: 0 !important;
}

@media (max-width: 767px) {

    .bg-orange {
        padding: 60px 0;
    }
}

/*======================
       　trouble
   =======================*/

.rm-trouble {
    display: flex;
    gap: 60px;
    margin: 60px 0 0;
    align-items: center;
}

.rm-trouble__img {
    width: 50%;
}

.rm-trouble__img img {
    border-radius: 15px;
}

.rm-trouble__list {
    width: 50%;
}

.rm-trouble__list li {
    border-bottom: 1px solid var(--color-gray-darker);
    padding: 10px 0;
    align-items: center;
    display: flex;
}

.rm-trouble__list:last-child {
    border-bottom: none;
}

.rm-ck-ic {
    color: var(--color-orange);
    margin-right: 10px;
}


@media (max-width: 767px) {

    .rm-trouble {
        display: block;
    }

    .rm-trouble__img {
        width: 100%;
    }

    .rm-trouble__list {
        width: 100%;
        margin-top: 40px;
    }

}

/*======================
       　plan
   =======================*/

.rm-plan {
    display: flex;
    align-items: center;
    margin: 40px 0;
    gap: 40px;
    background: var(--color-white);
    padding: 50px;
    border-radius: 15px;
}

.rm-plan--space {
    padding: 50px 0;
}

.rm-plan:nth-child(even) {
    flex-direction: row-reverse;
}

.rm-plan__img {
    width: 40%;
}

.rm-plan__img img {
    width: 100%;
    border-radius: 15px;
}

.rm-plan__inner {
    flex: 1;
    text-align: center;
}

.rm-plan__title {
    text-align: left;
}

.rm-plan__text {
    text-align: left;
}

@media (max-width: 767px) {
    .rm-plan {
        display: block;
        margin: 40px 0;
        padding: 30px;
    }

    .rm-plan__img {
        width: 100%;
    }

}

/*======================
       　plan*
   =======================*/

.rm-group {
    background: var(--color-white);
    border-radius: 15px;
    margin-bottom: 60px;
}

.rm-group__plan {
    background-color: transparent;
    margin: 0;
}

.rm-group__case {
    padding: 50px;
}

.rm-group__label {
    margin: 0 0 40px!important;
}

@media (max-width: 767px) {

    .rm-group {
        margin-bottom: 40px;
    }

    .rm-group__case {
        padding: 30px;
    }

}

/*======================
       　メーカー
   =======================*/

.rm-maker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: center;
    margin: 60px 0 0;
}

@media (max-width: 767px) {

    .rm-maker img {
        width: 40%;
    }

}

/*======================
       TOP別バージョン
   =======================*/

.rm-worries {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 60px 0;
}

.rm-worries__inner {
    width: 100%;
    max-width: 233px;
    text-align: center;
}

.rm-worries__text {
    font-weight: 600;
}

.rm-worries__title {
    margin-top: 60px;
    text-align: center;
    line-height: 1.5;
    font-size: 2rem;
}

.rm-worries__overview {
    text-align: center;
}


.reform-menu-top__title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 40px;
    border: none;
    text-align: center;
    font-size: 1.6rem;
    text-align: center;
}

.reform-menu-top__title::before {
    display: inline-block;
    width: 43px;
    height: 50px;
    margin-right: 20px;
    background: url("https://reform.fj-tec.co.jp/wp-content/uploads/2023/11/img_quick_icon_01.svg") no-repeat;
    background-size: contain;
    vertical-align: middle;
    content: "";
}

.reform-menu-top__title::after {
    display: inline-block;
    width: 43px;
    height: 50px;
    margin-left: 20px;
    background: url("https://reform.fj-tec.co.jp/wp-content/uploads/2023/11/img_quick_icon_02.svg") no-repeat;
    background-size: contain;
    vertical-align: middle;
    content: "";
}


@media (max-width: 767px) {

    .reform-menu-top__title {
        font-size: 1.2rem;
    }

    .rm-worries {
        gap: 30px;
    }

    .rm-worries__title {
        font-size: 1.2rem;
    }
}

@media (max-width: 375px) {
    .rm-worries {
        flex-direction: column;
        align-items: center;
    }
}

/*======================
        関連記事
   =======================*/

.rm-article {
    flex-direction: row;
    gap: 40px;
    display: flex;
    margin: 60px 0 40px;
}

.rm-article__item>img {
    width: 100%;
    aspect-ratio: 1.618 / 1;
    object-fit: fill;
}

.rm-article__item {
    background: var(--color-white);
    position: relative;
    padding: 20px;
    transition: 0.2s;
}

.rm-article__item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rm-article__item:hover {
    opacity: .8;
}

.rm-article__title {
    font-size: 1rem;
    padding: 0;
    transition: 0.2s;
    text-align: center;
}

.rm-article__item:hover .rm-article__title {
    color: var(--color-orange);
}

.rm-article__excerpt {
    font-size: 0.875rem;
}

@media (min-width: 767px) {
    .rm-article__item {
        width: 30%;
        gap: 10px;
    }
}

@media (max-width: 767px) {

    .rm-article {
        margin: 40px 0 40px;
        flex-direction: column;
    }

}

/*======================
       　流れ
   =======================*/

.rm-flow {
    margin-top: 60px;
}

.rm-flow__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    background: var(--color-orange-pale);
    margin-bottom: 40px;
    border-radius: 15px;
    border: 2px solid var(--color-orange-light);
}


.rm-flow__img img {
    width: 230px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;

}

.rm-flow__text {
    width: 100%;
}

.rm-flow__text h3 {
    margin: 0;
}

.rm-flow__arrow {
    text-align: center;
    margin-bottom: 40px;
}

.rm-flow__arrow-down {
    display: inline-block;
    vertical-align: middle;
    color: var(--color-gray-darker);
    line-height: 1;
    width: 2em;
    height: 2em;
    border: 0.2em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg);
}

@media (max-width: 767px) {

    .rm-flow {
        margin-top: 40px;
    }

    .rm-flow__inner {
        display: block;
        margin-bottom: 20px;
    }

    .rm-flow__img {
        text-align: center;
        margin-bottom: 20px;
    }

    .rm-flow__arrow {
        margin-bottom: 20px;
    }

}


/*======================
       　よくある質問
   =======================*/

.rm-qa {
    margin-top: 60px;
}

.rm-qa__item {
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
}

.rm-qa__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.rm-qa__item summary::before,
.rm-qa__item p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.rm-qa__item summary::before {
    color: var(--color-orange-light);
    content: "Q";
}

.rm-qa__item summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid var(--color-gray-darker);
    border-right: 3px solid var(--color-gray-darker);
    content: '';
    transition: transform .5s;
}

.rm-qa__item[open] summary::after {
    transform: rotate(225deg);
}

.rm-qa__item p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.rm-qa__item[open] p {
    transform: none;
    opacity: 1;
}

.rm-qa__item p::before {
    color: var(--color-orange-lighter);
    line-height: 1.2;
    content: "A";
}

@media (max-width: 767px) {

    .rm-qa {
        margin-top: 40px;
    }
}

/*======================
      リフォーム総本舗について
   =======================*/


.rm-reform {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.rm-info__button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 200px;
    padding: 50px;
    border-radius: 15px;
    color: var(--color-white);
    text-decoration: none;
    background-size: cover;
    background-position: center;
}

.rm-info__strength {
    background-image: url(https://reform.fj-tec.co.jp/wp-content/uploads/rm-button001.jpg);
}

.rm-info__info {
    background-image: url(https://reform.fj-tec.co.jp/wp-content/uploads/rm-button002.jpg);
}

.rm-info__arrow {
    font-size: 2rem;
    /* 大きさ調整 */
    color: var(--color-orange);
    transition: transform 0.3s;
}

.rm-info__button:hover .rm-info__arrow-right {
    transform: translateX(5px);
    /* ホバーで右にスライド */
}

.rm-info__arrow-right {
    color: var(--color-white);
}

.rm-info__text {
    font-size: 1.4rem;
}

@media (max-width: 767px) {

    .rm-reform {
        display: block;
        margin-top: 40px;
    }

    .rm-info__button {
        margin-bottom: 20px;
        height: 130px;
    }

    .rm-info__text {
        font-size: 1.1rem;
    }

}

/*======================
       場所
   =======================*/

.rm-place-list__wrap {
    display: flex;
    flex-flow: column;
    position: relative;
}

.rm-place-list {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-top: 60px;
}

.rm-place-list__item {
    order: 3;
    margin-top: 10px;
}

.rm-place-list__item--top {
    display: flex;
    align-items: center;
    order: 1;
}

.rm-place-list__title {
    display: block;
    display: inline-flex;
    order: 2;
    position: relative;
    width: 100%;
    color: var(--color-orange);
    font-weight: bold;
    font-size: 1.25rem;
    text-align: left;
    margin-top: 20px;
}

@media (max-width: 767px) {

    .rm-place-list {
        margin-top: 40px;
        gap: 40px;
    }

}


/*======================
       　共通
   =======================*/
.reform-menu-section__summary {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-orange);
    font-weight: bold;
    margin: 0;
    line-height: 1.8;
}

.reform-menu-section--text-proposal {
    text-align: center;
    margin: 20px 0 100px;
}

@media (max-width: 767px) {

    .reform-menu-section__summary {
        font-size: 1.3rem;
    }

    .reform-menu-section--text-proposal {
        margin: 20px 0 60px;
    }

}

/*======================
       　詳しく見るボタン
   =======================*/

.reform-menu__button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 10px 30px;
    border-radius: 100px;
    background: var(--color-orange);
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.reform-menu__button:hover {
    opacity: .8;
    color: var(--color-white);
}

/*======================
       　問合せボタン
   =======================*/
.rm-contact {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 18px;
    border-radius: 5px;
    background: var(--color-orange);
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.rm-contact:hover {
    opacity: .8;
    color: var(--color-white);
}

.rm-contact::before {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    background: url(https://reform.fj-tec.co.jp/wp-content/themes/XeoryExtension-child/lib/images/img_icon_item_mail_01.svg);
    background-size: contain;
    content: "";
}