@charset "UTF-8";
body {
  font-size: 16px;
  line-height: 1.6;
  color: black;
  font-family: "Noto Sans JP", sans-serif;
  /* background-color: #e4f4ff; */
  background-color: #eafcff;
}

@media (max-width: 450px) {
  body {
    line-height: 1.4;
  }
}

:root {
  --accent-color: #FF8C00;
  --sub-main-colar1: #e4f4ff;
  --sub-main-colar2: #3498db;
  --main-colar: #0f73ba;
  --inner-width: 680px;
  --heading-fz: 32px;
}

.res-700{
  display: none;
}

@media (max-width: 700px) {
  .res-700{
    display: block;
  }  
}

.res-437{
  display: none;
}


@media (max-width: 437px) {
  .res-437{
    display: block;
  }
}

.lead-txt{
  padding: 20px;
  max-width: 680px;
  margin: 0 auto;
}


.header-wrapper {
  display: none;
  background-color: #e8f5f3;
} 

@media (max-width: 500px) {
  .header-wrapper {
    display: block;
    background-color: var(--sub-main-color2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* ほんの少しの影を追加 */  
    background-color: #e8f5f3;
  }       
}   

.fz12{
  font-size: 12px;
}

.img-logo {
  height: 30px;
}

@media (max-width: 500px) {
  .img-logo {
    width: 200px;
    height: auto;
    padding: 2px 10px;
    }       
}                            

.eyecatch-box{
  margin: 0 auto;
  max-width: 860px;
}

.contents-wrapper{
  max-width: 860px;
  margin: 0 auto;
  background-color: #fff;
}



.top3-container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.h2-ttl{
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: var(--main-colar);
}

@media (min-width: 680px) {
  .h2-ttl{
    font-size: var(--heading-fz);  
  }  
}  

.comparison-table {
  margin: 0;
  max-width: 680px;
}
.comparison-table__table {
  width: 100%;
  border-collapse: collapse;
}

/* @media (min-width: 680px) {
  .comparison-table__table {
  }  
}   */

.comparison-table__th, .comparison-table__td {
  border: 1px solid #ddd;
  padding: 8px 2px;
  text-align: center;
}

.comparison-table__td{
  font-size: 12px;
}

.comparison-table__th{
  font-size: 12px;
  background-color: var(--sub-main-colar1);
}


@media (min-width: 680px) {
  .comparison-table__td{
    font-size: 16px;
  } 

  .comparison-table__th{
    font-size: 16px;
  }
}  



.comparison-table__rank {
  font-size: 20px;
}
.comparison-table__highlight {
  color: #ff0000;
}
.comparison-table__button {
  background-color: #ff0000;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  display: inline-block;
  border-radius: 3px;
  margin: 2px;
  font-size: 10px;
}

@media (min-width: 680px) {
  .comparison-table__button {
    font-size: 14px;
  }
}  



/* .comparison-table__small-text {
  font-size: 10px;
}

@media (min-width: 680px) {
  .comparison-table__small-text {
    font-size: 12px;
  }  
}   */

.comparison-table__th.comparison-table__th_width{
  width: 15%;
}

.rank1{
  background-color: #ded656;
  color: white;
  max-width: 50px;
  height: auto;
  margin: 0 auto;
}

.rank2{
  background-color: #bfbfb4;
  color: white;
  max-width: 50px;
  height: auto;
  margin: 0 auto;
}

.rank3{
  background-color: #BD9164;
  color: white;
  max-width: 50px;
  height: auto;
  margin: 0 auto;
}

.comparison-table__th.comparison-table__th_pad1{
  padding: 0px;
  background-color: #ded656;
}

.comparison-table__th.comparison-table__th_pad2{
  padding: 0px;
  background-color: #bfbfb4;
}

.comparison-table__th.comparison-table__th_pad3{
  padding: 0px;
  background-color: #BD9164;
}


.comparison-table__button.comparison-table__official-button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  width: 80%;
  min-width: 90px;
  margin: 0px auto;
}


.button-primary { background-color: #4a90e2; }
.button-secondary { background-color: #f0ad4e; }
.button-tertiary { background-color: #5cb85c; }
.button-details {
  background-color: transparent;
  color: #666;
  border: 1px solid #ccc;
  padding: 5px 5px;
  font-size: 12px;
  margin-top: 12px;
}



/* 
.pricing-table {
  background-color: white;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  border: 2px solid #e0e0e0; 
  margin: 0 auto;
  position: relative;
  overflow: auto;
}

.sticky-header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
}

.plan-headers {
  display: flex;
  justify-content: space-between;
  
}

.plan-header {
  text-align: center;
  width: 33.33%;
  border-right: 1px solid #e0e0e0;
  padding: 10px 0;
  
}

.plan-header:last-child {
  border-right: none;
}

.rank1{
  background-color: #ded656;
  color: white;
}

.rank2{
  background-color: #bfbfb4;
  color: white;
}

.rank3{
  background-color: #BD9164;
  color: white;
}

.rank-img{
  max-height: 60px;
  width: auto;
}

.plan-header.plan-header-padding{
  padding: 0px;
}


.plan-name {
  font-weight: bold;
  color: #4a90e2;
  margin-bottom: 10px;
}

.logo-container {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.features {
  border-top: 1px solid #e0e0e0;
}

.feature-row {
  display: flex;
  flex-direction: column;
}

.feature-name {
  padding: 10px;
  background-color: var(--sub-main-colar1);
  text-align: center;
  font-weight: bold;
}

.feature-availabilities {
  display: flex;
}

.feature-availability {
  width: 33.33%;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-right: 1px solid #e0e0e0;
}

.feature-availability:last-child {
  border-right: none;
}




.price {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.discounted-price {
  color: red;
}

.per-session {
  font-size: 12px;
  color: #666;
}

.button-container {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
}

.button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  width: 80%;
  min-width: 90px;
  margin: 0px auto;
}

.button-primary { background-color: #4a90e2; }
.button-secondary { background-color: #f0ad4e; }
.button-tertiary { background-color: #5cb85c; }
.button-details {
  background-color: transparent;
  color: #666;
  border: 1px solid #ccc;
  padding: 5px 5px;
  font-size: 12px;
  margin-top: 12px;
} */





.service_main_ttl{
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  background-color: var(--main-colar);
  padding: 10px 0px;
  color: white;
}

@media (max-width: 500px) {
  .service_main_ttl{
    font-size: 20px;
  }
}  


.service_top8_ttl{
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  background-color: var(--main-colar);
  padding: 10px 0px;
  color: white;
}

@media (max-width: 500px) {
  .service_top8_ttl{
    font-size: 24px;
  }
} 

.ranking-container {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0px auto;
  width: 90%;
  margin-bottom: 12px;
}

.rank-badge {
  position: relative;
  width: 80px;
  height: 80px;
  margin-right: 10px;
  flex-shrink: 0;
}

.comparison-table__name {
  color: #0066cc; /* リンクらしい青色 */
  text-decoration: underline; /* 下線を引く */
}



.item-details {
  flex-grow: 1;
  text-align: center;
}

.item-title {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 6px;
  text-decoration: none;
  display: inline-block;
}

@media (min-width: 680px) {
  .item-title {
    font-size: 28px;
    margin-bottom: 0;
  }
}  



.item-description {
  font-size: 12px;
  color: #333;
  max-width: 664px;
  margin: 0 auto;
}

.h2_catch {
  width: fit-content;
  margin: 0 auto;
  color: #05af8c;
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 450px) {
  .h2_catch {
    font-size: 16px;
  }
}

.padding24-3 {
  height: 8px;
}

.img1-box {
  max-width: 500px;
  margin: 0 auto;
  width: 90%;
}

.detail-text {
  max-width: var(--inner-width);
  margin: 0 auto;
  /* padding: 20px; */
}

@media (max-width: 450px) {
  .detail-text {
    width: 90%;
  }
}

.champain {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
  top: 15px;
  background-color: #09AE8C;
  color: #fff;
  border-radius: 100px;
}

@media (max-width: 450px) {
  .champain {
    font-weight: bold;
    font-size: 16px;
  }
}

.flex-box01 {
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 70%;
  margin: 0 auto;
  font-weight: bold;
  border: 2px solid #09AE8C;
  border-radius: 10px;
  padding: 16px;
  position: relative;
  z-index: 0;
}

@media (max-width: 450px) {
  .flex-box01 {
    width: 90%;
    padding: 10px;
  }
}

.retirement-agency-list.red{
  background-color: #fdf1f2;
}

.retirement-agency-list.blue{
  background-color: #f2fafe;
}


.flex-box01 ul {
  list-style-type: none;
  padding: 10px 0 0 0;
}

.flex-box01 li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
  line-height: 20px;
}

.flex-box01 li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(0%);
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background-color: #3a3a3a;
  color: white;
  border-radius: 50%;
  font-size: 14px;
}

.highlight {
  font-weight: bold;
  color: red;
}

.padding24-2 {
  height: 20px;
}

.table2 {
  margin-top: 20px;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 20px 8px;
}



.kome{
  font-size: 12px;
  line-height: 1.0;
}



@media (max-width: 450px) {
  .table2 {
    font-size: 14px;
  }

  .kome{
    font-size: 10px;
  }
}


.kome_b{
  font-size: 14px;
  display: inline;
}


.table_water-pattern2 {
  border-collapse: collapse;
  width: 100%;
  margin: auto;
  text-align: center;
}



.table_water-pattern2,
.table_water-pattern2 td,
.table_water-pattern2 th {
  border: 1px solid #aaaaaa;
  text-align: center;
}

.table_water-pattern2 td,
.table_water-pattern2 th {
  padding: 4px;
}

.table_water-pattern2 .table_water-pattern2-ttl {
  background-color: var(--sub-main-colar1);
  width: 20%;
  font-weight: bold;
}

@media (max-width: 600px) {
  .table_water-pattern2 tbody {
    display: block;
  }
  .table_water-pattern2 tr {
    display: flex;
    flex-wrap: wrap;
  }
  .table_water-pattern2 td,
  .table_water-pattern2 th {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
  }
  .table_water-pattern2 td.table_water-pattern2-ttl {
    width: 40%;
  }
  .table_water-pattern2 td.table_water-pattern2-txt {
    width: 60%;
  }
}

.bold {
  font-weight: bold;
}


.button .button02 {
  background-color: #FF8C00;
  color: white;
  width: 80%;
  margin: 0 auto;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 3px 0 #CC7000;
  border: 2px solid #FF8C00;
}

@media (max-width: 540px) {
  .button .button02 {
    font-size: 16px;
    padding: 10px 20px;
    width: 80%;
  }
}

@media (max-width: 450px) {
  .button .button02 {
    padding: 10px 20px;
    width: 100%;
  }
}

.button02 {
  position: relative;
  overflow: hidden;
}

.button02:hover {
  opacity: 0.6;
  transform: translateY(4px);
  box-shadow: none;
}

.button02::before {
  content: "";
  display: block;
  position: absolute;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #b5e7ff;
  transition: 300ms;
  animation: shinyshiny 2.5s ease-in-out infinite;
}

@keyframes shinyshiny {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}




.point-wrapper {
  padding: 8px;
  max-width: var(--inner-width);
  margin: 0 auto;
  /* border: 2px solid #ff69b4; */
}

.point-title {
  color: #333;
  text-align: center;
  font-size: 24px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  /* margin-bottom: 20px; */
}

.point-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  background: var(--sub-main-colar2);
  transform: skew(-20deg);
}

.point-box {
  border: 1px solid var(--main-colar);
  padding: 15px;
  margin-top: 10px;
  background-color: #fff;
}

.point-item {
  margin-bottom: 15px;
}

.point-item-title {
  font-weight: bold;
  margin-bottom: 10px;
  background-color: #dff7f9;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 18px;
}

@media (max-width: 730px) {
  .point-item-title {
    font-size: 16px;
  }
}

.point-item-description {
  font-size: 16px;
  padding: 0 10px;
  line-height: 1.5;
}

@media (max-width: 730px) {
  .point-item-description {
    font-size: 14px;
  }
}

.icon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 14px;
}

.icon-check-img{
  width: 24px;
  margin-right: 16px;
}

.retirement-agency-body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 20px 20px;
  background-color: #ffffff;
}


.retirement-agency-heading {
  color: #2c3e50;
}
.retirement-agency-title {
  font-size: 24px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

@media (min-width: 680px) {
  .retirement-agency-title {
    font-size: 34px;
  }  
}



.retirement-agency-subtitle {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: bold;
  border-bottom: 2px solid #3498db;
}


@media (min-width: 680px) {
  .retirement-agency-heading.retirement-agency-subtitle {
    font-size: 22px;
  }  
}

.retirement-agency-highlight {
  background-color: #3498db;
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.retirement-agency-info-box {
  background-color: #f8f9fa;
  border-left: 5px solid #3498db;
  padding: 15px;
  margin-bottom: 20px;
}
.retirement-agency-list {
  background-color: #f8f9fa;
  padding: 15px 15px 15px 35px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.retirement-agency-list-item {
  margin-bottom: 10px;
  color: black;
}

/* .retirement-agency-icon-service::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M21 11.646V21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9.354A3.985 3.985 0 0 1 2 9V3a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v6a3.99 3.99 0 0 1-1 2.646zm-2 1.228a4.007 4.007 0 0 1-4-1.228A3.99 3.99 0 0 1 12 13a3.99 3.99 0 0 1-3-1.354 3.99 3.99 0 0 1-4 1.228V20h14v-7.126zM14 9a1 1 0 0 1 2 0 2 2 0 1 0 4 0V4H4v5a2 2 0 1 0 4 0 1 1 0 1 1 2 0 2 2 0 1 0 4 0z"/></svg>'); }
.retirement-agency-icon-history::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8zm1-8h4v2h-6V7h2v5z"/></svg>'); }
.retirement-agency-icon-evolution::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M13 12h7l-8 8-8-8h7V4h2v8zm-2 2H5.83l6.17 6.17L18.17 14H13v-2z"/></svg>'); }
.retirement-agency-icon-media::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M8.17 5.7L1 10.48V21h5v-8h4v8h5V10.25z"/></svg>'); }
.retirement-agency-section {
  margin-bottom: 30px;
} */




.ra-container {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
}
.ra-title, .ra-subtitle {
  color: #2c3e50;
}
.ra-title {
  font-size: 24px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}
@media (min-width: 680px) {
  .ra-title {
    font-size: var(--heading-fz);
  }
}  


.ra-subtitle {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: bold;
}
/* .ra-subtitle::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
} */
.ra-text {
  margin-bottom: 15px;
}
.ra-highlight {
  background-color: #3498db;
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.ra-box {
  background-color: #f8f9fa;
  border-left: 5px solid #3498db;
  padding: 15px;
  margin-bottom: 20px;
}
.ra-list {
  background-color: #f8f9fa;
  padding: 15px 15px 15px 35px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.ra-list-item {
  margin-bottom: 10px;
}
.ra-icon-types::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M21 11.646V21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9.354A3.985 3.985 0 0 1 2 9V3a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v6a3.99 3.99 0 0 1-1 2.646zm-2 1.228a4.007 4.007 0 0 1-4-1.228A3.99 3.99 0 0 1 12 13a3.99 3.99 0 0 1-3-1.354 3.99 3.99 0 0 1-4 1.228V20h14v-7.126zM14 9a1 1 0 0 1 2 0 2 2 0 1 0 4 0V4H4v5a2 2 0 1 0 4 0 1 1 0 1 1 2 0 2 2 0 1 0 4 0z"/></svg>'); }
.ra-icon-rec::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zm0 18c4.42 0 8-3.58 8-8s-3.58-8-8-8-8 3.58-8 8 3.58 8 8 8zm1-8h4v2h-6V7h2v5z"/></svg>'); }
.ra-icon-private::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M13 12h7l-8 8-8-8h7V4h2v8zm-2 2H5.83l6.17 6.17L18.17 14H13v-2z"/></svg>'); }
.ra-icon-lawyer::before { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M8.17 5.7L1 10.48V21h5v-8h4v8h5V10.25z"/></svg>'); }

.c-container {
  /* padding: 15px; */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.c-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-family: sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.c-table__cell {
  border: 1px solid #e8f4f8;
  padding: 15px;
  text-align: center;
}

.c-table__header {
  background-color: #f8fbfd;
  font-weight: normal;
}

.c-table__column--primary {
  border-left: 2px solid #4aa3df !important;
  border-right: 2px solid #4aa3df !important;
  background-color: #fafeff;
}

.c-table__header--primary {
  border-top: 2px solid #4aa3df !important;
  background-color: #4aa3df;
  color: white;
}

.c-table__cell--last {
  border-bottom: 2px solid #4aa3df !important;
}

.c-table__header--secondary {
  background-color: #f8fbfd;
}

.c-table__cell--header {
  background-color: #f8fbfd;
  text-align: center !important;
  width: 20%;
  color: #2c3e50;
}

.c-icon {
  font-size: 24px;
}

.c-icon--success {
  color: #2ecc71;
}

.c-icon--warning {
  color: #e74c3c;
}

.c-text--note {
  font-size: 0.8em;
  color: #7f8c8d;
}

.c-text--highlight {
  background: linear-gradient(transparent 50%, #b3e5fc 50%);
  display: inline;
  padding: 0 2px;
}

.c-text--small {
  font-size: 0.9em;
  color: #2c3e50;
}

.c-table__column--secondary {
  background-color: #fff;
}

/* PC表示 (768px以上) */
@media screen and (min-width: 768px) {
  .c-table {
    max-width: 800px;
  }
  
  .c-table__cell {
    padding: 20px 15px;
  }
  
  .c-icon {
    font-size: 24px;
  }
  
  .c-text--small {
    font-size: 0.9em;
  }
}

/* タブレット表示 (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
  .c-table {
    max-width: 100%;
  }
  
  .c-table__cell {
    padding: 15px 10px;
  }
  
  .c-icon {
    font-size: 20px;
  }
  
  .c-text--small {
    font-size: 0.85em;
  }
}

/* スマホ表示 (480px以下) */
@media screen and (max-width: 480px) {
  /* .c-container {
    padding: 10px;
  } */

  .c-table {
    font-size: 14px;
  }
  
  .c-table__cell {
    padding: 12px 8px;
  }
  
  .c-table__cell--header {
    width: 25%;
  }
  
  .c-icon {
    font-size: 18px;
  }
  
  .c-text--small {
    font-size: 0.8em;
  }
  
  .c-text--small br {
    display: block;
    content: "";
    margin: 3px 0;
  }
}

.flow-container {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
}
.flow-title, .flow-subtitle {
  color: #2c3e50;
}
.flow-title {
  font-size: 24px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

@media (min-width: 680px) {
  .flow-title {
    font-size: var(--heading-fz);
  }  
}  

.flow-subtitle {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: bold;
}
/* .flow-subtitle::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
} */
.flow-text {
  margin-bottom: 15px;
}
.flow-highlight {
  background-color: #3498db;
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.flow-box {
  background-color: #f8f9fa;
  border-left: 5px solid #3498db;
  padding: 15px;
  margin-bottom: 20px;
}
.flow-list {
  background-color: #f8f9fa;
  padding: 15px 15px 15px 35px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.flow-list-item {
  margin-bottom: 10px;
}
.flow-icon::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%233498db" d="M13 16.172l5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2v12.172z"/></svg>');
}
.flow-section {
  margin-bottom: 30px;
}
.flow-step {
  background-color: #f8f9fa;
  border-left: 5px solid #3498db;
  padding: 15px;
  margin-bottom: 15px;
}
.flow-step-title {
  font-weight: bold;
  color: #3498db;
  margin-bottom: 10px;
}



/* 7選比較表 */


.all-container {
  width: 100%;
  margin: auto;
}

.width-container {
  max-width: 710px;
  margin: 0 auto;
}

.body-container {
  background-color: #e8f5f3;
  padding: 80px 20px;
}

.body-round {
  padding: 0px 0px;
  background-color: white;
  border-radius: 20px;
  max-width: 710px;
  margin: 0 auto;
}

.h2_main {
  background-color: #05af8c;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 10px 0px;
  font-size: 30px;
  font-weight: bold;
}

.h2_body {
  padding: 40px 20px;
}

.table1-responsive {
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid gray;
  margin-top: 32px;
}

.table-pattern1 {
  border-collapse: collapse;
  width: 100%;
  margin: auto;
  text-align: center;
  border: 1px solid gray;
}

.table-pattern1, .table-pattern1 td, .table-pattern1 th {
  border: 1px solid gray;
  text-align: center;
}

.table-pattern1 td, .table-pattern1 th {
  padding: 8px;
}

.table-pattern1 td:first-child, .table-pattern1 th:first-child {
  background-color: var(--sub-main-colar1);
}


.table-pattern1 tr:first-child td, .table-pattern1 tr:first-child th {
    background-color: var(--sub-main-colar1);

}

.icon-name-img {
  width: 180px;
}


.sticky{
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2; /* 枠線が他の要素より前面に表示されるようにする */
}

.sticky:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-right: 1px solid gray;
  z-index: -1;
}


.button_koshiki {
  background-color: var(--accent-color);
  color: white;
  width: fit-content;
  margin: 0 auto;
  padding: 0px 10px;
  text-align: center;
  border-radius: 20px;
  font-weight: bold;
  margin-top: 10px;
  font-size: 14px;
  box-shadow: 0 2px 0 #CC7000;
}

.detail-txt-2 {
  color: #0099ff;
  text-decoration: none;
  margin-top: 8px;
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 450px) {
  body {
    line-height: 1.4;
  }

  .h2_main {
    font-size: 19px;
  }

  .icon-name-img {
    width: 130px;
  }

  .table-pattern1 {
    font-size: 14px;
  }
}


.ichiran_wrapper{
  padding: 20px;
  max-width: 680px;
  margin: 0 auto;
}




.h2-container{
  background-color: #fff;
  padding: 12px 12px 48px;
}

.colar-wrapper{
  padding: 12px 10px 12px;
}

.colar-wrapper:nth-child(1){
  background-color: #FFF8DC; 
}

.colar-wrapper:nth-child(2){
  background-color: #E0E0E0; 
}

.colar-wrapper:nth-child(3){
  background-color: #D2B48C; 
}

.colar-wrapper:nth-child(4){
  background-color: #C1E1C1; 
}

.colar-wrapper:nth-child(5){
  background-color: #ADD8E6; 
}

.colar-wrapper:nth-child(6){
  background-color: #B0C4DE; 
}

.colar-wrapper:nth-child(7){
  background-color: #FFFACD; 
}

.colar-wrapper:nth-child(8){
  background-color: #f8e1e2; 
}


img.icon-img {
  display: block;
  margin: 0 auto;
  width: 50px;
}

@media (max-width: 500px) {
  img.icon-img {
    display: block;
    margin: 0 auto;
    width: 30px;
  }
}



.red{
  color: red;
}

.br450{
  display: none;
}

@media (max-width: 500px) {
  .br450{
    display: block;
  }

  .kome{
    line-height: 1.1;
    display: block;
  }
}

@media (max-width: 400px) {
  .br450{
    display: none;
  }
}

.res650{
  display: none;
}

@media (max-width: 650px) {
  .res650{
    display: block;
  }
}



.res-400{
display: none;
}

@media (max-width: 400px) {
  .res-400{
    display: block;
    }
}


.br400{
  display: block;
}

@media (max-width: 400px) {
  .br400{
    display: none;
  }
}





.contents-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
}

.chapter {
  padding: 40px 0px;
}

.chapter-title {
  background: #0f73ba;
  color: white;
  font-size: 32px;
  padding: 15px 20px;
  margin: 0 0 40px;
  text-align: center;
  position: relative;
  font-weight: bold;
}

.chapter-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #0f73ba transparent transparent transparent;
}

.content-block {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
}

.br-768{
  display: none;
}

@media (max-width: 768px) {
  .br-768 {
    display: block;
  }
}



.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px auto;
}

.feature-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-title {
  color: #4aa3df;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
}

.feature-text {
  font-size: 16px;
  line-height: 1.6;
}

.highlight {
  background: linear-gradient(transparent 60%, rgba(74, 163, 223, 0.2) 40%);
  font-weight: bold;
}

.marker {
  background: linear-gradient(transparent 60%, #ffff66 60%);
  font-weight: bold;
}

.chapter-subttl{
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  color:#4aa3df;
}


.number {
  color: #4aa3df;
  font-weight: bold;
  font-size: 1.2em;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.case-item {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 450px) {
  .case-item {
    font-size: 14px;
    }
}


.merit-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.merit-title {
  font-size: 22px;
  color: #4aa3df;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4aa3df;
}

.merit-grid {
  display: grid;
  gap: 15px;
}

.merit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.merit-icon {
  background: #4aa3df;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.demerit .merit-title {
  color: #e74c3c;
  border-bottom-color: #e74c3c;
}

.demerit .merit-icon {
  background: #e74c3c;
}

.button-catch {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin: 30px 0 20px;
  margin: 0 auto;
}

.button02 {
  background: #FF8C00;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
  font-weight: bold;
  display: block;
  text-decoration: none;
  box-shadow: 0 3px 0 #CC7000;
}

@media (max-width: 768px) {
  .button-catch {
    font-size: 14px;
  }

  .chapter-title {
      font-size: 20px;
      padding: 12px 8px;
  }

  .features {
      grid-template-columns: 1fr;
      gap: 15px;
  }

  .feature-card {
      padding: 20px;
  }

  .feature-title {
      font-size: 20px;
  }

  .merit-box {
      padding: 20px;
  }

  .merit-title {
      font-size: 20px;
  }
  
  .case-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}


/* クリニック一覧 */
.clinic-container {
  max-width: 600px;
  margin: 20px auto;
  font-family: sans-serif;
  padding: 0 8px;
}


.main-title {
  background-color: #85B7A2;
  color: white;
  padding: 8px;  /* パディングを増やして余白を確保 */
  border-radius: 8px 8px 0 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;  /* 水平方向の中央揃え */
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
}

.location-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;  /* アイコンのサイズを固定 */
}

.location-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.clinic-list {
  background-color: white;
  padding: 14px;
  border-radius: 0 0 8px 8px;
  border: 2px solid #85B7A2;
  border-top: none;
}
.explain-ttx{
  max-width: 640px;
  margin: 0 auto;
  margin-bottom: 16px;
  padding: 0 8px;
}

.region {
  margin-bottom: 4px;
}
.region-title {
  font-size: 14px;
  color: #333;
  font-weight: bold;margin-bottom: 4px;
}
.prefecture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  margin-left: 1em;  /* 1文字分の空白 */

}
.prefecture {
  color: #2B88D9;
  text-decoration: none;
  display: inline;
  border-bottom: 1px solid #2B88D9;
  cursor: pointer;
  transition: all 0.3s;
}
.prefecture:hover {
  color: #1a5c99;
  border-color: #1a5c99;
}
.prefecture.active {
  color: #1a5c99;
  border-bottom: 2px solid #1a5c99;
  font-weight: bold;
}
.clinic-dropdown {
  display: none;
  position: relative;
  margin-top: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease-out;
  font-size: 14px;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.clinic-dropdown.active {
  display: block;
}
.clinic-item {
  border-bottom: 1px solid #eee;
  padding: 20px;
  position: relative;
}
.clinic-item:last-child {
  border-bottom: none;
}


.clinic-info {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 4px;
}




/* 冒頭デザイン */

.mc-heading-primary {
  font-weight: bold;
  line-height: 1.4;
  padding: 0 20px;
}



/* 吹き出し */
.mc-heading-bubble {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #0f73ba;
  color: white;
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 1;
}

/* 吹き出しの下向き三角形 */
.mc-heading-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #0f73ba transparent transparent transparent;
}



.mc-heading-text {
  position: relative;
  display: block;
  margin-bottom: 1rem;
  text-align: center;
  margin-top: 16px;
  font-size: 36px;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 20px;
}

@media (max-width: 500px) {
  .mc-heading-bubble {
    font-size: 16px;
  }
  
  .mc-heading-text {
    font-size: 30px;
    margin-top: 8px;
  }
}

.mc-heading-underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #0f73ba;
  transform: skew(-12deg);
}

.mc-heading-subtitle {
  display: block;
  font-size: 20px;
  color: #0f73ba;
  font-weight: bold;
  text-align: center;
}


.mc-section-heading {
  background: #0f73ba;
  color: white;
  padding: 8px 8px;
  border-radius: 0.5rem;
  margin-bottom: 4px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 18px;
}

.axis-comparison_txt{
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .mc-title-container {
      padding: 1.5rem 0.75rem;
  }
  
  .mc-heading-primary {
      margin-bottom: 1.5rem;
  }
  
  .mc-heading-subtitle {
      margin-top: 0.75rem;
  }

.axis-comparison_txt{
  max-width: 640px;
  margin: 0 auto;
}
}

.mc-section-container{
  padding: 0 20px;
}



.axis-comparison__container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0;
  aspect-ratio: 1 / 1;
  background-color: #fff;
}



/* 軸のスタイル */

.axis-comparison__wrapper{
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-top: 40px;
}

/* 右側のラベル（既存の修正） */
.axis-comparison__axis-label--right {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  text-orientation: mixed;
  height: auto;
  line-height: 1.5;
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  /* font-weight: bold; */
}

/* 左側のラベル（新規追加） */
.axis-comparison__axis-label--left {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  text-orientation: mixed;
  height: auto;
  line-height: 1.5;
  position: absolute;
  left: 1%;
  top: 50%;
  transform: translateY(-50%);
  /* font-weight: bold; */

}

/* 上側のラベル（既存の修正） */
.axis-comparison__axis-label--top {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1%;
  /* font-weight: bold; */

}

/* 下側のラベル（新規追加） */
.axis-comparison__axis-label--bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1%;
  /* font-weight: bold; */

}

.axis-comparison__axis {
  position: absolute;
  background: #e0e0e0;
}

/* X軸 */
.axis-comparison__axis--x {
  width: 80%;
  height: 2px;
  left: 10%;
  top: 50%;
}

/* X軸の矢印 */
.axis-comparison__axis--x::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 10px solid #e0e0e0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* X軸の左向き矢印 */
.axis-comparison__axis--x::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -4px;
  width: 0;
  height: 0;
  border-right: 10px solid #e0e0e0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Y軸 */
.axis-comparison__axis--y {
  width: 2px;
  height: 80%;
  left: 50%;
  top: 10%;
}

/* Y軸の矢印 */
.axis-comparison__axis--y::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -4px;
  width: 0;
  height: 0;
  border-bottom: 10px solid #e0e0e0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

/* Y軸の下向き矢印 */
.axis-comparison__axis--y::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -4px;
  width: 0;
  height: 0;
  border-top: 10px solid #e0e0e0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.axis-comparison__clinic {
  position: absolute;
  width: 110px;
  text-align: center;
  transform: translate(-50%, -50%);
}

@media (min-width: 450px) {
  .axis-comparison__clinic {
    width: 140px;
  }
}

@media (min-width: 500px) {
  .axis-comparison__clinic {
    width: 160px;
  }
}

@media (min-width: 600px) {
  .axis-comparison__clinic {
    width: 180px;
  }
}





.axis-comparison__clinic-name {
  font-family: sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  color: #333;
  margin: 0;
  letter-spacing: 1px;
}

.axis-comparison__clinic-label {
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}

.axis-comparison__axis-label {
  position: absolute;
  font-size: 14px;
  color: #333;
}

/* 検索セクション全体のスタイル */
/* 検索セクション全体のスタイル */
.filter-section {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* フレックスボックス関連 */
.flex {
    display: flex;
}

.flex-grow {
    flex-grow: 1;
}

.gap-2 {
    gap: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.justify-center {
    justify-content: center;
}

/* 入力エリアのコンテナ */
.input-box {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
}

/* 郵便番号入力フィールド */
.input-post {
    max-width: 450px;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 2px;
    width: 90%;

}




/* ラベルとinput-boxを横並びにするコンテナ */
.search-form-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 700px) {
  .search-form-container {
    display: block;
}

.search-form-container:nth-child(2){
  margin-top: 32px;

}
}

/* ラベルのスタイル */
.search-label {
    white-space: nowrap; /* ラベルのテキストを折り返さない */
    min-width: max-content; /* コンテンツの幅を維持 */
    font-weight: bold;
    color: #374151;
    width: 112px;
}

/* 検索ボタン */
.input-post-button {
  padding: 0.75rem 2rem;
  height: fit-content;
  margin-top: 0;
  background-color: #0f73ba;  /* 青背景 */
  color: white;  /* 白文字 */
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: bold;
}

.input-post-button:hover {
  background-color: #e5e7eb;  /* グレー背景 */
  color: #000;  /* 黒文字 */
}

/* 現在地で探すボタン */
.btn-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background-color: #22c55e;
    color: white;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 700px) {
  .btn.btn-location {
    width: 100%;
    margin-right: auto;
    margin-top: 8px;
}
.input-post-button {
  width: 30%;
}

}

.btn-location:hover {
    background-color: #16a34a;
}

/* アイコン関連 */
.location-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.location-pass {
    stroke: currentColor;
}

/* テキストスタイル */
.block {
    display: block;
}

.text-sm {
    font-size: 0.875rem;
}

.font-medium {
    font-weight: 500;
}

.text-gray-700 {
    color: #374151;
}

/* ラベル */
label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* 見出し */
.search-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #0f73ba;
}

/* ローディング関連 */
.hidden {
    display: none;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* レスポンシブ対応 */
@media (max-width: 640px) {

    .input-post {
        width: 100%;
    }

    .btn-location {
        width: 100%;
        justify-content: center;
    }

    .filter-section {
        padding: 1rem;
    }
}

/* 検索結果エリア */
#results {
    margin-top: 2rem;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

#error {
    color: #dc2626;
    background-color: #fee2e2;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* 詳しく見るボタンのスタイル */
.button-details-new {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0f73ba;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-left: 15px;
  white-space: nowrap;
}

.button-details-new:hover {
  background-color: #0d5c94;
  transform: translateY(-2px);
}

.clinic-card a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0f73ba;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: bold;
  margin-top: 10px;
}

.clinic-card a:hover {
  background-color: #0d5c94;
  transform: translateY(-2px);
}

/* 検索ボタンのスタイル */
#searchButton {
  padding: 10px 20px;
  background-color: #0f73ba;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

#searchButton:hover {
  background-color: #0d5c94;
  transform: translateY(-2px);
}





.course-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.course-title {
  background-color: #0f73ba;
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 4px 16px;
}

.course-content {
  background-color: #e6f3ff;
  padding: 12px 30px;
  border-radius: 0 0 8px 8px;
}

.course-list {
  list-style: none;
}

.course-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.course-item:last-child {
  margin-bottom: 0;
}

.course-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #0f73ba;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.deco_blue{
  color: #0066cc; 
  text-decoration: underline; 
}

@media (max-width: 768px) {
  .course-content {
      padding: 20px;
  }

  .course-item {
      font-size: 16px;
      margin-bottom: 15px;
  }
}

@media (max-width: 480px) {

  .course-content {
      padding: 15px;
  }

  .course-item {
      font-size: 14px;
      margin-bottom: 12px;
  }
}

.note-box{
  max-width: 600px;
  width: fit-content;
  margin: 0 auto;

}


.note{
  font-size: 10px;
  line-height: 1.2;
  display: inline-block;
}

.note.note-mt{
  margin-top: 16px;
}



.sup-mark {
  vertical-align: super;
  font-size: 10px;
  line-height: 1;
}




.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.button-back {
  color: #666;
  padding: 10px 32px;
  border: 2px solid #f4f4f4;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.button-back:hover {
  opacity: 0.8;
  transform: translateY(3px);
}

/* *{
    outline: 2px red solid;
} */

.top3-img{
  max-width: 500px;
  display: block;
  /* padding: 0 16px; */
  margin: 0 auto;
}


.button.button_mb{
  margin-bottom: 32px;
}

.brand-img{
  max-width:  100px;
}

.comparison-container {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 15px;
  overflow: hidden;
  background-color: white;
}

.comparison-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
}

.column-header {
  width: 100%;
  padding: 0px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-visit .column-header {
  background-color: #e4f4ff; /* サブメインカラー1 */
  border-bottom: 3px solid #e4f4ff;
}

.visit-required .column-header {
  background-color: #ffe6cc; /* アクセントカラーの薄い色 */
  border-bottom: 3px solid #ffe6cc;
}

.no-visit {
  border: 4px solid #e4f4ff;
}

.visit-required {
  border: 4px solid #ffe6cc;
}

.column-title {
  color: #1f5555;
  font-weight: bold;
  text-align: center;
}

.header-icon {
  font-size: 32px;
  margin-right: 10px;
}

.brand-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  background-color: white;
}

.brand-item {
  margin: 0px 0;
  text-align: center;
  width: 100%;
}

.brand-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.brand-link:hover {
  transform: scale(1.05);
}

.brand-logo {
  max-width: 150px;
  height: auto;
  padding: 5px;
}

@media (max-width: 600px) {
  /* .comparison-container {
      flex-direction: column;
  } */
  
  .column-header {
      padding: 4px 0px;
  }
  
  .brand-list {
      padding: 8px 0px;
  }
  
  .column-title {
      font-size: 16px;
  }
  
  .header-icon {
      font-size: 20px;
      margin-right: 4px;
  }
  
  .brand-logo {
      max-width: 140px;
  }
}



/* .hikaku-wrapper {
  width: 100%;
  max-width: 600px; 
  margin: 0 auto; 
  box-sizing: border-box;
}


.tabs {
  display: flex;
  width: 100%;
}

.tab {
  flex: 1;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab.active.remote {
  background-color: #3498DB;
  color: white;
  border-bottom: 3px solid #2073B9;
}

.tab.active.regular {
  background-color: #5DADE2;
  color: white;
  border-bottom: 3px solid #2073B9;
}

.tab.remote:not(.active) {
  background-color: #E1F0FA;
  color: #3498DB;
}

.tab.regular:not(.active) {
  background-color: #E1F0FA;
  color: #5DADE2;
}

.icon {
  font-size: 24px;
  margin-right: 10px;
}

.tab-text {
  font-size: 20px;
  font-weight: bold;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  border: 1px solid #E9ECEF;
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}

.comparison-table th {
  font-weight: bold;
  width: 20%;
}

.remote-table th {
  background-color: #3498DB;
  color: white;
}

.regular-table th {
  background-color: #5DADE2;
  color: white;
}



.rank {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.rank-1 {
  background-color: #ffd700;
}

.rank-2 {
  background-color: #c0c0c0;
}

.rank-3 {
  background-color: #cd7f32;
}

.rating {
  color: #ffc107;
  font-size: 24px;
  font-weight: bold;
}

.remote-table .price, .remote-table .highlight {
  color: #3498DB;
  font-weight: bold;
}

.regular-table .price, .regular-table .highlight {
  color: #2073B9;
  font-weight: bold;
}

.remote-table .good-point {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #3498DB;
  margin-bottom: -4px;
}

.regular-table .good-point {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #5DADE2;
  margin-bottom: -4px;
}

.neutral-point {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ccc;
  margin-bottom: -4px;
}

.remote-table .point-box {
  background-color: #E1F0FA;
  padding: 10px;
  border-radius: 5px;
  margin-top: 5px;
}

.regular-table .point-box {
  background-color: #E1F0FA;
  padding: 10px;
  border-radius: 5px;
  margin-top: 5px;
}

.remote-table .button {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 12px;
  background-color: #E1F0FA;
  color: #3498DB;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.regular-table .button {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 12px;
  background-color: #E1F0FA;
  color: #2073B9;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.remote-table .button:hover {
  background-color: #3498DB;
  color: white;
}

.regular-table .button:hover {
  background-color: #5DADE2;
  color: white;
}
.region-list {
  display: none;
  margin-top: 10px;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.region-list.active {
  display: block;
}

.region-title {
  font-weight: bold;
  color: #555;
  margin: 10px 0 5px 0;
}

.location-links {
  margin: 5px 0 10px 0;
}

.location-links a {
  color: #3498DB;
  text-decoration: none;
  margin-right: 10px;
  margin-bottom: 5px;
  display: inline-block;
}

.location-links a:hover {
  text-decoration: underline;
}

.regular-table .location-links a {
  color: #2073B9;
}

.store-list-button {
  display: inline-block;
  color: #3498DB;
  font-weight: bold;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid #3498DB;
}

.regular-table .store-list-button {
  color: #2073B9;
  border-bottom: 2px solid #2073B9;
}

.clinic-info {
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
} */



.hikaku-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 24px 16px 64px;
}

.hikaku-ttl-img{
    width: 80%;
    max-width: 500px;
}

.preview-title {
  text-align: center;
  font-size: 36px;
  /* font-weight: bold; */
}

.tabs {
  display: flex;
  width: 100%;
  margin-bottom: 0;
  box-sizing: border-box;
}


.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}

.tab.active.remote {
  background-color: #3498DB;
  color: white;
  border-bottom: 3px solid #3498DB;
  border-radius: 8px 8px 0 0;
}

.tab.active.regular {
  background-color: #5DADE2;
  color: white;
  border-bottom: 3px solid #5DADE2;
  border-radius: 8px 8px 0 0;
}

.tab.remote:not(.active) {
  background-color: #E1F0FA;
  color: #3498DB;
}

.tab.regular:not(.active) {
  background-color: #E1F0FA;
  color: #5DADE2;
}


.icon {
  font-size: 24px;
  margin-right: 10px;
}

.tab-text {
  font-size: 20px;
  font-weight: bold;
}

.tab-content {
  display: none;
  width: 100%;
  box-sizing: border-box;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s;
  width: 100%;
  margin-top: 0;
}

#remote-content.tab-content.active {
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding-top: 0;
}

#regular-content.tab-content.active {
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding-top: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  table-layout: fixed;
}

.remote-table {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}

.regular-table {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}

/* テーブルのカラム幅設定 */
.comparison-table th:first-child {
  width: 10%;
}

/* 2-4列目の幅設定 */
.comparison-table td:not(:first-child) {
  width: 22.5%;
  min-width: 180px;
}

.comparison-table th, .comparison-table td {
border: 1px solid #E9ECEF;
padding: 15px;
text-align: center;
position: relative;
line-height: 1.5;
}

/* 左列（th）を中央揃えに */
.comparison-table th {
vertical-align: middle;
}

/* tdは上揃えのままにする */
.comparison-table td {
vertical-align: top;
}


/* 平均治療期間とお試し体験の行だけ中央揃えに */
.comparison-table tr:nth-child(3) td,
.comparison-table tr:nth-child(5) td {
  vertical-align: middle;
}

/* セル内のテキスト揃え */
.comparison-table td > div:first-child,
.comparison-table td > span:first-child {
  display: block;
  margin-top: 0;
}

.comparison-table th {
  font-weight: bold;
}

.remote-table th {
  background-color: #3498DB;
  color: white;
}

.regular-table th {
  background-color: #5DADE2;
  color: white;
}

.clinic- {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 高さ指定を削除 */
  position: relative;
}

.clinic- img {
width: 96%;
  object-fit: contain;
}

.clinic-mei img{
    width: 100%;
  }

.comparison-table__name {
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
}

.clinic-num {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 5px 0;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}

.store-list-button {
  display: inline-block;
  color: #3498DB;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px dotted #3498DB;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 5px;
}

.store-list-button:hover {
  color: #1d6fa5;
  border-bottom: 1px solid #1d6fa5;
}

.regular-table .store-list-button {
  color: #2073B9;
  border-bottom: 1px dotted #2073B9;
}

.regular-table .store-list-button:hover {
  color: #165689;
  border-bottom: 1px solid #165689;
}

.region-list {
  display: none;
  margin-top: 15px;
  text-align: left;
  padding: 15px 15px 10px 15px;
  border-top: 1px solid #e1f0fa;
  animation: slideDown 0.3s ease-in-out;
}

.region-list.active {
  display: block;
}

.region-title {
  font-weight: bold;
  color: #555;
  margin: 10px 0 5px 0;
}

.location-links {
  margin: 5px 0 10px 0;
  display: flex;
  flex-wrap: wrap;
}

.location-links a {
  color: #3498DB;
  text-decoration: none;
  margin-right: 15px;
  margin-bottom: 8px;
  display: inline-block;
}

.location-links a:hover {
  text-decoration: underline;
}

.remote-table .button, .regular-table .button {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 12px;
  background-color: #FF9933;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
  box-sizing: border-box;
}

.remote-table .button:hover, .regular-table .button:hover {
  background-color: #FF8000;
  color: white;
}

.icon-mark{
    width: 50px;
}


@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* レスポンシブ対応 - 小さい画面サイズでの文字サイズ調整 */
@media screen and (max-width: 768px) {
  /* 全体のフォントサイズを小さく */
  .hikaku-wrapper {
    font-size: 14px;
    padding: 0px 16px 64px;
  }

  
  /* タブのテキストサイズを調整 */
  .tab-text {
    font-size: 16px;
  }
  
  .icon {
    font-size: 18px;
  }

  .preview-title {
  margin-bottom: 10px;
  font-size: 24px;
}


  
  /* テーブル内のフォントサイズ調整 */
  .comparison-table {
    font-size: 12px;
  }
  
  /* クリニック名のフォントサイズ */
  .comparison-table__name {
    font-size: 12px;
  }

  .remote-table .button, .regular-table .button {
  padding: 4px;
}
  
  /* パディングを少し縮小 */
  .comparison-table th, 
  .comparison-table td {
    padding: 8px 2px;
  }
  
  /* 公式サイトボタンの調整 */
  .button {
    font-size: 12px;
    padding: 4px;
  }

  .icon-mark{
    width: 36px;
  }
  
  /* 注釈のサイズ */
  .note {
    font-size: 10px;
  }
}