
.editor-content *,.editor-content p,
.mce-content-body * {
  font-family: "Noto Sans JP", sans-serif;
}

.editor-content h1:not(:has(img)),
.mce-content-body h1:not(:has(img)) {
    border-top: 5px solid #286A4E;
    padding-top: 32px;
    padding-left: 10px;
    font-weight: 700;
    font-size: 34px;
}

.editor-content h2:not(:has(img)),
.mce-content-body h2:not(:has(img)) {
    padding: 8px 20px;
    color: #FFF;
    background-color: #286A4E;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 500;
}

.editor-content p,
.mce-content-body p  {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 2;
}

.editor-content h3:not(:has(img)),
.mce-content-body h3:not(:has(img)) {
    padding-left: 18px;
    border-left: 7px solid #286A4E !important;
    border-bottom: 1px solid #286A4E !important;
    font-size: 22px;
    font-weight: 700;
}

.editor-content .headline03-secondary,
.mce-content-body .headline03-secondary {
    margin: 30px 0;
    border-left: 7px solid #286A4E;
    border-bottom: 0 !important;
    padding: 0 5px 0 19px;
    font-size: 20px;
    font-weight: 700;
}

.editor-content h4,
.mce-content-body h4 {
    color: #286A4E;
    font-size: 20px;
    font-weight: 700;
}

.editor-content h5,
.mce-content-body h5 {
    font-size: 20px;
    font-weight: 700;
}

.editor-content h6,
.mce-content-body h6 {
    font-size: 18px;
    font-weight: 700;
}

.editor-content ul li::marker,
.mce-content-body ul li::marker,
.editor-content ol li::marker,
.mce-content-body ol li::marker {
    color: #286A4E;
    font-weight: 700;
}

.editor-content ul li+li,
.editor-content ol li+li,
.mce-content-body ul li+li
.mce-content-body ol li+li {
    margin-top: 5px;
}

.editor-content ul,
.mce-content-body ul {
    margin: 0;
    list-style-type: disc;
}

.editor-content ol,
.mce-content-body ol {
    margin: 0;
    list-style: decimal;
}

.editor-content ul,
.mce-content-body ul,
.editor-content ol,
.mce-content-body ol {
    margin: 0 0 32px;
    border: 1px solid #C7D6C4;
    background-color: #F5F8F4;
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
}

.editor-content ul ul,
.mce-content-body ul ul,
.editor-content ol ol,
.mce-content-body ol ol {
    padding: 0;
    border: 0;
    background-color: transparent;
    border-radius: 0;
}

.editor-content ol ol,
.mce-content-body ol ol {
    margin: 0 0 0 20px;
}

.editor-content ul ul,
.mce-content-body ul ul {
    margin: 0 0 0 20px;
}

.editor-content table,
.mce-content-body table {
    width: 100%;
    margin: 0 0 20px;
    border-spacing: 0;
}

.editor-content table thead th + th,
.mce-content-body table thead th + th {
    border-left: 1px solid #C7D6C4;
}

.editor-content table thead th,
.mce-content-body table thead th {
    text-align: left;
}

.editor-content table th,
.editor-content table td,
.mce-content-body table th,
.mce-content-body table td {
    padding: 5px 20px;
}

.editor-content table th,
.mce-content-body table th {
    font-size: 15px;
}

.editor-content table thead,
.mce-content-body table thead {
    border: 1px solid #286A4E;
}

.editor-content table thead tr,
.mce-content-body table thead tr {
    color: #FFF;
    background: #286A4E;
}

.editor-content table thead td,
.mce-content-body table thead td {
    padding: 10px 20px;
}

.editor-content table thead td + td,
.mce-content-body table thead td + td {
    border-left: 1px solid #C7D6C4;
}

.editor-content table thead tr td:first-child,
.mce-content-body table thead tr td:first-child {
    border-top-left-radius: 4px;
}

.editor-content table thead tr td:last-child,
.mce-content-body table thead tr td:last-child {
    border-top-right-radius: 4px;
}

.editor-content table tbody td,
.mce-content-body table tbody td {
    border-right: 1px solid #C7D6C4;
    border-bottom: 1px solid #C7D6C4;
}

.editor-content table tbody td:first-child,
.mce-content-body table tbody td:first-child {
    border-left: 1px solid #C7D6C4;
}

.editor-content table tbody tr:nth-child(even),
.mce-content-body table tbody tr:nth-child(even) {
    background: #F5F8F4;
}

.editor-content table tbody th,
.mce-content-body table tbody th {
    padding: 10px 20px;
    color: #FFF;
    background: #286A4E;
    border-top: 1px solid #C7D6C4;
}

.editor-content table tbody tr:first-child th,
.mce-content-body table tbody tr:first-child th {
    border-top: 0;
    border-top-left-radius: 4px;
}

.editor-content table tbody tr:first-child th + td,
.mce-content-body table tbody tr:first-child th + td {
    border-top: 1px solid #C7D6C4;
    border-top-right-radius: 4px;
}

.editor-content table tbody tr:first-child td,
.mce-content-body table tbody tr:first-child td {
    border-top: 1px solid #C7D6C4;
}

.editor-content table:not(:has(> thead)) > tbody > tr:first-child td:first-child,
.mce-content-body table:not(:has(> thead)) > tbody > tr:first-child td:first-child {
    border-top-left-radius: 4px;
}

.editor-content table:not(:has(> thead)) > tbody > tr:first-child td:last-child,
.mce-content-body table:not(:has(> thead)) > tbody > tr:first-child td:last-child {
    border-top-right-radius: 4px;
}

.editor-content table tbody tr:last-child td:first-child,
.editor-content table tbody tr:last-child th,
.mce-content-body table tbody tr:last-child td:first-child,
.mce-content-body table tbody tr:last-child th {
    border-bottom-left-radius: 4px;
}

.editor-content table tbody tr:last-child td:last-child,
.mce-content-body table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}

.mce-item-table,
.mce-item-table td,
.mce-item-table th,
.mce-item-table caption {
    border: 0;
}
.editor-content blockquote,
.mce-content-body blockquote {
    position: relative;
    margin: 0 0 30px;
    padding: 34px 25px 15px;
    background: url("/wp-content/themes/koutsu-navi/assets/img/common/icon_quote.svg") no-repeat top 18px left 14px;
    border-left: 5px solid #286A4E;
    background-color: #E8F1E6;
    background-size: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.editor-content blockquote p,
.mce-content-body blockquote p {
    margin-bottom: 0;
    line-height: 1.8;
}

.editor-content blockquote p+p,
.mce-content-body blockquote p+p {
    margin-top: 10px;
}

.editor-content em {
    font-style: italic;
}

.editor-content strong,
.editor-content strong * {
    font-weight: 700;
}

.editor-content a,
.mce-content-body a {
    text-decoration: underline !important;
}

.editor-content a font,
.mce-content-body a span,
.editor-content a,
.mce-content-body a {
    color: #178CD6 !important;
    font-size: 15px;
}

.editor-content h1,
.mce-content-body h1,
.editor-content h2,
.mce-content-body h2,
.editor-content h3,
.mce-content-body h3,
.editor-content h4,
.mce-content-body h4,
.editor-content h5,
.mce-content-body h5,
.editor-content h6,
.mce-content-body h6 {
    margin: 30px 0;
}

.editor-content > :first-child{
    margin-top: 0;
}

.mce-content-body .tips-box-1,
.mce-content-body .tips-box-2,
.editor-content .tips-box-1,
.editor-content .tips-box-2 {
    position: relative;
    margin: 20px 0;
    padding: 15px 25px;
    background-color: #F7F7F7;
    border-left: 5px solid #F4B081;
}

.mce-content-body .tips-box-2,
.editor-content .tips-box-2 {
    border-left-color: #286A4E;
}

.mce-content-body .warning-box,
.editor-content .warning-box {
    position: relative;
    margin: 20px 0;
    padding: 15px 30px 15px 54px;
    background: #FBE4D4 url("/wp-content/themes/koutsu-navi/assets/img/common/icon_warning.svg") no-repeat center left 15px /28px;
    border-radius: 4px;
    overflow: hidden;
}

.mce-content-body hr,
.editor-content hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #CCC;
}

.editor-content big > a,
.editor-content a.btn-link,
.mce-content-body a.btn-link  {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 80%;
    min-width: 300px;
    min-height: 56px;
    margin: auto;
    padding: 6px 54px 6px 17px;
    color: #FFF !important;
    border-radius: 4px;
    background-color: #286A4E;
    text-decoration: none !important;
    font-size: 18px;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}

.editor-content big > a::after,
.editor-content a.btn-link::after,
.mce-content-body a.btn-link::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 30px;
    height: 11px;
    background: url(/wp-content/themes/koutsu-navi/assets/img/common/icon_long_arrow.svg) no-repeat center right;
    background-size: contain;
    transform: translateY(-50%);
    transition: right 0.3s ease;
    content: "";
}

.mce-content-body .txt-highlight-1,
.editor-content .txt-highlight-1 {
    background-color: #FFFF00;
    color: #333;
}

.mce-content-body .txt-highlight-2,
.editor-content .txt-highlight-2 {
    background-color: #00FFFF;
    color: #333;
}

.editor-content .center,
.mce-content-body .center {
    text-align: center;
}

.editor-content .headline06 {
    display: block;
    padding: 0 0 0 18px;
}

.editor-content .headline06::before {
    display: none;
}

.editor-content h2 a,
.mce-content-body h2 a {
    text-decoration: none !important;
}


.mce-content-body h3 div,
.editor-content h3 div,
.mce-content-body h2 div,
.editor-content h2 div {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
}

.mce-content-body h2 font,
.editor-content h2 font {
    display: inline;
    color: #FFF !important;
    font-size: 24px;
    text-decoration: none;
}

.mce-content-body h3 font,
.editor-content h3 font {
    display: inline;
    font-size: 22px;
    color: #222;
}

.mce-content-body h3 span,
.editor-content h3 span {
    color: #222 !important;
}

.mce-content-body div[style*="#FF9900"],
.mce-content-body div[style*="#0066FF"],
.editor-content div[style*="#FF9900"],
.editor-content div[style*="#0066FF"] {
    margin: 20px 0;
    padding: 15px 25px !important;
    background-color: #F7F7F7 !important;
    border: 0 !important;
    border-left: 5px solid #286A4E !important;
}

.editor-content div[style*="background-color:"] h3,
.editor-content div[style*="background:"] h3,
.editor-content div[style*="border-left:"] h3,
.mce-content-body div[style*="background-color:"] h3,
.mce-content-body div[style*="background:"] h3,
.mce-content-body div[style*="border-left:"] h3 {
    margin: 0 0 10px;
    padding-left: 0;
    border-left: 0 !important;
    border-bottom: 0 !important;
    font-size: 18px;
}

.mce-content-body div[style*="#FF9900"],
.editor-content div[style*="#FF9900"] {
    border-left: 5px solid #F4B081 !important;
}

.editor-content ul.list-link,
.mce-content-body ul.list-link,
.editor-content ol.list-link,
.mce-content-body ol.list-link {
    padding: 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    list-style-type: none;
}

.editor-content ul.list-link li,
.mce-content-body ul.list-link li,
.editor-content ol.list-link li,
.mce-content-body ol.list-link li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.editor-content ul.list-link li::before,
.mce-content-body ul.list-link li::before,
.editor-content ol.list-link li::before,
.mce-content-body ol.list-link li::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    left: 0;
    display: inline-block;
    height: 16px;
    width: 16px;
    background: url("/wp-content/themes/koutsu-navi/assets/img/common/icon_arrow_circle_down_06.svg") no-repeat center center;
}

.editor-content ul.list-link a ,
.mce-content-body ul.list-link a {
    color: #1655E2 !important;
    font-size: 15px;
}

@media only screen and (min-width: 1025px) {
    .mce-content-body h2 a:hover,
    .editor-content h2 a:hover,
    .editor-content a:hover,
    .mce-content-body a:hover {
        text-decoration: none !important;
    }

    .editor-content big > a:hover::after,
    .editor-content a.btn-link:hover::after,
    .mce-content-body a.btn-link:hover::after {
        right: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .editor-content h1:not(:has(img)),
    .mce-content-body h1:not(:has(img)) {
        border-top: 3px solid #286A4E;
        padding-top: 20px;
        padding-left: 5px;
        font-size: 22px;
    }

    .editor-content h2:not(:has(img)),
    .mce-content-body h2:not(:has(img)) {
        padding: 6px 10px;
        border-radius: 2px;
        font-size: 16px;
    }

    .editor-content p,
    .mce-content-body p {
        font-size: 12px;
        line-height: 1.6;
    }

    .editor-content h3:not(:has(img)),
    .mce-content-body h3:not(:has(img)) {
        padding-left: 10px;
        border-left-width: 4px !important;
        border-bottom-width: 1px !important;
        font-size: 15px;
    }

    .editor-content .headline03-secondary,
    .mce-content-body .headline03-secondary {
        margin: 20px 0;
        padding-left: 11px;
        border-left-width: 4px !important;
        font-size: 15px;
    }

    .editor-content h4,
    .mce-content-body h4 {
        font-size: 15px;
    }

    .editor-content h5,
    .mce-content-body h5 {
        margin: 0 0 10px;
        font-size: 14px;
    }

    .editor-content h6,
    .mce-content-body h6 {
        font-size: 13px;
    }

    .editor-content ul,
    .editor-content ol,
    .mce-content-body ul,
    .mce-content-body ol {
        mmargin: 0 0 22px;
        padding: 10px 10px 10px 30px;
        border-radius: 5px;
    }

    .editor-content table thead td,
    .editor-content table tbody th,
    .mce-content-body table tbody td
    .mce-content-body table tbody th {
        padding: 5px 20px;
    }

    .editor-content table th,
    .editor-content table td,
    .mce-content-body table th
    .mce-content-body table td {
        padding: 5px 10px;
        font-size: 12px;
    }

    .editor-content table thead td,
    .mce-content-body table thead td {
        padding: 5px 10px;
    }

    .editor-content blockquote,
    .mce-content-body blockquote,
    .editor-content .tips-box-1,
    .editor-content .tips-box-2 {
        padding: 32px 15px 18px;
        border-left-width: 3px;
        border-radius: 4px;
    }

    .mce-content-body .tips-box-1,
    .mce-content-body .tips-box-2,
    .editor-content .tips-box-1,
    .editor-content .tips-box-2 {
        padding: 18px 15px;
        border-radius: 0;
    }

    .mce-content-body .warning-box,
    .editor-content .warning-box {
        padding: 18px 15px 18px 48px;
        background-size: 24px;
        border-radius: 4px;
    }

    .editor-content h1,
    .mce-content-body h1,
    .editor-content h2,
    .mce-content-body h2,
    .editor-content h3,
    .mce-content-body h3,
    .editor-content h4,
    .mce-content-body h4,
    .editor-content h5,
    .mce-content-body h5,
    .editor-content h6,
    .mce-content-body h6 {
        margin: 20px 0;
    }

    .mce-content-body h2 font,
    .editor-content h2 font {
        font-size: 16px;
    }

    .mce-content-body h3 font,
    .editor-content h3 font {
        font-size: 15px;
    }

    .editor-content big > a,
    .editor-content a.btn-link,
    .mce-content-body a.btn-link  {
        max-width: 340px;
        min-width: 220px;
        min-height: 46px;
        padding: 6px 45px 6px 15px;
        font-size: 15px;
    }

    .editor-content big > a::after,
    .editor-content a.btn-link::after,
    .mce-content-body a.btn-link::after {
        right: 15px;
        width: 24px;
    }


    .editor-content div[style*="background-color:"] h3,
    .editor-content div[style*="background:"] h3,
    .editor-content div[style*="border-left:"] h3,
    .mce-content-body div[style*="background-color:"] h3,
    .mce-content-body div[style*="background:"] h3,
    .mce-content-body div[style*="border-left:"] h3 {
        font-size: 15px;
    }

    .mce-content-body div[style*="#FF9900"],
    .mce-content-body div[style*="#0066FF"],
    .editor-content div[style*="#FF9900"],
    .editor-content div[style*="#0066FF"] {
        padding: 18px 15px !important;
        border-left-width: 3px !important;
    }

    .editor-content ul.list-link li,
    .mce-content-body ul.list-link li,
    .editor-content ol.list-link li,
    .mce-content-body ol.list-link li {
        margin-bottom: 4px;
    }

    .editor-content ul.list-link a ,
    .mce-content-body ul.list-link a {
        color: #1655E2 !important;
        font-size: 13px;
    }
}
