@charset "utf-8";

:root {
  --cl-fukidashi: darkgray;
  --cl-border-dot: gray;
  --cl-box-stroke: gray;
  --cl-box-fill: lightgray;
  --cl-shadow: rgba(0, 0, 0, 0.2);
}

/*202604 kentayoStyle override*/
@media (min-width: 641px) {
  #temp_contents .container,
  .row {
    width: 100% !important;
    /* max-width: 887px !important; */
  }

  body.tayoriPage #temp_contents .container,
  body.tayoriPage .row {
    width: 100% !important;
  }
}
div#tmp_contents div.container {
  /* padding: 0 !important; */
}

div#tmp_contents div.container div.row.print-display-flex-cancel.mb-5 div.col-sm-auto div.topPdf.col-auto.ml-auto.clearfix.d-flex.align-items-center.pr-0 {
  float: none;
}

/*base override*/
#tmp_contents .container {
  width: auto;
  margin: auto;
  padding: 0;
}

/* common
---------------------------------------------------- */

@media (min-width: 641px) {
  #tmp_contents h3 {
    padding: 0;
    border-left: none;
    font-size: 1.2em;
    color: #222;
  }
}

body.tayoriPage #tmp_contents h2 {
  font-size: 1.9em !important;
  line-height: 1.3 !important;
  margin-top: 20px;
}

body.tayoriPage #tmp_contents h3 {
  /* padding-top: 0.5em !important; */
  /* border-top: 1px solid #222; */
  /* margin: 30px 0 20px 0; */
  margin: auto;
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-size: 1.5em;
  background: none;
  padding: 0;
  /* width: 100%; */
  font-weight: bold;
  /* box-shadow: 0 0 #194e8a; */
}

body.tayoriPage #tmp_contents h4 {
  /* margin: 30px 0; */
  margin: auto;
  margin-bottom: 0.5em;
  /* padding-top: 0.5em; */
  /* border-top: 1px solid #222; */
  border-bottom: none;
  font-size: 1.2em;
  font-weight: bold;
}

body.tayoriPage #tmp_contents p {
  /* margin-top: 0; */
  word-wrap: break-word;
  /* font-size: 100% !important; */
}

body.tayoriPage .pagenation,
body.tayori-info .pagenation {
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

body.tayoriPage .pagenation ul li {
  min-width: 50%;
  background-image: none !important;
  list-style: none !important;
}

li.pageprev {
  text-align: right;
  float: left;
  padding-right: 2em !important;
}

li.pagenext {
  border-left: 1px solid #333;
  text-align: left;
  float: right;
  padding-left: 2em !important;
}
@media (max-width: 640px) {
  #tmp_contents ul li {
    padding-left: 0;
  }
}

/* ともいきバトン */
.page_break {
  page-break-after: always;
}

/* SMP */

@media (max-width: 640px) {
  small {
    font-size: 0.8em !important;
  }
}

.bold {
  font-weight: bold !important;
}
.normal {
  font-weight: normal !important;
}

/* clearfix
---------------------------------------------------- */
.clear {
  clear: both;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
}

div.hr {
  clear: both;
}
div.hr hr {
  display: none;
}

/*--------------------------------------
 001.html
-------------------------------------- */
@media (max-width: 640px) {
  body.tayoriTop #tmp_contents h3 {
    /* padding: 0.5em !important;
    background-position-x: 15px !important;
    padding: 0 0 0 36px !important; */
    margin-left: 15px;
  }
}

div.topPdf ul {
  margin: 0 !important;
  padding-left: 15px !important;
}

div.topPdf ul li {
  line-height: 1.6;
  min-width: 8em;
  text-align: right;
  padding-left: 0 !important;
  background-image: none !important;
  margin-bottom: 0 !important;
  list-style: none;
}

div.topPdf img {
  height: 3em;
}

@media (max-width: 640px) {
  p.topMonVer {
    /* margin-top: 20px !important;
    padding-bottom: 0; */
    font-size: 0.8em !important;
  }

  div.topPdf ul li {
    background-image: none !important;
    font-size: 0.9em;
    line-height: 1.65;
    margin-top: 0 !important;
  }
}

/* TOPICS */

div.topTopics h4 {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}

/*TOP-photo*/

body.tayoriTop div.topPhoto {
  background-color: #eee;
  padding: 15px !important;
}

div.topPhoto h3 {
  margin: 0 !important;
  padding: 0 0 5px 0 !important;
  background-image: none !important;
}

.model_sp .topPhotoTxt h3 {
  /* padding-left: 0 !important; */
  font-size: 1.5em !important;
}

.topPhotoTxt p {
  font-size: 0.9em !important;
  line-height: 1.5em !important;
  margin-bottom: 8px !important;
}

/* population */

body.tayoriTop div.population {
  background-color: #e1edfc;
  padding: 5px 20px;
  font-size: 1em;
}

div.population p {
  /* font-size: 1.1em; */
  line-height: 1.45em;
  margin-bottom: 5px !important;
}

div.population p.mt10 a {
  font-size: 0.8em;
}

div.population h2 {
  padding: 5px 0 0 0 !important;
  background-image: none !important;
  display: inline-block;
  font-size: 1.1em !important;
  font-weight: bold;
  margin: 5px 0 0 0 !important;
}

@media (min-width: 641px) {
  div.population h2 {
    font-size: 1.2em;
  }
}

div.population p.popnow {
  padding: 0 0 0 10px !important;
  display: inline;
  font-weight: bold;
  font-size: 0.8em !important;
}

/* Information */

div#tmp_contents div.topInfo p.infoTitle {
  text-align: left;
  line-height: 1.4;
  font-size: 1.1em !important;
  border-left: 4px solid #1779ba !important;
  border-top: 0 !important;
  padding-left: 10px;
  padding-top: 0;
  font-weight: bold;
  margin-bottom: 15px !important;
  color: #1779ba;
}

/* editor/add */
body.tayoriTop .topEditor {
  margin: 40px 0 20px;
  padding: 15px 20px;
  background-color: #efefef;
}

body.tayoriTop .ekana {
  padding: 10px !important;
  width: 100%;
  border: 5px double rgb(35, 127, 193);
}

body.tayoriTop .ekana div.ekana_tit {
  padding-top: 0 !important;
}

body.tayoriTop div.ekana_tit h4 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  font-size: 1.2em !important;
  line-height: 1.3;
}

@media (max-width: 640px) {
  body.tayoriTop .topEditor {
    padding: 15px;
  }

  body.tayoriTop div.ekana_tit h4 {
    padding: 0 15px 15px !important;
  }
}

body.tayoriTop #tmp_contents .ekana div.ekana_tit {
  border-right: 2px solid #187fc4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 0 0;
}

body.tayoriTop #main_body div.ekana div.ekana_txt {
  padding: 0;
}
body.tayoriTop #main_body div.ekana div.ekana_txt p {
  padding-left: 0;
}

/*--------------------------------------
 001.html end
-------------------------------------- */

p.backtotop a {
  float: right;
  border: 1px solid #2780b5;
  padding: 3px;
  text-decoration: none;
  color: #000;
  margin: 30px 0 15px;
}

p.infoTxt {
  font-weight: bold;
  margin: 20px 0 0 0 !important;
}

.tomoiki_box {
  background: #004098;
  padding: 10px;
}

/*for IE6 */
* html ul li {
  display: inline;
  zoom: 1;
}

/*for IE7 */
*:first-child + html ul li {
  display: inline;
  zoom: 1;
}

/*indent　情報欄*/

.horizontal_scroll {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 12px 8px;
}

/* 画面幅が640px以上の場合、横スクロールを解除 */
@media screen and (max-width: 640px) {
  .horizontal_scroll {
    overflow-x: scroll;
  }
  .horizontal_scroll > img {
    min-width: 200%;
  }
}

@media print {
  .horizontal_scroll > img {
    width: 100%;
  }
}

/* お知らせ面 */
div#tmp_contents div.info-topic div.row div h3 {
  margin-top: 1.5em !important;
}

.info-topic {
  padding: 1em;
}

.tayori-info #tmp_contents dt {
  margin-top: 0.4em;
  color: #006400;
}

.moyosi-table {
  background-color: #ffffff;
  text-align: center;
}
.moyosi-table th {
  background-color: #e8e8e8;
}
@media (min-width: 767px) {
  .moyosi-table td {
    width: 30%;
  }
}
@media (max-width: 768px) {
  .moyosi-table td {
    width: 33%;
  }
}

.shiken-table {
  width: 811px;
  overflow-x: auto;
}
.shiken-table th {
  background-color: #e5f5eb;
}
.shiken-table td {
  background-color: #fff;
}

.kikaku-table,
.kikaku-table th,
.kikaku-table td {
  border: 1px solid #000;
}
.kikaku-table {
  line-height: 1.2;
}

.kikaku-table th,
.kikaku-table td {
  padding: 0.5em;
}

.kouza-table {
  background-color: #ffffff;
  text-align: center;
}
.kouza-table th {
  background-color: #e8e8e8;
}
@media (min-width: 767px) {
  .kouza-table td {
    width: 30%;
  }
}
@media (max-width: 768px) {
  .kouza-table td {
    width: 33%;
  }
}

@media (max-width: 768px) {
  .table-wrap {
    overflow-x: scroll;
  }
  .table-scroll {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
  }
}
@media print {
  ::-webkit-scrollbar {
    display: none;
  }
}

/*スマホで縦に並ぶテーブル*/
#tmp_contents table.no-scroll {
  width: 100%;
  table-layout: fixed;
}

#tmp_contents table.no-scroll th {
  font-weight: bold;
  text-align: center;
  border: solid 1px #333;
  padding: 5px 10px;
  background-color: #eee;
}

#tmp_contents table.no-scroll td {
  border: solid 1px #333;
  border-top: none;
  border-bottom: none;
  padding: 15px 10px;
}

@media (max-width: 640px) {
  #tmp_contents table.no-scroll th,
  #tmp_contents table.no-scroll td {
    display: block;
    border-bottom: 0;
  }
}

/*アクセスビリティ対応*/
/*見出しタグ追加*/
#tmp_inquiry_ttl h2,
#tmp_contents .box_link .box_link_ttl h2 {
  margin: 0;
  margin-bottom: 0 !important;
  padding: 22px 0 11px !important;
  border-bottom: 1px solid #cfd8e5;
  padding: 0 18px;
  color: #0e5fa6;
  background: #ffffff url(../../templates/free_rn/images/ttl_triangle.png) no-repeat top left;
  background-size: 16px auto;
  -moz-background-size: 16px auto;
  -webkit-background-size: 16px auto;
  font-weight: bold;
  font-size: 100% !important;
}
body.tayoriPage #tmp_contents .box_link_ttl h2 #tmp_contents .box_link .box_link_ttl h2 {
  border-bottom: 2px solid #0e5fa6;
  font-size: 100% !important;
}

/*001面構造変更*/
#tmp_contents div.topTopics ul {
  list-style-type: none;
  margin: 0;
  list-style-image: none;
}

/*お知らせ面-その他宝くじテーブル*/
.takarakuji {
  width: 100%;
  border-collapse: collapse;
}
.takarakuji th:nth-child(1),
.takarakuji td:nth-child(1) {
  width: 385px;
}
.takarakuji th:nth-child(2),
.takarakuji td:nth-child(2) {
  width: 70px;
}
.takarakuji th:nth-child(3),
.takarakuji td:nth-child(3) {
  width: 402px;
}
@media (max-width: 640px) {
  .takarakuji th:nth-child(1),
  .takarakuji td:nth-child(1) {
    width: 164px;
  }
  .takarakuji th:nth-child(2),
  .takarakuji td:nth-child(2) {
    width: 44px;
  }
  .takarakuji th:nth-child(3),
  .takarakuji td:nth-child(3) {
    width: 161px;
  }
}

.box__fill {
  background: var(--cl-box-fill);
  padding: 1em;
  border-radius: 0.75em;
  display: inline-block;
  vertical-align: bottom;
  box-shadow: 5px 5px 10px var(--cl-shadow);
}

.box__stroke {
  border: 2px solid var(--cl-box-stroke);
  border-radius: 1em;
  padding: 1em;
  /* border-radius: 5px; */
  display: inline-block;
  box-shadow: 5px 5px 10px var(--cl-shadow);
}

.badge__fill {
  background: var(--cl-box-fill);
  padding: 0.25em 0.5em 0;
  border-radius: 0.25em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.badge__fill > .badge__fill {
  margin-bottom: 0.25em;
  margin-left: 0.5em;
  height: -webkit-fill-available;
  height: -moz-available;
  height: stretch;
}

.badge__stroke {
  padding: 0.25em 0.5em 0;
  border: 2px solid var(--cl-box-stroke);
  border-radius: 0.25em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.badge__stroke > .badge__fill {
  margin-bottom: 0.25em;
  margin-left: 0.5em;
  height: -webkit-fill-available;
  height: -moz-available;
  height: stretch;
}

.honbunjohokan {
  background-image: none !important;
  padding: 15px !important;
}
@media (min-width: 640px) {
  .honbunjohokan img {
    width: 90%;
  }
}

h2.infoCatTitle {
  height: initial;
}
h2.infoCatTitle img {
  height: 1.5em !important;
}

.info__image__wrapper {
  max-width: 350px;
  margin: 1rem 0;
}
.info__image__wrapper p {
  margin-top: 0.3rem !important;
}

.qrcode__wrapper {
  /* vertical-align: middle; */
  display: flex;
  align-items: center;
  justify-content: end;
  text-align: end;
}

.qrcode__wrapper img {
  display: none;
}
@media (min-width: 641px) {
  .qrcode__wrapper {
    position: relative;
    padding-right: 100px;
    min-height: 100px;
  }
  .qrcode__wrapper img {
    display: inline-block;
    /* float: right; */
    width: 100px !important;

    padding-left: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.line__yellow strong,
#tmp_contents span.line__yellow,
#tmp_contents strong.line__yellow {
  background: linear-gradient(transparent 60%, #ffef92 30%);
  display: inline;
}

.line__red strong,
#tmp_contents span.line__red,
#tmp_contents strong.line__red {
  background: linear-gradient(transparent 60%, #fddada 30%);
  display: inline;
}

.line__blue strong,
#tmp_contents span.line__blue,
#tmp_contents strong.line__blue {
  background: linear-gradient(transparent 60%, #cce9ff 30%);
  display: inline;
}

.line__green strong,
#tmp_contents span.line__green,
#tmp_contents strong.line__green {
  background: linear-gradient(transparent 60%, #d0ffd0 30%);
  display: inline;
}

.text__blue {
  color: #0e5fa6;
}
.text__red {
  color: #db0000;
}
.text__yellow {
  color: rgb(255, 225, 0);
}
.text__green {
  color: green;
}

.bg__blue {
  background: #0e5fa6;
}

.bg__red {
  background: #db0000;
}

.bg__green {
  background: green;
}

.bg__white {
  background: #ffffff;
}

.bg__yellow {
  background: rgb(255, 225, 0);
}

.border__blue {
  border-color: #0e5fa6;
}
.border__red {
  border-color: #db0000;
}
.border__green {
  border-color: green;
}
.border__yellow {
  border-color: rgb(255, 225, 0);
}

.tomoiki_box a:link,
.tomoiki_box a:active,
.tomoiki_box a:visited {
  color: #ffffff;
}

#tmp_contents .fukidashi__t p,
#tmp_contents .fukidashi__b p,
#tmp_contents .fukidashi__r p,
#tmp_contents .fukidashi__l p,
#tmp_contents .fukidashi__lt p,
#tmp_contents .fukidashi__lb p,
#tmp_contents .fukidashi__rt p,
#tmp_contents .fukidashi__rb p {
  margin: 0;
}

.fukidashi__t,
.fukidashi__b,
.fukidashi__r,
.fukidashi__l,
.fukidashi__lt,
.fukidashi__lb,
.fukidashi__rt,
.fukidashi__rb {
  position: relative;
  display: inline-block;
  padding: 0.5em;
  /* max-width: 100%; */
  background: #fff;
  border: 3px solid var(--cl-fukidashi); /* 黒淵を追加 */
  border-radius: 0.75em;
  box-shadow: 5px 5px 10px var(--cl-shadow);
}

.fukidashi__t:after,
.fukidashi__b:after,
.fukidashi__r:after,
.fukidashi__l:after,
.fukidashi__lt:after,
.fukidashi__lb:after,
.fukidashi__rt:after,
.fukidashi__rb:after {
  content: "";
  position: absolute;
  border: 15px solid transparent;
}

.fukidashi__t:after,
.model_sp .fukidashi__lt:after,
.model_sp .fukidashi__rt:after {
  top: -30px;
  left: 50%;
  margin-left: -15px;
  border-bottom: 15px solid var(--cl-fukidashi);
}

.fukidashi__b:after,
.model_sp .fukidashi__lb:after,
.model_sp .fukidashi__rb:after {
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border-top: 15px solid var(--cl-fukidashi);
}

.fukidashi__l:after,
.model_pc .fukidashi__lt:after,
.model_pc .fukidashi__lb:after {
  top: 50%;
  left: -30px;
  margin-top: -15px;
  border-right: 15px solid var(--cl-fukidashi);
}

.fukidashi__r:after,
.model_pc .fukidashi__rt:after,
.model_pc .fukidashi__rb:after {
  top: 50%;
  left: 100%;
  margin-top: -15px;
  border-left: 15px solid var(--cl-fukidashi);
}

/* .info-topic .fukidashi__t,
.info-topic .fukidashi__l,
.info-topic .fukidashi__r,
.info-topic .fukidashi__b {
  background: #ffffff;
  border: 1px solid black;
}
.info-topic .fukidashi__t:after {
  border-bottom: 15px solid #ffffff;
}
.info-topic .fukidashi__b:after {
  border-top: 15px solid #ffffff;
}
.info-topic .fukidashi__l:after {
  border-right: 15px solid #ffffff;
}
.info-topic .fukidashi__r:after {
  border-left: 15px solid #ffffff;
}

.info-topic .fukidashi__t:before {
  border-bottom: 15px solid #ffffff;
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-bottom: 15px solid black;
}

.info-topic .fukidashi__b:before {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #000000;
}

.info-topic .fukidashi__l:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -31px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #000000;
}

.info-topic .fukidashi__r:before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid #000000;
} */

#tmp_contents .topPhotoTitle {
  padding: 0;
  font-size: initial;
  line-height: 1;
  margin: auto;
  background: none;
}

.topPhoto01 {
  margin-bottom: 10px;
}
.topPhoto01 .cap {
  margin-bottom: 0;
}

.border__dt {
  border-top: 4px dotted var(--cl-border-dot);
}

.border__db {
  border-bottom: 4px dotted var(--cl-border-dot);
}

.border__dl,
.border__dln {
  border-left: 4px dotted var(--cl-border-dot);
}

.border__dr,
.border__drn {
  border-right: 4px dotted var(--cl-border-dot);
}

.model_sp .border__drn {
  border-right: none;
}

.model_sp .border__dln {
  border-left: none;
}

.top__information__title {
  background: none !important;
  margin: auto !important;
}

.dokusha__present .qrcode__wrapper {
  text-align: left;
  justify-content: start;
  padding-right: 0;
  /* width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content; */
}
.dokusha__present .qrcode__wrapper img {
  position: initial;
  transform: none;
}

/* 20250717 */
.kakomi__table td {
  background-color: #ffffff;
}

.kikaku__wrapper dt {
  font-weight: bold;
  color: #0e5fa6;
}
.kikaku__wrapper dd {
  margin-bottom: 0.5em;
  padding-bottom: 0.25em;
}
.kikaku__wrapper dd:not(:last-child) {
  border-bottom: var(--cl-border-dot) 2px dotted;
}

/*20251113*/
.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.fs-6 {
  font-size: 1rem !important;
}

.display-1 {
  font-size: calc(1.625rem + 4.5vw) !important;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .display-1 {
    font-size: 5rem;
  }
}

.display-2 {
  font-size: calc(1.575rem + 3.9vw) !important;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .display-2 {
    font-size: 4.5rem;
  }
}

.display-3 {
  font-size: calc(1.525rem + 3.3vw) !important;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .display-3 {
    font-size: 4rem;
  }
}

.display-4 {
  font-size: calc(1.475rem + 2.7vw) !important;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.5rem;
  }
}

.display-5 {
  font-size: calc(1.425rem + 2.1vw) !important;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .display-5 {
    font-size: 3rem;
  }
}

.display-6 {
  font-size: calc(1.375rem + 1.5vw) !important;
  font-weight: 300;
  line-height: 1.2;
}
@media (min-width: 1200px) {
  .display-6 {
    font-size: 2.5rem;
  }
}

.kintaro.qrcode__wrapper {
  text-align: left;
  justify-content: start;
  padding-right: 0;
  /* width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content; */
}
.kintaro.qrcode__wrapper img {
  position: initial;
  transform: none;
  width: 150px !important;
}

p.indent-18 {
  padding-left: 1.8em !important;
  text-indent: -1.8em !important;
}

.line__2 dt {
  float: left;
  clear: left;
  width: 5em; /* 見出しの幅 */
  font-weight: bold;
}
