@charset 'utf-8';
@import url(reset.css);
@import url(header.css);
@import url(footer.css);

/*ーーーーーーーーーーーーーーー
html全般の設定
ーーーーーーーーーーーーーーー*/
html{
    scroll-behavior: smooth; /*トップへ戻るを押したときになめらかに戻る*/
    margin: 0;
}

/*ーーーーーーーーーーーーーーー
idの設定
ーーーーーーーーーーーーーーー*/
[id]{
    scroll-margin-top: 20vh;
}

/*ーーーーーーーーーーーーーーー
body全般の設定
ーーーーーーーーーーーーーーー*/
body{
    margin: 0;
    background: url(../img/bg.png) ;
}

/*ーーーーーーーーーーーーーーー
main全般の設定
ーーーーーーーーーーーーーーー*/
#main{
    width: 100%;
    overflow-x: hidden;
}

/*ーーーーーーーーーーーーーーー
背景の設定
ーーーーーーーーーーーーーーー*/
#zero{
    background-image: url("../img/zero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 50px;
    padding-bottom: 80px;
    color: #005eae;
    box-sizing: border-box;
}

.bg .bg-wrap{
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.bg .bg-wrap::before{
    animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1)forwards;
    background-color: #ffffff;
    box-shadow: 5px 5px #005eae;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
}

.bg .bg-wrap .inn {
    color: #005eae;
    display: inline-block;
    font-size: 3em;
    font-weight: 800;
    line-height: 1.2;
    padding: 10px 25px;
    position: relative;
    z-index: 1;
}

/*ーーーーーーーーーーーーーーー
アバウトの設定
ーーーーーーーーーーーーーーー*/
#about{
    margin-top: var(--space-xl);
}
#about p{
    width: 1000px;
    text-align: center;
    font-size: var(--fz-base);
    line-height: var(--lh-base);
    margin: 0 auto;
}



/*ーーーーーーーーーーーーーーー
セクションの設定
ーーーーーーーーーーーーーーー*/
/* section{
    margin-top: 100px;
    margin-bottom: 50px;
} */

/*ーーーーーーーーーーーーーーー
ニュースの設定
ーーーーーーーーーーーーーーー*/
#news-wrapper{
    width: 100%;
    background-color: #ffffff;
    padding: 50px 0;
}
#News{
    width: 70%;
    margin: auto;
    padding-bottom: 10px;
    background-color: #ffffff;
}

#News h2{
    background-color: #ffffff;
    color: #000000;
    font-size: var(--fz-2xl);
    padding: 10px 20px;
    padding-top: 0;
    display: block;
    justify-content: center;
}

.news-list{
    list-style: none;
    padding: 0;
    padding-left: 75px;
    margin: 0;
}

.news-item{
    padding: 5px 0;
    border-bottom: solid 1px #d9d9d9;
}

.news-link{
    display: block;
    text-decoration: none;
    color: #000000;
    padding: 10px 0;
}
.date{
    text-align: right;
}
.row{
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 10px;
}

.row:last-child{
    margin-bottom: 0;
}
.news-link:hover{
    background-color: #f5f5f5;
}

.date{
    width: 140px;
}

.date.empty{
    visibility: hidden;
}

.label{
    min-width: 80px;
    text-align: center;
    padding: 4px 10px;
    color: #ffffff;
}

.jyuyou{
    background-color: #ff0000;
}
.oshirase{
    background-color: #015e01;
}
.event{
    background-color: #e242ba;
}
.buin{
    background-color: #0077ff;
}
.text{
    flex: 1;
}

/*ーーーーーーーーーーーーーーー
トップへ戻るの設定
ーーーーーーーーーーーーーーー*/
.pagetop{
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: #ffffff;
    border: solid 2px #005eae;
    box-shadow: 2px 2px #005eae;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop_yajirushi{
    height: 10px;
    width: 10px;
    border-top: solid 3px #005eae;
    border-right: solid 3px #005eae;
    transform: translateY(20%) rotate(-45deg); /*下に20%下げる。右に45度回転*/
}



/*ーーーーーーーーーーーーーーー
キーフレームの設定
ーーーーーーーーーーーーーーー*/
/*
☆ゼロから～の設定
*/
@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

/*ーーーーーーーーーーーーーーー
部活概要/活動実績/スケジュール/Q&Aの共通設定
ーーーーーーーーーーーーーーー*/
.btn{
    margin-top: 30px;
    display: inline-block;
    padding: 10px 30px;
    border: solid 1px #005eae;
    text-decoration: none;
    color: #000000;
    text-align: center;
}

.btn:hover{
    background-color: #005eae;
    color: #ffffff;
}

.sectionimg img{
    bottom: -40px;
    width: 70vw;
    height: auto;
    object-fit: cover;
    display: block;
    position: relative ;
}

.gaiyou h2,.schedule h2,.jisseki h2,.qa h2{
    font-size: var(--fz-2xl);
}

/*ーーーーーーーーーーーーーーー
部活概要/スケジュールの設定
ーーーーーーーーーーーーーーー*/
.gaiyou,.schedule{
    position: relative;
    padding: 120px 0 200px;
}

.gaiyou::after,.schedule::after{     /*青背景は:after要素でつくる*/
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90%;
    height: 500px;
    background-color: #005eae;
    z-index: 0;
}

.rightbg{
    position: relative;
    max-width: 1000px;
    width: 90%;
    margin: 0;
    right: -350px;
    bottom: -50px;
    z-index: 1;
}

.rightbgwhite{
    position: absolute;
    right: 600px;
    bottom: -80px;
    transform: none;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 80px;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;

}

.rightbgwhite h2{
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.rightbgwhite h2::after{
    content: "";
    display: block;
    width: 300px ;
    height:3px;
    background: #005eae;
    margin: 10px auto;
}

/*ーーーーーーーーーーーーーーー
活動実績/Q&Aの設定
ーーーーーーーーーーーーーーー*/
.jisseki,.qa{
    width: 1280px;
    margin: 0 auto;
    position: relative;
    padding: 120px 0 200px;
}

.jisseki::after,.qa::after{     /*青背景は:after要素でつくる*/
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 500px;
    background-color: #005eae;
    z-index: 0;
}

.leftbg{
    position: relative;
    max-width: 1000px;
    width: 90%;
    margin: 0;
    left: 5%;
    bottom: -50px;
    z-index: 1;
}

.leftbgwhite{
    position: absolute;
    right: 5%;
    bottom: -80px;
    max-width: 500px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 80px;
    width: 90%;
}

.leftbgwhite h2{
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.leftbgwhite h2::after{
    content: "";
    display: block;
    width:300px ;
    height:3px;
    background: #005eae;
    margin: 10px auto;
}

/*ーーーーーーーーーーーーーーー
アクセスの設定
ーーーーーーーーーーーーーーー*/
.access{
    width: 70%;
    margin: auto;
    margin-top: 50px;
    padding-bottom: 10px;
    background-color: #ffffff;
}

.access h2{
    background-color: #ffffff;
    color: #000000;
    font-size: var(--fz-2xl);
    padding: 10px 20px;
    padding-top: 0;
    display: block;
    justify-content: center;
}
.access img{
    width: 100%;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
☆部活概要ページ☆
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*ーーーーーーーーーーーーーーー
共通ラベルの設定
ーーーーーーーーーーーーーーー*/
span.bold{
    font-weight: 800;
    background: linear-gradient(transparent 50%, #ffff00 50%);
    padding: 0 10px;
    font-size: 1.2em;
}

/*ーーーーーーーーーーーーーーー
aboutの設定
ーーーーーーーーーーーーーーー*/
#h_about{
    background-image: url("../img/about.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 50px;
    padding-bottom: 80px;
    color: #ffffff;
    text-shadow: rgba(0,0,0,0.43) 1px 3px 3px;
    box-sizing: border-box;
}

.aboutbg{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: rgba(0,94,174,0.86);
    width: 500px;
    height: 200px;
    margin: auto;
}

.aboutbg h2{
    font-size: var(--fz-4xl);
    font-weight: 800;
    margin: 0;
}

.aboutbg p{
    font-size: var(--fx-3xl);
    margin: 10px 0 0 0;;
}

/*ーーーーーーーーーーーーーーー
midashiの設定
ーーーーーーーーーーーーーーー*/
.midashi{
    margin-top: 100px;
}
.midashi h2{
 width: 1000px;
 text-align: center;
 line-height: var(--lh-heading);
 font-size: var(--fz-2xl);
 font-weight: 800;
 margin: 0 auto;
}

.midashi p{
    width: 1000px;
    text-align: center;
    font-size: var(--fz-base);
    line-height: var(--lh-base);
    margin: 0 auto;
}
/*ーーーーーーーーーーーーーーー
h2共通の設定
ーーーーーーーーーーーーーーー*/
.h2{
    font-weight: 800;
    text-align: center;
    clear: both;
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
}

.h2 h2{
    font-size: 2em;
}

.h2 .num{
    color: #005eae;
    font-size: 2em;
}

/*ーーーーーーーーーーーーーーー
gaiyouの設定
ーーーーーーーーーーーーーーー*/
.about_gaiyou{
    margin: var(--space-xl) auto 0 auto;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
}

.about_gaiyou img{
    float: right;
    width: 400px;
    height: auto;
    margin-left: 20px;
}

.about_gaiyou p{
    font-size: 1.2em;
    line-height: 1.2em;
}

/*ーーーーーーーーーーーーーーー
activeの設定
ーーーーーーーーーーーーーーー*/
.about_active{
    margin: var(--space-xl) auto 0 auto;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
}
.about_1y,.about_2y,.about_3y{
    overflow: hidden;
    margin-bottom: 50px;
}

.about_1y img,.about_3y img{
    float: right;
    width: 300px;
    height: auto;
}

.about_2y img{
    float: left;
    width: 300px;
    height: auto;
    margin-right: 20px;
}

.about_active h3{
    clear: both;
    display: inline-block;
    background-color: #005eae;
    color: #ffffff;
    font-size: 2em;
    margin: 20px 0;
    padding: 10px 40px;
}

.about_active p{
    font-size: 1.2em;
    line-height: 1.2;
}

/*ーーーーーーーーーーーーーーー
活動時間の設定
ーーーーーーーーーーーーーーー*/
.about_time {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.time_row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.time_label {
    width: 200px;
    text-align: center;
    font-size: 1.8em;
    font-weight: 800;
}

.time_desc {
    flex: 1;
    max-width: 800px;
    padding-left: 40px;
    border-left: solid 4px #005eae;
}

.time_main {
    font-size: 2.0em;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.time_main span {
    font-size: var(--fx-sm);
}

.time_note {
    font-size: 1.2em;
    margin: 10px 0 0 0;
}

/*ーーーーーーーーーーーーーーー
資格の設定
ーーーーーーーーーーーーーーー*/
.about_shikaku{
    margin: var(--space-xl) auto 0 auto;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
}

.card-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; 
}

.card {
    width: calc((100% - 40px) / 3); 
    background-color: #ffffff;
    border: solid 1px #d9d9d9;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.card h3 {
    font-size: 1.1em;
    font-weight: 800;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: solid 5px #005eae;
    line-height: 1.4;
}

.card p {
    font-size: 0.9em;
    line-height: 1.5;
}

.more-text {
    display: block;
    width: 100%;
    text-align: right;
    margin-top: 10px;
    font-size: 1em;
}

/*ーーーーーーーーーーーーーーー
大会の設定
ーーーーーーーーーーーーーーー*/
.about_taikai{
    margin: var(--space-xl) auto 0 auto;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
}

.comp-wrap {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.comp-col {
    width: 48%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.comp-col li {
    font-size: 1.2em;
    font-weight: 800;
    padding: 15px 0;
    border-bottom: solid 1px #cccccc;
    position: relative;
    padding-left: 1.5em;
}

.comp-col li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); 
    font-size: 0.8em;
    color: #000000;
}

/*ーーーーーーーーーーーーーーー
顧問の設定
ーーーーーーーーーーーーーーー*/
.hiroshi{
    margin: var(--space-xl) auto 0 auto;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
}

.hiroshi img{
    float: left;
    width: 200px;
    height: auto;
    margin-right: 40px;
    margin-bottom: 20px;
}

.hiroshi p{
    font-size: 1.2em;
}

.rubi{
    margin-bottom: 20px;
}

.hiroshi h3,.rubi{
    font-size: 1.5em;
    font-weight: 800;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
☆活動実績のページ☆
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*ーーーーーーーーーーーーーーー
aboutの設定
ーーーーーーーーーーーーーーー*/
#h_active{
    background-image: url("../img/jisseki.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    margin-top: 90px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 50px;
    padding-bottom: 80px;
    color: #ffffff;
    text-shadow: rgba(0,0,0,0.43) 1px 3px 3px;
    box-sizing: border-box;
}

/*ーーーーーーーーーーーーーーー
大会の設定（共通）
ーーーーーーーーーーーーーーー*/
.active_r{
    margin: 0 auto;
    width: 80%;
    max-width: 1100px;
}

.active_r h3{
    margin-top: 50px;
    padding: 10px;
    background-color: #005eae;
    color: #ffffff;
    text-align: center;
    font-size: 1.5em;
}

.active_r table{
    width: 100%;
    margin: 0 auto;
    border: none;
    border-collapse: collapse;
}

.active_r th, .active_r td{
    padding: 8px;
    font-size: 1.5em;
    text-align: center;
    font-weight: 700;
}

.active_r tbody tr:nth-child(odd){
    background-color: #ffffff;
}

.active_r tbody tr:nth-child(even){
    background-color:#d9d9d9 ;
}

/*ーーーーーーーーーーーーーーー
資格の設定
ーーーーーーーーーーーーーーー*/
.active_shikaku{
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
}

.active_shikaku img{
    display: block;
    width: 80%;
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
}

.shikaku{
    margin-bottom: 50px;
}

.shikaku_header{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 0;
}

.shikaku_header h3{
    background-color: #d9d9d9;
    color: #000000;
    font-size: 1.5em;
    font-weight: 800;
    padding: 8px 30px;
    margin: 0;
}

.shikaku_header p{
    margin: 0 0 5px auto;
    font-size: 0.9em;
    color: #000000;
}

.shikaku_body{
    border: solid 1px #d9d9d9;
    border-top: none;
    padding: 30px;
    background-color: #ffffff;
}

.shikaku_body ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.shikaku_body li{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.5;
}

.shikaku_body li::before{
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: #005eae;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.shikaku_body li span.shikaku_name{
    width: 500px;
    max-width: 80%;
}

.shikaku_body li span.shikaku_level{
    margin-left: 20px;
    width: 40px;
    text-align: right;
}

/*ーーーーーーーーーーーーーーー
その他の設定
ーーーーーーーーーーーーーーー*/
.active_sonota{
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
}

.active_section{
    width: 100%;
    margin: 50px auto;
    clear: both;
}

.active_section img{
    float: right;
    width: 100%;
    max-width: 500px;
    margin-left: 30px;
    margin-bottom: 50px;
}

.active_section h3{
    font-size: 1.5em;
    font-weight: 800;
    padding: 10px;
    border-left: solid 20px #005eae;
    margin-bottom: 20px;
}

.active_section p{
    font-size: 1.2em;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
☆スケジュールのページ☆
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*ーーーーーーーーーーーーーーー
aboutの設定
ーーーーーーーーーーーーーーー*/
#h_schedule{
    background-image: url("../img/schedule.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    margin-top: 90px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 50px;
    padding-bottom: 80px;
    color: #ffffff;
    text-shadow: rgba(0,0,0,0.43) 1px 3px 3px;
    box-sizing: border-box;
}

/*ーーーーーーーーーーーーーーー
今月の予定表
ーーーーーーーーーーーーーーー*/
.month_img{
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}

.month_img img{
    width: 100%;
    margin: 0 auto;
}

.month_img p{
    text-align: right;
    font-size: 1.2em;
    color: #000000;
}

.month_img a{
    font-size: 1.2em;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
}

/*ーーーーーーーーーーーーーーー
年間の予定表
ーーーーーーーーーーーーーーー*/
.year_table{
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}

.year_table table{
    width: 100%;
    margin: 0 auto;
    border: solid 3px #d9d9d9;
    border-collapse: collapse;
}

.year_table th{
    padding: 10px;
    font-size: 1.2em;
    text-align: center;
    font-weight: 700;
    background-color: #005eae;
    color: #ffffff;
    border: solid 3px #d9d9d9;
    border-collapse: collapse;
    width: 100px;
    height: 40px;
}

.year_table td{
    padding: 10px;
    padding-left: 20px;
    font-size: 1.2em;
    border: solid 3px #d9d9d9;
    border-collapse: collapse;
    background-color: #ffffff;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
☆Ｑ＆Ａのページ☆
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*ーーーーーーーーーーーーーーー
aboutの設定
ーーーーーーーーーーーーーーー*/
#h_qa{
    background-image: url("../img/qa.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    margin-top: 90px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 50px;
    padding-bottom: 80px;
    color: #ffffff;
    text-shadow: rgba(0,0,0,0.43) 1px 3px 3px;
    box-sizing: border-box;
}

/*ーーーーーーーーーーーーーーー
Q&Aの設定
ーーーーーーーーーーーーーーー*/
.qa_section{
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
}

.qa_section table{
    border-collapse: separate;
    width: 100%;
    border-spacing: 0;
    border: none;
    flex-direction: column;
    background-color: transparent;
}

.qa_section tr{
    display: block;
    margin-bottom: 40px;
    border: solid 2px #005eae;
    background-color: #ffffff;
}

.qa_section th{
    display: flex;
    align-items: baseline;
    background-color: #005eae;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.qa_section td{
    display: block; 
    position: relative;
    padding: 20px 20px 20px 50px;
    font-size: 1.2rem;
    text-align: left;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
}

.qa_section th{
    font-size: 1.5em;
    background-color: #005eae;
    color: #ffffff;
    padding: 8px;
    font-weight: 700;
}

.qa_section th::before{
    content: "Q";
    margin-right: 15px;
    font-size: 1.4em;
    flex-shrink: 0;
}

.qa_section td::before{
    content: "A";
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 1.4em;
    color: #005eae;
    font-weight: 800;
    line-height: 1;
}

.qa_section td a {
    display: inline; 
    white-space: nowrap;
    text-decoration: none;
    color: #000000;
}

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
☆お問い合わせのページ☆
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*ーーーーーーーーーーーーーーー
aboutの設定
ーーーーーーーーーーーーーーー*/
#h_contact  {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    max-height: 1080px;
    margin-top: 90px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 50px;
    padding-bottom: 80px;
    color: #ffffff;
    text-shadow: rgba(0,0,0,0.43) 1px 3px 3px;
    box-sizing: border-box;
}
/*ーーーーーーーーーーーーーーー
お問い合わせ方法の設定
ーーーーーーーーーーーーーーー*/
.contact_about{
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.form_notice{
    border: solid 1px #005eae;
    padding: 20px;
    text-align: center;
}

.form_notice p{
    font-size: 1.5em;
    line-height: 1.2em;
    color: #000000;
}

.form_type{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 50px 0 20px 0;
}

.form_type a{
    text-decoration: none;
    color: #000000;
    font-weight: 800;
    font-size: 1.2em;
}

.form_type a::before{
    content: "●";
}

/*ーーーーーーーーーーーーーーー
注意事項の設定
ーーーーーーーーーーーーーーー*/
.attention,.attention_bottom{
    font-weight: 800;
    background-color: #ff0000;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.attention p,.attention_bottom p{
    font-size: 2em;
}
.attention_bottom {
    margin-top: 50px;
}
/*ーーーーーーーーーーーーーーー
メールの設定
ーーーーーーーーーーーーーーー*/
.contact_mail{
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.contact_mail h3{
    display: inline;
    padding: 10px;
    font-size: 2em;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    background-color: #005eae;
}
/*ーーーーーーーーーーーーーーー
フォームの設定
ーーーーーーーーーーーーーーー*/
.form{
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}

.form_row{
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form_row label{
    width: 180px;
    font-weight: 800;
    padding-top: 10px;
}

.form_row input,.form_row textarea{
    flex: 1;
    background-color: #d9d9d9;
    border: none;
    padding: 10px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.form_row input{
    height: 40px;
}
.form_row textarea{
    height: 200px;
    resize: none;
}
.submit_area{
    text-align: center;
    margin-top: 30px;
}

.submit_btn{
    background-color: #005eae;
    color: #ffffff;
    border: none;
    font-size: 1.2em;
    font-weight: 800;
    padding: 10px 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit_btn:hover{
    opacity: 0.8;
}

.kanryou{
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    border: solid 2px #005eae;
    padding: 10px;
    margin-top: 30px;
}

.kanryou p{
    text-align: center;
    font-size: 1.2em;
}

#thanks_message{
    display: none;
    text-align: center;
    padding: 50px 0;
}

#thanks_message h3{
    color: #000000;
    font-size: 2em;
    font-weight: 800;
}

#thanks_message p{
    font-size: 1.2em;
    margin-top: 20px;
}
