/* ================================================
   固定ページ専用スタイル
   ================================================ */

/* ページヘッダー - アイキャッチ画像背景 */
.page-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* 背景画像がない場合のデフォルト背景 */
.page-header:not([style*="background-image"]) {
    background: linear-gradient(135deg, #2c7fb8 0%, #1a5a7f 100%);
}

/* 暗いオーバーレイで文字を読みやすく */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    color: #fff;
    text-align: left;
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title .ja {
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
        min-height: 200px;
    }
    
    .page-title {
        font-size: 1.8rem;
        white-space: nowrap;
    }
}

/* ================================================
   応募フォーム専用スタイル
   ================================================ */

/* フォーム全体のコンテナ */
.page-content {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.page-content .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* フォームテーブル */
.mw_wp_form table.cform {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.mw_wp_form table.cform tbody {
    display: block;
}

.mw_wp_form table.cform tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 30px;
}

.mw_wp_form table.cform tr:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 見出し（th） */
.mw_wp_form table.cform th {
    background: none;
    border: none;
    padding: 0 0 10px 0;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    width: 100%;
    display: flex;
    align-items: center;
}

/* 必須マーク */
.required-srt {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: 500;
}

/* 入力欄（td） */
.mw_wp_form table.cform td {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
}

/* テキスト入力フィールド */
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form textarea,
.mw_wp_form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form input[type="tel"]:focus,
.mw_wp_form textarea:focus,
.mw_wp_form select:focus {
    border-color: #2c7fb8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 127, 184, 0.1);
}

/* セレクトボックス */
.mw_wp_form select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M6 8L0 2l1.41-1.41L6 5.17l4.59-4.58L12 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

/* テキストエリア */
.mw_wp_form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* ラジオボタン・チェックボックス */
.mw_wp_form input[type="radio"],
.mw_wp_form input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
}

.mw_wp_form .radio label,
.mw_wp_form label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

/* 縦並びのチェックボックス */
.mw_wp_form td.radio.left label {
    display: flex;
    margin-bottom: 12px;
    margin-right: 0;
}

/* 注釈テキスト */
.mw_wp_form td {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 送信ボタンエリア */
.submit-btn {
    text-align: center;
    margin: 40px 0 20px;
}

.mw_wp_form input[type="submit"],
.mw_wp_form button[type="submit"] {
background: #983868;
  color: #fff;
  border: none;
  padding: 16px 60px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(70, 23, 63, 0.3);
  min-width: 280px;
}

.mw_wp_form input[type="submit"]:hover,
.mw_wp_form button[type="submit"]:hover {
    transform: translateY(-2px);
background: #d55494;
  box-shadow: 0 4px 12px rgba(70, 23, 63, 0.3);
}

/* 戻るボタン */
.mw_wp_form input[type="button"] {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #d0d0d0;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mw_wp_form input[type="button"]:hover {
    background: #e0e0e0;
    border-color: #b0b0b0;
}

/* 個人情報保護方針チェックボックス */
.mw_wp_form p:has(input[name="c-kojin"]) {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0 0 0;
}

.mw_wp_form p:has(input[name="c-kojin"]) label {
    font-weight: 500;
    color: #333;
}

/* エラーメッセージ */
.mw_wp_form .error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}

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

/* 確認画面用スタイル */
.mw_wp_form .mw_wp_form_confirm table.cform td {
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-content .container {
        padding: 20px;
        margin: 0 15px;
        border-radius: 0;
    }
    
    .mw_wp_form table.cform tr {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .mw_wp_form table.cform th {
        font-size: 14px;
    }
    
    .mw_wp_form input[type="text"],
    .mw_wp_form input[type="email"],
    .mw_wp_form input[type="tel"],
    .mw_wp_form textarea,
    .mw_wp_form select {
        font-size: 16px; /* iOS拡大防止 */
    }
    
    .mw_wp_form input[type="submit"],
    .mw_wp_form button[type="submit"] {
        width: 100%;
        min-width: auto;
        padding: 14px 30px;
    }
    
    .submit-btn {
        margin: 30px 0 15px;
    }
}

/* プレースホルダーのスタイル */
.mw_wp_form input::placeholder,
.mw_wp_form textarea::placeholder {
    color: #999;
    font-size: 14px;
}
/* 生年月日セレクトボックス */
.birthday-selects {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.birthday-selects select {
    width: auto !important;
    min-width: 100px;
}

.birthday-selects select[name="birth_year"] {
    min-width: 120px;
}

.birthday-selects select[name="birth_month"],
.birthday-selects select[name="birth_day"] {
    min-width: 80px;
}
/* 個人情報チェックボックスをテーブル内に配置 */
.mw_wp_form table.cform tr:has(input[name="c-kojin"]) th {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 20px !important;
}

.mw_wp_form table.cform tr:has(input[name="c-kojin"]) label {
    font-weight: 500;
    color: #333;
}
/* 個人情報保護方針チェックボックスのスタイル */
.mw_wp_form table.cform tr:has(input[name="c-kojin"]) th {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 20px !important;
}

.mw_wp_form table.cform tr:has(input[name="c-kojin"]) label {
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
}

.mw_wp_form table.cform tr:has(input[name="c-kojin"]) label input {
    margin-top: 4px;
    flex-shrink: 0;
}

.mw_wp_form table.cform tr:has(input[name="c-kojin"]) a {
    color: #2c7fb8;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mw_wp_form table.cform tr:has(input[name="c-kojin"]) a:hover {
    color: #1a5a7f;
    text-decoration: none;
}
@media (max-width: 480px) {
    .birthday-selects {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .birthday-selects select {
        width: 100% !important;
        min-width: auto;
    }
}

/* ================================================
   インタビューまとめページ
   ================================================ */

.interviews-summary-page {
    background: #f5f5f5;
}

/* ヒーローセクション */
.interviews-hero {
background: #faf7d1;
  padding-top: 50px;
}

.interviews-hero .page-title {
  color: unset;
  text-align: left;
  margin: 0;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: unset;
}

.interviews-hero .page-title .en {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.interviews-hero .page-title .ja {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.interviews-hero .page-description {
    font-size: 1.1rem;
    margin-top: 20px;
    line-height: 1.8;
    opacity: 0.95;
}

/* コンテナ */
.interviews-summary-container {
    max-width: 1200px;
    padding: 60px 20px;
}

/* 導入文 */
.intro-section {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

/* セクションタイトル */
.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title i {
    color: #e39d95;
    margin-right: 10px;
}

.section-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

/* 役職別インタビュー */
.featured-interviews {
    margin-bottom: 80px;
}

.featured-interviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-interview-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-interview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 役職別の色分け */
/*.featured-interview-card.executive {
    border-top-color: #e74c3c;
}

.featured-interview-card.leader {
    border-top-color: #2c7fb8;
}

.featured-interview-card.ot {
    border-top-color: #27ae60;
}

.featured-interview-card.st {
    border-top-color: #f39c12;
}
*/
.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c7fb8 0%, #1a5a7f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.featured-interview-card.executive .card-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.featured-interview-card.leader .card-icon {
    background: linear-gradient(135deg, #2c7fb8 0%, #1a5a7f 100%);
}

.featured-interview-card.ot .card-icon {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.featured-interview-card.st .card-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.card-icon i {
    font-size: 32px;
    color: #fff;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c7fb8;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 12px;
   color: #e39d95;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* スタッフの声グリッド */
.staff-voices {
    margin-bottom: 80px;
}

.staff-voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-voice-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.staff-voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.voice-card-link {
    display: block;
    padding: 25px;
    text-decoration: none;
    color: inherit;
}

.voice-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.voice-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2c7fb8 0%, #1a5a7f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.avatar-placeholder {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.voice-info {
    flex: 1;
    min-width: 0;
}

.voice-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.voice-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.voice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.voice-tag {
background: #e39d951c;
  color: #e39d95;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.voice-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* もっと見るボタン */
.view-more-section {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
color: #e39d95;
  padding: 15px 40px;
  border-radius: 50px;
  border: 2px solid #e39d95;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #e39d95;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 127, 184, 0.3);
}

/* 外部記事 */
.external-interviews {
    margin-bottom: 80px;
}

.external-interviews-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.external-interview-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.external-interview-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.external-interview-item a {
    display: block;
    padding: 25px;
    text-decoration: none;
    color: inherit;
}

.external-interview-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.external-interview-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.external-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e39d95;
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTAセクション */
.interviews-cta {
    margin-top: 80px;
}

.cta-box {
    background: #e39d95;
    color: #fff;
    text-align: center;
    padding: 60px 40px;
    border-radius: 15px;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #fff;
    color: #e39d95;
}

.cta-btn.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .interviews-hero {
    padding: 60px 0 20px;
    }
    
    .interviews-hero .page-title .ja {
        font-size: 2rem;
    }
    
    .interviews-summary-container {
        padding: 40px 15px;
    }
    
    .featured-interviews-grid,
    .staff-voices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}


/* スライダー部分 */
.location-slider {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.slider-inner {
    position: relative;
}

.slide-track {
    display: flex;
    animation: scroll 20s linear infinite; /* アニメーション時間を調整 */
    will-change: transform; /* パフォーマンス最適化 */
}

.slide {
    flex: 0 0 300px;
    padding: 0 15px;
}

.slide img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
}

/* スムーズなアニメーションのために追加 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8)); /* 画像1枚分の幅 × 画像枚数 */
    }
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* オプション：ホバー時にアニメーションを一時停止 */
.location-slider:hover .slide-track {
    animation-play-state: paused;
}
/* PCでのホバー時停止はそのまま残し、モバイルでは無効化 */
@media (hover: hover) {
    /* PCやマウス環境でのみホバー効果を適用 */
    .location-slider:hover .slide-track {
        animation-play-state: paused;
    }
}

/* スマートフォンではホバー効果を明示的に無効化 */
@media (max-width: 768px) {
    .location-slider:hover .slide-track {
        animation-play-state: running;
    }
}
/* レスポンシブ対応 */
@media (max-width: 768px) {

    .slide {
        flex: 0 0 250px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 8)); /* スマホ用の画像幅 × 画像枚数 */
        }
    }

    .slide-track {
        animation: scroll 15s linear infinite; /* スマホ用にアニメーション時間を調整 */
    }

}