@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: 2rem!important;
  color: #01ACDC!important;
  line-height: 3rem!important;
  text-align: left!important;
}

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



/* ボタン全体 */
a.button-link {
    display: flex;  /* フレックスボックスを適用 */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: space-between; /* 左右に要素を配置 */
    padding: 15px 25px;  /* 高さを調整 */
    font-size: 1.7em;
    background-color: #65b8d9;
    border-radius: 35px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 auto;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    width: fit-content; /* コンテンツに応じた幅 */
    min-width: 250px; /* 最小幅を設定（必要なら調整） */
}

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

a.button-link:hover {
    background-color: #8184c4;
    transform: translateY(-2px);  /* ボタンが少し浮くような効果 */
}

/* テキスト部分 */
.button-text {
    flex-grow: 1; /* テキスト部分が伸びて左に配置 */
}

/* 矢印（>）部分 */
.button-icon {
    font-size: 1.2em; /* アイコンサイズ調整 */
    margin-left: 15px; /* テキストとの間隔 */
    transition: transform 0.2s ease; /* ホバー時の動きをつける */
    position: relative;
    top: -2px; /* これで少し上に移動 */
}

/* ホバー時に矢印が少し動く */
a.button-link:hover .button-icon {
    transform: translateX(5px);  /* 右にスライド */
}


/* テキスト部分 */
.button-text {
    flex-grow: 1; /* テキスト部分が伸びて左に配置 */
}

/* 矢印（>）部分 */
.button-icon {
    font-size: 1.2em; /* アイコンサイズ調整 */
    margin-left: 15px; /* テキストとの間隔 */
    transition: transform 0.2s ease; /* ホバー時の動きをつける */
}

/* ホバー時に矢印が少し動く */
a.button-link:hover .button-icon {
    transform: translateX(5px);  /* 右にスライド */
}


/* テキスト部分 */
.button-text {
    flex-grow: 1; /* 残りのスペースをすべて占める */
}

/* 矢印（>）部分 */
.button-icon {
    font-size: 1.5em;
    margin-left: 20px; /* テキストとの間隔 */
}



.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: 15px;
  padding: 15px 30px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box; /* padding を width に含める */
  color: #333;
}


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

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

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

h4.info-ttl-B {
  background-color: #ebe7e3;
  margin-bottom: 1rem;
}

/*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;
  margin: 0 1rem 1.5rem;
  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; /* テキストを折り返せるように変更 */
    }
  }
  

.heading {
  background: linear-gradient(to right, #ffe4c4, #d3f9d8, #e0f7fa);
  padding: 1.5rem 1.5rem 1.2rem 2rem;
  text-align: left !important;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
}

.heading-text {
  display: inline-block; /* または block */
  color: #000;
  font-size: 1.5rem;
  line-height: 1.4 !important;
}

h4.ttl-generic {
  font-size: 1.3rem!important;
  margin: 1.4rem 0 1rem;
}

h4 .number-circle {
  background-color: #65b8d9;  /* お好みの背景色に変更 */
  color: #fff;                /* 文字色（背景とコントラストを取るために白などがおすすめ） */
  border-radius: 50%;         /* 円形にする */
  width: 1.5em;               /* 円の幅（調整可能） */
  height: 1.5em;              /* 円の高さ（調整可能） */
  display: inline-flex;       /* 中央寄せのためにflexを利用 */
  align-items: center;        /* 垂直方向の中央寄せ */
  justify-content: center;    /* 水平方向の中央寄せ */
  font-weight: bold;          /* 数字を強調 */
  margin-right: 0.1em;        /* 数字とテキストの間に余白を追加 */
  font-size: 1.3rem;
}

/*sp*/@media (max-width: 767px)  {
  div .img-sp {
    width: 80%!important;
  }
  
}


h4.ttl-menu {
  font-size: 10px;
  background-color: #00b7c1;
  color: white;
  padding: 10px;
  width: 100px; /* Set width to 100px */
  margin: 0 auto; /* Center horizontally */
  text-align: center;
  border-radius: 5px;
  position: relative; /* Add relative positioning */
  z-index: 1; /* Ensure it's on top of the div */
  position: absolute;
  top: -1.5em;
  left: 50%; /* Center horizontally */
  transform: translateX(-50%);
}

h4.ttl-menu::after {
  content: '';
  position: absolute;
  bottom: -10px; /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #00b7c1; /* Match the background color */
}

.section-menu {
  background-color: #f9f8f5;
  position: relative;
  padding: 3em;
  margin: 7em 0 30px;
  border-radius: 20px;
  border: #00b7c1 solid 2px;
}
.section-menu p {
  margin: 10px 0;
}
.section-menu ol {
  margin-left: 20px;
}
.section-menu ul {
  list-style-type: square;
  margin-left: 20px;
}

.section-menus {
  display: flex;
  justify-content: space-between;
  margin-top: 6em;
}

.section-menu2 {
  background-color: #f9f8f5;
  position: relative;
  padding: 3em;
  border-radius: 20px;
  width: 400px;
  border: #00b7c1 solid 2px;
}

/*sp*/@media (max-width: 640px) {
  .section-menus {
    flex-direction: column;
  }
  
  .section-menu2 {
    width: auto;
    margin-bottom: 6em;
  }
}

.section-menu h3,
.section-menus h3 {
  position: relative;
  padding: 0.2rem 0;
  color: #00b7c1;
  text-align: left!important;
  margin-bottom: 0.5em;
}


