/* Test a link - Start */
.blog-main .blog-article a{
    text-decoration: underline;
    color: #0056b3;
}

.blog-main .blog-article .items-start a, .blog-main .blog-article .items-center a,  .blog-main .blog-article a.bg-orange-f1{
    text-decoration: none;
    color: #fff;
}

.blog-main .blog-article #faq h3{
    margin-top: 0px !important;
}

/* Test a link - End */

.blog-main .blog-article .index {
    background-color: #f3f3f3b3;
    padding: 30px 70px 30px 66px !important;
    border-radius: 25px;
    color: #b9b9b9 !important;
}
.blog-main .blog-article .index > li {
    font-weight: bold;
    color: #4e4e4e;
}
.blog-main .blog-article .index li a {
    display: block;
    padding: 3px 1px;
}
.blog-main .blog-article .index a {
    color: #4e4e4e !important;
    text-decoration: none;
}
.blog-main .blog-article .index a:hover {
    background: #35c9e0;
    color: black !important;
}
.page_detail .main_content .description a {
    color: #0056b3;
    text-decoration: none
}
.page_detail .main_content .description h2 {
    color: #b81a35;
    font-size: 24px;
    line-height: 34px
}
.underline{
	text-decoration-line: none;
}
.blog-main .blog-article h2 {
    margin: 35px 0 15px 0;
    font-weight: bold;
    color: black !important;
    width: fit-content;
    padding: 10px;
}
.blog-main .blog-article h2 a {
    color: black !important;
    text-decoration: underline !important;
}
.blog-main .blog-article h2.darkblue, .blog-main .blog-article h3.darkblue , .blog-main .blog-article h4.darkblue{
    border-color: #1175FD!important;
}
.blog-main .blog-article h2.highlight, .blog-main .blog-article h3.highlight, .blog-main .blog-article h4.highlight {
    background: #d2ebf5!important;
}
.blog-main .blog-article h2.step span , .blog-main .blog-article h3.step span, .blog-main .blog-article h4.step span {
    background: #d2ebf5!important;
    margin-right: 8px;
    border-radius: 25px;
    padding: 2px 8px;
}
.blog-main .blog-article h2.dashed, .blog-main .blog-article h3.dashed, .blog-main .blog-article h4.dashed {
    border-bottom: 4px dashed;
    background: none;
    width: fit-content;
    padding-bottom: 5px;
}
.blog-main .blog-article h2.dotted, .blog-main .blog-article h3.dotted, .blog-main .blog-article h4.dotted {
    border-bottom: 4px dotted;
    background: none;
    width: fit-content;
    padding-bottom: 5px;
}
.blog-main .blog-article h2.underline,  .blog-main .blog-article h3.underline, .blog-main .blog-article h4.underline {
    border-bottom: 4px solid;
    background: none;
    width: fit-content;
    padding-bottom: 5px;
}
.blog-main .blog-article h2.blue,  .blog-main .blog-article h3.blue, .blog-main .blog-article h4.blue {
    border-color: #00ABFA!important;
}
.blog-main .blog-article h2.orange, .blog-main .blog-article h3.orange, .blog-main .blog-article h4.orange {
    border-color: #f19103!important;
}
.blog-main .blog-article h2.title-h2, .blog-main .blog-article h3.title-h3, .blog-main .blog-article h4.title-h3 {
    border-left: 5px solid;
    padding: 5px 10px!important;
    background: none;
}
.blog-main .blog-article h2.step span , .blog-main .blog-article h3.step span, .blog-main .blog-article h4.step span {
    background: #d2ebf5!important;
    margin-right: 8px;
    border-radius: 25px;
    padding: 2px 8px;
}
.blog-main .blog-article h3 {
    color: #0056b3;
    font-size: 20px;
    line-height: 26px
}
.blog-main .blog-article h3, .blog-main .blog-article h4{
    color: black!important;
    margin-top: 30px;
    padding-bottom: 10px;
    font-weight: 700;
}
.blog-main .blog-article .h4_sp{background: #d2ebf5 !important;display: inline-block;padding: 4px;margin: 8px 0px !important;}

/* Image Shadow */
.blog-main .blog-article .add_shadow {
        box-shadow: 0 4px 8px 0 rgba(0,0,0,.2);
    }

/* Scroll adjuster for #id */
[id] {
    scroll-margin-top: 75px; /* Adjust this value to match your sticky banner height */
}
html{
	scroll-behavior: smooth;
}

/* Divider */
.blog-main .blog-article hr{
  width: 70%;
  height: 1px  !important;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(255,255,255,0) 100%)  !important;
  margin: 25px auto !important;
}

/* Icon Size + Centering for below 500px */
.blog-main .blog-article .figure_icon img{
     max-width: 100px !important;
     border-radius: 15px;
}

@media screen and (max-width: 500px) {
    .container .inner .description .figure_icon img{
         margin: 15px auto; 
    }
}

/* Image Size for figure class */
.blog-main .blog-article .figure,
.blog-main .blog-article .figure_pc,
.blog-main .blog-article .figure_resp,
.blog-main .blog-article .figure_w350,
.blog-main .blog-article .figure_w400,
.blog-main .blog-article .figure_w450,
.blog-main .blog-article .figure_w500,
.blog-main .blog-article .figure_w550,
.blog-main .blog-article .figure_w600,
.blog-main .blog-article .figure_w650,
.blog-main .blog-article .figure_bnr{
		margin: 20px 5px;
	}
.blog-main .blog-article .figure_resp img, .blog-main .blog-article .figure_resp video{
        max-width: 300px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w350 img, .blog-main .blog-article .figure_w350 video{
        max-width: 350px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w400 img, .blog-main .blog-article .figure_w400 video{
        max-width: 400px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w450 img, .blog-main .blog-article .figure_w450 video{
        max-width: 450px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w500 img, .blog-main .blog-article .figure_w500 video{
        max-width: 500px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w550 img, .blog-main .blog-article .figure_w550 video{
        max-width: 550px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w600 img, .blog-main .blog-article .figure_w600 video{
        max-width: 600px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_w650 img, .blog-main .blog-article .figure_w650 video{
        max-width: 650px !important;
        width: 100%;
        height: auto;
    }
.blog-main .blog-article .figure_pc img{
	max-width: 700px !important;
	-webkit-backface-visibility: hidden;
        width: 100%;
        height: auto;
}
.blog-main .blog-article figure figcaption{
	margin-top: 8px;
}

.blog-main .blog-article .img_resp {
    display: flex;
	flex-wrap: wrap;
}
.blog-main .blog-article .img_resp .scroll-container {
    display: flex;
	flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 767px) {
    .blog-main .blog-article .img_resp .scroll-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        min-width: 100%;
        max-width: 100vw;
        padding-left: 0px !important;
        scroll-padding-left: 0px !important;
        scroll-padding-inline-start: 0px !important;
      }

    .blog-main .blog-article .img_resp .figure_resp {
        flex: 0 0 auto;
        scroll-snap-align: start;
        width: 100%;
        max-width: 300px;
      }
        
    .blog-main .blog-article .img_resp .figure_resp img {
        width: 100%;
        max-width: 100vw;
        height: auto;
      }

      /* Hide Scrollbar on Mobile */
    .blog-main .blog-article .img_resp .scroll-container::-webkit-scrollbar {
        display: none;
      }
    }

    @media screen and (max-width: 400px) {
        .blog-main .blog-article .img_resp {
          display: block;
        }
    }
	.blog-main .blog-article .img_resp .figure_resp figcaption{
		max-width: 300px;
	}
	.blog-main .blog-article .figure_icon_s img{
		max-width: 50px !important;
		border-radius: 15px;
	}
	.blog-main .blog-article .figure_icon_r img{
		max-width: 300px !important;
	}
	@media screen and (max-width: 725px) {
	.blog-main .blog-article .figure_resp {
        	/*margin: 0 auto !important;*/
	}
    }

.blog-main .blog-article .get-more {
     width: 90%;
    background: #ecf4fb;
    border: 1px dotted grey;
    border-radius: 8px;
    padding: 20px 20px 10px;
    margin-top: 15px;
}

.blog-main .blog-article .get-more h3 {
    margin-top: 0!important;
}
/* Adjuster for Pros & Cons */
.blog-main .blog-article .pros_cons_div {
      display: flex;
      margin:8px;
    }

    @media (max-width: 768px) {
    .blog-main .blog-article .pros_cons_div {
        flex-direction: column;
      }

       .pros-section,
       .cons-section {
        width: 100% !important;
      }
    }

    .blog-main .blog-article .pros-section, .cons-section {
      position: relative;
      border: 1px solid silver;
      border-radius: 10px;
      max-width: 75ch;
      margin: 10px 0 20px 0;
      padding: 1em;
      width: 50%;
    }

    .blog-main .blog-article .pros-section {
      margin-right: 15px;
    }

    .blog-main .blog-article .box-title {
      position: absolute;
      top: -0.8em;
      left: 0.75em;
      background-color: #fff;
      padding: 0 0.5em;
      font-size: 1.1rem;
      font-weight: bold;
      line-height: 1.2;
      display: inline-flex;
      align-items: center;
    }

    .blog-main .blog-article .pros_cons_div .pros-section h3,
    .blog-main .blog-article .pros_cons_div .pros-section h4,
    .blog-main .blog-article .pros_cons_div .pros-section h5,
    .blog-main .blog-article .pros_cons_div .cons-section h3,
    .blog-main .blog-article .pros_cons_div .cons-section h4,
    .blog-main .blog-article .pros_cons_div .cons-section h5 {
      font-size: 1.1rem !important;
      font-weight: bold;
      margin: 0 0 0.75rem 0 !important;
      align-items: center;
    }

    .blog-main .blog-article .pros-section h3 i,
    .blog-main .blog-article .pros-section h4 i,
    .blog-main .blog-article .pros-section h5 i {
      color: #28a745;
      margin-left: 1em;
    }

    .blog-main .blog-article .cons-section h3 i,
    .blog-main .blog-article .cons-section h4 i,
    .blog-main .blog-article .cons-section h5 i {
      color: #dc3545;
      margin-left: 1em;
    }
.blog-main .blog-article .pro_bullet, .con_bullet, .key_bullet {
    padding-bottom: 0!important;
    list-style-type: circle;
    padding-left: 20px;
}
.blog-main .blog-article ul{
    list-style-type: square;
    padding-left: 20px;
}
.blog-main .blog-article ol{
    list-style-type: decimal;
    padding-left: 20px;
}
.blog-main .blog-article ol a, .blog-main .blog-article ul a, .blog-main .blog-article .figure_resp a, .blog-main .blog-article .figure_pc a{
    color: #0056b3;
    text-decoration: underline;
}
/* New Comparison Table CSS */
.blog-main .blog-article .table-responsive .comparison-table a.black{
        color: black !important;
        text-decoration: underline;
        font-weight: 700;
}

.blog-main .blog-article .table-responsive .comparison-table .items-center a{
    text-decoration: none;
    color: #fff  !important;
}

    /* Ensure table responsiveness */
    .blog-main .blog-article .table-responsive {
        overflow-x: auto;
        width: 100%;
    }

    /* Base table styling */
    .blog-main .blog-article .comparison-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 16px;
        text-align: left !important;
    }

    /* Table Borders & Padding */
    .blog-main .blog-article .comparison-table th, 
    .blog-main .blog-article .comparison-table td {
        border: 1px solid #ddd;
        padding: 10px;
    }

    /* Header Styling */
    .blog-main .blog-article .comparison-table th {
        background-color: #f4f4f4;
        font-weight: bold;
        text-align: left;
        min-width: 105px;
    }

    /* Mobile-Optimized Table Layout (Stacked Version) */
    @media (max-width: 768px) {
        .blog-main .blog-article .comparison-table thead {
            display: none; /* Hide table headers */
        }

        .blog-main .blog-article .comparison-table tbody,
        .blog-main .blog-article .comparison-table tr,
        .blog-main .blog-article .comparison-table td {
            display: block;
            width: 100%;
        }

        .blog-main .blog-article .comparison-table tr {
            margin-bottom: 15px;
            border: 1px solid #ddd;
            padding: 12px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        }

        .blog-main .blog-article .comparison-table td {
            border: none;
            text-align: left;
            padding: 10px;
            font-size: 14px;
            display: block; /* Stack each label and value */
        }

        .blog-main .blog-article .comparison-table td::before {
            content: attr(data-label);
            font-weight: bold;
            display: block; /* Make label appear on top */
            margin-bottom: 5px;
        }
    }
.blog-main .blog-article .video-container {
  margin-bottom: 15px;
  border-radius: 20px;
}
.blog-main .blog-article .video-container,.responsive_video {
    /* width:100%; */
    height: 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%
}
.blog-main .blog-article .responsive_video {
    margin-top: 30px;
    margin-bottom: 30px
}
.blog-main .blog-article .video-container iframe,.responsive_video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0
}

/* Blue Icon for OS */
.blog-main .blog-article .bl_icon {
      background-color: #0359a3;
      color: #fff !important;
      font-weight: bold;
      padding: 4px 15px;
      font-size: 16px;
      display: inline-block;
      text-align: center;
      text-decoration: none;
      border-radius: 8px;
      box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
      margin: 4px 2px;
}

.blog-main .blog-article .bl_icon a {
      color: #fff !important;
      text-decoration: none;
      display: inline-block;
      width: 100%;
      height: 100%;
      transition: all 0.4s ease;
      cursor: pointer;
}

.blog-main .blog-article .bl_icon a:hover {
      transform: translateY(-5px);
      color: #fff !important;
}

.blog-main .blog-article .image-wrapper {
  max-width: 700px;
  width: 100%;
  margin: 20px auto;
  padding: 0 16px;
}

.blog-main .blog-article .image-row {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: nowrap;
}

/*  画像の親である <figure> に幅を明確に指定 */
.blog-main .blog-article .image-row--2col .image-item {
  flex: 0 0 calc(100% / 2 - 5px / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.blog-main .blog-article .image-row--3col .image-item {
  flex: 0 0 calc(100% / 3 - 10px / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

/*  画像自体は親要素に合わせて100% */
.blog-main .blog-article .responsive-img {
  width: 100%;
  height: auto;
  display: block;
}

/*  キャプションは画像と同幅に揃え、中央寄せ */
.blog-main .blog-article .image-row .image-item figcaption {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 0.9em;
  color: #666;
}

.blog-main .blog-article .snapshot-table {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: nowrap;
}

.blog-main .blog-article .snapshot-image {
  flex: 0 0 120px;
  text-align: center;
}

.blog-main .blog-article .snapshot-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.blog-main .blog-article .snapshot-content {
  flex: 1;
  min-width: 200px;
}

.blog-main .blog-article .snapshot-content p{
  margin: 5px 0px 15px;
}

.blog-main .blog-article .snapshot-title {
  color: #003366;
  border-bottom: 2px solid #1e90ff;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .blog-main .blog-article .snapshot-table {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-main .blog-article .snapshot-image {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .blog-main .blog-article .snapshot-content {
    flex: none;
    width: 100%;
  }
}

  .blog-main .blog-article figcaption.img_credits {
    font-size: 15px;
    font-style: italic;
}

/* YouTube Video CSS test */
.blog-main .blog-article .youtube-placeholder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 8px;
}

.blog-main .blog-article .youtube-placeholder img{
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  width: 100%;
  transform: translate(-50%, -50%);
  min-height: 100%;
}

.blog-main .blog-article .ytv-container iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 700px;
  display: block;
  border-radius: 8px;
  border: none;
}

.blog-main .blog-article .ytv-container svg path,
.blog-main .blog-article .yts-container svg path {
    fill: #fff !important;
}

.blog-main .blog-article .youtube-short-placeholder{
    position: relative;
    display: inline-block;
}

.blog-main .blog-article .youtube-short-placeholder img {
  width: 100%;
  height: 640px !important;
  object-fit: cover;
  aspect-ratio: 9 /16;
}

.blog-main .blog-article .yts-container iframe {
  width: 100%;
  height: auto;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  display: block;
  border-radius: 8px;
  border: none;
}

.blog-main .blog-article .play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 24px;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.blog-main .blog-article .play-video:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.9);
}

@media screen and (max-width: 600px) {
  .blog-main .blog-article .youtube-placeholder {
    max-width: 100%;
    padding: 0 10px; /* Ensures video doesn’t touch screen edges */
  }

  .blog-main .blog-article .youtube-placeholder iframe {
    max-width: 100%;
    height: auto;
  }

  .blog-main .blog-article .play-video {
    font-size: 18px;
    padding: 10px 15px;
  }
}


.blog-main .blog-article #mobile-only {
  display: none;
}

.blog-main .blog-article #desktop-only {
  display: block;
}

@media (max-width: 550px) {
  .blog-main .blog-article #mobile-only {
    display: block;
  }

  .blog-main .blog-article #desktop-only {
    display: none;
  }
}