@charset "utf-8";

/*
Theme Name: ynjn
Author:bb
Description:ヤンジャン！グラビア関係個別ページ用
Version:1.0
*/

/* custom property */
:root {
  --mc-black: #000;
  --mc-white: #FFF;
  --mc-yellow: #FF0;
  --mc-blue: #0062C6;
  --mc-blue60: rgba(0,98,198,0.60);
  --mc-blue10: rgba(0,98,198,0.10);
  --mc-orange: #ff5000;
}

/* reset */
* {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
}

/* common */
html {
  font-size: 62.5%;
}
body {
  background-color: var(--mc-white);
  color: var(--mc-black);
  display: flex;
  flex-direction: column;
  font: 1em/1em YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
img {
  border-style: none;
  width: 100%;
}

/* anchor */
a:link {
  color: var(--mc-blue);
  opacity: 1.0;
  text-decoration: none;
  transition: all .3s;
}
a:visited {
  color: var(--mc-blue60);
  opacity: 1.0;
  text-decoration: none;
  transition: all .3s;
}
a:hover, a:active {
  color: var(--mc-orange);
  opacity: 0.6;
  text-decoration: underline;
  transition: all .3s;
}

/* header */
#header {
  background-color: var(--mc-blue);
  height: 32px;
  margin: 0;
  padding: 8px;
  position: relative;
  z-index: 99;
}
#header .box_flex {
  display: flex;
  justify-content: space-between;
}
#header .box_flex .box_logo_yjyj img,
#header .box_flex .box_logo_yj img {
  height: 32px;
}
@media screen and (max-width: 959px) {
  #header {
    height: 24px;
    padding: 4px;
  }
  #header .box_flex .box_logo_yjyj img,
  #header .box_flex .box_logo_yj img {
    height: 24px;
  }
}

/* main */
#main {
  flex-grow: 1;
}

/* inner */
.inner {
  margin: 0 auto;
  position: relative;
  width: 960px;
}
@media screen and (max-width: 959px) {
	.inner {
    margin: 0 2%;
	width: auto;
	}
}

/* for index */
.box_index {
  padding: 25vh 0;
  text-align: center;
}
.box_index h1 {
  margin: 0 20vw 16px;
}
.box_index h1 img {
  width: 100%;
}
.box_index p {
  font-size: calc(14px + 1.2vw);
  line-height: 1.2em;
}
.box_index p a {
  background-color: var(--mc-blue);
  color: var(--mc-white);
  display: inline-block;
  padding: 8px;
  text-decoration: none;
}
@media screen and (min-width: 1280px) {
  .box_index p {
    font-size: 28px;
  }
}

/* SNS */
.area_sns {
  padding: 8px 0;
}
.area_sns ul {
  display: flex;
  justify-content: center;
}
.area_sns ul li {
  list-style: none;
}
.area_sns ul li a {
  display: block;
  margin: 4px;
  padding: 4px;
}
.area_sns ul li a img { width: 32px; }

/* footer */
#footer {
  background-color: var(--mc-black);
  color: var(--mc-white);
}
#footer .inner a {
  color: var(--mc-white);
}
#footer .inner {
  padding: 30px 0;
}
#footer ul {
  display: flex;
  justify-content: space-around;
  margin: 0 0 8px;
}
#footer ul li {
  flex-basis: 30%;
  font-size: 12px;
  line-height: 1em;
  list-style: none;
  text-align: center;
}
#footer #abj {
  padding-top: 20px;
}
#abj p {
  font-size: 11px;
  line-height: 1.5em;
  text-align: center;
}
#abj p a {
  text-decoration: underline;
}
#abj .abj_icon {
  margin-bottom: 10px;
}
#abj .abj_icon img {
  width: 54px;
}
#footer #copyright {
  padding: 20px 0 0;
  text-align: center;
}
@media screen and (max-width: 959px) {
  #footer ul {
    display: block;
    margin: 0;
  }
  #footer ul li {
    padding: 4px 0;
  }
}

/* page top */
#pagetop {
  font-size: 11px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
#pagetop a {
  background-color: rgba(74,74,74,0.60);
  text-decoration: none;
  color: #fff;
  padding: 10px;
  text-align: center;
  display: block;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  width: 21px;
}
#pagetop a:hover {
  text-decoration: none;
  background-color: rgba(74,74,74,1.00);
}

/* inview */
.upfadein {
  opacity: 0;
  transform: translate(0,60px); 
  transition: .3s;
}
.upfadein_tg {
  opacity: 1.0;
  transform: translate(0,0); 
  transition: .3s;
}
.fadeinleft {
  transform: translate(-50%, 0);
  transition: .5s;
  opacity: 0;
}
.fadeinleft_tg {
  transform: translate(0, 0);
  opacity: 1;
}
.fadeinright {
  transform: translate(50%, 0);
  transition: .5s;
  opacity: 0;
}
.fadeinright_tg {
  transform: translate(0, 0);
  opacity: 1;
}
.zoom {
  transform: scale(0, 0);
  -webkit-transform: scale(0, 0);
  transition: .8s;
}
.zoom_tg {
  transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transition: .8s;
}
