@charset "utf-8";

/* 
 * **************************************************
 * 見出し　デザイン
 * **************************************************
 */

 .yosan01 {
  padding: 0 20px;
 }
 #content ul,
 #content ol {
  font-size: 1rem;
  line-height: 1.8rem;
 }

 sup {
  font-size: 0.7em; /* テキストを小さくする */
  vertical-align: super; /* 位置を調整する */
}

.box-kansyu {
  display: flex;
  align-items: center;
  background: #EEF9F9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.kansyu {
  width: 62px;
  height: 62px;
  background-color: #00b7c4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  color: #ffffff;
  font-weight: bold;
}

.name {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.name p {
  margin: 0;
}


table.tb-bmi {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

table.tb-bmi th, .tb-bmi td {
    padding: 5px 7px;
    text-align: center;
    font-size: 0.9rem;
}

table.tb-bmi th {
    background-color: #E0669A;
    color: #ffffff;
}

table.tb-bmi tr {
    border-bottom: 1px solid #dddddd;
}

table.tb-bmi tr:nth-of-type(even) {
    background-color: #FAFAFA;
}

table.tb-bmi tr:last-of-type {
    border-bottom: 2px solid #EE0669A;
}



/* セクション1スタイル */
  .section-A,
  .section-B,
  .section-C {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
  }

  .section-A .text,
  .section-B .text {
      flex: 1;
      padding: 0 0 0 20px;
      align-self: flex-start;
  }

  .section-A .image,
  .section-B .image {
      flex: 1;
      padding: 0 0 0 20px;
      align-self: flex-start;
  }

  .section-C .text {
      flex: 1;
      padding: 0 20px 0 0;
      align-self: flex-start;
  }

  .section-C .image {
      flex: 1;
      padding: 0 0 0 20px;
      align-self: flex-start;
  }

  .section-A img,
  .section-B img,
  .section-C img {
      max-width: 100%;
      height: auto;
  }

  .section-E .image {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
  }
  .section-E .image img {
    width: 80%;
  }


  /* スマートフォン用レスポンシブ */
  @media screen and (max-width: 768px) {
      .section-A,
      .section-B,
      .section-C {
          flex-direction: column;
      }

      .section-A .text,
      .section-B .text,
      .section-C .text, 
      .section-A .image,
      .section-B .image,
      .section-C .image {
          margin: 0 auto;
          width: 90%;
      }

      table.tb-bmi {
          width: 90%;
      }
}

h3.zen-maru-gothic-bold {
  margin-top: 1rem!important;
  margin-bottom: 1rem!important;
  font-family: "Zen Maru Gothic", serif!important;
  font-weight: 700!important;
  font-style: normal!important;
  font-size: 2.3rem!important;
  color: #01ACDC!important;
  line-height: 3rem!important;
}

/*sp*/@media (max-width: 767px)  {
    h3.zen-maru-gothic-bold {
      font-size: 1.6rem!important;
      line-height: 2rem!important;
    }
}



ul.button-link {
    display: inline-block;
    padding: 10px 40px;
    font-size: 1em;
    background-color: #F9AA52;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    margin: 0rem auto 0;
    text-align: center;
}

@media screen and (max-width: 768px) {
    ul.button-link {
        border-radius: 50px;
    }
}

ul.button-link li a {
    color: #fff!important;
    text-decoration: none;
}

ul.button-link:hover {
    background-color: #F67F00;
}

.memo {
  font-size: 0.5rem;
}

/*pc*/@media (min-width: 768px)  {
  .pc-br {
    display: none;
  }
}

/*sp*/@media (max-width: 767px)  {
  .sp-br {
    display: none;
  }
}


/*pc*/@media (min-width: 768px)  {
    .floatL2 p {
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 2em;
    }
}

.info-box{
  background-color: #f0f0f0;
  padding: 20px 30px;
  border-radius: 15px; 
  margin-bottom: 2em;
}

/* Add this to your CSS file */
h4.info-ttl,
h4.info-ttl-B {
  border-radius: 40px;
  padding: 10px;
  display: inline-block;
  width: 100%;
}

h4.info-ttl {
  font-size: 1.4rem!important;
  margin-bottom: 0.8rem;
}

h4.info-ttl-B {
  font-size: 1.9rem!important;
}

h4.info-ttl {
  background-color: #f0f0f0;
}

h4.info-ttl-B {
  background-color: transparent;
  border-bottom: 3px dotted;
  margin-bottom: 1rem;
  border-radius: 0px;
  width: 97%;
}

/*sp*/@media (max-width: 767px)  {
  h4.info-ttl,
  h4.info-ttl-B {
    width: 94%;
  }
}

h4.info-ttl .circle-number,
h4.info-ttl-B .circle-number {
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-right: 10px;
}

h4.info-ttl .circle-number {
  color: #000;
}

h4.info-ttl-B .circle-number {
  font-size: 1.5rem!important;
  color: #fff;
  border: 1px solid #fff; /* Outer pink border */
  box-shadow: 0 0 0 2px #c0c0c0; /* Inner white border */
  box-sizing: border-box;
}


.waku-A {
  background-color: #fff;
  border: 1px dashed #424242;
  padding: 15px;
  border-radius: 20px;
  margin-top: 1em;
}

.waku-A p {
  color: #424242;
  text-indent: -1em;
  margin-left: 1em;
  margin-top: 0;
  text-align: left;
}

.waku-A h5 {
  color: #424242;
  font-size: 1.2rem!important;
  text-align: center; /* 親要素の中で中央揃え */
  background-color: #fff;
  display: inline-block;
  position: relative;
  top: -1.6em;
  margin: 0 auto; /* 要素自体を中央揃え */
  padding: 0 0.5em;
}

div.taisyo u {
  font-weight: bold;
}

div.taisyo dl {
  display: flex;           /* dl を flex 化し、dt と dd を横並びにする */
  align-items: flex-start; /* 上揃え */
  margin-bottom: 10px;     /* 全体の下マージンはお好みで */
  font-size: 1rem;
}

div.taisyo dt {
  white-space: nowrap;
  background-color: #eb6d9a;
  color: #fff;
  padding: 1px 10px;
  border-radius: 20px;
  width: 100px;
  /* display: inline-block; でもOK。flex 子要素なので block にしても横並びは崩れにくい */
  text-align: center;
  margin-right: 10px; /* dt と dd の間隔 */
  flex-shrink: 0;     /* dt がつぶれないように */
}

div.taisyo dd {
  /* dt の右に来るので、display:flex は不要 */
  text-align: left;
  margin: 0;          /* dt との段落余白調整はお好みで */
  /* 必要に応じて padding など調整 */
}


.info-row {
    display: flex;
    align-items: flex-start; /* 上部を揃える */
    gap: 1rem; /* 列間のスペースを調整 */
  }

  .first-column {
    white-space: nowrap; /* テキストを折り返さない */
    display: flex;
    align-items: flex-start; /* 1列目の要素も上部を揃える */
  }

  .second-column {
    flex: 1; /* 残りのスペースを占有 */
    word-break: break-word; /* 長いテキストを折り返す */
    font-size: 1.2rem;
  }

@media (max-width: 768px) {
    .info-row {
      flex-direction: column; /* 縦方向に並べる */
      gap: 0.5rem; /* 縦方向の間隔を調整 */
    }

    .first-column {
      white-space: normal; /* テキストを折り返せるように変更 */
    }
  }
  