@charset "UTF-8";

/* 共通部分 */
html {
    font-size: 100%;
}
body {
    background-color: #222034;
    font-family: 'DotGothic16', sans-serif;
    line-height: 1.7;
    color: #ffffff;
    margin: 0;
}

a {
    color: #ffffff;
    text-decoration: none;
}
a:hover {
    color: #ffffff;
    text-decoration: none;
}
a:visited {
    color: #ffffff;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'DotGothic16', sans-serif;
}

.main-title a {
    color: #ffffff;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    text-transform: uppercase;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}
.main-nav li {
    margin: 10px 20px;
}
.main-nav a {
    color: #dddddd;
}
.main-nav a:hover {
    color: #ffffff;
}

.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.hero {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

#home .page-title {
    text-transform: none;
}

h2 {
    line-height: normal;
}

.page-title {
    margin-top: 15px;
}

p {
    line-height: 1.7;
    text-align: justify;
}

.work-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.work-card {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    margin: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    color: #333;
}

.work-card h2 {
    margin-top: 0;
    color: #666;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.timeline {
    margin: 40px 0;
}

.timeline ul {
    padding: 0;
    list-style-type: none;
    position: relative;
}

.timeline ul li {
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 2px solid #ffffff;
    position: relative;
}

.timeline ul li::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 0;
}

.timeline-content {
    margin-left: 20px;
    padding: 10px;
    background: #333;
    border-radius: 5px;
    color: #ffffff;
}

footer {
    background: #000000;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #ffffff;
    font-size: 0.875rem;
}
