@charset "UTF-8";

.post-single {
  padding: 22px 18px 40px
}

.page-title {
  margin: 0 0 30px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #2f2f2f
}

.post-single__card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 35px 15px 40px
}

.post-single__date {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px
}

.post-single__title {
  margin: 0 0 24px;
  padding: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  border-bottom: 1px solid #EDEDED
}

.post-single__thumb {
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
  margin: 0 0 12px
}

.post-single__img {
  width: 100%;
  height: auto;
  display: block
}

.post-single__content {
  font-size: 12px;
  line-height: 1.9;
  color: #333
}

.post-single__content p {
  margin: 0 0 16px;
  font-size: 1.5rem
}

.post-single__content p:last-child {
  margin-bottom: 0
}

.post-single__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px
}

.post-single__content ul,
.post-single__content ol {
  margin: 0 0 12px;
  padding-left: 1.2em
}

.post-single__content img {
  max-width: 100%;
  height: auto;
  display: block
}

.post-single__content {
  padding: 0;
  margin: 0 !important;
  margin-top: 38px !important
}

.post-single__content,
.post-single__content p {
  font-size: 1.3rem;
  line-height: calc(20 / 13);
  margin: .5em auto
}

.post-single__content img,
.post-single__content p img {
  width: auto;
  height: unset !important;
  margin: 1em auto
}

.post-single__content a,
.post-single__content p a {
  color: #0073aa;
  ;
  text-decoration: underline
}

.post-single__content a[href*="http"],
.post-single__content p a[href*="http"] {
  word-break: break-all;
  display: inline-block;
  max-width: 100%
}

.post-single__content a:hover,
.post-single__content p a:hover {
  text-decoration: none;
  opacity: 1
}

.post-single__content h1,
.post-single__content p h1 {
  font-size: 1.8rem;
  font-weight: 700
}

.post-single__content h2:not([align="left"]),
.post-single__content p h2:not([align="left"]) {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: calc(52 / 32);
  border-bottom: double 5px var(--mac-red);
  margin-block: 1.5em
}

.post-single__content h3,
.post-single__content p h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: calc(20 / 13);
  border-radius: 4px;
  background: rgba(216, 0, 20, .1);
  border: none;
  padding: 1.4rem 1.5rem 1.2rem;
  margin-block: 1.3em
}

.post-single__content h4,
.post-single__content p h4 {
  font-size: 13px;
  font-weight: 700;
  padding-left: 1rem;
  padding-block: .3em;
  border-left: 4px solid var(--mac-red);
  margin-block: 1.3em
}

.post-single__content h5,
.post-single__content p h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--mac-red);
  margin-block: 1.3em
}

.post-single__content h6,
.post-single__content p h6 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-block: 1.3em
}

.post-single__content strong,
.post-single__content b {
  font-weight: 700
}

.post-single__content em,
.post-single__content i {
  font-style: italic
}

.post-single__content u {
  text-decoration: underline
}

.post-single__content s,
.post-single__content strike,
.post-single__content del {
  text-decoration: line-through
}

.post-single__content sub {
  vertical-align: sub;
  font-size: smaller
}

.post-single__content sup {
  vertical-align: super;
  font-size: smaller
}

.post-single__content ul,
.post-single__content ol {
  padding-left: 30px;
  margin: 1em 0 1.5rem
}

.post-single__content ul:not([style*="list-style-type:"]) {
  list-style-type: disc
}

.post-single__content ol:not([style*="list-style-type:"]) {
  list-style-type: decimal
}

.post-single__content ul li,
.post-single__content ol li {
  list-style-type: inherit
}

.post-single__content blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 4px solid #999;
  background-color: rgba(255, 255, 255, .3);
  font-style: italic
}

.post-single__content code {
  background-color: rgba(255, 255, 255, .3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: .9em;
  border: none !important
}

.post-single__content pre {
  background-color: rgba(255, 255, 255, .3);
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  white-space: pre-wrap;
  border: none
}

.post-single__content pre code {
  background: none;
  padding: 0
}

.post-single__content a {
  color: #0073aa;
  text-decoration: underline;
  line-height: 1.5
}

.post-single__content a:hover {
  text-decoration: none
}

.post-single__content a:has(img) {
  display: block
}

.post-single__content a:has(img.aligncenter),
.post-single__content p:has(img.aligncenter) {
  text-align: center
}

.post-single__content a:has(img.alignleft),
.post-single__content p:has(img.alignleft) {
  text-align: left
}

.post-single__content a:has(img.alignright),
.post-single__content p:has(img.alignright) {
  text-align: right
}

.post-single__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0
}

.post-single__content table th,
.post-single__content table td {
  border: 1px solid #333;
  padding: 12px;
  text-align: left;
  line-height: 1.5
}

.post-single__content table th {
  background-color: rgba(255, 255, 255, .3);
  font-weight: 700
}

.post-single__content table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, .3)
}

.post-single__content img {
  max-width: 100%;
  width: auto;
  height: auto
}

.post-single__content hr {
  border: none;
  border-top: 2px solid #333;
  margin: 30px 0
}

.post-single__content .nbsp-placeholder::before {
  content: '\00a0'
}

.post-single__content .wp-block-quote {
  border-left: 4px solid #333;
  margin: 20px 0;
  padding-left: 20px;
  font-style: italic
}

.post-single__content p+p {
  margin-top: .5em
}

.post-single__content h2+h2 {
  margin-top: 0 !important
}

h2>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22rem;
  padding: 14px 32px;
  border-radius: 9999px;
  background-color: var(--mac-red);
  text-decoration: none !important
}

h2>a span {
  color: #fff
}

h2[align="left"] {
  text-align: center
}

.km-imp__link,
.km-imp__link:link,
.km-imp__link:visited,
.km-imp__link:hover,
.km-imp__link:active {

  text-decoration: none;  
  color: inherit;         
}


.km-imp__list {
  list-style: none;
  padding: 10px !important;
  
}

.km-imp__item {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  flex-wrap: wrap;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.km-imp__info {
  flex: 1 1 auto;
  align-items: center;
  min-width: 200px;
  width: 50%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.km-imp__info a.km-imp__link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}

.km-imp__info p {
  margin: 4px 0;
  min-width: 0;
  color: #6b6b6b;
  overflow-wrap: break-word;
  word-break: break-word;
}

.km-imp__name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px 0;
}

.km-imp__name::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #e60000;
}

.km-imp__buttons {
  display: flex;
  gap: 13px;
  flex-wrap: nowrap;
  width: auto;
  align-items: center; 
  margin: 0;
}

.km-imp__buttons a {
  text-decoration: none;
}

.km-imp__btn {
  width: 100px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e60000;
  border: 2px solid #e60000;
  border-radius: 16px;
  font-weight: bold;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
}

.km-imp__btn:hover {
  background-color: rgba(255, 155, 155, 0.1);
  transition: background-color 0.3s ease;
}

.km-imp__btn br {
  line-height: 1.2;
}
/*コラボボタン*/
@media (max-width: 540px) {
  .campaign-shop-card {
    display: flex;
  }
  .campaign-shop-card__info {
    padding: 14px;
  }
  .campaign-shop-card__name {
    font-size: 1.5rem;
  }
  .campaign-shop-card__text {
    font-size: 1.3rem;
  }
  .campaign-shop-card__reserve {
    flex: 0 0 84px;
    width: 84px;
    padding: 10px 8px;
  }
  .campaign-shop-card__reserve-image {
    width: 42px;
  }
}
@media (max-width:540px) {
  .preferential-flex {
    gap: 0 !important;
    flex-direction: column;
    align-items: stretch !important;
  }

  .km-imp__link {
    flex-direction: column;
    align-items: stretch;
  }

  .km-imp__item {
  margin-bottom: 28px;
  }

  .km-imp__info {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .km-imp__buttons {
    display: flex;
    flex-direction: column; 
    width: 100%;
    gap: 0px !important; 
    border-left: none;
  }

   .km-imp__buttons a {
    width: 100%;
  }

  .km-imp__btn {
    width: 100%;
    height: 48px;
    max-width: none;
  }
}
