*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-feature-settings: "palt";
}

body {
    margin: 0;
}

main {
    display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

pre {
    font-family: monospace, monospace;
    font-size: inherit;
}

address {
    font-style: inherit;
}

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

abbr[title] {
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: inherit;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

option {
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

[type="number"] {
    -moz-appearance: textfield;
}

label[for] {
    cursor: pointer;
}

details {
    display: block;
}

summary {
    display: list-item;
}

[contenteditable]:focus {
    outline: auto;
}

table {
    border-color: inherit;
    border-collapse: collapse;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}
/*リセット　ここまで*/
html,
body {
    min-width: 360px;
    font-family: "source-han-sans-japanese", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #000;
}

.light {
    font-family: "source-han-sans-japanese", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.regular {
    font-family: "source-han-sans-japanese", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.medium {
    font-family: "source-han-sans-japanese", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.bold {
    font-family: "source-han-sans-japanese", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.alfarn {
    font-family: "alfarn", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a,
button {
    transition: all 0.3s;
}

a:hover,
button:hover {
    opacity: 0.6;
}

header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 500;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
}

header .head_content {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 35px 25px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

header .head_content .logo_block {
    padding-left: 35px;
    padding-bottom: 5px;
}

header .head_content .logo_block .logo {
    width: 215px;
    display: block;
}

header .head_content .logo_block .logo img {
    width: 100%;
}

header .head_content .logo_block p {
    font-size: 16px;
    line-height: 20px;
    margin-top: 15px;
    letter-spacing: 5px;
}

header .head_content .navi_block .search_block {
    position: relative;
    width: 230px;
    margin: 0 0 0 auto;
}

header .head_content .navi_block .search_block button {
    width: 17px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    margin: auto;
}

header .head_content .navi_block .search_block button img {
    width: 100%;
}

header .head_content .navi_block .search_block .search_input {
    width: 100%;
    height: 38px;
    border-radius: 19px;
    background-color: #999;
    padding: 0 5px 0 40px;
    font-size: 14px;
}

header .head_content .navi_block .search_block ::placeholder {
    color: white;
    letter-spacing: 2px;
}

header .head_content .navi_block .gnav {
    margin-top: 25px;
    display: flex;
    gap: 75px;
}

header .head_content .navi_block .gnav a {
    font-size: 16px;
    letter-spacing: 2px;
    text-indent: 2px;
}

header .head_content .navi_block .main_link {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

header .head_content .navi_block .main_link a {
    width: 208px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: solid 2px black;
    box-shadow: 2px 2px 0 black;
    font-size: 16px;
    letter-spacing: 4px;
    text-indent: 4px;
}

header .ham_btn {
    display: none;
}

header .ham_menu {
    display: none;
}

footer {
    width: 100%;
    border-top: solid 2px black;
}

footer .foot_block {
    max-width: 1600px;
    padding: 35px 60px 35px 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}

footer .foot_block .foot_logo {
    width: 215px;
}

footer .foot_block .foot_logo img {
    width: 100%;
}

footer .foot_block .foot_navi {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

footer .foot_block .foot_navi .nav_block {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    gap: 15px;
}

footer .foot_block .foot_navi .nav_block a {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 2px;
    display: block;
}

footer .foot_block .foot_navi .nav_block a span {
    display: inline-block;
}

footer .copy {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

footer .copy p {
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    color: white;
    letter-spacing: 2px;
    text-indent: 2px;
}

.pagetop {
    width: 62px;
    display: none;
    position: fixed;
    bottom: 75px;
    right: 5%;
}

.pagetop_btn img {
    width: 100%;
}

@media screen and (max-width: 1330px) {
    footer .foot_block .foot_navi .nav_block a span {
        display: block;
    }
}

@media screen and (max-width: 1200px) {
    header .head_content .navi_block .gnav {
        gap: 35px;
        justify-content: flex-end;
    }

    header .head_content .navi_block .main_link a {
        width: 150px;
    }

    footer .foot_block {
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px;
    }

    footer .foot_block .foot_navi {
        max-width: 100%;
        gap: 30px;
        justify-content: center;
    }
}

@media screen and (max-width: 1000px) {
    header .head_content {
        align-items: center;
        padding: 15px 20px;
    }

    header .head_content .logo_block {
        padding: 0;
    }

    header .head_content .logo_block .logo {
        width: 172px;
    }

    header .head_content .logo_block p {
        font-size: 12px;
        line-height: 1;
        margin-top: 10px;
        letter-spacing: 3px;
    }

    header .head_content .navi_block {
        display: none;
    }

    header .ham_btn {
        display: block;
        width: 40px;
        cursor: pointer;
    }

    header .ham_menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        background-color: white;
        z-index: 1000;
        display: none;
        max-width: 450px;
        padding: 100px 20px 20px;
    }

    header .ham_menu .ham_close {
        width: 32px;
        position: absolute;
        top: 41px;
        right: calc(5vw + 4px);
    }

    header .ham_menu .ham_logo {
        width: 172px;
        display: block;
        margin: 0 auto;
    }

    header .ham_menu .search_block {
        position: relative;
        max-width: 230px;
        margin: 35px auto 0;
    }

    header .ham_menu .search_block button {
        width: 17px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 18px;
        margin: auto;
    }

    header .ham_menu .search_block button img {
        width: 100%;
    }

    header .ham_menu .search_block .search_input {
        width: 100%;
        height: 38px;
        border-radius: 19px;
        background-color: #999;
        padding: 0 5px 0 45px;
        font-size: 14px;
    }

    header .ham_menu .search_block ::placeholder {
        color: white;
        letter-spacing: 2px;
    }

    header .ham_menu .menu_navi {
        margin-top: 30px;
    }

    header .ham_menu .menu_navi .nav_item {
        text-align: center;
    }
    header .ham_menu .menu_navi .nav_item + .nav_item {
        margin-top: 20px;
    }

    header .ham_menu .menu_navi .nav_item a {
        font-size: 16px;
        letter-spacing: 2px;
        text-indent: 2px;
    }

    header .ham_menu .link_btn {
        max-width: 170px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        border: solid 2px black;
        box-shadow: 2px 2px 0 black;
        font-size: 16px;
        letter-spacing: 3px;
        text-indent: 3px;
        margin: 20px auto 0;
    }

    footer .foot_block {
        padding: 35px 5%;
    }

    footer .foot_block .foot_logo {
        width: 172px;
    }

    footer .foot_block .foot_navi {
        flex-wrap: wrap;
        max-width: 545px;
        width: 100%;
        margin: 0 auto;
        gap: 20px;
    }

    footer .foot_block .foot_navi .nav_block {
        width: 100%;
        flex-flow: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    footer .foot_block .foot_navi .nav_block a {
        width: calc((100% - 15px) / 2);
    }
}

@media screen and (max-width: 600px) {
    header .head_content .logo_block .logo {
        width: 140px;
    }

    header .head_content .logo_block p {
        font-size: 11px;
        letter-spacing: 2px;
    }

    header .ham_btn {
        width: 30px;
    }

    header .ham_menu {
        padding-top: 65px;
    }

    header .ham_menu .ham_logo {
        width: 140px;
    }

    header .ham_menu .ham_close {
        width: 24px;
        top: 34px;
        right: calc(5vw + 3px);
    }

    .pagetop {
        width: 50px;
    }

    footer .foot_block {
        gap: 25px;
    }

    footer .foot_block .foot_logo {
        width: 140px;
    }

    footer .foot_block .foot_navi .nav_block a {
        font-size: 12px;
    }

    footer .copy p {
        font-size: 11px;
        line-height: 22px;
    }
}
