

/* 750px未満の画面幅の場合にハンバーガーメニューを表示 */
@media screen and (max-width: 750px) {

}

/*header
---------------------------------------------------------------------------*/

.contentshead {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto
}

.menu-container {
  display: none;
  position: absolute;
  top: 100%; /* メニューをヘッダーの下に配置 */
  left: 0;
  width: 100%;
  background-color: #fff; /* メニューの背景色 */
  z-index: 2; /* メニューがヘッダーより上に表示されるように設定 */
}

.menu-container {
  /* 他のスタイル設定 */
  height: auto; /* メニューの高さを自動調整 */
  transition: height 0.3s; /* アニメーション効果を追加 */
  border: 1px solid #ccc; /* メニューにボーダーを追加 */
}

/* メニュー内のリンクスタイルを設定 */
.menu-container a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.menu-container a:hover {
  background-color: #f0f0f0;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1; /* 追加 */
  margin: 0; /* 上部の余白を削除 */
  padding: 0; /* 上部の余白を削除 */
  background: #ffffff; /* 背景色にグレーを指定 */
  box-sizing: border-box; /* padding分を含んで幅を100%にするため */
}
  
.contents-top {
  margin-top: 68px; /* ヘッダーの高さに合わせて調整 */
}

  .header-wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  }
  
  header .btn-wrap {
      display: flex;
  }
  
  header .btn-wrap a{
  display: block;
  margin: 0 15px 0 0;
  padding: 0 15px 30px 15px;
  position: relative;
  white-space: nowrap;
  font-size: 21px;
  text-decoration: none;
  color: #444;
  }
  
  header .btn-wrap a i{
  margin: 0 10px 0 0;
  color: #FF686F;
  }
  
  header .btn-wrap a.common i{
  color: #444;
  }
  
  header .btn-wrap a:last-child{
  margin: 0;
  }
  
  header .btn-wrap a:after{
  position: absolute;
  bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
  z-index: 100;
  color: #666;
  font-size: 14px;
  font-weight: bold;
  }
  
  header img.logo{
  width: 285px;
  height: 50px;
  z-index: 1;
  }
  
  .hamburger-menu{
    display: flex;
    align-items: center;
    width: 64px;
    height: 68px;
    cursor: pointer;
    z-index: 100;
  }


  
  .hamburger-menu__line{
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #ccc;
    position: relative;
    transition: all 0.5s;
  }
  
  .hamburger-menu__line::before,
  .hamburger-menu__line::after{
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #ccc;
    position: absolute;
    transition: all 0.5s;
  }
  
  .hamburger-menu__line::before{
    transform: translateY(-24px);
  }
  .hamburger-menu__line::after{
    transform: translateY(24px);
  }
  
  .hamburger-menu.open .hamburger-menu__line{
    background-color: transparent;
  }
  .hamburger-menu.open .hamburger-menu__line::before{
    transform: rotate(45deg);
  }
  .hamburger-menu.open .hamburger-menu__line::after{
    transform: rotate(-45deg);
  }
  
  /* ナビゲーション */
  .nav-sp{
    position: fixed; /* 画面をスクロールしても固定されるように修正 */
    top: 0;
    right: -60vw;
    width: 60vw;
    height: 100%;
    padding: 60px 10px 0;
    background-color: rgba(255,255,255,0.85);
    text-align: left;
    transition: right 0.5s;
    z-index: 5;
  }
  
  .nav-sp ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .nav-sp li {
      margin-bottom: 40px; /* メニュー項目の下部のマージンを追加 */
    }
    
    .nav-sp a {
      display: block;
      padding: 10px 0; /* 上下の余白を設定 */
      text-decoration: none;
      color: #333;
      font-size: 18px;
      /* 以下にメニュー項目のテキストに対して適用したいスタイルを追加 */
      font-weight: bold; /* フォントの太さ */
      text-transform: uppercase; /* テキストを大文字に変換 */
      /* 他のスタイルを追加 */
    }

    .nav-sp li a .reason-label {
      color: red; /* "理由1" の色を赤に変更 */
      font-size: 20px;
    }

    .nav-sp li a .reason-label2 {
      color: blue; 
      font-size: 20px;
    }

    .nav-sp li a .reason-label3 {
      color: #333; 
      font-size: 20px;
    }

/* 画像スタイル */
.nav-sp li a img {
  width: 400px; /* 画像の幅を調整 */
  height: 189px; /* 画像の高さを調整 */
  margin-right: 0px; /* 画像とテキストの間に余白を追加 */
  max-width: 100%; /* 画像の最大幅を親要素に合わせる */
  height: auto; /* アスペクト比を保つ */
}

  .nav-sp.open{
    right: 0;
  }
  
  html.is-fixed,html.is-fixed body {
      height: 100%;
      overflow: hidden;
    }
  
  /*fv
  ----------------------------------------------------------------------*/
  
  section.fv{
  padding: 20px 20px 0px;
  margin: 0 0 40px;
  }
  
  img.fv_image{
  width: 100%;
  margin: 0 0 20px;
  }
  
  h3.fv_carousel_h3{
  text-align: center;
  font-size: 24px;
  line-height: 1;
  margin: 0 0 10px;
  }
  
  h3.fv_carousel_h3:before{
  content: '';
  display: inline-block;
  width: 14px;
  height: 28px;
  background: url(../images/matching__h3_before.png);
  background-size: contain;
  vertical-align:bottom;
  margin: 0 10px 0 0;
  }
  
  h3.fv_carousel_h3:after{
  content: '';
  display: inline-block;
  width: 14px;
  height: 28px;
  background: url(../images/matching__h3_after.png);
  background-size: contain;
  vertical-align:bottom;
  margin: 0 0 0 10px;
  }
  
  .fv_carousel{
    display: flex;
    width: 990px;
    height: 90px;
    overflow: hidden;
  }
  
  img.fv_carousel_img{
    width: auto;
    height: 100%;
    margin: 0 10px 0 0;
  }
  
  @keyframes loop {
    0% {
      transform: translateX(100%);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  @keyframes loop2 {
    0% {
      transform: translateX(0);
    }
    to {
      transform: translateX(-200%);
    }
  }
  
  img.fv_carousel_img:first-child {
    animation: loop 50s -25s linear infinite;
  }
  
  img.fv_carousel_img:last-child {
    animation: loop2 50s linear infinite;
  }
  
  a.fv_gender_banner_wrap{
  display: inline-block;
  margin: 20px 0 0;
  }
  
  img.fv_gender_banner{
  width: 100%;
  }
  
  

/*_new
---------------------------------------------------------------------------*/

header{
  width: 100%;
  padding: 10px;
  overflow: hidden;
  }
  hamburgerinner
  
  
  
  img.logo-link{
  width: 140px;
  }
  .tablesorter-default{
  font-size: 10px;
  }
  
  #search.search-result{
  margin: 0 0 5px;
  }
  
  /*nav
  ---------------------------------------------------------------------------*/
  
  
  .hamburger-menu{
  width: 38px;
  height: 34px
  }
  
  .hamburger-menu__line:before{
  transform:translateY(-12px);
  }
  
  .hamburger-menu__line:after{
  transform: translateY(12px);
  }
  
  .nav-sp{
  width: 80vw;
  right: -80vw;
  padding: 60px 0px 0px;
  }
  
  header .btn-wrap a{
  font-size: 12px;
  padding: 0 5px 15px 10px;
  font-weight: bold;
  }
  
  header .btn-wrap a i{
  margin: 0 5px 0 0;
  }
  
  .header-wrap{
  padding: 0px 0px;
  }
  
  #question{
  padding: 0px 10px;
  margin: 0 0 30px;
  }
  
  #question h2{
  font-size: 20px;
  margin: 0 0 10px;
  }
  
  #question .title{
  font-size: 14px;
  padding: 10px 10px 10px 35px;
  }
  
  #question .title::before{
  left: 10px;
  }
  
  #question .title::after{
  left: 10px;
  }
  
  #question .box{
  padding: 10px;
  }
  
  #question .box p{
  font-size: 12px;
  }
  
  #search{
  position: relative;
  }
  
  section.result #search{
  position: relative;
  top:0px;
  padding: 20px 10px 0px;
  }
  
  section.result #search .form-wrap{
  margin: 0 0 10px;;
  padding: 0;
  }
  
  #search .form-wrap{
  padding: 0px 10px;
  margin: 0 0 20px;
  }
  
  #search h2{
  font-size: 14px;
  border-radius: 10px 10px 0px 0px;
  padding: 10px 0px;
  }
  
  #search .form-wrap form{
  padding: 15px;
  border-radius: 0 0 6px 6px;
  width: calc(100vw - 40px);
  }
  
  #search select{
  padding: 10px 10px 10px 150px;
  font-size: 14px;
  margin: 0 0 10px;
  }
  
  #search .select-wrap{
  margin: 0 0 10px;
  }
  
  #search .select-wrap:last-child{
  margin: 0;
  }
  
  #search .select-wrap:before{
  left: 15px;
  font-size: 12px;
  top: 20px;
  }
  
  
  .acd-check:checked + .acd-label + .acd-content{
  padding: 10px 0;
  height: 140px;
  }
  
  .acd-label{
  margin: 10px auto 0px;
  }
  
  .acd-content table td{
  font-size: 12px;
  padding: 10px;
  }
  
  #search input[type="submit"]{
  font-size: 14px;
  height: 40;
  margin: 10px auto 0px;
  height: 35px;
  }
  
