@charset "UTF-8";
html {
    scroll-behavior: smooth;
    transition: opacity 0.5s ease;
}
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    unicode-bidi: normal;
    transition: opacity 0.5s ease;
}
.loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #297BFF;
    transition: background-color 2s ease;
    color: white;
    z-index: 999999;
}
.character-container {
    margin-bottom: 20px;
}
.character {
    width: 120px;
    height: auto;
}
.loading-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: textFade 0.5s ease-in-out;
}
.progress-bar {
    width: 300px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: white;
    transition: width 2s ease-in-out;
    border-radius: 6px 0 0 6px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    /* background-color: #fff; */
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
}
h2 {
    font-size: 88px;
}
p {
    margin-top: 0;
}
.logo img {
    height: 50px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
}
nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: color 0.2s ease;
}
nav ul li a:hover {
    color: #FFAD29;
}
.hero {
    display: flex;
    gap: 20px;

    height: 600px;
}
.hero-main {
    flex: 3;
    position: relative;
    overflow: hidden;
}
.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-text {
    position: absolute;
    top: 400px;
    right: 90px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero-text h1 {
    font-size: 40px;
    margin-bottom: 10px;
}
.hero-text p {
    font-size: 24px;
}
.hero-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-side img {
    width: 100%;
    height: calc(50% - 10px);
    object-fit: cover;
}
.works {
    padding: 4rem 2rem;
}
.works h2 {
    color: #297BFF;
    margin-bottom: 2rem;
}
.box-block {
    height: 85px;
    width: 32px;
    background-color: #297BFF;
    display: inline-block;
    margin-right: 15px;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 5rem;
}
.work-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.work-card .thumb {
    background-color: #BAD5FF;
    height: 160px;
    border-radius: 0.25rem;
    transition: color 0.3s ease, background-color 0.4s ease;
}
.thumb {
    display: flex;
    justify-content: center;
    align-items: center;
}
.work-card .thumb:hover {
    background-color: #FFBD54;
}
.work-info .tags {
    background: #f0f0f0;
    color: #555;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}
.tags {
    margin: 0.5rem 0;
}
.tags span {
    background: #dce6ff;
    color: #555;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}
.about {
    padding: 4rem 2rem;
}
.about-img {
    margin-left: 90px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about h2 {
    color: #297BFF;
    margin-bottom: 2rem;
    justify-content: space-around;
}
.about-content {
    display: flex;
    justify-content: space-around;
    gap: 90px;
    align-items: center;
    flex-wrap: wrap; 
    max-width: 100%;
}
.about h2 .box-block {
    height: 85px;
    width: 32px;
    background-color: #297BFF;
    display: inline-block;
    margin-right: 15px;
}
.about-text {
    min-width: 300px;
    flex: 1;
    max-width: 100%; 
}
h3 {
    display: flex;
    align-items: flex-end;
}
.my-txt {
    margin-top: 60px;
    box-sizing: border-box;
}
.about-text h3 {
    font-weight: 700;
    margin-bottom: 4px;
}
.furigana {
    font-size: 14px;
    color: #BAD5FF;
    margin: 0 auto;
}
.about-text span {
    color: #297BFF;
}
.about-text p {
    font-size: 0.9rem;
}
.view-more {
    background: #fff;
    color: #000;
    padding: 20px 42px;
    border: 2px solid #FFAD29;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 45px;
}
.view-more:hover {
    background: #FFAD29;
    color: white;
}
.works-detail {
    padding: 60px 85px;
}
.works-detail h2 {
    color: #297BFF;
    margin-bottom: 2rem;
}
.works-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 86px;
    margin-bottom: 60px;
    align-items: center;
}
.works-detail-container img {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.work-main .work-image {
    width: 100%;
    max-width: 600px;
    height: 240px;
    background-color: #ddd;
    border-radius: 4px;
}
.work-info {
    flex: 1;
    min-width: 240px;
}
.work-info .tag2 {
    display: inline-block;
    background-color: #dce6ff;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #333;
}
.tag2 {
    margin-top: 55px;
    background-color: #297BFF;
    color: #fff;
    font-size: 16px;
    padding: 4px 0;
    width: 130px;
    text-align: center;
    margin: 0 auto;
}
.work-info .tag {
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #333;
}
.work-info h3 span {
    color: #297BFF;
}
.work-info h3 {
    font-weight: bold;
    color: #000;
    text-decoration: none;
    margin-bottom: 40px;
    align-items: baseline;
}
.work-info h3 a:hover {
    color: #297BFF;
}
.work-meta {
    list-style: none;
    padding: 0;
    line-height: 1.6;
    border-spacing: 0 45px
}
.work-meta tr {
    display: block; 
}
.work-meta th {
    display: block;
    color: #297BFF;
    font-weight: bold;
    padding-right: 27px;
    text-align: left;
}   
.work-meta td {
    display: block;
    padding-bottom: 2em;
}
.work-meta tr:last-child td {
    padding-bottom: 0;
}
.works-preview {
    margin-top: 2rem;
    text-align: center;
}
.works-preview img {
    width: 100%;
    max-width: 400px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    display: block;
    margin: 0 auto 2rem auto;
}
.works-navigation {
    margin: 2rem auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.works-navigation button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
footer {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: #297BFF;
    color: white;
    font-size: 0.75rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-nav {
    margin-bottom: 2rem;
}
.footer-nav nav ul {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.footer-nav nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}
.footer-nav nav ul li a:hover {
    color: #FFAD29;
}
.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}
.footer-nav nav ul li:not(:last-child)::after {
    content: "｜";
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    pointer-events: none;
}
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 32px 32px;
}
.arrow-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 0 #FFAD29;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a {
    text-decoration: none;
    color: inherit;
}
.arrow {
    font-size: 1.2rem;
    color: #FFAD29;
    line-height: 1;
}
.arrow-btn:hover {
    transform: translateY(4px);
    box-shadow: none;
}
.page-indicator {
    font-size: 0.9rem;
    color: #7F7F7F;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.nametop {
    color: #297BFF;
}
.subname {
    font-weight: normal;
    color: #BAD5FF;
    font-size: 14px;
    margin-left: 15px;
}
.tag {
    margin-top: 55px;
    background-color: #297BFF;
    color: #fff;
    font-size: 16px;
    padding: 8px 0;
    width: 130px;
    text-align: center;
    margin: 0 auto;
}
.profile-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0 80px;
}
.profile-left {
    flex: 1 1 400px;
}
.profile-text {
    flex: 1 1 300px;
    line-height: 1.8;
}
.profile-text .contact a {
    color: #FFAD29;
    text-decoration: none;
}
.profile-image {
    flex: 0 0 240px;
    max-width: 100%;
    background-color: #cce0ff;
    overflow: hidden;
}
.profile-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.like-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}
.like-card {
    position: relative;
    width: 160px;
    height: 580px;
    overflow: hidden;
    border-radius: 6px;
    font-family: "Noto Sans JP", sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.like-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.like-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: rgba(173, 205, 255, 0.5);
    color: white;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.like-overlay2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: rgba(173, 205, 255, 0.5);
    color: white;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.like-overlay h4,
.like-overlay2 h4 {
    margin: 0;
    padding-bottom: 30px;
    font-size: 1.2rem;
    font-weight: bold;
}
.like-overlay p,
.like-overlay2 p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}
.small {
    line-height: 1.8;
}
.about .profile-header p {
    margin-bottom: 0;
}
.about-text .profile-header {
display: block;
}
@media (max-width: 1465px) {
    .works-detail-container {
        flex-direction: column;
        gap: 40px;
    }
    .work-meta th {
        padding-right: 70px;
    }
}
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    .hero {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }
    .hero-main {
        width: 100%;
        height: auto;
    }
    .hero-main img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .hero-text {
        position: static;
        text-align: center;
        color: #333;
        text-shadow: none;
    }
    .hero-text h1 {
        font-size: 32px;
        color: #fff;
        background-color: #297BFF;
        padding: 10px 0;
    }
    .hero-text p {
        font-size: 18px;
        color: #297BFF;
    }
    .hero-side {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
    }
    .hero-side img {
        width: calc(50% - 5px);
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
    .work-meta,
    .work-meta tbody,
    .work-meta tr,
    .work-meta th,
    .work-meta td {
        display: block;
        width: 100%;
    }
    .work-meta tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #ddd;
    }
    .work-meta th {
        background-color: #297BFF;
        font-weight: bold;
        color: #fff;
        padding: 0.75rem 0.5rem 0.3rem;
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    .work-meta td {
        padding: 0 0.5rem 1rem;
        text-align: center;
    }
    .works-detail {
        padding: 1em;
    }
    .work-info,
    .work-info h3 {
        text-align: center;
        display: block;
    }
    nav ul {
        gap: 10px;
        font-size: 14px;
    }
    h2 {
        font-size: 50px;
    }
    .about h2 .box-block,
    .works-detail h2 .box-block {
        height: 60px;
    }
    .like-container {
        gap: 15px;
        padding: 20px 10px;
    }
    .like-card {
        width: 120px;
        height: 480px;
    }
    .like-overlay h4,
    .like-overlay2 h4 {
        font-size: 1rem;
        padding-bottom: 20px;
    }
    .like-overlay p,
    .like-overlay2 p {
        font-size: 0.8rem;
    }
    .about-content {
        flex-wrap: wrap;
        gap: 0;
    }
    .about-text {
        padding: 30px;
        min-width: 250px;
    }
    .about-img {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 10px; 
    }
    .about-img img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .profile-image {
        margin: 0 auto;
    }
    .profile-header {
        margin-bottom: 0;
    }
    .my-txt {
        margin-top: 30px;
    }
    .footer-nav nav ul {
        gap: 1rem;
    }
    .footer-nav nav ul li a {
        font-size: 0.9rem;
    }
}
@media (max-width: 900px) {
    .about-content {
        gap: 40px;
    }
    .about-text {
        min-width: 250px;
    }
}
@media (max-width: 480px) {
    .about-text {
        min-width: 200px;
        padding: 20px;
    }
}
@media (max-width: 480px) {
    .profile-header {
        display: block; 
    }
    .furigana {
        margin-left: 0;
    }
    .about-img {
        box-sizing: border-box;
    }
}