@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300&display=swap');
:root{
/*basic colors
-----------------------------------*/
    /*フッタ用*/
    --pastelPink:#fdd3df;
    
    /*全体用*/
    --base-gray-rgb:248,248,248;
    --base-gray-hex:#f8f8f8;

    --darker-gray-hex:#e8e8e8;

    --accent-orange-rgb:245,173,39;
    --accent-orange-hex:#f5ad27;

    --grayishBlackhex:#333333;
    --grayishBlack:51,51,51;

}
/*common part
-----------------------------------*/
*{
    margin:0;
    padding:0;
    box-sizing: border-box;    
    font-family: 'Sawarabi Mincho', serif;
}
header{
    position: sticky;
    top: 0;
    z-index: 9997;
    box-shadow: 0 32px 30px -30px rgba(0,0,0, 0.25);
}
h1.title{
    font-size: 50px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    margin-bottom: 70px;
}
nav{
    height: 12vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background-color:var(--base-gray-hex);
    /*ヘッダ内の項目左右余白調整
    　marginにするとヘッダそのものが短くなる*/
    padding: 0 2%;
}
body{
    background-color: var(--base-gray-hex);
}
/*ロード画面時スクロール制御用*/
.fixed-screen{
    overflow: hidden;

}
@media only screen and (max-width:2000px) {
    .contents li span {
      display: block;
    }
    .contents li span.new {
        display: inline;
  }
  h1.title{
    margin-bottom: 30px;
  }
  .wrapper{
    padding-bottom: 30px!important;
  }
  .logo{
    height: 2.3rem!important;
    }
}
.wrapper{
    padding-bottom: 60px;
    max-width:900px;
    width: 90%;
    margin: auto;
}
a {
    -webkit-tap-highlight-color: transparent; /* 強調をなくす */
}
/*loading
-----------------------------------*/
#load-image{
    width: 35%;
}
@media(max-width:768px){
    #load-image{
        width: 80%;
        }
}
#loading {
    background-color: var(--base-gray-hex);
    /*position:fixed;と*inset:0;で上下左右いっぱいに広げる*/
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}
#loading-screen {
    background-color: var(--accent-orange-hex);
    position: fixed;
    inset: 0;
    z-index: 9998;
    /*最初は画面下にどけておく*/
    translate: 0 100vh; 
}
/*header
-----------------------------------*/
header a{
    text-decoration: none;
    color: #2e363e;
}
header a:hover{
    color:#b4b4b4;
}
.logo{
    height: 3.2rem;
}
#machikolab-logo{
    display: none;
    height: 2.2rem;
}
@media(max-width:768px){
    #machikolab-logo{
        display: inline-block;
        height: 2.2rem;
    }
}
.nav-links{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 50%;
    list-style: none;
    text-transform: uppercase;
    transition: all 0.5s ease-in-out;
}
.nav-links li{
    margin: 10px;
    width: auto;
}
li.dummy{
    display: none;
}
@media(max-width:1024px){
    nav{
        height: 8.5vh;
    }
    li.dummy{
        display: block;
        width: initial;
        width: 60px!important;
        }
}
.burger{
    display: none;
    cursor: pointer;
}
.burger div{
    width: 30px;
    height: 1.5px;
    background-color: var(--grayishBlackhex);
    margin: 5px;
    transition: all 0.5s ease-in-out;
}
.nav-active{
    transform: translateX(0%) !important;
}
@media (max-width:1024px){
    .nav-links{
    width: 55%;
    }
}
@media(max-width:768px){
    body{
        overflow-x:hidden;
        font-size: 90%;
    }
    nav{
        height:7.5vh;
        justify-content: space-between;
        padding: 20px;
        background-color: var(--base-gray-hex);
        backdrop-filter: none;
    }    
    .nav-links{
        position: fixed;/*overflow-x:hiddenを有効にするため*/
        justify-content:start;
        right: 0;
        height:92.5vh;/*100vh-navの高さ*/
        top:7.5vh;/*navの高さ(ヘッダを残す場合)*/
        background-color: rgba(var(--base-gray-rgb), 1);
        flex-direction: column;
        align-items: center;
        padding-top: 6%;
        width:100%;
        transform: translateX(100%);
    }
    .nav-links li{
        margin: inherit;
        margin-bottom: 20px;
        opacity: 0;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        }
    .burger{
        display: block;
    }
    h1.title{
        font-size: 30px
    }
}
@keyframes navLinksFade{
    0%{
        opacity: 0;
        transform: translateX(50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
.toggle .line1{
    transform: rotate(-45deg) translate(-3px,6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform:rotate(405deg) translate(-3px,-6px);
}
.view-all{
    /*ブロック要素にして右寄せにしたかったが、
    文字幅に対して自動で幅が変わらないのでインライン要素とする。*/
    display: inline-block;
    text-decoration: none;
    background-color:var(--base-gray-hex);
    font-weight: 300;
    color: var(--grayishBlackhex);
    margin-top: 80px;
    transition: 0.3s;
    text-transform: uppercase;
    /*border-bottomの起点になるように設定*/
    position: relative;
}
.view-all::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s;
}
.view-all:hover::before {
    width: 100%;
}
.view-all:hover {
    border-bottom: none;
}
/*footer
-----------------------------------*/
footer{
    position: sticky;
    top: 100vh;
    margin-top: 40px;
    text-align:center;
    padding: 23px 0;background-color:var(--accent-orange-hex);
    background-image: linear-gradient(45deg, var(--accent-orange-hex) 9%, #FBDA61 24%,
                                             var(--accent-orange-hex) 66%, #fdd3df 100%);
}
footer p{
    margin-top: 10px;
    color: #fff;
    font-size: 1rem;
}
.official-icons-wrapper{
    margin-top: 0px;
    display: flex;
    justify-content: center;
    height: 22px;
    gap: 10px;
}
.official-icon{
    height: 100%;
    width: auto;
    margin: 0 2px;
}
/*-----------------------------------------------------------------------------
-----------------------------------index.php----------------------------------
------------------------------------------------------------------------------*/
.topimage-pc{
	width: 100%;
	height: 700px;
	padding: 5%;
	font-size: 17px;
	line-height: 1.5;
	letter-spacing: 1.2pt;
	color: #555;
	background-image: url("../images/machiko_home.png");
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}
.topimage-mobile{
    display: none;
}
@media(max-width:820px){
    .topimage-pc{
        display: none;
    }
    .topimage-mobile{
       display: block;
    }
}
/*article
-----------------------------------*/
/*news*/
.title{
    font-size: 2.3rem;
    text-align: left;
    text-transform: uppercase;
    color: #2e363e;
    padding-top: 50px;
}
.contents {
    width:fit-content;
    margin: 0;
}
.contents li{
    list-style: none;
    margin-top: 20px;
}
.new{
    font-size: smaller;
    margin-left: 10px;
    color: #f00;
    animation-name: change-color-new;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
@keyframes change-color-new{
    0%{
        color: #f00;
    }
    50%{
        color: var(--accent-orange-hex);
    }
    100%{
        color: #f00;
    }
}   
/*MUSIC VIDEO*/
.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
    padding-top: 12px;
    text-align: center;
}
.youtube iframe {
    height: 100%;
    width: 100%;
}
@media(max-width:768px){
    .title{
        font-size: 26px;
    }
    #intro{
        height: 290px;
    }
}
/*-----------------------------------------------------------------------------
----------------------------------news.html------------------------------------
------------------------------------------------------------------------------*/
#news-wrapper {
    margin: auto;
    margin-bottom: 30px;
    max-width:900px;
    width: 90%;
}
.news-link {
    text-decoration: none;
    color: inherit;
}

.news-link:hover .news-container {
    background-color: var(--darker-gray-hex);
    transition: 0.3s;
}
.news-date{
    font-size: 1.2rem;
}
.news-container {
    padding: 20px 0px;
    border-bottom: #2e363e 1px solid;
}
.news-container img{
    width: 100%;
    height: auto;
}
.news-container p{
    margin-top: 5px;
    margin-bottom: 5px;
}
.label {
    display: inline-block;
    width: 100px; 
    height: 25px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    padding: 2px;
    border-radius: 2px;
    margin-right: 10px;
}
.label.release { background-color: #FF6347; }
.label.live    { background-color: #FFA500; }  
.label.news    { background-color: #1E90FF; }
.label.other   { background-color: #32CD32; } 

@media(max-width:768px){
    .sub-info{
        display: flex;
        align-items: center;
    }
    .news-container {
        border-bottom: #2e363e 0.5px solid;
    }    
}
/*details*/
.live-info-wrapper{
    margin-top: 20px;
}
.linear-notes{
    margin: 20px auto;
    padding: 20px 20px;
}
.info-header{
    font-size: 18px!important;
    display: inline-block;
    width: 100px; 
    height: 33px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    padding: 2px;
    border-radius: 2px;
    margin-right: 10px;
    background-color: #FFA500;
} 
div.pagination-wrapper {
    margin: 20px auto;
    height: 60px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination-button {
    border: none;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 50px;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
    color: inherit;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px #313131;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(133deg, var(--accent-orange-hex) 0%, var(--accent-orange-hex) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
    background-size: 300%;
    background-position: 100% 0;
    transition: background-position .1s ease-in, font-size .1s ease-in;
}
@media(max-width:768px){
    .pagination-button{
        font-size: 30px;
    }
}
.pagination-button:focus, .pagination-button:active {
    outline: none;
    background-color: transparent;
}
button.disabled {
    -webkit-text-stroke: .7px #bebebe;
    background: none;
    cursor: default;
}
.pagination-button:hover {
    background-position: 0 0;
    background-color: var(--darker-gray-hex);
    transition: 0.3s;
}
.pagination-state {
    height: 100%;
    display: inline-block;
    height: 100%;
    width: 60px;
    text-align: center;
    font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #313131;
    transition: top .2s ease-in;
}

/*-----------------------------------------------------------------------------
----------------------------------profile.html---------------------------------
------------------------------------------------------------------------------*/
.top-image {
    margin: auto;
    max-width:900px;
    width: 90%;
    margin: auto;
}
.top-image img{
    text-align: center;
    width: 100%;   
}
.top-image p{
    text-align: center;
    margin: 2%;
    font-size: 1.2rem;
}
.members-bio p{
    text-align: center;
    margin: 2%;
}
.self-introduction {
    text-align: center;
    padding-top: 0px;
    padding-bottom: 60px;
    margin: auto;
    max-width:900px;
    width: 90%;
    margin: auto;
}
.band-name{
        font-size: 1.3rem;
        text-align: center;
        color: #2e363e;
        padding-top: 50px;
}
#langChange{
    margin-top: 20px;
}
#langChange input[type="radio"]{
    display    : none;
}  
#Jpn:not(:checked) ~ * *:lang(Jpn) {
    display    : none;
}
#Eng:not(:checked) ~ * *:lang(Eng) {
    display    : none;
}

#Jpn:checked ~ label[for="Jpn"] {
    color:#b4b4b4;
}
#Eng:checked ~ label[for="Eng"] {
    color:#b4b4b4;
}
#intro{
    width: 85%;
    margin: 20px auto;
    text-align: left;
    height: 200px;
}
#intro .catchphrase{
    text-align: center;
    font-style: italic;
}
@media(max-width:768px){
    .title{
        font-size: 26px;
    }
    #intro{
        height: 290px;
    }
}
/*-----------------------------------------------------------------------------
--------------------------------discography.html-------------------------------
------------------------------------------------------------------------------*/
.disco{
    display: flex;
    justify-content: space-between;
    align-content: center;

    max-width:900px;
    width: 90%;
    margin: auto;
}
.disco li{
    list-style: none;
}
.disco img{
    width:45%;
    height: 100%;
    box-shadow: 5px 5px 11px 2px #777777;
    border-radius: 0px;
    position: relative;
    bottom: 50px;
    opacity: 0;
}
.disco-display{
    opacity: 1!important;
    transition: 1s;
    bottom: 0px!important;
}
.cap{
    width:45%;
    height: 100%;
    margin-left: 20px;
}
.border{
    max-width:700px;
    width: 65%;
    border-bottom: 1px#999 solid ;
    margin: 80px auto 80px;
}
@media(max-width:768px){
   .disco{
        flex-direction: column;
    }
    .disco img{
        width: 90%;
        margin: auto;
    }
    .cap{
        justify-content: center;
        width: 90%;
        margin: auto;
        margin-top: 10px;
    }
    .cap p{
        margin-top: 15px;
        text-align: left;
        line-height: 19px;
    }
    .border{
        width: 75%;
        margin: 60px auto 60px;
    }
}
