/*
Theme Name: osakanight
Template: habakiri
*/

body {
  color: #e8e8e8;
  font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* .container{
	max-width:1160px; 
} */

.btn {
  background: none;
  color: #fff;
  border: 0;
}

.btn:hover {
  color: #04a69b;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 30px;
  color: #fff;
}

a:focus,
a:active,
a:hover {
  color: #fff;
}

.mt_60 {
  margin-top: 60px;
}

.container {
  width: 100%;
  max-width: 1400px;
}

/* 文字 */

h1.entry__title {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-shadow: 0 0 8px #1a1a1a;
}

h3.subpage_h3 {
  border-left: 4px solid #3c59c5;
  padding-left: 1em;
  font-size: 18px;
}

h3.mt_30 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.pl_1 {
  padding-left: 1em;
}

/* パンくず */

.breadcrumbs {
  margin-top: 20px;
  color: #fff;
}

.breadcrumbs a:active,
.breadcrumbs a:hover,
.breadcrumbs a:link,
.breadcrumbs a:visited {
  color: #fff;
}

/* button */

button.btn.btn-default {
  border: 1px solid;
}

.header {
  /* 	position:absolute; */
  background-color: #c1c1c100 !important;
  width: 100%;
}

/*news*/

#news_list {
  padding: 60px 0;
}

#news_list .news_list_head {
  overflow: auto;
}

#news_list .news_list_head:after {
  display: block;
  clear: both;
}

#news_list .news_list_head h2 {
  float: left;
  margin-bottom: 30px;
}

#news_list .news_list_head a {
  float: right;
}

.panel {
  background: none;
  border: none;
  outline: 1px solid #000;
  transition: all 0.3s;
}

.panel:hover {
  outline: 1px solid #ccc;
}

.panel .panel-image {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-title > a {
  color: #fff;
}

.panel-header {
  padding: 1em;
  padding-bottom: 0;
  min-height: 120px;
}

.panel-footer {
  border-top: 0;
  padding-top: 0;
}

.panel-header,
.panel-footer {
  overflow: auto;
  background: #1a1a1a;
}

.news_sub {
  color: #04a69b;
}

.panel .panel-footer .btn {
  float: right;
}

/* blog */

#blog_list {
  padding: 60px 0;
  background: #222;
}

#blog_list .blog_list_head {
  overflow: auto;
}

#blog_list .blog_list_head:after {
  display: block;
  clear: both;
}

#blog_list .blog_list_head h2 {
  float: left;
  margin-bottom: 30px;
}

#blog_list .blog_list_head a {
  float: right;
}

.blog_sub {
  color: #04a69b;
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: rgba(0, 0, 0, 0);
}

/*リンク*/

#main_contents {
  padding: 60px 0;
  background: #1a1a1a;
  text-align: center;
}

#main_contents .night_link {
  background: url(https://osakanight.com/wp-content/uploads/2020/12/slide1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 130%;
  transition: all 0.3s;
  aspect-ratio: 4/3;
}

#main_contents .skyscraper_link {
  background: url(https://osakanight.com/wp-content/uploads/2020/12/slide2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 130%;
  transition: all 0.3s;
  aspect-ratio: 4/3;
  position: relative;
}

#main_contents .night_link:hover,
#main_contents .skyscraper_link:hover {
  background-size: 150%;
}

#main_contents h3 {
  padding: 20px;
  border: 1px solid #fafafa;
  background-color: #0000005e;
  width: 90%;
}

#main_contents h3 span {
  display: block;
  font-size: 14px;
  margin-top: 10px;
}

#main_contents a {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main_contents .night_link:hover h3,
#main_contents .skyscraper_link:hover h3 {
  background: #000;
  color: #fff;
}

#main_contents.night_link:hover a,
#main_contents .skyscraper_link:hover a {
  color: #fff;
}

#main_contents .xmas_link {
  padding-top: 60px;
}

/*本の宣伝*/

#books {
  padding: 60px 0;
  padding-bottom: 0;
}

#books img {
  height: 250px;
}

#books button {
  width: 100%;
  transition: all 0.3s;
}

#books .books_title {
  background: #333;
}

/* タブ */

.nav-tabs {
  border-bottom: 1px solid #1b1464;
}

.nav-tabs > li {
  width: 50%;
  text-align: center;
}

.nav-tabs > li > a {
  color: #fff;
  font-weight: bold;
}

.navbar-default {
  background-color: #0d0935;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover,
.nav > li > a:focus,
.nav > li > a:hover {
  background: #1b1464;
  background-image: url(https://osakanight.com/wp-content/themes/osakanight/images/midashi_icon.png);
  background-repeat: no-repeat;
  background-position: right;
  border: 0;
  border-bottom: 1px solid #1b1464;
  color: #fff;
}

/* footer */

.footer-widget-area {
  font-size: 13px;
  padding-bottom: 0;
}

.f_menu {
  overflow: auto;
  padding: 0;
  margin: 0;
}

.f_menu li {
  list-style: none;
  float: left;
  display: inline-block;
  padding: 0;
  padding-right: 10px;
}

.youtube_wrap {
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid #333;
}

.twilink {
  width: 100%;
  margin-top: 15px;
}

.btn:hover {
  color: #fff;
}

.btn-default.active,
.btn-default.focus,
.btn-default:active,
.btn-default:focus,
.btn-default:hover,
.open > .btn-default.dropdown-toggle {
  background: #ffffff61;
}

/* footer */

.footer {
  background-color: #000;
  margin-top: 60px;
}

.copyright {
  background: url(https://osakanight.com/wp-content/themes/osakanight/images/foot_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  padding-top: 140px;
  padding-bottom: 30px;
  color: #fff;
  text-align: center;
}

.footer_wrap {
  overflow: auto;
  margin-bottom: 15px;
}

/* 下層ページ共通 */

.adsence_wrap {
  padding: 60px 0;
}

#main {
  margin-bottom: 0;
}

#contents .sub-page-contents {
  padding-top: 0;
}

.subpage_head_wrap {
  max-width: 1160px;
  margin: 0 auto;
  text-align: left;
}

.subpage_head {
  padding: 120px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* footer */

/* footer .col-md-6{
	width: 70% !important;
} */

/* お問合せフォーム */

.wpcf7 table {
  width: 100%;
}

.wpcf7 th,
.wpcf7 td {
  border: 0;
  margin: 10px 0;
  padding: 15px 0;
}

.wpcf7 th {
  width: 20%;
}

.wpcf7 td {
  width: 80%;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  width: 100%;
  color: #333;
}

input[type="submit"] {
  width: 100%;
  color: #fff;
  background: none;
  border: 1px solid #fff;
  padding: 10px 0;
  font-weight: bold;
  border-radius: 4px;
  font-size: 16px;
}

input[type="submit"]:hover {
  background: #fff;
  color: #333;
}

div.wpcf7-mail-sent-ok {
  order: 0;
  background: #14188f;
  padding: 10px 0;
  text-align: center;
  font-size: 1.2em;
}

@media (max-width: 375px) {
  .wpcf7 th,
  .wpcf7 td {
    width: 100%;
    display: block;
  }
}

/* レスポンシブ */

@media screen and (max-width: 960px) {
  #books img {
    margin-top: 30px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  #main_contents {
    padding: 0 15px;
  }
  #main_contents .skyscraper_link {
    margin-top: 10px;
  }
  #main_contents .xmas_link {
    padding-top: 10px;
  }
  #main_contents h3 {
    margin: 100px 0;
  }
  /* footer */
  footer .ads {
    margin-top: 30px;
    display: none;
  }
}

.pagetop {
  position: fixed;
  right: 5%;
  bottom: 5%;
  text-indent: -9999px;
  margin: 0;
  display: block;
  width: 40px;
  height: 40px;
  background: #1b1464;
  transition: opacity 0.6s ease;
}

.pagetop:hover {
  opacity: 0.3;
}

.pagetop::before {
  position: absolute;
  top: 7px;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  content: "";
  transform: rotate(-45deg);
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}
