/*
Theme Name: Default Theme
Text Domain: default
Version: 1.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: default theme
/* -------------------------------------------------------------------------- */

body {
    font-family: 'Noto Sans JP', 'Noto Serif JP';
    font-size: 14px;
    background: #eee;
}

img {
    max-width: 100%;
}

h1 {
    font-family: "Sansation", sans-serif;
    font-weight: 800;
}

button {
    transition: all 0.5s ease !important;
}

a {
    transition: all 0.5s ease !important;
    text-decoration: none;
    color: inherit;
}

ul {
    padding: 0;
    margin: 0;
}

.sp {
    display: none;
}

.pc {
    display: inherit;
}

.flex_normal {
    display: flex;
}

.flex_between {
    display: flex;
    justify-content: space-between;
}

.grecaptcha-badge { 
    visibility: hidden;
}

.parallax-window {
    min-height: 560px;
    background: transparent;
}

.table_form {
    width: 100%;
}

.table_form.no_edit {
    background-color: #fff;
    pointer-events: none;
}

.table_form.editable {
    background-color: #eee;
    border-radius: 4px;
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2; /* コンテンツより後ろに配置 */
    object-fit: cover; /* 画面いっぱいに広げ、比率を維持してクロップ */
}

#contant_wrap.login_page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background: url(imgs/dot_bg.png); 
    z-index: -1;
}

#login_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 自身のサイズの半分だけ戻す */
}

#login_form {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border: 1px #07005E solid;
    margin-top: 20px;
    width: 400px;
    border-radius: 20px;
}

#login_logo {
    text-align: center;
}

#login_logo img {
    max-width: 300px;
}

.copyright {
    font-size: 13px;
    margin-top: 30px;
    text-align: center;
    color: #fee59a;
}

.um .um-field-label {
    color: #555;
}

.um a.um-button, .um a.um-button.um-disabled:active, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:hover, .um input[type=submit].um-button, .um input[type=submit].um-button:focus {
    background: #1e73f9;
}

.um-field-label label {
    color: #acacac;
}

/* グリッド全体のコンテナ */
.grid_container {
  display: grid;
  /* 3列で均等配置（画面が狭くなったら自動調整） */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; /* カード間の隙間 */
  padding: 40px;
  background-color: #f9f9fb; /* 全体の背景色 */
    border-radius: 20px 0 0 20px;
    margin-bottom: 20px;
}

.grid_container.no_flex {
    display: block;
}

/* 各カードのスタイル */
.card {
  background: #fff;
  border: 1px solid #e1e4e8; /* 薄い枠線 */
  border-radius: 12px; /* 角丸 */
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
    margin-top: 10px;
}

/* ホバー時に少し浮き上がらせる（オプション） */
.card:hover {
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
}

/* タイトルと説明文の装飾 */
.card h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #005ea8;
    font-weight: bold;
}

.card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 画像部分（下側に配置） */
.card_image {
  margin-top: auto; /* 説明文が短くても画像は常に下へ */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.card_image svg {
    color: #cfcfcf;
}

#contant_wrap {
    display: flex;
    min-height: 100vh;
    box-sizing: border-box;
}

#site_lefter {
    background: #031c30;
    padding: 20px;
    position: fixed;    /* 画面に対して位置を固定 */
    top: 0;             /* 一番上に配置 */
    left: 0;            /* 一番左に配置 */
    width: 250px;       /* 任意の横幅を指定 */
    height: 100vh;      /* 画面の高さ100% */
    height: 100dvh;     /* スマホのアドレスバー対策（対応ブラウザ用） */
    z-index: 1000;      /* 他の要素より手前に表示 */
    overflow-y: auto;   /* サイドバーの中身が長い場合にスクロール可能にする */
    box-shadow: 8px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 0px 30px 0px 0px;
}

#site_content {
    margin-left: 250px;
    flex: 1;
    padding-left: 20px;
    position: relative;
    padding-bottom: 50px;
}

.header_logo img {
    max-width: 150px;
}

.header_logo {
    margin-bottom: 20px;
}

.header_logo .logo {
    padding-bottom: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid white;
}

.header_logo .caption {
    color: navajowhite;
    font-size: 10px;
}

.menu_icon svg {
    width: 30px;
    color: white;
}

#main_menu .menu li {
    padding: 7px 7px 7px 0;
    margin-bottom: 4px;
    border-bottom: 1px dotted white;   
}

#main_menu .menu li a{
    display: inline-block;
    text-decoration: none;
    color: #ffc107;
    transition: transform 0.4s ease;
}

#main_menu .menu li a:hover {
    transform: scale(1.05);
    color: yellow;
}

.footer_copyright {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    width: 500px;
    text-align: right;
}

.is_link {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.is_link:hover {
    transform: scale(1.01); /* 少しだけ拡大 */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15); /* 影を強く・遠くする */
}

.map_dialog {
    display: none;
}

.text_left {
    text-align: left;
}

.text_right {
    text-align: right;
}

.text_center {
    text-align: center;
}

.map_image_wrap {
    display: flex;
    justify-content: flex-start;
}

.area_list {
    margin-bottom: 20px;
    border: 1px dotted #1e293b;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    padding: 20px;
    display: none;
    position: absolute;
    z-index: 3;
    background-color: #eee;
}

#dialog_hokkaidou {
    right: 200px;
    top: 126px;
    width: 247px;
}

#dialog_kantou {
    right: 201px;
    bottom: 257px;
    width: 261px;
}

#dialog_chuubu {
    left: 400px;
    top: 293px;
    width: 247px;
}

#dialog_kinki {
    left: 264px;
    top: 360px;
    width: 247px;
}

#dialog_chuugoku {
    left: 229px;
    bottom: 276px;
    width: 300px;
}

#dialog_kyuushuu {
    left: 72px;
    bottom: 276px;
    width: 261px;
}

:root {
    --primary_color: #4f46e5;
    --border_color: #e5e7eb;
    --bg_light: #f9fafb;
}

.table_container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border_color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-family: sans-serif;
}

th, td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border_color);
    min-width: 120px;
}

th.bg_blue {
    border-color: #fff;
}

.with_icon {
    position: relative;
    padding-right: 30px;
}

.pen_icon {
    position: absolute;
    right: 5px;
    top: 10px;
    cursor: pointer;
}

.del_icon {
    cursor: pointer;

}

.del_icon svg {
    color: red;
}

.date_btn_wrap {
    margin-bottom: 10px;
}

/* ヘッダー */
thead th {
    background: var(--bg_light);
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 項目列の固定 */
.sticky_col {
    position: sticky;
    left: 0;
    z-index: 10;
    text-align: left;
    font-weight: bold;
    border-right: 2px solid var(--border_color);
    min-width: 180px;
}

/* 追加ボタン */
.add_btn {
    color: var(--primary_color);
    cursor: pointer;
    background: #eef2ff !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.add_btn:hover {
    background: #e0e7ff !important;
    color: #4338ca;
}

/* 新規列のアニメーション */
.new_col {
    animation: fadeIn 0.5s ease-out;
}

/* ベースは前回のコードを継承 */
.bg_blue { background-color: #dbeafe !important; color: #1e40af; }
.bg_yellow { background-color: #fef3c7 !important; color: #92400e; }

table { border-collapse: collapse; width: 100%; white-space: nowrap; }
th, td { border: 1px solid #e5e7eb; padding: 12px; text-align: center; }

/* 1段目と2段目のヘッダーを固定 */
thead { position: sticky; top: 0; z-index: 20; }

/* 複数列の固定（媒体列など） */
.sticky_col {
    position: sticky;
    left: 0;
    z-index: 30;
    border-right: 2px solid #e5e7eb;
}

.add_btn {
    cursor: pointer;
    background-color: #fef3c7 !important;
    font-weight: bold;
    min-width: 200px;
}

.icon_check { color: #2563eb; font-size: 1.2em; margin-left: 5px; }

th.sticky_col.bg_blue {
    border-bottom: 1px solid white;
}
th.sticky_col.bg_blue {
    border-right: 1px solid white;
}
th.bg_blue.white_border {
    border-right: 1px solid white;
}

.date_wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.date_wrap > * {
    align-self: center;
}

.date_wrap input {
    width: 150px;
}

.form-check-inline.last_child {
    margin-right: 0;
}

.nami {
    margin-left: 10px;
    margin-right: 10px;
}

/* いそまる START */

.section_title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}

.section_title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary_color);
    border-radius: 2px;
}

.bg_light {
    background-color: var(--bg_light);
    padding: 60px 0;
}

.mt_40 { margin-top: 40px; }
.text_center { text-align: center; }


/* ボタン */
.btn_primary, .btn_secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn_primary {
    background-color: var(--primary_color);
    color: white;
    border: 2px solid var(--primary_color);
}

.btn_primary:hover {
    background-color: var(--secondary_color);
    border-color: var(--secondary_color);
}

.btn_secondary {
    background-color: transparent;
    color: var(--primary_color);
    border: 2px solid var(--primary_color);
}

.btn_secondary:hover {
    background-color: var(--primary_color);
    color: white;
}

.btn_link {
    color: var(--secondary_color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.btn_link::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.2s ease;
}
.btn_link:hover::after {
    margin-left: 10px;
}


/* ヘッダー */
.main_header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border_color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.main_header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site_logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary_color);
    margin: 0;
}

.main_nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main_nav li {
    margin-left: 30px;
}

.main_nav a {
    color: var(--text_color_dark);
    font-weight: 500;
    font-size: 1.05rem;
}
.main_nav a:hover {
    color: var(--primary_color);
}

/* ヒーローセクション */
.hero_section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    gap: 40px;
    max-width: 1400px; /* 少し広めに */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden; /* 画像の角丸対応 */
    margin-top: 20px;
}

.hero_content {
    flex: 1;
    max-width: 500px;
    text-align: left;
    padding-left: 40px;
}

.section_tag {
    color: var(--primary_color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero_content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.1;
}

.hero_description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text_color_light);
}

.hero_image {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero_image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* プロフィール概要セクション */
.profile_summary_section {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    padding: 80px 0;
}

.profile_card {
    flex-shrink: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border_color);
}

.profile_avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid var(--primary_color);
    box-shadow: 0 0 0 6px rgba(var(--primary_color), 0.2);
}

.profile_info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.profile_info .role {
    color: var(--secondary_color);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social_links a {
    font-size: 1.8rem;
    margin: 0 10px;
    color: #6c757d;
}

.social_links a:hover {
    color: var(--primary_color);
}

.profile_text {
    flex-grow: 1;
    padding-top: 20px;
}

.profile_text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.profile_text p {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

/* 人気動画セクション */
.popular_videos_section {
    padding: 80px 0;
}

.video_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video_item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.video_item:hover {
    transform: translateY(-5px);
}

.video_item iframe {
    border-bottom: 1px solid var(--border_color);
}

.video_item .video_title {
    padding: 15px;
    font-weight: 600;
    color: var(--text_color_dark);
    font-size: 1.05rem;
}

/* 他の演者セクション */
.other_performers_section {
    padding: 80px 0;
}

.performer_cards_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.performer_card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border_color);
    transition: transform 0.3s ease;
}

.performer_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.performer_card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 3px solid var(--secondary_color);
}

.performer_card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* フッター */
.main_footer {
    background-color: var(--text_color_dark);
    color: #f8f8f8;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* いそまる END */

/*ランキングテーブル START*/
.ranking_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.ranking_table th {
    background: #f8fafc;
    padding: 15px;
    border: 1px solid #e2e8f0;
    font-weight: bold;
}

.ranking_table td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    vertical-align: middle;
}

/* トレンドアイコン（左端） */
.trend_icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}
.trend_up_red { color: #ef4444; }
.trend_down_blue { color: #3b82f6; }

/* 媒体名・ランクエリア */
.media_info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}
.rank_icon { font-size: 28px; }
.media_name { font-weight: bold; font-size: 16px; flex-grow: 1; }
.type_icon { font-size: 24px; color: #64748b; }

/* スコア詳細エリア */
.score_detail {
    text-align: left;
    font-size: 12px;
    color: #475569;
}
.pt_val {
    text-align: right;
    font-weight: bold;
    color: #1e293b;
    margin-top: 5px;
}

/* 合計・ポイントのみ */
.pt_only, .ttl_val {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}
.ttl_val { color: #0f172a; }

/* 行のホバー効果 */
.ranking_table tbody tr:hover {
    background-color: #f1f5f9;
}

/*ランキングテーブルEND*/

.search_field {
    max-width: 400px;
}

button:focus {
    border: none;
}

#map_wrap {
    position: relative;
    width: 1000px;
    height: 773px;
}

#map_kyuushuu,#map_chuugoku,#map_kinki,#map_chuubu,#map_kantou,#map_hokkaidou {
    position: absolute;
    cursor: pointer;
    transition: all ease 0.3s;
}

#map_kyuushuu:hover,#map_chuugoku:hover,#map_kinki:hover,#map_chuubu:hover,#map_kantou:hover,#map_hokkaidou:hover {
    scale: 1.05;
    z-index: 2;
}

#map_kyuushuu {
    left: 0;
    bottom: 0;
}

#map_chuugoku {
    left:208px;
    bottom: 80px;
}

#map_kinki {
    left: 357px;
    bottom: 80px;
}

#map_chuubu {
    left: 533px;
    bottom: 119px;
}

#map_kantou {
    left: 689px;
    bottom: 119px;
}

#map_hokkaidou {
    left: 689px;
    bottom: 347px;
}

#footer_content {
    position: relative;
}

.area_list_right {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px dotted #eee;
}

/* 検索 START */
.search-container { position: relative; width: 300px; }
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    display: none;
    max-width: 400px;
}
.result-item {
    padding: 8px 12px;
    cursor: pointer;
}
.result-item:hover {
    background-color: #f0f0f0;
}
/* 検索 END */

#snapshot_list {
    margin-top: 30px;
}

#snapshot_list li {
    font-size: large;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-right: 10px;
    border-bottom: 2px dotted #eee;
    transition: all ease 0.6s;
}

#snapshot_list li:hover {
    background-color: #eee;
}

#snapshot_list li .left {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

#snapshot_list li .title {
    color: #83a0ff;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}