body {
    font-size: 16px;
    font-family: 'Roboto', helvetica, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', sans-serif;
    font-weight: 300;
    background-color: #f9f9f9;
}

@media (min-width: 1200px) {
  .container {
    width: 1000px;
  }
}

h2 {
    margin-bottom: 12px;
    font-weight: 400;
}

h3 {
    display: inline-block;
    font-size: 30px;
}

h4 {
    font-size: 20px;
}

.box {
  width: 200px; height: 300px;
  position: relative;
  border: 1px solid #BBB;
  background: #EEE;
}
.ribbon {
  position: absolute;
  left: 10px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-shadow: 0.5px 0.5px #000;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #ffbb00;
  /*background: linear-gradient(#9BC90D 0%, #79A70A 100%);*/
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; left: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #ffbb00;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #ffbb00;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #ffbb00;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #ffbb00;
}
.navbar {
    padding-bottom: 5px;
    border-bottom: black solid 2px;
    background-color: white;
    margin: 0;
    border-radius: 0;
}

.navbar a {
    color: black;
}

#navbar-title {
    font-size: 30px;
    color: hotpink;
}

#navbar-catch {
    color: #000;
    margin-top: 75px;
    font-size: 15px;
}

.navbar-brand {
    background: url("../img/logo3.png") center no-repeat;
    background-size: contain;
    width: 280px;
    height: 60px;
    margin-top: 13px;
}

#about-title {
    display: inline-block;
    text-shadow: 1px 1px rgba(255, 105, 180, 0.63);
    color: hotpink;
}

#main-nav {
    margin-top: -26px;
}

#main-nav a {
    font-size: 23px;
    letter-spacing: 2px;
    padding: 5px 15px;
}

#main-nav a:hover {
    color: hotpink;
}

#main-nav li:not(:last-child) {
    border-right: #ccc solid 1px;
}

.social-nav {
    display: flex;
    width: 230px;
    justify-content: center;
    align-content: center;
}

.social-nav li {
    width: 110px;
}

.social-nav > div {
    flex: 1;
}

.news-section .social-nav {
    margin-bottom: 15px;
}

.news-section .twitter-share-button-rendered {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .social-nav {
        margin-bottom: 20px;
    }
}

#navbar .fb-like {
    padding: 15px 0;
}

#navbar .twitter-share-button-rendered,#navbar .hatena-bookmark-button-frame {
    margin-top: 17px;
    margin-left: auto;
    margin-right: auto;
}

.title-icon {
    transform: scale(0.6);
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
    padding-top: 13px;
    margin-right: -2px;
}

@keyframes lock {
    0% {top: -25px; left: 25px; transform: rotateY(180deg)}
    75% {top: -25px; left: 7px; transform: rotateY(0deg)}
    100% {top: -19px; left: 7px; transform: rotatey(0deg)}
}

.lock-bar {
    position: relative;
    background: url("../img/lock_bar.png") center no-repeat;
    background-size: contain;
    width: 26px;
    height: 26px;
    top: -25px;
    left: 25px;
    transform: rotateY(180deg);
}

.lock-bar.locked {
    animation: lock 2.0s;
    animation-fill-mode: forwards;
}

.lock-base {
    background: url("../img/lock_base.png") center no-repeat;
    background-size: contain;
    width: 40px;
    height: 29px;
    margin-top: 16px;
}

.subtitle {
    font-size: 20px;
}

@media (max-width: 768px) {
    .page-heading {
        background: url("../img/bg27_narrow.jpg") center no-repeat;
        background-size: cover;
    }
}

@media (min-width: 768px) {
    .page-heading {
        background: url("../img/bg27_wide.jpg") center no-repeat;
        background-size: cover;
    }
}

.page-heading-background {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 0 20px 20px 20px;
    color: #fff;
}

@media (max-width: 768px) {
    .page-heading-background {
        background-color: rgba(0, 0, 0, 0.9);
    }
}

.page-heading p,.news-article p {
    line-height: 33px;
    font-size: 19px;
}

.news-article p {
    margin-bottom: 25px;
}

#ctf-explanation {
    color: #eee;
    font-size: 18px;
}

.heading {
    padding-top: 15px;
    margin-bottom: 10px;
}

.linkable-panel-hovered {
    border: hotpink solid 1px;
    cursor: pointer;
}

.news-panels .panel {
    height: 530px;
}

.news-content {
    margin-top: 10px;
}

.news-content p {
    line-height: 25px;
    font-size: 16px;
}

.news-date {
    margin-bottom: 10px;
}

.news-title {
    font-size: 21px;
    display: inline-block;
    margin-bottom: 10px;
    border-left: 6px solid hotpink;
    padding-left: 14px;
}

.keyword {
    color: hotpink;
}

.profile-section {
    margin-bottom: 15px;
    background-color: #ddd;
    padding: 25px 0;
}

.profile-content {
    height: 130px;
    display: flex;
    align-items: center;
}

.profile-row {
    font-size: 18px;
}

.profile-content .profile-row:first-child {
    color: hotpink;
}

.profile-image {
    width: 110px;
    height: 110px;
}

.profile-image.no-image {
    background-color: #ccc;
}

.profile-row-spacer {
    margin-top: 20px;
}

footer {
    margin-top: 60px;
    padding-top: 10px;
    border-top: lightgrey solid 1px;
    text-align: center;
    font-size: 16px;
    background-color: #000;
    color: #fff;
}

footer a, footer a:focus {
    color: #fff;
}

footer a:hover {
    color: hotpink;
}

.panel-image-label {
    position: absolute;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

.catch-panel .panel-image {
    float: left;
    height: 100%;
    width: 100%;
}

.catch-panel .panel-image img {
    height: 100%;
    width: 100%;
    border-radius: 3px 0 0 3px;
}

.catch-panel .panel-body {
    display: inline-block;
}

.catch-panel .panel-title {
    font-size: 21px;
}

.catch-details {
    line-height: 30px;
}

.panel-top {
    border-radius: 4px 4px 0 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.reports-label {
    font-size: 21px;
    margin-top: 0;
    margin-bottom: 20px;
}

.reports-label > span {
    border-bottom: hotpink solid 2px;
}

.news-section #member-title {
    border-bottom: hotpink dotted 2px;
}

.reports-label::before {
    content: "\25cf";
    color: hotpink;
    margin-right: 5px;
    margin-left: 8px;
}

.news-section {
    background-color: #fff;
    font-size: 18px;
    margin-top: 30px;
    padding: 10px 50px 40px 50px;
}

@media (max-width: 768px) {
    .news-section {
        padding: 10px 20px 15px 20px;
    }
}

.info-table td:first-child {
    color: hotpink;
    font-weight: bold;
}

#map-button {
    margin-left: 20px;
}

.btn-pink {
  background-color: hsl(320, 80%, 62%) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f07eca", endColorstr="#eb50b7");
  background-image: -khtml-gradient(linear, left top, left bottom, from(#f07eca), to(#eb50b7));
  background-image: -moz-linear-gradient(top, #f07eca, #eb50b7);
  background-image: -ms-linear-gradient(top, #f07eca, #eb50b7);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f07eca), color-stop(100%, #eb50b7));
  background-image: -webkit-linear-gradient(top, #f07eca, #eb50b7);
  background-image: -o-linear-gradient(top, #f07eca, #eb50b7);
  background-image: linear-gradient(#f07eca, #eb50b7);
  border-color: #eb50b7 #eb50b7 hsl(320, 80%, 59.5%);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.16);
  -webkit-font-smoothing: antialiased;
}

.btn-black {
  background-color: hsl(0, 0%, 16%) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5b5b5b", endColorstr="#282828");
  background-image: -khtml-gradient(linear, left top, left bottom, from(#5b5b5b), to(#282828));
  background-image: -moz-linear-gradient(top, #5b5b5b, #282828);
  background-image: -ms-linear-gradient(top, #5b5b5b, #282828);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5b5b5b), color-stop(100%, #282828));
  background-image: -webkit-linear-gradient(top, #5b5b5b, #282828);
  background-image: -o-linear-gradient(top, #5b5b5b, #282828);
  background-image: linear-gradient(#5b5b5b, #282828);
  border-color: #282828 #282828 hsl(0, 0%, 11%);
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
  -webkit-font-smoothing: antialiased;
}

.contact-row {
    padding-bottom: 20px;
    border-bottom: #eee 2px solid;
}

.buttons-comment {
    margin-top: 10px;
}


.news-article p,.news-article li {
    line-height: 30px;
}

.news-article img {
    margin-bottom: 15px;
}

.news-article .img-caption {
    color: #555;
    font-size: 90%;
    font-style: italic;
}
