/*
Theme Name: shocole
*/
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
}

li {
  list-style: none;
}

img {
  width: 100%;
}

@media screen and (width >= 768px) {
  .sp-only {
    display: none;
  }
}
.sub-visual {
  width: 90%;
  max-width: 1000px;
  height: 280px;
  margin: 28px auto;
  background-size: cover;
  background-position: center center;
}
.sub-visual.give-1 {
  background-image: url(img/main/sub-visual-01.jpg);
  background-position: bottom center;
}
.sub-visual.give-2 {
  background-image: url(img/main/sub-visual-02.jpg);
}
.sub-visual.give-3 {
  background-image: url(img/main/sub-visual-03.jpg);
}
.sub-visual.give-4 {
  background-image: url(img/main/sub-visual-04.jpg);
  background-position: bottom center;
}
.sub-visual.give-5 {
  background-image: url(img/main/sub-visual-05.jpg);
}
.sub-visual.give-6 {
  background-image: url(img/main/sub-visual-06.jpg);
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination ul li {
  padding: 0 10px;
  color: #aaa;
}
.pagination ul a {
  color: #333;
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  background-color: #072233;
  padding: 24px;
  color: #ddd;
}
header .header-logo h3 {
  font-size: 0.7rem;
  font-weight: normal;
  font-family: "M PLUS 1p", sans-serif;
  letter-spacing: -0.08em;
  color: #44a2ff;
  line-height: 1;
}
header .header-logo h1 {
  font-size: 1.4rem;
  font-family: "Noto Sans", sans-serif;
  color: #05a;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 1px 1px 0 #d0d0d0, -1px 1px 0 #d0d0d0, 1px -1px 0 #d0d0d0, -1px -1px 0 #d0d0d0;
}
header nav {
  position: relative;
}
header nav ul {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-family: "Noto Sans", sans-serif;
  letter-spacing: 0.05em;
}
header nav ul li {
  position: relative;
}
header nav ul li::after {
  content: "";
  position: absolute;
  bottom: -0.15em;
  left: 0;
  width: 102%;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s;
}
header nav ul li:nth-child(1)::after {
  background-color: orange;
}
header nav ul li:nth-child(2)::after {
  background-color: green;
}
header nav ul li:nth-child(3)::after {
  background-color: blue;
}
header nav ul li:nth-child(4)::after {
  background-color: red;
}
header nav ul li:hover::after {
  transform: scaleX(1);
}
@media screen and (width < 768px) {
  header nav {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    cursor: pointer;
  }
  header nav ul {
    display: none;
    position: absolute;
    top: -14px;
    right: -36px;
    width: 40vw;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0 0 0 12px;
    padding: 60px 0 32px 32px;
    font-size: 1rem;
    transform: scaleY(0);
    transform-origin: top;
    animation: header-nav_ul 0.2s ease-in-out forwards;
  }
  header nav ul li {
    width: -moz-fit-content;
    width: fit-content;
    margin-top: 16px;
    transform: translateX(100vw);
    animation: header-nav_li 0.2s ease-in-out forwards;
  }
  header nav ul li:nth-of-type(1) {
    animation-delay: 0.1s;
  }
  header nav ul li:nth-of-type(2) {
    animation-delay: 0.2s;
  }
  header nav ul li:nth-of-type(3) {
    animation-delay: 0.3s;
  }
  header nav ul li:nth-of-type(4) {
    animation-delay: 0.4s;
  }
  header nav span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d8edfa;
    border-radius: 2px;
    transition: all 0.2s;
  }
  header nav span:nth-of-type(1) {
    top: 10px;
  }
  header nav span:nth-of-type(2) {
    top: 22px;
  }
  header nav.clicked ul {
    display: block;
  }
  header nav.clicked span:nth-of-type(1) {
    transform: rotate(-45deg);
    top: 15px;
  }
  header nav.clicked span:nth-of-type(2) {
    transform: rotate(45deg);
    top: 15px;
  }
}

/*----------------------------
  Main
------------------------------*/
main {
  padding-top: 60px;
  background-color: #d8edfa;
}
main .buffer_main-01 {
  margin-top: 240px;
}
main .main_flex-wrapper {
  display: flex;
}
@media screen and (width < 1080px) {
  main .main_flex-wrapper {
    display: block;
  }
}
main .main_flex-wrapper .main-outer {
  flex: 1;
  padding-bottom: 20px;
}
main .main_flex-wrapper .aside-sidebar {
  width: 360px;
}
@media screen and (width < 1080px) {
  main .main_flex-wrapper .aside-sidebar {
    display: none;
  }
}

#main-visual {
  position: relative;
  width: 100%;
  height: 300px;
  background-image: url(img/main/main-visual-01.jpg);
  background-size: cover;
  background-position: top center;
}
@media screen and (width >= 1200px) {
  #main-visual {
    background-size: 100% 160%;
  }
}
#main-visual .swiper {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
}
#main-visual .swiper .swiper-wrapper {
  padding-bottom: 40px;
}
#main-visual .swiper .swiper-wrapper .swiper-slide {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 12px;
}
#main-visual .swiper .swiper-wrapper .swiper-slide .slide-post-thumb {
  width: 100%;
}
#main-visual .swiper .swiper-wrapper .swiper-slide .slide-post-thumb img {
  width: 100%;
}
#main-visual .swiper .swiper-wrapper .swiper-slide h2 {
  padding: 20px;
  font-size: 1.1rem;
  text-align: center;
}
@media screen and (width < 600px) {
  #main-visual .swiper .swiper-wrapper .swiper-slide {
    border-radius: 0;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.5);
  }
}
#main-visual .swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 0 0 10px;
  background: #333;
  transform: translateY(12px);
}
#main-visual .swiper .swiper-pagination-bullet:first-child {
  margin: 0;
}

.main-articles {
  width: 90%;
  max-width: 1000px;
  margin: 32px auto;
}
.main-articles h1 {
  font-size: 1.8rem;
  line-height: 2.4;
  letter-spacing: -0.08em;
  color: #05a;
  text-align: center;
  vertical-align: middle;
}
.main-articles h1 span {
  font-size: 1rem;
  margin-left: 0.8em;
}
.main-articles .post-cards {
  position: relative;
  display: flex;
  gap: 12px;
  width: 100%;
  height: 200px;
  margin: 20px auto 40px;
  border-radius: 12px;
  border: 4px solid #333;
  background-color: #fff;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.1s, box-shadow 0.1s;
}
.main-articles .post-cards .post-thumb {
  width: 380px;
  border-right: 1px solid #333;
  overflow: hidden;
}
.main-articles .post-cards .post-thumb img {
  width: 380px;
  height: 200px;
}
.main-articles .post-cards .post-article {
  flex: 1;
  padding: 12px;
  line-height: 1.4;
}
.main-articles .post-cards .post-article h2 {
  font-size: 1.1rem;
  line-height: 1.2;
}
.main-articles .post-cards .post-article ul {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.8rem;
  color: gray;
}
.main-articles .post-cards .post-article p {
  margin-top: 12px;
  font-size: 0.9rem;
}
.main-articles .post-cards .readmore {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.8rem;
  text-decoration: underline;
}
.main-articles .post-cards:hover {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
  transform: translate(4px, 4px);
}
.main-articles .post-cards:hover .readmore {
  color: red;
}
@media screen and (width < 720px) {
  .main-articles .post-cards {
    display: block;
    height: auto;
  }
  .main-articles .post-cards .post-thumb {
    width: 100%;
  }
  .main-articles .post-cards .post-thumb img {
    width: 100%;
    height: auto;
  }
}

#sidebar {
  padding: 4px 20px;
  width: 270px;
}
#sidebar h2 {
  font-size: 1rem;
}
#sidebar .pagenav {
  display: none;
}
#sidebar ul li h2 {
  border-top: solid 1px #777;
  margin-top: 24px;
  padding: 12px 0;
  text-align: center;
}
#sidebar ul li ul {
  padding: 0 12px;
}
#sidebar ul li ul li {
  margin-top: 6px;
}
#sidebar ul:first-child {
  display: none;
}

.aside-sidebar .aside-twitter,
.aside-sidebar .aside-youtube {
  padding: 0px 24px;
  width: 100%;
}
.aside-sidebar .aside-twitter h3,
.aside-sidebar .aside-youtube h3 {
  font-size: 1rem;
  text-align: center;
  color: #4d4d4d;
  margin-top: 60px;
}
.aside-sidebar .aside-twitter iframe.twitter-timeline {
  height: 300px;
}
.aside-sidebar .aside-youtube .aside-youtube-outer {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 24px;
}
.aside-sidebar .aside-youtube .aside-youtube-outer iframe {
  width: 100%;
  height: 100%;
}
.aside-sidebar .aside-banner {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 8px;
  aspect-ratio: 145/250;
  margin-top: 60px;
}
.aside-sidebar .aside-banner a {
  display: block;
  width: 152px;
}
@media screen and (width < 1000px) {
  .aside-sidebar {
    display: none;
  }
}

.category {
  width: 90%;
  max-width: 1000px;
  margin: 32px auto 0;
}

footer {
  height: auto;
  background-color: #072233;
  padding: 24px;
  color: #ddd;
  text-align: center;
}
footer .footer-sns {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
footer .footer-sns i {
  margin-right: 12px;
}
footer .footer-sns .fa-twitter {
  color: #1DA1F2;
}
footer .footer-sns .fa-youtube {
  color: #DA1725;
}
footer .footer-sns .puyocam-icon {
  width: 22px;
  border-radius: 50%;
  transform: translateY(3px);
}
footer .footer-contents h3 {
  font-size: 0.8rem;
  line-height: 2;
}
footer .footer-contents h3 span {
  font-size: 0.6rem;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: normal;
  letter-spacing: -0.08em;
}
footer .footer-contents ul {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
}
footer .footer-contents ul .footer-menu {
  display: inline-block;
  border-right: 1px solid #ddd;
  padding-right: 12px;
  font-weight: bold;
}
footer .footer-contents ul li {
  position: relative;
}
footer .footer-contents ul li::after {
  content: "";
  position: absolute;
  bottom: -0.1em;
  left: 0;
  width: 102%;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s;
}
footer .footer-contents ul li:nth-child(2)::after {
  background-color: orange;
}
footer .footer-contents ul li:nth-child(3)::after {
  background-color: green;
}
footer .footer-contents ul li:nth-child(4)::after {
  background-color: blue;
}
footer .footer-contents ul li:nth-child(5)::after {
  background-color: red;
}
footer .footer-contents ul li:hover::after {
  transform: scaleX(1);
}
footer small {
  font-size: 0.7rem;
}

.single {
  flex: 1;
  width: 90%;
  max-width: 1000px;
  margin: 32px auto 0;
  padding-bottom: 32px;
}
.single .single-thumb {
  display: none;
}
.single article {
  width: 86%;
  max-width: 1000px;
  margin: 0 auto 60px;
}
.single article h1 {
  margin: 24px 0 12px;
  font-size: 1.4rem;
  text-align: center;
}
.single article .meta {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 48px;
}
.single article .text {
  line-height: 1.7;
}
.single article .text a {
  color: blue;
  text-decoration: underline;
}
.single .post-link {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.page {
  width: 85%;
  max-width: 1000px;
  margin: 32px auto 0;
}
.page article {
  padding-bottom: 32px;
}
.page article h1 {
  text-align: center;
}
.page article .page-thumb {
  margin: 60px 0;
  text-align: center;
}
.page article .page-thumb img {
  width: auto;
  border-radius: 50%;
}

@keyframes header-nav_ul {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(100%);
  }
}
@keyframes header-nav_li {
  100% {
    transform: translateX(0);
  }
}/*# sourceMappingURL=style.css.map */