/* merged css: tables + commonstyles + styles */

/* ===== original: css/tables.css ===== */
/* tables.css – Modernized テーブルスタイル */

/* カスタムプロパティ */
:root {
  --border-color: #cccccc;
  --bg-header:    #ebebeb;
  --bg-alt-row:   #f9f9f9;
  --text-color:   #333333;
  --font-sans:    "Noto Sans JP", sans-serif;
}

/* 全体 */
table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 1rem;
  margin: 1rem 0;
}

/* ヘッダーセル */
th {
  background-color: var(--bg-header);
  color: var(--text-color);
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--border-color);
}

/* データセル */
td {
  background-color: #ffffff;
  color: var(--text-color);
  padding: 0.75rem;
  border: 1px solid var(--border-color);
}

/* 商品一覧型 (.ritm) */
.ritm th,
.ritm td {
  text-align: center;
  vertical-align: top;
  padding: 0.75rem;
}

/* 列幅指定 */
.col1 th, .col1 td { width: 100%; }
.col2 th, .col2 td { width: 50%;  }
.col3 th, .col3 td { width: 33.333%; }
.col4 th, .col4 td { width: 25%;   }

/* 特定取引法 (.tokusho) */
.tokusho {
  background-color: #f0f0f0;
}
.tokusho th,
.tokusho td {
  padding: 1rem;
  border: 1px solid var(--border-color);
}
.tokusho th {
  background-color: #e3e3e3;
  width: 30%;
}

/* 商品説明型 (.ritm_desc) */
.ritm_desc {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}
.ritm_desc td {
  padding: 1rem;
  vertical-align: top;
}
.ritm_desc .title {
  background-color: var(--bg-header);
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.ritm_desc .title a {
  color: var(--text-color);
}
.ritm_desc .title a:hover {
  color: var(--brand-color);
}
.ritm_desc .desc {
  padding: 1rem;
}
.ritm_desc .price {
  color: #cc0000;
  font-weight: bold;
  text-align: left;
  padding: 0;
}
.ritm_desc .img {
  width: 20%;
}

/* レビュー・ボタン */
.ritm_desc .more,
.ritm_desc .review {
  display: inline-block;
  margin: 0.5rem 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--bg-header);
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
}
.ritm_desc .more:hover,
.ritm_desc .review:hover {
  background: #e0e0e0;
}

/* ランキング・比較型ほか */
.rnk1item,
.rnk2item,
.rnk3item,
.prc1item,
.dsc1item,
.dsc2item {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  margin: 1rem 0;
}

/* 型1 (.rnk1item) */
.rnk1item th,
.rnk1item td {
  padding: 1rem;
  border-bottom: 1px dotted var(--border-color);
}
.rnk1item th {
  background-color: #ffffff;
  width: 70px;
  text-align: left;
}

/* 型2 (.rnk2item) */
.rnk2item .ttitle {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
  font-size: 1rem;
}

/* 型3 (.rnk3item) */
.rnk3item th {
  padding: 0.75rem;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}
.rnk3item td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* 価格比較型 (.prc1item) */
.prc1item th,
.prc1item td {
  padding: 0.75rem;
  text-align: center;
}
.prc1item th {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}
.prc1item .alt td {
  background-color: var(--bg-alt-row);
}
.prc1item .price {
  text-align: right;
  font-weight: bold;
}

/* 項目説明型 (.dsc1item, .dsc2item) */
.dsc1item th,
.dsc1item td,
.dsc2item th,
.dsc2item td {
  padding: 0.75rem;
  font-size: 0.875rem;
  vertical-align: top;
}
.dsc1item th,
.dsc2item th {
  text-align: center;
  border-top: 1px solid #ffffff;
}

/* メニュー型 (.tblmenu1item) */
.tblmenu1item td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: center;
}
.tblmenu1item .ttitle {
  background-color: var(--bg-header);
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}


/* ===== original: css/commonstyles.css ===== */
/* commonstyles.css – モダン化＆バグ修正版 */

/* カスタムプロパティ */
:root {
  --brand-color:    #007acc;
  --brand-hover:    #005fa3;
  --text-color:     #333333;
  --bg-light:       #f5f5f5;
  --bg-white:       #ffffff;
  --border-color:   #cccccc;
  --font-sans:      "Noto Sans JP", sans-serif;
  --rank-img-path:  "./img";
  --point-img-path: "./img";
  --arrow-img-path: "./img";
}

/* リセット & ベース */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.6;
  background: var(--bg-white);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-color);
  text-decoration: none;
}
a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

/* ヘッダー・フッター */
header, footer {
  background: var(--bg-light);
  padding: 1rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--brand-color);
  color: var(--bg-white);
  border-radius: 4px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: var(--brand-hover);
}

/* 見出し・段落 */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  clear: both;
  line-height: 1.4;
}
p, ul, ol {
  margin-bottom: 1em;
}
ul, ol {
  padding-left: 1.5em;
}

/* ランキング */
.rank1, .rank2, .rank3, .rank4, .rank5 {
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 60px;
  margin: 1rem 0;
  font-size: 1.125rem;
  color: var(--text-color);
  border-bottom: 1px dotted var(--border-color);
}
.rank1 {  }
.rank2 {  }
.rank3 {  }
.rank4 {  }
.rank5 {  }

/* ポイント */
.point, .point1, .point2, .point3, .point4,
.point5, .point6, .point7, .point8, .point9, .point10 {
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 60px;
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color);
  line-height: 1.3;
}
.point {  }
.point1 {  }
.point2 {  }
.point3 {  }
.point4 {  }
.point5 {  }
.point6 {  }
.point7 {  }
.point8 {  }
.point9 {  }
.point10 {  }

/* 矢印リスト */
.arrow_blue, .arrow_orange, .arrow_black, .arrow_red {
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 30px;
  margin: 0.5rem 0;
  font-weight: bold;
  line-height: 1.6;
}
.arrow_blue {  }
.arrow_orange {  }
.arrow_black {  }
.arrow_red {  }

/* 通知ボックス */
.alert, .accept, .attention, .thint {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  margin: 1rem 0;
  border-radius: 6px;
  background-repeat: no-repeat;
  background-position: 1rem center;
  line-height: 1.4;
}
.alert {
  
  border: 1px solid #fabda7;
  color: #a2462f;
}
.accept {
  
  border: 1px solid #c2e39b;
  color: #346f15;
}
.attention {
  
  border: 1px solid #ffdc80;
  color: #804900;
}
.thint {
  
  border: 1px solid #c5d7ed;
  color: #2c4f7a;
}

/* 吹き出し */
.user1, .user2 {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  margin: 1rem 0;
  background: #eff4fa;
  border: 1px solid #c5d7ed;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: 1rem 1rem;
  line-height: 1.4;
}
.user1 {  }
.user2 {  }

/* ボックス類 */
.nmlbox, .dottbox, .ylwbox, .graybg {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
}
.nmlbox { border: 2px solid var(--border-color); }
.dottbox { border: 1px dotted var(--border-color); }
.ylwbox {
  background: #ffffd2;
  border: 2px solid #cc0000;
}
.graybg { background: #ebebeb; }

/* decbox2用レイアウト調整 */
.txt-decbox2 .top {
  overflow: hidden;
  position: relative;
  padding-top: 1.5rem;
  z-index: 0;
}
.txt-decbox2 .top_inner h3 {
  position: relative;
  z-index: 1;
  margin: 1rem 0;
  line-height: 1.4;
}

/* 角丸 & シャドウ */
.rnd1 { border-radius: 10px; }
.shadow1 { box-shadow: 2px 2px 4px rgba(0,0,0,0.15); }
.shadow2 { box-shadow: 0 2px 6px rgba(0,0,0,0.2); }

/* レスポンシブ対応 */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}


/* ===== original: styles.css ===== */

/* {X^C */
body {
 margin: 0;
 padding: 0;
 text-align: center;
 color: #333333;
 font-size: 0.9em;
 line-height: 140%;
 background-color: #FFFFFF;
 background-image: url(/assets/common/page-background.jpg);
 background-repeat: repeat-x;
}

div,p,h1,h2,h3,h4,h5,h6 {
 margin: 0;
 padding: 0;
 display: block;
 text-align: left;
}

h1,h2,h3,h4,.title,.menutitle {
 font-family: 'HGPnpp޼UB','Hiragino Kaku Gothic Pro','qMmpS Pro W6',sans-serif;
 font-weight: normal;
}

h1,h2,h3,h4 {
 clear: both;
}

.FloatEnd {
 clear: both;
 display: block;
 height: 1px;
}

/* N */
a,a:visited {
 color: #006699;
}
a:hover {
 color: #FF0000;
}
a img {
 border: none;
 text-decoration: none;
}

/* 摜S */
img {
 max-width: 100%;
 height: auto;
 border: 0;
}

.txt-img img {
 margin: 0 10px 10px 10px;
}

/*  */
strong {
 margin: 0 0.2em;
 padding: 0;
 font-weight: bold;
}
em {
 margin: 0 0.2em;
 padding: 0;
 font-weight: normal;
 text-decoration: underline;
}

/* Xg */
ul,ol {
 display: block;
 _margin-left: 0;
 _margin-right: 0;
}
dl {
 margin: 0;
 padding: 0;
}
ul {
 margin-top: 10px;
 margin-bottom: 10px;
 _margin-left: 20px;
 _padding-left: 20px;
}
ol {
 list-style-type: decimal;
 margin: 10px 0;
 _margin-left: 30px;
 _padding-left: 20px;
}
*:first-child+html ol {
 margin-left: 30px;
 padding-left: 20px;
}
li {
 display: list-item;
 margin: 0;
}
ul li {
 list-style-type: none;
 
}

p {
 width: auto;
 margin: 0 auto;
}

/* {CAEg */
#container {
 width: 100%;
 max-width: 900px;
 margin: 0 auto;
 padding: 0;
 box-sizing: border-box;
}

#top {
 display: none;
}
#top .inner {
 width: 100%;
 max-width: 900px;
 margin: 0 auto;
}
#top h2 {
 font-size: 30px;
 position: relative;
 top: 35px;
 padding: 0 10px;
 line-height: 110%;
}
#top h2 a,#top .title {
 color: #703A03;
 text-decoration: none;
}

#header {
 background-image: url(/assets/common/header.jpg);
 background-repeat: no-repeat;
 background-position: center top;
 background-size: contain;
 width: 100%;
 height: auto;
 min-height: 200px;
 margin: 0 auto;
 overflow: visible;
}
#headerbox {
 background-image: url(/assets/common/header-background.jpg);
 background-repeat: repeat-x;
 background-position: left bottom;
 padding-bottom: 15px;
 text-align: center;
 height: auto;
 min-height: 200px;
}
#header h2,#header .title {
 width: 440px;
 font-size: 22px;
 line-height: 30px;
 padding-left: 20px;
 padding-right: 20px;
 position: relative;
 top: 40px;
 left: 30px;
}
#header h2 a,#header h2 a:visited,#header .title a,#header .title a:visited {
 color: #000000;
 text-decoration: none;
}
#headertext {
 text-align: center;
 padding-right: 15px;
 padding-left: 15px;
 font-size: 11px;
 line-height: 130%;
}

/* Rec */
#text1,#text2,#text3,#text4,#text5,#text6,#text7,#text8,#text9,#text10,#space1,#space2 {
 margin-bottom: 25px;
 padding: 10px 14px;
}

#siteNavi {
 font-size: 0.775em;
 line-height: 1.5em;
 margin-bottom: 15px;
}

#contents {
 background-color: #FFFFFF;
 _height: 10px;
 padding: 10px 20px;
 min-height: 400px;
 margin-top: 20px;
 box-sizing: border-box;
}
#menu:after,#contents:after {
 height: 1px;
 overflow: hidden;
 content: "";
 display: block;
 clear: both;
}

#main {
 width: auto;
}
#menu {
 width: auto;
 padding-top: 10px;
}

/* O[oj[ */
#topmenu {
 background-repeat: no-repeat;
 height: 50px;
 line-height: 50px;
 position: absolute;
 width: 900px;
 top: 104px;
 margin: 0;
 background-position: left top;
 background-image: url(/assets/common/navigation-background.jpg);
 padding: 0 0 0 1px;
}
#topmenu span a {
 overflow: hidden;
 width: 16.6%;
 _width: 16.2%;
 text-align: center;
 color: #FFFFFF;
 font-weight: bold;
 text-decoration: none;
 float: left;
 height: 50px;
 background-image: url(/assets/common/navigation-item.jpg);
 background-repeat: no-repeat;
 background-position: right top;
 margin: 0;
 padding: 0;
 display: block;
}
#topmenu span a:hover {
 background-image: url(/assets/common/navigation-item-hover.jpg);
 background-position: right top;
 color: #FFFFFF;
}
#topsubmenu {
 height: 18px;
 width: 220px;
 _width: 240px;
 padding-top: 2px;
 padding-bottom: 5px;
 
 background-repeat: no-repeat;
 padding-right: 10px;
 padding-left: 10px;
 _padding-left: 5px;
 _padding-right: 5px;
 position: absolute;
 top: 78px;
 margin-left: 660px;
}
#topsubmenu span {
 
 background-repeat: no-repeat;
 background-position: left center;
 padding-left: 12px;
 display: block;
 float: left;
 margin-right: 4px;
 margin-left: 4px;
 font-size: 12px;
}
#topsubmenu span a {
 color: #333333;
 text-decoration: none;
}

#searchbox {
 position: absolute;
 top: 18px;
 width: 880px;
 padding-right: 10px;
 padding-left: 10px;
 text-align: right;
 line-height: 47px;
 height: 47px;
 font-size: 12px;
}
#searchbox input {
 vertical-align: middle;
 margin-right: 2px;
 margin-left: 2px;
}
#searchbox form {
 padding: 0;
 margin: 0;
}
form input {
 vertical-align: middle;
}

/* o */
h1 {
 position: absolute;
 top: 15px;
 font-family: sans-serif;
 font-weight: normal;
 font-size: 12px;
 padding-right: 15px;
 padding-left: 15px;
 color: #666666;
}
#main h2,#main h3 {
 font-size: 18px;
 line-height: 26px;
 background-repeat: no-repeat;
 background-position: left top;
 background-image: url(/assets/common/heading-background.jpg);
 margin: 5px 0;
 text-indent: 20px;
 padding-top: 6px;
 padding-bottom: 6px;
 color: #333333;
}
#text1 h3,#text2 h3,#text3 h3,#text4 h3,#text5 h3,#text6 h3,#text7 h3,#text8 h3,#text9 h3,#text10 h3 {
 position: relative;
 left: -14px;
 width: 860px;
 _width: 860px;
 margin-top: 15px;
 margin-bottom: 15px;
}
#main h4 {
 font-size: 16px;
 line-height: 26px;
 
 background-repeat: no-repeat;
 margin-top: 15px;
 margin-bottom: 10px;
 background-position: left bottom;
 padding-right: 8px;
 padding-left: 10px;
 color: #703A03;
}
#main h5 {
 
 background-position: left 2px;
 background-repeat: no-repeat;
 font-size: 15px;
 line-height: 22px;
 text-indent: 25px;
 margin-top: 10px;
 margin-bottom: 3px;
}
#main h6 {
 
 background-repeat: no-repeat;
 background-position: left center;
 padding-left: 20px;
 font-size: 15px;
 line-height: 20px;
 margin-top: 6px;
 margin-bottom: 6px;
}

/* TCg}bv */
#sitemaps {
 padding: 10px;
}
#sitemaps ul {
 margin: 0;
 padding: 0;
}
#sitemaps li {
 list-style-type: none;
 list-style-image: none;
}
#sitemaps .sbox1,#sitemaps .sbox2 {
 width: 47%;
 margin-top: 5px;
 margin-bottom: 5px;
 padding: 5px;
}
#sitemaps .sbox1 {
 float: left;
 clear: left;
}
#sitemaps .sbox2 {
 float: right;
 clear: right;
}
#sitemaps .l1 {
 
 line-height: 26px;
 height: 26px;
 text-indent: 25px;
 font-weight: bold;
 margin-bottom: 4px;
 margin-top: 10px;
}
#sitemaps .l2 {
 
 background-repeat: no-repeat;
 background-position: left 4px;
 line-height: 20px;
 text-indent: 15px;
 margin-left: 22px;
 margin-bottom: 3px;
}
#sitemaps .l3 {
 
 background-repeat: no-repeat;
 background-position: left 4px;
 line-height: 20px;
 text-indent: 15px;
 margin-left: 38px;
 margin-bottom: 3px;
}

/* XV */
#whatsnew .top {
 
 height: 36px;
 background-repeat: no-repeat;
 margin: 0;
 padding: 0;
}
#whatsnew .body {
 
 background-repeat: repeat-y;
 margin: 0;
 padding: 10px 50px;
}
#whatsnew .body li {
 line-height: 30px;
 border-bottom: 1px dotted #CCCCCC;
}
#whatsnew .bottom {
 
 background-repeat: no-repeat;
 background-position: left top;
}

/* JeS[ */
#categorylist {
 padding: 10px;
 margin-top: 10px;
 margin-bottom: 10px;
}
#categorylist .cbox {
 padding: 0;
 margin-top: 10px;
 margin-bottom: 10px;
 border: 1px solid #CCCCCC;
 clear: both;
}
#categorylist .cbox:after {
 clear: both;
}
#categorylist h4 {
 clear: none;
 
 background-repeat: no-repeat;
 font-size: 15px;
 padding-left: 35px;
 height: 26px;
 line-height: 26px;
 margin: 0;
 padding-right: 0;
}
#categorylist .desc {
 font-size: 12px;
 line-height: 130%;
 color: #505050;
 padding: 10px;
}
#categorylist .more {
 text-align: right;
 padding-right: 10px;
 padding-left: 10px;
 padding-bottom: 5px;
}

/* Gg[ */
#entrylist {
 padding: 10px;
}
#entrylist dl {
 padding: 6px;
 display: block;
}
#entrylist h4 {
 
 background-repeat: no-repeat;
 background-position: left center;
 padding-left: 15px;
 margin: 0;
}
#entrylist dt {
 font-weight: bold;
 font-size: 14px;
 
 background-repeat: no-repeat;
 background-position: left 5px;
 line-height: 20px;
 padding-left: 15px;
}
#entrylist dd {
 margin-left: 15px;
 margin-bottom: 8px;
 font-size: 11px;
 color: #757575;
 line-height: 120%;
}

/* L */
.txt-border {
 
 line-height: 22px;
 font-size: 13px;
 margin: 10px;
 padding: 0;
 background-position: 0 5px;
}
.txt-border p {
 line-height: 22px;
 font-size: 13px;
}
.txt-line {
 border: 2px solid #CCCCCC;
}
.txt-yellowback {
 background-color: #FFF9DF;
 border: 2px solid #CC0000;
}
.txt-grayback {
 border: 1px solid #D9D9D9;
 background-color: #F5F5F5;
}
.txt-colorback {
 border: solid 1px #FFB380;
 background-color: #FFF2DF;
}
.txt-frame {
 border: solid 2px #CCCCCC;
}
.txt-colorframe {
 border: solid 2px #CC0000;
}
.txt-rndbox .top {
 height: 15px;
 
 background-repeat: no-repeat;
 background-position: left top;
}
.txt-rndbox .body {
 border-left: solid 1px #B4B4B4;
 border-right: solid 1px #B4B4B4;
 padding: 10px 30px;
}
.txt-rndbox .bottom {
 height: 15px;
 
 background-repeat: no-repeat;
 background-position: left bottom;
}
.txt-decbox1 {
 
 background-repeat: repeat-y;
}
.txt-decbox1 .top {
 height: 50px;
 background-position: left top;
 
 background-repeat: no-repeat;
 padding-top: 30px;
 padding-right: 50px;
 padding-left: 50px;
 font-size: 30px;
}
.txt-decbox1 .body {
 padding-top: 5px;
 padding-right: 50px;
 padding-bottom: 0;
 padding-left: 50px;
}
.txt-decbox1 .bottom {
 height: 70px;
 
 background-repeat: no-repeat;
 background-position: left bottom;
}
.txt-decbox2 {
 
 background-repeat: repeat-y;
}
.txt-decbox2 .top {
 height: 40px;
 
 background-repeat: no-repeat;
 background-position: left top;
 padding-top: 40px;
 padding-right: 50px;
 padding-left: 50px;
 font-size: 30px;
}
.txt-decbox2 .body {
 padding-top: 5px;
 padding-right: 50px;
 padding-bottom: 0;
 padding-left: 50px;
}
.txt-decbox2 .bottom {
 height: 65px;
 
 background-repeat: no-repeat;
 background-position: left bottom;
}
#main .txt-grayback,#main .txt-colorback,#main .txt-line,#main .txt-frame,#main .txt-colorframe {
 margin-top: 10px;
 margin-bottom: 10px;
 padding: 30px;
}
#main .txt-rndbox,#main .txt-decbox1,#main .txt-decbox2 {
 padding: 0;
}
#main .txt-decbox1 h3,#main .txt-decbox2 h3,#main .txt-decbox1 h2,#main .txt-decbox2 h2 {
 width: auto;
 padding: 0;
 position: static;
 background-image: none;
 border: none;
 font-size: 26px;
 text-align: center;
 color: #333;
 background-color: #FFF;
 line-height: 140%;
}
#main .txt-decbox1 h3 span,#main .txt-decbox2 h3 span {
 background-image: none;
}
.hd {
 color: #333;
 text-decoration: none;
}

/* TChj[ */
#menu ul,#rmenu ul {
 list-style-type: none;
 list-style-image: none;
 margin: 0;
 padding: 5px;
}
#menu li,#rmenu li {
 list-style-type: none;
 list-style-image: none;
 margin: 0;
 display: inline;
 _display: inline;
 
 background-repeat: no-repeat;
 background-position: left center;
 padding-left: 6px;
}
#menu #newEntry,#rmenu #newEntry {
 padding: 10px 15px;
 margin: 0;
}
#newEntry li {
 display: block;
 padding-bottom: 2px;
 
 padding-left: 20px;
 background-repeat: no-repeat;
 background-position: 2px center;
 border: none;
 line-height: 22px;
}
#menu h4,#rmenu h4,.menutitle {
 line-height: 120%;
 font-size: 14px;
 color: #333333;
 text-align: left;
}
#menu .menubox,#rmenu .menubox {
 margin-bottom: 5px;
}
#menu li a,#rmenu li a {
 line-height: 16px;
 font-size: 12px;
 margin: 0;
 padding: 5px;
 color: #484848;
}
#menu li a:hover,#rmenu li a:hover {
 color: #FF0000;
}
#submenu span {
 display: block;
 margin: 2px 0;
}
#submenu span img {
 display: block;
 margin: 0;
 padding: 0;
}

/*  */
#searchresult {
 padding: 15px;
}
#searchresult dt {
 
 background-repeat: no-repeat;
 background-position: left center;
 margin-top: 15px;
 font-size: 14px;
 padding-left: 16px;
}
#searchresult dd {
 margin: 0;
 line-height: 130%;
 font-size: 13px;
}
#linklist {
 padding: 15px;
}
#linklist dt {
 font-size: 14px;
 font-weight: bold;
 
 background-repeat: no-repeat;
 background-position: left center;
 padding-left: 18px;
}
#linklist dd {
 padding-left: 18px;
 margin-left: 0;
 margin-bottom: 10px;
}

/* t[Xy[X */
.grayline {
 border: 1px solid #CCCCCC;
}
#main .grayline {
 padding: 10px;
 margin-bottom: 15px;
}
#menu .grayline {
 font-size: 90%;
 padding: 8px;
 margin-bottom: 15px;
}

/* uO */
.blog {
 margin-bottom: 30px;
}
.blog .text {
 padding: 15px;
}
.blog .title {
 font-size: 18px;
 line-height: 34px;
 margin-top: 15px;
 margin-bottom: 5px;
 background-image: url(/assets/common/heading-background.jpg);
 padding-left: 20px;
 clear: both;
}
.blog .title a {
 color: #333333;
 text-decoration: none;
}
.blog .title a:hover {
 color: #CC0000;
 text-decoration: underline;
}
.blog .detail {
 font-size: 15px;
 text-align: left;
 padding-right: 15px;
 padding-left: 15px;
 color: #666666;
 line-height: 30px;
 padding-top: 10px;
 border-top: 1px dotted #CCC;
}
.blog .more {
 float: right;
 padding-left: 15px;
 
 background-repeat: no-repeat;
 background-position: left center;
 font-weight: bold;
}
.blog .date {
 
 background-repeat: no-repeat;
 background-position: left center;
 line-height: 22px;
 padding-left: 30px;
 height: 22px;
 font-weight: bold;
}
.blog .plist {
 margin-right: 3px;
 margin-left: 3px;
}
.blog .plist a {
 color: #666666;
 margin-right: 3px;
 margin-left: 3px;
}

/* tb^[ */
#footer {
 text-align: center;
 height: 40px;
 line-height: 40px;
 color: #FFFFFF;
 background-image: url(/assets/common/footer-background.gif);
 background-repeat: repeat-x;
 background-position: left top;
 padding-top: 5px;
}
#footlink {
 text-align: center;
 background-color: #EBEBEB;
 padding-top: 8px;
 padding-bottom: 8px;
 color: #666666;
 font-size: 12px;
}
#footlink a {
 color: #666666;
 margin-left: 5px;
 margin-right: 5px;
}
#footer a {
 color: #FFFFFF;
 text-decoration: none;
}

/* X}zΉ */
@media screen and (max-width: 767px) {
 html,body {
  overflow-x: hidden;
 }

 #top {
  height: auto !important;
  min-height: 60px !important;
  padding: 8px 0 !important;
 }
 #top .inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
 }
 #top h1 {
  position: static !important;
  font-size: 11px !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
 }
 #top h2 {
  position: static !important;
  top: auto !important;
  font-size: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
 }
 #top h2 img {
  max-width: 100% !important;
  height: auto !important;
 }

 #headerbox {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  overflow: visible !important;
 }
 #header {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 120px !important;
  background-size: contain !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
 }

 #container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
 }
 #contents {
  width: 100% !important;
  float: none !important;
  padding: 0 8px !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
 }
 #main {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
 }
 #menu {
  width: 100% !important;
  float: none !important;
  margin: 16px 0 0 !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
 }
 #footlink,#footer {
  width: 100% !important;
  box-sizing: border-box !important;
 }

 #topmenu {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  line-height: normal !important;
  display: flex !important;
  flex-wrap: wrap !important;
  box-sizing: border-box !important;
 }
 #topmenu span {
  flex: 1 1 33% !important;
 }
 #topmenu span a {
  width: 100% !important;
  float: none !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 11px !important;
  text-align: center !important;
  display: block !important;
  box-sizing: border-box !important;
 }

 #topsubmenu {
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  box-sizing: border-box !important;
  height: auto !important;
  background-repeat: repeat-x !important;
 }

 #text1 h3,#text2 h3,#text3 h3,#text4 h3,#text5 h3,#text6 h3,#text7 h3,#text8 h3,#text9 h3,#text10 h3 {
  width: auto !important;
  left: 0 !important;
  box-sizing: border-box !important;
 }

 table.yxnuvf {
  width: 100% !important;
 }
 table.yxnuvf tbody {
  display: block !important;
  width: 100% !important;
 }
 table.yxnuvf tr {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
 }
 table.yxnuvf td {
  display: block !important;
  width: 50% !important;
  box-sizing: border-box !important;
 }
 table.yxnuvf img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
 }

 table.tbl_sttq {
  width: 100% !important;
 }
 table.tbl_sttq tbody,
 table.tbl_sttq tr {
  display: block !important;
  width: 100% !important;
 }
 table.tbl_sttq td {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
 }
 table.tbl_sttq img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
 }

 table.dsc2item {
  width: 100% !important;
 }
 table.dsc2item colgroup,
 table.dsc2item tbody,
 table.dsc2item tr,
 table.dsc2item td,
 table.dsc2item th {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
 }

 #main img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
 }
 .dsc2item a img {
  width: 60% !important;
  max-width: 200px !important;
  margin: 8px auto !important;
  display: block !important;
 }

 #menu ul#menu1 {
  padding-left: 18px !important;
 }
 #menu li {
  display: list-item !important;
 }
}
/* 2026-03-14 smartphone header/menu fix */
@media screen and (max-width: 767px) {
 #top {
  height: auto !important;
  min-height: 0 !important;
  background-size: cover !important;
  padding: 12px 0 8px !important;
  position: relative !important;
 }

 #top .inner {
  width: 100% !important;
  max-width: none !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
 }

 h1 {
  position: static !important;
  top: auto !important;
  display: block !important;
  width: 100% !important;
  padding: 0 4px 8px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-align: left !important;
 }

 #top h2 {
  position: static !important;
  top: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
 }

 #top h2 a {
  display: block !important;
  text-align: center !important;
 }

 #top h2 img {
  width: 100% !important;
  max-width: 640px !important;
  height: auto !important;
  margin: 0 auto !important;
 }

 #container {
  width: 100% !important;
  max-width: none !important;
 }

 #topsubmenu {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 4px 10px !important;
  background-size: auto 100% !important;
 }

 #topsubmenu span {
  float: none !important;
  display: inline-block !important;
  margin: 0 !important;
 }

 #topmenu {
  margin: 0 !important;
  padding: 0 !important;
  background-size: cover !important;
 }

 #topmenu span {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  display: block !important;
 }

 #topmenu span a {
  min-height: 48px !important;
  height: auto !important;
  line-height: 1.25 !important;
  padding: 10px 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  font-size: 12px !important;
 }

 #headerbox {
  min-height: 0 !important;
  padding-bottom: 8px !important;
 }

 #header {
  min-height: 120px !important;
  height: 32vw !important;
  max-height: 180px !important;
  background-size: cover !important;
  background-position: center center !important;
 }

 #contents {
  margin-top: 10px !important;
  padding: 10px !important;
 }

 #text1,#text2,#text3,#text4,#text5,#text6,#text7,#text8,#text9,#text10,#space1,#space2 {
  padding: 8px !important;
 }

 #main h2,#main h3 {
  text-indent: 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
 }
}

/* ===== responsive fix 2026-03-14 ===== */
@media screen and (max-width: 767px) {
  html,body{overflow-x:hidden !important;}
  body{font-size:14px;line-height:1.6;background-size:auto;}

  #container{max-width:100% !important;width:100% !important;}

  #top{height:auto !important;min-height:0 !important;background-size:cover;}
  #top .inner{max-width:100% !important;position:relative;}

  h1{
    position:static !important;
    display:block !important;
    padding:10px 12px 6px !important;
    font-size:12px !important;
    line-height:1.5 !important;
    text-align:left !important;
    word-break:break-word;
  }

  #top h2{
    position:static !important;
    top:auto !important;
    padding:0 12px 10px !important;
    text-align:center !important;
    font-size:0 !important;
    line-height:1 !important;
  }
  #top h2 img{
    display:block;
    width:100% !important;
    max-width:640px !important;
    height:auto !important;
    margin:0 auto;
  }

  #topsubmenu{
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:6px 10px !important;
    background:none !important;
    text-align:center !important;
  }
  #topsubmenu span{
    float:none !important;
    display:inline-block !important;
    margin:0 6px 4px !important;
    padding-left:10px !important;
    font-size:11px !important;
  }

  #topmenu{
    position:static !important;
    top:auto !important;
    width:100% !important;
    height:auto !important;
    line-height:1.3 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    padding:0 !important;
    margin:0 !important;
    background-image:none !important;
    background-color:#6b3a08 !important;
    border-top:1px solid rgba(255,255,255,.28);
    border-bottom:1px solid rgba(255,255,255,.28);
  }
  #topmenu span{
    display:block !important;
    width:33.3333% !important;
  }
  #topmenu span a{
    float:none !important;
    width:100% !important;
    min-height:48px !important;
    height:auto !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    box-sizing:border-box !important;
    padding:10px 6px !important;
    font-size:12px !important;
    line-height:1.35 !important;
    word-break:keep-all;
    background-image:none !important;
    border-right:1px solid rgba(255,255,255,.25);
    border-bottom:1px solid rgba(255,255,255,.25);
  }

  #headerbox{
    min-height:0 !important;
    height:auto !important;
    padding-bottom:8px !important;
  }
  #header{
    width:100% !important;
    min-height:120px !important;
    height:33vw !important;
    max-height:220px !important;
    background-size:cover !important;
    background-position:center center !important;
  }

  #contents{
    margin-top:10px !important;
    padding:10px 12px !important;
  }

  #text1,#text2,#text3,#text4,#text5,#text6,#text7,#text8,#text9,#text10,#space1,#space2{
    padding:8px 10px !important;
    margin-bottom:18px !important;
  }

  #main h2,#main h3{
    text-indent:0 !important;
    padding:8px 10px !important;
    font-size:16px !important;
    line-height:1.4 !important;
    background-size:cover !important;
  }
  #text1 h3,#text2 h3,#text3 h3,#text4 h3,#text5 h3,#text6 h3,#text7 h3,#text8 h3,#text9 h3,#text10 h3{
    position:static !important;
    left:auto !important;
    width:auto !important;
    margin:10px 0 14px !important;
  }

  table.gaxeac td{padding:10px 8px !important;}
}

/* 2026-03-14 final smartphone fix */
@media screen and (max-width: 767px) {
  html,body{overflow-x:hidden !important;}

  #top{
    display:none !important;
  }

  #topsubmenu{
    display:none !important;
  }

  #topmenu{
    position:static !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    background:#6b3a08 !important;
    box-sizing:border-box !important;
  }
  #topmenu span{
    display:block !important;
    width:33.3333% !important;
    box-sizing:border-box !important;
  }
  #topmenu span a{
    width:100% !important;
    min-height:48px !important;
    height:auto !important;
    padding:10px 4px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:12px !important;
    line-height:1.3 !important;
    word-break:keep-all !important;
    overflow-wrap:anywhere !important;
    box-sizing:border-box !important;
  }

  #headerbox{
    padding-bottom:8px !important;
  }
  #header{
    min-height:110px !important;
    height:34vw !important;
    max-height:200px !important;
    background-size:cover !important;
    background-position:center center !important;
  }

  #contents{
    margin-top:10px !important;
    padding:10px 12px !important;
  }
  #main h2,#main h3{
    font-size:15px !important;
    line-height:1.35 !important;
    padding:8px 10px !important;
    text-indent:0 !important;
    box-sizing:border-box !important;
  }
  #text1 h3,#text2 h3,#text3 h3,#text4 h3,#text5 h3,#text6 h3,#text7 h3,#text8 h3,#text9 h3,#text10 h3{
    position:static !important;
    left:auto !important;
    width:auto !important;
    margin:10px 0 14px !important;
  }
}


/* fix menu border */
#topmenu span:last-child a { border-right: none !important; }

/* 新着情報エリア: tables.css の td汎用ルール(白背景・灰色枠)を打ち消す */
#news-area td {
  background-color: #1A0000 !important;
  border: none !important;
}
