@charset "UTF-8";

/* =========================================
 * HOME (homeページ専用)
 * =========================================
 */

/* Hero Section (Osmo Style) */
.willem-header {
    color: #f4f4f4;
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-color);
    margin-top: calc(var(--header-height) * -1);
}

.willem-header.is--loading.is--hidden { display: none; }

.willem-loader {
    color: var(--text-color);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 50;
}

.willem__h1 {
    white-space: nowrap;
    justify-content: center;
    font-size: clamp(4rem, 18vw, 16em);
    font-weight: 500;
    font-family: var(--font-eng);
    line-height: .75;
    display: flex;
    position: relative;
    letter-spacing: -0.02em;
}

.willem__h1-start {
    justify-content: flex-end;
    width: auto; 
    padding-right: 0.1em;
    display: flex;
    overflow: hidden;
}

.willem__h1-end {
    justify-content: flex-start;
    width: auto;
    padding-left: 0.1em;
    display: flex;
    overflow: hidden;
}

.willem__letter { display: block; position: relative; }
.willem__letter-white { display: block; position: relative; color: #fff; }
.willem__letter-white.is--space { margin-left: .25em; }

.willem-loader__box {
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 0;
    display: flex;
    position: relative;
}

.willem-loader__box-inner {
    justify-content: center;
    align-items: center;
    min-width: 1em;
    height: 95%;
    display: flex;
    position: relative;
}

.willem__growing-image {
    justify-content: center;
    align-items: center;
    width: 0%;
    height: 100%;
    display: flex;
    position: absolute;
    overflow: hidden;
}

.willem__growing-image-wrap {
    width: 100%;
    min-width: 1em;
    height: 100%;
    position: absolute;
}

.willem__cover-image,
.willem__cover-image-extra {
    pointer-events: none;
    object-fit: cover;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.willem__cover-image-extra.is--1 { z-index: 3; }
.willem__cover-image-extra.is--2 { z-index: 2; }
.willem__cover-image-extra.is--3 { z-index: 1; }

/* Header Content */
.willem-header__content {
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 3em;
    display: flex;
    position: relative;
    z-index: 60;
    padding-top: calc(3em + 60px);
}

.willem-header__top {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-top-message {
    color: #fff;
    font-family: var(--font-eng);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.willem-header__bottom {
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    padding-bottom: 2em;
}

.hero-scroll-wrap {
    margin-top: 20px;
}

.scroll-down_01 {
    position: relative;
    width: 200px;
    height: 200px;
    color: #fff;
    font-family: serif;
    text-decoration: none;
    display: block;
}

.circle-text_01 {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.circle-text_01 span {
    position: absolute;
    left: 50%;
    font-size: 16px;
    transform-origin: 0 100px;
    top: 0;
}

.arrow_01 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 50px;
    transform: translate(-50%, -50%);
    animation: scroll_01 3s infinite;
}

.arrow_01::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1px;
    background-color: #fff;
    transform: translateX(-50%);
}
.arrow_01::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateX(-50%) rotate(45deg);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scroll_01 {
    0% { transform: translate(-50%, -50%) translateY(-10px); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, -50%) translateY(10px); opacity: 0; }
}

#service { 
    margin-top: 0; 
    padding-top: 160px; 
}

.service-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1rem;
    line-height: 2;
    color: #333333;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    display: block;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}

.service-card-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 0;
}

.service-card-img {
    background-color: transparent;
}

.service-slider-wrap {
    width: 100%;
    overflow: hidden;
    margin-bottom: 60px;
}

.service-slider-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite; 
}

.service-slider-item {
    width: 300px;
    height: 200px;
    margin-right: 20px;
    flex-shrink: 0;
}

.service-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    border-radius: 3px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-job {
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-eng);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text .view-more-btn {
    margin: 40px 0 0;
}

#about {
    padding-top: 80px;
    padding-bottom: 80px;
}

#contact {
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 100px;
}

.contact-desc {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 auto 60px;
    color: var(--text-color); /* 黒字に変更 */
}

/* 修正: 青文字の太字リンク */
.contact-text-link {
    color: #0066cc;
    font-weight: 700;
    border-bottom: 1px solid #0066cc;
    padding-bottom: 2px;
    transition: opacity 0.3s, border-color 0.3s;
}

.contact-text-link:hover {
    opacity: 0.7;
    /* ホバー時も色は変えず、opacityのみで変化をつける */
}

/* Contact Section Update (Email Box) */
.contact-email-box {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.email-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    border: 1px solid #eeeeee;
    background-color: #fcfcfc;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.email-link:hover {
    border-color: var(--text-color);
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    opacity: 1;
}

.email-address {
    font-family: var(--font-eng);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-color);
    position: relative;
}

.email-address::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.4s ease;
}

.email-link:hover .email-address::after {
    width: 100%;
}

.contact-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--sub-text-color);
    line-height: 1.8;
}

/* Utilities */
.pc-only { display: block; }

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .willem__h1 { font-size: 10em; } 
    .willem-header__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero-top-message { font-size: 2rem; }
    .about-content { gap: 40px; }
}

@media screen and (max-width: 1024px) {
    .service-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media screen and (max-width: 768px) {
    .willem__h1 { font-size: 6em; }
    .willem-header__content { padding: 1.5em; padding-top: calc(1.5em + 60px); }
    .hero-top-message { font-size: 1.5rem; }
    .willem-header__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    #service { padding-top: 100px; }
    #about { padding-top: 60px; padding-bottom: 60px; }
    #contact { padding-top: 60px; padding-bottom: 80px; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }

    .email-address { font-size: 1.1rem; }
    .email-link { padding: 40px 15px; }
    .pc-only { display: none; }
}