/* common */
html {
    scroll-behavior: smooth;
}

body {
    width: 100vw;
    min-height: 100vh;
    background-color: #F4F5F7;
    margin: 0;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
h4 {
    color: #4B3951;
}

h2 {
    padding-bottom: 1.5rem;
}

ul,
ol {
    margin-left: 0px;
    padding-left: 0px;
}

/* header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0 2em; */
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.header__inner--title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 2rem;
}

.header__inner--icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    padding-right: 10px;
}

.header__inner--logo {
    height: 2.2em;
    display: inline-block;
    margin: 2em 0;
    filter: invert(22%) sepia(10%) saturate(1672%) hue-rotate(240deg) brightness(89%) contrast(84%);
}

.header-link {
    text-decoration: none;
    cursor: pointer;
}

/* menu */
.header__inner--menu {
    padding-right: 2rem;
}

.menu-list {
    display: flex;
    background-color: rgba(255, 255, 255, 0.5);
}

.menu-list li {
    list-style: none;
    padding: 0 1em;
}

.menu-link {
    color: #4B3951;
    text-decoration: none;
    cursor: point;
}

.menu-link:hover {
    color: #CF5C36;
    transition: 0.5s;
}

/* buttons */
.square-button {
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
    background-color: white;
    border: 1px solid #4B3951;
    color: #4B3951;
    font-size: 1em;
    cursor: pointer;
}

.square-button:hover {
    color: #CF5C36;
    border: 1px solid #CF5C36;
    cursor: pointer;
    transition: 0.5s;
}

.red-button {
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
    color: white;
    border: 1px solid rgb(167, 72, 72);
    background-color: rgb(167, 72, 72);
    font-size: 1em;
    cursor: pointer;
}

.red-button:hover {
    background-color: white;
    color: rgb(167, 72, 72);
    cursor: pointer;
    transition: 0.5s;
}

/* back to top */
a.backToTop {
    background: #CF5C36;
    width: 55px;
    height: 55px;
    position: fixed;
    right: 50px;
    bottom: 50px;
    opacity: 0;
    z-index: 999;
    border-radius: 9999px;
    display: inline-block;
    transition: opacity 0.8s;
    pointer-events: none;
}

a.backToTop:before {
    display: inline-block;
    color: #FFF;
    line-height: 1;
    width: 0.8rem;
    height: 0.8em;
    border: 0.2em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    content: "";
    z-index: 1000;
    opacity: 1;
    left: 50%;
    top: 55%;
    position: absolute;
    transform: translate(-50%, -50%) rotate(-45deg);
}

a.backToTop:hover {
    opacity: 0.8 !important;
}

/* news */
.news-list {
    width: 100%;
}

.news-list a {
    color: #4B3951;
    text-decoration: none;
    cursor: point;
}

.news-list a:hover {
    color: #CF5C36;
    transition: 0.5s;
}

.inner__content--date {
    text-align: right;
}

.inner__content--detail {
    text-align: justify;
}

/* footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 20px 0;
    margin: 0;
    background-color: #4B3951;
    color: #F4F5F7;
    position: sticky;
    top: 100vh;
}

/* individual page template */
.wrapper {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 0;
}

.inner__content {
    width: 65%;
    padding: 2rem 0;
}

.inner__footer {
    display: flex;
    justify-content: center;
}