#contents {
font-family: "Noto Sans JP", sans-serif;
}

.header h1 img {
width: 100%;
height: auto;
}

.intro-txt {
letter-spacing: 0.04em;
line-height: 1.75;
font-family: "Noto Sans JP", sans-serif;
font-size: max(16px, min(2.5vw, 18px));
font-size: calc(14px + 0.1vw);
padding: 0px 20px;
margin: max(1em, min(2vw, 1em)) 0;
text-align: center;
}

.textBox {
font-family: "Noto Sans JP", sans-serif;
border: 2px solid #333;
border-radius: 5px;
padding: 16px;
position: relative;
margin: 2em;
}

.textBox::before {
font-family: "Noto Sans JP", sans-serif;
background-color: #fff;
color: #333;
content: "\66F8\5E97\30D5\30A7\30A2\60C5\5831";
font-weight: 500;
left: 30px;
padding: 3px 10px;
position: absolute;
top: -15px;
}

.category_title {
    display: flex;
    align-items: center;
    padding: .2em .3em;
    background-color: #f2f2f2;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
}

.category_title::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #25d0c5;
    content: '';
}

.read-label {
    color: #fff;
    background: #25d0c5;
    border-radius: 20px;
	padding: 0.4em 0.7em;
	font-size: small;
	font-family: "Noto Sans JP", sans-serif;
}

.new {
    display: flex;
    align-items: center;
    padding: .2em .3em;
    background-color: #ffe4e1;
	color: #333333;
	font-family: "Noto Sans JP", sans-serif;
}

.new::before{
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #ffb6c1;
    content: '';
}


#new_residents-menu nav ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0 1em;
    margin-top: 2em;
}

#new_residents-menu nav ul li {
    flex: 1;
    width: 100%;
    padding: .5em .7em;
    margin-bottom: 20px;
}

#new_residents-menu nav ul li a {
    align-items: center;
    background-color: #ffe4e1;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: bold;
    height: 70px;
    justify-content: center;
    line-height: 24px;
    max-width: 100%;
    padding: 35px 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
    
#new_residents-menu nav ul li a:after {
    background-color: #111;
    border-radius: 8px;
    content: "";
    display: block;
    height: 70px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    transition: transform .2s ease-out;
    z-index: -1;
    }

#new_residents-menu nav ul li a:hover:after {
    transform: translate(0, 0);
    }

#new_residents-menu nav ul li a:active {
    background-color: #ffdeda;
    outline: 0;
    }

#new_residents-menu nav ul li a:hover {
    outline: 0;
    }

h2 {
    position: relative;
    padding: 1rem 1rem 1rem 2.5rem;
    border: 2px solid #ffb6c1;
    background-image:
        linear-gradient(90deg, transparent 0 30px, #fff 30px),
        repeating-linear-gradient(135deg, #ffb6c1 0 3px, transparent 3px 6px);
    color: #333;
    font-size: 26px;
    font-weight: bold;
}

.Category {
    margin-top: 32px;
}

.Category_list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

.Category_listItem {
    margin-right: 15px;
    margin-bottom: 25px;
}

.Category_link {
    background-color: #fff000;
    border-radius: 14px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    padding: 10px 15px;
    text-align: center;
    transition: 200ms;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    font-size: 16px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.Category_link:not(:disabled):hover,
.Category_link:not(:disabled):focus {
    outline: 0;
    background: #f4e603;
    box-shadow: 0 0 0 2px rgba(0,0,0,.2), 0 3px 8px 0 rgba(0,0,0,.15);
    text-decoration: none;
}

.Category_link:disabled {
    filter: saturate(0.2) opacity(0.5);
    -webkit-filter: saturate(0.2) opacity(0.5);
    cursor: not-allowed;
}

}.webcontents-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

.webcontents-row {
	display: flex;
	flex-direction: column;
}

.webcontents-column {
	flex: 1;
	padding: 10px;
	box-sizing: border-box;
}

.img-border {
    border: solid 1px #777777; 
    padding: 10px;
}

.img-radius {
    border: solid 1px #777777; 
    border-radius: 15px;
    max-width: 80%;
}

.responsive-image {
	width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.webcontents-column {
position: relative;
text-align: left;
}

.webcontents-column span {
  position: absolute;
  color: #fff;
  font-size: 1rem;
  top:5%;
  left: 5%;
  transform: translate(-50%,-50%);
  background: #d9534f;
  padding: 0.5rem 1.2rem;
}

@media screen and (max-width: 768px){
.webcontents-column span{
  font-size: 1.5rem;
  width: 14%;
  left: 8%;
  padding: 0.5rem;
}
}

@media (min-width: 992px){
   #new_residents-menu nav ul {
        flex-direction: row;
        justify-content: center;
    }
   #new_residents-menu nav ul li a {
        padding: 40px 40px;
        font-size: medium;
    }
   #new_residents-menu nav ul li a:after {
        height: 82px;
      }
    .btns {
        grid-auto-flow: column;
    }
	.webcontents-column {
        flex: 100%;
    }
    .webcontents-row {
	flex-direction: row;
}
}

@media (min-width: 768px){
.sp-cpn {
    display: none;
}
}
