@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Kosugi+Maru&display=swap');

/* 全体共通 */
* {
    line-height: 1.8;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 15px;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #fff;
    color: #333;
}
a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: 0.4s;
}
a:hover {
    opacity: 0.8;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
body:not(#top) main {
    padding: 40px 0;
}
section {
    padding: 30px 0;
}
.container {
    max-width: 960px;
    margin: 0 auto;
}
#breadcrumb {
    margin-top: 50px;
}
#breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#breadcrumb ul li {
    position: relative;
    padding-right: 20px;
    list-style-type: none;
}
#breadcrumb ul li:not(:last-child):after {
    position: absolute;
    top: 2px;
    right: 0;
    display: inline-block;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #a11a1a;
}
.more_btn {
    display: block;
    width: 200px;
    margin: 10px 0 0 auto;
    background-color: #a11a1a;
    color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 7px 10px;
    text-decoration: none;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Kosugi Maru', serif;
}
.more_btn:hover {
    opacity: 1;
}
.more_btn::after {
    display: inline-block;
    content: '';
    width: 30px;
    height: 30px;
    vertical-align: bottom;
    margin-left: 12px;
    transition: 0.2s ease-in-out;
    background: url(images/arrow.png) center / cover no-repeat;
}
.more_btn:hover::after {
    transform: translateX(25px);
}
.section_area:not(:last-of-type) {
    margin-bottom: 30px;
}
.index_area:not(:last-of-type) {
    margin-bottom: 20px;
}

@media screen and (max-width: 1000px) {
    .container {
        margin: 0 20px;
    }
}


/* 見出し */
.headline {
    position: relative;
    font-size: 30px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Noto Serif JP', serif;
}
.headline::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 30px;
    background-color: #a11a1a;
}
.subhead {
    position: relative;
    display: block;
    font-size: 20px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 1px;
    /*padding: 0 10px 0 55px;*/
    padding: 0 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
}
/*.subhead::before {
    position: absolute;
    top: -5px;
    left: 0;
    display: inline-block;
    content: '';
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #a11a1a url(images/icon.png) center / cover no-repeat;
}*/
.index {
    font-size: 17px;
    padding: 0 10px 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid #a11a1a;
}

@media screen and (max-width: 480px) {
    .headline {
        font-size: 25px;
    }
    .subhead {
        font-size: 18px;
    }
}


/* ヘッダー */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 15;
    background-color: #fff;
}
.logo a {
    font-size: 30px;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 2px;
    text-decoration: none;
}
header .logo a {
    margin-left: 20px;
} 
.logo img {
    width: 50px;
    min-width: 50px;
    vertical-align: -7px;
    margin-right: 5px;
}
@media screen and (max-width: 767px) {
    header {
        padding: 10px;
        height: 50px;
    }
    header .logo a {
        position: absolute;
        top: 8px;
        margin: 0;
        font-size: 18px;
    }
    header .logo img {
        width: 40px;
        min-width: 40px;
    }    
    .logo a {
        font-size: 25px;
    }
}

/* ヘッダーメニュー */
.header_menu li {
    list-style-type: none;
}
.header_menu li a {
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 13px;
}
@media screen and (max-width: 767px) {
    .header_menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 60px 10px 20px;
        background-color: #000;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
        opacity: 0;
        transform: translateX(100%);
        transition: 0.4s;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .header_menu::-webkit-scrollbar {
        display:none;
    }
    .header_menu.active {
        opacity: 1;
        transform: translateX(0);
        transition: 0.4s;
    }
    .header_menu ul {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

/* メインメニュー */
.mainmenu {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 7px solid red;
    background-color: #000;
    padding: 5px 0;
}
.mainmenu > li:not(:last-of-type) {
    border-right: 1px solid #fff;
}
.mainmenu li:nth-child(8) {
    border-right: none;
}
.mainmenu li a {
    position: relative;
    z-index: 1;
    display: block;
    padding: 5px 15px;
    color: #fff;
    font-family: 'Kosugi Maru', serif;
    white-space: nowrap;
}
.mainmenu li a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #fff;
    transform-origin: 50% 0%;
    transform: scaleY(0);
    transition: transform ease 0.4s;
}
.mainmenu li a:hover {
    opacity: 1;
    color: #a11a1a;
}
.mainmenu li a:hover::before {
    transform-origin: 50% 100%;
    transform: scaleY(1);
}
.mainmenu li:first-child a,
.mainmenu li:nth-child(4) a,
.mainmenu li:nth-child(6) a,
.mainmenu li:nth-child(7) a {
    padding-right: 30px;
}
.has_child {
    position: relative;
}
.has_child a {
    padding-right: 30px;
}
.has_child::after {
    position: absolute;
    top: 12px;
    right: 15px;
    display: inline-block;
    content: '';
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
    z-index: 1;
}
.has_child:hover::after {
    border-color: #a11a1a;
}
.has_child.active::after {
    transform: rotate(-45deg);
}
.childmenu {
    position: absolute;
	left:0;
	top:38px;
	width: 100% !important;
	visibility: hidden;
	opacity: 0;
	display: block;
    transition: all 0.3s;
    padding: 5px;
    background-color: #000;
}
.has_child:hover > ul,
.has_child ul li:hover > ul,
.has_child:active > ul,
.has_child ul li:active > ul {
    visibility: visible;
    opacity: 1;
}
.childmenu li:not(:last-child) {
    border-bottom: 1px dotted #fff;
}
.childmenu li a {
    padding: 10px 5px !important;
    white-space: wrap;
    text-align: center;
}
@media screen and (max-width: 767px) {
    .mainmenu {
        align-items: flex-start;
        width: 100%;
        padding: 0;
        border-top: none;
    }
    .mainmenu li {
        width: 100%;
    }
    .mainmenu > li:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid #fff;
    }
    .mainmenu li a  {
        width: 100%;
        text-align: center;
        padding: 20px 10px;
    }
.mainmenu li:first-child a,
.mainmenu li:nth-child(4) a,
.mainmenu li:nth-child(6) a,
.mainmenu li:nth-child(7) a {
        padding-right: 10px;
    }
    .childmenu {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        visibility: visible;
        opacity: 1;
        display: none;
        transition: none;
        background: transparent;
        padding: 0 15px;
    }
    .childmenu li a {
        padding: 15px 10px !important;
    }    
    .has_child::after {
        top: 26px;
        right: 25px;
    }    
    .has_child .br {
        display: none;
    }
}

/* サブメニュー */
.submenu {
    display: flex;
    align-items: center;
    gap: 20px 25px;
    position: absolute;
    top: 20px;
    right: 20px;
}
.submenu li a {
    display: block;
    font-weight: 500;
}
.submenu li a i, .hidemenu a i{
    margin-right: 5px;
}
@media print, screen and (min-width: 768px) {
    .hidemenu {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .submenu {
        display: none;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    position: fixed;
    top: 5px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    transition: 0.4s;
    cursor: pointer;
    z-index: 20;
}
.line {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 10px;
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background-color: #333;
    transition: 0.4s;
}
.line::before, .line::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    height: 3px;
    border-radius: 10px;
    background-color: #333;
    border-radius: 3px;
    transition: 0.4s;
}
.line::before {
    top: -8px;
    width: 40px;
}
.line::after {
    bottom: -8px;
    width: 60%;
}
.hamburger.active {
    background-color: #000;
}
.hamburger.active .line {
    background: transparent;
    transform: translateX(20px);
}
.hamburger.active .line::before, .hamburger.active .line::after {
    left: 0;
    width: 100%;
    background-color: #fff;
}
.hamburger.active .line::before {
    top: -6px;
    transform: translate(-20px,6px) rotate(-45deg) !important;
}
.hamburger.active .line::after {
    top: 6px;
    transform: translate(-20px,-6px) rotate(45deg) !important;
}
@media print, screen and (min-width: 768px) {
    .hamburger {
        display: none;
    }
}


/* トップ画像*/
#mainvisual {
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    animation: fade-in 2s ease forwards;
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.slider img {
    width: 100%;
    height: 40dvh;
    object-fit: cover;
    opacity: 0.5;
}
.loading {
    opacity: 0;
    visibility: hidden;
}
.loading.slick-initialized {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}
.new_athletics_list {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(161, 26, 26, 0.5);
    display: flex;
    list-style-type: none;
}
.new_athletics_list li {
    width: 35%;
    text-align: center;
    padding: 20px 15px;
    transition: 0.4s;
}
.new_athletics_list li:hover {
    background-color: #a11a1a;
}
.new_athletics_list li:hover a {
    opacity: 1;
}
.new_athletics_list li:not(:last-of-type) {
    border-right: 1px dotted #fff;
}
.new_athletics_list a {
    color: #fff;
    text-decoration: none;
}
.new_athletics_list .athletics_title {
    border-bottom: none;
    padding: 0;
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}
.more_link {
    text-align: right !important;
}
.more_link::after {
    display: inline-block;
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 5px;
    vertical-align: 1px;
}

@media screen and (max-width: 767px) {
    #mainvisual {
        margin-top: 50px;
    }
    .new_athletics_list {
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }  
    .new_athletics_list li {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
    .new_athletics_list li:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px dotted #fff;
    }    
    .new_athletics_list .athletics_title {
        font-size: 15px;
    }    
}
@media screen and (max-width: 480px) {
    .new_athletics_list li {
        padding: 5px 10px;
    }
}

/* 速報 */
/* トップページ */
#news-top .container{
    display: flex;
    gap: 50px;
}
#news-top .container div{
    width: 50%;
}
#spotnews-top .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.news_btn {
    width: 400px;
    height: 65px;
    line-height: 27px;
    display: block;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
    text-align: center;
    padding: 20px 10px;
    margin: 0 auto;
    background: linear-gradient(#dc3232 0%, #a11a1a 100%);
    border-radius: 10px;
}
.blue_btn {
    background: linear-gradient(#4e32dc 0%, #421aa1 100%) !important;
}
#spotnews-top .container .news_btn{
    margin: 0;
}
@media screen and (max-width: 767px) {
    #news-top .container{
        flex-direction: column;
        gap: 40px;
    }
    #news-top .container div{
        width: 100%;
    }
    #spotnews-top .container {
        flex-direction: column;
        align-items: center;
    }
}
@media screen and (max-width: 480px) {
    .news_btn {
        width: 100%;
        font-size: 23px;
        letter-spacing: 3px;
    }
}
/* 個別ページ */
#spot-news .athletics_infolist li .athletics_infotitle {
    width: 90%;
}
#spot-news .athletics_infolist li {
    display: flex;
    align-items: flex-start;
}
.news_link {
    width: 150px;
    display: block;
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    font-family: 'Kosugi Maru', serif;
    padding: 7px 10px;
    background: #a11a1a;
    border-radius: 50px;
}
@media screen and (max-width: 480px) {
    #spot-news .athletics_infolist li {
        flex-direction: column;
        gap: 5px;
    }    
    .news_link {
        width: 90%;
        margin: 0 auto;
    }
}



/* 競技会情報 */
/* トップページ */
.athletics_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style-type: none;
}
.athletics_list li {
    width: 47.5%;
    border: 1px solid #a11a1a;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 2px 2px 0 #a11a1a;
    transition: 0.4s;
}
.athletics_list li:hover {
    box-shadow: none;
    transform: translate(2px, 2px);
}
.athletics_list li a {
    text-decoration: none;
}
.athletics_list li a:hover {
    opacity: 1;
}
.athletics_title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.athletics_date {
    display: block;
    font-weight: 500;
}
@media screen and (max-width: 767px) {
    .athletics_list {
        flex-direction: column;
    }
    .athletics_list li {
        width: 100%;
    }
}

/* 一覧ページ */
.athletics_infolist li {
    width: 100%;
    padding: 15px 10px;
    list-style-type: none;
}
.athletics_infolist li div{
    width: 90%;
}
.athletics_infolist li:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
}
.athletics_infolist li a {
    position: relative;
    text-decoration: none;
}
#athletics .athletics_infolist li a {
    display: flex;
}
#athletics .athletics_infolist li a div {
    width: 85%;
}
.athletics_infotitle {
    position: relative;
    display: block;
    font-size: 17px;
    font-weight: 700;
    padding: 0 0 0 20px;
}
.athletics_infotitle::before {
    position: absolute;
    top: 11px;
    left: 0;
    display: inline-block;
    content: '';
    width: 8px;
    height: 8px;
    background-color: #a11a1a;
    transform: rotate(45deg);
}
.more_arrow {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-block;
    content: '';
    width: 20px;
    height: 2px;
    background-color: #a11a1a;
}
.more_arrow::after {
    position: absolute;
    top: -5px;
    right: 1px;
    display: inline-block;
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #a11a1a;
    border-right: 2px solid #a11a1a;
    transform: rotate(45deg);
}
.athletics_infodate {
    display: block;
    padding-left: 20px;
}
.year_list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style-type: none;
}
.year_list li {
    width: 31.4%;
}
.year_list li a {
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #333;
    padding: 5px 10px;
}
.year_list li a::after {
    position: absolute;
    top: 13px;
    right: 3px;
    display: inline-block;
    content: '';
    border: 8px solid transparent;
    border-left: 8px solid #a11a1a;
}
@media screen and (max-width: 767px) {
    .year_list li {
        width: 47.5%;
    }
}
@media screen and (max-width: 480px) {
    .year_list li {
        width: 100%;
    }
}
/* 個別記事ページ */
.tournament_table {
    border: 1px solid #6e6e6e;
}
.tournament_table div {
    display: flex;
}
.tournament_table div dt {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 150px;
    background-color: #6e6e6e;
    color: #fff;
    padding: 10px;
}
.tournament_table div:not(:last-of-type) dt {
    border-bottom: 1px solid #fff;
}
.tournament_table div dd {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 90%;
    padding: 10px 10px 10px 20px;
}
.tournament_table div:not(:last-of-type) dd {
    border-bottom: 1px solid #6e6e6e;
}
.tournament_table img {
    width: 22px;
    vertical-align: -5px;
    margin-right: 5px;
}
.tournament_table a {
    margin: 5px 0;
}
@media screen and (max-width: 480px) {
    .tournament_table div {
        flex-direction: column;
    }
    .tournament_table div dt, .tournament_table div dd {
        width: 100%;
    }
}


/* お知らせ */
/* トップページ */
.info_list li {
    list-style-type: none;
    padding: 5px 15px;
}
.info_list li:not(:last-of-type) {
    border-bottom: 1px dotted #ccc;
}
body:not(#top):not(#committee):not(#expert-committee) .info_list li:first-of-type {
    padding-top: 0;
}
body:not(#top):not(#committee):not(#expert-committee) .info_list li:last-of-type {
    padding-bottom: 0;
}
.info_list li a {
    display: flex;
    gap: 5px;
    text-decoration: none;
}
.info_list div {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 220px;
}
.info_tag {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    padding: 0 7px;
    border-radius: 5px;
    font-family: 'Kosugi Maru', serif;
}
.info_tag.red {
    background-color: #a11a1a;
}
.info_tag.blue {
    background-color: #3a3a92;
}
.info_tag.green {
    background-color: #0f7123;
}
#news-top .container div .info_list a {
    flex-direction: column;
}
#news-top .container div .info_list div {
    width: 100%;
}
@media screen and (max-width: 767px) {
    .info_list a {
        flex-direction: column;
    }
    .info_list div {
        width: 100%;
    }
}

/* 各委員会からのお知らせ */
.committee_info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
}
.committee_info:first-of-type {
    margin-bottom: 20px;
}
.committee_info a {
    width: 23.9%;
    display: block;
    padding: 10px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Kosugi Maru', serif;
    border: 1px solid #3a3a92;
    background-color: #3a3a92;
}
.committee_info a:hover {
    opacity: 1;
    background-color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    color: #3a3a92;
}
.committee_info:last-of-type a {
    border: 1px solid #0f7123;
    background-color: #0f7123;
}
.committee_info:last-of-type a:hover {
    color: #0f7123;
}
@media screen and (max-width: 767px) {
    .committee_info a {
        width: 31.5%;
    }
}
@media screen and (max-width: 510px) {
    .committee_info a {
        width: 48.2%;
    }
}
@media screen and (max-width: 350px) {
    .committee_info a {
        width: 100%;
        padding: 10px;
    }
    .committee_info a br {
       display: none;
    }
}

/* 各委員会・専門委員会 */
.tab {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style-type: none;
    margin-bottom: 40px;
}
.tab li a {
    position: relative;
    text-decoration: none;
    text-align: center;
    display: block;
    border-bottom: 1px solid #333;
    padding: 0 10px 0 25px;
    font-weight: 500;
} 
.tab li a::before {
    position: absolute;
    left: 5px;
    top: 12px;
    border: 5px solid transparent;
    border-top: 5px solid #a11a1a;
    display: inline-block;
    content: '';
}
@media screen and (max-width: 767px) {
    .tab {
        justify-content: flex-start;
    }    
}


/* 各陸協リンク */
#nav_menu-2 {
    list-style-type: none;
}
#nav_menu-2 ul li {
    list-style-type: none;
    padding: 10px;
}
#nav_menu-2 ul li:first-of-type {
    padding-top: 0;
}
#nav_menu-2 ul li:last-of-type {
    padding-bottom: 0;
}
#nav_menu-2 ul li:not(:last-of-type) {
    border-bottom: 1px dotted #ccc;
}
#nav_menu-2 ul li a {
    position: relative;
    padding-left: 20px;
}
#nav_menu-2 ul li a::before {
    position: absolute;
    top: 8px;
    left: 0;
    display: inline-block;
    content: '';
    width: 8px;
    height: 8px;
    background-color: #a11a1a;
    transform: rotate(45deg);
}
#nav_menu-2 ul li a::after {
    display: inline-block;
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    vertical-align: middle;
}



/* お問い合わせ */
/* トップページ */
#contact-top p {
    text-align: center;
    margin-bottom: 30px;
}
.contact_inner {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}
.contact_btn {
    display: block;
    border: 1px solid #a11a1a;
    background-color: #a11a1a;
    color: #fff;
    padding: 10px;
    width: 250px;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Kosugi Maru', serif;
    border-radius: 5px;
}
.contact_btn::before {
    display: inline-block;
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
}
.contact_btn:hover {
    opacity: 1;
    background-color: #fff;
    color: #a11a1a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.contact_num {
    display: flex;
    flex-direction: column;
}
.contact_num span {
    display: block;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: 2px;
}
.contact_form {
    width: 100%;
    margin: 40px 0 20px;
}
.tel::before, .fax::before {
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #a11a1a;
}
.tel::before {
    content: '\f095';
}
.fax::before {
    content: '\f1ac';
}
/* 個別ページ */
#contact .contact_num {
    flex-direction: row;
    gap: 50px;
    justify-content: center;
}
.contact_form tr {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.contact_form tr:not(:last-of-type) {
    margin-bottom: 10px;
}
.contact_form th {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 30%;
    text-align: left;
    font-weight: normal;
    border-radius: 5px;
}
.contact_form td {
    width: 70%;
}
.contact_form th, .contact_form td {
    padding: 5px 15px;
}
.contact_form input[type="text"],
.contact_form input[type="email"] {
    width: 70%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.contact_form textarea {
    display: block;
    width: 100%;
    height: 200px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: "Noto Sans JP", sans-serif;
}
.contact_form input[type="text"]:focus,
.contact_form input[type="email"]:focus,
.contact_form textarea:focus {
    outline: 2px solid #a11a1a;
}
.required {
    display: inline-block;
    color: red;
    font-size: 14px;
}
.form_btn {
    width: 250px;
    margin: 0 auto;
}
.form_btn input {
    width: 100%;
    border: none;
    border-radius: 5px;
    border: 1px solid #a11a1a;
    background-color: #a11a1a;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    font-size: 17px;
    font-family: 'Kosugi Maru', serif;
    cursor: pointer;
    transition: 0.4s;
}
.form_btn input:hover {
    background-color: #fff;
    color: #a11a1a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.privacy_text {
    display: block;
    text-align: center;
    margin-bottom: 50px;
}
.privacy_check {
    position: relative;
    top: 3px;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}
.wpcf7 form .wpcf7-response-output {
    border-color: transparent !important;
    color: #dc3232;
    text-align: center;
}
.wpcf7-not-valid-tip {
    font-size: 15px !important;
}
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    display: none;
}
@media screen and (max-width: 767px) { 
    #contact .contact_num {
        flex-direction: column;
        gap: 0;
        align-items: center;
    } 
    .contact_form tr {
        flex-direction: column;
    }
    .contact_form tr:not(:last-of-type) {
        margin-bottom: 20px;
    }
    .contact_form th, .contact_form td {
        display: block;
        width: 100%;
        padding: 0;
    }
    .contact_form th {
        text-align: center;
    }
    .contact_form input[type="text"],
    .contact_form input[type="email"] {
        width: 100%;
    }
}
@media screen and (max-width: 610px) {  
    .contact_inner {
        flex-direction: column-reverse;
    }
}
@media screen and (max-width: 374px) {
    .form_btn {
        width: 100%;
    }
}


/* バナー */
#banner .container {
    text-align: center;    
}

/* 道南陸協について */
.policy_list li {
    position: relative;
    padding-bottom: 7px;
}
.policy_list > li {
    padding-left: 20px;
    list-style-type: none;  
}
.policy_list > li::before {
    position: absolute;
    top: 10px;
    left: 0;
    display: inline-block;
    content: '';
    width: 8px;
    height: 8px;
    background-color: #a11a1a;
    transform: rotate(45deg);
}
.policy_list li:last-of-type {
    padding-bottom: 0;
}
.policy_list li span {
    display: block;
    font-weight: 500;
}
.policy_list li ol li {
    margin-left: 20px;
    padding-left: 5px;
}
.policy_list li ol li::marker {
    color: #a11a1a;
}
.policy_list li ol li:first-of-type {
    padding-top: 10px;
}
.policy_list dl {
    margin: 0 0 10px 15px;
}
.policy_list dl:last-of-type {
    margin-bottom: 0;
}
.policy_list dl div {
    display: flex;
    gap: 15px;
}
.policy_list dl div:not(:last-of-type) {
    margin-bottom: 5px;
}
.policy_list dl div dt{
    width: 40px;
}
.policy_list dl div dd{
    width: 90%;
}
.table_wrapper {
    overflow: auto;
}
.table_wrapper:first-of-type {
    margin-bottom: 50px;
}
.member_list {
    width: 100%;
    border: 1px solid #6e6e6e;
    border-spacing: 0;
}
.member_list th, .member_list td {
    padding: 8px;
}
.member_list tr:not(:last-of-type) th {
    border-bottom: 1px solid #fff;
}
.member_list tr:not(:last-of-type) td {
    border-bottom: 1px solid #6e6e6e;
}
.member_list:first-of-type tr:nth-of-type(5) td,
.member_list:first-of-type tr:nth-of-type(13) td,
.member_list:first-of-type tr:nth-of-type(15) td {
    border-bottom: none;
}
.member_list:first-of-type tr:nth-of-type(45) .sub_th {
    border-bottom-color: #6e6e6e !important;
}
.main_th {
    background-color: #6e6e6e;
    color: #fff;
    font-weight: normal;
}
.sub_th {
    background-color: #aaa;
    color: #fff;
    font-weight: normal;
}
.main_th:first-child {
    width: 150px;
}
.sub_th, .member_list td {
    width: 120px !important;
}
@media screen and (max-width: 767px) {
    .member_list {
        width: 850px;
    }
    .table_wrapper:first-of-type .scroll-hint-icon{
        top: 50px !important;
    }
}
@media screen and (min-width: 481px) {
    .policy_list .br {
        display: none;
    }
}

/* 記録・ランキング */
.log_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
}
.log_list li {
    width: 24%;
}
.log_list li a {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid #a11a1a;
    padding: 10px 10px 10px 30px;
    text-decoration: none;
    font-weight: 500;
}
.log_list li a::before {
    position: absolute;
    top: 17.5px;
    left: 12px;
    display: inline-block;
    content: '';
    border: 6px solid transparent;
    border-left: 6px solid #a11a1a;
}
@media screen and (max-width: 960px) {
    .log_list li {
        width: 32.4%;
    }
}
@media screen and (max-width: 767px) {
    .log_list li {
        width: 48.8%;
    }
}
@media screen and (max-width: 480px) {
    .log_list {
        flex-direction: column;
    }
    .log_list li {
        width: 100%;
    }
}


/* フッター */
footer {
    margin-top: auto;
    padding: 20px 0 50px;
    text-align: center;
    background-color: #bbb;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.adress {
    text-align: left;
}
.footer_menu {
    margin: 30px 0;
}
.footer_menu ul {
    display: flex;
    justify-content: center;
    gap: 5px 20px;
}
.footer_menu ul:first-of-type {
    margin-bottom: 10px;
}
.footer_menu ul li {
    list-style-type: none;
}
.footer_menu ul li a {
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
}
.copyright {
    font-size: 13px;
}
@media screen and (max-width: 630px) {
    .footer_menu ul {
        flex-wrap: wrap;
    }    
}
@media screen and (min-width: 351px) {
    footer .br {
        display: none;
    }
}

/* ページトップボタン */
.page_top {
    position: fixed;
    right: 10px;
    bottom: 20px;
    width: 80px;
    height: 80px;
    z-index: 10;
    transform: 0.4s;
}
.page_top:hover {
    opacity: 1;
    transform: translateY(-5px);
}
.arrow {
    position: absolute;
    top: 0;
    left: 14px;
    display: block;
    width: 70px;
    height: 70px;
    background: url(images/pagetop.png) center/ cover no-repeat;
}
.arrow::after {
    position: absolute;
    bottom: -18px;
    left: 10px;
    display: block;
    content: 'Page top';
    color: #333;
    font-size: 11px;
}


/* 固定ページ・投稿ページ共通 */
#page_title {
    position: relative;
    height: 250px;
    z-index: -1;
    margin-top: 100px;
    background: url(images/mainvisual.webp) center / cover no-repeat;
}
#page_title .headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
#page_title .headline::after {
    display: none;
}
@media screen and (max-width: 767px) {
    #page_title {
        height: 200px;
        margin-top: 50px;
    }
}
@media screen and (max-width: 480px) {
    #page_title .headline {
        font-size: 25px;
    }   
}

/* 投稿ページ関連 */
.article_header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
   padding: 0 10px 5px;
}
.article_title {
    position: relative;
    font-weight: 500;
    font-size: 22px;
    border-bottom: 1px solid #ddd;
    padding: 0 10px 10px;
    margin-bottom: 40px;
}
.article_text {
    padding: 0 10px;
}
.article_text > ul li, .article_text > ol li {
    margin-left: 25px;
}
.article_text p:not(:last-of-type) {
    margin-bottom: 20px;
}
.article_text p .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.article_text p .alignright {
    display: block;
    margin-left: auto;
}


/* 一覧ページネーション */
.nav-links .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}
.nav-links .page-numbers li {
    list-style-type: none;
}
.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next {
    position: relative;
    display: block;
    content: '';
    width: 40px;
    height: 40px;
    background-color: #a11a1a;
    border: 1px solid #a11a1a;
    color: #fff;
    text-align: center;
    line-height: 40px;
    margin-top: 0;
    text-decoration: none;
}
.nav-links a.page-numbers:hover {
    opacity: 1;
    background-color: #fff;
    color: #a11a1a;
}
.nav-links .current {
    background-color: #eee;
    border-color: #eee;
    color: #6e6e6e;
}
.nav-links a.prev {
    margin-right: 5px;
}
.nav-links a.next {
    margin-left: 5px;
}
.nav-links .dots {
    margin-top: 0;
}
.prev_arrow, .next_arrow {
    position: absolute;
    top: 14.5px;
    display: block;
    content: '';
    width: 10px;
    height: 10px;
}
.prev_arrow {
    left: 16px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
}
.next_arrow {
    right: 15px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.nav-links a.page-numbers:hover .prev_arrow,
.nav-links a.page-numbers:hover .next_arrow {
    border-color: #a11a1a;
}
.current .prev_arrow, .current .next_arrow {
    border-color: #6e6e6e;
}


/* 個別ページネーション */
.article_pagenation {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    list-style-type: none;
    gap: 10px;
}
.article_pagenation li {
    width: 100%;
    min-width: 145px;
}
.article_pagenation li a {
    display: block;
    text-decoration: none;
    width: 100%;
    padding: 10px;
    border: 1px solid #a11a1a;
}
.article_pagenation .prev a {
    padding-left: 40px;
}
.article_pagenation .list a {
    background-color: #a11a1a;
    color: #fff;
    text-align: center;
}
.article_pagenation .next a {
    padding-right: 40px;
    text-align: right;
}
.article_pagenation .prev a,
.article_pagenation .next a {
    position: relative;
}
.article_pagenation .prev a::before,
.article_pagenation .next a::after {
    position: absolute;
    top: 18.5px; 
    display: inline-block;
    content: '';
    border: 6px solid transparent;
}
.article_pagenation .prev a::before {
    border-right: 6px solid #a11a1a;
    left: 8px;
}
.article_pagenation .next a::after {
    border-left: 6px solid #a11a1a;
    right: 8px;
}
.grayscale a{
    border: none !important;
    background-color: #eee;
    color: #6e6e6e !important;
    pointer-events: none;
}
.grayscale a::before {
    border-right-color: #6e6e6e !important;
}
 .grayscale a::after {
    border-left-color: #6e6e6e !important;
}
@media screen and (max-width: 500px) {
    .article_pagenation {
        flex-direction: column;
    }
    .article_pagenation .prev {
        order: 0;
    }
    .article_pagenation .list {
        order: 2;
        margin-top: 10px;
    }
    .article_pagenation .next {
        order: 1;
    }
}



/* 個人情報保護方針 */
.num_list {
    padding-left: 20px;
}
.num_list li {
    padding: 0 0 10px 5px;
}
.num_list li::marker {
    font-weight: 700;
    color: #a11a1a;
    font-family: 'Noto Serif JP', serif;
}
.num_list li > ol {
    padding-left: 30px;
}
.num_list li > ol li {
    padding-bottom: 10px;
}
.num_list > li:last-of-type, .num_list li > ol li:last-of-type {
    padding-bottom: 0;
}
.numlist_title {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}


/* フォトギャラリー */
.accordion-content {
    display: none;
    margin-bottom: 50px;
}
.accordion-header {
    position: relative;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    padding: 0 10px 5px 35px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    color: #333;
}
.accordion-arrow {
    position: absolute;
    top: 8px;
    left: 15px;
    display: inline-block;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #a11a1a;
    border-right: 2px solid #a11a1a;
    margin-right: 10px;
    vertical-align: -4px;
    transition: 0.4s;
    transform: rotate(135deg);
}
.accordion-arrow.open {
    transform: rotate(315deg);
}
.gallery_list li {
    list-style-type: none;
}
.gallery_area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gallery_area li {
    width: 19.1%;
}
.gallery_area li img {
    aspect-ratio: 1.3 / 1;
    object-fit: cover;
}
@media screen and (max-width: 960px) {
    .gallery_area li {
        width: 23.9%;
    }
}
@media screen and (max-width: 767px) {
    .gallery_area li {
        width: 32.3%;
    }
}
@media screen and (max-width: 683px) {
    .gallery_area li {
        width: 32%;
    }
}
@media screen and (max-width: 539px) {
    .gallery_area li {
        width: 31.5%;
    }
}
@media screen and (max-width: 480px) {
    .gallery_area li {
        width: 48.5%;
    }
}
@media screen and (max-width: 374px) {
    .gallery_area li {
        width: 48%;
    }
}


/* 協賛ロゴスライダー・リスト */
#sponsorship-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    list-style-type: none;
}
.logo_slider .slick-track{
    display: flex;
    gap: 30px;
}
.logo_slider .slick-track img{
    width: 132px;
    height: 46px;
    object-fit: contain;
}

/* reCAPTCHA */
#contact .grecaptcha-badge {
    width: 70px !important;
    visibility: visible;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
  }
 #contact .grecaptcha-badge:hover {
    width: 256px !important;
    visibility: visible;
  }
.grecaptcha-badge {
    visibility: hidden;

}
.grecaptcha-badge:hover {
    visibility: hidden;
}


