/**
 * Theme Name:Video GoGo2
 * Description:Fanzaから動画を取得投稿するテーマシステム
 * Author:Kanaeru Web
 * Version:3.1.5
 */

html {
  font-size: 62.5%;
}

body {
  font-size: 16px;
  font-size: 1.6rem;
  min-width: 300px;
}

html,
body {
  color: #444;
  font-family: "M PLUS Rounded 1c", sans-serif;
  background-color: #fff;
  word-break: break-all;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a:link {
  color: #555;
  text-decoration: none;
}

a:visited {
  color: #555;
}

a:hover {
  color: #777;
}

a:active {
  color: #777;
}

/* bootstrap reset */
.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

a.btn {
  font-size: 14px;
  font-size: 1.4rem;
}

/* rayout */
#page-container {
  display: flex;
  width: 100%;
}

#main-content,
#main-content-single {
  width: 100%;
}

@media screen and (min-width: 992px) {
  header {
    margin: 20px auto 50px;
  }

  #page-nav {
    width: 240px;
    height: 100%;
    padding: 0 20px;
    position: fixed;
    border-right: 0.8px solid #ddd;
    overflow-y: scroll;
  }

  #main-content,
  #main-content-single {
    margin-left: 240px;
    padding: 20px;
    flex: 1;
    width: 100%;
  }
}

@media screen and (min-width: 1400px) {
  #content-wrap {
    display: flex;
    align-items: stretch;
  }

  #content-wrap article.video_content {
    margin-right: 30px;
    flex: 1;
  }

  #side {
    width: 300px;
  }
}

#side h3 {
  position: relative;
  width: 100%;
  margin: 20px 0;
  padding: 10px 0;
  color: #333;
  font-size: 18px;
  text-align: center;
}

#side h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  margin: 0 auto;
  text-align: center;
  background-image: -webkit-linear-gradient(
    left,
    transparent,
    #000 25%,
    #000 75%,
    transparent
  );
  background-image: linear-gradient(
    to right,
    transparent,
    #000 25%,
    #000 75%,
    transparent
  );
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 991px) {
  #header_nav header {
    padding: 1rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
  }

  #header_nav header img {
    width: auto;
    height: 50px;
  }
}

/* button */
.home_btn_link {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.home_btn_link a {
  background-color: rgb(255, 255, 255) !important;
  color: rgb(0, 0, 0) !important;
  width: 100%;
  max-width: 90%;
  border: 1px solid #ccc;
  box-shadow: 3px 3px #e9e9e9;
  font-weight: bold;
  padding: 8px 5px;
}

.home_btn_link a:hover {
  border: 1px solid rgb(235, 175, 175);
  box-shadow: 3px 3px #e9e9e9;
}

.home_btn_link a i {
  margin-right: 5px;
}

.btn-more-link {
  width: 100%;
  max-width: 90%;
  border: 1px solid #ddd;
  box-shadow: 3px 2px #f2f2f2;
  font-weight: bold;
  padding: 8px 5px;
  background-color: #f2f2f2;
}

.btn-more-link:hover {
  border: 1px solid rgb(235, 175, 175);
  box-shadow: 3px 3px #e9e9e9;
}

.btn-more-link i {
  margin-right: 5px;
}

@media screen and (min-width: 991px) {
  .home_btn_link a,
  .btn-more-link {
    width: 400px;
  }
}

/* pager */
.inner_pager {
  margin: 15px 15px 10px 15px;
  text-align: center;
}

.pagination {
  flex-direction: row;
  justify-content: center;
}

.page-link {
  padding: 0.5rem 1rem;
}

/* パンくず */
.breadcrumb {
  width: 100%;
  margin-bottom: 40px;
}

.breadcrumb > ol {
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-size: 1.4rem;
}

.breadcrumb li {
  display: inline-block;
  padding: 0 5px 0 0;
}

.breadcrumb li a {
  text-decoration: underline;
}

.breadcrumb li::after {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  font-weight: bold;
  margin-left: 10px;
}

.breadcrumb li:last-child::after {
  content: "";
}

/* main contents */
section {
  margin-bottom: 30px;
}

h1.content_title,
.area_title {
  width: calc(100% - 1px);
  font-weight: bold;
  font-size: 20px;
  font-size: 2rem;
  padding-bottom: 0.5em;
  position: relative;
  margin: 5px 0px 1.4em;
  color: #cf1d1d;
}

h1.content_title {
  padding: 1rem;
}

h1.content_title:before,
.area_title:before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #c21616 0%,
    rgba(255, 255, 255, 0) 100%
  );
  bottom: 0;
  left: 0;
  z-index: 0;
}

h1.content_title i,
.area_title i {
  margin-right: 10px;
}

.area_content {
  margin-bottom: 30px;
}

.area_content h3,
.area_content .area_title {
  width: calc(100% - 1px);
  font-weight: bold;
  font-size: 24px;
  font-size: 2.4rem;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
  color: #cf1d1d;
}

.area_content h3:before,
.area_content .area_title:before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #c21616 0%,
    rgba(255, 255, 255, 0) 100%
  );
  bottom: 0;
  left: 0;
  z-index: 0;
}

.area_content h3 i,
.area_content .area_title i {
  margin-right: 5px;
}

/* post_item */
.post_item {
  margin-bottom: 2em;
}

.item_link {
  display: block;
  max-width: 147px;
  margin: auto;
}

figure.item_figure {
  margin-bottom: 0.75rem;
}

figure.item_figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 147/200;
}

.item_title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.8rem;
}

.item_title a {
  color: #333;
}

@media screen and (min-width: 1601px) {
  .post_item {
    width: 10%;
  }
}

@media screen and (min-width: 1301px) and (max-width: 1600px) {
  .post_item {
    width: 12.5%;
  }
}

.image_in {
  box-shadow: 2px 2px 2px #ccc;
}

/* index only post_item */
@media screen and (min-width: 1301px) and (max-width: 1600px) {
  .top_item .post_item:nth-child(n + 9) {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1300px) {
  .top_item .post_item:nth-child(n + 7) {
    display: none;
  }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
  .top_item .post_item:nth-child(n + 5) {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  .top_item .post_item:nth-child(n + 4),
  .top_item .act_item:nth-child(n + 17) {
    display: none;
  }
}

/* series */
.series_name {
  font-weight: bold;
}

.series_cnt {
  font-size: 12px;
  font-size: 1.2rem;
  text-align: center;
}

.nav-link a.btn {
  min-width: 120px;
  font-weight: bold;
  color: #fff;
}

/* actress */
.act_item {
  margin-bottom: 20px;
}

.act_link {
  display: block;
  max-width: 125px;
  margin: auto;
}

figure.act_img {
  margin-bottom: 5px;
  box-shadow: 2px 2px 2px #ccc;
}

figure.act_img .act_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1/1;
}

.act_name {
  text-align: center;
  font-size: 12px;
  font-size: 1.2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media only screen and (min-width: 1400px) {
  .act_item {
    width: 10%;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1399px) {
  .act_item {
    width: 12.5%;
  }
}

/* 女優リスト */
#gojyuon {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 200px;
  gap: 4px;
  margin-bottom: 2rem;
  max-width: 460px;
}

#gojyuon .btn {
  font-weight: bold;
}

#gojyuon .btn.btn-danger {
  color: #fff;
}

@media screen and (max-width: 420px) {
  .gojyuon_item:nth-child(-n + 5) {
    margin-right: 10px;
  }
}

h2.act_list {
  font-size: 20px;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 1px double #c21616;
  color: #c21616;
  margin-bottom: 2rem;
}

/* 固定ページ */
.page_post_content {
  max-width: 1200px;
  margin: auto;
}

.page_post_content h1 {
  width: calc(100% - 60px);
  font-weight: bold;
  font-size: 24px;
  font-size: 2.4rem;
  padding-bottom: 0.5em;
  margin-bottom: 50px;
  position: relative;
}

.page_post_content h1::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #666 0%,
    rgba(255, 255, 255, 0) 100%
  );
  bottom: 0;
  left: 0;
  z-index: 0;
}

.page_post_content h2 {
  color: #333;
  font-size: 20px;
  font-size: 2rem;
  font-weight: bold;
  margin: 4rem 0 1rem;
  padding-bottom: 1rem;
}

/* 女優プロフ */
.actress_title {
  width: 100%;
  font-size: 24px;
  font-size: 2.4rem;
  font-weight: bold;
  padding-bottom: 10px;
  letter-spacing: 0.5rem;
}

.act_icon {
  width: 125px;
}

.act_icon img {
  box-shadow: 2px 2px 2px #ccc;
  border-radius: 50%;
}

#actress_prf .table {
  display: inline-block;
  width: auto;
  margin: auto;
  font-size: 14px;
  font-size: 1.4rem;
}

#actress_prf .table th {
  width: 60px;
  text-align-last: justify;
  text-justify: inter-ideograph;
}

#actress_prf .table td {
  text-align: left;
}

@media only screen and (min-width: 576px) {
  #actress_prf .table {
    flex: 1;
  }

  .act_icon {
    margin-right: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .actress_title {
    text-align: center;
  }

  #actress_prf {
    text-align: center;
  }

  .act_icon {
    margin: 0 auto 10px;
  }
}

/* single contents*/
#single-wrap .video_content {
  margin: 0 auto 40px;
}

#main-content-single h2 {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 3px solid #f98b8b;
  margin-bottom: 20px;
  padding: 0.5rem 1rem;
}

.post_date {
  text-align: right;
  margin-bottom: 20px;
  font-size: 12px;
  font-size: 1.2rem;
}

.post_date i {
  margin-right: 5px;
}

.post_date .last_update_date {
  margin-right: 1em;
}

.affi_link {
  margin: 40px 0;
}

.affi_link a {
  max-width: 800px;
  display: block;
  color: #fff !important;
  font-weight: bold;
  padding: 12px 8px;
  box-shadow: 2px 2px 2px #ccc;
  font-size: 16px;
  font-size: 1.6rem;
  margin: auto;
}

#jacket_image {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

#jacket_image img {
  box-shadow: 3px 3px 3px #ccc;
}

#sample_image .thumb-item {
  margin-bottom: 1rem;
}

#sample_image .thumb-img {
  width: 100%;
  height: auto;
}
@media screen and (min-width: 768px) {
  #sample_image .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    aspect-ratio: 4/3;
  }
}

#video_area {
  position: relative;
  width: 720px;
  height: 480px;
  overflow: hidden;
  margin: auto;
}

#video_area iframe {
  width: 720px;
  height: 480px;
}

@media all and (max-width: 1010px) {
  #video_area {
    position: relative;
    width: 100%;
    height: auto;
  }

  #video_area:before {
    content: "";
    display: block;
    padding-top: 66.666%;
  }

  #video_area iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content-visibility: auto;
    contain-intrinsic-size: 66.6%;
  }
}

p#text {
  max-width: 800px;
  line-height: 1.8em;
  margin: 40px auto;
}

#post_tag {
  max-width: 800px;
  margin: auto;
}

.post_tag {
  margin: 16px 0 15px 0;
}

.post_tag li {
  display: inline-block;
}

.post_tag li a {
  margin-bottom: 9px;
  color: #fff;
  padding: 8px;
}

.post_tag li a::before {
  font-size: 12px;
  font-size: 1.2rem;
  margin-right: 5px;
}

.series_tag a {
  color: #fff;
  padding: 8px;
}

.series_tag a::before {
  margin-right: 5px;
}

#video_detail .table th {
  white-space: nowrap;
  width: 80px;
  text-align-last: justify;
  text-justify: inter-ideograph;
}

#video_detail .table td a {
  text-decoration: underline;
}

.hyoka {
  display: inline-block;
}

.rating-star {
  color: #f5bc55;
  font-size: 1.8rem;
}

.rating-number {
  color: #333;
  font-size: 1.6rem;
  margin-left: 0.4rem;
  font-weight: bold;
}

#video_detail .rating-star {
  color: #f5bc55;
  font-size: 1.6rem;
}

#video_detail .rating-number {
  color: #333;
  font-size: 1.4rem;
  margin-left: 0.4rem;
}

@media only screen and (min-width: 576px) {
  .video_img {
    width: 147px;
    margin-right: 10px;
  }

  .video_info {
    flex: 1;
  }
}

.actress_list {
  overflow: hidden;
}

.actress_list li {
  display: inline-block;
  white-space: nowrap;
  margin-right: 1em;
}

.tips {
  font-size: 12px;
  font-size: 1.2rem;
  color: #ff0000;
}

/* 関連動画 */
.related_movie h3 {
  font-size: 20px;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 3px solid #f98b8b;
  margin-bottom: 20px;
  padding: 0.5rem 1rem;
}

/* footer */
footer {
  width: 100%;
  color: #666;
  padding: 0px 0 50px;
}

footer a {
  color: #000;
}

footer address {
  text-align: center;
  font-size: 12px;
  font-size: 1.2rem;
}

#page_top {
  position: fixed;
  bottom: 50px;
  right: 20px;
}

#footer_nav_menu {
  background-color: #333;
  color: #fff;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.nav_item {
  float: left;
  width: 25%;
  border-right: 1px solid #eee;
  padding: 5px 0 2px;
  text-align: center;
}

.nav_item:last-child {
  border-right: none;
}

#footer_nav_menu a {
  display: block;
  font-size: 11px;
  font-size: 1.1rem;
  color: #fff;
}

#footer_nav_menu a i {
  display: block;
  margin: 0 auto 3px;
  font-size: 16px;
}

#footer-bottom-nav {
  text-align: center;
}

#footer-bottom-nav li a {
  text-decoration: underline;
}

/* 検索ボックス */
#top_search_box {
  margin-bottom: 40px;
}

.search_box {
  width: 100%;
  position: relative;
  border: none;
  margin: 8px auto;
  padding: 0;
}

.search_box input[type="text"] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: none;
  padding: 3px 5px;
  border-radius: 3px;
  width: 100%;
  background-color: #f6f6f6;
  border: 1px solid #ccc;
  font-size: 16px;
  font-size: 1.6rem;
}

.search_button {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
}

.search_button button {
  background-color: rgba(0, 0, 0, 0);
  border: 0px solid #fff;
}

.video-meta {
  margin: 1.5rem 0;
  font-size: 16px;
  color: #444;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li {
  margin-bottom: 0.6rem;
}

.meta-label {
  font-weight: bold;
  margin-right: 0.5rem;
  color: #666;
}

.meta-list a.meta-tag {
  display: inline-block;
  background: #eee;
  color: #333;
  border-radius: 999px;
  padding: 0.2em 0.8em;
  margin-right: 0.4em;
  font-size: 0.95em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.meta-list a.meta-tag:hover {
  background: #f44336;
  color: #fff;
}

.video-detail-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.video-thumb {
  width: 140px;
}

.video-thumb img {
  width: 140px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-info-content {
  flex: 1;
}

/* モバイル：縦積み */
@media screen and (max-width: 576px) {
  .video-detail-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .video-thumb img {
    width: 160px;
    margin-bottom: 1rem;
  }

  .video-info-content {
    text-align: left;
  }
}

.video-info {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 0.8rem;
  column-gap: 1rem;
  align-items: start;
}

.video-info dt {
  font-weight: bold;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.video-info dd {
  margin: 0;
  color: #333;
}

.video-info a {
  color: #0073aa;
  text-decoration: none;
}

.video-info a:hover {
  text-decoration: underline;
}

.video_info_list {
  overflow: hidden;
}

.video_info_list li {
  display: inline-block;
  white-space: nowrap;
  margin-right: 1em;
}

.video-info dt i {
  font-size: 1.3rem;
  margin-right: 0.4rem;
  color: #555;
}
