﻿/* =====================================
	以下 SEO検証関連調整 2025/12/03 公共二課
====================================== */
.Portal #allMapArea {
    display: block !important;
}
.Portal #allMapArea .textList img{
	display: none;
}
/*掲載マップ一覧 上部バー*/
/*
.Portal .boxModule.moduleTitle {
    width: 100%;
    height: 54px;
    background-color: #234794;
    opacity: 1.0;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
}
.Portal .listMds::before {
  position: absolute;
  top: 0;
  left: 0px;
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../../../../Content/images/site/portal/33423/ico_mds_map.png) center center no-repeat;
    background-size: auto;
  background-size: contain;
  margin-top: 6px;
  margin-left: 15px;
  transform: rotate(30deg);
}
.Portal .listMds {
  padding: 2px 0 0 65px;
  font-size: 24px;
  color: #fff;
  line-height: 54px;
  text-align: left;
  position: relative;
  font-weight: bold;
  font-family: FOT-UD角ゴ_ラージ Pr6N;
  margin: 0px ;
  display: block;
  width: auto;
  height: auto;
  background:none;
}
*/


.Portal #allMapArea {
    width: 100%;
    height: auto;
    position: relative;
    /*box-shadow: 0px 0px 0px 5px #32a522;*/
    /*border: dashed 2px white;*/
    color: #454545;
    margin-right: 4px;
    margin-left: 4px;
}
.Portal #allMapArea:after {
    position: absolute;
    content: '';
    right: -1px;
    top: -1px;
    border-width: 0 15px 15px 0;
    border-style: solid;
    border-color: #a7e1d9 #f7f7f7 #a7e1d9;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

.Portal .maplist{
  padding: 2px 12px 2px 53px; /* ← 左に53pxでアイコン分の余白 */
  font-size: 20px;
  color: #fff;
  line-height: 35px;
  text-align: left;
  position: relative;
  font-weight: bold;
  font-family: FOT-UD角ゴ_ラージ Pr6N;
  margin: 0;
  display: block;
  width: auto;
  height: auto;
  background: #32a522;
  border-radius: 5px;
  /* テキスト折り返し（親にも入れておくと安心） */
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.Portal .maplist::before{
  position: absolute;
  top: 50%;
  left: 12px;
  content: "";
  display: block;
  width: 30px;
  height: 24px;
  background: url(../../../../Content/images/site/mds_module_list.png) 5px center no-repeat;
  background-size: contain;
  transform: translateY(-50%); /* 垂直中央に */
}

.wrapSecond{
	padding-bottom: 30px;
	display: flex;
    flex-wrap: wrap;
}
.Portal .catalog-item__desc{
	color: #333;
	font-size: 120%;
	font-weight: bold;
}
.Portal .catalog-item__desc{
	display: none;
}
.Portal .mapctlist101 .catalog-item__desc
,.Portal .mapctlist114 .catalog-item__desc
{
	display: block;
}

.Portal .catalog-item__links li{
	min-width: 30%;
  	display: inline-block;
  	font-size: 120%;
  	font-weight: bold;
  	padding-left: 3%;
}
.Portal .textListDesc{
	display:block;
	padding: 10px 4px;
	font-size: 14px;
}
.Portal .textList{
	border: none;
	padding: 0px;
	line-height: 1.8;
}
.Portal .textList h3{
   color: #333;
   background: #d7d7d7;
   font-weight: bold;
   border-radius: 5px;
}
.Portal .textList a::before {
    content: "\25B6";
    color: #FF9900;
    font-size: 1em;
    text-decoration: none;
    margin-right: 5px;
    display: inline-block;
}
 
.Portal .textList a {
    color: #0099cc;
    text-underline-offset: 3px;
    text-decoration-color: #99CCFF;
}
.wrapContens{
	margin-bottom: 30px;
}

.catalog-item__links{
	padding-top: 10px;
}

/* 共通：トグルアイコンのサイズや隙間を変数で管理 */
.Portal #allMapArea {
  --icon-size: clamp(22px, 2.6vw, 28px); /* 端末に応じて可変 */
  --icon-gap: 8px;                       /* ラベル↔アイコンの隙間 */
  --click-pad-y: 6px;                    /* クリック領域の上下パディング */
  --click-pad-x: 8px;                    /* クリック領域の左右パディング */
}

/* ラベル：クリック領域を広げつつ、テキスト＋アイコンを横並び＆上下中央 */
.Portal #allMapArea .maplist > label {
  display: inline-flex;
  align-items: center;
  padding: var(--click-pad-y) var(--click-pad-x);
  gap: var(--icon-gap);
  line-height: 1.6;
  cursor: pointer;
}

/* ラベル右の白丸＋＞（1本チェブロン） */
.Portal #allMapArea .maplist > label::after {
  content: "";
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  flex: 0 0 auto;
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'>\
  <circle cx='14' cy='14' r='13' fill='white'/>\
  <path d='M11 8 L17 14 L11 20' fill='none' stroke='%2332a522' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") center/contain no-repeat;
  transform-origin: 50% 50%;
  transform: rotate(90deg);              /* 初期は開いてる＝下向き */
  transition: transform 0.25s ease;
}

/* 未チェック（閉じる）だけ右向きに戻す */
.Portal #allMapArea .toggle:not(:checked) ~ .maplist > label::after {
  transform: rotate(0deg);
}

/* --- 折り畳みコンテンツ（共通） --- */
.Portal #allMapArea .textListDesc,
.Portal #allMapArea .textList {
  overflow: hidden;
  box-sizing: border-box;
  opacity: 1;
  margin-top: 6px;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease;
}

/* 説明文（初期は開いた状態） */
.Portal #allMapArea .textListDesc {
  color: #333;
  line-height: 1.8;
  overflow-wrap: break-word;
  max-height: 200px;
  padding: 8px 0 0 0;
}

/* 中身（初期は開いた状態） */
.Portal #allMapArea .textList {
  max-height: 1000px;
  padding: 12px 0 12px 0;
}

/* 未チェック（閉じる）時の上書き */
.Portal #allMapArea .toggle:not(:checked) ~ .textListDesc,
.Portal #allMapArea .toggle:not(:checked) ~ .textList {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin-top: 0;
}

/* ===============================================
   ▼ Scroll Indicator（全体）
   =============================================== */
@media only screen and (max-width: 480px) {
.scroll-indicator {display: none;}
}

@media only screen and (min-width: 481px) {
.scroll-indicator {display: none;}
}
    
@media only screen and (min-width: 769px) {
.scroll-indicator {display: none;}
}
   
@media only screen and (min-width: 981px) {
.scroll-indicator {display: none;}
}
@media only screen and (min-width: 1090px) {
.scroll-indicator {
  position: absolute;
  left: calc(50vw - min(50vw, 575px) );
  top: min(calc(50vh - var(--header-height, 180px) / 2 - var(--footer-height, 80px) / 2),200px);
  height: min(calc(100vh - var(--header-height, 180px) - var(--footer-height, 80px)),900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1001;
}
.Portal #allMapArea .toggle:not(:checked) ~ .scroll-indicator {
    display: none;
}

/* 上の白い実線 */
.scroll-line-top {
  width: 1px;
  height: 35%;
  background-color: #0075C1;
}
@media screen and (max-width: 800px) {
  .scroll-line-top {
    margin-left: 7px;
  }
}

/* アイコン */
.scroll-icon {
  width: 40px;
  height: auto;
  margin: 20px 0;
  filter: brightness(0%);
}

/* 下部（点線＋矢印） */
.scroll-line-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 35%;
  justify-content: flex-start;
  overflow: visible;
}

/* 点線（伸びる） */
.scroll-dots {
  position: relative;
  width: 1px;
  height: 0%;
  background: repeating-linear-gradient(to bottom, #0075C1 0px, #0075C1 4px, transparent 4px, transparent 8px);
  opacity: 0.8;
  -webkit-animation: scrollDotsAnim 2.5s ease-in-out infinite;
          animation: scrollDotsAnim 2.5s ease-in-out infinite;
}

@-webkit-keyframes scrollDotsAnim {
  0% {
    height: 0%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    height: 100%;
    opacity: 0.8;
  }
}

@keyframes scrollDotsAnim {
  0% {
    height: 0%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    height: 100%;
    opacity: 0.8;
  }
}
/* 矢印（三角形CSS：点線の先端に同期） */
.scroll-arrow {
  position: absolute;
  left: 50%;
  top: 0;
  /* ← これが必須（auto からアニメ不可を防ぐ） */
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #0075C1;
  opacity: 0.9;
  -webkit-animation: arrowMoveWithLine 2.5s ease-in-out infinite;
          animation: arrowMoveWithLine 2.5s ease-in-out infinite;
}

/* 親の高さ(=100%)の下端まで移動。矢印の高さ分だけ微調整 */
@-webkit-keyframes arrowMoveWithLine {
  0% {
    top: 0%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 10px);
    opacity: 0.9;
  }
}
@keyframes arrowMoveWithLine {
  0% {
    top: 0%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 10px);
    opacity: 0.9;
  }
}
}
