* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}


/* 新しいファーストビューデザイン - コーポレートサイトスタイル */
.page-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.page-header .background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-header .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3D浮遊アニメーション図形 (A-E) */
.page-header .shape-3d {
    position: absolute;
    animation: float3d 8s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.page-header .shape-3d.shape-a {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.page-header .shape-3d.shape-b {
    top: 20%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.page-header .shape-3d.shape-c {
    top: 70%;
    right: 40%;
    animation-delay: 4s;
    animation-duration: 9s;
}

.page-header .shape-3d.shape-d {
    top: 30%;
    right: 3%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.page-header .shape-3d.shape-e {
    top: 65%;
    right: 4%;
    animation-delay: 8s;
    animation-duration: 13s;
}

/* 2D拡大縮小アニメーション図形 (F-J) */
.page-header .shape-2d {
    position: absolute;
    animation: scale2d 4s ease-in-out infinite;
    opacity: 0.3;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.page-header .shape-2d.shape-f {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.page-header .shape-2d.shape-g {
    top: 55%;
    left: 8%;
    animation-delay: 1s;
    animation-duration: 5s;
}

.page-header .shape-2d.shape-h {
    top: 25%;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.page-header .shape-2d.shape-i {
    top: 65%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 6.5s;
}

.page-header .shape-2d.shape-j {
    top: 40%;
    left: 12%;
    animation-delay: 4s;
    animation-duration: 5.5s;
}

.page-header .shape-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    visibility: visible;
}

/* 図形のサイズ設定 */
.page-header .shape-3d.shape-a .shape-image {
    width: 300px;
    height: 300px;
}

.page-header .shape-3d.shape-b .shape-image {
    width: 500px;
    height: 500px;
}

.page-header .shape-3d.shape-c .shape-image {
    width: 200px;
    height: 200px;
}

.page-header .shape-3d.shape-d .shape-image {
    width: 500px;
    height: 500px;
}

.page-header .shape-3d.shape-e .shape-image {
    width: 150px;
    height: 150px;
}

.page-header .shape-2d.shape-f .shape-image {
    width: 400px;
    height: 400px;
}

.page-header .shape-2d.shape-g .shape-image {
    width: 200px;
    height: 200px;
}

.page-header .shape-2d.shape-h .shape-image {
    width: 60px;
    height: 60px;
}

.page-header .shape-2d.shape-i .shape-image {
    width: 120px;
    height: 120px;
}

.page-header .shape-2d.shape-j .shape-image {
    width: 100px;
    height: 100px;
}

/* メインコンテンツ */
.page-header-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    max-width: 800px;
    margin-left: 8%;
}

.page-title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tagline {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #555;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    margin-bottom: 1rem;
}

.statement {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #555;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    margin-bottom: 1rem;
}

.highlight {
    background: none;
    padding: 0;
    border-radius: 0;
    color: #333;
    font-size: 1.1em;
    border-bottom: 4px solid #F5A623;
    display: inline-block;
}

/* Company Hero Section - 共通スタイルを継承 */
/* paddingは共通クラスで管理 */


/* セクション共通スタイル */
.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    border-radius: 2px;
}

/* 代表挨拶セクション */
.message-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 4rem;
}

.message-content {
    padding: 1rem;
}

.message-text {
    font-size: 1.6rem;
    line-height: 2;
    color: #374151;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Mission & Visionセクション */
.mission-vision-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.mission-section, .vision-section {
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mission-section:hover, .vision-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mission-section::before, .vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4);
}

.mv-label {
    font-size: 1.1rem;
    color: #a855f7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.mv-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 2rem;
}

.mv-description {
    font-size: 2rem;
    color: #4b5563;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-family: serif;
}

/* Valuesセクション */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #a855f7;
}

.value-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.value-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.value-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

.value-description {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
}

/* 会社概要セクション */
.company-info-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 3rem;
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a855f7;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.6rem;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.6;
}

/* メンバー紹介セクション */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.member-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
}

.member-photo {
    width: 200px;
    height: 250px;
    border-radius: 5%;
    object-fit: cover;
    margin: 0 auto 2rem;
    border: 4px solid #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.member-card:hover .member-photo {
    transform: scale(1.05);
    border-color: #a855f7;
}

.member-info {
    position: relative;
    z-index: 10;
}

.member-position {
    font-size: 1rem;
    color: #a855f7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.member-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-name-en {
    font-size: 1rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.member-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.member-polygon {
    position: absolute;
    opacity: 0.05;
    animation: gentleFloat 25s ease-in-out infinite;
}

.member-polygon-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    background: #a855f7;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-delay: 0s;
}

.member-polygon-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    background: #ec4899;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 5s;
}

.member-polygon-3 {
    width: 70px;
    height: 70px;
    top: 25%;
    right: 20%;
    background: #06b6d4;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-delay: 2s;
}

.member-polygon-4 {
    width: 50px;
    height: 50px;
    bottom: 25%;
    left: 20%;
    background: #10b981;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 7s;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #a855f7;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes logoRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 新しいアニメーション */
@keyframes float3d {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: translateY(-20px) rotateX(15deg) rotateY(10deg) rotateZ(5deg);
    }
    50% {
        transform: translateY(-10px) rotateX(0deg) rotateY(20deg) rotateZ(10deg);
    }
    75% {
        transform: translateY(-30px) rotateX(-15deg) rotateY(10deg) rotateZ(15deg);
    }
}

@keyframes scale2d {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* レスポンシブ */
/* タブレット用 */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-title {
        font-size: 3rem;
    }

    .page-header-content {
        margin-left: 5%;
    }

    /* 3D図形配置調整 */
    .page-header .shape-3d.shape-a {
        top: 5%;
        left: 4%;
    }

    .page-header .shape-3d.shape-b {
        top: 15%;
        right: 8%;
    }

    .page-header .shape-3d.shape-c {
        top: 85%;
        right: 40%;
    }

    .page-header .shape-3d.shape-d {
        top: 50%;
        right: 5%;
    }

    .page-header .shape-3d.shape-e {
        top: 65%;
        left: 5%;
    }
    
    .page-header .shape-3d.shape-a .shape-image {
        width: 550px;
        height: 550px;
    }
    
    .page-header .shape-3d.shape-b .shape-image {
        width: 500px;
        height: 500px;
    }
    
    .page-header .shape-3d.shape-c .shape-image {
        width: 450px;
        height: 450px;
    }
    
    .page-header .shape-3d.shape-d .shape-image {
        width: 400px;
        height: 400px;
    }
    
    .page-header .shape-3d.shape-e .shape-image {
        width: 250px;
        height: 250px;
    }

    .page-header .shape-2d.shape-f .shape-image {
        width: 150px;
        height: 150px;
    }
    
    .page-header .shape-2d.shape-g .shape-image {
        width: 100px;
        height: 100px;
    }
    
    .page-header .shape-2d.shape-h .shape-image {
        width: 40px;
        height: 40px;
    }
    
    .page-header .shape-2d.shape-i .shape-image {
        width: 60px;
        height: 60px;
    }
    
    .page-header .shape-2d.shape-j .shape-image {
        width: 50px;
        height: 50px;
    }
}

/* モバイル用 */
@media (max-width: 768px) {
    
    
    .page-title {
        font-size: 2.5rem;
    }

    .page-header-content {
        margin-left: 0;
        text-align: center;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .statement {
        font-size: 1.3rem;
    }

    /* モバイル用の図形配置調整 */
    .page-header .shape-3d.shape-a {
        top: 15%;
        left: 5%;
    }
 
    .page-header .shape-3d.shape-b {
        top: 20%;
        right: 5%;
    }

    .page-header .shape-3d.shape-c {
        top: 75%;
        right: 0%;
    }

    .page-header .shape-3d.shape-d {
        top: 50%;
        right: 5%;
    }

    .page-header .shape-3d.shape-e {
        top: 65%;
        left: 5%;
    }
    
    .page-header .shape-3d.shape-a .shape-image {
        width: 350px;
        height: 350px;
    }
    
    .page-header .shape-3d.shape-b .shape-image {
        width: 400px;
        height: 400px;
    }
    
    .page-header .shape-3d.shape-c .shape-image {
        width: 250px;
        height: 250px;
    }
    
    .page-header .shape-3d.shape-d .shape-image {
        width: 300px;
        height: 300px;
    }
    
    .page-header .shape-3d.shape-e .shape-image {
        width: 150px;
        height: 150px;
    }

    /* 2D図形のモバイル調整 */
    .page-header .shape-2d.shape-f {
        top: 15%;
        left: 10%;
    }
    
    .page-header .shape-2d.shape-g {
        top: 65%;
        left: 5%;
    }
    
    .page-header .shape-2d.shape-h {
        top: 25%;
        left: 20%;
    }
    
    .page-header .shape-2d.shape-i {
        top: 70%;
        left: 15%;
    }
    
    .page-header .shape-2d.shape-j {
        top: 40%;
        left: 8%;
    }

    .page-header .shape-2d.shape-f .shape-image {
        width: 100px;
        height: 100px;
    }
    
    .page-header .shape-2d.shape-g .shape-image {
        width: 80px;
        height: 80px;
    }
    
    .page-header .shape-2d.shape-h .shape-image {
        width: 30px;
        height: 30px;
    }
    
    .page-header .shape-2d.shape-i .shape-image {
        width: 50px;
        height: 50px;
    }
    
    .page-header .shape-2d.shape-j .shape-image {
        width: 40px;
        height: 40px;
    }

    .section {
        padding: 3rem 0;
    }

    .message-content {
        padding: 1rem 1.5rem;
    }

    .message-text {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .mission-section, .vision-section {
        padding: 2.5rem 2rem;
    }

    .mv-title {
        font-size: 2rem;
    }

    .mv-description {
        font-size: 1.2rem;
    }

    .value-item {
        padding: 2rem;
    }

    .company-info-section {
        padding: 2rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    
    
    .page-title {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .statement {
        font-size: 1.2rem;
    }

    /* さらに小さい画面用の図形調整 */
    .page-header .shape-3d.shape-a .shape-image {
        width: 150px;
        height: 150px;
    }
    
    .page-header .shape-3d.shape-b .shape-image {
        width: 200px;
        height: 200px;
    }
    
    .page-header .shape-3d.shape-c .shape-image {
        width: 150px;
        height: 150px;
    }
    
    .page-header .shape-3d.shape-d .shape-image {
        width: 180px;
        height: 180px;
    }
    
    .page-header .shape-3d.shape-e .shape-image {
        width: 100px;
        height: 100px;
    }
    
    /* 3D図形配置調整 */
    .page-header .shape-3d.shape-a {
        top: 15%;
        left: 5%;
    }

    .page-header .shape-3d.shape-b {
        top: 20%;
        right: 5%;
    }

    .page-header .shape-3d.shape-c {
        top: 80%;
        right: 0%;
    }

    .page-header .shape-3d.shape-d {
        top: 50%;
        right: 5%;
    }

    .page-header .shape-3d.shape-e {
        top: 65%;
        left: 5%;
    }
    
    .page-header .shape-2d.shape-f .shape-image {
        width: 60px;
        height: 60px;
    }
    
    .page-header .shape-2d.shape-g .shape-image {
        width: 50px;
        height: 50px;
    }
    
    .page-header .shape-2d.shape-h .shape-image {
        width: 20px;
        height: 20px;
    }
    
    .page-header .shape-2d.shape-i .shape-image {
        width: 35px;
        height: 35px;
    }
    
    .page-header .shape-2d.shape-j .shape-image {
        width: 25px;
        height: 25px;
    }
}

/* Tech × Wealth × Well-being スタイル - レスポンシブ対応 */
.company-motto {
    font-size: 2.5rem !important;
    color: #a855f7 !important;
    font-weight: 900 !important;
    font-style: italic !important;
    display: block !important;
    text-align: center !important;
    margin: 1rem 0 !important;
    line-height: 1.2 !important;
}

/* フォールバック用 - インラインスタイルがある場合 */
strong[style*="font-size: 2.5rem"] {
    font-size: 2.5rem !important;
    color: #a855f7 !important;
    font-weight: 900 !important;
    font-style: italic !important;
    display: block !important;
    text-align: center !important;
    margin: 1rem 0 !important;
    line-height: 1.2 !important;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    .company-motto {
        font-size: 2rem !important; /* 40px */
        margin: 0.8rem 0 !important;
    }
    
    strong[style*="font-size: 2.5rem"] {
        font-size: 2rem !important; /* 40px */
        margin: 0.8rem 0 !important;
    }
}

/* モバイル対応 (480px以下) */
@media (max-width: 480px) {
    .company-motto {
        font-size: 1.5rem !important; /* 24px */
        margin: 0.6rem 0 !important;
        line-height: 1.3 !important;
    }
    
    strong[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important; /* 24px */
        margin: 0.6rem 0 !important;
        line-height: 1.3 !important;
    }
}

/* より具体的なセレクターで確実に適用 */
.company-page strong[style*="font-size: 2.5rem"],
.page-company strong[style*="font-size: 2.5rem"],
body.page-company strong[style*="font-size: 2.5rem"] {
    font-size: 2.5rem !important;
    color: #a855f7 !important;
    font-weight: 900 !important;
    font-style: italic !important;
    display: block !important;
    text-align: center !important;
    margin: 1rem 0 !important;
    line-height: 1.2 !important;
}

@media (max-width: 768px) {
    .company-page strong[style*="font-size: 2.5rem"],
    .page-company strong[style*="font-size: 2.5rem"],
    body.page-company strong[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin: 0.8rem 0 !important;
    }
}

@media (max-width: 480px) {
    .company-page strong[style*="font-size: 2.5rem"],
    .page-company strong[style*="font-size: 2.5rem"],
    body.page-company strong[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
        margin: 0.6rem 0 !important;
        line-height: 1.3 !important;
    }
}