body, h1, h2, h3, p, ul, li, dl, dt, dd, ul, li {
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}
a:hover {
  text-decoration: underline;
}

.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }

.alignCenter { text-align: center; }

.large { font-size: 2.1rem; }

html {
  font-size: 62.5%;
}

body {
  font-family: "Zen Maru Gothic", 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
}

body#toppage {
  background: url(../img/top_wave1.webp) no-repeat;
  background-size: 100% auto;
  background-position: center 20px;
}
body#bottom,
body#article {
  background: url(../img/detail_wave1.webp) no-repeat;
  background-size: 100% auto;
  background-position: center 20px;
}
body#article {
  background-position: center 50px;
}
body#list {
  background: url(../img/list_wave1.webp) no-repeat;
  background-size: 100% auto;
  background-position: center 0;
  background-color: #E5EAED;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  padding-top: 20px;
}
header .inner {
  max-width: 1800px;
  width: 100%;
}
header .inner ul {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  text-align: center;
}
header .inner ul li {
  width: calc(100% / 3);
}
header .inner ul li:first-child {
  text-align: left;
}
header .inner ul li:last-child {
  text-align: right;
  font-weight: bold;
}
header .inner ul li:last-child a {
  text-decoration: underline;
}

body#toppage #contentes {
  padding: 30px 0 0 0;
  background: url(../img/top_wave2.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-color: #edeff1;
}
body#bottom #contentes {
  padding: 300px 0 0 0;
  background: url(../img/detail_wave2.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-color: #edeff1;
}
body#list #contentes.page {
  padding-top: 50px;
}
body#toppage #recommend {
  padding: 400px 0 200px 0;
  background: url(../img/top_wave3.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
}
body#article #recommend {
  padding: 330px 0 0 0;
  background: url(../img/article_wave2.webp) no-repeat;
  background-size: 100% auto;
  background-color: #edeff1;
  background-position: center top;
}
body#toppage footer {
  padding: 400px 0 20px 0;
  background: url(../img/top_wave4.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-color: #edeff1;
}
body#bottom footer {
  padding: 400px 0 20px 0;
  background: url(../img/detail_wave3.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
}
body#article footer {
  padding: 400px 0 20px 0;
  background: url(../img/article_wave3.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
}
body#list footer {
  padding: 400px 0 20px 0;
  background: url(../img/list_wave2.webp) no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-color: #FFF;
}

#contentes .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#article #contentes > .inner .thumbnail img {
  width: 100%;
}

nav#menu ul {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 50px;
}
nav#menu ul li {
  border-right: 2px solid #000;
  padding: 0 25px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
}
nav#menu ul li:last-child {
  border: none;
}

body#toppage section#tag {
  margin-bottom: 200px;
  width: 100%;
}
body#bottom section#tag {
  margin-bottom: 100px;
}

section#tag dl {
  border: 1px solid #000;
  border-radius: 100px;
  background: #FFF;
  padding: 10px 50px;
  max-width: 1000px;
  margin: 0 100px;
}
section#tag dt {
  text-align: center;
  font-size: 2.3rem;
  border-bottom: 1px solid #666;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
section#tag dt span {
  display: inline-block;
  position: relative;
}
section#tag dt span::before {
  position: absolute;
  top: 5px;
  left: -33px;
  content: "";
  width: 27px;
  height: 27px;
  background: url(../img/tag.webp) no-repeat;
  display: block;
}
section#tag dd ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 10px;
}

main {
  width: 840px;
}
aside {
  width: 250px;
}

h2.title {
  font-size: 3rem;
  position: relative;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
h2.title span {
  font-size: 1.5rem;
  display: block;
}
h2.title::before {
  position: absolute;
  left: 0;
  content: "";
  display: inline-block;
}

#newArticle h2.title {
  padding-left: 90px;
}
#newArticle h2.title::before {
 width: 81px;
  height: 59px;
  background: url(../img/ico1.webp) no-repeat;
  bottom: 3px;
}
#pickup h2.title {
  padding-left: 50px;
}
#pickup h2.title::before {
  width: 41px;
  height: 23px;
  background: url(../img/ico2.webp) no-repeat;
  bottom: 5px;
}
#ranking h2.title {
  padding-left: 50px;
}
#ranking h2.title::before {
  width: 41px;
  height: 33px;
  background: url(../img/ico3.webp) no-repeat;
  bottom: 5px;
}
#recommend h2.title {
  padding-left: 90px;
}
#recommend h2.title::before {
  width: 81px;
  height: 85px;
  background: url(../img/ico4.webp) no-repeat;
  bottom: 0;
}

ul.postList {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 20px;
}
ul.postList li {
  border-radius: 30px;
  overflow: hidden;
  width: calc(100% / 2 - 10px);
  display: flex;
  flex-direction: column;
}
ul.postList.col3 li {
  width: calc(100% / 3 - 15px);
}

#newArticle ul.postList li:first-child {
  width: 100%;
}
#contentes.page #newArticle ul.postList li:first-child {
  width: calc(100% / 2 - 10px);
}

ul.postList li .thumbnail {
  position: relative;
}
ul.postList li .thumbnail img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
li .thumbnail img {
  transition: transform .6s ease;
  overflow: hidden;
  height: auto;
  z-index: 10;
}
li .thumbnail img:hover {
  transform: scale(1.1);
}
ul.postList li .thumbnail span {
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  color: #FFF;
  text-align: center;
  line-height: 50px;
  background: red;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 100;
}
ul.postList li .bottom {
  background: #FFF;
  padding: 5px 25px 25px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
li .bottom {
  z-index: 20;
}
ul.postList li .bottom.bg {
  background-color: #edeff1;
}
ul.postList li .bottom .category {
  margin-bottom: 5px;
}

aside ul li {
  margin-bottom: 30px;
}
aside ul li .thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}
aside ul li .thumbnail span,
section#detail_top .thumbnail span {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  color: #FFF;
  text-align: center;
  line-height: 30px;
  background: red;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 100;
}
aside ul li img {
  border-radius: 30px;
  width: 100%;
  aspect-ratio: 2 / 1.3;
  object-fit: cover;
}
aside ul li .bottom {
  font-size: 1.3rem;
  padding-top: 10px;
  line-height: 1.3;
  z-index: 20;
}

footer {
  font-size: 1.5rem;
  text-align: center;
}
footer .logo img {
  padding: 10px;
  background: #FFF;
}
footer ul {
  display: flex;
  justify-content: center;
  margin: 30px 0 20px 0;
}
footer ul li {
  border-right: 1px solid #aaa;
  padding: 0 15px;
}
footer ul li:last-child {
  border: none;
}

@media screen and (min-width: 1800px) {
  body#toppage footer {
    background-size: contain;
  }
}

section#about {
  text-align: center;
  margin-bottom: 100px;
}

section#detail_top {
  padding-top: 200px;
  margin-bottom: 50px;
  width: 100%;
}
section#detail_top .thumbnail {
  position: relative;
  margin-top: 20px;
}
section#detail_top .thumbnail span {
  top: 20px;
  left: 20px;
}
section#detail_top .thumbnail img {
  border-radius: 30px;
  width: 100%;
}
section#detail_top ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 15px;
}

#detail_main {
  padding-bottom: 100px;
}
#detail_main .mokuji {
  border: 1px dashed #aaa;
  border-radius: 30px;
  padding: 20px 30px;
  margin-bottom: 25px;
}
#detail_main .mokuji li {
  margin-top: 5px;
}
#detail_main .mokuji a {
  text-decoration: underline;
}
#detail_main .txt {
  line-height: 1.8;
}
#detail_main h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 70px;
}
#detail_main .img {
  margin: 20px 0;
}
#detail_main .img img {
  border-radius: 30px;
  width: 100%;
}

#detail_main .rec {
  border: 1px solid #999;
  border-radius: 30px;
  padding: 20px;
  background: #EDEFF1;
  margin: 50px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#detail_main .rec > .title {
  font-size: 2rem;
  text-align: center;
  border-bottom: 1px dashed #666;
  padding-bottom: 15px;
  margin-bottom: 15px;
  width: 100%;
}
#detail_main .rec .thumb {
  width: 350px;
}
#detail_main .rec .info {
  width: calc(100% - 350px - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#detail_main .rec .info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 20px;
}

section#list_top {
  width: 100%;
}
section#list_top h1 {
  text-align: center;
  font-size: 4.5rem;
  letter-spacing: 1px;
  margin: 50px 0 0 0;
}
section#list_top .dot {
  text-align: center;
  margin-bottom: 50px;
}

.more {
  text-align: center;
  margin-top: 50px;
}
.more a {
  display: inline-block;
  border: 1px solid #aaa;
  padding: 15px;
  width: 250px;
  text-align: center;
  border-radius: 50px;
  background: #FFF;
  font-weight: bold;
  position: relative;
}
.more a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 25px;
  width: 17px;
  height: 26px;
  margin-top: -13px;
  background: url(../img/aroow_red.webp) no-repeat;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }
  header {
    padding-top: 19px;
  }
  header .inner {
    padding: 0 10px 0 13px;
  }
  header .inner ul {
    flex-wrap: wrap;
    padding: 0;
  }
  header .inner ul li:nth-child(1) {
    order: 0;
    width: 50%;
  }
  header .inner ul li:nth-child(1) img {
    width: 100px;
    height: auto;
  }
  header .inner ul li:nth-child(3) {
    order: 1;
    width: 50%;
  }
  header .inner ul li:nth-child(2) {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }
  header .inner ul li:nth-child(2) img {
    max-width: 60%;
  }
  section#list_top h1 {
    font-size: 3.0rem;
  }
  .inner {
    padding: 0 2.5%;
  }
  #container img {
    border-radius: 20px;
  }
  section#tag dl {
    margin: 0 5%;
    max-width: 90%;
    border-radius: 30px;
  }
  #contentes .inner {
    flex-direction: column;
  }
  main,
  aside {
    width: 100%;
  }
  aside {
    margin-top: 70px;
  }
  body#toppage #recommend {
    padding-top: 250px;
  }
  body#toppage #recommend .postList.col3 li,
  body#article #recommend .postList.col3 li  {
    width: calc(100% / 2 - 10px);
    display: flex;
  }
  aside ul li {
    width: 100%;
    display: flex;
    border-radius: 20px;
  }
  aside ul li .thumbnail {
    width: 50%;
    border-radius: 20px 0 0 20px;
  }
  aside ul li .thumbnail img {
    border-radius: 20px 0 0 20px;
  }
  aside ul li .bottom {
    background: #FFF;
    margin-top: 0;
    padding: 10px;
    width: 50%;
    border-radius: 0 20px 20px 0;
  }
  body#article aside ul li .bottom {
    background: #efefef;
    border-radius: 0 20px 20px 0;
  }
  footer ul {
    flex-wrap: wrap;
    gap: 10px 0;
  }
  footer .logo img {
    background: none;
  }
  body#toppage footer,
  body#bottom footer,
  body#list footer,
  body#article footer {
    padding-top: 250px;
  }
  body#bottom #contentes {
    padding-top: 150px;
  }
  nav#menu ul {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  section#detail_top {
    padding-top: 0;
    margin-bottom: 20px;
  }
  #detail_main .mokuji {
    border-radius: 20px;
  }
  #detail_main h2 {
    font-size: 2.1rem;
    text-align: left;
  }
  #detail_main .rec {
    border-radius: 0;
  }
  #detail_main .rec .thumb {
    width: 40%;
  }
  #detail_main .rec .info {
    width: calc(100% - 40% - 20px);
  }
  #detail_main .rec .info .title {
    margin-bottom: 20px;
  }
  #detail_main {
    padding-bottom: 0;
  }
  body#article #recommend {
    padding-top: 150px;
  }
  body#bottom, body#article {
    background-position: center 150px;
  }
  body#toppage section#tag {
    margin-bottom: 50px;
  }
  nav#menu ul {
    gap: 0;
  }
  nav#menu ul li {
    padding: 0 10px;
    border-width: 1px;
    border-color: #666;
  }
}

@media screen and (max-width: 480px) {
  ul.postList li {
    width: 100%;
  }
  body#toppage footer,
  body#bottom footer,
  body#list footer,
  body#article footer {
    padding-top: 100px;
  }
  body#bottom, body#article {
    background-position: center 200px;
  }
}

.postList li .thumbnail {
  opacity: 0;
  visibility: hidden;
  transform: translate(0);
  transition: opacity 1s,visibility 1s, transform 1s;
}

.postList li.scroll .thumbnail {
  opacity: 1;
  visibility: visible;
  transform: translate(0px);
}

.pager {
  display: flex;
  gap: 15px;
  margin-top: 50px;
  justify-content: center;
}
.pager li a {
  background: #000;
  padding: 3px 10px;
  color: #FFF;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid #000;
}
.pager li a:hover {
  background: none;
  color: #000;
  text-decoration: none;
}