@charset "utf-8";
/* CSS Document */

/* ヘッダー見出しの文字色 */
div#header h1 a {
  color: #06c;
}

/* ヘッダー見出しの文字色（マウスオーバー時） */
div#header h1 a:hover {
  color: #09f;
}

/* ヘッダー説明文の文字色 */
div#header p {
  color: #666;
}

/* Landscape phones and down */
@media (max-width: 480px) {
  body {
    background-image: none !important;
  }
  div.row img {
    display: inline-block;
    float: none !important;
  }
  ul#global_menu {
    display: none;
  }
  .display_sp {
    display: inline-block;
  }
  .display_pc {
    display: none;
  }
}
@media (max-width: 767px) {
  ul#global_menu {
    display: none;
  }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) {
  div#header {
    height: 200px;
    padding: 0.5em;
    margin: 1em 0;
  }
  div.container {
    width: 900px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
  }
  div#socialbuttons {
    overflow: hidden;
    clear: both;
  }
  div#socialbuttons > div {
    float: left;
  }
  .display_sp {
    display: none;
  }
  .display_pc {
    display: inline-block;
  }
}

div#header h1 {
  margin: 0;
}

div.container {
  background: #fff;
}

ul#global_menu {
  padding: 0;
}

ul#global_menu li {
  font-size: 12px;
  width: 16.28%;
  display: inline-block;
  text-align: center;
  border: 1px solid #666;
  background: #ccc;
}

ul#global_menu li a {
  display: block;
  padding: 5px;
}

div#contents h3 {
  padding: 0.5em;
  background: #ccc;
  clear: both;
  margin: 1em 0;
}

div#contents p {
}

.breadcrumb > li + li:before {
  content: none;
}

/* ===== ランキング項目 装飾強化 2026-09-18 ===== */
#contents h3 {
  background: linear-gradient(135deg, #0f8f6b, #4bc79a);
  color: #fff;
  font-size: 1.15em;
  padding: 0.8em 1em;
  border-radius: 8px 8px 0 0;
  margin: 2.2em 0 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#contents h3 + p,
#contents h3 + p + p,
#contents h3 + p + p + p {
  background: #f4fbf8;
  padding: 0.9em 1.2em;
  margin: 0;
  border-left: 4px solid #0f8f6b;
  border-right: 1px solid #dcece4;
  line-height: 1.8;
}
#contents h3 + p + p + p {
  border-radius: 0 0 8px 8px;
  border-bottom: 1px solid #dcece4;
  padding-bottom: 1.2em;
  margin-bottom: 0.5em;
}

/* 2026-09-18 ヘッダー写真の可読性向上 */
div#header { position: relative; }
div#header h1 {
  display: inline-block;
  background: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 8px;
  margin: 10px 0 6px;
}
div#header h1 a {
  color: #045fa8 !important;
}
div#header p {
  display: inline-block;
  background: rgba(255,255,255,0.8);
  padding: 4px 12px;
  border-radius: 6px;
  color: #333 !important;
  margin: 0 0 10px;
}