/* ============================================
   Foundations
   ============================================ */
:root {
    /* フォント */
    --font-outfit: 'Outfit', sans-serif;
    --font-zen-kaku-gothic-new: 'Zen Kaku Gothic New', sans-serif;
    
    /* カラー */
    --color-text: #292929;
    --color-primary: #5B3F7D;
    --color-primary-alt: #465995;
    --color-primary-light: #8A4AE0;
    --color-white: #ffffff;
    --color-dark: #1B1C20;
    --color-dark-bg: #212130;
    --color-gray: #666;
    --color-gray-light: #f5f5f5;
    --color-gray-border: #e0e0e0;
    --color-error: #e74c3c;
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #5B3F7D 0%, #465995 100%);
    --gradient-primary-hover: linear-gradient(135deg, #6B4F8D 0%, #5665A5 100%);
    --gradient-primary-90: linear-gradient(90deg, #5B3F7D 0%, #465995 100%);
    --gradient-fab: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1a1f3a 0%, #2d1b3d 100%);
    --gradient-main-bg: linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    
    /* フォントサイズ */
    --font-size-base: 1.6rem;
    --font-size-small: 1.2rem;
    --font-size-medium: 1.8rem;
    --font-size-large: 2.4rem;
    --font-size-xl: 3rem;
    --font-size-xxl: 4rem;
    --font-size-huge: 5rem;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 5rem;
    --spacing-huge: 10rem;
    
    /* ボーダー半径 */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-xl: 3rem;
    --radius-full: 999px;
    
    /* トランジション */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* パディング（レスポンシブ） */
    --padding-mobile: calc(5.5rem + 5rem) 2rem 10rem;
    --padding-tablet: calc(6rem + 8rem) 3rem 15rem;
    --padding-desktop: calc(8rem + 10rem) 4rem 20rem;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 1.2px;
    color: var(--color-text);
    background-color: #ECECEC;
    min-width: 370px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-text);
    text-decoration: none;
}

/* スマートフォンのみ表示（タブレット以上で非表示） */
.sp_only {
    display: block;
}

@media (min-width: 640px) {
    .sp_only {
        display: none;
    }
}

/* ============================================
   Header
   ============================================ */
.header_container {
    padding: 0.8rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 5.5rem;
    display: flex;
    align-items: center;
    background-color: #212130;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.header_content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_brand {
    flex-shrink: 0;
}

.header_logo_link {
    display: block;
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    transition: opacity 0.3s ease;
}

.header_nav {
    position: fixed;
    top: 5.5rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background-color: #212130;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding: 3rem 2rem;
    height: calc(100vh - 5.5rem);
    overflow-y: auto;
}

.header_nav.active {
    opacity: 1;
    visibility: visible;
}

.header_nav_list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
}

.header_nav_item {
    margin: 0;
}

.header_nav_link {
    font-family: var(--font-outfit), sans-serif;
    display: block;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header_nav_item_contact {
    display: block;
}

.header_nav_link_contact {
    font-weight: 500;
}

.header_nav_link_idea,
.header_nav_link_material {
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    padding: 0;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header_nav_link_idea:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.header_nav_link:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.header_nav_chevron {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.header_hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header_hamburger_icon {
    display: block;
    width: 4rem;
    height: 3rem;
    flex-shrink: 0;
}

.header_hamburger_icon .cls-1 {
    stroke-width: 0.5px;
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
}

.header_hamburger_icon .cls-2 {
    stroke-width: 0.25px;
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
}

.header_hamburger_icon .cls-3 {
    fill: #fff;
}

.header_hamburger_text {
    color: #ffffff;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1rem;
    font-weight: 400;
}



/* ============================================
   Footer
   ============================================ */
.footer_contact_container {
    position: relative;
}

.footer_contact_bg_wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
}

.footer_contact_bg_wave .wave-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.footer_contact_bg_wave #wavePath {
    transform-origin: center center;
}

.footer_contact {
    padding: 0 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: 120rem;
    box-sizing: border-box;
    transition: 0.5s;
}

.footer_contact_cta {
    padding: 0;
}

.footer_contact_cta_inner {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    max-width: 45rem;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.footer_contact_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 2rem 0;
    line-height: 1;
}

.footer_contact_content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.footer_contact_text {
    margin: 0;
    color: #555555;
}

.footer_contact_button {
    display: block;
    background: var(--gradient-primary-90);
    background-size: 200% 100%;
    color: #ffffff;
    font-family: var(--font-outfit), sans-serif;
    width: 100%;
    max-width: 250px;
    line-height: 50px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 4rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    z-index: 4;
}

.footer_contact_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 112, 224, 0.4);
}

.footer_contact_button_dot {
    font-size: 0.8rem;
    display: inline-block;
}

.footer_contact_cta_emmlabo {
    position: absolute;
    bottom: -6%;
    right: 5px;
    font-family: var(--font-outfit), sans-serif;
    font-size: min(16vw, 85px);
    font-weight: bold;
    color: #f5f5f5;
    z-index: 3;
}

.footer_main {
    position: relative;
    padding: 10rem 2rem 3rem;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b3d 100%);
    background-size: 200% 200%;
    color: #ffffff;
    margin-top: -60px;
    z-index: 1;
    transition: 0.5s;
    border-radius: 5rem 5rem 0 0;
}

.footer_main_inner {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 5;
}

.footer_slogan_box {
    position: relative;
}

.footer_main_inner_logo {
    font-family: var(--font-outfit), sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 10px rgba(138, 74, 224, 0.3);
}

.footer_logo_wrapper {
    position: relative;
    margin-bottom: 4rem;
}

.footer_logo_watermark {
    position: absolute;
    font-family: var(--font-outfit), sans-serif;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    top: -2rem;
    left: -1rem;
    z-index: 1;
}

.footer_logo {
    position: relative;
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
}

.footer_slogan {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    margin: 2rem 0 0;
    transition: 0.5s;
}

.footer_nav {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer_nav_item {
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
}

.footer_nav_item::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: fit-content;
    margin: auto;
    font-size: 0.8rem;
    color: #ffffff;
}

.footer_nav_link {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer_nav_link:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.footer_copyright {
    text-align: center;
    padding-top: 1rem;
    margin-top: 2rem;
    transition: 0.5s;
    font-size: 1.2rem;
}

.footer_copyright p {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}



/* ============================================
   Top Page
   ============================================ */

.top_main_content {
    background: linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    background-size: 200% 200%;
    background-position: var(--bg-x, 0%) var(--bg-y, 50%);
    width: 100%;
    border-radius: 0 0 5rem 5rem;
    transition: var(--transition-slow);
    padding: 0 0 10rem 0;
    position: relative;
    overflow: hidden;
}

/* 背景GIF画像 */
.top_main_content_bg_gif {
    position: absolute;
bottom: 0;
    right: 0;
    width: 70%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

.top_main_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 400px at calc(50% + var(--gradient-x, 0%)) calc(50% + var(--gradient-y, 0%)), rgba(66, 53, 79, var(--gradient-opacity, 0.6)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: scale(var(--gradient-scale, 1));
    will-change: transform, background;
}

.top_mainvisual {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.top_mainvisual_grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: none;
    padding: 9rem 0 2rem;
    position: relative;
    z-index: 1;
}

.top_mainvisual_column {
    overflow: hidden;
    position: relative;
    width: 100vw;
}

.top_mainvisual_column-1,
.top_mainvisual_column-2,
.top_mainvisual_column-3 {
    display: flex;
    align-items: center;
}

.top_mainvisual_track {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    will-change: transform;
    width: 100%;
}

/* メインビジュアル：JSで横流し制御する場合はCSSアニメーションを無効化 */
.top_mainvisual.is-js-scroll .top_mainvisual_column-1 .top_mainvisual_track,
.top_mainvisual.is-js-scroll .top_mainvisual_column-2 .top_mainvisual_track,
.top_mainvisual.is-js-scroll .top_mainvisual_column-3 .top_mainvisual_track {
    animation: none !important;
}

/* タッチ/ドラッグ操作の快適性（縦スクロールは許可しつつ横ドラッグを扱う） */
.top_mainvisual_column {
    touch-action: pan-y;
}

.top_mainvisual_track {
    cursor: grab;
}

.top_mainvisual.is-dragging .top_mainvisual_track {
    cursor: grabbing;
}

.top_mainvisual_column-1 .top_mainvisual_track {
    animation: scroll-column-1-horizontal 30s linear infinite;
}

.top_mainvisual_column-2 .top_mainvisual_track {
    animation: scroll-column-2-horizontal 25s linear infinite;
}

.top_mainvisual_column-3 .top_mainvisual_track {
    animation: scroll-column-3-horizontal 28s linear infinite;
}

@keyframes scroll-column-1-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-column-2-horizontal {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes scroll-column-3-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.top_mainvisual_item {
    position: relative;
    overflow: visible;
    border-radius: 0.5rem;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    cursor: pointer;
}

.top_mainvisual_column-1 .top_mainvisual_item,
.top_mainvisual_column-2 .top_mainvisual_item,
.top_mainvisual_column-3 .top_mainvisual_item {
    width: calc((100vw - 2rem) / 1.5);
    height: auto;
}

.top_mainvisual_item:hover {
    z-index: 2;
}

/* フリップコンテナ */
.top_mainvisual_flip_container {
    perspective: 1000px;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* フリップカード */
.top_mainvisual_flip_card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.top_mainvisual_item:hover .top_mainvisual_flip_card {
    transform: rotateY(180deg);
}

/* 表面と裏面 */
.top_mainvisual_flip_front,
.top_mainvisual_flip_back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    border-radius: 0.5rem;
}

.top_mainvisual_flip_front {
    z-index: 2;
}

.top_mainvisual_flip_back {
    transform: rotateY(180deg);
}

.top_mainvisual_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top_mainvisual_image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 裏側公開モードボタン */
.creative-mode-button {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 2rem 1.1rem 2rem 1rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-family: var(--font-outfit), sans-serif;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.3em;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: creativeModeButtonPulse 2s ease-in-out infinite, creativeModeButtonBounce 2s ease-in-out infinite;
}

.creative-mode-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.creative-mode-button:active {
    transform: translateY(-50%) scale(1.05);
}

/* パルスアニメーション（常時） */
@keyframes creativeModeButtonPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

/* バウンスアニメーション（常時） */
@keyframes creativeModeButtonBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-52%) scale(1.05);
    }
}

.creative-mode-button.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: translateY(-50%);
    animation: creativeModeButtonActivePulse 1.5s ease-in-out infinite;
}

/* アクティブ時のパルスアニメーション */
@keyframes creativeModeButtonActivePulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4), 0 0 0 0 rgba(245, 87, 108, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4), 0 0 0 10px rgba(245, 87, 108, 0);
    }
}

/* 裏側公開モードアニメーション層 */
.creative-animation-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* 裏側公開モード時のアイテム */
.creative-item {
    cursor: pointer;
}

.creative-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


.top_main_h1 {
    color: #fff;
    text-align: center;
    margin: 5rem 0;
    /* padding: 0 2rem; */
    font-size: min(6.5vw, 70px);
    font-weight: bold;
    letter-spacing: 0;
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
    line-height:2;
}

.top_main_h1 .char_h1 {
    display: inline-block;
    color: rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.top_main_h1_span {
    display: block;
    font-family: var(--font-outfit), sans-serif;
    font-size: min(5.5vw, 70px);
    font-weight: normal;
    line-height:1;
    margin-top: 5rem;
    transition: var(--transition-slow);
}

.top_main_h1_span_jp {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: min(3vw, 25px);
    font-weight: normal;
    transition: var(--transition-slow);
}


.top_main_message {
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    line-height: 3;
    font-size: min(4vw, 24px);
    position: relative;
    z-index: 2;
}

.top_main_create_with_design_wrapper {
    overflow: hidden;
    width: 100%;
    margin: 5rem 0;
    padding: 0;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.top_main_create_with_design_track {
    display: inline-flex;
    gap: 4rem;
    animation: scroll-create-with-design 20s linear infinite;
    will-change: transform;
}

.top_main_create_with_design {
     font-family: var(--font-outfit), sans-serif;
    font-size: min(25vw, 120px);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes scroll-create-with-design {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   Column Section
   ============================================ */
.top_column {
    background: #fff;
    background-size: 200% 200%;
    background-position: var(--bg-x, 0%) var(--bg-y, 50%);
    width: 100%;
    border-radius: 5rem 0 0 0;
    transition: var(--transition-slow);
    margin: 5rem 0 0;
    position: relative;
    overflow: hidden;
}



.top_column_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height:1;
    padding: 10rem 3rem 0 3rem;
    transition: var(--transition-slow);
}

.top_column_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.5rem;
    font-weight: initial;
    transition: var(--transition-slow);
    display: block
}

.top_column_attention {
    width: 100%;
    overflow: hidden;
    padding: 5rem 0;
}

.top_column_attention h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 2rem;
    padding: 0 0 0 3rem;
    transition: var(--transition-slow);
}

.top_column_attention_swiper {
    padding: 0 3rem 2rem;
    overflow: visible;
    transform: .5s;
    max-width: 1300px;
}

.top_column_attention_grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top_column_attention_card a {
    display: block;
    overflow: hidden;
    border-radius: 2rem;
    position: relative;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.top_column_latest_card a:hover,
.top_column_attention_card a:hover {
    transform: translateY(-10px);
}

.top_column_attention_card a::before {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background:linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 2;
}

/* WordPressのアイキャッチ画像用スタイル */
.top_column_attention_card a img,
.top_column_attention_card a .top_column_attention_thumbnail,
.top_column_attention_card a img.wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: url('../img/post-image-mask.png');
    -webkit-mask-size: cover;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/post-image-mask.png');
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    position: relative;
}

/* ページネーション */
.top_column_attention_pagination {
    position: relative;
    margin-top: 3rem;
    display: flex;
    gap: 0.8rem;
    padding: 0 3rem;
    bottom: -25px !important;
    transition: var(--transition-slow);
}

.top_column_attention_pagination .swiper-pagination-bullet {
    width: clamp(3rem, 8vw, 6rem);
    height: 0.4rem;
    border-radius: 0.2rem;
    background-color: #666;
    opacity: 1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.top_column_attention_pagination .swiper-pagination-bullet-active {
    background: var(--gradient-primary-90);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

/* View Moreボタン */
.top_column_attention_viewmore {
    margin: 5rem 0 0 auto;
    padding: 0 3rem;
    text-align: center;
    width: fit-content;
}

.top_column_attention_viewmore_button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background:linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.top_column_attention_viewmore_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.top_column_attention_viewmore_dot {
    display: inline-block;
    font-size: 0.8rem;
    color: #fff;
    line-height: 1;
}

.swiper {
    overflow: initial !important;
}

/* News Section */
.top_news {
    background:linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    margin: 2rem 0 2rem 2rem;
    border-radius: 0 0 0 2rem;
    transition: var(--transition-slow);
    padding: 2rem 0 10rem;
    margin-bottom: 10rem;
}

.top_news_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    padding: 10rem 3rem 0 3rem;
    transition: var(--transition-slow);
}

.top_news_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.5rem;
    font-weight: initial;
    transition: var(--transition-slow);
    display: block;
}

.top_news_list {
    list-style: none;
    padding:5rem 0 0 20rem;
    max-width: 1000px;

}

.top_news_item {
    border-bottom: 1px solid #fff;
    padding: 2rem 0;
}

.top_news_item:last-child {
    border-bottom: none;
}

.top_news_link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
}

.top_news_link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.top_news_date_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.top_news_date {
    font-family: var(--font-zen), sans-serif;
    font-size: 1.4rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.archive_news .top_news_date,
.archive_news .top_news_headline {
    color: #333;
}

.archive_news .top_news_item {
    border-bottom: 1px solid #333;
}


.top_news_badge {
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    transform: translateY(-50%);
    background-color: #8A4AE0;
    color: #fff;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 0.3rem;
    white-space: nowrap;
}

.top_news_headline {
    font-family: var(--font-zen), sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin-top: 0.5rem;
}

.top_news_category {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    font-family: var(--font-zen), sans-serif;
    font-size: 1.2rem;
    padding: 0.3rem 1rem;
    border-radius: 0.3rem;
    margin-left: auto;
}

.top_news_viewmore {
    text-align: center;
    margin-top: 4rem;
}

.top_news_viewmore_button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(to right, #4A70E0 0%, #8A4AE0 100%);
    background-size: 200% 100%;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    transition: background-position 0.3s ease, transform 0.3s ease;
}

.top_news_viewmore_button:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
}

.top_news_viewmore_dot {
    display: inline-block;
    font-size: 0.8rem;
    color: #fff;
    line-height: 1;
}

/* 最新記事スライダー */
.top_column_latest {
    margin-top: 5rem;
    width: 100%;
}

.top_column_latest h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 2rem;
    padding: 0 0 0 3rem;
    transition: var(--transition-slow);
}

.top_column_latest_swiper {
    padding: 0 3rem 2rem;
    overflow: visible;
    transform: .5s;
    max-width: 1300px;
}

.top_column_latest_grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top_column_latest_card a {
    display: block;
    overflow: hidden;
    border-radius: 2rem;
    position: relative;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.top_column_latest_card a::before {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background:linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 2;
}

/* WordPressのアイキャッチ画像用スタイル */
.top_column_latest_card a img,
.top_column_latest_card a .top_column_latest_thumbnail,
.top_column_latest_card a img.wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: url('../img/post-image-mask.png');
    -webkit-mask-size: cover;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/post-image-mask.png');
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    position: relative;
}

/* 最新記事ページネーション */
.top_column_latest_pagination {
    position: absolute;
    bottom: -25px !important;
    left: 0;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 3rem;
    transition: var(--transition-slow);
    width: fit-content!important;
}

.top_column_latest_pagination .swiper-pagination-bullet {
    width: clamp(2.5rem, 7vw, 5rem);
    height: 0.4rem;
    border-radius: 0.2rem;
    background: rgba(0,0,0,0.1);
    opacity: 1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.top_column_latest_pagination .swiper-pagination-bullet-active {
    background: var(--gradient-primary-90);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}













/* ============================================
   Responsive Adjustments
   ============================================ */
@media (min-width: 390px) {

    /* Top Page */
    .top_mainvisual_grid {
        gap: 0.75rem;
    }

    .top_mainvisual_track {
        gap: 0.75rem;
    }

    .top_mainvisual_column-1 .top_mainvisual_item,
    .top_mainvisual_column-2 .top_mainvisual_item,
    .top_mainvisual_column-3 .top_mainvisual_item {
        width: calc((100vw - 2.7rem) / 1.5);
    }
}

@media (min-width: 640px) {

    /* Common */
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    /* Top Page Column Attention Card */
    .top_column_attention_card a::before {
        bottom: 15px;
        right: 20px;
    }
}

@media (min-width: 768px) {

    /* Header */
    .header_container {
        padding: 1rem 1.5rem;
        height: 6rem;
    }

    .header_nav_link_contact {
        background: var(--gradient-primary-90);
        background-size: 200% 100%;
        color: #ffffff;
        padding: 1.5rem 3rem;
        border-radius: 0.5rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .header_nav_link_contact:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(74, 112, 224, 0.3);
        opacity: 1;
    }

    /* Footer */
    .footer_contact_cta {
        padding: 5rem 3rem;
    }

    .footer_contact_cta_inner {
        padding: 4rem 3.5rem;
        max-width: initial;
    }

    .footer_contact_title {
        font-size: 10rem;
    }

    .footer_contact_text {
        flex: 1;
        margin-right: 2rem;
    }

    .footer_main {
        padding: 13rem 3rem 1rem;
        border-radius: 10rem 10rem 0 0;
    }

    .footer_main_inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .footer_logo_watermark {
        font-size: 15rem;
    }

    .footer_logo {
        font-size: 6rem;
    }

    .footer_slogan {
        font-size: 6rem;
    }

    .footer_nav {
        gap: 6rem;
    }

    .footer_contact_cta_emmlabo {
        font-size: min(18vw, 100px);
    }

    .footer_slogan_box {
        position: absolute;
        top: 200px;
    }

    .footer_copyright {
        padding: 25rem 0 1rem;
    }

    /* Top Page */
    .top_mainvisual_grid {
        gap: 1rem;
    }

    .top_mainvisual_track {
        gap: 1rem;
    }

    .top_mainvisual_column-1 .top_mainvisual_item,
    .top_mainvisual_column-2 .top_mainvisual_item,
    .top_mainvisual_column-3 .top_mainvisual_item {
        width: calc((100vw - 3rem) / 2.5);
    }

    .top_main_h1 {
        margin: 20rem 0;
    }

    .top_main_h1_span {
        margin-top: 7rem;
        line-height:.5;
    }
}

@media (min-width: 960px) {

    /* Common */
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    /* Header */
    .header_container {
        padding: 1rem 2rem;
        height: 8rem;
    }

    .header_content {
        max-width: 120rem;
    }

    .header_hamburger {
        display: none;
    }

    .header_nav {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        background-color: transparent;
        opacity: 1;
        visibility: visible;
        padding: 0;
        height: auto;
        overflow: visible;
        flex-direction: row;
        justify-content: center;
    }

    .header_nav_list {
        flex-direction: row;
        align-items: center;
        margin-left: auto;
        width: fit-content;
        gap: 5rem;
    }

    /* Footer */
    .footer_contact {
        max-width: 120rem;
        width: 100%;
    }

    .footer_contact_cta {
        padding: 6rem 4rem;
    }

    .footer_contact_cta_inner {
        padding: 5rem;
        max-width: 104rem;
    }

    .footer_contact_text {
        font-size: 2rem;
    }

    .footer_contact_button {
        margin: 5rem 2rem 2rem auto;
    }

    .footer_main {
        padding: 18rem 4rem 1rem;
        margin-top: -85px;
    }

    .footer_logo_watermark {
        font-size: 18rem;
        top: -3rem;
        left: -2rem;
    }

    .footer_logo {
        font-size: 7rem;
    }

    .footer_nav {
        gap: 8rem;
    }

    .footer_nav_link {
        font-size: 1.8rem;
    }

    .footer_contact_cta_emmlabo {
        font-size: 17rem;
        bottom: -10%;
        right: 50px;
    }

    /* Top Page */
    .top_mainvisual_column-1 .top_mainvisual_item,
    .top_mainvisual_column-2 .top_mainvisual_item,
    .top_mainvisual_column-3 .top_mainvisual_item {
        width: calc((100vw - 4rem) / 2.5);
    }

    .top_main_content {
        border-radius: 0 0 10rem 10rem;
    }

    /* Column */

    .top_column {
        margin: 9rem 0 0;
        border-radius: 10rem 0 0 0;
    }


    .top_column_title {
        font-size: 7rem;
        padding: 10rem 0 0 10rem;
    }

    .top_column_title span {
        font-family: var(--font-zen-kaku-gothic-new), sans-serif;
        font-size: 2.4rem;
    }

    .top_column_attention h3 {
        font-size: 4rem;
        padding: 0 0 0 20rem;
    }

    .top_column_attention_swiper {
        padding: 0 0 0 20rem !important;
    }

    .top_column_attention_pagination {
        padding: 0 0 0 20rem;
        bottom: -5rem !important;
    }

    .top_column_latest h3 {
        font-size: 4rem;
        padding: 0 0 0 20rem;
        margin: 8rem 0 5rem;
    }

    .top_column_latest_swiper {
        padding: 0 0 0 20rem !important;
    }

    .top_column_latest_pagination {
        padding: 0 0 0 20rem;
        bottom: -5rem !important;
    }

    /* Top Page Column Attention Card */
    .top_column_attention_card a::before {
        bottom: 15px;
        right: 20px;
    }

    /* News Section */
    .top_news {
        border-radius: 0 0 0 10rem;
    }

    .top_news_title {
        font-size: 7rem;
        padding: 10rem 0 0 10rem;
    }

    .top_news_title span {
        font-size: 2.4rem;
    }

    .top_news_item {
        padding: 2.5rem 0;
    }

    .top_news_date {
        font-size: 1.8rem;
    }

    .top_news_headline {
        font-size: 2rem;
    }

    .top_news_category {
        font-size: 1.4rem;
    }
}

/* ============================================
   Outline Section
   ============================================ */
.outline_section .outline_title {
    text-align: center;
    padding: 5rem 3rem 0;
}

.outline_content {
    max-width: 840px;
    margin: 5rem auto 0;
    padding: 0 3rem;
    color: #fff;
}

.outline_table {
    width: 100%;
    border-collapse: collapse;
}

.outline_row {
    border-bottom: 1px solid #e0e0e0;
}

.outline_row:last-child {
    border-bottom: none;
}

.outline_label {
    padding: 2rem 2rem 2rem 0;
    text-align: left;
    width: 30%;
}

.outline_value {
    padding: 2rem 0;
}

.outline_link {
    color: #4A70E0;
    text-decoration: underline;
    font-size: 1.4rem;
    transition: opacity 0.3s ease;
}

.outline_link:hover {
    opacity: 0.7;
}

/* Outline Responsive */
@media (min-width: 960px) {
    .outline_section .outline_title {
        padding: 10rem 3rem 0;
    }

    .outline_content {
        margin-top: 8rem;
        padding: 0 10rem;
    }

}

@media (min-width: 1025px) {

    /* Top Page */
    .top_mainvisual_column-1 .top_mainvisual_item,
    .top_mainvisual_column-2 .top_mainvisual_item,
    .top_mainvisual_column-3 .top_mainvisual_item {
        width: calc((100vw - 4rem) / 3.5);
    }
}

/* ============================================
   Single Column Page
   ============================================ */
.single_column {
    max-width: 120rem;
    margin: 0 auto;
    padding: var(--padding-mobile);
}

/* パンくずリスト */
.single_column_breadcrumb {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.single_column_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single_column_breadcrumb a:hover {
    color: #333;
}

.single_column_breadcrumb_separator {
    color: #999;
}

.single_column_breadcrumb_current {
    color: #333;
}

/* 記事ヘッダー */
.single_column_header {
    margin-bottom: 3rem;
}

.single_column_meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.single_column_category {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    padding: 0.5rem 1.5rem;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single_column_category:hover {
    background-color: #e8e8e8;
    color: #000;
}

.single_column_date {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
}

.single_column_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* アイキャッチ画像 */
.single_column_eyecatch {
    margin-bottom: 4rem;
    border-radius: 2rem;
    overflow: hidden;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.single_column_eyecatch_image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 記事本文 */
.single_column_content {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 6rem;
}

.single_column_content p {
    margin: 0 0 2rem 0;
}

.single_column_content h2 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 4rem 0 2rem 0;
    line-height: 1.4;
}

.single_column_content h3 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.4;
}

.single_column_content ul,
.single_column_content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.single_column_content li {
    margin-bottom: 1rem;
}

.single_column_content ul {
    list-style-type: disc;
}

.single_column_content ol {
    list-style-type: decimal;
}

.single_column_content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 1rem;
}

/* 動画・埋め込み要素のセンター揃え */
.single_column_content video,
.single_column_content iframe,
.single_column_content embed,
.single_column_content .wp-video,
.single_column_content .wp-block-embed,
.single_column_content .wp-block-embed__wrapper,
.single_column_content .wp-embedded-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 1rem;
}

.single_column_content .wp-block-embed {
    text-align: center;
}

.single_column_content .wp-block-embed iframe {
    margin: 0 auto;
}

/* 埋め込み動画のアスペクト比を保持 */
.single_column_content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.single_column_content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.single_column_content_image {
    margin: 3rem 0;
    max-width: 100%;
}

.single_column_content_image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    margin: 0;
}

/* 前後記事ナビゲーション */
.single_column_navigation {
    display: flex;
    gap: 2rem;
    margin-bottom: 6rem;
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.single_column_navigation_prev,
.single_column_navigation_next {
    flex: 1;
}

.single_column_navigation_link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single_column_navigation_link:hover {
    opacity: 0.7;
}

.single_column_navigation_label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.single_column_navigation_title {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #333;
    display: block;
    line-height: 1.5;
}

.single_column_navigation_next {
    text-align: right;
}

/* 関連記事 */
.single_column_related {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.single_column_related_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3rem 0;
}

.single_column_related_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.single_column_related_item {
    margin: 0;
}

.single_column_related_link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single_column_related_link:hover {
    opacity: 0.7;
}

.single_column_related_image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.single_column_related_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single_column_related_content {
    padding: 0 1rem;
}

.single_column_related_date {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.single_column_related_title_item {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* Single Column Page Responsive */
@media (min-width: 768px) {
    .single_column {
        padding: var(--padding-tablet);
    }

    .single_column_title {
        font-size: 4rem;
    }

    .single_column_content {
        font-size: 1.8rem;
    }

    .single_column_content h2 {
        font-size: 3rem;
    }

    .single_column_content h3 {
        font-size: 2.4rem;
    }

    .single_column_related_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 960px) {
    .single_column {
        padding: var(--padding-desktop);
    }

    .single_column_title {
        font-size: 5rem;
    }

    .single_column_content {
        font-size: 2rem;
        max-width: 100rem;
        margin-left: auto;
        margin-right: auto;
    }

    .single_column_content h2 {
        font-size: 3.5rem;
    }

    .single_column_content h3 {
        font-size: 2.8rem;
    }

    .single_column_related_title {
        font-size: 3rem;
    }
}

/* ============================================
   Single News Page
   ============================================ */
.single_news {
    max-width: 120rem;
    margin: 0 auto;
    padding: var(--padding-mobile);
}

.single_news_breadcrumb {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single_news_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single_news_breadcrumb a:hover {
    color: #5B3F7D;
}

.single_news_breadcrumb_separator {
    color: #999;
}

.single_news_breadcrumb_current {
    color: #333;
}

.single_news_header {
    margin-bottom: 3rem;
}

.single_news_meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.single_news_category {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    padding: 0.5rem 1.5rem;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single_news_category:hover {
    background-color: #e8e8e8;
    color: #000;
}

.single_news_date {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
}

.single_news_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.single_news_eyecatch {
    margin: 3rem 0;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.single_news_eyecatch_image {
    width: 100%;
    height: auto;
    display: block;
}

/* アイキャッチ画像がない場合の調整 */
.single_news_header {
    margin-bottom: 3rem;
}

.single_news_header + .single_news_content {
    margin-top: 0;
}

.single_news_content {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
}

.single_news_content p {
    margin: 2rem 0;
}

.single_news_content h2 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 3rem 0 2rem;
    line-height: 1.5;
}

.single_news_content h3 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 2.5rem 0 1.5rem;
    line-height: 1.5;
}

.single_news_content ul,
.single_news_content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.single_news_content li {
    margin-bottom: 1rem;
}

.single_news_content ul {
    list-style-type: disc;
}

.single_news_content ol {
    list-style-type: decimal;
}

.single_news_content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 1rem;
}

/* 動画・埋め込み要素のセンター揃え */
.single_news_content video,
.single_news_content iframe,
.single_news_content embed,
.single_news_content .wp-video,
.single_news_content .wp-block-embed,
.single_news_content .wp-block-embed__wrapper,
.single_news_content .wp-embedded-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 1rem;
}

.single_news_content .wp-block-embed {
    text-align: center;
}

.single_news_content .wp-block-embed iframe {
    margin: 0 auto;
}

/* 埋め込み動画のアスペクト比を保持 */
.single_news_content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.single_news_content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.single_news_content_image {
    margin: 3rem 0;
    max-width: 100%;
}

.single_news_content_image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
}

.single_news_navigation {
    display: flex;
    gap: 2rem;
    margin: 5rem 0;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.single_news_navigation_prev,
.single_news_navigation_next {
    flex: 1;
}

.single_news_navigation_link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single_news_navigation_link:hover {
    opacity: 0.7;
}

.single_news_navigation_label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.single_news_navigation_title {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #333;
    display: block;
}

.single_news_navigation_next {
    text-align: right;
}

.single_news_related {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.single_news_related_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.single_news_related_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.single_news_related_item {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single_news_related_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single_news_related_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.single_news_related_link:hover {
    text-decoration: none;
}

.single_news_related_image {
    width: 100%;
    height: 20rem;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.single_news_related_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single_news_related_content {
    padding: 0 1rem;
}

.single_news_related_date {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.single_news_related_title_item {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* Single News Page Responsive */
@media (min-width: 768px) {
    .single_news {
        padding: var(--padding-tablet);
    }

    .single_news_title {
        font-size: 4rem;
    }

    .single_news_content {
        font-size: 1.8rem;
    }

    .single_news_content h2 {
        font-size: 3rem;
    }

    .single_news_content h3 {
        font-size: 2.4rem;
    }

    .single_news_related_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 960px) {
    .single_news {
        padding: var(--padding-desktop);
    }

    .single_news_title {
        font-size: 5rem;
    }

    .single_news_content {
        font-size: 2rem;
        max-width: 80rem;
        margin-left: auto;
        margin-right: auto;
    }

    .single_news_content h2 {
        font-size: 3.5rem;
    }

    .single_news_content h3 {
        font-size: 2.8rem;
    }

    .single_news_related_title {
        font-size: 3rem;
    }
}

/* ============================================
   Privacy Policy Page
   ============================================ */
.page_privacy {
    max-width: 120rem;
    margin: 0 auto;
    padding: var(--padding-mobile);
}

.page_privacy_breadcrumb {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page_privacy_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page_privacy_breadcrumb a:hover {
    color: #5B3F7D;
}

.page_privacy_breadcrumb_separator {
    color: #999;
}

.page_privacy_breadcrumb_current {
    color: #333;
}

.page_privacy_header {
    margin-bottom: 4rem;
}

.page_privacy_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.page_privacy_content {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
}

.page_privacy_content > p:first-child {
    margin-bottom: 3rem;
}

.page_privacy_section {
    margin-bottom: 4rem;
}

.page_privacy_section_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.page_privacy_section p {
    margin: 1.5rem 0;
}

.page_privacy_section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page_privacy_section li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.page_privacy_section a {
    color: #5B3F7D;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page_privacy_section a:hover {
    color: #8A4AE0;
}

.page_privacy_contact {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 1rem;
}

.page_privacy_contact dt {
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.page_privacy_contact dt:first-child {
    margin-top: 0;
}

.page_privacy_contact dd {
    margin: 0 0 1rem 0;
    padding-left: 1rem;
}

/* Privacy Policy Page Responsive */
@media (min-width: 768px) {
    .page_privacy {
        padding: var(--padding-tablet);
    }

    .page_privacy_title {
        font-size: 4rem;
    }

    .page_privacy_content {
        font-size: 1.8rem;
    }

    .page_privacy_section_title {
        font-size: 2.4rem;
    }
}

@media (min-width: 960px) {
    .page_privacy {
        padding: var(--padding-desktop);
    }

    .page_privacy_title {
        font-size: 5rem;
    }

    .page_privacy_content {
        font-size: 2rem;
        max-width: 80rem;
        margin-left: auto;
        margin-right: auto;
    }

    .page_privacy_section_title {
        font-size: 2.8rem;
    }
}

/* ============================================
   Price Page
   ============================================ */
.page_price {
    max-width: 120rem;
    margin: 0 auto 20rem;
    padding: calc(5.5rem + 5rem) 2rem 0;
}

.page_price_message{
    margin: 1rem 0 5rem
}

.page_price_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #5B3F7D;
    text-align: center;
    margin: 0 0 6rem 0;
    line-height: 1.2;
}

.page_price_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 0.5rem;
}


.page_price_tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-bottom: none;
    background-color: transparent;
}

.page_price_tab {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-block;
    border-radius: 2rem 2rem 0 0;
    font-weight: 500;
    flex: 0 0 calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
    text-align: center;
    box-sizing: border-box;
}

.page_price_tab:hover {
    color: #5B3F7D;
    background-color: #f5f5f5;
}

.page_price_tab_active {
    color: #ffffff;
    background: var(--gradient-primary);
    font-weight: 600;
    position: relative;
}

.page_price_tab_active:hover {
    color: #ffffff;
    background: var(--gradient-primary-hover);
}

.page_price_content {
    max-width: 100rem;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 4rem;
    border-radius: 0 3rem 3rem 3rem;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page_price_content_wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: flex-start;
    box-sizing: border-box;
}

.page_price_tab_content {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: none;
    box-sizing: border-box;
}

.page_price_tab_content_active {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}

.page_price_campaign {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 4rem;
    text-align: center;
}

.page_price_campaign_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.page_price_campaign_note {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    margin: 0;
    opacity: 0.9;
}

.page_price_section {
    margin-bottom: 5rem;
    width: 100%;
    max-width: 100%;
}

.page_price_section_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3rem 0;
    line-height: 1.5;
}

.page_price_subsection {
    margin-bottom: 4rem;
}

.page_price_subsection_title {
    font-weight: bold;
}

.page_price_table {
    width: 100%;
    margin-bottom: 3rem;
}

.page_price_row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 3fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: start;
}

.page_price_row:last-child {
    border-bottom: none;
}


.page_price_cell_service {
    font-weight: 600;
}

.page_price_cell_amount {
    font-weight: 700;
    color: #5B3F7D;
    white-space: nowrap;
}

.page_price_example_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.page_price_example_section {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page_price_example_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 2rem 0;
}

.page_price_example_table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page_price_example_row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.page_price_example_row:last-child {
    border-bottom: none;
}

.page_price_example_cell {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
}

.page_price_example_cell_service {
    font-weight: 500;
}

.page_price_example_cell_amount {
    font-weight: 700;
    color: #5B3F7D;
    text-align: right;
}

.page_price_example_row_highlight {
    background-color: #fff3cd;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.page_price_example_row_total {
    background-color: #5B3F7D;
    color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.page_price_example_row_total .page_price_example_cell {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

/* 保守プラン */
.page_price_maintenance_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.page_price_maintenance_section {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 1rem;
    border: 2px solid #e0e0e0;
}

.page_price_maintenance_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
}

.page_price_maintenance_amount {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #5B3F7D;
    margin: 0 0 1.5rem 0;
}

.page_price_maintenance_description {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
    margin: 0 0 2rem 0;
}

.page_price_maintenance_table {
    width: 100%;
    margin-top: 2rem;
}

.page_price_maintenance_row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: start;
}

.page_price_maintenance_row:last-child {
    border-bottom: none;
}

.page_price_maintenance_cell {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
}

.page_price_maintenance_cell:first-child {
    font-weight: 600;
}

.page_price_maintenance_cell:last-child {
    color: #666;
}

/* プラン比較表 */
.page_price_plan_comparison {
    margin-bottom: 5rem;
    overflow-x: auto;
}

.page_price_plan_comparison_table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page_price_plan_comparison_row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e0e0e0;
}

.page_price_plan_comparison_row:last-child {
    border-bottom: none;
}

.page_price_plan_comparison_row.page_price_plan_comparison_header {
    background-color: #5B3F7D;
    color: #ffffff;
    font-weight: 700;
}

.page_price_plan_comparison_cell {
    padding: 1.5rem 2rem;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: center;
    border-right: 1px solid #e0e0e0;
}

.page_price_plan_comparison_cell:last-child {
    border-right: none;
}

.page_price_plan_comparison_row.page_price_plan_comparison_header .page_price_plan_comparison_cell {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.8rem;
}

.page_price_plan_comparison_row.page_price_plan_comparison_header .page_price_plan_comparison_cell:last-child {
    border-right: none;
}

.page_price_plan_comparison_label {
    background-color: #f9f9f9;
    font-weight: 600;
    text-align: left;
    color: #333;
}

.page_price_plan_comparison_row.page_price_plan_comparison_header .page_price_plan_comparison_label {
    background-color: transparent;
    color: #ffffff;
    text-align: center;
}

.page_price_plan_comparison_plan {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page_price_plan_comparison_plan_name {
    font-size: 1.8rem;
    font-weight: 700;
}

.page_price_plan_comparison_plan_desc {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.4;
}

.page_price_plan_comparison_note {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
    margin-top: 1.5rem;
    text-align: center;
}

/* 各プランの詳細説明 */
.page_price_plan_details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 6rem;
    margin-bottom: 5rem;
}

.page_price_plan_detail_section {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid #e0e0e0;
}

.page_price_plan_detail_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.page_price_plan_detail_price {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.page_price_plan_detail_amount {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #5B3F7D;
    margin-left: 1rem;
}

.page_price_plan_detail_description {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    margin: 0 0 2rem 0;
    font-weight: 600;
}

.page_price_plan_detail_features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page_price_plan_detail_features li {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.page_price_plan_detail_features li:last-child {
    border-bottom: none;
}

.page_price_plan_detail_features li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #5B3F7D;
    font-weight: 700;
}

/* Price Page Responsive */
@media (min-width: 1024px) {
    .page_price_tab {
        flex: 0 0 auto;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .page_price {
        padding: var(--padding-tablet);
    }

    .page_price_title {
        font-size: 6rem;
        margin-bottom: 8rem;
    }

    .page_price_title span {
        font-family: var(--font-zen-kaku-gothic-new), sans-serif;
        font-size: 2.4rem;
    }

    .page_price_section_title {
        font-size: 2.8rem;
    }

    .page_price_subsection_title {
        font-size: 2.4rem;
    }

    .page_price_row {
        grid-template-columns: 2fr 1.5fr 3fr;
    }

    .page_price_example_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .page_price_maintenance_container {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

    .page_price_plan_details {
        grid-template-columns: repeat(2, 1fr);
    }

    .page_price_content {
        padding: 5rem;
    }
}

@media (min-width: 960px) {
    .page_price {
        padding: var(--padding-desktop);
    }

    .page_price_title {
        font-size: 7rem;
        margin-bottom: 10rem;
    }

    .page_price_title span {
        font-family: var(--font-zen-kaku-gothic-new), sans-serif;
        font-size: 2.8rem;
    }

    .page_price_section_title {
        font-size: 3rem;
    }

    .page_price_subsection_title {
        font-size: 2.6rem;
    }

    .page_price_example_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .page_price_maintenance_container {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }

    .page_price_plan_details {
        grid-template-columns: repeat(2, 1fr);
    }

    .page_price_maintenance_row {
        grid-template-columns: 1fr 2fr;
    }
}

/* Price Page - モバイルスタイル */
@media (max-width: 767px) {
    .page_price_tabs {
        margin-bottom: 0;
    }

    .page_price_tab {
        padding: 1.2rem 2rem;
        font-size: 1.4rem;
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
        flex: 0 0 calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
    }

    .page_price_content {
        padding: 2rem;
        border-radius: 0.5rem;
        overflow-x: hidden;
    }

    .page_price_content_wrapper {
        transform: none !important;
    }

    .page_price_tab_content {
        position: relative !important;
        min-width: 100% !important;
        width: 100% !important;
    }

    .page_price_tab_content:not(.page_price_tab_content_active) {
        display: none;
    }
}

.page_price_row {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.page_price_cell_amount {
    white-space: normal;
}

.page_price_example_row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.page_price_example_cell_amount {
    text-align: left;
}

.page_price_maintenance_row {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.page_price_plan_comparison_table {
    min-width: 100%;
}

.page_price_plan_comparison_row {
    grid-template-columns: 1fr;
}

.page_price_plan_comparison_cell {
    padding: 1rem;
    font-size: 1.4rem;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.page_price_plan_comparison_cell:last-child {
    border-bottom: none;
}

.page_price_plan_comparison_row.page_price_plan_comparison_header {
    display: none;
}

.page_price_plan_comparison_label {
    background-color: #5B3F7D;
    color: #ffffff;
    font-weight: 700;
    padding: 1.5rem;
    margin-top: 1rem;
}

.page_price_plan_comparison_label:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .page_price_tab {
        flex: 0 0 auto;
        max-width: none;
        padding: 1.5rem 3rem;
        font-size: 1.6rem;
        border-radius: 2rem 2rem 0 0;
        margin-bottom: 0;
    }

    .page_price_content {
        padding: 4rem;
        border-radius: 0 3rem 3rem 3rem;
    }

    .page_price_content_wrapper {
        transform: none !important;
    }

    .page_price_tab_content {
        position: relative !important;
        min-width: 100% !important;
        width: 100% !important;
        display: none;
    }

    .page_price_tab_content_active {
        display: block;
    }
}

/* ============================================
   Single Works Page
   ============================================ */
.single_works {
    max-width: 120rem;
    margin: 0 auto;
    padding: var(--padding-mobile);
}

/* パンくずリスト */
.single_works_breadcrumb {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.single_works_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single_works_breadcrumb a:hover {
    color: #333;
}

.single_works_breadcrumb_separator {
    color: #999;
}

.single_works_breadcrumb_current {
    color: #333;
}

/* 記事ヘッダー */
.single_works_header {
    margin-bottom: 3rem;
}

.single_works_meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.single_works_category {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    padding: 0.5rem 1.5rem;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single_works_category:hover {
    background-color: #e8e8e8;
    color: #000;
}

.single_works_date {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    color: #666;
}

.single_works_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* アイキャッチ画像 */
.single_works_eyecatch {
    margin-bottom: 4rem;
    border-radius: 2rem;
    overflow: hidden;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.single_works_eyecatch_image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* カスタムフィールド情報 */
.single_works_meta_info {
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: #f5f5f5;
    border-radius: 2rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.single_works_meta_list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.single_works_meta_item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.single_works_meta_label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.single_works_meta_value {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.single_works_meta_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    line-height: 1.8;
}

.single_works_tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 1.6rem;
    font-size: 1.4rem;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.single_works_tag:hover {
    background-color: #f8f8f8;
    border-color: #bbb;
}

/* 記事本文 */
.single_works_content {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 6rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.single_works_content p {
    margin: 0 0 2rem 0;
}

.single_works_content h2 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 4rem 0 2rem 0;
    line-height: 1.4;
}

.single_works_content h3 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.4;
}

.single_works_content ul,
.single_works_content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.single_works_content li {
    margin-bottom: 1rem;
}

.single_works_content ul {
    list-style-type: disc;
}

.single_works_content ol {
    list-style-type: decimal;
}

.single_works_content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 1rem;
}

/* 動画・埋め込み要素のセンター揃え */
.single_works_content video,
.single_works_content iframe,
.single_works_content embed,
.single_works_content .wp-video,
.single_works_content .wp-block-embed,
.single_works_content .wp-block-embed__wrapper,
.single_works_content .wp-embedded-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 1rem;
}

.single_works_content .wp-block-embed {
    text-align: center;
}

.single_works_content .wp-block-embed iframe {
    margin: 0 auto;
}

/* 埋め込み動画のアスペクト比を保持 */
.single_works_content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.single_works_content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.single_works_content_image {
    margin: 3rem 0;
    max-width: 100%;
}

.single_works_content_image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    margin: 0;
}

/* 前後記事ナビゲーション */
.single_works_navigation {
    display: flex;
    gap: 2rem;
    margin-bottom: 6rem;
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.single_works_navigation_prev,
.single_works_navigation_next {
    flex: 1;
}

.single_works_navigation_link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single_works_navigation_link:hover {
    opacity: 0.7;
}

.single_works_navigation_label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.single_works_navigation_title {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #333;
    display: block;
    line-height: 1.5;
}

.single_works_navigation_next {
    text-align: right;
}

/* 関連実績 */
.single_works_related {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.single_works_related_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3rem 0;
}

.single_works_related_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.single_works_related_item {
    margin: 0;
}

.single_works_related_link {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single_works_related_link:hover {
    opacity: 0.7;
}

.single_works_related_image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.single_works_related_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single_works_related_content {
    padding: 0 1rem;
}

.single_works_related_date {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.single_works_related_title_item {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* Single Works Page Responsive */
@media (min-width: 768px) {
    .single_works {
        padding: var(--padding-tablet);
    }

    .single_works_title {
        font-size: 4rem;
    }

    .single_works_content {
        font-size: 1.8rem;
    }

    .single_works_content h2 {
        font-size: 3rem;
    }

    .single_works_content h3 {
        font-size: 2.4rem;
    }

    .single_works_meta_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .single_works_related_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 960px) {
    .single_works {
        padding: var(--padding-desktop);
    }

    .single_works_title {
        font-size: 5rem;
    }

    .single_works_content {
        font-size: 2rem;
    }

    .single_works_content h2 {
        font-size: 3.5rem;
    }

    .single_works_content h3 {
        font-size: 2.8rem;
    }

    .single_works_related_title {
        font-size: 3rem;
    }
}

/* ============================================
   Archive Column Page
   ============================================ */
.archive_column {
    background: linear-gradient(to right, #272640 0%, #42354F 18%, #222536 36%, #19212E 71%, #3E3844 100%);
    background-size: 200% 200%;
    background-position: var(--bg-x, 0%) var(--bg-y, 50%);
    width: 100%;
    transition: var(--transition-slow);
    margin: 5rem 0 20rem;
    padding-bottom: 10rem;
    border-radius: 0 0 5rem 5rem;
    position: relative;
    overflow: hidden;
}

.archive_column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 500px at calc(50% + var(--gradient-x, 0%)) calc(50% + var(--gradient-y, 0%)), rgba(66, 53, 79, var(--gradient-opacity, 0.6)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: scale(var(--gradient-scale, 1));
    will-change: transform, background;
}

.archive_column_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: bold;
    color: #fff;
    line-height: .4;
    padding: 10rem 0 0;
    transition: var(--transition-slow);
    text-align: center;
}

.archive_column_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.5rem;
    font-weight: initial;
    transition: var(--transition-slow);
}

.archive_column_attention {
    width: 100%;
    overflow: hidden;
    padding: 10rem 0;
}

.archive_column_attention_heading {
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
    margin: 0 0 2rem;
    padding: 0 0 0 3rem;
    transition: var(--transition-slow);
}

.archive_column_attention_swiper {
    padding: 0 3rem 2rem;
    overflow: visible;
    transform: .5s;
    max-width: 1300px;
}

.archive_column_attention_grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive_column_attention_card a {
    display: block;
    overflow: hidden;
    border-radius: 2rem;
    position: relative;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.archive_column_grid_item:hover,
.archive_column_attention_card a:hover {
    transform: translateY(-10px);
}

/* WordPressのアイキャッチ画像用スタイル */
.archive_column_attention_card a img,
.archive_column_attention_card a .archive_column_attention_thumbnail,
.archive_column_attention_card a img.wp-post-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: url('../img/post-image-mask.png');
    -webkit-mask-size: cover;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/post-image-mask.png');
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    position: relative;
}

.archive_column_attention_card a::before {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    box-sizing: border-box;
    transition: var(--transition-slow);
    z-index: 2;
}

.archive_column_attention_pagination {
    position: relative;
    margin-top: 3rem;
    display: flex;
    gap: 0.8rem;
    padding: 0 3rem;
    bottom: -25px !important;
    transition: var(--transition-slow);
}

.archive_column_attention_pagination .swiper-pagination-bullet {
    width: clamp(3rem, 8vw, 6rem);
    height: 0.4rem;
    border-radius: 0.2rem;
    background-color: #666;
    opacity: 1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.archive_column_attention_pagination .swiper-pagination-bullet-active {
    background: var(--gradient-primary-90);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

.archive_column_attention_viewmore {
    margin: 5rem 0 0 auto;
    padding: 0 3rem;
    text-align: center;
    width: fit-content;
}

.archive_column_attention_viewmore_button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background-color: #fff;
    color: #5B3F7D;
    text-decoration: none;
    border-radius: 999px;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.archive_column_attention_viewmore_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.archive_column_attention_viewmore_dot {
    display: inline-block;
    font-size: 0.8rem;
    color: #5B3F7D;
    line-height: 1;
}

/* フィルター/カテゴリー */
.archive_column_filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 3rem;
    margin: 5rem 0;
    align-items: center;
}

.archive_column_filter_row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.archive_column_filter_button {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.archive_column_filter_button:hover {
    background-color: #e8e8e8;
    color: #000;
    text-decoration: none;
}

.archive_column_filter_button_active {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 500;
}

.archive_column_filter_button_active:hover {
    background: linear-gradient(135deg, #6B4F8D 0%, #5669A5 100%);
    color: #ffffff;
    text-decoration: none;
}

/* コンテンツリスト */
.archive_column_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 3rem;
    margin: 5rem 0;
}

.archive_column_grid_item {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    transition: transform 0.3s ease;
}

.archive_column_grid_item a {
    display: block;
    width: 100%;
    height: 100%;
}

/* WordPressのアイキャチ画像用スタイル */
.archive_column_grid_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
    transition: transform 0.3s ease;
    -webkit-mask-image: url('../img/post-image-mask.png');
    -webkit-mask-size: cover;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/post-image-mask.png');
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    position: relative;
}

.archive_column_grid_item::after {
    content: '';
    position: absolute;
    bottom: 4%;
    right: 0%;
    width: 9%;
    height: 14%;
    background-color: #fff;
    border-radius: 50%;
    z-index: 2;
}

/* ページネーション */
.archive_column_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 5rem 0;
    padding: 0 3rem;
}

.archive_column_pagination_button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    background-color: #ffffff;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.archive_column_pagination_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.archive_column_pagination_button_prev,
.archive_column_pagination_button_next {
    background-color: #ffffff;
    color: #999;
    position: relative;
}

.archive_column_pagination_button_prev::before {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../img/archive_column_pagination_button_pre.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.archive_column_pagination_button_next::before {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../img/archive_column_pagination_button_next.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.archive_column_pagination_button_prev:hover,
.archive_column_pagination_button_next:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.archive_column_pagination_button_prev:hover::before,
.archive_column_pagination_button_next:hover::before {
    opacity: 0.8;
}

.archive_column_pagination_button_number {
    background-color: #ffffff;
    color: #333;
}

.archive_column_pagination_button_number:hover {
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
}

.archive_column_pagination_button_number.archive_column_pagination_button_active {
    background-color: #5C4B8B;
    color: #ffffff;
}

.archive_column_pagination_button_number.archive_column_pagination_button_active:hover {
    background-color: #5C4B8B;
    color: #ffffff;
}

.archive_column_pagination_button_disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Archive News Page */
.archive_news {
    max-width: 120rem;
    margin: 0 auto 20rem;
    padding: calc(5.5rem + 5rem) 2rem 0;
}

.archive_news_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #5B3F7D;
    text-align: center;
    margin: 0 0 6rem 0;
    line-height: 1.2;
}

.archive_news_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 0.5rem;
}

.archive_news_list {
    padding: 5rem 0 0 0rem;
    max-width: 1000px;
    margin: 0 auto 5rem;
}

/* フィルター/カテゴリー */
.archive_news_filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
    margin: 0 0 4rem 0;
    align-items: center;
}

.archive_news_filter_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.archive_news_filter_list li {
    margin: 0;
    padding: 0;
}

.archive_news_filter_button {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.archive_news_filter_button:hover {
    background-color: #e8e8e8;
    color: #000;
    text-decoration: none;
}

.archive_news_filter_button_active {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 500;
}

.archive_news_filter_button_active:hover {
    background: linear-gradient(135deg, #6B4F8D 0%, #5669A5 100%);
    color: #ffffff;
    text-decoration: none;
}

.archive_news_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 5rem 0;
    padding: 0 3rem;
}

.archive_news_pagination_button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    background-color: #ffffff;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.archive_news_pagination_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.archive_news_pagination_button_prev,
.archive_news_pagination_button_next {
    background-color: #ffffff;
    color: #999;
    position: relative;
}

.archive_news_pagination_button_prev::before {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../img/archive_column_pagination_button_pre.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.archive_news_pagination_button_next::before {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url('../img/archive_column_pagination_button_next.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.archive_news_pagination_button_prev:hover,
.archive_news_pagination_button_next:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.archive_news_pagination_button_prev:hover::before,
.archive_news_pagination_button_next:hover::before {
    opacity: 0.8;
}

.archive_news_pagination_button_number {
    background-color: #ffffff;
    color: #333;
}

.archive_news_pagination_button_number:hover {
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
}

.archive_news_pagination_button_number.archive_news_pagination_button_active {
    background-color: #5C4B8B;
    color: #ffffff;
}

.archive_news_pagination_button_number.archive_news_pagination_button_active:hover {
    background-color: #5C4B8B;
    color: #ffffff;
}

.archive_news_pagination_button_dots {
    background-color: #ffffff;
    color: #999;
    cursor: default;
    pointer-events: none;
}

.archive_news_pagination_button_disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Archive News Page Responsive */
@media (min-width: 768px) {
    .archive_news {
        padding: calc(6rem + 8rem) 3rem 0;
    }

    .archive_news_title {
        font-size: 6rem;
        margin-bottom: 8rem;
    }

    .archive_news_title span {
        font-size: 2.4rem;
    }

    .archive_news_pagination {
        padding: 0 10rem;
    }
}

@media (min-width: 960px) {
    .archive_news {
        padding: calc(8rem + 10rem) 4rem 0;
    }

    .archive_news_title {
        font-size: 7rem;
        margin-bottom: 10rem;
    }

    .archive_news_title span {
        font-size: 2.8rem;
    }

    .archive_news_pagination {
        padding: 0 10rem;
    }

    /* Archive Column Attention Card */
    .archive_column_attention_card a::before {
        bottom: 15px;
        right: 20px;
    }
}

/* Archive Column Page Responsive */
@media (min-width: 640px) {
    .archive_column_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive_column_attention_card a::before {
        bottom: 15px;
        right: 20px;
    }
}

@media (min-width: 768px) {

    .archive_column_title{
        font-size: 7rem;
    }

    .archive_column_attention_heading {
        font-size: 6rem;
        padding: 0 0 0 10rem;
        margin: 8rem 0 5rem;
    }

    .archive_column_attention_swiper {
        padding: 0 0 0 10rem !important;
    }

    .archive_column_attention_pagination {
        padding: 0 0 0 10rem;
        bottom: -5rem !important;
    }

    .archive_column_filter {
        padding: 0 10rem;
        margin: 8rem 0;
    }

    .archive_column_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        padding: 0 10rem;
        margin: 8rem 0;
    }
}


/* ============================================
   About Page
   ============================================ */
.about_content {
    padding: 10rem 2rem 10rem;
    max-width: 120rem;
    margin: 0 auto;
    min-height: calc(100vh - 5.5rem);
    padding-top: calc(5.5rem + 5rem);
}

.about_card {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b3d 50%, #1a1f3a 100%);
    border-radius: 2rem;
    padding: 5rem 3rem;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about_section {
    margin-bottom: 15rem;
}

.about_section:first-child{
    margin-bottom: 10rem;
    text-align: center;
}

.about_section:last-child {
    margin-bottom: 0;
}

.about_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.about_subtitle {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.about_section_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.about_section_subtitle {
    margin: 0 0 2rem 0;
}

.about_section_main_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.about_section_description {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 5rem 0 10rem;
}

.about_section_description p {
    margin: 0 0 1.5rem 0;
}

.about_section_description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   About（冒頭）アニメーション
   - 文字そのものは動かさず、色/発光/波打つハイライトで演出
   ============================================ */
.about_intro {
    position: relative;
}

.about_intro p {
    position: relative;
}

/* 波打つハイライト（下地だけが流れる） */
.about_intro_wave {
    position: relative;
    display: inline;
    padding: 0.08em 0.18em;
    isolation: isolate;
}



/* EMMの3ワード：色が流れるバッジ */

.about_intro_tag--memory {
    animation-delay: -2s;
}

.about_intro_tag--mission {
    animation-delay: -4s;
}

@keyframes aboutIntroTagFlow {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 18px rgba(255, 110, 231, 0.14);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* キーフレーズ：色がにじむ下線（下線が流れる） */
.about_intro_keyword {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 18px rgba(255, 236, 110, 0.12);

    /* 改行しても下線を維持（各行にクローンする） */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    /* 下線は疑似要素ではなく背景で描画（複数行対応） */
    padding: 0.02em 0.16em 0.22em;
    background-image: linear-gradient(
        90deg,
        rgba(110, 231, 255, 0.0),
        rgba(110, 231, 255, 0.9),
        rgba(255, 110, 231, 0.85),
        rgba(255, 236, 110, 0.9),
        rgba(110, 231, 255, 0.0)
    );
    background-repeat: no-repeat;
    background-size: 240% 0.18em;
    background-position: 0% 100%;
    animation: aboutIntroUnderline 3.6s ease-in-out infinite;
}

@keyframes aboutIntroUnderline {
    0% {
        background-position: 0% 100%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about_intro_wave::before,
    .about_intro_tag,
    .about_intro_keyword {
        animation: none !important;
    }
}

.about_values_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about_values_item {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.about_values_item::before {
    content: '◁';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    font-size: 0.8rem;
    color: #ffffff;
}

.about_values_item:last-child {
    margin-bottom: 0;
}

.about_company_info_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
}

.about_company_info_row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.about_company_info_row:last-child {
    border-bottom: none;
}

.about_company_info_label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 1.5rem 2rem 1.5rem 0;
    text-align: left;
    vertical-align: top;
    width: 40%;
}

.about_company_info_value {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 0;
    line-height: 1.6;
    vertical-align: top;
}

/* About Page Responsive */
@media (min-width: 768px) {
    .about_content {
        padding: 15rem 3rem 15rem;
        padding-top: calc(6rem + 8rem);
    }

    .about_card {
        padding: 7rem 5rem;
        border-radius: 3rem;
    }

    .about_title {
        font-size: 7rem;
    }

    .about_subtitle {
        font-size: 2.4rem;
    }

    .about_section_title {
        font-size: 5rem;
    }

    .about_section_subtitle {
        font-size: 2.2rem;
    }

    .about_section_main_text {
        font-size: 3.2rem;
    }

    .about_section_description {
        font-size: 1.8rem;
    }

    .about_values_item {
        font-size: 1.8rem;
    }

    .about_company_info_label {
        font-size: 1.8rem;
        padding: 2rem 3rem 2rem 0;
        width: 35%;
    }

    .about_company_info_value {
        font-size: 1.8rem;
        padding: 2rem 0;
    }
}

@media (min-width: 960px) {
    .about_content {
        padding: 20rem 4rem 20rem;
        padding-top: calc(8rem + 10rem);
    }

    .about_card {
        padding: 10rem 8rem;
        border-radius: 4rem;
    }

    .about_title {
        font-size: 9rem;
    }

    .about_subtitle {
        font-size: 2.8rem;
    }

    .about_section_title {
        font-size: 6rem;
    }

    .about_section_subtitle {
        font-size: 2.4rem;
    }

    .about_section_main_text {
        font-size: 4rem;
    }

    .about_section_description {
        font-size: 2rem;
    }

    .about_values_item {
        font-size: 2rem;
    }

    .about_company_info_label {
        font-size: 2rem;
        padding: 2.5rem 4rem 2.5rem 0;
        width: 30%;
    }

    .about_company_info_value {
        font-size: 2rem;
        padding: 2.5rem 0;
    }
}

/* ============================================
   Gallery Section
   ============================================ */
.afacad {
    font-family: "Afacad", sans-serif;
}

.gallery_content {
    margin-bottom: 20rem;
}

.gallery_content h2 {
    font-size: 10rem;
    font-weight: bold;
    text-align: center;
    margin: 15rem 0 8rem;
    color: #D9D9D9;
    transition: var(--transition-slow);
}

.gallery_image_all {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.scroll-infinity {
    width: 100%;
}

/* スクロール無限 */
.scroll-infinity__list--left {
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__list--right {
    animation: infinity-scroll-right 80s infinite linear 0.5s both;
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes infinity-scroll-right {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
}

.scroll-infinity__item {
    width: calc(100vw / 3);
}

.scroll-infinity__item>img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;
}

/* Gallery Responsive */
@media screen and (min-width: 641px) {
    .scroll-infinity__item>img {
        height: 30rem;
    }
}

@media screen and (min-width: 768px) {
    .gallery_content h2 {
        font-size: 15rem;
        margin: 20rem 0 10rem;
    }
}

@media screen and (min-width: 1025px) {
    .gallery_content h2 {
        font-size: 20rem;
        margin: 30rem 0 15rem;
    }
}

/* ============================================
   Archive Works Page
   ============================================ */
.archive_works {
    max-width: 120rem;
    margin: 0 auto 20rem;
    padding: calc(5.5rem + 5rem) 2rem 0;
}

.archive_works_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #5B3F7D;
    text-align: center;
    margin: 0 0 6rem 0;
    line-height: 1.2;
}

.archive_works_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 0.5rem;
}

/* フィルター/カテゴリー */
.archive_works_filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 2rem;
    margin: 0 0 4rem 0;
    align-items: center;
}

.archive_works_filter_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.archive_works_filter_list li {
    margin: 0;
    padding: 0;
}

.archive_works_filter_button {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.archive_works_filter_button:hover {
    background-color: #e8e8e8;
    color: #000;
    text-decoration: none;
}

.archive_works_filter_button_active {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 500;
}

.archive_works_filter_button_active:hover {
    background: linear-gradient(135deg, #6B4F8D 0%, #5669A5 100%);
    color: #ffffff;
    text-decoration: none;
}

/* Works */
.archive_works_columns {
    display: flex;
    gap: 0.5rem;
    padding: 0 2rem;
}

.archive_works_col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.archive_works_item {
    position: relative;
    border: 25px solid #333;
    border-radius: 2rem;
    background-color: #fff;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
    /* デフォルトのトランジション（FLIPで上書きもされる） */
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.archive_works_link {
    display: block;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    
    /* 高さ制御用カスタムプロパティ（デフォルトは正方形） */
    --ratio-front: 100%;      /* 通常時の高さ（%） */
    --ratio-back: 100%;       /* hover時の高さ（%） */
    --current-ratio: var(--ratio-front);
}

.archive_works_link:hover {
    --current-ratio: var(--ratio-back);
}

/* フリップコンテナ */
.archive_works_flip_container {
    perspective: 1000px;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: var(--current-ratio); /* ここがアニメーションする */
    transition: padding-top 0.6s ease;
}

/* フリップカード */
.archive_works_flip_card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.archive_works_item:hover .archive_works_flip_card {
    transform: rotateY(180deg);
}

/* 表面と裏面 */
.archive_works_flip_front,
.archive_works_flip_back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive_works_flip_front {
    z-index: 2;
}

.archive_works_flip_back {
    transform: rotateY(180deg);
}

.archive_works_flip_image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* 表面と裏面の高さを画像に合わせて自動調整 */
.archive_works_flip_card {
    min-height: fit-content;
}

.archive_works_flip_front {
    min-height: fit-content;
}

.archive_works_flip_back {
    min-height: 100%;
}

/* 1つ目の投稿は縦並び */
.archive_works_images_vertical {
    flex-direction: column;
    flex-wrap: nowrap;
}

.archive_works_images_vertical2 {
    display: flex;
    width: 100%;
    gap: 0;
    align-items: stretch;
}

.archive_works_image_image {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.archive_works_images_right {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 0;
}

.archive_works_image_image2 {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    flex: 1;
}

/* 準備中スタイル */
.archive_works_item_preparing {
    border: 25px solid #ddd;
    background-color: #f9f9f9;
    cursor: default;
}

.archive_works_preparing {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.archive_works_preparing_content {
    text-align: center;
}

.archive_works_preparing_text {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #999;
    margin: 0 0 1rem 0;
}

.archive_works_preparing_subtitle {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    margin: 0;
}

/* 詳細ページの準備中スタイル */
.single_works_preparing {
    max-width: 80rem;
    margin: 0 auto;
    padding: 10rem 2rem;
    text-align: center;
}

.single_works_preparing_content {
    background-color: #f9f9f9;
    border-radius: 2rem;
    padding: 6rem 4rem;
}

.single_works_preparing_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3rem 0;
    line-height: 1.6;
}

.single_works_preparing_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.8rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 4rem 0;
}

.single_works_preparing_button {
    display: inline-block;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-primary-90);
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single_works_preparing_button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
}



/* 縦並びの場合の画像スタイル */
.archive_works_images_vertical .archive_works_image {
    width: 100%;
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
}

.archive_works_images_vertical .archive_works_image:last-child {
    border-bottom: none;
}

/* 最大3つまで表示 */
.archive_works_images_vertical .archive_works_image:nth-child(n+4) {
    display: none;
}



/* 縦向き画像（高さ > 幅）は縦に並ぶ */
.archive_works_image[data-orientation="portrait"] {
    width: 100%;
    flex: 0 0 100%;
}

/* デフォルト（アスペクト比が不明な場合） */
.archive_works_image:not([data-orientation]) {
    width: 100%;
    flex: 0 0 100%;
}

/* 最後の画像のボーダーを削除 */
.archive_works_image:last-child {
    border-right: none;
    border-bottom: none;
}

/* 横向き画像が2つ並んだ場合、2つ目の右ボーダーを削除 */
.archive_works_image[data-orientation="landscape"]:nth-of-type(2n) {
    border-right: none;
}

/* Archive Works Responsive */
@media (min-width: 768px) {
    .archive_works {
        padding: calc(6rem + 8rem) 3rem 0;
    }

    .archive_works_title {
        font-size: 6rem;
        margin-bottom: 8rem;
    }

    .archive_works_title span {
        font-size: 2.4rem;
    }

    .archive_works_filter {
        padding: 0 3rem;
        margin: 0 0 6rem 0;
    }

}

@media (min-width: 960px) {
    .archive_works {
        padding: calc(8rem + 10rem) 4rem 0;
    }

    .archive_works_title {
        font-size: 7rem;
        margin-bottom: 10rem;
    }

    .archive_works_title span {
        font-size: 2.8rem;
    }

    .archive_works_filter {
        padding: 0 4rem;
        margin: 0 0 8rem 0;
    }

}

/* ============================================
   Gradient Animation
   ============================================ */
@keyframes gradientCircle1 {
    0% {
        transform: translate(0%, 0%) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30%, -20%) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(60%, 20%) scale(1);
        opacity: 0.6;
    }
    75% {
        transform: translate(30%, 40%) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translate(0%, 0%) scale(1);
        opacity: 0.6;
    }
}

@keyframes gradientCircle2 {
    0% {
        transform: translate(0%, 0%) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-30%, 25%) scale(1.3);
        opacity: 0.8;
    }
    50% {
        transform: translate(-60%, -15%) scale(1);
        opacity: 0.6;
    }
    75% {
        transform: translate(-30%, -40%) scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: translate(0%, 0%) scale(1);
        opacity: 0.6;
    }
}

@keyframes gradientCircle3 {
    0% {
        transform: translate(0%, 0%) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(40%, 30%) scale(1.4);
        opacity: 0.9;
    }
    66% {
        transform: translate(-40%, -30%) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translate(0%, 0%) scale(1);
        opacity: 0.6;
    }
}

/* ============================================
   Contact Page
   ============================================ */
.page_contact {
    max-width: 120rem;
    margin: 0 auto;
    padding: var(--padding-mobile);
}

.page_contact_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #5B3F7D;
    text-align: center;
    margin: 0 0 6rem 0;
    line-height: 1.2;
}

.page_contact_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 0.5rem;
}

.page_contact_inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    background: #fff;
    padding: 2rem;
    border-radius: 2rem;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.page_contact_hearing_notice {
    background-color: #f0f4ff;
    border-left: 4px solid #5B3F7D;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
}

.page_contact_hearing_notice_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin: 0;
    line-height: 1.8;
}

.page_contact_hearing_link {
    color: #5B3F7D;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page_contact_hearing_link:hover {
    color: #8A4AE0;
    text-decoration: none;
}

.page_contact_info_title,
.page_contact_form_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.page_contact_info_text,
.page_contact_form_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 3rem 0;
}

.page_contact_info_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page_contact_info_list dt {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.page_contact_info_list dt:first-child {
    margin-top: 0;
}

.page_contact_info_list dd {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    margin: 0 0 1rem 0;
    padding-left: 1rem;
    line-height: 1.8;
}

.page_contact_info_list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;

}

.page_contact_info_list a:hover {
    color: #8A4AE0;
}


.page_contact_form_simple {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page_contact_form_row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page_contact_form_row label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
}

.page_contact_form_row .required {
    color: #e74c3c;
}

.page_contact_form_row input,
.page_contact_form_row textarea {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page_contact_form_row input:invalid:not(:focus):not(:placeholder-shown),
.page_contact_form_row textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e74c3c;
}

.page_contact_form_row textarea {
    resize: vertical;
    min-height: 15rem;
}

.page_contact_form_row .form_error {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    display: none;
}

.page_contact_form_checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1.6;
}

.page_contact_form_checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.page_contact_form_checkbox a {
    color: #5B3F7D;
    text-decoration: underline;
}

.page_contact_form_checkbox a:hover {
    color: #8A4AE0;
}

.form_message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    display: none;
}

.form_message_success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form_message_error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.page_contact_form_submit {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-primary-90);
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
    margin: 1rem auto 0;
}

.page_contact_form_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 112, 224, 0.4);
}

.page_contact_form_submit_back {
    background: #f5f5f5;
    color: #333;
    margin-right: 1rem;
    text-decoration: none;
    display: inline-block;
}

.page_contact_form_submit_back:hover {
    background: #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* 確認画面・完了画面が表示されている時は他の要素を非表示 */
.page_contact_inner:has(.page_contact_confirm_screen[style*="display: block"]) .page_contact_info,
.page_contact_inner:has(.page_contact_confirm_screen[style*="display: block"]) .page_contact_hearing_notice,
.page_contact_inner:has(.page_contact_confirm_screen[style*="display: block"]) .page_contact_form_text,
.page_contact_inner:has(.page_contact_complete_screen[style*="display: block"]) .page_contact_info,
.page_contact_inner:has(.page_contact_complete_screen[style*="display: block"]) .page_contact_hearing_notice,
.page_contact_inner:has(.page_contact_complete_screen[style*="display: block"]) .page_contact_form_text,
.page_contact_inner:has(.page_contact_confirm_screen[style*="display: block"]) #contact_form,
.page_contact_inner:has(.page_contact_complete_screen[style*="display: block"]) #contact_form {
    display: none !important;
}

/* 確認画面・完了画面のスタイル */
.page_contact_confirm_screen,
.page_contact_complete_screen {
    max-width: 80rem;
    margin: 0 auto;
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page_contact_confirm_content,
.page_contact_complete_content {
    margin-top: 3rem;
}

.page_contact_confirm_list {
    margin: 0 0 4rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page_contact_confirm_list dt {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #5B3F7D;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.page_contact_confirm_list dd {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin: 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.page_contact_confirm_buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.page_contact_complete_message {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #5B3F7D;
    text-align: center;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.page_contact_complete_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    text-align: center;
    margin: 0 0 4rem 0;
    line-height: 1.8;
}

.page_contact_complete_button {
    text-align: center;
}

.page_contact_complete_button a {
    display: inline-block;
    text-decoration: none;
}

@media (min-width: 768px) {
    .page_contact {
        padding: var(--padding-tablet);
    }
    
    .page_contact_title {
        font-size: 6rem;
        margin-bottom: 8rem;
    }
    
    .page_contact_title span {
        font-size: 2.4rem;
    }
    
    .page_contact_inner {
        grid-template-columns: 1fr 1.5fr;
        gap: 6rem;
        padding: 4rem;
    }
}

@media (min-width: 960px) {
    .page_contact {
        padding: var(--padding-desktop);
    }
    
    .page_contact_title {
        font-size: 7rem;
        margin-bottom: 10rem;
    }
    
    .page_contact_title span {
        font-size: 2.8rem;
    }
}

/* ============================================
   Recruit Page
   ============================================ */
.page_recruit {
    max-width: 120rem;
    margin: 0 auto;
    padding: var(--padding-mobile);
}

.page_recruit_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #5B3F7D;
    text-align: center;
    margin: 0 0 6rem 0;
    line-height: 1.2;
}

.page_recruit_title span {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 0.5rem;
}

.page_recruit_content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 2rem;
    max-width: 100rem;
    margin: 0 auto;
}

.page_recruit_job_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 3rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #5B3F7D;
}

.page_recruit_job_sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.page_recruit_section {
    margin: 0;
}

.page_recruit_section_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #5B3F7D;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.page_recruit_section_content {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
}

.page_recruit_section_content p {
    margin: 0 0 1rem 0;
}

.page_recruit_section_content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    list-style-type: disc;
}

.page_recruit_section_content li {
    margin: 0.5rem 0;
}

.page_recruit_info_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page_recruit_info_list dt {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.page_recruit_info_list dt:first-child {
    margin-top: 0;
}

.page_recruit_info_list dd {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    margin: 0 0 1rem 0;
    padding-left: 1rem;
    line-height: 1.8;
}

.page_recruit_info_list a {
    color: #5B3F7D;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page_recruit_info_list a:hover {
    color: #8A4AE0;
}

.page_recruit_form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 0.5rem;
}

.page_recruit_form_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.page_recruit_form_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 3rem 0;
}

.page_recruit_form_simple {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page_recruit_form_row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page_recruit_form_row label {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
}

.page_recruit_form_row .required {
    color: #e74c3c;
}

.page_recruit_form_row input,
.page_recruit_form_row textarea,
.page_recruit_form_row select {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page_recruit_form_row input:invalid:not(:focus):not(:placeholder-shown),
.page_recruit_form_row textarea:invalid:not(:focus):not(:placeholder-shown),
.page_recruit_form_row select:invalid:not(:focus) {
    border-color: #e74c3c;
}

.page_recruit_form_row textarea {
    resize: vertical;
    min-height: 15rem;
}

.page_recruit_form_row .form_error {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    display: none;
}

.page_recruit_form_checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1.6;
}

.page_recruit_form_checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.page_recruit_form_checkbox a {
    color: #5B3F7D;
    text-decoration: underline;
}

.page_recruit_form_checkbox a:hover {
    color: #8A4AE0;
}

.page_recruit_form_submit {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-primary-90);
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
    margin: 1rem auto 0;
}

.page_recruit_form_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 112, 224, 0.4);
}

@media (min-width: 768px) {
    .page_recruit {
        padding: var(--padding-tablet);
    }
    
    .page_recruit_title {
        font-size: 6rem;
        margin-bottom: 8rem;
    }
    
    .page_recruit_title span {
        font-size: 2.4rem;
    }
    
}

@media (min-width: 960px) {
    .page_recruit {
        padding: var(--padding-desktop);
    }
    
    .page_recruit_title {
        font-size: 7rem;
        margin-bottom: 10rem;
    }
    
    .page_recruit_title span {
        font-size: 2.8rem;
    }
}

/* ============================================
   WordPress 一般的なコンテンツエリア
   ============================================ */
.entry-content,
.post-content,
.content {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
}

.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol,
.content ul,
.content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.entry-content ul,
.post-content ul,
.content ul {
    list-style-type: disc;
}

.entry-content ol,
.post-content ol,
.content ol {
    list-style-type: decimal;
}

.entry-content li,
.post-content li,
.content li {
    margin-bottom: 1rem;
}

/* 動画・埋め込み要素のセンター揃え */
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content .wp-video,
.entry-content .wp-block-embed,
.entry-content .wp-block-embed__wrapper,
.entry-content .wp-embedded-content,
.post-content video,
.post-content iframe,
.post-content embed,
.post-content .wp-video,
.post-content .wp-block-embed,
.post-content .wp-block-embed__wrapper,
.post-content .wp-embedded-content,
.content video,
.content iframe,
.content embed,
.content .wp-video,
.content .wp-block-embed,
.content .wp-block-embed__wrapper,
.content .wp-embedded-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 1rem;
}

.entry-content .wp-block-embed,
.post-content .wp-block-embed,
.content .wp-block-embed {
    text-align: center;
}

.entry-content .wp-block-embed iframe,
.post-content .wp-block-embed iframe,
.content .wp-block-embed iframe {
    margin: 0 auto;
}

/* 埋め込み動画のアスペクト比を保持 */
.entry-content .wp-block-embed__wrapper,
.post-content .wp-block-embed__wrapper,
.content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.entry-content .wp-block-embed__wrapper iframe,
.post-content .wp-block-embed__wrapper iframe,
.content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* ============================================
   カスタムカーソルアニメーション（レモン形状）
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 50px;
    height: 50px;
    pointer-events: none;
    z-index: 10001; /* ローディングアニメーション(z-index: 10000)より上に表示 */
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}



.cursor-lemon-svg {
    width: 100%;
    height: 100%;
    display: block;
    /* filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); */
}


.lemon-eye-sirome {
    fill: #fff;
    transition: fill 0.3s ease;
}

/* 白目の輪郭（lemon.html の wakusen 相当） */
.lemon-eye-sirome-wakusen {
    fill: none;
    stroke: #333;
    stroke-miterlimit: 10;
    transition: stroke 0.3s ease;
}

.lemon-eye-kurome-left,
.lemon-eye-kurome-right {
    fill: #000;
    transition: fill 0.3s ease, transform 0.3s ease;
    transform-origin: center;
}

.lemon-body {
    fill: #333;
    stroke: #000;
    transition: fill 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.custom-cursor.hover {
    width: 70px;
    height: 70px;
    transform: translate(-50%, -50%) scale(1.3);
    transition: transform 0.1s ease, width 0.1s ease, height 0.1s ease;
}

.custom-cursor.hover .lemon-body {
    fill: #fff;
    filter: brightness(1.2);
    transform: scale(1.05);
}

.custom-cursor.hover .lemon-eye-sirome {
    fill: #333;
}



/* 白い背景の上でhoverした場合は、レモンが黒色なのでくろめは白色のまま */
.custom-cursor.hover .lemon-eye-kurome-left,
.custom-cursor.hover .lemon-eye-kurome-right {
    fill: #fff;
}


.custom-cursor-dot {
    position: fixed;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 10001; /* ローディングアニメーション(z-index: 10000)より上に表示 */
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, transform 0.2s ease;
}

.cursor-dot-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.custom-cursor-dot.hover {
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-cursor-dot.hover .cursor-dot-svg circle {
    fill: #fff;
    stroke: #fff;
}

.cursor-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 225, 53, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: cursorRipple 0.6s ease-out forwards;
}

@keyframes cursorRipple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 225, 53, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    animation: cursorParticle 1s ease-out forwards;
    box-shadow: 0 0 4px rgba(255, 225, 53, 0.6);
}

@keyframes cursorParticle {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) translateY(-30px);
    }
}

/* タッチデバイスではカーソルを非表示 */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-dot,
    .cursor-ripple,
    .cursor-particle {
        display: none !important;
    }
}

/* ============================================
   Instagram風画像一覧モーダル
   ============================================ */
.instagram-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.instagram-gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.instagram-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.instagram-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.instagram-gallery-container.active {
    transform: scale(1);
    opacity: 1;
}

.instagram-gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background-color: transparent;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.instagram-gallery-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.instagram-gallery-header {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 3rem;
    text-align: center;
}

.instagram-gallery-title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.1em;
}

.instagram-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 1200px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem;
    box-sizing: border-box;
}

.instagram-gallery-grid::-webkit-scrollbar {
    width: 8px;
}

.instagram-gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.instagram-gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.instagram-gallery-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.instagram-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    animation: galleryItemFadeIn 0.5s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes galleryItemFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.instagram-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.instagram-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.instagram-gallery-item:hover img {
    transform: scale(1.1);
}

/* フルスクリーン表示 */
.instagram-gallery-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.instagram-gallery-fullscreen.active {
    opacity: 1;
    visibility: visible;
}

.instagram-gallery-fullscreen-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background-color: transparent;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.instagram-gallery-fullscreen-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.instagram-gallery-fullscreen img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0.5rem;
}

/* レスポンシブ対応 */
@media (min-width: 769px) {
    .instagram-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        max-height: 80vh;
    }

    .instagram-gallery-title {
        font-size: 4rem;
    }

    .instagram-gallery-close,
    .instagram-gallery-fullscreen-close {
        width: 50px;
        height: 50px;
        font-size: 2.4rem;
        top: 2rem;
        right: 2rem;
    }

    .instagram-gallery-container {
        padding: 2rem;
    }
}

/* ============================================
   IDEA検索モーダル
   ============================================ */
.idea-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.idea-modal.active {
    opacity: 1;
    visibility: visible;
}

.idea-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.idea-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.idea-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b3d 100%);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.idea-modal.active .idea-modal-content {
    transform: scale(1);
    opacity: 1;
}

.idea-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background-color: transparent;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.idea-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

/* タブ切り替え */
.idea-modal-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    gap: 0;
}

.idea-modal-tab {
    background: transparent;
    border: none;
    padding: 1.5rem 2.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    margin: 0 1rem;
    font-family: var(--font-outfit), sans-serif;
    position: relative;
}

.idea-modal-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.idea-modal-tab.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* タブコンテンツ */
.idea-tab-content {
    display: none;
}

.idea-tab-content.active {
    display: block;
}

.idea-modal-title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 2rem 0;
    text-align: center;
}

.idea-search-form {
    margin-bottom: 3rem;
}

.idea-search-input {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    margin-bottom: 2rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.idea-search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
}

.idea-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.idea-service-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 769px) {
    .idea-service-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.idea-service-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-outfit), sans-serif;
    text-decoration: none;
}

.idea-service-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-5px);
}

.idea-service-button.active {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.idea-service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idea-service-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.idea-service-name {
    font-size: 1.2rem;
    font-weight: 500;
}

.idea-results {
    margin-top: 3rem;
}

.idea-results-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.idea-results-header h3 {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.idea-view-all {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.idea-view-all:hover {
    opacity: 0.7;
}

.idea-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.idea-result-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.idea-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.idea-result-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.idea-result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.idea-result-info {
    padding: 1.5rem;
}

.idea-result-title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.idea-result-description {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.idea-loading,
.idea-error,
.idea-no-results {
    text-align: center;
    padding: 3rem;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    color: #ffffff;
}

/* レスポンシブ対応 */
@media (min-width: 769px) {
    .idea-modal-container {
        padding: 2rem;
    }

    .idea-modal-content {
        padding: 3rem;
    }

    .idea-modal-title {
        font-size: 2.5rem;
    }

    .idea-service-button {
        padding: 2rem 1.5rem;
    }

    .idea-service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .idea-service-name {
        font-size: 1.4rem;
    }

    .idea-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }

    .idea-results-header {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
}

.idea-help-button-wrapper {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.idea-help-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    color: #ffffff;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.idea-help-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: #ffffff;
}

/* ヒアリングページのスタイル */
.page_hearing {
    padding: calc(6rem + 8rem) 2rem 6rem;
    min-height: 80vh;
}

.page_hearing_content {
    max-width: 1200px;
    margin: 0 auto;
}

.page_hearing_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1B1C20;
    margin: 0 0 6rem 0;
    text-align: center;
    line-height: 1.4;
}

.page_hearing_title span {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 1rem;
    color: #666;
}

.page_hearing_inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .page_hearing_inner {
        grid-template-columns: 1fr 1.5fr;
        gap: 6rem;
    }
}

.page_hearing_info {
    background-color: #f9f9f9;
    border-radius: 2rem;
    padding: 4rem 3rem;
}

.page_hearing_info_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #1B1C20;
    margin: 0 0 2rem 0;
}

.page_hearing_info_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 2rem 0;
}

.page_hearing_form {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page_hearing_form_title {
    font-family: var(--font-outfit), sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #1B1C20;
    margin: 0 0 1rem 0;
}

.page_hearing_form_text {
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    color: #666;
    margin: 0 0 3rem 0;
}

.page_hearing_form_simple {
    margin-top: 2rem;
}

.page_hearing_form_row {
    margin-bottom: 2.5rem;
}

.page_hearing_form_row label {
    display: block;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #1B1C20;
    margin-bottom: 0.8rem;
}

.page_hearing_form_row .required {
    color: #e74c3c;
}

.page_hearing_form_row input[type="text"],
.page_hearing_form_row input[type="email"],
.page_hearing_form_row input[type="tel"],
.page_hearing_form_row select,
.page_hearing_form_row textarea {
    width: 100%;
    padding: 1.2rem;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    font-size: 1.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #1B1C20;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page_hearing_form_row input:focus,
.page_hearing_form_row select:focus,
.page_hearing_form_row textarea:focus {
    outline: none;
    border-color: #5B3F7D;
}

.page_hearing_form_row textarea {
    resize: vertical;
    min-height: 150px;
}

.page_hearing_form_row .form_error {
    display: none;
    color: #e74c3c;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.page_hearing_form_checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.page_hearing_form_checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
    cursor: pointer;
}

.page_hearing_form_checkbox a {
    color: #5B3F7D;
    text-decoration: underline;
}

.page_hearing_form_checkbox a:hover {
    color: #465995;
}

.page_hearing_form_submit {
    width: 100%;
    padding: 1.8rem;
    font-family: var(--font-outfit), sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-primary-90);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page_hearing_form_submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(91, 63, 125, 0.3);
}

.page_hearing_form_submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (min-width: 768px) {
    .page_hearing {
        padding: calc(6rem + 8rem) 2rem 6rem;
    }
    
    .page_hearing_title {
        font-size: 4rem;
    }
    
    .page_hearing_info,
    .page_hearing_form {
        padding: 4rem 3rem;
    }
}

/* 相談するボタン（FAB） */
.consultation-fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.consultation-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: var(--font-zen-kaku-gothic-new), sans-serif;
    overflow: visible;
    animation: consultationFabPulse 5s ease-in-out infinite, consultationFabScale 3s ease-in-out infinite;
}

.consultation-fab:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

/* ホバー時の拡大アニメーション */
@keyframes consultationFabScaleHover {
    0%, 100% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.25);
    }
}

.consultation-fab:active {
    transform: scale(1.05);
}

/* パルスアニメーション（常時） */
@keyframes consultationFabPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

/* 拡大アニメーション（常時） */
@keyframes consultationFabScale {
    0%, 100% {
        transform: scale(1);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    50% {
        transform: scale(1.5);
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
}

/* バウンスアニメーション（ホバー時） */
@keyframes consultationFabBounce {
    0%, 100% {
        transform: scale(1.15) translateY(0);
    }
    50% {
        transform: scale(1.2) translateY(-5px);
    }
}

/* アイコンの浮遊アニメーション（常時） */
@keyframes consultationFabIconFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -52%) rotate(5deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    75% {
        transform: translate(-50%, -48%) rotate(-5deg);
    }
}

/* アイコンの回転アニメーション（ホバー時） */
@keyframes consultationFabIconSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


.consultation-fab-icon {
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: consultationFabIconFloat 3s ease-in-out infinite;
    font-size: 1.25rem;
}

.consultation-fab-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.consultation-fab.active .consultation-fab-icon {
    transform: translate(-50%, -50%) rotate(180deg);
    animation: none;
}

.consultation-fab:hover .consultation-fab-icon {
    animation: consultationFabIconSpin 0.6s ease-in-out;
}

.consultation-fab.active .consultation-fab-text {
    opacity: 1;
    transform: translateY(0);
}

.consultation-menu {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem 1.5rem;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.consultation-menu-item {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
    cursor: pointer;
    text-align: center;
    background: #f9f9f9;
    border: 2px solid transparent;
    position: relative;
    z-index: 10001;
}

.consultation-menu-text {
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    line-height: 1.4;
}

.consultation-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.consultation-menu-item:last-child {
    margin-bottom: 0;
}

.consultation-menu-item:hover {
    background: #f0f0f0;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.consultation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    pointer-events: none;
}

.consultation-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* お問い合わせページのLINEリンク */
.page_contact_line_link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #06C755;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.page_contact_line_link:hover {
    background: #05a547;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.page_contact_line_icon {
    font-size: 1.25rem;
    line-height: 1;
}

@media (min-width: 769px) {
    .consultation-fab-container {
        bottom: 2rem;
        right: 2rem;
    }
    
    .consultation-fab {
        width: 70px;
        height: 70px;
    }
    
    
    .consultation-fab-icon {
        font-size: 1.25rem;
    }
    
    .consultation-fab-icon img {
        width: 24px;
        height: 24px;
    }
    
    .consultation-fab-text {
        font-size: 0.7rem;
    }
    
    .consultation-menu {
        min-width: 280px;
        bottom: 0;
        right: 0;
    }
    
    .consultation-menu-item {
        padding: 1.25rem 1.5rem;
    }
    
    .consultation-menu-text {
        font-size: 1.25rem;
    }
}

