/*
Theme Name: Keisandeath Official
Theme URI: https://keisandeath.com/
Author: MANEKI LLC
Author URI: https://maneki.works/
Description: Keisandeath公式サイト用テーマ。ライブ情報・お知らせ・MV・ディスコグラフィー・メンバーを管理画面から更新できます。
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: keisandeath
*/
/* Layout: the current STUDIO site's look (black, Lato, white centered headings, red buttons) with compact grids for MV, Member and Discography; PC layout and phone layout (≤540px) */
:root{
  --bg:#000000;
  --fg:#ffffff;
  --muted:#9a9a9a;
  --line:#2a2a2a;
  --red:#ff0000;
  --red-fc:#ea0000;
  --red-send:#f00000;
  --red-shop:#b50005;
  --ink:#222222;
  --font:"Lato","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  --font-sans:"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  --font-mincho:"Yu Mincho","游明朝","YuMincho","Hiragino Mincho ProN",serif;
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
p{margin:0}
button,input,textarea{font:inherit}
:focus-visible{outline:2px solid #fff;outline-offset:3px}
.side{padding-left:max(30px,env(safe-area-inset-left,0px));padding-right:max(30px,env(safe-area-inset-right,0px))}
.inner{max-width:1220px;margin-inline:auto}
.sec-h{margin:0;text-align:center;font-size:48px;font-weight:700;line-height:1.4}
.rv{transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:var(--d,0s)}
.rv.pre{opacity:0;transform:translateY(48px)}
.btn-red{display:flex;align-items:center;justify-content:center;height:50px;background:var(--red);border-radius:4px;font-size:18px;font-weight:700;line-height:1;color:#fff;border:0;cursor:pointer;transition:filter .25s,transform .25s}
.btn-red:hover{filter:brightness(1.15);transform:translateY(-2px)}

/* Hero */
.hero{position:relative;min-height:1326px;height:auto;display:flex;flex-direction:column;align-items:center;overflow:visible}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;max-width:none;animation:zoomout 2.4s var(--ease) both;will-change:transform}
@keyframes zoomout{from{transform:scale(1.08)}to{transform:none}}
.header{position:relative;z-index:2;align-self:stretch;height:80px;display:flex;justify-content:flex-end;align-items:flex-start;padding:10px max(44px,env(safe-area-inset-right,0px)) 0 max(44px,env(safe-area-inset-left,0px));animation:fadein 1s .3s both}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.gnav{display:flex;align-items:center;gap:20px;height:70px}
.gnav-links{display:flex;align-items:center}
.gnav-links a{position:relative;padding:10px;font-weight:700;font-size:16px;line-height:1.4}
.gnav-links a.jp{font-size:15px}
.gnav-links a::after{content:"";position:absolute;left:10px;right:10px;bottom:6px;height:2px;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.gnav-links a:hover::after{transform:scaleX(1)}
.btn-shop{display:flex;align-items:center;justify-content:center;width:157px;height:57px;background:var(--red-shop);border-radius:8px;font-weight:700;font-size:16px;transition:filter .25s,transform .25s}
.btn-shop:hover{filter:brightness(1.2);transform:translateY(-2px)}
.menu-btn{display:none}
.hero-body{position:relative;z-index:1;width:100%;display:flex;flex-direction:column;align-items:center;margin-top:394px}
.hero-logo{width:min(898px,100%);height:auto;animation:rise 1.3s .2s var(--ease) both}
@keyframes rise{from{transform:translateY(80px);opacity:0}to{transform:none;opacity:1}}
.live{display:flex;flex-direction:column;align-items:center;margin-top:50px;width:100%}
.live-h{font-size:29px;font-weight:700;line-height:1.6;animation:up .9s .9s var(--ease) both}
.live-row{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:2px;width:100%;animation:up .9s var(--ease) both}
.live-row:nth-of-type(1){animation-delay:1.05s}.live-row:nth-of-type(2){animation-delay:1.2s}.live-row:nth-of-type(3){animation-delay:1.35s}
@keyframes up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.live-row p{font-size:17px;font-weight:700;line-height:2.2;white-space:pre}
.buy{width:494px;max-width:100%;font-size:25px}

/* News */
.news{padding-block:96px 72px}
.news-wrap{max-width:900px;margin:28px auto 0}
.sample-note{text-align:center;font-size:13px;color:var(--muted);margin-bottom:16px}
.news-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.news-list li{border-bottom:1px solid var(--line)}
.news-row{display:grid;grid-template-columns:120px 88px 1fr 16px;align-items:center;gap:6px 20px;padding:22px 8px;transition:background .3s}
.news-row:hover{background:#0d0d0d}
.news-row:hover .news-title{opacity:.8}
.news-date{font-size:16px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.news-cat{justify-self:start;font-size:11px;font-weight:900;letter-spacing:.1em;padding:3px 10px;border-radius:4px;background:var(--red)}
.news-cat[data-cat="RELEASE"]{background:var(--fg);color:var(--bg)}
.news-cat[data-cat="INFO"]{background:#444}
.news-cat[data-cat="NONE"]{background:none;padding:0}
.news-title{font-size:18px;font-weight:700;line-height:1.6;min-width:0}
.news-arrow{width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);transition:transform .3s var(--ease)}
.news-row:hover .news-arrow{transform:translateX(4px) rotate(-45deg)}

/* MV */
.mv{padding-top:24px}
.mv-feature{position:relative;aspect-ratio:16/9;max-width:100%;background:#000;overflow:hidden;margin-top:40px}
.mv-feature-link{position:absolute;inset:0;display:block}
.mv-feature iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mv-feature img,.mv-card .thumb img{width:100%;height:100%;object-fit:cover;max-width:none;transition:transform .8s var(--ease),opacity .4s}
.mv-feature:hover img{transform:scale(1.03)}
.mv-top{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:12px;padding:16px 20px 48px;background:linear-gradient(180deg,rgba(0,0,0,.75),rgba(0,0,0,0));font-size:20px;line-height:1.3;font-weight:700}
.mv-ch{flex:none;width:40px;height:40px;border-radius:50%;background:var(--red-shop);display:grid;place-items:center;font-weight:900;font-size:14px}
.mv-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mv-t small{display:block;font-size:13px;font-weight:400;color:#ddd}
.mv-play{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;background:rgba(33,33,33,.85);border-radius:14px;display:grid;place-items:center;transition:background .25s,transform .25s}
.mv-play::after{content:"";border-left:18px solid #fff;border-top:11px solid transparent;border-bottom:11px solid transparent;margin-left:4px}
.mv-feature:hover .mv-play,.mv-card:hover .mv-play{background:var(--red);transform:scale(1.1)}
.mv-grid{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}
.mv-card{display:block}
.mv-card .thumb{position:relative;display:block;aspect-ratio:16/9;max-width:100%;overflow:hidden;background:#111}
.mv-card .thumb img{opacity:.9}
.mv-card:hover .thumb img{transform:scale(1.06);opacity:1}
.mv-card .mv-play{width:48px;height:34px;margin:-17px 0 0 -24px;border-radius:9px;opacity:0;transition:opacity .25s,background .25s,transform .25s}
.mv-card .mv-play::after{border-left-width:13px;border-top-width:8px;border-bottom-width:8px;margin-left:3px}
.mv-card:hover .mv-play,.mv-card:focus-visible .mv-play{opacity:1}
.mv-card .t{display:block;margin-top:12px;font-size:16px;font-weight:700;line-height:1.5}
.mv-card .k{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.mv-more{display:flex;justify-content:center;margin-top:40px}
.mv-more .btn-red{width:494px;max-width:100%}
.mv-grid:not(.open) .is-more{display:none}
.mv-grid.open .is-more{animation:up .6s var(--ease) both}

/* Member */
.member-sec{padding-top:120px}
.member-grid{margin-top:40px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px}
.member .ph{overflow:hidden;aspect-ratio:2/3;max-width:100%}
.member .ph img{width:100%;height:100%;object-fit:cover;max-width:none;transition:transform 1s var(--ease)}
.member:hover .ph img{transform:scale(1.05)}
.member .sup{margin-top:20px;font-size:16px;font-weight:700;line-height:1.6}
.member .name{margin-top:20px;font-size:24px;font-weight:700;line-height:1.6}
.member .sup + .name{margin-top:0}
.member .part{font-size:18px;font-weight:700;line-height:1.6}
.member .gear{margin-top:24px;font-size:15px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.member .gear b{display:block;font-size:16px}

/* Discography */
.disco{padding-top:140px}
.disco .sec-h{font-weight:900}
.bio{margin-top:34px;font-size:24px;line-height:1.4;display:flex;flex-direction:column;gap:45px}
.bio p{white-space:pre-line}
.release-grid{list-style:none;margin:64px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:40px 20px}
.release .cover{position:relative;overflow:hidden;aspect-ratio:1;max-width:100%;background:#111}
.release .cover img{width:100%;height:100%;object-fit:cover;max-width:none;transition:transform .8s var(--ease)}
.release .cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 55%,rgba(0,0,0,.55));opacity:0;transition:opacity .4s}
.release:hover .cover img{transform:scale(1.06)}
.release:hover .cover::after{opacity:1}
.release .y{margin-top:14px;font-size:15px;line-height:1;min-height:15px}
.release .t{margin-top:8px;font-size:22px;font-weight:900;line-height:1.2}

/* Fan club */
.fc{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:140px}
.fc h2{margin:0;font-size:36px;font-weight:400;line-height:1.4}
.fc .kanji{margin-top:11px;font-family:var(--font-mincho);font-size:72px;font-weight:700;line-height:1.2}
.fc .txt{margin-top:20px;font-size:24px;line-height:1.6}
.fc .btn-fc{margin-top:35px;width:500px;max-width:100%;background:var(--red-fc)}
.fc:hover .btn-fc{filter:brightness(1.15);transform:translateY(-2px)}

/* Shop */
.shop{margin-top:94px;display:flex;align-items:center;gap:61px}
.shop-text{flex:1;min-width:0;font-family:var(--font-sans)}
.shop-text h2{margin:0;font-size:32px;font-weight:700;line-height:1.2}
.shop-text p{margin-top:21px;font-size:18px;line-height:1.6}
.btn-shop2{margin-top:39px;height:41px;border-radius:8px;font-size:15px}
.shop-ph{flex:none;width:min(50%,610px);height:697px;overflow:hidden}
.shop-ph img{width:100%;height:100%;object-fit:cover;max-width:none;transition:transform 1s var(--ease)}
.shop:hover .shop-ph img{transform:scale(1.04)}

/* Contact */
.contact{margin-top:119px;display:flex;flex-direction:column;align-items:center}
.contact .sec-h{line-height:1.2}
.contact-lead{margin-top:20px;font-size:18px;text-align:center;line-height:1.6}
.form{width:600px;max-width:100%;margin-top:60px;display:flex;flex-direction:column;gap:20px}
.field{display:flex;flex-direction:column;gap:10px}
.field label{font-size:16px;font-weight:700}
.field label .req{color:var(--red)}
.field input,.field textarea{width:100%;height:50px;border:0;border-radius:4px;background:#fff;color:#222;padding:12px 15px;font-size:16px;transition:box-shadow .25s}
.field input:focus,.field textarea:focus{outline:none;box-shadow:0 0 0 3px var(--red)}
.field textarea{height:160px;resize:vertical;line-height:1.6}
.field input::placeholder,.field textarea::placeholder{color:#999}
.field .err{display:none;color:#ff5a5a;font-size:13px}
.field.invalid .err{display:block}
.field.invalid input,.field.invalid textarea{box-shadow:0 0 0 2px #ff5a5a}
.field.invalid{animation:shake .4s}
@keyframes shake{25%{transform:translateX(-6px)}50%{transform:translateX(6px)}75%{transform:translateX(-3px)}}
.agree{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:400}
.agree input{width:13px;height:13px;margin:0;accent-color:var(--red)}
.btn-send{width:148px;height:40px;border-radius:8px;background:var(--red-send);font-size:15px}
.form-done,.form-error{width:600px;max-width:100%;margin-top:60px;border-left:3px solid var(--red);padding:16px 20px;background:#111;line-height:1.7;animation:up .6s var(--ease) both}
.form-error{margin-top:40px;margin-bottom:-30px;border-left-color:#ff5a5a}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.agree a{text-decoration:underline}

/* Footer */
.footer{margin-top:55px;padding-bottom:calc(74px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;text-align:center}
.footer-name{font-size:28px;font-weight:700;line-height:1.2}
.sns{display:flex;align-items:center;gap:55px;margin:24px 0 0;padding:0;list-style:none}
.sns a{display:grid;place-items:center;width:40px;height:40px;transition:transform .25s}
.sns a:hover{transform:translateY(-3px) scale(1.1)}
.sns svg{width:24px;height:24px;fill:#fff}
.copy{margin-top:60px;font-size:20px;line-height:1.4}

/* Tablet */
@media (max-width:1024px){
  .member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .release-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Phone */
@media (max-width:540px){
  .sec-h{font-size:28px}
  .hero{height:auto;min-height:533px;padding-bottom:24px}
  .header{height:56px;padding:6px max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
  .gnav{position:fixed;inset:0;z-index:20;flex-direction:column;justify-content:center;gap:28px;height:auto;background:rgba(0,0,0,.94);padding:calc(24px + env(safe-area-inset-top,0px)) 24px calc(24px + env(safe-area-inset-bottom,0px));animation:fadein .3s both}
  .gnav[hidden]{display:none}
  .gnav-links{flex-direction:column;gap:8px}
  .gnav-links a{font-size:22px}
  .gnav-links a.jp{font-size:21px}
  .menu-btn{display:grid;place-items:center;position:relative;z-index:30;width:44px;height:44px;border:0;background:none;color:#fff;cursor:pointer;padding:0}
  .menu-btn svg{width:24px;height:24px;fill:currentColor}
  .hero-body{margin-top:164px}
  .hero-logo{width:100%}
  .live{margin-top:33px}
  .live-h{font-size:15px;line-height:24px}
  .live-row{gap:4px;margin-top:0}
  .live-row p{font-size:12px;line-height:26.4px}
  .buy{width:100%}
  .news{padding-block:72px 56px}
  .news-row{grid-template-columns:auto 1fr 16px;grid-template-areas:"date cat arrow" "title title title";padding:18px 4px}
  .news-date{grid-area:date;font-size:14px}.news-cat{grid-area:cat}.news-arrow{grid-area:arrow}.news-title{grid-area:title;font-size:16px}
  .mv{padding-top:16px}
  .mv-feature{margin-top:28px}
  .mv-top{padding:10px 12px 28px;font-size:13px;gap:8px}
  .mv-ch{width:28px;height:28px;font-size:11px}
  .mv-t small{font-size:11px}
  .mv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;margin-top:24px}
  .mv-card .t{font-size:14px}
  .member-sec{padding-top:88px}
  .member-grid{grid-template-columns:1fr;margin-top:28px;gap:48px}
  .disco{padding-top:88px}
  .bio{margin-top:32px;font-size:15px;gap:24px}
  .release-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px;margin-top:40px}
  .release .t{font-size:18px}
  .fc{margin-top:88px}
  .fc h2{font-size:28px}
  .fc .kanji{margin-top:10px;font-size:28px}
  .fc .txt{margin-top:9px;font-size:14px}
  .fc .btn-fc{width:100%}
  .shop{flex-direction:column-reverse;align-items:stretch;gap:35px;margin-top:56px}
  .shop-ph{width:100%;height:488px}
  .shop-text h2{font-size:28px;text-align:center}
  .shop-text p{margin-top:11px}
  .btn-shop2{margin-top:40px}
  .contact{margin-top:56px}
  .contact-lead{margin-top:10px;font-size:15px}
  .btn-send{width:100%}
  .footer{margin-top:81px;padding-bottom:calc(73px + env(safe-area-inset-bottom,0px))}
  .footer-name{font-size:20px}
  .sns{gap:20px;margin-top:29px}
  .copy{margin-top:101px;font-size:14px}
}

/* Hero h1 */
.hero-h1{margin:0;width:100%;display:flex;justify-content:center}
.live-empty{white-space:normal!important;text-align:center}
.news-more{display:flex;justify-content:center;margin-top:40px}
.news-more .btn-red,.back .btn-red{width:494px;max-width:100%}
.empty-note{text-align:center;color:var(--muted);font-size:16px;margin-top:24px}

/* Sub pages */
.header--sub{animation:none;justify-content:space-between;align-items:center;height:80px;padding-top:0;border-bottom:1px solid var(--line)}
.sub-logo img{height:44px;width:auto}
.sub{padding-block:88px 40px;min-height:60vh}
.sub .news-wrap{margin-top:40px}
.back{display:flex;justify-content:center;margin-top:56px}
.article{max-width:820px;margin:0 auto}
.article-meta{display:flex;align-items:center;gap:16px}
.article-title{margin:16px 0 0;font-size:32px;font-weight:700;line-height:1.5;text-wrap:balance}
.article-ph{margin-top:32px}
.article-ph img{width:100%;height:auto}
.article-body{margin-top:32px;padding-top:32px;border-top:1px solid var(--line);font-size:17px;line-height:1.9;font-family:var(--font-sans)}
.article-body p{margin:0 0 1.2em}
.article-body a{text-decoration:underline}
.article-body img{height:auto}
.article-body h2{font-size:24px;margin:2em 0 .8em}
.article-body h3{font-size:20px;margin:1.8em 0 .6em}
.article-body ul,.article-body ol{padding-left:1.4em;margin:0 0 1.2em}
.article-body iframe{max-width:100%}
.pagination{margin-top:40px}
.pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.pagination .page-numbers{min-width:44px;height:44px;display:grid;place-items:center;border-radius:4px;background:#111;font-weight:700}
.pagination .page-numbers.current{background:var(--red)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* MV modal */
.mv-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.mv-modal[hidden]{display:none}
.mv-modal-bg{position:absolute;inset:0;background:rgba(0,0,0,.88);animation:fadein .3s both}
.mv-modal-box{position:relative;width:min(1100px,100%);animation:up .4s var(--ease) both}
.mv-modal-frame{position:relative;aspect-ratio:16/9;max-width:100%;background:#000}
.mv-modal-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mv-modal-close{position:absolute;right:0;top:-52px;width:44px;height:44px;border:0;background:none;color:#fff;cursor:pointer;display:grid;place-items:center}
.mv-modal-close svg{width:30px;height:30px;fill:currentColor}

@media (max-width:540px){
  .header--sub{height:60px;padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
  .sub-logo img{height:32px}
  .sub{padding-block:56px 24px}
  .article-title{font-size:22px}
  .article-body{font-size:16px}
}

/* トップの写真の下端 */
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,0) 58%,#000 87%);pointer-events:none}

/* トップのリリース告知 */
.hero-release{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:40px;width:100%;animation:up .9s .7s var(--ease) both}
.hero-release-h{font-size:29px;font-weight:700;line-height:1.6;letter-spacing:.02em}
.hero-release-btn{width:494px;max-width:100%;font-size:25px}
@media (max-width:540px){
  .hero-release{gap:8px;margin-top:24px}
  .hero-release-h{font-size:15px;line-height:24px}
  .hero-release-btn,.live-row .buy{width:calc(100% - 48px)}
}
