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

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ヘッダー */
header {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;

    span{
        text-wrap: nowrap;
    }
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* メインコンテンツ */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    background-color: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

h3 {
    color: #374151;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* 導入文 */
.introduction p {
    margin-bottom: 1rem;

}

/* 開催概要 */
.details-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 1rem;
}

.detail-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #1e3a8a;
}

.detail-section h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.detail-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-content ul {
    list-style: none;
    padding-left: 0;
}

.detail-content li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.detail-content li::before {
    content: "•";
    color: #1e3a8a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.note {
    background-color: #fef3c7;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #f59e0b;
    font-size: 0.95rem;
    margin-top: 2rem;
}

/* 参加企業 */

.participating-companies p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #374151;
    text-align: center;
}

.company-list {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #374151;
    text-align: center;
    line-height: 1.8;
}

.company-name {
    white-space: nowrap;
    display: inline-block;
    margin: 0 0.2em;
}

.excel-button-container {
    margin-top: 1rem;
    text-align: center;
}

.excel-button {
    background-color: #059669;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin-inline: auto;
    display: inline-block;
}

.excel-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 申込みフォーム */
.form-placeholder {
    background-color: #f3f4f6;
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
    color: #6b7280;
    border: 2px dashed #d1d5db;
}

/* フォームスタイルの上書き */
form#mailformpro {
    margin-top: 1rem;
}

form#mailformpro dl {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: fit-content;
    margin-inline: auto;
}

form#mailformpro dl dt {
    text-align: left;
}
form#mailformpro dl dd {
    padding: 0;
}

form#mailformpro dt.mfp {
    color: #1e3a8a;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    width: fit-content;
    flex-shrink: 0;
    margin-top: 1rem;

}

form#mailformpro dd.mfp {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    flex: 1;
}

form#mailformpro .mfp_rows {
    margin: 0;
}

form#mailformpro .mfp_col10 {
    width: 100%;
}

form#mailformpro input[type="text"],
form#mailformpro input[type="email"],
form#mailformpro input[type="tel"] {
    width: 100% !important;
    max-width: 400px;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

form#mailformpro input[type="text"]:focus,
form#mailformpro input[type="email"]:focus,
form#mailformpro input[type="tel"]:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

form#mailformpro input[type="text"]::placeholder,
form#mailformpro input[type="email"]::placeholder,
form#mailformpro input[type="tel"]::placeholder {
    color: #9ca3af;
}

/* ラジオボタンのスタイル */
form#mailformpro label {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-weight: normal;
    color: #374151;
    font-size: 1rem;
    border: none !important;
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

form#mailformpro input[type="radio"] {
    margin-right: 0.5rem;
    width: auto;
    max-width: none;
    padding: 0;
    border: none;
    box-shadow: none;
}


/* 送信ボタンのスタイル */
form#mailformpro button[type="submit"] {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 2rem;
    width: fit-content;
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

form#mailformpro button[type="submit"]:hover {
    transform: translateY(-1px);
}

form#mailformpro button[type="submit"]:active {
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    form#mailformpro dt.mfp {
        width: 100%;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    form#mailformpro input[type="text"],
    form#mailformpro input[type="email"],
    form#mailformpro input[type="tel"] {
        max-width: 100%;
    }
    
    form#mailformpro label {
        display: block;
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
    
    form#mailformpro button[type="submit"] {
        max-width: 100%;
    }
}

/* フッター */
footer {
    background-color: #f8f9fa;
    color: #333;
    padding: 2rem 1rem;
    margin-top: 3rem;
    text-align: center;
    border-top: 2px solid #1e3a8a;
}

footer h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-info strong {
    color: #1e3a8a;
    font-weight: bold;
    font-size: 1.1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .details-container {
        gap: 1.5rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    main {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .excel-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
