@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Google Fonts import */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Zen+Maru+Gothic:wght@400;700&display=swap");

body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ナビゲージョンメニューのアイコン */
.c-gnav {
  gap: 40px;
}

.gnav-item {
  text-transform: capitalize;
}

.gnav-item img {
  max-width: 28px;
}

/* 
 * home
 */
/* fv */
.fv__text {
  max-width: 40vw;
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
}

.top-profile__bg-item {
  background-color: #f4e7d130;
  width: 60%;
  height: 500px;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* media */
.top-media .top-media-text {
  margin-bottom: -2rem;
  max-width: 80%;
  position: relative;
  margin-inline: auto;
  bottom: -20px;
  border-radius: 12px;
}

.top-media-arrow {
  width: 45px;
  height: 31px;
  position: absolute;
  bottom: -30px;
  right: 100px;
}

.top-media-arrow__inner {
  position: relative;
}

.top-media-arrow span {
  clip-path: polygon(100% 100%, 0 0, 100% 0);
  width: 45px;
  height: 31px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ce4559;
}

.top-media-arrow span:last-child {
  background-color: #fff;
  top: -3px;
  left: -2px;
}

/*
 * profile 
 */
.sec-title {
  display: flex;
  justify-content: center;
}

.sec-title .sec-title__inner h2 {
  padding-inline: 24px;
  font-weight: 400;
}

.sec-title__inner figure {
  display: flex;
  align-items: center;
}

/* profile-timeline */
.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: calc(30% - 1px);
  top: 15px;
  width: 1px;
  bottom: 5%;
  background-color: #ce4559;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-height: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  flex: 0 0 28%;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.45;
  color: #000000;
  text-align: right;
  padding-right: 20px;
}

.timeline-content {
  flex: 1;
  padding-left: 20px;
}

.timeline-content p {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #000000;
  text-align: justify;
  margin: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(30% - 18px);
  top: 5px;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 1px solid #ce4559;
  border-radius: 50%;
  z-index: 2;
}

/* 最初と最後のドットの位置調整 */
.timeline-item:first-child .timeline-dot {
  top: 10px;
}

.timeline-item:last-child .timeline-dot {
  top: 10px;
}

/* 物販を始めた理由セクション */
#profile-buppan-start {
  padding-bottom: 0 !important;
}

/* ずぼらメルカリ物販とはセクション */
.profile__note-box {
}
.profile__note-box {
  position: relative;
  display: inline-block;
  border: 1px solid #ce4559;
  padding: 16px 20px;
  background: #f4e7d1;
  max-width: 500px;
  line-height: 1.8;
  border: 1px solid #ce4559;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

/* 右上の折り返し */
.profile__note-box::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #f4e7d1;
  transform-origin: top right;
  clip-path: polygon(100% 100%, 0 0, 0 100%);
}

.profile__note-box::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: #ce4559;
  transform-origin: top right;
  clip-path: polygon(100% 100%, 0 0, 0 100%);
}

.profile__note-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.profile__note-box li {
  list-style: disc;
}

/* 
 * activity
 */
.activity-sec-title img {
  max-width: 40px;
  margin-right: 8px;
}

/* 
 * footer 
 */
.footer-nav,
.footer-sns-icons {
  gap: 20px;
  justify-content: center;
}

.footer-nav a {
  color: #fff;
  cursor: pointer;
}

/* 
 * レスポンシブ 
 */
@media (max-width: 1024px) {
  .timeline::before {
    bottom: 5.5%;
  }
}

@media (max-width: 768px) {
  .timeline {
    padding: 0 15px;
  }

  .timeline::before {
    left: 30px;
    top: 20px;
    bottom: 7.5%;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 50px;
    margin-bottom: 30px;
    gap: 10px;
  }

  .timeline-date {
    flex: none;
    text-align: left;
    padding-right: 0;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .timeline-content {
    flex: none;
    padding-left: 0;
  }

  .timeline-dot {
    left: 6px;
    top: 5px;
  }
}

@media (max-width: 600px) {
  /* home */
  .fv__text {
    max-width: 30vw;
  }

  .activity-sec-title img {
    max-width: 24px;
  }
}

@media (max-width: 480px) {
  .timeline {
    padding: 0 10px;
  }

  .timeline::before {
    left: 25px;
    top: 20px;
    bottom: 8.5%;
  }

  .timeline-item {
    padding-left: 45px;
    margin-bottom: 25px;
  }

  .timeline-date {
    font-size: 14px;
  }

  .timeline-content p,
  .reason-text p,
  .method-box p,
  .activity-text p,
  .thought-text p {
    font-size: 14px;
  }

  .timeline-dot {
    left: 8px;
    width: 16px;
    height: 16px;
  }

  .timeline-item:first-child .timeline-dot,
  .timeline-item:last-child .timeline-dot {
    top: 8px;
  }
}

/*
 * メディアアーカイブ - Figmaデザイン準拠
 */
.media-archive-container {
  margin: 0 auto;
}

/* フィルターナビゲーション - Figmaのタブスタイル */
.media-filter-nav {
  text-align: center;
  margin-bottom: 60px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  line-height: 1.45;
}

.media-filter-nav .media-filter-btn {
  background: none;
  border: none;
  color: #000;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  line-height: 1.45;
  cursor: pointer;
  padding: 0 8px;
  position: relative;
  transition: all 0.3s ease;
}

.media-filter-nav .media-filter-btn:not(:last-child):after {
  content: " ｜";
  color: #000;
}

.media-filter-nav .media-filter-btn:hover {
  color: #ce4559;
}

.media-filter-nav .media-filter-btn.active {
  color: #ce4559;
  font-weight: 700;
}

/* グリッドレイアウト - 2カラム固定 */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

/* カードデザイン - Figmaスタイル */
.media-card {
  background: #fff;
  padding: 1rem;
}

.media-card:hover {
  transform: none;
  box-shadow: none;
}

.media-card__thumbnail {
}

.media-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}

.media-card:hover .media-card__thumbnail img {
  transform: none;
}

.media-card__content {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.media-card__category {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #ce4559;
  color: #fff;
  border-radius: 3px;
  font-weight: 500;
  font-family: "Zen Maru Gothic", sans-serif;
}

.media-card__date {
  font-family: "Zen Maru Gothic", sans-serif;
}

.media-card__terms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
  order: -2;
}

.media-card__term {
  display: inline-block;
  padding: 0 26px;
  background: #ce4559;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  height: 28px;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

#media-grid .media-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
}

.media-card__title::before {
  display: none !important;
}

.media-card__title a {
  color: #333;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-card__title a:hover {
  color: #ce4559;
}

.media-card__description {
  /* 一旦非表示にしておく */
  display: none;
  /* 　表示する場合はコメントアウトを解除 */
  /* font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: "Zen Maru Gothic", sans-serif; */
}

/* 投稿なしメッセージ */
.media-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
}

/* ページネーション */
.media-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.media-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.media-pagination li {
  margin: 0;
}

.media-pagination a,
.media-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ce4559;
  color: #ce4559;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: "Noto Sans JP", sans-serif;
}

.media-pagination a:hover {
  background: #ce4559;
  color: #fff;
}

.media-pagination .current {
  background: #ce4559;
  color: #fff;
  pointer-events: none;
}

.media-pagination .prev,
.media-pagination .next {
  font-weight: bold;
}

/* レスポンシブ対応 - Figmaデザイン準拠 */
@media (max-width: 1024px) {
  .media-archive-container {
    max-width: 100%;
    padding: 40px 20px;
  }

  .media-grid {
    gap: 40px;
  }

  .media-card {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .c-gnav {
    gap: 12px;
  }

  .gnav-item img {
    max-width: 20px;
  }

  .gnav-item br {
    display: none;
  }

  .gnav-item a {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .media-archive-container {
    padding: 30px 15px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .media-card {
    width: 100%;
    max-width: 380px;
    height: 340px;
  }

  .media-card__thumbnail {
  }

  .media-filter-nav {
    margin-bottom: 40px;
    font-size: 18px;
  }

  .media-filter-nav .media-filter-btn {
    font-size: 18px;
    padding: 0 6px;
  }
}

@media (max-width: 480px) {
  .media-archive-container {
    padding: 20px 10px;
  }

  .media-grid {
    gap: 30px;
  }

  .media-card {
    width: 100%;
    max-width: 320px;
  }

  .media-card__thumbnail {

    top: 15px;
    left: 15px;
  }

  .media-card__content {
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .media-card__term {
    font-size: 14px;
    padding: 0 20px;
    height: 24px;
    line-height: 24px;
  }

  .media-card__date,
  .media-card__title {
    font-size: 14px;
  }

  .media-filter-nav {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .media-filter-nav .media-filter-btn {
    font-size: 16px;
    padding: 0 4px;
  }
}

/*
 * 動画アーカイブ - YouTubeスタイル
 */
.movie-archive-container {
  margin: 0 auto;
}

/* ヘッダー部分 */
.movie-archive-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.movie-archive-header__icon {
  display: flex;
  align-items: center;
}

.movie-archive-header__title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

/* グリッドレイアウト - 2カラム */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  margin-bottom: 60px;
}

/* 動画カード */
.movie-card {
  background: transparent;
}

.movie-card__link {
  text-decoration: none;
  display: block;
}

.movie-card__thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
}

.movie-card__thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* 動画時間表示 */
.movie-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* タイトル */
.movie-card__title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #333;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.movie-card__title::before {
  display: none !important;
}

.movie-card:hover .movie-card__title {
  color: #ce4559;
}

/* 投稿なしメッセージ */
.movie-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* ページネーション */
.movie-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.movie-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.movie-pagination li {
  margin: 0;
}

.movie-pagination a,
.movie-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ce4559;
  color: #ce4559;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
}

.movie-pagination a:hover {
  background: #ce4559;
  color: #fff;
}

.movie-pagination .current {
  background: #ce4559;
  color: #fff;
  pointer-events: none;
  font-weight: 700;
}

.movie-pagination .prev,
.movie-pagination .next {
  font-weight: 400;
}

.movie-pagination>.page-numbers,
.movie-pagination>.page-numbers:hover {
  background-color: unset;
  box-shadow: none;
}

.movie-pagination>.page-numbers li a {
  background-color: unset;
  box-shadow: none;
}

.movie-pagination>.page-numbers li a:hover {
  background-color: #ce4559;
  color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .movie-archive-container {
    padding: 50px 20px;
  }

  .movie-grid {
    gap: 30px 20px;
  }
}

@media (max-width: 768px) {
  .movie-archive-container {
    padding: 40px 15px;
  }

  .movie-archive-header {
    margin-bottom: 30px;
  }

  .movie-archive-header__icon svg {
    width: 48px;
    height: 48px;
  }

  .movie-archive-header__title {
    font-size: 24px;
  }

  .movie-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .movie-card__title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .movie-archive-container {
    padding: 30px 10px;
  }

  .movie-archive-header {
    gap: 12px;
    margin-bottom: 24px;
  }

  .movie-archive-header__icon svg {
    width: 40px;
    height: 40px;
  }

  .movie-archive-header__title {
    font-size: 20px;
  }

  .movie-grid {
    gap: 24px;
  }

  .movie-card__thumbnail {
    border-radius: 8px;
  }

  .movie-card__title {
    font-size: 14px;
  }

  .movie-card__duration {
    font-size: 11px;
    padding: 2px 5px;
  }
}
