@charset "utf-8";
/*
Theme Name: Umi Works
Theme URI: https://umi-works.com
Author: KaiSato
Author URI: https://umi-works.com
Description: my-portfolio-site
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://gnu.org
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    line-height: 1.6;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}

main > section {
    margin-bottom: 72px;
}

main > section:last-child {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: #fff;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.about-intro {
    margin-bottom: 32px;
    color: #666;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2c3e50;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2c3e50;
}

.timeline-label {
    display: inline-block;
    font-size: 12px;
    color: #4a6fa5;
    font-weight: bold;
    margin-bottom: 4px;
}

.timeline-content h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
}

.hero-portfolio {
    background: linear-gradient(135deg, #2c3e50, #4a6fa5);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-portfolio h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
}

.hero-portfolio > *:not(.hero-waves) {
    position: relative;
    z-index: 1;
}

.logo-mark {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.skills-list li {
    background: #ecf0f1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.work-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 1 calc(50% - 12px);
    min-width: 240px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.work-card:hover {
    transform: translateY(-4px);
}

.work-thumb {
    height: 140px;
}

.thumb-fp {
    background: url('image/image_fp.png') top center/cover no-repeat;
}

.thumb-gym {
    background: url('image/image_gym.png') top center/cover no-repeat;
}

.thumb-shop {
    background: linear-gradient(135deg, #e67e22, #f4d03f);
}

.thumb-sub {
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e67e22;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.thumb-sub::after {
    content: "DESIGN / SUB";
}

.thumb-realestate-lp {
    background: url('image/image_realestate.png') top center/cover no-repeat;
}

.thumb-realestate-hp {
    background: url('image/image_realestate2.png') top center/cover no-repeat;
}

.work-card h3 {
    padding: 16px 16px 4px;
}

.work-card p {
    padding: 0 16px 16px;
    font-size: 14px;
    color: #666;
}

.design-intro {
    margin-bottom: 24px;
    color: #666;
}

.before-after {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.ba-item {
    position: relative;
    flex: 1;
    min-width: 240px;
    border-radius: 8px;
    overflow: hidden;
}

.ba-item img {
    width: 100%;
    display: block;
}

.ba-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
}

.design-caption {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.video-showcase {
    display: flex;
    justify-content: center;
}

.video-showcase iframe {
    width: 100%;
    max-width: 315px;
    aspect-ratio: 9 / 16;
    border-radius: 8px;
    border: none;
}

.demo-credit {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin: 8px 0 0;
}
.demo-credit a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 600px) {
    .hero-portfolio {
        padding: 40px 16px 60px;
    }

    .hero-portfolio h1 {
        font-size: 28px;
    }

    .work-list {
        justify-content: center;
    }
}