/* ao-optx-nav02-style */
#page-index > .ao-optx-nav02-intro { display: none; }
@media screen and (max-width: 768px) {
  #page-index.ao-optx-nav02 {
    padding: 24px 15px;
    background: #fff;
  }
  #page-index.ao-optx-nav02 > .ao-optx-nav02-intro {
    display: block;
    max-width: 500px;
    margin: 0 auto;
    color: #033365;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-title {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-title::before,
  #page-index.ao-optx-nav02 .ao-optx-nav02-title::after {
    content: none;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    margin: 0 0 10px;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #c44829;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    letter-spacing: 0;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-voice {
    background: #166476;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-faq {
    min-height: 48px;
    padding: 11px 16px;
    border-color: #033365;
    background: #fff;
    color: #033365;
    font-size: 15px;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-other {
    margin: 20px 0 12px;
    padding: 14px 0 0;
    border-top: 1px solid #dce3e9;
    color: #44566a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
  }
  #page-index.ao-optx-nav02 > .index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-width: 500px;
    margin: 0 auto;
  }
  #page-index.ao-optx-nav02 .index-grid > .index-btn {
    box-sizing: border-box;
    min-width: 0;
    min-height: 64px;
    padding: 9px 3px;
    border: 1px solid #e0e6eb;
    border-radius: 6px;
    background: #f3f6f8;
    color: #033365;
    gap: 5px;
    box-shadow: none;
    transform: none;
  }
  #page-index.ao-optx-nav02 .index-grid > .index-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0);
    opacity: .7;
  }
  #page-index.ao-optx-nav02 .index-grid > .index-btn span {
    color: #033365;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  #page-index.ao-optx-nav02 a:focus-visible {
    outline: 3px solid #033365;
    outline-offset: 3px;
  }
}
@media screen and (min-width: 769px) {
  #page-index.ao-optx-nav02 {
    padding: 36px 15px;
    background: #fff;
  }
  #page-index.ao-optx-nav02 > .ao-optx-nav02-intro {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 18px;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #033365;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-title {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #033365;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-title::before,
  #page-index.ao-optx-nav02 .ao-optx-nav02-title::after {
    content: none;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 66px;
    margin: 0;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #c44829;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-link > span:last-child {
    flex: 0 0 auto;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-voice {
    background: #166476;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-faq {
    border-color: #033365;
    background: #fff;
    color: #033365;
    font-size: 16px;
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-other {
    grid-column: 1 / -1;
    margin: 0 0 12px;
    padding: 16px 0 0;
    border-top: 1px solid #dce3e9;
    color: #44566a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
  }
  #page-index.ao-optx-nav02 > .ao-optx-nav02-intro a:focus-visible {
    outline: 3px solid #033365;
    outline-offset: 3px;
  }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  #page-index.ao-optx-nav02 > .ao-optx-nav02-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #page-index.ao-optx-nav02 .ao-optx-nav02-faq {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 11px 18px;
  }
}

/* ao-nav02-clean-icons-style */
#page-index .ao-nav02-clean-icon { display: none !important; }
    @media screen and (max-width: 768px) {
      #page-index.ao-optx-nav02 .index-btn > img.ao-nav02-original-icon {
        display: none !important;
      }
      #page-index.ao-optx-nav02 .index-btn > svg.ao-nav02-clean-icon {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px;
        fill: none;
        stroke: #033365;
        background: transparent;
        pointer-events: none;
      }
    }

/* ao-nav02-original-colors */
@media screen and (max-width: 768px) {
  #page-index.ao-optx-nav02 .index-grid > .index-btn {
    background: #033365 !important;
    border-color: #033365 !important;
    color: #fff !important;
  }

  #page-index.ao-optx-nav02 .index-grid > .index-btn span {
    color: #fff !important;
  }

  #page-index.ao-optx-nav02 .index-grid > .index-btn svg.ao-nav02-clean-icon {
    stroke: #fff !important;
  }
}

/* ao-optx-faq03-style */
#cta-course .ao-optx-faq03 { display: none; }
@media screen and (max-width: 768px) {
  #cta-course.ao-optx-faq03-active .cta-course__list {
    display: none !important;
  }
  #cta-course.ao-optx-faq03-active .cta-course__card {
    gap: 18px;
    padding: 22px 16px;
  }
  #cta-course.ao-optx-faq03-active .ao-optx-faq03 {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: #033365;
    text-align: left;
  }
  #cta-course .ao-optx-faq03-title {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: none;
    color: #033365;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
  }
  #cta-course .ao-optx-faq03-title::before,
  #cta-course .ao-optx-faq03-title::after { content: none; }
  #cta-course .ao-optx-faq03-item {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid #dce3e9;
    background: #fff;
  }
  #cta-course .ao-optx-faq03-question {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 8px;
    padding: 0;
    color: #033365;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0;
  }
  #cta-course .ao-optx-faq03-question > span:first-child {
    flex: 0 0 auto;
  }
  #cta-course .ao-optx-faq03-answer {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  #cta-course .ao-optx-faq03-more {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    margin-top: 2px;
    padding: 8px 0;
    color: #033365;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  #cta-course .ao-optx-faq03-more:focus-visible {
    outline: 2px solid #033365;
    outline-offset: 3px;
  }
}
@media screen and (min-width: 769px) {
  #cta-course.ao-optx-faq03-active .cta-course__list {
    display: none !important;
  }
  #cta-course.ao-optx-faq03-active .cta-course__card {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 28px 32px;
  }
  #cta-course.ao-optx-faq03-active .ao-optx-faq03 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: #033365;
    text-align: left;
  }
  #cta-course .ao-optx-faq03-title {
    grid-column: 1 / -1;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: none;
    color: #033365;
    font: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
  }
  #cta-course .ao-optx-faq03-title::before,
  #cta-course .ao-optx-faq03-title::after { content: none; }
  #cta-course .ao-optx-faq03-item {
    min-width: 0;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid #dce3e9;
    background: #fff;
  }
  #cta-course .ao-optx-faq03-question {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-height: 3.2em;
    margin: 0 0 10px;
    padding: 0;
    color: #033365;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  #cta-course .ao-optx-faq03-question > span:first-child {
    flex: 0 0 auto;
  }
  #cta-course .ao-optx-faq03-answer {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  #cta-course .ao-optx-faq03-more {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    margin-top: 2px;
    padding: 8px 0;
    color: #033365;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  #cta-course .ao-optx-faq03-more:focus-visible {
    outline: 2px solid #033365;
    outline-offset: 3px;
  }
  #cta-course.ao-optx-faq03-active .cta-course__btn-area {
    align-self: center;
    max-width: 100%;
  }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  #cta-course.ao-optx-faq03-active .ao-optx-faq03 {
    grid-template-columns: minmax(0, 1fr);
  }
  #cta-course .ao-optx-faq03-question {
    min-height: 0;
  }
}

/* ao-optx-course04-style */
#course .ao-optx-course04 { display: none !important; }
@media screen and (max-width: 768px) {
  #course .ao-optx-course04 {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    color: #033365;
    text-align: left;
  }
  #course .ao-optx-course04-title {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff !important;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
  }
  #course .ao-optx-course04-title::before,
  #course .ao-optx-course04-title::after { content: none; }
  #course .ao-optx-course04-note {
    margin: 0 0 16px;
    padding: 0;
    color: #fff !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
  }
  #course .ao-optx-course04-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  #course a.ao-optx-course04-card {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #b9c8d7;
    border-left: 4px solid #033365;
    border-radius: 8px;
    background: #fff;
    color: #033365;
    font: inherit;
    text-align: left;
    text-decoration: none;
    letter-spacing: 0;
    box-shadow: none;
  }
  #course .ao-optx-course04-card:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
  #course .ao-optx-course04-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
    color: #033365;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
  }
  #course .ao-optx-course04-arrow {
    flex: 0 0 auto;
    color: #033365;
    font-size: 24px;
    line-height: 1;
  }
  #course .ao-optx-course04-row {
    display: grid;
    grid-template-columns: 2em minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin-top: 4px;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
  }
  #course .ao-optx-course04-label {
    color: #033365;
    font-weight: 700;
  }
  #course .ao-optx-course04-value {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #course .ao-optx-course04 ~ .scroll-hint,
  #course .ao-optx-course04 ~ .course_list {
    display: none !important;
  }
}
@media screen and (min-width: 769px) {
  #course .ao-optx-course04 {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    color: #033365;
    text-align: left;
  }
  #course .ao-optx-course04-title {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff !important;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
  }
  #course .ao-optx-course04-title::before,
  #course .ao-optx-course04-title::after { content: none; }
  #course .ao-optx-course04-note {
    margin: 0 0 16px;
    padding: 0;
    color: #fff !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
  }
  #course .ao-optx-course04-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  #course a.ao-optx-course04-card {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px;
    border: 1px solid #b9c8d7;
    border-left: 4px solid #033365;
    border-radius: 8px;
    background: #fff;
    color: #033365;
    font: inherit;
    text-align: left;
    text-decoration: none;
    letter-spacing: 0;
    box-shadow: none;
  }
  #course .ao-optx-course04-card:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
  #course .ao-optx-course04-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
    color: #033365;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }
  #course .ao-optx-course04-arrow {
    flex: 0 0 auto;
    color: #033365;
    font-size: 24px;
    line-height: 1;
  }
  #course .ao-optx-course04-row {
    display: grid;
    grid-template-columns: 2em minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin-top: 4px;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
  }
  #course .ao-optx-course04-label {
    color: #033365;
    font-weight: 700;
  }
  #course .ao-optx-course04-value {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #course .ao-optx-course04 ~ .scroll-hint,
  #course .ao-optx-course04 ~ .course_list {
    display: none !important;
  }
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  #course .ao-optx-course04-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* WordPressの自動整形（wpautop）で追加される<p>をレイアウトに影響させない */
#page-index .ao-optx-nav02-intro > p:not(.ao-optx-nav02-other),
#cta-course .ao-optx-faq03 > p {
  display: contents;
}


/* 文節の区切り（<wbr>）でのみ改行する */
#cta-course .ao-optx-faq03-question > span:last-child,
#cta-course .ao-optx-faq03-answer,
#cta-course .cta-course__btn-note,
#course .ao-optx-course04-note,
#course .ao-optx-course04-value {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
