@charset "utf-8";

/* CSS Document */
#mainimage {
  margin-bottom: 130px;
  padding-top: 30px;
  background: url("../images/top_bg.png") top center;
}

#mainimage img {
  width: 100%;
  height: auto;
}

#block1 {
  margin-bottom: 70px;
  padding-bottom: 60px;
  background-image: url("../images/top_bg.png");
  background-repeat: no-repeat;
  background-size: 100% 80%;
  background-position: center bottom;
}

#block1 .inbox1 {
  width: 1300px;
  max-width: 94%;
  margin: 0 auto 60px;
  background-image: url("../images/lead_pattern1.png"), url("../images/lead_pattern2.png"), url("../images/lead_bg.png");
  background-position: top right, bottom right 90px, top center;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, cover;
  border-radius: 5px;
  position: relative;
  min-height: 340px;
}

#block1 .inbox1 .txt {
  padding: 0 60px 60px 60px;
  position: absolute;
  top: -20px;
  display: flex;
  justify-content: space-between;
}

#block1 .inbox1 .left {
  width: 40%;
  margin-right: 5%;
}

#block1 .inbox1 .right {
  width: 60%;
  margin-top: 80px;
}

#block1 .inbox1 .right img {
  margin-bottom: 30px;
}

#block1 .inbox2 {
  width: 1140px;
  /*width: 1300px;*/
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#block1 .inbox2 li {
  /*width: 31.57894%;*/
  /*width: 22.5%;*/
  width: 30%;
  text-align: center;
}

#block1 .inbox2 li dt {
  margin-bottom: 10px;
}

#block1 .inbox2 li dd {
  text-align: left;
}

#block1 .inbox2 li dd:nth-of-type(1) {
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

#block1 .inbox2 li dd:nth-of-type(1) img:first-child {
  position: relative;
  z-index: 1;
}

/*#block1 .inbox2 li:nth-child(1) dd:nth-of-type(1) .pattern {
  position: absolute;
  bottom: -5%;
  left: -10%;
  width: 40%;
  height: auto;
}*/

#block1 .inbox2 li:nth-child(1) dd:nth-of-type(1) .pattern {
  position: absolute;
  bottom: -5%;
  right: 0;
  width: 40.833%;
  height: auto;
  z-index: 2;
}

#block1 .inbox2 li:nth-child(2) dd:nth-of-type(1) .pattern {
  position: absolute;
  right: -10%;
  width: 38.055%;
  height: auto;
}

#block1 .inbox2 li:nth-child(3) dd:nth-of-type(1) .pattern {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 30%;
  height: auto;
  z-index: 2;
}

#block2 {
  width: 1200px;
  max-width: 94%;
  margin: 0 auto 60px;
  display: flex;
  /*justify-content: space-between;*/
}

#block2 .left {
  /*width: 18%;*/
  width: 240px;
  margin-top: 12px;
  flex-shrink: 0;
}

#block2 .left img {
  margin-bottom: 40px;
}

#block2 dl {
  /*width: 78%;*/
  border-bottom: solid 1px #DCD5C9;
}

#block2 dt {
  /*width: 300px;
  float: left;*/
  padding: 12px 12px 0 12px;
  border-top: solid 1px #DCD5C9;
  box-sizing: border-box;
}

#block2 dt p {
  width: 120px;
  margin-left: 25px;
  padding: 6px 0 5px;
  display: inline-block;
  border-radius: 20px;
  text-align: center;
  font-size: 85%;
  font-weight: bold;
  line-height: 100%;
  box-sizing: border-box;
}

#block2 dt p.icon1 {
  border: solid 2px #F1987A;
  color: #F1987B;
  background: #FFFFFF;
}

#block2 dt p.icon2 {
  border: solid 2px #8BC552;
  color: #8BC552;
  background: #FFFFFF;
}

#block2 dt p.icon3 {
  border: solid 2px #86A6E1;
  color: #86A6E1;
  background: #FFFFFF;
}

#block2 dt p.icon4 {
  border: solid 2px #D0B480;
  color: #D0B480;
  background: #FFFFFF;
}

#block2 dd {
  /*margin-left: 300px;*/
  padding: 12px;
  border-top: solid 1px #DCD5C9;
  box-sizing: border-box;
}

#block2 dd:after {
  content: '';
  display: block;
  clear: both;
}

#block2 dt:first-of-type,
#block2 dd:first-of-type {
  border-top: none;
}

/**** 2023/03/22　****/

#news_block {
  width: 100%;
}

#news_block dl {
  width: 100%;
  border-bottom: solid 1px #DCD5C9;
}

#news_block dt {
 width: 260px;
  float: left;
  padding: 12px 12px 0 12px;
  border-top: solid 1px #DCD5C9;
  box-sizing: border-box;
}

#news_block dt p {
  width: 120px;
  margin-left: 25px;
  padding: 6px 0 5px;
  display: inline-block;
  border-radius: 20px;
  text-align: center;
  font-size: 85%;
  font-weight: bold;
  line-height: 100%;
  box-sizing: border-box;
}

#news_block dt p.icon-shokuhinkensa {
  border: solid 2px #F1987A;
  color: #F1987B;
}

#news_block dt p.icon-oshirase {
  border: solid 2px #8BC552;
  color: #8BC552;
}

#news_block dt p.icon-johokokai {
  border: solid 2px #86A6E1;
  color: #86A6E1;
}

#news_block dt p.icon-koekimokuteki {
  border: solid 2px #D0B480;
  color: #D0B480;
}

#news_block dd {
  margin-left: 260px;
  padding: 12px;
  border-top: solid 1px #DCD5C9;
  box-sizing: border-box;
  /*max-width:100% !important;*/
  /*width:700px !important;*/
}

#news_block dd:after {
  content: '';
  display: block;
  clear: both;
}

#news_block dt:first-of-type,
#news_block dd:first-of-type {
  border-top: none;
}

.entry-icon-new{
  font-weight:bold;
  color:#F60;
  padding-left:15px;
}


/*******/

#block3 {
  padding: 60px 0 80px;
  background: url("../images/top_bg.png") top center;
}

#block3 .inbox1 {
  width: 1200px;
  max-width: 94%;
  margin: 0 auto 110px;
  display: flex;
  justify-content: space-between;
}

#block3 .inbox1 li {
  width: 31.666%;
}

#block3 .inbox2 {
  width: 1200px;
  max-width: 94%;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 7px;
  padding: 70px 4% 4%;
  box-shadow: 0px 0px 10px 0px rgba(145, 124, 94, 0.18);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  position: relative;
}

#block3 .inbox2 .title {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#block3 .inbox2 li {
  width: 16%;
}

/*フローティングバナー*/
.floating-bnr {
width: 200px;
max-width: 160px;
position: fixed;
top: 570px;
right: 10px;
z-index: 200;
text-align: right;
}

.floating-bnr-close {
font-weight: bold;
position: absolute;
top: -7px;
right: -7px;
z-index: 99999;
padding: 4px 8px;
border: none;
background-color: #f8f8f8;
border-radius: 25px;
cursor: pointer;
-webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}

.floating-bnr2 {
top: 420px;
}




/* タブレットレイアウト : 768 px ～ 1200 px*/
@media screen and (max-width:1200px) {}

/* タブレットレイアウト : 768 px ～ 1150 px*/
@media screen and (max-width:1150px) {
  #block1 .inbox1 .txt {
    padding: 40px;
    top: -15px;
  }

  #block1 .inbox1 .right {
    margin-top: 20px;
  }
}

/* タブレットレイアウト : 768 px ～ 1100 px*/
@media screen and (max-width:1100px) {
  #block1 .inbox1 {
    min-height: 370px;
  }
}

/* タブレットレイアウト : 768 px ～ 1000 px*/
@media screen and (max-width:1000px) {
  #block1 .inbox1 {
    min-height: 400px;
  }
}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px) {
  #mainimage {
    margin-bottom: 80px;
    padding-top: 20px;
  }

  #block1 {
    padding-bottom: 40px;
    background-size: 100% 90%;
  }

  #block1 .inbox1 {
    position: static;
    min-height: auto;
    background-size: auto;
  }

  #block1 .inbox1 .txt {
    padding: 30px 30px 50px;
    position: static;
    top: 0;
    display: block;
  }

  #block1 .inbox1 .left {
    width: 100%;
    margin-right: 0;
  }

  #block1 .inbox1 .left img {
    width: 100%;
    height: auto;
  }

  #block1 .inbox1 .right {
    width: 100%;
    margin-top: 30px;
  }

  #block1 .inbox2 {
    display: block;
  }

  #block1 .inbox2 li {
    width: 100%;
    margin-bottom: 40px;
  }

  #block1 .inbox2 li dd:nth-of-type(1) {
    width: 88%;
    margin: 0 auto 25px;
  }

  #block1 .inbox2 li dd:nth-of-type(1) img {
    width: 100%;
    height: auto;
  }

  #block2 {
    display: block;
  }

  #block2 .left {
    width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
  }

  #block2 .left img {
    margin-bottom: 0;
    margin-right: 20px;
  }

  #block2 dl {
    width: 100%;
  }

  #block2 dt {
    width: 100%;
    float: none;
  }

  #block2 dt p {
    margin-left: 15px;
  }

  #block2 dd {
    margin-left: 0;
    padding: 5px 12px 12px;
    border-top: none;
  }

  #block3 .inbox1 {
    display: block;
  }

  #block3 .inbox1 li {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  #block3 .inbox1 li img {
    width: 100%;
    height: auto;
  }

  #block3 .inbox2 {
    flex-wrap: wrap;
  }

  #block3 .inbox2 li {
    width: 49%;
    margin-bottom: 2%;
  }

  #block3 .inbox2 li img {
    width: 100%;
    height: auto;
  }
  
/*フローティングバナー*/
.floating-bnr {
top: 210px;
width: 140px;
}

.floating-bnr2 {
top: 80px;
}

}
