@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@300;400;500&display=swap&family=Shippori+Mincho&family=Zen+Kaku+Gothic+New:wght@400;500&display=swap"');


body{
  background:#000;
  color:#FFF;
  font-size: 14px;
  line-height: 180%;
  font-family: 'Noto Sans JP', sans-serif;
}



h2{
  text-align:center;
  font-weight:bold;
  font-size:120%;
  margin: 25px 10px;
}

header{
  padding:20px 0px;
}

header #logo{
  height:34px;
}

.btn-pink{
  border:2px solid #dd586d;
  background:#dd586d;
  color:#FFF;
  font-size:120%;
  display:block;
}

.btn-pink:hover{
  color:#dd586d;
  background:#FFF;
}

.btn-white{
  border:1px solid #FFFFFF;
  color:#FFF;
  font-size:120%;
  display:block;
  margin-bottom: 15px;
}
.btn-white:hover{
  color:#000;
  background:#FFF;
}


.btn-male{
  border:2px solid #29ABE2;
  background:#29ABE2;
  color:#FFF;
  display:block;
  font-size:120%;
}
.btn-male:hover{
  color:#29ABE2;
  background:#FFF;
}

.btn-female{
  border:2px solid #C1272D;
  background:#C1272D;
  color:#FFF;
  display:block;
  font-size:120%;
}
.btn-female:hover{
  color:#C1272D;
  background:#FFF;
}


label.optional,
label.required{
  display:block;
  margin-bottom:8px;
  color:#808080;
}

label.required{
  position:relative;
}

label.required:after{
  content:"必須";
  display:inline-block;
  line-height:1;
  padding:4px 10px;
  background:#ED1C24;
  border-radius:5px;
  color:#FFF;
  font-size:90%;
  position:absolute;
  right:0%;
  top: 50%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
}


.textbox{
  background:#FFF;
  color:#808080;
  padding:10px;
  max-height:100px;
  overflow-y:scroll;
}

.confirm_input{
  background:#FFF;
  color:#000;
  padding:10px;
  border-radius: .375rem;
}

.pageheader{
  /*font-family: 'Noto Serif JP', serif;*/
  font-family: 'Shippori Mincho', serif; 
  background-repeat:none;
  background-size:cover;
  background-position:center; 
  text-align:center;
  padding:90px 0px;
  font-size:24px;
  font-weight:bold;
}

#matchmaking .pageheader{
  background-image:url("/img/matchmaking.png");
}

#romanticmaking .pageheader{
  background-image:url("/img/romanticmaking1.png");
}

#romanticmaking .pageheader2{
  background-image:url("/img/romanticmaking2.png");
}

.vertical_line{
  margin:30px 0px;
  height:58px;
  width:1px;
  background:#777;
}


.menu-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}


#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #dd586d;
    transition: all 0.5s;/*アニメーション設定*/
}

.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 75%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}


#menu-btn-check:checked ~ .menu-content {
    left: 25%;/*メニューを画面内へ*/
}


.video {
  max-height:100vh;
  width: 100%;
 /* aspect-ratio: 9 / 16;*/
}


.video video {
    width: 46%;
    height: 100%;
    text-align: center;
    margin: 0 27%;
}

#top{
  position:relative;
}
#top #toptop{
  position:absolute;
  left:0;
  top:0;
  width:100%;
}
#top #topbottom{
  position:absolute;
  left:0;
  bottom:-70px;
  right:0;
  width:100%;
}


/*規約追加*/


#terms h3 {
  font-size: 115%;
  margin: 20px 0 10px 0;
}

#terms ul li {
}

#terms,#privacypolicy  {
  font-size: 14px;
}



#terms ol, ul {
  padding-left: 1rem!important;
}

#terms li {
  list-style-type: none;
}

#terms li::before {
  position: relative;
  top: -2px;
  left: -10px;
 
  display: inline-block;
 
  width: 3px;
  height: 3px;
 
  content: '';
 
  border-radius: 100%;
  background: #fff;
}

#matchmaking table {
  font-size: 14px;
}

.topcatch {
/*font-family: 'Noto Serif JP', serif;*/
  font-family: 'Shippori Mincho', serif;   
  font-size: 180%;
  font-weight: 300;
  margin: 10px 10px 0;
  padding-bottom: 0px;
  line-height: 140%;
  letter-spacing: 0.07em;
}

.topcatch span {
  font-size: 80%;
}

.about_bt {
  font-size: 80%;
}


.treat_tag{
  display:inline-block;
  background:#eee;
  border:1px solid #aaa;
  border-radius:3px;
  color:#333;
  padding:3px 10px;
}

.small, small {
    font-size: .75em;
}

@media screen and (max-width:1200px){
.video video {
    width: 60%;
    height: 100%;
    text-align: center;
    margin: 0 20%;
}
}

@media screen and (max-width:800px){
.video video {
    width: 70%;
    height: 100%;
    text-align: center;
    margin: 0 15%;
}
}

@media screen and (max-width:500px){
.video video {
  width: 100%;
  height: 100%;
    text-align: center;
    margin: 0;  
}
}