@charset "UTF-8";

/* -------------------------------------
　ツールTOP
------------------------------------- */
/* 左枠 ----------------------*/
.tool-section {
  margin-bottom: 60px;
}
.tool-section:last-child {
  margin-bottom: 0;
}
.tool-header {
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .tool-section {
    margin-bottom: 45px;
    padding: 0 20px;
  }
  .tool-header {
    margin-bottom: 30px;
  }
}

/* タイトル */
.tool-box .title h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  line-height: 1.458;
  font-weight: 600;
  color: var(--font-color-dark);
}
.tool-box .title h3::before {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border: 2px solid rgba(247, 49, 57, 0.1);
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .tool-box .title h3 {
    gap: 8px;
    font-size: 1.25rem;
    line-height: 1.45;
  }
  .tool-box .title h3::before {
    width: 52px;
    height: 52px;
  }
}

/* アイコン */
.calc .title h3::before {
  background: url('/images/tool/icon-calc.svg') no-repeat center;
  background-size: 26px auto;
}
.scoring .title h3::before {
  background: url('/images/tool/icon-scoring.svg') no-repeat center;
  background-size: 20px auto;
}
.template .title h3::before {
  background: url('/images/tool/icon-template.svg') no-repeat center;
  background-size: 20px auto;
}
.atlas .title h3::before {
  background: url('/images/tool/icon-atlas.svg') no-repeat center;
  background-size: 26px auto;
}
.illust .title h3::before {
  background: url('/images/tool/icon-illust.svg') no-repeat center;
  background-size: 26px auto;
}
.other .title h3::before {
  background: url('/images/tool/icon-other.svg') no-repeat center;
  background-size: 26px auto;
}
@media screen and (max-width: 767px) {
  .calc .title h3::before {
    background: url('/images/tool/icon-calc.svg') no-repeat center;
    background-size: 24px auto;
  }
  .atlas .title h3::before {
    background: url('/images/tool/icon-atlas.svg') no-repeat center;
    background-size: 24px auto;
  }
  .illust .title h3::before {
    background: url('/images/tool/icon-illust.svg') no-repeat center;
    background-size: 24px auto;
  }
  .other .title h3::before {
    background: url('/images/tool/icon-other.svg') no-repeat center;
    background-size: 24px auto;
  }
}

/* テキスト */
.tool-box .text {
  padding-top: 14px;
}
.tool-box .text p {
  margin-bottom: 23px;
  font-size: 0.9375rem;
  line-height: 1.866;
  font-weight: 400;
}
.tool-box .text p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-box .text {
    padding-top: 16px;
  }
  .tool-box .text p {
    margin-bottom: 20px;
    font-size: 0.8125rem;
    line-height: 1.6153;
  }
}

/* ボタン ----------------------------------- */
.tool-box .btn ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.tool-box .btn ul li {
  list-style: none;
  width: calc(50% - 10px);
}
.tool-box .btn ul li a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 5px 64px 5px 64px;
  font-size: 0.9275rem;
  line-height: 1.5333;
  color: var(--font-color-dark);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 9999px;
  position: relative;
}
.tool-box .btn ul li a:hover {
  transform: var(--btn-hover-transform);
  box-shadow: var(--btn-hover-box-shadow);
}
@media screen and (max-width: 767px) {
  .tool-box .btn ul {
    gap: 12px;
  }
  .tool-box .btn ul li {
    width: 100%;
  }
  .tool-box .btn ul li a {
    min-height: 52px;
    padding: 6px 53px 4px 52px;
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

/* アイコン */
.tool-box .btn ul li a::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.calc .btn ul li a::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-calc.svg') no-repeat center;
  background-size: contain;
}
.scoring .btn ul li a::before {
  left: 27px;
  width: 20px;
  height: 26px;
  background: url('/images/tool/icon-scoring.svg') no-repeat center;
  background-size: contain;
}
.template .btn ul li a::before {
  left: 27px;
  width: 20px;
  height: 26px;
  background: url('/images/tool/icon-template.svg') no-repeat center;
  background-size: contain;
}
.atlas .btn ul li a::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-atlas.svg') no-repeat center;
  background-size: contain;
}
.illust .btn ul li a::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-illust.svg') no-repeat center;
  background-size: contain;
}
.other .btn ul li a::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-other.svg') no-repeat center;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  .calc .btn ul li a::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .scoring .btn ul li a::before {
    left: 21px;
    width: 19px;
    height: 24px;
  }
  .template .btn ul li a::before {
    left: 21px;
    width: 19px;
    height: 24px;
  }
  .atlas .btn ul li a::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .illust .btn ul li a::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .other .btn ul li a::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
}

/* 矢印 */
.tool-box .btn ul li a::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 12px;
  background: url('/images/tool/icon-tool-arrow.svg') no-repeat center;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  .tool-box .btn ul li a::after {
    content: none;
  }
}

/* 右枠 ----------------------*/
/* タイトル */
.sidebar-title {
  margin-bottom: 10px;
}
.sidebar-title p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--font-color-dark);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .sidebar-title {
    margin-bottom: 15px;
  }
  .sidebar-title p {
    font-size: 0.9375rem;
    line-height: 1.333;
    font-weight: 600;
  }
}

/* リスト ---------------- */
.sidebar-list {
  padding: 6px;
  background-color: var(--color-bg);
  border-radius: 6px;
}
.sidebar-list .category-checkbox {
  list-style: none;
  background-color: var(--color-white);
  border-radius: 6px;
}
.sidebar-list .category-checkbox li {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  font-size: 0.8125rem;
  line-height: 1.4615;
  font-weight: 500;
  color: var(--font-color-dark);
  border-bottom: 1px dotted var(--border);
}
.sidebar-list .category-checkbox li:last-child {
  border-bottom: none;
}
.sidebar-list .category-checkbox li label {
  padding-left: 8px;
}
.sidebar-list .category-checkbox li .checkbox span {
  padding-left: 37px;
  position: relative;
}
.sidebar-list .category-checkbox li .checkbox span::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar-list .category-checkbox li .checkbox .calc::before {
  left: 0;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-calc.svg') no-repeat center;
  background-size: contain;
}
.sidebar-list .category-checkbox li .checkbox .scoring::before {
  left: 2px;
  width: 20px;
  height: 26px;
  background: url('/images/tool/icon-scoring.svg') no-repeat center;
  background-size: contain;
}
.sidebar-list .category-checkbox li .checkbox .template::before {
  left: 2px;
  width: 20px;
  height: 26px;
  background: url('/images/tool/icon-template.svg') no-repeat center;
  background-size: contain;
}
.sidebar-list .category-checkbox li .checkbox .atlas::before {
  left: 0;
  width: 26px;
  height: 26px;
  background: url('/images/tool/icon-atlas.svg') no-repeat center;
  background-size: contain;
}
.sidebar-list .category-checkbox li .checkbox .illust::before {
  left: 0;
  width: 24px;
  height: 26px;
  background: url('/images/tool/icon-illust.svg') no-repeat center;
  background-size: contain;
}
.sidebar-list .category-checkbox li .checkbox .other::before {
  left: 0;
  width: 26px;
  height: 24px;
  background: url('/images/tool/icon-other.svg') no-repeat center;
  background-size: contain;
}

/* 右枠 BOX */
.sidebar-box {
  padding: 6px;
  background-color: var(--color-bg);
  border-radius: 6px;
}
.sidebar-box .sidebar-box-inner {
  padding: 10px 16px;
  background-color: var(--color-white);
  border-radius: 6px;
}
@media screen and (max-width: 767px) {
  .sidebar-box {
    padding: 0;
    background-color: transparent;
    border-radius: 6px;
  }
}

/* 右枠 ボタン */
.sidebar-form__submit {
  margin: 0 23px;
  padding-top: 0;
}
.sidebar-form__submit button[type='submit'] {
  min-width: 100%;
}
.sidebar-form__submit button[type='submit']::after {
  content: none;
}

/* 絞り込み検索 ----------------------------------- */
.search-filter {
  display: block;
  margin-bottom: 30px;
  padding: 0 20px;
}
.search-filter button[type='button'] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 42px;
  font-size: 0.875rem;
  line-height: 1.4285;
  font-weight: 700;
  color: var(--color-white);
  background:
    url('/images/tool/icon-search-filter.svg') no-repeat right 20px top 50% / 15px 15px,
    var(--gradient-main);
  border-radius: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}
/*
@media screen and (max-width: 767px) {
  .search-filter.sp-display {
    display: flex !important;
    justify-content: flex-end;
  }

  .search-filter button[type='button'] {
    flex: 0 0 42px;
    width: 42px;
    min-height: 42px;
    padding: 0;
    background:
      url('/images/tool/icon-search-filter.svg') no-repeat center / 15px 15px,
      var(--gradient-main);
  }

  .search-filter button[type='button'] p {
    display: none;
  }

}
*/
/* モーダルウィンドウ */
.search-filter-modal {
  padding: 35px 20px 0 20px;
  background-color: rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 100000 !important;
}
.search-filter-modal .modal-box {
  width: 100%;
  height: calc(100vh - 35px);
  background-color: var(--color-bg);
  border-radius: 6px;
  position: relative;
}
.search-filter-modal .modal-box .btn-close {
  width: 47px;
  height: 47px;
  background: url('/images/tool/btn_close.svg') no-repeat center center / 15px 15px;
  text-indent: -9999px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.search-filter-modal .modal-box .contents {
  padding: 23px 10px 0 10px;
}
.search-filter-modal .modal-box .contents .title {
  margin-left: -10px;
  padding-bottom: 17px;
  width: calc(100% + 20px);
  border-bottom: 1px solid var(--border);
}
.search-filter-modal .modal-box .contents .title p {
  font-size: 1rem;
  line-height: 1.333;
  font-weight: 600;
  text-align: center;
  color: var(--font-color-dark);
}

/* スクロール */
.search-filter-modal-box {
  overflow: auto;
  overflow-y: scroll;
  padding-top: 25px;
}

/* section */
.search-filter-modal-box .sidebar-section {
  margin-bottom: 25px;
}
.search-filter-modal-box .sidebar-section .sidebar-list {
  padding: 0;
  background-color: transparent;
  border-radius: 6px;
}

/* ボタン */
.search-filter-modal .modal-box .modal-btn-wrap {
  padding: 16px 20px 20px 20px;
  width: 100%;
  background-color: #ececec;
  position: fixed;
  bottom: 0;
  left: 0;
}
.search-filter-modal .modal-box .modal-btn-wrap .btn-filter-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.search-filter-modal .modal-box .modal-btn-wrap .btn-filter-box button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  min-height: 42px;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-white);
  background: var(--gradient-main);
  border-radius: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}
.search-filter-modal .modal-box .modal-btn-wrap .btn-filter-box button.btn-clear {
  width: calc((110 / 335) * 100%);
  color: var(--font-color-dark);
  background: #ffffff;
  border: 1px solid var(--border);
}
.search-filter-modal .modal-box .modal-btn-wrap .btn-filter-box button.btn-filter {
  width: calc(100% - calc(110 / 335) * 100%);
}

/* -------------------------------------
　ツール詳細
------------------------------------- */
.tool-detail-section {
  padding-bottom: 60px;
}
@media screen and (max-width: 767px) {
  .tool-detail-section {
    padding-bottom: 45px;
  }
}

/* タイトル */
.tool-detail-title {
  margin-bottom: 25px;
  position: relative;
}
.tool-detail-title h2 {
  padding-right: 30px;
  font-size: 1.875rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--font-color-dark);
  text-align: center;
}
.tool-detail-title h2 span {
  display: inline-block;
  padding-left: 40px;
  text-align: left;
  position: relative;
}
.tool-detail-title h2 span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: url('/images/tool/icon-calc.svg') no-repeat center;
  background-size: contain;
}
.tool-detail-title.calc h2 span::before {
  background: url('/images/tool/icon-calc.svg') no-repeat center;
}
.tool-detail-title.scoring h2 span::before {
  background: url('/images/tool/icon-scoring.svg') no-repeat center;
}
.tool-detail-title.template h2 span::before {
  background: url('/images/tool/icon-template.svg') no-repeat center;
}
.tool-detail-title.atlas h2 span::before {
  background: url('/images/tool/icon-atlas.svg') no-repeat center;
}
.tool-detail-title.illust h2 span::before {
  background: url('/images/tool/icon-illust.svg') no-repeat center;
}
.tool-detail-title.other h2 span::before {
  background: url('/images/tool/icon-other.svg') no-repeat center;
}
.tool-detail-title .icon-favorites {
  position: absolute;
  top: 0;
  right: 0;
}
.tool-detail-title .icon-favorites img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 767px) {
  .tool-detail-title {
    margin-bottom: 20px;
    padding: 0 20px;
  }
  .tool-detail-title h2 {
    padding-right: 52px;
    font-size: 1.375rem;
    line-height: 1.4545;
    font-weight: 600;
  }
  .tool-detail-title h2 span {
    padding-left: 42px;
  }
  .tool-detail-title h2 span::before {
    width: 30px;
    height: 30px;
  }
  .tool-detail-title .icon-favorites {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
  }
  .tool-detail-title .icon-favorites img {
    width: 42px;
    height: 42px;
  }
}

/* テキスト */
.tool-detail-text {
  padding-bottom: 25px;
}
.tool-detail-text p {
  margin-bottom: 23px;
  font-size: 0.9375rem;
  line-height: 1.866;
  font-weight: 400;
}
.tool-detail-text p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-detail-text {
    padding: 0 20px 20px 20px;
  }
  .tool-detail-text p {
    margin-bottom: 20px;
    font-size: 0.8125rem;
    line-height: 1.6153;
  }
}

/* 計算入力部 -----------------------------------*/
.calc-form-box {
  max-width: 100%;
  margin-bottom: 28px;
  padding: 60px 80px;
  background: #faefef;
  border-radius: 8px;
}
.calc-form-box:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .calc-form-box {
    max-width: 100%;
    margin: 0 20px 20px 20px;
    padding: 25px 20px;
    border-radius: 6px;
  }
}

/* table */
.calc-form-table {
  width: 100%;
  border-collapse: collapse;
}
.calc-form-table tr:not(:last-child) {
  border-bottom: 20px solid transparent;
}
.calc-form-table th {
  min-width: 130px;
  padding-right: 30px;
  text-align: left;
  vertical-align: middle;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--font-color-dark);
  white-space: nowrap;
}
.calc-form-table td {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.428;
  font-weight: 500;
  color: var(--font-color);
  vertical-align: middle;
}
.calc-form-table input {
  padding: 13px 20px 12px;
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--font-color);
  border: 1px solid var(--border);
  background-color: #fff;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  border-radius: 23px;
  outline: none;
}
/* 数値入力欄の横幅 */
.calc-form-table input[inputmode="decimal"] {
  max-width: 120px;
}
.calc-form-table textarea {
  font-size: 0.9375rem;
  line-height: 1.866;
  font-weight: 400;
  color: var(--font-color);
  padding: 13px 20px 12px 20px;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--color-white);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.calc-form-table input::placeholder,
.calc-form-table textarea::placeholder {
  color: #aaaaaa;
}
@media screen and (max-width: 767px) {
  .calc-form-table {
    width: 100%;
    border-collapse: collapse;
  }
  .calc-form-table tr:not(:last-child) {
    border-bottom: 20px solid transparent;
  }
  .calc-form-table th {
    display: block;
    width: 100%;
    min-width: 100px;
    margin-bottom: 8px;
    padding-right: 0;
    font-size: 0.8125rem;
  }
  .calc-form-table td {
    display: block;
    width: 100%;
    font-size: 0.75rem;
  }
  .calc-form-table input {
    padding: 10px 20px 10px;
    font-size: 0.875rem;
    line-height: 1;
    color: var(--font-color);
    border: 1px solid var(--border);
    background-color: #fff;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    border-radius: 23px;
    outline: none;
  }
  .calc-form-table textarea {
    font-size: 0.875rem;
    line-height: 1.6153;
    font-weight: 400;
    color: var(--font-color);
    padding: 12px 20px 11px 20px;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--color-white);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
  }
}

/* ラジオボタン */
.calc-form-table .radio-flex {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

/* チェックボックス */
.calc-form-table .checkbox {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

/* セレクトボックス */
.calc-form-table select {
  font-size: 0.9375rem;
  line-height: 46px;
  color: var(--font-color);
  max-width: 100%;
  height: 46px;
  padding: 0 56px 0 20px;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  border: 1px solid var(--border);
  background-color: var(--color-white);
  background-color: #ffffff;
  border-radius: 23px;
  background-image: url('/images/form_select_arrow.svg');
  background-repeat: no-repeat;
  background-size: 12px 7px;
  background-position: right 17px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .calc-form-table select {
    font-size: 0.875rem;
    line-height: 40px;
    color: var(--font-color);
    max-width: 100%;
    height: 40px;
    padding: 0 56px 0 20px;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    border: 1px solid var(--border);
    background-color: var(--color-white);
    background-color: #ffffff;
    border-radius: 23px;
    background-image: url('/images/form_select_arrow.svg');
    background-repeat: no-repeat;
    background-size: 12px 7px;
    background-position: right 17px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
  }
}

/* 単位付き入力 */
.calc-form-box .unit-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.calc-form-box .unit-wrap .unit {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--font-color-dark);
}
@media screen and (max-width: 767px) {
  .calc-form-box .unit-wrap {
    align-items: center;
    gap: 7px;
  }
  .calc-form-box .unit-wrap .unit {
    font-size: 0.875rem;
  }
}

/* 備考 */
.calc-form-box .remarks {
  padding-top: 12px;
  font-size: 0.75rem;
  line-height: 1.416;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .calc-form-box .remarks {
    padding-top: 10px;
    font-size: 0.625rem;
  }
}

/* 動物切替 */
.calc-form-box .radio-switch {
  display: flex;
}

.calc-form-box .radio-switch input {
  display: none;
}

.calc-form-box .radio-switch label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 112px;
  height: 45px;
  padding: 0 24px;
  background: #fff;
  color: #aaaaaa;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-right: none;
  border-left: 1px solid #d9d9d9;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width: 767px) {
  .calc-form-box .radio-switch {
    display: flex;
    flex-wrap: wrap;
  }

  .calc-form-box .radio-switch input {
    display: none;
  }

  .calc-form-box .radio-switch label {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 80px;
    height: 40px;
    padding: 0 20px;
    background: #fff;
    color: #aaaaaa;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    border-right: none;
    border-left: 1px solid #d9d9d9;
    cursor: pointer;
    position: relative;
  }
}

/* 一番左 */
.calc-form-box .radio-switch label:first-of-type {
  border-radius: 23px 0 0 23px;
}

/* 一番右 */
.calc-form-box .radio-switch label:last-of-type {
  border-right: 1px solid #d9d9d9;
  border-radius: 0 23px 23px 0;
}

/* 選択中 */
.calc-form-box .radio-switch input:checked + label {
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

/* 選択中が左端 */
.calc-form-box .radio-switch input:checked + label:first-of-type {
  border-radius: 23px 0 0 23px;
}

/* 選択中が右端 */
.calc-form-box .radio-switch input:checked + label:last-of-type {
  border-radius: 0 23px 23px 0;
}

/* ボタン */
.calc-form-box .btn-wrap {
  margin-top: 25px;
  text-align: center;
}
.calc-form-box .btn-wrap button {
  min-width: 300px;
  height: 54px;
  border: none;
  border-radius: 30px;
  background: var(--main-color);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}
.calc-form-box .btn-wrap button:hover {
  transform: var(--btn-hover-transform);
  box-shadow: var(--btn-hover-box-shadow);
}
@media screen and (max-width: 767px) {
  .calc-form-box .btn-wrap {
    margin-top: 20px;
    text-align: center;
  }
  .calc-form-box .btn-wrap button {
    min-width: 180px;
    height: 42px;
    font-size: 0.875rem;
  }
}

/* 結果出力部 -----------------------------------*/
/* 左右表示 */
.result-output-box {
  margin-bottom: 28px;
  padding: 60px 80px;
  border-radius: 8px;
  background-color: #fcedd3;
}
.result-output-box:last-child {
  margin-bottom: 0;
}
.result-output-box .result-output {
  margin-bottom: 10px;
  padding: 20px 50px;
  border-radius: 6px;
  background-color: #ffffff;
}
.result-output-box .result-output:last-child {
  margin-bottom: 0;
}
.result-output-box .result-output .result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.result-output-box .result-output .result dt {
  width: auto;
  min-width: 80px;
  max-width: 45%;
  margin-right: 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--font-color-dark);
}
.result-output-box .result-output .result dd {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--font-color-dark);
  text-align: right;
}
.result-output-box .result-output .result dd span {
  font-size: 1.875rem;
  line-height: 1.233;
}
.result-output-box .result-output .result dd span.red {
  color: var(--main-color);
}
.result-output-box .result-output .text {
  padding-top: 1px;
}
.result-output-box .result-output .text p {
  font-size: 0.6875rem;
  line-height: 1.8181;
  font-weight: 500;
  color: var(--main-color);
  text-align: right;
}
@media screen and (max-width: 767px) {
  .result-output-box {
    margin: 0 20px 20px 20px;
    padding: 24px 20px;
    border-radius: 6px;
  }
  .result-output-box .result-output {
    margin-bottom: 5px;
    padding: 15px;
  }
  .result-output-box .result-output .result dt {
    width: auto;
    min-width: 100px;
    max-width: 45%;
    margin-right: 15px;
    font-size: 0.8125rem;
    line-height: 1.6;
    font-weight: 600;
  }
  .result-output-box .result-output .result dd {
    font-size: 0.8125rem;
    line-height: 1.153;
  }
  .result-output-box .result-output .result dd span {
    font-size: 1.375rem;
    line-height: 1.227;
  }
  .result-output-box .result-output .text {
    padding-top: 1px;
  }
  .result-output-box .result-output .text p {
    font-size: 0.625rem;
    line-height: 1.8181;
  }
}

/* テーブル表示 */
.dose-table {
  margin-bottom: 10px;
}
.dose-table:last-child {
  margin-bottom: 0;
}
.dose-table table {
  width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}
.dose-table thead th {
  padding: 20px 50px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  background-color: #fff;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--font-color-dark);
}
.dose-table tbody td {
  padding: 14px 50px;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
/*
.dose-table tbody tr:last-child td {
  border-bottom: none;
}
.dose-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 6px;
}
.dose-table tbody tr:last-child td:last-child {
  border-radius: 0 0 6px 0;
}
*/
.dose-table tbody:last-of-type tr:last-child td {
  border-bottom: none;
}
.dose-table tbody:last-of-type tr:last-child td:first-child {
  border-radius: 0 0 0 6px;
}
.dose-table tbody:last-of-type tr:last-child td:last-child {
  border-radius: 0 0 6px 0;
}
.dose-table tbody:last-of-type tr:last-child td:only-child {
  border-radius: 0 0 6px 6px;
}

.dose-table .name {
  font-size: 0.8125rem;
  line-height: 1.6;
  font-weight: 700;
}
.dose-table .value-box {
  width: 1%;
  white-space: nowrap;
}
.dose-table .value-box .item {
  display: flex;
  align-items: flex-end;
  /* justify-content: flex-end; */
  gap: 9px;
}
.dose-table .value {
  font-size: 0.9375rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--font-color-dark);
}
.dose-table .value span {
  margin-right: 5px;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.dose-table .note {
  padding-bottom: 5px;
  font-size: 0.625rem;
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;
}
.dose-table .red {
  color: var(--main-color);
}
@media screen and (max-width: 767px) {
  .dose-table {
    margin-bottom: 5px;
  }
  .dose-table thead th {
    padding: 15px;
    font-size: 0.8125rem;
    line-height: 1.6;
    font-weight: 600;
  }
  .dose-table tbody td {
    padding: 0;
  }
  .dose-table .name {
    /* width: 148px; */
    padding: 15px 0 15px 15px;
    font-size: 0.75rem;
    line-height: 1.6;
    font-weight: 700;
  }
  .dose-table .value-box {
    width: 1%;
    white-space: nowrap;
    padding: 15px 15px 15px 0;
  }
  .dose-table .value-box .item {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    /* justify-content: flex-end; */
    gap: 0;
  }
  .dose-table .value {
    font-size: 0.8125rem;
    line-height: 1.2;
  }
  .dose-table .value span {
    font-size: 1.375rem;
    line-height: 1.227;
  }
  .dose-table .note {
    padding-top: 2px;
    padding-bottom: 0;
  }
}

/* ＋ */
.dose-table tbody .plus {
  position: relative;
}
.dose-table tbody .plus::after {
  content: '＋';
  font-weight: 700;
  width: 60px;
  text-align: center;
  position: absolute;
  top: 37px;
  left: 50px;
  z-index: 1;
}
.dose-table tbody .plus td {
  padding: 14px 50px 5px 50px;
  border-bottom: none;
}
.dose-table tbody .plus:not(:has(~ .plus)) td {
  padding: 14px 50px;
  border-bottom: 1px solid var(--border);
}
.dose-table tbody .plus:not(:has(~ .plus)):last-child td {
  border-bottom: none;
}
@media screen and (max-width: 767px) {
  .dose-table tbody .plus {
    position: relative;
  }
  .dose-table tbody .plus::after {
    content: '＋';
    width: 60px;
    text-align: center;
    position: absolute;
    top: 56px;
    left: 15px;
    z-index: 1;
  }
  .dose-table tbody .plus td {
    padding: 14px 50px 5px 50px;
    border-bottom: none;
  }
  .dose-table tbody .plus .name {
    padding: 15px 0 5px 15px;
  }
  .dose-table tbody .plus .value-box {
    padding: 15px 15px 5px 0;
  }
  .dose-table tbody .plus:not(:has(~ .plus)) .name {
    padding: 15px 0 15px 15px;
  }
  .dose-table tbody .plus:not(:has(~ .plus)) .value-box {
    padding: 15px 15px 15px 0;
  }
}

/* 最後の.plus */
.dose-table tbody .plus:not(:has(~ .plus))::after {
  content: none;
}

/* 注意書き -----------------------------------*/
.tool-notes {
  margin-bottom: 28px;
  padding: 30px;
  background-color: var(--color-bg);
  border-radius: 8px;
}
.tool-notes:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-notes {
    margin: 0 20px 20px 20px;
    padding: 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.714;
    font-weight: 400;
  }
}

/* 監修者 -----------------------------------*/
.supervisor-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
}
.supervisor-box:last-child {
  margin-bottom: 0;
}
.supervisor-box figure {
  width: 100%;
  max-width: 60px;
}
.supervisor-box figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.supervisor-box .content .name {
  margin-bottom: 2px;
  font-size: 0.9375rem;
  line-height: 1.866;
  font-weight: 500;
}
.supervisor-box .content .name span {
  margin-right: 4px;
  font-size: 0.6875rem;
  line-height: 1.4545;
  font-weight: 500;
}
.supervisor-box .content .position {
  font-size: 0.8125rem;
  line-height: 1.4615;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .supervisor-box {
    gap: 6px;
    margin: 0 20px 20px 20px;
  }
  .supervisor-box figure {
    max-width: 42px;
  }
  .supervisor-box .content .name {
    margin-bottom: 1px;
    font-size: 0.8125rem;
  }
  .supervisor-box .content .name span {
    margin-right: 4px;
    font-size: 0.625rem;
    line-height: 1.5;
  }
  .supervisor-box .content .position {
    font-size: 0.6875rem;
    line-height: 1.4545;
  }
}

/* 監修者 -----------------------------------*/
.tool-detail-box {
  margin-bottom: 28px;
}
.tool-detail-box:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-detail-box {
    margin-bottom: 20px;
  }
}

/* リンク -----------------------------------*/
.tool-link {
  margin-bottom: 28px;
}
.tool-link:last-child {
  margin-bottom: 0;
}
.tool-link ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.tool-link ul li a {
  display: inline-block;
  padding: 11px 15px;
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--main-color);
  text-decoration: none;
  background-color: var(--color-bg);
  border-radius: 18px;
}
.tool-link ul li a:hover {
  color: #ffffff;
  background-color: var(--main-color);
}
@media screen and (max-width: 767px) {
  .tool-link {
    margin: 0 20px 20px 20px;
  }
  .tool-link ul {
    gap: 6px;
  }
  .tool-link ul li a {
    padding: 9px 12px 8px 12px;
    font-size: 0.6875rem;
  }
}

/* リンク -----------------------------------*/
.tool-update {
  margin-bottom: 28px;
}
.tool-update:last-child {
  margin-bottom: 0;
}
.tool-update p {
  font-size: 0.6875rem;
  line-height: 1.4545;
  font-weight: 400;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .tool-update {
    margin: 0 20px 20px 20px;
  }
  .tool-update p {
    font-size: 0.625rem;
    line-height: 1.5;
  }
}

/* 画像 -----------------------------------*/
.tool-image-box {
  margin: 0 auto 28px auto;
  width: 600px;
}
.tool-image-box:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-image-box {
    margin: 0 20px 20px 20px;
    padding: 0;
    width: auto;
  }
}

/* タイトル */
.tool-image-box .tool-image-title {
  margin-bottom: 12px;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--font-color-dark);
}
@media screen and (max-width: 767px) {
  .tool-image-box .tool-image-title {
    margin-bottom: 7px;
    font-size: 0.9375rem;
    line-height: 1.555;
  }
}

/* 画像 */
.tool-image-box figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
@media screen and (max-width: 767px) {
  .tool-image-box figure img {
    border-radius: 6px;
  }
}

/* キャプション */
.tool-image-box .tool-image-caption {
  padding-top: 12px;
}
@media screen and (max-width: 767px) {
  .tool-image-box .tool-image-caption {
    padding-top: 10px;
    font-weight: 400;
  }
}

/* 動画 -----------------------------------*/
.tool-video-box {
  margin: 0 auto 28px auto;
  width: 600px;
}
.tool-video-box:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-video-box {
    margin-bottom: 20px;
    padding: 0 20px;
    width: 80%;
  }
}

/* タイトル */
.tool-video-box .tool-video-title {
  margin-bottom: 12px;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--font-color-dark);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .tool-video-box .tool-video-title {
    margin-bottom: 7px;
    font-size: 0.9375rem;
    line-height: 1.555;
  }
}

/* 動画 */
.tool-video {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.tool-video:last-child {
  margin-bottom: 0;
}
.tool-video iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* キャプション */
.tool-video-box .tool-video-caption {
  padding-top: 12px;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .tool-video-box .tool-video-caption {
    padding-top: 10px;
    font-weight: 400;
  }
}

/* ファイル -----------------------------------*/
.tool-file-box {
  margin: 0 auto 28px auto;
  width: 600px;
}
.tool-file-box:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .tool-file-box {
    margin-bottom: 20px;
    padding: 0 20px;
    width: 80%;
  }
}

/* ファイル */
.tool-file-box figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
@media screen and (max-width: 767px) {
  .tool-file-box figure img {
    border-radius: 6px;
  }
}

/* キャプション */
.tool-file-box .tool-file-caption {
  padding-top: 12px;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .tool-file-box .tool-file-caption {
    padding-top: 10px;
    font-weight: 400;
  }
}

/* ボタン */
.tool-file-btn {
  margin-top: 25px;
  text-align: center;
}
.tool-file-btn ul {
  list-style: none;
}
.tool-file-btn ul li {
  margin-bottom: 15px;
}
.tool-file-btn a {
  display: inline-block;
  min-width: 300px;
  padding: 17px 30px 15px 30px;
  border: none;
  border-radius: 999px;
  background: var(--main-color);
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.tool-file-btn button:hover {
  transform: var(--btn-hover-transform);
  box-shadow: var(--btn-hover-box-shadow);
}
@media screen and (max-width: 767px) {
  .tool-file-btn {
    margin-top: 20px;
    text-align: center;
  }
  .tool-file-btn ul li {
    margin-bottom: 10px;
  }
  .tool-file-btn a {
    min-width: 180px;
    padding: 12px 20px 11px 20px;
    font-size: 0.875rem;
  }
}

/* モーダルカスタム */
.modal-tool .modal__text {
  margin-bottom: 0;
  border-bottom: none;
}
.modal-tool .modal__buttons {
  padding: 0 30px;
}
.modal-tool .modal__button {
  min-width: 300px;
  padding: 17px 30px 15px 30px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .modal-tool .modal__text {
    margin-bottom: 0;
    border-bottom: none;
  }
  .modal-tool .modal__buttons {
    padding: 0 15px;
  }
  .modal-tool .modal__button {
    min-width: 180px;
    padding: 12px 20px 11px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }
}

/* 利用規約 */
.modal-tool .modal__content {
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.modal-tool .modal__terms {
  /* height: 300px; */
  overflow-y: auto;
  margin: 0 30px 20px 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  line-height: 1.8;
  box-shadow: inset 0 15px 15px -15px rgba(0, 0, 0, 0.025);
}
@media screen and (max-width: 767px) {
  .modal-tool .modal__content {
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .modal-tool .modal__terms {
    /* height: 300px; */
    overflow-y: auto;
    margin: 0 15px 10px 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    box-sizing: border-box;
    line-height: 1.8;
    box-shadow: inset 0 15px 15px -15px rgba(0, 0, 0, 0.025);
  }
}

/* 閉じるボタン */
.modal-tool .modal__close {
  position: absolute;
  top: 17px;
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s;
}

.modal-tool .modal__close:hover {
  opacity: 0.7;
}

.modal-tool .modal__close span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* ×アイコン */
.modal-tool .modal__close span::before,
.modal-tool .modal__close span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 3px;
  background: var(--font-color-dark);
  transform-origin: center;
}

.modal-tool .modal__close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-tool .modal__close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* スマホ */
@media screen and (max-width: 767px) {
  .modal-tool .modal__close {
    top: 7px;
    right: 7px;
    width: 36px;
    height: 36px;
  }

  .modal-tool .modal__close span::before,
  .modal-tool .modal__close span::after {
    width: 20px;
    height: 3px;
  }
}

.modal-tool .rule-box {
  margin-bottom: 20px;
  font-weight: 400;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .modal-tool .rule-box {
    line-height: 1.714;
  }
}
.modal-tool .rule-box:last-child {
  margin-bottom: 0;
}
.modal-tool .rule-pt {
  padding-top: 5px;
}
.modal-tool .rule-pb {
  padding-bottom: 5px;
}
.modal-tool .rule-box h3 {
  margin-bottom: 5px;
  font-size: 0.9375rem;
  line-height: 1.8667;
  font-weight: 500;
  color: var(--font-color-dark);
}
.modal-tool .rule-box .rule-text {
  margin-bottom: -1em;
}
.modal-tool .rule-box .rule-text p {
  padding-bottom: 1em;
}
.modal-tool .rule-box .rule-text-indent {
  margin-bottom: -5px;
}
.modal-tool .rule-box .rule-text-indent p {
  text-indent: -4em;
  margin-left: 4em;
  padding-bottom: 5px;
}
.modal-tool .rule-box .rule-ol {
  margin-left: 1.4em;
}
.modal-tool .rule-box .rule-ol li {
  padding-bottom: 5px;
}
.modal-tool .rule-box .rule-ol-brackets {
  margin-left: 0;
}
.modal-tool .rule-box .rule-ol-brackets li {
  padding-bottom: 5px;
  list-style-type: none;
  list-style-position: inside;
  counter-increment: cnt;
  text-indent: -1.8em;
  margin-left: 1.8em;
}
.modal-tool .rule-box .rule-ol-brackets li:before {
  display: marker;
  content: '(' counter(cnt) ') ';
}
.modal-tool .rule-box .rule-ol ol {
  padding-top: 5px;
}
@media screen and (max-width: 767px) {
  .modal-tool .rule-box .rule-ol ol {
    padding-top: 7px;
  }
}
.modal-tool .rule-box .rule-ol ol li {
  padding-bottom: 5px;
  list-style-type: none;
  list-style-position: inside;
  counter-increment: cnt;
  text-indent: -1.8em;
  margin-left: 1.8em;
}
.modal-tool .rule-box .rule-ol ol li:before {
  display: marker;
  content: '(' counter(cnt) ') ';
}

/* スクロールバー（Chrome, Edge, Safari） */
.modal-tool .modal__terms::-webkit-scrollbar {
  width: 8px;
}

.modal-tool .modal__terms::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

.modal-tool .modal__terms::-webkit-scrollbar-track {
  background: #f5f5f5;
}

/* 利用規約に同意する */
.modal-tool .agree {
  margin: 0 auto 20px auto;
  padding-right: 5px;
  width: auto;
  font-weight: 500;
  color: var(--font-color);
  text-align: left;
}
.modal-tool .checkbox label::before {
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  left: -28px;
  height: 20px;
  width: 20px;
  border: 1px solid var(--border);
  background-color: #ffffff;
}
.modal-tool .checkbox input[type='checkbox']:checked + label::after {
  content: '';
  display: inline-block;
  height: 8px;
  width: 12px;
  background-image: url('/images/checkbox.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  top: 10px;
  left: -24px;
}
@media screen and (max-width: 767px) {
  .modal-tool .agree {
    margin: 0 auto 15px auto;
    padding-right: 5px;
    width: auto;
    font-weight: 500;
    color: var(--font-color);
    text-align: left;
  }
  .modal-tool .agree .checkbox {
    margin-bottom: 0;
  }
  .modal-tool .checkbox label::before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: -28px;
    height: 20px;
    width: 20px;
    border: 1px solid var(--border);
    background-color: #ffffff;
  }
  .modal-tool .checkbox input[type='checkbox']:checked + label::after {
    content: '';
    display: inline-block;
    height: 8px;
    width: 12px;
    background-image: url('/images/checkbox.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    top: 6px;
    left: -24px;
  }
}

/* チェックが入るとボタン有効化設定 */
.modal__button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 関連ツール一覧 ----------------------------------- */
.related-tools {
  margin-bottom: 28px;
}
.related-tools:last-child {
  margin-bottom: 0;
}
.related-tools .btn ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.related-tools .btn ul li {
  list-style: none;
  width: calc(50% - 10px);
}
.related-tools .btn ul li a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 5px 64px 5px 64px;
  font-size: 0.9275rem;
  line-height: 1.5333;
  color: var(--font-color-dark);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 9999px;
  position: relative;
}
.related-tools .btn ul li a:hover {
  transform: var(--btn-hover-transform);
  box-shadow: var(--btn-hover-box-shadow);
}
@media screen and (max-width: 767px) {
  .related-tools {
    margin-bottom: 20px;
    padding: 0 20px;
  }
  .related-tools .btn ul {
    gap: 12px;
  }
  .related-tools .btn ul li {
    width: 100%;
  }
  .related-tools .btn ul li a {
    min-height: 52px;
    padding: 6px 53px 4px 52px;
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

/* アイコン */
.related-tools .btn ul li a::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.related-tools .btn ul li a.calc::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-calc.svg') no-repeat center;
  background-size: contain;
}
.related-tools .btn ul li a.scoring::before {
  left: 27px;
  width: 20px;
  height: 26px;
  background: url('/images/tool/icon-scoring.svg') no-repeat center;
  background-size: contain;
}
.related-tools .btn ul li a.template::before {
  left: 27px;
  width: 20px;
  height: 26px;
  background: url('/images/tool/icon-template.svg') no-repeat center;
  background-size: contain;
}
.related-tools .btn ul li a.atlas::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-atlas.svg') no-repeat center;
  background-size: contain;
}
.related-tools .btn ul li a.illust::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-illust.svg') no-repeat center;
  background-size: contain;
}
.related-tools .btn ul li a.other::before {
  left: 25px;
  width: 24px;
  height: 24px;
  background: url('/images/tool/icon-other.svg') no-repeat center;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  .related-tools .btn ul li a.calc::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .related-tools .btn ul li a.scoring::before {
    left: 21px;
    width: 19px;
    height: 24px;
  }
  .related-tools .btn ul li a.template::before {
    left: 21px;
    width: 19px;
    height: 24px;
  }
  .related-tools .btn ul li a.atlas::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .related-tools .btn ul li a.illust::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
  .related-tools .btn ul li a.other::before {
    left: 20px;
    width: 22px;
    height: 22px;
  }
}

/* 矢印 */
.related-tools .btn ul li a::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 12px;
  background: url('/images/tool/icon-tool-arrow.svg') no-repeat center;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  .related-tools .btn ul li a::after {
    content: none;
  }
}

/* エラー */
.tool-error {
	margin-top:10px;
	font-size:14px;
    color: #d00 !important;
}

/* 追加 */
.result-output-box .result-output .result-info {
  padding-top: 1px;
  font-size: 0.6875rem;
  line-height: 1.8181;
  font-weight: 500;
  color: var(--font-color-dark);
  text-align: right;
}

.result-output-box .result-output .result-info span {
  font-size: inherit;
}

@media screen and (max-width: 767px) {
  .result-output-box .result-output .result-info {
    font-size: 0.625rem;
  }
}

/* 周術期オピオイド：CRIと希釈結果の間の線を消す */
.dose-table tbody tr:has(+ .opioid-dilution-row) td {
  border-bottom: none;
}

/* theadが無い結果テーブルの上側を角丸にする */
.dose-table table:not(:has(thead)) tbody tr:first-child td:first-child {
  border-radius: 6px 0 0 0;
}

.dose-table table:not(:has(thead)) tbody tr:first-child td:last-child {
  border-radius: 0 6px 0 0;
}

/* 緊急薬投与量 */
.emergency-drug-result .value-box {
  text-align: right;
}

.emergency-drug-result .emergency-drug-value {
  white-space: nowrap;
}
.emergency-drug-result .emergency-drug-note {
  margin-top: 5px;
  font-size: 0.6875rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--main-color);
}
.emergency-drug-result .emergency-drug-concentration {
  margin-top: 4px;
  font-size: 0.6875rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--font-color-dark);
}
.emergency-drug-result .emergency-drug-concentration span {
  font-size: inherit;
  font-weight: inherit;
  margin-right: 0;
  letter-spacing: normal;
}
@media screen and (max-width: 767px) {

  .emergency-drug-result .emergency-drug-value {
    white-space: normal;
  }

  .emergency-drug-result .emergency-drug-note,
  .emergency-drug-result .emergency-drug-concentration {
    font-size: 0.625rem;
  }
}

/* -------------------------------------
　血圧維持薬（CRI投与量）
------------------------------------- */
#blood-pressure-drug-result-body .blood-pressure-drug-title-row .name {
  white-space: nowrap;
}

#blood-pressure-drug-result-body .blood-pressure-drug-result-row .name {
  width: 38%;
  white-space: normal;
}

#blood-pressure-drug-result-body .blood-pressure-drug-result-row .value-box {
  width: 62%;
  white-space: normal;
}

#blood-pressure-drug-result-body .blood-pressure-drug-result-row .value {
  white-space: normal;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

  #blood-pressure-drug-result-body .blood-pressure-drug-title-row .name {
    display: block;
    width: 100%;
    padding: 15px;
    white-space: nowrap;
  }

  #blood-pressure-drug-result-body .blood-pressure-drug-result-row {
    display: block;
  }

  #blood-pressure-drug-result-body .blood-pressure-drug-result-row .name,
  #blood-pressure-drug-result-body .blood-pressure-drug-result-row .value-box {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  #blood-pressure-drug-result-body .blood-pressure-drug-result-row .name {
    padding: 15px 15px 5px;
    white-space: normal;
  }

  #blood-pressure-drug-result-body .blood-pressure-drug-result-row .value-box {
    padding: 5px 15px 15px;
    white-space: normal;
  }

  #blood-pressure-drug-result-body .blood-pressure-drug-result-row .value-box .item {
    display: block;
  }

  #blood-pressure-drug-result-body .blood-pressure-drug-result-row .value {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* -------------------------------------
　犬/猫の鎮静薬投与量
------------------------------------- */

/* プロポフォール注意書き */
.dose-table tbody .propofol-caution-row td {
  width: auto;
  padding: 0 50px 14px;
  border-top: none;
  border-bottom: none;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 700;
  white-space: normal;
  text-align: right;
}

@media screen and (max-width: 767px) {
  .dose-table tbody .propofol-caution-row td {
    padding: 0 15px 15px;
    font-size: 0.8125rem;
    text-align: right;
  }
}

.dose-table tbody .propofol-row td {
  border-bottom: none;
}
