/*
Theme Name: LOL SPOT
Theme URL: https://lol.run-digital.com
Author: Yomino
Description: LoL SpoT WordPress Theme.
Version: 1.1
*/

/* root ---------------------------*/
:root {
  --accent-1: #00d4ff; /* cyan */
  --accent-2: #eb32bd; /* magenta */
  --bg: #010a13;
  --lightblue: #18232f;
  --darkgold: #453713;
  --gold: #785a28;
  --brightgold: #c8aa6e;
  --lightgold: #cdbe91;
  --white: #f0e6d2;
}
/* スクロールバー ---------------------------*/
::-webkit-scrollbar {
  background: var(--bg);
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 20px;
  border: 1px solid var(--bg);
  cursor: grab;
}



/* =================================== サイト全体 ======================================*/
/* ALL ---------------------------*/
* {box-sizing: border-box;}
html, body {
  margin: 0;
  height: 100%;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  word-break: break-word;
  scroll-behavior: smooth;
  font-weight: 400;
  color: var(--white);
  line-height: 1.9;
  letter-spacing: -0.005em;
}
/* 背景画像 */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/top_bg_img.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.bg::before {
  position: fixed;
  background-color: rgba(0,0,0,0.6);
  margin: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: ' ';
}
main.container {
  margin: 0 auto;
  padding-top: 78px;
}
/* post-single ---------------------------*/
.post-single {
  position: relative;
  background: var(--bg);
  color: var(--white);
  max-width: 864px;
  padding: 32px;
  margin: 80px auto 160px;
}
.content {
  padding: 50px;
  border: 1px solid rgb(70, 66, 81);
}



/* =================================== サイト全体 細かい記事要素 ======================================*/
/* a hover操作 ---------------------------*/
a {
  font-weight: bold;
  color: var(--lightgold);
  text-decoration: none;
  transition: 0.4s ease-in-out;
}
a:hover {
  filter: brightness(1.36);
}

/* a, p, h1-, など -----------*/
article p, article ul, article ol {margin-bottom: 2.35em;}
article img {margin-bottom: 1.35em;}
iframe {
  width: 100%;
  height: 390px!important;
}
article ul {
  padding-left: 30px;
  padding-right: 30px;
}
li {
  margin-bottom: 0.8em;
  font-size: 15px;
}
li:last-child {
  margin-bottom: 0;
}
/* 見出し -----------*/
h1.post-h1 {
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-style: italic;
  letter-spacing: -0.04em;
  font-weight: 900;
  font-size: 38px;
  margin-top: 12px;
  line-height: 1.6;
  background: linear-gradient(90deg,var(--accent-1),var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2.wp-block-heading {
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--brightgold);
  margin-top: 3.0em;
}
h3.wp-block-heading {
  position: relative;
  padding: 4px 4px 12px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.005em;
  font-weight: 600;
  display: block;
  box-sizing: border-box;
  margin-inline: auto;
  margin-top: 2.4em;
}
h3.wp-block-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(135deg, transparent 25%, var(--gold) 25%, var(--gold) 50%, transparent 50%, transparent 75%, var(--gold) 75%, var(--gold));
  background-size: 4px 4px;
  z-index: 0;
}
h4.wp-block-heading {
  margin-top: 2.4em;
}

/* フォーム ---------------------------*/
form textarea,
form input {
  width: 100%!important;
}
form input {
  line-height: 2.0;
  padding-left: 0.6em;
  margin-top: 0.4em;
}
form textarea {
  line-height: 1.4;
  padding: 0.6em;
  margin-top: 0.5em;
}
form input.has-spinner {
  display: inline-block;
  cursor: pointer;
  padding: 0.2em;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.1em;
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  max-width: 150px;
  margin-left: calc( 50% - 75px )!important;

  border: 2px solid ;
  border-image: linear-gradient(to bottom, #c8aa6d, #9b855e) 1;
  background-image: linear-gradient(#826f57, #372a18);
  color: #dacba5;
  box-shadow: inset 3px 3px 8px rgba(0,0,0,.6), inset -3px -3px 8px rgba(0,0,0,.6);
  transition: 0.4s;
}
form input.has-spinner:hover {
  filter: brightness(1.36);
}


/* =================================== サイト全体 header footer ======================================*/
/* header ---------------------------*/
header {
  /*position: relative;*/
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  padding: 20px 30px 0px;
  width: 100%;
  height: 78px;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid #ffffff28;
  background: var(--bg);
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* header logo */
.header__logo {
  display: block;
  text-align: left;
}
.logo img {
  width: 150px;
}

/* トップへ戻るボタン ---------------------------*/
#page_top{
  width: 100px;
  height: 60px;
  position: fixed;
  right: -35px;
  bottom: -17px;
  opacity: 0.6;
  z-index: 9999;
}
#page_top a{
  position: relative;
  display: block;
  width: 100px;
  height: 60px;
  text-decoration: none;
  background-image: url('img/scroll-up2.png');
  background-size: auto;
}

/* Footer ---------------------------*/
footer {
  position: relative;
  padding: 40px 1rem 80px;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--gold);
  text-align: center;
  background: var(--bg);
}
/* footer__content */
.footer__content {
  margin-bottom: 48px;
}
.footerSiteMap__row ul {
  display: flex;
  padding-left: 0px;
  justify-content: center;
  margin: 5px auto;
}
li.footerSiteMap__item {
  list-style-type: none;
  margin-bottom: 0;
}
li.footerSiteMap__item:nth-child(n+2) {
  margin-left: 28px;
}
li.footerSiteMap__item a {
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 15px;
  color: var(--lightgold);
  letter-spacing: 0.005em;
}
/* footer ロゴ以下 */
.footer-logo img {
  width: 105px;
  opacity: 0.6;
}
.footer-txt {
  margin: 1.0rem auto;
  width: 900px;
  max-width: 90%;
  line-height: 1.6;
  letter-spacing: -0.004em;
  font-size: 12px;
  opacity: 0.8;
}



/* =================================== TOP ページ ======================================*/
/* Hero ---------------------------*/
.hero-wrap {
  position: relative;
  background-color:#0c151f;
  border: 2px solid var(--darkgold);
  width: 900px;
  height: auto;
  max-width: calc( 100% - 64px );
  padding: 7px;
  margin: 48px auto;
}
.hero-wrap2 {
  position: relative;
  background-color: var(--lightblue);
  padding: 18px;
  border-radius: 6px;
}
.hero-img {
  line-height: 0;
}
.hero-img img {
  width: 100%;
}


/* Grid & Cards ---------------------------*/
.grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 38px;
  max-width: 1300px;
  padding: 32px;
  margin: 48px auto;
}
.card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .25s, border-color .25s;
  position: relative;
  transform-origin: center center;
}
.thumb {
  min-height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}
.meta {
  padding: 18px;
}
.card h3 {
  line-height: 1.7;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
  color: #333;
}
/* Card Hover */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  transition: .28s;
  opacity: 0;
}
.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.75);
}
.card:hover .thumb {
  transform: scale(1.06);
}
.card:hover::after {
  opacity: 1;
}



/* =================================== 記事 ページ ======================================*/
/* single 記事 ---------------------------*/
.thumbnail_img img {
  width: 100%;
  height: auto;
  margin-bottom: .5em;
}
/* パンくずリスト */
.breadcrumbs-box {
  padding: 18px;
}
#breadcrumbs {
  font-size: 14px;
}
#breadcrumbs span {margin: 0 8px;}
#breadcrumbs span:first-child {margin-left: 0;}
/* 編集者情報 */
.editor-box {
  margin-top: 32px;
  background-color:#0c151f;
  border: 2px solid var(--darkgold);
  padding: 7px;
}
.editor-box2 {
  position: relative;
  background-color: var(--lightblue);
  padding: 40px;
  border-radius: 6px;
}
.editor-flexbox {
  display: flex;
}
.editor-img {
  margin-top: 10px;
  width: 120px;
  height: 120px;
  margin-right: 32px;
  margin-bottom: 24px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
}
.editor-img img {
  border-radius: 50%;
}
.editor-icon-frame {
  position: absolute;
  margin-top: -155px;
  margin-left: -7px;
}
.editor-icon-frame img {
  width: 132px;
  height: 132px;
}
.editor-meta {
  vertical-align: baseline;
}
.editor-name {
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  color: var(--brightgold);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.editor-txt {
  font-size: 13px;
}



/* =================================== レスポンシブ対応 ======================================*/
/* スマホ版 -----------------*/
@media (max-width: 767px) {.pc {display: none;}}
@media (min-width: 768px) {.sp {display: none;}}

@media (max-width: 767px) {

  p {font-size: 14px;}
  li {font-size: 13px;}
  h1.post-h1 {font-size: 180%;}
  h2.wp-block-heading {font-size: 26px;}
  h3.wp-block-heading {font-size: 19px;}
  iframe {height: 53vw!important;}
  main.container {padding-top: 45px;}

  .post-single {padding: 32px 3%;}
  .content {padding: 6%;}
  .hero-wrap {max-width: calc( 100% - 24px );}

  header {padding: 8px 4% 0px; height: 45px;}
  .logo img {width: 110px;}
  nav.header__nav a {font-size: 12px; letter-spacing: .12em; padding-top: 15px; padding-left: 12px;}
  nav.header__nav a::before {display: none;}

  footer p {font-size: 9px; letter-spacing: .2em;}
  .footer-txt {max-width: 94%; font-size: 10px; width: 500px;}
  .footerSiteMap__row ul {display: block; margin-bottom: 24px; margin-left: 12px; text-align: left;}
  li.footerSiteMap__item {margin-bottom: 6px;}
  li.footerSiteMap__item:nth-child(n+2) {margin-left: 0;}

  .grid {padding: 21px; gap: 21px;}
  .thumb {min-height: 120px;}
  .meta {padding: 14px;}
  .card h3 {font-size: 14px;}

  #breadcrumbs {font-size: 12px;}
  .editor-box2 {padding: 30px;}
  .editor-flexbox {display: block;}
  .editor-img {margin: 0 auto 12px;}
  .editor-name{text-align: center; margin-top: 24px;}
}