body {
text-align:center;
height:100%;
}
h1 a {
width:100%;
text-align:center;
text-decoration: none;
color: black;
}
div#container {
text-align:center;
width:80%;
margin:0 auto -30px;
height:auto !important;
}
div#container div#footer-s {
height: 30px;
}
span.sp {
font-size: 70%;
color: #333333;
}
p#other{
padding-left: 20%;
padding-right: 20%;
}
p.bookmark {
width:90%;
text-align:right;
}
div#container p.bookmark a img {
text-decoration: none;
color: #000000;
border-style:none;
}
div.clear {
clear: both;
}

/* セマンティックHTML用スタイル */
header {
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
}

#header-search {
  text-align: center;
}

/* パンくずリスト */
nav.breadcrumb {
  padding: 12px 15px;
  margin: 0 auto 20px;
  max-width: 1200px;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

nav.breadcrumb ol {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

nav.breadcrumb ol li {
  display: flex;
  align-items: center;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

nav.breadcrumb ol li a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s;
}

nav.breadcrumb ol li a:hover {
  color: #0056b3;
  text-decoration: underline;
}

nav.breadcrumb ol li:not(:last-child)::after {
  content: "›";
  margin: 0 10px;
  color: #999;
  font-size: 16px;
  font-weight: bold;
}

nav.breadcrumb ol li[aria-current="page"] {
  color: #333;
  font-weight: 600;
}

/* 広告エリア */
.ad-area {
  background: #fafafa;
  border-radius: 8px;
  padding: 15px;
  margin: 20px auto;
  max-width: 1200px;
  text-align: center;
}

.ad-area > span {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  color: #999;
}

/* 見出しスタイル */
main h2 {
  font-size: 1.4em;
  color: #333;
  margin: 20px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #007bff;
}

main h3, section h3 {
  font-size: 1.1em;
  color: #444;
  margin: 15px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #007bff;
}

section > h2 {
  font-size: 1.3em;
  color: #333;
  margin: 25px 0 15px;
  text-align: center;
}

/* フッター */
footer {
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  background: linear-gradient(to bottom, #f8f9fa, #fff);
  border-top: 2px solid #e9ecef;
}

footer nav {
  margin-bottom: 20px;
}

footer nav a {
  display: inline-block;
  margin: 5px 15px;
  color: #007bff;
  font-weight: 500;
}

footer small {
  color: #888;
}

@media screen and (max-device-width: 480px) {

div#container {
width:95%;
font-size:145%;
}

header {
  padding: 10px;
}

nav.breadcrumb {
  padding: 10px 12px;
  margin-bottom: 15px;
}

nav.breadcrumb ol li {
  font-size: 13px !important;
}

nav.breadcrumb ol li:not(:last-child)::after {
  margin: 0 6px;
}

footer {
  padding: 20px 15px;
}

}

