/*==================================================
	normalize CSS
==================================================*/

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    position: relative;
    display: block;
        height: 100vh;
    width: 100%;
    overflow: hidden;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    text-align: center;
    margin: 0;
    position: absolute;
    top: -16px;
    right: 0px;
    width: 128px;
    height: 88px;
    z-index: 200;
    background: #e4007f;
    border-radius: 0 0 0 30px;
}
h1 img{
    width: 100%;
}
/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/*==================================================
	style CSS
==================================================*/
body{
	font-family:'Montserrat Alternates','Noto Sans JP','YuGothic','Yu Gothic','メイリオ', 'Meiryo','Hiragino Sans','ヒラギノ角ゴシック','ＭＳ Ｐゴシック','MS PGothic';
	letter-spacing:0.05em;
	color: #231815;
	font-feature-settings: "palt" 1;
	/*letter-spacing: 2px;*/
}
html,body{
    font-size:16px;
    background-size: auto auto;
   
   /* -ms-overflow-style: none;
    scrollbar-width: none;*/
}

body::-webkit-scrollbar{
  display:none;
}
@media screen and (max-width: 1200px) {
    html,body{
	    font-size: 1.333vw;
    }
} 
body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

a{
	text-decoration: none;
	color: #111111;
	transition: .5s all;
}
ul li{
	list-style: none;
	padding: unset;
	margin: unset;
}
p{
	font-size: 1.2rem;
	line-height: 2rem;
	color: #111111;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
.sp-only{
	display: none;
}
.sp-only img{
	width: 100%;
}
.pc-only{
	display:block;
}



#mainInner{
   /* position: absolute;
    top:0;
    left: 0;
    transition-duration: 1s;*/
}
.contentsYoutube{
    width: 100vw;
    height: calc(100vh - 80px);
    margin: 0;
    /*width: 90vw;
    height: 90vh;
    margin: 5vh 5vw;*/
    /*background: #eec;*/
    background-image: url(../images/back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
   /* border-bottom: 80px solid #444;*/
    /*border-bottom-width: 80px;*/
    /*border-radius: 20px;*/
    box-sizing: border-box;
     box-shadow: 5px 5px;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    overflow: hidden;
}
.contentsWhiteBoard{
    width: calc(100% - 200px);
    height: calc(100% - 100px);
    margin: 50px 150px 50px 50px;
    background: #fff;
    border: 5px solid #000;
    border-bottom-width: 10px;
    border-radius: 20px;
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: 0.75s;    
}
.contentsWhiteBoardBottom{
    width: 100vw;
    height: 80px;
    background: #444;
    position: absolute;
    left:0;
    bottom: 0;
    
}
.contentsWhiteBoard::before {
    content: '';
    position: absolute;
    top: 50%;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(248,248,248);
    background: linear-gradient(180deg, rgba(248,248,248,1) 0%, rgba(255,255,255,1) 10%);
    transform: skewY(-30deg);
    z-index: -1;
}
.contentsWhiteBoardBarL{
    position: absolute;
    z-index: 10;
    top: calc(50% - 10px);
    left:25px;
    width: 15px;
    height: calc(50% + 100px);
    background: #000;
    border-radius: 5px;
}
.contentsWhiteBoardBarL::before{
    content: '';
    position: absolute;
    z-index: 1;
    top: 5px;
    right: -15px;
    width: 15px;
    height: 12px;
    background: #000;
}
.contentsWhiteBoardBarR{
    position: absolute;
    z-index: 10;
    top: calc(50% - 10px);
    right: 125px;
    width: 15px;
    height: calc(50% + 100px);
    background: #000;
    border-radius: 5px;
}
.contentsWhiteBoardBarR::before{
    content: '';
    position: absolute;
    z-index: 1;
    top: 5px;
    left: -15px;
    width: 15px;
    height: 12px;
    background: #000;
}
.contentsWhiteBoardInner{
    margin: 20px 20px;
    width:calc(100% - 40px);
    height:calc(100% - 40px);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.contentsWhiteBoard0{
    cursor: pointer;
    pointer-events: auto;
}
.contentsWhiteBoard.r90{
    transform: rotateX(90deg);
    border-bottom-width: 5px;
    border-top-width: 10px;
}
.contentsWhiteBoard.r180{
    transform: rotateX(180deg);
    border-bottom-width: 5px;
    border-top-width: 10px;
}
.contentsWhiteBoard.r270::before ,
.contentsWhiteBoard.r180::before {
    top: auto;
    bottom: 50%;
    background: linear-gradient(0deg, rgba(248,248,248,1) 0%, rgba(255,255,255,1) 10%);
    transform: skewY(-150deg);
    z-index: -1;
}
.contentsWhiteBoard.r180 .contentsWhiteBoardInner{
    transform: rotateX(180deg);
}
.contentsWhiteBoard.r270{
    transform: rotateX(90deg);
    border-bottom-width: 5px;
    border-top-width: 10px;
}
.contentsWhiteBoard.r270 .contentsWhiteBoardInner{
    transform: rotateX(180deg);
}
.contentsWhiteBoardBtnSound,
.contentsWhiteBoardBtnNext,
.contentsWhiteBoardBtnPrev{
    position: absolute;
    bottom: 12px;
    left: 20px;
    z-index: 500;
    cursor: pointer;
    transition: 0.5s;  
}
.contentsWhiteBoardBtnSound:hover,
.contentsWhiteBoardBtnNext:hover,
.contentsWhiteBoardBtnPrev:hover{
    transform: scale(1.2);
}
.contentsWhiteBoardBtnNext{
    left: 64px;
}
.contentsWhiteBoardBtnSound{
    left: 120px;
}
.contentsWhiteBoardBtnSound img,
.contentsWhiteBoardBtnNext img,
.contentsWhiteBoardBtnPrev img{
    height: 40px;
}
.enabled{
    opacity: 0.5;
    pointer-events: none;
    cursor: auto;
}
#youtuberChar.enabled{
    opacity: 1;
}
#contentsWhiteBoardBtnSoundOff{
    display: none;
}
.contentsWhiteBoardTimeBar{
    position: absolute;
    left: 0;
    bottom: 70px;
    height: 10px;
    width: 100%;
    z-index: 5000;
    background: #aaa;
}
.contentsWhiteBoardTimeBtn{
    position: absolute;
    left: 0;
    bottom: 0;
    height: 10px;
    width: 0%;
    z-index: 510;
    background: #c00;
    transition: 0.5s;
}
.contentsWhiteBoardTimeBtn::after{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    z-index: 520;
    border-radius: 16px;
    border: 3px solid #444;
    box-sizing: border-box;
    top: -5px;
    right: -5px;
}
.contentsWhiteBoardTitle{
    position: absolute;
    right: 20px;
    bottom: 22px;
    /* height: 10px; */
    width: calc(100% - 200px);
    z-index: 510;
    color: #fff;
    text-align: right;
    font-size: 2.0rem;
    letter-spacing: 0.1em;
}
.clickBtn{
    display: none;
    position: fixed;
    z-index: 700;
    transition: 0.2s ease-in;
    cursor: pointer;
    transform: scale(1);
}
.clickBtn.first{
    transform: scale(0.1);
}
.clickBtn:hover{
    transform: scale(1.5);
}
/*.clickBtn1{
    left: calc(50% - 30vh);
}
.clickBtn3{
    left: calc(50% + 30vh);
}*/
/*.contentsWhiteBoard.r360{
    transform: rotateX(360deg);
    border-top-width: 5px;
    border-bottom-width: 10px;
}
.contentsWhiteBoard.r360 .contentsWhiteBoardInner{
    transform: rotateX(0deg);
}*/
#youtuberChar{
    position: absolute;
    bottom: -28vh;
    right: -15vh;
    height: 100vh;
    z-index: 600;
    transition: 0.2s ease-in;
    cursor: pointer;
    transform-origin: top center;
    display: none;
    opacity: 0;
    /*overflow: hidden;*/
}
#youtuberChar:hover{
    transform: scale(2);
    right: -5vh;
    
}

.pon{
    position: absolute;
    width: 100vw;
    top: calc(50% - 35vw);
    left: calc(50% - 55vw);
    transform: scale(0);
    z-index: 1000;
}
.pon.off{
    opacity: 0!important;
}
.pon.action{
    animation:ponAnime 1s;
}
@keyframes ponAnime {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  20% {
    transform: scale(1.2);
      opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
footer{
    position: absolute;
    top: -20px;
    left: 20px;
    text-align: left;
    color: #fff;
    font-size: 11px;
    z-index: 1000;
}
.contentsWhiteBoardBackBtn{
    position: absolute;
    bottom: 7px;
    right: 22px;
    text-align: right;
    color: #fff;
    font-size: 11px;
    z-index: 1000;
    cursor: pointer;
}





@media screen and (max-width: 900px){
    .contentsWhiteBoard{
        width: calc(100% - 200px);
        height: calc(100% - 20px);
        margin: 10px 150px 10px 50px;
    }
    .contentsYoutube{
        height: calc(100vh - 50px);
    }
        
    .contentsWhiteBoardBtnSound, .contentsWhiteBoardBtnNext, .contentsWhiteBoardBtnPrev {
        position: absolute;
        bottom: 7px;
    }
    .contentsWhiteBoardBtnNext {
        left: 50px;
    }
    .contentsWhiteBoardBtnSound img, .contentsWhiteBoardBtnNext img, .contentsWhiteBoardBtnPrev img {
        height: 25px;
    }
    .contentsWhiteBoardTimeBtn,
    .contentsWhiteBoardTimeBar{
        bottom: 40px;
    }
    .contentsWhiteBoardTimeBtn{
        bottom: 0;
    }
    .contentsWhiteBoardTitle {
        position: absolute;
        right: 10px;
        bottom: 9px;
    }
    footer {
        top: -14px;
        left: 10px;
    }
    .contentsWhiteBoardBottom{
        height: 50px;
        
    }
    .contentsWhiteBoardBackBtn{
        right: auto;
        left: 90px;
        bottom: 15px;
    }
    
}


