section {
  line-height: 21px;
}

@media only screen and (max-width: 767px) {
  section {
    line-height: 20px;
  }
}

#key {
  position: relative;
}

#key .key-ttl {
  width: 124px;
  position: absolute;
  left: 20%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

#key .key-ttl img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 767px) {
  #key .key-ttl {
    width: 95px;
    left: 10%;
  }
}

.wrap {
  max-width: 1160px;
  width: 100%;
  padding: 0 20px;
}

#lead {
  text-align: center;
  padding: 70px 0 50px;
  position: relative;
  z-index: 0;
}

#lead h2 {
  width: 340px;
  margin: 0 auto 18px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding-bottom: 15px;
  background-image: url("../img/shared/line.jpg");
  background-repeat: repeat-x;
  background-size: auto;
  background-position: center bottom;
}

@media only screen and (max-width: 767px) {
  #lead {
    padding: 60px 20px;
  }
  #lead h2 {
    width: 100%;
    font-size: 16px;
    line-height: 19px;
    background-repeat: no-repeat;
    background-size: 261px;
    background-position: center 98%;
    padding-bottom: 8px;
    margin-bottom: 15px;
  }
}

.portfolio .df {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 68px;
}

.portfolio h3 {
  font-weight: 600;
  line-height: 21px;
  width: 226px;
  /* background-image: url("../img/recipes/ttl-bg.png");
  background-repeat: no-repeat;
  background-size: 100%; */
  text-align: center;
  padding: 12px 0;
}

.portfolio nav {
  width: 878px;
  background: #FFF8DD;
  border-radius: 4px;
  font-weight: 600;
  line-height: 21px;
  padding: 15px 0 13px;
}

.portfolio nav ul {
  display: flex;
  justify-content: center;
}

.portfolio nav ul li {
  margin: 0 40px;
  position: relative;
  cursor: pointer;
}

.portfolio nav ul li:after {
  content: '';
  width: 0;
  height: 1px;
  background: #143753;
  position: absolute;
  right: 0;
  bottom: -3px;
  transition: 0.3s all ease-in-out;
}

.portfolio nav ul li:hover:after {
  width: 100%;
  right: auto;
  left: 0;
}

.portfolio nav ul li + li:before {
  content: '/';
  position: absolute;
  left: -40px;
  top: 0;
}

.portfolio nav ul .current:after {
  width: 100%;
}

.portfolio .blk {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 70px;
}

.portfolio .blk img {
  width: 100%;
  height: auto;
}

.portfolio .blk .item {
  width: 49%;
  padding: 0px 30px 40px;
  position: relative;
  z-index: 0;
  margin-bottom: 60px;
}

.portfolio .blk .item:before {
  content: '';
  background: #FFF8DD;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 23px;
  z-index: -1;
}

.portfolio .blk h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  margin: 0px -25px 26px;
  background: url("../img/recipes/ttl-bg-l.png") no-repeat left center/auto, url("../img/recipes/ttl-bg-r.png") no-repeat right center/auto;
  position: relative;
  z-index: 1;
  padding: 14px 0 12px;
}

.portfolio .blk h4:before {
  content: '';
  background: url("../img/recipes/ttl-bg-c.png") repeat-x center;
  position: absolute;
  left: 19px;
  right: 19px;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.portfolio .blk .img-grp {
  display: flex;
  justify-content: space-between;
}

.portfolio .blk .img-grp .img {
  width: 368px;
}

.portfolio .blk .img-grp .img-r {
  width: 108px;
}

.portfolio .blk .img-grp .cricle {
  color: #fff;
  text-align: center;
  line-height: 20px;
  font-weight: 600;
  background: #143753;
  border-radius: 50%;
  padding-top: 27px;
  width: 108px;
  height: 108px;
}

.portfolio .blk .img-grp .cricle.four-rows {
  padding-top: 19px;
}

.portfolio .blk .img-grp .cricle.two-rows {
  padding-top: 40px;
}

.portfolio .blk .img-grp .simg1 {
  width: calc(100% + 54px);
  margin: 8px 0 0 -20px;
}

.portfolio .blk .toggle {
  margin: 25px 0;
}

.portfolio .blk .toggle .toggle-link {
  background: #fff;
  border: 2px solid #D09140;
  border-radius: 30px;
  text-align: center;
  color: #D09140;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  padding: 14px 0 12px;
  overflow: hidden;
  z-index: 0;
  transition: 0.3s all ease-in-out;
}

.portfolio .blk .toggle .toggle-link:before {
  content: '';
  width: 0;
  background: #D09140;
  border-radius: 30px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.3s all ease-in-out;
}

.portfolio .blk .toggle .toggle-link:after {
  content: '';
  width: 13px;
  background-image: url("../img/shared/arrow8.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-left: 30px;
  transition: 0.3s all ease-in-out;
}

.portfolio .blk .toggle .toggle-link:hover {
  color: #fff;
}

.portfolio .blk .toggle .toggle-link:hover:before {
  width: 100%;
  right: auto;
  left: 0;
}

.portfolio .blk .toggle .toggle-link:hover:after {
  background-image: url("../img/shared/arrow8_wh.png");
}

.portfolio .blk .toggle .toggle-main {
  margin-top: 30px;
}

.portfolio .blk .toggle .toggle-main .sttl {
  font-weight: 600;
  line-height: 20px;
  color: #D09140;
  position: relative;
  z-index: 0;
  margin-bottom: 10px;
}

.portfolio .blk .toggle .toggle-main .sttl:after {
  content: '';
  height: 1px;
  background: #DBB381;
  position: absolute;
  right: 0;
  left: 5px;
  top: 47%;
  z-index: -1;
}

.portfolio .blk .toggle .toggle-main .sttl span {
  padding-right: 7px;
  background: #FFF8DD;
}

.portfolio .blk .toggle .toggle-main .dflex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.portfolio .blk .toggle .toggle-main .dflex li {
  width: 200px;
}
.portfolio .blk .toggle .toggle-main .dflex li.w250 {
  width: 250px;
}
.portfolio .blk .toggle .toggle-main dl {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
}

.portfolio .blk .toggle .toggle-main dl:before {
  content: '';
  border-bottom: 2px dotted #143753;
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 9px;
  z-index: -1;
}
.portfolio .blk .toggle .toggle-main dl.dot-top:before{
  bottom: 30px;
}
.portfolio .blk .toggle .toggle-main dl dt {
  background: #FFF8DD;
  padding: 0px 5px 0px 0;
}

.portfolio .blk .toggle .toggle-main dl dd {
  background: #FFF8DD;
  padding: 0px 0px 0px 5px;
}

.portfolio .blk .toggle .toggle-main .txt-list {
  margin-bottom: 40px;
}

.portfolio .blk .toggle .toggle-main .product {
  display: table;
  width: 100%;
  margin-top: 14px;
}

.portfolio .blk .toggle .toggle-main .product .simg {
  width: 131px;
  display: table-cell;
  vertical-align: middle;
}

.portfolio .blk .toggle .toggle-main .product .simg img {
  margin-left: -10px;
}

.portfolio .blk .toggle .toggle-main .product .text {
  display: table-cell;
  vertical-align: middle;
}

.portfolio .blk .toggle .toggle-main .product .text .tit {
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio .blk .toggle .toggle-main .product .text .tit.mr {
  margin-right: -20px;
}

.portfolio .blk .toggle-link.open:after {
  background-image: url("../img/shared/arrow7.png");
}

.portfolio .blk .toggle-link.open:hover:after {
  background-image: url("../img/shared/arrow7_wh.png");
}

.portfolio .blk .btn-link a {
  display: block;
  width: 100%;
  background: #fff;
  border: 2px solid #1D3751;
  border-radius: 30px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  text-align: center;
  padding: 14px 0 12px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  transition: 0.3s all ease-in-out;
}

.portfolio .blk .btn-link a:before {
  content: '';
  width: 0;
  background: #1D3751;
  border-radius: 30px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.3s all ease-in-out;
}

.portfolio .blk .btn-link a:hover {
  color: #fff;
  text-decoration: none;
}

.portfolio .blk .btn-link a:hover:before {
  width: 100%;
  right: auto;
  left: 0;
}
.mb20{
  margin-bottom: 20px;
}
@media only screen and (max-width: 1180px) {
  .portfolio nav {
    width: calc(100% - 236px);
  }
  .portfolio nav ul li {
    margin: 0 30px;
  }
  .portfolio nav ul li + li:before {
    left: -30px;
  }
  .portfolio .blk {
    padding: 0 20px;
  }
  .portfolio .blk h4 {
    font-size: 20px;
  }
  .portfolio .blk .img-grp .img {
    width: 73%;
  }
  .portfolio .blk .img-grp .img img {
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 1080px) {
  .portfolio .blk h4 {
    font-size: 18px;
  }
  .portfolio .blk h4.lts {
    letter-spacing: -1px;
  }
  .portfolio .blk .item {
    padding: 0 20px 40px;
  }
  .portfolio .blk .img-grp .img-r {
    width: 24%;
  }
  .portfolio .blk .img-grp .cricle {
    width: 100%;
    height: 9.821vw;
    padding-top: 2.1vw;
    font-size: 1.5vw;
    line-height: 1.8vw;
    margin-bottom: 15px;
  }
  .portfolio .blk .img-grp .cricle.four-rows {
    padding-top: 1.6vw;
  }
  .portfolio .blk .img-grp .cricle.two-rows {
    padding-top: 3.3vw;
  }
  .portfolio .blk .img-grp .simg1 {
    width: calc(100% + 40px);
  }
  .portfolio .blk h4 {
    margin: 0px -10px 26px;
  }
  .portfolio .blk .toggle .toggle-main .dflex li {
    width: 185px;
  }
  .portfolio .blk .toggle .toggle-main .product .text {
    padding-left: 12px;
  }
}

@media only screen and (max-width: 980px) {
  .portfolio h3 {
    width: 164px;
    /* background-image: url("../img/recipes/ttl-bg-md.png"); */
    padding-right: 11px;
  }
  .portfolio nav {
    width: calc(100% - 170px);
  }
  .portfolio nav ul li {
    margin: 0 12px;
  }
  .portfolio nav ul li + li:before {
    left: -16px;
  }
  .portfolio .blk {
    padding: 0 15px;
  }
  .portfolio .blk h4 {
    font-size: 16px;
  }
  .portfolio .blk h4 span {
    display: block;
  }
  .portfolio .blk h4.lts {
    letter-spacing: 0;
  }
  .portfolio .blk h4.two-rows {
    padding: 5px 0 3px;
    line-height: 20px;
  }
  .portfolio .blk .toggle .toggle-main .dflex {
    display: block;
  }
  .portfolio .blk .toggle .toggle-main .dflex li.w250,
  .portfolio .blk .toggle .toggle-main .dflex li {
    width: 100%;
  }
  .portfolio .blk .toggle .toggle-main .product {
    display: block;
  }
  .portfolio .blk .toggle .toggle-main .product .simg {
    display: block;
    margin: 0 auto;
  }
  .portfolio .blk .toggle .toggle-main .product .text {
    display: block;
    padding-left: 0;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 800px) {
  .portfolio .blk .img-grp .cricle {
    height: 9.437vw;
  }
}

@media only screen and (max-width: 767px) {
  .portfolio .df {
    display: block;
    padding: 0 20px;
    margin-bottom: 30px;
  }
  .portfolio h3 {
    /* background-image: url("../img/recipes/ttl-bg-sm.png"); */
    width: 159px;
    height: 47px;
    margin: 0 auto 10px;
    padding: 10px 0 0 0;
  }
  .portfolio nav {
    width: 100%;
    padding: 10px 0px;
  }
  .portfolio nav ul {
    flex-wrap: wrap;
  }
  .portfolio nav ul li {
    text-align: center;
    margin: 4px 0;
  }
  .portfolio nav ul li:after {
    display: none;
  }
  .portfolio nav ul li span {
    padding-bottom: 3px;
    position: relative;
  }
  .portfolio nav ul li span:before {
    content: '';
    width: 0;
    height: 1px;
    background: #1D3751;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: 0.3s all ease-in-out;
  }
  .portfolio nav ul li:nth-child(1),
  .portfolio nav ul li:nth-child(3) {
    width: 45%;
  }
  .portfolio nav ul li:nth-child(2),
  .portfolio nav ul li:nth-child(4) {
    width: 55%;
  }
  .portfolio nav ul li:nth-child(3):before {
    display: none;
  }
  .portfolio nav ul .current span:before {
    width: 100%;
    right: auto;
    left: 0;
  }
  .portfolio .blk {
    display: block;
    padding: 0 20px 30px;
  }
  .portfolio .blk .item {
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
  .portfolio .blk h4 {
    font-size: 16px;
    margin: 0 -10px 15px;
  }
  .portfolio .blk .img-grp .cricle {
    height: 19.482vw;
    padding-top: 4.1vw;
    font-size: 3vw;
    line-height: 4vw;
  }
  .portfolio .blk .img-grp .cricle.four-rows {
    padding-top: 2.1vw;
  }
  .portfolio .blk .img-grp .cricle.two-rows {
    padding-top: 6.7vw;
  }
  .portfolio .blk .toggle {
    margin: 15px 0;
  }
  .portfolio .blk .toggle .toggle-link {
    font-size: 15px;
    line-height: 20px;
    padding: 12px 0 10px;
  }
  .portfolio .blk .toggle .toggle-main {
    margin-top: 15px;
  }
  .portfolio .blk .toggle .toggle-main .product .text .tit.mr {
    margin-right: 0;
  }
  .portfolio .blk .toggle .toggle-main .product .simg {
    width: 150px;
  }
  .portfolio .blk .toggle .toggle-main .product .simg img {
    margin-left: 0;
  }
  .portfolio .blk .btn-link a {
    padding: 12px 0 10px;
    font-size: 15px;
    line-height: 20px;
  }
}
