body {
    background: #FFFFFF;
    color: #333333;
    font-family: 'Helvetica Neue', Helvetica, Arial, '游ゴシック', 'Yu Gothic', YuGothic, 'メイリオ', Meiryo, sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 960px;
    margin: 0 auto;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20;
    padding-left: 0;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-left: 0;
}

.sns-icons {
    display: flex;
    gap: 20px;
    margin-right: 40px;
}

.sns-icons img {
    width: 24px;
    height: 24px;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.2s, opacity 0.2s;
}

.sns-icons img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.main-visual {
    position: relative;
    width: 960px;
    height: 420px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-copy {
    position: absolute;
    top: 40px;
    left: 40px;
    color: #fff;
    font-size: 38px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.42);
    line-height: 1.2;
}

main {
    margin-top: 120px;
}

.section-title {
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid #333333;
    padding-left: 8px;
    margin-bottom: 20px;
}

.works h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.works p {
    font-size: 14px;
    color: #333333;
    margin-top: 10px;
    margin-bottom: 120px;
    max-width: 600px;
    line-height: 1.7;
}

.gallery {
    display: grid;
    grid-template-columns: 400px 460px;
    grid-template-rows: 400px 400px;
    gap: 40px 60px;
    margin-bottom: 120px;
}

.gallery div {
    width: 100%;
    height: 100%;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.contact {
    margin-top: 120px;
}

.contact-area {
    display: flex;
    width: 100%;
    height: 600px;
    margin-top: 20px;
    background: #DDDDDD;
    border-radius: 7px;
    overflow: hidden;
}

.contact-photo img {
    width: 400px;
    height: 600px;
    object-fit: cover;
    display: block;
}

.contact form {
    width: 560px;
    padding: 40px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #DDDDDD;
    box-sizing: border-box;
}

.contact form label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0px;
    letter-spacing: 1px;
}

.contact form input,
.contact form textarea {
    font-size: 12px;
    margin-bottom: 40px;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #bbb;
    width: 420px;
    box-sizing: border-box;
    font-family: inherit;
}

.contact form textarea {
    min-height: 150px;
    max-height: 180px;
    resize: vertical;
}

.contact form button {
    align-self: flex-start;
    margin-left: 40px;
    background: #333333;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 32px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.15s;
}

.contact form button:hover {
    background: #555555;
}

footer {
    width: 100%;
    text-align: center;
    color: #999999;
    font-size: 10px;
    margin-top: 120px;
    border-top: 1px solid #e0e0e0;
    padding: 18px 0 10px 0;
    letter-spacing: 1px;
}

.footer-inner {
    padding-top: 20px;
    padding-bottom: 10px;
}

@media (max-width: 1000px) {
    .wrapper { width: 100vw; }
    .main-visual { width: 100vw; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .contact-area { flex-direction: column; height: auto; }
    .contact-photo img, .contact form { width: 100%; }
}
