@media screen and (min-width: 768px) {
    .detail_title_bg {
        margin-top: 60px;
    }
}

.merit-time {
    font-size: clamp(2rem, 3vw, 3rem);
}
.merit_contents_item .merit-time-text {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #616371;
}

/* ===== LP用headerCSS ===== */
body:has(div[class=page_sidenav]) {
    padding-left: 0px;
}
.page_sidenav + header {
    width: 100vw;
}
header {
    width: 100vw;
    position: static;
    min-height: 0px;
}
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px 5px;
    background: #fff;
    /* gap: 20px; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}
.add_logo {
    width: 80%;
}
.header-text {
    font-size: 2.7rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    color: #4d4d4d;
}
.kaisoku {
    color: #FF0000;
}
.shikaku-name {
    font-size: clamp(1.6rem, 3.3vw, 3.5rem);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    text-align: center;
    padding-bottom: 20px;
    color: #4d4d4d;
}
@media (max-width: 767px) {
    body {
        padding-top: 0;
        padding-left: 0;
    }
    .header {
        justify-content: space-between;
        padding: 12px 6px;
        gap: 0px;
    }
    .logo-wrap {
        width: 140px;
    }
    .add_logo {
        padding-top: 10px;
    }
    /* .header-text {
        line-height: 1.8rem;
        text-align: center;
    } */
    .header-text-top {
        font-size: 1.44rem;
    }
    .kaisoku {
        font-size: 1.4rem;
    }
    /* .add_shikaku {
        font-size: 1.2rem;
    } */
}
/* ===== アンカーリンクCSS ===== */
html {
    scroll-behavior: smooth;
}
a:hover {
    text-decoration: none !important;
}
.anchor-links {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin: 10px 0 10px 0;
    flex-wrap: wrap;
}
  
.anchor-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    padding: 18px 30px;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,0.08);
    font-weight: 700;
    color: #222;
    text-decoration: none;
    min-width: 260px;
    margin: 6px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
  
.anchor-btn-text {
    font-size: clamp(1.4rem, 3.3vw, 1.8rem);
    flex: 1 1 auto;
    text-align: left;
    z-index: 1;
}
  
.anchor-btn .arrow {
    display: inline-block;
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    animation: arrow-bounce 1s infinite cubic-bezier(.4,2,.6,1);
    pointer-events: none;
}
  
  @keyframes arrow-bounce {
    0%   { transform: translateY(-50%) translateY(0); }
    40%  { transform: translateY(-50%) translateY(2px); }
    60%  { transform: translateY(-50%) translateY(2px); }
    100% { transform: translateY(-50%) translateY(0); }
  }
  
  /* hover/active/focusはPCのみ適用 */
  @media (hover: hover) and (pointer: fine) {
    .anchor-btn:active,
    .anchor-btn:focus,
    .anchor-btn:hover {
      box-shadow: 0 6px 24px 0 rgba(0,0,0,0.16);
      transform: translateY(2px) scale(1.025);
    }
  }
  
  @media (max-width: 767px) {
    .anchor-links {
      gap: 6px;
      padding: 0 15px;
    }
    .anchor-btn {
      flex: 1 1 40%;
      min-width: 140px;
      max-width: 48%;
      font-size: 1rem;
      padding: 10px 8px;
      margin: 4px 1%;
      justify-content: flex-start;
    }
    .anchor-btn .arrow {
      font-size: 1.2em;
      right: 14px;
    }
    /* スマホ時はhoverアクション無効化 */
    .anchor-btn:active,
    .anchor-btn:focus,
    .anchor-btn:hover {
      box-shadow: 0 3px 12px 0 rgba(0,0,0,0.08);
      transform: none;
    }
    .anchor-btn-text {
    padding-left: 10px;
  }
}

/* ===== ブックマークボタンCSS ===== */
.advance_contents_text {
    font-size: clamp(2.4rem, 3vw, 4rem);
    font-weight: 700;
    color: gold;
}
.advance_contents {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    text-align: center;
    justify-content: center;
    align-items: center;
    background: linear-gradient(133deg, #171616, #585555);
    margin-top: 20px;
    padding: 20px;
    padding-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.bookmark-guide {
    text-align: center;
}
.bookmark-guide-text {
    font-size: clamp(1.2rem, 3vw, 2.4rem);
    color: #ffffff;
    margin-top: 10px;
}
.bookmark-btn {
    position: relative;
    display: inline-block;
    gap: 0.5em;
    color: gold;
    width: 50%;
    height: 60px;
    margin-top: 10px;
    padding: 0.5em;
    outline: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: bold;
    text-align: center;
    background-color: transparent;
    transition: 0.5s ease-in-out;
}
.bookmark-btn::before,
.bookmark-btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, gold);
}
.bookmark-btn::before {
    top: 0;
    left: -100%;
    animation: bookmark-btn-animation1 3s linear infinite;
}
.bookmark-btn::after {
    bottom: 0;
    right: -100%;
    animation: bookmark-btn-animation1 3s linear infinite 0.75s;
}
@media (max-width: 767px) {
    .bookmark-btn {
        width: 100%;

    }
}

/* ブックマークアイコンCSS */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.bookmark-btn svg {
    fill: gold; /* ここで色を指定 */
    vertical-align: middle;
    animation: blink 1.5s infinite;
    padding-left: 8px;
}

@keyframes bookmark-btn-animation1 {
    0% {
        left: -100%;
        right: 100%;
    }
    50% {
        left: 100%;
        right: -100%;
    }
    100% {
        left: -100%;
        right: 100%;
    }
}
@keyframes bookmark-btn-animation2 {
    0% {
        top: -100%;
        bottom: 100%;
    }
    50% {
        top: 100%;
        bottom: -100%;
    }
    100% {
        top: -100%;
        bottom: 100%;
    }
}


/* ===== countdowntimerCSS ===== */
.label span {
    color: gold;
}

.countdown-timer {
    font-family: 'Arial', sans-serif;
    font-size: clamp(2.8rem, 3.3vw, 6rem);
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(133deg, #171616, #585555);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.countdown-timer #label {
    margin-right: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffcc00;
}

.countdown-timer span {
    color: gold;
    margin: 0 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .timer-container {
        margin: 0 10px;
    }
    .countdown-timer {
        padding: 20px 5px;
    }
    .countdown-timer span {
        margin: 0 5px;
    }
}

/* ===== cta_buttonCSS ===== */
.scoring_cta_summary {
    margin-top: 10px;
    text-align: center;
}
.cta_summary_text {
    font-size: clamp(1.6rem, 3vw, 3rem);
    color: #1c6db0;
}
.scoring_cta_wrap {
    justify-content: center;
    gap: 30px;
}

.cta_button {
    /* キラーンと光るボタン */
    display: block;
    margin-bottom: 1rem;
    position: relative;
    padding: 2.4rem 2rem;
    border: 0;
    font-size: clamp(2.4rem, 3.3vw, 2.8rem);
    cursor: pointer;
    border-radius: 60px;
    color: #fff;
    background-color: orange;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta_button span {
    color: #ffffff;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.cta_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 2s infinite;
}

.cta_button:hover {
    text-decoration: none;
    opacity: 0.7;
}

.section_cta {
    padding: 3rem 7rem;
}

@keyframes shine {
    0% {
        left: -150%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

@media (min-width: 768px) {
    .cta_button {
        padding: 3rem 15rem;
    }
}
@media (max-width: 767px) {
    .scoring_cta_wrap {
        margin-bottom: 1rem;
        padding: 0 2%;
        width: auto;
    }
    .section_cta {
        padding: 3rem 2rem;
    }

}

/* =====サービス内容の見た目===== */
.section-contents {
    margin-top: 30px;
}
.detail_title_bg {
    text-align: center;
}
.section_contents_wrap {
    margin-top: 20px;
}
.section_contents_item {
    margin-top: 20px;
}
.merit_contents_wrap {
    margin-top: 20px;
    padding: 20px 20px 0;
    border: 1px solid #1c6db0;
}
.merit_contents_item {
    color: #616371;
    margin-bottom: 20px;
}
.merit_contents_item span {
    color: #FF0000;
}
.cms_section {
    padding-bottom: 100px;
}
/*H2見出し*/
.section-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: bold;
    padding-bottom: 0.7em;
    text-align: center;
    position: relative;
    margin: 0 auto;
  }
  .section-title::before, .section-title::after {
    content: '';
    position: absolute;
    margin:auto;
    left: 0;
    bottom: 0;
    width: 2em;
    background-color: #E1E8ED;
    height: 5px;
    right: 2em; 
  }
  .section-title::before { 
    background-color:#1c6db0;
    left:2em;
    width:4em;
  }/*H4見出し*/
.section_contents_item_heading {
    color: #616371;/*文字色*/
    font-size: clamp(1.4rem, 3vw, 2.4rem);/*文字サイズ*/
    padding: 10px 8px 4px;
    display: block;
    position: relative;
    padding-left: 50px;
}
.section_contents_item_heading:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 4px;
    width: 0;
    height: 0;
    border: none;
    border-left: 10px solid transparent;
    border-bottom: 10px solid #1c6db0;/*左矢印部の色など*/
}
.section_contents_item_heading:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 8px;
    width: 96%;
    border-bottom: 2px solid #1c6db0;/*下線（太さ 実線 色）*/
}
.section_contents_item_text {
    font-size: clamp(1.6rem, 3vw, 1.8rem);
    padding: 20px;
}
.section_cta {
    padding: 3rem 7rem;
}
.cms_readcolumn_detail:first-child {
    border-top: 0px solid #1262b2;
}
.cms_readcolumn:first-child {
    margin-top: 10px;
}
.cms_readtext {
    width: 100%;
}
@media (max-width: 768px) {
    .section_contents_item_text {
        margin-top: 20px;
    }
    .section_cta_wrap {
        margin-top: 60px;
    }
    .section_cta {
        padding: 3rem 0rem;
    }
    .cms_section {
        padding-bottom: 50px;
    }
    .cms_figure {
        margin-top: 20px;
    }
}

/* =====フローの見た目===== */
.flow_design {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow {
    padding-left: 0;
    border-bottom: solid 1px #E1E8ED;
}

.flow > li {
    list-style-type: none;
    display: flex;
    padding-top: 12px;
    padding-bottom: 7px;
    border-top: solid 1px #E1E8ED;
}

.flow > li dl dt {
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 8px;
}

.flow > li .icon {
    line-height: 1;
    font-size: clamp(2.0rem, 3.3vw, 2.4rem);
    font-weight: bold;
    color: #1c6db0;
    text-align: center;
    width: 70px;
    position: relative;
    margin-top: 0;
}

.flow > li .icon::before {
    content: 'STEP';
    font-size: 0.3em;
    display: block;
    margin-bottom: 3px;
    letter-spacing: 1px;
}

/* stepの数字の下に線を引くstyle */
/* .flow > li .icon::after {
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 60px);
    background-color: #858585;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    margin: auto;
} */

.flow > li dl dd {
    margin: 0;
}

.flow > li dl {
    width: calc(100% - 70px);
}
@media screen and (max-width: 768px) {
    .flow > li {
        padding-bottom: 0px;
    }
    .flow > li:not(:last-child)::before {
        left: 15px;
    }
    /* .flow_wrap {
        padding: 0 4%;
    } */
    .flow > li dl dt {
        padding-bottom: 10px;
    }
}

/* ===== preエリアの見た目 ===== */
.pre_section_content_wrap {
    display: block;
    text-align: center;
    margin-top: 80px;
    padding: 50px 10%;
    border-top: solid 1px #E1E8ED;
    border-bottom: solid 1px #E1E8ED;
}
.pre_section_content_title {
    font-size:  clamp(1.6rem, 3vw, 2.4rem);
    padding-bottom: 5px;
    border-bottom: 1px solid #1c6db0;
    text-align: center;
}
.section_content_text {
    font-size:  clamp(1.4rem, 3vw, 1.8rem);
    text-align: left;
    margin-top: 20px;
}
@media (max-width: 787px) {
    .pre_section_content_wrap {
        margin-top: 40px;
        padding: 20px 15px;
    }
    .pre_section_content_wrap img {
        height: 100%;
    }
}

/* ===== floatingCSS ===== */
@media screen and (max-width: 767px) {
    .sp_cv_floating {
        width: 100%;
        align-items: center;
        position: fixed;
        bottom: 25px;
        background-color: rgba(255, 255, 255, 0.6);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    .sp_cv_floating.visible {
        opacity: 1;
        visibility: visible;
    }
    .floating_nav_btn {
        border-radius: 40px 0 0 40px;
    }
    .floating_nav_btn a {
        font-size: 2.4rem;
    }
    .floating-image {
        padding: 10px 0 10px 10px;
    }
    .floating-text {
        font-size: 1.6rem;
        text-align: center;
        color: #1262b2;
    }
    .pc {
        display: none;
    }
}
.sp-copyright {
    text-align: end;
}

.souhyou_jizen_wrap {
    margin-top: 40px;
}
.souhyou_jizen_text {
    border: 1px solid #d93131;
    padding: 30px;
    width: 100%;
    text-align: center;
}

/* //====採点結果配信中slidein_text====// */
.advance_slidein {
    margin-top: 20px;
    text-align: center;
    position: relative;
    width: 100%;
    min-height: 3.2em;
}

.advance_slidein_text {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: transparent;
    /* color: #e47c00; */
    color: #e40000;
    font-size: clamp(3rem, 3.3vw, 4rem);
    font-weight: bold;
    line-height: 1.0;
    letter-spacing: 0.03em;
    /* 横からスライドイン */
    transform: translateX(-120%);
    opacity: 0;
    text-shadow: 0 2px 6px rgba(255, 183, 0, 0.15), 0 0px 1px #fff;
    text-align: center;
}
.advance_slidein_text.is-move {
    animation: slideInText 0.8s cubic-bezier(.5,1.3,.5,1) 0.1s forwards;
}
@keyframes slideInText {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }
    60% {
        transform: translateX(10%);
        opacity: 1;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}
.advance_slidein_em.is-move {
    font-size: clamp(1.6rem, 3.3vw, 2.4rem);
    color: #1c6db0;/*MVで使っている色とかにしていただければ*/
    font-weight: bold;
    margin-top: 8px;
    display: inline-block;
    letter-spacing: 0.02em;
    animation: slideInText 0.8s cubic-bezier(.5,1.3,.5,1) 0.25s forwards;
    opacity: 0;
    transform: translateX(-120%);
}