@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* @import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap"); */

/* icomoon フォントの font-display を swap に設定（LCP/FCP改善） */
@font-face {
    font-family: 'icomoon';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/themes/swell/assets/fonts/icomoon.woff2?fq24x') format('woff2'),
         url('/wp-content/themes/swell/assets/fonts/icomoon.ttf?fq24x') format('truetype'),
         url('/wp-content/themes/swell/assets/fonts/icomoon.woff?fq24x') format('woff'),
         url('/wp-content/themes/swell/assets/fonts/icomoon.svg?fq24x#icomoon') format('svg');
}

body {
  font-feature-settings: "palt";
}

:root {
  --transparent: transparent;
  --swl-pad_post_content: 0;
}

/* メインビジュアル　*/

.swell-block-fullWide.has-bg-img {
  background-position: 50% 100%;
}

.c-pageTitle,
.c-postTitle__ttl {
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
}

.zen,
.post_content > p,
.c-balloon .c-balloon__text>p {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
}
.c-balloon .c-balloon__text>p{
  font-weight: bold;
}

.post_content > p.mainvisual-p {
  padding-bottom: 1em;
}
.post_content > p.mainvisual-p strong {
  letter-spacing: 2px;
}

@media screen and (min-width: 1280px) {
  .zen,
  .post_content > p {
    font-size: 18px;
  }
}

.main-image img {
  width: 73%;
  max-width: 610px;
  margin: 0 auto;
  display: block;
  margin-top: 1em;
}

.main-bg {
  background-size: cover;
  background-position: 38% 90%;
}

.post_content .is-style-section_ttl.top-h2 {
  padding-top: 0;
  margin-bottom: 1em !important;
}

.select-top {
  text-align: center;
}

.top-m-1 {
  margin-top: 1em !important;
}

.top-section {
  padding: 10px 10px 3em;
  background-color: rgba(31, 41, 66, 0.6);
}

.-height-auto .p-mainVisual__textLayer {
  padding-bottom: 0;
  padding-top: 0;
}

.home .post_content h3 {
  /* margin: 1em 0 2em; */
}

/* 投稿内漫画の幅 */
article.l-mainContent__inner .post_content > .wp-block-image img {
  max-width: 100%;
  /* width: 80%; */
}

.l-mainContent__inner {
  max-width: 800px;
  margin: auto;
}

.home .l-mainContent__inner {
  max-width: 1200px;
  margin: auto;
}

.archive .l-mainContent__inner {
  max-width: 960px;
  margin: auto;
}

@media screen and (min-width: 1201px) {
  .home .l-mainContent__inner{
    max-width: 100%;
  }
  .archive .l-mainContent__inner {
    max-width: 86%;
  }
  .l-article {
    max-width: 80%;
  }
}



.ex_link {
  text-align: center;
  padding-bottom: 1em;
}

.ex_link .btn-default {
  display: inline-block;
  border-radius: 5px;
  border: 2px solid #fff;
  padding: 0.6em 2em;
  font-size: 22px;
  text-decoration: none;
  color: #fff;
}

/* .l-header {
  background: var(--transparent);
} */

/*　サイドバーの幅　*/
@media (min-width: 960px) {
  .-sidebar-on .l-mainContent {
    width: calc(100% - 240px - var(--swl-sidebar_margin));
  }
  .-sidebar-on #sidebar {
    width: 240px !important;
  }
}

@media (max-width: 599px) {
  .wp-block-columns.sp_column2 > .wp-block-column {
    flex-basis: calc(32.3% - var(--wp-column-gap) / 2) !important;
  }
}

[class*="page-numbers"] {
  color: #aaa;
  background-color: rgba(71, 71, 71, 0.8);
}

/* リスト上のページ数 */
.p-postList__num {
  position: absolute;
  top: 6px;
  left: 10px;
  background-color: rgba(62, 146, 255,1);
  border:0px solid #000;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
}
.widget_text .p-postList__num {
  left: 2px;
  top: unset;
  bottom: 2px;
  font-size: 13px;
  width: 20px;
  height: 20px;
}

.p-postList__num.p1{
  background-color: rgba(255, 0, 76, 1);
  color: #fff;
  border-width: 0;
}
.p-postList__num.p2{
  background-color: rgba(76, 1, 161, 1);
  color: #fff;
  border-width: 0;
}
.p-postList__num.p3{
  background-color: rgba(255, 204, 0, 1);
  color:#000;
  border-width: 0;
}

/* web拍手 */

.clap-btn {
  text-align: center;
}

.clap-btn p {
  font-family: "Zen Old Mincho", serif;
  padding-bottom: 10px;
  letter-spacing: 1px;
  font-size: 14px;
}

.rwc-message-form .thanks-msg {
  color: #555;
}

.rainy-webclap .btn-default {
  text-shadow: none;
  display: inline-block;
  padding: 0.5em 2em;
  text-decoration: none;
  color: #f6f6f6;
  background-image: none;
  background-color: transparent;
  border: solid 2px #f6f6f6;
  border-radius: 3px;
  transition: 0.4s;
  font-size: 1.4rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  margin-top: 0em;
}

.rwc-message-form {
  width: 100%;
  max-width: 500px;
  background-color: #04384c;
  color: #fff;
}

.rwc-message-form .thanks-msg {
  color: #fff;
}

.rainy-webclap .btn-primary {
  background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
  background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #2b669a;
}

/**
 * 最大カラム数（PC/Tab）
 */

.p-postList.-type-card .p-postList__item {
  width: calc(100% / 6) !important;
}
@media (max-width: 1024px) {
  .home .p-postList.-type-card .p-postList__item {
    width: calc(100% / 6) !important;
  }
  .p-postList.-type-card .p-postList__item {
    width: calc(100% / 4) !important;
  }
}
@media (max-width: 819px) {
  .home .p-postList.-type-card .p-postList__item {
    width: calc(100% / 3) !important;
  }
  .p-postList.-type-card .p-postList__item {
    width: calc(100% / 3) !important;
  }
}

/* .c-postThumb__img {
  border: 2px solid #333;
} */

.p-postList .c-postThumb__figure {
  aspect-ratio: 0.7 / 1;
}

.p-blogCard__thumb .c-postThumb__figure img {
  object-position: 0 20%;
}

/* メインビジュアル背景の位置 */
.p-mainVisual__img.u-obf-cover {
  object-position: 50% 100%;
}

.l-sidebar .c-postThumb__figure {
  aspect-ratio: initial;
}

.top-range-list .c-postThumb__figure:before {
  padding-top: 0;
}

.c-filterLayer.-texture-dot:after {
  background-color: rgba(0, 0, 0, 0.8);
}

.post_content .wp-block-embed.mov-s{
  max-width:360px;
}

@media (min-width: 600px) {
  #sidebar .-type-card .p-postList__title,
  .-related .p-postList__title,
  .-type-thumb .p-postList__title,
  .w-footer:not(.-col1) .p-postList__title {
    font-size: 13px;
  }
}

.ai-image-desc-wrapper {
  border: 1px dotted #666;
  padding: 1em;
  font-size: 90%;
  color: #aaa;
}

.ai-image-desc-wrapper h3 {
  padding-bottom: 0.5em;
}

.new-label {
  display: inline-block;
  background-color: #eeff07;
  font-size: 11px;
  font-weight: normal;
  color: #000;
  margin-right: 8px;
  line-height: 1;
  padding: 1px 4px 3px;
  vertical-align: 2px;
}

.p-termHead {
  border: 1px solid var(--color_border);
  margin-top: 3rem;
  position: relative;
}

.p-termHead__desc {
  padding: 1.5em;
  width: 100%;
}

.p-termContent {
  margin-top: 4em;
}

.all-link {
  display: inline-block;
  font-size: 12px;
  background-color: #fff;
  border: 1px solid var(--color_border);
  padding: 2px 1em;
}

.tag-cloud-link.ex-tag {
  display: inline-block;
  border-radius: 5px;
  font-size: 14px !important;
  background-color: var(--color_main);
  color: #fff !important;
  text-decoration: none;
  padding: 3px 8px;
  margin-right: 6px;
}

.top-list ul li {
  margin-bottom: 0 !important;
}

.home .swell-block-columns p,
.top-list ul li .p-postList__title {
  font-size: 13px;
}

.selectlink {
  background-color: var(--color_main);
  color: #fff;
  font-size: 13px;
  padding-right: 1em;
}

.p-termHead {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* スクロールバー */
.swell-block-columns__inner::-webkit-scrollbar {
  height: 8px;
}
.swell-block-columns__inner::-webkit-scrollbar-track {
  background-color: #333;
}

.swell-block-columns__inner::-webkit-scrollbar-thumb {
  background-color: #3760d0;
  border-radius: 8px;
}

.scroll-padding > .swell-block-columns__inner {
  padding-bottom: 26px;
}

.p-articleMetas {
  font-size: 16px;
}
.p-articleMetas.-top .p-articleMetas__termList {
  font-size: 16px;
}

.c-categoryList__link,
.c-tagList__link,
.c-taxList__link {
  border-radius: 3px;
  padding: 6px 1em;
}

/*固定ページの2ページ目以降*/
.paged .list-description {
  display: none;
}

.w-footer__box .swell-block-linkList {
  padding-left: 1em;
}

.w-beforeFooter {
  margin-bottom: 0;
}

.l-footer,
.w-beforeFooter {
  background-color: rgba(0, 0, 0, 0.6);
}

.p-profileBox__iconImg {
  border: 1px solid #555;
  height: 60px;
  width: 60px;
}

/* .post_content iframe {
  max-width: 50%;
}

.wp-has-aspect-ratio iframe {
  height: auto;
} */


@media (min-width: 600px) {
  .c-pageTitle,
  .c-postTitle__ttl {
    font-size: 36px;
  }
}

/* =============================================
   トップページテスト用スタイル
   ============================================= */

.top-test .l-mainContent__inner {
  max-width: 640px;
  margin: 3em auto;
  padding: 0 1em;
}

.top-latest__label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.8em;
}

.top-latest__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.top-latest__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.top-latest__meta {
  padding: 0.8em 0;
}

.top-latest__date {
  font-size: 12px;
  color: #aaa;
  display: block;
  margin-bottom: 0.3em;
}

.top-latest__title {
  font-size: 18px;
  font-weight: normal;
  margin: 0;
}

.top-list-cta {
  margin-top: 2.5em;
  text-align: center;
}

.top-list-cta__btn {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  padding: 0.7em 2.5em;
  font-size: 14px;
  letter-spacing: 1px;
  transition: background-color 0.2s, color 0.2s;
}

.top-list-cta__btn:hover {
  background-color: #fff;
  color: #000;
}

/* ============================================= */

@media (max-width: 599px) {
  .swell-block-fullWide.has-bg-img {
    background-position: 50% 100%;
    background-size: 200% auto;
  }
  .main-image {
    max-width: 100%;
  }
  .top-list ul li {
    margin-bottom: 1em !important;
  }

  .lum-lightbox-inner img {
    max-height: none !important;
    max-width: 180vw !important;
  }
  article.l-mainContent__inner .post_content > .wp-block-image img {
    max-width: 100%;
    width: 100%;
  }
  /* メインビジュアル背景の位置 */
  .p-mainVisual__img.u-obf-cover {
    object-position: 50% 100%;
  }
  .-type-big .p-postList__body,
  .-type-card .p-postList__body {
    padding-top: 0.5em;
  }
  
  .btn_rand {
    position: fixed;
    bottom: 10%;
    left: 0;
    width: 50px;
    background-color: #d63830;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    font-size: 8px;
    line-height: 1;
    text-align: center;
    z-index: 9999;
  }
  .btn_rand img {
    width: 35px;
    display: block;
    vertical-align: top;
  }

  .sp-footer-btns {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
  }
  .sp-footer-btns ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sp-footer-btns ul li a img {
    width: 25px;
    display: block;
    margin: auto;
  }
  .sp-footer-btns ul li {
    width: calc(100% / 3);
  }
  .sp-footer-btns ul li a {
    display: block;
    width: 100%;
    padding: 5px;
    padding-top: 10px;
    border-right: 1px solid #555;
    text-align: center;
    text-decoration: none;
    color: #ccc;
    font-size: 10px;
    list-style: 1;
  }
  .sp-footer-btns ul li:last-child a {
    border: 0;
  }

  .p-fixBtnWrap {
    bottom: calc( 1.25em + 56px );
  }

  .l-footer__foot {
    padding-bottom: calc( 1em + 56px);
  }
}

/* -----------------------------------------------
   記事スライダー NEW枠
----------------------------------------------- */
.p-postSlider .is-new a {
  border: 5px solid #eeff07;
}

/* -----------------------------------------------
   記事スライダー 日付バッジ
----------------------------------------------- */
.p-postSlider .p-postList__link {
  position: relative;
}
.c-dateBadge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #ffe566 0%, #d4a000 50%, #a87800 100%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding: 0.6em 1em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}
