@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: 350px;
  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 {
  width: 100%;
  margin: 0 auto;
}
.link_under a {
  text-decoration: underline;
  transition: .3s;
}
.link_under a:hover {
  color: #3699fdff;
  transition: .3s;
}
.top_contents {
  margin: 0 60px;
}
@media screen and (max-width: 768px) {
  .side_main {
    padding-right: 0;
  }
  .top-page_btn {
    width: 100%;
  }
  .top_contents {
    margin: 0;
  }
}
/*----------------ヘッダー---------------*/
.header {
  width: 100%;
  background-color: #fff;
  transition: top 0.3s ease-in-out;
}
.header_wrap {
  display: flex;
  justify-content:space-between;
  align-items:center;
  padding: 0 40px 0 20px;
}
.main_logo {
  width: 200px;
}
.header-right {
  font-size: 14px;
  font-weight: bold;
}
.header-right a {
  padding: 0 5px;
}
.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 a.notyet,
.pc_nav ul li a.notyet:hover {
  color: #878686ff;
  cursor: default;
  pointer-events: none;
}
.notyet {
  color: #878686ff;
  cursor: default;
  pointer-events: none;
}
@media screen and (max-width: 1300px) {
  .header_wrap {
    padding: 0 10px;
  }
  .main_logo {
    width: 150px;
  }
}
@media screen and (max-width: 910px) {
  .main_logo {
    display: block;
    margin-bottom: 5px;
  }
}
/*--------ナビのホバーメニュー--------*/
.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;
}
.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;
}
@media screen and (max-width: 768px) {
  .header {
    line-height: 0.9;
    margin-top: 10px;
  }
}
/*----------ハンバーガーメニュー----------*/
.globalMenuSp {
  display: none;
  opacity: 0;
}
@media screen and (max-width: 1125px) {
  .header-right {
    display: none;
  }
  .globalMenuSp {
    font-size: 15px;
    display:block;
    opacity: 0;
    padding-bottom: 30px;
  }  
  .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;
  }
  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: 85%;/* 確定後調整 */
  height: 130vh;
  overflow: hidden;
}
.main_v img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sp_main_v {
  display: none;
}
.mv_copy {
  position: absolute;
  top: 25%;/* 調整前18px */
  right: 5%;/* 調整前0 */
  text-align: right;
  font-size: 6rem;/* 調整前5rem */
  font-weight: 700;
  line-height: 1.6;
  color: #05204b;
}
.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;
}
/* キーフレーム */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.entry_reception {
  width: 330px;/* 確定前250px調整 */
  position: absolute;
  bottom: 15%;/* 調整前18% */
  right: 5%;/* 調整前3% */
}
.entry_svg{
  width: 100%;
  height: 100%;
  display: block;
  animation: spin 10s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.entry_circle_text {
  font-size: 7px;
  letter-spacing: 0.18em;
  font-weight: 900;
}
.entry_floating {
  position: relative;
  display: inline-block;
}
.entry_ring {
  display: block;
}
.entry_center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.entry_center_label {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #cbc407ff;
}
.entry_floating:hover .entry_ring text {
  transition: .2s;
}
.entry_floating:hover .entry_ring text {
  fill: #ffd800;
  transition: .2s;
}
.sp_entry {
  display: none;
}
/* スマホのみ表示 */
@media screen and (min-width: 1500px) {
  .mv_copy {
    font-size: 7rem;
  }
  .entry_reception {
    width: 350px;
  }
}
@media screen and (max-width: 1200px) {
  .main_v {
    width: 100%;
    height: 120vh;
  }
}
@media screen and (max-width: 768px) {
  .main_v {
    display: none;
  }
  .sp_main_v {
    display: block;
  }
  .sp_entry {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    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);
  }
}
/* 低い画面（ノート・横向きスマホ）だけ調整 */
@media (max-height: 700px) {
  .mv_copy{
    top: 10%;
    right: 18%;
  }
  .entry_reception{
    bottom: 16%;
  }
}
@media (max-height: 600px) {
  .mv_copy{
    top: 8%;
    right: 20%;
  }
  .entry_reception{
    bottom: 16%;
  }
}
/*---------TOPトピックス----------*/
.furusato a {
  display: inline-block;
}
.topics h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 5rem;
  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 {
  margin-top: 100px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .topics {
    margin-top: 20px;
  }
  .furusato a {
    width: 100%;
  }
  .sp_show {
    display: block;
  }
  .bnr_topics {
    display: block;
  }
  .bnr_topics1, .bnr_topics2 {
    width: 100%;
  }
  .bnr_topics1 {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .topics h2 {
    font-size: 3rem;
  }
  .topics_content {
    margin-top: 0;
  }
}
/*----------TOPお知らせ----------*/
.main_info {
  width: 100%;
  margin: 100px auto 0 auto;
}
.news_wrap {
  text-align: center;
}
.main_info h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 5rem;
  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: 0 auto;
}
.main_news {
  width: 80%;
  margin: 0 auto;
}
.main_news ul {
  display: block;
}
.main_news_list {
  position: relative;
  padding: 10px 0;
  margin: 10px 0;
  border-bottom: 1px solid #0f619fff;
  transition: .2s;
}
.main_news_list:hover {
  opacity:.8;
  transition: .2s;
}
.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-blog .category_info {
  background-color: #ea7126ff;
}
.category_info {
  color: #fff;
  background-color: #4d7ac9ff;
  border-radius: 5px;
  font-size: 13px;
  padding: 3px 10px;
  white-space: nowrap;
}
.category_blog {
  color: #fff;
  background-color: #ea7126ff;
  border-radius: 5px;
  font-size: 13px;
  padding: 3px 10px;
}
@media screen and (max-width: 1300px) {
  .main_news {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .main_info {
    width: 100%;
    margin-top: 50px;
    padding: 0;
  }  
  .main_info_flex {
    display: block;
  }
  .main_info h2 {
    font-size: 3rem;
  }
  .main_info_content {
    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.2rem;
  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;
}
.insta_link {
  width: 350px;
  display: inline-block;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 10px 0;
  background: linear-gradient(
    135deg,
    #feda75 0%,
    #fa7e1e 25%,
    #d62976 50%,
    #962fbf 75%,
    #4f5bd5 100%
  );
  transition: transition: .2s;
}
.insta_link:hover {
  opacity: .8;
  transition: .2s;
}
.instagram, .youtube {
  margin: 0 auto;
  text-align:center;
  margin-top: 100px;
}
.insta_marquee {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0;
}
.insta_marquee_track{
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  animation: insta-marquee var(--marquee-duration, 20s) linear infinite;
}
.insta_marquee_group{
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}
.insta_marquee_group img{
  height: 200px;
  width: auto;
  display: block;
}
@keyframes insta-marquee{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-1 * var(--marquee-distance, 0px)),0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .insta_marquee_track { animation: none; }
}
@media (max-width: 768px) {
  .insta_link {
    width: 100%;
  }
  .sns {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .instagram {
    margin-top: 50px;
  }
  .side_main iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto;
  }
  .sns h2 {
    font-size: 2.8rem;
  }
  .insta_marquee_group img {
    height: 160px;
    width: auto;
  }
  .youtube {
    margin-top: 50px;
  }
}
/*--------------フッター-------------*/
.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;
  border-bottom: 1px solid #1976D2;
}
.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;
}
.footer_lists_right a {
  margin-bottom: 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 screen and (max-width: 1200px) {
  .footer {
    padding: 60px 80px 25px 80px;
  }
}
@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%;
  justify-content: center;/* 確定後消す */
  /* display: flex; */
  align-items: flex-start;
}
.side_sidebar {
  display: none;/* 確定後消す */
  width: 170px;
  flex-shrink: 0;
  margin-right: 50px;
}
.side_sidebar .sponsor_wrap {
  width: 100%;
  margin: 0 auto;
}
.side_sidebar .kyosan img {
  width: 100%;
  max-height: 130px;
  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: 1300px) {
  .side_sidebar {
    width: 120px;
    flex-shrink: 0;
    margin-right: 10px;
  }
}
@media (max-width: 1125px) {
  .side_flex {
    flex-direction: column;
    padding: 0 10px;
  }
  .side_sidebar .kyosan a,
  .side_sidebar .link_none {
    padding: 0;
    margin: 0;
  }
  .side_sidebar .kyosan img {
    max-height: none;
  }
  .side_sidebar {
    width: 100%;
    border-left: none;
    margin-top: 50px;
  }
  .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: 2rem 0 2rem 0;
  text-align: center;
  background: linear-gradient(
  to right,
  rgba(154, 197, 232, 0.45) 0%,
  rgba(0, 72, 157, 0.9) 40%,
  rgba(0, 72, 157, 0.9) 50%,
  rgba(0, 72, 157, 0.9) 60%,
  rgba(154, 197, 232, 0.45) 100%
  );
}
.common_content {
  width: 100%;
  padding: 0 100px;
  margin-top: 64px;
  min-width: 0;
}
.fixed_page_title {
  color: #fff;
  position: relative;
  display: inline-block;
  font-family: 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
}
.fixed_backimg {
  background-image: url("img/page_background_img.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}
.bg_inline {
  background: rgba(255,255,255,0.85);
  padding-bottom: 100px;
}
.fixed_page_title span{
  display: block;
  font-size: 0.45em;
  margin-top: 5px;
  letter-spacing: 0.15em;
  opacity: 0.7;
}
@media (max-width: 1200px) {
  .common_content {
    padding: 0 50px;
  }
}
@media (max-width: 768px) {
  .fixed_page_wrap {
    padding: 1.8rem 0 1.8rem 0;
    margin-top: 10px;
  }
  .fixed_page_title {
    font-size: 1.8rem;
  }
  .common_content {
    padding: 0;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .fixed_backimg {
    background-image: none;
    background-attachment: scroll;
  }
}
/*-------------あとでそれぞれ移動-------------*/

/*--------------大会要項-------------*/
.outline_content table {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  text-align: left;
  border-collapse: collapse;
  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_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; 
  }
}
/*--------------ギャラリー-------------*/
.gallery-wrap {
  display: none;
}
.gallery-wrap.is-active {
  display: block;
}
.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PC：5列 */
  gap: 12px;
  margin-bottom: 20px;
}
.gallery-tab {
  padding: 8px 30px;
  border: 1px solid #7cb4f5ff;
  background: #f5f5f5;
  cursor: pointer;
}

.gallery-tab.is-active {
  background: #064581ff;
  color: #fff;
  border-color: #144149;
}
.gallery-item {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* PC：6列 */
  gap: 10px; /* 画像の間隔。好みで */
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .gallery-item {
    grid-template-columns: repeat(3, 1fr); /* スマホ：3列 */
  }
  .gallery-tabs {
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 10px;
  }
}
.gallery-icon img {
  width: 100%;
  height: auto;
  display: block;
}
/*--------------競技規則-------------*/
.rules h3 {
  background-color: #ffd7afff;
  padding: 10px 0 10px 10px;
  margin-bottom: 10px;
}
.rules ol {
  margin-bottom: 35px;
}
/*------------参加者リスト------------*/
.style3 th {
  background-color: #ddd;
  padding: 10px 0;
}
.style3 td {
  padding: 10px 0;
  border-bottom: 1px dotted #ddd;
}
/*----------アクセスガイド----------*/
.access img {
  width: 800px;
}
.access_img {
  text-align: center;
}
.access h3 {
  padding: 10px 0 10px 10px;
  background-color: #ffd7caff;
  border-top: 3px solid #162b6eff;
  margin-bottom:10px;
}
@media screen and (max-width: 768px) {
  .access img {
    width: 100%;
  }
}
/*----------コースガイド----------*/
.course img {
  width: 800px;
}
.course iframe {
  max-width:100%;
  width: 800px;
  height: 420px;
}
.course p {
  color: #02368bff;
  padding: 10px 0;
  font-size: 20px;
  font-weight:bold;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .course iframe {
    width: 100%;
    height: 250px;
  }
}
/*---------コロナガイドライン----------*/
.covid_19 {
  padding: 50px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .covid_19 {
    padding: 10px;
    line-height: 1.8;
  }
}
/*---------宿泊施設----------*/
.hotel {
  border-collapse: collapse;
  width: 100%;
}
.hotel th {
  background-color: #778899;
  padding: 10px 0;
  color: #fff;
}
.hotel td {
  padding: 20px 0;
  border-bottom: 1px dotted #ddd;
}
.underline {
  border-bottom: 1px solid #483b3bff;
}
.pc_none {
  display: none;
}
.area_wrapper {
  background: #c3d6d8ff;
  text-align: center;
}

@media (max-width: 768px) {
  .d_none {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .pc_none {
    display: block;
  }
  .area_header {
    background-color: #778899;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    border-radius: 20px 20px 0 0;
  }
  /* テーブルをカード化 */
  table.hotel,
  table.hotel thead,
  table.hotel tbody,
  table.hotel tr,
  table.hotel th,
  table.hotel td {
    display: block;
    width: 100%;
  }

  /* 見出し行はスマホでは隠す */
  table.hotel thead {
    display: none;
  }

  /* 1行=1カード */
  .hotel_body {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 12px 0;
    background: #fff;
  }

  /* tdの余白調整 */
  table.hotel td {
    border: none;
    padding: 5px 0;
    line-height: 1.1;
  }

  /* 郵便番号はスマホ非表示（列崩れ対策で display:none でもOK：カード化してるので） */
  table.hotel td.d_none {
    display: none;
  }

  /* ラベル表示（data-labelを使う） */
  table.hotel td[data-label]::before {
    content: attr(data-label);
    display: inline-block;
    width: 5.5em;
    font-weight: 700;
    color: #666;
  }

  /* 施設名は目立たせたい */
  table.hotel td[data-label="施設名"] a {
    font-weight: 800;
    font-size: 1.05rem;
  }

  /* 電話番号はタップしやすく */
  table.hotel td[data-label="電話番号"] {
    word-break: break-word;
  }

  /* エリア(rowspanセル)はカードの先頭に出るけど、毎行繰り返されない問題があるので
     ここは次の改善で解消できる（下に書く） */
}

/*---------アバウト愛南----------*/
.about_ainan_links li {
  margin: 10px 0;
}
/*---------大会結果----------*/
.resultlists {
  border-collapse: collapse;
  width: 100%;
}
.resultlists th {
  background-color: #ddd;
  padding: 10px 0;
}
.resultlists td {
  padding: 20px 0;
  border-bottom: 1px dotted #ddd;
}
@media (max-width: 768px) {
  .resultlist-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #resultlist {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 900px;
  }
  #resultlist th:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 9;
    background: #ddd;
  }
  #resultlist td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 9;
    background: #fff;
  }
  #resultlist th:nth-child(2) {
    position: sticky;
    left: 3.6em;
    z-index: 9;
    background: #ddd;
  }
  #resultlist td:nth-child(2) {
    position: sticky;
    left: 3.6em;
    z-index: 9;
    background: #fff;
  }
  #resultlist th:nth-child(3) {
    position: sticky;
    left: calc(3.6em + 4.5em);
    z-index: 9;
    background: #ddd;
  }
  #resultlist td:nth-child(3) {
    position: sticky;
    left: calc(3.6em + 4.5em);
    z-index: 9;
    background: #fff;
  }
  #resultlist thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #ddd;
  }
  #resultlist th,
  #resultlist td {
    padding: 8px 4px;
    font-size: 15px;
    white-space: nowrap;
  }
  #resultlist th:nth-child(1),
  #resultlist td:nth-child(1) { width: 44px; }

  #resultlist th:nth-child(2),
  #resultlist td:nth-child(2) { width: 52px; }

  #resultlist th:nth-child(3),
  #resultlist td:nth-child(3) { width: 100px; }

  #resultlist th:nth-child(1),
  #resultlist td:nth-child(1) { left: 0; }

  #resultlist th:nth-child(2),
  #resultlist td:nth-child(2) { left: 44px; }

  #resultlist th:nth-child(3),
  #resultlist td:nth-child(3) { left: calc(44px + 52px); }
}
/*---------エントリー----------*/
.entry h3 {
  margin-top: 20px;
  color: #02368bff;
}
@media (max-width: 768px) {
  .entry h3 {
    text-align:center;
  }
  .entry span {
    display: block;
  }
}
/*---------リンク----------*/
.link p {
  margin: 5px 0;
}
/*---------お知らせ----------*/
.news_tab {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 18px;
  flex-wrap: wrap;
}
.news_tab_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  transition: .2s;
  background: rgba(255,255,255,0.9);
}
.page_news_item {
  border-bottom: 1px solid #0f619fff;
}
.news_list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.news_item a, .page_news_item a {
  display: block;
  align-items: center;
  padding: 20px 10px;
  transition: .2s;
}
.news_item a:hover{
  opacity: .8;
}
@media (max-width: 768px) {
  .news_tab{
    padding: 0;
    margin: 0 0 18px 0;
  }
  .main_news_list {
    position: relative;  /* ← これを追加 */
    padding: 0;
    margin: 0;
  }
}
/*---------応援メッセージ----------*/
.comment-reply-title {
  background-color: #ddd;
}
/* ===== Message (comments) ===== */
.page-body {
  margin-bottom: 18px;
}
.commentmetadata {
  font-size: 14px;
}
.comment-edit-link {
  display: none;
}
/* コメントのヘッダー（名前・日付） */
.comment-meta {
  margin-bottom: 8px;
}
.comment-body {
  margin: 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
/* 名前 */
.comment-author .fn {
  font-weight: 800;
  font-style: normal;
}
/* “承認待ち” 表示 */
.comment-awaiting-moderation {
  display: none;
}
.reply {
  display: none;
}
/* ===== フォーム ===== */
.comment-respond {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 2, 117, 0.5);
}
/* “応援メッセージを送る” */
.comment-reply-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 14px;
  padding: 5px 0;
}
/* フォーム全体 */
#commentform {
  display: grid;
  gap: 12px;
}
/* label */
#commentform label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
/* input/textarea */
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  background: rgba(255,255,255,0.95);
  box-sizing: border-box;
}
#commentform textarea {
  min-height: 140px;
  resize: vertical;
}
/* 送信ボタン */
#commentform .form-submit {
  margin: 6px 0 0;
}
#commentform input[type="submit"] {
  width: 300px;
  border: 1px solid rgba(0,0,0,0.22);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
  color: #fff;
  background: #162b6eff;
}
#commentform input[type="submit"]:hover {
  transform: translateY(-1px);
}
/* エラーメッセージ */
.comment-form .required {
  color: inherit; /* 赤を消したいなら */
}
/* ログイン必須表示など、不要文言を隠したい時用 */
.must-log-in,
.logged-in-as,
.comment-notes {
  display: none;
}
#comments {
  display: none;
}
/* ===== スマホ微調整 ===== */
@media (max-width: 768px) {
  .comment-list .comment {
    padding: 12px;
    border-radius: 12px;
  }
  #commentform input[type="text"],
  #commentform input[type="email"],
  #commentform textarea {
    font-size: 14px;
  }
  #commentform input[type="submit"] {
    width: 100%;
  }
}
/*--------------競技規則-------------*/
.policy h3 {
  background-color: #ffd7afff;
  padding: 10px 0 10px 10px;
  margin-bottom: 10px;
}
.policy p {
  margin-bottom: 35px;
}
/*--------------問い合わせフォーム-------------*/
/* ===== Contact Form 7 (table layout) minimal ===== */

.wpcf7 {
  max-width: 900px;
  margin: 0 auto;
}

.wpcf7 table {
  width: 100%;
  border-collapse: collapse;
}

.wpcf7 th,
.wpcf7 td {
  padding: 12px 10px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.wpcf7 th {
  width: 180px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

/* inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  font-size: 15px;
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

/* submit */
.wpcf7 input[type="submit"] {
  width: 300px;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background-color: #162b6eff;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  color: #fff;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* error messages */
.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 10px;
}

/* ===== Mobile: stack rows ===== */
@media (max-width: 768px) {
  .wpcf7 table,
  .wpcf7 tbody,
  .wpcf7 tr,
  .wpcf7 th,
  .wpcf7 td {
    display: block;
    width: 100%;
  }

  .wpcf7 th {
    padding-bottom: 6px;
    border-bottom: none;
    width: 100%;
  }

  .wpcf7 td {
    padding-top: 0;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
  }
}


/* ===== TOP Topics Banner ===== */
.bnr_topics{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.bnr_link{
  text-decoration: none;
  display: block;
}

/* 共通カード */
.bnr_card{
  margin: 0;
  padding: 16px 16px 14px;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.25;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.bnr_card span{
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  opacity: .9;
}

/* 左上にラベルっぽいアクセント */
.bnr_card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  opacity: .95;
}

/* 右上に小さな光 */
.bnr_card::after{
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: .18;
}

/* テレビ告知：青系 */
.bnr_card--tv::before{ background: #1E3A5F; }
.bnr_card--tv::after{ background: #1E3A5F; }

/* 協賛募集：オレンジ系 */
.bnr_card--sponsor::before{ background: #F39C12; }
.bnr_card--sponsor::after{ background: #F39C12; }

/* クリックできる方だけホバー感強め */
.bnr_link .bnr_card{
  cursor: pointer;
}
.bnr_card--sponsor:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.18);
}

/* クリック感 */
.bnr_link .bnr_card:active{
  transform: translateY(0);
}

/* スマホ：縦積み */
@media (max-width: 768px){
  .bnr_topics{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bnr_card{
    border-radius: 14px;
    padding: 14px 14px 12px;
  }
}
/*------------協賛企業募集------------*/
.sponsor ol {
  margin-bottom: 35px;
}
.sponsor h3 {
  background-color: #ffd7afff;
  padding: 10px 0 10px 10px;
  margin-bottom: 10px;
}

.mq-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #162b6e;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .2s;
}
.mq-to-top.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mq-to-top:hover{
  transform: translateY(-2px);
}
@media (max-width: 768px){
  .mq-to-top{
    width: 53px;
    height: 52px;
    right: 0;
    bottom: 250px;/* 調整前185px */
  }
}