/* 基本設定 */
:root {
    --primary-color: #faed00;
    --secondary-color: #171c60;
    --white-color: #ffffff;
    --gray-color: #EEEEEE;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white-color);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    width: 100vw;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--dark-gray);
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
    overflow: visible;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    overflow: visible;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* メインビジュアル */
.main-visual {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    padding-top: 70px;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(238, 238, 238, 0.7); /* 半透明のオーバーレイ */
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.background-icon {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    height: auto;
    opacity: 0.85;
    z-index: 2;
}

.main-visual-content {
    width: 55%;
    max-width: 700px;
    position: relative;
    z-index: 3; /* z-indexを上げて動画の上に表示 */
    margin-left: 40%;
    padding-right: 5%;
    text-align: left;
    /* opacity: 0; */
    /* transform: scale(0.8) translateZ(-100px); */
    transform-origin: center center;
    /* transition: opacity 1.5s ease, transform 1.5s ease; */
    perspective: 1000px;
    box-sizing: border-box;

}

.main-visual-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
    color: var(--secondary-color);
    overflow-y:hidden;
}

/* メインビジュアルのspan要素のアニメーション */
.main-visual-content h1 span {
    display: block;
    margin-bottom: 15px;
    opacity: 0;
}


.main-visual-content .en-text {
    font-size: 1.2rem;
    font-family: "Soukou Mincho", "装甲明朝", serif;
}

/* 発光エフェクト用のスタイル */
.glow-text-1, .glow-text-2 {
    color: var(--secondary-color);
    font-size: 38px;
    font-weight: bold;
    opacity: 0;
    position: relative;
    line-height: 1.4;
    white-space: normal;
    width: 100%;
}

.glow-text-1 {
    animation: fadeInWithGlow 0.8s ease-in-out forwards;
    margin-bottom: 0.5rem;
}

.glow-text-2 {
    animation: fadeInWithGlow 0.8s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInWithGlow {
    0% {
        opacity: 0;
        transform: scale(0.9);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(250, 237, 0, 0.8),
                     0 0 40px rgba(250, 237, 0, 0.5),
                     0 0 70px rgba(250, 237, 0, 0.3);
    }
    40% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 30px rgba(250, 237, 0, 0.8),
                     0 0 40px rgba(250, 237, 0, 0.5),
                     0 0 70px rgba(250, 237, 0, 0.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: none;
    }
}

.main-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.main-features .feature {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1.5s ease-in-out forwards;
}

.cta-button.fade-in {
    animation-delay: 4.0s;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* フェードインテキストも最初は非表示に */
.fade-in-text {
    opacity: 0;
    transform: translateX(30px);
}


.char-animation {
    display: inline-block !important; /* inline-blockを使用する */
    /* opacity: 0;
    transform: scale(0.8) translateZ(-30px);
    transform-origin: center center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* 改行を防ぐための追加スタイル */
    white-space: nowrap;
    width: auto; 
    /* フォントのサイズに基づいて適切なマージンを設定 */
    /* 文字間の隙間を少し詰める */
} 

/* 特徴セクション */
.features {
    padding: 100px 5%;
    background-color: var(--white-color);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    padding: 25px 25px 15px;
    position: relative;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.feature-card p {
    padding: 15px 25px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .feature-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        min-width: 100%;
    }
}

/* 信念セクション */
.value {
    padding: 100px 5%;
    background-color: var(--gray-color);
}

.value-card {
    padding: 50px 35px;
    min-width: 320px;
}

.value-card h3 {
    font-size: 30px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card p {
    font-size: 20px;
    color: var(--dark-gray);
}

/* 企業情報セクション */
.company {
    padding: 100px 5%;
    background-color: var(--gray-color);
}

.company-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(135deg, var(--white-color) 0%, #f8f8f8 100%);
    padding: 50px 35px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(23, 28, 96, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.company-card h3 {
    font-size: 30px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.company-card p {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.company-card a {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    background-color: rgba(250, 237, 0, 0.2);
    transition: var(--transition);
}

.company-card a i {
    margin-left: 8px;
    transition: var(--transition);
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.company-card:hover a {
    background-color: var(--primary-color);
}

.company-card:hover a i {
    transform: translateX(5px);
}

/* 選ばれる理由セクション */
.reason {
    padding: 100px 5%;
    background-color: var(--gray-color);
}

.reason-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-card {
    padding: 40px 35px;
    min-width: 320px;
}

.reason-number {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.reason-card p {
    font-size: 20px;
    line-height: 1.7;
}

/* フッター */
footer {
    background-color: var(--white-color);
    color: var(--dark-gray);
    padding: 50px 5% 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-logo img {
    height: 40px;
    max-width: 100%;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links ul li a {
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
}

/* 会社概要ページ */
.page-title {
    height: 210px;
    background: linear-gradient(rgba(51, 51, 51, 0.6), rgba(51, 51, 51, 0.6)), url('../images/city_background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    margin-top: 70px;
}

.page-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
}

.about-content {
    padding: 80px 5%;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.company-info {
    width: 100%;
    border-collapse: collapse;
}

.company-info th, .company-info td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.company-info th {
    width: 30%;
    text-align: left;
    font-weight: 700;
    color: var(--secondary-color);
}

.company-info td ul {
    list-style: disc;
    padding-left: 20px;
}

.access {
    padding: 80px 5%;
}

.access-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map {
    margin-bottom: 30px;
}

.access-info {
    text-align: center;
}

.access-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.access-info p {
    margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-container {
        width:90%;
        margin:0;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white-color);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .main-visual {
        justify-content: center;
        text-align: center;
    }
    
    .background-icon {
        width: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity:0.4;
    }
    
    .main-visual-content {
        width: 90%;
        margin-left: 5%;
        padding-right: 0;
    }
    
    .main-visual-content h1 {
        /* font-size: 36px; */
        font-size: 2.1rem;
    }
    
    .main-visual-content h1 span:last-child {
        font-size: 32px;
        margin-top: 15px;
        white-space: normal;
    }

    
    .video-background video {
        display : none;
        
    }

    
    .main-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-card, .value-card, .company-card, .reason-card {
        min-width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .video-background video {
        height: 100%;
        width: auto;
        min-width: 100%;
    }
}

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

.feature-card, .value-card, .company-card, .reason-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.4s;
}

.reason-card:nth-child(2) {
    animation-delay: 0.2s;
}

.reason-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* 代表メッセージページ */
.message-content {
    padding: 80px 5%;
    background-color: var(--white-color);
}

.message-container {
    max-width: 1200px;
    margin: 0 auto;
}

.message-header {
    text-align: center;
    margin-bottom: 60px;
}

.message-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.4;
}

.message-body {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.ceo-image {
    flex: 0 0 300px;
    text-align: center;
}

.ceo-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.ceo-name {
    margin-top: 20px;
}

.ceo-name p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.ceo-name h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.message-text {
    flex: 1;
    min-width: 300px;
}

.message-points {
    margin: 30px 0;
}

.message-point {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.message-point h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .message-body {
        flex-direction: column;
        align-items: center;
    }
    
    .ceo-image {
        flex: 0 0 100%;
        max-width: 300px;
    }
    
    .ceo-image img {
        height: 350px;
    }
    
    .message-header h2 {
        font-size: 28px;
    }
}

/* 企業理念セクション */
.philosophy {
    padding: 80px 5%;
    background-color: var(--gray-color);
}

.philosophy-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.philosophy-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.philosophy-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.philosophy-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .message-body {
        flex-direction: column;
    }
    
    .ceo-image {
        margin-bottom: 20px;
    }
    
    .philosophy-card {
        min-width: 100%;
    }
}

/* カジュアル面談セクション */
.interview {
    padding: 100px 5%;
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.interview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 237, 0, 0.1) 0%, rgba(23, 28, 96, 0.1) 100%);
    z-index: 1;
}

.interview-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.interview-content {
    flex: 1;
    min-width: 300px;
}

.interview-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.interview-content p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.interview-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.interview-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gray-color);
    padding: 15px 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 200px;
}

.interview-feature i {
    font-size: 24px;
    color: var(--secondary-color);
}

.interview-feature p {
    margin-bottom: 0;
    font-weight: 500;
}

.interview-button {
    margin-top: 30px;
}

.interview-button a {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.interview-button a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.interview-button a i {
    margin-left: 10px;
    transition: var(--transition);
}

.interview-button a:hover i {
    transform: translateX(5px);
}

.interview-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.interview-image img {
    width: 100%;
    object-fit: cover;
    object-position:top;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .interview-container {
        flex-direction: column-reverse;
    }
    
    .interview-image {
        max-width: 100%;
    }
    
    .interview-features {
        flex-direction: column;
    }
    
    .interview-feature {
        min-width: 100%;
    }
}

/* 強みセクション */
.strengths {
    padding: 100px 5%;
    background-color: var(--white-color);
    position: relative;
}

.strengths::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 237, 0, 0.05) 0%, rgba(23, 28, 96, 0.05) 100%);
    z-index: 1;
}

.strengths-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.strength-card {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(135deg, var(--white-color) 0%, #f8f8f8 100%);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(23, 28, 96, 0.1);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.strength-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.strength-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.strength-content {
    color: var(--dark-gray);
}

.strength-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0 10px;
}

.strength-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.strength-content ul {
    padding-left: 20px;
    list-style-type: none;
}

.strength-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.strength-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
    background-color: rgba(250, 237, 0, 0.3);
    padding: 2px 5px;
    border-radius: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .strength-card {
        min-width: 100%;
    }
}

/* SNSセクション - グリッドレイアウト */
.sns {
    padding: 100px 5%;
    background-color: var(--gray-color);
    position: relative;
    overflow-y:hidden;
    overflow-x:hidden;
}

.sns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.sns-grid-item {
    background: var(--white-color);
    border-radius: 15px;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.sns-grid-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: var(--white-color);
}

.sns-grid-header i {
    font-size: 24px;
    margin-right: 10px;
}

.sns-grid-header i.fa-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sns-grid-header i.fa-tiktok {
    color: #000000;
}

.sns-grid-header i.fa-twitter {
    color: #1DA1F2;
}

.sns-grid-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.sns-embed {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Instagram埋め込み用のカスタムスタイル */
.instagram-preview {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
}

.instagram-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.instagram-profile {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.instagram-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

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

.instagram-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 3px;
}

.instagram-info p {
    font-size: 12px;
    color: #8e8e8e;
    margin: 0;
}

.instagram-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2px;
    flex: 1;
}

.instagram-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.instagram-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-link:hover .instagram-image img {
    transform: scale(1.05);
}

.instagram-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    transition: opacity 0.3s ease;
}

.instagram-link:hover .instagram-cta {
    opacity: 0.9;
}

.instagram-embed-fallback {
    display: none;
}

/* Instagram埋め込み用のスタイル（Elfsight用） */
.elfsight-app-instagram-feed {
    height: 100%;
    min-height: 400px;
}

/* X（Twitter）埋め込み用のスタイル */
.twitter-embed {
    padding: 20px;
    height: auto;
    width: 100%;
    /* display: flex; */
    flex-direction: column;
    overflow:visible;
}




.twitter-embed iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    border: none !important;
}


.twitter-tweet twitter-tweet-rendered {
    width: 100% ;
    height: 100% ;
    border: none !important;
    margin:3%;
}

/* Xアカウントリスト */
.sns-accounts-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    overflow-y: auto;
}

.sns-account {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--white-color) 0%, #f8f8f8 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 12px;
    transition: var(--transition);
}

.sns-account:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f8f8 0%, var(--white-color) 100%);
}

.sns-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.sns-info {
    flex: 1;
}

.sns-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.sns-info p {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0;
}

.other-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.platform-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--white-color);
    transition: var(--transition);
    flex: 1;
    min-width: 140px;
}

.platform-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.platform-button i {
    font-size: 18px;
}

.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
}

.tiktok {
    background: linear-gradient(45deg, #000000, #EE1D52, #69C9D0);
}

/* レスポンシブ対応を強化 */
@media (max-width: 992px) {
    .sns-grid {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }
}

/* その他SNSブロック */
.other-sns-block {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.other-sns-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.other-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.platform-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--white-color);
    transition: var(--transition);
    flex: 1;
    min-width: 160px;
    max-width: 200px;
}

.platform-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.platform-button i {
    font-size: 24px;
}

/* オープニングシャッター */
.opening-shutter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shutter-logo {
    position: relative;
    z-index: 10001;
    opacity: 0;
    transform: scale(0.9);
    animation: logoAppear 0.5s ease forwards 0.3s, logoDisappear 0.5s ease forwards 1.5s;
}

.logo-image {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.shutter-top, .shutter-bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    background-color: var(--white-color);
    z-index: 10000;
}

.shutter-top {
    top: 0;
    transform: translateY(0);
    animation: shutterTop 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards 1.5s;
}

.shutter-bottom {
    bottom: 0;
    transform: translateY(0);
    animation: shutterBottom 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards 1.5s;
}

/* アニメーションキーフレーム */
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoDisappear {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes shutterTop {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes shutterBottom {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

/* シャッターが開いた後に非表示にする */
.opening-shutter.hidden {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .logo-image {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 280px;
    }
}

/* Newsセクション */
.news {
    padding: 100px 5%;
    background-color: var(--white-color);
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.news-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-date .day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    overflow-y:hidden;
}

.news-date .month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 3px;
}

.news-content {
    padding: 25px;
}

.news-tag {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.news-link i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--primary-color);
}

.news-link:hover i {
    transform: translateX(5px);
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

.more-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--white-color);
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.more-button i {
    margin-left: 10px;
}

.more-button:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.more-button:hover i {
    transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .news-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .news-card {
        min-width: 100%;
        max-width: 500px;
    }
}

/* ニュース一覧ページ */
.page-header {
    background-color: var(--secondary-color);
    padding: 100px 5%;
    text-align: center;
    margin-top: 80px;
}

.page-header-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 10px;
}

.page-header-content p {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.news-list {
    padding: 80px 5%;
    background-color: var(--white-color);
}

.news-list-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-button {
    background-color: var(--light-gray);
    color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-button:hover, .filter-button.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.pagination .next {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

.pagination .next i {
    margin-left: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {


    header{
        width:100vw;
    }

    .page-header {
        padding: 80px 5%;
        margin-top: 70px;
    }
    
    .page-header-content h1 {
        font-size: 36px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-button {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* FAQページのスタイル */
.faq-content {
    padding: 80px 5%;
    background-color: var(--white-color);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.category-button {
    background-color: var(--light-gray);
    color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-button:hover, .category-button.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.faq-list {
    margin-bottom: 60px;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background-color: var(--white-color);
}

.faq-question {
    padding: 20px 25px;
    background-color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.toggle-icon {
    color: var(--secondary-color);
    font-size: 16px;
    transition: var(--transition);
}

.faq-question.active {
    background-color: var(--secondary-color);
}

.faq-question.active h3 {
    color: var(--white-color);
}

.faq-question.active .toggle-icon {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--white-color);
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    line-height: 1.8;
    color: var(--dark-gray);
}

.faq-contact {
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 15px;
}

.faq-contact h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.faq-contact p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transition);
}

.contact-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.contact-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.contact-button:hover i {
    transform: translateX(5px);
}

/* お問い合わせページのスタイル */
.contact-content {
    padding: 80px 5%;
    background-color: var(--white-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.contact-methods {
    margin: 40px 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.method-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.method-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.method-details p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.method-details .note {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.contact-note {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
}

.contact-note h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-note p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.required-mark {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(23, 28, 96, 0.1);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.privacy-policy {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.privacy-policy input {
    width: 18px;
    height: 18px;
}

.privacy-policy label {
    margin-bottom: 0;
    font-size: 14px;
}

.privacy-policy a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.form-submit {
    margin-top: 10px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button i {
    margin-left: 10px;
}

.submit-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.form-success {
    text-align: center;
    padding: 30px 0;
}

.success-icon {
    font-size: 60px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.form-success p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.back-button i {
    margin-left: 8px;
}

.back-button:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

/* 代表メッセージページのスタイル */
.message-content {
    padding: 80px 5%;
    background-color: var(--white-color);
}

.message-container {
    max-width: 1200px;
    margin: 0 auto;
}

.message-header {
    text-align: center;
    margin-bottom: 60px;
}

.message-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.4;
}

.message-body {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.ceo-image {
    flex: 0 0 300px;
    text-align: center;
}

.ceo-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.ceo-name {
    margin-top: 20px;
}

.ceo-name p {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.ceo-name h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.message-text {
    flex: 1;
    min-width: 300px;
}

.message-text p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.message-points {
    margin: 30px 0;
}

.message-point {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.message-point h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.ceo-signature {
    margin-right:2%;
    text-align: right;
    /* font-style: italic; */
    margin-top: 40px;
}

.ceo-signature p {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .message-body {
        flex-direction: column;
        align-items: center;
    }
    
    .ceo-image {
        flex: 0 0 100%;
        max-width: 300px;
    }
    
    .ceo-image img {
        height: 350px;
    }
    
    .message-header h2 {
        font-size: 28px;
    }
}

/* ページタイトル共通スタイル */
.page-title {
    background-color: var(--secondary-color);
    padding: 100px 5% 60px;
    text-align: center;
    margin-top: 70px;
}

.page-title-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-title {
        padding: 80px 5% 40px;
    }
    
    .page-title h1 {
        font-size: 32px;
    }
    
    .page-title p {
        font-size: 16px;
    }
}

/* 会社説明資料セクション */
.company-deck {
    padding: 100px 5%;
    background-color: var(--gray-color);
    overflow-x: hidden;
}

.company-deck-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%; /* 左右マージン10%ずつで合計20%、残り80%を使用 */
    overflow-x: hidden;
}

/* SlideShareの埋め込み用コンテナ - アスペクト比を維持 */
.company-deck-container .slideshare-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.company-deck-container .slideshare-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.deck-description {
    text-align: center;
    max-width: 800px;
    margin-bottom: 20px;
}

.deck-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.deck-description p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.pdf-viewer {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pdf-viewer iframe {
    border: none;
    width: 100%;
    height: 500px;
}

.deck-download {
    margin-top: 20px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 16px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transition);
}

.download-button i {
    margin-right: 10px;
}

.download-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pdf-viewer iframe {
        height: 400px;
    }
    
    .company-deck-container {
        width: 90%; /* モバイルでは左右マージンを少し小さく */
    }
}

@media (max-width: 480px) {
    .pdf-viewer iframe {
        height: 300px;
    }
    
    .download-button {
        font-size: 14px;
        padding: 12px 25px;
    }
}
