@charset "utf-8";
/* CSS Document */

header {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    width: 100%;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 40px 14px;
}

.flex-left,
.flex-right {
    display: flex;
    gap: 80px;
    font-size: 0;
}

.header-logo {
    width: 80px;
}

.header-navigation {
    display: flex;
    gap: 40px;
    align-items: center;
}

.header-navigation a {
    font-size: 18px;
    font-weight: 600;
    overflow: hidden; /* 1つ目の影を隠す */
    color: transparent; /* テキスト本体は透明にする */
    /*
    影の設定
    1つ目：Y方向の位置にマイナスに設定してテキスト本体の上に配置、ぼかしなし
    2つ目：位置はテキスト本体と同じ、ぼかしなし
    */
    text-shadow: 0 -1.5em 0 #333333, 0 0 0 #333333;
    transition: text-shadow 0.5s;
}

.header-container .contact-btn {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 13px 20px;
    background: #333333;
    border-radius: 32px;
    transition: 0.3s;
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.header-container .contact-btn p {
    font-size: 18px;
    font-weight: 600;
}

.header-container .contact-btn::after {
    content: "";
    width: 15px;
    aspect-ratio: 1/1;
    background-image: url("../images/contact_icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.header-container .contact-btn p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

@media (hover: hover) {
    .header-navigation a:hover {
        text-shadow: 0 0 0 #333333, 0 1.5em 0 #333333; /* 2つの影の位置を上方向に1.5emずつずらす */
    }

    .header-container .contact-btn:hover {
        background: #007AB2;
    }
}

/* タブレット */
@media screen and (max-width: 1024px) {
    .header-container {
        margin: 12px 16px;
    }
    .flex-left, .flex-right {
        gap: 34px;
    }
    
    .header-logo {
        width: 72px;
    }
    
    .header-navigation {
        gap: 20px;
    }

    .header-navigation a{
        font-size: 16px;
    }

    .header-container .contact-btn {
        padding: 15px 12px;
        background: #333333;
        border-radius: 32px;
        transition: 0.3s;
        cursor: pointer;
    }

    .header-container .contact-btn p{
        font-size: 15px;
    }

}

/* スマートフォン */
@media screen and (max-width: 599px) {

    .header-container {
        margin: 8px 16px;
    }

    .header-logo {
        width: 50px;
    }

    .header-navigation {
        display: none;
    }
}