:root {
    --MaN-background: #F5EBDE;
    --MaN-white: #FFF;
    --MaN-blue: #369;
    --MaN-black: #454545;
    --MaN-orange: #FF8845;
}

body {
    margin: 0;
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    overflow-x: hidden;
}

.header {
    display: flex;
    align-items: center;
    padding: 0 64px;
    width: 100%;
    height: 72px;
    background: var(--MaN-orange);
    box-sizing: border-box;
}

.logo img {
    width: 150px;
    height: auto;
}

.hero-section {
    width: 100%;
    background: var(--MaN-background);
}

.hero-content {
    display: flex;
    width: 100%;
    max-width: 1440px;
    padding: 112px 64px;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
    box-sizing: border-box;
}

.text-block {
    color: var(--MaN-blue);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

.main-text {
    font-size: 48px;
    font-weight: 600;
    line-height: 120%;
    /* 57.6px */
}

.sub-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
    /* 27px */
}


.hero-image {
    flex-shrink: 0;
    border-radius: 40px;
    overflow: hidden;
    width: 637px;
    height: 640px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 637 / 640;
}

.intro-section {
    width: 100%;
    background: var(--MaN-orange);
    display: flex;
    justify-content: center;
}

.intro-content {
    color: var(--MaN-white);
    display: flex;
    width: 100%;
    max-width: 1440px;
    padding: 112px 64px;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 80px;
}

.intro-text-block {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    width: 100%;
}

.intro-main-text {
    flex: 1;
    font-size: 56px;
    font-weight: 700;
    line-height: 120%;
    /* 67.2px */
}

.intro-sub-text {
    flex: 1;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
    /* 27px */
}

.details-section {
    width: 100%;
    background: var(--MaN-background);
    display: flex;
    justify-content: center;
}

.details-content {
    display: flex;
    width: 100%;
    max-width: 1440px;
    padding: 112px 64px;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    box-sizing: border-box;
}

.details-content .text-block {
    color: var(--MaN-blue);
    margin: 0;
    width: 768px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.tagline {
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    /* 24px */
}

.details-main-text {
    font-size: 48px;
    font-weight: 600;
    line-height: 120%;
    /* 57.6px */
}

.details-sub-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
    /* 27px */
}

.features-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    align-self: stretch;
}

.feature-column {
    color: var(--MaN-blue);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
}

.feature-column img {
    width: 405.5px;
    height: 240px;
    object-fit: cover;
}

.feature-title {
    align-self: stretch;
    font-size: 32px;
    font-weight: 600;
    line-height: 130%;
    /* 41.6px */
}

.feature-description {
    align-self: stretch;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
    /* 27px */
}

.footer {
    position: relative;
    width: 100%;
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    background: var(--MaN-white);
    box-sizing: border-box;
}

.footer-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.divider {
    height: 1px;
    align-self: stretch;
    border: 1px solid var(--MaN-blue);
    background: var(--MaN-blue);
}

.footer-links {
    color: var(--MaN-blue);
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.footer-copyright {
    width: 128px;
}

.footer-link {
    color: var(--MaN-blue);
    text-decoration: underline;
}


@media (max-width: 767px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 64px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    .hero-content {
        flex-direction: column;
        padding: 64px 20px;
        gap: 48px;
    }

    .text-block {
        gap: 8px;
    }

    .main-text {
        font-size: 28px;
        line-height: 120%;
        /* 33.6px */
    }

    .sub-text {
        font-size: 14px;
        line-height: 150%;
        /* 21px */
    }

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

    .intro-content {
        flex-direction: column;
        padding: 64px 20px;
        gap: 20px;
    }

    .intro-text-block {
        flex-direction: column;
        align-self: stretch;
    }

    .intro-main-text {
        font-size: 28px;
        line-height: 120%;
        /* 33.6px */
    }

    .intro-sub-text {
        font-size: 16px;
        line-height: 150%;
        /* 24px */
    }

    .details-content {
        padding: 64px 20px;
        gap: 64px;
    }

    .details-content .text-block {
        width: 100%;
        gap: 12px;
        align-self: stretch;
    }

    .tagline {
        font-size: 14px;
        line-height: 150%;
        /* 21px */
        text-align: center;
    }

    .details-main-text {
        font-size: 24px;
        line-height: 140%;
        /* 33.6px */
    }

    .details-sub-text {
        font-size: 16px;
        line-height: 150%;
        /* 24px */
    }

    .features-block {
        flex-direction: column;
        gap: 64px;
        align-self: stretch;
    }

    .feature-column {
        gap: 16px;
        align-self: stretch;
    }

    .feature-column img {
        width: 100%;
        height: auto;
    }

    .feature-title {
        font-size: 24px;
        line-height: 140%;
        /* 33.6px */
    }

    .feature-description {
        font-size: 16px;
        line-height: 150%;
        /* 24px */
    }

    .footer {
        padding: 48px 20px;
        gap: 48px;
    }

    .footer-icon {
        width: 100%;
        max-width: 120px;
        /* 最大幅を設定 */
        margin: 0 auto;
        /* 中央揃え */
    }

    .footer-logo {
        width: 80%;
        /* 親要素に対して100%に */
        height: auto;
        /* アスペクト比を維持 */
        display: block;
        /* ブロック要素として表示 */
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        width: 100%;
    }


    .footer-copyright {
        order: 1;
        /* コピーライトを一番下に */
        width: 100%;
        text-align: center;
        /* 中央に配置 */
    }

    .footer-link {
        width: 100%;
        text-align: center;
        /* 中央に配置 */
    }
}

.language-switcher-container {
	position: absolute;
	top: 20px;
	right: 20px;
    padding: 5px 10px; /* optional padding for better spacing */
}

.language-switcher-container select {
	background: var(--MaN-background);
	border: 1px solid var(--MaN-text);
	padding: 4px 8px;
	font-size: 16px;
	border-radius: 4px;
	color: var(--MaN-text);
	cursor: pointer;
	/* Optional: smooth transition */
	transition: border-color 0.3s;
}

.language-switcher-container select:hover {
	border-color: var(--MaN-brand);
}