@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;;
}

:root{
    --theme-color : #003;
    --theme-color-2 : #6D6D8C;
    --red : #ff9393;
    --green : #04ff00;
    --pink: #FF0177;
    --blue: #019FFF;
    --gray: #BCBCBC;
    --header-bottom-height: 36px;
    --footer-height: 56px;
}

@media screen and (min-width: 480px) {
    :root{
        --header-bottom-height: 40px;
    }
}

@media screen and (min-width: 1280px) {
    :root{
        --header-bottom-height: 44px;
    }
}

/*基準を1rem=10pxに設定*/
html {
    font-size: 62.5%;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: #fff;
    z-index: 1;
    transition: .3s;
}

main {
    width: 100%;
    min-height: calc(100vh - var(--header-top-height) - var(--header-bottom-height) - var(--footer-height));
}

@media screen and (min-width: 480px) {
    main {
        padding: 16px;
        min-height: 0;
    }
}

footer {
    width: 100vw;
    height: var(--footer-height);
}

.font-size-SSS {
    font-size: clamp(1rem, calc(0.8rem + 0.625vw), 1.4rem);
}

.font-size-SS {
    font-size: clamp(1.2rem, calc(1rem + 0.625vw), 1.6rem);
}

.font-size-S {
    font-size: clamp(1.4rem, calc(1.2rem + 0.625vw), 2rem);
}

.font-size-M {
    font-size: clamp(1.6rem, calc(1.4rem + 0.625vw), 2.4rem);
}

.font-size-L {
    font-size: clamp(2.6rem, calc(2.4rem + 0.625vw), 2.8rem);
}

@media screen and (min-width: 480px) {
    .content {
        display: flex;
        flex-direction: row;
    }
}

@media screen and (min-width: 480px) {
    .nav-wrapper {
        flex: 7;
        min-height: calc(100vh - var(--header-top-height) - var(--header-bottom-height) - var(--footer-height));
        overflow-x: auto;
        margin-top: calc(var(--header-top-height) + var(--header-bottom-height));
        background-color: var(--theme-color);
    }
}

@media screen and (min-width: 1280px) {
    .nav-wrapper {
        flex: 4;
    }
}

.main-wrapper {
    margin-top: calc(var(--header-top-height) + var(--header-bottom-height));
}

@media screen and (min-width: 480px) {
    .main-wrapper {
        flex: 12;
    }
}

.header-top {
    padding: 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: var(--header-top-height);
    background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(235, 235, 235, 1) 2px, rgba(235, 235, 235, 1) 4px );
}

@media screen and (min-width: 480px) {
    .header-top {
        padding: 16px;
    }
}

@media screen and (min-width: 1280px) {
    .header-top {
        padding: 24px;
    }
}

.header-bottom {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: var(--header-bottom-height);
}

.header-bottom-item {
    flex: 1;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
    background-color: var(--theme-color-2);
    font-weight: bold;
    text-decoration: none;
    border-right: 1px dashed #fff;
}

.header-bottom-item:last-child {
    border-right: none;
}

@media screen and (min-width: 480px) {
    .header-bottom-item {
        padding: 16px;
    }
}

@media screen and (min-width: 1280px) {
    .header-bottom-item {
        padding: 24px;
    }
}

.x-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: var(--theme-color);
    text-decoration-color: #fff;
    text-decoration-line: none;
}

.pagination {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
}

.step-links a {
    margin: 0 4px;
    color: #000;
    text-decoration: none;
}

.quote {
    margin-top: 16px;
    text-align: right;
}

.ad-wrapper {
    width: 100vw;
    display: flex;
    justify-content: center;
}