@charset "UTF-8";
/* foundation */
/* variable */
/* color */
/* base */
/* others */
/* mixin */
/* base */
/* foundation */
body {
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  background-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #00008F;
  background-color: #fff;
  background-repeat: repeat-x;
  background-position: 0 0; /* left top と同じ。数値(0)で指定するのが最も確実 */
  background-size: auto; /* 拡大縮小を禁止 */
  background-attachment: scroll; /* fixedではなくscrollにすることで、要素に対して固定されます */
  -webkit-font-smoothing: antialiased;
}
@media screen and (min-width: 769px) {
  body {
    font-size: 16px;
  }
}

main {
  flex-grow: 1;
  overflow: clip;
}

ul, li {
  list-style: none;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* layout */
/* base */
.l-container {
  position: relative;
  width: 100%;
  max-width: calc(950px + 15px * 2);
  padding-right: 15px;
  padding-left: 15px;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  .l-container {
    padding: 0 20px;
  }
}

@media screen and (min-width: 769px) {
  br.sp {
    display: none;
  }
}

/* component */
/* base */
.button {
  max-width: 535px;
  margin: 24px auto;
}
.button a {
  display: block;
  background-color: #642F6C;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s;
  text-decoration: none;
}
@media screen and (min-width: 769px) {
  .button a {
    font-size: 28px;
  }
}
.button a:hover {
  opacity: 0.7;
}

.grayed-out a {
  background-color: #C1C1C1;
}

/* base */
.c-link {
  color: #00008F;
  text-decoration: underline;
  transition: color 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .c-link:hover {
    opacity: 0.7;
  }
}
.c-link img {
  display: inline-block;
  margin-left: 4px;
  margin-bottom: 3px;
}
.c-link img.p-mv__batch {
  transition: 0.3s;
}
.c-link img.p-mv__batch:hover {
  opacity: 0.8;
}

/* project */
/* base */
.kv {
  background-color: #642F6C;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.kv img.bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain; /* アスペクト比を維持して収める（coverでも可） */
  background-position: right bottom;
  pointer-events: none; /* 画像上のクリックを下の要素に透過させる場合 */
  z-index: 2;
  /* スマホ表示時に位置やサイズを変更する場合 */
}
@media screen and (min-width: 480px) {
  .kv img.bg {
    width: 300px;
  }
}
.kv h1 {
  color: #fff;
  text-align: left;
  margin-top: 12px;
  font-size: 32px;
}
@media screen and (min-width: 1024px) {
  .kv h1 {
    font-size: 52px;
  }
}

/* コンテナ */
.tab-container {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-top: 60px;
}

.tab-navigation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  margin-bottom: 24px;
}
@media screen and (min-width: 769px) {
  .tab-navigation {
    flex-direction: row;
    gap: 0;
    margin-bottom: 0;
  }
}
.tab-navigation .tab-btn {
  min-width: 140px;
  min-height: 70px;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border: none;
  outline: none;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  border-radius: 40px;
  background-color: #b79cc1;
  color: #ffffff;
  transition: all 0.25s ease;
  word-break: break-word;
}
@media screen and (min-width: 769px) {
  .tab-navigation .tab-btn {
    border-radius: 16px 16px 0 0;
    font-size: 18px;
    min-height: inherit;
  }
}
.tab-navigation .tab-btn:hover:not(.active) {
  background-color: #a485b0;
}
.tab-navigation .tab-btn.active {
  background-color: #642F6C;
  color: #ffffff;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.tab-content-wrapper {
  padding: 32px 16px;
  background-color: #ffffff;
  border: 1px solid #642F6C;
  color: #642F6C;
  /* アクティブなコンテンツのみ表示 */
}
.tab-content-wrapper .tab-content {
  display: none; /* デフォルトは非表示 */
  animation: fadeIn 0.3s ease-in-out;
}
.tab-content-wrapper .tab-content.active {
  display: block;
}
.tab-content-wrapper h3 {
  font-size: 28px;
  color: #642F6C;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}
@media screen and (min-width: 769px) {
  .tab-content-wrapper h3 {
    font-size: 32px;
  }
}
.tab-content-wrapper p {
  line-height: 1.7;
  font-size: 16px;
}
.tab-content-wrapper p.ttl {
  font-size: 20px;
}

.contents_border {
  padding: 12px;
  border-radius: 24px;
  border: 4px solid #642F6C;
  box-sizing: border-box;
  margin-top: 40px;
}
@media screen and (min-width: 769px) {
  .contents_border {
    padding: 24px;
  }
}

.arrow {
  position: relative;
  margin-bottom: 48px;
}
.arrow::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 28px 40px 0 40px;
  border-color: #642F6C transparent transparent transparent;
}

.form-block {
  background-color: #F1EBF3;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.form-block:last-child {
  margin-bottom: 0;
}

.form-row {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px 16px;
}
@media screen and (min-width: 769px) {
  .form-row {
    flex-direction: row;
    align-items: center;
  }
}

.form-row + .form-row {
  margin-top: 14px;
}

.label {
  font-weight: bold;
  color: #642F6C;
  font-size: 20px;
  white-space: nowrap;
}

.label-group {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 10px;
}
@media screen and (min-width: 769px) {
  .label-group {
    flex-direction: row;
    align-items: center;
  }
}
.label-group.group {
  flex-direction: row;
}

.select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: #642F6C;
  font-size: 12px;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  border: 1px solid var(--sogroya-border-box);
  border-radius: 6px;
  padding: 6px 30px 6px 12px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  color: #a8a8a8;
  transition: color 0.2s ease;
}
@media screen and (min-width: 769px) {
  .custom-select {
    font-size: 16px;
  }
}
.custom-select.year {
  color: #642F6C;
}

/* 選択後の紫色指定 */
.custom-select.is-selected {
  color: #642F6C;
}

/* 数値入力インプット */
.custom-input {
  background-color: #ffffff;
  border: 1px solid #642F6C;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 15px;
  outline: none;
  width: 130px;
  color: #642F6C;
  transition: color 0.2s ease;
}

.custom-input::placeholder {
  color: #a8a8a8;
}

.custom-input.is-filled {
  color: #642F6C;
  font-weight: bold;
}

option {
  color: #642F6C;
}

.unit-text {
  color: #642F6C;
  font-size: 15px;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.attention {
  padding: 16px;
  background-color: #DDF0F4;
  color: #215C88;
  border-radius: 12px;
}
.attention span {
  color: #EF0004;
}

.note-text {
  line-height: 1.3;
  display: block;
  font-size: 12px;
}
.note-text + .note-text {
  margin-bottom: 16px;
}

.score {
  padding: 16px;
  background-color: #F1EBF3;
  border-radius: 12px;
  margin: 24px 0;
}
.score .flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}
@media screen and (min-width: 769px) {
  .score .flex {
    flex-direction: row;
  }
}
.score p.ttl {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .score p.ttl {
    font-size: 32px;
    text-align: left;
  }
}
.score p.ttl span {
  font-size: 16px;
  font-weight: 300;
  display: block;
}
@media screen and (min-width: 769px) {
  .score p.ttl span {
    font-size: 18px;
  }
}
.score .value {
  font-size: 76px;
  font-weight: bold;
  margin: 0;
}
@media screen and (min-width: 769px) {
  .score .value {
    font-size: 96px;
  }
}
.score .value span {
  font-size: 36px;
}

.detail {
  margin-bottom: 40px;
}
.detail dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: bold;
}
@media screen and (min-width: 769px) {
  .detail dl {
    flex-direction: row;
    gap: 24px;
    font-size: 20px;
  }
}
@media screen and (min-width: 769px) {
  .detail dl dt {
    width: 340px;
  }
}
.detail dl dd span {
  display: inline-block;
  padding: 4px 12px;
  background-color: #F1EBF3;
  border-radius: 4px;
}
@media screen and (min-width: 769px) {
  .detail dl dd span {
    margin-left: 8px;
  }
}

.contents-bottom {
  color: #515154;
  padding: 24px 0 0;
  border-top: 1px solid #D9D9D9;
  margin-top: 60px;
}
.contents-bottom p {
  margin-bottom: 16px;
  font-size: 12px;
}
.contents-bottom a {
  color: #215C88;
  text-decoration: underline;
}
.contents-bottom .supervision {
  font-size: 16px;
}

/* ------------tab 2------------------*/
.sub-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 32px 0 48px;
  padding: 0 16px;
}
@media screen and (min-width: 769px) {
  .sub-nav {
    gap: 24px;
    flex-direction: row;
  }
}
.sub-nav .sub-nav-item {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 0 24px 12px;
  cursor: pointer;
  flex: 1;
  width: 100%;
  /* テキストデザイン */
  /* 下線（ライン） */
  /* 中央の下向き三角形矢印 */
  /* ホバー時の効果 */
}
@media screen and (min-width: 769px) {
  .sub-nav .sub-nav-item {
    max-width: 260px;
    display: inline-flex;
    flex-direction: column;
    padding: 0 0 12px;
  }
}
.sub-nav .sub-nav-item .text {
  color: #642F6C; /* 濃い紫色 (#5e2a63) */
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: opacity 0.2s ease;
}
@media screen and (min-width: 769px) {
  .sub-nav .sub-nav-item .text {
    font-size: 16px;
    text-align: center;
  }
}
.sub-nav .sub-nav-item::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #642F6C; /* 濃い紫色 */
}
.sub-nav .sub-nav-item::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 14px 0 14px; /* 矢印のサイズ (上 左右 下) */
  border-color: #642F6C transparent transparent transparent;
}
@media screen and (min-width: 769px) {
  .sub-nav .sub-nav-item::after {
    position: absolute;
    bottom: -5px; /* ラインの位置に合わせて調整 */
    left: 50%;
    transform: translateX(-50%);
  }
}
.sub-nav .sub-nav-item:hover .text {
  opacity: 0.8;
}

article {
  margin-top: 80px;
}

.disease-section h2.disease-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .disease-section h2.disease-title {
    font-size: 32px;
  }
}
.disease-section h3.ttl {
  font-size: 18px;
  color: #515154;
  text-align: left;
  padding: 4px 0 4px 12px;
  border-left: 12px solid #215C88;
  margin-bottom: 24px;
}
@media screen and (min-width: 769px) {
  .disease-section h3.ttl {
    font-size: 20px;
  }
}
.disease-section .chart-card {
  border: 1px solid #642F6C;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  background-color: #ffffff;
}
.disease-section .chart-card .chart-card__title {
  font-size: 18px;
  font-weight: bold;
  color: #642F6C;
  margin-bottom: 16px;
}
@media screen and (min-width: 769px) {
  .disease-section .chart-card .chart-card__title {
    font-size: 20px;
  }
}
.disease-section .chart-card .chart-flex {
  display: flex;
  gap: 24px;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}
@media screen and (min-width: 769px) {
  .disease-section .chart-card .chart-flex {
    flex-direction: row;
  }
}
.disease-section .chart-card .chart-flex dl.green {
  font-size: 16px;
  margin-inline-start: 0 !important;
}
@media screen and (min-width: 769px) {
  .disease-section .chart-card .chart-flex dl.green {
    font-size: 14px;
  }
}
.disease-section .chart-card .chart-flex > div, .disease-section .chart-card .chart-flex img {
  width: 100%;
}
.disease-section .banner-callout {
  background-color: #642F6C;
  color: #ffffff;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  margin: 40px 0 24px;
  text-align: left;
}
@media screen and (min-width: 769px) {
  .disease-section .banner-callout {
    font-size: 24px;
  }
}
.disease-section h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.disease-section .explanation p {
  font-size: 14px;
  color: #515154;
  margin-bottom: 8px;
}
.disease-section .explanation p.right {
  font-size: 12px;
  margin-top: 8px;
}
.disease-section .explanation dt, .disease-section .explanation dd {
  font-size: 14px;
}

dl.green {
  font-size: 14px;
  color: #515154;
  line-height: 1.2;
}
dl.green dt {
  color: #215C88;
  display: block;
  font-weight: 400;
}
dl.green.flex {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media screen and (min-width: 769px) {
  dl.green.flex {
    flex-direction: row;
  }
}
dl.green.flex dt {
  width: 100%;
}
@media screen and (min-width: 769px) {
  dl.green.flex dt {
    width: 70px;
  }
}
dl.green.flex dd {
  width: 100%;
}

dl.green + dl.green {
  margin-top: 10px;
}

.reference,
.tab-content-wrapper p.reference {
  font-size: 12px;
  text-align: right;
  color: #515154;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  /* 画像のようなスクロールバーのデザイン調整 (WebKit系) */
}
.table-wrapper::-webkit-scrollbar {
  height: 8px;
}
.table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.medical-table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 4px;
  text-align: center;
  font-size: 16px;
  /* セル共通 */
  /* 偶数行（うっすら青緑色の背景） */
  /* 奇数行（薄いグレーの背景） */
  /* ホバー時（必要に応じて） */
}
.medical-table th {
  background-color: #4096B0;
  color: #ffffff;
  font-weight: 400;
  padding: 4px 12px;
  text-align: center;
  vertical-align: middle;
}
.medical-table th.ttl {
  background-color: #007396;
}
.medical-table th sub {
  font-size: 0.75em;
}
.medical-table td {
  padding: 4px 12px;
  color: #215C88;
  vertical-align: middle;
}
.medical-table tbody tr:nth-child(odd) td {
  background-color: #DDF0F4;
}
.medical-table tbody tr:nth-child(even) td {
  background-color: #EAEAEA;
}
.medical-table tbody tr:hover td {
  opacity: 0.9;
}

.imgade-area {
  margin: 40px 0;
}
.imgade-area img {
  width: 100%;
}

.mb0 {
  margin-bottom: 0;
}

/* ------------tab 3------------------*/
.right {
  text-align: right;
}

.unit {
  color: #515154;
  font-size: 14px !important;
}

.mt40 {
  margin-top: 24px;
}
@media screen and (min-width: 769px) {
  .mt40 {
    margin-top: 40px;
  }
}

.reference-table {
  width: 100%;
  min-width: 680px; /* 横スクロールを可能にする最小幅 */
  border-collapse: separate;
  border-spacing: 3px; /* 画像特有のセル間の白い隙間を再現 */
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: #515154;
  /* --- 1列目（年齢）のSticky固定設定 --- */
  /* --- ヘッダー領域の配色 --- */
  /* 大見出し（男性 / 女性） */
  /* 小見出し（-2SD, 中央値等） - 男性グループ */
  /* 小見出し - 女性グループ */
  /* --- データセル領域の配色 --- */
  /* 一般データセル背景（薄ブルー／薄パープル） */
}
.reference-table th:first-child,
.reference-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background-color: #EAEAEA; /* 薄グレー背景 */
  white-space: nowrap;
}
.reference-table thead tr:first-child th:first-child {
  z-index: 3;
}
.reference-table th {
  text-align: center;
  padding: 8px 4px;
  vertical-align: middle;
}
.reference-table .header-male {
  background-color: #215C88; /* 濃いブルー */
  color: #ffffff;
}
.reference-table .header-female {
  background-color: #642F6C; /* 濃いパープル */
  color: #ffffff;
}
.reference-table .sub-male {
  background-color: #91C9D4 !important;
}
.reference-table .sub-male-median, .reference-table .bg-male-median {
  background-color: #68BCCD; /* 中央値強調ブルー */
}
.reference-table .sub-female {
  background-color: #D8BDE2;
}
.reference-table .sub-female-median, .reference-table .bg-female-median {
  background-color: #E5ABD8; /* 中央値強調ピンクパープル */
}
.reference-table td {
  padding: 7px 4px;
  vertical-align: middle;
}
.reference-table .bg-male {
  background-color: #DDF0F4;
}
.reference-table .bg-female {
  background-color: #F1EBF3;
}

/* ------------tab 4------------------*/
h5 {
  color: #515154;
  font-size: 20px;
  font-weight: 500;
  margin-top: 40px;
}

.dosage {
  width: auto;
  margin: 0 auto;
}

.medical-table.dosage tbody tr:nth-child(even) td {
  background-color: #DDF0F4;
}

#content-4 dl {
  margin-top: 16px;
  font-size: 16px;
}
#content-4 dl dt {
  font-size: 18px;
  font-weight: 500;
}

ul.disc {
  margin: 12px 0 12px 20px;
}
ul.disc li {
  list-style: disc;
}

#content-4 .reference {
  margin-top: 24px;
}

#content-4 .reference-table {
  max-width: 648px;
  margin: 0 auto;
}
#content-4 .reference-table .th-age, #content-4 .reference-table .td-age {
  background-color: #EAEAEA;
}
#content-4 .reference-table .reference-table th, #content-4 .reference-table .reference-table th, #content-4 .reference-table .reference-table td:first-child {
  font-weight: 400;
}

/*# sourceMappingURL=common.css.map */
