@charset "utf-8";

/* ===================================
   トップページ専用スタイル
   =================================== */

/* -----------------------------------
   メインビジュアル
   ----------------------------------- */
/* メインビジュアル */
.main-visual {
  height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.main-visual__video {
  position: absolute;
  top: 65%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.main-visual__video--desktop {
  display: block;
}

/* スマホ版動画を非表示 */
.main-visual__video--mobile {
  display: none;
}

/* .main-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 2;
} */

.main-visual-inner {
  max-width: var(--content-width);
  width: 93%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  padding: 0 0 40px;
}

.main-visual-title {
  color: #fff;
}

.main-visual-title h2 {
  width: 100%;
  max-width: 384px;
  margin: 0 0 10px 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

.main-visual-subtitle {
  font-family: "Bodoni Moda", serif;
  font-size: 16px;
  font-weight: normal;
  color: #6b305f;
  text-shadow: 0 0 20px rgb(255 255 255 / 82%);
  position: relative;
  margin: 0;
}
.main-visual-subtitle::after {
  content: "";
  width: 42px;
  border-bottom: 1px solid #000;
  position: absolute;
  left: 348px;
  bottom: 5px;
}

/* -----------------------------------
   各セクション共通
   ----------------------------------- */
.news-section,
.updates-section,
.information-section,
.events-section {
  margin-bottom: 80px;
}

/* -----------------------------------
   つま青セクション
   ----------------------------------- */
.tsumasei-section {
  background-color: #ffecf1;
  padding: 60px 0 80px;
  margin-bottom: 0;
}
.tsumasei-section .c-card__content {
  height: 80px;
}
.hidden-banner {
  width: 320px;
  margin: 30px auto 0;
  text-align: center;
}
.hidden-banner:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* -----------------------------------
   イベントセクション
   ----------------------------------- */
.events-section .c-section-title__icon img {
  width: 33px;
  height: 35px;
  margin-left: 5px;
}

.events-section .section-inner {
  position: relative;
}

.events-section .section-inner::before {
  content: "";
  width: 89px;
  height: 124px;
  background: url(/wp/wp-content/themes/otsuma/assets/images/top/events-section-illust01.png)
    no-repeat;
  background-size: contain;
  position: absolute;
  top: 103px;
  right: 10px;
  z-index: 1;
}

.events-section .c-btn {
  width: 100%;
  max-width: 368px;
  height: 85px;
  font-size: 1.125rem;
}

.events-section .c-btn::after {
  width: 32px;
  height: 14px;
}

/* イベントカードリスト */
.events-card-list {
  display: grid;
  gap: 15px;
  margin-bottom: 60px;
}

@media (min-width: 767px) {
  .events-card-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.events-card__header {
  padding: 15px 0;
  color: #fff;
  text-align: center;
}

.events-card.pink {
  background: #ffecf1;
}

.events-card.pink .events-card__header {
  background: #d57a93;
}

.events-card.blue {
  background: #e9f4fc;
}

.events-card.blue .events-card__header {
  background: #87a9c4;
}

.events-card.green {
  background: #ecfdef;
}

.events-card.green .events-card__header {
  background: #7cbf89;
}

.events-card__title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.events-card__subtitle {
  height: 60px;
  display: flex;
  align-items: center;
  justify-self: center;
  text-align: center;
}

.events-card__subtitle p {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  margin: 0;
  padding: 0 1.125rem;
}

.events-card__list {
  list-style: none;
  padding: 0 18px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px 0;
}

.events-card__item {
  background-color: #fff;
  position: relative;
}
.events-card__item > a,
.events-card__item .event-none {
  padding: 15px;
}

.events-card__item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* リンクがある場合のホバー効果 */
.events-card__item a:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* 子要素のポインターイベントを無効化してリンクエリア全体をクリック可能に */
.events-card__item a > * {
  pointer-events: none;
}

.events-card__item:last-child {
  border-bottom: none;
}

.events-card__date {
  display: block;
  font-size: 0.875rem;
  color: #55416e;
  line-height: 0.8;
  margin-bottom: 10px;
  position: relative;
}

.events-card__date::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #535353;
  position: absolute;
  bottom: 0;
  left: 0;
}

.events-card__date span {
  background: #fff;
  padding: 0 10px 0 0;
  position: relative;
  z-index: 1;
}

.events-card__category {
  display: inline-block;
  padding: 3px 6px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}

.events-card.pink .events-card__category {
  background: #db6f71;
}

.events-card.blue .events-card__category {
  background: #6b98bc;
}

.events-card.green .events-card__category {
  background: #7cbf89;
}

.events-card__text {
  margin: 0;
  font-size: 0.875rem;
  color: #000;
  line-height: 1.6;
}

/* -----------------------------------
   新着だよりセクション
   ----------------------------------- */
.updates-section .section-inner {
  width: 100%;
  position: relative;
}
.updates-section .c-card-list.slick-initialized {
  display: block;
}
.updates-section .c-card-ribbon-inner h3 {
  font-size: 0.75rem;
  padding: 0 30px 0 15px;
}
.updates-section .c-card__date,
.updates-section .c-card__title {
  font-size: 0.875rem;
}
.updates-section .c-card__title {
  line-height: 1.4;
  font-weight: 500;
}

.updates-sectio .slick-list {
  padding-top: 5% !important;
  padding-bottom: 5% !important;
}

.updates-section .slick-slide {
  margin: 10px 12px;
}

.updates-section .slick-dots {
  bottom: calc(20 * (100vw / 780));
  text-align: center;
  position: relative;
  margin-top: calc(40 * (100vw / 780));
}

.updates-section .slick-dots li {
  display: inline-block;
  margin: 0 calc(15 * (100vw / 780));
}

.updates-section .slick-dots li button {
  width: calc(20 * (100vw / 780));
  height: calc(23 * (100vw / 780));
  border-radius: 50%;
  background: rgba(126, 69, 124, 0.3);
  border: none;
  font-size: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.updates-section .slick-dots li.slick-active button {
  background: #7e457c;
  transform: scale(1.3);
  box-shadow: 0 0 0 calc(3 * (100vw / 780)) rgba(126, 69, 124, 0.2);
}

.updates-section .slick-dots li button:hover {
  background: rgba(126, 69, 124, 0.6);
  transform: scale(1.1);
}

.updates-section .slick-dots li button:before {
  content: "";
  display: none;
}

.updates-section .slick-prev,
.updates-section .slick-next {
  width: 40px;
  height: 40px;
  font-size: 0;
  line-height: 0;
  position: absolute;
  bottom: calc(-15 * (100vw / 780));
  top: auto;
  display: block;
  padding: 0;
  transform: none;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  border-radius: 0;
  z-index: 9;
}

.updates-section .slick-next {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.updates-section .slick-prev {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M14 6l1.41 1.41L10.83 12l4.58 4.59L14 18l-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.updates-section .c-card__title {
  margin: 0;
  color: #000;
  text-align: left;
}

@media (min-width: 767px) {
  .updates-section .section-inner {
    padding-top: 795px;
  }

  .updates-section .section-title {
    position: absolute;
    top: 55px;
    right: 5vw;
    margin: 0;
  }

  .updates-section .section-title::after {
    width: 84px;
    height: 85px;
    position: absolute;
    bottom: 0;
    right: -47px;
    content: "";
    background: url(/wp/wp-content/themes/otsuma/assets/images/top/updates-section-title-illust.png);
    background-size: cover;
  }

  .updates-section .section-inner::before {
    content: "";
    width: 105px;
    height: 137px;
    background: url(/wp/wp-content/themes/otsuma/assets/images/top/updates-section-illust01.png)
      no-repeat;
    position: absolute;
    top: 400px;
    left: 130px;
    background-size: contain;
  }

  .updates-section .c-card__content {
    height: 54px;
    padding: 0 20px;
  }

  .updates-section .c-card {
    position: absolute;
  }

  .updates-section .c-card-list {
    position: absolute;
    top: 133px;
    left: 0;
    opacity: 1;
    transform: translateY(0);
  }

  .updates-section .c-card-list .c-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
  }

  .updates-section .c-card-list.is-visible .c-card {
    opacity: 1;
    transform: translateY(0);
  }

  .updates-section .card01 {
    width: 308px;
    top: 30px;
    left: 442px;
  }

  .updates-section .card02 {
    width: 267px;
    top: -25px;
    left: 107px;
  }

  .c-card-list.js-fadeUp.is-visible .card02 {
    transition-delay: 0.3s;
  }

  .updates-section .card03 {
    width: 217px;
    top: 368px;
    left: 324px;
  }

  .c-card-list.js-fadeUp.is-visible .card03 {
    transition-delay: 0.5s;
  }

  .updates-section .card04 {
    width: 208px;
    top: 465px;
    left: 36px;
  }

  .c-card-list.js-fadeUp.is-visible .card04 {
    transition-delay: 0.7s;
  }

  .updates-section .c-btn {
    width: 350px;
    height: 95px;
    font-size: 1.25rem;
    position: absolute;
    top: 560px;
    right: 40px;
  }
}

/* -----------------------------------
   インフォメーションセクション
   ----------------------------------- */
.information-section {
  background: url(/wp/wp-content/themes/otsuma/assets/images/top/information-bg.jpg)
    no-repeat center center;
  background-size: cover;
  padding: 80px 0;
}

.information-section .section-inner {
  width: 90%;
  max-width: 924px;
  padding: 50px 60px;
  background: rgb(255 255 255 / 85%);
}

.information-section .section-title {
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
  font-weight: 500;
  color: #8b6090;
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  position: relative;
}

.information-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.information-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dotted #000;
}

.information-item-label {
  display: flex;
  align-items: center;
}

.information-date {
  font-size: 1rem;
  color: #55416e;
  white-space: nowrap;
  padding-right: 15px;
}

.information-category {
  min-width: 145px;
  display: inline-block;
  background: #8b6090;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
  text-align: center;
}

.information-link {
  flex: 1;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.information-link:hover {
  color: #8b6090;
}

.information-section .c-btn {
  width: 265px;
  height: 65px;
  margin: 40px auto 0;
  font-size: 1.125rem;
}

.information-section .c-btn::after {
  width: 24px;
  height: 10px;
}

/* -----------------------------------
   トップボトム背景
   ----------------------------------- */
.top-bottom-bg {
  height: 371px;
  background: url(/wp/wp-content/themes/otsuma/assets/images/top/top-bottom-bg.jpg)
    no-repeat center center;
  background-size: cover;
}

/* -----------------------------------
   レスポンシブ（トップページ）
   ----------------------------------- */
@media (max-width: 767px) {
  .main-visual {
    height: 80vh;
  }

  .main-visual__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
  }
  .main-visual-inner {
    width: calc(663 * (100vw / 780));
    margin: 0 auto calc(40 * (100vw / 780));
    padding: 0;
  }
  .main-visual-title h2 {
    width: calc(480 * (100vw / 780));
    margin: 0;
    line-height: 0;
  }
  .main-visual__video--desktop {
    display: none;
  }

  .main-visual__video--mobile {
    display: block;
  }

  .main-visual-subtitle {
    margin: calc(10 * (100vw / 780)) 0 0;
    font-size: calc(20 * (100vw / 780));
  }
  .main-visual-subtitle::after {
    content: none;
  }

  .news-section,
  .updates-section,
  .information-section,
  .events-section {
    margin-bottom: calc(80 * (100vw / 780));
  }

  .section-title {
    font-size: 1.5rem;
  }

  .tsumasei-section {
    padding: calc(80 * (100vw / 780)) 0 calc(100 * (100vw / 780));
  }

  .tsumasei-section .section-inner {
    width: calc(640 * (100vw / 780));
  }
  .tsumasei-section .c-card-list {
    width: calc(510 * (100vw / 780));
    margin: auto;
  }
  .hidden-banner {
    width: calc(510 * (100vw / 780));
  }

  .updates-section .slick-dots {
    margin: calc(40 * (100vw / 780)) 0 0;
    padding: 0;
  }

  .information-section .section-title {
    font-size: calc(52 * (100vw / 780));
    margin-top: 0;
    margin-bottom: calc(30 * (100vw / 780));
  }

  .information-section .section-title::after {
    bottom: calc(13 * (100vw / 780));
  }

  .information-section .section-inner {
    padding: calc(64 * (100vw / 780)) calc(40 * (100vw / 780));
  }

  .information-item {
    padding: calc(30 * (100vw / 780)) 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .information-date {
    font-size: calc(26 * (100vw / 780));
  }

  .information-category {
    padding: 4px 8px;
    font-size: calc(24 * (100vw / 780));
  }
  .information-item .u-gap {
    flex-direction: row;
  }

  .information-link {
    font-size: calc(28 * (100vw / 780));
  }

  .information-section .c-btn {
    width: calc(490 * (100vw / 780));
    height: calc(115 * (100vw / 780));
    font-size: calc(30 * (100vw / 780));
  }

  .updates-section {
    margin-top: calc(80 * (100vw / 780));
  }

  .updates-section .section-title {
    width: calc(598 * (100vw / 780));
    margin: 0 auto calc(50 * (100vw / 780));
  }

  .updates-section .c-card {
    opacity: 1;
    transform: translateY(0);
  }

  .updates-section .c-card-list {
    display: block;
    grid-template-columns: none;
    gap: 0;
  }

  .updates-section .c-btn {
    width: calc(490 * (100vw / 780));
    margin: calc(40 * (100vw / 780)) auto 0;
  }

  .events-card-list {
    margin-bottom: calc(60 * (100vw / 780));
  }

  .events-section .section-inner {
    width: calc(640 * (100vw / 780));
  }

  .events-section .section-inner::before {
    width: calc(111 * (100vw / 780));
    height: calc(124 * (100vw / 780));
    background-size: cover;
    top: calc(203 * (100vw / 780));
    right: calc(5 * (100vw / 780));
    z-index: 1;
  }

  .events-section .c-section-title__icon img {
    width: calc(33 * (100vw / 780));
    height: calc(35 * (100vw / 780));
    margin-left: calc(4 * (100vw / 780));
  }

  .events-section .c-btn-group {
    flex-direction: column;
    gap: 20px;
  }

  .events-section .c-btn {
    width: calc(490 * (100vw / 780));
    height: calc(115 * (100vw / 780));
    font-size: calc(30 * (100vw / 780));
    margin: 0 auto;
  }

  .events-section .c-btn::after {
    width: calc(44 * (100vw / 780));
    height: calc(19 * (100vw / 780));
  }

  .updates-section .c-card__title {
    padding: 0 calc(20 * (100vw / 780));
  }

  .top-bottom-bg {
    height: calc(333 * (100vw / 780));
    background: url(/wp/wp-content/themes/otsuma/assets/images/top/sp-top-bottom-bg.jpg)
      no-repeat center center;
    background-size: contain;
  }

  /* 新着だよりスライド機能のスタイル */
  .updates-section .slide-container {
    transition: transform 0.3s ease;
  }

  .slide-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(30 * (100vw / 780));
    margin-top: calc(50 * (100vw / 780));
    padding: 0 calc(40 * (100vw / 780));
  }

  .slide-btn {
    background: #7e457c;
    color: white;
    border: none;
    width: calc(60 * (100vw / 780));
    height: calc(60 * (100vw / 780));
    border-radius: 50%;
    font-size: calc(28 * (100vw / 780));
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(126, 69, 124, 0.3);
    flex-shrink: 0;
  }

  .slide-btn:hover {
    background: #9d5b98;
    transform: scale(1.1);
  }

  .slide-btn:active {
    transform: scale(0.95);
  }

  .slide-indicators {
    display: flex;
    gap: calc(15 * (100vw / 780));
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .slide-indicator {
    width: calc(20 * (100vw / 780));
    height: calc(20 * (100vw / 780));
    border-radius: 50%;
    background: rgba(126, 69, 124, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .slide-indicator.active {
    background: #7e457c;
    transform: scale(1.3);
    box-shadow: 0 0 0 calc(3 * (100vw / 780)) rgba(126, 69, 124, 0.2);
  }

  .slide-indicator:hover {
    background: rgba(126, 69, 124, 0.6);
    transform: scale(1.1);
  }
}

@media (min-width: 768px) and (max-width: 950px) {
  .updates-section .section-inner {
    padding-top: clamp(600px, calc(607px + 15vw), 814px);
  }

  .updates-section .section-title {
    position: absolute;
    top: clamp(40px, calc(30px + 3vw), 55px);
    right: 3vw;
    margin: 0;
    font-size: clamp(1.5rem, calc(1.2rem + 0.8vw), 2rem);
  }

  .updates-section .section-title::after {
    width: clamp(60px, calc(50px + 3vw), 84px);
    height: clamp(65px, calc(55px + 3vw), 85px);
    position: absolute;
    bottom: 0;
    right: clamp(-35px, calc(-30px - 2vw), -47px);
  }

  .updates-section .section-inner::before {
    content: "";
    width: clamp(80px, calc(70px + 3vw), 105px);
    height: clamp(110px, calc(95px + 4vw), 137px);
    background: url(/wp/wp-content/themes/otsuma/assets/images/top/updates-section-illust01.png)
      no-repeat;
    position: absolute;
    top: clamp(300px, calc(250px + 12vw), 400px);
    left: clamp(100px, calc(80px + 5vw), 130px);
    background-size: contain;
  }

  .updates-section .c-card-list {
    position: absolute;
    top: clamp(100px, calc(80px + 5vw), 133px);
    left: 0;
  }

  .updates-section .c-card {
    position: absolute;
  }

  .updates-section .card01 {
    width: clamp(250px, calc(220px + 8vw), 308px);
    top: clamp(25px, calc(20px + 1vw), 30px);
    left: clamp(350px, calc(300px + 12vw), 442px);
  }

  .updates-section .card02 {
    width: clamp(220px, calc(190px + 7vw), 267px);
    top: 0;
    left: clamp(70px, calc(50px + 4vw), 97px);
    transition-delay: 0.3s;
  }

  .updates-section .card03 {
    width: clamp(180px, calc(150px + 6vw), 217px);
    top: clamp(300px, calc(250px + 12vw), 368px);
    left: clamp(260px, calc(220px + 10vw), 324px);
    transition-delay: 0.3s;
  }

  .updates-section .card04 {
    width: clamp(170px, calc(140px + 6vw), 208px);
    top: clamp(380px, calc(330px + 13vw), 465px);
    left: clamp(65px, calc(45px + 4vw), 86px);
    transition-delay: 0.5s;
  }

  .updates-section .c-btn {
    width: clamp(280px, calc(250px + 4vw), 350px);
    height: clamp(75px, calc(65px + 2vw), 95px);
    font-size: clamp(1rem, calc(0.9rem + 0.4vw), 1.25rem);
    position: absolute;
    top: clamp(450px, calc(400px + 15vw), 560px);
    right: clamp(10px, calc(5px + 1vw), 16px);
  }

  .updates-section .c-card__content {
    height: clamp(45px, calc(40px + 1.5vw), 54px);
    padding: 0 clamp(15px, calc(10px + 1vw), 20px);
  }

  .updates-section .c-card__title {
    font-size: clamp(0.7rem, calc(0.6rem + 0.15vw), 0.75rem);
    color: #000;
    text-align: left;
  }
}
