@charset "UTF-8";

/* Reset CSS */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    opacity: 0;
    animation: pageFadeIn 1s ease-in-out forwards;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

ul, ol {
    list-style: none;
}

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

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

button {
    all: unset; cursor: pointer;
}

@keyframes pageFadeIn {
    to { opacity: 1; }
}

/* Header & パーティクル */
.header {
    position: relative;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.inner-header {
    position: relative;
    z-index: 3;
    height: 65vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-header .logo {
    width: 50px; fill: white; padding-right: 15px;
}



/* ーナビゲーションバー */

.navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 20px;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #3b7df1;
}


.hamburger {
    cursor: pointer;
    z-index: 9999;
}

.hamburger span {
    display: block;
    background-color: #fff;
    height: 5px;
    width: 25px;
    margin: 0px 0;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .hamburger span {
        display: block;
        background-color: #fff;
        height: 5px;
        width: 40px;
        margin: 0px 0;
        transition: all 0.3s ease;
    }

    .navbar ul {
        display: flex;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        padding: 10px 0;
        text-align: center;
        z-index: 998;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
    }

    .navbar ul.active {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(140, 140, 140, 0.7));
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        /* display: flex !important; */
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .navbar ul li a {
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
        padding: 10px 20px;
        display: inline-block;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}




/* アニメーションタイトル */
.animated-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    letter-spacing: 0.2em;
    color: white;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}

.whitespace {
    width: 0.5em; display: inline-block;
}

@media (max-width: 800px) {
    .animated-title {
        font-size: 1.5rem;
    }
}

.animated-text {
    margin-top: 20px;
    z-index: 3;
    position: relative;
}

.sub.title {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Waves（波アニメーション） */
.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
    z-index: 3;
}
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s; animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s; animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s; animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s; animation-duration: 20s;
}


@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

@media (max-width: 768px) {
    .waves { height: 40px; min-height: 40px; }
}


/* セクション共通 */
section {
    padding: 80px 20px; text-align: center;
}

section h2, section h3 {
    font-size: 2rem; margin-bottom: 40px; color: #333;
}

#about {
    background-color: #f0f8ff;
}

#projects {
    background-color: #ffffff;
}

#contact {
    background-color: #333333; color: #fff;
}

#contact h3 {
    color: #fff;
}



/* モットー*/
.motto-section {
    margin: auto;
    padding: 50px;
    background-image: linear-gradient(to bottom, #ffffff, #333333);
}

.motto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.motto-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: -20px;
}

.sub-motto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.motto-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-top: 50px;
}

.motto-sub-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    padding: 20px;
    color: #ffffff;
}

.motto-sub-title-text {
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    height: auto;
    color: #ffffff;
    align-items: center;
}

@media (max-width: 800px) {

    .motto-title {
        font-size: 1.8rem;
    }

    .motto-section h3.motto-sub-title {
        font-size: 1rem;
        font-weight: normal;
        letter-spacing: 0.1em;
    }

    .feature-section .motto-sub-title {
        font-size: 1.5rem;
    }

    .sub-motto-container h4 {
        font-size: 0.9rem;
    }

    /* 本文のテキスト */
    .motto-text p,
    .motto-subtitle-text {
        font-size: 0.95rem; /* 1remから少し縮小 */
    }
}




/* プロフィール */
#profile {
    background-color: #ffffff;
    padding: 50px 20px;
}

.profile-container {
    display: flex;
    background-image: url(../img/namaehaikei.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.profile-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38d4ff, #878787);
    padding: 5px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.profile-image-wrapper:hover {
    transform: rotate(360deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%; border-radius: 50%;
    object-fit: cover;
}

.profile-row {
    display: flex; 
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 600px;
    gap: 20px;
    padding: 20px;
    background-color: rgba(233, 233, 233, 0.9);
    border-radius: 10px;
}

.profile-name1 {
    font-size: 2rem;
    font-weight: bold; color: #333;
}

.profile-name2 {
    font-size: 1rem;
    color: #555;
}

.profile-info {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: #333;
    font-size: 0.8rem;
}

.profile-info li {
    margin-bottom: 5px;
}

.kaosyasin {
    width: 90%;
    height: auto;
    max-width: 400px;
}



/* Special Profile Section */
.special {
    margin: 15px;
    padding: 40px 20px;
    background-color: #fafafa; 
}

.profile-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3f3f3f;
    margin-bottom: 40px;
    text-align: left;
}

.komidasi {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-row2-1, .profile-row2-2 {
    font-size: 1.1rem;
    color: #333;
    padding: 10px 20px;
    background-color: #eee;
    border-radius: 8px;
}

.profile-text-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 70px;
}

.profile-text3 {
    color: #555;
    text-align: left;
    flex-basis
    : 60%;
}
.project-cards-container-profile {
    flex-basis: 40%;
}


@media(max-width: 768px) {
    .profile-text-card {
        flex-direction: column;
    }
    .project-card-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .profile-name1 {
        font-size: 20px;
    }

    .profile-name2 {
        font-size: 15px;
    }

    .profile-info {
        font-size: 10px;
    }

    .kaosyasin {
        width: 50%;
        height: auto;
        max-width: 400px;
        justify-content: center;
        align-items: center;
    }
}



/* タイムライン */
.timeline {
    position: relative;
    margin: 50px auto;
    padding: 20px 0;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 4px;
    height: 100%;
    background-color: #f39c12;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    align-items: center;
}

/* .timeline-item::before 差し替え */

.timeline-item::before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 34px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 1;
    border: 2px solid #f39c12;
}

.timeline-date {
    flex: 0 0 80px;
    text-align: center;
    color: #333;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px 20px; border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-left: 20px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #666;
}



/* スライドアニメーション */
.image-sequence {
    display: flex;
    gap: 16px;
    margin: 60px 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
}

.slide-item {
    opacity: 0;
    transition: opacity 0.7s, transform 0.7s;
    background: none;
}

.slide-item.from-left {
    transform: translateX(-60px);
}

.slide-item.from-right {
    transform: translateX(60px);
}

.slide-item.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.image-sequence img {
    width: 180px;
    height: auto;
    border-radius: 10px;
}




/* プロジェクトカード & ポップアップ */
.project-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.project-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    border: 1px solid #eee;
    justify-content: center;
    align-items: center;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-card img {
    height: auto;
    max-width: 100%;
}

.project-popup {
    z-index: 1100;
    position: absolute;
    min-width: 250px;
    background: #fff;
    color: #222; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 24px;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}

.project-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.project-popup::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
}

.popup-content .popup-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.popup-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}




/* Skillsセクション */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.skill-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 32px 24px;
    width: 240px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 8px 32px rgba(59,125,241,0.18);
}

.skill-card img {
    margin: 0 auto 18px;
    width: 56px;
    height: 56px;
    transition: transform 0.3s ease-in-out;
}

/* マウスを乗せると画像が傾いて拡大する */
.skill-card:hover img {
    transform: scale(1.15) rotate(-6deg);
}

.skill-card h3 {
    font-size: 1.2rem;
    color: #3b7df1;
    margin-bottom: 10px;
}

.skill-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}




/* お問い合わせフォーム */
#contact form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

#contact form label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

#contact form input, #contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem; color: #000;
    background-color: #fff;
}

#contact form button {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
}

#contact form button:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}




/* Footer */
.wave2 {
    background-color: #333333;
    overflow: hidden;
}
.content {
    padding: 20px; background-color: #fff; color: #555;
}

/* style.css の Feature セクションのCSS*/

.feature-section {
    position: relative;
    overflow-x: hidden;
    padding: 80px 20px;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 5%;
}

/* 左右反転のスタイル */
.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex-basis: 45%;
    flex-shrink: 0;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 550px;
    text-align: left;
    align-items: center;
}

/* .text-container-right {
    padding-left: 0px;
}

.text-container-left {
    padding-right: 0px;
} */


.feature-text slide-item from-left {
    margin-left: 30px;
    padding-left: 20px;
    align-items: center;
}

/* レスポンシブ対応 (スマホなど) */
@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        width: 100%;
        gap: 30px;
    }

    .feature-text,
    .feature-image {
        flex-basis: auto;
        width: 90%;
        margin: 0 auto;
    }

    .feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 40px;
    padding-right: 40px;
}
}


/* スライドしてくる要素の動きを調整 */
.slide-item {
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide-item.from-left {
    transform: translateX(-120px);
}

.slide-item.from-right {
    transform: translateX(120px);
}


/* スクロールアニメーション用 */
.fade-in,
.slide-item,
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    transform: translateY(30px);
}
.slide-item.from-left {
    transform: translateX(-60px);
}
.slide-item.from-right {
    transform: translateX(60px);
}
.animate-on-scroll {
    transform: translateY(40px);
}

.is-visible {
    opacity: 1;
    transform: none;
}



/* メインビジュアル スライドショー */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.is-active {
    opacity: 1;
}



.projects {
    display: inline;
    overflow-x: auto;
}



/* 作品詳細ページ ヘッダー */
.project-header {
    position: relative;
    line-height: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none; 
}

/* ▼▼▼ 原因特定用のテストコード（後で削除します）▼▼▼ 
* { outline: 1px solid red !important; }　*/



/* マスクを使ったリビールアニメーション */

/* 以前のスクロールアニメーション設定をリセット */
.slide-item,
.fade-in,
.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
}

/* アニメーションさせたい要素の「箱」の準備 */
.slide-item {
    position: relative;
    overflow: hidden;
}

/* 「フタ」となる四角をCSSで作成 */
.slide-item::after {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d0d0d0;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);*/
    display: none; 
}

.preload .slide-item::after {
    display: none !important;
}

/* .preload .slide-item::after {
    display: none;
}*/

/* 中身のコンテンツ（画像やテキスト）の初期状態 */
.slide-item > * {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    transition-delay: 0.3s;
}

.slide-item.from-right > * {
    transform: translateX(100px);
}


/* 左から出てくる要素のフタの動き */
.is-visible.slide-item.from-left::after {
    transform: translateX(101%);
}

/* 右から出てくる要素のフタの動き */
.is-visible.slide-item.from-right::after {
    transform: translateX(-101%);
}

/* 中身のコンテンツを表示 */
.is-visible.slide-item > * {
    opacity: 1;
    transform: translateX(0);
}



/* テキストを囲むボックスの挙動を修正 */

.feature-text {
    flex: 1 1 45%;
    max-width: 550px; 
    padding: 0 20px;
    text-align: left;
}

.feature-image {
    flex: 1 1 45%;
    max-width: 600px;
}

.feature-text > * {
    margin-bottom: 1em;
}

.feature-text > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 40px;
    padding-right: 40px;
}
}


/* スクロールアニメーション*/
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* パーティクル背景用のスタイル */

/* 親要素のクラス */
.particle-unit {
    position: relative;
    min-height: 500px;
    background-color: transparent !important;
}

/* 背景アニメーション要素 */
.particle-unit__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* ★階層を「0」にする */
    background-color: #333333; /* 暗い背景色 */
}

/* コンテンツを包むラッパー要素 */
.particle-unit__content {
    position: relative;
    z-index: 1; /* ★階層を「1」にする */
}


/* 不要なスクロールバーを非表示にするための調整 */

/* アニメーションのセクション全体ではみ出しを隠す */
.particle-unit {
    overflow: hidden;
}

/* テキストが原因ではみ出すのを防ぐ */
.feature-text p {
    word-wrap: break-word; 
}




/*ローディングアニメーションのスタイル（確実版） */

/* --- 最初はページ本体を隠しておく --- */
#content {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}

/* --- ローディング画面のスタイル --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    /* ★背景色を黒に変更し、複雑なmix-blend-modeは削除 */
    background-color: #1a1a1a;

    /* フェードアウトする時のアニメーション */
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    
    /* テキストを中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ★黒い背景のコンテナは不要になったので、このルールは削除またはコメントアウトしてOK */
/*
.loader-text-container {
    background-color: #000000;
    padding: 20px 40px;
}
*/

/* タイピングされるテキストのスタイル */
#typing-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 3vw;
    font-weight: bold;
    color: #ffffff; /* 白い文字 */
    padding: 20px;
}
@media (max-width: 768px) {
    #typing-text {
        font-size: 5vw;
    }
}

/* 点滅するカーソルのスタイル */
.typed-cursor {
    font-size: inherit;
    color: #ffffff;
    opacity: 1;
    animation: typed-blink 0.7s infinite;
}
@keyframes typed-blink {
    50% { opacity: 0.0; }
}

/* --- 読み込み完了後のスタイル --- */
body.loaded #content {
    visibility: visible;
    opacity: 1;
}
body.loaded #loader-wrapper {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}



/*
=================================
Project Gallery Slider (Coverflow)
=================================
*/

/* スライダーを配置するセクション */
.project-gallery {
    padding: 60px 0;
    background-color: #f7f7f7; /* 背景色を少し変えるとカードが際立ちます */
    overflow: hidden; /* はみ出し表示を考慮し、親要素でoverflowを設定 */
}

/* スライダー本体のコンテナ */
.center-zoom-slider {
    width: 100%; /* 横幅いっぱいに広げる */
    padding: 50px 0; /* 上下に余白を取り、スライドの影が見えるようにする */
}

/* 各スライドのスタイル */
.center-zoom-slider .swiper-slide {
    width: 65%; /* 中央のスライドの基本幅 */
    max-width: 450px; /* PCでの最大幅 */
    /* transformやopacityはJSのeffectが自動で制御するため、CSSでは指定しません */
}

/* スライド内の画像のスタイル */
.center-zoom-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px; /* 角丸を少し強めにしてカード感を出す */
    /* 影はJSのeffectオプションで付けるため、ここでは指定しません */
}

/* 左右のナビゲーションボタン */
.center-zoom-slider .swiper-button-prev,
.center-zoom-slider .swiper-button-next {
    color: #1a1a1a;
}