@charset "UTF-8";

/* ===============================
   Global Design Concept
   - Theme: "Diversity of Life × Data × Reflexivity"
   - Style: Dynamic, graphic, academic
   - Main color: vivid orange (#ff7a00)
   - Accent: deep blue (#004ea1) VIVIDLY used for contrast
================================= */

/* 2025/11/21 Hokuto - 共通部分をbasic.cssにまとめて、コメントアウト */
/* 2025/11/28 Hokuto - basic.css固有の部分は、こちらのhome.cssで指定を消去 */
/* 2025/12/5  Hokuto - プリント部分の修正 */
@import "basic.css";

:root { /* 2025/11/21 Hokuto */
/*  --main-orange: #ff7a00; /* キーカラーのオレンジ */
/*  --light-orange: #ffb266; */
/*  --accent-blue: #004ea1; /* アクセントカラー */
  --light-blue: #b3e5fc;
  --pale-green: #a8e6cf;
/*  --bg-white: #fafafa; */
/*  --text-main: #333; */
  --text-light: #666;
  --line-light: rgba(255, 255, 255, 0.3);
/*  --max-width: 960px; */
/*  --font-jp: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif; */
  --font-en: "Inter", sans-serif;
}

body { /* 2025/11/21 Hokuto */
/*
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text-main); */
  display: block; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
  background: radial-gradient(circle at 50% 20%, #fff 0%, #f7f7f7 60%, #f0f0f0 100%);
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.8) 0%, rgba(255, 153, 51, 0.5) 40%, transparent 80%);
/*
  line-height: 1.7; */
}

/* ===============================
   Header Background
================================= */


/* 幾何学ネットワークラインのパターン */
header::before {
/* 2025/11/21 Hokuto
  content: "";
  position: absolute;
  inset: 0; */
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.15) 0px,
      rgba(255, 255, 255, 0.15) 2px,
      transparent 2px,
      transparent 100px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.12) 0px,
      rgba(255, 255, 255, 0.12) 2px,
      transparent 2px,
      transparent 80px
    );
  opacity: 0.7;
  z-index: -1; /* hero-overlayの上、hero-bgの下 */
}

/* ===============================
   Header Content (Mobile/Default)
================================= */

header { /* 2025/11/21 Hokuto */
/*  position: relative; */
  display: flex;
  flex-direction: column;
  justify-content: center;
/*  color: #fff; */
  overflow: hidden;
  height: 100vh;
  min-height: 550px;
/*  text-align: center; */
  box-shadow: unset; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
/*  z-index: 10; /* コンテンツが一番上に来るように */
  padding: 1rem 1rem;
  box-sizing: border-box;
  background: unset; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
}

/* 2025/11/28 Hokuto - basic.cssの指定を消去 */
header h1 {
  color: unset;
  margin: unset;
  padding: unset;
}

header h1.meeting-name {
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem); 
  letter-spacing: 0.05em;
  z-index: 1;
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0.67em; /* 2025/11/28 Hokuto - 微調整 */
}

header .meeting-name .count {
  font-size: 1.2em;
}

/* ナビゲーション (モバイル/タブレット) */
header nav.global {
  text-align: center;
  margin: 1.5rem auto 2rem;
  z-index: 1;
  position: relative;
  width: 100%;
  box-shadow: none; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
  background: unset; /* Hokuto 同上 */
  padding: unset; /* Hokuto 同上 */
}

header nav.global ul {
/* 2025/11/21 Hokuto
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
*/
  gap: 0.8rem;
}

header nav.global a { /* 2025/11/21 Hokuto */
/*  color: #fff; */
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
/*  text-decoration: none; */
  transition: all 0.3s ease;
/*  font-size: 0.9rem;
  font-weight: 500; */
  border: 1px solid rgba(255, 255, 255, 0.5); /* 縁取りを追加 */
  display: unset; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
}

header nav.global a:hover {
  background: var(--accent-blue); /* ホバーでビビッドなブルーを適用 */
  border-color: var(--accent-blue);
  box-shadow: none;
}

/* テーマ (モバイル/タブレット) */
header h1.theme {
  font-size: clamp(1.8rem, 4vw, 3rem); /* サイズを大きく、よりダイナミックに */
  line-height: 1.3;
  font-weight: 700;
  max-width: 90%;
  margin: 2rem auto 1rem;
  z-index: 1;
  position: relative;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

header h1.theme .sub-theme {
  display: block;
  font-size: 0.5em; /* メインテーマに対して小さく */
  color: #fff;
  background: var(--accent-blue); /* ビビッドなブルーで背景を引く */
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: none;
}

/* 大会情報 (モバイル/タブレット) */
header .info {
  margin-top: 3rem;
  font-size: 1rem;
  z-index: 1;
  position: relative;
  padding: 0 1rem;
}

header .info address {
  font-style: normal;
  color: #fff;
  background: rgba(0, 0, 0, 0.3); /* 視認性確保 */
  padding:0.2em 0.5em;
  border-radius: 4px;
  width: fit-content;
  margin: 0 auto 1rem;
}

header .info .job {
    background: var(--accent-blue); /* ブルーをビビッドに使う */
    padding: 0.1em 0.5em;
    border-radius: 4px;
    margin-right: 0.5em;
    font-weight: 600;
}

header .info .period {
  color: #fff;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.3); /* 視認性確保 */
  padding: 0.2em 0.5em;
  margin: 0 auto;
  border-radius: 4px;
  width: fit-content;
  font-size: unset; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
}

/* ===============================
   Main Content
================================= */

main {
/* 2025/11/21 Hokuto
  max-width: var(--max-width);
  margin: 0 auto; */
  padding: 3rem 1.5rem;
  background: var(--bg-white);
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05); /* ヘッダーとの境界を強調 */
/*  position: relative; */
}

/* Main Contentのh2にメインカラーを適用 */
/* 2025/11/21 Hokuto 
main h2 {
  border-left: 5px solid var(--main-orange);
  padding-left: 0.6rem;
  margin-bottom: 1.5rem;
  color: var(--main-orange);
  font-weight: 700;
  font-size: 1.6rem;
}
*/

/* 大会概要テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden; 
}

th, td {
  border-bottom: 1px solid #eee;
  padding: 1rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

th {
  width: 25%;
  background: #fff8f0; 
  color: var(--main-orange);
  font-weight: 600;
  border-right: 1px solid #f7e0ce;
}

td a {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* 参加申込など - アクセントカラーを適用 */
dl dt {
  font-weight: 700;
  color: var(--accent-blue); 
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

dl dd {
  margin-left: 1rem;
  margin-bottom: 1rem;
}

/* 2025/11/28 Hokuto - basic.cssの指定を消去 */
/* 定義リスト */
main dl>dd+dt {
  margin-top: 1.5rem;
}
main dl>dt::before {
  content: "";
}
main dl>dt::after {
  content: "";
}

/* 参加費のタグ */
.price-tag {
    font-weight: 700;
    color: var(--main-orange);
    background: #ffecdf;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    display: inline-block;
    margin-right: 0.3rem;
}
.price-tag.low {
    color: var(--accent-blue);
    background: #e6f0ff;
}

/* 参加申し込みの目立つボックス */
/* 2025/11/21 Hokuto
ul.embox {
    list-style: none;
}

ul.embox a:link {
  display: block;
  margin: 1rem 0;
  background: var(--light-blue); 
  color: var(--accent-blue);
  border-radius: 8px;
  border: 3px solid var(--accent-blue); /* 実線にしてビビッドに /
  font-weight: 700;
  text-align: center;
  padding: 1.5rem;
  height: 100%;
}
*/

/* 入れ子の場合カラーリングを変える */
li > ul.embox a:link {
/* 2025/11/21 Hokuto
    color: var(--main-orange);
    border: 3px solid var(--main-orange); */
    background: var(--light-orange); 
/*    border-radius: 8px; */
}

/* 2025/11/21 Hokuto
ul.embox a:hover,
ul.embox a:active {
  background-color: white;
  color: var(--accent-blue);
}
*/

/* 更新情報 */
.update dl {
  border-left: 5px solid var(--accent-blue); 
  padding-left: 1rem;
  margin-top: 2rem;
}
.update dt {
    font-weight: 600;
    color: var(--text-main);
}
.update dd {
    margin-left: 0;
    padding-left: 1.5rem;
}

/* ===============================
   Footer
================================= */

footer {
/* 2025/11/21 Hokuto
  background: #222;
  color: #ddd; */
  padding: 2.5rem 1rem;
/*
  font-size: 0.9rem;
  line-height: 1.6; */
}

/* 2025/11/21 Hokuto
footer h2 {
  color: #fff;
  font-size: 1.1rem;
  border-left: 4px solid var(--light-orange);
  padding-left: 0.6rem;
}

footer .office-name {
    color: var(--light-orange);
    font-weight: 600;
}

footer .email {
    color: var(--light-blue);
}

footer .society {
  text-align: center;
  margin-top: 2rem;
}

footer img {
  height: 48px;
  vertical-align: middle;
  background-color: white;
  border-radius: 0.5em;
}
*/

footer .copy {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #aaa;
}

/* ===============================
   PC/Desktop Styles (Min-width 1024px) - チラシ風レイアウト強化
================================= */

@media (min-width: 1024px) {
  
  /* Header: グリッドレイアウトで大胆に配置 */
  header {
    display: grid;
    grid-template-areas:
      "name nav"
      "theme theme"
      "info info";
    grid-template-rows: auto 1fr auto; 
    align-items: start;
    padding: 3rem 5% 3rem; 
    min-height: 700px;
    height: 100vh;
  }

  /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
  header h1 {
    text-shadow: none;
    background: none;
    padding: 0 0;
    box-shadow: none;
  }

  /* 大会名 */
  header h1.meeting-name {
    grid-area: name;
    text-align: left;
    margin: 0;
    font-size: 2.8rem; 
  }

  /* グローバルナビゲーションを右上へ */
  header nav.global {
    grid-area: nav;
    margin: 0;
    padding: 0.6rem 0; /* パディングを調整 */
    border-radius: 0;
    justify-self: end;
    background-color: rgba(0,0,0,0.2);
    border-radius: 1em;
    height: unset; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
  }

  header nav.global ul {
    flex-direction: unset; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
    gap: 2rem;
    justify-content: center;
  }

  header nav.global a {
    background: none;
    padding: 0.2rem 0.5rem;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border: none;
    border-bottom: 2px solid transparent; /* 初期状態は透明な下線 */
  }
  
  header nav.global a:hover {
      text-shadow: 0 0 5px rgba(0, 78, 161, 0.5); /* ブルーの影 */
      border-bottom: 2px solid var(--accent-blue); /* ホバーでブルーの下線 */
      box-shadow: none;
  }

  /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
  header nav.global li {
    width: unset;
  }

  /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
  header .theme, header .period {
    display: unset;
  }

  /* テーマを画面中央付近に大きく大胆に配置 */
  header h1.theme {
    grid-area: theme;
    text-align: left;
    font-size: 6.2vw; /* 非常に大きく、画面幅に合わせて可変 */
    line-height: 1;
    font-weight: 800; /* さらに太く */
    max-width: 85%;
    margin: auto 0 auto 5%; 
    text-shadow: 0 0 20px rgba(0,0,0,0.8); /* 影を強調して画像の上での視認性を高める */
  }
  
  /* サブテーマをメインテーマのフッター的に配置 */
  header h1.theme .sub-theme {
    font-size: 0.2em; /* メインテーマに対して非常に小さく */
    margin-top: 1em;
    font-weight: 500;
    letter-spacing: 0.2em;
    padding-left: 0;
    border-left: none;
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 4px;
    color: #fff;
    opacity: 1;
    text-transform: none;
  }

  /* 大会長・日付を左右に配置 */
  header .info {
    grid-area: info;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.8rem;
    border-top: 1px solid var(--line-light);
    padding-top: 2rem;
    padding-left: 5%;
    padding-right: 5%;
  }

  header .info .job {
    background: var(--accent-blue);
  }

  header .info address {
    margin-right: 1em;
    margin-bottom: 1em;
  }
  header .info .period {
    white-space: nowrap;
    margin-left: 1em;
    margin-bottom: 1em;
    font-size: 1.8rem; /* 2025/11/28 Hokuto - basic.cssの指定を消去 */
}

  footer {
    /* 2025/11/21 Hokuto
    display: flex;
    justify-content: space-around; */
  }


}


/* ===============================
   Print Styles (@media print) - 読みやすさ最優先
================================= */
@media print {
  body {
    /* 2025/11/21 Hokuto
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt; */
  }

  header {
    /* 2025/11/21 Hokuto
    background: #fff !important;
    color: #000 !important;
    height: auto !important;
    min-height: auto !important;
    border-bottom: 3px solid #000;
    padding: 1cm;
    display: block !important;
    text-align: center !important;
    */
  }
  
  header::before, .hero-overlay, main::before {
    content: none !important; 
  }

  header nav.global {
    display: none !important; 
  }
  
  header .info {
      display: block !important;
      text-align: center !important;
      padding: 0 !important;
      margin-top: 1.5rem !important;
      border-top: none !important;
  }

  header .info address,
  header .info address > .job,
  header .info .period {
      font-weight: normal !important;
      color: #333 !important;
      background: none !important;
  }

  /* 2025/12/5 Hokuto */
  header .period {
      font-size: unset !important;
  }

  /* タイトルサイズを印刷向けに調整 */
  header h1.theme, header h1.meeting-name {
    text-shadow: none !important;
    color: #000 !important;
    font-size: 1.4rem !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    margin: 0.5rem auto !important;
    text-transform: none !important;
  }

  header h1.theme .sub-theme {
    font-size: 1rem !important;
    color: #333 !important;
    background: none !important;
    border-left: none !important;
    padding-left: 0 !important;
  }

  main {
    /* 2025/11/21 Hokuto
    padding: 1cm !important;
    max-width: none !important; */
    box-shadow: none !important;
  }

/* 2025/11/21 Hokuto
  main h2 {
    color: #000 !important;
    border-left: 5px solid #000 !important;
  }
*/
  
  /* テーブルの視認性向上 */
  table {
      box-shadow: none !important;
      border: 1px solid #666;
  }
  table th {
    background: #eee !important;
    color: #000 !important;
    border-right: 1px solid #ccc !important;
  }
  table td {
      border-bottom: 1px dashed #ccc !important;
  }

  /* リンクのURLを表示 */
  a:link:after, a:visited:after {
      content: " (" attr(href) ")";
      font-size: 9pt;
      word-break: break-all;
      color: #666;
  }
  
  ul.embox {
      background: #eee !important;
      color: #333 !important;
      border: 2px dashed #999 !important;
  }

/* 2025/11/21 Hokuto
  footer, footer * {
    background: #fff !important;
    color: #000 !important;
  }

  footer {
    border-top: 1px solid #000;
  }
*/  

  /* 2025/12/5 Hokuto */
  footer .society {
    display: flex !important;
    /* text-align: left; */
  }

  /* 2025/12/5 Hokuto */
  footer .copy {
    display: none;
  }

}
