@charset "UTF-8";
/*
Theme Name: ainantriathlon2026
Version:1.0.1
Author:
*/
/*--------------共通---------------*/
html {
  font-size: 100%;
}
body {
  font-family: 'FOT-筑紫A丸ゴシック Std D', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
  color: #000;
  letter-spacing: 0.1em;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  transition: all .6s ease 0s;
}
body, html {
  margin: 0;
  padding: 0;
}
body * {
  box-sizing: border-box;
}
a {
  color: #05204b;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
li {
  list-style: none;
}
.wrap {
  overflow: hidden;
}
.top-page_btn {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 280px;
  padding: 17px 5px;
  font-weight: bold;
  text-align: center;
  background: #fff;
  color: #fff;
  overflow: hidden;
  transition: color .3s ease;
  background: #162b6eff;
}
.top-page_btn .btn_text {
  position: relative;
  z-index: 2;
}
.top-page_btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff701e;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.top-page_btn:hover {
  color: #fff;
}

.top-page_btn:hover::after {
  transform: scaleX(1);
  transform-origin: left top;
}
.side_main {
  padding-right: 50px;
}
@media screen and (max-width: 768px) {
  .side_main {
    padding-right: 0;
  }
}
/*----------------ヘッダー---------------*/
.header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  transition: top 0.3s ease-in-out;
}
.header-right {
  font-size: 14px;
}
.pc_nav {
  width: 100%;
}
.pc_nav ul {
  display: flex;
  justify-content: space-evenly; /* 等間隔 */
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc_nav ul li a {
  display: block;              /* ← これが重要 */
  width: 100%;
  padding: 15px 0;             /* 高さを出す */
  box-sizing: border-box;
  white-space: nowrap; /* ← 改行禁止 */
  border-top: 1px solid #1976D2;
  border-bottom: 1px solid #1976D2;
  border-left: 1px solid #1976D2;
  border-right: none;        /* ← 右は付けない */
  background-color: #1E3A5F;
  color: #fff;
  transition: .3s;
}
.pc_nav ul li:first-child a {
  border-left: none;         /* ← 左端は消す */
}
.pc_nav ul li {
  font-weight: bold;
  flex: 1;
  text-align: center;
}
.pc_nav ul li a:hover {
  background-color: #1976D2;
  transition: .3s;
}
/*--------ナビのホバーメニュー--------*/
.pc_nav ul li.has-sub {
  position: relative;
}
/* サブメニュー本体（最初は隠す） */
.pc_nav ul li.has-sub .sub-menu {
  display: block;
  position: absolute;
  top: 90%;
  left: 0;
  width: 250px;   /* 親より広くできる */
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 9999;
}

/* ホバーしたら出す */
.pc_nav ul li.has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* サブメニューのリンク */
.pc_nav ul li.has-sub .sub-menu a {
  border: none;              /* 親ナビの枠線を引き継がない */
  padding: 10px 12px;
  white-space: nowrap;
  text-align: left;
}

/* サブメニュー hover */
.pc_nav ul li.has-sub .sub-menu a:hover {
  background: #1976D2;
}
.pc_nav ul li.has-sub .sub-menu li:not(:last-child) {
  border-bottom: 1px dotted #73b7ffff;
}
/*----------ハンバーガーメニュー----------*/
.globalMenuSp {
  display: none;
  opacity: 0;
  /* padding-top: 50px; */
}
@media screen and (max-width: 768px) {
  .header-right {
    font-size: 14px;
    display: none;
  }
  .globalMenuSp {
    font-size: 15px;
    display:block;
    opacity: 0;
  }  
  .pc_nav {
    display: none;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 上下中央寄せ */
    align-items: center; /* 左右中央寄せ */
    position: fixed;
    z-index: 99;
    right: 3%;
    top: 1.6%;
    width: 3.8rem;
    height: 3.8rem;
    cursor: pointer;
    text-align: center;
    background-color: #fff;
  }
  .hamburger span {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background: #162b6eff;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:not(:last-child) {
    margin-bottom: 6px; /* 線同士の間隔調整 */
  }
    /* ハンバーガーメニューがアクティブ時のスタイル */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0; /* 真ん中の線を消す */
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(45deg);
  }
  nav.globalMenuSp {
    position: fixed;
    z-index: 98;
    top: 0;
    right: 0;
    color: #05204b;
    background: #fff;
    text-align: center;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    transition: all 0.6s;
    overflow-y: auto;              /* ★追加：縦スクロール許可 */
    -webkit-overflow-scrolling: touch; /* ★追加：iPhoneで慣性スクロール */
  }
  nav.globalMenuSp ul {
    background: #fff;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    margin-top: 0;
  }
  nav.globalMenuSp ul {
    display: block;
  }
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #99aff7ff;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  nav.globalMenuSp ul li:hover {
    background: rgb(203, 236, 209);
  }
  nav.globalMenuSp ul li a {
    display: block;
    color: #4a4a4a;
    padding: 1em 0;
    text-decoration: none;
  }
  nav.globalMenuSp.active {
    transform: translateY(0%);
    opacity: 1;
  }
  nav.globalMenuSp .sub-menu {
    background: #f5faffff;
  }
  nav.globalMenuSp .sub-menu li {
    border-bottom: 1px dotted #99aff7ff;
  }
  nav.globalMenuSp .sub-menu li a {
    padding: 1.2em 0 1.2em 2.5em;
    font-size: 0.9em;
    color: #666;
    text-align: left;
  }
}
/*--------------トップページへボタン-------------*/
.to-top {
  position: fixed;
  right: 20px;
  bottom: 50px;
  width: 5.6em; /* 必要に応じて調整 */
  height: 60px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 768px) {
  .to-top {
    bottom: 30px;
    width: 3.6em; /* 必要に応じて調整 */
    height: 60px;
  }
}
/*----------TOPファーストビュー----------*/
.main_v_wrapper {
  position: relative;
}
.main_v {
  width: 75%;
  height: 120vh;
}
.main_v img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
.sp_main_v {
  display: none;
}
/* コピー全体 */
.mv_copy {
  position: absolute;
  top: 12%;
  right: 5%;
  text-align: right;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.5;
  color: #05204b;
}
.entry_reception {
  width: 260px;
  position: absolute;
  top: 38%;
  right: 9%;
}
/* 各行 共通 */
.mv_copy span {
  display: inline-block;
  opacity: 0;
  transform: translateX(60px);
}
/* アニメーション発火後 */
.mv_copy.is-active span {
  animation: slideIn 0.6s cubic-bezier(.25,.8,.25,1) forwards;
}
.mv_copy.is-active .line2 {
  animation-delay: 0.15s; /* 2行目を少し遅らせる */
}

/* キーフレーム */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.entry_reception a {
  display: inline-block;
}
.entry_reception img {
  transition: transform 0.25s ease;
}
.entry_reception a:hover img {
  transform: scale(1.08);
}
@media screen and (min-width: 1600px) {
  .mv_copy {
    font-size: 8rem;
  }
}
@media screen and (max-width: 768px) {
  .main_v {
    display: none;
  }
  .sp_main_v {
    display: block;
  }
}
/*---------TOPトピックス----------*/
.topics h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 6rem;
  background: linear-gradient(
  90deg,
  #0e1918ff 0%,
  #0e1918ff 30%,
  #328cd1ff 60%,
  #16187fff 75%,
  #f28c28 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.topics_content {
  text-align: center;
  margin: 50px 0;
}
.bnr_topics {
  display: flex;
}
.bnr_topics1 {
  margin-right: 10px;
}
.bnr_topics1, .bnr_topics2 {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .bnr_topics {
    display: block;
  }
  .bnr_topics1, .bnr_topics2 {
    width: 100%;
  }
  .bnr_topics1 {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .topics h2 {
    font-size: 3.6rem;
  }
}
/*----------TOPお知らせ----------*/
.main_info {
  width: 100%;
  margin: 0 auto;
  padding: 50px 0;
}
.news_wrap {
  text-align: center;
}
.main_info h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 6rem;
  background: linear-gradient(
  90deg,
  #0e1918ff 0%,
  #0e1918ff 30%,
  #328cd1ff 60%,
  #16187fff 75%,
  #f28c28 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.news_sub_title {
  font-weight: bold;
}
.news_btn, .course_btn {
  margin-top: 40px;
}
.main_info_content {
  width: 100%;
  margin: 20px auto;
}
.main_news {
  width: 80%;
  margin: 0 auto;
}
.main_news ul {
  display: block;
}
.main_news_list {
  position: relative;  /* ← これを追加 */
  padding: 10px 0;
  margin: 10px 0;
}
.main_news_list::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;  /* top: 0; ではなく bottom: 0; に変更 */
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
}
.news_tab {
  margin-top: 20px;
  gap:10px;
}
.news_tab_btn{
  padding: 5px 14px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.news_tab_btn.is-active{
  border-color: #333;
  font-weight: 700;
}
.all_list_wrap {
  text-align: center;
}
.main_news_list .date {
  font-family: 'Inter', system-ui, sans-serif;
  color: #3a3838ff;
  font-size: 14px;
  font-weight: bold;
  font-feature-settings: "tnum" 1;
  margin-right: 50px;
}
.title {
  padding: 0 10px;
}
.circle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category_info {
  color: #fff;
  background-color: #4d7ac9ff;
  border-radius: 5px;
  font-size: 13px;
  padding: 3px 10px;
}
.category_blog {
  color: #fff;
  background-color: #ea7126ff;
  border-radius: 5px;
  font-size: 13px;
  padding: 3px 10px;
}
@media screen and (max-width: 768px) {
  .main_info {
    width: 100%;
    margin: 0;
    padding: 5px 0;
  }  
  .main_info_flex {
    display: block;
  }
  .main_info h2 {
    font-size: 3.6rem;
  }
  .main_info_content {
    width: 100%;
  }
  .main_news {
    width: 100%;
  }
  .news_wrap {
    margin-left: 10px;
  }
  .news-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
/*-------------TOPSNS-------------*/
.sns h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 4.6rem;
  background: linear-gradient(
  90deg,
  #0e1918ff 10%,
  #328cd1ff 30%,
  #328cd1ff 60%,
  #16187fff 75%,
  #16187fff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  .sns {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .instagram {
    margin: 0 auto;
  }
  .side_main iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
  }
  .sns h2 {
    font-size: 3.6rem;
  }
}
/*--------------フッター-------------*/
.footer {
  width: 100%;
  padding: 60px 200px 25px 200px;
}
.sitemap{
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.sitemap_col {
  flex: 1;
}
.sitemap h3{
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
/* 見出しリンク化する場合 */
.sitemap h3 a{
  color: #4a4a4a;
  text-decoration: none;
}
.sitemap h3 a:hover{
  text-decoration: underline;
}
/* 下層メニュー（縦並び） */
.footer_sub-menu{
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer_sub-menu li a{
  display: block;
  padding: 4px 0;
  font-size: 0.92em;
  color: #666;
  text-decoration: none;
}
.footer_sub-menu li a:hover{
  text-decoration: underline;
}
.footer_left {
  margin-bottom: 30px;
}
/* CTAリンク（エントリー/お問い合わせ/よくある質問） */
.sitemap .nav_entry{
  display: block;
  padding: 10px 12px;
  border: 1px solid #52ab22;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #52ab22;
  font-weight: 700;
}
.sitemap .nav_entry + .nav_entry{
  margin-top: 10px;
}

/* スマホ：2カラム→1カラムに */
@media (max-width: 768px){
  .sitemap{
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 480px){
  .sitemap{
    grid-template-columns: 1fr;
  }
}
.copyright {
  text-align: center;
  font-size: 10px;
  padding-top: 50px;
  margin-bottom: 15px;
}
.footer_left img {
  width: 350px;
  margin-bottom: 20px;
}
@media screen and (min-width: 1600px) {
  .footer {
    padding: 60px 300px 25px 300px;
  }
}
@media (max-width: 768px) {
  .footer {
    width: 100%;
    padding: 60px 10px 25px 10px;
  }
  .footer_left img {
    width: 100%;
  }
  .sitemap {
    display: none;
  }
  .footer_left {
    padding-left: 0;
  }
}
/*-------------サイドバー-------------*/
.side_flex {
  width: 100%;
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #ddd;
  justify-content: flex-start;
  padding: 0 50px;
}
/* サイドバー内のスポンサー全体を中央寄せ */
.side_sidebar .sponsor_wrap {
  width: 100%;
  margin: 0 auto;
}
/* ロゴサイズ制限（PC） */
.side_sidebar .kyosan img {
  width: 100%;
  max-height: 120px;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}
.main_sponsor a {
  display: block;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: box-shadow .3s ease, transform .3s ease;
  margin: 5px 0;
}
/* サイドバー内のスポンサー枠 */
.sub_sponsor a,
.side_sidebar .link_none {
  display: block;
  padding: 0;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: box-shadow .3s ease, transform .3s ease;
  margin: 5px 0;
}
@media (max-width: 768px) {
  .side_sidebar .kyosan a,
  .side_sidebar .link_none {
    padding: 0;
    margin: 0;
  }
  .side_sidebar .kyosan img {
    max-height: none;
  }
  .side_flex {
    flex-direction: column;
    padding: 0 10px;
  }
  .side_sidebar {
    width: 100%;
    border-left: none;
  }
  .side_flex {
    border-top: none;
  }
  .main_sponsor{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sub_sponsor{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
  }
  .main_sponsor .kyosan img,
  .sub_sponsor .kyosan img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
  .main_sponsor .kyosan a,
  .sub_sponsor .kyosan a{
    display: block;
  }
}

/*-------------固定ページ共通-------------*/
.fixed_page_wrap {
  padding: 2.6rem 0 2.6rem 0;
  text-align: center;
  background-color: #ddd;
}
.fixed_page_title {
  position: relative;
  display: inline-block;
  font-family: 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-size: 2.6rem;
}
/*-------------あとでそれぞれ移動-------------*/
.entry_reception.is-fixed {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}
.entry_reception.is-fixed {
  right: 9%;
}
.entry_reception img {
  max-width: 250px; /* 好きな値に */
  height: auto;
}
.sp_entry {
  display: none;
}
/* スマホのみ表示 */
@media (max-width: 768px) {
  .sp_entry {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;   /* 縦書き（右→左） */
    text-orientation: mixed;
    letter-spacing: 0.2em; 
    position: fixed;
    right: 0;
    bottom: 15px;
    z-index: 9999;
    padding: 15px 20px;
    background: #ff701e;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }
  /* 押したときのフィードバック */
  .sp_entry:active {
    transform: scale(0.96);
  }
}


/*--------------大会要項-------------*/
.outline_content {
  flex: 1;       /* ←重要 */
  min-width: 0;  /* ←テーブルのはみ出し対策 */
  padding-right: 50px;
  margin-top: 30px;
}
.outline {
  margin-top: 80px;
}
.outline_content table {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  text-align: left;
  border-collapse: collapse;
  width: 80%;
  margin: 0 auto;
}
.outline_content table tr {
  border-bottom: 1px solid #ddd;
}
.outline_content table th, .outline_content table td {
  padding: 20px 10px;
}
.outline_content table td {
  padding-left: 35px;
}
.nowrap {
  white-space: nowrap;
}
.outline_content table th {
  border-top: 3px solid #162b6eff;
}
@media screen and (max-width: 768px) {
  .outline {
    margin-top: 30px;
  }
  .outline_content {
    padding-right: 0;
  }
  .outline_content h4 {
    margin-bottom: 20px;
  }
  .outline_content table {
    width: 100%;
    border-top: none;
    border-bottom: none;  
    font-size: 14px;
    display: block;
  }
  .outline_content table th, .outline_content table td {
    display: block;
    padding: 10px 10px;
  }
  .outline_content table th {
    background-color: #ffd7caff;
  }
  .outline_content table tr {
    border-bottom: none; 
  }
}