/* =============================================================
   theme.css
   layout.less をコンパイル・Bootstrap 5 対応版
   修正: #mbHeader/#mobilePush ブレークポイントを 769px に統一
   修正: .copyright margin-bottom の typo (10x → 10px)
   ============================================================= */

/* common setting */
html, body {
  width: 100%;
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  color: #333;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  html, body { background: none; }
}

.nav > li > a { color: #333; border-bottom: 1px solid #ebebe4; }
.nav > li > a:hover { background-color: #ebebe4; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6, pre {
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  color: #333;
}

img { border: 0; max-width: 100%; height: auto; }

.aligncenter { display: block; padding: 0; margin: 0 auto; }
.alignleft   { float: left;  margin: 0 10px 0 0; }
.alignright  { float: right; margin: 0 0 0 10px; }

ul li { list-style: none; }
.lead { font-size: 18px; line-height: 32px; }

/* =========== Bootstrap 5 overrides =========== */
a       { color: #4b4b4b; }
a:hover { text-decoration: none; color: #7f7f7f; }

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  border-left: 5px solid #F7EFE7;
}

.table > :not(caption) > * > th,
.table > :not(caption) > * > td {
  padding: 8px;
  border-top: 1px solid #EEE;
}
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #faf9f6;
}

/* Bootstrap 5: xs tier はデフォルト (col-xs-* → col-*) — xs 幅での余白調整 */
@media screen and (max-width: 767px) {
  [class^="col-"], [class*=" col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.btn-info {
  background-image: linear-gradient(to bottom, #935da3 0, #935da3 100%);
  background-repeat: repeat-x;
  border-color: #935da3;
  border: none;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
}
@media screen and (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
}

/* =========== Bootstrap 5 overrides END =========== */

/* === PC Header === */
#pcHeader {
  position: relative;
  height: 145px;
  margin: 0 auto;
  background: url(/images/header_bg.png) repeat-x top left;
}
@media screen and (max-width: 768px) {
  #pcHeader { display: none; }
}
#pcHeader .row,
#pcHeader .container { padding-left: 0; padding-right: 0; }
#pcHeader #logo { margin: 7px 0 0 10px; }
#pcHeader ul#mainNav {
  padding: 20px 0 0 0;
  margin: 0;
  list-style: none;
}
#pcHeader ul#mainNav li {
  margin: 0;
  padding: 0 65px;
  float: left;
}
@media screen and (max-width: 992px) {
  #pcHeader ul#mainNav li { padding: 0 45px; }
}
#pcHeader ul#mainNav li a       { color: #FFF; font-size: 15px; }
#pcHeader ul#mainNav li a:hover { color: #DDD; }

/* === Mobile Header (Sticky / breakpoint 統一: 769px) === */
#mbHeader {
  width: 100%;
  background: #FFF;
  padding: 5px 10px;
  border-bottom: 1px solid #CCC;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}
@media screen and (min-width: 769px) {
  #mbHeader { display: none; }
}
#mbHeader #logo  { width: 200px; }
#mbHeader button { margin: 5px 5px 0 0; }

#mobilePush { height: 70px; }
@media screen and (min-width: 769px) {
  #mobilePush { display: none; }
}

/* === Mobile Menu === */
.menuList { display: none; }
.menuList ul { width: 100%; margin-top: 10px; list-style: none; padding: 0; }
.menuList ul li {
  text-indent: 20px;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-top: 1px dotted #ECECEC;
}
.menuList ul li a {
  width: 100%;
  height: 50px;
  line-height: 50px;
  display: block;
  color: #555;
}
.menuList ul li a:hover { background-color: #efefef; }

/* === Breadcrumbs === */
.breadcrumbs {
  font-size: 12px;
  padding: 5px 10px;
  background: #535353;
  color: #FFF;
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) { .breadcrumbs { display: none; } }
.breadcrumbs a { color: #FFF; }

/* === Page-top button === */
#page-top {
  position: fixed;
  bottom: 12%;
  right: 3%;
  font-size: 70%;
}
#page-top a {
  display: block;
  text-decoration: none;
  padding-top: 58px;
  width: 80px;
  height: 0;
  overflow: hidden;
  background: url(/images/pagetop.png) no-repeat 0 0;
}

/* === Footer === */
footer { margin-top: 30px; width: 100%; }
footer .footerLogo {
  background: #935da3;
  padding: 15px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  footer .footerLogo img { width: 250px; }
}
footer .copyright {
  background: #535353;
  height: 30px;
  line-height: 30px;
  color: #fff;
  margin-bottom: 10px; /* Fix: was "10x" typo */
  font-size: 10px;
  text-align: center;
}

/* ============================================================ */

#content .container h1 {
  box-shadow: 0px 1px 3px #ddd;
  margin-bottom: 20px;
  font-size: 22px;
  margin: 0;
  color: #444;
  padding: 15px 20px;
  border-bottom: 2px solid #935da3;
}
@media screen and (max-width: 782px) {
  #content .container h1 { font-size: 18px; }
}

#topMainArea {
  position: relative;
  width: 100%;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}
#topMainArea img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center 30%;
}

/* テキストオーバーレイ */
.heroText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  line-height: 1.4;
}
.heroMain {
  font-size: clamp(28px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin: 0 0 0.3em 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.heroSub {
  font-size: clamp(14px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.heroSubSmall {
  font-size: 0.55em;
  vertical-align: super;
  letter-spacing: 0.04em;
}

/* レスポンシブ調整（スマホ） */
@media (max-width: 767px) {
  .heroText {
    top: 25%;
    right: 5%;
    left: 5%;
    text-align: center;
    transform: translateY(-50%);
  }
}

.entry-content { margin: 30px 20px; }
.entry-content p { font-size: 15px; line-height: 26px; margin: 10px 0; }

/* === Top page: notice list === */
main#topContent #topicArea {
  margin: 20px 20px 0 20px;
  padding: 0;
}
main#topContent #topicArea .ttl {
  box-shadow: 0px 1px 3px #ddd;
  margin-bottom: 20px;
}
main#topContent #topicArea .ttl h2 { font-size: 22px; margin: 0; color: #444; }
main#topContent #topicArea .listArea .row { padding: 15px; }
@media screen and (max-width: 767px) {
  main#topContent #topicArea .listArea .row { padding: 10px 0; }
}
main#topContent #topicArea .listArea dl {
  border-bottom: 1px solid #DDD;
  padding: 0 10px 15px 15px;
}
@media screen and (max-width: 767px) {
  main#topContent #topicArea .listArea dl { padding: 0 0 15px 0; }
}
main#topContent #topicArea .listArea dl dt { padding: 0 0 0 18px; font-weight: normal; }
@media screen and (max-width: 767px) {
  main#topContent #topicArea .listArea dl dt { padding: 0 0 0 10px; }
}

/* === Category / Event list === */
.eventBlock { margin-top: 30px; }
.eventBlock dl { border-bottom: 1px solid #DDD; padding: 0 10px 15px 15px; }
@media screen and (max-width: 767px) {
  .eventBlock dl { padding: 0 0 15px 0; }
}
.eventBlock dl dt { padding: 0 0 0 18px; font-weight: normal; }
@media screen and (max-width: 767px) {
  .eventBlock dl dt { padding: 0 0 0 10px; }
}
