@media screen and (min-width: 481px) {
  .lifestyle {
    padding: 0 20px;
  }
}
.lifestyle_head {
  width: 100%;
  max-width: 1193px;
  margin-top: 30px;
}
@media screen and (min-width: 769px) {
  .lifestyle_head {
    padding: 0 20px;
    margin: 50px 50px 0 auto;
  }
}
.lifestyle_in {
  padding: 20px 0;
  margin-top: 80px;
}
@media screen and (min-width: 481px) {
  .lifestyle_in {
    padding: 20px;
  }
}
@media screen and (min-width: 769px) {
  .lifestyle_in {
    max-width: 1400px;
    margin: 80px auto 0;
  }
}

.content {
  max-width: 540px;
  margin: 50px auto 0;
  padding: 0 20px 100px;
}
@media screen and (min-width: 769px) {
  .content {
    max-width: 1142px;
  }
}

.pannels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pannels::after {
  content: "";
  width: calc(50% - 5px);
  height: 0;
}
@media screen and (min-width: 769px) {
  .pannels::after {
    width: calc(33.33333% - 13.33333px);
  }
}

.pannel {
  width: calc(50% - 5px);
  max-width: 240px;
  margin-top: 40px;
}
.pannel_a {
  display: block;
  width: 100%;
  padding-top: 20px;
  background: #505050;
  border-left: 2px solid #b3b3b3;
  border-bottom: 2px solid #b3b3b3;
}
.pannel_head {
  width: 22.0588235294%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.pannel_body {
  margin-left: auto;
  width: 82.3529411765%;
  padding-bottom: 40px;
}
.pannel_img {
  width: 100%;
  aspect-ratio: 1400/760;
  transition: 0.5s;
}
.pannel_img_in {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pannel_lead {
  font-size: 12px;
  line-height: 1.5;
  height: 5em;
  margin-top: 1em;
  transition: 0.5s;
  width: calc(100% - 1em);
}
@media screen and (min-width: 769px) {
  .pannel_lead {
    font-size: 16px;
    margin-top: 1.5em;
  }
}
.pannel_bottom {
  z-index: 1;
  background: #505050;
  border-bottom: 2px solid #b89f58;
  color: #b89f58;
  font-size: 12px;
  width: 70%;
  height: 3em;
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateY(50%);
}
@media screen and (min-width: 769px) {
  .pannel_bottom {
    font-size: 14px;
    width: 40%;
  }
}
.pannel_a:hover .pannel_img, .pannel_a:hover .pannel_lead {
  opacity: 0.5;
}
@media screen and (min-width: 769px) {
  .pannel {
    width: calc(33.3% - 13.33333px);
    max-width: none;
    margin-top: 60px;
  }
}

.pager {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  justify-content: flex-end;
}
.pager_a {
  display: grid;
  place-items: center;
  line-height: 1;
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: #FFF;
  background: #505050;
  margin-left: 2px;
}
.pager_a.current, .pager_a:hover {
  color: #000;
  background: #b89f58;
}

.maghead {
  background: #505050;
  padding: 30px 20px;
  border-left: 2px solid #c8c8c8;
}
.maghead_head::after {
  content: "";
  width: 3em;
  height: 1px;
  display: block;
  margin: 1em 0;
  background: rgba(255, 255, 255, 0.5);
}
.maghead_lead {
  font-size: 16px;
  white-space: pre-wrap;
}
.maghead_bottom {
  margin-top: 20px;
  width: 100%;
  height: 62px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  font-size: 12px;
  border-bottom: 2px solid #808080;
}
.maghead_bottom::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/lifestyle/logo.png) no-repeat 0 0/auto 100%;
}
.maghead_img {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 1400/760;
}
.maghead_img_in {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 769px) {
  .maghead {
    display: flex;
    justify-content: space-between;
    padding: 50px 0 30px 0;
  }
  .maghead_text {
    width: 36.3636363636%;
    padding: 0 40px;
  }
  .maghead_lead {
    font-size: 24px;
  }
  .maghead_bottom {
    position: absolute;
    bottom: 0;
    left: 40px;
    width: calc(100% - 80px);
    font-size: 14px;
  }
  .maghead_img {
    width: 63.6363636364%;
    margin: 0;
  }
}

.story {
  margin-top: 50px;
}
.story_head {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-top: 2px solid #c8c8c8;
  border-left: 2px solid #c8c8c8;
  padding: 30px 0;
}
.story_body {
  margin-top: 20px;
}
.story_lead {
  background: #c8c8c8;
  color: #000;
  padding: 1em 2em;
  line-height: 1.5;
  font-size: 16px;
  white-space: pre-wrap;
  display: inline-block;
}
.story_text {
  font-size: 14px;
  line-height: 2;
  margin-top: 20px;
  white-space: pre-wrap;
}
.story_img {
  width: 100%;
  margin-top: 20px;
  aspect-ratio: 1600/960;
}
.story_img_in {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 769px) {
  .story {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .story_head {
    width: calc(27.22323049% - 30px);
    height: 320px;
    padding-top: 60px;
  }
  .story_body {
    width: 72.5952813067%;
    margin-top: 0;
  }
}

.others {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.others_head {
  width: 100%;
  height: 100px;
  background: #505050;
  display: grid;
  place-items: center;
}
.others_pannel {
  width: calc(50% - 5px);
  margin-top: 20px;
}
@media screen and (min-width: 769px) {
  .others_head, .others_pannel {
    width: calc(33.3333% - 16.666px);
  }
  .others_head {
    height: auto;
  }
  .others_pannel {
    margin: 0;
  }
}

.notfound {
  background: #505050;
  padding: 30px;
  text-align: center;
  font-size: 18px;
}
.notfound_a {
  text-decoration: underline;
  display: inline-block;
  margin-top: 30px;
}