:root {
    --bg-color    : #f0f0f0;
    --border-color: #EDC8D8;
    --width       : 1200px;
}

@media (min-width: 769px) {
    .is-sp {
        display: none;
    }
}

@media (max-width: 768px) {
    .is-pc {
        display: none;
    }
}

.p-content {
    max-width: var(--width);
    margin   : 0 auto;
}

.pattern__nav ul {
    display        : -webkit-box;
    display        : -ms-flexbox;
    display        : flex;
    -ms-flex-wrap  : wrap;
    flex-wrap      : wrap;
    justify-content: center;
}

.pattern__nav ul li {
    -ms-flex-preferred-size: 50%;
    flex-basis             : 50%;
    padding                : 10px;
}

.pattern__nav ul li .c-button {
    width: 100%;
}

.pattern__nav ul li .c-button a {
    padding    : 16px 40px 16px 10px;
    line-height: 1.4;
}

@media screen and (max-width: 750px) {
    .pattern__nav ul li {
        -ms-flex-preferred-size: 100%;
        flex-basis             : 100%;
    }
}

@media screen and (max-width: 575px) {
    .pattern__nav ul li {
        -ms-flex-preferred-size: 100%;
        flex-basis             : 100%;
    }
}

.pattern06 .pattern__table thead th:first-child {
    min-width: 6em;
}

.p-text--sub {
    font-size: 0.9em;
}

.p-indent1 {
    display     : inline-block;
    padding-left: 1em;
    text-indent : -1em;
}

.p-buttons {
    display        : flex;
    justify-content: space-evenly;

    @media screen and (max-width: 768px) {
        flex-direction: column;
        gap           : 1em;
    }
}

.p-text--bold {
    font-weight: bold;
}

.p-text--small {
    font-size: 0.9em;
}

.p-text--large {
    font-size: 1.25em;
}

/* margin-top */
.mt_0 {
    margin-top: 0 !important;
}

.mt_10 {
    margin-top: 10px !important;
}

.mt_20 {
    margin-top: 20px !important;
}

.mt_30 {
    margin-top: 30px !important;
}

.mt_40 {
    margin-top: 40px !important;
}

.mt_50 {
    margin-top: 50px !important;
}

.mt_60 {
    margin-top: 60px !important;
}

.mt_90 {
    margin-top: 90px !important;

    @media screen and (max-width: 768px) {
        margin-top: 45px !important;
    }
}

/* margin-bottom */
.mb_0 {
    margin-bottom: 0 !important;
}

.mb_10 {
    margin-bottom: 10px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.mb_30 {
    margin-bottom: 30px !important;
}

.mb_40 {
    margin-bottom: 40px !important;
}

.mb_50 {
    margin-bottom: 50px !important;
}

.mb_60 {
    margin-bottom: 60px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 30px !important;
    }
}

.mb_90 {
    margin-bottom: 90px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 45px !important;
    }
}

.p-text-link {
    color          : #007bff;
    text-decoration: underline;
}

.p-center {
    width        : fit-content;
    margin-inline: auto;

    @media screen and (max-width: 768px) {
        width: 100%;
    }
}

.p-right {
    margin-inline: auto 0;

    @media screen and (max-width: 768px) {
        margin-inline: auto;
    }
}

.p-left {
    width       : fit-content;
    margin-right: auto;

    @media screen and (max-width: 768px) {
        margin-inline: auto;
    }
}

.p-box-color {
    background-color: var(--bg-color);
    padding         : 1em;
    border-radius   : 5px;
}

.p-box-border {
    padding: 2rem;
    border : 1px solid var(--border-color);

    @media screen and (max-width: 768px) {
        padding: 1rem;
    }
}

/* 番号付きリスト */
ul.p-pattern__list__number {
    list-style   : none;
    counter-reset: number;
}

ul.p-pattern__list__number li {
    position     : relative;
    padding-left : 2em;
    margin-bottom: 1.2em;
    line-height  : 1.3em;
}

ul.p-pattern__list__number li::before {
    content          : counter(number);
    counter-increment: number;
    position         : absolute;
    left             : 0;
    top              : 0;
    width            : 1.5em;
    height           : 1.5em;
    line-height      : 1.5em;
    border-radius    : 50%;
    background       : #9BB4E0;
    color            : #fff;
    text-align       : center;
}

/* 横並びボタン */
.p-buttons {
    display        : flex;
    flex-wrap      : wrap;
    justify-content: center;
    gap            : 3rem;

    @media screen and (max-width: 768px) {
        gap: 2rem;
    }
}