@charset "utf-8";

#heading {
  padding: 0 0 6px;
  /* border-bottom: solid 2px #f39800; */
  border-bottom: solid 2px #006837;
}

#heading h1 {
  border: none;
  margin: 0;
  padding: 0;
  /* color: #f39800; */
  color: #006837;
  font-size: 240%;
}

#heading h2 {
  border: none;
  margin: 0;
  padding: 0;
  font-size: 120%;
}



.article {
  margin: 40px 0;
}

.article .title {
  display: flex;
  margin: 0 0 16px;
  font-size: 2.2rem;
  align-items: center;
  padding: 0 0 8px 10px;
  justify-content: space-between;
  border-bottom: 1px dotted #3e8dc9;
}

.article .title h3 {
  border: none;
  margin: 0;
  padding: 0;
  font-size: 2.5rem;
  /* color: #e60013; */
}

.article .title h3::first-letter {
  color: #09c;
}

.article .title a {
  color: #000;
  border: solid 1px #000;
  padding: 2px 4px;
  font-size: 1.2rem;
}

.article .title a.view {
  font-size: 1.4rem;
  font-weight: normal;
  color: #111111;
  border: 1px solid #111111;
  width: 20%;
  padding: 1%;
  text-align: center;
  margin-right: 2%;
}

.article .title a.view:after {
  content: url(../images/home/view_arrow.png);
}

.article .index {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  overflow: hidden;
}

.article .index .links {
  flex: 1 1 auto;
  min-width: 0;
}

.article .index .links ul li {
  margin: 0 0 10px 0;
}

.article .index .links ul li > a {
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.article .index .links ul li > a:hover {
  color: #00b029;
}

.article .index .links ul li > a .ttl {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

.article .index .links ul li > a .date {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #666;
  font-size: 0.95em;
}

.article .index .photo {
  flex: 0 0 231px;
  max-width: 231px;
  box-sizing: border-box;
  border: solid 1px #ccc;
  padding: 10px;
}

.article .index .photo a {
  color: #000;
  overflow: hidden;
  display: -webkit-box;
  word-break: break-all;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}

.article .index .photo a img {
  width: 100%;
  height: auto;
  display: block;
}

.article .index .photo a:hover {
  color: #00b029;
}

.article .index .photo a p {
  margin: 4px 0 0;
}

#hot.article .index .links ul {
  padding: 0;
  margin: 0;
}

#hot.article .index .links ul li {
  list-style: none;
  display: flex;
  /*align-items: center;*/
  padding: 3% 0;
  border-bottom: 1px solid #dad9d2;
}

#hot.article .index .links ul li:first-of-type {
  border-top: 1px solid #dad9d2;
}

#hot.article .index .links ul li .image {
  width: 30%;
}

#hot.article .index .links ul li .text {
  width: 70%;
  padding-left: 3%;
  font-size: 1.4rem;
  color: #7a7a7a;
}

#hot.article .index .links ul li .text .category a {
  color: #09c;
  font-size: 1.4rem;
}

#hot.article .index .links ul li .text .ttl {
  color: #333333;
  font-size: 1.4em;
  font-weight: bold;
}

#hot.article .index .links ul li .text .excerpt {
  font-size: 1.4rem;
  color: #7a7a7a;
  margin-top: 10px;
}

#map .map.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .content {
    margin: 0;
  }
  
  .article .index {
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
  }

  .article .index .links {
    flex: auto;
    width: 100%;
  }

  .article .index .photo {
    flex: auto;
    width: 100%;
    max-width: 100%;
  }
}


@media screen and (max-width: 480px) {
  
  #map .map.pc {
    display: none;
  }
  
  #map .map.sp {
    display: block;
  }
  
  #map .map {
    padding: 0;
    list-style: none;
  }
  
  #map .map li a {
    padding: 1em;
    display: block;
    margin: 0 0 8px;
    font-weight: bold;
    border-radius: 8px;
  }
  
  #map .map a:hover {
    color: #fff;
  }
  
  #map .map span {
    font-weight: normal;
  }
  
  #map .map.sp .hokkaido a {
    background-color: rgba(34, 172, 56, 0.8);
  }
  
  #map .map.sp .tohoku a {
    background-color: rgba(166, 74, 151, 0.8);
  }
  
  #map .map.sp .kanto a {
    background-color: rgba(232, 56, 32, 0.8);
  }
  
  #map .map.sp .chubu a {
    background-color: rgba(143, 195, 31, 0.8);
  }
  
  #map .map.sp .kinki a {
    background-color: rgba(241, 142, 29, 0.8);
  }
  
  #map .map.sp .chugoku a {
    background-color: rgba(255, 225, 0, 0.8);
  }
  
  #map .map.sp .shikoku a {
    background-color: rgba(3, 110, 184, 0.8);
  }
  
  #map .map.sp .kyushu a {
    background-color: rgba(232, 82, 152, 0.8);
  }
}
