@charset "UTF-8";

/*
Theme Name: hrp-rules
Description: A WordPress theme for your sites.
Version: 1.0.0
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 1.2rem !important;
    overflow-x: hidden !important;
    overflow-y: auto;
    width: 100% !important;
    max-width: 100vw !important;
    background-color: #15126f !important;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ヘッダー固定スタイル */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0 1rem 0;
    background-color: #fff;
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-wrapper {
    flex-shrink: 0;
}

.header-logo {
    height: 60px;
    cursor: pointer;
}

.main-content {
    padding-top: 80px;
    flex: 1 0 auto;
}

.category-container {
    background-color: #fff;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 6px;
}

/* 投稿一覧 contactButton（Uiverse.io / d4niz 参考・category-container 内のみ） */
.category-container a.contactButton {
    background: #7079f0;
    color: #fff;
    font-family: inherit;
    padding: 0.45em;
    padding-left: 1em;
    font-size: 17px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em #714da6;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3em;
    width: 100%;
    text-decoration: none;
    outline: none;
}

.category-container a.contactButton:visited {
    color: #fff;
}

.category-container a.contactButton .contactButton__label {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.category-container a.contactButton .iconButton {
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #7a8cf3;
    right: 0.3em;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    color: #fff;
}

.category-container a.contactButton:hover {
    transform: translate(-0.05em, -0.05em);
    box-shadow: 0.15em 0.15em #5566c2;
}

.category-container a.contactButton:active {
    transform: translate(0.05em, 0.05em);
    box-shadow: 0.05em 0.05em #5566c2;
}

.category-container a.contactButton:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.footer-background {
    padding-top: 1rem;
    background-color: #333;
    color: #fff !important;
    font-size: 1rem;
    margin-top: auto;
}

@media (max-width: 767.98px) {
    .header-logo {
        height: 35px;
    }

    .header-container {
        padding: 0 0.75rem;
    }

    .main-content {
        margin-top: 70px;
    }
}
