/*
Template:surfing
Theme Name:SURFING_child
Theme URI:https://suprieve.com/
Description:SURFING の子テーマです
Author:Suprieve株式会社
Version:1.0
*/

.side_widget_surfing_post_ranking_widget .list li p {
  line-height: 1.4;
  overflow: hidden;
}
.side_widget_surfing_post_ranking_widget .list li p strong {
  display: block;
}

/* 20170412 Google AdSence 追加 */
.ads-pc-top {
  text-align: center;
  margin: 0px 0 10px;
}
.ads-pc-bottom {
  text-align: center;
  padding: 0;
  font-size: 0;
}
.ads-pc-bottom.article-in {
  margin: 20px 0 15px 0;
}
.ads-pc-bottom.article-out {
  margin: 0 0 10px 0;
}
.ads-pc-bottom > div {
  display: inline-block;
  margin: 0 10px;
}

.ads-pad-bottom {
  margin: 20px 0 10px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .ads-sp-top {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }
  .ads-pc-bottom > div {
    display: block;
    margin: 10px 0px;
  }
  .ads-sp-bottom {
    margin-top: 20px;
    text-align: center;
  }
}

#other_article ul li .linkarea div,
#recommend ul li .linkarea div {
  padding-top: 0 !important;
}

@media only screen and (max-width: 768px) {
  #other_article ul li .linkarea a,
  #recommend ul li .linkarea a {
    margin-right: 30px !important;
  }
}

.copy {
  font-size: 8pt;
  color: gray;
}

p + .copy {
  margin-top: -20px;
}

#sp_bn {
  z-index: 9999 !important;
}

/* MACHICON PAGE */

/* #machicon-header {
	margin-bottom: 15px;
}

#machicon-header .page-title {
	font-size: 28px;
    margin: 20px 0 15px;
} */

#machicon-filter {
  padding: 15px;
  margin-bottom: 20px;
  background-color: #e3e3e3;
  border: 1px solid #bdbdbd;
}

#machiconSearchform {
  display: flex;
  align-items: center;
  justify-content: center;
}

#machiconSearchform label {
  display: block;
  flex: 0 0 100px;
}

#machiconSearchform input {
  width: 100%;
  /* margin: 0 15px; */
  height: 40px;
  border-radius: 5px;
  padding: 0 15px;
  border: 1px solid #bdbdbd;
}

#machiconSearchform button {
  flex: 0 0 85px;
  margin-left: 10px;
  height: 40px;
  border-radius: 5px;
  background-color: #ff77b2;
  color: #fff;
  border: none;
  font-size: 16px;
}

#machiconSearchform button:hover {
  opacity: 0.8;
  cursor: pointer;
}

#machicon-pref {
  margin-top: 15px;
  display: flex;
}

#machicon-pref label {
  display: block;
  flex: 0 0 100px;
}

#machicon-pref .ref-list li {
  float: left;
  margin-right: 25px;
}

#machicon-pref .ref-list li a.active {
  font-weight: bold;
  color: #ff77b2;
  text-decoration: underline;
}

#machicon-pref .ref-list li:last-child {
  margin-right: 0;
}

h1.machicon-page-title {
  font-size: 24px;
  padding: 10px 0 20px 10px;
  position: relative;
}

h1.machicon-page-title::before {
  position: absolute;
  content: "";
  width: 3px;
  height: 26px;
  background: #0199c8;
  top: 10px;
  left: 0;
}

#machicon-calendar {
  margin: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#machicon-calendar .mc-calendar {
  flex: 0 0 calc(50% - 8px);
  background: #f2f2f2;
}

#machicon-calendar table.calendar {
  width: 100%;
}

#machicon-calendar caption {
  font-weight: bold;
  padding: 8px 0;
  background: #e3e3e3;
  border: 1px solid #bdbdbd;
  border-bottom: none;
}

#machicon-calendar caption a {
  color: #0199c8;
}

#machicon-calendar caption a:hover {
  color: #ff77b2;
}

#machicon-calendar caption a .fa {
  margin-right: 4px;
}

#machicon-calendar table.calendar tr td,
#machicon-calendar table.calendar tr th {
  border: 1px solid #bdbdbd;
  height: 32px;
  text-align: center;
  vertical-align: middle;
}

#machicon-calendar table.calendar tr td a {
  display: block;
  height: 30px;
  line-height: 30px;
}

#machicon-calendar table.calendar tr th:first-child {
  color: #f30;
}

#machicon-calendar table.calendar tr td {
  background-color: #fff;
}

#machicon-calendar table.calendar tr td:first-child,
#machicon-calendar table.calendar tr td.holiday {
  background-color: #fff5f2;
}

#machicon-calendar table.calendar tr td:last-child {
  background-color: #f3f9fd;
}

#machicon-calendar table.calendar tr td.today {
  background-color: yellow;
}

#machicon-calendar table.calendar tr td:hover {
  background-color: #fe814d;
}

#machicon-calendar table.calendar tr td:hover a {
  color: #fff;
}

#machicon-calendar table.calendar tr td.blank {
  background-color: #fff !important;
}

#machicon-calendar table.calendar tr td.selected {
  background-color: #fe814d !important;
}

.machicon-item {
  padding: 20px;
}

.machicon-item .machicon-item__header h3 {
  padding: 0;
  border: none !important;
  margin-bottom: 15px !important;
  line-height: 1.4;
}

.machicon-item .machicon-item__header h3 a:hover {
  text-decoration: none !important;
}

.machicon-item .machicon-item__header h3 a::after {
  display: none !important;
}

.machicon-item .machicon-desc {
  overflow: hidden;
  margin-bottom: 0;
}

.machicon-item .machicon-desc p.excerpt {
  line-height: 1.8;
  margin-bottom: 0;
}

.machicon-item .machicon-desc p.excerpt span.more {
  display: inline-block;
}

.machicon-item .machicon-desc p.excerpt span.more a {
  color: #0199c8;
  text-decoration: none !important;
}

.machicon-item .machicon-desc p.excerpt span.more a:hover {
  color: #ff77b2;
}

.machicon-item .machicon-desc p.excerpt span.more a::after {
  display: none !important;
}

.machicon-item .machicon-desc .machicon-desc__img {
  float: left;
  margin-right: 30px;
}

.machicon-item .machicon-item__footer p {
  margin-bottom: 0;
}

.machicon-item .machicon-item__footer p label {
  display: inline-block;
  color: #ed7a86;
}

.machicon-item .machicon-item__footer .register {
  text-align: center;
  margin-top: 30px;
}

.machicon-item .machicon-item__footer .register .btn-red {
  display: inline-block;
  padding: 18px 100px 15px;
  background-color: #ed7a86;
  border: 0;
  border-bottom: 3px solid #d26374;
  border-radius: 4px;
  color: #fff !important;
  font-weight: bold;
  font-size: 20px;
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
}

.machicon-item .machicon-item__footer .register .btn-red:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

.machicon-item .machicon-item__footer a.pref-link {
  color: #0199c8;
}

.machicon-item .machicon-item__footer a.pref-link:hover {
  color: #ff77b2;
}

#machicon-clear-btn {
  text-align: center;
  margin: 40px auto 64px;
}
#machicon-clear-btn > a {
  padding: 16px;
  border-radius: 5px;
  height: 40px;
  border-radius: 5px;
  background-color: #ff77b2;
  color: #fff;
  border: none;
}
#machicon-clear-btn > a:hover {
  text-decoration: none;
  color: #fff !important;
  opacity: 0.8;
}

@media (max-width: 600px) {
  #machiconSearchform button {
    flex: 0 0 60px;
  }
  .machicon-item .machicon-desc .machicon-desc__img {
    float: none;
    margin: 0 0 15px;
  }

  .machicon-item .machicon-desc .machicon-desc__img img {
    width: 100%;
    height: auto;
  }

  .machicon-item .machicon-item__footer .register .btn-red {
    padding: 25px;
    padding: 25px;
  }

  #machicon-filter {
    margin: 15px 10px 10px;
  }

  #machicon-calendar {
    flex-flow: column;
    padding: 0 10px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  #machicon-calendar .mc-calendar {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* fix images scaled in post ranking widget */
.side_widget_surfing_post_ranking_widget .list li img {
  height: auto !important;
}

.navbar-search {
  display: none;
  visibility: hidden;
}

@media (max-width: 600px) {
  .navbar-search {
    display: block;
    visibility: visible;
    position: absolute;
    transform: scale(0.75);
    right: 8px;
    z-index: 9999 !important;
    width: 210px !important;
  }
  .navbar-search input {
    width: 125px !important;
  }
}

/* custom header */

#header {
  min-height: auto !important;
  overflow: visible !important;
}
#global_nav {
  border-top: none !important;
}
#global_nav ul.ftrList {
  width: auto !important;
}
.slim #header {
  max-width: none !important;
  width: auto !important;
  float: none !important;
}
.slim #global_nav {
  width: auto !important;
  padding-bottom: 0 !important;
}
#sp_bn {
  top: 5px !important;
}
#header h1.text, #header span.text,
.slim #header h1.text, .slim #header span.text {
  font-size: 24px !important;
  margin: 8px !important;
}
.slim #global_nav ul.ftrList>li {
  padding: 15px 0 10px !important;
}
.slim #global_nav ul.ftrList {
  margin: 0 !important;
}

.side_widget {
  z-index: 0 !important;
}


.header--fixed {
  position: fixed !important;
  z-index: 10;
  right: 0;
  left: 0;
  top: 0;
}
.headroom {
  will-change: transform;
  transition: transform 200ms linear;
}
.headroom--pinned {
  transform: translateY(0%);
}
.headroom--unpinned {
  transform: translateY(-100%);
}

@media only screen and (max-width: 768px) {
  .sb-site {
    padding-top: 45px;
  }
  #header {
    margin: 0 auto !important;
  }
}