@charset "UTF-8";
/*
 Theme Name:   Twenty Twenty-One child
 Description:  Twenty Twenty-Oneの子テーマです
 Template:     twentytwentyone
 Version:      1.0.0
*/
/* --------------------------
common
-------------------------- */
html {
  font-size: 62.5%;
}

:root {
  /* カラー */
  --beige: #F2D8C2;
  --white: #F5F1F1;
  --black: #1A1A1A;
  --blue: #54BFB5;
  --pink: #F2ACAC;
  --purple: #8C4660;
  --gray: #999999;
  --red: #B70000;
  /* フォントサイズ */
  --fs-base: 1.6rem;
  --fs-small: 1.4rem;
  --fs-medium: 2rem;
  --fs-large: 2.4rem;
  /* 間隔・余白 */
  --side-spacing: 4.3%;
  --spacing-sm: 24px;
  --spacing-md: 32px;
  --spacing-lg: 48px;
  /* フォント */
  --font-title:
  "AB-megadot9",
  "Arial",
  sans-serif;
  --font-base:
  "Nunito",
  "M PLUS Rounded 1c",
  sans-serif;
  --font-sitetitle:
  "ofelia-display",
  "Hiragino Sans",
  sans-serif;
  --font-404: 
  "Press Start 2P", 
  system-ui;
  /* grid */
  --grid-color: #95959480;
  --grid-color-light: #95959433;
  --grid-size: 24px 24px;
  /* shadow */
  --sheerShadow: 3px 3px 5px 0px #1a1a1a40;
}

body {
  font-size: var(--fs-base, 1.6rem);
  font-family: var(--font-base, "Nunito", "M PLUS Rounded 1c", sans-serif);
  font-weight: 400;
  font-style: normal;
  color: var(--black, #1A1A1A);
  line-height: 1.4;
  background-color: var(--beige);
  scroll-behavior: smooth;
}

img {
  width: 100%;
  height: auto;
}

.bgWrap {
  background-color: var(--pink);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  border-bottom: 2px var(--black) solid;
}

/* --------------------------
header
-------------------------- */
.header {
  padding-top: var(--spacing-lg);
  width: 100%;
  background-color: var(--pink);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
}

.siteTitle {
  display: block;
  font-family: var(--font-sitetitle);
  font-size: clamp(3.3vw, 3.6rem, 9.6vw);
  transform: rotate(-3deg), var(--side-spacing), var(--spacing-sm);
  font-style: italic;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  letter-spacing: -0.72px;
  text-shadow: 6px 6px 4px rgba(26, 26, 26, 0.25), 5px 5px 0px var(--black), 4px 4px 0px var(--black), 3px 3px 0px var(--black), 2px 2px 0px var(--black);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--black);
  transform: rotate(-3deg);
  white-space: nowrap;
  margin: 0 var(--side-spacing);
  padding-bottom: 16px;
}

.subTitle__wrap--pc {
  display: none;
}

.subTitle {
  margin: 16px 0 24px;
}

.subTitle__txt {
  display: inline-block;
  font-family: var(--font-title);
  font-size: var(--fs-base);
  font-style: normal;
  font-weight: var(--sds-typography-subtitle-font-weight);
  line-height: 1.2;
  letter-spacing: 3.84px;
  padding: 8px var(--side-spacing);
  background-color: var(--white);
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  margin-bottom: 4px;
  box-shadow: 6px 6px 4px rgba(26, 26, 26, 0.25), 5px 5px 0px var(--black), 4px 4px 0px var(--black), 3px 3px 0px var(--black), 2px 2px 0px var(--black);
}

.headerBtn {
  width: 68px;
  height: 58px;
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  border-left: 2px solid var(--black);
  position: fixed;
  top: 151px;
  right: 0;
  z-index: 100;
  cursor: pointer;
  transition: 0.4s;
  padding: 16px;
}

.headerBtn:hover {
  scale: 1.1;
}

.headerBtn__inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.headerBtn__item {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--purple);
  transition: 0.4s;
}

.headerBtn__item:nth-of-type(1) {
  position: absolute;
  top: 0;
}

.headerBtn__item:nth-of-type(2) {
  position: absolute;
  top: 10px;
}

.headerBtn__item:nth-of-type(3) {
  position: absolute;
  bottom: 0;
}

/* nav Open時 */
.headerBtn.active .headerBtn__item:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.headerBtn.active .headerBtn__item:nth-child(2) {
  opacity: 0;
}

.headerBtn.active .headerBtn__item:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@keyframes popBounce {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes popOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
.nav {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: visibility 0s 0.6s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(242, 216, 194, 0.9019607843);
  z-index: 10;
  pointer-events: none;
}

.nav.active {
  opacity: 1;
  visibility: visible;
  animation: popBounce 0.6s ease-out forwards;
  transition-delay: 0s;
  pointer-events: all;
}

.nav.closing {
  animation: popOut 0.4s ease-in forwards;
  transition-delay: 0s;
}

body.scrollLock {
  overflow: hidden;
}

.navHeader {
  background-color: var(--pink);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  padding: var(--spacing-lg) 0 16px;
  width: 100%;
}

.navList {
  margin-top: 110px;
  padding: 0 6.4% 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.navItem {
  font-size: var(--fs-medium);
  line-height: 1.2;
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  border: 2px solid var(--black);
  width: 100%;
  max-width: 373px;
  transition: 0.4s;
  margin-bottom: 16px;
}

.navItem a::before {
  content: "";
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 24px;
}

.navItem:nth-child(1) a::before {
  background-image: url(images/img_icon_home.png);
}

.navItem:nth-child(2) a::before {
  background-image: url(images/img_icon_cms.png);
}

.navItem:nth-child(3) a::before {
  background-image: url(images/img_icon_coding.png);
}

.navItem:nth-child(4) a::before {
  background-image: url(images/img_icon_planning.png);
}

.navItem a::after {
  content: "";
  display: block;
  background-image: url(images/img_icon_arrow.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8px;
  height: 12px;
}

.navItem a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6.4%;
  text-align: center;
}

.nav.active .navItem:hover {
  scale: 1.1;
}

.navSns {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.navSns a {
  transition: 0.4s;
}

.nav.active .navSns a:hover {
  scale: 1.2;
}

.navSns a:first-of-type {
  display: block;
  transition: 0.4s;
  width: 29px;
  height: 29px;
  background-image: url(images/img_icon_x.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.navSns a:last-of-type {
  display: block;
  transition: 0.4s;
  width: 29px;
  height: 29px;
  background-image: url(images/img_icon_line.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.navLink {
  padding: 8px 0;
  text-align: center;
  line-height: 1.4;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.navLink a {
  text-decoration: underline;
  text-decoration-color: var(--black);
  transition: 0.4s;
}

.nav.active .navLink a:hover {
  scale: 1.1;
} /* nav open時 */
.search-form {
  margin: 0 var(--side-spacing);
  background-color: var(--white);
  border: 2px var(--black) solid;
  padding-left: 6.4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-submit {
  width: 64px;
  height: 64px;
  padding: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--purple);
}

.search-submit:hover {
  opacity: 0.5;
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }

  .header--compact {
    padding-top: 0;
  }

  .header--compact .nav {
    margin-top: 0;
  }

  .header--compact .siteTitle,
  .header--compact .subTitle {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    height: 0;
    padding: 0;
    margin: 0;
  }

  .splide,
  .container {
    transition: all 0.3s ease;
  }

  .subTitle__wrap--sp {
    display: none;
  }
  .subTitle__wrap--pc {
    display: block;
  }
  .siteTitle {
    font-size: min(4.8rem, 9.6vw);
    text-align: center;
  }
  
  .subTitle {
    margin-bottom: 0;
    padding-bottom: 48px;
  }

  .subTitle__wrap--pc {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .subTitle__txt {
    border: 2px var(--black) solid;
    font-size: 2.4rem;
  }

  .headerBtn,
  .navHeader,
  .nav .navSns,
  .nav .navLink {
    display: none;
  }
  .nav {
    opacity: 1;
    visibility: visible;
    background-color: transparent;
    position: static;
    transform: scale(1);
    pointer-events: all;
    display: flex;
    justify-content: center;
  }

  .nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin-top: 0;
    z-index: 100;
  }

  .navList {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    padding: 0;
    margin-top: 0;
  }
  .navItem {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-bottom: 0;
    border: none;
    border-top: 2px var(--black) solid;
    border-right: 2px var(--black) solid;
    border-bottom: 2px var(--black) solid;
    transition: 0.4s;
  }
  .navItem:hover {
    scale: 1.1;
    border-left: 2px var(--black) solid;
  }
  .navItem:first-of-type {
    border-top: 2px var(--black) solid;
    border-right: 2px var(--black) solid;
    border-left: 2px var(--black) solid;
  }
  .navItem a {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    width: 100%;
    height: 100%;
    line-height: 1;
  }
  .navItem a::after {
    display: none;
  }
  .navItem a::before {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
  }
  .search--sp {
    display: none;
  }
} /* tablet~desktop */
/* --------------------------
hero
-------------------------- */
.splide {
  padding: 48px 0;
  background-color: var(--pink);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  border-bottom: 2px var(--black) solid;
}

.splide__pagination__page {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--gray);
  margin-right: 8px;
}

.splide__pagination__page.is-active {
  background: var(--blue);
}

.splide__pagination {
  margin-top: 16px;
}

.splide__slide {
  opacity: 0.5;
}

.splide__slide.is-active {
  opacity: 1;
  cursor: pointer;
  transition: 0.4s;
}

.splide__slide.is-active:hover {
  scale: 1.2;
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .splide__slide {
    max-width: 700px;
  }
} /* tablet~desktop */
/* --------------------------
main
-------------------------- */
.container {
  max-width: 500px;
  margin: 0 auto;
}

.main {
  font-size: var(--font-base);
}

.posts {
  padding: 24px var(--side-spacing);
}

.sectionTitle {
  display: inline-block;
  font-family: var(--font-title);
  font-size: var(--fs-medium);
  line-height: 1.2;
  letter-spacing: -0.4px;
  padding: 8px 16px;
  border: 2px var(--black) solid;
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
}

.postList {
  margin-top: 24px;
}

.postItem a {
  background-color: var(--white);
  border: 2px var(--black) solid;
  position: relative;
  display: flex;
  box-shadow: 6px 6px 4px rgba(26, 26, 26, 0.25), 5px 5px 0px var(--purple), 4px 4px 0px var(--purple), 3px 3px 0px var(--purple), 2px 2px 0px var(--purple);
}

.postCategory {
  display: inline-block;
  background-color: var(--blue);
  font-weight: 800;
  padding: 4px 8px;
  position: absolute;
  top: 12px;
  left: 12px;
}

.postCategory:hover {
  opacity: 0.5;
}

.postImage {
  width: 40%;
  min-width: 175px;
  aspect-ratio: 138/162;
  -webkit-aspect-ratio: 138/162;
  object-fit: contain;
  padding: 0 8px 0 16px;
}

.postDetail {
  width: 60%;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.postTitle {
  font-weight: 800;
}

.postDetail time {
  font-size: var(--fs-small);
}

.postTag {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.tagItem {
  display: inline-block;
  background-color: var(--pink);
  border: 1px var(--black) solid;
  border-radius: 50px;
  font-size: var(--fs-small);
  font-weight: 800;
  padding: 4px 8px;
  text-align: center;
}

.postList {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.postItem {
  transition: 0.4s;
}

.postItem:hover {
  scale: 1.1;
}

/* tablet */
@media screen and (min-width: 768px) {
  .container {
    display: flex;
    align-items: flex-start;
    overflow: visible;
    max-width: 1440px;
  }
  .main {
    width: 70vw;
    padding-bottom: var(--spacing-sm);
  }
  .posts {
    padding: var(--spacing-sm) var(--spacing-lg);
  }
  .mainTitle {
    font-size: var(--fs-large);
  }
  .postImage {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 317/229;
    -webkit-aspect-ratio: 317/229;
  }
  .postItem a {
    width: 100%;
  }
  .postItem {
    width: 100%;
  }
  .postDetail {
    width: 100%;
  }
} /* tab */
/* desktop */
@media screen and (min-width: 1200px) {
  .main {
    width: 78vw;
  }
  .postList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2vw;
  }
  .postItem, .postItem a {
    height: 100%;
  }
  .postItem a {
    flex-direction: column;
  }
  .postDetail {
    width: 100%;
    padding: 8px 16px 16px 16px;
    gap: 8px;
    flex-grow: 1;
  }
  .postImage {
    max-width: 100%;
    object-fit: cover;
    padding: 0;
  }
} /* desktop */
/* --------------------------
sidebar
-------------------------- */
.search--pc {
  display: none;
}

.sidebar {
  padding: 56px var(--side-spacing) var(--spacing-md);
}

.profile, .categoryRanking {
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  border: 2px var(--black) solid;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.sidebarTitle {
  text-align: center;
  font-family: var(--font-title);
}

.profileImg img {
  aspect-ratio: 303 / 189;
  -webkit-aspect-ratio: 303 / 189;
  object-fit: cover;
}

.categoryRanking {
  margin-top: var(--fs-medium);
  padding-bottom: 0;
}

.rankingList {
  width: 100%;
}

.rankingItem {
  background-color: var(--blue);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  cursor: pointer;
}

.toggleIcon {
  display: inline-block;
  font-size: var(--fs-medium);
  font-weight: 800;
  transition: 0.4s;
}

.rankingBadge {
  background-image: url(images/img_icon_crown.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 42px;
  height: 33px;
  color: var(--white);
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.rankingThumb a {
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: 3fr 7fr;
  transition: 0.4s;
}

.rankingThumb a:hover {
  scale: 1.1;
}

.rankingImg {
  aspect-ratio: 88/90;
  -webkit-aspect-ratio: 88/90;
  object-fit: contain;
}

.rankingTitle {
  font-weight: 800;
  line-height: 1.4;
}

.rankingTxt time {
  font-size: var(--fs-small);
  line-height: 1.4;
}

.rankingTxt {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rankingWrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.rankingWrap:first-of-type {
  margin-top: 0;
}

.accordionContent {
  margin-bottom: 16px;
  max-height: 0;
  overflow: hidden;
  transition: 0.7s ease-in-out;
}

.accordionContent.open {
  max-height: 1000px;
}

/* tablet */
@media screen and (min-width: 768px) {
  .sidebar {
    width: max(305px, 30vw);
    padding: var(--spacing-lg) 3vw var(--spacing-lg) 0;
    position: sticky;
    -webkit-position: sticky;
    top: 0;
  }
  .search--pc {
    display: block;
  }
  .search--pc .search-form {
    margin: 0 0 var(--spacing-md) 0;
  }

  .profileImg img {
    aspect-ratio: 225/189;
    -webkit-aspect-ratio: 225/189;
  }

  .rankingThumb {
    grid-template-columns: 4fr 6fr;
  }
  .rankingImg {
    width: 100%;
  }
} /* tablet */
/* desktop */
@media screen and (min-width: 1200px) {
  .sidebar {
    width: max(305px, 21vw);
  }
} /* desktop */
/* --------------------------
footer
-------------------------- */
.footer {
  background-color: var(--pink);
  background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size);
  border-top: 2px var(--black) solid;
  padding: var(--spacing-sm) 0;
}

.footer .navSns {
  justify-content: flex-end;
  padding: 0 var(--side-spacing);
  margin-top: 8px;
}

.footer .navSns a:hover {
  scale: 1.1;
}

.footer .navLink {
  gap: 4px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 8px var(--side-spacing);
}

.footer .navLink a:hover {
  scale: 1.1 !important;
}

.footer .navLink a {
  text-decoration: underline;
  text-decoration-color: var(--black);
}

.copy {
  font-size: var(--fs-small);
  line-height: 1.4;
  padding-left: var(--side-spacing);
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .footer .navSns {
    justify-content: center;
    margin-top: 16px;
  }
  .footer .navLink {
    flex-direction: row;
    gap: var(--spacing-sm);
    justify-content: center;
    padding: 0;
    margin-top: 16px;
  }
  .copy {
    padding-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  .footer {
    padding: var(--spacing-md) 0;
  }
} /* tablet~desktop */
/* ====================================
single.php
===================================== */
/* ---------------------------------
header
---------------------------------- */
.search--single {
  margin-top: 0;
}

.search--single .search-form {
  width: 70%;
}

.header--single {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 229px;
  padding-bottom: 20px;
  border-bottom: 2px var(--black) solid;
}

.subTitle--single {
  display: none;
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .header--single {
    height: auto;
    padding-bottom: 0;
  }

  .subTitle--single {
    display: block;
  }

  .subTitle__wrap--sp {
    display: none;
  }

  .navItem--single {
    border-bottom:none;
  }

  .navItem--single:hover {
    border-bottom: 2px var(--black) solid;
  }

} /* tablet~desktop */

/* ---------------------------------
main
---------------------------------- */
.breadcrumb {
  padding: 16px var(--side-spacing) 0;
}

.breadcrumbList {
  display: flex;
  gap: 8px;
}

.breadcrumbItem::after {
  content: "";
  display: inline-block;
  background-image: url(images/img_icon_arrow.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 6px;
  height: 10px;
  margin-left: 4px;
}

.breadcrumbItem:first-of-type::before {
  content: "";
  display: inline-block;
  background-image: url(images/img_icon_home.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 17px;
  margin-right: 4px;
}

.breadcrumbItem a{
  text-decoration: underline;
  text-decoration-color: var(--black);
}

.tagItem {
  cursor: pointer;
}

.tagItem:hover {
  opacity: 0.5;
}

/* articleHeader */
.article {
  padding: 0 var(--side-spacing);
}

.articleHeader {
  padding-top: 8px;
}

.articleHeading {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.4;
}

.articleHeader time {
  font-size: var(--fs-small);
  line-height: 1.4;
  margin-top: 8px;
}

.articleHeader .postTag {
  margin-top: 8px;
}

.eyecatch {
  padding: 16px;
  margin-top: 16px;
  width: 100%;
}

.eyecatch img {
  object-fit: cover;
}

.articleFooter h5 {
  margin-bottom: 4px;
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .eyecatch {
    padding: var(--spacing-sm) 8vw;
  }
} /* tablet~desktop */

/* articleWrap */
.articleWrap {
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--grid-color-light) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-color-light) 1px, transparent 1px);
  background-size: var(--grid-size);
  border: 2px var(--black) solid;
  padding: 24px 5.3vw;
  line-height: 1.6;
}

.tableWrap {
  padding: 0 2vw;
  margin: 16px auto;
}

.table {
  background-color: var(--white);
  padding-bottom: 16px;
  box-shadow: var(--sheerShadow);
  position: relative;
}

.tableTitle {
  border-radius: 0;
  padding: 8px 16px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.4;
  display: block;
  width: 100%;
  background-color: var(--purple);
  white-space: nowrap;
  line-height: 2.4;
}

.tableList {
  overflow: hidden;
  max-height: 80px;
  transition: 0.4s;
}

.tableList::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(245, 241, 241, 0) 0%,
    rgba(245, 241, 241, 0.9) 50%,
    rgba(245, 241, 241, 0.9) 100%,
    #f5f1f1
  );
  padding: 0 var(--side-spacing);
  transition: 0.4s;
}

.table input {
  display: none;
}

.readMoreToggle:checked ~ .tableList {
  overflow: visible;
  max-height: 1000px;
}

.readMoreToggle:checked ~ .tableList::after {
  display: none;
}

.readMore {
  display: block;
  text-align: center;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue);
  text-decoration: underline;
  width: 100%;
}

.table label:hover {
  color: var(--purple);
}

.table label::after {
  content: '...続きを表示する';
}

.readMoreToggle:checked ~ .readMore {
  position: static;
  transform: translateX(0);
}

.readMoreToggle:checked ~ .readMore::after {
  content: 'もとに戻す';
  display: inline-block;
  text-decoration: underline;
}

.tableList {
  padding: 0 var(--side-spacing);
  margin-top: 12px;
}

.tableList a {
  text-decoration: underline;
}

.tableItem {
    font-weight: 800;
    margin-top: 8px;
}

.detailList, .subDetailList {
    padding-left: 2rem;
}

.detailItem {
    font-weight: 400;
}

.articleContent {
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
}

.articleContent h3 {
  font-size: var(--fs-medium);
  padding: 16px 8px;
  border-bottom: 4px var(--purple) solid;
  margin: var(--spacing-sm) 0 16px;
  font-weight: 800;
}

.articleContent img, 
.wp-block-kevinbatdorf-code-block-pro, 
.cp_embed_wrapper, 
.wp-block-table {
  padding: 16px 2vw;
  margin-bottom: 16px;
}

.articleContent p {
  padding: 0 2vw;
  margin-bottom: 16px;
}

.articleContent h4 {
  display: inline-block;
  font-size: 1.8rem;
  padding: 8px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.25), 5px 5px 0px 0px var(--black);
  background-color: var(--white);
  margin: 16px 0 16px;
  font-weight: 800;
}

.articleContent h5 {
  font-size: 1.8rem;
  font-weight: 800;
  padding: 8px;
  margin: 16px 0 16px;
}

.articleContent ul {
  margin: 16px auto;
  background-color: var(--white);
  list-style: square outside;
  padding: 16px 16px 16px 32px;
  display: block;
  width: 80%;
  border-radius: 10px;
  border: var(--pink) 4px dotted;
}

.wp-block-image {
  margin: 0;
}

code {
  font-family: 
  Consolas, 
  Monaco, 
  'Courier New', 
  monospace;
  font-size: 0.95em;
  background-color: #B0B0B099;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

h2 code,
h3 code,
h4 code,
h5 code,
h6 code, 
table code {
  background-color: transparent;
}

.wp-block-table .has-fixed-layout {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  border: 1px solid #e0e0e0;
}

table.has-fixed-layout td {
  border: 1px solid #e0e0e0;
  padding: 12px;
  vertical-align: middle;
}

table.has-fixed-layout tr td:first-child {
  white-space: nowrap;
  background-color: var(--pink);
}

table.has-fixed-layout tr td:last-child {
  background-color: var(--white);
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .articleWrap {
    padding: 24px 3vw;
  }

  .table {
    display: inline-block;
    min-width: 73%;
  }

  .articleContent img, 
  .cp_embed_wrapper, 
  .wp-block-kevinbatdorf-code-block-pro, 
  .wp-block-table {
    padding: 0 0 0 2vw;
    width: 73%;
  }

  .articleContent h5 {
    padding: 8px 20px;
    margin: 0;
  }

  .articleContent ul {
    margin: 16px 2vw;
    width: 64%;
  }
}

/* ====================================
archive.php
===================================== */
#searchResult {
  padding: 0 var(--side-spacing);
}

.archiveHeading h2 {
  font-size: var(--fs-medium);
  letter-spacing: -0.4px;
  margin-top: 8px;
  padding: 0 var(--side-spacing);
}

.breadcrumbItem--archive::after {
  display: none;
}

.breadcrumbItem--archive a {
  text-decoration: none;
}

/* desktop */
@media screen and (min-width: 1200px) {
  .postItem {
    max-width: 330px;
  }
}

/* ====================================
search.php
===================================== */
.searchEmpty {
  padding: 0 var(--side-spacing);
  color: var(--red);
  font-weight: 800;
}

/* ====================================
privacy-policy.php
===================================== */
.articleWrap--privacy {
  margin-top: 24px;
}

.privacyDate {
  gap: 0;
}

.articleContent--privacy {
  margin-bottom: 0;
}

.privacyList {
  list-style: disc outside;
  margin-left: 48px;
}

/* ====================================
page-contact.php
===================================== */
.articleContent--privacy form{
  padding: 1em 1em 0 1em;
}

.formLabel {
  font-weight: 800;
  font-size: 1.8rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
}

.formLabel::before {
  content: '必須';
  display: inline-block;
  background-color: var(--purple);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 400;
  padding: 6px 10px;
  margin-right: 12px;
  text-align: center;
  border-radius: 4px;
}

.formPrivacy {
  text-align: center;
}

.formPrivacy a {
  text-decoration: underline;
  text-decoration-color: var(--black);
}

.formInput,
.formTextarea {
  width: 100%;
  padding: 10px 16px 8px;
  border: 1px solid #ccc;
  background-color: var(--white);
  box-shadow: var(--sheerShadow);
}

.formInput:focus,
.formTextarea:focus {
  outline: none;
  box-shadow: none;
  border: 2px solid var(--blue) !important;
}

.formTextarea {
  height: 120px;
}

.formCheckbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 1px solid #ccc;
  margin: 0 12px 2px 0;
  cursor: pointer;
}

.formCheckbox:checked {
  background-color: var(--purple);
  border-color: var(--purple);
  position: relative;
}

.formCheckbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 12px;
  height: 9px;
  border-left: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(-48deg);
}

.formSubmit {
  background-color: var(--blue);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  width: 160px;
  padding: 12px 24px;
}

.formSubmit:hover {
  opacity: 0.5;
}

.formGroup--submit {
  text-align: center;
}

.mw_wp_form .error {
  font-size: var(--fs-small);
  color: #B70000;
  margin-top: 4px;
}

.formGroup {
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.formSubmit--back {
  background-color: #999999;
}

.formSubmit--back:hover {
  opacity: 0.5;
}

.formComplete__link {
  margin-top: 24px;
}

.formComplete__link a {
  text-decoration: underline;
  text-decoration-color: var(--black);
}

.formComplete__link a:hover {
  color: var(--purple);
  text-decoration-color: var(--purple);
}

.formPrivacy label:has(input[name="privacy-policy"])::after {
  content: "プライバシーポリシーに同意する";
  display: inline;
}

.mw_wp_form_confirm .formPrivacy label:has(input[name="privacy-policy"])::after {
  content: "プライバシーポリシーに同意のうえ、上記の内容を送信しますか？";
}

.mw_wp_form_confirm .confirmValue {
  width: 100%;
  padding: 10px 16px 8px;
  border: 1px solid #ccc;
  background-color: var(--white);
  display: block;
  box-sizing: border-box;
  white-space: pre-wrap;
  line-height: 1;
  box-shadow: var(--sheerShadow);
} 

.mw_wp_form_confirm .formLabel::before {
  display: none;
}

.mw_wp_form_confirm .formPrivacy {
  font-size: 1.8rem;
}

.mw_wp_form_confirm .formGroup--submit {
  width: auto;
}

.mw_wp_form_confirm .formGroup__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* tablet~desktop */
@media screen and (min-width: 768px) {
  .articleContent--privacy form {
    margin: 0 10%;
  }
  
  .formTextarea {
    height: 180px;
  }
} /* tablet~desktop */

/* ====================================
404.php
===================================== */
.archiveHeading--404 {
  font-family: "Press Start 2P", system-ui;
  padding: 40px var(--side-spacing) 32px;
}

.archiveHeading--404 h2 {
  color: var(--white);
  text-align: center;
  text-shadow: 5px 5px 0px var(--purple), 4px 4px 0px var(--purple), 3px 3px 0px var(--purple), 2px 2px 0px var(--purple);
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--black, #1A1A1A);
  font-size: 6.4rem;
  line-height: 1.2;
}

.subTitle404 {
  margin-top: 16px;
  text-align: center;
  font-size: var(--fs-large);
  line-height: 1.2;
}

.text404 {
  margin-top: 16px;
  text-align: center;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.navList--404 {
  margin: 0 auto 40px;
  padding-bottom: 0;
}

.navItem--404 a::before {
  display: none;
}

.navItem--404 {
  width: 263px;
  height: 51px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 0.4s;
}

.navItem--404 a {
  width: 100%;
  padding: 0;
  display: block;
}

.navItem--404:hover {
  scale: 1.1;
}

.navItem--404 a::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}

/* tablet */
@media screen and (min-width: 768px) {
  .main--404 {
    width: 100%;
    padding-bottom: 0;
  }

  .navList--404 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
  }

  .navItem--404 {
    width: 263px;
    height: 51px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 2px var(--black) solid;
  }

  .navItem--404 a {
    width: 100%;
    height: auto;
  }

  .navItem--404 a::after {
    content: "";
    display: block;
    background-image: url(images/img_icon_arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 8px;
    height: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
  }
}

/* desktop */
@media screen and (min-width: 1200px) {
  .archiveHeading--404 {
    padding: 88px 0 32px;
  }

  .spBr {
    display: none;
  }

  .main--404 {
    width: 100%;
  }

  .navList--404 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 24px;
    margin-bottom: 88px;
  }

  /* .navItem--404 {
    width: 263px;
    height: 51px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 2px var(--black) solid;
  }

  .navItem--404 a {
    width: 100%;
    height: auto;
  }

  .navItem--404 a::after {
    content: "";
    display: block;
    background-image: url(images/img_icon_arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 8px;
    height: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
  } */
} /* desktop */
/*# sourceMappingURL=style.css.map */