@charset "UTF-8";
/* CSS Document */


.dl_btn a {
	background: #ebe8e8; border-radius: 1em; color: #080000;
	font-weight: 900; padding: 5px 10px; text-decoration: none;
	display: block; width: 120px; text-align: center;
}

.dl_btn { margin-top: -8em;   margin-bottom: 4.5em; left: 830px; z-index: 99; position: relative;}

.shinchoku_link li::before{
	content: '';
	margin: 5px 0;
	padding: 0 0 0 13px;
	font-size: 16px;
	font-weight: bold;
	border-bottom: none;
	background: url(https://www.thr.mlit.go.jp/yamagata/img/arrow-02.gif) no-repeat left 7px;
}
.shinchoku_link li { list-style: none; margin-bottom: 10px; }
.shinchoku_link ul { padding-left: 0!important; }
.shinchoku_link { margin-bottom: 3em; }

.seibikoka_box { flex: 1; }
.seibikoka_tbl { display: flex; gap: 3em; margin-top: 2em; }

.plan_box dd { border-left: 2px solid #385723; margin-left: 5em!important; padding-left: 1em; }
.plan_box dt { color: #385723; float: left; font-weight: 800; }
.plan_box h3 span { border: 2px solid #385723; color: #385723; padding: 5px 10px; }
.plan_box h3 { border: none!important; margin: 10px 0 20px 0!important;}
.plan_box { flex:1; }
.plan { display: flex; gap: 10px; margin-bottom: 3em; }

.photo_tbl.image_size td img { width: 70%; }

body #content .photo_tbl td { padding: 10px 10px 0px; text-align: center; }
body #content .photo_tbl { margin-bottom: 3em; }


body #content { width: calc(100% - 220px - 35px); }
body #container { width: 100%; }
body .header_wide {
    width: 1280px; margin-left: auto; margin-right: auto; padding: 0;
}
@media screen, tv, projection, print {
    body #outer {
        padding: 20px 0px;
        width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
}

#content h2 {
	background: #385723;
	padding: 5px 10px;
	margin: 0px 0 10px 0;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	line-height: 30px;
}


a:hover img{
opacity: 0.8;
filter: alpha(opacity=60);
-moz-opacity:0.6;
}

/* ----------------------------
南道路用
---------------------------- */
.dl_btn.minami a {
    width: fit-content;
    padding: 0.9rem;
    background: #7aa74a;
    color: #fff;
    border-radius: 0.5rem;
    border: 3px solid #fff;
    transition: 0.3s;
}
.dl_btn.minami {
    left: 820px;
}
.dl_btn.minami a:hover {
    transform: scale(1.1);
}
.danmen h3 {
    margin-bottom: 1rem !important;
}
.danmen img {
    margin-bottom: 1rem;
}
.effect {
    margin-bottom: 3rem;
}
.effect .blocks {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.effect .blocks .images img {
	width: 100%;
}
.effect .blocks .read {
    width: 55%;
}
.effect .blocks .images {
    width: 20%;
}
.effect .example {
    background: #fdd35c;
    padding: 1rem 1.4rem;
}
.effect .example dt {
    font-size: 1rem;
    font-weight: bold;
}
.effect .example dd {
    margin: 0.5rem 0 !important;
    font-size: 1rem;
    line-height: 1.7;
}
.effect .example dd span {
    color: #c90505;
    font-weight: bold;
}
.effect .example dl + p {
    font-size: 0.8rem;
}
/* ----------------------------
画像をクリックで拡大表示
---------------------------- */
/* クリックできることを示す */
.images img {
  cursor: pointer;
  transition: 0.2s;
}
.images img:hover {
	transform: scale(1.05);
}
/* モーダル全体 */
#image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* フェード用 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
/* 表示時 */
#image-modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* 中身（画像＋ボタン） */
.image-modal__inner {
  text-align: center;
  max-width: 90%;
  max-height: 90%;

  /* 少し拡大しながら表示 */
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

/* 表示時に拡大 */
#image-modal.is-active .image-modal__inner {
  transform: scale(1);
}
#modal-image {
    max-width: 80vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    padding: 1rem;
    background: #fff;
    border-radius: 0.6rem;
}
button.image-modal__close {
    display: block;
    margin: 1rem auto;
    background: #000;
    border: 2px solid #6a6a6a;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
	transition: 0.2s;
}
button.image-modal__close:hover {
	background: #fff;
	color: #000;
}