@charset "UTF-8";

*,
::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
}

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;
    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
}

img,
embed,
object,
iframe {
    border-style: none;
    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
}

[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox
}

[type="radio"] {
    -webkit-appearance: radio;
    appearance: radio
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none
}

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

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText
}

option {
    padding: 0
}

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

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

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

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

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

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

label[for] {
    cursor: pointer
}

:root {
    --c-bg-top: #aee1ff;
    --c-bg-mid: #d9f0ff;
    --c-bg-btm: #ffffff;
    --c-text-main: #222222;
    --c-text-white: #ffffff;
    --c-accent-blue: #0b63b6;
    --c-accent-dark: #1a365d;
    --c-accent-orange: #ff6b35;
    --font-main: 'Mochiy Pop One', sans-serif;
    --font-gothic: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-handwriting: 'Kiwi Maru', serif;
    --font-heading-mincho: 'Yuji Syuku', serif
}

html {
    font-size: 16px
}

body {
    font-family: var(--font-main);
    color: var(--c-text-main);
    line-height: 1.6;
    background: linear-gradient(180deg, var(--c-bg-top) 0%, var(--c-bg-mid) 45%, var(--c-bg-btm) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease
}

a:hover {
    opacity: 0.7
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom
}

.bg-sky {
    background: linear-gradient(180deg, var(--c-bg-top) 0%, var(--c-bg-mid) 45%, var(--c-bg-btm) 100%);
    background-attachment: fixed
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.side-menu {
    display: none
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(26, 54, 93, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1)
}

.header-logo img {
    height: 60px;
    width: auto
}

.menu-trigger {
    width: 60px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    filter: brightness(0) invert(1);
    background-image: url('../img/icon_menu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s
}

.menu-trigger:hover {
    background-image: url('../img/icon_menu_hover.svg');
    filter: none
}

.menu-trigger.active {
    background-image: url('../img/icon_close.svg')
}

.menu-trigger.active:hover {
    background-image: url('../img/icon_close_hover.svg');
    filter: none
}

.menu-trigger span {
    display: none
}

.sp-nav {
    position: fixed;
    top: 70px;
    right: 15px;
    left: auto;
    width: 240px;
    height: auto;
    background-color: rgba(255, 255, 255, 1);
    z-index: 999;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease
}

.sp-nav::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 24px;
    border-width: 0 12px 12px 12px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 1) transparent
}

.sp-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
}

.sp-nav-list {
    text-align: center;
    list-style: none;
    padding: 0
}

.sp-nav-list li {
    margin: 15px 0
}

.sp-nav-list a {
    font-size: 1.1rem;
    font-weight: medium;
    color: var(--c-accent-dark);
    display: block;
    padding: 5px 0;
    transition: color 0.3s
}

.sp-nav-list a:hover {
    color: var(--c-accent-blue);
    background-color: rgba(0, 0, 0, 0.05)
}

.side-sns {
    display: flex;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    gap: 15px
}

.side-sns a {
    display: block
}

.side-sns img {
    width: 36px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)
}

@media screen and (min-width:1024px) {
    .wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        position: relative
    }

    .header,
    .menu-trigger,
    .sp-nav {
        display: none
    }

    .side-menu {
        display: block;
        width: 280px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(26, 54, 93, 0.9);
        backdrop-filter: blur(5px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 20px;
        overflow-y: auto;
        z-index: 100
    }

    .footer {
        width: calc(100% - 280px);
        margin-left: 280px;
        z-index: 101;
        position: relative
    }

    .side-logo {
        margin-bottom: 40px;
        text-align: center
    }

    .side-logo img {
        max-width: 180px
    }

    .side-nav-list li {
        margin-bottom: 0px
    }

    .side-nav-list a {
        display: block;
        padding: 10px 15px;
        color: var(--c-text-white);
        font-weight: 500;
        border-radius: 8px;
        transition: background 0.3s
    }

    .side-nav-list a:hover {
        background-color: rgba(255, 255, 255, 0.1)
    }

    .side-sns {
        display: block;
        position: fixed;
        top: 20px;
        right: 30px;
        left: auto;
        transform: none;
        margin-top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.8);
        padding: 10px 15px;
        border-radius: 30px;
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        text-align: center
    }

    .side-sns a {
        display: inline-block;
        transition: transform 0.3s
    }

    .side-sns a:hover {
        transform: scale(1.1)
    }

    .side-sns img {
        width: 36px;
        vertical-align: middle;
        margin: 0 5px;
        border-radius: 5px
    }

    .main-content {
        margin-left: 280px;
        width: calc(100% - 280px);
        min-height: 100vh;
        padding: 0;
        position: relative
    }

    .footer {
        width: 100%
    }
}

.footer {
    background-color: var(--c-accent-dark);
    color: white;
    padding: 40px 20px;
    margin-top: auto
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.footer-logo img {
    max-width: 200px;
    filter: brightness(0) invert(1)
}

.footer-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center
}

.footer-links li {
    margin-bottom: 0
}

.footer-links a {
    font-size: 0.9rem
}

.copyright {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
    width: 100%
}