@charset "utf-8";


/* ==================================================
   Header
================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8000;
    width: 100%;
    height: 101px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #dfe3e6;
  box-shadow: 0 3px 6px #0000001e; 
    transition:
        background-color 0.4s ease,
        box-shadow 0.4s ease,
        backdrop-filter 0.4s ease,
        transform 0.5s ease;
}


/* ==================================================
   Header Catch
================================================== */

.header_catch {
    display: flex;
    align-items: center;
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0 0 0 5%;
    color: #0c294c;
    background: #ffc400;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}


/* ==================================================
   Header Inner
================================================== */

.header_inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 95%;
    height: 68px;
    margin: 0 0 0 auto;
    background: #ffffff;
}


/* ==================================================
   Logo
================================================== */

.header_logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    width: clamp(180px, 18vw, 240px);
    padding: 0;
    text-decoration: none;
}

.header_logo img {
    display: block;
    width: 100%;
    max-width: 255px;
    height: auto;
}


/* ==================================================
   Navigation
================================================== */

.header_nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.header_menu {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header_menu-item {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.header_menu-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    height: 100%;
    padding: 0 clamp(10px, 1.1vw, 20px);
    color: #0c294c;
    font-size: clamp(11px, 2vw, 12px);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease;
}

.header_menu-link:hover {
    color: #e39800;
    opacity: 1;
}

.header_menu-link:hover::before {
    width: calc(100% - 24px);
}


/* ==================================================
   Navigation Arrow
================================================== */

.header_menu-arrow {
    position: relative;
    display: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #9fa7ad;
    border-radius: 50%;
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.header_menu-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-top: 1px solid #757e84;
    border-right: 1px solid #757e84;
    transform: translate(-65%, -50%) rotate(45deg);
    transition: border-color 0.3s ease;
}


/* ==================================================
   Header Tel
================================================== */

.header_tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    height: 100%;
    padding: 0 12px;
    color: #0c294c;
    border-left: 1px solid #e1e4e6;
    text-decoration: none;
}

.header_tel-icon {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: auto;
}

.header_tel-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header_tel-number {
    display: block;
    margin: 0;
    color: #0c294c;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    white-space: nowrap;
}

.header_tel-time {
    display: block;
    margin: 3px 0 0;
    color: #0c294c;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}


/* ==================================================
   PC Contact
================================================== */

.header_menu-item--contact {
    display: flex;
    flex-shrink: 0;
    align-items: stretch;
    padding: 0;
}

.header_menu-link-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 148px;
    height: 100%;
    padding: 5px 12px;
    color: #ffffff !important;
    background: #51b500;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        background-color 0.3s ease;
}

.header_menu-link-contact:hover {
    color: #ffffff !important;
    background: #429900;
    transform: none;
}

.header_contact-sub {
    display: block;
    margin-bottom: 3px;
    padding: 1px 6px;
    color: #51a900;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.header_contact-main {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.header_contact-icon {
    display: none;
}

/* ==================================================
   Hamburger Button
================================================== */

.hamBtn {
    position: fixed;
    top: 20px;
    right: 0;
    z-index: 10000;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 80px;
    height: 72px;

    padding: 0;

    background: #ffefb3;
    border: 0;
    border-radius: 0;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


/* ==================================================
   Hamburger Lines
================================================== */

.hamBar {
    position: relative;
    display: block;

    width: 34px;
    height: 24px;

    transition: transform .3s ease;
}

.hamBar > span,
.hamBar > div {
    position: absolute;
    left: 0;

    display: block;

    width: 100%;
    height: 2px;

    background: #10294b;

    border-radius: 0;

    opacity: 1;

    transition:
        top .3s ease,
        opacity .3s ease,
        transform .3s ease;
}

.hamBar > span:nth-child(1),
.hamBar > div:nth-child(1) {
    top: 0;
}

.hamBar > span:nth-child(2),
.hamBar > div:nth-child(2) {
    top: 11px;
}

.hamBar > span:nth-child(3),
.hamBar > div:nth-child(3) {
    top: 22px;
}


/* ==================================================
   CLOSE
================================================== */

.hamBtn::after {
    content: "";
    display: block;

    margin-top: 5px;

    color: #10294b;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: .03em;
}


/* 開いたとき */

.hamBtn.active .hamBar {
    height: 24px;
}

.hamBtn.active .hamBar > span:nth-child(1),
.hamBtn.active .hamBar > div:nth-child(1) {
    top: 11px;
    transform: rotate(25deg);
}

.hamBtn.active .hamBar > span:nth-child(2),
.hamBtn.active .hamBar > div:nth-child(2) {
    opacity: 0;
}

.hamBtn.active .hamBar > span:nth-child(3),
.hamBtn.active .hamBar > div:nth-child(3) {
    top: 11px;
    transform: rotate(-25deg);
}

.hamBtn.active::after {
    content: "CLOSE";
}


/* ==================================================
   SP Menu
================================================== */

.sp__menu {
    position: fixed;

    top: 92px;
    right: 0;

    z-index: 9900;

    display: block;

    width: 100%;
    height: calc(100dvh - 92px);

    padding: 0;

    color: #10294b;
    background: #ffffff;

    opacity: 0;
    visibility: hidden;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;

    pointer-events: none;

    transform: translateY(-15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}

.sp__menu.active {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}

.sp__menu-inner {
    display: block;

    width: 100%;
    min-height: 100%;

    margin: 0;
    padding: 65px 40px 80px;
}


/* ==================================================
   Menu内ロゴは今回不要
================================================== */

.sp__menu-logo {
    display: none;
}


/* ==================================================
   SP Navigation
================================================== */

.sp_menu-list {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 670px;

    margin: 0 auto;
    padding: 0;

    border: 0;

    list-style: none;
}

.sp_menu-item {
    width: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    list-style: none;
}


/* ==================================================
   Main Menu Link
================================================== */

.sp-menu__link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: .5rem 1rem 1rem 0;

    color: #10294b;

    border-bottom: 2px solid #111111;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;

    text-decoration: none;
}

.sp-menu__link p {
    margin: 0;

    color: #10294b;

    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}


/* ========================================
   Topページ項目
======================================== */

.sp_menu-item:first-child > .sp-menu__link {
    border-bottom: 2px solid #111111;
}


/* ==================================================
   SP Menu Arrow
================================================== */

.sp_menu-arrow {
    position: absolute;

    top: 50%;
    right: 22px;

    display: block;
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    background: #fe901d;

    border: 0;
    border-radius: 50%;

    box-shadow: 0 4px 10px rgba(0, 0, 0, .13);

    transform: translateY(-50%);
}

.sp_menu-arrow::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 46%;

    width: 13px;
    height: 13px;

    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


/* ==================================================
   サブリンク
================================================== */

/*
HTML側でサブリンクに
.sp_menu-sub
を付ける場合
*/

.sp_menu-sub {
    display: flex;
  gap: .5rem;

    padding: .5rem 2rem 0;

    color: #10294b;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    text-decoration: none;
}


.sp_menu-sub::before {
    content: "- ";
}


/* ==================================================
   サブメニューグループ
================================================== */

.sp_menu-sublist {
    padding-bottom: 35px;
}


/* ==================================================
   メニュー内電話・CTA・会社情報は非表示
   ヘッダー側に表示するため
================================================== */

.sp_tel,
.sp_contact,
.sp_company {
    display: none;
}

/* ==================================================
   1４００px以下
================================================== */

@media screen and (max-width: 1400px) {
.header_tel {
    display: none;
}
   .header_inner {
        width: 97%;
    }
}

/* ==================================================
   1024px以下
================================================== */

@media screen and (max-width: 1080px) {

    .header {
        height: 92px;
    }

    .header_catch {
        height: 20px;
    }

    .header_inner {
        height: 72px;
        padding-right: 80px;
    }

    .header_nav {
        display: none;
    }

    /*
    カンプでは電話番号をSPでも表示する
    */
    .header_tel {
        display: flex;
    }

    /*
    WEB見積もりボタンもSPで残す
    */
    .header_menu-item--contact {
        display: flex;
    }

    .hamBtn {
        display: flex;
    }
}


/* ==================================================
   767px以下
================================================== */

@media screen and (max-width: 767px) {

    .sp__menu-inner {
        padding: 70px 40px 80px;
    }

    .sp_menu-list {
        max-width: none;
    }

    .sp_menu-item > .sp-menu__link {
        min-height: 2rem;
        font-size: 20px;
    }
}


/* ==================================================
   600px以下
================================================== */

@media screen and (max-width: 600px) {

    /*
    添付カンプの比率に合わせる
    */

    .header_logo {
        width: 140px;
    }

    .header_tel {
        display: flex;
    }

    .header_menu-item--contact {
        display: flex;
    }

    .sp__menu-inner {
        padding:
            55px
            30px
            70px;
  }
    .sp_menu-arrow {
        right: 15px;
    }
}


/* ==================================================
   480px以下
================================================== */

@media screen and (max-width: 480px) {

    .header {
        height: 80px;
    }

    .header_catch {
        height: 18px;

        padding: 0 8px;

        font-size: 8px;
    }

    .header_inner {
        height: 60px;
        padding-right: 64px;
    }


    /* Hamburger */

    .hamBtn {
        top: 18px;

        width: 60px;
        height: 60px;
    }

    .hamBar {
        width: 30px;
        height: 20px;
    }

    .hamBar > span:nth-child(1),
    .hamBar > div:nth-child(1) {
        top: 0;
    }

    .hamBar > span:nth-child(2),
    .hamBar > div:nth-child(2) {
        top: 9px;
    }

    .hamBar > span:nth-child(3),
    .hamBar > div:nth-child(3) {
        top: 18px;
    }

    .hamBtn.active .hamBar > span:nth-child(1),
    .hamBtn.active .hamBar > div:nth-child(1),
    .hamBtn.active .hamBar > span:nth-child(3),
    .hamBtn.active .hamBar > div:nth-child(3) {
        top: 9px;
    }

    .hamBtn::after {
        font-size: 9px;
    }


    /* Menu */

    .sp__menu {
        top: 84px;
        height: calc(100dvh - 84px);
    }

    .sp__menu-inner {
        padding:
            45px
            20px
            60px;
    }

    .sp_menu-arrow {
        right: 10px;
    }

    .sp_menu-arrow::before {
        width: 10px;
        height: 10px;

        border-width: 3px;
    }

    .sp_menu-sub {
        padding:
            20px
            20px
            0;

        font-size: 18px;
    }

    .sp_menu-sub:last-child {
        padding-bottom: 24px;
    }
}