*{
    padding: 0;
    margin: 0;
}
@font-face {
    font-family: 'Klee'; /* フォント名 */
    /* フォーマットごとにパスを指定 */
    src: url('fonts/KleeOne-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat'; /* フォント名 */
    /* フォーマットごとにパスを指定 */
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat-thin'; /* フォント名 */
    /* フォーマットごとにパスを指定 */
    src: url('fonts/Montserrat-Thin.ttf') format('truetype');
}

:root {
    --base: #323232;
    --main: #e6e6e6;
    --accent:#ba0000;
}
/* ↓左右英語見出し */
.midashi-about{
    position: relative;
    height: auto;
}
.midashi-about h2{
    display: inline-block;
    transform-origin: center right;
    transform: rotate(90deg);
    font-family: "Montserrat-thin", sans-serif;
    font-size: 64px;
    letter-spacing: 0.2em;
    color: var(--accent);
    position: absolute;
    right: 5%;
    margin-top:400px;
}
.midashi-about hr{
    transform-origin: center right;
    transform: rotate(-90deg);
    width: 380px;
    position: absolute;
    right: 5.5%;
    margin-top:450px;
}

.midashi-points{
    position: relative;
    height: auto;
}
.midashi-points h2{
    display: inline-block;
    transform-origin: left top;
    transform: rotate(90deg);
    font-family: "Montserrat-thin", sans-serif;
    font-size: 64px;
    letter-spacing: 0.2em;
    color: var(--accent);
    position: absolute;
    left: 8%;
    margin-top:160px;
}
.midashi-points hr{
    transform-origin: left top;
    transform: rotate(90deg);
    width: 440px;
    position: absolute;
    left: 5%;
    margin-top:450px;
}

.midashi-maps{
    position: relative;
    height: auto;
}
.midashi-maps h2{
    display: inline-block;
    transform-origin: center right;
    transform: rotate(90deg);
    font-family: "Montserrat-thin", sans-serif;
    font-size: 64px;
    letter-spacing: 0.2em;
    color: var(--accent);
    position: absolute;
    right: 5%;
    margin-top:400px;
}
.midashi-maps hr{
    transform-origin: center right;
    transform: rotate(-90deg);
    width: 715px;
    position: absolute;
    right: 5.5%;
    margin-top:450px;
}

.midashi-ranking{
    position: relative;
    height: auto;
}
.midashi-ranking h2{
    display: inline-block;
    transform-origin: left top;
    transform: rotate(90deg);
    font-family: "Montserrat-thin", sans-serif;
    font-size: 64px;
    letter-spacing: 0.2em;
    color: var(--accent);
    position: absolute;
    left: 8%;
    margin-top:160px;
}
.midashi-ranking hr{
    transform-origin: left top;
    transform: rotate(90deg);
    width: 650px;
    position: absolute;
    left: 5%;
    margin-top:520px;
}
/* ↑左右英語見出しここまで */

.bg-swicher{
    /* object-fit: cover;　　←imgタグのみ */
    background-size: cover !important; /* ←bgswitcherとbackgroundのとき使える */
    background-repeat: no-repeat !important; /* 外部の使うときは、importantで打ち消ししないと、元設定が対応されちゃう */
}

nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    /* absoluteは絶対値。他は常にauto。親要素の上下左右から指定できる。親要素の各辺が原点 */
    right: 50px;
    top: 30px;
    z-index: 2;
    filter: invert(100%);
    mix-blend-mode: difference;
}
nav ul{
    display: flex;
    margin: 0 0 0 auto;
}
nav li{
    list-style: none;
    margin-left: 30px;
}
nav a{
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.03em;
    transition: 0.2s;
    color: #000;
}
nav a:hover{
    /* color: #ba0000; */
    border-bottom: 2px solid #323232;
    transition: 0.2s;
}
header{
    height: 100vh;
}
header .bg-swicher{
    margin: auto auto;
    margin-top: 64px;
    text-align: center;
    width: 90%;
    height: 85%;
    background-color:rgba(0,0,0,0.3) !important;
}
.header-main{
    text-align: center;
    padding-top: 12vh;
}
.header-main img{
    text-align: center;
    /* display: block; 
    margin: 0 auto;  */
}
.header-main h2{
    font-family: "Klee", sans-serif;
    font-size: 50px;
    text-align: center;
    color: white;
}
#About{
    background-color: var(--base);
    padding: 100px 0px;
    display: flex;
    justify-content: center;
}
.about-content{
    margin-left: 90px;
    width: 500px;
    height: 440px;
    display: block;
}
.about-content h3{
    margin-top: 15px;
    color: #e6e6e6;
    font-family: "Klee", sans-serif; 
    font-size: 50px;
}
.about-content p{
    margin-top: 60px;
    color: #e6e6e6;
    font-family: "Klee", sans-serif; 
    font-size: 20px;
}
/* ここに左見出し */
#Points{
    padding: 0;
    background: url(images/white_seigaiha.png);
    background-size: 100vw;
    /* background-repeat: no-repeat; */
}
#Points h3{
    text-align: center;
    margin-top: 60px;
    padding-bottom: 60px;
    /* color: #e6e6e6; */
    font-family: "Klee", sans-serif; 
    font-size: 50px;
}
.points-content{
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
.points-block{
    margin: 0 60px;
    width: 280px;
    height: 400px;
    background-color: rgba(50,50,50,0.9);
    box-shadow: 4px 4px 0px 1px rgba(186,0,0,0.5);
}

/* ホバー */
/* 余裕があれば、セレクタを3つ分けて、特定してからtransition-originを使って自然なアニメーション入れる */
.points-block:hover{
    text-align: left;
    display: inline-block;
    width: 1080px;
    height: 400px;
    border:none;
    color:#e6e6e6;
    box-shadow: none;
}
/* ホバーされた2つ前が消える */
.points-block:has(+.points-block + .points-block:hover){
    display:none; 
}
/* ホバーされた1つ前が消える */
.points-block:has(+ .points-block:hover){
    display:none; 
}
/* ホバーされた後のp2が全部消える */
.points-block:hover ~ .points-block{
    display:none;
}
.points-block:hover p{
    display: block;
    width: 680px;
    margin: auto 0;
}
.points-block:hover .points-block-box{
    justify-content: space-around;
}
.points-block:hover img{
    margin: 15px 0px;
    margin-right: 20px;
}
/* ホバー終了 */


.points-midashi{
    padding: 30px;
}
.points-midashi h4{
    font-family: "Klee", sans-serif; 
    font-size: 35px;
    color: #e6e6e6;
    text-align: center;
    /* これ順番逆にするやつ */
    /* 高さも合わせる */
}
.points-midashi h4::before{
    /* 左上の線 */
    /* content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5.5rem;
    height: 5.5rem;
    border-top: 2px solid #ff7364;
    border-left: 2px solid #ff7364;
    margin: 0; */
}
.points-midashi h4::after{
    /* 右下の線 */
    /* content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 5.5rem;
    height: 5.5rem;
    border-bottom: 2px solid #ff7364;
    border-right: 2px solid #ff7364;
    margin: 0; */
}

.points-block-box{
    display: flex;
}
.points-block-box img{
    margin: 15px auto;
    border-radius: 100%;
}
.points-block-box p{
    display: none;
    font-family: "Klee", sans-serif; 
    font-size: 25px;
    color: #e6e6e6;
}
.points-block-box h4{
    display: none;
    font-family: "Klee", sans-serif; 
    font-size: 35px;
    color: #e6e6e6;
    text-align: center;
}
.points-line-hidari, .points-line-migi{
    display: none;
}
/* ここに右見出し */
#Maps{
    background-color: #323232;
    text-align: center;
    padding: 60px 0px;
}
#Maps h3{
    text-align: center;
    padding-bottom: 40px;
    color: #e6e6e6;
    font-family: "Klee", sans-serif; 
    font-size: 50px;
}
#Maps iframe{
    filter: grayscale(1);
    vertical-align: bottom;
    transition: all 0.3s;
    /* margin-bottom: 30px; */
}
#Maps iframe:hover{
    filter: none;
}
#Ranking{
    padding: 0px 0px 60px;
    background: url(images/white_higaki.png);
    background-size: 100vw;
}
#Ranking h3{
    text-align: center;
    padding-bottom: 60px;
    font-family: "Klee", sans-serif; 
    font-size: 50px;
    color: var(--base);
}
.ranking-title{
    text-align: left;
    display: flex;
    width:70%;
    margin: 0 auto 5px;
}
.ranking-title h4{
    font-family: "Klee", sans-serif; 
    font-weight: lighter;
    font-size: 30px;
    color: var(--base);
}
.ranking-title h5{
    font-family: "Klee", sans-serif; 
    font-size: 16px;
    font-weight: bold;
    line-height: 57px;
    margin-left: 14px;
    color: #555555;
}
.ranking-info{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto 50px;
}
.ranking-info img{
    box-shadow: 2px 5px 4px rgba(0,0,0,0.25);
    border: 1px solid #000;
}
.ranking-content{
    margin-left: 30px;
    position:relative;
}
.ranking-content p{
    font-family: "Klee", sans-serif; 
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 45px;
    width: 460px;
    font-weight: bold;
    color: var(--base);
}
.ranking-content a{
    font-family: "Klee", sans-serif; 
    text-align: right;
    padding: 12px 11px;
    text-decoration: none;
    background-color: #323232;
    color: #e6e6e6;
    box-shadow: 2px 2px 1px #ba0000;
    transition: 0.2s;
    position: absolute;
    bottom: 0;
    left: 25%;
}
.ranking-content a:hover{
    text-decoration: none;
    background-color: #ba0000;
    color: #e6e6e6;
    box-shadow: none;
}
.ranking-detail{
    display: flex;
    justify-content: center;
}
.detail-img img{
    display: block;
    border: none;
    box-shadow: none;
    margin-top: 4px;
}
.detail-moji{
    width: 134px;
    margin-left: 14px;
}
.detail-moji h6{
    font-family: "Klee", sans-serif; 
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--base);
}
#under{
    height: 50vh;
    position: relative;
}
#under .bg-swicher{
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.4) !important;
    background-position: bottom;
    /* アルファ値と、その下の色の指定って意味 */
}
#under .bg-swicher::before{
    content: "";
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top:0;
    left:0;
    display: block;
    width: 100%;
    height: 100%;
}
#under h3{
    text-align: center;
    font-size: 64px;
    font-family: "Klee", sans-serif; 
    color: #e6e6e6;
    position:absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#under br{
    display: none;
}
footer{
    height: 50vh;
    background-color: #ba0000;
    display: flex;
    justify-content: flex-end;
}
.footer-content{
    margin-top: 5%;
    text-align: center;
}
.footer-nav{
    width: 10%;
    margin-top: 5%;
    margin-left: 25%;
    margin-right: 5%;
    text-align: right;
}
.footer-nav a{
    display: inline-block;
    font-family: "Montserrat", sans-serif; 
    font-size: 30px;
    color: white;
    text-align: right;
    text-decoration: none;
    margin-top: 20px;
    border-bottom: 2px solid rgba(186,0,0,0);
    transition: 0.2s;
}
.footer-nav a:hover{
    border-bottom: 2px solid #e6e6e6;
    transition: 0.5s;
}
footer p{
    /* margin-top: 30%; */
    font-family: "Montserrat", sans-serif; 
    font-size: 20px;
    color: white;
    text-align: center;;
}

@media all and (max-width: 500px){
br{
    display: none;
}

nav{
    display: none;
}

.midashi-about, .midashi-about h2, .midashi-about hr, .midashi-points, .midashi-points h2, .midashi-points hr, .midashi-maps, .midashi-maps h2, .midashi-maps hr, .midashi-ranking, .midashi-ranking h2, .midashi-ranking hr{
    display: none;
}

header .bg-swicher{
    margin: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
}
.header-main img{
    width: 200px;
    height: 200px;
    margin-top: 50%;
}
.header-main h2{
    margin: 0 auto;
    font-weight: lighter;
    font-size: 30px;
    width: 300px;
}
#About{
    flex-wrap: wrap;
    padding: 60px 0px;
}
#About img{
    order:2;
    width: 300px;
    height: auto;
}
#About .about-content{
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    order:1;
}
.about-content h3{
    margin-top: 0px;
    text-align: center;
    font-size: 35px;
}
.about-content p{
    margin: 40px 12%;
    line-height: 150%;
    font-size: 14px;
    font-weight: lighter;
    letter-spacing: 0.05em;
}
#Points{
    background-size: 180vw;
    /* padding: 30px; */
}
#Points h3{
    margin-top: 0px;
    padding-bottom: 30px;
    text-align: center;
    font-size: 35px;
}
.points-content{
    flex-wrap: wrap;
}
.points-block{
    height: auto;
    margin: 20px;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction:column-reverse;
}
.points-midashi{
    display: none;
}
.points-block-box{
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
}
.points-block-box img {
    order:1;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
}
.points-block-box p{
    order:3;
    display: block;
    margin: 40px 12%;
    line-height: 150%;
    font-size: 13px;
    font-weight: lighter;
    letter-spacing: 0.05em;
}
.points-block-box h4{
    order: 2;
    display: block;
    width: 100%;
    
}
.points-block:hover{
    pointer-events: none;
}
.points-block:active{
    pointer-events: none;
}
#Maps h3{
    font-size: 35px;
}
#Maps iframe{
    filter: none;
    width: 99%;
    height: 250px;
}

#Ranking h3{
    margin: 0px 10%;
    font-size: 30px;
    padding-bottom: 40px;
    width: 80%;
}
.ranking-title{
    width: 80%;
    display: block;
}
.ranking-title h4{
    font-size: 28px;
}
.ranking-title h5{
    line-height: 32px;
    margin-left: 10%;
}
.ranking-info{
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    position: relative;
    margin-bottom: 70px;
}
.ranking-info img{
    margin: 0;
    padding: 0;
    width: 90%;
    height: auto;
}
.ranking-info p{
    width: 90%;
}
.ranking-content{
    text-align: center;
    margin: 0px;
    margin-top: 15px;
}
.ranking-content p{
    font-size: 14px;
    text-align: left;
    margin: 0 auto 160px;
}
.ranking-content a{
    bottom: -15%;
}
.ranking-detail{
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.ranking-detail img{
    width: 28.5px;
}
.detail-moji h6{
    font-size: 15px;
    margin-bottom: 7px;
}
#under{
    height: 50vh;
}
#under .bg-swicher{
    background-size: cover !important;
    background-position: center !important;
}
#under h3{
    font-weight: lighter;
    text-align: left;
    width: 80%;
    margin: 0 auto;
    /* font-size: 44px; */
    font-size: calc(4vw + 1.5rem);
}
#under br{
    display: block;
}
.footer-content{
    height: 50vh;
    margin-top: 0px;
    /* padding-top: 50px;*/
    padding-bottom: 10px; 
    position: relative;
}
.footer-content p{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    /* アンカーポイントを真ん中にしてくれる */
}
.footer-content img{
    margin-top: 5%;
    width: 200px;
}
.footer-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100px;
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    text-align: center;
}
.footer-nav a{
    font-size: 20px;
    margin-top: 3px;
}
footer{
    height: auto;
    position: relative;
    display: block;
}
}