@import url(form.css);
@import url(contact.css);

/* Re:Raise（都市再生）事業 - .business4*/

/* ==========================================================================
   共通スタイル
   ========================================================================== */
#business section#business-details {
    padding-bottom: 0;
}

#business #business-details .service-header>.flex>div:last-child img {
    position: relative;
    object-position: right;
}

.bg-white {
    background: var(--color-white);
}

#business #business-details>.wrap::before {
    background: linear-gradient(to right, var(--color-orange) 0 50%, transparent 50% 100%);
}

#business #business-details #intro .service-type h2 span {
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   ページトップ
   ========================================================================== */
#business .page-top {
    padding-bottom: 0;
}

#business .page-top-intro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8em;
    justify-items: center;
}

#business .page-top-intro img {
    margin-top: 0;
}

#business .page-top-intro img:first-child {
    max-width: 450px;
}

#business #business-details .page-top-disc h3 {
    padding-left: 0;
    border-left: none;
    margin-top: 5em;
    font-size: 2.4em;
    color: var(--color-orange);
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--color-orange);
}

#business .page-top-disc>div {
    margin-top: 2.5em;
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 6em;
}

#business .page-top-disc>div p {
    margin-top: 0;
    font-size: 1.25em;
    color: var(--color-darkgray);
    letter-spacing: 0.1em;
    line-height: 2.2;
}

#business .disc-img {
    margin-top: 0;
}

#business .disc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   リノベーション事業 / リフォーム事業
   ========================================================================== */
#business .section {
    padding: var(--section-space) 0 0;
}

#business .section-header p {
    margin-top: 0.6em;
    font-size: 2.1em;
    line-height: 2;
    letter-spacing: 0.1em;
    font-weight: 700;
}

#business .section-layout {
    display: grid;
    grid-template-columns: 1fr 51%;
    gap: 5em;
}

#business .sec02 .section-layout {
    margin-top: 1.4em;
    grid-template-columns: 1fr 35%;
}

#business .section-contents span {
    margin-bottom: 2.8em;
    display: inline-block;
    padding: 0.6em 1.2em;
    line-height: 1;
    font-size: 1.3em;
    border-radius: 5em;
    background: #fdeecc;
    font-weight: 700;
    letter-spacing: 0.1em;
}

#business .section-contents h4 {
    margin-top: 0;
    font-size: 2.2em;
    letter-spacing: 0.05em;
    line-height: 1.6;
    font-weight: 600;
    color: var(--color-orange);
    border-bottom: 3px solid var(--color-orange);
    padding-bottom: 0.6em;
}

#business .section-contents p {
    margin-top: 1.6em;
    font-size: 1.25em;
    letter-spacing: 0.1em;
    line-height: 2;
    font-weight: 400;
    color: var(--color-darkgray);
}

#business .section-img {
    margin-top: 0;
}

#business .section-card {
    background: #fdeecc;
}

#business .section-card .img {
    aspect-ratio: 479 / 304;
}

#business .section-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#business .section-card-inner {
    padding: 3em;
    margin: 0;
}

#business .section-card-inner h5 {
    text-align: center;
    font-size: 2em;
    line-height: 1.5;
    font-weight: 700;
    padding-bottom: 0.5em;
    letter-spacing: 0.1em;
    margin-top: 0;
}

#business .section-card-inner h5::after {
    content: "";
    display: block;
    width: 52%;
    height: 0.2em;
    background: var(--color-orange);
    margin: 0.6em auto 0;
}

#business .section-card-inner p {
    margin-top: 1.2em;
    font-size: 1.25em;
    line-height: 2;
    letter-spacing: 0.1em;
    color: var(--color-darkgray);
}

/* ==========================================================================
   アンカーリンク
   ========================================================================== */
.anchor-wrap {
    margin-top: 0;
    padding-top: 10em;
}

#business .anchor {
    padding-bottom: calc((var(--padding)) * 2);
}

#business .anchor a {
    padding: 0 calc(var(--padding) / 2);
    padding-bottom: 1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--gap) / 2);
    flex-direction: column;
    color: #595757;
    border-right: 1px solid var(--color-text);
}

#business .anchor a:first-child {
    border-left: 1px solid var(--color-text);
}

#business .anchor span {
    font-weight: 700;
    font-size: 1.6em;
}

#business .anchor a img {
    transform: rotate(90deg);
    width: .85em;
    height: .85em;
    transition: var(--transition);
    translate: 0 -5px;
    margin: 0;
}

#business .anchor a:hover img {
    translate: 0 0;
}

/* ==========================================================================
   「Re:Raise」の特長 / 物件買取の流れ / 買取査定依頼 共通
   ========================================================================== */
#business .section-wrapper {
    padding: 5em;
}

#business .section-wrapper section {
    padding: 6em;
    margin-top: 5em;
}

#business #business-details .section-wrapper section h3 {
    font-size: 2em;
    letter-spacing: 0.1em;
    padding-left: 1.6em;
    border-left: none;
}

#business #business-details .section-wrapper section h3::before {
    content: "";
    display: block;
    width: 1.1em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 0.25em solid var(--color-orange);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#business #business-details .section-wrapper section h4 {
    margin-top: 1.5em;
    font-size: 2.3em;
    letter-spacing: 0.1em;
    border-left: none;
    color: var(--color-orange);
}

/* ==========================================================================
   「Re:Raise」の特長
   ========================================================================== */
#business .features .features-text-list {
    margin-top: 1em;
}

#business .features .features-text-list li {
    font-size: 1.2em;
    font-weight: 400;
    padding: 0.4em 0 0.4em 1.8em;
}

#business .features .features-text-list li::before {
    content: "";
    display: block;
    width: 1em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--color-orange);
    position: absolute;
    top: 1.3em;
    left: 0;
    transform: translateY(-50%);
}

#business .features .features-list {
    margin-top: 5em;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

#business .features .features-list li {
    border-right: 2px solid var(--color-orange);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5em;
    padding: 2em 1em 3em;
}

#business .features .features-list li:first-child {
    border-left: 2px solid var(--color-orange);
}

#business .features .features-list li .icon {
    height: 5em;
    margin: 0 auto;
}

#business .features .features-list li .icon img {
    width: auto;
    height: 100%;
}

#business .features .features-list li h5 {
    margin-top: 0;
    font-size: 1.8em;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

#business .features .features-list li p {
    margin-top: 0;
    font-size: 1.3em;
    letter-spacing: 0.1em;
    line-height: 2;
}

/* ==========================================================================
   物件買取の流れ
   ========================================================================== */
#business .flow .flow-text {
    margin-top: 1.2em;
    font-size: 1.8em;
    font-weight: 700;
}

#business .flow .flow-text-list {
    margin-top: 4em;
    display: grid;
    grid-template-columns: 28% 1fr 1fr;
    gap: 2em;
}

#business .flow .flow-text-list li {
    padding: 1em 1em;
    background: var(--color-lightgray);
    display: flex;
    justify-content: center;
    gap: 0.5em;
    z-index: 2;
}

#business .flow .flow-text-list li strong {
    color: var(--color-orange);
    font-size: 3.2em;
  font-family: "Murecho", sans-serif;
}

#business .flow .flow-text-list li span {
    margin-top: 1.6em;
    font-size: 1.5em;
    font-weight: 700;
    padding-left: 0.2em;
    line-height: 1.2;
}

#business .flow .flow-text-list li:last-child::after {
    position: absolute;
    top: -2.5em;
    right: 4em;
    content: "買取案件募集しています !";
    font-size: 1.2em;
    border: 1px solid var(--color-black);
    padding: 0 0.5em;
    background: var(--color-orange);
    font-weight: 700;
    z-index: 2;
}

#business .flow .flow-text-list li:last-child::before {
    content: "";
    display: block;
    width: 1px;
    height: 1em;
    background: var(--color-black);
    position: absolute;
    top: -0.9em;
    right: 14em;
    transform: rotate(30deg);
}

#business .flow .flow-list {
    margin-top: 6em;
}

#business .flow .flow-list li {
    display: grid;
    grid-template-columns: 7em 1fr;
    gap: 5em;
    background: url(../_img/business/business_step_line.svg) no-repeat bottom center;
    background-size: contain;
    padding: 2.5em 0 6em 0;
}
#business .flow .flow-list li:last-child {
    background: transparent;
}

#business .flow .flow-list li .circle {
    background: var(--color-orange);
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.15em;
}

#business .flow .flow-list li .circle span {
    font-size: 1.2em;
    color: var(--color-white);
    line-height: 1.1;
    font-family: "Murecho", sans-serif;
}

#business .flow .flow-list li .circle span.num {
    font-size: 1.9em;
    font-weight: 500;
}

#business .flow .flow-list li .step {
    margin-top: 0;
}

#business .flow .flow-list li .step h5 {
    margin-top: 0.4em;
    font-size: 2.1em;
    font-weight: 700;
    letter-spacing: 0.13em;
}

#business .flow .flow-list li .step p {
    margin-top: 1.3em;
    font-size: 1.25em;
    color: var(--color-darkgray);
    letter-spacing: 0.1em;
    line-height: 2;
}

#business .flow .flow-list li .step-buttons {
    margin-top: 3em;
    display: flex;
    gap: 3em;
}

#business .flow .flow-list li .step-buttons a {
    padding: 1.2em 1.5em;
    font-size: 1.2em;
    max-width: none;
    min-width: 290px;
    gap: 2em;
}

#business .flow .flow-list li .step-buttons a>span {
    display: grid;
    grid-template-columns: 2em 1fr;
    align-items: center;
    gap: 1em;
}

#business .flow .flow-list li .step-buttons a svg path {
    transition: var(--transition);
}

#business .flow .flow-list li .step-buttons a:hover svg path {
    fill: var(--color-black);
}

/* ==========================================================================
   買取査定依頼
   ========================================================================== */
#business .contact .contact-text {
    margin-top: 2em;
    font-size: 1.25em;
    color: var(--color-darkgray);
    letter-spacing: 0.1em;
    line-height: 2;
}

#business .contact>.button {
    max-width: 300px;
    font-size: 1.2em;
    letter-spacing: 0.05;
    padding: 0.3em 0.8em;
    margin-top: 3.5em;
}

#business .contact .form {
    padding: 0;
    margin-top: 3em;
    background: none;
}



form .button::after,
form .button:hover::after {
    background: url(../_img/icon/arrow_white.svg) center / 20px no-repeat;
}

/* ==========================================================================
   メディアクエリ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1980px以下
   -------------------------------------------------------------------------- */
@media (max-width: 1980px) {
    #business #business-details .service-header>.flex>div:last-child img {
        left: 47%;
        width: 94%;
    }
}

/* --------------------------------------------------------------------------
   1720px以下
   -------------------------------------------------------------------------- */
@media (max-width: 1720px) {
    #business #business-details .service-header>.flex>div:last-child img {
        left: 41%;
        width: 90%;
    }
}

/* --------------------------------------------------------------------------
   1440px以下
   -------------------------------------------------------------------------- */
@media (max-width: 1440px) {
    #business #business-details .service-header>.flex>div:last-child img {
        left: 39%;
        width: 82%;
    }
}

/* --------------------------------------------------------------------------
   1280px以下
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
    #business .flow .flow-text-list {
        grid-template-columns: 25% 1fr 1fr;
        gap: 1.5em;
    }

    #business .flow .flow-text-list li {
        padding: 0.6em 0.5em;
    }

    #business .flow .flow-text-list li strong {
        font-size: 3em;
    }

    #business .flow .flow-text-list li span {
        margin-top: 1.8em;
        font-size: 1.3em;
    }

    #business .flow .flow-text-list li:last-child::after {
        font-size: 1.1em;
    }
}

/* --------------------------------------------------------------------------
   1100px以下
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    #business .flow .flow-text-list {
        grid-template-columns: 1fr;
        gap: 3em;
    }

    #business .flow .flow-text-list li {
        justify-content: start;
        padding: 0.5em 3em;
    }

    #business .flow .flow-text-list li:last-child::after {
        width: fit-content;
        top: -2.5em;
        left: 30%;
        right: inherit;
        font-size: 1.1em;
    }

    #business .flow .flow-text-list li:last-child::before {
        content: "";
        top: -0.9em;
        left: 45%;
        right: inherit;
    }

    #business .flow .flow-list li .step-buttons a {
        min-width: 0;
    }
}

/* --------------------------------------------------------------------------
   1024px以下
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    #business #business-details>.wrap::before {
        background: linear-gradient(to right, var(--color-orange) 0 55%, transparent 55% 100%);
    }

    #business #business-details #intro {
        background: linear-gradient(to right, var(--color-white) 0 55%, transparent 55% 100%);
    }

    #business .features .features-list {
        margin-top: 5em;
        display: grid;
        grid-template-columns: 1fr;
    }

    #business .features .features-list li {
        border-right: none;
        border-bottom: 2px solid var(--color-orange);
    }

    #business .features .features-list li:first-child {
        border-left: none;
        border-top: 2px solid var(--color-orange);
    }

    #business .flow .flow-list li {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    #business .flow .flow-list li .circle {
        max-width: 100px;
        margin: 0 auto;
        width: 100%;
    }

    #business .flow .flow-list li .step h5 {
        text-align: center;
    }

    #business .flow .flow-list li .step p {
        text-align: center;
    }

    #business .flow .flow-list li .step-buttons {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   920px以下
   -------------------------------------------------------------------------- */
@media (max-width: 920px) {
    #business #business-details>.wrap::before {
        background: linear-gradient(to right, var(--color-orange) 0 100%);
    }

    #business #business-details #intro {
        background: linear-gradient(to right, var(--color-white) 0 100%);
    }

    #business .page-top {
        padding-top: 6em;
        padding-bottom: var(--section-space);
    }

    #business #business-details .page-top-disc h3 {
        margin-top: 3em;
    }

    #business #business-details .service-header>.flex>div:last-child img {
        width: 100%;
        left: 50%;
    }

    #business .page-top-disc>div {
        grid-template-columns: 1fr;
        gap: 3em;
    }

    #business .section {
        padding: var(--section-space) 0;
    }

    #business .section-layout {
        grid-template-columns: 1fr;
        gap: 3em;
    }

    #business .sec02 .section-layout {
        grid-template-columns: 1fr;
        gap: 3em;
    }

    #business .section-card {
        margin-top: 0;
    }

    .anchor-wrap {
        padding-top: 3em;
    }

    #business .anchor {
        grid-template-columns: repeat(3, 1fr);
    }

    #business .anchor a {
        padding: calc((var(--padding) / 4)) calc((var(--padding) / 2));
        line-height: 1.4;
        justify-content: flex-end;
    }

    #business .anchor span {
        display: flex;
        align-items: center;
        min-height: 2lh;
        font-size: 1.2em;
    }

    #business .section-wrapper {
        padding: 0;
    }
}

/* --------------------------------------------------------------------------
   820px以下
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
    #business .page-top-intro {
        gap: 5em;
    }

    #business .section-wrapper section {
        padding: 3em 2em;
    }

    #business .contact form dl>div dt {
        min-width: 200px;
        font-size: 1.4em;
    }

    #business .contact form .center {
        flex-direction: column;
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   720px以下
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
    #business .flow .flow-list {
        margin-top: 2em;
    }

    #business .flow .flow-list li {
        padding: 2.5em 0 4em 0;
    }

    #business .flow .flow-list li .step-buttons {
        flex-direction: column;
        align-items: center;
        gap: 2em;
    }

    #business .flow .flow-list li .step-buttons a {
        max-width: 350px;
        width: 100%;
        margin-top: 0 !important;
    }

    #business .contact form dl>div dd {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   520px以下
   -------------------------------------------------------------------------- */
@media (max-width: 520px) {

    /* ページトップ */
    #business .page-top-intro {
        grid-template-columns: 1fr;
    }

    #business #business-details .page-top-disc h3 {
        font-size: 2.2em;
    }

    #business .page-top-disc>div {
        margin-top: 1em;
    }

    /* セクション */
    #business .section-header p {
        font-size: 1.4em;
    }

    #business .section-contents h4 {
        font-size: 1.8em;
    }

    #business .section-contents p {
        margin-top: 1.2em;
        font-size: 1.1em;
    }

    #business .section-card-inner {
        padding: 2em;
    }

    #business .section-card-inner h5 {
        font-size: 1.6em;
    }

    #business .section-card-inner p {
        margin-top: 0.8em;
        font-size: 1.1em;
    }

    #business .section-contents span {
        line-height: 1.1;
    }

    /* アンカー */
    #business .anchor a {
        font-size: 0.8em;
    }

    /* セクションラッパー共通 */
    #business .section-wrapper section {
        margin-top: 3em;
    }

    #business #business-details .section-wrapper section h3 {
        font-size: 1.8em;
    }

    #business #business-details .section-wrapper section h3::before {
        width: 0.9em;
    }

    #business #business-details .section-wrapper section h4 {
        margin-top: 1.2em;
        font-size: 1.9em;
    }

    /* 「Re:Raise」の特長 */
    #business .features .features-text-list {
        margin-top: 1em;
    }

    #business .features .features-text-list li {
        font-size: 1.1em;
        padding: 0.3em 0 0.3em 1.4em;
    }

    #business .features .features-text-list li::before {
        width: 0.8em;
        top: 1.2em;
    }

    #business .features .features-list {
        margin-top: 3em;
    }

    #business .features .features-list li {
        gap: 1.5em;
        padding: 3em 1em 2em;
    }

    #business .features .features-list li .icon {
        height: auto;
        width: 5em;
    }

    #business .features .features-list li .icon img {
        width: 100%;
        height: auto;
    }

    #business .features .features-list li h5 {
        font-size: 1.5em;
    }

    #business .features .features-list li p {
        font-size: 1.1em;
    }

    /* 物件買取の流れ */
    #business .flow .flow-text {
        font-size: 1.4em;
    }

    #business .flow .flow-text-list {
        gap: 2em;
    }

    #business .flow .flow-text-list li {
        align-items: center;
        padding: 0.6em 1.5em;
    }

    #business .flow .flow-text-list li strong {
        color: var(--color-orange);
        font-size: 2em;
    }

    #business .flow .flow-text-list li span {
        margin-top: 0;
        line-height: 1.4;
    }

    #business .flow .flow-text-list li:last-child::after {
        width: fit-content;
        top: -2em;
        left: 30%;
        right: inherit;
        font-size: 1.1em;
    }

    #business .flow .flow-text-list li:last-child::before {
        content: "";
        top: -0.4em;
        left: 45%;
        right: inherit;
    }

    #business .flow .flow-list li .step-buttons a {
        gap: 1em;
        font-size: 1.1em;
    }


    /* 買取査定依頼 */
    #business .contact form .center {
        gap: 0;
    }
}