/* common.css — Silver Magazine Header / Footer */

/* ===== CSS 変数 ===== */
:root {
  --white: #fff;
  --gray-f8: #F8F8F8;
  --gray-a5: #A5A5A5;
  --gray-50: #707070;
  --gray-75: #444444;
  --gray: #999999;
  --black: #111;
  --accent: #0d87e0;
  --body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --display: clamp(4.5rem, 1.83rem + 11.34vw, 10rem);
  --heading1: clamp(2rem, 1.3rem + 3vw, 4rem);
  --heading2: calc(var(--body) * 2.5);
  --heading3: calc(var(--body) * 1.2);
  --small-heading2: clamp(0.875rem, 4vw - 1rem, 1.6875rem);
  --small-heading3: calc(var(--small-heading2) * 0.86);
  --small-body: clamp(0.75rem, 0.5938rem + 0.5vw, 0.875rem);
  --midashigo: "HelveticaNeueLTPro-Bd", Helvetica, Arial, "Midashi Go MB31", sans-serif;
  --gothicbbb: "HelveticaNeueLTPro-Roman", Helvetica, Arial, "Gothic Medium BBB", sans-serif;
  --helveticaB: "HelveticaNeueLTPro-Bd", Helvetica, Arial, sans-serif;
  --helveticaMd: "HelveticaNeueLTPro-Md", Helvetica, Arial, sans-serif;
  --helveticaRo: "HelveticaNeueLTPro-Roman", Helvetica, Arial, sans-serif;
  /*  */
  --pc-width: 1400;
  --sp-width: 375;
}

* {
  box-sizing: border-box;
}



html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: HelveticaNeueLTPro-Bd, Helvetica, Arial, "Midashi Go MB31", "Gothic Medium BBB", sans-serif;
  background-color: #fafafa;
  color: var(--black);
  font-size: var(--body);
  scroll-behavior: smooth;
  container-type: inline-size;
}

html {
  overflow-x: hidden;
}

p,
dl,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

img {
  width: 100%;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  user-drag: none;
  -webkit-user-drag: none;
  display: block;
  height: auto;
}

figure {
  margin: 0;
  padding: 0;
}

picture {
  display: block;
}

/* fontplus トライアルバナー非表示 */
.fontplus-trial-banner {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ------ option ------ */
.sp-only {
  display: none;

  @media (max-width: 767px) {
    display: block;
  }
}

.pc-only {
  display: block;

  @media (max-width: 767px) {
    display: none;
  }
}

/* ================================================================
   HEADER
   ================================================================ */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  z-index: 1005;
}

/* --- header-inner --- */
.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 21px 0 40px;
  height: 90px;
  transition: all 200ms ease-in;
}

@media (max-width: 767px) {
  .header-inner {
    height: 60px;
    padding: 0 7px 0 25px;
  }
}

/* --- header-item (左右の行) --- */
.header-item {
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

/* --- Subscribe ボタン --- */
.header-subscribe {
  display: inline-block;
  border: 1px solid var(--black);
  padding: 6px 23px 3px;
  margin-right: 1vw;
  font-weight: bold;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 200;
  color: inherit;
  text-decoration: none;
}

.header-subscribe:hover {
  background-color: var(--black);
  color: var(--white);
}

@media (max-width: 767px) {
  .header-subscribe {
    display: none;
  }
}

/* --- Latest Issue リンク --- */
.header-latest {
  font-family: var(--helveticaMd);
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767px) {
  .header-latest>span {
    display: none;
  }
}

/* --- Instagram アイコン --- */
.header-ig {
  margin: 0 0 0 1.3vw;
  color: inherit;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  z-index: 201;
}

.header-ig svg {
  display: block;
}

@media (max-width: 767px) {
  .header-ig {
    display: none;
  }
}

/* --- ロゴ --- */
.logo-link {
  display: block;
  transition: all 0.8s;
  z-index: 201;
  position: fixed;
  right: 0;
  left: 0;
  margin: auto;
  width: 84px;
  top: 28px;
  text-decoration: none;
}

@media (max-width: 767px) {
  .logo-link {
    width: 68px;
    top: 15px;
  }
}

.logo-link svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  fill: #111;
  transition: fill 0.6s ease-out;
}

/* --- ハンバーガーボタン (丸ドット) --- */
.nav-btn {
  all: unset;
  outline: revert;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 200;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-btn>span {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  background-color: #000;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .nav-btn>span {
    width: 10px;
    height: 10px;
  }
}

.nav-btn>span::before,
.nav-btn>span::after {
  content: '';
  width: 50%;
  height: 1px;
  background-color: #fff;
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  /* transition: opacity 0.3s; */
}

.nav-btn>span::before {
  transform: rotate(-45deg);
}

.nav-btn>span::after {
  transform: rotate(45deg);
}

/* nav open 状態のボタン */
.site-nav.open .nav-btn>span {
  background: transparent;
  width: 100%;
  height: 100%;
}

.site-nav.open .nav-btn>span::before,
.site-nav.open .nav-btn>span::after {
  opacity: 1;
  background-color: #fff;
}

.site-nav.open .nav-btn:hover {
  transform: rotate(90deg);
}

/* ================================================================
   NAV オーバーレイ
   ================================================================ */

.site-nav {
  position: relative;
}

.nav-list {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  background: #1a1a1a;
  color: #aaa;
  width: 100%;
  height: 115vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 15vh;
  animation: smNavClose 0.8s cubic-bezier(0.83, 0, 0.17, 1) 1 forwards;
  transform: translateY(-100%);
}

/* dis-load / on-load — 初回ロード時に閉じアニメを非表示 */
.site-header.dis-load .nav-list {
  visibility: hidden;
}

.site-header.on-load .nav-list {
  visibility: visible;
}

/* nav open */
.site-nav.open .nav-list {
  animation: smNavOpen 0.8s cubic-bezier(0.83, 0, 0.17, 1) 1 forwards;
}

@media (max-width: 767px) {
  .site-nav.open .nav-list {
    display: block;
    overflow-y: auto;
  }
}

@keyframes smNavOpen {
  from {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: translateY(-100%);
  }

  to {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);
    transform: translateY(0);
  }
}

@keyframes smNavClose {
  from {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);
    transform: translateY(0);
  }

  to {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: translateY(-100%);
  }
}

/* リンク共通 */
.nav-list a {
  transition: all 0.5s;
  color: #aaa;
  text-decoration: none;
}

@media (hover: hover) {
  .nav-list a:hover {
    color: #fff;
  }
}

@media (hover: none) {
  .nav-list a {
    -webkit-tap-highlight-color: transparent;
  }

  .nav-list a:active {
    color: #aaa;
  }
}

/* --- navContents --- */
.nav-contents {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  animation: smNavContentsExit 0.8s cubic-bezier(0.83, 0, 0.17, 1) 1 forwards;
}

.site-nav.open .nav-contents {
  animation: smNavContentsEnter 0.8s cubic-bezier(0.83, 0, 0.17, 1) 1 forwards;
}

@keyframes smNavContentsEnter {
  from {
    transform: translate(0, -30%) rotate(-7deg) scale(1.3);
  }

  to {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes smNavContentsExit {
  from {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  to {
    transform: translate(0, -30%) rotate(-7deg) scale(1.3);
  }
}

@media (max-width: 767px) {
  .nav-contents {
    padding-top: 120px;
    padding-bottom: 80px;
    padding-right: 21px;
    height: 100%;
    align-items: flex-start;
  }
}

/* --- navContentsRight --- */
.nav-contents-right {
  padding-left: 0;
  padding-top: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 50px;
}

@media (max-width: 767px) {
  .nav-contents-right {
    flex: 1;
    padding-left: 25px;
    padding-right: 0;
    padding-top: 0;
    gap: 30px;
  }
}

/* --- メインナビ項目 --- */
.nav-contents-item-main {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-contents-item-main li {
  font-size: 45px;
  font-weight: bold;
  line-height: 1;
}

.nav-contents-item-main li:not(:last-child) {
  margin-bottom: 0.6em;
}

@media (max-width: 767px) {
  .nav-contents-item-main li {
    font-size: 30px;
  }

  .nav-contents-item-main li:not(:last-child) {
    margin-bottom: 0.75em;
  }
}

.nav-contents-item-main a>span {
  display: inline-block;
  position: relative;
}

.nav-contents-item-main a>span::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #aaa;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.4s;
}

.nav-contents-item-main a:hover>span::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

/* --- サブナビ項目 --- */
.nav-contents-item-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-contents-item-sub li {
  font-size: 19px;
}

.nav-contents-item-sub li:not(:last-child) {
  margin-bottom: 0.6em;
}

@media (max-width: 767px) {
  .nav-contents-item-sub li {
    font-size: 16px;
  }

  .nav-contents-item-sub li:not(:last-child) {
    margin-bottom: 0.8em;
  }
}

/* --- navContentsImg --- */
.nav-contents-img {
  position: relative;
  width: 21vw;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  margin-right: 60px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .nav-contents-img {
    display: none;
  }
}

.nav-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateZ(0) rotate(4deg) scale(1.2);
}

.nav-img.is-active {
  animation: navImgEnter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes navImgEnter {
  from {
    opacity: 0;
    transform: translateZ(0) rotate(4deg) scale(1.2);
  }

  to {
    opacity: 1;
    transform: translateZ(0) rotate(0deg) scale(1);
  }
}

/* ================================================================
   nav-open 時の header 内アイテム色
   ================================================================ */
.site-header.nav-open .logo-link svg {
  fill: #fff;
}

.site-header.nav-open .header-subscribe {
  border-color: var(--white);
  color: var(--white);
}

.site-header.nav-open .header-latest {
  color: var(--white);
  z-index: 201;
}

.site-header.nav-open .header-ig {
  color: var(--white);
  z-index: 201;
}

/* header-inner は nav open 時に固定表示 */
.site-header.nav-open .header-inner {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(0, 0) !important;
}

/* ================================================================
   FOOTER
   ================================================================ */

/* フッター内のリンクスタイル */
footer a {
  position: relative;
  display: inline-block;
  /* transformを安定させるため */
  text-decoration: none;
  padding-bottom: 2px;
  cursor: pointer;
}

.site-footer {
  position: relative;
  z-index: 1;
  background-color: #fff;
}

/* --- フッターナビ --- */
.footer-nav-section {
  padding: 230px 0 300px;
}

@media (max-width: 767px) {
  .footer-nav-section {
    padding: 115px 0 110px;
  }
}

.footer-nav-contents {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* --- フッターナビ右カラム (グリッド) --- */
.footer-nav-right {
  padding-top: 10px;
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(2, minmax(60px, 1fr));
}

@media (max-width: 767px) {
  .footer-nav-right {
    grid-template-columns: repeat(1, minmax(60px, 1fr));
    padding-right: 25px;
    padding-top: 0;
    gap: 30px;
    padding-left: 25px;
  }
}

/* --- フッターメインナビ項目 --- */
.footer-nav-item-main {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-item-main li {
  font-size: 45px;
  font-weight: bold;
  line-height: 1;
}

.footer-nav-item-main li:not(:last-child) {
  margin-bottom: 0.6em;
}

@media (max-width: 767px) {
  .footer-nav-item-main li {
    font-size: 31px;
  }
}

.footer-nav-item-main a {
  transition: all 0.5s;
  color: #111;
  text-decoration: none;
  position: relative;
}

.footer-nav-item-main a>span {
  display: inline-block;
  position: relative;
}

.footer-nav-item-main a>span::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #111;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.4s;
}

.footer-nav-item-main a:hover>span::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

/* --- フッターサブナビ項目 --- */
.footer-nav-item-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-item-sub li {
  font-size: 19px;
}

.footer-nav-item-sub li:not(:last-child) {
  margin-bottom: 0.6em;
}

@media (max-width: 767px) {
  .footer-nav-item-sub li {
    font-size: 14px;
  }

  .footer-nav-item-sub li:not(:last-child) {
    margin-bottom: 0.8em;
  }
}

.footer-nav-item-sub a {
  transition: all 0.5s;
  color: #111;
  text-decoration: none;
}

.footer-nav-item-sub a:hover {
  color: #aaa;
}

/* --- フッターバー (copyright + nav) --- */
.footer-bar {
  padding: 75px 40px 55px;
  font-size: 14px;
  font-family: var(--helveticaRo);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}

@media (max-width: 767px) {
  .footer-bar {
    padding: 53px 25px;
    flex-direction: row-reverse;
    align-items: flex-end;
  }

  .footer-bar p {
    font-size: 11px;
  }
}

.footer-bar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .footer-bar-nav {
    display: block;
  }

  .footer-bar-nav li:not(:last-child) {
    margin-bottom: 8px;
  }
}

.footer-bar-nav li {
  transition: color 0.5s;
}

.footer-bar-nav li:hover {
  color: #aaa;
}

.footer-bar-nav a {
  color: inherit;
  text-decoration: none;
}

/* Mediakit ボタン */
.footer-mediakit-btn {
  display: inline-block;
  background: transparent;
  border: none;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  color: inherit;
  transition: color 0.5s;
}

.footer-mediakit-btn:hover {
  color: #aaa;
}

/* ================================================================
   MEDIAKIT MODAL
   ================================================================ */

.mediakit-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.mediakit-overlay.is-active {
  display: block;
}

.mediakit-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background: #fff;
  padding: 60px;
  max-width: 560px;
  width: 90%;
}

.mediakit-modal.is-active {
  display: block;
}

.mediakit-modal h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  font-family: var(--helveticaB);
}

.mediakit-modal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.mediakit-modal ul li {
  margin-bottom: 8px;
}

.mediakit-modal p {
  font-size: 14px;
  line-height: 1.8;
}

.mediakit-modal a {
  color: var(--black);
}


/*================ セクション名 ================*/

.mt-134 {
  margin-top: 134px;

  @media (max-width: 767px) {
    margin-top: 56px;
  }
}

.mt-308 {
  margin-top: 308px;

  @media (max-width: 767px) {
    margin-top: 56px;
  }
}

.mt-sp-0 {
  @media (max-width: 767px) {
    margin-top: 0;
  }
}


/*================ セクション名 ================*/

.fadein {
  transition: all 1s;
  opacity: 0
}

.fadein.scroll-fade {
  opacity: 1
}

.fadein-bottom {
  transition: all 1s;
  -webkit-transform: translate(0, 50px);
  transform: translate(0, 50px);
  opacity: 0
}

.fadein-bottom.scroll-fade {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1
}

/* sticky画像の2枚目用。fade.js の対象外にして、スクロール量ベースのバッファを別途JSで制御する */
.fadein-bottom-buffered {
  transition: all 1s;
  -webkit-transform: translate(0, 50px);
  transform: translate(0, 50px);
  opacity: 0
}

.fadein-bottom-buffered.scroll-fade {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1
}
