@charset "utf-8";
/* CSS Document */
.tss_footer {background-color: #BD7B4C;}

.oym_content{
  background-image:url("../img/people.png"),url("../img/bg.jpg"),linear-gradient(180deg, rgba(91,203,252,1) 0%, rgba(91,203,252,1) 20%, rgba(243,199,150,1) 20%, rgba(243,199,150,1) 100%);
  background-color: #F3C796;
  background-position: center 440px,center -40px;
  background-repeat: repeat-x;
  background-size: auto;
  padding-bottom: 3em;
  font-size: clamp(16px, 0.5vw + 0.75em, 22px);
}

.oym_content img{max-width: 100%;}
.oym_content h1{
  display: block;
  margin: auto;
  text-align: center;
  padding: 1em;
}

.oym_introbtn{
  position: relative;
  width: 350px;
	height:128px;
	margin: 0 auto;
	display: block;
	overflow: hidden;
	cursor: pointer;
  margin-top: -10em;
  margin-bottom: 6em;
}

.oym_introbtn img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
  
}


.oym_outline{
  background: #FFF;
  border-radius: 10px;
  max-width: 960px;
  width: calc(100% - 16px);
  padding: 1.6em;  
  line-height: 1.6;
  margin: -3.25em auto 2em;
  position: relative;
  z-index: 10;
}

.oym_outline p:first-of-type{
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 0.4em;
}
.oym_comment{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  margin:32px auto 0;
}
.oym_comment>div:first-of-type{
  max-width: 234px;
  width: 30%;
}
.oym_comment>div:last-of-type{
  max-width: 726px;
  width: 70%;
  background: #FFF6BB;
  border-radius: 10px;
  padding: 1.6em;  
  line-height: 1.6;
}

.oym_comment>div:last-of-type>p:first-of-type{
  font-weight: bold;
  font-size: 1.125em;
  margin-bottom: 0.4em;
}

.oym_introbtn img:first-of-type {
  animation: gld_anmpc01 1.75s infinite;
}
.oym_introbtn img:nth-of-type(2) {
  animation: gld_anmpc02 1.75s infinite;
}
.oym_videobox{
  max-width:640px;
  width:90%;
  margin:auto;
}

.oym_videobox div{
  width:100%;
  height:100%;
  aspect-ratio:16/9;
}


@keyframes gld_anmpc01 { 
    0% { 
        opacity:1; 
    }

    49% { 
        opacity:1; 
    }
    

    50% { 
        opacity:0;
    } 
 
    100% { 
        opacity:0;
    } 
}

@keyframes gld_anmpc02 { 
    0% { 
        opacity:0; 
    }

    49% { 
        opacity:0; 
    }
    

    50% { 
        opacity:1;
    } 
 
    100% { 
        opacity:1;
    } 
}

@media screen and (min-width:1280px) {
  .oym_content {
    background-image: url(../img/people.png), url(../img/bg.jpg), linear-gradient(180deg, rgba(91, 203, 252, 1) 0%, rgba(91, 203, 252, 1) 16%, rgba(243, 199, 150, 1) 16%, rgba(243, 199, 150, 1) 100%);
  }
}

@media screen and (max-width: 1040px) {
  .oym_content{
    background-position: center 26%, center 16%;
    background-size: 80%;
    background-image: url(../img/people.png), url(../img/bg.jpg), linear-gradient(180deg, rgba(91, 203, 252, 1) 0%, rgba(91, 203, 252, 1) 24%, rgba(243, 199, 150, 1) 24%, rgba(243, 199, 150, 1) 100%);
  }
}

@media screen and (max-width: 800px) {
  .oym_content{
    background-position: center 19%, center 11%;
    background-size: 86%;
    padding-bottom: calc(17.5vw + 120px);
    background-image: url(../img/people.png), url(../img/bg.jpg), linear-gradient(180deg, rgba(91, 203, 252, 1) 0%, rgba(91, 203, 252, 1) 18%, rgba(243, 199, 150, 1) 18%, rgba(243, 199, 150, 1) 100%);
  }
}

@media screen and (max-width: 640px) {
  .oym_introbtn{
    width:60%;
    height:auto;
    aspect-ratio:175/64;
    margin: -1em auto 4em calc(50% - 26vw);
  }
}


@media screen and (max-width: 480px) {
  .oym_content {
    background-position: center 18%, center 8%;
    background-size: 160%;
    background-image: url(../img/people.png), url(../img/bg.jpg), linear-gradient(180deg, rgba(91, 203, 252, 1) 0%, rgba(91, 203, 252, 1) 20%, rgba(243, 199, 150, 1) 20%, rgba(243, 199, 150, 1) 100%);
  }
  
  .oym_outline {
    width: 95%;
    padding: 16px;
  }
  .oym_comment {
    align-items: flex-start;
  }
  .oym_comment>div:last-of-type {padding: 16px;}
  .oym_outline p:first-of-type,
  .oym_comment>div:last-of-type>p:first-of-type{font-size: 1em;}
  
  .oym_content p{font-size: 0.875em;}
  
}
