/*------------------------------------
  Default Styles
------------------------------------*/

html {
  font-size: 16px;
  overflow-x: hidden;
}

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

main {
  margin-bottom: 100vh;
  z-index: 99;
  position: relative;
  background-color: #f5f5f5;
}

body {
  overflow-x: hidden;
  position: relative;
  font-weight: 500;
  font-size: 1em;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 180%;
  letter-spacing: 0.26em;
  color: #586b7d;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "palt" on;
  font-feature-settings: "palt" on;
  text-rendering: optimizelegibility;
}

a {
  color: #007ec6;
  cursor: pointer;
  transition: all 0.8s;
  text-underline-position: under;
  text-underline-offset: 0.2rem;
}

a:hover {
  color: #007ec6;
  opacity: 0.6 !important;
  transition: all 0.8s;
  cursor: pointer;
}

a:focus {
  outline: none;
  cursor: pointer;
}

u {
  text-underline-position: under;
  text-underline-offset: 0.2rem;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  _::-webkit-full-page-media,
  _:future,
  a,
  u {
    text-underline-position: under;
    text-underline-offset: 0rem;
  }
}

p {
  line-height: 1.8;
}

figure {
  margin-bottom: 0;
}

hr {
  border-color: #e6e7e9;
}

[role="button"] {
  cursor: pointer;
}

img {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

img.lazyload {
  width: 100%;
}

.small-s {
  font-size: 0.65em;
}

/*------------------------------------
  Headings
------------------------------------*/

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.h7,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.6;
  font-weight: 700;
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin-bottom: 1rem;
}

.page-head {
  font-size: 4rem;
  font-weight: 300;
  line-height: 90%;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/*------------------------------------
  Color
------------------------------------*/

.bg-mfblue {
  background-color: #007ec6;
}

.text-mfblue {
  color: #007ec6;
}

.mark-mfblue {
  background: #007ec6;
  color: #f5f5f5;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.mark-mfblue-80 {
  background: rgba(0, 126, 198, 0.8);
  color: #f5f5f5;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.bg-lblue {
  background-color: #e4f5ff;
}

.bg-lblue-herf {
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, #e4f5ff 30%, #e4f5ff 100%);
}

.text-lblue {
  color: #e4f5ff;
}

.bg-linear-lbliue {
  background: linear-gradient(95deg, #dfecf1 0%, #e6f3f1 100%);
}

.mark-lblue {
  background: #e4f5ff;
  color: #007ec6;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.bg-mfgreen {
  background-color: #00bfa6;
}

.bg-mfgreen-harf {
  background: linear-gradient(110deg, rgba(0, 0, 0, 0) 20%, #00bfa6 20%);
}

.text-mfgreen {
  color: #00bfa6;
}

.mark-mfgreen {
  background: #00bfa6;
  color: #ffffff;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.mark-mfgreen-grad {
  background: linear-gradient(90deg, rgba(0, 190, 165, 0.6) 0%, rgba(0, 202, 198, 0.6) 50%, rgba(0, 163, 198, 0.6) 75%, rgba(0, 127, 198, 0.6) 100%);
  color: #ffffff;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.bg-mtblue {
  background-color: #00a0e9;
}

.text-mtblue {
  color: #00a0e9;
}

.bd-mtblue {
  border: 0.25px solid;
  border-color: #00a0e9;
}

.mark-mtblue {
  background: #00a0e9;
  color: #ffffff;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.bg-mtblue-harf {
  background: linear-gradient(110deg, rgba(0, 0, 0, 0) 20%, #00a0e9 20%);
}

.bg-spink {
  background-color: #f9726e;
}

.text-spink {
  color: #f9726e;
}

.bd-spink {
  border: 0.25px solid;
  border-color: #f9726e;
}

.bg-lpink {
  background-color: #fff5f4;
}

.text-lpink {
  color: #fff5f4;
}

.bg-mfdark {
  background-color: #586b7d;
}

.text-mfdark {
  color: #586b7d;
}

.mark-mfdark-40 {
  background: rgba(88, 107, 125, 0.4);
  color: #ffffff;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.bg-mfgray {
  background-color: #b2bdc8;
}

.text-mfgray {
  color: #b2bdc8;
}

.bg-nature {
  background-color: #f5f5f5;
}

.text-nature {
  color: #f5f5f5;
}

/*----------------------------------
  Fonts
------------------------------------*/

.font-zenkakugo {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.font-waterbrush {
  font-family: "Mrs Saint Delafield", cursive;
}

/*----------------------------------
  Background Images
------------------------------------*/

.bg-cross {
  background-position: left top;
  background-repeat: repeat;
  background-size: 9%;
}

.bg-touch {
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto 110%;
  background-color: #221e26;
}

.bg-walker {
  background-position: right top;
  background-repeat: no-repeat;
  background-size: auto 85%;
}

.bg-jump {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-group {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.bg-group a {
  z-index: 1;
  position: relative;
  margin: 0;
  display: block;
}

.bg-group::after {
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

@media (max-width: 1200px) {
  .bg-walker {
    background-position: right -130px top;
    background-size: auto 85%;
  }
}

@media (max-width: 1100px) {
  .bg-walker {
    background-position: right -170px top;
    background-size: auto 85%;
  }
}

@media (max-width: 992px) {
  .bg-walker {
    padding-bottom: 60% !important;
    background-position: right bottom 20%;
    background-size: auto 47vh;
  }
}

@media (max-width: 768px) {
  .bg-cross {
    background-size: 25%;
  }
  .bg-touch {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #221e26;
  }
  .bg-walker {
    padding-bottom: 100% !important;
    background-position: right -25vw bottom 20%;
    background-size: 120vw auto;
  }
}

/*----------------------------------
  Shadow
------------------------------------*/

.shadow-mf-rg {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

.shadow-mf-tx {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
}

/*----------------------------------
  Spaces
------------------------------------*/

.u-content-space {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

.u-content-space-top {
  padding-top: 6.25rem;
}

.u-content-space-bottom {
  padding-bottom: 6.25rem;
}

@media (max-width: 768px) {
  .u-content-space {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .u-content-space-top {
    padding-top: 3.5rem;
  }
  .u-content-space-bottom {
    padding-bottom: 3.5rem;
  }
}

/*----------------------------------
  Font Weight
------------------------------------*/

.fw-500 {
  font-weight: 500 !important;
}

/*----------------------------------
  Line Height
------------------------------------*/

.lh-xl {
  line-height: 2.5 !important;
}

.lh-xs {
  line-height: 0.8 !important;
}

/*----------------------------------
  Letter Spacing
------------------------------------*/

.ls-0 {
  letter-spacing: 0 !important;
}

.ls-sm {
  letter-spacing: 0.1em !important;
}

/*----------------------------------
  Sizing
------------------------------------*/

.w-fit {
  width: fit-content;
}

/*----------------------------------
  Object-Fit
------------------------------------*/

.object-fit-cover {
  object-fit: cover;
}

/*----------------------------------
  Loading
------------------------------------*/

.page-running {
  display: none;
}

/*----------------------------------
  Link Circle Button
------------------------------------*/

.circle-button {
  display: inline-block;
  height: 56px;
  max-width: 100%;
  padding: 0 73px 0 0;
  position: relative;
  text-decoration: none;
  width: fit-content;
  display: flex;
  align-items: center;
}

.circle-button:hover {
  opacity: 1 !important;
}

.circle-button-label {
  margin-right: 8px;
  margin-top: 5px;
  text-decoration: none;
}

.circle-button-circle {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: block;
  height: 56px;
  position: absolute;
  right: 0;
  width: 56px;
}

.circle-button-circle-arc {
  height: 56px;
  left: -1px;
  position: absolute;
  top: -1px;
  transform: scaleX(-1) rotate(10deg) translateZ(0);
  transform-origin: center;
  width: 56px;
  z-index: 1;
}

.circle-button-circle-arc circle {
  stroke-width: 1;
  stroke-dasharray: 176px;
  stroke-dashoffset: 176px;
  transition: stroke-dashoffset 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.circle-button-circle-arc.st-mfblue circle,
.circle-button-circle-arrow.st-mfblue path {
  stroke: #007ec6;
}

.circle-button-circle-arc.st-white circle,
.circle-button-circle-arrow.st-white path {
  stroke: #ffffff;
}

.circle-button:hover .circle-button-circle-arc {
  transform: rotate(170deg) translateZ(0px);
}

.circle-button:hover .circle-button-circle-arc circle {
  stroke-dashoffset: 0px;
}

.circle-button-circle-arrow {
  transform: translateX(-20px) translateY(8px) translateZ(0);
}

/*----------------------------------
  Page Fade Out
------------------------------------*/

.page-fadeout {
  /* animation: fadeOut 0.5s ease-out forwards; */
  -webkit-transform: translate3d(0, -100px, 0);
  -ms-transform: translate3d(0, -100px, 0);
  transform: translate3d(0, -100px, 0);
  -webkit-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  opacity: 0 !important;
}

/* .page-fadeout .page-running {
	display: none !important;
} */

@keyframes fadeOut {
  0% {
    opacity: 1 !important;
    visibility: visible;
  }
  100% {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(-100px);
  }
}

/*----------------------------------
  Deseases Card List
------------------------------------*/

.deseases-list .card {
  text-decoration: none;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deseases-list .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.8 !important;
}

.deseases-list .card-title {
  text-align: start;
  font-weight: bold;
}

.deseases-list .card-text {
  text-align: start;
  font-weight: 400;
  font-style: italic;
  font-size: 0.85rem;
  color: #7f868d;
  letter-spacing: 0.1rem;
}

.deseases-list .search-container {
  position: relative;
  margin-bottom: 3rem;
}

.deseases-list .search-input {
  border-radius: 50px;
  padding: 0.75rem 1.25rem 0.75rem 3rem;
  border: 1px solid #ced4da;
  width: 100%;
  transition: all 0.3s ease;
}

.deseases-list .search-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.deseases-list .search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #adb5bd;
}

/* 追加css_20250712 */

.article-area-ds {
  max-width: 960px;
  background: #fff;
  padding: 30px;
}

@media (max-width: 575px) {
  .article-area-ds {
    padding: 20px;
  }
}

.article-area-ds #mokuji,
.article-area-ds #mokuji-cat {
  width: 100%;
  counter-reset: counter;
  margin-top: 55px;
  padding: 24px 40px;
  background: #f5f5f5;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .article-area-ds #mokuji,
  .article-area-ds #mokuji-cat {
    margin: 30px auto 40px;
    padding: 20px;
  }
}

.mokuji-ttl {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0;
}

.mokuji-ttl:before {
  content: "INDEX";
  display: block;
  width: 100%;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #007ec6;
}

.article-area-ds #mokuji-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: 40px;
  height: 30px;
  justify-content: center;
  direction: ltr;
  cursor: pointer;
}

.article-area-ds #mokuji ul {
  margin-top: 12px;
  padding-left: 0;
}

.article-area-ds #mokuji ul li {
  list-style-type: none;
  position: relative;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .article-area-ds #mokuji ul li {
    font-size: 14px;
  }
}

.article-area-ds #mokuji li a,
.article-area-ds #mokuji-cat li a {
  width: 100%;
  padding: 2px 0;
  display: block;
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease 0s;
  color: #3f4f5f;
}

.article-area-ds #mokuji li a strong,
.article-area-ds #mokuji-cat li a strong {
  font-weight: 500 !important;
}

.article-area-ds #mokuji .mokuji-h2,
.article-area-ds #mokuji .mokuji-h3 {
  margin-top: 10px;
  user-select: none;
}

.article-area-ds #mokuji .mokuji-h2 {
  text-indent: 0;
  position: relative;
  counter-reset: sub-counter;
}

.article-area-ds #mokuji .mokuji-h2 a {
  position: relative;
  padding-left: 19px;
  width: fit-content;
}

.article-area-ds #mokuji .mokuji-h2 a:before {
  content: counter(counter) ". ";
  counter-increment: counter;
  position: absolute;
  top: 2px;
  left: 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.article-area-ds #mokuji .mokuji-h3 {
  margin-left: 1em;
  text-indent: 0;
  position: relative;
  margin-bottom: 8px;
}

.article-area-ds #mokuji .mokuji-h3 a {
  position: relative;
  font-size: 90%;
  padding-left: 17px;
  width: fit-content;
}

.article-area-ds #mokuji .mokuji-h3 a:before {
  content: counter(sub-counter) ". ";
  counter-increment: sub-counter;
  position: absolute;
  top: 2px;
  left: 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.article-area-ds textarea {
  width: 100%;
  height: 160px;
}

.article-area-ds h2 {
  padding: 8px 16px;
  font-size: 24px;
  background: linear-gradient(270deg, rgba(0, 190, 165, 0.6) 0%, rgba(0, 202, 198, 0.6) 50%, rgba(0, 163, 198, 0.6) 75%, rgba(0, 127, 198, 0.6) 100%);
  color: #fff;
  margin: 60px 0 30px;
}

.article-area-ds h3 {
  font-size: 20px;
  margin: 30px 0 24px;
  color: #007ec6;
}

.article-area-ds h4 {
  font-size: 18px;
  margin: 30px 0 16px;
}

.article-area-ds .caution {
  font-size: 12px;
  margin-bottom: 16px;
}

.article-area-ds *:has(+ .caution) {
  margin-bottom: 4px;
}

.article-area-ds .marker {
  font-weight: bold;
  background: linear-gradient(transparent 70%, #b0d9d3 70%);
}

.article-area-ds ol:not([class]),
.article-area-ds ul:not([class]) {
  margin-bottom: 24px;
  padding-left: 28px;
}

.article-area-ds ol:not([class]) li,
.article-area-ds ul:not([class]) li,
.check-list li {
  margin-bottom: 4px;
}

.article-area-ds ol:not([class]) {
  list-style-type: decimal;
}

.article-area-ds ul:not([class]) {
  list-style-type: disc;
}

.article-area-ds .quote {
  position: relative;
  padding: 42px 16px;
  margin-bottom: 24px;
}

.article-area-ds .quote::after,
.article-area-ds .quote::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  font-size: 24px;
  color: #007ec6;
}

.article-area-ds .quote::before {
  position: absolute;
  left: 16px;
  top: 12px;
  content: "\f10d";
}

.article-area-ds .quote::after {
  position: absolute;
  right: 16px;
  bottom: 12px;
  content: "\f10e";
}

.article-area-ds .pickupPost {
  margin: 70px 0 24px;
}

.article-area-ds .pickupPost-head {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 14px;
  padding: 6px 20px 7px;
  width: fit-content;
  border-top: 3px solid #00bfa6;
  border-bottom: 3px solid #00bfa6;
}
