/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
        sans-serif;
}

body {
    position: relative;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    width: 100%;
    background: #000;
}

.hero-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1280 / 820;
    overflow: hidden;
}

.company-logo a {
    display: inline-block;
}

.company-logo img {
    width: 16.48vw;
    height: auto;
}

/* ========================================
   背景画像エリア
======================================== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 108%;
    height: 100.6%;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   グラデーションオーバーレイ
======================================== */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    mix-blend-mode: multiply;
    background: linear-gradient(180deg, #fff 0%, #000 100%);
    background-blend-mode: multiply;
    pointer-events: none;
}

/* ヘッダー */
.contact-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.73vw 2.42vw;
    z-index: 100;
    background: transparent;
}

/* ========================================
   コンテンツエリア
======================================== */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    color: #fff;
}

/* ========================================
   導入テキスト
======================================== */
.hero-intro {
    position: absolute;
    top: 10vw;
    left: 2.42vw;
    z-index: 15;
}

.intro-text {
    color: #fff;
    font-size: 1.1vw;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, sans-serif;
    font-weight: bold;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-word;
    text-align: left;
    letter-spacing: -0.02em;
}

/* ========================================
   キャッチフレーズ
======================================== */
.hero-catchphrase {
    position: absolute;
    bottom: 3.83vw;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catchphrase-text {
    color: #fff;
    font-size: 4.0625vw;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, sans-serif;
    font-weight: bold;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
}

.catchphrase-text br {
    display: none;
}

/* ========================================
   レスポンシブ対応（767px以下）
======================================== */
@media (max-width: 767px) {
    .hero-container {
        aspect-ratio: 9 / 16;
    }

    .hero-image {
        width: 120%;
        height: auto;
        min-height: 100%;
    }
    
    /* ヘッダー */
    .contact-header {
        padding: 4.27vw;
    }

    .company-logo img {
        width: 29.33vw;
    }

    .hero-intro {
        width: 90.667vw;
        top: 4rem;
        left: 1rem;
        right: 1rem;
    }

    .intro-text {
        font-size: clamp(1rem, 3.5vw, 1.125rem);
        line-height: 1.6;
    }

    .intro-text br {
        display: none;
    }

    .hero-catchphrase {
        width: 95vw;
        left: 1rem;
        bottom: 10.67vw;
        right: 0rem;
        text-align: center;
    }

    .catchphrase-text {
        font-size: 7.7vw;
        line-height: 1.4;
    }

    .catchphrase-text br {
        display: inline;
    }
}

/* ========================================
   Purpose Section
======================================== */
.purpose-section {
    position: relative;
    width: 100%;
    min-height: 69.5vw;
    background: #fff;
    padding-top: 13.98vw;
}

/* 導入テキスト */
.purpose-intro {
    position: absolute;
    top: 13.98vw;
    left: 2.42vw;
    z-index: 10;
}

.purpose-intro-text {
    color: #333;
    font-size: 3.281vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.08em;
}

.purpose-intro-text:last-child {
    margin-bottom: 0;
}

/* Purposeタイトル */
.purpose-container {
    position: absolute;
    left: 2.42vw;
    top: 26.25vw;
    z-index: 10;
}

.purpose-title {
    color: #333;
    font-size: 6.25vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
}

/* メイン写真 */
.purpose-image {
    position: absolute;
    left: 2.42vw;
    top: 32vw;
    z-index: 1;
}

.purpose-image img {
    width: 55.08vw;
    height: 37.34vw;
    object-fit: cover;
    display: block;
}

/* サブイメージ写真 */
.purpose-sub-image {
    position: absolute;
    right: 2.42vw;
    top: 13.98vw;
    width: 30.938vw;
    height: 23.516vw;
    z-index: 5;
}

.purpose-sub-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.purpose-sub-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Purpose説明文 */
.purpose-description-wrapper {
    position: absolute;
    right: 2.42vw;
    top: 40vw;
    width: 30.938vw;
    z-index: 10;
}

.purpose-description {
    color: #333;
    font-size: 1.17vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    line-height: 2;
    margin: 0 0 2.5vw 0;
    letter-spacing: -0.07em;
}

.purpose-description:last-child {
    margin-bottom: 0;
}
/* ========================================
   レスポンシブ対応（767px以下） - Purpose Section
======================================== */
@media (max-width: 767px) {
    .purpose-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 0 4.27vw;
        margin-top: 16vw;
    }

    .purpose-intro {
        height: 11.467vw;
        order: 4;
        position: relative;
        top: auto;
        left: auto;
        margin: 0 0 8vw 0;
        width: 100%;
        min-height: auto;
    }

    .purpose-intro-text {
        font-size: 5.333vw;
        line-height: 1.2;
        margin-bottom: 0vw;
        letter-spacing: -0.1em;
    }

    .purpose-intro-text:last-child {
        margin-bottom: 0;
    }

    .purpose-container {
        order: 1;
        position: relative;
        left: auto;
        top: 4vw;
        padding: 0;
        width: 100%;
        margin-bottom: 0vw;
    }

    .purpose-title {
        font-size: 16vw;
        margin: 0;
    }

    .purpose-image {
        order: 2;
        position: relative;
        top: auto;
        left: 0;
        margin-bottom: 8vw;
    }

    .purpose-image img {
        width: 100%;
        height: auto;
    }

    .purpose-sub-image {
        order: 3;
        position: relative;
        left: 0;
        top: auto;
        width: 53.333vw;
        height: 40.533vw;
        margin: 0 0 8vw 0;
        align-self: flex-end;
    }

    .purpose-sub-bg {
        display: none;
    }

    .purpose-sub-image img {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
    }

    .purpose-description-wrapper {
        order: 5;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin: 0;
    }

    .purpose-description {
        font-size: 3.73vw;
        line-height: 1.8;
        color: #333;
        font-family: 'Yu Gothic', YuGothic, sans-serif;
        font-weight: 500;
        margin: 0 0 5.33vw 0;
		letter-spacing: -0.02em;
    }

    .purpose-description:last-child {
        margin-bottom: 0;
    }
}
/* ========================================
   Philosophy Section
======================================== */
.philosophy-section {
    position: relative;
    width: 100%;
    background: #fff;
    margin-top: 13.8vw;
    padding-left: 2.42vw;
    padding-right: 2.42vw;
}

.philosophy-container {
    position: relative;
    width: 100%;
}

/* タイトル */
.philosophy-title {
    position: absolute;
    top: -0.781vw;
    left: 62.6vw;
    color: #333;
    font-size: 6.25vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
    width: 33.11vw;
}

/* 導入テキスト */
.philosophy-intro {
    position: relative;
}

.philosophy-intro-text {
    color: #333;
    font-size: 1.17vw;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    letter-spacing: -0.1em;
}

.philosophy-intro-text:last-child {
    margin-bottom: 0;
}

/* Approach */
.approach-title {
    position: absolute;
    color: #333;
    font-size: 3.906vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
    margin-top: 8.7vw;
}

/* Approach導入テキスト */
.approach-intro {
    position: absolute;
    left: 34.5vw;
    margin-top: 9.53vw;
}

.approach-intro-text {
    color: #333;
    font-size: 1.17vw;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    letter-spacing: -0.07em;
}

.approach-intro-text:last-child {
    margin-bottom: 0;
}

/* Approachコンテンツ */
.approach-content {
    display: flex;
    gap: 1.3vw;
    margin-top: 19.766vw;
}

.approach-card {
    flex: 0 0 auto;
    width: 18.125vw;
    height: 21.25vw;
}

/* アイコン */
.approach-icon {
    position: relative;
    width: 100%;
    height: 2.87vw;
    margin-bottom: 1.953vw;
}

.approach-icon img {
    width: auto;
    height: 100%;
    display: block;
}

/* カードタイトル */
.approach-card-title {
    color: #333;
    font-size: 2.5vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    margin: 0 0 3.1vw 0;
}

/* カード説明文 */
.approach-card-text {
    color: #333;
    font-size: 1.2vw;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
	letter-spacing: -0.06em;
}

/* ========================================
   レスポンシブ対応（767px以下） - Philosophy Section
======================================== */
@media (max-width: 767px) {
    .philosophy-section {
        margin-top: 25.6vw;
        padding: 0 4.27vw;
    }

    .philosophy-title {
        position: relative;
        top: 0;
        left: 0;
        font-size: 16vw;
        width: auto;
        margin-bottom: 5.33vw;
    }

    .philosophy-intro {
        margin-top: 0;
        padding: 0;
        margin-bottom: 8vw;
    }

    .philosophy-intro-text {
        font-size: 4vw;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .philosophy-intro-text br {
        display: none;
    }

    /* Approach */
    .approach-title {
        position: relative;
        left: 0;
        top: auto;
        font-size: 10.667vw;
        margin: 0 0 8.8vw 0;
        padding: 0;
    }

    .approach-intro {
        position: relative;
        left: 0;
        top: auto;
        margin: 0 0 9.6vw 0;
        padding: 0;
    }

    .approach-intro-text {
        font-size: 3.73vw;
        line-height: 1.6;
        margin-bottom: 0;
        letter-spacing: -0.05em;
    }

    .approach-intro-text br {
        display: none;
    }

    /* Approach Content */
    .approach-content {
        display: flex;
        flex-direction: column;
        gap: 10.67vw;
        margin-top: 0;
        padding: 0;
    }

    .approach-card {
        width: 100%;
        height: auto;
    }

    .approach-icon {
        width: 100%;
        height: 10.67vw;
        margin-bottom: 4.8vw;
    }

    .approach-icon img {
        width: auto;
        height: 100%;
        display: block;
    }

    /* カードタイトル */
    .approach-card-title {
        font-size: 8.533vw;
        margin: 0 0 4.933vw 0;
    }

    /* カード説明文 */
    .approach-card-text {
        font-size: 4vw;
        line-height: 1.6;
        margin: 0;
    }

    .approach-card-text br {
        display: none;
    }
}

/* Model */
.model-title {
    position: absolute;
    color: #333;
    font-size: 3.906vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
    margin-top: 13.5vw;
}

/* Model導入テキスト */
.model-intro {
    width: 63.125vw;
    position: absolute;
    left: 34.5vw;
    margin-top: 14.2vw;
}

.model-intro-text {
    color: #333;
    font-size: 1.17vw;
    font-family: 'Yu Gothic Medium', 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    letter-spacing: -0.07em;
    }

.model-intro-text:last-child {
    margin-bottom: 0;
}

/* Model図 */
.model-diagram {
    margin-top: 21.7vw;
    display: flex;
    justify-content: center;
}

.model-diagram img {
    width: 41.95vw;
    height: 42.03vw;
    display: block;
}

/* ========================================
   レスポンシブ対応（767px以下） - Model
======================================== */
@media (max-width: 767px) {
    .model-title {
        position: relative;
        left: 0;
        top: auto;
        font-size: 10.667vw;
        margin: 24.4vw 0 6.8vw 0;
        padding: 0;
    }

    .model-intro {
        width: auto;
        position: relative;
        left: 0;
        margin: 0 0 9.6vw 0;
        padding: 0;
    }

    .model-intro-text {
        font-size: 4vw;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .model-diagram {
        display: flex;
        justify-content: center;
        margin-top: 0;
        padding: 0;
    }

    .model-diagram img {
        width: 90vw;
        height: auto;
    }
}

/* ========================================
   Service Section
======================================== */
.service-section {
    position: relative;
    width: 100%;
    background: #fff;
    margin-top: 13.36vw;
    padding: 0 2.42vw;
}

.service-container {
    position: relative;
    width: 100%;
}

/* タイトル */
.service-title {
    color: #333;
    font-size: 6.25vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
}

/* Serviceカード */
.service-cards {
    margin-top: 4.297vw;
}

.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3.91vw 0;
    border-bottom: 1px solid #D9D9D9;
}

.service-card:first-child {
    border-top: 1px solid #D9D9D9;
}

.service-card-content {
    flex: 0 0 auto;
    width: 50.12vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-title {
    color: #333;
    font-size: 2.2vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: bold;
    margin: 0 0 3vw 0;
    white-space: nowrap;
}

.service-card-description {
    color: #333;
    font-size: 1.03vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    margin: 0 0 3.9vw 0;
}

.service-card-link {
    color: #333;
    font-size: 1.406vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.39vw;
}

.service-card-link-text {
    text-decoration: none;
    border-bottom: 0.08vw solid #333;
}

.service-card-link-arrow {
    width: 0.78vw;
    height: auto;
}

.service-card-link:hover .service-card-link-text {
    text-decoration: none;
}


.service-card-images {
    display: flex;
    gap: 0.78vw;
    align-items: flex-start;
}

.service-image-small {
    width: 14.92vw;
    height: 19.69vw;
    object-fit: cover;
}

.service-image-large {
    width: 22.97vw;
    height: 30.23vw;
    object-fit: cover;
}

.service-card-images.odd .service-image-small {
    align-self: flex-end;
}

.service-card-images.even .service-image-small {
    align-self: flex-start;
}

/* ========================================
   レスポンシブ対応（767px以下） - Service Section
======================================== */
@media (max-width: 767px) {
    .service-section {
        margin-top: 22vw;
        padding: 0 4.27vw;
    }

    .service-title {
        font-size: 16vw;
        margin-bottom: 5.867vw;
    }

    .service-cards {
        margin-top: 0;
    }

    .service-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 8vw 0;
        border-bottom: 1px solid #D9D9D9;
    }

    .service-card:first-child {
        border-top: 1px solid #D9D9D9;
        padding-top: 8vw;
    }

    .service-card:last-child {
        padding-bottom: 8vw;
    }

    .service-card-images {
        order: 1;
        width: 100%;
        margin-bottom: 5.33vw;
    }

    .service-card-images.odd,
    .service-card-images.even {
        flex-direction: row;
    }

    .service-image-small {
        width: 37.6vw;
        height: 49.6vw;
        aspect-ratio: 191 / 252;
        align-self: flex-start;
    }

    .service-image-large {
        width: 53.067vw;
        height: 69.867vw;
        aspect-ratio: 294 / 387;
        align-self: flex-start;
    }

    .service-card-content {
        order: 2;
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .service-card-title {
        font-size: 4.8vw;
        margin-bottom: 5.9vw;
        white-space: normal;
    }

    .service-card-description {
        font-size: 4vw;
        margin-bottom: 9.333vw;
    }

    .service-card-link {
        font-size: 4.8vw;
        gap: 1.07vw;
    }

    .service-card-link-arrow {
        width: 2.67vw;
    }
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    position: relative;
    width: 100%;
    margin-top: 13.906vw;
    min-height: 42.1vw;
    overflow: hidden;
}

/* 背景画像 */
.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
    mix-blend-mode: multiply;
}

.contact-background img {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}



/* コンテンツ */
.contact-content {
    position: relative;
    z-index: 10;
    display: flex;
}

/* タイトル */
.contact-title {
    position: absolute;
    left: 50.6vw;
    top: 12.5vw;
    color: #fff;
    font-size: 4.7vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin: 0;
}

/* 説明文 */
.contact-description {
    position: absolute;
    left: 50.6vw;
    top: 19.69vw;
    color: #fff;
    font-size: 1.2vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    margin: 0;
}

/* リンク */
.contact-link {
    position: absolute;
    left: 50.6vw;
    top: 27.89vw;
    color: #fff;
    font-size: 1.4vw;
    font-family: 'Yu Gothic', YuGothic, sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.39vw;
    transition: opacity 0.3s;
}

.contact-link-text {
    text-decoration: none;
    border-bottom: 0.08vw solid #fff;
}

.contact-link-arrow {
    width: 0.78vw;
    height: auto;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-link:hover .contact-link-text {
    text-decoration: none;
}

/* ========================================
   レスポンシブ対応（767px以下） - Contact Section
======================================== */
@media (max-width: 767px) {
    .contact-section {
        margin-top: 24.267vw;
        min-height: 133.33vw;
    }

    .contact-background img {
        width: 101%;
        height: 133.33vw;
        object-fit: cover;
    }

    .contact-content {
        height: 133.33vw;
        padding: 16vw 4.27vw;
        display: block;
    }

    .contact-title {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        font-size: 16vw;
        margin-bottom: 7.6vw;
        line-height: 1;
    }

    .contact-description {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        font-size: 4vw;
        margin-bottom: 8vw;
		letter-spacing: -0.05em;
    }

    .contact-description br {
        display: none;
    }

    .contact-link {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        font-size: 4vw;
        gap: 1.07vw;
    }

    .contact-link-arrow {
        width: 2.67vw;
    }
}
/* ========================================
   Footer
======================================== */
.footer {
    width: 100%;
    height: 30vw;
    background: #3C3C3C;
    display: flex;
    align-items: center;
}

.footer-container {
    width: 100%;
    height: 100%;
    padding: 14vw 2.42vw 4.69vw;
    display: flex;
    flex-direction: column;
	gap: 8vw;
}

/* 上段 */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo img {
    height: 2.34vw;
    width: auto;
}

/* ナビゲーション */
.footer-nav {
    display: flex;
    gap: 3.13vw;
}

.footer-nav-link {
    color: #fff;
    font-size: 0.94vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav-link:hover {
    opacity: 0.7;
}

/* 下段 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-copyright {
    color: #fff;
    font-size: 0.78vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    margin: 0;
}

.footer-privacy {
    color: #fff;
    font-size: 0.78vw;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-privacy:hover {
    opacity: 0.7;
}

/* ========================================
   レスポンシブ対応（767px以下） - Footer
======================================== */
@media (max-width: 767px) {
    .footer {
        height: auto;
        min-height: auto;
    }

    .footer-container {
        padding: 20vw 4.27vw 8vw;
        gap: 0;
    }
	
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10.67vw;
        margin-bottom: 10.67vw;
    }

    .footer-logo img {
        height: 6.4vw;
        width: auto;
    }

    .footer-nav {
        flex-direction: column;
        gap: 5.33vw;
    }

    .footer-nav-link {
        font-size: 4.27vw;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8vw;
    }

    .footer-privacy {
        font-size: 3.73vw;
        order: 1;
    }

    .footer-copyright {
        font-size: 3.2vw;
        order: 2;
    }
}
