
/*************************************************
sub header
*************************************************/
header.sub {
  padding-top: 10px;
}

.mv_btn_wrap.sub {
  right: 0;
  top: 20%;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.mv_btn_wrap.sub a {
  width: auto;
  flex-direction: column;
  padding: 15px 10px;
  gap: 5px;
  filter: none;
  border-radius: 20px 0 0 20px;
}

.mv_btn_wrap.sub a span.fw_medium {
  writing-mode: vertical-lr;
}
/*************************************************/

.sub_ttl{
  padding: calc(110px + 6.8vw) 0 4.6vw;
}

.sub_ttl01{
  background: url("../../img/common/sub_bg.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl02{
  background: url("../../img/common/sub_bg02.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl03{
  background: url("../../img/common/sub_bg03.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl04{
  background: url("../../img/common/sub_bg04.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl05{
  background: url("../../img/common/sub_bg05.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl06{
  background: url("../../img/common/sub_bg06.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl07{
  background: url("../../img/common/sub_bg07.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl08{
  background: url("../../img/common/sub_bg08.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl09{
  background: url("../../img/common/sub_bg09.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl10{
  background: url("../../img/common/sub_bg10.jpg") no-repeat center;
  background-size: cover;
}

.sub_ttl .position-relative h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 10px);
}


/*---------------------cont/---------------------*/
.bg01 {
  background: url("../../img/top/top01.jpg") no-repeat center;
  background-size: cover;
    background-attachment: fixed;
  padding: 120px 0;
}

.news_box {
  padding-bottom: 8px;
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
  z-index: 0;
}

.news_box:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  z-index: -2;
  background: #ccc;
}

.news_box:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #004D80;
  z-index: -1;
  -webkit-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  transition: -webkit-transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, -webkit-transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.news_box i {
  position: absolute;
  top: 20%;
  right: 20px;
  -webkit-transition: color 0.35s ease-out 0s, -webkit-transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  transition: color 0.35s ease-out 0s, -webkit-transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  transition: transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, color 0.35s ease-out 0s;
  transition: transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, color 0.35s ease-out 0s, -webkit-transform 0.45s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.news_box_wap .news_box_ttl {
    padding-right: 80px;
}


.news_s_box{
    margin-bottom: 300px;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.table01 {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  width: 100%;
}

.table01 th {
  padding: 20px 30px;
  border-right: 1px solid #ccc;
  /* width: 27%; */
  width: 50%;

}

.table01 td {
  padding-left: 30px;
  line-height: 1.6;
}


table.contact_form {
	width: 90%;
	margin: 40px auto 40px auto;
}
table.contact_form th {
	padding: 2% 1%;
	text-align: center;
	border-right: 1px solid #B5B3BB;
	width: 27%;
	vertical-align: top;
}
table.contact_form td {
	width: 69%;
	text-align: left;
	padding: 2% 2% 2% 6%;
	font-weight: 200;
}
table.contact_form td a {
	color: #716A8A;    
}
label {
  font-weight: 400;
}
.con_frame01 input{
	height: 30px;
	width: 100%;
	border: 1px solid #CCCCCC;
  font-weight: 400;
}
.con_frame06 textarea{
	height: 150px;
	width: 100%;
	border: 1px solid #CCCCCC;
  font-weight: 400;
}
.con_frame01 input:focus,
.con_frame06 textarea:focus{
    outline: none;
}
form .btn_main {
  background-color: transparent;
  padding: 0;
  border: none;
}
form .btn_main:hover {
  border: none;
  background-color:transparent;
  color: inherit;
}
form .btn_main input {
  border: #004D80 solid 1px;
  background-color: #004D80;
  color: #fff;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
  padding: 0.7vw 1.5vw;
  max-width: 360px;
  line-height: 1.6;
  transition: .3s;
}
form .btn_main input:hover {
  border: #004D80 solid 1px;
  background-color: rgba(255, 255, 255, 0);
  color: #004D80;
}

input[type=button],
input[type=submit]{
    font-family: "Noto Sans JP", sans-serif;
    cursor: pointer;
    transition: 0.3s;
        width: 200px;
}
/*::    例の見た目   ::*/
/* Chrome */
::-webkit-input-placeholder {
	color: #D6D6D6;
	padding-left: 5px;
	padding-top: 5px;
    font-family: "Noto Sans JP", sans-serif;
}
/* Firefox */
::-moz-placeholder {
	color: #D6D6D6;
	padding-left: 5px;
	padding-top: 5px;
    font-family: "Noto Sans JP", sans-serif;
}
/* IE */
:-ms-input-placeholder {
	color: #D6D6D6;
	padding-left: 5px;
	padding-top: 5px;
    font-family: "Noto Sans JP", sans-serif;
}


/*************************** main slider ****************************/
.main-view .main-view-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}
/*************************** main slider ****************************/

.contact.form_link{
    width: 310px;
    margin: 40px auto 0;
}


.cont02 > img {
  position: relative;
  padding: 0;
  height: 600px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.cont02 .cont02_txt_box {
  position: relative;
  z-index: 10;
  margin-top: 50px;
  right: 50px;
}

.cont04{
  background: url("../../img/about/about00.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 120px 0;
}

.cont04.profile{
  background: url("../../img/profile/profile01.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 120px 0;
}

.cont05 .cont05_box{
    margin: 30px 0 0;
}

.cont06 .cont06-row img,.cont06 .cont06-row p {
  width: 47%;
}

.cont08 .cont08_box_txt02 i{
    font-size: 36px;
}

.cont09 .cont09_box{
    display: block;
    height: auto;
    overflow: hidden;
}

.cont09 .cont09_box figure {
    position: relative;
}

.cont09 .cont09_box figure img{
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    height: 230px;
}

.cont09 .cont09_box figure p{
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    color: #fff;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.cont09 .cont09_box figure .material-icons-outlined {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 70%;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    border-radius: 100%;
    transition: .3s;
}

.cont09 .cont09_box figure:hover img{
        -webkit-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
}
.cont09 .cont09_box figure:hover .material-icons-outlined {
    background-color: #FFFFFF;
    color: #004D80;
}
.cont11 .cont11-box table {
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #ccc;
}
.cont11 .cont11-box table tr {
  border-bottom: 1px solid #ccc;
}
.cont11 .cont11-box table tr:last-child {
  border-bottom: none;
}
.cont11 .cont11-box .table-ptn02 thead tr:last-child {
  border-bottom: 1px solid #ccc;
}
.cont11 .cont11-box table tr th,.cont11 .cont11-box table tr td {
  padding: 20px;
}
.cont11 .cont11-box table tr th {
  width: 25%;
  vertical-align: middle;
}
.cont11 .cont11-box .table-ptn02 tr th,.cont11 .cont11-box .table-ptn02 tr td {
  border: 1px solid #ccc;
}
.cont11 .cont11-box .table-ptn02 tr th:last-child,.cont11 .cont11-box .table-ptn02 tr td:last-child {
  border-right: none;
}
.table-ptn02-wrap .table-ptn02-note {
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.cont12 .cont12-wrap {
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.cont12 .cont12-wrap .cont12-item {
  background-color: #f5f5f5;
  padding: 20px 20px 20px 0;
}
.cont12 .cont12-wrap .cont12-item img {
  max-width: 250px;
  width: 30%;
}
.cont12 .cont12-wrap .material-icons{
  font-size: 50px !important;
}
.cont12 .cont12-wrap .cont12-item p:first-child {
  width: 100px;
  text-align: center;
  flex-shrink: 0;
}
.cont12.cont12-1 .cont12-wrap .cont12-item p:first-child {
  border-right: 1px solid #004D80;
}
.cont12 .cont12-wrap .cont12-item p:last-child {
  padding-left: 20px;
}
.anchor-point {
  transform: translateY(-80px);
}
.anchor-link  a {
  border: 1px solid #004D80;
  padding: 10px 40px;
  transition: .3s;
}
.anchor-link  a:nth-child(2) {
  margin: 0 20px;
}
.anchor-link  a::after {
  content: "\e5cf";
  font-family: 'Material Icons';
  font-size: 30px;
  margin-left: 20px;
}
.anchor-link  a:hover {
  background-color: #004D80;
  color: #FFFFFF;
  opacity: 1;
}

.cont13 .cont13-wrap .cont13-item {
  background-color: #ffffff;
  border: 1px solid #004D80;
  padding: 20px;
}
.cont13 .cont13-wrap .cont13-item .switch {
  display: none;
  border-top: 1px solid #004D80;
  padding-top: 20px;
  margin-top: 20px;
}
.cont13 .cont13-wrap .cont13-item .cont13-item-q {
  cursor: pointer;
}
.cont13 .cont13-wrap .cont13-item .cont13-item-q .material-icons-outlined {
  margin-left: 20px;
  font-size: 30px;
  transition: .4s;
}
.cont13 .cont13-wrap .cont13-item .cont13-item-q .material-icons-outlined.open {
  transform: rotate(180deg);
}
.cont13 .cont13-wrap .cont13-item p:first-child {
  border-right:none;
  width: 10vw;
}
.cont13 .cont13-wrap .cont13-item p:last-child {
  padding-left: 0;
}

.cont14 .cont14-row-wrap .cont14-row {
  gap: 40px;
}
.cont14 .cont14-row-wrap .cont14-row:nth-child(even) {
  flex-direction: row-reverse;
}
.cont14 .cont14-row-wrap .cont14-row .cont14-row-image {
  width: 45%;
}
.cont14 .cont14-row-wrap .cont14-row .cont14-row-image img{
  max-width: 100%;
  width: 100%;
}
.cont14 .cont14-row-wrap .cont14-row .cont14-row-text {
  width: 50%;
}

/*---------------------cont/---------------------*/

.border_main {
  border: 1px solid #004D80;
  border-radius: 30px;
}
/*************************************************
一日の過ごし方
*************************************************/
.cont12 .flow_row .cont12-wrap {
  width: 47%;
}
.cont12 .flow_row .cont12-wrap .cont12-item p:first-child {
  width: 120px;
}
.cont12 .flow_row .cont12-wrap .cont12-item p:last-child {
  padding-left: 10%;
}
.cont12.bg_gray .flow_row .cont12-wrap .cont12-item {
  background-color: #FFFFFF;
}
.cont12 .flow_row .cont12-wrap .cont12-item {
  background-color: #F6F3EF;
}

/*************************************************
社会福祉法人 有松幼睦園
*************************************************/
.report .container .report_row .report_row_item {
  width: 48%;
}
.report .container .report_row .report_row_item.report_row_left {
  padding-right: 60px;
  border-right: 1px solid #004D80;
}
.report .container .report_row .report_row_item .cmn_btn{
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between !important;
}

/*************************************************
アルバム
*************************************************/
main .album01 .album01_inner .class_list_wrap {
  gap: 40px;
}
main .album01 .album01_inner .class_list_wrap .cmn_btn {
  width: 47%;
}
main .album01 .album01_inner .cmn_btn.photo_buy {
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_wrap.album {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px 20px;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_wrap.album a {
  width: 100%;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_wrap.album a h3 {
  border-bottom: 1px solid #004D80;
}

/*************************************************
お知らせ
*************************************************/
main .news .news_inner .news_row .news_row_item.news_row_left .news_wrap {
  gap: 50px 0;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_wrap a {
  width: 48%;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul li a,
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul.yearArchiveList li span {
  font-size: 18px;
  font-weight: bold;
  font-family: "Zen Maru Gothic", sans-serif;
  padding: 10px 0 5px 0;
  border-bottom: 1px solid #004D80;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #004D80;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul li a::after,
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul.yearArchiveList span::after {
  content: "\eaaa";
  font-family: "Material Icons";
  font-size: 36px;
  color: #004D80;
  display: block;
  margin-left: 10px;
  padding-right: 10px;
  transition: .3s;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul li a:hover {
  opacity: .6;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul li a:hover::after {
  padding-right: 0px;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul li:first-child a {
  padding-top: 0;
  margin-top: 0;
}

main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul .eachYear {
  display: none;
}

main .news .news_inner .news_row .news_row_item.news_row_right .side_content h4 {
  display: none;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul.yearArchiveList li span::after {
  content: "\e7cd";
  transform-origin: center;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul.yearArchiveList li span {
  cursor: pointer;
  font-size: 22px;
  transition: .3s;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul.yearArchiveList li span.open::after {
  transform: rotate(180deg);
  padding-left: 10px;
}
main .news .news_inner .news_row .news_row_item.news_row_right .side_content ul.yearArchiveList li span:hover {
  opacity: .6;
}

main .news .news_inner .news_row .news_row_item.news_row_left .news_content_wrap .post_link .single-nav {
  position: relative;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_content_wrap .post_link .single-nav a[rel="prev"] {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  text-align: right;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_content_wrap .post_link .single-nav a {
  font-size: 14px;
  font-family: "Noto Sans JP";
  font-weight: 500;
  width: 45%;
}
main .news .news_inner .news_row .news_row_item.news_row_left .news_content_wrap .post_link .cmn_btn {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
}

/*ページャーのCSS*/

.wp-pagenavi{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.wp-pagenavi a, .wp-pagenavi span,
.page-numbers, .wp-pagenavi .current, .wp-pagenavi .page, .previouspostslink, .nextpostslink, #pagenavi a.last, #pagenavi a.first{
  border: 1px solid #004D80 !important;/*←好きな色を入れてください。*/
  background-color: #004D80;/*←好きな色を入れてください。*/
  padding: 12px 17px;
  color: #fff;/*←好きな色を入れてください。*/
  font-size: 20px;
  line-height: 16px;
  font-weight: bold;
  margin: 5px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.previouspostslink:hover,
.nextpostslink:hover,
.wp-pagenavi .page:hover{
  background: #fff;/*←好きな色を入れてください。*/
  border: 1px solid #004D80 !important;/*←好きな色を入れてください。*/
  color: #004D80 !important;/*←好きな色を入れてください。*/
}

.wp-pagenavi .current{
  background: #fff;/*←好きな色を入れてください。*/
  color: #004D80;/*←好きな色を入れてください。*/
}

/*記事のCSS*/
.news_s_box_txt {
  border: 1px solid #004D80;
  border-radius: 30px;
}
.news_s_box_txt p{
  margin-bottom: 40px;
  word-break: break-all;
}

.news_s_box_txt p::after{
content: none;
}

.news_s_box_txt img{
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.blocks-gallery-item img{
  margin: 0;
}

.news_s_box_txt * {
  font-size: inherit;
  font-weight: inherit;
  font-family: "Noto Sans JP";
  font-weight: 500;
}
.news_s_box_txt a{
  color: #004D80;/*←好きな色を入れてください。*/
  transition: 0.3s;
  font-weight: bold;
}

.news_s_box_txt a:hover{
  opacity: 0.6;
  transition: 0.3s;
}
.news_s_box_txt p strong span,
.news_s_box_txt p strong{
  font-weight: bold;
}

.news_s_box_txt .alignleft{
  float: left;
  margin: 20px 20px 20px 0; /*←好きな余白で*/
}

.news_s_box_txt .alignright{
  float: right;
  margin: 20px 0px 20px 20px; /*←好きな余白で*/
}

.news_s_box_txt img.aligncenter{
  display: block;
  margin: auto;
}

.news_s_box_txt img.alignnone{
  display: block;
}

.news_s_box_txt ul li { 
  list-style-type: disc;
}

.news_s_box_txt ol li { 
  list-style-type: decimal; 
}

.news_s_box_txt iframe{
  max-width: 100%;
} 
.news_s_box_txt p.has-text-align-center{
  text-align: center;
}
.news_s_box_txt p.has-text-align-right{
  text-align: right;
}

.news_s_box_txt h2,.news_s_box_txt h3,.news_s_box_txt h4,.news_s_box_txt h5,.news_s_box_txt h6 {
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: bold;
  font-family: "Zen Maru Gothic", sans-serif;
}

.news_s_box_txt h2 {
font-size: 26px; /*←好きな大きさで*/
border-bottom: solid 2px #C1CCCC;/*←好きな色を入れてください。*/
position: relative;
}

.news_s_box_txt h2::after{
position: absolute;
content: " ";
display: block;
border-bottom: solid 2px #004D80;/*←好きな色を入れてください。*/
bottom: -2px;
width: 20%;

}


.news_s_box_txt h3 {
font-size: 24px; /*←好きな大きさで*/
border-left: solid 5px #004D80;/*←好きな色を入れてください。*/
background: #f5fbff;/*←好きな色を入れてください。*/
padding-left: 10px;
}

.news_s_box_txt h4 {
font-size: 22px; /*←好きな大きさで*/
position: relative;
padding-left: 23px;
}

.news_s_box_txt h4:after {
position: absolute;
content: "●";
top: 50%;
-webkit-transform: translate(0, -50%);
/* Safari用 */
transform: translate(0, -50%);
left: 0;
font-size: 16px;
color: #004D80;/*←好きな色を入れてください。*/
}

.news_s_box_txt h5 {
font-size: 18px;  /*←好きな大きさで*/
}

.news_s_box_txt h6 {
font-size: 16px;  /*←好きな大きさで*/
}

/**********************************************
年間行事
**********************************************/
.row.event_list .cont05_box.last {
  padding: 55px 35px 0 35px;
}
.row.event_list .cont05_box.last p {
  padding-bottom: 10px;
  border-bottom: 2px solid #004D80;
  margin-top: 10px;
}
.row.event_list .cont05_box.last p:first-of-type {
  margin-top: 0;
}