html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:root {
    --blue: #0046A8;
    --text-color: #3D3D3D;
}

body {
    font-size: 1rem;
    color: var(--text-color);
    font-family: 
        -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
        "Hiragino Sans", "Hiragino Kaku Gothic ProN", 
        "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
    line-height: 1.6;
}

input, textarea {
    font-size: 14px;
    color: var(--text-color);
    font-family: 
        -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
        "Hiragino Sans", "Hiragino Kaku Gothic ProN", 
        "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ellipsis-2,
.ellipsis-3,
.ellipsis-4 {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
    box-orient: vertical;
    -webkit-box-orient: vertical;
}

.ellipsis-2 {
    -webkit-line-clamp: 2;
}

.ellipsis-3 {
    -webkit-line-clamp: 3;
}

.ellipsis-4 {
    -webkit-line-clamp: 4;
}

.ellipsis-5 {
    -webkit-line-clamp: 5;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: end;
}

.flex-warp {
    display: flex;
    flex-wrap: wrap;
}

.flex-bottom {
    display: flex;
    align-items: flex-end;
}

.container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.main {
    padding-top: 60px;
    min-height: calc(100vh - 60px - 168px);
}

.mask {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 70, 168, 0.9);
    z-index: 9;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1440px;
    min-width: 1280px;
    padding: 0 20px;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.header .navigator {
    display: flex;
}

.header .navigator .navigator-item {
    padding: 0 22px;
    height: 60px;
    line-height: 60px;
    color: #fff;
}

.header .navigator .navigator-item.active {
    background-color: #fff;
    color: var(--blue);
    font-weight: bold;
}

.header .contact {
    width: 96px;
    height: 28px;
    border: 1px solid #fff;
    line-height: 26px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    border-radius: 28px;
    font-weight: bolder;
}

.footer {
    padding: 32px 20px;
    background-color: var(--blue);
    position: relative;
}

.footer .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-width: 1440px;
    min-width: 1280px;
}

.footer .scroll-top-btn {
    position: absolute;
    width: 48px;
    height: 28px;
    top: -20px;
    left: calc(50% - 24px);
    background: url(../img/scroll_top.png) no-repeat center center;
    background-size: 48px 28px;
    z-index: 1;
}

.footer .logo-warpper {
    width: 254px;
}

.footer .logo-warpper .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.footer .logo-warpper .slogan {
    margin-top: 16px;
    line-height: 20px;
    font-size: 12px;
    color: #fff;
    text-align: justify;
}

.footer .contact {
    flex: 1;
    text-align: center;
}

.footer .contact .follow {
    color: #fff;
    line-height: 24px;
    margin-top: 6px;
}

.footer .contact .sns {
    margin-top: 22px;
}

.footer .contact .sns .item {
    margin-right: 12px;
}

.footer .contact .sns .item:last-child {
    margin-right: 0;
}

.footer .contact .copyright {
    margin-top: 12px;
    line-height: 16px;
    font-size: 12px;
    color: #fff;
}

.footer .links {
    width: 254px;
    text-align: right;
}

.footer .links .item {
    display: block;
    line-height: 24px;
    text-decoration: underline;
    color: #fff;
    font-size: 12px;
}