@charset "utf-8";

h2,h3,h4 {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

section.heroSection {
    width: 100%;
    display: block;
    height: 300px;
    background-image: url(../images/products_introduction/bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

section.heroSection .innr{
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    box-sizing: border-box;
}

section.heroSection h1{
    font-family: "IBM Plex Sans JP", sans-serif;
    font-size: 3.125em;
    color: #FFDD00 !important;
    font-size: 3.125em;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 3px 3px #000000;
    width: 100%;
}

section.heroSection h2{
    font-family: "IBM Plex Sans JP", sans-serif;
    font-size: 2em;
    font-weight: bold;
    width: 100%;
}

section.heroSection h3{
    font-family: "IBM Plex Sans JP", sans-serif;
    width: 100%;
}

section.heroSection .btn-list {
  list-style: none; /* 点を消す */
  padding: 0;
  display: flex; /* 横並びにしたい場合 */
  gap: 10px;     /* ボタン間の余白 */
  margin-bottom: 30px;
}

section.heroSection .btn-list li a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff2600;; /* ボタン色 */
  color: #fff;
  text-decoration: none;
  border-radius: 6px; /* 角を丸く */
  font-weight: bold;
  transition: 0.3s;
}

section.heroSection .btn-list li a:hover {
  background-color: #cd6a00;; /* ホバー時 */
}

section.heroSection .btn-list li:nth-child(2n) a {
  background-color: #00B900; /* ボタン色 */
}

section.heroSection .btn-list li:nth-child(2n) a:hover {
  background-color: #0b7427;; /* ホバー時 */
}

section.tmFeatures {
    width: 100%;
}

section.tmFeatures .nct_tit {
    margin-top: 80px;
    margin-bottom: 35px;
}

section.tmFeatures .nct_tit h2 {
    background: #ffe8a2;
    font-size: clamp(1.15em, 5vw, 3em);
    text-shadow: 3px 3px #e5ce00;
}

section.tmFeatures .nct_tit h2 strong {
    color: #2d1700 !important;
}

div.fourContents {
    display: flex;
    width: 98%;
    max-width: 1080px;
    margin: 1em auto 1em;
    flex-wrap: wrap;
}

div.fourContents div{
    width: calc(25% - 6px);
    margin-right: 8px;
    border: #ffc7b1 1px solid;
    background: #ffdace;
    border-radius: 1em;
    padding: 1em;
    box-sizing: border-box;
}

div.fourContents div:last-child{
    margin-right: 0;
}

div.fourContents div h3{
    font-size: 19px;
    height: 57px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

div.fourContents div h4{
    font-size: 17px;
    height: 51px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #933f16;
    border-bottom: 1px solid gray;
    padding-bottom: 4px;
}

div.fourContents div p{
    text-align: left;
    margin-top: 0.5em;
}

section.content_box {
    display: block;
    max-width: 1080px;
    width: 98%;
    margin: 60px auto 60px;
    border: 4px dotted #ff460c;
    border-radius: 16px;
    padding: 1em;
    box-sizing: border-box;
    background: #fff1d8;
}

figure.mapimg {
    position: relative;
    display: block;
    width: 100%;
    margin: 100px 0 100px;
    background: url("https://treasure-market.net/treasure_market/wp-content/uploads/2025/08/33122063_l-scaled.jpg")
    center/cover no-repeat;
}

/* 背景画像（通常表示に戻す） */
figure.mapimg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.14);
}

figure.mapimg img{
    width: 100%;
    max-width: 380px;
    margin: 12px auto;
  --stroke: #fff;
  --glow:   #58a6ff;

  /* 1pxの縁取りを四方向で擬似的に作る */
  filter:
    drop-shadow( 1px  0 0 var(--stroke))
    drop-shadow(-1px  0 0 var(--stroke))
    drop-shadow( 0   1px 0 var(--stroke))
    drop-shadow( 0  -1px 0 var(--stroke))

    /* 外側のグロー */
    drop-shadow(0 0 8px  color-mix(in oklab, var(--glow) 80%, transparent))
    drop-shadow(0 0 20px color-mix(in oklab, var(--glow) 60%, transparent))
    drop-shadow(0 0 36px color-mix(in oklab, var(--glow) 40%, transparent));
}

.content_box h2 {
    font-size: 40px;
    font-family: "Yusei Magic", sans-serif;
    display: inline;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgb(255 141 106) 70%);
}

.content_box h3 {
    font-size: 1.750em;
    font-family: "Yusei Magic", sans-serif;
    border-bottom: 4px solid #FFC400;
    padding-bottom: 8px;
    margin-bottom: 25px;
    margin-top: 0;
}

.content_box p {
    max-width: 1080px;
    margin: 0 auto 1.8em;
    font-size: 19px;
}

section.content_box ul {
    text-align: left;
}

section.content_box ul li {
    display: inline-block;
    margin-right: 1em;
}

section.content_box ul li:after {
    content: '/';
    margin-left: 10px;
}

section.content_box ul li:last-child:after {
    content: '';
    margin-left: 0;
}

section.content_box ol.steps {
    margin-top: 30px;
}

section.content_box ol.steps .step {
    max-width: 680px;
    margin: 0 auto 1em;
    border-radius: 1em;
    padding: 1em;
    border: 1px solid #666;
    position: relative;
    background: #fff;
}

section.content_box ol.steps li:last-child {
    margin:0 auto 80px;
}

section.content_box ol.steps .step p {margin-bottom:0;}

section.content_box ol.steps .pin {
    font-size: 60px;
    display: inline-block;
}

section.content_box li.step h2 {
    background-image: none;
}


/* --- ベース（ULをスライダー化する前提） --- */
ul.slick_kaitori{
  list-style: none;
  margin: 0;
  padding: 0;
}

/*ul.slick_kaitori li {
  flex: 0 0 24%;  /* 幅固定 */
/*}*/

/* Slick内部が高さ可変で崩れないように */
.slick_kaitori .slick-list{ margin: 0 -10px; }           /* 両端の余白調整 */
.slick_kaitori .slick-slide{ padding: 0 10px; height:auto;}
.slick_kaitori li{ height:100%; }
.slick_kaitori li a{
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.slick_kaitori li a:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
}

/* --- 画像エリア（比率を揃える） --- */
.slick_kaitori figure{
  margin: 0;
  aspect-ratio: 4 / 3;          /* 4:3推奨。必要なら 1 / 1 などに変更 */
  overflow: hidden;
  background: #f7f7f7;
}

.slick_kaitori figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- テキストエリア --- */
.slick_kaitori_wrapper {
    max-width: 1080px;
    margin: 1em auto 80px;
}

.slick_kaitori section{
  padding: 10px 12px 14px;
  display: grid;
  gap: 6px;
}
.slick_kaitori h3{
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;       /* 折り返さない */
  overflow: hidden;          /* はみ出し隠す */
  text-overflow: ellipsis;   /* 省略記号 … を表示 */
}
.slick_kaitori p{
  margin: 0;
  color: #333;
  font-size: 14px;
}
.slick_kaitori p strong{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* --- アクセシビリティ（キーボード操作時） --- */
.slick_kaitori li a:focus-visible{
  outline: 3px solid #5aa7ff;
  outline-offset: 2px;
}

/* --- 矢印（見た目を少し大きく） --- */
.slick_kaitori .slick-prev,
.slick_kaitori .slick-next{
  width: 42px;
  height: 42px;
  z-index: 2;
}
.slick_kaitori .slick-prev:before,
.slick_kaitori .slick-next:before{
  font-size: 28px;
  color: #444;                   /* 矢印色 */
  opacity: .9;
}
.slick_kaitori .slick-prev{ left: -4px; }
.slick_kaitori .slick-next{ right: -4px; }

/* --- ドット --- */
.slick_kaitori .slick-dots{
  bottom: -30px;                 /* スライダー下に余白 */
}
.slick_kaitori .slick-dots li button:before{
  font-size: 10px;
  color: #bbb;
  opacity: 1;
}
.slick_kaitori .slick-dots li.slick-active button:before{
  color: #555;
}

/* --- ダーク背景に置く場合（任意） --- */
.kaitori-on-dark ul.slick_kaitori li a{
  background: #141414;
  border-color: #222;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.kaitori-on-dark ul.slick_kaitori h3,
.kaitori-on-dark ul.slick_kaitori p{ color: #f2f2f2; }
.kaitori-on-dark ul.slick_kaitori .slick-dots li button:before{ color:#666; }
.kaitori-on-dark ul.slick_kaitori .slick-dots li.slick-active button:before{ color:#ddd; }

@media only screen and (max-width: 1050px) {
  .content_box h2 span {
      display: block;
  }
  .content_box h2 {
      font-size: clamp(1.15em, 5vw, 3em);
  }
}

@media only screen and (max-width: 1000px) {
  div.fourContents div{
      width: calc(50% - 6px);
      margin-right: 4px;
      margin-bottom: 8px;
  }
}

@media only screen and (max-width: 768px) {
  section.heroSection h1 span {
      display: block;
  }

  section.heroSection h1 {
      line-height: 1.25;
      font-size: clamp(25px, 8vw, 2.6em);
      line-height: 1.25;
  }

  section.heroSection h2 span {
      display: block;
  }

  section.heroSection h2 {
    font-size: clamp(16px, 5vw, 1.8em);
  }

  section.tmFeatures .nct_tit {
      margin-top: 30px;
      margin-bottom: 0px;
  }

  .content_box p {
    text-align: left;
  }

}

@media only screen and (max-width: 500px) {
  div.fourContents div{
        width: 100%;
        margin-right: 0;
  }
}

.nct_logo {
    margin-bottom: 1em;
}