@charset "UTF-8";
/*----------------
----character----
----------------*/

/* head
-------------------------------------------------*/

.pageTitle {
  max-width: 330px;
}
@media screen and (min-width: 768px) {
  .pageTitle {
    max-width: 745px;
  }
}

/* profile
-------------------------------------------------*/

.korogaru-profile {
  margin: 0 auto;
  padding: 5px 0 100px;
  max-width: 945px;
}

@media screen and (min-width: 901px) {
  .korogaru-profile {
    display: flex;
    gap: 30px;
    padding: 50px 0 180px;
  }
}

/* ==============================
    Slider Layout
============================== */
@media screen and (min-width: 901px) {
  .sliderWrap {
    width: 50%;
  }
}

.slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 60%;
    aspect-ratio: 1 / 1;
    max-width: 300px;
}

@media screen and (min-width: 901px) {
  .slider {
    width: 100%;
    max-width: 360px;
  }
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-style: preserve-3d;
}

/* ==============================
    Slide
============================== */

/*Variables*/
:root {
    --gap: 160px;
}
@media (min-width: 901px) {
  :root {
      --gap: 220px;
  }
}

.slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s;
  pointer-events: auto;
}

.slide img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transform: translateX(7%);
}

img.hooray {
  padding-right: 8%;
  width: 100%;
}

/* ==============================
    Controls
============================== */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 35px auto 0;
    max-width: 320px;
}
@media screen and (min-width: 901px) {
    .controls {
        gap: 30px;
        margin: 35px auto 60px;
        max-width: 400px;
    }
}
@media screen and (min-width: 1280px) {
    .controls {
        margin: 35px auto 0;
    }
}

.controls .arrows {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.controls .arrows:hover {
  transform: scale(1.1);
}

.controls .arrows img {
  width: 40px;
  height: 40px;
  display: block;
}

@media screen and (min-width: 901px) {
  .controls .arrows img {
    width: 60px;
    height: 60px;
  }
}

/* ==============================
    Pagination
============================== */
.pagination {
    display: flex;
    gap: 16px;
}
@media screen and (min-width: 768px) {
    .pagination {
        gap: 25px;
    }
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #D0D0D0;
    cursor: pointer;
}
@media screen and (min-width: 768px) {
    .dot {
        width: 14px;
        height: 14px;
    }
}

.dot.active {
    background: #FD9719;
}

/* ==============================
    Profile Text
============================== */
.profileText {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 35px auto 0;
  max-width: 380px;
}
@media screen and (min-width: 901px) {
  .profileText {
    flex: 1;
    gap: 15px;
    margin: 25px auto 0;
    max-width: 440px;
  }
}

.profileText > div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profileText dt {
  padding: .15em;
  min-width: 8em;
  background: #FFE66D;
  border-radius: 9999px;
  text-align: center;
  color: #3D7B1C;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  white-space: nowrap;
}
@media screen and (min-width: 901px) {
  .profileText dt {
    min-width: 9em;
  }
}

.profileText dd {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  line-height: 1.4;
}

/* ==============================
    Family
============================== */

#family {
  position: relative;
  margin: 0 auto;
  padding: 50px 25px 50px;
  max-width: 1080px;
  background: #fff;
  border-radius: 30px;
}
@media screen and (min-width: 901px) {
  #family {
    padding: 60px 25px 70px;
  }
}

.familyTitle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
}
@media screen and (min-width: 901px) {
  .familyTitle {
    max-width: 500px;
  }
}

.familyLead {
  margin: 20px auto 50px;
  text-align: center;
}

.familyMembers {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1280px) {
  .familyMembers {
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 3%;
  }
}

.familyMember:not(:last-child) {
  margin-bottom: 55px;
}
@media screen and (min-width: 1280px) {
  .familyMember {
    width: 26%;
  }
  .familyMember:not(:last-child) {
    margin-bottom: 0;
  }
}

.familyImg {
  margin: 0 auto 1.2em;
  width: 52%;
  max-width: 200px;
}
@media screen and (min-width: 901px) {
  .familyImg {
    width: 30%;
    max-width: 220px;
  }
}
@media screen and (min-width: 1280px) {
  .familyImg {
    width: 75%;
  }
}

.familyImg img {
  transform: translateX(8%);
}

.familyName {
  margin-bottom: .6em;
  text-align: center;
  color: #FD9719;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.introText {
  margin: 0 auto;
  max-width: 280px;
  text-align: center;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
}
@media screen and (min-width: 768px) {
  .introText {
    max-width: 385px;
  }
}
@media screen and (min-width: 1280px) {
  .introText {
    height: 90px;
    text-align: left;
  }
}

.familyMember .profileText {
  margin-top: .7em;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
}

.familyMember .profileText > div {
  justify-content: center;
}
@media screen and (min-width: 1280px) {
  .familyMember .profileText > div {
    justify-content: flex-start;
  }
}

.familyMember .profileText dt {
    min-width: 6em;
}


/* schedule
-------------------------------------------------*/

.scheduleLead {
  text-align: center;
}

.scheduleWrap {
  margin: 40px auto 0;
}
@media (min-width: 768px) {
  .scheduleWrap {
    position: relative;
    margin: 60px auto 0;
    max-width: 685px;
  }

  /*PC時画像レイアウト変更*/
  .scheduleWrap::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/korogarukun/img/character/schedule01.png), url(/korogarukun/img/character/schedule02.png), url(/korogarukun/img/character/schedule03.png), url(/korogarukun/img/character/schedule04.png);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: top left, top 33% left, top 66% left, top 99% left;
    background-size: 30%, 30%, 30%, 30%;
  }
}
@media (min-width: 901px) {
  .scheduleWrap {
    margin: 80px auto 0;
  }
}

.scheduleList {
  position: relative;
}
@media (min-width: 768px) {
  .scheduleList {
    margin-left: auto;
    max-width: 430px;
  }
}

/* 縦ライン */
.scheduleList::before {
  content: "";
  position: absolute;
  top: 0;
  left: 21px;
  width: 6px;
  height: 100%;
  background: #BDD65B;
  z-index: -1;
}

@media (min-width: 768px) {
  .scheduleList::before {
    left: 35px;
  }
}

/* 画像 */
.scheduleImage {
  margin: 1.5em auto 2em;
  width: 58%;
  max-width: 210px;
}

.scheduleItem.item01 .scheduleImage {
  margin: 1.5em auto .5em;
}

.scheduleContent {
  margin-bottom: 12px;
}

.scheduleItem.item07 .scheduleContent {
  margin-bottom: 0;
}

.scheduleTime,
.scheduleTitle {
  display: inline-block;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.2;
}

.scheduleTime {
  padding: .5em 0;
  width: 55px;
  text-align: center;
  letter-spacing: .12em;
  background: #FAF9E8;
}
@media (min-width: 768px) {
  .scheduleTime {
    width: 80px;
  }
}

.scheduleTitle {
  color: #3D7B1C;
  font-weight: 700;
  letter-spacing: .05em;
}

.scheduleText {
  position: relative;
  margin: 5px 0 0 60px;
  padding-bottom: 25px;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  line-height: 1.6;
}

.scheduleItem.item02 .scheduleText,
.scheduleItem.item06 .scheduleText,
.scheduleItem.item07 .scheduleText {
  padding-bottom: 0;
}


@media (min-width: 768px) {
  .scheduleText {
    margin: 5px 0 0 86px;
    padding-bottom: 20px;
  }

  .scheduleItem.item02 .scheduleText,
  .scheduleItem.item06 .scheduleText {
    padding-bottom: 20px;
  }
}

.scheduleText::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-image: radial-gradient(circle at 50% 50%, #3D7B1C 45%, transparent 46%);
    background-size: 7px 100%;
    background-repeat: repeat-x;
}

@media (max-width: 767.98px) {
  .scheduleItem.item02 .scheduleText::after,
  .scheduleItem.item06 .scheduleText::after {
    bottom: -255px;
  }
}
@media (max-width: 390px) {
  .scheduleItem.item02 .scheduleText::after,
  .scheduleItem.item06 .scheduleText::after {
    bottom: -66vw;
  }
}

.scheduleItem.item07 .scheduleText::after {
  background: none;
}

