@charset "utf-8";
/*
theme Name: AIKIT
Author: 作者名を記入します。
Description: テーマの説明を記入します。
version： 1.0.0
*/

html {
  touch-action: manipulation
}

* {
  box-sizing: border-box
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
abbr,
address,
cite,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ul,
ol,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
a {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  text-decoration: none;
  background: transparent;
  box-sizing: border-box;
  color: #333;
  list-style: none;
  letter-spacing: .05rem
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
small {
  line-height: 2;
  letter-spacing: .05rem
}

pre {
  padding: 0;
  margin: 0;
  margin-top: 1rem
}

body {
  background: #fff;
  font-family: "Noto Sans JP"
}

a:hover {
  opacity: .7;
  transition-duration: .2s
}

.container {
  width: 1040px;
  margin: auto;
  padding: 0 15px;
}

.site-main {
  margin: 0 auto 4rem;
}

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

@media (max-width: 1040px) {
  .container {
    width: 100%;
  }
}

/* header */

.site-header {
  height: 70px;
  border-bottom: 1px solid #e6e6e6;
  margin: 0 0 24px 0;
}

.site-logo a img {
  width: 100px;
}

.navigation ul li {
  margin: 0 8px 0 0;
}

.navigation ul li a {
  font-weight: bold;
  padding: 0 15px 0 0;
}

li.contact {
  border-radius: 8px;
  background: #41b9ae;
}

li.contact a {
  display: block;
  color: #FFF;
  text-align: center;
  padding: 4px 15px !important;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger__bar {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* モバイル時のみ表示 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 9999;
  }

  .navigation {
    display: none;
  }

  .navigation.open {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #41b9ae;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .navigation ul {
    flex-direction: column;
    padding: 1rem;
    position: absolute;
    height: 300px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }

  .navigation ul li {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    margin: 0 0 24px 0;
  }

  .navigation ul li a {
    color: #fff;
  }

  li.contact {
    background: none;
    border-radius: 0;
  }

  li.contact a {
    padding: 0 !important;
    text-align: left;
  }
}

/* PC時は横並び */
@media (min-width: 769px) {
  .navigation {
    max-height: none;
    position: static;
  }
}


/* Pickupすらいだー */

.pickup-slider {
  margin: 0 0 24px auto;
}

.swiper-slide {
  background: #fff;
  padding: .5rem 1rem;
  overflow: hidden;
  height: auto;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
  aspect-ratio: 16 / 9;
}

.swiper-slide h3 {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.swiper-wrapper-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: relative;
  margin: 0 0 60px;
}

.swiper-wrapper-area h2 {
  display: flex;
  justify-content: center;
  width: 15%;
  padding: 0 15px;
  border-right: 1px solid #333;
}

.swiper-wrapper-area h2 img {
  width: 80%;
}

.swiper-controls-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #41b9ae;
  font-size: 24px;
  width: 48px;
  height: 48px;
  position: static !important;
  /* Swiperの自動位置指定を上書き */
  transform: none !important;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.swiper-button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #41b9ae;
  font-size: 14px;
  width: 48px;
  height: 48px;
  position: static !important;
  /* Swiperの自動位置指定を上書き */
  transform: none !important;
  margin: 0;
  padding: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  width: 48px;
  height: 48px;
  position: static;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}

/* nextボタン（→）のテキストをカスタマイズ */
.swiper-button-next::after {
  content: '';
  font-size: 24px;
  color: #fff;
  background-image: url(./images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  transform: rotate(270deg);
}

/* prevボタン（←）のテキストをカスタマイズ */
.swiper-button-prev::after {
  content: '';
  font-size: 24px;
  color: #fff;
  background-image: url(./images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
}

/* モバイル（~767px）は縦並びに */
@media (max-width: 767px) {
  .swiper-wrapper-area h2 {
    border-bottom: 1px solid #333;
    border-right: none;
    width: 40%;
  }

  picture {
    text-align: center;
  }

  .swiper-wrapper-area {
    flex-direction: column;
    gap: 16px;
  }

  .swiper {
    width: 100%;
    margin: 0 auto;
  }

  .swiper-controls-vertical {
    flex-direction: row-reverse;
    justify-content: center;
    width: auto;
    gap: 8px;
  }

  .swiper-controls-vertical .swiper-button-next,
  .swiper-controls-vertical .swiper-button-prev,
  .swiper-controls-vertical .swiper-pagination {
    width: auto;
    flex: none;
    border: none;
    padding: 24px;
  }
}

/* --------------------------
Latest
 -------------------------- */
#latest {
  margin: 0 0 80px 0;
}

#latest h2 {
  padding: 0 0 24px 0;
  margin: 0 0 24px 0;
  border-bottom: 1px solid #e6e6e6;
}

#latest h2 img {
  width: 150px;
}

#latest h2 small {
  margin: 0 0 0 16px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 20px 0 80px 0;
}

.article-card {
  background: #fff;
  position: relative;
}

.article-thumbnail {
  margin: 0 0 8px 0;
}


.article-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: 1px solid #ddd;
}

.article-meta {
  display: flex;
  align-items: center;
}

.article-category {
  display: inline;
  font-size: 12px;
  padding: 2px 8px;
  color: #FFF;
  font-weight: bold;
  background: #41b9ae;
  border-radius: 2px;
}

.article-title {
  font-size: 1rem;
  margin: 4px 0 12px 0;
  font-weight: bold;
  line-height: 1.5;
  color: #333;
}

.article-title a {
  text-decoration: none;
  color: inherit;
}

.article-date {
  font-size: 14px;
  color: #545454;
  padding: 0 8px 0 0;
  margin: 0 8px 0 0;
  border-right: 1px solid #ddd;
}

.article-tags {
  font-size: 0.75rem;
  color: #666;
  margin-top: 4px;
}

@media (max-width: 1040px) {
  .article-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ---------------------
CTA image
----------------------- */
#cta-image {
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 80px;
}

#cta-image img {
  width: 100%;
  vertical-align: bottom;
}


/* ---------------------
Ranking
----------------------- */
#ranking {
  margin: 0 0 80px;
}

#ranking h2 {
  padding: 0 0 24px 0;
  margin: 0 0 24px 0;
  border-bottom: 1px solid #e6e6e6;
}

#ranking h2 img {
  width: 150px;
  vertical-align: bottom;
}

#ranking h2 small {
  margin: 0 0 0 16px;
}

.tab-buttons {
  margin: 0 0 24px 0;
}

.tab-btn {
  padding: 8px 16px;
  margin-right: 8px;
  background: #e1e1e1;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.tab-btn.active {
  background: #41b9ae;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ranking-card {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.ranking-meta {
  display: flex;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  border-left: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
}

.ranking-badge {
  background: #41b9ae;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  z-index: 1;
  font-size: 14px;
  width: 70px;
}

.ranking-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ranking-desc {
  padding: 4px 0;
}

.ranking-cat {
  font-size: 12px;
  color: #333;
  letter-spacing: 0.03rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.ranking-title {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 8px;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .ranking-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*----------------
 single.php 
----------------*/

.single-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1040px;
  margin: 0 auto 120px;
  padding: 0 15px;
  box-sizing: border-box;
}

.single-main {
  flex: 1 1 680px;
  max-width: 680px;
}

.single-sidebar {
  flex: 1 1 300px;
  max-width: 300px;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumb a {
  text-decoration: none;
  color: #41b9ae;
}

.breadcrumb span {
  color: #333;
}

.post-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.5;
}

span.post-date {
  padding: 0 12px 0 0;
  margin: 0 12px 0 0;
  border-right: 1px solid #ddd;
}

#category {
  margin: 0 0 80px 0;
}

#category h2 {
  padding: 0 0 24px 0;
  margin: 0 0 24px 0;
  border-bottom: 1px solid #e6e6e6;
}

#category h2 img {
  width: 150px;
  vertical-align: bottom;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.category-list li {
  display: grid;
  gap: 20px;
}

ul.category-list li a {
  padding: 0 16px;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
}

span.post-category a {
  border: 1px solid;
  padding: 4px 8px;
  border-radius: 4px;
  background: #41b9ae;
  color: #FFF;
  margin: 0 8px 0 0;
}

span.post-tags a {
  background: #ececec;
  padding: 4px 8px;
  margin: 0 8px 0 0;
  border-radius: 4px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  color: #777;
  margin-bottom: 3rem;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e1e1e1;
  font-size: 14px;
}

.single-post {
  position: relative;
}

@media (max-width: 1040px) {
  .post-title {
    font-size: 24px;
  }
}

/* -------------
sidebar
-------------- */

#sidebar h2 {
  border-bottom: 1px solid #333;
}

#sidebar h2 img {
  width: 110px;
}

.aside-ranking-label {
  font-size: 20px;
  color: #41b9ae;
  font-weight: bold;
  letter-spacing: 1px;
}

.aside-ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-ranking-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  min-height: 100px;
}

.aside-ranking-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.aside-ranking-thumbnail-wrap {
  position: relative;
  flex-shrink: 0;
  border-left: 1px solid #ddd;
  padding: 0 0 0 8px;
}

.aside-ranking-thumbnail {
  display: flex;
}

.aside-ranking-number-badge {
  color: #333;
  font-weight: bold;
  font-size: 12px;
  padding: 4px 8px;
  z-index: 2;
}

.aside-ranking-thumbnail img {
  width: 80px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.aside-ranking-content {
  flex-grow: 1;
}

.aside-ranking-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
}

.aside-ranking-cat {
  font-size: 12px;
  color: #999;
}

@media (max-width:1040px) {
  #sidebar h2 {
    margin: 0 0 1rem 0;
  }

  .single-sidebar {
    max-width: 100%;
  }
}


/* -------------
目次
------------- */
.outline {
  width: 100%;
  padding: 20px 10px 35px;
  margin: 20px 0;
  display: inline-block;
  border-radius: 3px;
  font-size: 0.9em;
  line-height: 1.5em;
  background: #F3F3F2;
}

.outline-wrap {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 26px;
}

ul.outline__list.outline__list-2 {
  counter-reset: hl_count;
}

.outline__list-3 .outline__item::before {
  background: #9e9e9e;
}

.outline__item:before {
  content: normal;
}

.outline__link {
  color: #4da6ff;
  font-weight: bold;
}

.outline__number {
  display: inline-block;
  color: #7F7F7F;
  background: #F2F2F2;
  padding: 3px 6px;
  font-weight: 400;
  font-size: 1.2rem;
  margin-right: 5px;
}

li.outline__item:before {
  padding: 1px 8px;
  background: #333;
  border-radius: 13%;
  color: #FFF;
}

li.outline__item {
  width: 80%;
  margin: 15px auto;
}

ul.outline__list.outline__list-2 li {
  list-style: decimal;
  font-weight: bold;
}

ul.outline__list.outline__list-3 li {
  margin-left: 15px;
  list-style: disc;
  color: #bcbcbc;
  font-weight: 500;
}

ul.outline__list.outline__list-3 li a {
  color: #4da6ff;
  font-weight: 100;
  text-decoration: none;
}

@media screen and (max-width: 480px) {
  li.outline__item {
    margin-left: 30px;
    width: 95%;
    line-height: 1.7;
  }
}

/* -------------
articleコンポーネント
------------- */

.wp-heading {
  margin: 1.5em 0 1em;
  line-height: 1.4;
}

.heading-h2 {
  font-size: 1.75rem;
  font-weight: 700;
  border-left: 5px solid #41b9ae;
  padding-left: 12px;
  color: #333;
}

.heading-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid #41b9ae;
  padding-bottom: 6px;
  color: #444;
}

.heading-h4 {
  font-size: 1.25rem;
  font-weight: 500;
  position: relative;
  padding-left: 14px;
}

.heading-h4::before {
  content: \"■\";
  color: #41b9ae;
  position: absolute;
  left: 0;
}

.heading-h5 {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  border-left: 3px dotted #ccc;
  padding-left: 10px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .heading-h2 {
    font-size: 1.5rem;
  }

  .heading-h3 {
    font-size: 1.25rem;
  }

  .heading-h4 {
    font-size: 1.1rem;
  }

  .heading-h5 {
    font-size: 0.95rem;
  }
}

blockquote.quote-box {
  background: #f1f3f4;
  position: relative;
  padding: 2rem 2rem 3rem;
  margin-top: 40px;
}

blockquote.quote-box p {
  font-size: 14px;
}

blockquote.quote-box cite {
  position: absolute;
  font-size: 12px;
  bottom: 1rem;
  right: 2rem;
}

blockquote.quote-box cite a {
  color: #1768fe;
}

@media (max-width: 1040px) {
  blockquote.quote-box cite {
    text-align: right;
  }
}

span.icon-quotes-left {
  background-image: url(./images/quote.svg);
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  display: flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  top: -.5rem;
  left: -.5rem;
  color: #FFF;
  background-color: #333;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  blockquote.quote-box cite {
    position: relative;
    font-size: 12px;
    left: 0;
    bottom: -1rem;
  }
}


/* -----------------
タグアーカイブ
------------------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* カード間の余白 */
  margin-bottom: 2rem;
}


h1.archive-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 40px 0;
}

.posts-grid article {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.posts-grid .post-thumbnail {
  width: 100%;
  overflow: hidden;
}

.posts-grid .post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

.posts-grid .entry-header .entry-title {
  font-size: 16px;
  margin: 0 0 0.5rem;
}

.posts-grid .entry-summary {
  flex-grow: 1;
  color: #666;
  font-size: 0.95rem;
}

.pagination {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------
footer.php
---------------- */

footer#footer {
  width: 100%;
  background: #333;
  padding: 2rem 0;
}

.copyright p {
  text-align: center;
  font-size: 12px;
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 16px;
  margin: 0 auto 40px;
}

.footer-content-box h4 {
  color: #fff;
}

.footer-content-box {
  border-left: 1px solid #FFF;
  padding: 0 0 0 16px;
}

.footer-nav__list {
  padding: 0 0 0 16px;
}

.footer-nav__list li {
  color: #fff;
  list-style-type: "- ";
}

.footer-nav__list li a {
  color: #fff;
  font-size: 14px;
}

/* ----------------
プライバシーポリシー
---------------- */

.privacy-policy {
  width: 980px;
  margin: auto;
  padding: 0 4rem;
}

header.entry-header h1 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 40px 0;
}



/* ----------------
ホワイトペーパー
---------------- */
.whitepaper-archive h1 {
  text-align: center;
}

.whitepaper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.whitepaper-grid .card {
  overflow: hidden;
  position: relative;
}

.whitepaper-grid .card img {
  width: 100%;
  height: auto;
}

.whitepaper-grid .card h2 {
  font-size: 16px;
  line-height: 1.5;
}

span.pdf {
  position: absolute;
  top: 0;
  display: block;
  background: #ff5c5c;
  color: #FFF;
  font-size: 14px;
  padding: 4px;
  font-weight: bold;
  letter-spacing: 0.05rem;
  border-bottom-right-radius: 4px;
}

/* ダウンロードページ */
.download-page form {
  max-width: 300px;
  margin-top: 1rem;
}

.download-page .error {
  color: red;
}

.download-page .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* レスポンシブ */
@media (max-width:768px) {
  .whitepaper-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:480px) {
  .whitepaper-grid {
    grid-template-columns: 1fr;
  }
}


/* ----------------
ブログリスト
---------------- */
.blog-list-link {
  display: flex;
  justify-content: center;
}

.blog-list-link a {
  padding: 16px 48px;
  border: 1px solid #ddd;
  position: relative;
  border-radius: 8px;
}

.blog-list-link a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  margin: auto;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}

/* ----------------
ツールリスト
---------------- */

h2.tool-category {
  font-size: 24px;
  border-bottom: 1px solid #ddd;
  margin: 0 0 24px;
}

/* ----------------
SNS
---------------- */
.sns-icons {
  display: grid;
  gap: 24px;
}

ul.sns-icons li a img {
  width: 30px;
  vertical-align: middle;
}

.sticky-sns {
  position: absolute;
  /* 親要素の文脈内で絶対配置 */
  top: 0;
  /* 初期は親要素の上端に */
  left: -80px;
  /* 右寄せなど、お好みで */
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sticky-sns h4 {
  margin: 0 0 24px;
  writing-mode: sideways-rl;
}

.sns-share-sp {
  display: none;
}


@media (max-width: 1040px) {
  .sticky-sns.sp-none {
    display: none;
  }

  .sns-icons {
    grid-template-columns: repeat(5, 1fr);
  }

  .sns-share-sp h4 {
    padding: 0 1rem 0 0;
    margin: 0 1rem 0 0;
    border-right: 1px solid #ddd;
  }

  .sns-share-sp {
    display: flex;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    margin: 0 0 2rem 0;
  }
}

.post-content p {
  margin: 0 0 1rem 0;
}

.post-content>h2 {
  background: #41b9ae;
  padding: .5rem 1rem .5rem 1.5rem;
  font-size: 24px;
  color: #FFF;
  border-radius: 4px;
  margin: 3rem 0 2rem 0;
}

.post-content h3 {
  font-size: 18px;
  border-bottom: 1px solid #41b9ae;
  padding: 0 0 .5rem 0;
  margin: 3rem 0 1rem 0;
}

.post-content>h4 {
  border-left: 4px solid #41b9ae;
  padding: 0 0 0 1rem;
  margin: 3rem 0 1rem 0;
}

/*----テーブルデザイン----*/
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 1rem 0;
}

table th {
  background: #f7f7f7;
}

table th,
table td {
  font-size: 14px;
  border: solid 1px #e1e1e1;
  padding: 10px;
}

.sm-scroll {
  overflow: auto;
  margin-top: 30px;
}

ul.dot-list,
ol.num-list {
  padding: 1rem 3rem;
  margin: 0 0 1rem 0;
  border: 1px dashed #ddd;
}

ul.check-list {
  margin: 0 0 2rem .5rem;
}

ul.dot-list li {
  list-style-type: disc;
  color: #2885e7;
}

ol.num-list li {
  list-style-type: decimal;
  color: #2885e7;
}

ul.check-list li {
  text-indent: -1.5rem;
  padding-left: 1rem;
  margin-top: 5px;
}

/*----引用ＢＯＸ----*/
blockquote.quote-box {
  background: #f1f3f4;
  position: relative;
  padding: 2rem 2rem 3rem;
  margin-top: 40px;
}

blockquote.quote-box p {
  font-size: 14px;
}

blockquote.quote-box cite {
  position: absolute;
  font-size: 12px;
  bottom: 1rem;
  right: 2rem;
}

span.marker-yellow {
  background-image: linear-gradient(30deg, #fff0c9 0%, #fff0c9 100%);
  background-size: 100% 7px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  font-weight: bold;
}

span.font-green {
  font-weight: bold;
  color: #559755;
}

span.font-red {
  font-weight: bold;
  color: #f95962;
}

/* author */
.post-author {
  border: 1px solid #ddd;
  padding: 1rem 2rem;
  margin: 3rem 0 1rem 0;
}

h4.profile-title {
  font-size: 14px;
  margin: 0 0 16px 0 !important;
  border-bottom: 1px solid #ddd;
  padding: 0 0 .5rem 0;
}

.profile-detail {
  display: flex;
  align-items: center;
}

.profile-detail img {
  border-radius: 50%;
  margin: 0 3rem 0 0;
}

.profile-desc p.profile-title {
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 .5rem 0;
}

.profile-desc p {
  font-size: 14px;
}

.confirm-item {
  display: flex;
}

.confirm-item p.confirm-title {
  font-weight: bold;
  margin: 0 1rem 0 0;
}

.confirm-send-wrap input {
  display: flex;
}

.confirm-send-wrap {
  display: flex;
  justify-content: center;
}

input.wpcf7-form-control.wpcf7-previous {
  font-weight: bold;
  width: 150px;
  border: 1px solid #ddd;
  background: #FFF;
  padding: 1rem 2rem;
  margin: 0 1rem 0 0;
  cursor: pointer;
  border-radius: 4px;
}

input.wpcf7-form-control.wpcf7-submit {
  font-weight: bold;
  width: 150px;
  background: #333;
  color: #FFF;
  padding: 1rem 2rem;
  border: 1px solid #333;
  cursor: pointer;
  border-radius: 4px;
}

.contact-wrap {
  width: 600px;
  margin: auto;
}

.confirm-item {
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.contact-wrap>.confirm-item:nth-last-of-type(2) {
  border: none;
  margin: 0 0 3rem 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 1rem 0;
}

.contact-item label {
  margin: 0 1rem 1rem 0;
  font-weight: bold;
}

input[type=text],
input[type=email] {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
}

.wpcf7-form-control-wrap {
  position: relative;
  width: 100%;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-form .wpcf7-list-item label {
  display: inline-block;
  padding: 8px 16px;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  color: #FFF;
  font-weight: 400;
}

/* 実際のラジオは隠す */
.wpcf7-form .wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wpcf7-form .wpcf7-list-item label:has(input:checked) span.wpcf7-list-item-label {
  color: #FFF;
}

.wpcf7-form .wpcf7-list-item label:has(input:checked) {
  background-color: #41b9ae;
  color: #FFF;
}

.contact-item.text-field textarea {
  width: 100%;
  border: 1px solid #ddd;
  resize: none;
  padding: 1rem;
  border-radius: 4px;
  background: #f9f9f9;
}

input.wpcf7-form-control.wpcf7-submit.confirm-send {
  font-weight: bold;
  background: #333;
  color: #FFF;
  padding: 1rem 2rem;
  border: 1px solid #333;
  cursor: pointer;
  width: 100%;
  border-radius: 4px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.confirm-send:hover {
  opacity: .7;
}

span.wpcf7-form-control.wpcf7-radio {
  display: flex;
  gap: 1rem;
}

@media (max-width:1040px) {
  .contact-wrap {
    width: 100%;
    padding: 0 15px
  }

  span.wpcf7-form-control.wpcf7-radio {
    flex-direction: column;
  }
}

span.require {
  font-size: 12px;
  margin: 0 0 0 .5rem;
  padding: 2px 6px;
  background: #f24747;
  border-radius: 4px;
  color: #FFF;
}

span.no-require {
  font-size: 12px;
  margin: 0 0 0 .5rem;
  padding: 2px 6px;
  background: #e1e1e1;
  border-radius: 4px;
  color: #333;
}

.cta-block {
  margin: 3rem 0 0;
}

pre.hljs-copy-wrapper {
  margin: 0 0 1rem 0;
}



/* 関連記事 */
.related-posts h3 {
  font-size: 24px;
  padding: 0 0 1rem 0;
  border-bottom: 1px solid #333;
  margin: 0 0 1rem 0;
}

.related-posts ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-thumb {
  margin: 0 0 8px 0;
}

.related-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  vertical-align: bottom;
}

.related-title {
	display: block;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

@media (max-width: 1040px) {
  .related-posts ul {
    grid-template-columns: repeat(1, 1fr);
  }
}

.base-cat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px
}

.base-cat-nav a {
  padding: .5rem 1rem;
  border: 1px solid #ddd;
  text-decoration: none;
  color: inherit
}

.base-cat-nav a.active {
  font-weight: 700;
  background: #41b9ae;
  border: none;
  color: #FFF;
}

.base-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr)
}

@media (max-width: 1024px) {
  .base-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width: 768px) {
  .base-grid {
    grid-template-columns: repeat(1, 1fr)
  }
}

.base-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: block;
  text-decoration: none;
  color: inherit
}

.base-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block
}

.base-card .meta {
  padding: 10px 12px
}

.base-card .title {
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px
}

.base-card .price {
  margin-top: 6px;
  font-weight: 700
}

/* ラッパー＋見出しラベル */
.ilink-wrap {
    margin: 3rem 0 16px 0;
    border: 1px solid #ddd;
    padding: 1rem 2rem .3rem;
    position: relative;
}

.ilink__label {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff5454;
  display: inline-flex;
  align-items: center;
  gap: .5em;
	margin: 0 0 1rem 0;
    position: absolute;
    top: -1rem;
    background: #FFF;
    padding: 0 1rem 0 2rem;
}

/* 既存カード */
.ilink {
  display: grid;
  gap: 12px;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.ilink__label::before {
    content: "";
    position: absolute;
    top: 10px;
    left: .8rem;
    width: 10px;
    height: 5px;
    border-left: 2px solid #ff5454;
    border-bottom: 2px solid #ff5454;
    transform: rotate(-45deg);
}

.ilink--card { grid-template-columns: 120px 1fr; align-items: center; }
.ilink__thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: #f5f5f5; }
.ilink__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ilink__body { display: grid; gap: 6px; }
.ilink__title { font-size: 1rem; font-weight: 700; color: #222; line-height: 1.5; }
.ilink__desc { font-size: 12px; color: #555; line-height: 1.6; }
.ilink__meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: #777; }

/* simple */
.ilink--simple { grid-template-columns: 1fr; }
.ilink--simple .ilink__title { margin-bottom: 2px; }
.ilink--simple .ilink__desc { margin-top: -2px; }

/* レスポンシブ */
@media (max-width: 640px) {
  .ilink--card { grid-template-columns: 1fr; }
  .ilink__thumb { aspect-ratio: 3/2; }
}

/* ダーク */
@media (prefers-color-scheme: dark) {
  .ilink { background: #121212; border-color: #2a2a2a; }
  .ilink__title { color: #eee; }
  .ilink__desc { color: #c9c9c9; }
  .ilink__meta { color: #999; }
  .ilink:hover { box-shadow: 0 8px 24px rgba(0,0,0,.4); border-color: #3a3a3a; }
}

.tool-wrap h2 {
    border-bottom: 1px solid #ddd;
    margin: 2rem 0 1rem;
    padding: 0 0 1rem 0;
    font-size: 24px;
}

ul.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

ul.tool-list li a {
    display: block;
    border: 1px solid #ddd;
    padding: .5rem 1rem;
    border-radius: 8px;
}

/* 横スクロールの見た目を少しだけ整える */
.my-table-wrap { -webkit-overflow-scrolling: touch; }

/* 基本テーブル体裁 */
.my-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
}
.my-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: .5rem;
}
.my-table th,
.my-table td {
  padding: .6rem .8rem;
  border: 1px solid #e5e5e5;
  vertical-align: middle;
  line-height: 1.5;
}
.my-table thead th {
  background: #fafafa;
  font-weight: 600;
  position: sticky; /* スクロール時にヘッダー固定したい場合 */
  top: 0;
  z-index: 1;
}

/* 例：price-table 用の装飾（class 属性で付与） */
.price-table th { background: #f5f7ff; }
.price-table td:nth-child(2) { text-align: right; }