/**********************************
エアリーホームのコンセプト (concept)
***********************************/
#concept-mv {
    width: 100%;
}

#concept>* {
    box-sizing: border-box;
}

#concept {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px;
}

#concept .inline-block {
    display: inline-block;
}

#concept .underline-y {
    background: linear-gradient(transparent 70%, #ff0 0%);
    display: inline;
    font-size: inherit;
}

#concept .txt-large {
    font-size: 1.3em;
}

#concept h2,
#concept h2 {
    letter-spacing: 0.1em;
}

#concept h2,
#concept h3,
#concept h4,
p {
    color: #333;
}

#concept a,
#concept a:hover,
#concept a:active,
#concept a:visited {
    text-decoration: none;
}

#concept img {
    width: 100vw;
    max-width: 1000px;
}

#concept ol,
#concept ul {
    list-style: none;
}

#concept .txt-center {
    text-align: center;
}

#concept h3 {
    font-size: clamp(1.5rem, 1.147rem + 1.76vw, 2.25rem);
    text-align: center;
    line-height: 1.8;
    margin: 1.5em auto;
    letter-spacing: 0.13em;
}

#concept h3 .inline-block {
    text-align: center;
    font-size: clamp(1.5rem, 1.147rem + 1.76vw, 2.25rem);
    color: #333;
    display: inline-block;
}

/* トップの画像 */
#concept-mv img {
    width: 100%;
}

/* section #concept-top */
#concept-top h2 {
    font-size: clamp(1.125rem, 0.419rem + 3.53vw, 2.625rem);
    text-align: center;
    margin: 1.5em auto;
    line-height: 1.5;
}

#concept-top ol {
    display: flex;
    gap: 10px;

    @media(max-width: 500px) {
        gap: 0;

    }
}

#concept-top ol li {
    position: relative;
    width: calc((100% - 10px) / 3);
    min-width: 300px;
    height: 500px;
}

#concept-top ol li#inline-link-price {
    background: url(../rdsgn/image/concept/ct-price.webp);
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
}

#concept-top ol li#inline-link-quality {
    background: url(../rdsgn/image/concept/ct-quality.webp);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

#concept-top ol li#inline-link-design {
    background: url(../rdsgn/image/concept/ct-design.webp);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

#concept-top ol li::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid #fff;
    border-color: transparent #fff #fff transparent;
    transform: translate(-50%, 0%);
    left: 50%;
    bottom: 10px;
    animation: drop-down 1s ease 0s infinite;
}

@keyframes drop-down {
    0% {
        opacity: .5;
        transform: translateY(-20px) rotate(45deg);
        animation-timing-function: ease;
    }

    100% {
        opacity: .3;
        transform: translateY(0px) rotate(45deg);
    }
}

#concept-top ol li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem;
    overflow: hidden;
    background: #0000009c;
    position: relative;
    transition: 0.3s;
}

#concept-top ol li a:hover {
    background: #00000061;
    transition: 0.3s;
}

#concept-top ol li a div>* {
    color: #fff;
}



#concept-top ol li h3 {
    margin: 3em auto;
}

#concept-top ol li a p {
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 3em;
    font-size: 1.1em;
    font-weight: 500;
}

#concept .section-top {
    width: 100vw;
    max-width: 1000px;
    margin: 60px auto;
    padding: 60px;
    box-sizing: border-box;
    aspect-ratio: 5 / 2;
    align-content: center;
}

#concept .section-top>* {
    color: #fff;
}

#concept .section-top h2,
#concept .section-top h3 {
    font-size: clamp(1.125rem, 0.419rem + 3.53vw, 7rem);
    font-weight: 900;
}

#concept .section-top p {
    font-size: clamp(1rem, 0.419rem + 3.53vw, 1.5rem);
    line-height: 1.8;
    margin-top: 1em;
    letter-spacing: 0.2em;
    font-weight: 700;
}

/* section #price */
#price .section-top {
    background: linear-gradient(to right, rgb(0 0 0 / 60%), rgb(0 0 0 / 60%)), url(../rdsgn/image/concept/ct-price.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#price ol.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

#price ol.flex>li {
    width: calc((100% - 10px) / 2);
}

#concept ol.flex li img {
    width: 100%;
}

#concept .border-area {
    border: 1px solid #616161;
    padding: 20px;
    margin: 2rem;
}

#concept .border-area p {
    line-height: 1.8;
    font-weight: bold;
    font-size: 1.3em;
}

#price ul.flex {
    display: flex;
    justify-content: space-around;
    gap: 60px;
    margin: 10px 30px;
}

#price ul.flex li {
    width: calc((100% - 30px) / 3);
    border: 3px solid #ffd2eb;
    padding: 30px;
    text-align: center;
    letter-spacing: 0.07em;
    position: relative;
}

#price ul.flex li::after {
    content: '+';
    position: absolute;
    display: inline-block;
    top: 50%;
    left: calc(100% + 32px);
    font-size: 30px;
    transform: translate(-50%, -50%);
}

#price ul.flex li:nth-of-type(3)::after {
    content: "";
}

#price ul.flex li h4 {
    margin-bottom: 0.5em;
    font-size: 1.2em;
}

#price ul.flex li img {
    width: 100%;
}

#price ul.flex li h4 {
    margin-bottom: 0.5em;
}

/* section #quality */
#quality .section-top {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../rdsgn/image/concept/ct-quality.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#quality .flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

#quality li {
    width: calc((100% - 10px) / 2);
}

#quality li img {
    width: 100%;
}

.baloon {
    position: relative;
    padding: 1em;
    background: #ffffb7;
    border-radius: 100px;
    width: 95%;
}

#comfort .comfort-top,
#safety .safety-top {
    background: url(../rdsgn/image/concept/comfort.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 5 / 2;
    position: relative;
    color: #fff;
    text-align: center;
    margin-top: 60px;
}

#comfort .comfort-top div,
#safety .safety-top div {
    position: absolute;
    padding: 2em;
    border: 1px solid #fff;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

#comfort .comfort-top h3,
#safety .safety-top h3 {
    color: #fff;
    margin: 0;
    font-size: clamp(1.125rem, 0.08rem + 5.23vw, 4rem);
}

#comfort .comfort-top p,
#safety .safety-top p {
    color: #fff;
    line-height: 2;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}

#safety .safety-top {
    background: url(../rdsgn/image/concept/safety.webp);
}

#concept .check-point {
    background: #ffffe1;
    padding: 30px 50px;
    margin: 70px 2rem 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    text-align: center;
}

#concept .check-point h4 {
    font-size: 2.5em;
    color: #3B82F6;
    margin-top: -50px;
    font-weight: bold;
    text-align: center;
    margin-left: 20px;
    margin-bottom: 10px;
}

#concept .check-point p {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

#concept .check-point p>span {
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

#concept .check-point img {
    width: 150px;
    margin-bottom: -30px;
}

#design {
    margin-bottom: 30px;
}

#design .section-top {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../rdsgn/image/concept/ct-design.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#design .flex-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}


#design .flex-gallery li img {
    width: 100%;
}

@media(max-width: 768px) {
    #concept-top ol {
        display: flex;
        flex-wrap: wrap;
    }

    #concept .section-top p {
        font-size: 1rem;
    }

    #concept-top ol li {
        width: 100%;
        aspect-ratio: 2.3 / 1;
        flex-wrap: wrap;
        height: auto;
    }

    #concept-top ol li a div {
        position: absolute;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
        width: 90%;
    }

    #concept-top ol li h3 {
        margin: 10px auto;
        font-size: 36px;
    }

    #concept-top ol li a p {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #price ol.flex {
        gap: 0;
        justify-content: center;
    }

    #price ul.flex {
        flex-direction: column;
        gap: 30px;
    }

    #price ol.flex>li {
        width: 100%;
    }

    #price ul.flex li {
        padding: 20px;
        width: 100%;
    }

    #price ul.flex li img {
        max-width: 120px;

    }

    #price ul.flex li::after {
        content: '+';
        position: absolute;
        display: inline-block;
        top: calc(100% + 15px);
        left: 50%;
        font-size: 30px;
        transform: translate(-50%, -50%);
    }

    #concept .section-top h2 {
        font-size: 36px;

    }

    #concept h3 {
        font-size: 18px;
    }

    #concept .check-point {
        flex-direction: column;
    }

    #concept .check-point p>span {
        font-size: inherit;
        text-align: left;
    }

    #concept .cneck-point .underline-y {
        background: linear-gradient(transparent 70%, #ff0 0%);
        display: inline;
        text-align: left;
    }

    #concept .check-point img {
        display: none;
    }

    #quality .flex {
        gap: 0;
    }

    #quality li {
        width: 50%;
    }

    #comfort .comfort-top,
    #safety .safety-top {
        aspect-ratio: 3 / 2;
    }

    #comfort .comfort-top div,
    #safety .safety-top div {
        width: 80%;
        background: #00000045;
    }

    #comfort .comfort-top+h3>span {
        font-size: clamp(1.5rem, 1.147rem + 1.76vw, 2.25rem);
    }

    #comfort .comfort-top p,
    #safety .safety-top p {
        text-align: center;
    }

    #design .flex-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        margin: 3%;
    }
}