body {
    margin: 0;
}

header {
    position: fixed !important;
    top: 0px !important;
    z-index: 9999;
    transition: 0.3s;
    background-color: rgba(220, 220, 220, 0.05);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.07);
}

header.scrolled {
  background-color: rgba(30, 94, 152, 1); /* スクロール時の背景色 */
}

.c-header {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

@media screen and (max-width: 1400px) {
    .c-header {
        padding: 3% 5%;
        justify-content: space-between;
    }
}

.c-header__logo {
    color: #000; /* カスタマイズしてください */
    min-width: 80px; /* カスタマイズしてください */
    text-decoration: none;
    margin-right: 10%;
    padding: 0 0 0 1%;
}

.c-header__list {
    box-sizing: border-box;
    display: flex;
    margin: 0;
    padding: 0;
}

.c-header__list-item {
    list-style: none;
    text-decoration: none;
}

@media screen and (max-width: 1400px) {
    .c-header__list-item {
        font-size: 16px;
        margin: 0 0 0 5%;
        border-bottom: solid 1px #f1f1f1;
        width: 90%;
    }
}

.c-header__list-link {
    color: #f1f1f1; /* カスタマイズしてください */
    display: block;
    margin-right: 32px; /* カスタマイズしてください */
    text-decoration: none;
    padding: 40px 0px; /* カスタマイズしてください */
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
}

@media screen and (max-width: 1400px) {
    .c-header__list-link {
        font-size: 16px;
        padding: 22px 0px 22px 44px;
        margin: 0;
    }
}

.c-header__list-link2 {
    color: #f1f1f1; /* カスタマイズしてください */
    display: block;
    margin-right: 268px; /* カスタマイズしてください */
    text-decoration: none;
    padding: 40px 0px; /* カスタマイズしてください */
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
}

@media screen and (max-width: 1400px) {
    .c-header__list-link2 {
        font-size: 16px;
        padding: 22px 0px 22px 44px;
        margin: 0;
    }
}

.cvbtn_nav {
    background-color: #1e1e1e;
    padding: 10px;
    text-decoration: none;
    color: white;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-style: normal;
    padding: 40px 48px;
    white-space: nowrap;
    transition: background-color 0.3s, box-shadow 0.3s; /* ホバー時のトランジションを追加 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0); /* 初期状態では影を持たせない */
}

.cvbtn_nav:hover {
    background-image: linear-gradient(45deg, #110e2b, #1e5e98); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* ホバー時に影を追加 */
}


@media screen and (max-width: 1400px) {
    .cvbtn_nav {
        background-color: #1e1e1e;
        padding: 10px;
        text-decoration: none;
        color: white;
        font-family: "Noto Serif JP", serif;
        font-weight: 600;
        font-style: normal;
        padding: 20px 37%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 4%;
        margin-bottom: 4%;
    }
}

.c-header__list-link:hover {
    filter: opacity(0.6); /* カスタマイズしてください */
    transition: 0.3s;
}

.c-header__list-link2:hover {
    filter: opacity(0.6); /* カスタマイズしてください */
    transition: 0.3s;
}

.c-header__logo:hover {
    filter: opacity(0.6); /* カスタマイズしてください */
    transition: 0.3s;
}

.c-hamburger-menu {
    position: relative;
}

@media screen and (max-width: 1400px) {
    .c-hamburger-menu__list {
        background-color: rgba(30, 94, 152, 1); /* カスタマイズしてください */
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        left: 0;
        padding: 0; /* カスタマイズしてください */
        position: absolute;
        transform: translateX(-100%);
        top: 100%;
        width: 100%;
    }
    .is-loaded .c-hamburger-menu__list {
        transition: 0.3s;
    }
    #hamburger:checked ~ .c-hamburger-menu__list {
        transform: translateX(0%);
        transition: 0.3s;
    }
}

.c-hamburger-menu__input {
    display: none;
}

.c-hamburger-menu__bg {
    background-color: rgba(220, 220, 220, 0.05); /* カスタマイズしてください */
    cursor: pointer;
    display: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
    display: block;
}

.c-hamburger-menu__button {
    display: none;
}

@media screen and (max-width: 1400px) {
    .c-hamburger-menu__button {
        align-items: center;
        appearance: none;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px; /* カスタマイズしてください */
        height: 32px; /* カスタマイズしてください */
        justify-content: center;
        width: 32px; /* カスタマイズしてください */
    }
}

.c-hamburger-menu__button-mark {
    background-color: #f1f1f1; /* カスタマイズしてください */
    display: block;
    height: 1px; /* カスタマイズしてください */
    transition: 0.3s; /* カスタマイズしてください */
    width: 20px; /* カスタマイズしてください */
}

@media screen and (max-width: 1400px) {
    #hamburger:checked
        ~ .c-hamburger-menu__button
        .c-hamburger-menu__button-mark:nth-of-type(1) {
        transform: translate(2px, 1px) rotate(45deg); /* カスタマイズしてください */
        transform-origin: 0%; /* カスタマイズしてください */
    }
    #hamburger:checked
        ~ .c-hamburger-menu__button
        .c-hamburger-menu__button-mark:nth-of-type(2) {
        opacity: 0;
    }
    #hamburger:checked
        ~ .c-hamburger-menu__button
        .c-hamburger-menu__button-mark:nth-of-type(3) {
        transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
        transform-origin: 0%; /* カスタマイズしてください */
    }
}
