@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");

body {
  margin: 0 auto;
}

/* =========================
hms
========================= */
#Wrap {
  width: 100%;
}

#hmscontents {
  width: 100%;
  margin: 0 auto;
}

h1,
h2,
h3,
p,
hr {
  padding: 0;
  margin: 0;
  line-height: 1;
}

#hmscontents,
#hmscontents2 {
  font-family: "Noto Sans JP";
  text-align: center;
  /* font-size: 32px; */
  font-weight: 300;
  overflow-x: hidden;
  margin: 0 0 -80px 0;
  font-display: swap;
  /* color: #c19b9d; */
}

#hmscontents a {
  text-decoration: none;
}

#hmscontents hr {
  border: none;
  border-top: 1px solid #a6a6a6;
  height: 0;
}

#hmscontents section,
#hmscontents2 section {
  padding: 0;
}

#hmscontents figure,
#hmscontents2 figure {
  margin: 0;
  padding: 0;
}

#hmscontents img,
#hmscontents2 img {
  max-width: 100%;
  display: block;
  width: 100%;
  height: auto;
}

#hmscontents span,
#hmscontents2 span {
  display: inline-block;
}

#hmscontents ul,
#hmscontents2 ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

#hmscontents ol {
  padding-left: 0;
}

#hmscontents .subtext {
  color: #fff;
  display: inline-block;
  width: 100%;
  margin-bottom: 40px;
}

#hmscontents .subtext p {
  text-align: center;
  font-size: 32px;
  font-family: "Noto Serif JP", serif !important;
  line-height: 1.3 !important;
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, #e5b7ba 0%, #bf928f 100%);
}

#hmscontents .subtext p span {
  font-size: 24px;
}

#hmscontents .subtext figure {
  position: relative;
}

#hmscontents .subtext figure img {
  position: absolute;
  top: 0;
  left: 0;
}

#hmscontents .line {
  margin: 40px 0;
  width: 100%;
}

#hmscontents .rescue {
  margin: 0 0 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: solid 1px #fff;
  padding: 2px 12px;
}

#hmscontents .rescue p {
  font-family: "Noto Serif JP", serif !important;
  font-size: 32px;
}

#hmscontents .rescue span {
  position: relative;
  width: 20px;
  height: 20px;
}

#hmscontents .rescue span img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.maincontents {
  max-width: 960px;
  margin: 0 auto;
}

#hmscontents .content2 h2 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.4;
  /* color: #c19b9d; */
}

#hmscontents .content3 h2,
#hmscontents .content5 h2 {
  font-weight: 500;
  font-size: 36px;
  /* color: #c19b9d; */
}

/* =========================
content1
========================= */
#hmscontents .content1 {
  /* width: 100%; */
}

.hms-kv {
  width: 100vw;
  margin-bottom: 50px;
}

/* =========================
content2
========================= */
.content2 {
  max-width: 960px;
  margin: 0 auto;
}

#hmscontents .content2 h2 span {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 30px;
  display: block;
}

#hmscontents .content2 hr {
  margin: 45px 0;
}

#hmscontents .content2 p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 60px;
  line-height: 2;
  text-align: center;
}

#hmscontents .content2 .btn-box {
  max-width: 345px;
  margin: 0 auto 125px;
}

#hmscontents .content2 .btn-box-top {
  display: flex;
  justify-content: space-between;
  /* gap: 40px; */
}

#hmscontents .content2 .btn-box .btn-black {
  background-color: #000;
  color: #fff;
  font-size: 19px;
  padding: 10px 42px;
  margin-bottom: 20px;
}

#hmscontents .content2 .btn-box .btn-black:hover,
#hmscontents .content2 .btn-box .btn-line:hover {
  opacity: 0.7;
}

#hmscontents .content2 .btn-box .btn-line {
  display: block;
  background-color: #06c755;
  width: auto;
  color: #fff;
  font-size: 20px;
  padding: 10px 0 10px 25px;
  background-image: url("/Contents/ImagesPkg/hbm/icon-line.webp");
  background-repeat: no-repeat;
  background-position: calc(40% - 70px) center;
  background-size: 28px;
}

/* =========================
content3
========================= */
#hmscontents .content3 {
  margin-bottom: 180px;
}

#hmscontents .content3 h2 {
  margin-bottom: 40px;
}

#hmscontents .content3 p {
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 75px;
  text-align: center;
}

#hmscontents .content3 img {
  max-width: 780px;
  margin: 0 auto 65px;
}

#hmscontents .content3 ul {
  list-style: none;
  list-style-position: inside;
  padding-left: 1em;
  text-align: left;
  max-width: 780px;
  margin: 0 auto;
}

#hmscontents .content3 li {
  font-size: 13px;
  font-weight: 300;
  position: relative;
  line-height: 2;
}

#hmscontents .content3 li::before {
  content: "";
  position: absolute;
  left: -0.6em;
  top: 1em;
  width: 2px;
  height: 2px;
  background-color: currentColor;
  border-radius: 50%;
}

#hmscontents .content3 li::marker {
  font-size: 0.6rem;
  vertical-align: middle;
}

/* =========================
content4
========================= */
.content4 {
  margin-bottom: 90px;
}

/* =========================
content5
========================= */
#hmscontents .content5 .silver-text {
  font-weight: 500;
  font-size: 36px;
  background: linear-gradient(to right, #3f3f3f, #dddddd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#hmscontents .content5 .gold-text {
  font-weight: 500;
  font-size: 36px;
  background: linear-gradient(to right, #755f23, #d0c9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#hmscontents .content5 .black-text {
  font-weight: 500;
  font-size: 36px;
  background: linear-gradient(to right, #000000, #b4b4b4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#hmscontents .content5 hr {
  margin: 60px auto 85px;
}

#hmscontents .content5 ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 70px 0 50px;
}

#hmscontents .content5 ul li {
  width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#hmscontents .content5 ul li img {
  filter: drop-shadow(3px 3px 3px #e6e6e6);
}

/* @media (max-width: 768px) {
  .responsive-list {
    justify-content: center;
    gap: 10px;
  }

  .responsive-list li {
    width: calc(50% - 10px);
    max-width: 170px;
  }
} */

#hmscontents .content5 ul li p {
  font-weight: 500;
  margin-top: 10px;
  line-height: 1.2;
}

#hmscontents .content5 .notes {
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

#hmscontents .content5 .msg {
  font-size: 18px;
  font-weight: 400;
  margin: 60px auto;
  text-align: center;
}

/* =========================
content6
========================= */

/* =========================
content7
========================= */
#hmscontents .content7 {
  background-color: #dddddd;
  padding: 50px 0 80px;
}

#hmscontents .content7 .content-box {
  max-width: 960px;
  margin: 0 auto;
}

#hmscontents .content7 .content-box p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
}

#hmscontents .content7 .howto {
  background-color: #000000;
  padding: 16px 0;
  color: #ffffff;
  font-size: 27px;
  margin: 0 0 45px;
  width: 700px;
}

#hmscontents .content7 .howtocontent {
  display: flex;
  padding: 50px 0 20px;
  justify-content: flex-start;
  gap: 40px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

#hmscontents .content7 .howtocontent > div {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex: 1;
}

/* #hmscontents .content7 .howtocontent img {
  width: 73px;
  height: 73px;
  object-fit: contain;
  flex-shrink: 0;
} */

#hmscontents .content7 .howtocontent .howtono,
#hmscontents .content7 .howtocontent .howtotitle {
  font-size: 17px;
  font-weight: 500;
  flex-shrink: 0;
  min-width: 1.5em;
}

/* 説明文（テキスト）の調整 */
#hmscontents .content7 .howtocontent .howtotext {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  flex-grow: 1; /* 余ったスペースをすべて使う */
}

/* SVGアイコンも潰れないように念のため設定 */
#hmscontents .content7 .howtocontent svg {
  flex-shrink: 0;
}

#hmscontents .content7 .howtocontent .howtotext {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
}

#hmscontents .content7 .howtocontent .howtotext span {
  font-size: 10px;
  line-height: 1.4;
}

#hmscontents .content7 .btn-howto {
  width: 240px;
  height: 30px;
  border: solid 1px #000000;
  color: #000000;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hmscontents .content7 .btn-howto a {
  color: #000000;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

#hmscontents .content7 .btn-howto a::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 0;
  height: 0;

  /* CSSで三角形を作る指定（右向き） */
  border-style: solid;
  border-width: 6px 0 6px 6px; /* 上・右・下・左 の太さ */
  border-color: transparent transparent transparent #000000; /* 上・右・下・左 の色。左だけ色をつける */
}

#hmscontents .content7 .btn-howto a:hover {
  opacity: 0.7;
}
