body {
    font-family: "Noto Sans JP", sans-serif;
}
.pc {
    display: none;
}
.sp {
    display: block;
}
.wp-block-image {
    margin-bottom: 40px;
}
.wp-block-column .wp-block-image、
#news .news_text .wp-block-column p {
    margin-bottom: 20px;
}
.container.min {
    max-width: 900px;
}
.container.mid {
    max-width: 1100px;
}
.nav-link:focus, .nav-link:hover {
    color: #d80100;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
 }
/* header*/
header {
    box-shadow: 0 0 4px 0 rgba(0,0,0,.2);
}
#header_top {
    background: #000;
    padding: 15px 0;
}
#header_bottom.fixed {
    position: fixed;
    background: #fff;
    width: 100%;
    top: 0;
    transition: 0.8s all;
    z-index: 9999;
    box-shadow: 0 0 4px 0 rgba(0,0,0,.2);
  }
#header_sns {
    display: none;
}
.h1,h1 {
    float: left;
    margin:0;
    font-size:0.6rem;
    color: #fff;
}
.h2, h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.h2, h2::before {
    position: absolute;
    border-bottom: 2px solid #D73529;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    content: '';
}
.h4,h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}
header nav {
    text-align: right;
}
header .navbar {
    padding: 10px 0;
    font-size: 20px;
}
header .navbar .nav-item {
    text-align: center;
}
header .navbar .nav-item img {
    width: 25px;
    margin-right: 10px;
}
header .navbar .nav-item:first-child img {
    margin-right: 10px;
}
header .navbar-nav {
    --bs-nav-link-color: #000;
}
header .container-fluid {
    padding: 0;
}
#main_visual img {
    width: 100%;
}
.navbar-nav .dropdown-menu {
    display: block;
    border: none;
    text-align: center;
    font-size: var(--bs-nav-link-font-size);
}
/* contents */

section {
    padding: 40px 0;
}
section p {
    line-height: 1.8em;
    font-size: 14px;
}
#about {
    background: #F2EFEF;
    background-image: url(images/bridge.png);
    background-size: 400px;
    background-position: bottom -60px left -20px;
    background-repeat: no-repeat;
}
#about ul {
    padding-left: 0;
    margin-bottom: 40px;
}
#about ul li {
    list-style: none;
    margin: 0 3px;
}
#about ul li img {
    width: 100%;
}
#about p {
    text-align: center;
    margin-bottom: 40px;
}
.btn {
    display: block;
    text-align: center;
}
.btn a {
    color: #fff;
    background: #000;
    padding: 12px 40px;
    text-decoration: none;
    border-radius: 10px;

}
.btn a:hover {
    background:#d80100;
}
#news h3 {
    border-bottom: 2px solid #000;
    font-size: 24px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    line-height: 1.6em;
}
#news .box a {
    color: #000;
    text-decoration: none;
    display: inline;
}
#news .box a:hover {
    opacity: 0.8;
}
#news .thumbnail img {
    width: 100%;
    height: 243px;
    object-fit: cover;
}
#news .title,#news .date {
    margin-bottom: 10px;
}
#news .date {
    font-size: 14px;
}
#news .title {
    font-size: 16px;
}
#news .text {
    font-size: 14px;
    line-height: 1.8em;
}
#news .text p {
    height: 5em;
    overflow: hidden;
}
#news .news_title,#news .news_date {
    margin-bottom: 10px;
}
#news .news_date {
    font-size: 14px;
}
#news .news_title {
    font-size: 28px;
}
#news .news_text {
    font-size: 18px;
    line-height: 1.8em;
}
#news .news_text p {
    margin-bottom: 40px;
}
#news .news_content {
    background: #F2EFEF;
    padding: 20px;
    min-height: 227px;
    max-height: 227px;
}
#youtube {
    background: #F2EFEF;
}
#youtube .footage {
    margin-bottom: 40px;
}
#youtube .footage {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 40px;
  }
#youtube .footage iframe {
    width: 100%;
    height: 100%;
  }
#youtube .text {
    margin-bottom: 40px;
    line-height: 1.8em;
    font-size: 14px;
}
.yt_btn {
    display: block;
    text-align: center;
}
.yt_btn a {
    color: #fff;
    background: #FF3300;
    padding: 12px 40px;
    text-decoration: none;
    border-radius: 10px;

}
.yt_btn a:hover {
    opacity: 0.8;
}
.yt_btn a img {
    position: relative;
    top: -2px;
}
#sponsorship {
    text-align: center;
}
#sponsorship span {
    display: inline-block;
    line-height: 1.8em;
}
#sponsorship span.company_name img {
    width: auto;
    height: 20px;
}
#sponsorship p {
    text-align: right;
}
#sponsorship_link {
    background: url(images/sponsorship_link_bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;

}
#sponsorship_link .h2,#sponsorship_link h2 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
#sponsorship_link .h2,#sponsorship_link h2::before {
    position: absolute;
    border-bottom: 2px solid #D73529;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    content: '';
}
#sponsorship_link a {
    width: 100%;
    display: inline-block;
    font-size: 20px;
    color: #000;
    background: #fff;
    background-image: url(images/btn_arrow.png);
    background-size: 8px;
    background-position: right 10px top 25px;
    background-repeat: no-repeat;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;

}
#sponsorship_link a:hover {
    opacity: 0.9;
}
#sponsorship_link a:first-child {
    margin-bottom: 20px;
}
#message_sec .greeting {
    padding: 5% 5% 0 5%;
}
#message_sec h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
    margin-bottom: 20px;
    line-height:1.6;
}
#message_sec p {
    font-size: 1em;
    line-height: 2.2;
    margin-bottom: 20px;
}
#message_sec img {
    width: 100%;
}
/* about */
#consept {
    padding-bottom: 0;
}
#consept p {
    text-align: center;
}
/* message */
#message .greeting {
    padding: 0 5%;
}
#message .chairman_message h3,
#message .chairman_message h4 {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
}
#message .chairman_message h3 {
    font-weight: bold;
}
#message .chairman_message h4 {
    font-size: 1.1em;
}
#message .chairman_image {
    padding: 0 10%;
}
#message .chairman_image .wp-block-image {
    margin-bottom: 0;
    text-align: center;
}
#message .reverse {
    display: flex;
    flex-direction: column-reverse;
}
/* reason */
#reason {
    padding-bottom: 0;
}
#reason h3 {
    font-size: 24px;
    margin-bottom: 40px;
}
/* bridge */
#bridge {
    padding-bottom: 0;
}
#bridge .title {
    font-size: 24px;
    margin-bottom: 40px;
}
#bridge p {
    font-size: 16px;
}
/* event */
.event_list img {
    width: 100%;
    height: auto;
}
.event_list .thumbnail {
    text-align: center;
}
.event_list .thumbnail a:hover {
    opacity: 0.9;
}
.event_list img.size-large {
    width: auto;
    max-width: 600px;
}
.event_list .line {
    border-bottom: 1px solid #848484;
    padding: 25px 0;
}
.event_list .row.time_schedule div:nth-last-child(2) {
    margin-bottom: 70px;
}
.event_list .th {
    font-weight: bold;
}
.event_list .th,.event_list .td {
    display: inline-block;
    padding:0 1.5em;
}
/* sponsor */
#sponsor_list p {
    /* text-align: center;*/
}
#sponsor_list .thumbnail a:hover {
    opacity: 0.9;
}
#sponsor_list .thumbnail img {
    width: 100%;
    height: 243px;
    object-fit: cover;
}
#sponsor_list .date {
    margin-bottom: 15px;
}
#sponsor_list .title {
    font-weight: bold;
    margin-bottom: 15px;
}
#sponsor_list .date {
    font-size: 14px;
}
#sponsor_list .title {
    font-size: 16px;
}
#sponsor_list .news_content {
    padding: 20px 0;
}
#sponsor_list .btn a {
    background: #fff;
    border: 1px solid #000;
    color: #000;
}
#sponsor_list .btn a:hover {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}
/* footer */
footer {
    padding-top: 40px;
    background: #F2EFEF;
    text-align: center;
}
.footer_sns {
    padding-bottom: 40px;
}
.copyright {
    color: #fff;
    background: #000;
    padding: 10px 0;
}
footer ul li {
    display: inline-block;
    margin-right: 30px;
}
footer ul li a {
    text-decoration: none;
    color: #000;
}
footer ul li a:hover {
    text-decoration: underline;
}
footer #footer_logo {
    margin-bottom: 35px;
}
footer #supported_logo {
    margin-bottom: 25px;
}
footer #supported_logo .supported_title {
    font-weight: bold;
    margin-bottom: 10px;
}
.offcanvas {
    opacity: 0.98;
}
/* pager */
.nav-links {
    margin: 80px auto 0 auto
}
.nav-links span {
    border: 1px solid #000;
    padding: 3px 6px;
}
.nav-links a {
    border: 1px solid #000;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 3px 6px;
}
.nav-links a:hover {
    background: #fff;
    color: #000;
}
/*　お問合せ */
.form-control {
    background: #F0F0F0;
}
.form-select {
    max-width: 300px;
}
@media (min-width: 782px) {
    /* message */
    #message .chairman_message {
       padding: 10% 3% 0 3%;
   }
   #message figure.wp-block-image {
       margin-bottom: 80px;
   }
   #message .reverse {
       flex-direction: unset;
   }
   #message .chairman_image .wp-block-image {
       margin: 0 0 1.75em 0;
   }
   #message .chairman_image {
    padding: 0;
    }
}

@media (min-width: 992px) {
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
    header .navbar {
        padding: 15px 0;
        font-size: 14px;
    }
    .navbar-expand-lg .offcanvas {
        float: right;
        flex-grow: unset;
    }
    footer #supported_logo .supported1,
    footer #supported_logo .supported2 {
    margin-right: 20px;
    }
    .dropdown:hover > .dropdown-menu {
        display: block;
        font-size: 14px;
        width: 100%;
        min-width: auto;
        border: none;
        padding: 0;
        top: 30px;
     }
     .navbar-nav .dropdown-menu {
        display: none;
     }
     .dropdown:hover > .dropdown-menu .dropdown-item,
     .dropdown:hover > .dropdown-menu .dropdown-item:hover  {
        padding: 0 5px;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
        text-align: center;
        width: 150px;
        border-radius: 5px;
     }
     .dropdown:hover > .dropdown-menu .dropdown-item:hover  {
        color: #d80100;
     }
     #message_sec .greeting {
        padding: 3% 5% 0 5%;
    }
    #message_sec h3 {
        margin-bottom: 40px;
    }
    #message_sec p {
        margin-bottom: 40px;
    }
}

@media (min-width: 1200px) {
    .h1,h1 {
        font-size:0.75rem;
    }
    .h2, h2 {
        font-size: 28px;
        font-weight: bold;
        text-align: center;
        position: relative;
        padding-bottom: 25px;
        margin-bottom: 60px;
    }
    .h2, h2::before {
        position: absolute;
        border-bottom: 2px solid #D73529;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        content: '';
    }
    #header_sns {
        float: right;
        height: 14px;
        position: relative;
        top: -5px;
    }
    section {
        padding: 80px 0;
    }
    #about {
        background-size: 800px;
        background-position: bottom -120px left -20px;
    }
    #about ul {
        margin-bottom: 80px;
    }
    #about p {
        text-align: center;
        margin-bottom: 60px;
        line-height: 1.8em;
        font-size: 16px;
    }
    #news .title {
        font-size: 20px;
    }
    #news .text {
        font-size: 16px;
    }
    #youtube .footage {
        margin-bottom: 0;
    }
    #youtube .text {
        margin-bottom: 45px;
        line-height: 1.8em;
        font-size: 16px;
    }
    #sponsorship_link .h2,#sponsorship_link h2 {
        font-size: 28px;
        font-weight: bold;
        text-align: center;
        position: relative;
        padding-bottom: 25px;
        margin-bottom: 60px;
    }
    #sponsorship_link .h2,#sponsorship_link h2::before {
        position: absolute;
        border-bottom: 2px solid #D73529;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        content: '';
    }
    #sponsorship_link .col-lg-6:first-child {
        text-align: right;
    }
    #sponsorship_link a {
        width: 450px;
        background-position: right 10px top 40px;
        padding: 30px 40px;
    
    }
    footer {
        padding-top: 80px;
        background: #F2EFEF;
        text-align: center;
    }
    .footer_sns {
        padding-bottom: 80px;
    }
    .copyright {
        padding: 20px 0;
    }
     /* message */
     #message .chairman_message {
        padding:10% 10% 0 10%;
    }
    #message .chairman_message p {
        font-size: 1em;
        line-height: 2.2;
    }
    #message :where(.wp-block-columns) {
        margin-bottom: 0;
    }
    #message_sec img {
        width: auto;
    
    }
}