@charset "utf-8";
:root{
  --cl-pink:#EA8E9E;
}

/* 共通 */
/* ======================================== */
#withme{
  font-size: 14px;
  letter-spacing: 0;
}
#withme .inner{
  padding: 0 20px;
}

#withme .cl.pk{
  color: var(--cl-pink);
}

#withme .montserrat{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

a.not-work{
  pointer-events: none;
}

/* スライド全体のコンテナ */
.slider-container {
  position: relative;
  width: 100%;
  /* 高さが潰れないように、デザインに合わせて調整してください（例: 100vh や 固定値など） */
  height: 55vw; 
  overflow: hidden;
}

/* 画像の基本スタイル（初期状態は透明） */
.slider-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover; /* 画像の比率を保ったまま切り抜き */
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* 1.5秒かけてフェード */
  z-index: 1;
}

/* アクティブな画像だけ表示 */
.slider-container img.is-active {
  opacity: 1;
  z-index: 2; /* 前面に出す */
}

/* 既存のPC/SP出し分けルール（環境に合わせて調整してください） */
@media (min-width: 769px) {
  .only-sp { display: none !important; }
}
@media (max-width: 768px) {
  .only-pc { display: none !important; }
}

#withme #inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 150px;
}

#withme #inner .intro{
  margin-bottom: 154px;
}

#withme #inner .intro h2{
  display: flex;
  justify-content: center;
  margin-bottom: 110px;
}

#withme #inner .intro h2 img{
  width: 510px;
}

#withme #inner .intro dl{
  display: flex;
  gap:70px;
}

#withme #inner .intro dl dt p{
  font-size: 14px;
  line-height: 28px;
}

#withme #inner .intro dl dt{
  width: 510px;
}

#withme #inner .intro dl dd{
  width: 640px;
}

#withme #inner .intro dl dd ul{
  display: flex;
  gap:20px;
}

#withme #inner .intro dl dd ul li{
  display: flex;
  width: 300px;
  text-align: center;
}

#withme #inner .intro dl dd ul li h3{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 10px;
}

#withme #inner .intro dl dd ul li p{
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  margin-top: 6px;
}

#withme #inner .info{
  width: 890px;
  margin-bottom: 200px;
}

#withme #inner .info h2{
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
}

#withme #inner .info p{
  font-size: 14px;
  line-height: 28px;
  /*text-align: center;*/
  margin-bottom: 30px;
}

#withme #inner .news h2{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
}

#withme #inner .news p{
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  margin-bottom: 120px;
}

/* ===========================================
 * sp
 * ======================================== */
@media(max-width: 768px){
/* 共通 */
/* ======================================== */

.slider-container{
  height: 155vw;
}

#withme{
    letter-spacing: -0.5px;
}

#withme #inner{
  margin-top: 80px;
}

#withme #inner .intro h2{
  padding: 0 30px;
  margin-bottom: 50px;
}

#withme #inner .intro h2 img{
  width: 100%;
}

#withme #inner .intro dl{
  flex-direction: column;
  gap: 80px;
}

#withme #inner .intro dl dt{
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

#withme #inner .intro dl dd{
  width: 100%;
}

#withme #inner .intro dl dd ul{
  flex-direction: column;
  padding: 0 45px;
  box-sizing: border-box;
  gap: 60px;
}

#withme #inner .intro dl dd ul li{
  width: auto;
}

#withme #inner .info{
  width: 100%;
  padding: 0 10px;
}


}
