:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --success-color: #4CAF50;
    --background-color: #f5f9ff;
}

body* {
    box-sizing: border-box;
}

.column_main {
    width: 40em;
    margin: 0 auto 2em;
    letter-spacing: 0.07em;
    font-feature-settings: palt;
    min-height: 80vh;
    line-height: 2;
    text-align: left;
}

.column_main * {
    box-sizing: border-box;
}

.bold {
    font-weight: bold;
}

.red {
    color: #d2002f;
}

.marker {
    background: linear-gradient(transparent 55%, #ffff2b 55%);
}

hr {
    width: 100%;
    border: 0.5px solid #192e77;
}

.column_main h1 {
    font-size: 2.2em;
    font-weight: bold;
    text-align: left;
    border-left: 0.3em solid #192e77;
    padding-left: 0.3em;
    margin: 1em auto;
}

.column_main h2 {
    font-weight: bold;
    font-size: 1.5em;
    background-color: #e3f5ff;
    padding: 1em 0.5em;
    text-align: left;
    margin-bottom: 1em;
    border-left: 0.5em solid #192e77;
    border-bottom: none;
}

.column_main h3 {
    font-weight: bold;
    font-size: 1.2em;
    background-color: #547db5;
    margin: 0.5em auto;
    color: #ffffff;
    text-align: center;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.column_main h4 {
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 0.15em solid #192e77;
    margin: 0.5em 0;
}

.column_main h5 {
    font-size: 1.2em;
    font-weight: bold;
}

.column_main p {
    margin: 1em 0;
}

.column_main h4+p {
    margin-top: 0;
}

.column_main img {
    width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.column_main ul,
.column_main ol {
    margin: 1em auto;
}

.column_main ul li,
.column_main ol li {
    margin-left: 2em;
    padding-bottom: 1em;
}

.column_main ul li{
    list-style-type: disc;
}

.column_main ul li::marker,
.column_main ol li::marker {
    font-weight: bold;
}

.column_main ol {
    padding: 0;
}

.column_main ol li {
    list-style-type: decimal;
}

.column_main ul li:last-child,
.column_main ol li:last-child {
    padding-bottom: 0;
}


.column_main table {
    width: 100%;
    border: 3px solid #192e77;
}

.column_main table,
.column_main td,
.column_main th {
    border-collapse: collapse;
    min-width: 10em;
    min-height: 12em;
    color: black;
}

.column_main td,
.column_main th {
    padding: 3px;
    height: 30px;
    text-align: center;
    padding: 0.5em;
    border: 2px solid #192e77;
}

.column_main td {
    text-align: left;
}

.column_main th {
    font-weight: bold;
    background: #e3f5ff;
}

section {
    margin-top: 4em;
}

.column_main .column-btn {
    margin: 3em auto;
    padding: 0.5em 2.5em;
    width: auto;
    text-align: center;
    display: block;
    background-color: #e3f5ff;
    box-shadow: 0 0.5em 0 0 #192e77;
}

.column_main .column-btn span {
    color: #192e77;
}

.column_main .column-btn::after {
    position: absolute;
    top: 50%;
    right: 1em;
    content: "";
    height: .5em;
    width: .5em;
    border-top: .2em solid #192e77;
    border-right: .2em solid #192e77;
    transform: translateY(-50%) rotate(45deg);
    transition: 0.2s all;
}


.column_main .column-btn:hover {
    box-shadow: 0 0em 0 0 #192e77;
    transform: translateY(0.5em);
    background-color: #ffff2b;
}


.floating-btn {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    gap: 2em;
    z-index: 999;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    max-height: calc(100vh - 8em);
    font-size: 1.75vh;
}

.floating-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.floating-btn a {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: block;
    padding: 1em;
    text-align: left;
    font-weight: bold;
    border-radius: 1em 0 0 1em;
    color: white;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    margin-right: -2px;
    transition: 0.2s all;
    text-decoration: none;
}

.floating-btn .tel-btn {
    background-color: #d2002f;
    border: 2px solid #d2002f;
}

.floating-btn .mail-btn {
    background-color: #2973d7;
    border: 2px solid #2973d7;
}

.floating-btn .line-btn {
    background-color: #00b900;
    border: 2px solid #00b900;
}

.floating-btn .tel-btn::before,
.floating-btn .mail-btn::before,
.floating-btn .line-btn::before {
    content: "";

    display: block;
    height: 1.5em;
    width: 1.5em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.2s all;
}

.floating-btn .tel-btn::before {
    background-image: url(https://syouzikiya.jp/img/common/icon_ctt_tel.webp);
}

.floating-btn .mail-btn::before {
    background-image: url(https://syouzikiya.jp/img/common/icon_ctt_mail.svg);
}

.floating-btn .line-btn::before {
    background-image: url(https://syouzikiya.jp/img/common/icon_ctt_line.svg);
}


.related-article {
    margin-top: 5em;
}

.small_text {
    font-size: 0.8em;
}

.big_text {
    font-size: 1.2em;
}

.column_main .related-article-title p,
.column_main .related-article-title h2 {
    border: none;
    background: none;
    margin-bottom: 0;
    font-size: 1.5em;
    font-weight: bold;
    white-space: nowrap;
    padding: 0.5em 1em;
}

.card {
    background-color: #e3f5ff;
    padding: 1em;
    border-radius: 0.5em;
    margin: 1em auto;
    border: 1px solid #182e78;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.column_main .card h3 {
    background-color: transparent;
    color: black;
    background: linear-gradient(transparent 55%, #ffff2b 55%);
    padding: 0;
    display: inline-block;
    font-size: 1.5em;
    line-height: 1.2;
}

.card b {
    font-size: 1.2em;
}

.column_main .checklist {
    font-size: 1.2em;
    font-weight: bold;
    list-style-type: none;
    padding: 0;
    margin: 1em 0 1em -2em;
}

.column_main .checklist li {
    padding: 0;
    margin-bottom: 0.5em;
    list-style-type: none;
}

.column_main .checklist li:last-child {
    margin-bottom: 0;
}

.column_main .checklist label {
    cursor: pointer;
}

.section-container {
    margin-top: 5%;
}


.content-container {
    text-align: left;
}

.column_main .box {
    border: 1px solid #182e78;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 1em;
    background-color: rgba(227, 245, 255, 0.55);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.column_main .container .box,
.column_main .container .card {
    background-color: white;
}

.column_main .box div {
    padding: 1em;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: auto;
}

.column_main .box div span,
.column_main .box div p {
    padding: 0;
}


.column_main .box span,
.column_main .box p {
    padding: 1em;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
}

.column_main .box h3 {
    margin: 0;
    font-size: 1.3em;
    color: #fff;
    background-color: none;
    padding: 0.5em;
    text-align: center;
    width: 100%;
}

.column_main .box p {
    margin: 0;
    line-height: 1.6;
    font-size: 1em;

}

.boxs2,
.boxs3 {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    width: 100%;
    text-align: center;
}

.boxs2 .box,
.boxs3 .box {
    margin: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-content: stretch;
    flex-direction: column;
    min-height: 4em;
}

.boxs3 .box {
    width: calc((100% - 3em) / 3);
}

.boxs2 .box {
    width: calc((100% - 1.6em) / 2);
}

.column_main .share-wrap {
    position: relative;
    text-align: right;
}

.column_main .color-wrap {
    background-color: #e3f5ff;
    border-radius: 0.5em;
    padding: 1em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.color-wrap p {
    margin: 0 auto;
}

/* アコーディオン */
.accordion {
    margin-bottom: 7px;
    background-color: #e3f5ff;
    border-radius: 0.5em;
    overflow: hidden;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    background-color: #c8ebff;
    transition: 0.2s all;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::before,
.accordion summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #abc0cf;
    content: '';
}

.accordion summary::before {
    position: absolute;
    right: 2em;
    rotate: 90deg;
}

.accordion summary::after {
    transition: rotate .3s;
}

.accordion[open] summary::after {
    rotate: 90deg;
}

.accordion summary:hover {
    background-color: #b2dcff;
}

.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion[open] p {
    transform: none;
    opacity: 1;
}

.column_main .feature-section {
    margin: 1em 0;
    padding: 1em;
    border-radius: 0.5em;
    background-color: #f9f9f9;
}

.column_main .feature-section ul li{
    list-style-type: "✔️";
    padding-left: 0.5em;
    margin-left: 2.5em;
}

@media (max-width: 600px) {


    .column_main .box h3 {
        font-size: 1.1em;
    }

    .column_main .box p {
        font-size: 0.9em;
    }
}

@media screen and (min-width: 768px) {
    .floating-btn .tel-btn:hover::before {
        background-image: url(https://syouzikiya.jp/img/common/icon_ctt_tel_blu02.webp);
    }

    .floating-btn .mail-btn:hover::before {
        background-image: url(https://syouzikiya.jp/img/common/icon_ctt_mail_blu.svg);
    }

    .floating-btn .line-btn:hover::before {
        background-image: url(https://syouzikiya.jp/img/common/icon_ctt_line_blu.svg);
    }

    .floating-btn a:hover {
        border: 2px solid #192e77;
        background-color: #ffff2b;
        color: #192e77;
    }

}

.container {
    background-color: #e3f5ff;
    padding: 1em;
    margin: 1em auto;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

ol {
    list-style: none;
    padding: 0;
}

.steps-container {
    counter-reset: step-counter;
}

.step {
    background: white;
    margin: 20px 0;
    padding: 20px 20px 20px 60px;
    border-radius: 15px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
    border: 0.1em solid var(--secondary-color);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0.3em 0.3em 0 0 rgba(0, 0, 0, 0.2);
}

.step::before {
    content: '';
    counter-increment: step-counter;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step.completed::before {
    content: '✔';
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step.completed {
    border: 0.1em solid var(--success-color);
}

.step-title {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.step-content {
    margin-top: 10px;
    color: #666;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .step {
        margin: 15px 0;
        padding: 15px 15px 15px 50px;
    }

    .step::before {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .step-title {
        font-size: 1.1em;
    }

    .step-content {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 1020px) {
    .column_main {
        margin: 0 1em 2em 0;
    }
}

@media screen and (max-width: 768px) {
    .column_main {
        width: 90%;
        margin: 0 auto 2em;
        letter-spacing: 0.07em;
        font-feature-settings: palt;
        min-height: 80vh;
    }

    .floating-btn {
        flex-direction: row;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        gap: 0;
        z-index: 999;
        width: 100%;
    }

    .floating-btn .mail-btn,
    .floating-btn .line-btn {
        display: none;
    }

    .floating-btn .tel-btn span span {
        display: none;
    }

    .floating-btn a {
        writing-mode: horizontal-tb;
        text-orientation: upright;
        border-radius: 0;
        color: white;
        font-size: 5vw;
        padding: 0.5em;
        display: flex;
        width: 100%;
        white-space: nowrap;
    }

    .floating-btn a::after {
        content: "";
        height: 0.5em;
        width: 0.5em;
        border-top: 0.2em solid white;
        border-right: 0.2em solid white;
        transform: rotate(45deg);
    }

    .boxs2 .box,
    .boxs3 .box {
        width: 100%;
    }

}

.even {
    background: #fbf8f0;
}

.odd {
    background: #fefcf9;
}

#pageTop {
    right: 10%;
}




/* 目次 */

.toc_container {
    background-color: #e3f5ff;
    border: 2px solid #182e78;
    padding: 10px;
    margin: 2em auto;
    font-size: 0.8em;
    text-align: left;
}

.toc_title {
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    margin-bottom: 10px;
    color: #182e78;
    border-bottom: 2px solid #182e78;
    padding: 2%;
    cursor: pointer;
}

.toc_list {
    list-style-type: none;
    padding-left: 0;
    display: none;
    /* デフォルトで非表示にする */
}

.toc_list li {
    list-style-type: none;
    margin: 5px 0;
    padding: 3%;
    border-bottom: 1px dashed #182e78;
}

.toc_list a {
    text-decoration: none;
    color: #0073aa;
}

.toc_list a:hover {
    text-decoration: underline;
}

/* モバイル向けのスタイル */
@media screen and (max-width: 480px) {
    .toc_container {
        font-size: 0.9em;
        padding: 10px;
        text-align: center;
    }
}