@charset "utf-8";

/* ========================================
 * 共通
======================================== */
/* 基本リセット */
*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #222;
    line-height: 1.7;
    letter-spacing: 0.025em;
    background-color: #fff;
    height: 100vh;
    position: relative;
    overflow-y: hidden;
}

img {
    max-width: 100%;
}

.header {
    position: absolute;
    top: 20px;
    left: 40px;
}

/* 修正ポイント：全体をflexに */
.overall-top {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 修正ポイント：高さを制限 */
.area_main-visual {
    height: 95vh;
    overflow: hidden;
    position: relative;
    padding-top: 10px;
}

.area_main-visual img {
    width: 100%;
    height: 95vh;
    padding: 0 40px;
    object-fit: cover;
    object-position: 50%, bottom 30px;
    clip-path: polygon(50% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
}

.main-visual_inner {
    position: relative;
    margin: 0 auto 20px;
}

.main-visual_inner .mv-pc {
    display: block;
}

.main-visual_inner .mv-sp {
    display: none;
}

.drone-text p {
    position: absolute;
    top: 8vh;
    right: 40px;
    background: #222;
    color: #fff;
    font-size: 14px;
    padding: 0 10px;
    rotate: 10deg;
}

.drone-text img {
    position: absolute;
    top: 0;
    right: 340px;
    width: 200px;
    height: 90px;
    object-fit: contain;
}

/* 修正ポイント：絶対配置位置を調整 */
.catch {
    position: absolute;
    bottom: 5%;
    left: 60px;
    transform: translateY(-50%);
    /* 高さの中心基準に調整 */
    max-width: 90%;
}

.catch h2 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;
    text-shadow: 0px 3px 15px #3B3B3BCE;
}

.catch h2 span {
    display: inline-block;
    background: #fff;
    border: 2px solid #222;
    color: #222;
    border-radius: 5px;
    padding: 14px;
    margin: 0 14px 14px 0;
    font-size: 50px;
    line-height: 1;
    text-shadow: none;
}

.catch h2 .bk {
    background: #222;
    border: 2px solid #fff;
    color: #fff;
}

.sub-catch {
    color: #fff;
    letter-spacing: .2em;
    font-size: 20px;
    text-shadow: 0px 3px 15px #3B3B3BCE;
}

.sub-catch span {
    background: #222;
    padding: 5px 20px;
    margin-right: 20px;
}

.pc-none {
    display: contents;
}

/* ボタンエリアは高さ固定で配置 */
.area_btn {
    width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
    padding: 20px 40px;
}

.list_btn {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.list_btn .reform a,
.list_btn .kenzai a {
    display: block;
    padding: 26px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    letter-spacing: .1em;
    position: relative;
}

.list_btn .reform a {
    background: linear-gradient(120deg, #EF7700, #FFBA02);
}

.list_btn .reform a::before {
    content: "";
    display: block;
    width: 140px;
    height: 140px;
    background: url(../img/top/icon_reform.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -65px;
    left: 20px;
}

.list_btn .kenzai a {
    background: linear-gradient(120deg, #1FA200, #AAC900);
}

.list_btn .kenzai a::before {
    content: "";
    display: block;
    width: 100px;
    height: 80px;
    background: url(../img/top/icon_kenzai.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0px;
    left: 30px;
}

.list_btn .reform a span,
.list_btn .kenzai a span {
    font-size: 25px;
    padding-right: 10px;
}

.footer {
    position: absolute;
    bottom: 136px;
    right: 20px;
    font-size: 12px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-family: futura-pt, sans-serif;
}

/* スマホや低めの画面用に文字サイズ調整 */
@media (max-height: 600px) {
    .catch h2 span {
        font-size: 30px;
        padding: 10px;
    }

    .sub-catch {
        font-size: 16px;
    }

    .list_btn .reform a span,
    .list_btn .kenzai a span {
        font-size: 20px;
    }
}


@media (max-width: 1450px) {
    .drone-text p {
        top: 4vh;
        right: 40px;
        font-size: 12px;
        padding: 10px 14px;
        rotate: 0deg;
    }

    .drone-text p span {
        display: block;
    }

    .drone-text img {
        position: absolute;
        top: 0;
        right: 200px;
        width: 160px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .header {
        left: 20px;
    }

    .header .logo img {
        width: 150px;
    }

    .area_main-visual img {
        padding: 0 15px;
        clip-path: polygon(50% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
    }

    .drone-text p {
        right: 20px;
    }

    .catch h2 {
        margin-bottom: 10px;
    }

    .catch h2 span {
        font-size: 30px;
        padding: 10px;
        margin: 0 10px 10px 0;
    }

    .sub-catch {
        font-size: 14px;
    }

    .sub-catch span {
        padding: 5px 10px;
        margin-right: 10px;
    }

    .area_btn {
        padding: 10px 15px;
    }

    .list_btn {
        gap: 15px;
    }

    .list_btn .reform a span,
    .list_btn .kenzai a span {
        font-size: 20px;
    }

    .footer {
        bottom: 110px;
        right: 1px;
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .header .logo img {
        width: 100px;
    }

    .main-visual_inner .mv-pc {
        display: none;
    }

    .main-visual_inner .mv-sp {
        display: block;
    }

    .catch {
        bottom: 15vh;
        left: 30px;
    }

    .catch h2 {
        font-size: 16px;
    }

    .catch h2 span {
        font-size: 20px;
        padding: 8px;
        margin: 0 5px 5px 0;
    }

    .sub-catch {
        font-size: 12px;
    }

    .sub-catch span {
        padding: 3px 8px;
        margin-right: 5px;
    }

    .list_btn {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .list_btn .reform a,
    .list_btn .kenzai a {
        padding: 10px;
    }

    .list_btn .reform a::before {
        width: 100px;
        height: 110px;
    }

    .list_btn .kenzai a::before {
        width: 30px;
        height: 46px;
    }

    .list_btn .reform a span,
    .list_btn .kenzai a span {
        font-size: 18px;
    }

    .footer {
        bottom: 128px;
    }

    .drone-text {
        display: none;
    }

}

@media (max-width: 400px) {
    .header {
        top: 10px;
        left: 10px;
    }
}

@media (max-width: 345px) {

    .catch h2 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .catch h2 span {
        font-size: 18px;
        padding: 6px;
        margin: 0 3px 3px 0;
        border-radius: 3px;
        border: 1px solid #222;
    }

    .catch h2 .bk {
        border: 1px solid #fff;
    }

    .drone-text {
        display: none;
    }

    .pc-none {
        display: block;
    }

}