.pc-display-none{
    display: none !important;
}
/* pcだけ表示 */
.sp-display-none{
    display: block !important;
}
.column-detail-wrapper {
    max-width: 96rem;
    width: 90%;
    margin: 0 auto;
    line-height: 2.2;
}
/* fv */
.column-fv {
    text-align: left;
    margin-bottom: 0;
}
.gray {
    color: #817F7F;
    margin-bottom: 2.4rem;
    font-weight: 600;
}
 .column-img {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 2 / 1;
}
.column-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* このコラムでわかること */
.sammary {
    background-color: #F8FAFF;
    border-radius: 30px;
    box-shadow:  0px 4px 20px rgba(0, 0, 0, .1);
    padding: 2.4rem 6.4rem;
    text-align: left;
    margin: 8rem auto;
    line-height: 1.8;
}
.inner-head {
    display: flex;
    justify-content: left;
    gap: 8px;
    align-items: center;
    margin-bottom: 1.6rem;
    margin-left: -36px;
}
.inner-head .icon {
    margin-bottom: -0.5em;
}

/* 目次 */
.index {
    border-radius: 30px;
    border: 5px solid #6285FC;
    padding: 2.4rem 6.4rem;
    margin: 8rem auto;
}
.index-link-wrapper  {
    text-align: left;
    font-weight: 600;
    margin-bottom: 0.7em;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.index-link.child {
    margin-left: 1.5em;
    font-size: 1.6rem;
}

/* 目次リスト初期化 */
.index-link-list {
    counter-reset: main-counter;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* 大見出し（親li） */
.index-link-list > li {
    counter-increment: main-counter;
    counter-reset: sub-counter; /* 小見出しリセット */
    margin-bottom: 0.7em;
    position: relative;
}

/* 大見出し番号 */
.index-link-list > li > a.index-link::before {
    content: counter(main-counter) ". ";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 600;
    z-index: 1;
}

/* 小見出しリスト */
.index-link-list li ul {
    padding-left: 2.5em;
    margin-top: 0.3em;
}

/* 小見出しがない場合は非表示 */
.index-link-list li ul:empty {
    display: none;
}

/* 小見出し（child） */
.index-link-list li ul li a.child::before {
    counter-increment: sub-counter;
    content: counter(main-counter) "." counter(sub-counter) " ";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 600;
    z-index: 1;
}
.index-link-list li:last-child a {
  padding-bottom: 0;
}

/* リンク青下線 */
.index-link-wrapper a {
    display: inline-block;
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    overflow: hidden;
    text-decoration: none;
    padding-left: 1em;
    margin-bottom: 0.5em;
}
.index-link-wrapper a.child {
    padding-left: 2em;
    font-size: 2rem;
    font-weight: 500;
}

/* 下線疑似要素（番号とは別） */
.index-link-wrapper a::after {
    content: "";
    position: absolute;
    bottom: 0.5em;
    left: 0;
    width: 100%;
    height: 0.5em;
    background-color: #dceeff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -10;
}

.index-link-wrapper a:hover::after {
    transform: scaleX(1);
}

/* コラム本文 */
.column-block {
    margin-top: 12rem;
    text-align: left;
}
.column-block h2 {
    border-bottom: 4px solid #707070;
    margin-bottom: 2.4rem;
}
.column-block .column-img {
    margin-bottom: 2.4rem;
    aspect-ratio: 3 / 1;
}
.column-block p {
    line-height: 2.2;
}
/* コラム本文子要素 */
.column-box-child {
    margin: 6.4rem 0;
}
.column-box-child h3 {
    display: inline-block;
    padding-left: 1em;
    position: relative;
    font-weight: bold;
}
.column-box-child h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: #707070;
}

/* バナー */
.cta-banner-wrapper {
    display: block;
    max-width: 96rem;
    width: 100%;
    margin: 8rem auto;
    transition: transform 0.3s ease; /* スムーズな変化 */
}
.cta-banner-wrapper:hover {
    transform: scale(1.02); 
}

/* 執筆者情報 */
.writer-wrapper {
    display: flex;
    justify-content: center;
    gap: 5.6rem;
    align-items: center;
    background-color: #F8FAFF;
    border-radius: 30px;
    box-shadow:  0px 4px 20px rgba(0, 0, 0, .1);
    padding: 4rem 5%;
    max-width: calc(96rem - 10%);
    width: 80%
}
.writer-text-box {
    text-align: left;
}
.writer-text-box h3 {
    font-weight: 500;
}
.writer-text-box .gray {
    font-weight: 500;
}
.writer-img {
    max-width: 200px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 50%;
}



@media screen and (max-width: 768px) {
.pc-display-none{
    display: block !important;
}
/* pcだけ表示 */
.sp-display-none{
    display: none !important;
}
.column-fv {
    margin: 8rem auto;
}
.sammary {
    margin: 0;
    padding: 1.6rem 2.4rem;
    border-radius: 15px;
}
.inner-head {
    margin-left: 0;
    margin-bottom: 0.4rem;
    gap: 6px;
}
.inner-head .icon {
    width: 15px;
    margin-bottom: -0.3rem;
}
/* 目次 */
.index {
    padding: 1.6rem 2.4rem;
}
.index-link.child {
    font-size: 1.4rem;
}
/* 目次数字 */
.index-link-wrapper a {
    font-size: 1.6rem;
}
.index-link-list li ul {
    padding-left: 2em;
}
.index-link-list li ul li a.child {
    font-size: 1.4rem;
}
.index-link-list > li{
    margin-bottom: 0;
}
/* 青下線 */
.index-link-wrapper a::after {
        display: none;
    }

/* コラム本文 */
.column-block {
    margin-top: 8rem;
}

/* コラム本文子要素 */
.column-box-child {
    margin: 2.4rem 0;
}
.column-box-child h3 {
    font-size: 1.6rem;
}

/* 執筆者情報 */
.writer-wrapper {
    display: block;
    padding: 1.6rem 2.4rem;
}
.writer-img {
    margin: 1.6rem auto;
    max-width: 150px;
}
.writer-text-box {
    text-align: center;
}
.writer-text-box h2 {
    font-size: 3rem;
}

/* バナー */
.cta-banner-wrapper {
    margin: 2.4rem auto;
}
}