@charset "UTF-8";
@media screen and (max-width: 575px) {
  body {
    font-size: 15.6px;
  }
  ul li {
    font-size: 15.6px;
  }
  .fa, .article ul.RisToCheck li::before,
  .mce-content-body ul.RisToCheck li::before, .article ul li::before,
  .mce-content-body ul li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-display: swap;
  }
  .text-xs {
    font-size: 10px;
  }
  .xxs {
    font-size: 10px;
    color: red;
  }
  .modal-body {
    z-index: 10;
  }
  .modalNav {
    position: relative;
    overflow: hidden;
  }
  .modalNav .modal-body {
    font-size: 14px;
  }
  .modalNav .navbar ul li a {
    font-size: 15px;
  }
  .modalNav::after {
    content: "";
    position: absolute;
    bottom: -25%;
    right: -40%;
    width: 420px;
    /* 必要に応じて調整 */
    height: 420px;
    /* 必要に応じて調整 */
    background-image: url("https://tokyo-clarinet-school.com/wp-content/uploads/2025/04/ris.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    transform: rotate(20deg);
    pointer-events: none;
    z-index: 0;
  }
  .breadcrumbs {
    margin-top: 2px;
    padding: 0px 1px;
    line-height: 1.9;
  }
  .breadcrumbs li {
    font-size: 12px;
  }
  .container {
    width: 100% !important;
  }
  .container:not(:first-child) {
    margin-top: 40px;
  }
  .section {
    margin-top: 30px;
    height: auto;
  }
  .titleEn {
    display: none;
  }
  .btnApply {
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .btnApply .topMsg {
    width: 84%;
    margin-bottom: 10px;
  }
  .btnApply a {
    font-size: 16px !important;
  }
  .media h3 {
    font-size: 16px;
  }
  .media p {
    margin-top: 0;
    line-height: 1.6;
  }
  .postCard {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
  }
  .postCard .thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
  }
  .postCard .thumb .pv {
    position: absolute;
    top: 7px;
    left: 7px;
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 4px;
    background: #469b0a;
    opacity: 0.9;
    color: #fff;
    z-index: 1;
  }
  .postCard .thumb .card-img-top {
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .postCard .card-body {
    padding: 0 0px;
  }
  .postCard .card-body p {
    margin: 6px 0 !important;
    margin-bottom: 4px;
    font-size: 16px !important;
  }
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 40px;
    font-family: Arial, sans-serif;
  }
  .pagination-number,
  .pagination-arrow,
  .pagination-ellipsis {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
  }
  .pagination-number:hover,
  .pagination-arrow:hover {
    background-color: #f5f5f5;
  }
  .pagination-number.current {
    background-color: #1f89fb;
    color: #fff;
    border-color: #044c99;
  }
  .pagination-arrow.disabled {
    color: #ccc;
    cursor: not-allowed;
  }
  .pagination-ellipsis {
    border: none;
  }
  .searchForm {
    width: 90%;
  }
  .searchHistory {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 0 14px;
  }
  .searchHistory a {
    color: #fff !important;
    font-size: 16px;
    text-decoration: none;
  }
  .searchHistory a:hover {
    text-decoration: none;
  }
  .searchHistory .customPill {
    border-radius: 8px;
    background: #f0fff2;
    border: 1px solid #367906;
    color: #367906;
    white-space: nowrap;
  }
  .happyCustomer {
    margin-bottom: 60px;
  }
  .happyCustomer h3 {
    margin-bottom: 10px;
    font-size: 17px;
    color: #598f3b;
    border: none;
  }
  .happyCustomer h3:after {
    display: none !important;
  }
  .happyCustomer .chat {
    margin-bottom: 20px;
    padding-left: 2%;
  }
  .happyCustomer .chat .icon {
    width: 12%;
  }
  .happyCustomer .chat .icon img {
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  .happyCustomer .chat .iconInfo {
    margin-top: 5px;
    text-align: center;
    font-size: 10px;
  }
  .happyCustomer .chat .msgContainer {
    width: 76%;
    padding: 0 2%;
  }
  .happyCustomer .chat .msgContainer .msg {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.7;
  }
  .happyCustomer .chat .msgContainer .info {
    margin-top: 6px;
    font-size: 12px;
    text-align: right;
    line-height: 1.6;
  }
  footer {
    width: 100% !important;
    overflow: hidden;
    z-index: 9999;
    margin-top: 60px !important;
    border-top: 1px solid #ccc;
  }
  footer a {
    font-size: 14px;
    color: #3b2300;
    text-decoration: none;
  }
  footer h3 {
    margin-top: 20px;
    margin-bottom: 3px;
    font-size: 17px;
    font-weight: bold;
    color: #598f3b;
    border-bottom: 1px solid #ccc;
  }
  footer ul {
    margin-top: 0px !important;
  }
  footer ul li {
    margin: 10px 0;
    font-size: 14px;
  }
  footer ul li i {
    color: #598f3b;
  }
  .profileLinkCard {
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    padding-bottom: 20px;
  }
  .profileLinkCard .card-img-top {
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .profileLinkCard .person {
    margin-top: 16px;
  }
  .profileLinkCard .person .classroom {
    font-size: 13px;
  }
  .profileLinkCard .person .instructor {
    margin-top: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #598f3b;
  }
  .profileLinkCard .person .instructor a {
    color: #598f3b;
    text-decoration: none;
  }
  .profileLinkCard .linkContainer h3 {
    margin-bottom: 0;
    padding-bottom: 4px;
    font-size: 15px;
    border-bottom: 1px solid #d6d6d6;
  }
  .profileLinkCard .linkContainer .btn {
    margin: 0;
    font-size: 12px;
  }
  .copyRight {
    margin-top: 40px;
    padding: 20px 0;
    font-size: 12px;
    border-top: 1px solid #eee;
    line-height: 1.8;
  }
  .trialPage h1,
  .trialPage h2 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  .trialPage table {
    margin-top: 0 !important;
  }
  .profile .table > :not(:first-child) {
    border-top: 0;
  }
  .profile thead {
    border-bottom: 1px solid #aaa;
  }
  .profile .lessonInfoTable .instructor {
    width: 40%;
  }
  .profile .selectableLessonTable .cat {
    width: 44%;
  }
  .profile .selectableLessonTable .status {
    width: 8%;
  }
  .profile .selectableLessonTable .trial {
    width: 8%;
  }
  .profile .selectableInstrumentsTable .cat {
    width: 36%;
  }
  .profile .selectableInstrumentsTable .status {
    width: 8%;
  }
  .profile .selectableInstrumentsTable .inst {
    width: 8%;
  }
  .profile .selectableInstrumentsTable .trial {
    width: 8%;
  }
  #tinymce {
    width: 100% !important;
    padding: 0 2%;
    min-height: 900px !important;
    overflow: scroll !important;
  }
  .mce-content-body {
    background: #000;
  }
  .article,
  .mce-content-body {
    width: 90% !important;
    margin: auto;
  }
  .article img,
  .mce-content-body img {
    height: auto;
  }
  .article p,
  .mce-content-body p {
    margin: 40px 0px;
    line-height: 1.9;
    font-size: 16px !important;
  }
  .article h1,
  .article h2,
  .mce-content-body h1,
  .mce-content-body h2 {
    margin: 20px 0;
    font-size: 20px;
    text-align: center;
    color: #598f3b;
    line-height: 1.8;
  }
  .article h2 + p,
  .mce-content-body h2 + p {
    margin-top: 20px;
  }
  .article h3,
  .mce-content-body h3 {
    padding-bottom: 8px;
    margin-bottom: 18px;
    color: #598f3b;
    font-size: 18px;
    border-bottom: solid 3px rgb(215, 215, 215);
    position: relative;
    line-height: 1.6;
  }
  .article h3:after,
  .mce-content-body h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #598f3b;
    bottom: -3px;
    width: 30%;
  }
  .article h3 + p,
  .mce-content-body h3 + p {
    margin-top: 0px;
  }
  .article h4,
  .mce-content-body h4 {
    color: #598f3b;
    font-size: 18px;
    font-weight: bold;
    border-left: solid 6px #598f3b;
    padding-left: 10px;
  }
  .article h4 + p,
  .mce-content-body h4 + p {
    margin-top: 0;
    padding-top: 6px !important;
  }
  .article h5,
  .mce-content-body h5 {
    color: #598f3b;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
  }
  .article h5 + p,
  .mce-content-body h5 + p {
    margin-top: 0;
  }
  .article h6,
  .mce-content-body h6 {
    font-size: 16px;
    color: #598f3b;
    font-weight: bold;
  }
  .article h6 + p,
  .mce-content-body h6 + p {
    margin-top: 0;
  }
  .article p + img,
  .mce-content-body p + img {
    margin-top: -30px;
  }
  .article img + p,
  .mce-content-body img + p {
    margin-top: 30px;
  }
  .article .articleInfo,
  .mce-content-body .articleInfo {
    font-size: 12px;
  }
  .article .entry-meta,
  .mce-content-body .entry-meta {
    padding: 10px 0;
    font-size: 14px;
  }
  .article .entry-content p:first-child,
  .mce-content-body .entry-content p:first-child {
    margin-top: 30px;
  }
  .article .relativeLink,
  .mce-content-body .relativeLink {
    margin: 30px 4px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  .article .relativeLink .detail,
  .mce-content-body .relativeLink .detail {
    padding-left: 0;
  }
  .article .relativeLink .detail a,
  .mce-content-body .relativeLink .detail a {
    font-size: 13px;
  }
  .article ul,
  .article ol,
  .mce-content-body ul,
  .mce-content-body ol {
    padding-left: 14px;
    padding: 8px 12px;
    margin: 0px 2px;
    margin-top: 20px;
    margin-bottom: 40px;
    background-size: 80px;
    border: 1px solid #ccc;
    border-radius: 8px;
    list-style-position: inside;
    background-image: url("https://tokyo-clarinet-school.com/wp-content/uploads/2024/09/avatar_happy_admin.png");
    background-repeat: no-repeat;
    background-size: 100px;
    background-position: bottom 0px right 0px;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
  }
  .article ul li,
  .article ol li,
  .mce-content-body ul li,
  .mce-content-body ol li {
    margin: 10px 0;
    font-size: 14.5px;
    padding-left: 1.5em;
    text-indent: -1em;
    padding-right: 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid #ccc;
  }
  .article ul li:last-child,
  .article ol li:last-child,
  .mce-content-body ul li:last-child,
  .mce-content-body ol li:last-child {
    margin-bottom: 6px;
  }
  .article ul,
  .mce-content-body ul {
    list-style: none;
    list-style-position: inside;
  }
  .article ul li::before,
  .mce-content-body ul li::before {
    content: "\f0da";
    font-weight: 900;
    color: #598f3b;
    display: inline-block;
    margin-left: 12px;
    margin-right: 2px;
  }
  .article ul.RisToCheck,
  .mce-content-body ul.RisToCheck {
    margin: 0;
    margin-left: 4%;
    margin-top: 55px;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-left: 16px;
    position: relative;
    list-style: none;
    list-style-position: inside;
    /* 必要に応じてリストマーカー無効化 */
  }
  .article ul.RisToCheck li,
  .mce-content-body ul.RisToCheck li {
    margin: 20px 0;
    padding-left: 1em;
    /* インデントを追加 */
    text-indent: -1em;
    /* 1行目だけ戻して、2行目以降を揃える */
  }
  .article ul.RisToCheck li:last-child,
  .mce-content-body ul.RisToCheck li:last-child {
    margin-bottom: 6px;
  }
  .article ul.RisToCheck li::before,
  .mce-content-body ul.RisToCheck li::before {
    content: "\f00c";
    color: green;
    /* 色を$greenから具体的な色コードに変更 */
    display: inline-block;
    margin-right: 3px;
  }
  .article ul.RisToCheck::after,
  .mce-content-body ul.RisToCheck::after {
    content: "";
    width: 400px;
    height: 100px;
    position: absolute;
    top: -31px;
    left: -24px;
    background-image: url("https://localhost/clarinet4/wp-content/uploads/2024/07/check_ris.png");
    background-repeat: no-repeat;
    background-size: 150px;
    /* 画像のサイズをカバーするように変更 */
    z-index: 1;
    /* 画像をリストの上に表示 */
    pointer-events: none;
  }
  .article ul.listWithQuestion li,
  .mce-content-body ul.listWithQuestion li {
    padding-left: 1em;
    text-indent: -0.8em;
  }
  .article p + ul,
  .mce-content-body p + ul {
    margin-top: 20px;
  }
  .article table,
  .mce-content-body table {
    font-size: 12px;
  }
  .fees small {
    font-size: 0.8em;
  }
  p.eventList {
    margin: 0;
    background: #fff3f3;
    font-size: 13px !important;
  }
  .trialLessonList .title {
    font-size: 16px !important;
    color: #598f3b;
    border: none !important;
    font-weight: bold !important;
  }
  .trialLessonList p {
    margin: 0 !important;
    padding: 0 !important;
  }
  .trialLessonList .btn {
    font-size: 14px;
  }
  .lessonCard {
    margin: 20px 0;
  }
  .lessonCard h3 {
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: #598f3b;
  }
  .lessonCard p {
    margin-top: 10px;
    margin-bottom: 4px;
    line-height: 1.2 !important;
    font-size: 11px !important;
  }
  .lessonCard .desc {
    margin-top: 6px !important;
    font-size: 13px !important;
  }
  .lessonCard .link {
    margin-top: 3px !important;
    font-size: 13px !important;
  }
  .authorCard .description {
    font-size: 14px;
  }
  .amazonManualContainer {
    width: 90%;
    margin: 0 auto;
  }
  .aal-image-preview-tooltip {
    display: none !important;
  }
  .amazon-auto-links {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px 20px 30px 20px;
  }
  .amazon-auto-links img {
    height: 210px;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .amazon-auto-links .aal-image-preview-tooltip {
    display: none !important;
  }
  .amazon-auto-links .amazon-product-thumbnail {
    text-align: center !important;
  }
  .amazon-auto-links .amazon-auto-links-product-body h5 {
    margin-top: 10px;
    line-height: 1.6;
    font-size: 15px !important;
  }
  .amazon-auto-links .amazon-auto-links-product-body .productInfo {
    margin: 20px 0;
    text-align: center;
    font-size: 14px !important;
  }
  .amazon-auto-links .amazon-auto-links-product-body .amazon-auto-links-button-container {
    margin-top: 10px;
  }
  .no-image .amazon-product-thumbnail img {
    display: none !important;
  }
}