@charset "utf-8";

body{
    box-sizing: border-box;
    overflow-x: hidden;
    font-size: 3vw;
    padding: 0 10%;
    line-height: 1.3;
    margin-bottom: 5%;
}

li{
    list-style: none;
}

section{
    margin-top: 5%;
}

.mainvisual{
    width: 100%;
}

.mainvisual .img{
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.mainvisual .img img{
    width: 100%;
    height: 100%;
    border-radius: 25px;
    z-index: -1;
}

.mainvisual .text-main{
    color: white;
    font-size: 1.9vw;
    line-height: 1.3;
    position: absolute;
    top: 15%;
    left: 3%;
    z-index: 1;
}

.marker {
  position: relative;
  display: inline-block;
  padding: 0.4em 1.2em;
  margin-bottom: 1%;
  font-size: 4vw;
  z-index: 1;
}
.marker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f4e1d2;
  z-index: -1;

  /* 手書きっぽい形 */
  clip-path: polygon(
    2% 30%,
    6% 10%,
    12% 18%,
    20% 8%,
    35% 15%,
    50% 5%,
    68% 15%,
    82% 8%,
    95% 18%,
    98% 30%,
    97% 72%,
    92% 90%,
    80% 84%,
    65% 95%,
    50% 85%,
    35% 92%,
    20% 85%,
    8% 90%,
    2% 70%
  );
}

.text{
    background-color: #E4F7DC;
    border-radius: 5vw;
    padding:3vh 3vw 3vh;
}

.bold{
    font-weight: bold;
}

.in-list{
    padding-left: 2.5%;
}

.qa .text{
    background-color: #FAF1FD;
}

.box{
    display: flex;
    gap: 2%;
}

.date .box .img{
    width: 40%;
} 

.ex .box .img{
    width: 100%;
} 

.date .box .img img{
    width: 100%;
    height: 100%;
    border-radius: 2vw;
    aspect-ratio: 4 / 3; 
    object-fit: cover;
}

.ex .box .img img{
    width: 100%;
    height: 100%;
    border-radius: 2vw;
    aspect-ratio: 16 / 9;
}

.notice img{
    width: 4vw;
}

@media screen and (min-width:768px){
    body{
        margin-right: 17px;
        font-size: 1.5vw;
    }

    .marker{
        font-size: 2vw;
    }

    .notice img{
        width: 3vw;
    }
}