@charset "UTF-8";
/*オリジナル　CSS
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*確認用　後で消す*/

html {
    scroll-behavior: smooth;
     scroll-padding-top: 100px;
   
}

body {
    background-color: white;
    line-height: 1.8;
    font-size: 16px;
    font-family: "arial", "Hiraguno Sans", "Meiryo", sans-serif;
    color: #333333;
    margin: 0;
}

/*div {
    width: 1040px;
    margin: 0px auto 50px;

}*/



/*ヘッダー　ここから*/

/*ナビ*/
header nav ul {
    display: flex;
    justify-content: flex-end;
    width: auto;
    background-color: #ff0000;
    padding: 40px 0px 0px;
    margin: 0px auto;

}

header nav ul li a {
    margin: 0px 20px;
    font-size: 36px;
    font-weight: bold;
    color: white;
}

/* 阿部先生にきく */
header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

}

h1 {
    background-color: #fff7d7;
    text-align: left;
    width: auto;
    margin: 0;
    padding: 20px;


}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}


/*ナビ　ここまで*/

/*　ヘッダーここまで*/




/*  バナーデザイン */

main {
    margin-top: 106px;
    padding: auto;
}

p{
    margin-top: 50px;
}

.bannerdesigh{
    margin-top: 106px;
}

.subflex {
    display: flex;
    width: 1040px;
    margin: 120px auto;


}

.subflexreverse {
    display: flex;
    width: 1040px;
    margin: 120px auto;
 
    flex-direction: row-reverse;
    
}

.subdescripution {
    width: 520px;
    margin: auto;
}

.sportsdescripution {
    width: 520px;
    margin: auto;
}

.groupdescripution {
    width: 520px;
    margin: auto;
}


  

.flexbox{
    display: flex;
    flex-direction: column;
}


h2{
    color: #00AA7B;
}

.sublogotitle{
    color: #096FCA;
}


.subcardtitle{
    color:  red;
}

.subgrouptitle{
    color: red;
}

.otanicitywebsite{
     
    color: red;
    font-weight: 700;
    text-decoration: underline;
 

}


.otanicitywebsite:hover{
    color: #14AF65;
    text-decoration: underline double;
}

#modoru {
    text-align: center;

}


#modoru img {
    text-align: right;
}

.modoru img:hover {
    margin-right: 60px;
    transition-property: margin-right;
    transition-duration: 500ms;
    transition-timing-function: ease-out;
    transition-delay: 0ms;

}

.totop {
    text-align: right;
    margin-right: 100px;
    position: fixed;
    top: 700px;
    right: 0;
}

.innerWrap {
    margin-bottom: 20px;
}


input[type="submit"]:hover {
    background-color: blue;
    color: #ffffff;
    margin-left: 20px;
    transition-property: background-color, margin-left;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
    transition-delay: 0ms;
}

span {
    margin-right: 20px;
}

/*　フッターここから*/

footer {
    background-color: red;
    color: white;
    padding: 30px 10px 30px;
    text-align: center;
}

small {
    font-size: 14px;
    background-color: red;
}

footer div h2 {
    margin: 0;
}


/*フッターここまで*/