
body {
    font-family: 'Zen Maru Gothic', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
}

/* 会社写真セクション */
.company-photo-section {
    width: 100%;
    max-width: 800px;
    margin: 100px auto 0;
    padding: 0 2rem;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.company-photo-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ff1493);
    border-radius: 2px;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.company-photo-section {
    flex-shrink: 0;
    width: 300px;
}

.company-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.company-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-photo:hover::after {
    opacity: 1;
}

/* 会社概要ページ専用スタイル */
.company-info-section {
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    animation: fadeInUp 1s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.company-info-section h1,
.company-title {
    text-align: center !important;
    color: #333 !important;
    font-size: 2.2rem !important;
    margin: 0 auto !important;
    display: block !important;
    font-weight: 600;
    margin: 0 auto 2.5rem auto;
    letter-spacing: 0.03em;
    position: relative;
    display: block;
    width: 100%;
}

.company-title {
    background: transparent !important;
    padding: 1rem 2rem !important;
    border-radius: 10px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

.company-history-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0 3rem;
}

.company-history {
    flex: 1;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.07);
    position: relative;
    animation: fadeInUp 1.2s 0.2s both;
}

.company-history h2 {
    color: #ff69b4;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff69b4;
}

.history-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.history-list::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #FFB6C1;
}

.history-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.history-list li::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #FFB6C1;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #FFB6C1;
}

.history-list .year {
    font-weight: bold;
    color: #ff69b4;
    min-width: 110px;
    margin-right: 1.5rem;
    font-size: 1.1rem;
}

.history-list .event {
    color: #333;
    line-height: 1.6;
    font-size: 1.1rem;
}

.company-philosophy {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(93, 64, 55, 0.15);
    animation: fadeInUp 1.2s 0.4s both;
}

.company-philosophy h2 {
    color: #3e2723;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3e2723;
    text-align: center;
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.1);
}

/* 企業理念のホバー効果を削除 */

.philosophy-item h3 {
    color: #3e2723;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.philosophy-item h2 {
    color: #3e2723;
    line-height: 1.8;
    font-size: 1.1rem;
}

.philosophy-item p {
    color: #3e2723;
    line-height: 1.8;
    font-size: 1.1rem;
}

.action-guidelines {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(78, 52, 46, 0.15);
    animation: fadeInUp 1.2s 0.6s both;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.action-guidelines h2 {
    color: #3e2723;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3e2723;
    text-align: center;
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.guideline-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.1);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* ホバー効果を削除 */

.guideline-icon {
    font-size: 2.5rem;
    color: #ff69b4;
    margin-bottom: 1rem;
}

.guideline-item h3 {
    color: #3e2723;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.guideline-item p {
    color: #3e2723;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 各種重要事項セクション */
.important-documents-container {
    font-family: "游ゴシック体", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    padding: 2.5em 2em;
    margin: 48px auto 24px auto;
    max-width: 650px;
}

.important-documents-container h2 {
    font-size: 1.7em;
    font-weight: bold;
    text-align: center;
    color: #2d3e50;
    margin-bottom: 1.2em;
    border-bottom: 2px solid #4fc3f7;
    padding-bottom: 0.3em;
    letter-spacing: 0.08em;
}

.important-documents-container ul {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    padding: 0;
    margin: 0;
}

.important-documents-container li {
    list-style: none;
}

.important-documents-link {
    display: flex;
    align-items: center;
    background: #f5fafd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(79,195,247,0.08);
    padding: 1em 1.2em;
    font-size: 1.13em;
    color: #1976d2;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    font-weight: 500;
}

.important-documents-link:hover {
    background: #e3f2fd;
    color: #0d47a1;
    box-shadow: 0 4px 16px rgba(33,150,243,0.13);
    text-decoration: underline;
}

.important-documents-link i {
    margin-right: 0.8em;
    font-size: 1.3em;
    color: #e53935;
}

@media (max-width: 900px) {
    .company-photo-section {
        margin: 80px auto 0;
        padding: 0 1.5rem;
    }
    .company-info-section {
        padding: 2rem 1rem;
    }
    .company-history, .company-philosophy, .action-guidelines {
        padding: 1.2rem;
    }
    .guidelines-content {
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .company-history-container {
        flex-direction: column;
        gap: 1rem;
    }
    .company-photo-section {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    .company-photo {
        border-radius: 10px;
        max-width: 250px;
    }
    .company-info-section {
        padding: 1rem 0.5rem;
        margin: 60px 0 20px 0;
    }
    .company-info-section h1,
    .company-title {
        font-size: 1.8rem;
        margin: 0 auto 2rem auto;
        color: #333;
        font-weight: 600;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .company-title {
        background: transparent;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: fit-content;
        max-width: 100%;
    }
    .company-history, .company-philosophy, .action-guidelines {
        padding: 0.7rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .company-history h2, .company-philosophy h2, .action-guidelines h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .philosophy-item h3 {
        font-size: 1.1rem;
    }
    .guideline-item {
        padding: 1rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .guideline-item h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .guideline-item p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-size: 0.95rem;
    }
    .guideline-icon {
        font-size: 1.5rem;
    }
    .guidelines-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .history-list li,
    .history-list .year,
    .history-list .event {
        font-size: 0.92em !important;
    }
}

/* フッターの制限を完全に解除 - 両端いっぱいまで広げる */
.footer {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.footer-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 20px 40px !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 2rem !important;
}

.footer-background {
    width: 100% !important;
    max-width: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 60px !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.footer-bg-image {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: blur(3px) !important;
}

.footer-section {
    flex: 1 !important;
    min-width: 200px !important;
}

.footer-bottom {
    background-color: #fce4ec !important;
    text-align: center !important;
    padding: 20px 0 !important;
    font-size: 0.9rem !important;
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: none !important;
}

/* アコーディオン用スタイル */
.guideline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3em auto 2em auto;
    max-width: 700px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2em 1.5em;
}
.guideline-section h2 {
    text-align: center;
    font-size: 1.7em;
    margin-bottom: 1.2em;
    color: #2a5d8f;
    letter-spacing: 0.1em;
    font-weight: bold;
}
.accordion {
    width: 100%;
    margin-top: 1em;
}
.accordion-title {
    width: 100%;
    text-align: left;
    background: #f5faff;
    border: none;
    outline: none;
    padding: 1.1em 1.2em;
    font-size: 1.13em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #cce0ee;
    border-radius: 8px 8px 0 0;
    color: #2366a8;
    font-weight: 600;
    position: relative;
}
.accordion-title.active,
.accordion-title:hover {
    background: #e0f0ff;
    color: #174a6c;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fafdff;
    transition: max-height 0.3s ease;
    padding: 0 1.2em;
    border-bottom: 1px solid #e0eaf2;
    border-radius: 0 0 8px 8px;
}
.accordion-content p {
    margin: 1.2em 0;
    line-height: 1.8;
    color: #333;
    font-size: 1em;
    white-space: pre-line;
} 