@charset "UTF-8";
/* CSS変数の宣言 */
/* テンプレートで対応しきれないスタイルをこちらに記入します。ASのみ書き込み可能 */
.br {
  white-space: nowrap;
}

.br::before {
  content: "\A";
  white-space: pre;
}

.mt-2 {
  margin-top: 2em;
}

@media only screen and (min-width : 575px) {
  .for-pc {display: inline;}
  .for-sp {display: none;}}

@media only screen and (max-width : 767.99px) {
  .for-pc {display: none;}
  .for-sp {display: inline;}}

/*wide1280を解除*/
.container-open {
  width: 100%;
  max-width: 100%;
}

/* ------------------------------------------------
   スライド上タイトル・解説文・地図
   ------------------------------------------------ */
.container>h2.ttl-visible {
  position: absolute;
  top:0;
  left: 0;
  z-index: 100;
  width: calc(100% - 1rem);
  padding: 1.5rem;
  color: #ffffff;
  line-height:1.5;
  background: none;
/* background: linear-gradient(to right, var(--archiveNameBackgroundColor), transparent 80%);*/
  letter-spacing:0.15rem;
}

.container>h2.ttl-visible span#eng {
  font-size: 70%;
  font-family: 'Times New Roman', Times, serif;
  padding: .5rem;
  border-top: solid 1px #fff;
  display: inline;
}

@media (max-width:768px) {

 .container > h2.ttl-visible {
    width:auto;
 text-align: center;
 display:inline;
 font-size:1.8em;
 letter-spacing:normal;
   top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  margin: auto;
  border-top:solid 1px #fff;
  border-bottom:solid 1px #fff;
  white-space: nowrap;
}
 .container > h2.ttl-visible#jpn {
 text-align: center;

}
 .container>h2.ttl-visible span#eng {
  font-size:1.0rem;
  border-top: none;
  letter-spacing:0.1em;
}
}

/*スライドに黒グラデーションoverlay*/
.splide__slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--archiveNameBackgroundColor), transparent 80%);
}

/*解説文をslide-introとしてslide-areaに移動（pcサイズのみ）*/
.container#slide-area .slide-intro {
  position: absolute;
  bottom: 1em;
  left: 2em;
  font-size: .9em;
  color: #fff;
  line-height: 1.6;
  z-index: 101;
  width: 30%;
}

.container#slide-area .slide-intro a, .intro-container a {
  display: inline-block;
  padding:.5% 1.5%;
  text-align: right;
  color:#fff;
  text-decoration: underline;
}

.intro-map {
  position: absolute;
  bottom: 0;
  right: 15em;
  z-index: 102;
}

.intro-map img {
  width: 100%;
  /*height: 45vh;
  min-height: 400px;
  max-height: 800px;*/
  height: 40vh;
  min-height: 300px;
  max-height: 600px;
  object-fit: contain;
}
/*スライドの資料名テキスト調整*/
.slide-title{
  padding: .5rem 1rem;
  z-index: 999;
}

@media only screen and (max-width: 767px) {
.splide__slide img {
  width:100%;
  /*height:45vh;*/
  /*min-height:400px;
  max-height:800px;*/
  height:25vh;
  min-height:150px;
  max-height:300px;
  object-fit: cover;
  padding:0 ;
}
}

/* ------------------------------------------------
   グローバルメニュー
   ------------------------------------------------ */
 #contents-menu {
    background: #262626;
 }
   #contents-menu ul{
  justify-content: center;
  width:80%;
  margin:0 auto;
   }
   @media (max-width:767px) {
#contents-menu ul{
  width:100%;
  justify-content: center;

  margin:0;
  padding:0 1%;
}}

#contents-menu li{
  width: 30%;
  min-width:auto;
  margin:0 auto;
  white-space: nowrap;
}


#contents-menu a{
  padding: 0.5rem;
  color:#fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#contents-menu li::after {
  content:"｜";
  color:#fff;
}
#contents-menu li:last-child::after {
  content:"";
}


/* ------------------------------------------------
 contents
   ------------------------------------------------ */

h3 {
  padding: 0 2rem;
  /* font-size: 2.0rem;*/
  font-size: 2.4rem;
  margin: 0;
}

[class^="list-design"] h3 {
  margin-bottom: 2rem;
  line-height: 1.5;
}

[class^="list-design"]{
  width:100%;
  max-width: 1280px;
  padding: 2rem 0;
 /* margin: 2rem auto;*/
 margin:0 auto;
}

/*section-背景色*/
section {
  margin-top:0;
  margin-bottom:0;
}

#news.container{
  /*padding: 2rem 0;
  margin: 2rem auto;*/
  padding:0.5rem 0;
  margin:0 auto;
}

.bg-cont1 {
  background: #ded7f6;
  background: #f8f7fd;
  padding: 2rem auto 4rem auto;
}

.bg-search {
  background: #faf6f5;
}

.bg-chronology {
  background: #f5edeb;
  padding: 2rem auto 4rem auto;
}
.bg-other {
  background:#EBEBEB;
  padding: 2rem auto 4rem auto;
}

[class^="list-design"]#cont1, .container#external-link {
  margin-top:0;
  margin-bottom:0;
  padding-top:3em;
}

@media (max-width: 575px) {
#external-link ul{
  justify-content: center;
}
}
/*#search-center-wrap{
  padding-top: 1rem;
  margin-top: 1rem;
  margin:0 auto;
}
#search-center{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
  font-size:1.0rem;
}*/

#search-center{
  flex-direction: column;
}

/*CONTENTS見出し*/
#top-page [class^="list-design"] h3,
#top-page .container h3 {
  position: relative;
  margin: 0 auto;
  padding: 0;
  margin-top: 4rem;
  margin-bottom: 2.5rem;
}

#top-page  [class^="list-design"] h3::after,
#top-page .container#search-center-wrap h3::after {
  position: absolute;
  content: "　";
  top: -2rem;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  margin: auto;
  width:110px;
  background-image: url(../images/mark_of_Izumi-underline.png);
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width:575px) {

  #top-page  [class^="list-design"]#cont1 h3::before,
  #top-page  .container#search-center-wrap h3::before {
    position: absolute;
    top: -5rem;
    line-height: 1.0;
  }
}

/* 資料に親しむサイズ調整 */
.list-design4.column2#cont1 .item{
  overflow: hidden;
  /*width: calc(100% / 2 - 1rem);*/
  width: calc(100% / 2 - 4rem);
  border:solid 1px #EBEBEB;
      -moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
}

.list-design4.column2#cont1 .contents-wrap {
  justify-content: space-between;
  width:90%;
  margin:0 auto;
}

.list-design4 .item > h4 {
  text-align: center;
  background: rgba(var(--accentColorRGB), 0.4);
}

.list-design4 .item > h4 a {
  text-decoration: none;
}

.list-design4 .item > h4:hover{
 background:var(--accentColor);
  color:#fff;
  transition: all 0.5s ease-in-out;
  /*pointer-events: none;
 background: rgba(var(--backgroundColor));*/
}

.list-design4 .item > h4:hover a{
  color:#fff;
 transition: all 0.5s ease-in-out;
}
/*資料に親しむの文章背景黒*/
.list-design4.column2#cont1 .item p {
  background: #262626;
  color:#fff;
  height:100%;
}

.list-design4 .item img{
/*  display: block;
  object-fit: cover;
  object-position:50% 0%;
  width: 100%;
  height: 30%;
  min-height: 240px;
  max-height: 320px;
  transition: transform .6s ease;*/
  aspect-ratio: 3 / 2 ;
}

/*h3下位の中見出し*/

p.sub-h3 {
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  width: 50%;
  line-height: 1.5;
  padding: 0 1rem;
  font-size: 2.0rem;
  margin: 0 auto;
  margin-bottom: 2em;
}

p.sub-h3::before,
p.sub-h3::after {
  content: "";
  background: var(--accentColor);
  height: 1px;
  flex-grow: 1;
}

p.sub-h3::before {
  margin-right: 1em;
}

p.sub-h3::after {
  margin-left: 1em;
}

@media (max-width: 999px) {
.list-design4.column2#cont1 .item{
  overflow: hidden;
  width: calc(100% / 2 - 2rem);
}
.list-design4.column2#cont1 .contents-wrap {
  gap:1em;
}

}
@media (max-width:575px) {
  p.sub-h3 {
      width: 95%;
  line-height: 1.5;
  padding: 0;
  text-align: center;
  }
}

/*分類別*/
.list-design4.column2#cont2-1 .item{
  width: calc(100% / 2 - 12rem);
  margin:0 3rem;
 /* border:solid 2px #fff;*/
 border:none;
    -moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
}

.list-design4#cont2-1 .item h4{
  /*display: block;
  padding: 1rem 1.5rem ;
  font-size:1.5rem;
  line-height:1.5;
  transition: .3s ease;*/
  padding: .5rem 1.0rem ;
  line-height:1.2;
}

@media (max-width:999px) {
  .list-design4.column2#cont2-1 .item{
  width: calc(100% / 2 - 2rem);
  margin:0 1rem;
  border:solid 2px #fff;
}

.list-design4 .item img{
  width: 100%;
  height: auto;
  min-height: auto;
  max-height: auto;
  aspect-ratio: 2 / 1;/*サイズ調整*/
  transition: transform .6s ease;
}
}

.list-design4.column2#cont2-1 {
  text-align: center;
}
.list-design4.column2#cont2-1 a.pdf {
  display: inline-block;
  padding-bottom:1em;
}

.list-design4.column2#cont2-1 .item p {
  text-align: left;
}

@media screen and (max-width:575px) {
  .list-design4.column2#cont1 .item, .list-design4.column2#cont2-1 .item{
  width: 90%;
  margin:0 auto;
  margin-top:2rem;
}

.list-design4.column2#cont1 .item img, .list-design4.column2#cont2-1 .item img{
  height: 30%;
  min-height: 120px;
  max-height: 240px;
}
}

/*種類別 4列 */
[class^="list-design1"].column4#cont3 .item{
  overflow: hidden;
 /* width: calc(100% / 4 - 1rem );*/
  height:100%;
  width: calc(100% / 4 - 3rem );
  margin:1.5rem 1.5rem;
  border:none;
      -moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
}

[class^="list-design1"]#cont3 .item{
 /* overflow: hidden;
  aspect-ratio: 1 / 1;
  margin: 0.5rem;*/
  border: 1px solid #EBEBEB;
  border-radius: 8px;
}

[class^="list-design1"]#cont3 .item p{
  top: 22%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  margin: auto;
  display: inline-block;
	/*width:8em;*/
  width:95%;
  	height:2em;
    min-height: 2em;
  padding:0;
  font-size: 1.25rem;
  line-height: 1.0;
  background:transparent;
  background: rgba(0,0,0,.6);
  z-index: 11;
}

@media (max-width:999px) {
  [class^="list-design1"].column4#cont3 .item{
      width: calc(100% / 2 - 2rem );
      margin:1.5rem 1rem;
      aspect-ratio: 3 / 2 ;
    }
  [class^="list-design1"]#cont3 .item p{
      width:75%;
    }
}

@media (max-width:575px) {
    .list-design1 > .contents-wrap{
    display:block;
    }
    [class^="list-design1"].column4#cont3 .item{
      width: 90%;
      aspect-ratio: 3 / 1;
      margin:1rem auto;
    }

    [class^="list-design1"]#cont3 .item p,
    .font-xl .item p,
    .font-l .item p{
      top:40%;
     /* padding: 1rem 1rem;
     font-size: 150%;
     letter-spacing:0.15rem*/
      min-height: 2rem;
      line-height:1;
    }
  }

/*------------------------
地図から探す
------------------------*/
/*校区から探すボタン*/

.sec-link-btn {
    padding: 1em 2em;
  width:80%;
  text-align: right;
  margin:2rem 10% 0 auto;
}

.sec-link-btn a{
  display: inline-block;
  width: auto;
  height: auto;
  line-height: 1.5;
  font-size: 1.4rem;
  /*background: var(--accentColor);
  color: #fff;*/
  background: #fff;
  color:#262626;
  border:solid 1px var(--accentColor);
  text-decoration: none;
  position: relative;
  left: 1.5rem;
  padding: 1.0rem 6rem 0.7rem 2.5rem;
  margin-bottom: 2rem;
  margin:0 0 0 auto;
  border-radius: 8px;
   transition: all .5s ease;
}

.sec-link-btn a::before,
.sec-link-btn a::after {
  content: "";
  position: absolute;
  top: calc(50%);
  right: 1.5em;
  width: 15px;
  height: 2px;
  border-radius: 9999px;
  background-color: #262626;
  transform-origin: calc(100% - 1px) 50%;
}

.sec-link-btn a::before {
  transform: rotate(45deg);
}

.sec-link-btn a:after {
  transform: rotate(-45deg);
}

@media (max-width:575px) {
  .container#school-district-btn a {
    padding: 1rem;
  }

  .sec-link-btn {
    padding-right:1.5rem;
  }

  .sec-link-btn a {
    padding: 1.0rem 4rem 0.7rem 1.5rem;
  }
}

.sec-link-btn a:hover {
  background: var(--accentColor);
  color:#fff;
  transition: all 0.5s;
}
.sec-link-btn a:hover::before,
.sec-link-btn a:hover::after {
  background-color: #fff;
}

/*他の「地図から探す」はadeac_sub_map.cssに記載*/


.t-btn-box {
  display: inline-block;
  width:12em;
  max-width:250px;
  display: flex;
  flex-wrap: nowrap;
  border-bottom:solid 1px #262626;
}

/*年表のセルサイズ調整*/
.list-design5#chronology.column3 li{
  width: calc(100% / 3);
  padding:.5rem 2rem;
}
.list-design5#chronology.column3 li a{
 /* padding: 1.5rem 1rem;*/
 padding:1.5rem 1rem;
}

@media (max-width:999px) {
   .list-design5#chronology.column3 li {
    margin:0 auto;
    padding:.1em .1rem;
   }
  }

@media (max-width:575px) {
   .list-design5#chronology.column3 li {
    margin:0 auto;
    width:90%;
    padding-bottom:.2em;
   }
.list-design5#chronology.column3 li a {
  /* margin: 0.5rem 0.5rem 1.5rem;*/
  margin: 1.5%;
}
}
/*その他のh3*/
.list-design1#random h3{
  line-height:2;
  margin:0;
}

.container#news h3::after, .list-design1#random h3::after, .container#external-link h3::after {
            content: '';
          display: inline-block;
          width: 55px;
          height: 6px;
          position: absolute;
          left: 50%;
          bottom: -10px;
          transform: translateX(-50%);
  background-color: var(--accentColor);
}

/*ランダムピックアップ位置調整*/
.list-design1#random h3::after {
  bottom:-100px;
}

[class^="list-design1"]#random .item {
    -moz-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 3px 0px rgba(0, 0, 0, 0.16);
}

[class^="list-design1"]#random .item p{
 /* position: absolute;
  bottom: 0;
  left:0;
  display: grid;
  place-content: center;
  width: 100%;
  min-height: 6rem;
  padding:1rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  background: rgba(var(--accentColorRGB), 0.7);*/
  min-height:auto;
  padding:.5rem .5rem;
  font-size: 1.0rem;
}

@media (max-width:575px) {
  [class^="list-design1"]#random .item {
    width:90%;
    margin:0 auto;
    aspect-ratio: 3 / 1 ;
    margin-bottom:1rem;
  }

    [class^="list-design1"]#random .item:last-child {
      margin-bottom:0;
    }
}

footer {
  background: #262626;
  background: var(--accentColor);
  color:#fff;
  margin-top:0;
}

footer a, #footer-links {
  color:#fff;
}