/* ===========================
   Main Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Oswald:wght@200;300;400;500;600;700&family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Caveat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bellefair&display=swap');

:root {
    --color_main: #111111;
    /* メインカラー */
    --color_secondary: #F5F0F0;
    /* サブカラー */
    --color_accent: #C45679;
    /* アクセントカラー */
    --color_glay: #efefef;
    /* グレー */
    --font_main: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    /* メインフォント */
    --font_crimson: 'Crimson Text', serif;
    --font_oswald: 'Oswald', sans-serif;
    --font_caveat: 'Caveat', cursive;
    --font_bellefair: 'Bellefair', serif;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset and Base Styles */
html {
    scroll-behavior: smooth;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 150px 0;
}


body {
    overflow-x: hidden;
    font-family: var(--font_main);
    color: var(--color_main);
    line-height: 1.8;
    cursor: none;
}

/* カスタムカーソル */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--color_main);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, opacity 0.1s ease;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(2.5);
}

a,
button,
.filter-btn,
.btn-more {
    cursor: none;
}

.-type-simple .p-postList__link:hover {
    background-color: #F4F4E9;
}

::-moz-selection {
    background-color: var(--color_accent);
    color: #fff;
}

::selection {
    background-color: var(--color_accent);
    color: #fff;
}

header {
    box-shadow: none !important;
}

h1.page-header,
h2.section-title,
h2.section-title-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

h1.page-header .start,
h2.section-title.start,
h2.section-title-page.start {
    align-items: start;
    justify-content: flex-start;
    text-align: left;
}

h2.section-title .white {
    color: #fff;
}


h1.page-header .en,
h2.section-title .en {
    font-family: var(--font_oswald);
    font-weight: 400;
    font-size: 72px;
    line-height: 1.3;
}

h2.section-title-page .en {
    font-family: var(--font_oswald);
    font-weight: 400;
    color: var(--color_accent);
    font-size: 21px;
    line-height: 1.3;
}

h1.page-header .ja,
h2.section-title .ja {
    font-weight: 500;
    font-size: 21px;
}

h2.section-title-page .ja {
    font-size: 32px;
    font-weight: 500;
}

p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* ボタン全体 */
.btn-link {
    display: block;
    text-align: right;
}


.btn-link .btn-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color_main);
    gap: 4px;
}

.btn-link .btn-more .btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}

/* 1行目：アイコン＋英文を横並びに */
.btn-link .btn-more .en {
    font-family: var(--font_bellefair);
    font-size: 28px;
    font-weight: 400;

}

/* 日本語 */
.btn-link .btn-more .jp {
    font-size: 14px;
    font-weight: 500;
}

/* アイコン（丸） */
.btn-link .btn-more .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color_main);
    margin-right: 12px;
    position: relative;
    display: inline-block;
    background: #fff;
}

/* 矢印：横線 */
.btn-link .btn-more .icon::before {
    content: "";
    position: absolute;
    left: 11px;
    /* 横位置 */
    top: 24px;
    width: 24px;
    /* 水平線の長さ */
    height: 2px;
    border-radius: 2px;
    background: var(--color_main);
    transform: translateY(-50%);
}

/* 矢印：先端の斜め線 */
.btn-link .btn-more .icon::after {
    content: "";
    position: absolute;
    left: 29px;
    /* 先端の位置（beforeの右端あたり） */
    top: 18px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--color_main);
    transform-origin: left center;
    transform: translateY(-50%) rotate(45deg);
    /* 角度調整 */
}

/* アニメーション用のtransitionを仕込んでおく */
.btn-link .btn-more .icon,
.btn-link .btn-more .icon::before,
.btn-link .btn-more .icon::after {
    transition: all 0.25s ease;
}

/* ホバー時：丸がちょっと右に動く＆色がアクセントカラーに */
.btn-link .btn-more:hover .icon {
    transform: translateX(5px);
    border-color: var(--color_accent);
}

/* 矢印の色もピンクに合わせる場合 */
.btn-link .btn-more:hover .icon::before,
.btn-link .btn-more:hover .icon::after {
    background: var(--color_accent);
}


/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
}

.site-header .container {
    padding: initial;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.site-branding a {
    font-size: 20px;
    font-weight: 500;
    color: var(--color_main);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 40px;
    height: 3px;
    color: var(--color_main);
    margin: 4px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--color_main);
    font-size: 16px;
    transition: 0.25s;
}

.nav-menu a:hover {
    color: var(--color_accent);
}

.btn-contact {
    padding: 10px 20px;
    background: #fff;
    border: solid 2px var(--color_main);
    border-radius: 25px;
    transition: 0.25s;
}

.btn-contact:hover {
    color: #fff !important;
    background: var(--color_accent);
    border: solid 2px var(--color_accent);
}


/* Contact Section */
.contact-section {
    background: url(/wp-content/uploads/2025/12/contactBG.jpg);
    color: #fff;
    text-align: center;
}

.contact-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-email {
    display: inline-block;
    margin-top: 10px;
    width: 50%;
    padding:20px 40px;
    background-image: url(/wp-content/uploads/2025/12/Button.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 999px;
    border: 4px solid #fff;
    color: var(--color_accent);
    font-family: var(--font_oswald);
    font-weight: 400;
    font-size: 28px;
    text-decoration: none;
    transition: .25s;
}

.contact-email:hover {
    background: var(--color_accent);
    color: #fff;
}

/* Footer */
.footer-bottom {
    background: #000;
    text-align: center;
    font-weight: 500;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #fff;
    font-size: 12px;
}

/*  Hero Section */
.hero-section {
    position: relative;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section::before {
    content: "";
    width: 65dvw;
    height: 75dvh;
    left: 0;
    top: 10dvh;
    position: absolute;
    background: url(/wp-content/uploads/2025/12/homeBg.jpg) no-repeat center center/cover;
    transform: translateY(0dvh);
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    text-align: left;
    font-weight: 300;
    z-index: 2;
}

.hero-title {
    font-family: var(--font_crimson);
    font-size: 36px;
    font-weight: 300;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font_caveat);
    font-size: 90px;
}

.hero-description {
    font-family: var(--font_oswald);
    margin-top: 20px;
    font-size: 21px;
}


.hero-image img {
    width: 500px;
    height: 500px;
}

.hero-image {
    position: relative;
}

.hero-message {
    position: absolute;
    font-family: var(--font_bellefair);
    text-align: left;
    margin-top: 20px;
    top: 0;
    right: -5dvw;
}

.hero-message p {
    font-size: 24px;
}


/* About Section */

.about-section {
    background: url(/wp-content/uploads/2025/12/bg.jpg) no-repeat top center/cover;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-name {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-name-en {
    font-size: 18px;
    font-family: var(--font_oswald);
    font-weight: 400;
    color: var(--color_accent);
    line-height: 1.5;
}

/* About Page */
.about-intro-content {
    display: flex;
    align-items: start;
    gap: 40px;
}

.about-intro-right img {
    width: 360px;
    border-radius: 0;
}


/* Skills Section */
.skills-section {
    background: url(/wp-content/uploads/2025/12/bg.jpg) no-repeat top center / cover;
}

.work-item.hidden-item {
    display: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.skill-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
}

.skill-card h3 {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--color_main);
}

.skill-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.skill-stars .star {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.skill-stars .star.filled {
    background-color: var(--color_accent);
}

.skill-stars .star.empty {
    background-color: transparent;
    border: 2px solid var(--color_accent);
}

.career-item {
    background: var(--color_secondary);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.career-item::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--color_accent);
}

.career-item:last-child::after {
    display: none;
}

.career-item h3 {
    font-size: 24px;
    font-weight: 500;
}

.career-item ul {
    text-align: left;
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
}

.career-dates {
    list-style: none;
    padding-left: 0;
}

.career-dates li {
    padding-left: 40px;
    background-image: url(/wp-content/uploads/2025/12/career_list.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 30px 30px;
    margin-bottom: 10px;
}

/* Message Section */

.message-section-title {
    display: inline-block;
    text-align: center;
    margin: 0 auto 30px;
    font-size: 32px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.message-section-title .num {
    font-family: var(--font_crimson);
    font-size: 60px;
    font-weight: 600;
    color: var(--color_accent);
    line-height: 1.2;
}

.message-section-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 20px;
    background: #fff;
    margin: -30px auto 0;
    z-index: -1;
}

.message-section {
    background: url(/wp-content/uploads/2025/12/profileBg.jpg) no-repeat top center / cover;
    text-align: center;
}

.message-item {
    background: #fff;
    border: solid 3px var(--color_secondary);
    border-top-left-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.message-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.message-title .num {
    font-family: var(--font_oswald);
    font-size: 36px;
    font-weight: 500;
    color: var(--color_accent);
    margin-right: 20px;
}

.message-title .title {
    font-size: 24px;
    font-weight: 500;
}

/* Works Section */

.works-section .container {
    padding-top: 0;
}

.works-filter {
    display: flex;
    justify-content: start;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    width: 100px;
    padding: 5px 5px;
    background: var(--color_glay);
    color: var(--color_main);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: solid 2px var(--color_glay);
    border-radius: 5px;
}

.filter-btn:hover {
    background: #fff;
    color: var(--color_accent);
    border: solid 2px var(--color_accent);
}

.filter-btn.active {
    background: var(--color_accent);
    border: solid 2px var(--color_accent);
    color: #fff;
}

.works-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: start;
    margin-bottom: 60px;
}

.work-item {
    width: 280px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.work-item .work-thumbnail {
    overflow: hidden;
}

.work-item .work-thumbnail img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.work-item:hover .work-thumbnail img {
    transform: scale(1.05);
}

.work-item .work-info {
    transition: opacity 0.3s ease;
}

.work-title {
    font-size: 18px;
    font-weight: 500;
}

.work-category {
    font-size: 14px;
    font-weight: 500;
    color: var(--color_accent);
    margin-bottom: 10px;
}

/* Works Page */


.works-intro .works-box {
    margin-bottom: 0;
}

.portfolio-content .container {
    padding-top: 0;
}

.portfolio-info {
    display: flex;
    align-items: center;
}

.portfolio-title {
    font-weight: 500;
}

.category-tag {
    margin-right: 20px;
    padding: 4px 12px;
    border: solid 2px var(--color_main);
    font-size: 16px;
    font-weight: 500;
}

.portfolio-featured-image {
    text-align: center;
    height: 80dvh;
}

.portfolio-featured-image img {
    max-height: 80dvh !important;
    width: auto;
}

.nav-links {
    font-family: var(--font_oswald);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1;
}

.nav-links .nav-previous,
.nav-links .nav-next {
    flex: 1;
}

.nav-links .nav-previous {
    text-align: left;
}

.nav-links .nav-next {
    text-align: right;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--color_accent);
}

.nav-counter {
    font-family: var(--font_oswald);
    font-size: 24px;
    font-weight: 400;
    color: var(--color_main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-counter .current-number {
    font-size: 32px;
    font-weight: 600;
    color: var(--color_accent);
}

.nav-counter .separator {
    font-size: 24px;
}

.nav-counter .total-number {
    font-size: 24px;
}

.details-list {
    padding-top: 60px;
}

.detail-item {
    display: flex;
    align-items: start;
    gap: 40px;
    font-size: 18px;
    margin-bottom: 20px;
}

.detail-item dt {
    color: var(--color_accent);
    font-weight: 500;
    width: 20%;
}

.detail-item dd {
    width: 80%;
}

.key-points-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.key-points-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Portfolio Gallery Slider */
.portfolio-gallery {
    width: 100%;
    background: var(--color_glay);
    padding: 100px 0;
}

.gallery-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.gallery-slide.active {
    display: flex;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--color_main);
    border: 2px solid var(--color_main);
    border-radius: 50%;
    font-size: 24px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--color_accent);
    border-color: var(--color_accent);
    color: #fff;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-dots {
    text-align: center;
    margin-top: 20px;
}

.gallery-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot.active {
    background: var(--color_accent);
}

.portfolio-screenshot {
    width: 100%;
    background: var(--color_glay);
}

.portfolio-screenshot {
    padding: 150px 0;
    text-align: center;
}

.portfolio-screenshot img {
    max-width: 900px;
    height: auto;
}

/* Pagination */
.pagination {
    margin-top: 60px;
    width: 100%;
}

.pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0;
}

.pagination button,
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid var(--color_main);
    border-radius: 50%;
    background: #fff;
    color: var(--color_main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination button:hover,
.pagination a:hover {
    background: var(--color_accent);
    border-color: var(--color_accent);
    color: #fff;
}

.pagination button.current,
.pagination .current {
    background: var(--color_accent);
    border-color: var(--color_accent);
    color: #fff;
}

.pagination .dots {
    border: none;
    color: var(--color_main);
    cursor: default;
}

.pagination .dots:hover {
    background: #fff;
    color: var(--color_main);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {

    /* ハンバーガーメニュー表示 */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle span {
        background-color: var(--color_main);
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* ナビゲーションメニュー */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color_secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 1;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 28px;
        font-weight: 500;
    }

    .btn-contact {
        font-size: 28px;
        background: initial;
        border: none;
        padding: 0;
    }

    .btn-contact:hover {
        color: var(--color_accent) !important;
        background: initial;
        border: none;
    }

    .container {
        padding: 100px 20px;
    }

    /* Hero Section */
    .hero-section {
        height: auto;
        padding: 100px 20px;
    }

    .hero-section::before {
        width: 70vw;
        height: 50vh;
    }

    .hero-content {
        display: block;
        width: 100%;
        text-align: center;
        position: relative;
        margin-top: 15dvh;
    }

    .hero-text {
        position: absolute;
        top: -90px;
        left: 0;
    }

    .hero-message {
        top: initial;
        bottom: 30px;
        right: 60px;
    }

    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Works Section */
    .works-filter {
        flex-wrap: wrap;
        justify-content: center;
    }

    .works-box {
        gap: 20px;
    }

    .work-item {
        width: calc(50% - 15px);
        max-width: 400px;
    }

    .work-thumbnail img {
        width: 100%;
        height: auto;
    }

    .portfolio-info {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .portfolio-featured-image {
        padding: 0 20px;
        height: auto;
    }

    .portfolio-featured-image img {
        width: 100%;
        height: auto;
    }

    .portfolio-screenshot {
        padding: 100px 20px;
    }

    .portfolio-screenshot img {
        max-width: 100%;
        height: auto;
    }

    .nav-links {
        padding: 40px 20px;
        max-width: 100%;
    }

    /* Contact Section */
    .contact-email {
        width: 75%;
    }

    /* Footer */
    .footer-bottom .container {
        gap: 20px;
        padding: 20px 20px;
    }

    .footer-links {
        gap: 15px;
        margin-bottom: 0;
    }
}

/* Smartphone Responsive Styles */
@media screen and (max-width: 540px) {

    /* ハンバーガーメニュー表示 */

    .menu-toggle span {
        width: 30px;
        height: 3px;
        margin: 3px 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 10px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -5px);
    }

    /* Typography */
    h1.page-header .en,
    h2.section-title .en {
        font-size: 48px;
    }

    h1.page-header .ja,
    h2.section-title .ja {
        font-size: 18px;
    }

    h2.section-title-page .en {
        font-size: 18px;
    }

    h2.section-title-page .ja {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    .container {
        padding: 80px 15px;
    }

    /* Header */
    .site-branding a {
        font-size: 18px;
    }

    .nav-menu {
        gap: 20px;
        height: 100%;
    }

    .nav-menu a {
        font-size: 21px;
    }

    .btn-contact {
        font-size: 21px;
    }

    /* Hero Section */
    .hero-section {
        margin-top: 60px;
        padding: 80px 15px;
    }

    .hero-section::before {
        width: 100vw;
        height: 50vh;
        top: 10dvh;
    }

    .hero-content {
        margin-top: 20dvh;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .hero-message {
        right: 0;
        bottom: 20px;
    }

    .hero-message p {
        font-size: 20px;
    }

    /* About Section */
    .about-intro-content {
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
    }

    .about-intro-right img {
        width: 210px;
    }

    .about-name {
        font-size: 24px;
    }

    .about-name-en {
        font-size: 16px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content img {
        width: 210px;
    }

    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skill-card {
        padding: 20px 15px;
    }

    .skill-card h3 {
        font-size: 18px;
    }

    /* Career Section */
    .career-item {
        padding: 15px;
        margin-bottom: 40px;
    }

    .career-item::after {
        bottom: -25px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 15px solid var(--color_accent);
    }

    .career-item h3 {
        font-size: 18px;
    }

    .career-item ul {
        font-size: 16px;
    }

    .career-dates li {
        padding-left: 35px;
        background-size: 25px 25px;
    }

    /* Message Section */
    .message-section-title {
        font-size: 24px;
    }

    .message-section-title::after {
    margin: -25px auto 0;
}

    .message-section-title .num {
        font-size: 48px;
    }

    .message-item {
        padding: 15px;
        border-top-left-radius: 20px;
    }

    .message-title .num {
        font-size: 28px;
        margin-right: 15px;
    }

    .message-title .title {
        font-size: 20px;
    }

    /* Works Section */
    .works-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 5px 5px;
        font-size: 14px;
        width: 25%;
    }

    .works-box {
        gap: 15px;
    }

    .work-item {
        width: 100%;
    }

    .work-title {
        font-size: 16px;
    }

    .work-category {
        font-size: 13px;
    }

    /* Portfolio Single */
    .portfolio-title {
        font-size: 24px;
    }

    .category-tag {
        font-size: 14px;
        padding: 3px 10px;
        margin-right: 10px;
    }

    .portfolio-featured-image {
        padding: 90px 15px 60px;
    }

    .details-list {
        padding-top: 40px;
    }

    .detail-item {
        flex-direction: column;
        gap: 10px;
        font-size: 16px;
    }

    .detail-item dt {
        width: 100%;
        font-size: 16px;
    }

    .detail-item dd {
        width: 100%;
    }

    .portfolio-screenshot {
        padding: 80px 15px;
    }

    /* Gallery Slider */
    .portfolio-gallery {
        padding: 60px 15px;
    }

    .gallery-slider-wrapper {
        height: 400px;
    }

    .gallery-slide img {
        max-width: 90%;
        max-height: 90%;
    }

    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-prev {
        left: 0;
    }

    .gallery-next {
        right: 0;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    /* Navigation Links */

    .nav-links {
        padding: 30px 15px;
    }

    /* Buttons */
    .btn-link .btn-more .en {
        font-size: 24px;
    }

    .btn-link .btn-more .jp {
        font-size: 13px;
    }

    .btn-link .btn-more .icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .btn-link .btn-more .icon::before {
        left: 9px;
        top: 20px;
        width: 20px;
    }

    .btn-link .btn-more .icon::after {
        left: 24px;
        top: 15px;
        width: 7px;
    }

    /* Contact Section */
    .contact-email {
        width: 90%;
        font-size: 21px;
        padding: 15px;
    }

    .contact-section p {
        font-size: 14px;
    }

    /* Footer */
    .footer-bottom .container {
        padding: 20px 15px;
        flex-direction: column;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .copyright {
        font-size: 11px;
    }

    /* マウスカーソル非表示 */
    .custom-cursor {
        display: none;
    }
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none;
    }
}