/* すべてのページに適用される設定 */
html {
    font-size: 16px;
    font-family: sans-serif;
    
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0 0 0 0;
    padding: 0 0 0 0;

}

main {
    padding: 0 2%;
}

p, li, td {
    line-height: 1.7;
}

img {
    max-width: 100%;
}

.link-saki {     /* ページ内リンクの位置を調整 */
    margin-top: -200px;
    padding-top: 200px;
}

a:link {
    color: #a70000;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
a:visited {
    color: #a70000;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
a:hover {
    color: #a70000;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
a:active {
    color: #a70000;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}




/* すべてのページに適用 - ヘッダー */
.header {
    width: 100%;
    position: fixed;   /* ヘッダーを固定 */
    top: 0;
    z-index: 80;

    background: #ffff00;
}

.logo {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    height: 150px;
    
    background: #ffff00;
    display: block;
}

.sub-header {
    width: 100%;
    position: fixed;   /* ヘッダーを固定 */
    top: 0;
    z-index: 80;

    background: #ffff00;
}

.sub-logo {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    height: 70px;
    
    background: #ffff00;
    display: block;
}


.nav {
    padding-top: 5px;
    padding-bottom: 5px;
    height: 40px;
    
    background: #008000;

    color: #fff;
    
}

.nav ul {
    margin: 0 0 0 0;
    list-style: none;

    display: flex;
    justify-content: center;
    gap: 50px;
}

.nav a:link {
    color: #fff;
    text-decoration: none;
}
.nav a:visited {
    color: #fff;
    text-decoration: none;
}
.nav a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
.nav a:active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

/* ハンバーガーメニュー */
.menu-btn {
    position: fixed;
    top: 15px;
    right: 20px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #ffff00;
    border: 1px solid #008000;
}

/* ハンバーガーアイコン下のテキスト */
.menu-btn a {
    width:		36px;
    
    font-size:	10px;
    padding-top: 40px;
    color:		#008000;
    text-decoration: none;
    text-align: center;
    display:	block;
}


.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #008000;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0); /* メニューオープン時は真ん中の線を透明にする */
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ボタンを押すとテキストが変わる */
#menu-btn-check:checked ~ .menu-btn .menu-span {
    display: none;
}
#menu-btn-check ~ .menu-btn .close-span {
    display: none;
    top: 10px;
}
#menu-btn-check:checked ~ .menu-btn .close-span{
    display: block;
}

#menu-btn-check:checked ~ .menu-content {
    bottom: 0; /* メニューを画面内へ */
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 100%;
    left: 0%; /* leftの値を変更してメニューを画面外へ */
    z-index: 80;
    background-color: #ffff00;
    transition: all 0.5s; /* アニメーション設定 */
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #008000;   
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #008000;   
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #008000;   
    border-right: solid 2px #008000;   
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}


/* ハンバーガーメニューここまで */

.air-header {
    position: relative;
    height: 190px;

    z-index: 0;
}

.sub-air-header {
    position: relative;
    height: 110px;

    z-index: 0;
}

/* すべてのページに適用 - ヒーロー */

.hero {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    max-width: 100%;
    text-align: center;
}



/* ヒーロー画像スライドショーここから */

.slider_fade {
    position: relative;
    margin: 0 auto 0 auto;
}
 
.slider_fade > li {
    position: absolute;
    list-style: none;
    visibility: hidden;
    animation: anime_slider_fade 48s 0s infinite;
}
.slider_fade > li:nth-of-type(2) {
    animation-delay: 4s;
}
.slider_fade > li:nth-of-type(3) {
    animation-delay: 8s;
}
.slider_fade > li:nth-of-type(4) {
    animation-delay: 12s;
}
.slider_fade > li:nth-of-type(5) {
    animation-delay: 16s;
}
.slider_fade > li:nth-of-type(6) {
    animation-delay: 20s;
}
.slider_fade > li:nth-of-type(7) {
    animation-delay: 24s;
}
.slider_fade > li:nth-of-type(8) {
    animation-delay: 28s;
}
.slider_fade > li:nth-of-type(9) {
    animation-delay: 32s;
}
.slider_fade > li:nth-of-type(10) {
    animation-delay: 36s;
}
.slider_fade > li:nth-of-type(11) {
    animation-delay: 40s;
}

 
@keyframes anime_slider_fade {
    0% {
        visibility: visible;
        opacity: 0;
    }
    8.3% {
        opacity: 1;
    }
    16.7% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ヒーロー画像スライドショーここまで */

h1 {
    padding-top: 25px;
    padding-bottom: 25px;
    margin-top: 0;
    max-width: 100%;
    color: #008000;
    font-size: 2rem;
    
    text-align: center;
    background-image: url(../image/サブヒーロー.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    /* じわっと画像が表示される */
    animation: fadeIn 1.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
}

/* じわっと画像が表示される */
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
    0% {opacity: 0} /* 始め */
    100% {opacity: 1} /* 終わり */
}
 
/*古いブラウザ用*/
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


/* すべてのページに適用 - メイン */
main {
    margin: 0 auto 90px auto;
    max-width: 1000px;
    
    background-color: #FFF;
    background-clip: border-box;
}

.breadcrumb-list {
    font-size: 14px;
    
}

main h2 {
    margin: 50px 0 20px 0;
    padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
    color: #008000;/*文字色*/
    font-size: 1.5rem;
    background: #ffff00;/*背景色*/
    border-left: solid 20px #008000;/*左線*/

    /* 右からカットインするアニメ */
    animation: anim 1s forwards;
}

main h3 {
    margin-top: 40px;
    margin-left: 20px;
    padding-left: 10px;
    color: #008000;
    border-left: 10px solid #ffff00;
}

@keyframes anim {
    0% {
    transform: translateX(1000px);
    }
  
    100% {
    transform: translateX(0px);
    }
  }

figure {
    text-align: center;
}

figcaption {
    color: #a0a0a0;
    font-size: 14px;
}

a[target="_blank"]:after {
    content: url(../image/新しいページ.png);
    margin: 0px 2px;
}

.info-banners {
    text-align: center;
    margin: 80px auto 40px auto;
    display: flex;
}

.info-banner img {
    margin: 20px 30px 20px 30px;
}

/* すべてのページに適用 - フッター */

/* トップへ戻るボタンの書式 */
footer .gotop {     
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid #999;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #333;
    opacity: 0.5;
    
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 70;
}

footer .gotop::before{
    content: "";
    display: block;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    width: 25%;
    height: 25%;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
footer .gotop:hover{
    opacity: 1;
}  
/* トップへ戻るボタンの書式ここまで */

.copyright {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 80px;
    padding-bottom: 30px;
    background-color: #ffff00;
    color: #008000;
    text-align: center;
}

.sns-btn {
    display: flex;
    margin-top: 0px;
    margin-bottom: 0;
    justify-content: center;
    background-color: #ffff00;
    padding-bottom: 60px;
    list-style: none;
}

.sns-btn , img {
    gap: 30px;
}

.sns-btn a[target="_blank"]:after {
    content: none;
}

/* 個別のスタイル */
/* index.html */

.air-hero {
    height: 666px;
}

.schedule {
    text-align: center;
}

.banner-ad_A {
    text-align: center;
}
.banner-ad_A img {
    margin: 20px auto 20px auto;
    box-shadow: 0 0 8px gray ;
}
.banner-ad_A img:hover {
    box-shadow: 0 0 3px ;
}
.banner-ad_B {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.banner-ad_B img {
    margin: 20px 10px 20px 10px;
}
.banner-ad_C {
    background-color: #ffff00;
    padding-top: 20px;
    text-align: center;
}
.banner-ad_C img {
    margin: 5px 10px 5px 10px;
}

.kyushu2024 {
    text-align: center;
    margin: 40px auto;
}

.moreView {
    text-align: right;
}


#taisho-sha li {
    list-style-type: katakana;
}

.asso-info {
    border-collapse: collapse;
    margin: auto;
}

.asso-info th, .asso-info td {
    border: 1px solid #dbdbdb;
    padding: 20px;
}

.form {
    margin-top: -100px;
    text-align: center;
}


/* topics.html */
.topicsIndex {
    text-align: center;
}


/* column.html */
.columnIndex {
    text-align: center;
}


/* inclu-cup.html */
.about-incluCup {
    display: flex;
    justify-content: space-between;
}

.incluCup-exp {
    width: 60%;
}

.sankaSikaku {
    padding-left: 20px;
}

.program-cover {
    padding: 0;
    width: 40%;
    height: auto;
}


/* act-report.html */

.listA .container {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.listA article {
    max-width: 300px;
    flex: 1 1 300px;
    display: flex;
}

.listA h4 {
    font-size: 18px;
}

.listA p {
    font-size: 14px;
    opacity: 0.8;
}

.listA .photo {
    min-height: 150px;
    background-position: center;
    background-size: cover;
}

.listA a {
    flex: 1;
    margin: 10px;
    display: block;
    border: solid 1px #ddd;
    color: inherit;
    text-decoration: none;
}

.listA a:hover {
    opacity: 0.8;
}

.listA .text {
    margin: 10px;
}


.match {
    display: block;
    justify-content: center;
}

.report-photo {
    display: flex;
    flex-wrap: wrap;
}

.report-photo a {
    margin-left: auto;
    margin-right: auto;
}

.report-photo img {
    margin: 20px auto ;
}

.actRepoIndex {
    text-align: center;
}




/* pics_01.html */
.pics_01 h2 {
    margin-top: 90px;
}
.pics_01 img {
    margin-top: 50px;
    text-align: center;
}
.pics_01 p {
    margin-top: 0;
}


/* about-osfa.html */

.officers-list {
    border-collapse: collapse;
    margin: auto;    
}

.officers-list td {
    border: 1px solid #dbdbdb;
    padding: 20px;
    
}

.position {
    width: 180px;
}

.name {
    width: 300px;
}

caption {
    caption-side: bottom;
    text-align: right;
    margin-top: 0.5em;
    font-size: 0.9em;
}



/* support.html */

.request-flyer {
    /* display: flex; */
    justify-content: space-between;
}

.request {
    width: 65%;
}
.flyer {
    float: right;
    margin: 0 0 10px 10px;
    width: 35%;
}

.flyer td {
    text-align: center;
}

/* interview.html */

.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }
  
  .iframe-wrapper iframe {
    position: absolute;
    padding-top: 20px;
    padding-bottom: 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


/* モバイル対応 */

@media (min-width: 1000px) {
    .hamburger-menu {
        display: none; /* PCはハンバーガーメニューは非表示 */
    }
    .nav .mini-nav {
        display: none;
    }
    .logo {
        background: #ffff00;
        display: block;
    }
    
}

@media (max-width:999.99px) {
    .nav .nav-list {
        display: none;
    }
    .air-hero {
        height: 580px;
    }
}

@media (max-width:840px) {
    main {
        padding: 0 4%;
    }
    .logo {
        width: 85%;
    }
    .air-hero {
        height: 450px;
    }
}

@media (max-width:767px) {
    .air-hero {
        height: 420px;
    }

        /* index.html */
    .form {
        width: 100%;
        height: auto;
        position:relative;
        margin-top: 40px;
        padding-top: 200%;
    }

    .form iframe{
        width:100%;
        height:100%;
        position:absolute;
        top:0;
        left:0;
    }

    /* inclu-cup.html */
    .about-incluCup {
        display: block;
    }
    .incluCup-exp {
        width: 100%;
    }
    .program-cover {
        width: 100%;
    }

    /* act-report.html */
    .match {
        display: block;
        justify-content: center;
    }
    .match-repo {
        width: 100%;
    }
    

    /* support.html */
    .request-flyer {
        display: block;
        justify-content: center;
    }
    .request {
        width: 100%;
    }
    .flyer {
        width: 100%;
    }
}

@media (max-width: 430px) {   /* スマホサイズ */
    .logo {
        padding-top: 20px;
        width: 70%;
        height: 90px;
    }
    .air-header {
        height: 140px;
    }
    .link-saki{
        margin-top: -140px;
        padding-top: 140px;
    }
    .air-hero {
        height: 360px;
    }

    .info-banners {
        display: block;
        margin: auto 20px;
    }



    /* index.html */
    .form {
        width: 100%;
        height: auto;
        position:relative;
        margin-top: 60px;
        padding-top: 200%;
    }

    .form iframe{
        width:100%;
        height:100%;
        position:absolute;
        top:0;
        left:0;
    }

    /* inclu-cup.html */
    .program-cover {
        width: 80%;
        margin: auto;
    }

}