/* ------------------------------
 背景・文字色 トップページと統一
------------------------------ */
body {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
    color: #fff;
    background: linear-gradient(-45deg, #000, #111, #222, #000);
    background-size: 800% 800%;
    animation: gradientBG 25s ease infinite;
    line-height: 1.6;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ------------------------------
 ヒーロー画像（上部）
------------------------------ */
.hero-image {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.5;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hero-title h1 {
    font-size: 3rem;
    letter-spacing: 0.2em;
    margin: 0;
    position: relative;
    display: inline-block;
}

.hero-title h1::before,
.hero-title h1::after {
    content: "";
    display: inline-block;
    width: 5rem;
    height: 0.1rem;
    background: #fff;
    vertical-align: middle;
    margin: 0 1rem;
    opacity: 0.5;
}

.hero-title .sub-en {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

/* ------------------------------
 解体コンセプトエリア
------------------------------ */
.section {
    padding: 2rem 0;
    margin: 0 auto;
}

.demolition-concept {
    background-color: #251e1e;
    box-sizing: border-box;
    padding: 3rem 1.5rem 1.5rem;
    text-align: center;
}

.demolition-concept h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: #f4e8b5;
}

.demolition-concept .catch {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #fff;
    line-height: 1.6;
}

.demolition-concept .concept-text {
    text-align: left;
    font-size: 1rem;
    line-height: 2;
    color: #fff;
    box-sizing: border-box;
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demolition-concept .concept-text p {
    margin-bottom: 1.5rem;
}

/* ------------------------------
 解体ソリューション（左右交互）
------------------------------ */
.solution-points {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 4rem 1rem;
    background-color: #cec8c8;
}

.point {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.point.reverse {
    flex-direction: row-reverse;
}

.point-text {
    flex: 1 1 50%;
    padding: 1rem;
    color: #fff;
}

.point-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-left: 5px solid #400f1a;
    padding-left: 0.5rem;
    color:#400f1a;
}

.point-text p {
    line-height: 1.8;
    color: #000;
}

.point-image {
    flex: 1 1 45%;
    text-align: center;
}

/* ------------------------------
 画像アニメーション（ズーム→収まる）
------------------------------ */
.point .point-image img {
    opacity: 0;
    transform: scale(1.5);
    transition: opacity 1s, transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 400px;
    height: auto;
}

.point.visible .point-image img {
    opacity: 1;
    transform: scale(1);
}

/* ------------------------------
 フッター・ページトップ
------------------------------ */
.footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: #aaa;
    background: rgba(0,0,0,0.7);
}

.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-decoration: none;
    background: #fff;
    color: #000;
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 50px;
    opacity: 0.7;
    transition: 0.3s;
}

.page-top.show {
    opacity: 1;
}

.page-top:hover {
    opacity: 1;
}

/* ------------------------------
 出現アニメーション（fadein / visible）
------------------------------ */
.fadein {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fadein.visible {
    opacity: 1;
    transform: translateY(0);
}

.fadein.delay1 {
    transition-delay: 0.3s;
}
.fadein.delay2 {
    transition-delay: 0.9s;
}
.fadein.delay3 {
    transition-delay: 1.5s;
}

/* ------------------------------
 スマホ対応
------------------------------ */
@media screen and (max-width: 768px) {
    .hero-image {
        height: 30vh;
    }

    .hero-title h1 {
        font-size: 1.8rem;
    }

    .hero-title h1::before,
    .hero-title h1::after {
        width: 2.5rem;
        margin: 0 0.5rem;
    }

    .hero-title .sub-en {
        font-size: 0.8rem;
    }

    .demolition-concept h2 {
        font-size: 2rem;
    }

    .demolition-concept .catch {
        font-size: 1.2rem;
    }

    .point {
        flex-direction: column;
    }

    .point.reverse {
        flex-direction: column;
    }

    .point-text, .point-image {
        flex: 1 1 100%;
    }
}
