@charset "utf-8";
/*
Theme Name: Print Rescue
Author: Big Hug
Description: original theme
Version： 3.0.0
*/



/*----------------------------------------------------
　header
----------------------------------------------------*/
.header {
    border-bottom: 1px solid #ddd;
}
.header-inner {
    position: relative;
    padding: 20px 30px 8px;
}
.site-title {
    line-height: 1;
    display: inline-block;
}
.site-title a {
    display: block;
    text-decoration: none;
}
.site-title a img {
    width: 100%;
    max-height: 46px;
}
.header-nav li a {
  display: block;
  text-decoration: none;
}



/*----------------------------------------------------
　グローバルメニュー
----------------------------------------------------*/
.header-nav li {position: relative;}
.header-nav .sub-menu {
    position: absolute;
    top: 30px;
    left: 0;
    overflow: hidden;
    width: 250px;
    height: 0;
    transition: .8s;
    transform: translateY(-8%);
    opacity: 0;
}
.header-nav li:hover .sub-menu {
    height: auto;
    transform: translateY(0);
    opacity: 1;
}
.header-nav .sub-menu li {
    display: block;
    margin-left: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
    background-color: rgb(255 255 255 / 90%);
}

.header-nav .menu-item-has-children:nth-last-child(1) .sub-menu,
.header-nav .menu-item-has-children:nth-last-child(2) .sub-menu {
    right: 0;
    left: auto;
}
.header-nav .sub-menu li a {
    padding: 1em;
}
 
@media(max-width: 820px) {
  .header-nav li a {
    text-align: left;
  }
 
  .header-nav .menu-item-has-children > a {
    padding-bottom: 1em;
  }
 
  .header-nav .sub-menu li a {
    position: relative;
    padding: 1rem 1rem 1rem 2.75em;
  }
 
  .header-nav .sub-menu li a::before {
    position: absolute;
    top: 1.25em;
    left: 1.75em;
    display: block;
    width: .5em;
    height: .5em;
    content: "";
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
  }
}










/*----------------------------------------------------
　トップページ
----------------------------------------------------*/

/* MV */
.mv {
  margin-bottom: 2rem;
}

.mv img {
    display: block;
    width: 100%;
    /*height: min(31.25rem, 46.5vw);*/
    object-fit: cover;
}





/*----------------------------------------------------
　共通
----------------------------------------------------*/
.page-ttl-wrap {
    background: #ccc;
}
.page-ttl {
    position: relative;
    max-width: 1080px;
    height: 22rem;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}
.page-ttl-txt {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    width: calc(100% - 3rem);
    transform: translateY(-50%);
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 3em 0;
}



.contents-box {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
}




.two-columns {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}


.two-columns #side {
    flex: 0 0 10rem;
}

.side-wrapper {
  margin-bottom: 2rem;
}

.side .sidebar-title,
.side .wp-block-heading {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1rem;
  padding: .375rem;
  letter-spacing: 1px;
  border: 0;
  border-bottom: .1875rem solid #1d2d43;
}

.side a {
  text-decoration: none;
  color: #333;
}

.side ul {
  list-style: none;
}

.side li {
  border-bottom: 1px solid #ddd;
}

.side li a {
  display: block;
  padding: .5rem;
}

.side select {
  display: block;
  width: 100%;
  padding: .5rem;
  border: 1px solid #ddd;
}




.two-columns .contents {
    flex: 1 1 auto;
}



/*----------------------------------------------------
　 サイドバー
----------------------------------------------------*/
#side .side-inner {
    font-size: 1em;
}
#side .delivery {}














/*----------------------------------------------------
　アーカイブ一覧
----------------------------------------------------*/
.archive-list {
    display: flex;
    flex-wrap: wrap;
}

.archive-item {
    display: flex;
    flex-wrap: wrap;
}

.archive-item a {

}


.article-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}

.article-list .article-item {
    position: relative;
    z-index: 1;
    border: 1px solid #ddd;
}








/*----------------------------------------------------
　商品ページ
----------------------------------------------------*/


















/*PCレイアウト*/
@media (min-width: 821px) {
  .two-columns {
    display: flex;
    flex-direction: row;

    gap: 2.5rem;
  }

  .two-columns .contents {
    flex: 1 1 auto;
  }

  .two-columns .sidebar {
    flex: 0 0 15.625rem;
  }
}










/*タブレットレイアウト*/
@media (max-width: 820px) {
  .two-columns .contents {
    margin-bottom: 4rem;
  }
}

/*スマホレイアウト*/
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding-top: 1.4rem;
  }
}




@media(min-width: 821px) {
  .navbutton {
    display: none;
  }

  .header-nav-wrap {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    margin-left: 15rem;/*タイトル分の余白をあけておく*/
    transform: translateY(-50%);
  }

  .header-nav {
    font-size: 0;
  }

  .header-nav li {
    font-size: 1rem;
    display: inline-block;
    margin-left: 1.5rem;
    padding: .25rem 0;
  }

  .header-nav li a {
    font-weight: 500;
    color: #000;
  }

  .header-nav li a:hover {
    opacity: .6;
  }
}

@media(max-width: 820px) {
  .navbutton {
    position: absolute;
    z-index: 10;
    top: 50%;
    right: 1.5rem;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
  }

  .navbutton:focus {
    outline: 0;
  }

  .navbutton::after {
    font-family: "Material Symbols Outlined";
    font-size: 2.5rem;
    content: "\e5d2";
    color: #000;
  }

  .menu-active .navbutton::after {
    content: "\e5cd";
    color: #fff;
  }

  .header-nav-wrap {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    background-color: rgb(50 50 50 / 80%);
  }

  .header-nav {
    padding: 6rem 0;
  }

  .header-nav li a {
    font-weight: 400;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
  }
}

/*フッター*/
.footer {
  background-color: #000;
}

.footer-nav-wrap {
  padding: .75rem 1rem;
  background-color: #f5f5f5;
}

.footer-nav ul {
  font-size: 0;
  text-align: center;
}

.footer-nav ul li {
  font-size: .875rem;
  display: inline-block;
  margin-right: 1rem;
  padding: .25rem 0;
}

.footer-nav ul li:last-child {
  margin-right: 0;
}

.footer-nav ul li a {
  text-decoration: none;
  color: #333;
}

.copyright {
  padding: 1rem;
  text-align: center;
}

.copyright p {
  font-size: .875rem;
  color: #fff;
}


/*投稿*/
.article-head .article-info {
  margin-bottom: .5rem;
}

.article-head .article-info .article-cat {
  display: inline-block;
  vertical-align: middle;
}

.article-head .article-info .article-cat a {
  font-size: .875rem;
  line-height: 1;
  display: inline-block;
  margin-right: .5rem;
  padding: .375rem .5rem;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
}

.article-head .article-info .article-date {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}

.article-head .article-info .article-date i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}

.article-head h1 {
  font-size: 2.125rem;
  margin: 0 0 2rem;
  letter-spacing: 1px;
}

.article-head .article-img {
  margin-bottom: 2rem;
}

.article-head .article-img img {
  display: block;
}

.article-foot .article-tag {
  margin-bottom: 1rem;
  text-align: right;
}

.article-foot .article-tag ul {
  list-style: none;
}

.article-foot .article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}

.article-foot .article-tag ul li:last-child {
  margin-right: 0;
}

.article-foot .article-tag ul li a {
  line-height: 1;
  display: block;
  padding: .25rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}

.article-foot .article-tag ul li a:hover {
  opacity: .6;
}

.article-foot .article-author {
  font-weight: 500;
  line-height: 1;
  text-align: right;
  vertical-align: middle;
}

.article-foot .article-author i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}

@media(max-width: 480px) {
  .article-head h1 {
    font-size: 1.75rem;
  }
}

/*エディタコンテンツ*/
.editor-content p code,
.editor-content p img,
.editor-content p iframe,
.editor-content p object,
.editor-content figure img,
.editor-content figure iframe,
.editor-content figure video,
.editor-content figure audio,
.editor-content pre code {
  margin-bottom: 0;
}

.editor-content th,
.editor-content td {
  border-color: #ddd;
}

.editor-content p,
.editor-content ul,
.editor-content ol,
.editor-content table,
.editor-content dl,
.editor-content blockquote,
.editor-content pre,
.editor-content code,
.editor-content img,
.editor-content picture img,
.editor-content figure,
.editor-content iframe,
.editor-content object,
.editor-content hr,
.editor-content video,
.editor-content audio {
  margin-bottom: 2.5em;
  letter-spacing: 1px;
}

.editor-content b,
.editor-content strong {
  font-weight: bold;
}

.editor-content a {
  text-decoration: underline;
}

.editor-content ul:not([class]) {
  padding-left: 1.25em;
  list-style: disc;
}

.editor-content ol:not([class]) {
  padding-left: 1.875em;
  list-style: decimal;
}

.editor-content table {
  width: 100%;
}
.editor-content table thead {
  border: none;
}
.editor-content table th,
.editor-content table td {
  box-sizing: border-box;
  padding: .625em;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ddd;
}
.editor-content img,
.editor-content iframe,
.editor-content object,
.editor-content video,
.editor-content audio {
  line-height: 1;
}
.editor-content figure {
  max-width: 100%;
}

.editor-content iframe,
.editor-content object {
  width: 100%;
}

.editor-content blockquote {
  line-height: 1.5;
  position: relative;
  padding: 3.125em 1.875em .625em;
  color: #555;
  background-color: #f1f4f4;
}

.editor-content blockquote::before {
  font-family: "Material Symbols Outlined";
  font-size: 1.875em;
  font-weight: 900;
  position: absolute;
  top: .3125em;
  left: .9375em;
  content: "\e244";
  color: #ccc;
}

.editor-content blockquote p,
.editor-content blockquote cite {
  margin-bottom: 1em;
}

.editor-content blockquote p cite {
  margin-bottom: 0;
}
.editor-content blockquote cite {
  font-size: .6125em;
  display: block;
  text-align: right;
}

.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5 {
  line-height: 1.4;
  margin: 3rem 0 2rem;
  letter-spacing: 1px;
}

.editor-content h2 {
  font-size: 1.875rem;
  padding: .75rem 0;
  border-bottom: solid 5px #03162f;
}

.editor-content h3 {
  font-size: 1.5rem;
  padding: 0 1rem;
  border-left: solid .375rem #415671;
  background: transparent;
}

.editor-content h4 {
  font-size: 1.25rem;
}

.editor-content h5 {
  font-size: 1.125rem;
}

@media (max-width: 480px) {
  .editor-content p,
  .editor-content ul,
  .editor-content ol,
  .editor-content table,
  .editor-content dl,
  .editor-content blockquote,
  .editor-content pre,
  .editor-content code,
  .editor-content img,
  .editor-content picture img,
  .editor-content figure,
  .editor-content iframe,
  .editor-content object,
  .editor-content hr,
  .editor-content video,
  .editor-content audio {
    margin-bottom: 1.5em;
  }

  .editor-content th,
  .editor-content td {
    padding: .625em;
  }

  .editor-content blockquote {
    padding: 2.5em 1.875em 1.875em;
  }

  .editor-content blockquote::before
  .editor-content blockquote::after {
    font-size: 1.25em;
  }

  .editor-content blockquote p,
  .editor-content blockquote cite {
    margin-bottom: .625em;
  }

  .editor-content h2,
  .editor-content h3,
  .editor-content h4,
  .editor-content h5 {
    margin: 2rem 0;
  }

  .editor-content h2 {
    font-size: 1.5rem;
  }
  .editor-content h3 {
    font-size: 1.375rem;
  }
  .editor-content h4 {
    font-size: 1.25rem;
  }
  .editor-content h5 {
    font-size: 1rem;
  }
  .editor-content h6 {
    font-size: .9375rem;
  }
}


@media (max-width: 332px) {
  .editor-content h2 {
    font-size: 1.25rem;
  }
  .editor-content h3 {
    font-size: 1.125rem;
  }
  .editor-content h4 {
    font-size: 1rem;
  }
  .editor-content h5 {
    font-size: .9375rem;
  }
  .editor-content h6 {
    font-size: .875rem;
  }
}



/*ページタイトル*/
.page-title-wrap {
  background-color: #1d2d43;
}

.page-title-wrap .page-title {
  position: relative;
  max-width: 1080px;
  height: 22rem;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.page-title-wrap .page-title .text-warp {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  width: calc(100% - 3rem);
  transform: translateY(-50%);
  text-align: center;
}

.page-title-wrap .page-title .text-warp h1 {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
}

@media(max-width: 820px) {
  .page-title-wrap .page-title {
    height: 20rem;
    margin-bottom: 1rem;
  }

  .page-title-wrap .page-title .text-warp h1 {
    font-size: 2.75rem;
  }
}

@media(max-width: 480px) {
  .page-title-wrap .page-title {
    height: 12rem;
    margin-bottom: 0;
  }

  .page-title-wrap .page-title .text-warp h1 {
    font-size: 2rem;
  }
}

/*記事アーカイブ*/
.article-list {
  display: grid;

  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.article-list .article-item {
  position: relative;
  z-index: 1;
  border: 1px solid #ddd;
}

.article-list .article-item a {
  display: block;
  text-decoration: none;
  color: #333;
}

.article-list .article-item img {
  display: block;
  width: 100%;

  aspect-ratio: 3/2;
  object-fit: cover;
}

.article-list .article-item .text-wrap {
  padding: 1rem;
}

.article-list .article-item .article-cat {
  font-size: .875rem;
  line-height: 1;
  display: inline-block;
  margin-right: .5rem;
  padding: .25rem .5rem;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
}

.article-list .article-item .article-date {
  font-size: .875rem;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}

.article-list .article-item .article-date i {
  font-size: 1rem;
  position: relative;
  top: .1875rem;
  margin-right: .125rem;
}

.article-list .article-item .text-wrap h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-top: .5rem;
}

@media(max-width: 480px) {
  .article-list {
    display: block;

    gap: none;
    grid-template-columns: none;
  }

  .article-list .article-item {
    margin-bottom: 2rem;
  }
}


/*ページネーション*/
.pagination {
  margin: 4rem 0;
  text-align: center;
}

.pagination ul {
  font-size: 0;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .75rem;
}

.pagination ul li:last-child {
  margin-right: 0;
  border: 0;
}

.pagination ul li a,
.pagination ul li .current {
  font-weight: 600;
  line-height: 1;
  display: block;
  padding: .75rem .875rem;
  border: 1px solid #ddd;
}

.pagination ul li a {
  text-decoration: none;
  color: #555;
}

.pagination ul li .current {
  color: #fff;
  background-color: #1d2d43;
}

.pagination ul li .prev,
.pagination ul li .next {
  padding: .75rem .5rem;
  border: 0;
}

.pagination ul li i {
  font-size: 1rem;
  color: #1d2d43;
}

@media(max-width: 480px) {
  .pagination {
    margin: 3rem 0;
  }

  .pagination ul li a {
    padding: .5rem;
  }
}


@media(min-width: 1921px) {
  .home-fv-wrap img {
    height: auto;
  }
}

@media(min-width: 821px) {
  .home-article-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
