@charset "UTF-8";
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* ==========================================================================
   Variables (共通変数)
   ========================================================================== */
/* ==========================================================================
   Global (グローバルスタイル)
   ========================================================================== */
body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Main Block (.main-block 配下のみに適用されるスタイル)
   ========================================================================== */
.main-block {
  /* Reset & Base (Scoped) */
}
.main-block *,
.main-block *::before,
.main-block *::after {
  box-sizing: border-box;
}
.main-block a {
  text-decoration: none;
}
.main-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-block button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.main-block img {
  max-width: 100%;
  display: block;
}
.main-block {
  /* === Components === */
}
.main-block .section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10529a;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  position: relative;
}
.main-block .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #5a96d5;
  border-radius: 2px;
}
.main-block .btn-outline {
  border: 1px solid #10529a;
  color: #10529a;
  background-color: #ffffff;
  padding: 0.5rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}
.main-block .btn-outline:hover {
  background-color: #10529a;
  color: #ffffff;
}
.main-block {
  /* === Section 1: Newsletter === */
}
.main-block .newsletter {
  margin-bottom: 5rem;
  scroll-margin-top: 6rem;
}
.main-block .newsletter__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .main-block .newsletter__layout {
    flex-direction: row;
    gap: 3rem;
  }
}
.main-block .newsletter__layout.archives {
  display: block;
}
.main-block .newsletter__layout.archives .newsletter__back-numbers {
  width: 100%;
}
.main-block .newsletter__layout.archives .newsletter__back-numbers + .newsletter__back-numbers {
  margin-top: min(5.5555555556vw, 8rem);
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter__layout.archives .newsletter__back-numbers + .newsletter__back-numbers {
    margin-top: 8vw;
  }
}
@media (min-width: 640px) {
  .main-block .newsletter__layout.archives .newsletter__back-numbers .newsletter__bn-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.main-block .newsletter__latest {
  width: 100%;
}
@media (min-width: 1024px) {
  .main-block .newsletter__latest {
    width: 28%;
  }
}
.main-block .newsletter__back-numbers {
  width: 100%;
}
@media (min-width: 1024px) {
  .main-block .newsletter__back-numbers {
    width: 72%;
  }
}
.main-block .newsletter__bn-title {
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
  font-size: 13px;
  border-bottom: 1px solid #bfdbfe;
  padding-bottom: 0.5rem;
}
.main-block .newsletter__bn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .main-block .newsletter__bn-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.main-block .newsletter__bn-grid {
  /* バックナンバー（一覧）でのみ非表示にする要素 */
}
.main-block .newsletter__bn-grid .newsletter-card__header,
.main-block .newsletter__bn-grid .newsletter-card__season,
.main-block .newsletter__bn-grid .newsletter-card__topics-title,
.main-block .newsletter__bn-grid .newsletter-card__topics-list {
  display: none;
}
.main-block .newsletter__more {
  margin-top: 1.5rem;
  text-align: right;
}
.main-block .newsletter__more-link {
  font-size: 13px;
  font-weight: 700;
  color: #10529a;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.main-block .newsletter__more-link:hover {
  text-decoration: underline;
}
.main-block .newsletter__more-link i {
  font-size: 10px;
}
.main-block .newsletter .top__chara__box {
  position: relative;
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box {
    height: 5rem;
  }
}
.main-block .newsletter .top__chara__box .top__chara {
  display: flex;
  position: absolute;
}
.main-block .newsletter .top__chara__box .top__chara img {
  width: 100%;
  height: auto;
}
.main-block .newsletter .top__chara__box .top__chara.chara__01 {
  width: 10%;
  bottom: 0;
  left: 63%;
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box .top__chara.chara__01 {
    width: 5rem;
    left: 18%;
  }
}
.main-block .newsletter .top__chara__box .top__chara.chara__01.sec-05 {
  left: auto;
  right: calc(13rem + 2%);
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box .top__chara.chara__01.sec-05 {
    left: auto;
    right: calc(13rem + 2%);
  }
}
.main-block .newsletter .top__chara__box .top__chara.chara__02 {
  width: 6%;
  bottom: 0;
  left: 78%;
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box .top__chara.chara__02 {
    width: 3.5rem;
    left: 43%;
    right: 53%;
  }
}
.main-block .newsletter .top__chara__box .top__chara.chara__02.sec-05 {
  left: auto;
  right: calc(7.5rem + 2%);
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box .top__chara.chara__02.sec-05 {
    left: auto;
    right: calc(7.5rem + 5%);
  }
}
.main-block .newsletter .top__chara__box .top__chara.chara__03 {
  width: 12%;
  bottom: 0;
  left: 88%;
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box .top__chara.chara__03 {
    width: 7.5rem;
    left: 60%;
  }
}
@media only screen and (max-width: 767px) {
  .main-block .newsletter .top__chara__box .top__chara.chara__03.sec-05 {
    left: auto;
    right: 3rem;
  }
}
.main-block {
  /* 最新のラッパーとして残っている .newsletter-card のリセット */
}
.main-block .newsletter-card {
  height: 100%;
}
.main-block .newsletter-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.main-block .newsletter-card__season {
  background-color: #f39800;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  display: inline-block;
}
.main-block .newsletter-card__topics-title {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  margin-top: auto; /* トピックスを常にカード下部に押し下げる */
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 4px;
  margin-bottom: 8px;
}
.main-block .newsletter-card__topics-list {
  font-size: 12px;
  color: #6b7280;
  list-style-type: disc;
  list-style-position: inside;
}
.main-block .newsletter-card__topics-list li {
  margin-bottom: 4px;
}
.main-block {
  /* カード全体のスタイル（aタグ） */
}
.main-block .bn-item {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.2s;
  height: 100%;
  text-decoration: none;
}
.main-block .bn-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.main-block .bn-item__preview {
  aspect-ratio: 788/1606;
  width: 100%;
  background-color: #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #d1d5db;
  overflow: hidden;
}
.main-block .bn-item__preview img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.main-block .bn-item__vol {
  font-weight: 700;
  color: #10529a;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.main-block .bn-item__season {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 1rem;
}
.main-block {
  /* === Section 2: Photocon === */
}
.main-block .photocon {
  scroll-margin-top: 6rem;
}
.main-block .photocon__box + .photocon__box {
  margin-top: min(5.5555555556vw, 8rem);
}
@media only screen and (max-width: 767px) {
  .main-block .photocon__box + .photocon__box {
    margin-top: 8vw;
  }
}
.main-block .photocon__header {
  text-align: center;
  margin-bottom: 2rem;
}
.main-block .photocon__theme {
  font-size: 1.125rem;
  font-weight: 700;
  color: #333333;
}
.main-block .photocon__desc {
  font-size: 13px;
  color: #6b7280;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}
@media only screen and (max-width: 767px) {
  .main-block .photocon__desc {
    margin-top: 6.6666666667vw;
  }
}
.main-block .photocon__gold {
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.main-block .photocon__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .main-block .photocon__grid {
    gap: 2rem;
  }
}
.main-block .photocon__gallery {
  margin-top: 3rem;
}
.main-block .photocon__gallery-title {
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
  border-left: 4px solid #10529a;
  padding-left: 12px;
  font-size: 13px;
}
.main-block .photocon__gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .main-block .photocon__gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.main-block .photocon__more {
  text-align: center;
  margin-top: 2rem;
}
.main-block .photocon__archive .photocon__wrap {
  margin-bottom: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.main-block .photocon__archive .photocon__wrap + .photocon__wrap {
  margin-top: 1rem;
}
.main-block .photocon__archive .photocon__header {
  margin-bottom: 0;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9fafb;
  transition: background-color 0.3s;
}
.main-block .photocon__archive .photocon__header h3 {
  margin: 0;
  text-align: left;
}
.main-block .photocon__archive .photocon__header {
  /* FontAwesomeの下矢印アイコンを追加 */
}
.main-block .photocon__archive .photocon__header::after {
  content: "";
  background: url(/assets/images/communication/photocon--arrow-base.svg) center center/contain no-repeat;
  width: 16px;
  height: 16px;
  font-weight: 900;
  color: #10529a;
  transition: transform 0.3s ease;
}
.main-block .photocon__archive .photocon__header:hover {
  background-color: #f4f9ff;
}
.main-block .photocon__archive .photocon__body {
  display: none; /* 初期状態は非表示 */
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.main-block .photocon__archive {
  /* 開いた状態（is-openクラス付与時）のスタイル */
}
.main-block .photocon__archive .photocon__wrap.is-open .photocon__header {
  background-color: #ffffff;
}
.main-block .photocon__archive .photocon__wrap.is-open .photocon__header::after {
  transform: rotate(180deg); /* 矢印を上向きに回転 */
}
.main-block .photo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.main-block .photo-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.main-block .photo-card__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
}
.main-block .photo-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #eab308;
  z-index: 2;
}
.main-block .photo-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-block .photo-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  padding: 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.main-block .photo-card__content {
  padding: 1.5rem;
  background-color: #ffffff;
}
.main-block .photo-card__comment {
  font-size: 14px;
  color: #6b7280;
  background-color: #f4f9ff;
  padding: 1rem;
  border-radius: 8px;
  line-height: 1.5;
  margin-top: 1.5rem;
}
.main-block .photo-card__comment-title {
  font-weight: 700;
  color: #10529a;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 13px;
}
.main-block .photo-subcard {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  cursor: pointer;
}
.main-block .photo-subcard__img-wrap {
  position: relative;
  aspect-ratio: 1/1;
}
.main-block .photo-subcard__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.main-block .photo-subcard__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-block .photo-subcard__badge--silver {
  background-color: #9ca3af;
}
.main-block .photo-subcard__badge--bronze {
  background-color: #d1613b;
}
.main-block .gallery-item {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: opacity 0.2s;
}
.main-block .gallery-item:hover {
  opacity: 0.9;
}
.main-block .gallery-item__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ==========================================================================
   Photo Modal
   ========================================================================== */
.photo__modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none; /* 初期状態は非表示 */
}
.photo__modal.photo__modal--open {
  display: block; /* クラス付与で表示 */
}
.photo__modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.photo__modal__container {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 上部にボタン用のスペース(3rem)を確保 */
  padding: 3rem 1rem 1rem;
  pointer-events: none;
}
.photo__modal__content-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  pointer-events: auto;
  transform: scale(0.95);
  opacity: 0;
  /* アニメーションを適用 */
  animation: photoModalFadeIn 0.2s forwards ease-out;
}
.photo__modal__close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 20;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  /* HTML内に「×」の文字があっても干渉しないよう隠す */
  font-size: 0;
  color: transparent;
  /* --- CSSで綺麗な「×」を描画 --- */
}
.photo__modal__close-btn::before, .photo__modal__close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px; /* バツのサイズ */
  height: 2px; /* 線の太さ */
  background-color: #ffffff; /* 白抜き */
  border-radius: 2px;
}
.photo__modal__close-btn {
  /* 2本の線をクロスさせる */
}
.photo__modal__close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.photo__modal__close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.photo__modal__close-btn {
  /* ホバー時の半透明化 */
  transition: opacity 0.2s;
}
.photo__modal__close-btn:hover {
  opacity: 0.7;
}
@media (max-width: 768px) {
  .photo__modal__close-btn {
    top: -40px;
    right: 0;
  }
}
.photo__modal__content {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
.photo__modal__img {
  width: 100%;
  height: auto;
  max-height: 80vh; /* 90%から80%へ調整 */
  -o-object-fit: contain;
     object-fit: contain;
  background-color: #000000;
  display: block;
}

@keyframes photoModalFadeIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}