@charset "UTF-8";

html {
    box-sizing: border-box;
    height: 100%;
    overflow-y: scroll;
    font-size: 62.5%;
    font-size: 0.69444vw !important;
    overflow-x: hidden;
}

@media screen and (max-width: 1440px) {
    html {
        font-size: 0.6944444444vw !important;
    }
}

@media screen and (max-width: 769px) {
    html {
        font-size: 2.6666666667vw !important;
    }
}

html body {
    overflow: hidden;
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;
    /* color: #fff; */
    letter-spacing: 0.05em;
}

@supports (-webkit-touch-callout: none) {
    html {
        height: -webkit-fill-available;
    }

    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

.main_wrap {
    position: relative;
}

#__layout,
#__layout>div,
#app,
div#__nuxt {
    min-height: 100vh;
}

ul {
    list-style-type: none;
}

*,
:after,
:before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #e50051;
}

p {
    font-size: 16px;
    line-height: 200%;

}

h2 {
    font-size: 24px;
    line-height: 160%;
}

h3 {
    font-size: 20px;
    line-height: 160%;
}

@media only screen and (max-width: 768px) {
    p {
        font-size: 14px;

    }

    h2 {
        font-size: 20px;
        line-height: 160%;
    }

    h3 {
        font-size: 16px;
        line-height: 160%;
    }
}

h1,
h2,
h3,
h4,
h5,
strong {
    font-weight: 700;
}

input,
textarea {
    max-width: 100%;
    font-family: inherit;
    font-size: 100%;
}



/* -----------------------------
  rakusta メニュー
----------------------------- */
.rakusta-global-nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.rakusta-global-nav-container {
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.rakusta-logo img {
    height: 32px;
}

.rakusta-global-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: Noto Sans JP, sans-serif;
}

.rakusta-global-nav-list {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.rakusta-global-nav-list li:first-child a {
    position: relative;
    color: #e50051;
    display: inline-block;
}

.rakusta-global-nav-list li:first-child a::after {
    content: "";
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -30px;
    background-color: #e50051;
}

.rakusta-global-nav-list li a {
    position: relative;
    color: #212121;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    transition: 0.8s cubic-bezier(0.25, 0.74, 0.22, 0.99);
}

.rakusta-global-nav-list li a:hover {
    font-weight: 600;
    color: #e50051;
}

.rakusta-global-nav-list li a::before {
    background-color: #e50051;
    content: "";
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -30px;
    transform-origin: right top;
    transform: scale(0, 2);
    transition: transform 0.3s;
}

.rakusta-global-nav-list li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.rakusta-global-nav-buttons {
    display: flex;
    gap: 16px;
}

.rakusta-global-nav-buttons a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    height: 48px;
    font-weight: 700;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

/* 擬似要素でフェードアニメーション */
.rakusta-global-nav-buttons a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* 少し白くフェードする感じ */
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.rakusta-global-nav-buttons a:hover::before {
    transform: translateX(0%);
}

/* 中のテキストやアイコンが見えるように z-index を調整 */
.rakusta-global-nav-buttons a>* {
    z-index: 2;
}

.rakusta-global-nav-buttons a img {
    width: 16px;
    height: 16px;
}

.rakusta-global-nav-buttons a:hover {}

.rakusta-global-nav-buttons .rakusta-button-request {
    width: 144;
    height: 48;
    gap: 8px;
    padding-right: 24px;
    padding-left: 24px;
    border-radius: 6px;
    background: #ffd900;
    color: #212121;
}

.rakusta-global-nav-buttons .rakusta-button-contact {
    width: 176;
    height: 48;
    gap: 8px;
    padding-right: 24px;
    padding-left: 24px;
    border-radius: 6px;
    background: #e50051;
    color: #fff;
}

/* ハンバーガーはPC時は非表示 */
.rakusta-global-nav .rakusta-hamburger {
    display: none;
}

.rakusta-privacy-link {
    display: none;
}


@media screen and (max-width: 1023.98px) {
    .rakusta-global-nav-right {
        display: none;
    }

    .rakusta-global-nav .rakusta-hamburger {
        display: block !important;
        cursor: pointer;
        width: 30px;
        height: 22px;
        position: relative;
        z-index: 100;
    }

    .rakusta-global-nav .rakusta-hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #e50051;
        margin-bottom: 5px;
        transition: 0.4s;
    }

    .rakusta-global-nav .rakusta-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .rakusta-global-nav .rakusta-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .rakusta-global-nav .rakusta-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .rakusta-global-nav.open .rakusta-global-nav-right {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background-color: #fff;
        padding: 100px 24px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    .rakusta-global-nav.open .rakusta-global-nav-list {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .rakusta-global-nav.open .rakusta-global-nav-buttons {
        flex-direction: column;
        gap: 16px;
        margin-top: 0;
    }

    .rakusta-global-nav-buttons a {
        width: 200px;
        justify-content: center;
        gap: 8px;
        padding: 0;
    }

    .rakusta-global-nav-buttons .rakusta-button-request,
    .rakusta-global-nav-buttons .rakusta-button-contact {
        width: 200px !important;
    }

    .rakusta-global-nav-list li:first-child a::after {
        bottom: -10px;
        width: 180%;
        transform: translateX(-50%) scale(0, 1);
        left: 50%;
    }

    .rakusta-global-nav-list li a:hover {
        transform: none;
    }

    .rakusta-global-nav-list li a::before {
        width: 180%;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%) scale(0, 1);
    }

    .rakusta-global-nav-list li a:hover::before {
        transform: translateX(-50%) scale(1, 1);
    }

    .rakusta-privacy-link {
        display: block;
        padding-top: 8px;
        padding-bottom: 8px;
        font-family: Noto Sans JP;
        font-weight: 400;
        font-size: 12px;
        line-height: 200%;
    }
}

@media screen and (max-width: 599.98px) {
    .rakusta-global-nav-container {
        height: 40px;
    }

    .rakusta-logo img {
        height: 18px;
    }
}

/* -----------------------------
  rakusta　フッターのお問い合わせセクション
----------------------------- */
.rakusta-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    background-color: #f8f8f8;
    /* 上下padding（800px以上60px、600pxで30px、間はリニア変化） */
    padding-top: clamp(30px, calc(30px + (60 - 30) * ((100vw - 600px) / (800 - 600))), 60px);
    padding-bottom: clamp(30px, calc(30px + (60 - 30) * ((100vw - 600px) / (800 - 600))), 60px);

    /* 左右padding（800px以上80px、800px以下は20vw基準で減少、800pxで0pxに） */
    padding-left: clamp(0px, (100vw - 800px) * 0.2, 80px);
    padding-right: clamp(0px, (100vw - 800px) * 0.2, 80px);
}

.rakusta-contact-left {
    flex: 1;
    min-width: 260px;
    text-align: center;
    margin-left: 24px;
}

.rakusta-contact-message {
    /* フォントサイズ（800px以上20px、600pxで16px、間はリニア変化） */
    font-size: clamp(16px, calc(16px + (20 - 16) * ((100vw - 600px) / (800 - 600))), 20px);
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.6;
}

.rakusta-contact-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
}

.rakusta-contact-buttons a img {
    width: 200px;
    height: auto;
    display: block;
}

.rakusta-contact-right {
    flex: 1;
    max-width: 432px;
    margin-right: 24px;
}

.rakusta-contact-right img {
    width: 100%;
    height: auto;
    display: block;
}

.rakusta-contact-button,
.rakusta-contact-right a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.rakusta-contact-button:hover,
.rakusta-contact-right a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .rakusta-contact-container {
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .rakusta-contact-left {
        margin-left: 0;
        text-align: center;
    }

    .rakusta-contact-buttons {
        /* flex-direction: column; */
        align-items: center;
    }

    .rakusta-contact-right {
        margin-right: 0;
        max-width: 100%;
    }
}

/* -----------------------------
  rakusta archive　共通
----------------------------- */
.rakusta-archive-header {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.rakusta-archive-title {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 24px;
}

.rakusta-archive-title__icon {
    width: 100px;
    height: 104px;
}

.rakusta-archive-title__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}


.rakusta-archive-title__main {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 80px;
    line-height: 100%;
    letter-spacing: 5%;
    color: #333;
    margin: 0;
}

.rakusta-archive-title__sub {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 5%;
    color: #333;
    margin-top: 8px;
    margin-bottom: 0;
}

.rakusta-archive__grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

/* パンくず部分 */
.rakusta-archive #breadcrumb {
    display: block;
    background-color: #fafafa;
    padding: 12px 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.rakusta-archive #breadcrumb .breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1280px;
}

.rakusta-archive #breadcrumb .breadcrumb-list__item {
    margin-right: 8px;
}

.rakusta-archive #breadcrumb .breadcrumb-list__item::after {
    content: ">";
    margin-left: 8px;
    color: #ccc;
}

.rakusta-archive #breadcrumb .breadcrumb-list__item:last-child::after {
    content: "";
    margin: 0;
}

.rakusta-archive__content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px 120px 20px;
}

.rakusta-archive__pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding-top: 40px;
}

.rakusta-archive__pagination ul.page-numbers li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)) {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    background: #fff;
    color: #a1a1a1;
}

.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)) a,
.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)) span {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a1a1a1;
    text-decoration: none;
}

.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)):first-of-type a,
.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)):first-of-type span {
    background: #212121;
}


.rakusta-archive__pagination ul.page-numbers li span.current {
    background-color: #222;
    color: #fff !important;
    border-color: #222;
}

.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)) a {
    text-decoration: none;
    color: #a1a1a1;
}

.rakusta-archive__pagination ul.page-numbers li:not(:has(a.prev)):not(:has(a.next)) a:hover {
    opacity: 0.8;
}

.rakusta-archive__pagination ul.page-numbers li a.prev,
.rakusta-archive__pagination ul.page-numbers li a.next {
    font-size: 24px;
    background: none;
    border: none;
    width: auto;
    height: auto;
    color: #a1a1a1;
    text-decoration: none;
}

.rakusta-archive--case .rakusta-archive__content {
    background: #f9f9f9;
}



@media (max-width: 768px) {
    .rakusta-archive__content {
        padding-top: 40px;
    }

    .rakusta-archive__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .rakusta-archive-title__icon {
        width: 67px;
        height: 70px;
    }

    .rakusta-archive-title__main {
        font-size: 48px;
    }

    .rakusta-archive-title__sub {
        font-size: 12px;
    }
}

/* -----------------------------
  rakusta casestudy archive 
----------------------------- */
.rakusta-archive--case .rakusta-archive__grid {
    max-width: 1120px;
    gap: 48px 24px;
    grid-template-columns: repeat(2, 1fr);
}

.rakusta-archive--case .rakusta-archive__card {
    width: 100%;
    background: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 24px;
}

.rakusta-archive--case .rakusta-archive__card-thumb {
    width: 100%;
    aspect-ratio: 1.91 / 1;
    position: relative;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.rakusta-archive--case .rakusta-archive__card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.3s ease;
}

.rakusta-archive--case .rakusta-archive__card:hover .rakusta-archive__card-thumb img {
    transform: scale(1.05);
}

.rakusta-archive--case .rakusta-archive__card-content {
    width: 100%;
    padding: 24px 24px 80px 24px;
}

.rakusta-archive--case .rakusta-archive__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.rakusta-archive--case .rakusta-archive__card-tags a {
    font-size: 12px;
    line-height: 100%;
    color: #A1A1A1;
}

.rakusta-archive--case .rakusta-archive__card-tags a:hover {
    color: #7a7a7a;
    transition: all 0.3s ease;
}

.rakusta-archive--case .rakusta-archive__card-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    line-height: 150%;
    transition: color 0.3s ease
}

.rakusta-archive--case .rakusta-archive__card:hover .rakusta-archive__card-title {
    color: #E50051;
    cursor: pointer;
}

.rakusta-archive__card {
    position: relative;
}

.rakusta-archive__card-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rakusta-archive__card-button img {
    width: 40px;
    height: 40px;
}

.rakusta-archive--case .rakusta-archive__card:hover .rakusta-archive__card-button {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.rakusta-contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .rakusta-archive--case .rakusta-archive__grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* -----------------------------
  rakusta archvie column
----------------------------- */
.rakusta-archive--column .rakusta-archive__grid {
    gap: 40px;
    max-width: 816px;
}

.rakusta-archive--column .rakusta-archive__card {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.rakusta-archive--column .rakusta-archive__card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.rakusta-archive--column .rakusta-archive__card:hover {
    transform: translateY(-4px);
}

.rakusta-archive--column .rakusta-archive__card-thumb {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    background-color: #e0e0e0;
    /* デフォルト背景色 */
    overflow: hidden;
    border: 1px solid #ececec;
}

.rakusta-archive--column .rakusta-archive__card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rakusta-archive--column .rakusta-archive__card-thumb:hover img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.rakusta-archive--column .rakusta-archive__card-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    font-weight: bold;
}

.rakusta-archive--column .rakusta-archive__card-meta {
    font-family: Noto Sans JP;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;
    color: #000000;
    margin-top: 8px;
    margin-bottom: 8px;
}

.rakusta-archive--column .rakusta-archive__card-title {
    font-family: Noto Sans JP;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 24px;
}

.rakusta-archive--column .rakusta-archive__card-title:hover {
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* タグの最初に空白のタグが表示され、php側でも消せなかったので仮対応 */
.rakusta-archive--column .rakusta-archive__card-tags a:first-of-type {
    display: none !important;
}

.rakusta-archive--column .rakusta-archive__card-tags a {
    display: inline-block;
    background: #ececec;
    color: #666;
    font-size: 12px;
    font-weight: 350;
    padding: 4px 16px;
    margin: 4px;
    border-radius: 16px;
    text-decoration: none;
}

.rakusta-archive--column .rakusta-archive__card-tags a:hover {
    background: #e0e0e0;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .rakusta-archive--column .rakusta-archive__card-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .rakusta-archive--column .rakusta-archive__card-meta {
        font-size: 10px;
    }

    .rakusta-archive--column .rakusta-archive__card-tags a {
        font-size: 10px;
        padding: 2px 8px;
    }
}

/* -----------------------------
  rakusta single-page 用 CSS
----------------------------- */

/* パンくず表示・中央寄せ */
.rakusta-single .breadcrumb-list li:after {
    content: ">";
}

.rakusta-single .breadcrumb-list li:last-child:after {
    content: none;
}

.rakusta-single #breadcrumb {
    display: block;
    background: #f8f8f8;
    padding-top: 40px;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0 auto;
}

.rakusta-single #breadcrumb .container {
    max-width: 1280px;
    margin: 0 auto;
}

.rakusta-single .rakusta-single-column-entry-header {
    padding-top: 80px;
    max-width: 1280px;
    padding-left: 80px;
    padding-right: 80px;
    margin: 0 auto;
}

.rakusta-single .rakusta-single-column-entry-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding-bottom: 40px;
}

.rakusta-single .rakusta-single-column-entry-header .rakusta-related-tag-list a {
    color: #222222;
    font-weight: 350;
    font-size: 14px;
    opacity: 0.5;
}

.rakusta-single .rakusta-single-column-entry-header .rakusta-related-tag-list a:hover {
    opacity: 1;
}

.rakusta-article-wrapper {
    max-width: 1220px;
    margin: auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}


.rakusta-article-main {
    flex: 2;
}

.rakusta-single-column .rakusta-article-main .entry-meta time {
    font-size: 16px;
    color: #000000;
}

.rakusta-article-side {
    flex: 1;
}

.rakusta-article-side img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
}

.rakusta-column-article h2 {
    font-size: 24px;
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    margin-top: 56px;
    margin-bottom: 24px;
}

.rakusta-column-article h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 60px;
    background: #d9d9d9;
    transform: translateY(-50%);
}

.rakusta-column-article h3 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #333;
    line-height: 160%;
    margin-bottom: 16px;
}

.rakusta-column-article p {
    font-size: 16px;
    line-height: 200%;
    margin-bottom: 16px;

}

.rakusta-single--column .rakusta-article-side .rakusta-recommend-articles {
    margin: 40px 0;
    padding: 0;
}

.rakusta-single--column .rakusta-article-side .rakusta-recommend-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}


.rakusta-entry-content>ul:not(.toc_list) {
    list-style: disc inside;
    border: 1px solid #222222;
    font-family: Noto Sans JP;
    font-weight: 400;
    font-size: 15px;
    line-height: 2.7rem;
    letter-spacing: 10%;
}

.rakusta-column-article ol {
    list-style: decimal inside;
}

.rakusta-column-article img {
    width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

.rakusta-column-article a {
    color: #e50051;
    text-decoration: underline;
}

.rakusta-column-article a:hover {
    opacity: 0.8;
}


.rakusta-single #toc_container {
    background: #444444;
    width: 100%;
    padding: 24px;
}

.rakusta-single #toc_container p.toc_title {
    text-align: left;
    color: #ffffff;
}

.rakusta-single #toc_container a {
    color: #ffffff;
    font-size: 14px;
    line-height: 300%;
}

.rakusta-single-column-banner-sp {
    display: none;
}


@media screen and (max-width: 768px) {
    .rakusta-article-wrapper {
        display: block;
        padding-bottom: 0;
    }

    .rakusta-article-main {
        width: 100%;
    }

    .rakusta-article-side {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    .rakusta-article-side-banner {
        display: none;
    }

    .rakusta-single--column .rakusta-column-article h2 {
        font-size: 18px;
    }

    .rakusta-single--column .rakusta-column-article h3 {
        font-size: 16px;
    }

    .rakusta-single-column-banner-sp {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin: 0 auto;
        margin-top: 40px;
        margin-bottom: 80px;
    }

    .rakusta-single-column-banner-sp a {
        text-align: center;
    }

    .rakusta-single-column-banner-sp img {
        max-width: 400px;
        margin: 0 auto;
    }

    .rakusta-single-column-banner-sp img:hover {
        opacity: 0.8;
        transition: opacity 0.3s ease !important;
    }

    .rakusta-single--column .rakusta-recommend-articles {
        padding: 0;
        margin: 0;
    }

    .rakusta-single--column .rakusta-related-articles {
        padding: 0 40px;
    }

    .rakusta-single--column .rakusta-article-wrapper {
        padding: 0 40px;
    }
}

/* -----------------------------
  ラクスタ関連記事・関連タグ
----------------------------- */
.rakusta-related-articles,
.rakusta-related-tags {
    max-width: 816px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    box-sizing: border-box;
}

.rakusta-recommend-title,
.rakusta-related-title {
    font-size: 24px;
    font-weight: 700;
    border-left: 3px solid #e50051;
    padding-left: 8px;
    margin-bottom: 16px;
    line-height: 150%;
    letter-spacing: 15%;
}

.rakusta-related-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rakusta-related-tag-list a {
    color: #e83f24;
    font-size: 12px;
    text-decoration: none;
}

.rakusta-related-tag-list a:hover {
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .rakusta-related-articles {}
}

/* -----------------------------
  おすすめ記事
----------------------------- */
.rakusta-recommend-articles {
    max-width: 816px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    box-sizing: border-box;
}

.rakusta-recommend-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rakusta-recommend-item {
    gap: 20px;
}

.rakusta-recommend-item a:first-child {
    width: 100%;
    aspect-ratio: 1.91 / 1;
    position: relative;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
}

.rakusta-recommend-item a:first-child img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.3s ease;
    margin: 0;
}

.rakusta-recommend-item:hover a:first-child img {
    transform: scale(1.05);
}

.rakusta-recommend-item a:last-child {
    /* flex: 1; */
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    margin-top: 16px;
}

.rakusta-recommend-item:hover a:last-child {
    color: #E50051;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .rakusta-recommend-list {
        grid-template-columns: repeat(1, 1fr);
    }

}



/* -----------------------------
  rakusta single-casestudy 用 CSS
----------------------------- */
.rakusta-single .entry-meta {
    font-size: 16px;
}

.rakusta-casestudy-article-wrapper {
    max-width: 1280px;
    margin: auto;
    padding: 60px 40px 40px;
}

.rakusta-casestudy-article-inner {
    max-width: 816px;
    margin: 0 auto;
}

.rakusta-casestudy-article-title {
    font-size: 40px;
}

.rakusta-casestudy-article h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e50051;
    padding-bottom: 0.2em;
}

.rakusta-casestudy-article h3 {
    font-size: 24px;
    line-height: 160%;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .rakusta-single .entry-meta {
        font-size: 14px;
    }

    .rakusta-casestudy-article-title {
        font-size: 28px;
    }

    .rakusta-casestudy-article h2 {
        font-size: 24px
    }

    .rakusta-casestudy-article h3 {
        font-size: 20px;
    }

    .rakusta-single #toc_container a {
        font-size: 12px;
        line-height: 100%;
    }

    .rakusta-recommend-title,
    .rakusta-related-title {
        font-size: 18px;
    }
}



@media (max-width: 768px) {

    .rakusta-single #breadcrumb,
    .rakusta-single .rakusta-single-column-entry-header {
        padding: 8px 20px;
        margin-left: auto;
        margin-right: auto;
    }


    .rakusta-single .rakusta-single-column-entry-title {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {



    .rakusta-single .rakusta-single-column-entry-header {
        padding-top: 40px;
    }

    .rakusta-single .rakusta-single-column-entry-title {
        font-size: 24px;
        padding-bottom: 20px;
    }

    .rakusta-archive--column .rakusta-column-article h2::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 20px;
        height: 40px;
        background: #d9d9d9;
        transform: translateY(-50%);
    }

    .rakusta-recommend-item {
        margin-bottom: 24px;
    }
}