@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
*/


/* =========================================================
#共通部分
========================================================= */
/* セクションサブタイトル */
.post_content .is-style-section_ttl.section_subttl_top small {
    font-size: 100px;
    color: #388d5d;
    opacity: 0.2;
    position: absolute;
    top: -76px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    font-family: "Georgia", serif;
}
@media screen and (max-width: 599px) {
  .post_content .is-style-section_ttl.section_subttl_top small {
    font-size: 50px;
    top: -35px;
  }
}

/* トップへ戻るボタン */
.c-fixBtn {
  background: #ffeb3b;
}

/* サイドCTAボタン */
.follow-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    background-color: var(--color_main);
    color: #fff;
    padding: 20px 10px;
    border-radius: 10px 0 0 10px;
    writing-mode: vertical-rl;
    text-align: center;
    letter-spacing: 0.05em;
}
.follow-banner a {
  color: #fff;
  font-weight: 700;
  transition: opacity 0.25s;
}
.follow-banner a:hover {
  opacity: 0.7;
}
.follow-banner .swl-inline-icon::after {
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 599px) {
  .follow-banner {
    display: none;
  }
}


.loop-slider {
    display: flex;
    overflow: hidden;
    gap: 1rem;
}
.loop-slider .wp-block-group__inner-container,
.loop-slider .swell-block-columns {
    display: contents;
}
.loop-slider .swell-block-columns__inner {
    flex-wrap: nowrap;
    animation: infinity-scroll-left 70s infinite linear;
}
.loop-slider .swell-block-column figure {
    width: 450px;
    position: relative;
}
.loop-slider .swell-block-column figure::before {
    padding-top: 65%;
    display: block;
    content: "";
}
.loop-slider .swell-block-column figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}
@media screen and (max-width: 959px) {
    .loop-slider .swell-block-column figure {
        width: 200px;
    }
}
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* =========================================================
#トップページ
========================================================= */
/* ===== ヘッダー ===== */
#header #gnav .menu-item .ttl,
.c-gnav>.menu-item>a .ttl{
	font-size : 15px;
	font-weight: 600;
	letter-spacing: 0.05em;
}
.w-header__inner {
  width: 73%;
  display: flex;
  justify-content: end;
}
.header-tel {
  white-space: nowrap;
}
@media (min-width: 960px) {
.-parallel .l-header__logo {
width: 20%;
}
.l-header.-parallel .w-header {
width: 80%;
}
}

/* ===== FV ===== */
.p-mainVisual__slideTitle {
    font-size: 76px;
    font-weight: 600;
    font-family: "Times New Roman", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "MS Mincho", serif;
}
.p-mainVisual__slideText {
    font-size: 24px;
    margin-top: 50px;
}
@media (max-width: 781px) {
  .p-mainVisual__slideTitle {
      font-size: 36px;
      font-weight: 600;
  }
  .p-mainVisual__slideText {
      font-size: 16px;
      margin-top: 10px;
  }
}
.p-mainVisual__textLayer {
  text-align: left;
}

/* ===== 新着情報 ===== */
.home .l-content{
  padding-top: 0!important;
}

/* ===== 実績紹介（スライダー） ===== */
.slider1 {
  display: flex;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height:200px;
  overflow: hidden;
}
.slider1 ul{
	display:flex;
	padding: 0;
	margin:0;
  list-style: none;
}
.slider1 li{
  aspect-ratio: 296/230;
}
.slider1 li img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider1 ul:first-child {
  animation: slide1 150s -75s linear infinite;
}

.slider1 ul:last-child {
  animation: slide2 150s linear infinite;
}
@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
/*スライダー作成2*/
.slider-right {
  display: flex;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height: 200px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 60px;
}
.slider-right ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}
.slider-right li {
  aspect-ratio: 296/230;
}
.slider-right li img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-right ul:first-child {
  animation: slide-right1 150s -75s linear infinite;
}
.slider-right ul:last-child {
  animation: slide-right2 150s linear infinite;
}
@keyframes slide-right1 {
  0% {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes slide-right2 {
  0% {
    transform: translateX(-200%);
  }
  to {
    transform: translateX(0%);
  }
}

/* 会社情報 */
tbody tr:nth-child(even) {
  background-color: #f0f0f0;
}

/* アルファラインが選ばれる理由 */
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  background: #388d5d;
}
.top-feature {
    background: linear-gradient(-225deg, transparent 0, transparent 50%, #ffeb3b 50%, #ffeb3b 100%);
}

/* 事業内容 */
.service-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 900px) {
  .service-container {
    grid-template-columns: 1fr 1fr;
  }
}
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.show {
  opacity: 1;
  transform: translateX(0);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.service-card.warm .overlay {
  background: rgba(164, 72, 47, 0.7);
}
.service-card.cool .overlay {
  background: rgba(31, 59, 100, 0.7);
}
.card-content {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
}
.card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.card-text {
  font-size: 14px;
  line-height: 1.5;
}
.service-text .service-label {
  font-size: 100px;
  font-family: "Georgia", serif;
  color: #fff;
  opacity: 0.2;
  font-weight: bold;
}
@media screen and (max-width: 599px) {
  .service-text .service-label {
    font-size: 60px;
  }
}
.service-text .service-heading {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 64px;
  padding-left: 25px;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 599px) {
  .service-text .service-heading {
    top: 32px;
    padding-left: 18px;
    font-size: 24px;
  }
}
.service-text .service-sub {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  color: #fff;
}
.service-text .service-desc {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
}
.service-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  width: 100%;
  padding: 12px 20px;
  color: #333;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  position: relative;
  transition: all 0.3s ease;
}
.service-btn::before,
.service-btn::after {
  position: absolute;
  top: 50%;
  right: 30px;
  height: 1px;
  background: #333;
  content: '';
  transition: transform 0.3s ease;
}
.service-btn::before {
  width: 30px;
  transform: translateY(-50%);
}
.service-btn::after {
  width: 11px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}
.service-btn:hover::before {
  transform: translateY(-50%) translateX(5px);
}
.service-btn:hover::after {
  transform: translateY(-50%) translateX(5px) rotate(45deg);
}
.innovation-banner {
  background: #f7f7f7;
  padding: 1.2em;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border: 3px solid #b8860b;
}
.innovation-banner span {
  color: #b8860b;
}

/* アイテム一覧 */
.item-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 599px) {
  .item-top {
      grid-template-columns: repeat(1, 1fr);
  }
}
.item-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  aspect-ratio: 296/200;
    opacity: 0;
  transform: translateY(40px); /* 下からふわっと */
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.item-card.show {
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 599px) {
  .item-card {
    aspect-ratio: 296/140;
  }
}
.item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease;
}
.item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease;
  border-radius: 16px;
}
.item-card:hover::after {
  background: rgba(0, 0, 0, 0);
}
.item-card:hover img {
  transform: scale(1.05);
}
.item-text{
  transition: letter-spacing .3s ease;
}
.item-card:hover .item-text{
  letter-spacing: 0.1em;
}
.item-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.05em;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 1;
  pointer-events: none;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 599px) {
  .item-text {
    font-size: 20px;
  }
}
.top-product-list {
  background: linear-gradient(225deg, transparent 0, transparent 50%, #ffeb3b 50%, #ffeb3b 100%);
}

/* ===== 会社紹介 & お問い合わせ ===== */
.wp-block-columns {
  gap: 0!important;
}

/* ===== Footer ===== */
.l-footer {
  background: #388d5d;
  color: #fff;
}
.u-fz-14,
.u-fz-16{
  font-size: 26px;
}
.w-footer {
  border-bottom: 1px solid #e5e5e5;
}
.footer-text-decoration {
  position: relative;
  padding-left: 14px;
}
.footer-text-decoration::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
@media screen and (max-width: 599px) {
  .wp-block-columns .wp-block-column {
    margin-top: 1em!important;
  }
}

/* =========================================================
#下層ページ共通
========================================================= */
.c-pageTitle {
    text-align: center;
    font-size: 38px;
    letter-spacing: 0.05em;
  }
@media (max-width: 599px) {
.c-pageTitle {
  font-size: 22px;
}
}

/* =========================================================
#アルファラインについてページ
========================================================= */
/* ===== Company Profile ===== */
.company-profile {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
}
.company-profile__title {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  margin: 0 0 20px;
  color: #222;
  letter-spacing: .04em;
}
.company-profile__list {
  margin: 0;
  padding: 0;
}
.company-profile__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #e6e8eb;
}
.company-profile__row:first-child {
  border-top: 1px solid #e6e8eb;
}
.company-profile__row dt {
  margin: 0;
  color: #111827;
  font-weight: 700;
  letter-spacing: .02em;
}
.company-profile__row dd {
  margin: 0;
  color: #374151;
  line-height: 1.9;
  word-break: break-word;
}
@media (max-width: 768px) {
  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .company-profile__row dt {
    color: #388d5d;
    font-weight: 700;
  }
}

/* ========== ヒストリー ========== */
.chg-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 30px 0;
    overflow: hidden;
}
.chg-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.chg-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    padding: 0;
    color: #222;
}
.chg-grid {
    display: flex;
    flex-direction: column;
}
.chg-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
.chg-item--reverse {
    flex-direction: row-reverse;
}
.chg-image {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
}
.chg-image img {
    width: 100%;
    height: auto;
    display: block;
}
.chg-content {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-left: 5%;
    box-sizing: border-box;
}
.chg-item--reverse .chg-content {
    margin-left: 0;
    margin-right: 5%;
}
.chg-content__year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    z-index: 1;
    line-height: 1;
    user-select: none;
}
.chg-content__text {
    position: relative;
    z-index: 2;
}
.chg-content__title {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #388D5D;
}
@media (max-width: 768px) {
    .chg-item,
    .chg-item--reverse {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    .chg-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .chg-content {
        flex: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 30px;
    }
    .chg-content__year {
        font-size: 5rem;
    }
    .chg-content__title {
        font-size: 1.5rem;
    }
}

/* =========================================================
#事業内容ページ
========================================================= */
.wp-block-media-text__content:nth-child(odd) {
  padding-left: 50px;
}
.wp-block-media-text__content:nth-child(even) {
  padding-right: 50px;
}
/* =========================================================
#ご利用の流れページ
========================================================= */
.flow-ttl {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 24px;
  color: #222;
}
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.flow-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 40px 0;
}
.flow-item:last-child {
  border-bottom: 1px solid #e5e7eb;
}
/* 大きな番号 */
.flow-num {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 96px);
  color: #388d5d;
  white-space: nowrap;
  line-height: 0.5;
}
.flow-h {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 10px;
}
.flow-p {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.9;
  color: #374151;
  margin: 0;
}

/* スマホ（〜767px）で縦並びに */
@media (max-width: 767px) {
  .flow-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .flow-num {
    font-size: 64px;
  }
}
/* =========================================================
#よくあるご質問ページ
========================================================= */
  .qa-container {
      max-width: 800px;
      margin: 0 auto;
  }
  .qa-item {
      margin-bottom: 60px;
  }
  .qa-box {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
  }
  .qa-label {
      font-size: 48px;
      font-weight: bold;
      line-height: 1;
      margin-right: 15px;
  }
  .qa-label.q {
      color: #388D5D;
  }
  .qa-label.a {
      color: #FFEB3B;
  }
  .qa-text {
      font-size: 16px;
      line-height: 1.7;
      padding-top: 8px;
  }
  .qa-text--question {
    font-size: 22px;
    font-weight: 600;
    padding-top: 5px;
    color: #388D5D;
  }


/* =========================================================
#お問い合わせページ
========================================================= */
.contact-form-container .form-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}
.contact-form-container .form-group {
    margin-bottom: 20px;
}
.contact-form-container label {
    display: block;
    font-weight: 700;
    color: #444;
    font-size: 16px;
}
.contact-form-container .required {
    background-color: #db0000;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 8px;
    vertical-align: middle;
}
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: #388D5D;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}
.contact-form-container .wpcf7-submit {
    background-color: #388D5D;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
}
.contact-form-container .wpcf7-submit:hover {
    background-color: #296744;
}
.form-agreement {
  text-align: center;
  margin-bottom: 20px;
}

/* =========================================================
#実績紹介ページ
========================================================= */
.archive-title {
  font-size: 40px;
  margin-bottom: 40px;
}
.p-worksArchive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-worksItem {
  position: relative;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.p-worksItem:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}
.p-worksItem__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.p-worksItem__thumbInner {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.p-worksItem__thumbInner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ベース */
.works-category-label{
  position:absolute;
  top: 0;
  left: 0;
  background:#555;
  color:#fff;
  font-size:14px;
  font-weight:700;
  padding: 5px 12px;
  line-height:1;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.works-category-label--rhinestones       { background:#2aa198; } /* ラインストーン：ティール */
.works-category-label--welder            { background:#cb4b16; } /* ウェルダー：オレンジ */
.works-category-label--transfer-printing { background:#268bd2; } /* 転写：ブルー */
.works-category-label--embroidery        { background:#6c71c4; } /* 刺繍：パープル */
.works-category-label--printing          { background:#859900; } /* プリント加工：グリーン */
.works-category-label--puffy-stickers    { background:#d33682; } /* ぷにぷにステッカー：ピンク */

.p-worksItem__title {
  font-size: 16px;
  margin: 12px;
}
.p-worksItem__date {
  display: block;
  font-size: 12px;
  margin: 0 12px 12px;
  color: #666;
}


/* --- カテゴリタブ --- */
.p-worksTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.p-worksTabs__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  background: #f1f3f5;
  color: #333;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 7px;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.p-worksTabs__btn.is-active {
  background: #388D5D;
  color: #fff;
}

/* ページネーション */
nav.navigation.pagination .nav-links{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:50px;
}
nav.navigation.pagination .page-numbers{
  padding:3px 7px;
  border-radius:8px;
  background:#f1f3f5;
  color:#333;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}
/* 現在ページ */
nav.navigation.pagination .page-numbers.current{
  background:#2f855a;
  color:#fff;
  font-weight:700;
}
/* ホバー */
nav.navigation.pagination a.page-numbers:hover{
  background:#e9ecef;
}
/* 「次へ」「前へ」も同じ見た目に */
nav.navigation.pagination .next,
nav.navigation.pagination .prev{
  min-width:3.2rem;
}


/* =========================================================
#アイテム一覧ページ
========================================================= */
        .category-grid-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        .category-section {
            background-color: #fff;
            border: 1px solid #eee;
        }
        .category-header {
            background-color: #388D5D;
            transition: all 0.3s ease;
            padding: 5px 0;
        }
        .item-grid {
            list-style: none;
            padding: 0 15px;
            margin: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0 20px;
        }
        .item-grid li {
            border-bottom: 1px solid #f0f0f0;
        }
        .item-grid li:nth-child(odd) {
            border-right: 1px solid #f0f0f0;
            padding-right: 20px;
        }
        .item-grid a {
            display: flex;
            align-items: center;
            padding: 12px 0;
            text-decoration: none;
            color: #333;
            transition: background-color 0.2s;
        }
        .item-grid a:hover {
            background-color: #f5f5f5;
        }
        .item-grid img {
            width: 50px;
            height: 50px;
            margin-right: 7px;
        }
        .badge {
            background-color: #e54b68;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 8px;
            font-weight: bold;
        }
        @media (max-width: 768px) {
            .category-grid-container {
                grid-template-columns: 1fr;
            }
            .item-grid {
                grid-template-columns: 1fr;
            }
            .item-grid li:nth-child(odd) {
                border-right: none;
                padding-right: 0;
            }
        }


/* サイドバーメニュー */
#fixed-sidebar-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    background-color: #000;
    color: #fff;
    padding: 1em .5em;
    border-radius: 10px 0 0 10px;
    writing-mode: vertical-rl;  /* 縦書きモード */
    text-align: center;
}
#fixed-sidebar-menu .swl-inline-icon {
    width: 15px;
    height: 24px;
    margin-bottom: 2px;
}
#fixed-sidebar-menu a {
    color: #fff;
}
.w-beforeFooter {
	margin-top:0!important;
	overflow: visible;
}